/* ==========================================================================
   Valentin, Video Editor · 2027 skin, revision 4
   Apple-style capsules and materials, dark-green silhouettes, format cards,
   word-by-word text reveals, tilt cards. Plain CSS, no build step.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* colour */
  --bg: #FFFFFF;
  --card: #FFFFFF;
  --ink: #000000;
  --ink-2: #1C1C1E;
  --ink-3: #6E6E73;                         /* placeholders only */
  --green: #1EAD4B;                          /* darker than Apple green */
  --green-bright: #34C759;                   /* the online dot */
  --green-deep: #15803D;                     /* green text on white */
  --g: 30, 173, 75;                          /* rgb of --green for rgba() */
  --green-line: rgba(var(--g), 0.85);
  --glow-sm: 0 0 0 1px rgba(var(--g), 0.35), 0 0 0.6cm rgba(var(--g), 0.35);
  --glow-md: 0 0 0 1px rgba(var(--g), 0.45), 0 0 1cm 0.05cm rgba(var(--g), 0.42);
  --glow-md-hover: 0 0 0 2px rgba(var(--g), 0.6), 0 0 1.4cm 0.15cm rgba(var(--g), 0.55);
  --glow-lg: 0 0 0 2px rgba(var(--g), 0.6), 0 0 2cm 0.3cm rgba(var(--g), 0.5);
  --glow-lg-hover: 0 0 0 3px rgba(var(--g), 0.75), 0 0 2.4cm 0.45cm rgba(var(--g), 0.62);
  --star: #F5B301;
  --hairline: rgba(0, 0, 0, 0.08);
  --on-ink: #FFFFFF;
  --ig-gradient: linear-gradient(45deg, #F9CE34 0%, #EE2A7B 50%, #6228D7 100%);
  --x-gradient: linear-gradient(135deg, #000000 0%, #3A3A3C 100%);

  /* format colors */
  --pink: #FF2D78;   --coral: #FF6A3D;    /* short-form */
  --blue: #0A84FF;   --indigo: #5E5CE6;   /* long-form  */
  --c-short: 255, 45, 120;                /* rgb for rgba() glows */
  --c-long: 10, 132, 255;
  --c-gold: 166, 124, 26;
  /* the short gradient ends at #F2582B (3.4:1 on white) instead of --coral
     (2.8:1) so gradient TEXT keeps >= 3:1; glyphs and glows still use --coral */
  --grad-short: linear-gradient(135deg, var(--pink), #F2582B);
  --grad-long:  linear-gradient(135deg, var(--blue), var(--indigo));

  /* gold: one for white surfaces (kept dark so it stays readable), one for black
     surfaces. The bright #E2BC55 stop is deliberately a NARROW band (38-56%):
     wider, it drops the middle of gold text below 3:1 on white. */
  --grad-gold:        linear-gradient(100deg, #6F5110 0%, #A67C1A 38%, #E2BC55 48%, #B8891F 56%, #7A5A12 100%);
  --grad-gold-bright: linear-gradient(100deg, #C9A227 0%, #F3D675 40%, #FFF1B8 52%, #E0B84A 65%, #B8891F 100%);
  --gold-solid: #8F6B16;                  /* fallback when background-clip: text is unsupported */

  /* X */
  --x-black: #000;
  --vignette-strength: 0.16;

  /* type: SF Pro on Apple devices through the system stack, Inter elsewhere */
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --text-h1: clamp(2.75rem, 1rem + 6vw, 6.25rem);
  --text-h2: clamp(2rem, 1.2rem + 3vw, 3.5rem);
  --text-lead: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-num: clamp(1.5rem, 1rem + 1.2vw, 1.875rem);
  --text-body: 1.0625rem;
  --text-sm: 0.9375rem;
  --text-xs: 0.875rem;
  --text-label: 0.8125rem;

  --w-body: 500;
  --w-strong: 600;
  --w-heavy: 800;

  --track-display: -0.03em;
  --track-tight: -0.015em;
  --lh-display: 1.02;
  --lh-body: 1.55;
  --lh-relaxed: 1.7;

  /* radii */
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  /* spacing (8px rhythm) */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;
  --section-pad: clamp(72px, 9vw, 120px);
  --gutter: 24px;

  /* layout */
  --container: 1200px;
  --nav-h: 64px;
  --playhead-h: 2px;

  /* motion. --ease/--ease-spring predate this pass and stay for hover states;
     entrances use --ease-enter (long decelerate, no overshoot) and state
     changes use --ease-settle. --dur-reveal is kept as an alias so nothing
     old breaks, but new code should use the --dur-* trio. */
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-settle: cubic-bezier(0.28, 0.11, 0.32, 1);
  --ease-enter:  cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 200ms;  --dur-med: 450ms;  --dur-slow: 900ms;
  --dur-reveal: var(--dur-slow);
  --stagger: 90ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--w-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

/* Black vignette at the page margins. One fixed layer BEHIND all content
   (sections sit at z-index: 1), so it never darkens cards or text. The center
   stays pure white; darkening starts near 58% of the radius and builds through
   eased stops so there is no visible banding. Strength lives in
   --vignette-strength; the 640px media query drops it to ~60%. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(115% 115% at 50% 50%,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 58%,
    rgba(0, 0, 0, calc(var(--vignette-strength) * 0.07)) 68%,
    rgba(0, 0, 0, calc(var(--vignette-strength) * 0.22)) 77%,
    rgba(0, 0, 0, calc(var(--vignette-strength) * 0.48)) 86%,
    rgba(0, 0, 0, calc(var(--vignette-strength) * 0.78)) 94%,
    rgba(0, 0, 0, var(--vignette-strength)) 100%);
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
strong, b { font-weight: 700; }

[id] { scroll-margin-top: calc(var(--nav-h) + var(--space-3)); }
/* --green-deep, not --green: the lighter green is only 2.9:1 on white,
   under the 3:1 a focus indicator needs */
:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

section, footer { position: relative; z-index: 1; }

/* ---------- 4. Reveal system (blocks, paragraphs, words) --------------- */
/* Hidden initial states are gated on html.js (set by an inline script in the
   head): with JavaScript off nothing ever adds .is-visible, so nothing may
   start hidden — the page must read and the form must submit without JS. */
.reveal {
  transition: opacity var(--dur-slow) var(--ease-enter), transform var(--dur-slow) var(--ease-enter), filter var(--dur-slow) var(--ease-enter);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal {
  --ty: 20px;
  --sc: 0.975;
  opacity: 0;
}
.js .reveal:not(.block) { transform: translateY(var(--ty)) scale(var(--sc)); }
.reveal.is-visible { --ty: 0px; --sc: 1; opacity: 1; }

/* paragraphs: blur in */
.js .reveal-text { filter: blur(8px); }
.reveal-text.is-visible { filter: blur(0); }

/* words inside headlines: staggered blur-to-sharp rise */
.w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em) rotate(1.5deg);
  filter: blur(10px);
  transition: opacity var(--dur-slow) var(--ease-enter), transform var(--dur-slow) var(--ease-enter), filter var(--dur-slow) var(--ease-enter);
  transition-delay: calc(var(--i, 0) * var(--stagger));
  will-change: transform, filter;
}
.is-visible .w { opacity: 1; transform: none; filter: blur(0); }

/* ---------- 5. Green silhouette blocks + tilt --------------------------- */
.block {
  --rx: 0deg; --ry: 0deg; --ty: 0px; --sc: 1;
  position: relative;
  background: var(--card);
  border: 1px solid var(--green-line);
  box-shadow: var(--glow-md);
  border-radius: var(--radius-md);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--ty)) scale(var(--sc));
  transition: box-shadow var(--dur-med) var(--ease-settle), transform var(--dur-med) var(--ease-settle), border-color var(--dur-fast) var(--ease), opacity var(--dur-slow) var(--ease-enter);
  transform-style: preserve-3d;
}
.js .block.reveal { --ty: 20px; --sc: 0.975; }
.block.reveal.is-visible { --ty: 0px; --sc: 1; }
.block:hover { --ty: -4px; box-shadow: var(--glow-md-hover); }
.block.is-tilting { transition: box-shadow var(--dur-fast) var(--ease), transform 120ms linear, border-color var(--dur-fast) var(--ease); }
/* the transition shorthand above resets transition-delay, which silently
   killed every reveal stagger on cards; re-assert it. main.js zeroes the
   variable once the entrance is over so hover states are never delayed. */
.block.reveal { transition-delay: var(--reveal-delay, 0ms); }

/* cursor-following sheen on tilt cards */
.block .sheen {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(var(--g), 0.16), transparent 55%);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
  z-index: 2;
}
.block:hover .sheen { opacity: 1; }

.ring { border: 2px solid var(--green); box-shadow: 0 0 0.5cm rgba(var(--g), 0.45); }

@keyframes pop {
  0%   { opacity: 0; transform: scale(0.6) translateY(6px); }
  60%  { opacity: 1; transform: scale(1.08) translateY(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.55; }
  50%      { transform: translate(-50%, -50%) scale(1.55); opacity: 0; }
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(52, 199, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); }
}
@keyframes shine { to { transform: translateX(160%) skewX(-18deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- 6. Type ------------------------------------------------------ */
.label { font-size: var(--text-label); font-weight: var(--w-strong); color: var(--ink-2); line-height: 1.3; }
.section-head { text-align: center; margin-bottom: var(--space-8); }
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: var(--w-heavy);
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
  color: var(--ink);
  text-wrap: balance;
}

/* ---------- 7. Buttons (Apple capsules) --------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 var(--space-6);
  border-radius: var(--radius-pill);
  border: 1px solid var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--w-strong);
  letter-spacing: var(--track-tight);
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast) var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(0.98); }

/* shine sweep */
.btn::after {
  content: '';
  position: absolute; top: 0; bottom: 0; left: -40%; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(-160%) skewX(-18deg);
  pointer-events: none;
}
.btn:hover::after { animation: shine 900ms var(--ease) forwards; }

.btn-primary {
  background: linear-gradient(180deg, #2C2C2E 0%, #000 100%);
  color: var(--on-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), var(--glow-md);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #2BC85A 0%, var(--green) 100%);
  border-color: var(--green);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), var(--glow-md-hover);
}
.btn-primary:active { transform: scale(0.98); }

.btn-sm { min-height: 40px; padding: 0 var(--space-4); font-size: var(--text-xs); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* glass capsule with gradient hairline; fills with its gradient on hover */
.btn-social {
  --grad: var(--x-gradient);
  border: 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F7 100%);
  color: var(--ink);
  min-height: 48px;
  padding: 0 22px 0 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(0, 0, 0, 0.06), 0 10px 28px rgba(0, 0, 0, 0.08);
}
.btn-social::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}
.btn-social .fill {
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--grad);
  opacity: 0;
  transition: opacity 350ms var(--ease);
  z-index: -1;
}
.btn-social span, .btn-social svg { position: relative; z-index: 2; }
.btn-social:hover { color: #fff; transform: translateY(-2px) scale(1.03); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 16px 36px rgba(0, 0, 0, 0.16); }
.btn-social:hover .fill { opacity: 1; }
.btn-social:active { transform: scale(0.98); }
.btn-ig { --grad: var(--ig-gradient); }
.btn-x { --grad: var(--x-gradient); }
.btn-ig:hover { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 16px 36px rgba(238, 42, 123, 0.35); }

/* ---------- 8. Playhead + nav ------------------------------------------- */
.playhead {
  position: fixed; top: 0; left: 0;
  height: var(--playhead-h); width: 100%;
  background: var(--green);
  transform-origin: 0 50%; transform: scaleX(0);
  z-index: 1000; pointer-events: none;
  box-shadow: 0 0 10px rgba(var(--g), 0.8);
}

.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--hairline);
}
.nav .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }

