/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #0a0a0a;
  --bg-2:      #121211;
  --bg-card:   #171615;
  --ink:       #f5f0ea;
  --ink-soft:  rgba(245, 240, 234, .72);
  --ink-mute:  rgba(245, 240, 234, .42);
  --line:      rgba(245, 240, 234, .12);

  --accent:    #ff5a1f;   /* warm — shadows */
  --accent-2:  #00c2b2;   /* cool — highlights */
  --accent-3:  #a855f7;   /* tertiary, used sparingly */

  --display: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono:    "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1400px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em; }
ul { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

.section-head, .work-list, .more-list, .services-list, .contact-inner, .footer {
  max-width: var(--container);
  margin-inline: auto;
}

/* =============================================================
   4. Typography
   ============================================================= */
.eyebrow {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: .75rem;
}
.kicker {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
}
.split-word { display: inline-block; }

/* =============================================================
   5. Components
   ============================================================= */

/* Cursor */
.cursor {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  display: none;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity .25s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; will-change: transform;
}
.cursor-dot { width: 5px; height: 5px; margin: -2.5px; background: var(--ink); border-radius: 50%; }
.cursor-ring {
  width: 32px; height: 32px; margin: -16px; border: 1px solid var(--ink); border-radius: 50%;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out);
}
.cursor.is-interactive .cursor-ring { width: 52px; height: 52px; margin: -26px; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
/* Native <dialog> renders in the browser's top layer, above the cursor's
   z-index — hide our custom cursor and restore the native one while a
   modal is open, or the cursor visually vanishes behind the dialog. */
html.modal-open .cursor { opacity: 0 !important; }
html.modal-open.has-cursor, html.modal-open.has-cursor a, html.modal-open.has-cursor button { cursor: auto; }

/* Magnetic buttons */
.has-magnetic { display: inline-flex; position: relative; isolation: isolate; }
.magnetic-inner {
  display: inline-flex; align-items: center; justify-content: center; gap: inherit;
  will-change: transform;
  transition: transform .8s var(--ease-soft);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.9rem; border-radius: 100px;
  font-size: .92rem; font-weight: 500;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background .3s, border-color .3s, color .3s;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 42px rgba(255, 90, 31, .2); }
.btn-ghost { border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Tag chip */
.tag {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); border: 1px solid currentColor; padding: .25em .65em; border-radius: 100px;
}

/* =============================================================
   6. Sections
   ============================================================= */

/* --- Splash --- */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: grid; place-items: center;
  /* A `transition` on opacity/clip-path here would be silently ignored the
     moment .is-out swaps in an `animation` targeting those same properties —
     CSS animations always win over transitions on a shared property, delay
     phase included. So the whole hide sequence is animation-only: the
     4.5s-delayed splashSafety is the pure-CSS fallback if JS never adds
     .is-out; .is-out itself supplies its own (higher-specificity) animation
     that replaces it with the real, visible wipe-out. */
  animation: splashSafety .01s 6.5s forwards;
}
.splash.is-out {
  animation: splashOut 3s var(--ease-soft) forwards;
}
/* Pure opacity dissolve — no clip-path here. A wipe mask has a hard edge
   that, on text centered in the box, visibly slices through it mid-fade
   (looks like a cut, not a dissolve). A plain fade has no edge to catch. */
@keyframes splashOut {
  to { opacity: 0; pointer-events: none; }
}
.splash-mark {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2rem, 8vw, 3.5rem);
  opacity: 0;
  animation: splashIn .8s .2s var(--ease-out) forwards;
}
@keyframes splashSafety { to { opacity: 0; pointer-events: none; } }
@keyframes splashIn { to { opacity: 1; } }

