@import url('data:text/css,');

:root {
  --ink: #17131f;
  --ink-soft: #40394a;
  --paper: #f4f0e8;
  --paper-deep: #e8e0d3;
  --white: #fffdf9;
  --purple: #7550a8;
  --purple-dark: #4e2c7c;
  --purple-soft: #d9c8ee;
  --lime: #d8ff74;
  --red: #b63a3a;
  --green: #348144;
  --orange: #b76422;
  --line: rgba(23, 19, 31, .18);
  --shadow: 0 30px 80px rgba(8, 5, 14, .2);
  --shell: min(1180px, calc(100vw - 48px));
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 16px; color: var(--white); background: var(--ink); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  width: 100%;
  height: 82px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.15);
  transition: height .3s, background .3s, color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  height: 68px;
  color: var(--ink);
  background: rgba(244,240,232,.94);
  box-shadow: 0 8px 30px rgba(23,19,31,.08);
  backdrop-filter: blur(12px);
  border-color: var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: .83rem; font-weight: 800; letter-spacing: .22em; }
.brand-mark { display: grid; width: 40px; height: 40px; place-items: center; overflow: hidden; background: var(--white); border-radius: 50%; }
.brand-mark img { width: 34px; height: 34px; object-fit: cover; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: .76rem; font-weight: 650; letter-spacing: .05em; }
.site-nav > a:not(.nav-cta) { position: relative; padding: 28px 0; }
.site-nav > a:not(.nav-cta)::after { content: ''; position: absolute; right: 0; bottom: 21px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.site-nav > a:not(.nav-cta):hover::after, .site-nav > a:not(.nav-cta):focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 10px 16px; color: var(--ink); background: var(--lime); border: 1px solid var(--lime); border-radius: 999px; }
.site-header.is-scrolled .nav-cta { color: var(--white); background: var(--purple-dark); border-color: var(--purple-dark); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 11px; color: currentColor; background: transparent; border: 0; }
.menu-toggle span:not(.sr-only) { display: block; width: 100%; height: 1px; margin: 6px 0; background: currentColor; transition: transform .2s; }

