:root {
  --navy: #10213a;
  --navy-deep: #07111f;
  --ink: #211c16;
  --gold: #a56f1c;
  --gold-light: #d2a14d;
  --cream: #eee3ce;
  --paper: #fbf6e9;
  --line: #c8ad7a;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Georgia, "Times New Roman", serif; line-height: 1.58; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -6rem; z-index: 2147483640; padding: .75rem 1rem; background: #fff; color: #000; }
.skip-link:focus { top: 1rem; }

.hero { position: relative; min-height: min(760px, calc(100vh - 84px)); display: flex; align-items: flex-end; color: #fff; background: url("assets/dead-reckoning-hero.webp") center 48% / cover no-repeat; overflow: hidden; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 13, 25, .9) 0%, rgba(5, 13, 25, .58) 43%, rgba(5, 13, 25, .08) 75%), linear-gradient(0deg, rgba(5, 13, 25, .58), transparent 46%); }
.hero-copy { position: relative; z-index: 1; width: min(660px, 92%); margin-left: max(5vw, calc((100vw - var(--max)) / 2)); padding: 7rem 1.4rem 5.5rem 0; }
.eyebrow { margin: 0 0 .7rem; color: var(--gold-light); font: 700 .74rem/1.3 Arial, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(5rem, 10vw, 9.4rem); font-weight: 500; line-height: .78; letter-spacing: -.055em; text-transform: uppercase; }
.byline { margin: 1.4rem 0 0; font: 700 .9rem Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.hero blockquote { max-width: 28rem; margin: 2.3rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(210, 161, 77, .7); font-size: clamp(1.5rem, 2.2vw, 2rem); font-style: italic; }

.section-pad { padding: 5rem max(5vw, calc((100vw - var(--max)) / 2)); }
.section-heading { margin-bottom: 2rem; }
.section-heading h2, .story h2, .experience h2, .production-cta h2 { margin: 0; color: var(--navy); font-size: clamp(2.4rem, 4vw, 4.4rem); font-weight: 500; line-height: 1; }

.production-file { background: radial-gradient(circle at 20% 10%, rgba(255,255,255,.75), transparent 32%), var(--cream); border-block: 1px solid var(--line); }
.production-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border: 1px solid var(--line); background: rgba(255,255,255,.35); }
.production-grid div { min-height: 132px; padding: 1.35rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.production-grid div:nth-child(4n) { border-right: 0; }
.production-grid dt { color: var(--navy); font: 700 .72rem Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.production-grid dd { margin: .65rem 0 0; font-size: 1.08rem; }

.story { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(3rem, 7vw, 7rem); background: var(--paper); }
.story article + article { padding-left: clamp(2rem, 5vw, 5rem); border-left: 1px solid var(--line); }
.story h2 { margin-bottom: 1.6rem; font-size: clamp(2.4rem, 3.7vw, 4rem); }
.story p { max-width: 48rem; }
.lead { color: var(--gold); font-size: 1.35rem; font-weight: 700; }

.evidence { background: linear-gradient(rgba(7,17,31,.93), rgba(7,17,31,.96)), url("assets/dead-reckoning-hero.webp") center / cover fixed; color: #fff; }
.evidence .section-heading { text-align: center; }
.evidence h2 { color: #fff; }
.evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.evidence-grid article { min-height: 180px; padding: 1.5rem; border: 1px solid rgba(210,161,77,.5); background: rgba(6,14,25,.72); }
.evidence-grid span { color: var(--gold-light); font: 700 .7rem Arial, sans-serif; letter-spacing: .16em; }
.evidence-grid h3 { margin: 1.1rem 0 .4rem; color: #fff; font-size: 1.45rem; }
.evidence-grid p { margin: 0; color: #d9cfbf; }

.experience { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; background: var(--cream); }
.experience article > p:not(.eyebrow) { max-width: 48rem; }
.closing-line { color: var(--gold); font-size: 1.5rem; font-style: italic; }
.notebook-panel { padding: clamp(2rem, 4vw, 3.5rem); background: #dfceb0; border: 1px solid #b79a66; box-shadow: 0 16px 30px rgba(60,42,20,.16); }
.notebook-panel h2 { font-size: clamp(2rem, 3.2vw, 3.3rem); }
.notebook-panel blockquote { margin: 1.5rem 0; font-size: 1.45rem; font-style: italic; }
.notebook-panel a { color: var(--navy); font-weight: 700; }

.production-cta { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; color: #fff; background: var(--navy); }
.production-cta h2 { color: #fff; }
.production-cta p:not(.eyebrow) { color: #d8deea; }
.cta-grid { display: grid; gap: .8rem; }
.cta-grid a { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; border: 1px solid rgba(210,161,77,.7); color: #fff; text-decoration: none; }
.cta-grid a:hover, .cta-grid a:focus-visible { background: rgba(210,161,77,.13); }
.cta-grid span { color: #c9d0db; text-align: right; }

.continue { background: var(--paper); }
.continue .section-heading { text-align: center; }
.continue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.continue-grid a { display: flex; min-height: 150px; padding: 1.4rem; flex-direction: column; justify-content: center; border: 1px solid var(--line); background: #f1e6d2; color: var(--navy); text-decoration: none; }
.continue-grid a:hover, .continue-grid a:focus-visible { border-color: var(--gold); transform: translateY(-2px); }
.continue-grid strong { font-size: 1.25rem; }
.continue-grid span { margin-top: .45rem; color: var(--ink); }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center; padding: 1.2rem 5vw; color: #d7cbb7; background: var(--navy-deep); font: .75rem Arial, sans-serif; }
.site-footer span { color: var(--gold-light); font: italic 2rem Georgia, serif; }
.site-footer p:last-child { text-align: right; }

@media (max-width: 900px) {
  .hero { min-height: 690px; }
  .hero-copy { margin-left: 0; padding: 6rem 1.25rem 4rem; }
  .production-grid { grid-template-columns: repeat(2, 1fr); }
  .production-grid div:nth-child(4n) { border-right: 1px solid var(--line); }
  .production-grid div:nth-child(2n) { border-right: 0; }
  .story, .experience, .production-cta { grid-template-columns: 1fr; }
  .story article + article { padding: 2.5rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .evidence-grid { grid-template-columns: repeat(2, 1fr); }
  .evidence { background-attachment: scroll; }
}

@media (max-width: 600px) {
  .hero { min-height: 620px; background-position: 62% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(5,13,25,.94) 0%, rgba(5,13,25,.48) 58%, rgba(5,13,25,.08) 100%); }
  .hero h1 { font-size: clamp(3.6rem, 16vw, 5.2rem); letter-spacing: -.06em; }
  .section-pad { padding: 3.5rem 1.1rem; }
  .production-grid { grid-template-columns: 1fr; }
  .production-grid div, .production-grid div:nth-child(2n), .production-grid div:nth-child(4n) { min-height: 0; border-right: 0; }
  .evidence-grid, .continue-grid { grid-template-columns: 1fr; }
  .evidence-grid article { min-height: 145px; }
  .cta-grid a { flex-direction: column; }
  .cta-grid span { text-align: left; }
  .site-footer { grid-template-columns: 1fr; gap: .4rem; text-align: center; }
  .site-footer p { margin: .2rem; }
  .site-footer p:last-child { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .continue-grid a { transform: none !important; }
}
