/* ============================================================
   Tokens
============================================================ */
:root {
  /* Color — warm cream + crisp white, dark ink, restrained purple, coral pop */
  --bg:          #f6f2ea;   /* warm cream — primary canvas */
  --bg-soft:     #ffffff;   /* pure white panels (cards, surfaces) */
  --bg-light:    #ffffff;   /* alt sections (about) */
  --bg-light-2:  #efe9dd;   /* deeper cream for borders / panels */

  --ink:         #14131c;   /* near-black */
  --ink-soft:    #5d5868;   /* warm gray for body */
  --ink-dark:    #14131c;   /* same as ink (was for light-on-dark sections, now unified) */
  --ink-dark-soft:#5d5868;

  --accent:      #6c3df5;   /* deeper indigo-purple — confident, single accent */
  --accent-2:    #e6532b;   /* warm coral — secondary pop */
  --accent-soft: rgba(108, 61, 245, 0.08);

  --line:        rgba(20, 19, 28, 0.10);
  --line-light:  rgba(20, 19, 28, 0.10);

  /* Type */
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --max:     1320px;
  --gutter:  clamp(20px, 5vw, 64px);
  --pad-y:   clamp(64px, 8vw, 120px);
}

/* ============================================================
   Reset
============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(28px); }

/* Soft purple atmosphere on dark sections */
.hero, .work, .process, .colophon, .cta, .testimonial, .stats, .marquee, .manifesto, .about, .services, .footer {
  position: relative;
}

/* ============================================================
   Loader
============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.loader.is-done {
  opacity: 0;
  visibility: hidden;
}
.loader__inner {
  text-align: center;
}
.loader__logo {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 120px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  padding-bottom: 0.15em;
  color: var(--ink);
}
.loader__accent {
  background: linear-gradient(135deg, var(--ink) 0%, var(--accent) 60%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.loader__accent {
  background: linear-gradient(135deg, var(--ink) 0%, var(--accent) 60%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.loader__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--ink-soft);
  margin: 0 0 28px;
}
.loader__bar {
  width: 200px;
  height: 1px;
  background: var(--line);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 1px;
}
.loader__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  animation: loader-fill 1.2s ease-out forwards;
}
@keyframes loader-fill {
  to { width: 100%; }
}

/* ============================================================
   Cursor — disabled, system cursor only
============================================================ */
.cursor { display: none !important; }
body { cursor: auto; }
a, button, [data-cursor="link"], summary { cursor: pointer; }

/* ============================================================
   Nav
============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px var(--gutter);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__logo {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  display: inline-block;
  position: relative;
  opacity: 0;
  transform: translateY(-6px);
  animation: nav-logo-in .9s cubic-bezier(.2,.8,.2,1) .15s forwards;
  transition: letter-spacing .4s cubic-bezier(.2,.8,.2,1);
}
.nav__logo:hover {
  letter-spacing: 0.005em;
}
@keyframes nav-logo-in {
  to { opacity: 1; transform: translateY(0); }
}
.nav__accent {
  background: linear-gradient(120deg,
    var(--ink) 0%,
    var(--accent) 35%,
    var(--accent-2) 65%,
    var(--accent) 100%);
  background-size: 220% 220%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  display: inline-block;
  transform-origin: 50% 60%;
  animation: nav-accent-shimmer 6s ease-in-out infinite;
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
.nav__logo:hover .nav__accent {
  transform: rotate(-10deg) scale(1.18);
}
@keyframes nav-accent-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.nav__studio {
  display: inline-block;
  white-space: nowrap;
}
.nav__studio > span {
  display: inline-block;
  opacity: 0;
  transform: translateY(7px);
  /* Same shimmer gradient as the hero Studio — but per-letter so transforms work */
  background: linear-gradient(
    110deg,
    var(--ink) 0%,
    var(--accent) 25%,
    #b89cff 45%,
    var(--accent-2) 50%,
    #b89cff 55%,
    var(--accent) 75%,
    var(--ink) 100%
  );
  background-size: 250% 100%;
  background-position: 100% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Two animations: one-shot entrance + endless shimmer sweep */
  animation:
    nav-studio-letter-in .55s cubic-bezier(.2, .8, .2, 1) forwards,
    shimmer-3 4.5s ease-in-out infinite;
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.nav__studio > span:nth-child(1) { animation-delay: .85s; }
.nav__studio > span:nth-child(2) { animation-delay: .92s; }
.nav__studio > span:nth-child(3) { animation-delay: .99s; }
.nav__studio > span:nth-child(4) { animation-delay: 1.06s; }
.nav__studio > span:nth-child(5) { animation-delay: 1.13s; }
.nav__studio > span:nth-child(6) { animation-delay: 1.20s; }
@keyframes nav-studio-letter-in {
  to { opacity: 1; transform: translateY(0); }
}
.nav__logo:hover .nav__studio > span {
  transform: translateY(-4px);
}
.nav__logo:hover .nav__studio > span:nth-child(1) { transition-delay: 0s;    }
.nav__logo:hover .nav__studio > span:nth-child(2) { transition-delay: .04s;  }
.nav__logo:hover .nav__studio > span:nth-child(3) { transition-delay: .08s;  }
.nav__logo:hover .nav__studio > span:nth-child(4) { transition-delay: .12s;  }
.nav__logo:hover .nav__studio > span:nth-child(5) { transition-delay: .16s;  }
.nav__logo:hover .nav__studio > span:nth-child(6) { transition-delay: .20s;  }

