/* London Voices Archive — main stylesheet */

@font-face { font-family: 'Instrument Serif'; src: url('../fonts/instrument-serif-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('../fonts/instrument-serif-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('../fonts/inter-tight-variable.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --black: #0c0c0b;
  --charcoal: #161614;
  --charcoal-2: #201f1c;
  --line: rgba(241, 236, 226, .14);
  --paper: #efe9dd;
  --paper-ink: #1b1a17;
  --paper-muted: #5c574d;
  --cream: #f1ece2;
  --muted: #a39d90;
  --gold: #b89a62;
  --gold-soft: #d2b98a;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--cream); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* Film grain overlay */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: var(--black); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 16px; }

/* Type */
.label { display: flex; align-items: center; gap: 14px; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; }
.label__num { font-family: var(--serif); font-size: 1rem; letter-spacing: 0; font-style: italic; padding-right: 14px; border-right: 1px solid currentColor; }
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6.2vw, 5.6rem); line-height: .98; letter-spacing: -.02em; }
.display em, .hero__title em { font-style: italic; color: var(--gold-soft); }
.lede { font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.25; }
.photo-credit { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); opacity: .8; }

/* Buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--ghost { border-color: rgba(241, 236, 226, .45); color: var(--cream); }
.btn--ghost:hover { border-color: var(--cream); background: rgba(241, 236, 226, .08); }
.text-link { display: inline-flex; gap: 10px; margin-top: 28px; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.text-link span { transition: transform .3s var(--ease); }
.text-link:hover span { transform: translateX(6px); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s var(--ease), border-color .4s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(12, 12, 11, .88); backdrop-filter: blur(10px); border-color: var(--line); }
.site-header__inner { max-width: var(--max); margin-inline: auto; padding: 18px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.wordmark__mark { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--gold); line-height: 1; }
.wordmark__name { font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; line-height: 1.35; }
.site-nav ul { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); list-style: none; margin: 0; padding: 0; }
.site-nav a { font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: rgba(241, 236, 226, .82); transition: color .25s; }
.site-nav a:hover { color: var(--gold-soft); }
.site-nav .site-nav__cta { color: var(--cream); border: 1px solid rgba(241, 236, 226, .4); padding: 11px 16px; }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--black); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; filter: grayscale(1) contrast(1.1) brightness(.8); animation: drift 24s var(--ease) both; }
@keyframes drift { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,12,11,.55) 0%, rgba(12,12,11,.1) 35%, rgba(12,12,11,.6) 70%, var(--black) 100%), radial-gradient(ellipse at 30% 60%, transparent 30%, rgba(0,0,0,.55) 100%); }
.hero__content { position: relative; padding-top: 140px; padding-bottom: 72px; }
.hero__label { color: var(--cream); }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #c0392b; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 8.4vw, 8rem); line-height: .92; letter-spacing: -.025em; max-width: 12ch; }
.hero__name { display: block; font-family: var(--sans); font-size: clamp(.8rem, 1.1vw, .95rem); font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; line-height: 1.4; }
.hero__lead { max-width: 36rem; margin-top: 30px; font-size: clamp(1rem, 1.3vw, 1.15rem); color: rgba(241, 236, 226, .82); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__meta { position: relative; display: flex; justify-content: space-between; padding-top: 18px; padding-bottom: 28px; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line); max-width: calc(var(--max) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); padding-inline: 0; }
.hero__scroll::after { content: ''; display: inline-block; width: 1px; height: 14px; margin-left: 10px; vertical-align: middle; background: var(--gold); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scaleY(.3); } }
.hero__credit { position: absolute; right: var(--gutter); top: 50%; writing-mode: vertical-rl; }

/* Sections */
.section { position: relative; padding-block: clamp(88px, 12vw, 168px); }
.section--paper { background: var(--paper); color: var(--paper-ink); }
.section--paper .label { color: #8a6d3b; }
.section--paper .display em { color: #8a6d3b; }
.section--paper .photo-credit { color: var(--paper-muted); }
.section-head { margin-bottom: clamp(48px, 7vw, 88px); max-width: 900px; }
.section-head--split { max-width: none; display: grid; gap: 32px; align-items: end; grid-template-columns: 1.4fr 1fr; }
.section-head__aside { color: var(--muted); max-width: 30rem; }

/* Why */
.why__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(32px, 4vw, 64px) clamp(24px, 3vw, 48px); }
.why__intro { grid-column: 1 / -1; max-width: 980px; }
.why__figure { grid-column: 1 / 6; }
.why__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.why__figure figcaption { margin-top: 12px; }
.why__body { grid-column: 7 / -1; align-self: end; display: grid; gap: 22px; color: var(--paper-muted); }
.why__body .lede { color: var(--paper-ink); }
.why__points { display: grid; gap: 0; margin-top: 18px; border-top: 1px solid rgba(27, 26, 23, .2); }
.why__points li { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(27, 26, 23, .2); font-size: .95rem; }
.why__points span { font-weight: 600; color: var(--paper-ink); }

/* Approach */
.approach { background: var(--charcoal); }
.approach__strip { position: relative; margin-bottom: clamp(48px, 7vw, 96px); }
.approach__strip img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.85); }
.approach__strip figcaption { position: absolute; right: var(--gutter); bottom: 12px; }
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.stage { border-top: 1px solid var(--line); padding-top: 28px; }
.stage__num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.stage__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1; margin: 18px 0 18px; }
.stage p { color: var(--muted); max-width: 26rem; }

