/* liamdavies.co - charcoal editorial system */
:root {
  --bg: #0f0f0f;
  --bg-2: #151515;
  --panel: #191919;
  --line: rgba(239, 234, 224, 0.14);
  --ink: #efeae0;
  --muted: #9a958c;
  --accent: #efeae0;
  --accent-soft: rgba(239, 234, 224, 0.06);
  --max: 1140px;
  --radius: 2px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Hanken Grotesk", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

::selection { background: #efeae0; color: #0f0f0f; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0f0f0f; }
::-webkit-scrollbar-thumb { background: #2c2c2c; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }

:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.15;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

html.lenis, html.lenis body { height: auto; }

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 520px at 75% -8%, rgba(239, 234, 224, 0.04), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(239, 234, 224, 0.02), transparent 55%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--ink); text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Typography */
h1, h2, .display {
  font-family: var(--font-display);
  font-weight: 430;
  font-variation-settings: "opsz" 72;
  letter-spacing: -0.015em;
  line-height: 1.02;
}

h1 em, h2 em {
  font-style: italic;
  font-weight: 380;
  color: var(--ink);
}

h3 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

h1 { font-size: clamp(3rem, 6.6vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.18rem; }

.kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.lede { font-size: 1.2rem; color: var(--muted); max-width: 620px; }

p + p { margin-top: 1em; }

.muted { color: var(--muted); }

/* Nav */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 15, 15, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

header::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  height: 1px;
  width: calc(var(--scrolled, 0) * 100%);
  background: var(--ink);
  opacity: .6;
  transition: width 0.1s linear;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo { display: flex; align-items: center; }
.logo-img { height: 27px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }

.nav-links a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.18s;
}

.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.nav-links .has-drop { position: relative; }

.drop {
  position: absolute;
  top: calc(100% + 10px);
  left: -14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s;
}

.has-drop:hover .drop, .has-drop:focus-within .drop {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.drop a { display: block; padding: 9px 12px; border-radius: 6px; }
.drop a:hover { background: var(--bg-2); }
.drop .soon { color: var(--muted); font-size: 0.8rem; padding: 9px 12px; }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease), letter-spacing 0.5s var(--ease);
}

.btn-primary, .nav-links a.btn-primary { background: #efeae0; color: #0f0f0f; }
.btn-primary:hover, .nav-links a.btn-primary:hover { background: #ffffff; color: #0f0f0f; letter-spacing: 0.16em; }

.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

.nav .btn { padding: 11px 20px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  min-height: 86vh;
  display: flex;
  align-items: center;
}

.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 30%;
  filter: saturate(0.88) brightness(0.92) contrast(1.04);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,15,15,0.97) 26%, rgba(15,15,15,0.62) 45%, rgba(15,15,15,0.14) 62%, rgba(15,15,15,0.05) 78%, rgba(15,15,15,0.3)),
    linear-gradient(180deg, rgba(15,15,15,0.38), rgba(15,15,15,0.08) 40%, rgba(15,15,15,0.94) 97%);
}

.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-text { max-width: 640px; padding: 110px 0 120px; }
.hero-text .lede { margin: 24px 0 38px; }

.hero h1 { overflow: hidden; }
.h1-inner { display: inline-block; transform: translateY(112%); animation: maskrise 1.1s var(--ease) 0.3s forwards; }
@keyframes maskrise { to { transform: translateY(0); } }

