/* Joey Schoen. Sibling of antlerroom.co.uk: shares the near-black, champagne gold and serif-italic accent, with its own modern type and layout. */

/* Self-hosted variable fonts (Google Fonts latin subset). Other scripts fall back to system fonts. */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../assets/fonts/inter-tight-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/instrument-serif-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/instrument-serif-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0B0B0C;
  --surface: #131315;
  --surface-2: #1A1A1D;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #F2F0EC;
  --muted: #8F8C87;
  --gold: #D4B477;
  --gold-soft: rgba(212, 180, 119, 0.14);

  --font-sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;

  --max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 14px;
  --section-pad: clamp(64px, 9vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Static film grain, kept faint so it reads as texture rather than effect */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--gold); letter-spacing: -0.01em; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.i-arrow { width: 1em; height: 1em; flex: none; transition: transform 0.3s var(--ease); }
.i-brand { width: 15px; height: 15px; flex: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:hover .i-arrow { transform: translate(2px, -2px); }
.btn--light { background: var(--text); color: var(--bg); }
.btn--light:hover { background: var(--gold); }
.btn--outline { border-color: var(--line-strong); color: var(--text); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 0.88rem; }

/* ---------- Nav (floating pill) ---------- */

.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; padding: 0 var(--gutter); pointer-events: none; }
.nav-inner {
  pointer-events: auto;
  max-width: calc(var(--max) - 2 * var(--gutter));
  height: 60px;
  margin: 0 auto;
  padding: 0 10px 0 22px;
  display: flex;
  align-items: center;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(19, 19, 21, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.logo { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; }
.logo em { font-size: 1.1em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { display: inline-block; padding: 8px 2px; font-size: 0.9rem; color: var(--muted); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 720px) {
  .nav { top: 10px; }
  .nav-inner { height: 54px; padding: 0 8px 0 18px; gap: 12px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
}

/* ---------- Hero ---------- */

.hero { position: relative; padding: clamp(128px, 15vw, 190px) 0 clamp(48px, 6vw, 80px); isolation: isolate; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45% 55% at 12% 18%, rgba(212, 180, 119, 0.10), transparent 70%),
    radial-gradient(40% 50% at 85% 60%, rgba(255, 255, 255, 0.04), transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: end; }


.hero-title {
  font-size: clamp(3.6rem, 11vw, 9.5rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.055em;
  margin-left: -0.04em;
}
.hero-title em { display: inline-block; font-size: 1.04em; letter-spacing: -0.03em; padding-right: 0.06em; }
.hero-lede { margin-top: 28px; max-width: 34rem; font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.55; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

.hero-portrait { position: relative; justify-self: end; width: 100%; max-width: 340px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.hero-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero-portrait:hover img { transform: scale(1.03); }
.hero-portrait figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  color: var(--text);
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; align-items: start; }
  .hero-portrait { justify-self: stretch; max-width: none; border-radius: 18px; }
  .hero-portrait img { aspect-ratio: 16 / 10; object-position: 50% 30%; }
}
@media (max-width: 520px) {
  .hero-portrait img { aspect-ratio: 4 / 3; object-position: 50% 38%; }
}
@media (max-width: 420px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Marquee ---------- */

.marquee {
  display: flex;
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; flex: none; gap: 0; animation: marquee 70s linear infinite; }
.marquee-track li {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--muted);
  padding-right: 28px;
}
.marquee-track li::after { content: ''; width: 6px; height: 6px; margin-left: 28px; border-radius: 50%; background: var(--gold); opacity: 0.7; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Sections ---------- */

.section { padding: var(--section-pad) 0 0; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px 16px;
  padding-top: 22px;
  margin-bottom: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--line);
}
.section-title { font-size: clamp(2.1rem, 5vw, 4rem); font-weight: 600; line-height: 1; letter-spacing: -0.045em; }
.section-title em { font-size: 1.06em; }
.section-kicker { font-size: 0.88rem; color: var(--muted); text-align: right; }
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; }
  .section-kicker { text-align: left; }
}

/* ---------- Work ---------- */

.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.role {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.4s var(--ease);
}
.role:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.role-art { position: relative; aspect-ratio: 4 / 1; overflow: hidden; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.role-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; filter: grayscale(0.4); transition: opacity 0.4s ease, transform 0.8s var(--ease), filter 0.4s ease; }
.role:hover .role-bg { opacity: 0.85; filter: none; transform: scale(1.04); }
.role-logo { position: absolute; top: 50%; left: 22px; width: auto; height: 34%; transform: translateY(-50%); filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.5)); }
.role-logo--antlers { height: 46%; }
.role-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.role-meta { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.74rem; color: var(--muted); }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.status--live { color: var(--text); border-color: rgba(212, 180, 119, 0.35); background: var(--gold-soft); }
.status--live::before { background: var(--gold); }
.role-name { margin-top: 14px; font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.role-name a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.role-desc { margin-top: 8px; font-size: 0.92rem; color: var(--muted); }
.role-email {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s ease;
}
.role-email:hover { color: var(--gold); }
.role-email:hover .i-arrow { transform: translate(2px, -2px); }
@media (max-width: 960px) { .role-grid { grid-template-columns: 1fr; } .role-art { aspect-ratio: 6 / 1; } }

/* ---------- About ---------- */

.about { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); }
.about-lead { font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.35; letter-spacing: -0.025em; font-weight: 500; }
.about a:not(.btn) { border-bottom: 1px solid var(--line-strong); transition: color 0.2s ease, border-color 0.2s ease; }
.about a:not(.btn):hover { color: var(--gold); border-color: var(--gold); }
.about-side p { color: var(--muted); }
.about-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */

.stats-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); margin-bottom: clamp(28px, 3.5vw, 48px); }
.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: radial-gradient(80% 120% at 0% 0%, var(--gold-soft), transparent 60%), var(--surface);
  overflow: hidden;
}
.stat-number {
  font-size: clamp(3.4rem, 9vw, 7rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat-label { margin-top: 18px; font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; }
.stat-label::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--gold); vertical-align: 0.12em; }
.stat-note { margin-top: 4px; font-size: 0.85rem; color: var(--muted); }
@media (max-width: 520px) {
  .stats-row { gap: 10px; }
  .stat { padding: 20px 16px; }
  .stat-number { font-size: clamp(2.4rem, 12vw, 3.2rem); }
  .stat-label { margin-top: 12px; font-size: 0.9rem; }
  .stat-label::before { width: 6px; height: 6px; margin-right: 7px; }
  .stat-note { font-size: 0.74rem; }
}

