/* ============================================================
   AG VOICE / one-page agency site
   Pure white / black scheme, iridescent gradient accents,
   expanded grotesque display type.
   ============================================================ */

/* ---------- Fonts ----------
   Self-hosted:
   - Inter Tight  (headings / titles)
   - Satoshi      (body) - geometric grotesk with more character
                   than Inter; reads warmer and more designed
   - Inter        (metric fallback for Satoshi)
   - Instrument Serif italic (serif taglines / eyebrows) */
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/intertight-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-var.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-var-italic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrumentserif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrumentserif-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #FFFFFF;
  --ink: #0A0A0A;
  --dark: #0A0A0A;
  --dark-card: #121212;
  --card: #FFFFFF;
  --muted: rgba(10, 10, 10, 0.55);
  --line: rgba(10, 10, 10, 0.12);
  --hairline: rgba(10, 10, 10, 0.09);

  --g1: #6C3DF4; /* violet   */
  --g2: #2C6BFF; /* electric */
  --g3: #FF5A3C; /* coral    */
  --g4: #FFB528; /* amber    */
  --g5: #FF7AC3; /* pink     */
  --grad: linear-gradient(100deg, var(--g1) 0%, var(--g2) 28%, var(--g5) 55%, var(--g3) 78%, var(--g4) 100%);

  --font-display: "Inter Tight", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Satoshi", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --ease: cubic-bezier(0.75, 0, 0.25, 1);
  --t-fast: 0.25s var(--ease);
  --t-med: 0.5s var(--ease);
  --t-slow: 0.9s var(--ease);

  --radius: 26px;
  --radius-s: 16px;
  --pad-x: clamp(1.25rem, 4vw, 4rem);
  --section-gap: clamp(6rem, 12vw, 11rem);
  --header-h: 84px;

  --fs-display: clamp(2.2rem, 5.4vw, 5.6rem);
  --fs-giant: clamp(3rem, 9.4vw, 9.8rem);
  --fs-h-big: clamp(1.9rem, 4.2vw, 4rem);
  --fs-body: clamp(1rem, 1.2vw, 1.2rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.lenis { height: auto; scroll-behavior: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  /* tight tracking on body copy for a more premium set */
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
em { font-style: normal; }

.container { max-width: 1520px; margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding-top: var(--section-gap); }

::selection { background: var(--g1); color: #fff; }

/* Gradient text accent */
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: gradShift 6s ease-in-out infinite alternate;
}
@keyframes gradShift { from { background-position: 0% 0; } to { background-position: 100% 0; } }

/* ---------- Typography helpers ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-display);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.giant {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-giant);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}
.giant--light { color: #fff; }
.h-big {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h-big);
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 22ch;
  text-wrap: balance;
}
.eyebrow {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  color: rgba(10,10,10,0.65);
  margin-bottom: clamp(1.2rem, 2.5vw, 2rem);
}
.eyebrow--light { color: rgba(255,255,255,0.65); }

/* ---------- Line reveal ---------- */
.line { display: block; overflow: hidden; }
.line__inner {
  display: inline-block;
  transform: translateY(115%) rotate(2deg);
  transform-origin: 0 100%;
  transition: transform 1.1s var(--ease);
  will-change: transform;
}
.is-inview .line__inner, .line.is-inview .line__inner { transform: translateY(0) rotate(0); }
.line:nth-child(2) .line__inner { transition-delay: 0.08s; }
.line:nth-child(3) .line__inner { transition-delay: 0.16s; }

/* Per-character cascade (KOTA-style): JS splits heading lines into
   chars; each letter rises out of the line mask left-to-right. */
.line--chars .line__inner { transform: none; transition: none; }
.line--chars .word { display: inline-block; white-space: nowrap; }
.line--chars .char {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 0.85s var(--ease);
  will-change: transform;
}
.is-inview .char, .line.is-inview .char { transform: translateY(0); }

/* ---------- Generic reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-inview { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 0.12s; }
[data-delay="2"] { transition-delay: 0.24s; }
[data-delay="3"] { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], .line__inner, .char { opacity: 1 !important; transform: none !important; transition: none !important; }
  .grad { animation: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 40px;
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
  line-height: 1;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: var(--g1); transform: scale(1.03); }
.btn--outline { border: 1px solid var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; transform: scale(1.03); }
.btn--light { border: 1px solid rgba(255,255,255,0.4); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--big { padding: 1.2rem 2.2rem; font-size: 1.1rem; }
.btn__arrow { display: inline-block; transition: transform var(--t-fast); }
.btn:hover .btn__arrow { transform: translateX(5px); }

/* ---------- Social buttons ---------- */
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: color var(--t-fast), transform var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}
.social-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.social-btn:hover { color: var(--g4); }
.social-btn--round {
  width: 46px; height: 46px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  justify-content: center;
  color: rgba(255,255,255,0.85);
}
.social-btn--round svg { width: 20px; height: 20px; }
.social-btn--round:hover { background: #fff; color: var(--ink); border-color: #fff; transform: scale(1.06); }

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.9s var(--ease);
}
.loader.is-done { transform: translateY(-101%); }
.loader__mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2em;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 4.5rem);
  letter-spacing: 0.02em;
}
.loader__word { display: block; overflow: hidden; }
.loader__word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: loaderUp 0.8s var(--ease) forwards;
}
.loader__logo svg {
  display: block;
  width: clamp(170px, 30vw, 300px);
  height: auto;
  color: #fff;
}
@keyframes loaderUp { to { transform: translateY(0); } }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
  opacity: 0;
  mix-blend-mode: exclusion;
  background: #fff;
}
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 52px; height: 52px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad-x);
  transition: transform var(--t-med);
}
.header.is-hidden { transform: translateY(-110%); }
/* three-line lockup (AG / VOICE / MEDIA); 52px matches the burger,
   so the header keeps its height while the type stays legible */
