/* ============================================================
   WIHMO — What if.. Hear Me Out · Studio landing
   ============================================================ */

:root {
  --bg:        #08080A;
  --bg-2:      #0E0E12;
  --fg:        #F2F0EA;
  --muted:     #8A8A92;
  --muted-2:   #5A5A62;
  --accent:    #D8FF3E;   /* acid lime */
  --accent-2:  #FF5C38;   /* coral */
  --line:      rgba(242, 240, 234, 0.12);
  --line-soft: rgba(242, 240, 234, 0.06);

  --ff-display: "Space Grotesk", system-ui, sans-serif;
  --ff-serif:   "Instrument Serif", Georgia, serif;
  --ff-body:    "Archivo", system-ui, sans-serif;

  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --ease: cubic-bezier(0.65, 0.05, 0.1, 1);

  --maxw: 1600px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img, canvas { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #000; }

.serif-i { font-family: var(--ff-serif); font-style: italic; font-weight: 400; }

/* ---------- Grain & noise ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none; z-index: 9000;
  opacity: 0.04; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.6s steps(2) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(-3%, 2%); }
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: flex; align-items: flex-end;
  padding: var(--pad);
}
.preloader__inner { width: 100%; }
.preloader__row {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 1.2rem;
}
.preloader__label { font-family: var(--ff-serif); font-style: italic; font-size: clamp(1.5rem, 5vw, 3rem); color: var(--muted); }
.preloader__count {
  font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(3rem, 16vw, 11rem); line-height: 0.85;
  letter-spacing: -0.04em;
}
.preloader__count i { font-style: normal; font-size: 0.3em; color: var(--accent); margin-left: 0.1em; }
.preloader__bar { height: 2px; width: 100%; background: var(--line); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0%; background: var(--accent); }

body.is-loading { overflow: hidden; height: 100vh; }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 9500;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  display: flex; align-items: center; justify-content: center;
  transition: width .35s var(--ease), height .35s var(--ease), background .3s;
  will-change: transform;
}
.cursor__label {
  font-family: var(--ff-display); font-size: 0.72rem; font-weight: 600;
  color: #000; text-transform: uppercase; letter-spacing: 0.04em;
  opacity: 0; transform: scale(0.6); transition: opacity .3s, transform .3s;
  white-space: nowrap; mix-blend-mode: normal;
}
.cursor.is-hover { width: 84px; height: 84px; mix-blend-mode: normal; }
.cursor.is-hover .cursor__label { opacity: 1; transform: scale(1); }
/* magnetic inverse lock on navbar — text shows through */
.cursor.is-locked {
  background: var(--accent); border-radius: 100px; mix-blend-mode: difference;
  transition: width .4s var(--ease), height .4s var(--ease), border-radius .35s var(--ease), background .3s;
}
.cursor.is-locked .cursor__label { opacity: 0; }
/* invert against lime-flood backgrounds (capabilities, CTA) so the ball + text stay visible */
.cursor.is-hover.is-invert { mix-blend-mode: difference; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem var(--pad);
}
/* Logo, wordmark and links all use the difference flip, so they invert against
   whatever colour sits behind them and stay legible over any section. */
.nav__brand { display: flex; align-items: center; gap: 0.6rem; }
.nav__mark { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; mix-blend-mode: difference; }
.nav__mark img { width: 100%; height: 100%; object-fit: contain; filter: invert(1); }
.nav__wordmark { font-family: var(--ff-display); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; mix-blend-mode: difference; }
.nav__wordmark i { color: var(--accent); font-style: normal; }

.nav__menu { display: flex; align-items: center; gap: 0.4rem; mix-blend-mode: difference; }
.nav__link {
  font-family: var(--ff-display); font-size: 0.92rem; font-weight: 500;
  padding: 0.5rem 0.9rem; position: relative; overflow: hidden;
}
.nav__link span { display: inline-block; transition: transform .4s var(--ease); }
.nav__link::after {
  content: attr(data-x); position: absolute;
}
.nav__link:hover span { transform: translateY(-2px); }
.nav__link--cta {
  border: 1.5px solid var(--fg); border-radius: 100px; padding: 0.5rem 1.2rem;
}
.nav__burger { display: none; mix-blend-mode: difference; }

/* language toggle */
.lang-toggle { display: inline-flex; align-items: center; gap: 0.05rem; margin-left: 0.5rem; font-family: var(--ff-display); font-size: 0.82rem; font-weight: 500; }
.lang-toggle button { color: var(--muted-2); letter-spacing: 0.05em; transition: color .3s; padding: 0.5rem 0.7rem; border-radius: 100px; }
.lang-toggle button.is-active { color: var(--fg); }
.lang-toggle button:hover { color: var(--accent); }
.lang-toggle .sep { color: var(--muted-2); }
.mobile-menu .lang-toggle { margin-left: 0; font-size: 1.1rem; gap: 0.3rem; }
.mobile-menu .lang-toggle button { padding: 0.4rem 0.6rem; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--pad);
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}
.mobile-menu.is-open { pointer-events: auto; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 0.3rem; }
.mobile-menu__link {
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(2.4rem, 13vw, 4rem); line-height: 1.05; letter-spacing: -0.03em;
  display: flex; align-items: baseline; gap: 1rem;
}
.mobile-menu__link em {
  font-style: normal; font-family: var(--ff-body); font-size: 0.9rem;
  color: var(--accent); font-weight: 500;
}
.mobile-menu__foot { margin-top: 3rem; font-family: var(--ff-display); color: var(--muted); display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.mobile-menu__foot a { font-size: 1.1rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--pad);
  padding-bottom: clamp(1.5rem, 3vw, 3rem);
  overflow: hidden;
  isolation: isolate; /* stacking context so the title can difference-blend with the canvas */
}
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: -2;
}
.hero__noise {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at 70% 20%, transparent 40%, rgba(8,8,10,0.7) 100%);
}
.hero__content { position: relative; width: 100%; max-width: var(--maxw); margin: 0 auto; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--ff-display); font-size: 0.85rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.dot--live { background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(216,255,62,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(216,255,62,0); }
  100% { box-shadow: 0 0 0 0 rgba(216,255,62,0); }
}