/* --- Nav --- */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem 6vw;
  transition: background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), padding .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, .74);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-block: 1rem;
  box-shadow: 0 1px 0 var(--line);
}
.nav-logo { font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.nav-logo-dot { color: var(--accent); }
.nav-links { display: none; gap: 2.25rem; }
@media (min-width: 960px) { .nav-links { display: flex; } }
.nav-link { font-size: .9rem; position: relative; padding: .25rem 0; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  display: none; font-size: .85rem; border: 1px solid var(--line);
  padding: .6rem 1.3rem; border-radius: 100px; transition: border-color .3s, background .3s;
}
@media (min-width: 720px) { .nav-cta { display: inline-block; } }
.nav-cta:hover { border-color: var(--accent); background: rgba(255, 90, 31, .08); }
.nav-burger { position: relative; display: block; width: 26px; height: 16px; }
@media (min-width: 720px) { .nav-burger { display: none; } }
.nav-burger span {
  position: absolute; left: 0; right: 0; height: 1px; background: var(--ink);
  transition: top .35s var(--ease-soft), transform .35s var(--ease-soft);
}
.nav-burger span:first-child { top: 0; }
.nav-burger span:last-child { top: 100%; }
.nav-burger[aria-expanded="true"] span:first-child { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { top: 50%; transform: translateY(-50%) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
}
.nav-mobile[aria-hidden="false"] { clip-path: inset(0); }
.nav-mobile a { font-family: var(--display); font-weight: 700; font-size: 2rem; }
@media (min-width: 720px) { .nav-mobile { display: none; } }

/* --- Hero --- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 7rem 6vw 5rem;
  overflow: hidden;
}
.hero-slider { position: absolute; inset: 0; z-index: -4; overflow: hidden; background: var(--bg-2); }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(1.35) contrast(1.05) saturate(1.15);
  opacity: 0; transition: opacity 1.8s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-gradient {
  position: absolute; inset: 0; z-index: -3;
  background: radial-gradient(70% 65% at var(--mx, 60%) var(--my, 32%), rgba(255, 90, 31, .74) 0%, rgba(255, 90, 31, .3) 45%, transparent 78%);
  filter: blur(65px) saturate(155%);
}
.hero-vignette {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(10, 10, 10, .38) 0%, rgba(10, 10, 10, .04) 38%, rgba(10, 10, 10, .16) 66%, rgba(10, 10, 10, .8) 100%);
  pointer-events: none;
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1;
  opacity: .06; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}
.hero-inner { position: relative; z-index: 1; max-width: 1000px; }
.hero-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(4rem, 15vw, 11rem);
  line-height: .98;
  letter-spacing: -0.01em;
  max-width: 17ch;
  margin-top: 1.5rem;
  text-shadow: 0 6px 28px rgba(0, 0, 0, .5);
}
.hero-title em { font-style: normal; font-weight: 800; color: var(--accent); }
.kicker { text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.hero-sub {
  margin-top: 1.75rem; max-width: 52ch; font-size: 1.05rem; line-height: 1.7; color: var(--ink-soft);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-actions { margin-top: 2.5rem; display: flex; gap: 1.25rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; left: 6vw; bottom: 2.25rem;
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-scroll-line { width: 1px; height: 34px; background: var(--line); position: relative; overflow: hidden; }
.hero-scroll-line::after {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--accent);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 50% { top: 0; } 100% { top: 100%; } }

/* --- About --- */
.about { padding: 5.5rem 6vw; border-top: 1px solid var(--line); }
.about-inner { max-width: var(--container); margin-inline: auto; }
.about-lead {
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  line-height: 1.6;
  max-width: 46ch;
  color: var(--ink-soft);
}

/* --- Work --- */
.work { padding: 7rem 0; border-top: 1px solid var(--line); }
.section-head { padding: 0 6vw; margin-bottom: 2.5rem; }
.work-list {
  padding: 0 6vw;
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 720px) { .work-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .work-list { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5;
  border-radius: 18px; overflow: hidden; text-align: left;
  background: var(--bg-2); border: 1px solid var(--line);
}
.project-card-media { position: absolute; inset: 0; }
.project-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-soft), filter .5s; }
.project-card:hover .project-card-img { transform: scale(1.08); filter: saturate(1.15) brightness(.72); }
.project-card-media--gradient {
  background:
    radial-gradient(120% 100% at 15% 0%, rgba(255, 90, 31, .55), transparent 60%),
    radial-gradient(120% 100% at 85% 100%, rgba(0, 194, 178, .4), transparent 60%),
    var(--bg-2);
}
.project-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(10, 10, 10, .94) 100%);
  pointer-events: none;
}
.project-card-index {
  position: absolute; top: 1.25rem; left: 1.25rem; z-index: 1;
  font-family: var(--mono); font-size: .78rem; color: var(--ink-mute);
}
.project-card-info {
  position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; z-index: 1;
  display: flex; flex-direction: column; gap: .65rem;
}
.project-card-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  color: var(--ink);
  transition: color .3s var(--ease-out);
}
.project-card:hover .project-card-title { color: var(--accent); }
.project-card-meta { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.project-card-role { font-size: .78rem; color: var(--ink-soft); }

/* Project modal (popup) */
.project-modal {
  position: fixed; inset: 0; border: 0; padding: 0; margin: 0; background: transparent;
  width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh;
}
.project-modal::backdrop { background: rgba(6, 5, 4, .74); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.project-modal-panel {
  position: relative; margin: 6vh auto; width: min(880px, 92vw); max-height: 88vh;
  display: flex; flex-direction: column;
  background: var(--bg-2); color: var(--ink); border: 1px solid var(--line); border-radius: 20px;
  opacity: 0; transform: translateY(28px) scale(.97);
  transition: opacity .45s var(--ease-soft), transform .45s var(--ease-soft);
}
.project-modal-panel.is-in { opacity: 1; transform: none; }
.project-modal-close {
  position: absolute; top: 1.25rem; right: 1.25rem; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card); border: 1px solid var(--line);
  transition: border-color .3s, color .3s;
}
.project-modal-close:hover { border-color: var(--accent); color: var(--accent); }
.project-modal-body { overflow-y: auto; padding: 3.5rem clamp(1.5rem, 4vw, 3.5rem) 3rem; }
.modal-project-eyebrow { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; margin-bottom: 1rem; }
.modal-project-role { font-size: .82rem; color: var(--ink-mute); }
.modal-project-title { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.6rem); margin-bottom: 1.25rem; }