/* ---------- Artists ---------- */

/* One tile system for both grids: black and white at rest, colour plus name (and listeners on featured tiles) on hover, focus or, on touch screens, while crossing the middle of the screen. */
.artist-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.tile { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: var(--surface-2); isolation: isolate; }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: grayscale(1) brightness(0.75); transition: filter 0.45s ease, transform 0.7s var(--ease); }
.tile::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0) 70%); opacity: 0; transition: opacity 0.35s ease; pointer-events: none; }
.tile-info { position: absolute; z-index: 1; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6); left: 10px; right: 10px; bottom: 9px; opacity: 0; transform: translateY(6px); transition: opacity 0.35s ease, transform 0.45s var(--ease); }
.tile-name { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-stat { margin-top: 3px; font-size: 0.72rem; color: rgba(255, 255, 255, 0.72); white-space: nowrap; }
.tile-stat strong { font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; }
.tile--feature { border-radius: 12px; }
.tile--feature .tile-info { left: 14px; right: 14px; bottom: 12px; }
.tile--feature .tile-name { font-size: clamp(0.95rem, 1.3vw, 1.1rem); letter-spacing: -0.02em; }
.tile:focus-visible img, .tile.is-active img { filter: none; }
.tile:focus-visible::after, .tile.is-active::after,
.tile:focus-visible .tile-info, .tile.is-active .tile-info { opacity: 1; transform: none; }
@media (hover: hover) {
  .tile:hover img { filter: none; transform: scale(1.04); }
  .tile:hover::after, .tile:hover .tile-info { opacity: 1; transform: none; }
}
.tile--hero { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.tile--hero .tile-info { left: 20px; right: 20px; bottom: 18px; }
.tile--hero .tile-name { font-size: clamp(1.2rem, 2.2vw, 1.8rem); letter-spacing: -0.03em; }
.tile--hero .tile-stat { font-size: 0.82rem; }
.tile--count { display: grid; place-content: center; text-align: center; gap: 2px; border: 1px solid var(--line); background: radial-gradient(90% 120% at 50% 0%, var(--gold-soft), transparent 70%), var(--surface); }
.tile--count::after { display: none; }
.tile-count { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1; color: var(--gold); }
.tile-count-label { font-size: 0.7rem; color: var(--muted); }
@media (max-width: 960px) { .artist-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .artist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--feature .tile-info { left: 10px; right: 10px; bottom: 9px; }
  .tile--feature .tile-name { font-size: 0.86rem; }
}

/* ---------- And many more ---------- */

.more { margin-top: clamp(10px, 1.2vw, 16px); }
.more-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -0.04em; margin-top: clamp(22px, 3vw, 36px); }
.more-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.more-grid .tile { border-radius: 8px; }
.more-grid .tile img { object-position: 50% 50%; }
@media (max-width: 960px) { .more-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .more-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; } .more-grid .tile { border-radius: 6px; } .more-grid .tile-info { left: 5px; right: 5px; bottom: 4px; } .more-grid .tile-name { font-size: 0.62rem; } .tile-count { font-size: 1.15rem; } .tile-count-label { font-size: 0.56rem; } }

