/* =============================================================================
   SHAGEE MEDIA — styles.css
   Light, warm, editorial. Palette + mood borrowed from seasats.com.
   Scroll motif: a pinned iPhone whose screen cycles through the work.
   ========================================================================== */

/* --------------------------------- TOKENS ------------------------------- */
:root {
  --paper:        #FFFDFD;
  --paper-2:      #F5F2EE;
  --ink:          #232323;
  --ink-soft:     #5C5C57;
  --green:        #2B3922;
  --green-2:      #3C4E30;
  --green-soft:   #E3EDE4;
  --sand:         #D7C5BA;
  --line:         #E4E0D9;
  --line-strong:  #CBC5BB;

  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1240px;
  --pad:  clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------- RESET ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* clip (not hidden) so it doesn't create a scroll container that breaks
     position: sticky on iOS; hidden is the fallback for older browsers */
  overflow-x: hidden;
  overflow-x: clip;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }

::selection { background: var(--green); color: var(--paper); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.mono {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1, h2, .contact-title {
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.04;
}

/* --------------------------------- SKIP LINK -------------------------- */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 1200;
  transform: translateY(-160%);
  background: var(--green); color: var(--paper);
  padding: 10px 16px; font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

/* --------------------------------- HEADER --------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 253, 253, 0.82);
  backdrop-filter: blur(12px) saturate(150%);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 74px;
  transition: height 0.3s var(--ease);
}
.scrolled .header-inner { height: 62px; }

.brand-logo {
  height: 34px; width: auto;
  filter: brightness(0);
  opacity: 0.9;
  transition: height 0.3s var(--ease);
}
.scrolled .brand-logo { height: 28px; }

.header-right { display: flex; align-items: center; gap: 16px; }
.lang-toggle { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 0.7rem; color: var(--ink-soft); }
.lang-toggle button { padding: 4px 3px; color: var(--ink-soft); transition: color 0.2s var(--ease); }
.lang-toggle button.is-active { color: var(--green); }
.lang-toggle button:hover { color: var(--ink); }

.menu-btn {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.menu-btn:hover { background: var(--green); color: var(--paper); border-color: var(--green); }

.sound-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--ink-soft); background: var(--paper);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.sound-btn:hover { color: var(--ink); border-color: var(--ink-soft); }
.sound-btn.is-on { color: var(--green); border-color: var(--green); }
.sound-btn svg { width: 17px; height: 17px; }
.sound-btn .icon-on { display: none; }
.sound-btn.is-on .icon-on { display: block; }
.sound-btn.is-on .icon-off { display: none; }
@media (max-width: 480px) { .header-right { gap: 12px; } .sound-btn { width: 34px; height: 34px; } }

/* --------------------------------- MENU OVERLAY ------------------- */
.overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--paper);
  display: grid; place-items: center;
  animation: fade 0.28s var(--ease);
}
.overlay[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.overlay-inner { width: min(680px, 88vw); }
.overlay-close {
  position: absolute; top: 24px; right: var(--pad);
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 9px 18px; border: 1px solid var(--line-strong); border-radius: 999px;
}
.overlay-close:hover { background: var(--green); color: var(--paper); border-color: var(--green); }
.overlay nav { display: flex; flex-direction: column; gap: 6px; }
.overlay nav a {
  font-size: clamp(2rem, 7vw, 3.6rem); font-weight: 550; letter-spacing: -0.02em;
  padding: 6px 0; color: var(--ink);
  transition: color 0.2s var(--ease), padding-left 0.25s var(--ease);
}
.overlay nav a:hover { color: var(--green); padding-left: 14px; }
.overlay-foot { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px 26px; color: var(--ink-soft); }
.overlay-foot a:hover { color: var(--green); }

/* --------------------------------- PHONE COMPONENT --------------- */
.phone { width: clamp(196px, 23vw, 292px); }
.phone-body {
  position: relative;
  aspect-ratio: 9 / 19.5;
  background: linear-gradient(155deg, #33322f 0%, #14140f 46%, #050504 100%);
  border-radius: 14% / 6.4%;
  padding: 3.2%;
  box-shadow:
    0 44px 90px -34px rgba(35, 30, 24, 0.5),
    0 14px 34px -12px rgba(35, 30, 24, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    inset 0 0 22px rgba(0, 0, 0, 0.5);
}
.phone-body::before, .phone-body::after {
  content: ""; position: absolute; width: 2.4px; background: #1c1c18; border-radius: 2px;
}
.phone-body::before { left: -2.4px; top: 22%; height: 8%; box-shadow: 0 12% 0 #1c1c18; }
.phone-body::after  { right: -2.4px; top: 30%; height: 12%; }
.phone-screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 11% / 4.9%;
  overflow: hidden; background: #000;
}
.phone-screen video, .phone-screen .ph-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
/* two stacked layers for a cross-fade between chapter clips */
.phone-screen .ps-video { opacity: 0; transition: opacity 0.6s ease; will-change: opacity; }
.phone-screen .ps-video.is-front { opacity: 1; }
.phone-screen .ph-fallback {
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--green-2), var(--green));
  color: rgba(255,255,255,0.5); font-family: var(--mono); font-size: 0.7rem;
}
.phone-island {
  position: absolute; z-index: 3; top: 3.4%; left: 50%; transform: translateX(-50%);
  width: 30%; height: 3%; min-height: 11px;
  background: #000; border-radius: 999px;
}

/* --------------------------------- HERO -------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding-block: 140px 110px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 55% at 68% 40%, rgba(255, 255, 255, 0.6), transparent 70%),
    linear-gradient(178deg, #E8E5E7 0%, #EEE7DF 48%, #F4ECE2 78%, var(--paper) 100%);
}
.hero-inner { max-width: 62ch; }
.eyebrow { color: var(--green); margin-bottom: 26px; }
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  max-width: 15ch;
  margin-bottom: 26px;
}
.hero-sub { max-width: 44ch; color: var(--ink-soft); font-size: clamp(1rem, 1.4vw, 1.18rem); }

.hero-phone {
  position: absolute;
  right: clamp(-40px, 4vw, 90px);
  top: 50%;
  transform: translateY(-50%);
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(-50%) rotate(-3deg); }
  50%      { transform: translateY(calc(-50% - 16px)) rotate(-1deg); }
}
/* Scroll cue — a persistent, gentle "keep scrolling" nudge at the bottom */
.scroll-cue {
  position: fixed;
  left: 50%; bottom: max(16px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 500;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--ink-soft);
  opacity: 0.62;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.2s var(--ease);
}
.scroll-cue.gone { opacity: 0; transform: translateX(-50%) translateY(12px); pointer-events: none; }
.scroll-cue:hover { opacity: 1; color: var(--green); }
.scroll-cue .mono { font-size: 0.6rem; }
.scroll-cue-arrow {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(6px);
  animation: cueBounce 1.9s ease-in-out infinite;
}
@supports not (background: color-mix(in srgb, white, black)) {
  .scroll-cue-arrow { background: rgba(255, 253, 253, 0.85); }
}
@keyframes cueBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes bobm { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(0deg); } }
@media (max-width: 900px) {
  .hero { align-content: start; padding-top: 116px; padding-bottom: 96px; }
  .hero-phone {
    position: static; transform: none;
    justify-self: center;
    margin: 40px auto 0;
    width: clamp(180px, 52vw, 240px);
    animation: bobm 6s ease-in-out infinite;
  }
  .hero-inner { max-width: none; }
}