.header__logo { display: flex; }
.header__logo svg { display: block; height: 52px; width: auto; color: var(--ink); transition: color var(--t-fast); }
.header__logo:hover svg { color: var(--g1); }
.header__right { display: flex; align-items: center; gap: 0.8rem; }
.header__burger {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background var(--t-fast), transform var(--t-fast);
}
.header__burger span {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  transition: transform var(--t-fast), background var(--t-fast);
}
.header__burger:hover { background: var(--g1); transform: scale(1.06); }
.menu-open .header__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .header__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Header over dark sections: invert to white */
.header.is-invert .header__logo svg { color: #fff; }
.header.is-invert .header__logo:hover svg { color: var(--g4); }
.header.is-invert .btn--solid { background: #fff; color: var(--ink); }
.header.is-invert .btn--solid:hover { background: var(--g4); color: var(--ink); }
.header.is-invert .header__burger { background: #fff; }
.header.is-invert .header__burger span { background: var(--ink); }
.menu-open .header__logo svg { color: #fff; }
.menu-open .btn--solid { background: #fff; color: var(--ink); }
.menu-open .header__burger { background: #fff; }
.menu-open .header__burger span { background: var(--ink); }

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(10, 10, 10, 0.82);
  -webkit-backdrop-filter: blur(34px) saturate(150%);
  backdrop-filter: blur(34px) saturate(150%);
  color: #fff;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s var(--ease);
  display: flex;
}
.menu-open .menu { clip-path: inset(0 0 0% 0); }
.menu__inner {
  margin: auto;
  width: 100%;
  max-width: 1520px;
  padding: 6rem var(--pad-x) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}
.menu__links li { overflow: hidden; }
.menu__links a {
  display: inline-flex;
  align-items: baseline;
  gap: 1.2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 4.6rem);
  text-transform: uppercase;
  line-height: 1.18;
  transform: translateY(110%);
  transition: transform 0.8s var(--ease), color var(--t-fast);
}
.menu-open .menu__links a { transform: translateY(0); }
.menu__links li:nth-child(1) a { transition-delay: 0.15s; }
.menu__links li:nth-child(2) a { transition-delay: 0.21s; }
.menu__links li:nth-child(3) a { transition-delay: 0.27s; }
.menu__links li:nth-child(4) a { transition-delay: 0.33s; }
.menu__links li:nth-child(5) a { transition-delay: 0.39s; }
.menu__links li:nth-child(6) a { transition-delay: 0.45s; }
.menu__links a:hover { color: var(--g4); }
.menu__links em {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
}
.menu__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  padding-top: 3rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}
.menu__social { display: flex; gap: 1.8rem; }

/* ---------- Hero: full-bleed hand-and-phone photograph starting
   at the very top of the screen, copy overlaid on the image's
   white headroom (image swaps 16:9-padded / 4:5) ---------- */
.hero {
  position: relative;
  /* at least one screen tall, never shorter than the image
     (padded desktop file is 2752x1936 -> 70.35vw tall) */
  min-height: max(100svh, 70.35vw);
  overflow: hidden;
  text-align: center;
  background: #fff;
}
.hero__bg {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 0;
  display: block;
}
.hero__bg img {
  width: 100%;
  height: auto;
  display: block;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: clamp(48px, 9vw, 130px);
  z-index: 2;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 92%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: clamp(5.5rem, 11vh, 7.5rem);
  width: 100%;
}
.hero__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  color: rgba(10,10,10,0.75);
  margin-bottom: 0.5rem;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 1.1rem;
}
.hero__desc {
  color: var(--muted);
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  line-height: 1.6;
  margin-bottom: 1.6rem;
}
.btn--hero {
  border: 1px solid rgba(10, 10, 10, 0.75);
  background: rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: var(--ink);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0.95rem 1.8rem;
}
.btn--hero:hover { background: var(--ink); color: #fff; transform: scale(1.03); }

/* ---------- Mid zone: drifting gradient ribbon ----------
   A heavily feathered band in the hero palette that travels down
   the white stretch (intro -> services -> process) as you scroll,
   swaying gently toward the cursor. Content sits above it. */
.midzone { position: relative; overflow-x: clip; }
.midzone > .section { position: relative; z-index: 1; }
.ribbon {
  position: absolute;
  top: 0;
  left: -8%;
  right: -8%;
  height: clamp(240px, 30vw, 440px);
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(42% 58% at 10% 52%, rgba(255, 181, 40, 0.5) 0%, rgba(255, 181, 40, 0) 70%),
    radial-gradient(46% 62% at 36% 44%, rgba(255, 90, 60, 0.44) 0%, rgba(255, 90, 60, 0) 70%),
    radial-gradient(46% 62% at 64% 56%, rgba(255, 122, 195, 0.46) 0%, rgba(255, 122, 195, 0) 70%),
    radial-gradient(48% 64% at 90% 46%, rgba(108, 61, 244, 0.38) 0%, rgba(108, 61, 244, 0) 70%);
  filter: blur(64px);
  opacity: 0.75;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .ribbon { top: 30%; }
}

/* ---------- Intro ---------- */
.intro__statement {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.4vw, 3.2rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 26ch;
}
/* Pillar cards (KOTA-style): black rounded cards with a swollen
   top-right corner, joined by multiplication signs on desktop. */
.intro__pillars {
  display: flex;
  align-items: stretch;
  gap: clamp(0.9rem, 1.8vw, 1.8rem);
  margin-top: clamp(3rem, 6vw, 5.5rem);
}
.pillar { flex: 1; display: flex; }
.pillar[data-reveal] { transform: translateY(76px); }
.pillar[data-reveal].is-inview { transform: none; }
.pillar__inner {
  width: 100%;
  /* solid card (no transparency) */
  background:
    radial-gradient(120% 130% at 92% 8%, rgba(108, 61, 244, 0.5) 0%, rgba(255, 90, 60, 0.28) 34%, rgba(18, 18, 18, 0) 62%),
    radial-gradient(90% 110% at 100% 100%, rgba(44, 107, 255, 0.32) 0%, rgba(18, 18, 18, 0) 55%),
    var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 22px 88px 22px 22px;
  padding: clamp(1.7rem, 2.6vw, 2.8rem);
  display: flex;
  flex-direction: column;
  min-height: clamp(330px, 27vw, 440px);
  text-align: left;
  transform-origin: 50% 0;
  will-change: transform, filter;
}
.pillar__num { font-size: 0.88rem; color: rgba(255,255,255,0.55); }
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 2.7vw, 2.9rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-top: clamp(2.4rem, 4.4vw, 4.2rem);
}
.pillar p { color: rgba(255,255,255,0.66); max-width: 30ch; margin-top: auto; padding-top: 2.2rem; }
.pillar__x {
  align-self: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 2.8vw, 3rem);
  color: var(--ink);
}

/* ---------- Services: sticky stacked deck ---------- */
.stack { display: flex; flex-direction: column; }
.scard {
  position: sticky;
  top: var(--header-h);
  padding-bottom: clamp(1.2rem, 2.5vw, 2rem);
}
.scard__inner {
  /* frosted glass: the gradient ribbon drifts behind and blooms through */
  background: rgba(255, 255, 255, 0.58);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
  backdrop-filter: blur(24px) saturate(165%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    0 18px 60px rgba(10, 10, 10, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.2vw, 3.2rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: center;
  height: calc(100vh - var(--header-h) - clamp(1.2rem, 2.5vw, 2rem) - 16px);
  max-height: 780px;
  transform-origin: 50% 0;
  will-change: transform, filter;
}
.scard__text h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.6rem;
  max-width: 12ch;
}
.scard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}
.scard__tags li {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.scard__text p { color: var(--muted); max-width: 40ch; margin-bottom: 2rem; }
.scard__media {
  border-radius: var(--radius-s);
  overflow: hidden;
  height: 100%;
  max-height: 100%;
}
/* <picture> is inline by default; make it fill the frame so the
   img's height:100% has something to resolve against */
.scard__media picture { display: block; width: 100%; height: 100%; }
.scard__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1.2s var(--ease);
}
.scard:hover .scard__media img { transform: scale(1.05); }

/* ---------- Offer: alternating poster rows ----------
   Posters reveal with a curtain wipe (clip-path) from the side
   they sit on, while the artwork settles from a gentle zoom. */
/* Wrappers are inert on desktop; they become the glass card on mobile */
.ostage { position: relative; }
.ostage__glow { display: none; }
.ocards__nav { display: none; }

.orow {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5.5vw, 6rem);
  align-items: center;
}
.orow + .orow { margin-top: clamp(4.5rem, 9vw, 8.5rem); }
.orow--flip .orow__media { order: 2; }
.orow__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
  clip-path: inset(0 96% 0 0 round var(--radius));
  transition: clip-path 1.2s var(--ease);
  will-change: clip-path;
}
.orow--flip .orow__media { clip-path: inset(0 0 0 96% round var(--radius)); }
.orow.is-inview .orow__media,
.orow--flip.is-inview .orow__media { clip-path: inset(0 0 0 0 round var(--radius)); }
.orow__media img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.14);
  transition: transform 1.6s var(--ease);
  will-change: transform;
}
/* settles at 1, not 1.02, so overflow:hidden never clips the poster */
.orow.is-inview .orow__media img { transform: scale(1); }
.orow__num { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.4rem; }
.orow__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.4rem;
}
.orow__copy {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.3vw, 1.25rem);
  line-height: 1.65;
  max-width: 50ch;
  margin-bottom: 1.8rem;
}
.orow__text .btn { margin-top: 0.2rem; }