.hero__title {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(3.4rem, 13vw, 13rem);
  line-height: 0.92; letter-spacing: -0.04em; text-transform: none;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  color: var(--fg); /* white over dark; dark invert where the blob passes behind */
  mix-blend-mode: difference;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .word { display: inline-block; will-change: transform; }
.hero__title .serif-i { font-weight: 400; font-size: 0.96em; }
.hero__title .dots { color: var(--accent); }
.hero__title .out { position: relative; }
.hero__arrow {
  font-family: var(--ff-body); font-size: 0.28em; vertical-align: super;
  color: var(--accent); margin-left: 0.1em;
}

.hero__bottom {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.hero__lede {
  max-width: 38ch; font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: var(--fg); line-height: 1.55;
}
.hero__lede em { font-family: var(--ff-serif); font-style: italic; color: var(--accent); }
.hero__cue {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--ff-display); font-weight: 500; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap;
}
.hero__cue-arrow { animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

.hero__meta {
  position: relative; z-index: 2; max-width: var(--maxw); margin: 1.5rem auto 0;
  width: 100%; display: flex; justify-content: space-between;
  font-family: var(--ff-display); font-size: 0.75rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  border-top: 1px solid var(--line); padding-top: 1rem;
}
.hero__meta-mid { color: var(--muted-2); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 1.4rem 0; overflow: hidden; background: var(--bg);
}
.marquee__track {
  display: flex; align-items: center; gap: 2.5rem; white-space: nowrap;
  width: max-content; will-change: transform;
}
.marquee__track span {
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 3rem); letter-spacing: -0.02em; text-transform: uppercase;
}
.marquee__track .sep {
  display: inline-block; width: 0.6em; height: 0.6em; vertical-align: middle;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M12%200C12.7%206.6%2017.4%2011.3%2024%2012C17.4%2012.7%2012.7%2017.4%2012%2024C11.3%2017.4%206.6%2012.7%200%2012C6.6%2011.3%2011.3%206.6%2012%200Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M12%200C12.7%206.6%2017.4%2011.3%2024%2012C17.4%2012.7%2012.7%2017.4%2012%2024C11.3%2017.4%206.6%2012.7%200%2012C6.6%2011.3%2011.3%206.6%2012%200Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ============================================================
   SECTION TAG
   ============================================================ */
.section-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--ff-display); font-size: 0.85rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
}
.section-tag i { font-style: normal; color: var(--accent); }