.nav-status {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 38px;
  padding: 0 14px 0 12px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F7 100%);
  border: 1px solid var(--green-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--glow-sm);
  font-size: var(--text-label);
  font-weight: var(--w-strong);
  letter-spacing: var(--track-tight);
  color: var(--ink);
  transition: box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease-spring);
}
.nav-status:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--glow-md-hover); transform: translateY(-1px) scale(1.03); }
.nav-status:active { transform: scale(0.97); }
.nav-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-bright); animation: pulse 2s var(--ease) infinite; }
.nav-status strong { font-weight: 700; }

/* ---------- 9. Hero ----------------------------------------------------- */
/* Shorter than a full screen since revision 4: at 1440x900 the top of the
   format cards below must be visible without scrolling. */
.hero { padding: clamp(44px, 6vw, 88px) var(--gutter) clamp(32px, 4vw, 56px); text-align: center; }
.hero-content { max-width: 1000px; margin: 0 auto; }
.hero-tagline {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: var(--w-heavy);
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
  margin-bottom: var(--space-5);
}
/* "Stick." sits in a solid green rounded box, like the active-word highlight
   in short-form captions. The box is a ::before expanded past the text box by
   its inset (no padding/negative-margin pair), so the H1's layout and line
   breaks cannot shift. Fill runs #17A045 -> --green-deep: pure --green is only
   2.9:1 against white, this ramp keeps the whole box at >= 3.4:1. */
