/* Lodge De Wydemere - scaffold stylesheet.
   Deliberately plain. This is structure and accessibility only, not the final design:
   the brand treatment comes once the Lodge has supplied content and any crest or colours.
   Cache-busted by build.py via ?v=<hash>, so .htaccess can cache it for a year. */

:root {
  --ink: #1b1b1b;
  --muted: #5a5a5a;
  --line: #d8d8d8;
  --bg: #ffffff;
  --bg-soft: #f6f6f4;
  --accent: #10324f;
  --accent-ink: #ffffff;
  --warn-bg: #fff7e0;
  --warn-line: #e0b84a;
  --wrap: 68rem;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }

/* Keyboard users must be able to skip the nav. Visible only when focused. */
.skip {
  position: absolute; left: -9999px;
  background: var(--accent); color: var(--accent-ink);
  padding: .6rem 1rem;
}
.skip:focus { left: 1rem; top: 1rem; z-index: 10; }

a { color: var(--accent); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.site-header { border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  align-items: baseline; justify-content: space-between;
  padding-top: 1rem; padding-bottom: 1rem;
}
.brand {
  font-size: 1.25rem; font-weight: 700;
  text-decoration: none; color: var(--ink);
}
.site-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-nav a { text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { text-decoration: underline; }
.site-nav a.active { font-weight: 700; text-decoration: underline; }

main { padding: 2rem 0 3rem; }
section + section { margin-top: 1.5rem; }

h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.2; margin: 0 0 .75rem; }
h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); margin: 0 0 .5rem; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 46rem; }

/* Placeholder blocks are meant to be impossible to miss, on screen and in a screenshot.
   build.py also prints a warning naming every page that still carries one. */
.placeholder {
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-left: 4px solid var(--warn-line);
  padding: .9rem 1rem;
  border-radius: 3px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 1.5rem 0;
  color: var(--muted);
  font-size: .9rem;
}
.site-footer p { margin: .25rem 0; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