@media (prefers-reduced-motion: reduce) {
  .nav__logo {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .nav__accent { animation: none; }
  .nav__logo:hover .nav__accent { transform: none; }
  .nav__studio > span {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .nav__logo:hover .nav__studio > span {
    transform: none;
    color: inherit;
  }
}
.nav__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  margin: 0 auto 0 36px;
}
.nav__links a {
  position: relative;
  padding: 4px 0;
  color: var(--ink-soft);
  transition: color .2s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.nav__links a:hover,
.nav__links a.is-active {
  color: var(--accent);
}
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--ink);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  transition: background-color .2s ease, transform .2s ease;
}
.nav__cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

/* Mobile hamburger toggle — hidden on desktop, shown via media query */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .2s ease;
  transform-origin: center;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile full-screen overlay menu */
.nav__overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: clamp(96px, 22vw, 140px) var(--gutter) 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .35s cubic-bezier(.2,.8,.2,1),
              transform .35s cubic-bezier(.2,.8,.2,1),
              visibility 0s linear .35s;
  pointer-events: none;
}
.nav__overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
  pointer-events: auto;
}
.nav__overlay-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav__overlay-links a {
  font-family: var(--serif);
  font-size: clamp(40px, 11vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  display: inline-block;
  transition: color .2s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.nav__overlay-links a:hover { color: var(--accent); }
.nav__overlay-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--ink);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  margin-top: 12px;
  transition: background-color .2s ease;
}
.nav__overlay-cta:hover { background: var(--accent); }
body.nav-open { overflow: hidden; }

/* ============================================================
   Hero
============================================================ */
.hero {
  padding: 90px var(--gutter) 56px;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(230, 83, 43, 0.07), transparent 55%),
    radial-gradient(ellipse at 20% 40%, rgba(108, 61, 245, 0.06), transparent 55%);
}
.hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  font-size: 13px;
  color: var(--ink-soft);
  flex-wrap: wrap;
  gap: 12px;
}
.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
}
.hero__dot {
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
}
.hero__location {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero__divider {
  color: var(--accent);
  opacity: 0.5;
}

.hero__display {
  display: flex;
  align-items: center;
  padding: 24px 0;
}
.hero__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 132px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.18em;
  width: 100%;
  overflow: visible;
  padding-bottom: 0.12em;
}
.hero__name-part {
  display: block;
  white-space: nowrap;
}
.hero__name-part--accent {
  margin-top: -0.05em;
}
/* New CG3 Studio hero — "3" gets the gradient, "Studio" is smaller subtitle */
.hero__name-3 {
  /* Animated shimmer gradient — bright band travels across the gradient */
  background: linear-gradient(
    110deg,
    var(--ink) 0%,
    var(--accent) 25%,
    #b89cff 45%,
    var(--accent-2) 50%,
    #b89cff 55%,
    var(--accent) 75%,
    var(--ink) 100%
  );
  background-size: 250% 100%;
  background-position: 100% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  display: inline-block;
  padding: 0 0.18em 0.05em 0.05em; /* room for italic right-edge clip */
  margin: 0 -0.05em;               /* pull back so visual spacing matches */
  animation: shimmer-3 4.5s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(108, 61, 245, 0.20));
  transform-origin: 50% 60%;
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.hero__name:hover .hero__name-3 {
  transform: rotate(-8deg) scale(1.12);
}