/* ---------- Process accordion ---------- */
.process .h-big { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.accordion { border-top: 1px solid var(--ink); }
.accordion__item { border-bottom: 1px solid var(--ink); }
.accordion__head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.2rem, 2.4vw, 2rem) 0;
  text-align: left;
}
.accordion__num { font-size: 0.9rem; color: var(--muted); min-width: 2.2rem; }
.accordion__title {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 2.4rem);
  letter-spacing: -0.02em;
  transition: color var(--t-fast), transform var(--t-fast);
}
.accordion__head:hover .accordion__title { color: var(--g1); transform: translateX(6px); }
.accordion__icon {
  position: relative;
  width: 44px; height: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background var(--t-fast), transform var(--t-med);
}
.accordion__icon::before, .accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 1.6px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--t-med);
}
.accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.is-open .accordion__icon { transform: rotate(45deg); }
.accordion__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.65s var(--ease);
}
.is-open .accordion__body { grid-template-rows: 1fr; }
.accordion__content { overflow: hidden; }
.accordion__content p {
  color: var(--muted);
  max-width: 62ch;
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.65;
  padding: 0 0 clamp(1.4rem, 2.4vw, 2rem) clamp(3.2rem, 5.4vw, 4.7rem);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.is-open .accordion__content p {
  opacity: 1;
  transform: none;
  transition-delay: 0.14s;
}
.accordion--faq .accordion__content p { padding-left: 0; }
/* numbered (process) cards: align answer under the title, not the number */
.accordion--glass:not(.accordion--faq) .accordion__content p {
  padding-left: calc(2.2rem + clamp(1rem, 3vw, 2.5rem));
}
.accordion--faq .accordion__title { font-size: clamp(1.1rem, 1.9vw, 1.7rem); font-weight: 500; }

/* ---------- Industries: dark slider ---------- */
.industries {
  background: var(--dark);
  color: #fff;
  margin-top: var(--section-gap);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-radius: var(--radius) var(--radius) 0 0;
  /* off-stage slides sit 6% to the right; clip so they never widen the page */
  overflow-x: clip;
}
.industries__copy {
  color: rgba(255,255,255,0.6);
  max-width: 44ch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
}

.slider {
  position: relative;
  height: clamp(460px, 62vh, 620px);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
/* stacked deck edges behind, like the reference */
.slider::before, .slider::after {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  border-radius: var(--radius);
  background: #1A1A1A;
  z-index: 0;
}
.slider::before { left: -14px; right: 14px; }
.slider::after { left: -28px; right: 28px; top: 28px; bottom: 28px; background: #151515; z-index: -1; }

.slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 130% at 92% 8%, rgba(108, 61, 244, 0.5) 0%, rgba(255, 90, 60, 0.28) 34%, rgba(18, 18, 18, 0) 62%),
    radial-gradient(90% 110% at 100% 100%, rgba(44, 107, 255, 0.32) 0%, rgba(18, 18, 18, 0) 55%),
    rgba(18, 18, 18, 0.82);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  padding: clamp(1.6rem, 3.4vw, 3.4rem);
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: center;
  overflow: hidden;
  opacity: 0;
  transform: translateX(6%) scale(0.98);
  pointer-events: none;
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}
.slide.is-leaving {
  opacity: 0;
  transform: translateX(-6%) scale(0.98);
}
.slide__label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.6rem;
}
.slide__text h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.2vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.slide__line {
  color: rgba(255,255,255,0.7);
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  margin-bottom: 2.2rem;
}
.slide__media {
  border-radius: var(--radius-s);
  overflow: hidden;
  height: 100%;
}
.slide__media img { width: 100%; height: 100%; object-fit: cover; }