.hero-tagline .accent-word {
  position: relative;
  z-index: 0;
  display: inline-block;
  color: #fff;
  /* the box overhangs the text by 0.12em; give that space back so the box
     never crowds the word before it */
  margin-left: 0.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero-tagline .accent-word::before {
  content: '';
  position: absolute;
  inset: -0.02em -0.12em -0.06em;
  z-index: -1;
  border-radius: 0.16em;
  background: linear-gradient(135deg, #17A045, var(--green-deep));
  transform-origin: left center;
  transform: scaleX(1); /* no JS: the box is simply there */
}
/* JS present (words are split into .w spans): start hidden, wipe in after the
   word reveal finishes (main.js adds .accent-on on the last word's transitionend). */
.hero-tagline:has(.w):not(.accent-on) .accent-word::before { transform: scaleX(0); }
.hero-tagline.accent-on .accent-word::before {
  transform: scaleX(1);
  transition: transform 700ms var(--ease-settle);
}
/* the word starts green during its blur reveal, crosses to white during the
   last half of the wipe */
.hero-tagline .accent-word .w { color: var(--green-deep); }
.hero-tagline.accent-on .accent-word .w {
  color: #fff;
  transition: color 350ms var(--ease-settle) 350ms;
}
.hero-lead {
  font-size: var(--text-lead);
  font-weight: var(--w-strong);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 auto var(--space-7);
  text-wrap: balance;
}
.hero-cta { padding: 0 var(--space-7); min-height: 58px; font-size: 1.125rem; animation: float 5s var(--ease) infinite; }
.hero-cta:hover { animation-play-state: paused; }

/* ---------- 9b. Format cards ("What are we making?") -------------------- */
.services { padding: var(--space-6) var(--gutter) var(--section-pad); }
.services .section-head { margin-bottom: var(--space-5); }

.services-grid {
  display: grid;
  /* minmax(0, 1fr): a plain 1fr floors at the nowrap buttons' min-content,
     which overflowed the container between 901 and ~1050px */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}

/* Colorful in the Apple way: white base with the card's own colors washing in
   from one corner, a 1.5px gradient border, and a colored ambient glow
   underneath. Structured exactly like the Instagram block: a thin gradient
   wrapper (the ::before shows through the 1.5px padding), a solid inner
   surface covering the middle, and a blurred gradient ::after bleeding out
   past the edges. Negative-z pseudos paint above their own element's
   background, so the glow must sit behind an INNER cover, not the card. */
.service-card {
  --card-grad: var(--grad-short);
  --card-rgb: var(--c-short);
  display: flex;
  padding: 1.5px;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  box-shadow: none;
}
.service-card:hover { box-shadow: none; }
.service-short  { --card-grad: var(--grad-short); --card-rgb: var(--c-short); }
.service-long   { --card-grad: var(--grad-long);  --card-rgb: var(--c-long);  }
.service-custom { --card-grad: var(--grad-gold);  --card-rgb: var(--c-gold);  }

.service-card::before { /* the 1.5px gradient border ring */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--card-grad);
  z-index: -1;
}
.service-card::after { /* colored ambient glow underneath */
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  background: var(--card-grad);
  filter: blur(48px);
  opacity: 0.3;
  transform: translateY(16px);
  z-index: -2;
  transition: opacity var(--dur-med) var(--ease-settle);
}
.service-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-7) var(--space-6) var(--space-6);
  border-radius: calc(var(--radius-lg) - 1.5px);
  background:
    radial-gradient(130% 90% at 0% 0%, rgba(var(--card-rgb), 0.08), transparent 55%),
    var(--card);
}
/* the glow blooms in just after the card lands (only when JS runs the reveal) */
.js .service-card.reveal::after { opacity: 0; }
.service-card.reveal.is-visible::after {
  opacity: 0.3;
  animation: glow-bloom var(--dur-med) var(--ease-settle) calc(var(--reveal-delay, 0ms) + 550ms) backwards;
}
.services .service-card:hover::after { opacity: 0.48; }
@keyframes glow-bloom { from { opacity: 0; } }