@keyframes shimmer-3 {
  0%   { background-position: 100% 50%; }
  50%  { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__name-3 { animation: none; }
}
.hero__name-part--studio {
  font-size: 1em; /* match CG3 */
  font-style: italic;
  letter-spacing: -0.02em;
  font-weight: 400;
  /* Shimmer gradient — offset timing so it doesn't sync with the "3" */
  background: linear-gradient(
    110deg,
    var(--ink) 0%,
    var(--accent) 25%,
    #b89cff 45%,
    var(--accent-2) 50%,
    #b89cff 55%,
    var(--accent) 75%,
    var(--ink) 100%
  );
  background-size: 250% 100%;
  background-position: 100% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  /* Italic glyphs slant past their bounding box; pad so the right edge
     of the "o" doesn't get clipped by background-clip:text */
  padding: 0 0.18em 0.05em 0.05em;
  margin: 0 -0.05em;
  /* Same name + duration as the "3" shimmer so they sweep in lockstep */
  animation: shimmer-3 4.5s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(108, 61, 245, 0.18));
}

.hero__name-part--studio > span {
  display: inline-block;
  /* Each letter gets its own gradient so transforms don't break the clip */
  background: linear-gradient(
    110deg,
    var(--ink) 0%,
    var(--accent) 25%,
    #b89cff 45%,
    var(--accent-2) 50%,
    #b89cff 55%,
    var(--accent) 75%,
    var(--ink) 100%
  );
  background-size: 250% 100%;
  background-position: 100% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer-3 4.5s ease-in-out infinite;
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
.hero__name:hover .hero__name-part--studio > span {
  transform: translateY(-10px);
}
.hero__name:hover .hero__name-part--studio > span:nth-child(1) { transition-delay: 0s;    }
.hero__name:hover .hero__name-part--studio > span:nth-child(2) { transition-delay: .05s;  }
.hero__name:hover .hero__name-part--studio > span:nth-child(3) { transition-delay: .10s;  }
.hero__name:hover .hero__name-part--studio > span:nth-child(4) { transition-delay: .15s;  }
.hero__name:hover .hero__name-part--studio > span:nth-child(5) { transition-delay: .20s;  }
.hero__name:hover .hero__name-part--studio > span:nth-child(6) { transition-delay: .25s;  }

@media (prefers-reduced-motion: reduce) {
  .hero__name-part--studio { animation: none; }
  .hero__name:hover .hero__name-3 { transform: none; }
  .hero__name:hover .hero__name-part--studio > span { transform: none; }
}

/* ============================================================
   Scroll-word reveal — fires when heading enters viewport
============================================================ */
.scroll-word {
  display: inline-block;
  will-change: transform, opacity;
}
/* JS removes this class after wrapping; until then heading is normal */
[data-scroll-words] .scroll-word {
  opacity: 0;
  transform: translateY(40px);
}
.hero__name-part--accent {
  background: linear-gradient(135deg, var(--ink) 0%, var(--accent) 50%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.hero__bottom {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: end;
  margin-top: 32px;
}
.hero__headline {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 32px;
  max-width: 22ch;
  color: var(--ink-soft);
}
.hero__headline em {
  font-style: normal;
  color: var(--ink);
  font-weight: 500;
}
.hero__cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: transform .2s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--accent);
  color: var(--ink-dark);
}
.btn--primary:hover {
  background: #c4abff;
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  background: var(--bg-soft);
  border-color: var(--accent);
}
.btn--ghost-light {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-soft);
}
.btn--ghost-light:hover {
  background: var(--bg-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.hero__character {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 80px -30px rgba(20, 19, 28, 0.22);
  border: 1px solid var(--line);
}
.hero__character-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__character-tag {
  position: absolute;
  bottom: 12px; left: 12px;
  padding: 8px 12px;
  background: rgba(20, 19, 28, 0.72);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
}
.hero__character-tag-label {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}
.hero__character-tag-role {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.005em;
}

/* ============================================================
   Stats
============================================================ */
.stats {
  padding: 0 var(--gutter) 80px;
  max-width: var(--max);
  margin: 0 auto;
}
.stats__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.stats__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stats__value {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.stats__value sup {
  font-size: 0.5em;
  vertical-align: super;
  margin-left: 2px;
}
.stats__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ============================================================
   Marquee
============================================================ */
.marquee {
  background: var(--bg-soft);
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 36px);
  line-height: 1;
  color: var(--ink);
}
.marquee__group {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-shrink: 0;
  padding-right: 40px;
}
.marquee__dot {
  color: var(--accent);
  font-size: 0.6em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   Section labels (numbered)
============================================================ */
.section__label {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
  padding: 6px 14px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent-soft);
}
.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 40px;
  max-width: 16ch;
}
.section__title em {
  font-style: italic;
  color: var(--accent);
}

/* ============================================================
   Manifesto
============================================================ */
.manifesto {
  position: relative;
  width: min(1180px, calc(100% - clamp(32px, 6vw, 80px)));
  margin: clamp(36px, 5vw, 64px) auto;
  padding: clamp(48px, 6vw, 88px) clamp(28px, 5vw, 72px);
  background:
    radial-gradient(ellipse at 12% 18%, rgba(108, 61, 245, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 92% 88%, rgba(230, 83, 43, 0.06) 0%, transparent 55%),
    var(--bg-soft);
  border: 1px solid var(--bg-light-2);
  border-radius: 28px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.manifesto::before {
  content: "\201C";
  position: absolute;
  left: clamp(-24px, -2vw, -8px);
  top: clamp(-80px, -8vw, -40px);
  font-family: var(--serif);
  font-size: clamp(260px, 32vw, 460px);
  line-height: 1;
  color: var(--accent);
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.05em;
}
.manifesto > * { position: relative; z-index: 1; }
.manifesto__statement {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 22px auto 0;
  max-width: 22ch;
  text-align: center;
}
.manifesto__rule {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
  margin: 28px auto 0;
}
.manifesto__statement em {
  font-style: italic;
  color: var(--accent);
}
.manifesto__link {
  display: block;
  text-align: center;
  margin-top: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  transition: color .2s ease;
}
.manifesto__link:hover { color: var(--ink); }

/* ============================================================
   Work
============================================================ */
.work {
  padding: var(--pad-y) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.work__list {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* Work card with browser mockup */
.work-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.work-card--reverse {
  grid-template-columns: 1fr 1.2fr;
}
.work-card--reverse .work-card__media { order: 2; }
.work-card--reverse .work-card__meta { order: 1; }

.work-card__media {
  display: block;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.work-card__media:hover { transform: translateY(-6px); }

/* Browser mockup */
.browser {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(20, 19, 28, 0.18);
  border: 1px solid var(--line);
}
.browser__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.browser__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.browser__dot--red    { background: #ff5f57; }
.browser__dot--yellow { background: #febc2e; }
.browser__dot--green  { background: #28c840; }
.browser__url {
  margin-left: 16px;
  flex: 1;
  font-size: 12px;
  color: var(--ink-soft);
  background: var(--bg);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--sans);
}
.browser__screen {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.browser__screen--1 {
  background: #0a0a0a url('images/apex-coaching.png') center top / cover no-repeat;
}
.browser__screen--2 {
  background: #2a1810 url('images/gather-grain.png') center top / cover no-repeat;
}
.browser__screen--3 {
  background: #fafafa url('images/jasmine-ross.png') center top / cover no-repeat;
}
/* Hide the COACH / MENU / BRAND overlay now that real screenshots fill the frame */
.browser__overlay {
  display: none;
  text-align: center;
  color: #fff;
}
.browser__overlay-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 16px;
  opacity: 0.9;
}
.browser__overlay-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(56px, 8vw, 120px);
  line-height: 1;
  margin: 0;
  letter-spacing: -0.02em;
}

/* Work card meta */
.work-card__num {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.work-card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.work-card__desc {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 36ch;
}
.work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}
.work-card__tags li {
  font-size: 12px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--bg-soft);
}
.work-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--accent);
  transition: gap .25s ease;
}
.work-card__link:hover { gap: 14px; }

.work__more {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   About
============================================================ */
.about {
  padding: var(--pad-y) var(--gutter);
  background: var(--bg-light);
  color: var(--ink-dark);
}
.about__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 72px;
  align-items: center;
}
.about__media {
  position: relative;
}
.about__character {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-light-2);
  border: 1px solid var(--line-light);
  box-shadow: 0 30px 60px -30px rgba(26, 21, 48, 0.3);
}
.about__character video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__character-tag {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.about__character-tag span:first-child {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dark-soft);
}
.about__character-tag span:last-child {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-dark);
}

.about__text .section__label {
  background: rgba(230, 83, 43, 0.10);
  border-color: var(--accent-2);
  color: var(--accent-2);
}
.about__statement {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
}
.about__statement em {
  font-style: italic;
  color: var(--accent-2);
}
.about__statement br { display: none; }
@media (min-width: 900px) {
  .about__statement br { display: inline; }
}
.about__bio {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-dark-soft);
  max-width: 52ch;
  margin: 0 0 18px;
}
.about__checks {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about__checks li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--ink-dark);
}
.about__checks li::before {
  content: "";
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-2);
  background-image: linear-gradient(135deg, var(--accent), var(--accent-2));
  flex-shrink: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px;
  background-image:
    linear-gradient(135deg, var(--accent), var(--accent-2)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}