.work-desc { max-width: 64ch; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.7; }
.work-desc + .yt-grid, .work-desc + .ig-card, .work-desc + .ig-grid { margin-top: 1.5rem; }
.work-subhead {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mute); margin: 2rem 0 1.1rem;
}

/* YouTube facade */
.yt-grid { display: grid; gap: 1rem; margin-top: 1.25rem; }
.yt-grid--highlight { grid-template-columns: 1fr; }
@media (min-width: 720px) { .yt-grid--highlight { grid-template-columns: 1fr 1fr; } }
.yt-grid--tracks { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 540px) { .yt-grid--tracks { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .yt-grid--tracks { grid-template-columns: repeat(5, 1fr); } }
.yt-grid--single { grid-template-columns: 1fr; max-width: 640px; }

.yt-item { display: flex; flex-direction: column; gap: .6rem; }
.yt-facade {
  position: relative; display: block; aspect-ratio: 16 / 9;
  overflow: hidden; border-radius: 10px; background: var(--bg-2);
}
.yt-facade-img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-soft), filter .5s; }
.yt-facade:hover .yt-facade-img { transform: scale(1.08); filter: saturate(1.2) brightness(.82); }
.yt-facade-play {
  position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(10, 10, 10, .55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  transition: transform .4s var(--ease-soft), background .3s;
}
.yt-facade-play::before {
  content: ""; width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--ink); margin-left: 3px;
}
.yt-facade:hover .yt-facade-play { transform: scale(1.12); background: var(--accent); }
.yt-facade--sm .yt-facade-play, .yt-facade--md .yt-facade-play { width: 38px; height: 38px; }
.yt-facade--sm .yt-facade-play::before, .yt-facade--md .yt-facade-play::before { border-width: 6px 0 6px 10px; }
.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-item-title { font-size: .85rem; font-weight: 500; display: block; }
.yt-item-role { font-size: .72rem; color: var(--ink-mute); display: block; }

/* Instagram card */
.ig-card {
  display: inline-flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.4rem; border: 1px solid var(--line); border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 90, 31, .09), rgba(0, 194, 178, .07));
  transition: border-color .3s, transform .4s var(--ease-soft);
}
.ig-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.ig-card-kicker { font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); }
.ig-card-title { font-weight: 500; }
.ig-card-arrow { margin-left: auto; transition: transform .35s var(--ease-soft); }
.ig-card:hover .ig-card-arrow { transform: translate(3px, -3px); }
.ig-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1.25rem; }
@media (min-width: 540px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }
.ig-grid--sm { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .ig-grid--sm { grid-template-columns: repeat(4, 1fr); } }
.ig-card--sm { padding: .85rem 1rem; font-size: .85rem; }