.slider__next {
  position: absolute;
  right: clamp(1.2rem, 2.4vw, 2.2rem);
  bottom: clamp(1.2rem, 2.4vw, 2.2rem);
  z-index: 2;
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast), border-color var(--t-fast);
}
.slider__next svg { width: 24px; height: 24px; }
.slider__next:hover { background: #fff; color: var(--ink); border-color: #fff; transform: scale(1.08); }
.slide__count {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5);
}

/* "More customers" emphasis in the industries copy */
.industries__more {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
}

/* ---------- Outcomes (dark, continues the band) ---------- */
.outcomes {
  position: relative;
  background: var(--dark);
  color: #fff;
  padding-bottom: var(--section-gap);
  overflow-x: clip;
}
.outcomes::before {
  content: "";
  position: absolute;
  left: -8%;
  right: 34%;
  top: 22%;
  height: 62%;
  z-index: 0;
  background:
    radial-gradient(40% 48% at 22% 28%, rgba(108, 61, 244, 0.40) 0%, rgba(108, 61, 244, 0) 70%),
    radial-gradient(40% 48% at 44% 78%, rgba(255, 90, 60, 0.30) 0%, rgba(255, 90, 60, 0) 70%),
    radial-gradient(36% 44% at 70% 40%, rgba(255, 122, 195, 0.28) 0%, rgba(255, 122, 195, 0) 70%);
  filter: blur(58px);
  pointer-events: none;
}
.outcomes > .container { position: relative; z-index: 1; }
.outcomes .h-big { max-width: 26ch; }
.outcomes__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  align-items: center;
}
/* Outcome tiles: dark glass rows with a gradient index and edge */
.outcomes__list { display: flex; flex-direction: column; gap: 0.85rem; }
.outcomes__list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 2vw, 1.7rem);
  padding: clamp(1.15rem, 2vw, 1.6rem) clamp(1.3rem, 2.2vw, 1.9rem);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition: background var(--t-med), border-color var(--t-med), transform var(--t-med);
}
.outcomes__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: var(--grad);
}
.outcomes__list li:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateX(5px);
}
.outcomes__idx {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  padding-top: 0.32rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.outcomes__list p {
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  line-height: 1.42;
  letter-spacing: -0.02em;
}
.outcomes__poster {
  border-radius: var(--radius-s);
  overflow: hidden;
}
.outcomes__poster img { width: 100%; transition: transform 1.2s var(--ease); }
.outcomes__poster:hover img { transform: scale(1.04); }

/* ---------- FAQ: glass cards with a gradient edge accent ---------- */
.faq {
  position: relative;
  overflow-x: clip;
}
.faq .h-big { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
/* restrained colour bloom so the glass has something to diffuse */
.faq::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  top: 12%;
  height: 70%;
  z-index: 0;
  background:
    radial-gradient(34% 46% at 12% 30%, rgba(255, 181, 40, 0.30) 0%, rgba(255, 181, 40, 0) 70%),
    radial-gradient(34% 46% at 88% 62%, rgba(108, 61, 244, 0.28) 0%, rgba(108, 61, 244, 0) 70%),
    radial-gradient(30% 40% at 58% 18%, rgba(255, 122, 195, 0.22) 0%, rgba(255, 122, 195, 0) 70%);
  filter: blur(70px);
  pointer-events: none;
}
.faq > .container { position: relative; z-index: 1; }

.accordion--glass {
  border-top: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.accordion--glass .accordion__item {
  position: relative;
  border-bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  padding: 0 clamp(1.1rem, 2.2vw, 1.9rem);
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(20px) saturate(155%);
  backdrop-filter: blur(20px) saturate(155%);
  box-shadow:
    0 10px 34px rgba(10, 10, 10, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  overflow: hidden;
  transition: background var(--t-med), border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med);
}
/* gradient hairline down the leading edge, revealed when open */
.accordion--glass .accordion__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16%;
  bottom: 16%;
  width: 3px;
  z-index: 2;
  border-radius: 0 3px 3px 0;
  background: var(--grad);
  opacity: 0;
  transform: scaleY(0.4);
  transform-origin: 50% 50%;
  transition: opacity var(--t-med), transform var(--t-med);
}
/* gradient wash lives on its own layer so it can fade in smoothly
   across the whole card (background-image itself cannot animate) */
.accordion--glass .accordion__item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(118deg, rgba(108, 61, 244, 0.13) 0%, rgba(255, 122, 195, 0.08) 46%, rgba(255, 181, 40, 0.13) 100%);
  opacity: 0;
  transition: opacity 0.8s var(--ease);
  pointer-events: none;
}
.accordion--glass .accordion__head,
.accordion--glass .accordion__body { position: relative; z-index: 1; }