/* ============================================================
   STUDIO / MANIFESTO
   ============================================================ */
.studio { padding: clamp(5rem, 12vw, 10rem) var(--pad); max-width: var(--maxw); margin: 0 auto; }
.studio__head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.studio__intro { display: flex; gap: clamp(2rem, 6vw, 6rem); align-items: center; margin-bottom: clamp(3rem, 7vw, 6rem); }
.studio__statement {
  font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(1.6rem, 4.2vw, 3.4rem); line-height: 1.18; letter-spacing: -0.02em;
  max-width: 24ch;
}
/* spotlight: the logo only appears under the cursor (imagination revealed by attention) */
.studio__spotlight {
  flex: 1; align-self: center; min-height: 220px; position: relative;
  --mx: -400px; --my: -400px;
  -webkit-mask-image: radial-gradient(circle 150px at var(--mx) var(--my), #000 22%, transparent 70%);
  mask-image: radial-gradient(circle 150px at var(--mx) var(--my), #000 22%, transparent 70%);
}
.studio__spotlight img {
  position: absolute; inset: 0; margin: auto; height: 78%; width: auto; max-width: 100%;
  object-fit: contain; filter: invert(1); opacity: 0.9;
}
.studio__statement .hl { color: var(--accent); }
.studio__statement .serif-i { color: var(--fg); }
.studio__statement .word-w { display: inline-block; }
.studio__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 5rem); max-width: 1000px; margin-left: auto;
}
.studio__col summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-bottom: 0.8rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--line);
}
.studio__col summary::-webkit-details-marker { display: none; }
.studio__col h3 { font-family: var(--ff-display); font-weight: 600; font-size: 1.1rem; margin: 0; }
.studio__col summary::after {
  content: ""; width: 8px; height: 8px; flex: none; margin-right: 2px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .35s var(--ease);
}
.studio__col[open] summary::after { transform: rotate(-135deg); }
.studio__col p { color: var(--muted); font-size: 1.05rem; line-height: 1.6; max-width: 42ch; }
/* On desktop both panels stay open and the headers are not interactive */
@media (min-width: 769px) {
  .studio__col summary { cursor: default; pointer-events: none; }
  .studio__col summary::after { display: none; }
}

/* ============================================================
   WORK
   ============================================================ */
.work { padding: clamp(3rem, 6vw, 5rem) var(--pad) clamp(5rem, 10vw, 8rem); max-width: var(--maxw); margin: 0 auto; }
.work__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem; margin-bottom: clamp(2rem, 5vw, 4rem);
}
.work__title {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 6rem); line-height: 0.92; letter-spacing: -0.03em;
}