/* --- More work --- */
.more { padding: 7rem 6vw; border-top: 1px solid var(--line); }
.more-list { display: flex; flex-direction: column; gap: 3.5rem; }
.more-item-head { margin-bottom: 1.1rem; display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.more-item-title { font-family: var(--display); font-weight: 700; font-size: 1.5rem; }
.more-item-role { font-size: .82rem; color: var(--ink-mute); }
.more-item--split { display: grid; gap: 1.25rem; align-items: center; }
@media (min-width: 720px) {
  .more-item--split { grid-template-columns: 1fr 300px; }
  .more-item--split .more-item-head { margin-bottom: 0; }
}

/* --- Services --- */
.services { padding: 7rem 6vw; border-top: 1px solid var(--line); }
.services-list { display: grid; gap: 3rem; grid-template-columns: 1fr; margin-top: 1rem; }
@media (min-width: 960px) { .services-list { grid-template-columns: repeat(3, 1fr); gap: 3rem 2.5rem; } }
.service { border-top: 1px solid var(--line); padding-top: 1.75rem; }
.service-n { font-family: var(--mono); color: var(--accent); font-size: .85rem; }
.service-title { font-family: var(--display); font-weight: 700; font-size: 1.75rem; margin: .7rem 0 .9rem; }
.service-text { color: var(--ink-soft); line-height: 1.7; max-width: 38ch; }

/* --- Contact --- */
.contact { position: relative; overflow: hidden; text-align: center; padding: 8rem 6vw 6rem; border-top: 1px solid var(--line); }
.contact-gradient {
  position: absolute; inset: -20% -10%; z-index: -1;
  background:
    radial-gradient(45% 45% at 50% 30%, rgba(255, 90, 31, .22), transparent 70%),
    radial-gradient(40% 40% at 60% 70%, rgba(0, 194, 178, .16), transparent 70%);
  filter: blur(90px);
  pointer-events: none;
}
.contact-inner { position: relative; }
.contact-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  margin: .75rem 0 2.25rem;
}
.contact-title em { font-style: normal; font-weight: 800; color: var(--accent); }
.contact-email {
  display: inline-block;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.25rem, 4vw, 2.1rem);
  border-bottom: 1px solid var(--line); padding-bottom: .4rem;
  transition: border-color .3s, color .3s;
}
.contact-email:hover { border-color: var(--accent); color: var(--accent); }
.contact-links { display: flex; justify-content: center; gap: 2.75rem; margin-top: 3.25rem; flex-wrap: wrap; }
.contact-link { display: flex; flex-direction: column; gap: .3rem; }
.contact-link-label { font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); }
.contact-link-value { font-size: 1rem; position: relative; }
.contact-link-value::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.contact-link:hover .contact-link-value::after { transform: scaleX(1); transform-origin: left; }

/* --- Footer --- */
.footer {
  padding: 3rem 6vw 4rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-mute); font-size: .85rem;
}
.footer-brand { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.1rem; }

/* =============================================================
   7. Effects (reveals / split-text initial state set via JS)
   ============================================================= */
[data-reveal] {
  opacity: 0; transform: translateY(32px);
  transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* Hero intro elements — driven by initHeroIntro() as a timed sequence after
   the splash lifts, not by scroll. No CSS transition here: GSAP tweens these
   inline every frame, and a lingering transition would fight that (each tick
   would kick off its own .8s chase, producing mush). The no-GSAP fallback
   sets the end state instantly, which needs no transition either. */
[data-hero-reveal] { opacity: 0; transform: translateY(24px); }

/* =============================================================
   8. Responsive — see breakpoints inline per component above
   ============================================================= */
@media (min-width: 1600px) {
  .hero-inner { max-width: 1140px; }
}

/* =============================================================
   9. Reduced-motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-scroll-line::after { animation: none; }
  .splash { animation-duration: .01s; }
}