/* ---------- Contact ---------- */

.section--contact { padding-bottom: clamp(48px, 6vw, 80px); }
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: radial-gradient(60% 90% at 0% 100%, var(--gold-soft), transparent 70%), var(--surface);
}
.contact-title { margin-top: 14px; font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 600; line-height: 0.9; letter-spacing: -0.055em; }
.contact-title em { font-size: 1.05em; }
.contact-sub { margin-top: 18px; color: var(--muted); }
.contact-list { display: grid; gap: 10px; }
.contact-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px 14px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.3s var(--ease);
}
.contact-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); color: var(--gold); }
.contact-icon svg { width: 20px; height: 20px; }
.contact-text { display: grid; gap: 2px; min-width: 0; }
.contact-label { font-size: 0.8rem; color: var(--muted); }
.contact-value { font-size: clamp(1rem, 1.8vw, 1.2rem); font-weight: 500; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.contact-action { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.82rem; font-weight: 500; color: var(--text); transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease; }
.contact-link:hover, .contact-link:focus-visible { border-color: var(--gold); background: rgba(212, 180, 119, 0.06); transform: translateY(-1px); }
.contact-link:hover .contact-action, .contact-link:focus-visible .contact-action { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.contact-link:hover .i-arrow { transform: translate(2px, -2px); }
@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .contact-link { gap: 12px; padding: 12px; }
  .contact-icon { width: 38px; height: 38px; }
  .contact-action { padding: 9px; font-size: 0; gap: 0; }
  .contact-action .i-arrow { font-size: 0.95rem; }
}

/* ---------- Footer ---------- */

.footer { padding: 28px 0 36px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-copy { font-size: 0.85rem; color: var(--muted); }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.socials a:hover, .socials a:focus-visible { color: var(--text); border-color: var(--line-strong); }
.socials svg { width: 17px; height: 17px; }

/* ---------- Reveal on scroll ---------- */

/* reveal-ready is set by initReveal(), so content stays visible if main.js fails. */
.reveal-ready .fade-in { opacity: 0; transform: translateY(18px); }
.reveal-ready .fade-in.is-visible { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }

/* ---------- Reduced motion ---------- */

/* ---------- Touch screens ---------- */

/* Full-screen blend modes and backdrop blur repaint on every scroll frame on phones, which makes scrolling stutter. */
@media (hover: none) {
  body::after { display: none; }
  .nav-inner { background: rgba(19, 19, 21, 0.94); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero-portrait figcaption { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(11, 11, 12, 0.8); }
  .tile img { transition: filter 0.35s ease; }
  .marquee-track { animation-duration: 90s; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal-ready .fade-in { opacity: 1; transform: none; }
  .marquee { overflow-x: auto; }
}