.service-glyph { width: 96px; height: 96px; margin-bottom: var(--space-5); }
.service-glyph svg { width: 100%; height: 100%; overflow: visible; }
.service-glyph [class^="glyph-"] { transform-box: fill-box; }

/* one small move per glyph on hover */
.glyph-progress { transform: scaleX(0.35); transform-origin: left center; transition: transform 600ms var(--ease-settle); }
.service-card:hover .glyph-progress { transform: scaleX(1); }
.glyph-playhead { transition: transform 600ms var(--ease-settle); }
.service-card:hover .glyph-playhead { transform: translateX(26px); }
.glyph-handle { transition: transform var(--dur-med) var(--ease-settle); }
.service-card:hover .glyph-h-tl { transform: translate(-3px, -3px); }
.service-card:hover .glyph-h-tr { transform: translate(3px, -3px); }
.service-card:hover .glyph-h-br { transform: translate(3px, 3px); }
.service-card:hover .glyph-h-bl { transform: translate(-3px, 3px); }

.service-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.45rem + 1vw, 2.125rem); /* 28-34px */
  font-weight: 700;
  letter-spacing: var(--track-tight);
  line-height: 1.15;
  margin-bottom: var(--space-3);
}
.service-copy {
  font-size: var(--text-sm);
  font-weight: var(--w-strong);
  color: var(--ink-2);
  max-width: 30ch;
  margin-bottom: var(--space-6);
}
.service-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  width: 100%;
}
/* the site's black pill, its glow recolored to the card's family; hover stays
   black here (the green fill would fight the card's own colors) */
.service-card .btn-primary {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 0 1px rgba(var(--card-rgb), 0.35), 0 12px 34px -8px rgba(var(--card-rgb), 0.55);
}
.service-card .btn-primary:hover {
  background: linear-gradient(180deg, #2C2C2E 0%, #000 100%);
  border-color: var(--ink);
  color: var(--on-ink);
  transform: translateY(-2px) scale(1.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 0 2px rgba(var(--card-rgb), 0.5), 0 16px 44px -8px rgba(var(--card-rgb), 0.7);
}
.service-link {
  font-size: var(--text-sm);
  font-weight: var(--w-strong);
  color: var(--ink-2);
  text-underline-offset: 3px;
}
.service-link:hover, .service-link:focus-visible { text-decoration: underline; color: var(--ink); }

/* ---------- 9c. Gold, used sparingly ------------------------------------ */
.grad-text { color: var(--gt-solid, var(--gold-solid)); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad-text {
    background: var(--gt-grad, var(--grad-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  /* the bright stop sweeps across once, the first time the element is revealed */
  .is-visible .grad-text.glint {
    animation: gold-glint 1.4s var(--ease-settle) 600ms 1 both;
  }
}
@keyframes gold-glint {
  from { background-size: 250% 100%; background-position: 120% 0; }
  to   { background-size: 100% 100%; background-position: 0% 0; }
}
@media (forced-colors: active) {
  .grad-text { background: none; color: CanvasText; }
  /* the segmented control's checked state must survive forced palettes */
  .choice-pill span { forced-color-adjust: none; background: Canvas; color: CanvasText; border-color: CanvasText; box-shadow: none; }
  .choice-pill input:checked + span { background: SelectedItem; color: SelectedItemText; border-color: SelectedItem; }
  .choice-pill input:focus-visible + span { outline: 2px solid CanvasText; }
}

/* ---------- 10. Creators ------------------------------------------------ */
.creators { padding: var(--section-pad) var(--gutter); }

.avatar-stack { display: flex; justify-content: center; margin-top: var(--space-5); }
.avatar-stack > * {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green);
  box-shadow: 0 0 0.4cm rgba(var(--g), 0.45);
  background: var(--card);
  margin-left: -12px;
  font-size: 11px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: margin var(--dur-fast) var(--ease-spring), transform var(--dur-fast) var(--ease-spring);
}
.avatar-stack > *:first-child { margin-left: 0; }
.avatar-stack:hover > * { margin-left: 8px; transform: translateY(-4px) scale(1.08); }
.avatar-stack:hover > *:first-child { margin-left: 0; }

.creators-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); max-width: 1000px; margin: 0 auto; }
.creator-card { padding: var(--space-6) var(--space-4); text-align: center; }

.avatar-wrap {
  position: relative;
  width: 84px; height: 84px;
  margin: 0 auto var(--space-5);
  border-radius: 50%;
}
.avatar-wrap::before {
  content: '';
  position: absolute; inset: -5px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--green) 0 25%, transparent 25% 50%, var(--green) 50% 75%, transparent 75% 100%);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
  animation: spin 3s linear infinite;
  animation-play-state: paused;
}
.creator-card:hover .avatar-wrap::before { opacity: 0.9; animation-play-state: running; }
.creator-avatar {
  position: relative;
  width: 84px; height: 84px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--card);
  font-size: 1.125rem; font-weight: 700; color: var(--ink);
  transition: transform var(--dur-fast) var(--ease-spring);
}
.creator-card:hover .creator-avatar { transform: scale(1.06); }
div.creator-avatar { display: flex; align-items: center; justify-content: center; }
.creator-name { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 700; letter-spacing: var(--track-tight); line-height: 1.2; margin-bottom: var(--space-1); }
.creator-channel { font-size: var(--text-sm); font-weight: var(--w-strong); color: var(--ink-2); margin-bottom: var(--space-5); }
.creator-subs { font-family: var(--font-display); font-size: var(--text-num); font-weight: var(--w-heavy); letter-spacing: var(--track-display); line-height: 1; margin-bottom: var(--space-2); }
.creator-subs-label { margin-bottom: var(--space-4); }
.creator-platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.platform-badge {
  font-size: var(--text-label);
  font-weight: var(--w-strong);
  line-height: 1;
  padding: 7px 11px;
  border: 1px solid var(--green-line);
  border-radius: var(--radius-pill);
  color: var(--ink);
  background: var(--card);
  box-shadow: 0 0 0.3cm rgba(var(--g), 0.3);
  transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast) var(--ease);
}
.js .platform-badge { opacity: 0; }
.is-visible .platform-badge { animation: pop 600ms var(--ease-spring) calc(300ms + var(--i, 0) * 80ms) both; }
.platform-badge:hover { transform: translateY(-2px) scale(1.06); box-shadow: 0 0 0.5cm rgba(var(--g), 0.5); }