.work__list { border-top: 1px solid var(--line); }
.project { border-bottom: 1px solid var(--line); }
/* "show more" pill — only used on mobile (desktop shows all work) */
.work__more {
  display: none; align-items: center; gap: 0.5rem; margin: clamp(2rem, 5vw, 3rem) auto 0;
  padding: 0.85rem 1.6rem; border: 1.5px solid var(--fg); border-radius: 100px;
  font-family: var(--ff-display); font-weight: 600; font-size: 0.95rem;
  background: none; color: var(--fg); cursor: pointer; transition: background .3s, color .3s;
}
.work__more:hover { background: var(--fg); color: #000; }
.work__more-arrow { color: var(--accent); transition: color .3s; }
.work__more:hover .work__more-arrow { color: #000; }
.project__link {
  display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  position: relative; transition: padding .5s var(--ease);
}
.project__link:hover { padding-left: 1.5rem; padding-right: 1.5rem; }

.project__media {
  position: relative; aspect-ratio: 16 / 10; border-radius: 10px;
  overflow: hidden; transform: scale(0.97); transition: transform .6s var(--ease);
}
.project__link:hover .project__media { transform: scale(1); }
.project__media[data-grad="1"] { background: linear-gradient(135deg, #1a2e05, #4d7c0f 40%, #D8FF3E); }
.project__media[data-grad="2"] { background: linear-gradient(135deg, #2a0a05, #b91c1c 40%, #FF5C38); }
.project__media[data-grad="3"] { background: linear-gradient(135deg, #1a103a, #6d28d9 45%, #7C5CFF); }
.project__media[data-grad="4"] { background: linear-gradient(135deg, #052a30, #0891b2 40%, #3EE8FF); }
.project__media[data-grad="5"] { background: linear-gradient(135deg, #3a0820, #be185d 42%, #FF4D8D); }
.project__media[data-grad="6"] { background: linear-gradient(135deg, #2e1a02, #b45309 42%, #FFB23E); }
.project__media[data-grad="7"] { background: linear-gradient(135deg, #04241c, #0f766e 42%, #2BD9A8); }
.project__shape {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(40% 60% at 30% 30%, rgba(255,255,255,0.35), transparent 60%),
    radial-gradient(50% 50% at 75% 70%, rgba(0,0,0,0.4), transparent 60%);
  mix-blend-mode: overlay;
  transition: transform 1s var(--ease), opacity .4s;
}
.project__link:hover .project__shape { transform: scale(1.15) rotate(8deg); }
/* Real screenshot: cover the gradient, retire the decorative overlay */
.project__img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transform: scale(1.02); filter: grayscale(1) contrast(1.02) brightness(0.95);
  transition: transform .6s var(--ease), filter .6s var(--ease);
}
.project__link:hover .project__img { transform: scale(1.08); filter: grayscale(0) contrast(1) brightness(1); }
.project__media.has-img .project__shape { opacity: 0; }

/* Touch / no-hover devices: there is no hover, so present the "hover" state up front.
   Selected work shows in full colour, and the cards sit at full size. */
@media (hover: none), (pointer: coarse) {
  .project__media { transform: scale(1); }
  .project__img { filter: grayscale(0) contrast(1) brightness(1); transform: scale(1.02); }
}

.project__info { padding-right: clamp(0, 4vw, 3rem); }
.project__meta {
  display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; flex-wrap: wrap;
  font-family: var(--ff-display); font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted);
}
.project__index { color: var(--accent); }
.project__tier {
  display: inline-block; margin-top: 1.1rem; color: var(--accent);
  border: 1px solid rgba(216,255,62,0.45); border-radius: 100px;
  padding: 0.3rem 0.85rem; white-space: nowrap;
  font-family: var(--ff-display); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em;
}
.project__name {
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -0.02em;
  margin-bottom: 0.7rem; transition: color .3s;
}
.project__link:hover .project__name { color: var(--accent); }
.project__desc { color: var(--muted); max-width: 40ch; font-size: 1rem; line-height: 1.5; }
.project__year { display: none; }

/* ============================================================
   STATS
   ============================================================ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  max-width: var(--maxw); margin: 0 auto;
}
.stat {
  padding: clamp(2.5rem, 6vw, 5rem) var(--pad);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.4rem;
}
.stat:last-child { border-right: none; }
.stat__value { display: flex; align-items: baseline; }
.stat__num {
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(3rem, 7vw, 5.5rem); line-height: 0.9; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat__plus { font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.5rem,3vw,2.5rem); color: var(--accent); }
.stat__label { font-size: 0.9rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-family: var(--ff-display); }

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: clamp(5rem, 12vw, 10rem) var(--pad); max-width: var(--maxw); margin: 0 auto; }
.services__head { margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.services__title {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.03em;
  margin-top: 1.2rem; max-width: 18ch;
}
.services__list { border-top: 1px solid var(--line); }
.service { border-bottom: 1px solid var(--line); }
.service__heading { margin: 0; }

/* clickable header row */
.service__head {
  display: grid; grid-template-columns: auto 1fr 1.3fr auto; align-items: center;
  gap: clamp(1rem, 3vw, 3rem); width: 100%; text-align: left; font: inherit;
  color: var(--fg); background: none; border: 0; cursor: pointer;
  padding: clamp(1.8rem, 4vw, 3rem) clamp(0.5rem, 1.5vw, 1.2rem);
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease);
}
.service__head::before {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1;
}
@media (hover: hover) {
  .service__head:hover { color: #000; }
  .service__head:hover::before { transform: translateY(0); }
  .service__head:hover .service__no { color: #000; }
  .service__head:hover .service__desc { color: rgba(0,0,0,0.7); }
  .service__head:hover .service__toggle::before,
  .service__head:hover .service__toggle::after { background: #000; }
}
.service__head:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.service__no { font-family: var(--ff-display); color: var(--accent); font-size: 0.9rem; transition: color .4s; }
.service__name { font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.5rem, 3.5vw, 2.6rem); letter-spacing: -0.02em; }
.service__head .service__desc { color: var(--muted); max-width: 40ch; line-height: 1.45; transition: color .4s; }
.service.is-open .service__no { color: var(--accent); }

/* +/- toggle */
.service__toggle { position: relative; width: clamp(1.3rem, 3vw, 1.9rem); height: clamp(1.3rem, 3vw, 1.9rem); flex: none; justify-self: end; }
.service__toggle::before, .service__toggle::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--fg);
  transition: transform .45s var(--ease), background .4s;
}
.service__toggle::before { width: 100%; height: 2px; transform: translate(-50%, -50%); }
.service__toggle::after  { width: 2px; height: 100%; transform: translate(-50%, -50%); }
.service.is-open .service__toggle::after { transform: translate(-50%, -50%) scaleY(0); }

/* expandable panel (grid-rows 0fr -> 1fr) */
.service__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.service.is-open .service__panel { grid-template-rows: 1fr; }
.service__panel-clip { overflow: hidden; min-height: 0; }
.service__panel-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding: clamp(0.5rem, 1.5vw, 1.2rem) clamp(0.5rem, 1.5vw, 1.2rem) clamp(2.5rem, 6vw, 4.5rem);
  padding-left: clamp(2.4rem, 6vw, 5.5rem);
}
.service__long { color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.22rem); line-height: 1.62; max-width: 46ch; }
.service__points { list-style: none; margin-top: clamp(1.2rem, 2vw, 1.8rem); display: flex; flex-direction: column; gap: 0.7rem; }
.service__points li { position: relative; padding-left: 1.4rem; font-family: var(--ff-display); font-size: 0.98rem; color: var(--fg); }
.service__points li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }

.service__media {
  position: relative; margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3;
  border: 1px solid var(--line); display: grid; place-items: center;
  background: radial-gradient(130% 130% at 28% 18%, rgba(216,255,62,0.10), transparent 58%), var(--bg-2);
}
.service__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.service__media.has-img img { opacity: 1; }
.service__media.has-img .service__media-ph { display: none; }
.service__media-ph {
  font-family: var(--ff-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem;
  color: var(--muted-2); border: 1px dashed var(--line); padding: 0.5rem 0.9rem; border-radius: 100px;
}

/* ============================================================
   TESTIMONIALS / VOICES
   ============================================================ */
.voices {
  position: relative; overflow: hidden;
  padding: clamp(5rem, 12vw, 10rem) var(--pad);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.voices__inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; }
/* gradient aura echoing the hero blob (lime -> coral over dark) */
.voices__orb {
  position: absolute; z-index: 0; pointer-events: none;
  top: 50%; left: 50%; width: min(120vw, 1100px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(closest-side, rgba(216, 255, 62, 0.20), rgba(216, 255, 62, 0) 70%) -18% 30% / 70% 70% no-repeat,
    radial-gradient(closest-side, rgba(255, 92, 56, 0.20), rgba(255, 92, 56, 0) 70%) 115% 70% / 75% 75% no-repeat;
  filter: blur(48px); opacity: 0.85;
  will-change: transform;
  animation: voicesDrift 22s ease-in-out infinite alternate;
}
@keyframes voicesDrift {
  0%   { transform: translate(-52%, -50%) scale(1); }
  100% { transform: translate(-48%, -54%) scale(1.08); }
}
.voices__head { margin-bottom: clamp(3rem, 7vw, 5.5rem); }
.voices__title {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.03em;
  margin-top: 1.2rem; max-width: 16ch;
}
.voices__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}
.voice {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--line); border-radius: 14px;
  background: rgba(242, 240, 234, 0.025);
  overflow: hidden;
  transition: border-color .4s var(--ease), transform .4s var(--ease), background .4s var(--ease);
}
/* gradient hairline that lights up on hover */
.voice::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s var(--ease); pointer-events: none;
}
.voice:hover { transform: translateY(-4px); background: rgba(242, 240, 234, 0.045); }
.voice:hover::before { opacity: 0.9; }
.voice__mark {
  font-family: var(--ff-serif); font-style: italic; font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.4; color: var(--accent); margin-bottom: 1.5rem; display: block;
}
.voice__text {
  font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(1.2rem, 2.1vw, 1.6rem); line-height: 1.4; letter-spacing: -0.01em;
  color: var(--fg); margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  flex: 1;
}
.voice__hl {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.voice__by { display: flex; align-items: center; gap: 0.85rem; font-family: var(--ff-display); }
.voice__dot {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(216, 255, 62, 0.5);
}
.voice__who { display: flex; flex-direction: column; line-height: 1.2; }
.voice__who b { color: var(--fg); font-weight: 600; font-size: 1rem; }
.voice__role { color: var(--muted); font-size: 0.85rem; }
.voice__project {
  margin-left: auto; color: var(--muted); font-size: 0.85rem; font-weight: 500;
  white-space: nowrap; border-bottom: 1px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.voice__project:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 768px) {
  .voices__grid { grid-template-columns: 1fr; }
  .voices__orb { filter: blur(36px); }
}
@media (prefers-reduced-motion: reduce) {
  .voices__orb { animation: none; }
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  padding: clamp(6rem, 14vw, 12rem) var(--pad);
  text-align: center; position: relative; overflow: hidden;
}
.cta__inner { max-width: var(--maxw); margin: 0 auto; }
.cta__kicker {
  font-family: var(--ff-display); font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--muted); margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.cta__big {
  display: block; font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(3rem, 15vw, 13rem); line-height: 0.88; letter-spacing: -0.04em;
}
.cta__line { display: block; transition: transform .5s var(--ease); }
.cta__big:hover .cta__line { transform: translateX(0); }
.cta__big .serif-i { font-weight: 400; }
.cta__big:hover .cta__line:first-child { color: var(--accent); }
.cta__star { color: var(--accent); font-size: 0.4em; vertical-align: super; }
/* ----- Contact form ----- */
.contact {
  max-width: 640px; margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  text-align: left;
}
.contact__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.contact__field { display: block; margin-bottom: 1.25rem; }
.contact__grid .contact__field { margin-bottom: 0; }
.contact__label {
  display: block; font-family: var(--ff-display); font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg);
  margin-bottom: 0.5rem;
}
.contact input,
.contact textarea {
  width: 100%; background: rgba(242, 240, 234, 0.07); color: var(--fg);
  border: 1px solid var(--line); border-radius: 4px;
  font-family: var(--ff-body); font-size: 1rem;
  padding: 0.85rem 1rem; transition: border-color .25s var(--ease), background .25s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.contact textarea { resize: vertical; min-height: 7rem; }
.contact input::placeholder,
.contact textarea::placeholder { color: var(--muted-2); }
.contact input:focus,
.contact textarea:focus {
  outline: none; border-color: var(--accent); background: rgba(242, 240, 234, 0.11);
}
/* Honeypot: hide from humans, keep reachable for bots */
.contact__hp {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden;
}
.contact__actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(1rem, 4vw, 2.5rem); flex-wrap: wrap; margin-top: 0.5rem;
}
.contact__submit {
  font-family: var(--ff-display); font-weight: 600; font-size: 1rem;
  background: var(--accent); color: #000; border: 0; border-radius: 100px;
  padding: 0.9rem 2rem; cursor: pointer;
  transition: transform .25s var(--ease), opacity .25s var(--ease), filter .25s var(--ease);
}
.contact__submit:hover { filter: brightness(1.08); transform: translateY(-1px); }
.contact__submit:disabled { opacity: 0.55; cursor: default; transform: none; filter: none; }
.contact__status {
  font-family: var(--ff-display); font-size: 0.95rem; color: var(--muted);
  margin-top: 1.25rem; min-height: 1.2em; opacity: 0;
  transition: opacity .25s var(--ease);
}
.contact__status.is-visible { opacity: 1; }
.contact__status.is-success { color: var(--accent); }
.contact__status.is-error { color: var(--accent-2); }
@media (max-width: 560px) {
  .contact__grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .contact__actions { flex-direction: column; align-items: flex-start; }
  .contact__submit { width: 100%; }
}
.cta__avail {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--ff-display); font-size: 0.9rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.05em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 7vw, 5rem) var(--pad) 2rem;
  background: var(--bg-2);
}
.footer__top { margin-bottom: clamp(3rem, 7vw, 5rem); }
.footer__logo { font-size: clamp(2rem, 7vw, 5rem); display: block; line-height: 1; margin-bottom: 1rem; }
.footer__tag { color: var(--muted); font-size: 1.1rem; }
.footer__cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; padding-bottom: clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--line);
}
/* Homepage footer has 2 columns (no socials) — balance them, don't leave a gap.
   Desktop only; mobile stacks to a single column below. */
@media (min-width: 769px) {
  .footer__cols:has(.footer__col:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
  }
}
.footer__col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__h { font-family: var(--ff-display); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); margin-bottom: 0.4rem; }
.footer__col a { font-family: var(--ff-display); font-size: 1.05rem; transition: color .3s, padding-left .3s var(--ease); width: fit-content; }
.footer__col a:hover { color: var(--accent); padding-left: 0.4rem; }
.footer__loc { font-family: var(--ff-display); font-size: 1.05rem; color: var(--muted); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; padding-top: 2rem;
  font-family: var(--ff-display); font-size: 0.85rem; color: var(--muted);
}
.footer__back:hover { color: var(--accent); }

/* ============================================================
   REVEAL ANIMATION HELPERS
   ============================================================ */
.reveal-line, .reveal { will-change: transform, opacity; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .studio__intro { display: block; }
  .studio__spotlight { display: none; }
  .studio__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 768px) {
  .nav__menu { display: none; }
  .nav__burger {
    display: flex; flex-direction: column; gap: 6px; width: 44px; height: 44px;
    align-items: center; justify-content: center;
  }
  .nav__burger span { display: block; width: 26px; height: 2px; background: var(--fg); transition: transform .4s var(--ease), opacity .3s; }
  .nav__burger.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__burger.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .hero { justify-content: flex-end; padding-top: 6rem; }
  /* On mobile the eyebrow sits below the main title */
  .hero__content { display: flex; flex-direction: column; }
  .hero__title { order: 0; margin-bottom: clamp(1rem, 4vw, 1.6rem); }
  .hero__eyebrow { order: 1; margin: 0 0 clamp(1.6rem, 5vw, 2.4rem); }
  .hero__bottom { order: 2; }
  .hero__noise {
    background:
      linear-gradient(to bottom, transparent 0%, rgba(8,8,10,0.35) 22%, var(--bg) 42%, var(--bg) 100%);
  }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .hero__meta { font-size: 0.65rem; }
  .hero__meta-mid { display: none; }

  .project__link { grid-template-columns: 1fr; gap: 1.2rem; }
  .project__media { order: -1; }
  /* mobile: show first 4 work cards, reveal the rest with the pill */
  .work__list:not(.is-expanded) .project--more { display: none; }
  .work__more { display: flex; }
  .work__more.is-hidden { display: none; }

  .service__head { grid-template-columns: auto 1fr auto; }
  .service__head .service__desc { display: none; }
  .service__panel-grid { grid-template-columns: 1fr; gap: 1.5rem; padding-left: clamp(0.5rem, 1.5vw, 1.2rem); }
  .service__media { order: -1; }

  .footer__cols { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .hero__title { font-size: clamp(3rem, 16vw, 5rem); }
}

/* ============================================================
   PAGE TRANSITION (organic lime blob — echoes the hero sphere)
   ============================================================ */
.pt {
  position: fixed; inset: 0; z-index: 10050; pointer-events: none;
  background: var(--bg); display: grid; place-items: center; overflow: hidden;
  padding: var(--pad);
  clip-path: inset(0 0 100% 0); -webkit-clip-path: inset(0 0 100% 0);
  transition: clip-path 0.78s cubic-bezier(0.76, 0, 0.24, 1), -webkit-clip-path 0.78s cubic-bezier(0.76, 0, 0.24, 1);
}
.pt.is-active { pointer-events: auto; }
.pt.notrans, .pt.notrans * { transition: none !important; }
.pt__line {
  font-family: var(--ff-serif); font-style: italic; color: var(--fg);
  text-align: center; font-size: clamp(2rem, 5.5vw, 4.4rem); line-height: 1.12;
  letter-spacing: -0.01em; max-width: 20ch;
  opacity: 0; transform: translateY(26px);
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.55s ease;
}
.pt__dots { font-style: italic; }
.pt.show .pt__line { opacity: 1; transform: translateY(0); }
.pt.out .pt__line { opacity: 0; transform: translateY(-18px); }
/* back-to-main: original preloader (counts to 100%) */
.pt__load { display: none; position: absolute; left: 0; right: 0; bottom: 0; padding: var(--pad); }
.pt.pt--in .pt__load { display: block; }
.pt.pt--in .pt__line { display: none; }
.pt__loadrow { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.1rem; }
.pt__loadlabel { font-family: var(--ff-serif); font-style: italic; color: var(--muted); font-size: clamp(1.3rem, 4vw, 2.6rem); line-height: 1.1; max-width: 62%; }
.pt__loadlabel b { color: var(--fg); font-style: italic; font-weight: 400; }
.pt__loadcount { flex: none; display: flex; align-items: baseline; font-family: var(--ff-display); font-weight: 500; font-size: clamp(3rem, 15vw, 10rem); line-height: 0.82; letter-spacing: -0.04em; }
.pt__loadcount i { font-style: normal; font-size: 0.3em; color: var(--accent); margin-left: 0.08em; }
.pt__loadbar { height: 2px; width: 100%; background: var(--line); overflow: hidden; }
.pt__loadbar span { display: block; height: 100%; width: 0%; background: var(--accent); }
html.pt-arrive::after { content: ""; position: fixed; inset: 0; background: var(--bg); z-index: 10040; }
/* on an internal arrival, never let the first-load preloader flash on top of the transition */
html.pt-arrive .preloader { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .pt { display: none !important; }
  html.pt-arrive::after { display: none !important; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .grain, .hero__cue-arrow, .dot--live { animation: none !important; }
}
