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

:root {
  --gold: #c9a84c;
  --gold-light: #ead37b;
  --gold-pale: #f2e3ac;
  --gold-dim: #806a31;
  --rust: #d26c3d;
  --green: #89a083;
  --cyan: #73aeb1;
  --bg: #090b09;
  --bg-deep: #070907;
  --bg-dark: #0d100d;
  --bg-mid: #141913;
  --panel: #171c16;
  --panel-2: #1d231c;
  --text: #d8d5cc;
  --text-light: #f3efe5;
  --muted: #a29e94;
  --border: rgba(201,168,76,.18);
  --border-strong: rgba(201,168,76,.42);
  --shadow: 0 18px 55px rgba(0,0,0,.62);
  --radius: 6px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 18px;
  line-height: 1.72;
  overflow-x: hidden;
}
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
img, svg { max-width: 100%; }
::selection { background: rgba(201,168,76,.32); color: #fff; }
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 5px; }

.skip-link {
  position: fixed;
  left: -9999px;
  top: 12px;
  z-index: 9999;
  padding: .6rem .85rem;
  background: var(--gold);
  color: #0b0b08;
  border-radius: 4px;
  font-family: Inter, sans-serif;
  font-weight: 700;
}
.skip-link:focus { left: 12px; }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0,.82fr) minmax(500px,1.18fr);
  align-items: center;
  gap: 4rem;
  padding: 6.5rem max(4vw,2rem) 6rem;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 76% 31%, rgba(201,168,76,.11), transparent 30%),
    linear-gradient(130deg,#11170f 0%,#090b09 52%,#070807 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7,9,7,.12), transparent 58%, rgba(7,9,7,.28)),
    linear-gradient(180deg, transparent 62%, var(--bg));
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .18;
  background-image:
    linear-gradient(rgba(201,168,76,.12) 1px, transparent 1px),
    linear-gradient(90deg,rgba(201,168,76,.12) 1px,transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(circle at 72% 42%, #000 0 42%, transparent 75%);
}
.hero-mist {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .16;
}
.mist-one { width: 520px; height: 160px; right: 16%; bottom: 18%; background: #c7d0bd; transform: rotate(-8deg); }
.mist-two { width: 440px; height: 120px; right: 2%; top: 25%; background: #b9a85e; transform: rotate(12deg); }

.hero-copy { max-width: 710px; position: relative; z-index: 2; }
.eyebrow, .section-label, .mini-kicker, .case-label, .case-location, .archive-type {
  color: var(--gold);
  font-family: Cinzel, serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.hero h1 {
  margin: .5rem 0 .25rem;
  color: var(--text-light);
  font-family: Cinzel, serif;
  font-size: clamp(4rem,8vw,7.8rem);
  line-height: .98;
  text-shadow: 0 6px 38px rgba(0,0,0,.72);
}
.hero-subtitle {
  max-width: 650px;
  color: var(--gold-light);
  font-family: Cinzel, serif;
  font-size: clamp(1.1rem,2.1vw,1.55rem);
  line-height: 1.42;
  letter-spacing: .035em;
}
.hero blockquote {
  max-width: 640px;
  margin: 2rem 0 2.2rem;
  padding-left: 1.35rem;
  border-left: 2px solid var(--gold-dim);
  color: #c9c6bd;
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.82;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .76rem 1.3rem;
  border-radius: 3px;
  font-family: Cinzel, serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s,box-shadow .2s,background .2s;
}
.button.primary { background: linear-gradient(135deg,var(--gold-light),var(--gold)); color: #17130a; border: 1px solid var(--gold-light); }
.button.secondary { background: rgba(13,16,13,.68); color: var(--gold-light); border: 1px solid var(--border-strong); }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.38); }

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 880px;
  aspect-ratio: 1.22 / .82;
  min-height: 510px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  background: #111;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  box-shadow: inset 0 0 90px rgba(0,0,0,.6);
}
.scene { position: absolute; inset: 0; }
.scene svg { width: 100%; height: 100%; display: block; }
.scene-woodland { z-index: 2; width: 52%; overflow: hidden; }
.scene-woodland svg { width: calc(100vw); max-width: none; height: 100%; }
.reveal-line {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: 52%;
  width: 2px;
  background: rgba(247,227,153,.88);
  box-shadow: 0 0 18px rgba(201,168,76,.65);
  pointer-events: none;
}
.reveal-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  transform: translate(-50%,-50%);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  background: #11150f;
  color: var(--gold-light);
  font-family: Inter,sans-serif;
  font-size: 18px;
  box-shadow: 0 8px 28px rgba(0,0,0,.58);
}
.reveal-range {
  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}
.comparison-label {
  position: absolute;
  z-index: 6;
  top: 1rem;
  padding: .45rem .65rem;
  border: 1px solid rgba(234,211,123,.28);
  border-radius: 2px;
  background: rgba(8,10,8,.72);
  color: var(--gold-pale);
  font-family: Cinzel,serif;
  font-size: .57rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  pointer-events: none;
}
.label-left { left: 1rem; }
.label-right { right: 1rem; }
.visual-caption {
  position: absolute;
  z-index: 7;
  right: .8rem;
  bottom: .6rem;
  left: .8rem;
  color: rgba(232,229,219,.62);
  font-family: Inter,sans-serif;
  font-size: .64rem;
  text-align: center;
  pointer-events: none;
}

.section-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  overflow-x: auto;
  background: rgba(11,14,11,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.section-nav a {
  flex: 0 0 auto;
  padding: .88rem 1.05rem;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-family: Cinzel,serif;
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .075em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.section-nav a:hover,.section-nav a.active { color: var(--gold); border-bottom-color: var(--gold); }

main { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }
section { scroll-margin-top: 64px; }
.section-alt {
  margin: 0 -2rem;
  padding: 0 2rem 4rem;
  background:
    radial-gradient(circle at 92% 30%,rgba(114,157,125,.05),transparent 30%),
    linear-gradient(180deg,var(--bg),var(--bg-mid) 50%,var(--bg));
}
.section-header { padding: 5rem 0 2.5rem; text-align: center; }
.section-title {
  max-width: 940px;
  margin: .65rem auto .8rem;
  color: var(--text-light);
  font-family: Cinzel,serif;
  font-size: clamp(1.75rem,3.6vw,2.85rem);
  line-height: 1.24;
}
.section-rule { width: 82px; height: 1px; margin: 1rem auto; background: linear-gradient(90deg,transparent,var(--gold),transparent); }
.section-intro { max-width: 800px; margin: 0 auto; color: var(--muted); font-size: 1rem; line-height: 1.82; }
.divider { height: 1px; background: linear-gradient(90deg,transparent,var(--border-strong),transparent); }

.opening-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 1.4rem;
  margin-bottom: 2rem;
}
.opening-prose,.data-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 12px 38px rgba(0,0,0,.34);
}
.opening-prose { padding: 2rem 2.2rem; }
.opening-prose p + p { margin-top: 1rem; }
.dropcap::first-letter {
  float: left;
  margin: .08rem .5rem 0 0;
  color: var(--gold-light);
  font-family: Cinzel,serif;
  font-size: 4.25rem;
  line-height: .77;
}
.warning-text {
  padding: 1rem 1.1rem;
  border-left: 2px solid var(--rust);
  background: rgba(210,108,61,.055);
  color: #d7c4b9;
}
.data-panel { padding: 1.8rem; }
.data-panel .mini-kicker { margin-bottom: .5rem; }
.data-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border);
}
.data-row:last-child { border-bottom: 0; }
.data-number { color: var(--gold-light); font-family: Cinzel,serif; font-size: 1.25rem; font-weight: 700; }
.data-row h3 { color: var(--text-light); font-family: Cinzel,serif; font-size: .78rem; letter-spacing: .04em; }
.data-row p { margin-top: .25rem; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.principle {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  align-items: center;
  max-width: 950px;
  margin: 1.5rem auto 4.5rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: linear-gradient(135deg,rgba(201,168,76,.08),rgba(13,16,13,.94));
}
.principle-icon { color: var(--gold); font-size: 2.3rem; text-align: center; }
.principle-title { color: var(--gold-light); font-family: Cinzel,serif; font-size: .74rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.principle p:last-child { margin-top: .2rem; color: var(--text-light); font-size: 1.05rem; }

.viewer-shell { max-width: 1050px; margin: 0 auto 1.4rem; }
.viewer-controls { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .7rem; }
.viewer-button {
  padding: .58rem .8rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
  font-family: Cinzel,serif;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.viewer-button:hover,.viewer-button.active { color: #151109; background: var(--gold); border-color: var(--gold-light); }
.lidar-viewer {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: #10130f;
  box-shadow: var(--shadow);
}
.lidar-viewer svg { width: 100%; height: 530px; display: block; }
.viewer-background { fill: #151b16; }
.surface-objects,.hillshade-overlay,.openness-overlay,.road-feature,.contours { transition: opacity .4s ease; }
.lidar-viewer[data-view="surface"] .surface-objects { opacity: 1; }
.lidar-viewer[data-view="surface"] .road-feature { opacity: .12; }
.lidar-viewer[data-view="surface"] .contours,.lidar-viewer[data-view="surface"] .hillshade-overlay,.lidar-viewer[data-view="surface"] .openness-overlay { opacity: 0; }

.lidar-viewer[data-view="terrain"] .surface-objects,.lidar-viewer[data-view="terrain"] .hillshade-overlay,.lidar-viewer[data-view="terrain"] .openness-overlay { opacity: 0; }
.lidar-viewer[data-view="terrain"] .road-feature { opacity: 1; }
.lidar-viewer[data-view="terrain"] .contours { opacity: .8; }

.lidar-viewer[data-view="hillshade"] .surface-objects,.lidar-viewer[data-view="hillshade"] .openness-overlay,.lidar-viewer[data-view="hillshade"] .contours { opacity: 0; }
.lidar-viewer[data-view="hillshade"] .road-feature { opacity: .18; }
.lidar-viewer[data-view="hillshade"] .hillshade-overlay { opacity: 1; }

.lidar-viewer[data-view="openness"] .surface-objects,.lidar-viewer[data-view="openness"] .hillshade-overlay { opacity: 0; }
.lidar-viewer[data-view="openness"] .road-feature { opacity: .08; }
.lidar-viewer[data-view="openness"] .contours { opacity: .25; }
.lidar-viewer[data-view="openness"] .openness-overlay { opacity: 1; }

.viewer-readout {
  position: absolute;
  z-index: 5;
  top: 1rem;
  left: 1rem;
  max-width: 390px;
  padding: .85rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  background: rgba(8,10,8,.8);
  backdrop-filter: blur(8px);
}
.viewer-title { color: var(--gold-light); font-family: Cinzel,serif; font-size: .78rem; font-weight: 700; letter-spacing: .06em; }
.viewer-description { margin-top: .3rem; color: #d1cec4; font-size: .85rem; line-height: 1.5; }

.method-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: .9rem; margin: 1.5rem 0 4.5rem; }
.method-cards article {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}
.method-cards span { color: var(--gold-dim); font-family: Cinzel,serif; font-size: 1.3rem; }
.method-cards h3 { margin: .35rem 0; color: var(--gold-light); font-family: Cinzel,serif; font-size: .78rem; }
.method-cards p { color: var(--muted); font-size: .88rem; line-height: 1.58; }


.guided-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}
.guided-toolbar > div > p:last-child {
  margin-top: .15rem;
  color: var(--text-light);
  font-size: 1rem;
  font-style: italic;
}
.mini-button {
  padding: .5rem .75rem;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  background: rgba(201,168,76,.05);
  color: var(--gold-light);
  cursor: pointer;
  font-family: Cinzel,serif;
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.mini-button:hover,
.mini-button[aria-pressed="true"] {
  background: var(--gold);
  color: #181308;
}

.guided-cases {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.guided-case {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 12px 36px rgba(0,0,0,.28);
  transition: border-color .25s,box-shadow .25s;
}
.guided-case:hover {
  border-color: var(--gold-dim);
  box-shadow: 0 17px 44px rgba(0,0,0,.4);
}
.guided-case-reverse .guided-visual { order: 2; }
.guided-case-reverse .guided-copy { order: 1; }

.guided-visual {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-bottom: 0;
  background: #171b16;
}
.guided-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 64px rgba(0,0,0,.4);
}
.guided-visual svg {
  width: 100%;
  height: 100%;
  min-height: 390px;
  display: block;
}

.guided-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}
.guided-copy h3 {
  margin: .38rem 0 .72rem;
  color: var(--text-light);
  font-family: Cinzel,serif;
  font-size: 1.25rem;
  line-height: 1.36;
}
.guided-observation {
  color: var(--muted);
  font-size: .97rem;
}

.evidence-reveal {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.35rem;
  padding: .82rem .95rem;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  background: rgba(8,10,8,.48);
  color: var(--gold-light);
  cursor: pointer;
  font-family: Cinzel,serif;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: left;
  text-transform: uppercase;
}
.evidence-reveal:hover,
.evidence-reveal[aria-expanded="true"] {
  border-color: var(--gold);
  background: rgba(201,168,76,.09);
  color: var(--gold-pale);
}
.evidence-reveal b {
  flex: 0 0 auto;
  font-family: Inter,sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  transition: transform .25s;
}
.evidence-reveal[aria-expanded="true"] b { transform: rotate(45deg); }

.guided-evidence {
  margin-top: .75rem;
  animation: evidenceOpen .35s ease both;
}
@keyframes evidenceOpen {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: none; }
}
.evidence-steps {
  display: grid;
  gap: .45rem;
  padding: .85rem 0;
}
.evidence-steps > div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: .65rem;
  align-items: start;
}
.evidence-steps span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: Cinzel,serif;
  font-size: .55rem;
}
.evidence-steps p {
  padding-top: .05rem;
  color: #c9c5bb;
  font-size: .86rem;
  line-height: 1.5;
}
.guided-verdict {
  padding: .95rem 1rem;
  border-left: 2px solid var(--gold-dim);
  background: rgba(201,168,76,.045);
}
.guided-verdict p {
  margin-top: .48rem;
  color: var(--muted);
  font-size: .87rem;
  line-height: 1.58;
}
.guided-conclusion {
  max-width: 900px;
  margin: 1.5rem auto 4.5rem;
  padding: 1.6rem 1.8rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 20%,rgba(201,168,76,.1),transparent 31%),
    linear-gradient(135deg,rgba(201,168,76,.06),rgba(13,16,13,.94));
}
.guided-conclusion h3 {
  margin: .38rem 0 .7rem;
  color: var(--text-light);
  font-family: Cinzel,serif;
  font-size: 1.12rem;
}
.guided-conclusion > p:last-child { color: var(--muted); }