/* --------------------------------- SOUND HINT ------------------- */
.sound-wrap { position: relative; display: flex; }
.sound-hint {
  position: absolute;
  top: calc(100% + 12px);
  right: -4px;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 9px;
  box-shadow: 0 14px 30px -12px rgba(35, 30, 24, 0.45);
  animation: soundHintIn 0.45s var(--ease) both, soundHintNudge 1.9s ease-in-out 0.6s infinite;
}
.sound-hint[hidden] { display: none; }
.sound-hint::before {
  content: ""; position: absolute; top: -5px; right: 16px;
  width: 10px; height: 10px; background: var(--ink); transform: rotate(45deg);
}
.sound-hint-arrow { font-size: 0.9rem; line-height: 1; }
@keyframes soundHintIn { from { opacity: 0; transform: translateY(-8px); } }
@keyframes soundHintNudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* --------------------------------- PINNED ACT ------------------- */
.act { position: relative; height: 440vh; background: var(--paper); }
.act-sticky {
  position: sticky; top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid; place-items: center;
}
.act-stage { display: grid; place-items: center; }
.act-stage > * { grid-area: 1 / 1; place-self: center; }

.act-phone {
  position: relative; z-index: 2;
  --rot: 0deg; --tx: 0px; --sc: 1;
  transform: rotate(var(--rot)) translate3d(var(--tx), 0, 0) scale(var(--sc));
  transition: transform 0.35s var(--ease), opacity 0.5s var(--ease);
  will-change: transform;
}