.accordion--glass .accordion__item.is-open {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 18px 46px rgba(10, 10, 10, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.accordion--glass .accordion__item.is-open::after { opacity: 1; }
.accordion--glass .accordion__item.is-open::before { opacity: 1; transform: scaleY(1); }
.accordion--glass .accordion__head:hover .accordion__title { transform: translateX(3px); }
.accordion--glass .accordion__icon { border-color: rgba(10, 10, 10, 0.22); }

/* ---------- Contact (dark) ---------- */
.contact {
  position: relative;
  background: var(--dark);
  color: #fff;
  margin-top: var(--section-gap);
  padding-bottom: var(--section-gap);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
/* colour bloom behind the form so its glass has something to diffuse */
.contact::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -6%;
  height: 78%;
  z-index: 0;
  background:
    radial-gradient(38% 46% at 16% 34%, rgba(255, 181, 40, 0.42) 0%, rgba(255, 181, 40, 0) 70%),
    radial-gradient(40% 48% at 44% 68%, rgba(255, 90, 60, 0.38) 0%, rgba(255, 90, 60, 0) 70%),
    radial-gradient(40% 48% at 70% 30%, rgba(255, 122, 195, 0.38) 0%, rgba(255, 122, 195, 0) 70%),
    radial-gradient(44% 52% at 90% 72%, rgba(108, 61, 244, 0.45) 0%, rgba(108, 61, 244, 0) 70%);
  filter: blur(52px);
  pointer-events: none;
}
.contact > .container { position: relative; z-index: 1; }
.giant--contact { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); color: #fff; }
.contact__copy { color: rgba(255,255,255,0.6); max-width: 46ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); font-size: clamp(1.05rem, 1.4vw, 1.35rem); }
.form {
  background: rgba(16, 16, 16, 0.55);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  backdrop-filter: blur(30px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 4rem);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.form__fields {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.form.is-sent .form__fields { display: none; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}
.form__field { display: flex; flex-direction: column; gap: 0.6rem; }
.form__field label, .form__label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.55);
}
.form__field input,
.form__field textarea,
.form__field select {
  font: inherit;
  color: #fff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.22);
  padding: 0.7rem 0;
  border-radius: 0;
  transition: border-color var(--t-fast);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus {
  outline: none;
  border-color: #fff;
}
.form__field input::placeholder, .form__field textarea::placeholder { color: rgba(255,255,255,0.3); }
.form__field select option { color: var(--ink); background: #fff; }
.form__select { position: relative; }
.form__select::after {
  content: "↓";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgba(255,255,255,0.55);
}
.form__field textarea { resize: vertical; min-height: 110px; }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.chip {
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 30px;
  padding: 0.65rem 1.2rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.chip:hover { border-color: #fff; color: #fff; transform: translateY(-2px); }
.chip.is-active { background: #fff; color: var(--ink); border-color: #fff; }
.form__actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.contact .btn--solid { background: #fff; color: var(--ink); }
.contact .btn--solid:hover { background: var(--g4); color: var(--ink); }
.form__status { font-size: 0.95rem; color: rgba(255,255,255,0.55); }
.form__status.is-error { color: #FF8A70; }
.form__status.is-success { color: #7EE2A8; }

/* Inline validation. main.js writes the message into .field__error, which
   stays empty and hidden until that field actually fails, so the layout
   is unchanged for anyone filling the form in correctly. */
.field__error {
  margin: -0.2rem 0 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #FF8A70;
}
.field__error:empty { display: none; }
.form__field.is-invalid input,
.form__field.is-invalid textarea,
.form__field.is-invalid select { border-bottom-color: #FF8A70; }
.form__field.is-invalid .chip:not(.is-active) { border-color: rgba(255,138,112,0.55); }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

/* Success state: fields hide, animated check draws in */
.form__success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
  padding: clamp(2rem, 5vw, 4rem) 1rem;
}
.form.is-sent .form__success {
  display: flex;
  animation: successIn 0.7s var(--ease) both;
}
@keyframes successIn {
  from { opacity: 0; transform: translateY(22px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.form__success .check { width: 96px; height: 96px; margin-bottom: 0.6rem; }
.form__success .check circle {
  fill: none;
  stroke: url(#checkgrad);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
}
.form__success .check path {
  fill: none;
  stroke: url(#checkgrad);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 34;
  stroke-dashoffset: 34;
}
.form.is-sent .check circle { animation: drawStroke 0.7s ease-out 0.15s forwards; }
.form.is-sent .check path { animation: drawStroke 0.45s ease-out 0.75s forwards; }
@keyframes drawStroke { to { stroke-dashoffset: 0; } }
.form__success h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  letter-spacing: -0.02em;
}
.form__success p { color: rgba(255,255,255,0.6); max-width: 40ch; }
.form__success .btn { margin-top: 0.8rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #fff;
  margin-top: 0;
  padding: clamp(3.5rem, 7vw, 6rem) 0 1.6rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.footer__tag { font-size: clamp(1.1rem, 1.8vw, 1.5rem); line-height: 1.5; max-width: 42ch; }
.footer__nav { display: flex; gap: clamp(2.5rem, 6vw, 6rem); }
.footer__nav > div { display: flex; flex-direction: column; gap: 0.55rem; }
.footer__head { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-bottom: 0.5rem; }
.footer__nav a { color: rgba(255,255,255,0.85); transition: color var(--t-fast), transform var(--t-fast); width: fit-content; }
.footer__nav a:hover { color: var(--g4); transform: translateX(4px); }
.footer__social { display: flex; gap: 0.8rem; }
.footer__social a.social-btn--round {
  width: 46px;
  height: 46px;
  color: rgba(255,255,255,0.85);
}
.footer__social a:hover { transform: scale(1.06); }
.footer__logo { margin-bottom: clamp(2rem, 4vw, 3rem); }
.footer__logo svg { width: 100%; height: auto; color: #fff; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
}
.footer__top-btn { color: rgba(255,255,255,0.85); transition: color var(--t-fast); }
.footer__top-btn:hover { color: var(--g4); }

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
  /* Mobile hero: 4:5 image anchored to the bottom of one screen,
     its white top blending into the page so copy sits clear of
     the phone */
  .hero { min-height: 100svh; }
  .hero__bg { top: auto; bottom: 0; height: 76%; }
  .hero__bg img { height: 100%; object-fit: cover; object-position: top center; }

  /* ---------- Mobile offer: one glassmorphism card, swapped by
     an arrow button. Gradient blobs sit behind the frosted panel
     so the backdrop blur has colour to diffuse. ---------- */
  .ostage__glow {
    display: block;
    position: absolute;
    inset: -6% -14%;
    z-index: 0;
    background:
      radial-gradient(38% 30% at 16% 14%, rgba(255, 181, 40, 0.85) 0%, rgba(255, 181, 40, 0) 70%),
      radial-gradient(40% 32% at 84% 22%, rgba(108, 61, 244, 0.72) 0%, rgba(108, 61, 244, 0) 70%),
      radial-gradient(44% 34% at 24% 82%, rgba(255, 90, 60, 0.72) 0%, rgba(255, 90, 60, 0) 70%),
      radial-gradient(42% 32% at 82% 88%, rgba(255, 122, 195, 0.78) 0%, rgba(255, 122, 195, 0) 70%),
      radial-gradient(36% 28% at 50% 50%, rgba(44, 107, 255, 0.42) 0%, rgba(44, 107, 255, 0) 72%);
    filter: blur(34px);
    border-radius: 40px;
  }
  .ocards {
    position: relative;
    z-index: 1;
    display: grid;
    padding: 1.1rem 1.1rem 0.9rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.42);
    -webkit-backdrop-filter: blur(26px) saturate(150%);
    backdrop-filter: blur(26px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow:
      0 24px 60px rgba(10, 10, 10, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.85);
    overflow: hidden;
  }
  /* All cards share one cell, so the card keeps one fixed height for
     every slide and transitions can run */
  .ocards .orow,
  .ocards .orow--flip {
    grid-area: 1 / 1;
    grid-template-columns: 1fr;
    gap: 1.1rem;
    align-content: start;
    margin-top: 0;
    opacity: 0;
    transform: translateX(7%) scale(0.985);
    pointer-events: none;
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }
  .ocards .orow.is-current {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .ocards .orow.is-leaving {
    opacity: 0;
    transform: translateX(-7%) scale(0.985);
  }
  /* The poster keeps its own rounded frame inside the card. The frame is
     a fixed 4:3 box, and the image fills it edge to edge instead of
     sitting letterboxed inside it. The carousel drives the motion, so no
     wipe inside the card. */
  .ocards .orow__media,
  .ocards .orow--flip .orow__media {
    clip-path: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.5);
    display: block;
    border-radius: 22px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }
  .ocards .orow__media picture { display: block; width: 100%; height: 100%; }
  .ocards .orow__media img {
    transform: none;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
  }
  .ocards .orow__num { margin-bottom: 0.7rem; color: rgba(10, 10, 10, 0.6); }
  .ocards .orow__title { font-size: 1.85rem; margin-bottom: 0.7rem; }
  .ocards .orow__copy { font-size: 1rem; margin-bottom: 0; color: rgba(10, 10, 10, 0.66); }
  .ocards .orow__text .btn { margin-top: 1rem; }

  .ocards__nav {
    grid-area: 2 / 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.1rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(10, 10, 10, 0.12);
  }
  .ocards__count {
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    color: rgba(10, 10, 10, 0.6);
  }
  .ocards__next {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(10, 10, 10, 0.25);
    background: rgba(255, 255, 255, 0.55);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast), border-color var(--t-fast);
  }
  .ocards__next svg { width: 22px; height: 22px; }
  .ocards__next:active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
    transform: scale(0.94);
  }
}

@media (max-width: 900px) {
  .scard__inner {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    align-items: start;
  }
  .scard { top: 76px; }
  .scard__media { order: -1; aspect-ratio: 4 / 3; max-height: 340px; height: auto; }

  /* Pillars: column of sticky cards that stack like the services deck */
  .intro__pillars { flex-direction: column; gap: 0; }
  .pillar__x { display: none; }
  .pillar {
    position: sticky;
    top: 76px;
    padding-bottom: 1.1rem;
  }
  .pillar__inner { min-height: min(62vh, 480px); border-radius: 20px 64px 20px 20px; }
  .pillar h3 { font-size: 3.1rem; }

  /* Offer rows stack: poster above copy, wipe from the top */
  .orow, .orow--flip { grid-template-columns: 1fr; gap: 1.8rem; }
  .orow--flip .orow__media { order: 0; }
  .orow__media, .orow--flip .orow__media { clip-path: inset(0 0 96% 0 round var(--radius)); }
  .orow.is-inview .orow__media,
  .orow--flip.is-inview .orow__media { clip-path: inset(0 0 0 0 round var(--radius)); }
  .outcomes__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__foot { flex-direction: column; align-items: flex-start; }
  .hero__note { text-align: left; }
  .header__logo svg { height: 44px; }
  .btn { padding: 0.75rem 1.2rem; font-size: 0.92rem; }
  .menu__foot { flex-direction: column; align-items: flex-start; }

  /* Mobile slider: stack all slides in the same grid cell so
     opacity/transform transitions keep animating (display:none
     would kill them). */
  .slider { height: auto; display: grid; }
  .slider::before, .slider::after { display: none; }
  .slide {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
    grid-template-columns: 1fr;
  }
  .slide__media { aspect-ratio: 4 / 3; height: auto; order: -1; }
  .slide__count { margin-top: 1.2rem; }
  .slider__next { position: absolute; right: 1rem; bottom: 1rem; }
}