.case-timeline { position: relative; max-width: 1050px; margin: 0 auto 4.5rem; }
.case-timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 33px; width: 1px; background: linear-gradient(transparent,var(--border-strong) 8%,var(--border-strong) 92%,transparent); }
.case-file {
  position: relative;
  display: grid;
  grid-template-columns: 66px 1.15fr .85fr;
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}
.case-index {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--gold);
  font-family: Cinzel,serif;
  font-size: .68rem;
}
.case-content h3 { margin: .28rem 0 .5rem; color: var(--text-light); font-family: Cinzel,serif; font-size: 1.05rem; }
.case-content p:not(.case-location) { color: var(--muted); font-size: .92rem; }
.case-verdict { margin-top: .75rem; }
.evidence-label {
  display: inline-flex;
  padding: .27rem .55rem;
  border-radius: 2px;
  font-family: Cinzel,serif;
  font-size: .54rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.confirmed { color: #b6dfb8; background: rgba(75,135,79,.14); border: 1px solid rgba(116,165,118,.35); }
.strong { color: #dbe9cb; background: rgba(105,145,83,.13); border: 1px solid rgba(145,180,116,.32); }
.probable { color: #c7dce8; background: rgba(76,116,145,.14); border: 1px solid rgba(115,163,194,.34); }
.modelled { color: #e6cf90; background: rgba(201,168,76,.10); border: 1px solid rgba(201,168,76,.31); }
.disputed { color: #edb49d; background: rgba(178,75,42,.14); border: 1px solid rgba(210,108,61,.38); }
.tradition { color: #d8b9e4; background: rgba(128,84,148,.14); border: 1px solid rgba(170,125,188,.32); }

.case-diagram {
  position: relative;
  min-height: 175px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #101410;
}
.road-section-diagram .soil { position: absolute; inset: 0; background: linear-gradient(#617057 0 35%,#4a3b2d 35% 63%,#25251f 63%); }
.road-section-diagram .agger { position: absolute; left: 17%; right: 17%; top: 38%; height: 64px; border-radius: 52% 52% 4px 4px; background: #9a957c; box-shadow: inset 0 -18px #5c5a4d; }
.road-section-diagram .stone { position: absolute; top: 62%; width: 24px; height: 20px; border-radius: 45%; background: #b0a789; border: 2px solid #504b3e; }
.road-section-diagram .s1 { left: 34%; }.road-section-diagram .s2 { left: 48%; top: 59%; }.road-section-diagram .s3 { left: 61%; }
.road-section-diagram .ditch { position: absolute; top: 50%; width: 50px; height: 55px; border-radius: 0 0 50% 50%; background: #1a211a; }
.road-section-diagram .d1 { left: 7%; transform: rotate(-12deg); }.road-section-diagram .d2 { right: 7%; transform: rotate(12deg); }

.canopy-diagram { background: linear-gradient(#566257,#222c24); }
.canopy-diagram .tree { position: absolute; bottom: 30px; width: 80px; height: 125px; background: #162218; clip-path: polygon(50% 0,100% 80%,72% 80%,100% 100%,0 100%,28% 80%,0 80%); }
.canopy-diagram .t1 { left: 5%; }.canopy-diagram .t2 { left: 27%; height: 150px; }.canopy-diagram .t3 { left: 53%; height: 140px; }.canopy-diagram .t4 { left: 75%; height: 155px; }
.canopy-diagram .hidden-road { position: absolute; left: 7%; right: 7%; bottom: 24px; height: 12px; transform: rotate(-9deg); background: var(--gold); box-shadow: 0 0 14px rgba(201,168,76,.65); }
.canopy-diagram .scan-beam { position: absolute; top: -20px; width: 2px; height: 180px; background: rgba(238,224,154,.55); transform: rotate(15deg); }
.canopy-diagram .b1 { left: 22%; }.canopy-diagram .b2 { left: 50%; }.canopy-diagram .b3 { left: 77%; }

.network-diagram { background: radial-gradient(circle at 48% 47%,#263529,#0c100d 70%); }
.network-diagram .node { position: absolute; width: 14px; height: 14px; border: 3px solid #161a16; border-radius: 50%; background: var(--gold-light); z-index: 3; }
.network-diagram .n1 { left: 15%; top: 70%; }.network-diagram .n2 { left: 45%; top: 48%; }.network-diagram .n3 { left: 76%; top: 22%; }.network-diagram .n4 { left: 80%; top: 76%; }
.network-diagram .route,.network-diagram .model-route { position: absolute; height: 3px; transform-origin: left center; background: var(--gold); }
.network-diagram .r1 { left: 16%; top: 72%; width: 37%; transform: rotate(-26deg); }
.network-diagram .r2 { left: 46%; top: 50%; width: 42%; transform: rotate(-31deg); }
.network-diagram .r3 { left: 47%; top: 52%; width: 39%; transform: rotate(27deg); }
.network-diagram .r4 { left: 17%; top: 73%; width: 65%; transform: rotate(4deg); opacity: .35; }
.network-diagram .model-route { height: 2px; background: none; border-top: 2px dashed var(--cyan); }
.network-diagram .mr1 { left: 17%; top: 70%; width: 68%; transform: rotate(-10deg); }
.network-diagram .mr2 { left: 46%; top: 50%; width: 40%; transform: rotate(10deg); }

.impostor-diagram { background: linear-gradient(160deg,#4f544d,#151714); }
.impostor-diagram .stone-road { position: absolute; left: 35%; top: -30%; width: 30%; height: 160%; transform: rotate(28deg); background: repeating-linear-gradient(0deg,#7c7f77 0 22px,#4e514c 22px 25px); box-shadow: 0 0 0 5px rgba(30,33,29,.7); }
.impostor-diagram .date { position: absolute; padding: .35rem .5rem; border: 1px solid; border-radius: 2px; font-family: Cinzel,serif; font-size: .62rem; letter-spacing: .1em; }
.impostor-diagram .date-roman { left: 8%; top: 18%; color: var(--gold-pale); border-color: var(--gold-dim); background: rgba(10,12,10,.7); }
.impostor-diagram .date-turnpike { right: 8%; bottom: 18%; color: #f0b69d; border-color: var(--rust); background: rgba(10,12,10,.7); }

.cheshire-investigation {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 1.4rem;
  margin-bottom: 4.5rem;
}
.cheshire-map,.cheshire-copy {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.cheshire-map { position: relative; min-height: 530px; }
.cheshire-map svg { display: block; width: 100%; height: 100%; min-height: 530px; }
.cheshire-copy { padding: 2rem; }
.cheshire-copy h3 { margin: .35rem 0 1rem; color: var(--text-light); font-family: Cinzel,serif; font-size: 1.45rem; line-height: 1.3; }
.cheshire-copy > p:not(.mini-kicker) + p { margin-top: .8rem; }
.cheshire-copy > p:not(.mini-kicker) { color: var(--muted); }
.local-evidence { display: grid; gap: .6rem; margin: 1.4rem 0 1.5rem; }
.local-evidence > div { padding: .75rem .8rem; border: 1px solid var(--border); background: rgba(8,10,8,.33); }
.local-evidence p { margin-top: .3rem; color: var(--muted); font-size: .84rem; }

.limits-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-bottom: 2rem; }
.limit-card {
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}
.limit-icon { color: var(--gold-dim); font-family: Cinzel,serif; font-size: 2rem; }
.limit-card h3 { margin: .2rem 0 .45rem; color: var(--gold-light); font-family: Cinzel,serif; font-size: .86rem; }
.limit-card p { color: var(--muted); font-size: .9rem; }
.limit-card span { display: block; margin-top: .8rem; padding-top: .6rem; border-top: 1px solid var(--border); color: #c9c4b8; font-family: Inter,sans-serif; font-size: .69rem; }
.quote-panel {
  max-width: 890px;
  margin: 2rem auto 4.5rem;
  padding: 1.6rem 2rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: linear-gradient(135deg,rgba(201,168,76,.07),rgba(13,16,13,.9));
  color: var(--text-light);
  font-size: 1.25rem;
  font-style: italic;
  text-align: center;
}

.evidence-ladder { max-width: 960px; margin: 0 auto 4.5rem; }
.ladder-rung {
  display: grid;
  grid-template-columns: 52px 1fr 170px;
  gap: 1rem;
  align-items: center;
  margin-bottom: .55rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--panel);
}
.rung-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: Cinzel,serif;
  font-size: .66rem;
}
.ladder-rung h3 { color: var(--text-light); font-family: Cinzel,serif; font-size: .8rem; }
.ladder-rung p { margin-top: .2rem; color: var(--muted); font-size: .86rem; }
.route-sample { position: relative; display: block; height: 12px; }
.route-sample::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); }
.route-solid::before { height: 8px; background: #73a878; box-shadow: 0 0 8px rgba(115,168,120,.5); }
.route-strong::before { height: 6px; background: var(--gold-light); }
.route-probable::before { border-top: 5px dashed #8db4cf; }
.route-modelled::before { border-top: 3px dotted var(--gold); }
.route-disputed::before { border-top: 4px double var(--rust); }
.route-absent::before { border-top: 1px dashed rgba(200,200,190,.25); }


.hero-guide {
  max-width: 620px;
  margin-top: 1rem;
  color: #c4c0b7;
  font-family: Inter,sans-serif;
  font-size: .8rem;
  line-height: 1.55;
}
.archive-guide {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .8rem;
  margin-bottom: 1rem;
}
.archive-guide > div {
  padding: 1rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(8,10,8,.45);
}
.archive-guide strong {
  display: block;
  color: var(--gold-light);
  font-family: Cinzel,serif;
  font-size: .66rem;
  letter-spacing: .045em;
}
.archive-guide span {
  display: block;
  margin-top: .3rem;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.45;
}
.sources-intro {
  max-width: 820px;
  margin: -1rem auto 2rem;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.7;
  text-align: center;
}

.archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-bottom: 2rem; }
.archive-card {
  display: flex;
  flex-direction: column;
  min-height: 255px;
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  text-decoration: none;
  transition: transform .2s,border-color .2s,box-shadow .2s;
}
.archive-card:hover { transform: translateY(-3px); border-color: var(--gold-dim); box-shadow: 0 12px 32px rgba(0,0,0,.38); }
.archive-card h3 { margin: .45rem 0 .6rem; color: var(--text-light); font-family: Cinzel,serif; font-size: .92rem; line-height: 1.4; }
.archive-card p { flex: 1; color: var(--muted); font-size: .88rem; }
.archive-link { display: block; margin-top: 1rem; padding-top: .7rem; border-top: 1px solid var(--border); color: var(--gold-light); font-family: Inter,sans-serif; font-size: .74rem; font-weight: 700; }

.continue-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: .8rem; margin-bottom: 4.5rem; }
.continue-grid a {
  display: flex;
  flex-direction: column;
  min-height: 170px;
  padding: 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(8,10,8,.45);
  text-decoration: none;
}
.continue-grid span { color: var(--gold); font-family: Cinzel,serif; font-size: .56rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.continue-grid strong { margin: .45rem 0; color: var(--text-light); font-family: Cinzel,serif; font-size: .79rem; line-height: 1.45; }
.continue-grid em { margin-top: auto; color: var(--gold-light); font-size: .8rem; }
.continue-grid a:hover { border-color: var(--gold-dim); }

.tool-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-bottom: 1.5rem; }
.tool-grid a {
  display: block;
  min-height: 205px;
  padding: 1.3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  text-decoration: none;
  transition: transform .2s,border-color .2s;
}
.tool-grid a:hover { transform: translateY(-3px); border-color: var(--gold-dim); }
.tool-grid span { color: var(--gold); font-family: Cinzel,serif; font-size: .56rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tool-grid h3 { margin: .5rem 0; color: var(--text-light); font-family: Cinzel,serif; font-size: .82rem; }
.tool-grid p { color: var(--muted); font-size: .86rem; }
.ethics-note {
  max-width: 920px;
  margin: 1.5rem auto 4.5rem;
  padding: 1.5rem 1.7rem;
  border-left: 3px solid var(--gold-dim);
  background: rgba(201,168,76,.045);
}
.ethics-note h3 { color: var(--gold-light); font-family: Cinzel,serif; font-size: .82rem; }
.ethics-note p { margin-top: .45rem; color: var(--muted); }

.source-list { max-width: 960px; margin: 0 auto 3rem; }
.source-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  padding: 1rem .6rem;
  border-bottom: 1px solid var(--border);
}
.source-list article > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--gold);
  font-family: Cinzel,serif;
  font-size: .58rem;
}
.source-list h3 { color: var(--text-light); font-family: Cinzel,serif; font-size: .78rem; }
.source-list p { margin: .25rem 0; color: var(--muted); font-size: .86rem; }
.source-list a { color: var(--gold-light); font-family: Inter,sans-serif; font-size: .72rem; font-weight: 700; text-decoration: none; }
.source-list a:hover { text-decoration: underline; }

.closing {
  max-width: 900px;
  margin: 2rem auto 5rem;
  padding: 2rem 2.2rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 86% 20%,rgba(201,168,76,.11),transparent 32%),
    linear-gradient(135deg,rgba(201,168,76,.06),rgba(13,16,13,.94));
}
.closing h2 { margin: .4rem 0 1rem; color: var(--text-light); font-family: Cinzel,serif; font-size: 1.5rem; }
.closing p + p { margin-top: .8rem; }

footer {
  padding: 4rem 1.5rem 2.2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-dark);
  text-align: center;
}
.footer-mark { width: 46px; height: 46px; margin-bottom: .8rem; fill: none; stroke: var(--gold-dim); stroke-width: 1.5; }
.footer-brand { color: var(--gold); font-family: Cinzel,serif; font-size: 1.05rem; font-weight: 700; }
.footer-tagline { margin: .35rem 0 1.2rem; color: var(--muted); font-family: Cinzel,serif; font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; }
.footer-links { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.footer-links a { color: var(--gold-light); font-size: .8rem; text-decoration: none; }
.footer-copy { color: var(--muted); font-family: Inter,sans-serif; font-size: .68rem; }

.fade-in { opacity: 0; transform: translateY(18px); transition: opacity .65s ease,transform .65s ease; }
.fade-in.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; padding-top: 5.5rem; }
  .hero-copy { margin: 0 auto; text-align: center; }
  .hero blockquote { margin-left: auto; margin-right: auto; text-align: left; }
  .hero-actions { justify-content: center; }
  .hero-visual { margin: 0 auto; min-height: 520px; }
  .opening-grid,.cheshire-investigation { grid-template-columns: 1fr; }
  .case-file { grid-template-columns: 60px 1fr; }
  .case-diagram { grid-column: 2; }
  .method-cards,.continue-grid,.tool-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 780px) {
  .archive-guide { grid-template-columns: 1fr; }
  body { font-size: 17px; }
  main { padding: 0 1rem; }
  .section-alt { margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; }
  .section-nav { justify-content: flex-start; }
  .hero { padding: 5rem 1rem 4rem; gap: 2.5rem; }
  .hero h1 { font-size: clamp(3.4rem,18vw,5.4rem); }
  .hero-visual { min-height: 420px; aspect-ratio: auto; }
  .archive-grid,.limits-grid { grid-template-columns: 1fr; }
  .guided-case { grid-template-columns: 1fr; }
  .guided-case-reverse .guided-visual,.guided-case-reverse .guided-copy { order: initial; }
  .guided-visual,.guided-visual svg { min-height: 350px; }
  .method-cards { grid-template-columns: repeat(2,1fr); }
  .lidar-viewer,.lidar-viewer svg { height: 430px; min-height: 430px; }
  .viewer-readout { max-width: calc(100% - 2rem); }
  .ladder-rung { grid-template-columns: 44px 1fr; }
  .route-sample { grid-column: 2; width: 100%; }
}
@media (max-width: 520px) {
  .hero-visual { min-height: 360px; }
  .comparison-label { font-size: .48rem; }
  .method-cards,.continue-grid,.tool-grid { grid-template-columns: 1fr; }
  .guided-toolbar { align-items: flex-start; flex-direction: column; }
  .guided-copy { padding: 1.35rem; }
  .guided-visual,.guided-visual svg { min-height: 300px; }
  .case-file { grid-template-columns: 1fr; }
  .case-timeline::before { display: none; }
  .case-index { margin-bottom: -.4rem; }
  .case-diagram { grid-column: 1; }
  .data-row { grid-template-columns: 1fr; }
  .lidar-viewer,.lidar-viewer svg { height: 390px; min-height: 390px; }
}
@media print {
  .section-nav,.hero-actions,.viewer-controls,.guided-toolbar { display: none !important; }
  body { color: #222; background: white; }
  .hero { min-height: auto; color: white; background: #111; }
  .fade-in { opacity: 1; transform: none; }
  .guided-evidence { display: block !important; }
}