/* MacBook — swaps in for chapter 04 (long-form) */
.act-laptop {
  z-index: 2;
  width: clamp(300px, 46vw, 544px);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.laptop-screen {
  aspect-ratio: 16 / 10;
  background: #0a0a0a;
  border: 12px solid #26241f;
  border-bottom: 0;
  border-radius: 18px 18px 4px 4px;
  overflow: hidden;
  box-shadow: 0 44px 90px -34px rgba(35, 30, 24, 0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
}
.laptop-screen video { width: 100%; height: 100%; object-fit: cover; }
.laptop-base {
  position: relative;
  height: clamp(9px, 1.3vw, 15px);
  margin: 0 -7.5%;
  border-radius: 0 0 15px 15px;
  background: linear-gradient(#dcdad5, #b0aca3 55%, #918d85);
  box-shadow: 0 20px 34px -16px rgba(35, 30, 24, 0.42);
}
.laptop-base::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 15%; height: clamp(4px, 0.7vw, 7px);
  background: #96938c; border-radius: 0 0 9px 9px;
}
.act-stage.is-laptop .act-phone { opacity: 0; transform: rotate(var(--rot)) scale(0.86); }
.act-stage.is-laptop .act-laptop { opacity: 1; transform: scale(1); }

.chapters { position: absolute; inset: 0; z-index: 3; }
.chapter {
  position: absolute; top: 50%;
  width: min(33ch, 38vw);
  opacity: 0;
  transform: translateY(-42%) translateY(26px);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
}
.chapter.side-left  { left: clamp(20px, 7vw, 116px); }
.chapter.side-right { right: clamp(20px, 7vw, 116px); text-align: right; }
.chapter.is-active { opacity: 1; transform: translateY(-42%); }
.chapter-label { color: var(--green); margin-bottom: 12px; }
.chapter h2 { font-size: clamp(1.5rem, 3.2vw, 2.6rem); }
.chapter p:last-child { margin-top: 12px; color: var(--ink-soft); max-width: 33ch; }
.chapter.side-right p:last-child { margin-left: auto; }

.act-progress {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  z-index: 4; display: flex; gap: 16px; color: var(--line-strong);
}
.act-progress li { transition: color 0.3s var(--ease); }
.act-progress li.is-active { color: var(--green); }

@media (max-width: 900px) {
  .act { height: 300vh; }
  .act-sticky { align-items: start; }
  .act-stage { margin-top: 11vh; }
  .act-phone { --tx: 0px !important; --rot: -3deg !important; width: clamp(170px, 44vw, 230px); }
  .act-laptop { width: clamp(230px, 82vw, 400px); }
  .act-sticky::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%;
    background: linear-gradient(0deg, var(--paper) 34%, rgba(255,253,253,0) 100%);
    z-index: 2;
  }
  .chapter,
  .chapter.side-left,
  .chapter.side-right {
    top: auto; bottom: 5vh; left: 50%; right: auto;
    width: min(92vw, 40ch); text-align: center;
    transform: translateX(-50%) translateY(16px);
  }
  .chapter.is-active,
  .chapter.side-left.is-active,
  .chapter.side-right.is-active { transform: translateX(-50%); }
  .chapter p:last-child, .chapter.side-right p:last-child { margin-left: auto; margin-right: auto; }
  .act-progress { bottom: auto; top: calc(12vh - 26px); }
}

/* --------------------------------- SECTION SHELL --------------- */
.section { padding-block: clamp(80px, 13vh, 168px); border-top: 1px solid var(--line); }
.section > .wrap > h2, .work-head h2 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); }

