@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Manrope:wght@400;500;600;700&family=Newsreader:ital,opsz,wght@1,6..72,300&display=swap");

:root {
  --ink: #e9ece5;
  --muted: #9da59d;
  --dim: #707870;
  --paper: #090d0c;
  --panel: #101513;
  --panel-2: #151b18;
  --line: rgba(222, 232, 222, 0.14);
  --line-strong: rgba(222, 232, 222, 0.26);
  --acid: #d8ff55;
  --red: #ff6e55;
  --mono: "DM Mono", ui-monospace, monospace;
  --sans: "Manrope", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
#method, #releases, #archive { scroll-margin-top: 104px; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .8rem 1rem; color: #090d0c; background: var(--acid); }
.skip-link:focus { top: 1rem; }
.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; }

.site-header { height: 72px; padding: 0 clamp(1.25rem, 3.5vw, 4.5rem); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(9,13,12,.88); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 30; }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; font: 500 .72rem/1 var(--mono); letter-spacing: .08em; }
.signal-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 16px rgba(216,255,85,.6); }
.site-header nav { display: flex; gap: 2.4rem; font-size: .8rem; color: var(--muted); }
.site-header nav a:hover, footer a:hover { color: var(--acid); }
.source-link { padding: .65rem .9rem; border: 1px solid var(--line-strong); font: 400 .68rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; }

