:root {
  color-scheme: dark;
  --ink: #f5eedf;
  --muted: #b9cdc6;
  --water: #0b2d36;
  --water-light: #165866;
  --deep: #071d25;
  --wood: #6f3f2b;
  --wood-light: #b87948;
  --amber: #f3b44a;
  --amber-pale: #ffe0a3;
  --red: #df574f;
  --paper: #f2e7ce;
  --paper-ink: #263b3b;
  --line: rgba(245, 238, 223, .17);
  --max: 74rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 100%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 76% 9%, rgba(243, 180, 74, .08), transparent 23rem),
    linear-gradient(180deg, var(--deep), var(--water) 40rem, #0a252d);
  font-size: 1.05rem;
  line-height: 1.65;
}
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: var(--amber-pale); }
a:focus-visible, .button:focus-visible { outline: .2rem solid var(--amber); outline-offset: .25rem; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .7rem 1rem; color: var(--deep); background: var(--amber-pale); border-radius: .25rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: relative;
  z-index: 5;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}
.wordmark { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.wordmark-mark { display: grid; place-items: center; width: 2.6rem; aspect-ratio: 1; border: 2px solid var(--red); border-radius: 50% 46% 52% 48%; color: var(--amber-pale); font: 700 1.2rem Georgia, serif; transform: rotate(-3deg); }
.wordmark strong, .wordmark small { display: block; }
.wordmark strong { font-family: Georgia, "Times New Roman", serif; letter-spacing: .02em; }
.wordmark small { color: var(--muted); font-size: .78rem; }
nav { display: flex; gap: clamp(.8rem, 3vw, 2rem); font-size: .92rem; }
nav a { text-decoration: none; }

.hero {
  position: relative;
  width: min(calc(100% - 2rem), var(--max));
  min-height: 42rem;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 0 7rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(19rem, .8fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}
.current-lines { position: absolute; inset: auto 5% 1rem -8vw; height: 7rem; opacity: .32; background: repeating-radial-gradient(ellipse at 15% 100%, transparent 0 1.6rem, var(--water-light) 1.7rem 1.8rem, transparent 1.9rem 3.2rem); pointer-events: none; }
.eyebrow { margin: 0 0 .8rem; color: var(--amber); font-size: .78rem; font-weight: 750; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; font-weight: 600; }
h1 { max-width: 10ch; margin: 0; font-size: clamp(3.3rem, 8vw, 7rem); letter-spacing: -.045em; }
h2 { margin: .1rem 0 1rem; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.lede { max-width: 42rem; margin: 1.8rem 0 2.2rem; color: #d8e3dd; font-size: clamp(1.12rem, 2vw, 1.35rem); }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.button { display: inline-block; padding: .8rem 1rem; border-radius: .25rem; color: var(--deep); background: var(--amber-pale); text-decoration: none; font-weight: 750; }
.button:hover { color: var(--deep); background: #ffebb9; }
.text-link { color: var(--amber-pale); font-weight: 700; }

.lodge-scene { position: relative; min-height: 29rem; padding: 6rem 1.4rem 1.4rem; border: 1px solid rgba(255,224,163,.18); border-radius: 50% 50% .7rem .7rem / 17% 17% .7rem .7rem; background: linear-gradient(120deg, rgba(111,63,43,.88), rgba(48,36,30,.96)), repeating-linear-gradient(90deg, transparent 0 3.8rem, rgba(0,0,0,.3) 3.9rem 4rem); box-shadow: inset 0 0 4rem rgba(0,0,0,.38), 0 2rem 5rem rgba(0,0,0,.22); }
.lodge-scene::after { content: ""; position: absolute; left: -3%; right: -3%; bottom: -1.1rem; height: 1.5rem; border-radius: 50%; background: var(--water-light); opacity: .55; }
.lamp { position: absolute; right: 1.6rem; top: 2.2rem; width: 3.6rem; height: 1.7rem; border-radius: 50% 50% .2rem .2rem; background: var(--amber); box-shadow: 0 0 2.5rem 1rem rgba(243,180,74,.4); }
.lamp::before { content: ""; position: absolute; width: .3rem; height: 3.5rem; right: 1.6rem; bottom: 1rem; background: #30221c; transform: rotate(18deg); transform-origin: bottom; }
.lamp i { position: absolute; width: .65rem; height: .65rem; bottom: -2.7rem; right: .1rem; border: .16rem solid var(--amber); border-radius: 50%; }
.note-card { position: relative; z-index: 2; padding: 1.3rem; color: var(--paper-ink); background: var(--paper); border-radius: .2rem; box-shadow: .3rem .45rem 0 rgba(20,15,12,.3); transform: rotate(-1.2deg); }
.note-card span { color: #7a3d35; font-size: .73rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.note-card strong { display: block; margin-top: .3rem; font: 600 1.5rem Georgia, serif; }
.note-card p { margin: .5rem 0 0; font-size: .93rem; }
.book-stack { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.3rem; display: flex; flex-direction: column; align-items: flex-start; gap: .22rem; }
.book-stack i { display: block; padding: .18rem .8rem; border-radius: .15rem; font-size: .65rem; font-style: normal; font-weight: 800; letter-spacing: .09em; box-shadow: .2rem .25rem 0 rgba(0,0,0,.22); }
.book-stack i:nth-child(1) { width: 72%; margin-left: 14%; background: #37665b; }
.book-stack i:nth-child(2) { width: 84%; margin-left: 5%; background: var(--red); }
.book-stack i:nth-child(3) { width: 94%; background: var(--wood-light); }

.section { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: clamp(5rem, 10vw, 8rem) 0; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: minmax(13rem, .7fr) 1.3fr; column-gap: clamp(2rem, 7vw, 7rem); align-items: center; margin-bottom: 3rem; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2, .section-heading > p:last-child { margin-bottom: 0; }
.section-heading > p:last-child { max-width: 34rem; color: var(--muted); }
.feature-card { margin-left: clamp(0rem, 4vw, 4rem); padding: clamp(1.5rem, 5vw, 3rem); border-left: .3rem solid var(--red); background: rgba(255,255,255,.045); }
.feature-meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.feature-card h3 { max-width: 24ch; margin: 1rem 0; }
.feature-card p { max-width: 48rem; color: #d1dfd8; }

.field-section { position: relative; }
.field-note { padding: clamp(1.4rem, 5vw, 3rem); color: var(--paper-ink); background: linear-gradient(135deg, #f5ead3, #e7d8ba); border-radius: .3rem; box-shadow: .65rem .75rem 0 rgba(0,0,0,.18); }
.field-note > header { display: flex; justify-content: space-between; align-items: start; gap: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(38,59,59,.2); }
.field-note h3 { max-width: 22ch; margin: 0; }
.note-number { margin: 0 0 .4rem; color: #8f433c; font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 2rem 0; }
.method-grid section { padding-top: .8rem; border-top: .22rem solid #8f433c; }
.method-grid h4 { margin: 0; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.method-grid ol { padding-left: 1.3rem; }
.method-grid li + li { margin-top: .65rem; }
.field-note aside { padding: .9rem 1rem; border-left: .25rem solid #37665b; background: rgba(55,102,91,.1); }

.about { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.about-copy p:not(.eyebrow) { max-width: 44rem; color: #d5e1db; }
blockquote { margin: 0; padding: 2.2rem; border: 1px solid rgba(243,180,74,.4); background: rgba(243,180,74,.06); transform: rotate(1deg); }
blockquote p { margin: 0; color: var(--amber-pale); font: 600 clamp(1.7rem, 3.5vw, 2.7rem)/1.35 Georgia, serif; }
blockquote footer { margin-top: 1rem; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.site-footer { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: 2rem 0 3rem; display: flex; justify-content: space-between; gap: 2rem; color: var(--muted); border-top: 1px solid var(--line); font-size: .85rem; }

@media (max-width: 760px) {
  .site-header { align-items: flex-start; }
  .wordmark small { display: none; }
  nav { flex-direction: column; gap: .25rem; text-align: right; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding-top: 4rem; }
  .lodge-scene { min-height: 25rem; }
  .section-heading, .about { grid-template-columns: 1fr; }
  .section-heading { align-items: start; }
  .method-grid { grid-template-columns: 1fr; }
  .field-note > header { flex-direction: column; }
  .site-footer { flex-direction: column; gap: .3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