/* --------------------------------- WORK ------------------------ */
.work { padding-inline: 0; }
.work-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-bottom: 26px;
}
.hint { color: var(--ink-soft); }

.work-strip {
  display: flex; gap: 14px;
  overflow-x: auto;
  padding: 4px var(--pad) 22px;
  scroll-snap-type: x proximity;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.work-strip.dragging { cursor: grabbing; scroll-snap-type: none; }
.work-strip::-webkit-scrollbar { height: 6px; }
.work-strip::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.work-strip > li { flex: 0 0 auto; scroll-snap-align: start; }

.wcard { width: clamp(150px, 19vw, 208px); }
.wcard-btn {
  position: relative; display: block; width: 100%;
  aspect-ratio: 9 / 16; overflow: hidden;
  border-radius: 12px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.wcard-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px -26px rgba(35, 30, 24, 0.4);
}
.wcard-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease); }
.wcard-btn:hover img { transform: scale(1.05); }
.wcard-dur {
  position: absolute; top: 8px; right: 8px;
  font-family: var(--mono); font-size: 0.56rem; font-weight: 500; letter-spacing: 0.05em;
  color: #fff; background: rgba(20, 18, 16, 0.68); padding: 3px 6px; border-radius: 6px;
}
.wcard-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 11px 11px;
  background: linear-gradient(0deg, rgba(18, 16, 14, 0.86) 6%, rgba(18, 16, 14, 0.2) 62%, transparent);
  color: #fff; text-align: left;
}
.wcard-client { font-family: var(--mono); font-size: 0.56rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #E7DFAE; }
.wcard-title { font-size: 0.9rem; line-height: 1.15; margin-top: 3px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.wcard-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9);
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255, 253, 253, 0.9); color: var(--green);
  opacity: 0; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.wcard-btn:hover .wcard-play, .wcard-btn:focus-visible .wcard-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.wcard-play svg { width: 16px; height: 16px; margin-left: 2px; }
@media (hover: none) { .wcard-play { opacity: 0.9; } }

/* Long-form compact strip */
.longform-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.lf-card {
  position: relative; flex: 1 1 232px; max-width: 340px;
  aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px;
  border: 1px solid var(--line); background: var(--green-soft);
}
.lf-card .lf-btn { position: absolute; inset: 0; width: 100%; height: 100%; }
.lf-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: transform 0.55s var(--ease), opacity 0.3s; }
.lf-card:hover img { transform: scale(1.04); opacity: 1; }
.lf-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 40px; display: grid; place-items: center;
  background: var(--green); color: var(--paper); border-radius: 9px;
  transition: transform 0.2s var(--ease);
}
.lf-card:hover .lf-play { transform: translate(-50%, -50%) scale(1.06); }
.lf-play svg { width: 20px; height: 20px; margin-left: 2px; }
.lf-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 11px;
  background: linear-gradient(0deg, rgba(18, 16, 14, 0.82), transparent); color: #fff; }