/* Collections */
.collections { background: var(--black); }
.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.collection { position: relative; overflow: hidden; background: var(--charcoal); aspect-ratio: 4 / 5; isolation: isolate; }
.collection__media, .collection__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.collection__media img { object-fit: cover; filter: grayscale(1) brightness(.62) contrast(1.05); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.collection:hover .collection__media img { filter: grayscale(.15) brightness(.55); transform: scale(1.04); }
.collection::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(12,12,11,.92) 100%); z-index: 0; }
.collection__body { position: absolute; inset: auto 0 0; z-index: 1; padding: clamp(20px, 2.4vw, 32px); }
.collection__num { font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.collection__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 2.6vw, 2.5rem); line-height: 1; margin: 12px 0; }
.collection__body p { font-size: .92rem; color: rgba(241, 236, 226, .78); }
.collection .photo-credit { position: absolute; top: 14px; left: 18px; z-index: 1; font-size: .56rem; }

/* Boroughs */
.boroughs { background: var(--charcoal); }
.boroughs__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.boroughs__intro > p:not(.label) { color: var(--muted); margin-top: 22px; max-width: 32rem; }
.tally { display: flex; gap: 48px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.tally dt { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.tally dd { margin: 4px 0 0; font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--gold-soft); }
.borough-map { display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(6, auto); gap: 6px; }
.borough-tile { aspect-ratio: 1; display: grid; place-items: center; background: transparent; border: 1px solid var(--line); color: var(--muted); font: 500 clamp(.58rem, 1vw, .78rem)/1 var(--sans); letter-spacing: .06em; cursor: pointer; transition: border-color .25s, color .25s, background .25s; padding: 0; }
.borough-tile:hover, .borough-tile[aria-pressed='true'] { border-color: var(--gold); color: var(--cream); background: rgba(184, 154, 98, .12); }
.borough-tile[data-abbr='City'] { border-style: dashed; }
.borough-detail { margin-top: 24px; padding: 20px 24px; border: 1px solid var(--line); min-height: 104px; }
.borough-detail__name { font-family: var(--serif); font-size: 1.8rem; line-height: 1.1; }
.borough-detail__status { font-size: .9rem; color: var(--muted); margin-top: 6px; }
.borough-detail__status a { color: var(--gold-soft); }

/* Founder */
.founder__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.founder__portrait { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(160deg, #2a2925, #121210); display: grid; place-items: center; overflow: hidden; }
.founder__initials { font-family: var(--serif); font-style: italic; font-size: clamp(6rem, 14vw, 11rem); color: rgba(184, 154, 98, .35); }
.founder__portrait-note { position: absolute; left: 20px; bottom: 18px; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.founder__body > p:not(.label):not(.lede) { margin-top: 22px; color: var(--paper-muted); max-width: 36rem; }
.founder__body .lede { margin-top: 28px; }

/* Get involved */
.involved { overflow: hidden; }
.involved__bg { position: absolute; inset: 0; z-index: -1; }
.involved__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.32); }
.involved__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--black) 10%, rgba(12,12,11,.6)); }
.involved { position: relative; z-index: 0; }
.involved__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.involved__grid > div:first-child > p:not(.label) { margin-top: 24px; color: rgba(241, 236, 226, .75); max-width: 30rem; }
.paths { border-top: 1px solid rgba(241, 236, 226, .3); }
.path { border-bottom: 1px solid rgba(241, 236, 226, .3); }
.path summary { display: grid; grid-template-columns: 3rem 1fr auto; align-items: center; padding: 24px 0; cursor: pointer; list-style: none; }
.path summary::-webkit-details-marker { display: none; }
.path__num { font-family: var(--serif); font-style: italic; color: var(--gold); }
.path__title { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; transition: color .25s; }
.path summary:hover .path__title { color: var(--gold-soft); }
.path__icon { width: 16px; height: 16px; position: relative; }
.path__icon::before, .path__icon::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
.path__icon::after { transform: rotate(90deg); }
.path[open] .path__icon::after { transform: rotate(0); }
.path__body { padding: 0 0 26px 3rem; color: rgba(241, 236, 226, .75); max-width: 34rem; }
.paths__note { margin-top: 22px; font-size: .85rem; color: var(--muted); }
.involved__credit { position: absolute; right: var(--gutter); bottom: 16px; }