.hero-text .hero-id, .hero-text .lede, .hero-text .hero-cta {
  opacity: 0; transform: translateY(26px);
  animation: rise 0.9s var(--ease) forwards;
}
.hero-text .hero-id { animation-delay: 0.1s; }
.hero-text .lede { animation-delay: 0.62s; }
.hero-text .hero-cta { animation-delay: 0.76s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-bg img { animation: settle 2.2s var(--ease) forwards; transform: scale(1.07); }
@keyframes settle { to { transform: scale(1); } }
.hero-bg { will-change: transform; }

.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 10px;
  animation: rise 0.9s var(--ease) 1.2s forwards; opacity: 0;
}
.scroll-cue::after {
  content: ""; width: 1px; height: 36px; background: var(--ink); opacity: .5;
  animation: cueline 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cueline { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.hero-id {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 24px;
}

.hero-id span { color: var(--accent); }

.hero-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.text-link {
  color: var(--accent);
  font-size: 0.95rem;
  padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.5s var(--ease), color 0.4s var(--ease);
}
.text-link:hover { color: var(--ink); background-size: 100% 1px; }

/* Stat bar */
.stats { background: linear-gradient(180deg, #141414, #111111); border-bottom: 1px solid var(--line); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 56px 0 64px;
}

.stat {
  border-top: 1px solid rgba(239, 234, 224, 0.29);
  padding: 22px 4px 0;
}

.stat .num {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 60;
  font-variant-numeric: tabular-nums lining-nums;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.stat .num em { font-style: normal; color: var(--accent); }

.stat .label { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.02em; margin-top: 8px; max-width: 220px; }

/* Sections */
section.block { padding: 88px 0; }
section.block.tint { background: linear-gradient(180deg, #151515, #121212); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.split .photo {
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 560px;
  border: 1px solid rgba(239, 234, 224, 0.16);
}
.split .photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.94) contrast(1.04);
  transition: filter 0.8s var(--ease), transform 0.8s var(--ease);
}
.split .photo:hover img { filter: saturate(1) brightness(1) contrast(1.02); transform: scale(1.025); }

.section-head { margin-bottom: 48px; max-width: 640px; }
.section-head p { margin-top: 14px; color: var(--muted); }

/* Facets: numbered editorial rows */
.facets { border-bottom: 1px solid var(--line); }

.facet {
  display: grid;
  grid-template-columns: 110px 1.05fr 1.6fr auto;
  gap: 44px;
  align-items: baseline;
  padding: 52px 0;
  border-top: 1px solid var(--line);
  transition: background 0.6s var(--ease);
}

.facet { transition: background 0.6s var(--ease), padding-left 0.5s var(--ease); }
.facet:hover { background: rgba(239, 234, 224, 0.03); padding-left: 10px; }
.facet:hover .facet-num { color: var(--ink); }
.facet-num { transition: color 0.5s var(--ease); }

.facet-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 380;
  font-size: 1.3rem;
  color: var(--accent);
}

.facet h3 { font-size: 1.35rem; }
.facet p { color: var(--muted); font-size: 0.98rem; max-width: 52ch; }
.facet .text-link { white-space: nowrap; font-size: 0.88rem; padding-left: 8px; }

/* Result cards */
.results { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

.result {
  border-top: 1px solid rgba(239, 234, 224, 0.29);
  padding: 28px 4px 0;
}

.result .figure {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 60;
  font-variant-numeric: lining-nums;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  letter-spacing: -0.02em;
  color: var(--accent);
}

.result h3 { margin: 14px 0 12px; }
.result p { color: var(--muted); font-size: 0.98rem; }

/* Recognition */
.award-entry { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 26px; }
.award-entry h3 { font-family: var(--font-display); font-weight: 480; font-size: 1.4rem; margin-bottom: 6px; }
.award-entry p { color: var(--muted); font-size: 0.96rem; }

/* People marquee */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 55s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee figure { margin: 0; flex-shrink: 0; }

.marquee img {
  height: 300px;
  width: auto;
  border-radius: 2px;
  border: 1px solid rgba(239, 234, 224, 0.16);
  filter: saturate(0.85) brightness(0.95);
  transition: filter 0.7s var(--ease);
}

.marquee figure:hover img { filter: saturate(1) brightness(1.02); }

.marquee figcaption {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

@media (max-width: 860px) {
  .marquee img { height: 210px; }
}

.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.strip img { border-radius: 2px; aspect-ratio: 1 / 1; object-fit: cover; width: 100%; border: 1px solid rgba(239, 234, 224, 0.14); filter: saturate(0.85) brightness(0.95); transition: filter 0.7s var(--ease); }
.strip img:hover { filter: saturate(1) brightness(1.02); }

/* Seller/investor splits */
.seller-split { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 64px; align-items: start; }
.seller-split.rev { grid-template-columns: 1.4fr 0.8fr; }
.seller-photo { max-height: 640px; }
.seller-photo img { filter: grayscale(0.4) saturate(0.8) brightness(0.92); }

/* Facet hover preview */
.facet-wrap { display: grid; grid-template-columns: 1.55fr 1fr; gap: 56px; align-items: start; }
.facet-preview {
  position: sticky; top: 110px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.facet-preview img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity 0.6s var(--ease), transform 1.2s var(--ease);
  filter: saturate(0.85) brightness(0.92);
}
.facet-preview img.active { opacity: 1; transform: scale(1); }

@media (max-width: 860px) {
  .facet-wrap { grid-template-columns: 1fr; }
  .facet-preview { display: none; }
  .seller-split, .seller-split.rev { grid-template-columns: 1fr; gap: 36px; }
  .seller-photo { max-height: 420px; }
}

/* Seller points */
.points { margin: 36px 0; }
.point {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.point:last-child { border-bottom: 1px solid var(--line); }
.point h3 { font-size: 1rem; color: var(--accent); }
.point p { color: var(--muted); font-size: 0.96rem; }

@media (max-width: 860px) {
  .point { grid-template-columns: 1fr; gap: 6px; }
}

/* Sellers section */
.sellers { max-width: 680px; }
.sellers h2 { margin-bottom: 22px; }
.sellers p { color: var(--muted); }
.sellers .btn { margin-top: 30px; }
.sellers strong { color: var(--ink); font-weight: 600; }

/* Final CTA */
.final { text-align: center; padding: 100px 0; }
.final h2 { margin-bottom: 18px; }
.final p { color: var(--muted); max-width: 520px; margin: 0 auto; }
.final .btn { margin-top: 32px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 64px 0 40px; }

.foot-word {
  font-family: var(--font-display);
  font-weight: 420;
  font-variation-settings: "opsz" 72;
  font-size: clamp(3.4rem, 11vw, 9.5rem);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 48px;
}
.foot-word em { transition: letter-spacing 0.6s var(--ease); }
footer:hover .foot-word em { letter-spacing: 0.04em; }
.foot-word em { font-style: italic; font-weight: 380; color: var(--accent); }

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
}

.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }
.foot-links { display: flex; gap: 20px; }

/* Page hero (inner pages) */
.page-hero { padding: 80px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero .lede { margin-top: 20px; }

/* Prose (About) */
.prose { max-width: 660px; padding: 72px 0 40px; }
.prose h2 { font-size: 1.5rem; margin: 52px 0 18px; }
.prose p { margin-bottom: 1.15em; }
.prose .pull {
  border-top: 1px solid rgba(239, 234, 224, 0.29);
  border-bottom: 1px solid rgba(239, 234, 224, 0.29);
  padding: 26px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.3;
  color: var(--ink);
  margin: 40px 0;
}

.about-photo { max-width: 660px; border-radius: var(--radius); overflow: hidden; margin: 0 0 8px; border: 1px solid rgba(239, 234, 224, 0.16); }

/* Forms */
.form-grid { display: grid; gap: 18px; max-width: 560px; }

label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}

input, select, textarea {
  width: 100%;
  background: #161616;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 14px;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
}

textarea { min-height: 140px; resize: vertical; }

.form-note { color: var(--muted); font-size: 0.9rem; }

/* Drawn-in hairlines (stats, results, points) */
.stat, .result, .point { border-top: none !important; position: relative; }
.stat::before, .result::before, .point::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: rgba(239, 234, 224, 0.32);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.2s var(--ease);
}
.stat.in::before, .result.in::before, .point.in::before { transform: scaleX(1); }
.point:last-child { border-bottom: none !important; }
.point:last-child::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: rgba(239, 234, 224, 0.2);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.2s var(--ease) 0.3s;
}
.point:last-child.in::after { transform: scaleX(1); }

/* Ghost numerals behind result cards */
.result { overflow: visible; }
.result::after {
  content: attr(data-n);
  position: absolute; top: -34px; right: 0;
  font-family: var(--font-display); font-style: italic; font-weight: 380;
  font-size: 7rem; line-height: 1;
  color: var(--ink); opacity: 0.045;
  pointer-events: none;
}

/* The square: photographer's mark on every photo */
.photo, .about-photo { position: relative; }
.photo::after, .about-photo::after {
  content: ""; position: absolute; right: 16px; bottom: 16px;
  width: 11px; height: 11px; background: var(--ink);
  mix-blend-mode: difference; opacity: 0.9; z-index: 2;
}

/* Editorial section index in kickers */
.block .kicker { display: flex; justify-content: space-between; align-items: baseline; }
.kicker .idx {
  font-family: var(--font-display); font-style: italic; font-weight: 380;
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: none;
  color: var(--muted); opacity: 0.8;
}

/* Italic accent words: underline draws in */
h2 em .w > span, h2 em {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-repeat: no-repeat; background-position: left 96%;
  transition: background-size 1s var(--ease) 0.55s;
}
.in h2 em .w > span, h2.in em .w > span, .in h2 em, h2.in em { background-size: 100% 1px; }

/* Footer coordinates */
.foot-coords {
  font-family: monospace; font-size: 0.72rem; letter-spacing: 0.12em;
  color: var(--muted); opacity: 0.7; margin-bottom: 40px;
}

/* Word-split heading choreography */
h2 .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
h2 .w > span { display: inline-block; transform: translateY(115%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--wi) * 60ms); }
.in h2 .w > span, h2.in .w > span { transform: translateY(0); }