.hero { min-height: calc(100vh - 72px); position: relative; overflow: hidden; padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 5vw, 6.5rem) 0; background: radial-gradient(circle at 71% 35%, rgba(117,151,99,.12), transparent 27%), linear-gradient(140deg, #0c110f 0%, #070a09 68%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(220,235,218,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(220,235,218,.12) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero-noise { position: absolute; inset: 0; opacity: .18; pointer-events: none; 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='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.17'/%3E%3C/svg%3E"); }
.eyebrow { position: relative; display: flex; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid var(--line); color: var(--dim); font: 400 .64rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0,1.12fr) minmax(320px,.7fr); gap: clamp(3rem, 8vw, 10rem); align-items: center; padding: clamp(3rem, 7vw, 7rem) 0 5rem; }
.kicker, .micro-label, .section-index { margin: 0 0 1.4rem; color: var(--acid); font: 400 .66rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(5.1rem, 11.5vw, 11.6rem); line-height: .72; letter-spacing: -.085em; font-weight: 500; text-transform: uppercase; }
h1 em { margin-left: clamp(1rem, 4vw, 4rem); color: var(--acid); font-family: var(--serif); font-weight: 300; text-transform: none; }
.lede { width: min(600px, 94%); margin: 3.8rem 0 0; color: #bdc4bc; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: space-between; gap: 2.6rem; padding: 0 1rem; border: 1px solid var(--line-strong); font: 500 .7rem/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.button-primary { color: #0c100e; background: var(--acid); border-color: var(--acid); }
.button-primary:hover { background: #e4ff85; }
.button-quiet:hover { color: var(--acid); border-color: var(--acid); }

.hero-case { margin-top: 2rem; }
.featured-media, .card-media { width: 100%; position: relative; padding: 0; overflow: hidden; border: 0; color: var(--ink); background: #050706; cursor: pointer; }
.featured-media { aspect-ratio: 16/10; }
.featured-media img, .card-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.78); transition: transform .5s ease, filter .5s ease; }
.featured-media:hover img, .card-media:hover img { transform: scale(1.025); filter: grayscale(.6) contrast(1.08) brightness(.92); }
.featured-media::after, .card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(1,4,3,.75)); pointer-events: none; }
.frame-corners { position: absolute; z-index: 2; inset: 12px; background: linear-gradient(var(--acid),var(--acid)) left top/24px 1px no-repeat, linear-gradient(var(--acid),var(--acid)) left top/1px 24px no-repeat, linear-gradient(var(--acid),var(--acid)) right top/24px 1px no-repeat, linear-gradient(var(--acid),var(--acid)) right top/1px 24px no-repeat, linear-gradient(var(--acid),var(--acid)) left bottom/24px 1px no-repeat, linear-gradient(var(--acid),var(--acid)) left bottom/1px 24px no-repeat, linear-gradient(var(--acid),var(--acid)) right bottom/24px 1px no-repeat, linear-gradient(var(--acid),var(--acid)) right bottom/1px 24px no-repeat; opacity: .7; }
.play-button, .card-play { position: absolute; z-index: 3; left: 50%; top: 50%; display: grid; place-items: center; transform: translate(-50%,-50%); width: 58px; height: 58px; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; background: rgba(4,8,6,.24); backdrop-filter: blur(4px); font-size: .8rem; padding-left: .2rem; }
.featured-time, .card-duration, .card-release { position: absolute; z-index: 3; bottom: 1.4rem; font: 400 .64rem/1 var(--mono); letter-spacing: .08em; }
.featured-time, .card-duration { right: 1.5rem; }
.case-caption { display: flex; justify-content: space-between; align-items: flex-start; padding-top: 1.4rem; }
.case-caption .micro-label { margin-bottom: .6rem; }
.case-caption h2 { margin: 0; font-size: 1.35rem; letter-spacing: -.03em; }
.case-id { flex: none; padding: .45rem .55rem; border: 1px solid var(--line-strong); color: var(--acid); font: 400 .62rem/1 var(--mono); letter-spacing: .06em; }
.case-note { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; line-height: 1.6; }
.stat-rail { position: relative; display: grid; grid-template-columns: repeat(3,1fr) 1.5fr; margin: 0 calc(clamp(1.25rem, 5vw, 6.5rem) * -1); padding: 0 clamp(1.25rem, 5vw, 6.5rem); border-top: 1px solid var(--line); background: rgba(4,7,6,.4); }
.stat-rail div { min-height: 118px; display: flex; flex-direction: column; justify-content: center; padding: 1rem 2rem; border-right: 1px solid var(--line); }
.stat-rail div:first-child { padding-left: 0; }
.stat-rail strong { font: 400 2rem/1 var(--mono); }
.stat-rail span { margin-top: .65rem; color: var(--dim); font: 400 .64rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.stat-rail .status-stat strong { color: var(--red); font-size: 1.05rem; letter-spacing: .08em; }

.orientation, .releases-section, .archive-section, .source-section { padding: clamp(5rem, 9vw, 10rem) clamp(1.25rem, 5vw, 6.5rem); }
.orientation { display: grid; grid-template-columns: .72fr 1.28fr; gap: 8vw; border-bottom: 1px solid var(--line); background: #0c100f; }
.orientation h2, .section-heading h2, .archive-heading h2, .source-section h2 { margin: 0; font-size: clamp(2.7rem, 5.2vw, 5.5rem); line-height: .96; letter-spacing: -.06em; font-weight: 500; }
.large-copy { margin: 0; max-width: 820px; font-size: clamp(1.45rem, 2.6vw, 2.55rem); line-height: 1.34; letter-spacing: -.035em; }
.reading-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 4rem; background: var(--line); }
.reading-grid article { min-height: 220px; padding: 1.4rem; background: #0c100f; }
.reading-grid article > span { color: var(--acid); font: .65rem var(--mono); }
.reading-grid h3 { margin: 3.7rem 0 .8rem; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }
.reading-grid p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.65; }

.releases-section { background: #e5e8df; color: #101411; }
.releases-section .section-index { color: #556347; }
.section-heading, .archive-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; margin-bottom: 5rem; }
.section-heading > p, .archive-heading > p { width: min(440px, 42%); margin: 0; color: #5b625b; line-height: 1.7; font-size: .88rem; }
.release-list { border-top: 1px solid rgba(10,16,12,.25); }
.release-row { display: grid; grid-template-columns: .25fr .55fr 1.4fr .45fr; gap: 2rem; align-items: start; padding: 2.25rem 0; border-bottom: 1px solid rgba(10,16,12,.2); transition: padding .25s ease; }
.release-row:hover { padding-left: 1rem; padding-right: 1rem; }
.release-number { font: 300 clamp(2rem, 4vw, 4.1rem)/1 var(--mono); letter-spacing: -.08em; }
.release-date { padding-top: .35rem; font: 500 .7rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.release-date span { display: block; margin-top: .5rem; color: #6d756d; }
.release-story h3 { margin: 0 0 .8rem; font-size: clamp(1.25rem,2vw,2rem); letter-spacing: -.04em; }
.release-story p { max-width: 710px; margin: 0; color: #555e56; font-size: .86rem; line-height: 1.72; }
.release-tally { justify-self: end; text-align: right; }
.release-tally strong { display: block; font: 400 1.6rem/1 var(--mono); }
.release-tally span { display: block; margin-top: .5rem; color: #6d756d; font: .6rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.release-jump { margin-top: 1rem; border: 0; padding: 0; color: #32451f; background: none; font: 500 .65rem var(--mono); text-transform: uppercase; cursor: pointer; }

.archive-section { background: var(--paper); }
.archive-heading > p { color: var(--muted); }
.archive-toolbar { position: sticky; top: 72px; z-index: 20; display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: stretch; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(9,13,12,.94); backdrop-filter: blur(14px); }
.search-box { min-width: 250px; display: flex; align-items: center; gap: .8rem; padding: 0 1rem; border: 1px solid var(--line-strong); }
.search-box svg { width: 18px; fill: none; stroke: var(--muted); stroke-width: 1.5; }
.search-box input { width: 100%; min-height: 44px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: .78rem; }
.search-box input::placeholder { color: var(--dim); }
.filter-group { display: flex; border: 1px solid var(--line-strong); }
.filter { min-width: 46px; border: 0; border-right: 1px solid var(--line); color: var(--muted); background: transparent; font: .66rem var(--mono); cursor: pointer; }
.filter:last-child { border-right: 0; }
.filter:hover, .filter.is-active { color: #0b100d; background: var(--acid); }
.kind-select { min-width: 210px; position: relative; }
.kind-trigger { width: 100%; height: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: .45rem .85rem; border: 1px solid var(--line-strong); color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.kind-trigger > span { display: flex; flex-direction: column; gap: .25rem; }
.kind-trigger small { color: var(--dim); font: .52rem/1 var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.kind-trigger strong { color: var(--ink); font-size: .72rem; font-weight: 400; }
.kind-trigger svg { width: 14px; flex: none; fill: none; stroke: var(--acid); stroke-width: 1.5; transition: transform .2s ease; }
.kind-trigger[aria-expanded="true"] { border-color: var(--acid); }
.kind-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.kind-menu { position: absolute; z-index: 50; top: calc(100% + 7px); right: 0; width: max(100%, 230px); padding: 5px; border: 1px solid var(--line-strong); background: #101513; box-shadow: 0 18px 50px rgba(0,0,0,.5); }
.kind-menu[hidden] { display: none; }
.kind-option { width: 100%; min-height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 .75rem; border: 0; color: var(--muted); background: transparent; text-align: left; font: .66rem/1.2 var(--mono); cursor: pointer; }
.kind-option:hover, .kind-option:focus-visible { color: var(--ink); background: var(--panel-2); outline: none; }
.kind-option.is-selected { color: #0a0e0c; background: var(--acid); }
.kind-option span { color: inherit; opacity: .65; font-size: .56rem; }
.result-line { display: flex; justify-content: space-between; padding: 1.4rem 0; color: var(--dim); font: .6rem var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.video-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.video-card { min-width: 0; background: var(--panel); }
.card-media { aspect-ratio: 16/9; }
.card-media .frame-corners { inset: 9px; opacity: .35; background-size: 15px 1px,1px 15px,15px 1px,1px 15px,15px 1px,1px 15px,15px 1px,1px 15px; }
.card-release { left: 1.1rem; padding: .3rem .4rem; color: #0a0e0c; background: var(--acid); }
.card-duration { right: 1.1rem; }
.card-play { width: 42px; height: 42px; opacity: 0; transform: translate(-50%,-40%); transition: opacity .25s, transform .25s; }
.card-media:hover .card-play { opacity: 1; transform: translate(-50%,-50%); }
.card-body { min-height: 285px; display: flex; flex-direction: column; padding: 1.4rem; }
.card-meta { display: flex; justify-content: space-between; color: var(--dim); font: .58rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.card-body h3 { margin: 1.1rem 0 .8rem; font-size: 1rem; line-height: 1.35; letter-spacing: -.02em; }
.card-summary { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.63; }
.card-open { display: flex; justify-content: space-between; width: 100%; margin-top: auto; padding: 1rem 0 0; border: 0; border-top: 1px solid var(--line); color: var(--ink); background: none; font: .6rem var(--mono); text-transform: uppercase; letter-spacing: .07em; cursor: pointer; }
.card-open span { color: var(--acid); }
.empty-state { padding: 5rem 1rem; text-align: center; color: var(--muted); }
.empty-state button { border: 0; padding: 0; color: var(--acid); background: none; cursor: pointer; }
.load-more { width: 100%; display: flex; justify-content: center; gap: 1rem; margin-top: 1rem; padding: 1.3rem; border: 1px solid var(--line-strong); color: var(--ink); background: transparent; font: .65rem var(--mono); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.load-more:hover { color: #0b100d; background: var(--acid); border-color: var(--acid); }

.source-section { display: grid; grid-template-columns: .25fr .65fr 1fr; gap: 5vw; border-top: 1px solid var(--line); background: #0c100f; }
.source-section h2 { font-size: clamp(2.4rem,4.2vw,4.8rem); }
.source-section > div > p { color: var(--muted); line-height: 1.7; font-size: .84rem; }
.source-cards { border-top: 1px solid var(--line); }
.source-cards a { display: grid; grid-template-columns: .65fr 1fr auto; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.source-cards a:hover strong, .source-cards a:hover i { color: var(--acid); }
.source-cards span { color: var(--dim); font: .58rem var(--mono); text-transform: uppercase; }
.source-cards strong { font-size: .82rem; font-weight: 500; }
.source-cards i { color: var(--dim); font-style: normal; }
footer { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem clamp(1.25rem,5vw,6.5rem); border-top: 1px solid var(--line); color: var(--dim); font-size: .68rem; }
footer a { font-family: var(--mono); text-transform: uppercase; }

.case-modal { width: min(1120px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 1px solid var(--line-strong); color: var(--ink); background: var(--panel); overflow: auto; }
.case-modal::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(8px); }
.modal-shell { display: grid; grid-template-columns: 1.28fr 1fr; position: relative; }
.modal-close { position: fixed; z-index: 5; margin: .8rem 0 0 -.8rem; width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink); background: #111714; font-size: 1.4rem; cursor: pointer; }
.modal-media { min-height: 580px; display: grid; place-items: center; padding: 1.4rem; background: #020303; }
.modal-media video { width: 100%; max-height: 75vh; background: #000; }
.modal-content { padding: clamp(2rem,4vw,4rem); overflow: auto; }
.modal-header { display: flex; justify-content: space-between; gap: 1rem; }
.modal-header h2 { margin: 0; font-size: clamp(1.7rem,3vw,3.1rem); line-height: 1.03; letter-spacing: -.05em; }
.modal-summary { margin: 2rem 0; color: #c2c8c1; font-size: 1rem; line-height: 1.65; }
.metadata { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 2rem; border-top: 1px solid var(--line); }
.metadata div { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.metadata div:nth-child(odd) { padding-right: 1rem; }
.metadata dt { color: var(--dim); font: .55rem var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.metadata dd { margin: .45rem 0 0; font-size: .76rem; }
.modal-content details { border-bottom: 1px solid var(--line); }
.modal-content summary { padding: 1rem 0; color: var(--muted); font: .62rem var(--mono); text-transform: uppercase; cursor: pointer; }
.modal-content details p { white-space: pre-line; max-height: 260px; overflow: auto; color: var(--muted); font-size: .72rem; line-height: 1.65; }
.modal-source { margin-top: 2rem; }

@media (max-width: 980px) {
  .site-header nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-case { width: min(620px,100%); margin-left: auto; }
  .orientation { grid-template-columns: 1fr; }
  .reading-grid { grid-template-columns: 1fr 1fr 1fr; }
  .release-row { grid-template-columns: .2fr .45fr 1.35fr; }
  .release-tally { grid-column: 3; justify-self: start; display: flex; gap: 1rem; align-items: center; text-align: left; }
  .release-tally span { margin: 0; }
  .archive-toolbar { grid-template-columns: 1fr auto; }
  .kind-select { grid-column: 1 / -1; }
  .video-grid { grid-template-columns: repeat(2,1fr); }
  .source-section { grid-template-columns: .3fr 1fr; }
  .source-cards { grid-column: 2; }
  .modal-shell { grid-template-columns: 1fr; }
  .modal-media { min-height: auto; }
  .modal-close { right: 1.5rem; margin-left: 0; }
}

@media (max-width: 650px) {
  .site-header { height: 62px; }
  .source-link { display: none; }
  .hero { min-height: auto; padding-top: 3.5rem; }
  .eyebrow span:nth-child(2) { display: none; }
  h1 { font-size: clamp(4.2rem,24vw,7rem); }
  h1 em { margin-left: .5rem; }
  .lede { margin-top: 2.6rem; width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .stat-rail { grid-template-columns: 1fr 1fr; }
  .stat-rail div { min-height: 100px; padding: 1rem; border-bottom: 1px solid var(--line); }
  .stat-rail div:first-child { padding-left: 1rem; }
  .stat-rail strong { font-size: 1.5rem; }
  .stat-rail .status-stat strong { font-size: .85rem; }
  .reading-grid { grid-template-columns: 1fr; }
  .reading-grid article { min-height: auto; }
  .reading-grid h3 { margin-top: 2rem; }
  .section-heading, .archive-heading { align-items: flex-start; flex-direction: column; margin-bottom: 3rem; }
  .section-heading > p, .archive-heading > p { width: 100%; }
  .release-row { grid-template-columns: .22fr 1fr; gap: 1rem; }
  .release-date { grid-column: 2; grid-row: 1; }
  .release-story { grid-column: 2; }
  .release-tally { grid-column: 2; }
  .archive-toolbar { top: 62px; grid-template-columns: 1fr; }
  .filter-group { min-height: 42px; }
  .kind-select { grid-column: auto; }
  .video-grid { grid-template-columns: 1fr; }
  .card-body { min-height: 250px; }
  .source-section { grid-template-columns: 1fr; }
  .source-cards { grid-column: auto; }
  footer { flex-direction: column; align-items: flex-start; }
  .case-modal { width: 100%; max-height: 100vh; height: 100%; }
  .modal-content { padding: 2rem 1.2rem; }
  .metadata { grid-template-columns: 1fr; }
}

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