/* Footer */
.site-footer { background: var(--black); border-top: 1px solid var(--line); padding: clamp(64px, 9vw, 112px) 0 32px; }
.site-footer__brand { font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 6rem); line-height: 1; }
.site-footer__brand em { color: var(--gold-soft); }
.site-footer__tagline { color: var(--muted); margin-top: 12px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.site-footer__heading { font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.site-footer li { margin-bottom: 8px; font-size: .95rem; }
.site-footer li a { text-decoration: none; color: rgba(241, 236, 226, .8); }
.site-footer li a:hover { color: var(--gold-soft); }
.site-footer__policies li { color: var(--muted); }
.site-footer__small { font-size: .86rem; color: var(--muted); margin-top: 12px; max-width: 24rem; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.site-footer__bottom a { text-decoration: none; }

/* Simple inner page */
.page-hero { padding: 180px 0 80px; background: var(--charcoal); }
.page-body { padding-block: 80px 120px; }
.page-body p { max-width: 40rem; color: var(--paper-muted); margin-top: 20px; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; color: var(--cream); font: 600 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; padding: 10px 0; z-index: 2; }
  .nav-toggle__icon { display: grid; gap: 6px; width: 22px; }
  .nav-toggle__icon span { height: 1px; background: currentColor; transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded='true'] .nav-toggle__icon span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded='true'] .nav-toggle__icon span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; background: var(--black); display: flex; align-items: center; padding: 100px var(--gutter) 40px; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 18px; }
  .site-nav a { font-family: var(--serif); font-size: 2.3rem; letter-spacing: 0; text-transform: none; }
  .site-nav .site-nav__cta { border: 0; padding: 0; color: var(--gold-soft); }
  .wordmark { position: relative; z-index: 2; }
  .why__figure, .why__body { grid-column: 1 / -1; }
  .why__figure img { aspect-ratio: 4 / 3; }
  .section-head--split, .boroughs__grid, .founder__grid, .involved__grid { grid-template-columns: 1fr; }
  .stages { grid-template-columns: 1fr; }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .founder__portrait { max-width: 420px; aspect-ratio: 1; }
}
@media (max-width: 640px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__credit { display: none; }
  .collection-grid { grid-template-columns: 1fr; }
  .why__points li { grid-template-columns: 1fr; gap: 2px; }
  .approach__strip img { aspect-ratio: 16 / 9; }
  .site-footer__cols { grid-template-columns: 1fr; }
  .borough-map { gap: 4px; }
  .tally { gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
