:root {
  --ink: #211c16;
  --paper: #e7dfcf;
  --cream: #f5eedf;
  --night: #07090a;
  --green: #263b30;
  --green-deep: #111d18;
  --red: #713027;
  --gold: #b58b4d;
  --cold: #9aafb8;
  --line: #aa9d82;
  --muted: #6d6456;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Georgia, "Times New Roman", serif; line-height: 1.58; }
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -6rem; z-index: 100; padding: .75rem 1rem; background: #fff; color: #111; }
.skip-link:focus { top: 1rem; }

.site-header { height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, 4vw); background: #070a09; color: #eee5d6; border-bottom: 1px solid #443a2c; }
.brand { display: flex; align-items: center; gap: 13px; color: inherit; text-decoration: none; }
.brand > b { color: var(--gold); font: italic 1.9rem Georgia, serif; }
.brand span { display: flex; flex-direction: column; font: 700 .78rem Arial, sans-serif; letter-spacing: .12em; }
.brand small { margin-top: 2px; color: #9fa99f; font-size: .52rem; }
.site-header nav { display: flex; gap: 2rem; }
.site-header nav a { color: #d6d2c8; text-decoration: none; font: 700 .67rem Arial, sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.site-header nav a.active, .site-header nav a:hover, .site-header nav a:focus-visible { color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid #796a58; color: #fff; padding: .5rem .7rem; }

.hero { position: relative; overflow: hidden; background: #070a09; border-bottom: 6px solid var(--red); }
.hero-image { display: block; width: 100%; height: auto; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.38), transparent 34%, transparent 72%, rgba(0,0,0,.5)), linear-gradient(90deg, rgba(0,0,0,.5), transparent 55%); pointer-events: none; }
.hero-copy { position: absolute; z-index: 2; top: 7%; left: max(30px, 5vw); width: min(47vw, 780px); color: #fff; text-shadow: 0 2px 22px #000; }
.hero-kicker { margin: 0 0 .65rem; color: #d4ad67; font: 700 .65rem Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { margin: 0; font-weight: 400; line-height: .88; text-transform: uppercase; }
.hero h1 span { display: block; white-space: nowrap; color: #e8d9bc; font-size: clamp(3rem, 5.2vw, 5.8rem); letter-spacing: .04em; }
.hero h1 strong { display: block; margin-top: .55rem; color: #fff; font-size: clamp(1.75rem, 2.75vw, 3.25rem); font-weight: 400; letter-spacing: .025em; line-height: .95; }
.hero h1 strong i { display: block; margin-bottom: .22rem; color: #d8c9ad; font-size: .62em; font-weight: 400; }
.byline { margin: 1.15rem 0 0; color: #ddd3c3; font: 700 .66rem Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; }

.evidence-cards { position: absolute; z-index: 3; right: 3.5%; bottom: 2.6%; display: grid; grid-template-columns: repeat(5, 1fr); width: min(62%, 980px); border: 1px solid rgba(218, 202, 170, .38); background: rgba(5, 8, 8, .72); backdrop-filter: blur(5px); }
.evidence-card { position: static; width: auto; min-width: 0; padding: .65rem .45rem .7rem; color: #eee4d3; text-align: center; text-shadow: 0 1px 8px #000; transform: none; border-right: 1px solid rgba(218, 202, 170, .22); }
.evidence-card:last-child { border-right: 0; }
.evidence-card h2, .evidence-card p { margin: 0; }
.evidence-card h2 { color: #f2e7d4; font-size: clamp(.5rem, .68vw, .74rem); line-height: 1.12; }
.evidence-card p { margin-top: .2rem; color: #cfc4b1; font: italic clamp(.4rem, .5vw, .56rem) Georgia, serif; line-height: 1.18; }
.mobile-evidence { display: none; }

.north-pole-emblem { position: absolute; z-index: 3; top: 3.5%; right: 4.5%; width: clamp(92px, 8.2vw, 138px); height: auto; filter: drop-shadow(0 5px 16px rgba(0,0,0,.78)); }

.quote-band { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; padding-block: 2.7rem; border-bottom: 1px solid var(--line); }
.quote-mark { color: var(--red); font-size: 5rem; line-height: .5; }
.quote-band blockquote { margin: 0; font-size: clamp(1.15rem, 2vw, 1.55rem); font-style: italic; text-align: center; }
.quote-band cite { display: block; margin-top: .45rem; color: var(--red); font: 700 .61rem Arial, sans-serif; letter-spacing: .17em; text-transform: uppercase; }
.quote-star { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--gold); border-radius: 50%; color: #725224; font-size: 1rem; font-weight: 700; }

.eyebrow { margin: 0 0 1rem; color: #733128; font: 700 .65rem Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.case { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(3rem, 7vw, 7rem); padding-block: 6rem; border-bottom: 1px solid var(--line); }
.case h2 { margin: 0; color: #312820; font-size: clamp(2.1rem, 3.7vw, 3.7rem); font-weight: 400; line-height: 1.06; text-wrap: balance; }
.case-copy { padding-top: 1.4rem; }
.case-copy p { font-size: 1rem; }
.case-sting { margin-top: 2rem; color: var(--red); font-size: 1.35rem !important; font-style: italic; }

.section-rule { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.2rem; margin-bottom: 1.6rem; }
.section-rule span { height: 1px; background: #a49578; }
.section-rule h2 { margin: 0; color: #65352c; font-size: 1.1rem; text-align: center; text-transform: uppercase; letter-spacing: .08em; }
.glance { padding-block: 4.5rem; }
.glance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.glance-grid article { min-height: 155px; padding: 1.25rem 1rem 1.45rem; background: var(--cream); text-align: center; }
.glance-grid b { display: block; min-height: 38px; color: var(--green); font: 700 1.35rem Arial, sans-serif; }
.glance-grid span { display: block; margin: .45rem 0; font: 700 .54rem Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.glance-grid p { margin: 0; font-size: .76rem; line-height: 1.4; }

.persons { padding: 5.2rem 0; background: linear-gradient(145deg, #090d0c, #17241d 63%, #2b1d19); color: #efe8da; border-top: 5px solid var(--gold); }
.persons .eyebrow { color: #d1af6a; }
.persons-heading { display: grid; grid-template-columns: .55fr 1.45fr; gap: 3rem; align-items: end; margin-bottom: 2.5rem; }
.persons-heading h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 400; line-height: 1.08; }
.person-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: #4a544b; border: 1px solid #4a544b; }
.person-grid article { min-height: 285px; padding: 1.55rem; background: rgba(7, 15, 10, .95); }
.person-grid b { display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; border: 1px solid #b79655; border-radius: 50%; color: #daba74; font: 700 .62rem Arial, sans-serif; }
.person-grid h3 { margin: 1rem 0 .5rem; color: #fff; font-size: 1.05rem; }
.person-grid p { margin: 0; color: #c6cbc3; font-size: .79rem; line-height: 1.5; }

.experience { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 7vw, 7rem); padding-block: 6rem; }
.experience h2 { margin: 0; font-size: clamp(2.2rem, 3.8vw, 3.4rem); font-weight: 400; line-height: 1.08; }
.experience > div:last-child { padding-top: 1rem; }
.experience blockquote { margin: 2rem 0 0; padding: 1.2rem 0 1.2rem 1.4rem; border-left: 3px solid var(--red); color: #59251f; font-size: 1.2rem; font-style: italic; }
.experience-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 2rem; background: var(--line); border: 1px solid var(--line); }
.experience-steps span { padding: .8rem; background: #f6efe1; color: var(--green); font: 700 .55rem Arial, sans-serif; letter-spacing: .12em; text-align: center; text-transform: uppercase; }

.artifacts { padding-block: 5.8rem; border-top: 1px solid var(--line); }
.artifacts-head { display: grid; grid-template-columns: .45fr 1.55fr; gap: 3rem; align-items: start; margin-bottom: 2.8rem; }
.artifacts-head h2 { margin: 0; font-size: clamp(2.25rem, 4vw, 3.6rem); font-weight: 400; line-height: 1.05; }
.artifact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.artifact { overflow: hidden; display: flex; flex-direction: column; min-height: 440px; background: #f8f1e4; border: 1px solid #a89a80; box-shadow: 0 12px 28px rgba(63, 48, 31, .1); }
.artifact img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.artifact > div { flex: 1; padding: 1.2rem 1.35rem 1.4rem; }
.artifact span { color: #786d5d; font: 700 .52rem Arial, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.artifact h3 { margin: .55rem 0 .5rem; color: #2e271e; font-size: 1.4rem; font-weight: 400; line-height: 1.15; }
.artifact p { margin: 0; color: #51473b; font-size: .92rem; font-style: italic; }

.notebook { padding: 6rem 0; background: #f8f3e8; border-block: 1px solid var(--line); }
.notebook-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 5rem; }
.notebook-layout h2 { margin: 0; font-size: clamp(2.1rem, 3.4vw, 3rem); font-weight: 400; line-height: 1.08; }
.notebook-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.notebook-grid a { min-height: 175px; padding: 1.55rem; background: #fffdf7; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.notebook-grid a:hover, .notebook-grid a:focus-visible { background: #e9e1d1; transform: translateY(-2px); }
.notebook-grid span, .notebook-grid small { display: block; }
.notebook-grid span { color: #334c3b; font-size: 1.05rem; font-weight: 700; }
.notebook-grid small { margin-top: .6rem; color: #665e52; font-size: .79rem; line-height: 1.5; }

.availability { padding: 5.2rem 0; background: #1b2c23; color: #f0ebdf; border-top: 5px solid var(--gold); }
.availability-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4.5rem; align-items: center; }
.availability .eyebrow { color: #d5bd81; }
.availability h2 { margin: .25rem 0 1rem; font-size: clamp(2.2rem, 3.8vw, 3.3rem); font-weight: 400; line-height: 1.08; }
.availability article > p:last-child { color: #d0d5cd; }
.availability aside { display: grid; gap: 1px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.18); }
.availability aside div { padding: 1.3rem; background: rgba(5, 14, 8, .35); }
.availability aside span, .availability aside strong { display: block; }
.availability aside span { color: #d9c388; font: 700 .53rem Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.availability aside strong { margin-top: .45rem; font-size: .88rem; }

.production { padding: 6rem 0; background: #e9e1d2; text-align: center; }
.production .eyebrow { text-align: center; }
.production h2 { max-width: 780px; margin: .2rem auto 2rem; font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 400; line-height: 1.08; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 210px; padding: .9rem 1.2rem; border: 1px solid #54261f; background: #54261f; color: #fff; text-decoration: none; font: 700 .61rem Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.button:hover, .button:focus-visible { background: #fff; color: #54261f; }
.button.pending { cursor: not-allowed; background: transparent; color: #6e6255; border-color: #998b78; }
.integration-note { margin: 1rem auto 0; color: #756b5e; font-size: .75rem; font-style: italic; }

.continue { padding-block: 5rem; }
.continue > .eyebrow { text-align: center; }
.continue-grid { display: grid; grid-template-columns: 1fr 1fr; max-width: 950px; margin: 1.6rem auto 0; border: 1px solid var(--line); }
.continue-grid a { padding: 1.7rem; text-decoration: none; background: #f8f2e6; }
.continue-grid a + a { border-left: 1px solid var(--line); }
.continue-grid span, .continue-grid strong, .continue-grid p { display: block; }
.continue-grid span { color: #74372c; font: 700 .52rem Arial, sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.continue-grid strong { margin: .45rem 0; color: #2d2821; font-size: 1.2rem; }
.continue-grid p { margin: 0; color: #625a4f; font-size: .82rem; }
.continue-grid a:hover, .continue-grid a:focus-visible { background: #fff; }

.footer-image { margin: 0; background: #0b1011; }
.footer-image img { display: block; width: 100%; height: auto; }
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; padding: 1.35rem max(24px, 5vw); background: #070a09; color: #b9b7ae; font-size: .68rem; }
.site-footer p { margin: 0; }
.site-footer .sig { color: #c39a52; font-size: 1.55rem; font-style: italic; }
.site-footer p:last-child { text-align: right; }

@media (max-width: 1100px) {
  .person-grid { grid-template-columns: repeat(3, 1fr); }
  .artifact-grid { grid-template-columns: repeat(2, 1fr); }
  .evidence-card { font-size: .8em; }
}

@media (max-width: 800px) {
  .site-header nav { display: none; position: absolute; z-index: 20; top: 76px; right: 1rem; flex-direction: column; gap: 0; width: min(290px, calc(100vw - 2rem)); padding: .7rem; background: #080b09; border: 1px solid #514536; }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: .8rem; }
  .nav-toggle { display: block; }
  .hero-copy { top: 5%; left: 24px; width: calc(72% - 24px); }
  .evidence-cards { display: none; }
  .north-pole-emblem { right: 20px; width: clamp(78px, 11vw, 96px); }
  .mobile-evidence { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; padding-block: 1px; background: var(--line); border: 1px solid var(--line); }
  .mobile-evidence article { padding: 1rem; background: #f8f1e4; text-align: center; }
  .mobile-evidence h2, .mobile-evidence p { margin: 0; }
  .mobile-evidence h2 { font-size: .9rem; }
  .mobile-evidence p { font-size: .75rem; font-style: italic; }
  .case, .experience, .persons-heading, .artifacts-head, .notebook-layout, .availability-layout { grid-template-columns: 1fr; }
  .case, .experience { gap: 2rem; }
  .persons-heading, .artifacts-head { gap: 1rem; }
  .person-grid { grid-template-columns: repeat(2, 1fr); }
  .notebook-layout { gap: 2rem; }
  .continue-grid { grid-template-columns: 1fr; }
  .continue-grid a + a { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 520px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .brand span { display: none; }
  .hero-copy { width: calc(100% - 48px); }
  .hero h1 span { font-size: 11.8vw; }
  .hero h1 strong { font-size: 6.8vw; line-height: 1; }
  .hero-kicker { font-size: .5rem; }
  .byline { font-size: .52rem; }
  .north-pole-emblem { top: 3.5%; right: 14px; width: 64px; }
  .mobile-evidence { grid-template-columns: 1fr; }
  .quote-band { grid-template-columns: auto 1fr; }
  .quote-star { display: none; }
  .case, .experience, .artifacts { padding-block: 4rem; }
  .glance-grid, .person-grid, .artifact-grid, .notebook-grid { grid-template-columns: 1fr; }
  .person-grid article { min-height: auto; }
  .artifact { min-height: 0; }
  .experience-steps { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; gap: .35rem; text-align: center; }
  .site-footer p:last-child { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .notebook-grid a { transition: none; }
}

/* Mobile emblem collision fix. */
@media(max-width:520px){.hero-copy{padding-right:78px}.north-pole-emblem{top:auto!important;right:14px!important;bottom:18px!important;width:54px!important}.hero h1{max-width:100%}.hero h1 span,.hero h1 strong{overflow-wrap:anywhere}}