/* ---------- 10b. Brands (logo tiles under the creator grid) ------------- */
.brands { max-width: 1000px; margin: var(--space-8) auto 0; }
.brands-label { text-align: center; margin-bottom: var(--space-5); }
.brands-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-4);
  align-items: stretch;
}
.brand-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  padding: var(--space-4) var(--space-5);
}
/* logos render monochrome at rest so five brand palettes don't fight the
   green system; full opacity on hover. brightness(0) needs transparency —
   if a logo file is a non-transparent raster, drop the filter on its tile. */
.brand-tile img {
  max-height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.55;
  transition: opacity var(--dur-fast) var(--ease);
}
.brand-tile:hover img { opacity: 1; }
/* near-square marks (bell + stacked wordmark) need more height than the wide
   wordmarks to read as optically the same size */
.brand-tile img.logo-tall { max-height: 52px; }
/* wordmark fallback + the "+15 restaurants" tile: same type as .creator-name */
.brand-tile-text span {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: var(--track-tight);
  line-height: 1.2;
  text-align: center;
  color: var(--ink);
  opacity: 0.7;
  transition: opacity var(--dur-fast) var(--ease);
}
.brand-tile-text:hover span { opacity: 1; }

/* ---------- 11. Video facades (shared) --------------------------------- */
.video-embed, .short-item, .testimonial-video { position: relative; width: 100%; overflow: hidden; }
.video-embed { aspect-ratio: 16 / 9; box-shadow: var(--glow-lg); border-width: 2px; }
.video-embed:hover { box-shadow: var(--glow-lg-hover); }
.short-item, .testimonial-video { aspect-ratio: 9 / 16; }

.video-embed iframe, .short-item iframe, .testimonial-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.yt-facade { position: absolute; inset: 0; width: 100%; height: 100%; display: block; text-align: left; background: var(--ink); border-radius: inherit; overflow: hidden; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease), filter 600ms var(--ease); }
.yt-facade:hover img { transform: scale(1.05); filter: saturate(1.15); }

.yt-play {
  position: absolute; left: 50%; top: 50%;
  width: 72px; height: 72px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 30px rgba(0, 0, 0, 0.3);
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease-spring);
}
.yt-play::after {
  content: '';
  position: absolute; left: 50%; top: 50%;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%);
  opacity: 0;
}
.yt-play svg { width: 24px; height: 24px; margin-left: 3px; }
.yt-facade:hover .yt-play, .yt-facade:focus-visible .yt-play { background: var(--green); color: #fff; transform: translate(-50%, -50%) scale(1.1); }
.yt-facade:hover .yt-play::after { border-color: rgba(var(--g), 0.9); animation: breathe 1.6s var(--ease) infinite; }
.short-item .yt-play, .testimonial-video .yt-play { width: 60px; height: 60px; }
.yt-facade:focus-visible { outline: 2px solid var(--green-deep); outline-offset: -2px; }

/* ---------- 12. Featured Edits + Podcasts ------------------------------- */
.longform, .podcasts { padding: var(--section-pad) var(--gutter); }
.video-list { display: flex; flex-direction: column; gap: clamp(56px, 6vw, 80px); max-width: 900px; margin: 0 auto; }

/* CTA row sits exactly halfway between the section's content and the next title */
.cta-row {
  display: flex; justify-content: center;
  max-width: 900px;
  margin: var(--section-pad) auto calc(-1 * var(--section-pad));
  position: relative; z-index: 2;
}

/* ---------- 13. Shorts & Reels ----------------------------------------- */
.shorts { padding: var(--section-pad) var(--gutter); }
.shorts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); max-width: 900px; margin: 0 auto; }
.ig-embed .ig-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--ink-3); }
.ig-embed .ig-placeholder svg { width: 28px; height: 28px; }