.lf-kind { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.12em; text-transform: uppercase; color: #E7DFAE; }
.lf-title { font-size: 0.92rem; margin-top: 2px; }
.lf-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lf-card.is-spotify { background: var(--green-soft); }
.lf-card.is-spotify.embedded { aspect-ratio: auto; height: 232px; }
.lf-card.is-spotify.embedded iframe { position: static; height: 232px; }

/* --------------------------------- CLIENTS -------------------- */
.clients-body { max-width: 62ch; color: var(--ink-soft); margin-top: 18px; font-size: 1.05rem; }
.client-stats { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.client-stats > li {
  flex: 1 1 280px;
  border: 1px solid var(--line); border-radius: 16px; padding: 22px;
  background: var(--paper);
}
.cs-name { font-weight: 600; font-size: 1.1rem; }
.cs-nums { display: flex; gap: 28px; margin-top: 14px; }
.cs-nums div b { display: block; font-size: 1.55rem; font-weight: 600; color: var(--green); letter-spacing: -0.01em; }
.cs-nums div span { font-family: var(--mono); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.cs-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.cs-asof { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.cs-link { font-family: var(--mono); font-size: 0.64rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.cs-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------- ABOUT --------------------- */
.about-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-text h2 { margin-bottom: 22px; }
.about-text p { color: var(--ink-soft); margin-top: 16px; max-width: 52ch; }
.stats { border-top: 1px solid var(--line); }
.stats > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.stats dt { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.stats dd { font-size: 1.7rem; font-weight: 600; letter-spacing: -0.01em; }
@media (max-width: 820px) { .about-inner { grid-template-columns: 1fr; } }

/* --------------------------------- CONTACT ------------------- */
.contact-title { font-size: clamp(2rem, 5.5vw, 4rem); max-width: 18ch; margin-bottom: clamp(32px, 5vw, 56px); }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.contact-primary {
  display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
  padding: clamp(22px, 3.5vw, 38px);
  border: 1px solid var(--line-strong); border-radius: 16px; min-height: 172px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.contact-primary:hover { background: var(--green); color: var(--paper); transform: translateY(-3px); }
.contact-primary .mono { color: var(--ink-soft); transition: color 0.25s; }
.contact-primary:hover .mono { color: rgba(255, 253, 253, 0.7); }
.contact-email { font-size: clamp(1.2rem, 3vw, 1.9rem); font-weight: 550; letter-spacing: -0.01em; word-break: break-word; }
.socials { display: flex; flex-direction: column; justify-content: center; }
.socials a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 2px; border-bottom: 1px solid var(--line);
  color: var(--ink-soft); letter-spacing: 0.06em;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.socials a:hover { color: var(--green); padding-left: 10px; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }

/* --------------------------------- FOOTER ------------------- */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); padding-block: 40px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.footer-logo { height: 18px; opacity: 0.8; }
.footer-scroll { color: var(--ink-soft); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; color: var(--ink-soft); }
.footer-links a:hover { color: var(--green); }

/* --------------------------------- LIGHTBOX ---------------- */
.lightbox { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: clamp(16px, 4vw, 48px); }
.lightbox[hidden] { display: none; }
.lightbox-scrim { position: absolute; inset: 0; background: rgba(35, 30, 24, 0.55); backdrop-filter: blur(8px); }
.lightbox-body {
  position: relative;
  height: min(86svh, 92vw * 16 / 9);
  aspect-ratio: 9 / 16; max-width: 100%;
  animation: lbin 0.24s var(--ease);
}
@keyframes lbin { from { opacity: 0; transform: scale(0.95); } }
.lb-stage { position: absolute; inset: 0; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.5); }
.lb-stage video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.lb-close {
  position: absolute; top: -14px; right: -14px; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--green); color: var(--paper); z-index: 2;
  transition: transform 0.2s var(--ease);
}
.lb-close:hover { transform: rotate(90deg); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line-strong);
  transition: color 0.2s, border-color 0.2s;
}
.lb-nav:hover { color: var(--green); border-color: var(--green); }
.lb-prev { left: -60px; } .lb-next { right: -60px; }
.lb-caption { position: absolute; left: 0; right: 0; bottom: -32px; text-align: center; color: rgba(255,253,253,0.85); }
@media (max-width: 720px) {
  .lb-prev { left: 4px; } .lb-next { right: 4px; }
  .lb-close { top: 6px; right: 6px; }
  .lb-nav { background: rgba(255, 253, 253, 0.9); }
}

/* --------------------------------- REVEAL ------------------ */
.will-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.will-reveal.in { opacity: 1; transform: none; }

/* --------------------------------- REDUCED MOTION -------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .will-reveal { opacity: 1; transform: none; }
  .hero-phone { animation: none; transform: translateY(-50%); }
  .act { height: auto; }
  .act-sticky { position: static; height: auto; display: block; padding: 10vh 0; }
  .act-phone { position: static; margin: 0 auto 48px; transform: none; }
  .chapters { position: static; }
  .chapter {
    position: static; opacity: 1; transform: none;
    width: auto; max-width: 40ch; margin: 0 auto 56px; text-align: center;
  }
  .chapter.side-right { text-align: center; }
  .chapter p:last-child, .chapter.side-right p:last-child { margin-left: auto; margin-right: auto; }
  .act-progress { display: none; }
  .scroll-cue-arrow { animation: none; }
  .sound-hint { animation: soundHintIn 0.001ms both; }
}