.hero { position: relative; display: grid; min-height: 840px; overflow: hidden; align-items: center; color: var(--white); background: #16121d; }
.hero-skyline, .closing-skyline { position: absolute; inset: 0; background-image: url('../assets/images/lobby_banner.png'); background-size: cover; background-position: center; filter: grayscale(1) contrast(1.08); }
.hero-skyline { opacity: .5; transform: scale(1.02); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,13,23,.98) 0%, rgba(17,13,23,.89) 43%, rgba(17,13,23,.46) 72%, rgba(17,13,23,.55) 100%), linear-gradient(0deg, #16121d 0%, transparent 28%); }
.hero-content { position: relative; display: grid; grid-template-columns: 1.02fr .8fr; gap: 86px; align-items: center; padding-block: 140px 110px; }
.hero-copy { max-width: 660px; }
.eyebrow { display: flex; margin: 0 0 22px; align-items: center; gap: 12px; color: var(--ink-soft); font-size: .69rem; font-weight: 750; letter-spacing: .16em; line-height: 1.2; text-transform: uppercase; }
.eyebrow span { display: inline-flex; align-items: center; gap: 10px; color: var(--purple-dark); }
.eyebrow span::after { content: ''; width: 34px; height: 1px; background: currentColor; }
.eyebrow-light { color: rgba(255,255,255,.55); }
.eyebrow-light span { color: var(--lime); }
.hero h1, .section-intro h2, .split-heading h2, .process h2, .difficulty-layout h2, .closing h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .93;
}
.hero h1 { max-width: 720px; font-size: clamp(4.4rem, 7.2vw, 7rem); }
em { color: var(--lime); font-weight: 400; }
.hero-lede { max-width: 600px; margin: 30px 0 34px; color: rgba(255,255,255,.74); font-size: 1.08rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 16px; padding: 13px 20px; font-size: .76rem; font-weight: 750; letter-spacing: .05em; border: 1px solid transparent; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.button-primary { color: var(--ink); background: var(--lime); box-shadow: 0 12px 32px rgba(216,255,116,.15); }
.button-primary:hover { background: #e4ff9b; box-shadow: 0 16px 38px rgba(216,255,116,.22); }
.platform-note { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.62); font-size: .73rem; font-weight: 650; letter-spacing: .03em; }
.platform-note svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.hero-case { position: relative; width: 100%; max-width: 440px; margin-inline: auto; color: var(--ink); transform: rotate(1.5deg); }
.case-sheet { background: #f8f4eb; border: 1px solid rgba(23,19,31,.22); box-shadow: var(--shadow); }
.case-sheet-back { position: absolute; inset: 10px -10px -10px 10px; transform: rotate(3deg); opacity: .45; }
.case-sheet-front { position: relative; min-height: 565px; padding: 30px; overflow: hidden; }
.case-header { display: flex; align-items: start; justify-content: space-between; padding-bottom: 15px; border-bottom: 2px solid var(--ink); font-size: .68rem; letter-spacing: .11em; }
.case-header div { display: grid; }
.case-kicker { margin-bottom: 2px; color: var(--ink-soft); font-size: .53rem; }
.case-number { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; }
.case-status-row { display: flex; margin: 18px 0; align-items: center; justify-content: space-between; color: var(--ink-soft); font-size: .61rem; font-weight: 650; letter-spacing: .04em; }
.difficulty { display: inline-flex; padding: 4px 9px; align-items: center; border: 1px solid currentColor; border-radius: 999px; font-size: .62rem; font-weight: 800; letter-spacing: .08em; line-height: 1.25; text-transform: uppercase; }
.difficulty-easy { color: var(--green); background: rgba(52,129,68,.08); }
.difficulty-medium { color: var(--orange); background: rgba(183,100,34,.08); }
.difficulty-hard { color: var(--red); background: rgba(182,58,58,.08); }
.case-sheet h2 { margin: 0 0 10px; font: 400 2rem/1.05 var(--serif); letter-spacing: -.03em; }
.case-sheet > p { margin: 0 0 18px; color: var(--ink-soft); font-size: .75rem; line-height: 1.6; }
.evidence-photo { position: relative; height: 205px; padding: 9px 9px 27px; background: #fff; box-shadow: 0 6px 15px rgba(23,19,31,.18); transform: rotate(-1deg); }
.photo-skyline { width: 100%; height: 100%; background: url('../assets/images/lobby_banner.png') center/cover; filter: grayscale(1) contrast(1.2); }
.photo-caption { position: absolute; bottom: 5px; left: 10px; font: 600 .53rem/1.2 ui-monospace, monospace; letter-spacing: .04em; }
.case-clue-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 22px; border-block: 1px solid var(--line); }
.case-clue-grid > div { display: grid; padding: 11px 8px; border-right: 1px solid var(--line); }
.case-clue-grid > div:last-child { border: 0; }
.case-clue-grid span { color: var(--ink-soft); font-size: .5rem; text-transform: uppercase; }
.case-clue-grid strong { font: 400 1.35rem/1.2 var(--serif); }
.case-stamp { position: absolute; right: -10px; bottom: 32px; padding: 5px 16px; color: rgba(146,35,35,.5); border: 3px double rgba(146,35,35,.4); font: 800 .75rem/1 ui-monospace, monospace; letter-spacing: .12em; transform: rotate(-11deg); }
.evidence-tag { position: absolute; z-index: 3; padding: 8px 12px; color: var(--white); background: var(--purple-dark); box-shadow: 0 8px 20px rgba(0,0,0,.24); font: 700 .55rem/1 ui-monospace, monospace; letter-spacing: .1em; }
.evidence-tag-one { top: 112px; right: -52px; transform: rotate(5deg); }
.evidence-tag-two { bottom: 92px; left: -48px; color: var(--ink); background: var(--lime); transform: rotate(-5deg); }
.hero-scroll { position: absolute; bottom: 28px; left: 50%; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.45); font-size: .58rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transform: translateX(-50%); }
.hero-scroll span { width: 32px; height: 1px; background: currentColor; }

.section-dark { color: var(--white); background: var(--ink); }
.manifesto { padding: 130px 0 150px; overflow: hidden; }
.section-intro { display: grid; max-width: 850px; margin-bottom: 70px; }
.section-intro h2 { font-size: clamp(3.2rem, 5.7vw, 5.5rem); }
.section-intro > p:last-child { max-width: 610px; margin: 28px 0 0 auto; color: rgba(255,255,255,.6); font-size: 1rem; line-height: 1.8; }
.interactive-case { border: 1px solid rgba(255,255,255,.13); background: #211b2b; box-shadow: 0 40px 90px rgba(0,0,0,.25); }
.case-tabs { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid rgba(255,255,255,.13); }
.case-tabs button { padding: 20px 28px; color: rgba(255,255,255,.42); text-align: left; background: transparent; border: 0; border-right: 1px solid rgba(255,255,255,.13); cursor: pointer; font-size: .72rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; transition: color .2s, background .2s; }
.case-tabs button:last-child { border: 0; }
.case-tabs button span { margin-right: 18px; font-family: ui-monospace, monospace; font-size: .61rem; }
.case-tabs button[aria-selected='true'] { color: var(--ink); background: var(--lime); }
.case-tabs button:focus-visible { outline: 2px solid var(--lime); outline-offset: -4px; }
.case-preview { display: grid; min-height: 650px; grid-template-columns: .9fr 1.1fr; }
.preview-copy { display: grid; padding: clamp(42px, 7vw, 80px); align-items: center; }
.case-panel { animation: panel-in .35s ease both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }
.panel-index { margin: 0 0 24px; color: var(--purple-soft); font: 700 .66rem/1.2 ui-monospace, monospace; letter-spacing: .12em; }
.case-panel h3 { max-width: 490px; margin: 0 0 22px; font: 400 clamp(2.4rem,4.2vw,4.2rem)/1 var(--serif); letter-spacing: -.04em; }
.case-panel > p:not(.panel-index) { max-width: 510px; color: rgba(255,255,255,.6); }
.feature-list { display: grid; margin: 30px 0 0; padding: 0; gap: 13px; list-style: none; font-size: .75rem; font-weight: 650; letter-spacing: .03em; }
.feature-list li { display: flex; align-items: center; gap: 12px; }
.feature-list li::before { content: '→'; color: var(--lime); }
.phone-stage { position: relative; display: grid; min-height: 650px; place-items: center; overflow: hidden; background: linear-gradient(135deg, #6c4998, #3c275d); }
.phone-stage::before { content: ''; position: absolute; width: 600px; height: 600px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.phone { position: relative; z-index: 2; width: 300px; height: 590px; padding: 11px; overflow: hidden; color: var(--ink); background: #0e0c12; border: 1px solid rgba(255,255,255,.35); border-radius: 40px; box-shadow: 0 40px 65px rgba(8,4,14,.38); transform: rotate(2deg); }
.phone-top { display: flex; height: 25px; padding-inline: 10px; align-items: center; justify-content: space-between; color: white; font-size: .5rem; }
.phone-top i { width: 75px; height: 18px; background: #000; border-radius: 20px; }
.phone-appbar { display: grid; height: 60px; grid-template-columns: 30px 1fr 15px; gap: 5px; align-items: center; padding: 8px 12px; background: #fff; border-radius: 20px 20px 0 0; }
.phone-appbar button { padding: 0; color: var(--ink); background: none; border: 0; font-size: 1.5rem; }
.phone-appbar div { display: grid; }
.phone-appbar strong { font-size: .76rem; }
.phone-appbar span { font-size: .5rem; color: #716b78; }
.status-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; }
.phone-content { position: relative; height: 442px; padding: 15px 13px; overflow: hidden; background: #f8f6f1; }
.suspect-card { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.suspect-avatar { display: grid; width: 34px; height: 34px; place-items: center; color: white; background: var(--purple-dark); border-radius: 50%; font: 700 .57rem/1 var(--serif); }
.suspect-card > div:last-child { display: grid; }
.suspect-card strong { font-size: .62rem; }
.suspect-card span { color: #77717d; font-size: .47rem; }
.chat { width: fit-content; max-width: 83%; margin-bottom: 10px; padding: 10px 12px; font-size: .57rem; line-height: 1.5; border-radius: 12px 12px 12px 3px; }
.chat-them { color: #3d3743; background: #e8e3ea; }
.chat-you { margin-left: auto; color: white; background: var(--purple-dark); border-radius: 12px 12px 3px 12px; }
.chat-latest { box-shadow: 0 0 0 2px rgba(216,255,116,.8); }
.discovery-pill { width: fit-content; margin: 14px auto; padding: 5px 10px; color: #496011; background: #e8fac0; border-radius: 20px; font-size: .47rem; font-weight: 750; }
.chat-input { position: absolute; right: 12px; bottom: 10px; left: 12px; display: flex; height: 38px; padding: 7px 7px 7px 11px; align-items: center; justify-content: space-between; color: #88828d; background: white; border: 1px solid #ddd7e0; border-radius: 10px; font-size: .52rem; }
.chat-input b { display: grid; width: 24px; height: 24px; place-items: center; color: white; background: var(--purple-dark); border-radius: 7px; }
.phone-section-label { margin: 5px 0 14px; color: #77717d; font: 750 .47rem/1.2 ui-monospace, monospace; letter-spacing: .1em; }
.timeline-item { position: relative; display: grid; grid-template-columns: 12px 1fr; gap: 10px; min-height: 52px; }
.timeline-item::after { content: ''; position: absolute; top: 12px; bottom: -3px; left: 4px; width: 1px; background: #d1cad5; }
.timeline-item:last-of-type { margin-bottom: 20px; }
.timeline-item:last-of-type::after { display: none; }
.timeline-item i { position: relative; z-index: 1; width: 9px; height: 9px; margin-top: 4px; background: #f8f6f1; border: 2px solid var(--purple); border-radius: 50%; }
.timeline-item.is-alert i { background: var(--lime); border-color: #76902e; box-shadow: 0 0 0 4px rgba(216,255,116,.38); }
.timeline-item div { display: grid; }
.timeline-item strong { color: var(--purple-dark); font: 750 .52rem/1.4 ui-monospace, monospace; }
.timeline-item span { color: #4f4954; font-size: .55rem; line-height: 1.4; }
.clue-chip { display: grid; grid-template-columns: 34px 1fr; gap: 9px; align-items: center; margin-bottom: 8px; padding: 9px; background: white; border: 1px solid #ded8e1; border-radius: 8px; }
.clue-chip > b { display: grid; width: 30px; height: 30px; place-items: center; color: white; background: var(--purple-dark); border-radius: 6px; font: 750 .52rem/1 ui-monospace, monospace; }
.clue-chip span { font-size: .56rem; font-weight: 700; line-height: 1.35; }
.clue-chip small { color: #817a86; font-size: .45rem; font-weight: 500; }
.arrest-view { padding-top: 5px; }
.arrest-view label { display: grid; grid-template-columns: 1fr auto; margin-bottom: 10px; padding: 11px; background: white; border: 1px solid #ded8e1; border-radius: 8px; }
.arrest-view label span { grid-column: 1; color: #817a86; font-size: .44rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.arrest-view label strong { grid-column: 1; font: 600 .65rem/1.4 var(--serif); }
.arrest-view label b { grid-column: 2; grid-row: 1 / 3; display: grid; width: 22px; height: 22px; place-items: center; align-self: center; color: #496011; background: #e8fac0; border-radius: 50%; font-size: .55rem; }
.theory-line { display: flex; margin: 23px 10px 16px; align-items: center; }
.theory-line span { width: 12px; height: 12px; background: var(--purple-dark); border: 3px solid #d8cbe6; border-radius: 50%; }
.theory-line i { flex: 1; height: 1px; background: var(--purple); }
.theory-note { color: #706977; text-align: center; font-size: .5rem; line-height: 1.5; }
.arrest-button { position: absolute; right: 13px; bottom: 18px; left: 13px; height: 39px; color: white; background: var(--purple-dark); border: 0; border-radius: 8px; font-size: .57rem; font-weight: 750; }
.phone-nav { display: grid; height: 42px; grid-template-columns: repeat(4,1fr); place-items: center; color: #918a97; background: white; border-radius: 0 0 23px 23px; font-size: .44rem; }
.phone-nav .active { color: var(--purple-dark); font-weight: 800; }
.phone-note { position: absolute; z-index: 3; right: 10%; bottom: 15%; display: grid; width: 155px; padding: 15px; color: var(--ink); background: var(--lime); box-shadow: 0 12px 28px rgba(0,0,0,.2); transform: rotate(-5deg); }
.phone-note strong { font: 800 .55rem/1.2 ui-monospace, monospace; letter-spacing: .09em; }
.phone-note span { margin-top: 5px; font: italic 1rem/1.2 var(--serif); }

.section-paper { position: relative; background-color: var(--paper); background-image: linear-gradient(rgba(117,80,168,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(117,80,168,.035) 1px, transparent 1px); background-size: 28px 28px; }
.cases { padding: 140px 0 120px; }
.split-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: end; margin-bottom: 70px; }
.split-heading h2, .difficulty-layout h2 { font-size: clamp(3rem,5.1vw,5rem); }
.split-heading em, .difficulty-layout em { color: var(--purple-dark); }
.split-heading > p { max-width: 420px; margin: 0 0 6px; color: var(--ink-soft); }
.case-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: start; }
.mystery-card { background: rgba(255,253,249,.75); border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(23,19,31,.06); transition: transform .3s, box-shadow .3s; }
.mystery-card:hover { transform: translateY(-8px) rotate(-.35deg); box-shadow: 0 24px 50px rgba(23,19,31,.12); }
.mystery-card.featured { transform: translateY(-20px); }
.mystery-card.featured:hover { transform: translateY(-28px) rotate(.35deg); }
.mystery-art { position: relative; height: 240px; overflow: hidden; filter: grayscale(1); background-image: url('../assets/images/lobby_banner.png'); background-size: 940px auto; border-bottom: 1px solid var(--line); }
.mystery-art::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23,19,31,.6), transparent 55%); }
.mystery-art::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.42); }
.art-hotel { background-position: 8% 60%; }
.art-gallery { background-position: 51% 48%; }
.art-quay { background-position: 92% 55%; }
.mystery-art span { position: absolute; z-index: 1; bottom: 21px; left: 23px; color: white; font: 700 .6rem/1 ui-monospace, monospace; letter-spacing: .14em; }
.mystery-body { padding: 25px; }
.mystery-body > div:first-child { display: flex; align-items: center; justify-content: space-between; }
.card-number { color: #7b7480; font: 650 .55rem/1 ui-monospace, monospace; letter-spacing: .08em; }
.mystery-body h3 { margin: 20px 0 9px; font: 400 1.8rem/1.1 var(--serif); letter-spacing: -.03em; }
.mystery-body p { min-height: 78px; margin: 0 0 22px; color: var(--ink-soft); font-size: .78rem; line-height: 1.65; }
.case-meta { display: block; padding-top: 16px; color: #79727d; border-top: 1px solid var(--line); font-size: .61rem; font-weight: 650; letter-spacing: .05em; }
.fiction-note { margin: 16px 0 0; color: #7c7580; text-align: right; font-size: .61rem; font-style: italic; }

.process { padding: 140px 0; color: var(--white); background: var(--purple-dark); }
.process-heading { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 70px; }
.process-heading > * { grid-column: 1; }
.process h2 { font-size: clamp(3rem,5vw,5rem); }
.process-list { margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.2); list-style: none; }
.process-list li { display: grid; grid-template-columns: 80px 100px 1fr; gap: 28px; align-items: center; min-height: 185px; padding: 30px 20px; border-bottom: 1px solid rgba(255,255,255,.2); transition: background .25s, padding .25s; }
.process-list li:hover { padding-inline: 34px; background: rgba(255,255,255,.06); }
.process-number { color: var(--lime); font: 700 .68rem/1 ui-monospace, monospace; }
.process-icon { display: grid; width: 70px; height: 70px; place-items: center; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; }
.process-icon svg { width: 38px; fill: none; stroke: white; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.2; }
.process-list h3 { margin: 0 0 8px; font: 400 1.8rem/1.2 var(--serif); }
.process-list p { max-width: 600px; margin: 0; color: rgba(255,255,255,.6); font-size: .86rem; }

.difficulty-section { padding: 140px 0; }
.difficulty-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 110px; align-items: center; }
.section-copy { max-width: 500px; margin-top: 28px; color: var(--ink-soft); }
.difficulty-stack { border-top: 1px solid var(--line); }
.difficulty-stack article { display: grid; grid-template-columns: 100px 1fr; gap: 26px; padding: 31px 0; border-bottom: 1px solid var(--line); }
.difficulty-stack .difficulty { width: fit-content; height: fit-content; margin-top: 6px; }
.difficulty-stack h3 { margin: 0 0 8px; font: 400 1.55rem/1.2 var(--serif); }
.difficulty-stack p { margin: 0; color: var(--ink-soft); font-size: .8rem; }

.closing { position: relative; display: grid; min-height: 720px; place-items: center; overflow: hidden; color: var(--white); text-align: center; background: var(--ink); }
.closing::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(23,19,31,.76), rgba(23,19,31,.95)); }
.closing-skyline { opacity: .42; filter: grayscale(1) contrast(1.1); }
.closing-content { position: relative; z-index: 2; display: grid; justify-items: center; padding-block: 100px; }
.closing-mark { width: 88px; height: 88px; margin-bottom: 30px; object-fit: cover; border: 5px solid var(--white); border-radius: 22px; box-shadow: 0 15px 40px rgba(0,0,0,.3); }
.closing .eyebrow { justify-content: center; }
.closing .eyebrow span::after { display: none; }
.closing h2 { font-size: clamp(4rem,7vw,7rem); }
.closing p:not(.eyebrow) { max-width: 610px; margin: 28px auto 32px; color: rgba(255,255,255,.65); }
.button-light { color: var(--ink); background: var(--white); }
.button-light:hover { background: var(--lime); }

.site-footer { color: rgba(255,255,255,.64); background: #0d0a12; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding-block: 58px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .73rem; }
.brand-footer { color: var(--white); }
.footer-main > p { margin: 0; text-align: center; }
.footer-links { display: flex; justify-content: end; gap: 25px; }
.footer-links a:hover { color: var(--lime); }
.footer-legal { display: flex; padding-block: 20px 30px; justify-content: space-between; font-size: .57rem; letter-spacing: .04em; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal][data-delay='1'] { transition-delay: .12s; }
[data-reveal][data-delay='2'] { transition-delay: .24s; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  :root { --shell: min(100% - 40px, 760px); }
  .site-nav { gap: 18px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .hero { min-height: 1040px; }
  .hero-content { grid-template-columns: 1fr; gap: 65px; padding-top: 145px; }
  .hero-copy { text-align: center; margin-inline: auto; }
  .hero .eyebrow, .hero-actions { justify-content: center; }
  .hero-case { width: min(420px, 86%); }
  .hero-scroll { display: none; }
  .split-heading, .difficulty-layout { grid-template-columns: 1fr; gap: 40px; }
  .case-preview { grid-template-columns: 1fr; }
  .phone-stage { min-height: 670px; }
  .case-cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; gap: 30px; }
  .mystery-card.featured { transform: none; }
  .mystery-card.featured:hover { transform: translateY(-8px); }
  .mystery-body p { min-height: 0; }
  .process-heading { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100vw - 32px); }
  .site-header { height: 70px; padding-inline: 16px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 70px; right: 12px; left: 12px; display: none; padding: 16px; color: var(--ink); background: var(--white); box-shadow: 0 18px 40px rgba(23,19,31,.2); }
  .site-nav.is-open { display: grid; }
  .site-nav a:not(.nav-cta) { display: block; padding: 12px; }
  .site-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { text-align: center; border-radius: 0; }
  .menu-toggle[aria-expanded='true'] span:nth-last-child(2) { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { min-height: 960px; }
  .hero-content { gap: 60px; padding-block: 120px 70px; }
  .hero h1 { font-size: clamp(3.5rem, 17vw, 5rem); }
  .hero-lede { font-size: .93rem; }
  .hero-actions { display: grid; }
  .hero-case { width: calc(100% - 28px); }
  .case-sheet-front { min-height: 490px; padding: 22px; }
  .evidence-photo { height: 160px; }
  .evidence-tag { display: none; }
  .manifesto, .cases, .process, .difficulty-section { padding-block: 90px; }
  .section-intro { margin-bottom: 45px; }
  .section-intro h2 { font-size: 2.9rem; }
  .section-intro > p:last-child { margin-left: 0; }
  .case-tabs button { padding: 17px 8px; text-align: center; font-size: .6rem; }
  .case-tabs button span { display: none; }
  .preview-copy { padding: 45px 25px; }
  .case-panel h3 { font-size: 2.5rem; }
  .phone-stage { min-height: 610px; }
  .phone { width: 275px; height: 550px; }
  .phone-content { height: 402px; }
  .phone-note { right: 1%; bottom: 10%; width: 135px; }
  .split-heading { margin-bottom: 50px; }
  .split-heading h2, .difficulty-layout h2 { font-size: 3rem; }
  .mystery-art { height: 210px; }
  .process-list li { grid-template-columns: 42px 1fr; gap: 15px; padding: 30px 5px; }
  .process-icon { display: none; }
  .difficulty-stack article { grid-template-columns: 1fr; gap: 14px; }
  .footer-main { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .footer-main > p { text-align: center; }
  .brand-footer, .footer-links { justify-content: center; }
  .footer-legal { display: grid; gap: 8px; text-align: center; }
  .closing { min-height: 640px; }
  .closing h2 { font-size: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* App Store availability */
.apple-icon { fill: currentColor !important; stroke: none !important; }
.availability-note { display: flex; margin: 17px 0 0; align-items: center; gap: 8px; color: rgba(255,255,255,.58); font-size: .67rem; font-weight: 650; letter-spacing: .04em; }
.availability-note span { width: 7px; height: 7px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 4px rgba(216,255,116,.12); }
.store-details { display: flex; max-width: 850px; margin: 0 0 32px; justify-content: center; flex-wrap: wrap; color: rgba(255,255,255,.58); border-block: 1px solid rgba(255,255,255,.16); }
.store-details span { display: grid; min-width: 135px; padding: 16px 20px; font-size: .59rem; letter-spacing: .03em; border-right: 1px solid rgba(255,255,255,.16); }
.store-details span:last-child { border-right: 0; }
.store-details b { color: var(--white); font: 400 1rem/1.3 var(--serif); }
.seller-note { margin-top: 17px; color: rgba(255,255,255,.38); font-size: .54rem; letter-spacing: .04em; }

@media (max-width: 720px) {
  .availability-note { justify-content: center; }
  .store-details { display: grid; width: 100%; grid-template-columns: repeat(2, 1fr); }
  .store-details span { min-width: 0; padding: 13px 8px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .store-details span:last-child { grid-column: 1 / -1; border-bottom: 0; }
}