/* Instagram / X profile block with a slowly rotating gradient silhouette */
@property --ig-angle { syntax: '<angle>'; inherits: false; initial-value: 45deg; }
@keyframes ig-spin { to { --ig-angle: 405deg; } }

/* the Instagram and X tiles sit as a pair: a white one and a black one */
.social-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: stretch;
  max-width: 900px;
  margin: var(--space-8) auto 0;
}

.ig-block {
  --ig-angle: 45deg;
  position: relative;
  display: flex;
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 2px;
  isolation: isolate;
  transition: transform var(--dur-med) var(--ease-settle);
}
.ig-block::before, .ig-block::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: conic-gradient(from var(--ig-angle), #F9CE34, #EE2A7B, #6228D7, #F9CE34);
  z-index: -1;
  animation: ig-spin 9s linear infinite;
}
.ig-block::after { inset: -4px; filter: blur(22px); opacity: 0.45; transition: opacity var(--dur-fast) var(--ease); }
.ig-block:hover { transform: translateY(-3px); }
.ig-block:hover::after { opacity: 0.7; }
.ig-block-inner {
  flex: 1;
  background: var(--card);
  border-radius: calc(var(--radius-md) - 2px);
  padding: var(--space-6);
  display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap;
}
.ig-avatar { width: 88px; height: 88px; border-radius: 50%; padding: 3px; background: conic-gradient(from var(--ig-angle), #F9CE34, #EE2A7B, #6228D7, #F9CE34); animation: ig-spin 9s linear infinite; flex: none; }
.ig-avatar > span { width: 100%; height: 100%; border-radius: 50%; background: var(--card); border: 3px solid var(--card); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.ig-avatar svg { width: 36px; height: 36px; }
.ig-meta { flex: 1; min-width: 200px; }
.ig-handle { font-family: var(--font-display); font-size: 1.5rem; font-weight: var(--w-heavy); letter-spacing: var(--track-tight); line-height: 1.2; }
.ig-name { font-size: var(--text-sm); font-weight: var(--w-strong); color: var(--ink-2); margin-top: 4px; }
.ig-actions { display: flex; flex-direction: column; gap: var(--space-3); }

/* X tile: same structure as the Instagram tile, in X's own theme. True black
   surface, chrome-gradient hairline (same mask-free ring technique), neutral
   dark ambient shadow, and two faint beams crossing into a soft X. */
.x-block {
  position: relative;
  display: flex;
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 1.5px;
  isolation: isolate;
  transition: transform var(--dur-med) var(--ease-settle);
}
.x-block::before { /* chrome gradient border: white -> mid grey -> near black -> white */
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: conic-gradient(from 210deg, #FFFFFF, #8E8E93 22%, #1C1C1E 52%, #48484A 78%, #FFFFFF);
  z-index: -1;
}
.x-block::after { /* neutral, dark ambient shadow */
  content: '';
  position: absolute; inset: -4px;
  border-radius: inherit;
  background: #000;
  filter: blur(24px);
  opacity: 0.32;
  transform: translateY(10px);
  z-index: -2;
  transition: opacity var(--dur-med) var(--ease-settle);
}
.x-block:hover { transform: translateY(-3px); }
.x-block:hover::after { opacity: 0.45; }
.x-inner {
  position: relative;
  flex: 1;
  background: var(--x-black);
  border-radius: calc(var(--radius-md) - 1.5px);
  padding: var(--space-6);
  display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap;
  color: #fff;
  overflow: hidden;
}
.x-beams {
  position: absolute;
  inset: -30%;
  pointer-events: none;
  background:
    linear-gradient(55deg,  transparent 41%, rgba(255, 255, 255, 0.07) 50%, transparent 59%),
    linear-gradient(-55deg, transparent 41%, rgba(255, 255, 255, 0.07) 50%, transparent 59%);
  opacity: 0.7;
  transition: opacity var(--dur-med) var(--ease-settle);
}
.x-block:hover .x-beams { opacity: 1; }
.x-inner > :not(.x-beams) { position: relative; z-index: 1; }
.x-ring {
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 2px solid #48484A;
  box-shadow: 0 0 0.4cm rgba(255, 255, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
  flex: none;
  overflow: hidden;
  position: relative;
}
.x-ring svg { width: 34px; height: 34px; fill: #fff; }
.x-ring::after { /* slow sheen on hover */
  content: '';
  position: absolute; top: 0; bottom: 0; left: -40%; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-160%) skewX(-18deg);
  pointer-events: none;
}
.x-block:hover .x-ring::after { animation: shine 1400ms var(--ease-settle) forwards; }
.x-meta { flex: 1; min-width: 200px; }
.x-handle { font-family: var(--font-display); font-size: 1.5rem; font-weight: var(--w-heavy); letter-spacing: var(--track-tight); line-height: 1.2; }
.x-name { font-size: var(--text-sm); font-weight: var(--w-strong); color: #C7C7CC; margin-top: 4px; }
.x-actions { display: flex; flex-direction: column; gap: var(--space-3); }

/* white pill with black text: the inverse of the site's black pill */
.btn-inverse {
  background: linear-gradient(180deg, #FFFFFF 0%, #E9E9EE 100%);
  color: var(--ink);
  border-color: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 28px rgba(0, 0, 0, 0.55);
}
.btn-inverse:hover {
  background: #FFFFFF;
  color: var(--ink);
  transform: translateY(-2px) scale(1.03);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 16px 36px rgba(0, 0, 0, 0.7);
}
.x-block :focus-visible { outline-color: #fff; }

/* ---------- 14. Testimonials ------------------------------------------- */
.testimonial { padding: var(--section-pad) var(--gutter); }
.testimonial-video { max-width: 360px; margin: 0 auto; }
.testimonial-cards { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: var(--space-5); max-width: 800px; margin: var(--space-8) auto 0; }
.testimonial-card { flex: 1; min-width: 280px; max-width: 380px; padding: var(--space-6); text-align: left; }
.testimonial-stars { display: flex; gap: 3px; color: var(--star); font-size: 1.05rem; line-height: 1; margin-bottom: var(--space-5); }
.testimonial-stars .star { filter: drop-shadow(0 0 4px rgba(245, 179, 1, 0.6)); }
.js .testimonial-stars .star { opacity: 0; }
.is-visible .testimonial-stars .star { animation: pop 500ms var(--ease-spring) calc(200ms + var(--i, 0) * 90ms) both; }
.testimonial-text { font-size: var(--text-sm); font-weight: var(--w-strong); line-height: var(--lh-relaxed); color: var(--ink); margin-bottom: var(--space-5); }
.testimonial-author { display: flex; align-items: center; gap: var(--space-3); }
.testimonial-author-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; background: var(--card); flex: none; transition: transform var(--dur-fast) var(--ease-spring); }
.testimonial-card:hover .testimonial-author-avatar { transform: rotate(-6deg) scale(1.08); }
.testimonial-author-name { font-family: var(--font-display); font-size: var(--text-sm); font-weight: 700; letter-spacing: var(--track-tight); }
.testimonial-author-role { font-size: var(--text-xs); font-weight: var(--w-strong); color: var(--ink-2); }

/* ---------- 15. Contact ------------------------------------------------- */
.contact { padding: var(--section-pad) var(--gutter); }
.contact-form { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-5); }
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-group label { font-size: var(--text-label); font-weight: 700; color: var(--ink); transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); transform-origin: left; }
.form-group:focus-within label { color: var(--green-deep); transform: translateX(4px); }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 15px 18px;
  font-weight: var(--w-body);
  background: var(--card);
  border: 1px solid var(--green-line);
  border-radius: var(--radius-sm);
  box-shadow: var(--glow-sm);
  outline: none;
  transition: box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--ink-3); font-weight: 500; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--green); box-shadow: var(--glow-md-hover); transform: translateY(-1px); }
.form-group textarea { resize: vertical; min-height: 140px; }

/* "What do you need?": segmented pill control. Plain radios under the hood,
   so it works with the keyboard (arrow keys) and with JS off. */
.form-choice { border: 0; padding: 0; }
.form-choice legend { font-size: var(--text-label); font-weight: 700; color: var(--ink); padding: 0; margin-bottom: var(--space-2); }
.choice-seg { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.choice-pill { position: relative; }
.choice-pill input {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.choice-pill span {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px;
  padding: 0 var(--space-4);
  border: 1px solid var(--green-line);
  border-radius: var(--radius-pill);
  background: var(--card);
  box-shadow: var(--glow-sm);
  font-size: var(--text-xs);
  font-weight: var(--w-strong);
  letter-spacing: var(--track-tight);
  white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.choice-pill:hover span { box-shadow: var(--glow-md); }
.choice-pill input:checked + span { /* selected segment: black pill, white text */
  background: linear-gradient(180deg, #2C2C2E 0%, #000 100%);
  color: #fff;
  border-color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), var(--glow-sm);
}
.choice-pill input:focus-visible + span { outline: 2px solid var(--green-deep); outline-offset: 3px; }

.form-submit { width: 100%; margin-top: var(--space-2); }

.form-status {
  display: flex; align-items: flex-start; gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--green-line);
  border-radius: var(--radius-sm);
  background: var(--card);
  box-shadow: var(--glow-md);
  font-size: var(--text-sm); font-weight: var(--w-strong); line-height: 1.5;
  animation: pop 500ms var(--ease-spring) both;
}
.form-status[hidden] { display: none; }
.form-status::before { content: ''; flex: none; width: 9px; height: 9px; margin-top: 7px; border-radius: 50%; background: var(--green); }
.form-status.is-error { border-color: rgba(255, 59, 48, 0.7); box-shadow: 0 0 0 1px rgba(255, 59, 48, 0.25), 0 0 0.8cm rgba(255, 59, 48, 0.3); }
.form-status.is-error::before { background: #FF3B30; }
.form-status a { text-decoration: underline; text-underline-offset: 3px; }
.contact-form.is-sent .form-group, .contact-form.is-sent .form-submit { display: none; }

.contact-email { text-align: center; margin-top: var(--space-6); font-size: var(--text-sm); font-weight: var(--w-strong); color: var(--ink-2); }
.contact-email a { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--green-line); transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.contact-email a:hover { border-bottom-color: var(--green); color: var(--green-deep); }

.contact-socials { display: flex; justify-content: center; gap: var(--space-3); margin-top: var(--space-4); }
.contact-socials a, .footer-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--green-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--glow-sm);
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F7 100%);
  color: var(--ink);
  transition: box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease-spring), border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.contact-socials a:hover, .footer-socials a:hover { border-color: var(--green); background: var(--green); color: #fff; box-shadow: var(--glow-md-hover); transform: translateY(-3px) rotate(-8deg) scale(1.08); }
.contact-socials a:active, .footer-socials a:active { transform: scale(0.95); }
.contact-socials svg { width: 19px; height: 19px; }

/* ---------- 16. Footer -------------------------------------------------- */
.footer { padding: var(--space-6) var(--gutter); border-top: 1px solid var(--hairline); }
.footer .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.footer-copy { font-size: var(--text-xs); font-weight: var(--w-strong); color: var(--ink-2); }
.footer-socials { display: flex; gap: var(--space-2); }
.footer-socials a { width: 40px; height: 40px; }
.footer-socials svg { width: 15px; height: 15px; }

/* ---------- 17. Responsive --------------------------------------------- */
/* the two social tiles sit side by side from 1024px up; inside each, the
   content stacks (button under text) so nothing gets cramped at half width */
@media (min-width: 1024px) {
  .social-tiles { grid-template-columns: 1fr 1fr; }
  .ig-block-inner, .x-inner { flex-direction: column; justify-content: center; text-align: center; }
  .ig-meta, .x-meta { min-width: 0; flex: initial; }
  .ig-actions, .x-actions { width: 100%; align-items: center; }
}
/* below ~1050px three nowrap buttons can no longer fit side by side */
@media (max-width: 1050px) {
  .services-grid { grid-template-columns: 1fr; max-width: 480px; }
}
@media (max-width: 900px) {
  .creators-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .shorts-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .section-head { margin-bottom: var(--space-7); }
  .ig-block-inner, .x-inner { justify-content: center; text-align: center; }
  .ig-actions, .x-actions { width: 100%; align-items: center; }
  .video-embed { box-shadow: var(--glow-md); }
  .video-embed:hover { box-shadow: var(--glow-md-hover); }
}
@media (max-width: 640px) {
  .hero-tagline { margin-bottom: var(--space-4); }
  .yt-play { width: 56px; height: 56px; }
  .yt-play svg { width: 18px; height: 18px; }
  :root { --vignette-strength: 0.10; } /* ~60% of desktop: edges sit against content here */
}
@media (max-width: 500px) {
  .creators-grid { grid-template-columns: 1fr; max-width: 360px; }
  .shorts-grid { grid-template-columns: 1fr; max-width: 320px; }
  .brands-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* a lone tile on the last row (odd count) spans the full width */
  .brands-row .brand-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .footer .container { flex-direction: column; text-align: center; }
  .nav-status { font-size: 0.75rem; padding: 0 10px; }
  .btn-nav { min-height: 36px; padding: 0 var(--space-3); font-size: 0.8125rem; }
  :root { --gutter: 20px; }
  /* compact format cards: smaller glyph, same actions, all three within ~1.3 screens */
  .services { padding-top: var(--space-6); }
  .services .section-head { margin-bottom: var(--space-4); }
  .services-grid { gap: var(--space-3); }
  .service-inner { padding: var(--space-5) var(--space-5) var(--space-4); }
  .service-glyph { width: 52px; height: 52px; margin-bottom: var(--space-3); }
  .service-title { font-size: 1.625rem; margin-bottom: var(--space-2); }
  .service-copy { font-size: var(--text-xs); margin-bottom: var(--space-4); }
  .service-actions { gap: var(--space-3); }
  .service-actions .btn { min-height: 46px; }
}

/* ---------- 18. Reduced motion ------------------------------------------ */
/* "Calmer" rather than "off": Windows maps its Animation-effects switch to this query,
   so a fully static fallback would hide the whole design. Keep gentle opacity fades;
   drop movement-heavy effects (tilt, loops, blur, rotation, wipes, glints). */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: opacity 500ms ease; transform: none !important; filter: none !important; }
  .reveal:not(.block) { transform: none; }
  .reveal-text { filter: none; }
  .w { transform: none; filter: none; transition: opacity 500ms ease; transition-delay: calc(var(--i, 0) * 40ms); }
  .platform-badge, .testimonial-stars .star { opacity: 1; animation: none; }
  .block { transform: none !important; }
  .block .sheen { display: none; }
  .hero-cta { animation: none; }
  .nav-status .dot { animation: none; }
  .avatar-wrap::before { animation: none; }
  .ig-block::before, .ig-block::after, .ig-avatar { animation: none; }
  .yt-facade:hover .yt-play::after { animation: none; }
  .btn:hover::after { animation: none; }
  .avatar-stack:hover > * { margin-left: -12px; transform: none; }
  .avatar-stack:hover > *:first-child { margin-left: 0; }
  .yt-facade:hover img { transform: none; }
  /* revision 4: the box is simply there, gold is simply gold, glyphs and
     beams switch state instantly, nothing lifts on hover */
  .hero-tagline .accent-word::before { transform: scaleX(1) !important; transition: none !important; }
  .hero-tagline .accent-word .w { color: #fff !important; }
  .is-visible .grad-text.glint { animation: none !important; }
  .service-card.reveal::after, .service-card.reveal.is-visible::after { animation: none !important; opacity: 0.3; transition: none !important; }
  .services .service-card:hover::after { opacity: 0.3; }
  .glyph-progress, .glyph-playhead, .glyph-handle { transition: none !important; }
  .x-beams { transition: none !important; }
  .x-block:hover .x-ring::after { animation: none !important; }
  .brand-tile img, .brand-tile-text span { transition: none !important; }
  .btn:hover { transform: none !important; }
  .ig-block:hover, .x-block:hover { transform: none !important; }
}