/* ============================================================
   Services
============================================================ */
.services {
  padding: var(--pad-y) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
@media (min-width: 900px) {
  .services { padding-bottom: clamp(32px, 3vw, 48px); }
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.service-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.service-card__num {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  margin-bottom: 4px;
}
.service-card__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  transition: background-color .25s ease, color .25s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.service-card:hover .service-card__icon {
  background: var(--accent);
  color: var(--ink-dark);
  transform: rotate(-6deg) scale(1.05);
}

/* Overflow protection — italic glyphs (?, descenders, terminal swashes)
   slant past their geometric box. With background-clip:text the renderer
   crops to that box and clips the slant. inline-block + right padding
   gives the glyph room; negative margin pulls neighbors back so the
   visual word-spacing is unchanged. */
.cta__headline em,
.page-hero__title em,
.section__title em,
.about__statement em,
.manifesto__statement em,
.hero__headline em {
  display: inline-block;
  padding: 0 0.18em 0.06em 0.05em;
  margin: 0 -0.05em;
  line-height: 1.05;
}
.service-card h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 4px;
  color: var(--ink);
}
.service-card p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}
.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}
.service-card li {
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-card li::before {
  content: "•";
  color: var(--accent);
}

/* ============================================================
   Process
============================================================ */
.process {
  padding: var(--pad-y) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
@media (min-width: 900px) {
  .process { padding-top: clamp(32px, 3vw, 48px); padding-bottom: clamp(32px, 3vw, 48px); }
}
.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.process-step {
  padding: 36px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.process-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}
.process-step:hover::before { opacity: 1; }
.process-step__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 64px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 16px;
}
.process-step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.process-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* ============================================================
   Testimonial
============================================================ */
.testimonial {
  padding: var(--pad-y) var(--gutter);
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 32px;
  color: var(--ink);
  position: relative;
  padding: 0 20px;
}
.testimonial blockquote::before,
.testimonial blockquote::after {
  content: "\201C";
  color: var(--accent);
  font-size: 1.2em;
}
.testimonial blockquote::after { content: "\201D"; }
.testimonial cite {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============================================================
   Colophon
============================================================ */
.colophon {
  padding: var(--pad-y) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
@media (min-width: 900px) {
  .colophon { padding-top: clamp(32px, 3vw, 48px); }
}
.colophon__list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1;
  margin-top: 32px;
}
.colophon__list li {
  color: var(--ink);
}
.colophon__list li::after {
  content: "·";
  margin-left: 32px;
  color: var(--accent);
  opacity: .7;
}
.colophon__list li:last-child::after { content: ""; }
@media (max-width: 599px) {
  .colophon__list {
    flex-direction: column;
    gap: 14px;
    font-size: clamp(28px, 7vw, 36px);
  }
  .colophon__list li::after { display: none; }
}

/* ============================================================
   CTA
============================================================ */
.cta {
  position: relative;
  width: min(1180px, calc(100% - clamp(32px, 6vw, 80px)));
  margin: clamp(36px, 5vw, 72px) auto;
  padding: clamp(56px, 7vw, 104px) clamp(28px, 5vw, 72px);
  text-align: center;
  background:
    radial-gradient(ellipse at 88% 16%, rgba(230, 83, 43, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 14% 92%, rgba(108, 61, 245, 0.12) 0%, transparent 55%),
    var(--bg-soft);
  border: 1px solid var(--bg-light-2);
  border-radius: 32px;
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: "\2192";
  position: absolute;
  right: clamp(-40px, -2vw, -8px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(220px, 28vw, 420px);
  line-height: 1;
  color: var(--accent);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.05em;
}
.cta > * { position: relative; z-index: 1; }
.cta__headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7.4vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 18px 0 14px;
}
.cta__headline em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta__sub {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 28px;
}
.cta__button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 30px);
  padding: 20px 38px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--ink);
  background: var(--bg-soft);
  box-shadow: 0 8px 24px -12px rgba(108, 61, 245, 0.30);
  transition: background-color .25s ease, color .25s ease, transform .2s ease, box-shadow .25s ease;
}
.cta__button:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px rgba(108, 61, 245, 0.50);
}