/* Statement interlude: words fill with scroll */
.statement { padding: 20vh 0; border-top: 1px solid var(--line); }
.statement-kicker {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 36px;
}
.statement-text {
  font-family: var(--font-display);
  font-weight: 430;
  font-variation-settings: "opsz" 72;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  max-width: 980px;
}
.statement-text .sw { opacity: 0.14; transition: opacity 0.35s linear; }
.statement-text .sw.lit { opacity: 1; }
.statement-text em { font-style: italic; font-weight: 380; }

/* Custom cursor (fine pointers only) */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 3000;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.35s var(--ease), height 0.35s var(--ease), opacity 0.3s;
  opacity: 0;
}
.cursor.on { opacity: 1; }
.cursor.grow { width: 46px; height: 46px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* Page transitions */
body { opacity: 1; transition: opacity 0.32s ease; }
body.leaving { opacity: 0; }
@keyframes pagein { from { opacity: 0; } to { opacity: 1; } }
body { animation: pagein 0.45s ease; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.photo.reveal, .about-photo.reveal {
  opacity: 1; transform: none;
  -webkit-clip-path: inset(0 100% 0 0);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s var(--ease), -webkit-clip-path 1.2s var(--ease);
}
.photo.reveal.in, .about-photo.reveal.in { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); }
@supports not (clip-path: inset(0 100% 0 0)) {
  .photo.reveal, .about-photo.reveal { opacity: 0; transition: opacity 0.9s var(--ease); }
  .photo.reveal.in, .about-photo.reveal.in { opacity: 1; }
}
.photo.reveal img { transform: scale(1.06); transition: transform 1.6s var(--ease), filter 0.8s var(--ease); }
.photo.reveal.in img { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .photo.reveal, .about-photo.reveal { opacity: 1; transform: none; transition: none; clip-path: none; }
  .stat::before, .result::before, .point::before, .point:last-child::after { transform: scaleX(1); transition: none; }
  h2 em, h2 em .w > span { background-size: 100% 1px; transition: none; }
  h2 .w > span { transform: none; transition: none; }
  .statement-text .sw { opacity: 1; }
  .cursor { display: none; }
  body { animation: none; }
  .h1-inner, .hero-text .hero-id, .hero-text .lede, .hero-text .hero-cta, .hero-bg img, .scroll-cue { animation: none; opacity: 1; transform: none; }
}

/* Mobile */
@media (max-width: 860px) {
  .hero { min-height: 0; }
  .scroll-cue { display: none; }
  .hero-text { padding: 96px 0 88px; }
  .hero-bg img { object-position: 70% 12%; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(15,15,15,0.55), rgba(15,15,15,0.82) 55%, rgba(15,15,15,0.96) 90%);
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 36px 0; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .results { grid-template-columns: 1fr; gap: 32px; }
  .facet { grid-template-columns: 1fr; gap: 12px; padding: 38px 0; }
  .facet .text-link { white-space: normal; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  section.block { padding: 60px 0; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 24px;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    background: none;
    padding: 4px 0 0 14px;
    min-width: 0;
  }
}
