:root {
  --paper: #eee8d5;
  --paper-light: #faf7ec;
  --olive: #4f5d38;
  --olive-deep: #303b25;
  --ink: #25271e;
  --muted: #626252;
  --honey: #d99b2b;
  --clay: #a95438;
  --line: rgba(48, 59, 37, .2);
  --shadow: 0 22px 55px rgba(38, 42, 28, .16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); line-height: 1.55; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .33;
  background-image: radial-gradient(rgba(48, 59, 37, .14) .8px, transparent .8px), linear-gradient(110deg, rgba(255,255,255,.36), transparent 50%);
  background-size: 17px 17px, 100% 100%;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .75rem 1rem; background: #fff; }
.skip-link:focus { top: 1rem; }

.experiment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem clamp(1rem, 4vw, 4.5rem);
  color: #fff;
  background: var(--olive-deep);
  border-bottom: 4px solid var(--honey);
}
.experiment-brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.experiment-brand span { display: grid; line-height: 1.05; }
.experiment-brand strong { font-family: Georgia, serif; font-size: 1.25rem; }
.experiment-brand small { margin-top: .3rem; opacity: .76; }
.experiment-header nav { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .9rem; font-weight: 750; }
.experiment-header nav a { text-decoration: none; border-bottom: 1px solid transparent; }
.experiment-header nav a:hover, .experiment-header nav a:focus-visible { border-color: var(--honey); }
.design-note { margin: 0; padding: .55rem 1rem; color: #fff; background: #465232; text-align: center; font-size: .78rem; letter-spacing: .01em; }

main { overflow: hidden; }
.experiment-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 5vw, 5rem);
}
.experiment-hero::before, .experiment-hero::after {
  content: "";
  position: absolute;
  top: 8%;
  bottom: 8%;
  width: clamp(1rem, 5vw, 5rem);
  background: linear-gradient(90deg, rgba(79,93,56,.08), rgba(79,93,56,.32));
  border: 1px solid var(--line);
  border-radius: 80% 18% 35% 65%;
  z-index: -1;
}
.experiment-hero::before { left: 0; }
.experiment-hero::after { right: 0; transform: scaleX(-1); }
.eyebrow { margin: 0 0 .7rem; color: var(--clay); font-size: .76rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.05; }
h1 { max-width: 760px; margin: 0; font-size: clamp(3rem, 7vw, 6.8rem); letter-spacing: -.055em; }
h2 { margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -.035em; }
h3 { margin: 0 0 .65rem; font-size: 1.5rem; }
.lede { max-width: 650px; margin: 1.6rem 0; font-size: clamp(1.05rem, 1.8vw, 1.35rem); color: #434536; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; padding: .9rem 1.15rem; border: 2px solid var(--olive-deep); border-radius: 999px; font-weight: 800; text-decoration: none; }
.button.primary { color: #fff; background: var(--olive-deep); }
.button.secondary { background: rgba(255,255,255,.38); }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(48,59,37,.18); }
.location-note { font-size: .86rem; font-weight: 750; color: var(--muted); }
.hero-window { position: relative; margin: 0; padding: .8rem; background: var(--paper-light); border: 1px solid var(--line); box-shadow: var(--shadow); transform: rotate(.8deg); }
.hero-window::before { content: "EVIDENCE WINDOW 01"; position: absolute; top: -1.5rem; right: 1.5rem; padding: .4rem .7rem; color: #fff; background: var(--clay); font-size: .67rem; font-weight: 900; letter-spacing: .09em; }
.hero-window img { width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: saturate(.9) contrast(1.04); }
.hero-window figcaption { padding: .75rem .35rem .15rem; font-size: .84rem; }

.score-strip { display: grid; grid-template-columns: repeat(5, 1fr); color: #fff; background: var(--olive-deep); border-block: 5px solid var(--honey); }
.score-strip div { display: grid; padding: 1.35rem 1rem; text-align: center; border-right: 1px solid rgba(255,255,255,.18); }
.score-strip div:last-child { border: 0; }
.score-strip strong { font-family: Georgia, serif; color: #ffd87b; font-size: clamp(1.7rem, 4vw, 3.2rem); }
.score-strip span { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }

.spicy-hive-report {
  max-width: 1320px;
  margin: clamp(2rem, 6vw, 5rem) auto 0;
  padding: clamp(1.25rem, 4vw, 3rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(115deg, rgba(255,255,255,.62), rgba(255,255,255,.08)),
    repeating-linear-gradient(0deg, rgba(48,59,37,.05) 0 1px, transparent 1px 6px),
    var(--paper-light);
  box-shadow: var(--shadow);
}
.report-heading { max-width: 850px; }
.report-heading > p:last-child { max-width: 68ch; color: var(--muted); font-size: 1.08rem; }
.report-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 2rem 0; border-top: 2px solid var(--olive-deep); border-left: 1px solid var(--line); }
.report-facts div { min-height: 132px; padding: 1.05rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(253,252,241,.72); }
.report-facts dt, .qa-time { color: var(--clay); font-size: .72rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.report-facts dd { margin: .45rem 0 0; font-family: Georgia, serif; font-size: 1.12rem; line-height: 1.25; }
.report-verdicts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.report-verdicts p { margin: 0; padding: 1rem 1.15rem; border-left: 5px solid var(--olive); background: rgba(79,93,56,.1); }
.report-verdicts p + p { border-color: var(--clay); background: rgba(169,84,56,.1); }

.paper-panel { background: var(--paper-light); border: 1px solid var(--line); box-shadow: var(--shadow); }
.field-film, .rebuild-gallery { max-width: 1320px; margin: clamp(4rem, 9vw, 8rem) auto; padding: clamp(1rem, 4vw, 3rem); }
.section-heading { max-width: 950px; margin-bottom: 2rem; }
.section-heading.narrow { max-width: 800px; margin-inline: auto; text-align: center; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }
.field-film video { width: 100%; aspect-ratio: 16/9; background: #111; border: 5px solid var(--olive-deep); }
.film-note { margin-bottom: 0; color: var(--muted); font-size: .85rem; }
.report-player { max-width: 1320px; margin: clamp(2rem, 6vw, 5rem) auto 0; padding: clamp(1rem, 4vw, 3rem); }
.report-player > div { max-width: 780px; }
.report-player iframe { display: block; width: 100%; aspect-ratio: 16 / 9; margin-top: 1.5rem; border: 0; background: var(--olive-deep); }

.people-and-note { display: grid; grid-template-columns: .88fr 1.12fr; gap: 1.5rem; max-width: 1180px; margin: 0 auto; padding: 0 1rem; }
.people-and-note article { position: relative; padding: clamp(1.5rem, 4vw, 3rem); }
.andy-card { transform: rotate(-.6deg); }
.andy-card blockquote { margin: 2rem 0; padding: 1rem 1.3rem; font-family: Georgia, serif; font-size: 1.35rem; border-left: 5px solid var(--honey); background: rgba(217,155,43,.09); }
.evidence-footnote, .nickname-note { color: var(--muted); font-size: .85rem; }
.note-tab { position: absolute; top: -1rem; right: 2rem; padding: .45rem .8rem; color: white; background: var(--clay); font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.hive-note dl { margin: 0; }
.hive-note dl div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--line); }
.hive-note dt { font-weight: 850; }
.hive-note dd { margin: 0; color: var(--muted); }

.experiment-story, .question-lab, .checklist { max-width: 1320px; margin: clamp(5rem, 10vw, 9rem) auto; padding-inline: 1rem; }
.story-steps { position: relative; max-width: 960px; margin: 3rem auto 0; padding: 0; list-style: none; }
.story-steps::before { content: ""; position: absolute; left: 2.2rem; top: 2rem; bottom: 2rem; width: 2px; background: var(--olive); }
.story-steps li { position: relative; display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.4rem; align-items: start; margin: 1rem 0; }
.story-steps li > span { z-index: 1; display: grid; place-items: center; width: 4.5rem; aspect-ratio: 1; border-radius: 50%; color: white; background: var(--olive-deep); border: 4px solid var(--honey); font-family: Georgia, serif; font-weight: 900; }
.story-steps li > div { padding: 1.25rem 1.5rem; background: rgba(250,247,236,.7); border-bottom: 1px solid var(--line); }
.story-steps p { margin: 0; color: var(--muted); }

.evidence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; }
.evidence-card { overflow: hidden; background: var(--paper-light); border: 1px solid var(--line); box-shadow: 0 14px 36px rgba(38,42,28,.1); }
.evidence-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.evidence-body { padding: 1.4rem; }
.evidence-body p { color: var(--muted); }
.evidence-body b { color: var(--ink); }
.status { display: inline-block; margin: 0 0 1rem !important; padding: .33rem .65rem; font-size: .7rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; }
.status.constrained { color: #7a321f; background: #f2d3c7; }
.status.useful { color: #25441f; background: #d8e8cc; }

.question-answer-ledger { max-width: 1320px; margin: clamp(5rem, 10vw, 9rem) auto; padding-inline: 1rem; }
.qa-ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; counter-reset: qa; }
.qa-ledger li { position: relative; min-height: 210px; padding: 1.25rem 1.25rem 1.25rem 4.15rem; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(255,255,255,.66), rgba(238,232,213,.6)); box-shadow: 0 10px 28px rgba(38,42,28,.09); counter-increment: qa; }
.qa-ledger li::before { position: absolute; top: 1.15rem; left: 1rem; color: var(--olive); font-family: Georgia, serif; font-size: 1.6rem; font-weight: 900; content: counter(qa, decimal-leading-zero); }
.qa-ledger h3 { font-size: clamp(1.2rem, 2.3vw, 1.55rem); }
.qa-ledger p { margin: .65rem 0 0; color: var(--muted); }
.qa-ledger .qa-time { display: inline-flex; align-items: center; min-height: 48px; margin: -.55rem 0 .45rem; padding: .35rem .6rem; border: 1px solid rgba(169,84,56,.35); border-radius: 999px; background: rgba(255,255,255,.5); text-decoration: none; scroll-margin-top: 1rem; }
.qa-ledger .qa-time:hover, .qa-ledger .qa-time:focus-visible, .qa-ledger .qa-time.is-active { color: #fff; background: var(--clay); border-color: var(--clay); }
.qa-ledger h3 + p { color: var(--ink); }
.qa-ledger b { color: var(--olive-deep); }
.qa-ledger em { color: var(--clay); font-style: normal; font-weight: 850; }

.image-ribbon { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.image-ribbon figure { margin: 0; background: var(--paper); border: 1px solid var(--line); }
.image-ribbon img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.image-ribbon figcaption { padding: .9rem; font-weight: 750; }

.checklist { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.checklist ol { margin: 0; padding: 0; list-style: none; counter-reset: next-step; }
.checklist li { position: relative; display: grid; gap: .3rem; padding: 1.25rem 1rem 1.25rem 4.2rem; border-top: 1px solid var(--line); counter-increment: next-step; }
.checklist li::before { content: counter(next-step, decimal-leading-zero); position: absolute; left: .5rem; top: .85rem; font-family: Georgia, serif; color: var(--clay); font-size: 1.7rem; font-weight: 900; }
.checklist span { color: var(--muted); }
.independence-note { max-width: 1050px; margin: 0 auto 7rem; padding: 1.3rem 1.5rem; border: 1px dashed var(--olive); background: rgba(255,255,255,.32); color: var(--muted); }
.independence-note strong { color: var(--ink); }

footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem clamp(1rem, 5vw, 5rem); color: white; background: var(--olive-deep); border-top: 5px solid var(--honey); }
footer p { max-width: 660px; text-align: right; color: rgba(255,255,255,.75); }

@media (max-width: 900px) {
  .experiment-header { align-items: flex-start; }
  .experiment-header nav { justify-content: flex-end; }
  .experiment-hero, .people-and-note, .checklist { grid-template-columns: 1fr; }
  .score-strip { grid-template-columns: repeat(3, 1fr); }
  .score-strip div:nth-child(3) { border-right: 0; }
  .evidence-grid { grid-template-columns: 1fr; }
  .report-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qa-ledger { grid-template-columns: 1fr; }
  .image-ribbon { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .experiment-header { display: grid; gap: 1rem; }
  .experiment-header nav { justify-content: flex-start; gap: .75rem 1rem; }
  .design-note { text-align: left; }
  .experiment-hero { padding-top: 4rem; }
  h1 { font-size: clamp(2.8rem, 15vw, 4.3rem); }
  .hero-actions .button { width: 100%; justify-content: center; }
  .score-strip { grid-template-columns: repeat(2, 1fr); }
  .score-strip div { border-right: 1px solid rgba(255,255,255,.18) !important; border-bottom: 1px solid rgba(255,255,255,.18); }
  .score-strip div:nth-child(even) { border-right: 0 !important; }
  .score-strip div:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .report-facts, .report-verdicts { grid-template-columns: 1fr; }
  .report-facts div { min-height: 0; }
  .qa-ledger li { min-height: 0; padding-left: 3.65rem; }
  .hive-note dl div { grid-template-columns: 1fr; gap: .2rem; }
  .story-steps::before { left: 1.65rem; }
  .story-steps li { grid-template-columns: 3.3rem 1fr; gap: .7rem; }
  .story-steps li > span { width: 3.3rem; border-width: 3px; }
  .story-steps li > div { padding: 1rem; }
  footer { display: grid; }
  footer p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