/* ============================================================
   Footer
============================================================ */
.footer {
  background: var(--bg-soft);
  padding: 64px var(--gutter) 28px;
  border-top: 1px solid var(--line);
}
.footer__top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer__logo {
  font-family: var(--serif);
  font-size: 32px;
  margin: 0 0 4px;
}
.footer__accent {
  background: linear-gradient(135deg, var(--ink) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.footer__tag {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}
.footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.footer__head {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.footer__links a {
  display: block;
  color: var(--ink);
  font-size: 15px;
  padding: 4px 0;
  transition: color .2s ease;
}
.footer__links a:hover { color: var(--accent); }
.footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ============================================================
   Split-text reveal (hero name)
   Default: chars visible. JS adds animation on load if it can.
============================================================ */
.split-char {
  display: inline-block;
  will-change: transform, opacity;
}

/* ============================================================
   Magnetic / parallax — base behavior
============================================================ */
[data-magnetic] {
  will-change: transform;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
[data-parallax] {
  will-change: transform;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}

/* ============================================================
   Work-card hover overlay (description fades in on hover)
============================================================ */
.work-card__media .browser { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.work-card__media:hover .browser { transform: scale(1.015); }
.work-card__media .browser__screen::after {
  content: "View case study →";
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 22px;
  background: linear-gradient(to top, rgba(20, 19, 28, 0.92) 0%, transparent 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.work-card__media:hover .browser__screen::after {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Pricing
============================================================ */
.pricing {
  padding: var(--pad-y) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
@media (min-width: 900px) {
  .pricing { padding-top: clamp(32px, 3vw, 48px); padding-bottom: clamp(32px, 3vw, 48px); }
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-soft);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .25s ease;
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}
.pricing-card--featured {
  border-color: var(--accent);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(108, 61, 245, 0.10), transparent 70%),
    var(--bg-soft);
}
.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: var(--accent);
  color: var(--ink-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-card__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.pricing-card__tier {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.pricing-card__pitch {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.pricing-card__price {
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 56px);
  letter-spacing: -0.025em;
  color: var(--accent);
  margin: 0;
  line-height: 1;
}
.pricing-card__from {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.pricing-card__features li {
  font-size: 14px;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}
.pricing-card__features li::before {
  content: "";
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  border-radius: 50%;
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314112c' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}
.pricing-card .btn {
  margin-top: auto;
  justify-content: center;
}
.pricing__note {
  text-align: center;
  margin: 48px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
  font-style: italic;
}
.pricing__note + .pricing__note {
  margin-top: 12px;
}

/* ============================================================
   Subscription / care plans
============================================================ */
.subscription {
  padding: 40px var(--gutter) var(--pad-y);
  max-width: var(--max);
  margin: 0 auto;
}
.subscription__lede {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: -16px 0 36px;
  line-height: 1.6;
}
.subscription__note {
  text-align: center;
  margin: 48px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
  font-style: italic;
}
.sub-price__per {
  font-family: var(--sans);
  font-size: 0.4em;
  font-weight: 400;
  color: var(--ink-soft);
  margin-left: 4px;
  letter-spacing: 0.04em;
}

/* ============================================================
   Top notification bar (sticky above nav)
============================================================ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 10px var(--gutter);
  background: var(--ink);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  /* Single-line guarantee: ellipsize message rather than wrap, so the
     fixed-height topbar stays predictable for the nav offset below */
  white-space: nowrap;
}
.topbar__msg {
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.topbar__icon {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}
.topbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  font-size: 12px;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.topbar__cta:hover { transform: translateY(-1px); }
/* Push the rest of the page down so the fixed nav sits below the topbar */
body.has-topbar .nav { top: 42px; }
body.has-topbar { padding-top: 42px; }
@media (max-width: 720px) {
  .topbar { font-size: 12px; gap: 10px; padding: 8px 14px; }
  /* Drop redundancies on mobile: the nav has its own "Book a call" right
     below, and "Currently booking" prefix bloats the line on narrow screens */
  .topbar__cta { display: none; }
  .topbar__prefix { display: none; }
  body.has-topbar .nav { top: 36px; }
  body.has-topbar { padding-top: 36px; }
}

/* ============================================================
   Testimonials grid
============================================================ */
.testimonials {
  padding: var(--pad-y) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
@media (min-width: 900px) {
  .testimonials { padding-top: clamp(32px, 3vw, 48px); padding-bottom: clamp(32px, 3vw, 48px); }
}
@media (max-width: 899px) {
  .testimonials { padding-top: 24px; }
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-soft);
  margin: 0;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .25s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.testimonial-card blockquote {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(17px, 1.25vw, 19px);
  line-height: 1.55;
  color: var(--ink);
  font-style: normal;
  font-weight: 400;
  position: relative;
  padding-left: 28px;
}
.testimonial-card blockquote::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  left: 0;
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
}
.testimonial-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding-top: 8px;
}
.testimonial-card__name {
  font-weight: 500;
  color: var(--ink);
  font-size: 15px;
}
.testimonial-card__role {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============================================================
   FAQ accordion
============================================================ */
.faq {
  padding: var(--pad-y) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
@media (min-width: 900px) {
  .faq { padding-top: clamp(32px, 3vw, 48px); padding-bottom: clamp(32px, 3vw, 48px); }
}
.faq__list {
  max-width: 920px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color .25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background-color: var(--bg-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a78bfa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .25s ease, background-color .25s ease;
}
.faq-item:hover summary { color: var(--accent); }
.faq-item:hover summary::after { border-color: var(--accent); }
.faq-item[open] summary { color: var(--accent); }
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314112c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}
.faq-item__body {
  padding: 0 64px 28px 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  max-width: 60ch;
}
.faq-item__body p { margin: 0; }

/* ============================================================
   Page hero (used on dedicated pages: about, work, packages, etc.)
============================================================ */
.page-hero {
  padding: 130px var(--gutter) 32px;
  max-width: var(--max);
  margin: 0 auto;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(230, 83, 43, 0.07), transparent 55%),
    radial-gradient(ellipse at 20% 30%, rgba(108, 61, 245, 0.06), transparent 55%);
}
.page-hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 8.5vw, 132px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 12px 0 20px;
  max-width: 14ch;
}
.page-hero__title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--ink) 0%, var(--accent) 60%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero__lede {
  font-size: clamp(22px, 6vw, 28px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
}

/* ============================================================
   Contact methods
============================================================ */
.contact-methods {
  padding: 40px var(--gutter) var(--pad-y);
  max-width: var(--max);
  margin: 0 auto;
}
@media (min-width: 900px) {
  .contact-methods { padding-bottom: clamp(32px, 3vw, 48px); }
}
.contact-methods__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-method {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-soft);
  color: var(--ink);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .25s ease;
}
.contact-method:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.contact-method__icon {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--ink-dark);
  margin-bottom: 8px;
}
.contact-method__label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-method__value {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}
.contact-method__hint {
  font-size: 13px;
  color: var(--ink-soft);
}

/* ============================================================
   Contact form
============================================================ */
.contact-form {
  padding: var(--pad-y) var(--gutter);
  max-width: 880px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .contact-form { padding-top: clamp(32px, 3vw, 48px); }
}
.form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form[hidden] { display: none; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form__label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.form input,
.form select,
.form textarea {
  font: inherit;
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-size: 16px;
  transition: border-color .2s ease, background-color .2s ease;
  font-family: var(--sans);
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: color-mix(in srgb, var(--bg-soft) 80%, var(--accent-soft));
}
.form textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.55;
}
.form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b95c4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  padding-right: 48px;
}
.form button[type="submit"] {
  align-self: flex-start;
  margin-top: 8px;
}
.form__status {
  margin-top: 1rem;
  min-height: 1.2em;
  font-size: 14px;
  color: var(--ink-soft);
}
.form__status.is-error { color: #c33; }

.form-success {
  margin-top: 28px;
  padding: clamp(36px, 5vw, 56px) clamp(24px, 4vw, 48px);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: form-success-in .5s cubic-bezier(.2,.8,.2,1) both;
}
.form-success[hidden] { display: none; }
.form-success__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -12px var(--accent);
  animation: form-success-pop .6s cubic-bezier(.2,.8,.2,1) .1s both;
}
.form-success__title {
  font-family: var(--serif, 'Instrument Serif', serif);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  margin: 4px 0 0;
  color: var(--ink);
}
.form-success__copy {
  max-width: 520px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}
.form-success__copy strong { color: var(--ink); font-weight: 500; }
.form-success__again {
  margin-top: 12px;
}
@keyframes form-success-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes form-success-pop {
  0% { opacity: 0; transform: scale(.6); }
  60% { opacity: 1; transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ============================================================
   Responsive
============================================================ */
@media (max-width: 980px) {
  .hero__bottom { grid-template-columns: 1fr; gap: 36px; }
  .hero__character { aspect-ratio: 16 / 10; max-width: 540px; margin: 0 auto; }
  .stats__row { grid-template-columns: 1fr 1fr; gap: 32px; }
  .work-card,
  .work-card--reverse { grid-template-columns: 1fr; }
  .work-card--reverse .work-card__media { order: 1; }
  .work-card--reverse .work-card__meta { order: 2; }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; gap: 32px; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .contact-methods__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav { gap: 8px; padding: 14px clamp(16px, 4vw, 24px); }
  .nav__logo { font-size: 19px; }
  .nav__links { display: none; }
  /* Pin CTA to the exact horizontal center of the viewport, independent of logo/hamburger widths */
  .nav__cta { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 9px 16px; font-size: 13px; }
  .nav__toggle { display: inline-flex; width: 36px; height: 36px; }
  .nav__toggle span { width: 20px; }
  .hero__meta { flex-direction: column; align-items: flex-start; }
  .services__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 6px; text-align: center; }
  /* Tighten the void between page-hero lede and the pricing grid on mobile */
  .page-hero { padding-bottom: 8px; }
  .pricing { padding-top: 24px; }
  .pricing__grid { margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
  .hero__dot { animation: none; }
  [data-magnetic], [data-parallax] { transition: none !important; transform: none !important; }
  .split-char { opacity: 1 !important; transform: none !important; }
}
