/* =============================================================
   003Lab - landing page  (v2, light editorial gallery)
   Concept ref: coveomusic.com  -> light gray canvas, fan/arc of
   squircle tiles, central brand circle, small uppercase labels,
   big serif-italic display words. Monochrome UI; color from imagery.
   Type:  Playfair Display (display italic) + Figtree (labels/UI) + Inter (body)
   ============================================================= */

:root {
  /* light canvas */
  --bg:        #EBEBEB;
  --surface:   #F5F5F4;
  --white:     #FFFFFF;
  --ink:       #18181B;
  --ink-2:     #4F4F57;
  --ink-3:     #76767E;
  --line:      rgba(0, 0, 0, 0.13);

  /* single warm accent (like the concept's central circle), used sparingly */
  --accent:    #E0623E;

  /* fonts */
  --f-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-sans:  "Figtree", system-ui, -apple-system, sans-serif;
  --f-body:  "Inter", system-ui, -apple-system, sans-serif;

  /* radius */
  --squircle: 27%;
  --r-card:   20px;
  --r-pill:   999px;

  /* type scale */
  --fs-display: clamp(3.4rem, 1.9rem + 7vw, 7.5rem);
  --fs-sec:     clamp(2rem, 1.4rem + 2.9vw, 3.6rem);
  --fs-lede:    clamp(1.08rem, 1rem + 0.45vw, 1.35rem);

  --sec-y:   clamp(4.5rem, 3.2rem + 6vw, 8.5rem);
  --container: 1180px;
  --gutter:  clamp(1.15rem, 0.5rem + 2.4vw, 2.4rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;
  --header-h: 66px;

  /* transitions.dev tokens (menu dropdown + icon swap + modal) */
  --dropdown-open-dur: 250ms;
  --dropdown-close-dur: 150ms;
  --dropdown-pre-scale: 0.97;
  --dropdown-closing-scale: 0.99;
  --dropdown-ease: cubic-bezier(0.22, 1, 0.36, 1);

  --icon-swap-dur: 200ms;
  --icon-swap-blur: 2px;
  --icon-swap-start-scale: 0.25;
  --icon-swap-ease: ease-in-out;

  --modal-open-dur: 250ms;
  --modal-close-dur: 150ms;
  --modal-scale: 0.96;
  --modal-scale-close: 0.96;
  --modal-ease: cubic-bezier(0.22, 1, 0.36, 1);

  --resize-dur: 340ms;
  --resize-ease: cubic-bezier(0.22, 1, 0.36, 1);

  --text-swap-dur: 150ms;
  --text-swap-translate-y: 4px;
  --text-swap-blur: 2px;
  --text-swap-ease: ease-in-out;

  --avatar-lift: -4px;
  --avatar-dur: 320ms;
  --avatar-scale: 1.05;
  --avatar-falloff: 0.45;
  --avatar-ease-in: cubic-bezier(0.22, 1, 0.36, 1);
  --avatar-ease-out: cubic-bezier(0.34, 3.85, 0.64, 1);
}

* , *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); -webkit-text-size-adjust: 100%; scrollbar-width: none; -ms-overflow-style: none; }

/* Lenis smooth scroll (active only when JS enables it; native smooth stays for reduced-motion) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0; height: 0; display: none; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
  overflow-anchor: none;   /* stop the browser nudging scroll when content above reflows on load */
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.ph, .ph-fill { display: inline-flex; line-height: 0; }

.skip-link { position: fixed; top: -100px; left: 16px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r-pill); font-weight: 600; transition: top 0.2s var(--ease); }
.skip-link:focus { top: 14px; }

.squircle { border-radius: var(--squircle); overflow: hidden; }

/* ------------- shared type ------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.overline { font-family: var(--f-sans); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.display { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: var(--fs-display); line-height: 0.96; letter-spacing: -0.01em; }
.sec-title { font-family: var(--f-sans); font-weight: 700; font-size: var(--fs-sec); line-height: 1.04; letter-spacing: -0.025em; }
.sec-title em { font-family: var(--f-serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; }
.lede { font-size: var(--fs-lede); color: var(--ink-2); line-height: 1.55; }
.lede em, .statement__lede em { font-family: var(--f-serif); font-style: italic; color: var(--ink); }

/* ------------- buttons ------------- */
.btn {
  --py: 0.82rem; --px: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--f-sans); font-weight: 600; font-size: 0.97rem; line-height: 1; white-space: nowrap;
  padding: var(--py) var(--px); border-radius: var(--r-pill); border: 1px solid transparent;
  transition: transform 0.18s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn .ph { font-size: 1.15em; }
.btn--sm { --py: 0.6rem; --px: 1.1rem; font-size: 0.9rem; }
.btn--lg { --py: 1.02rem; --px: 1.9rem; font-size: 1.03rem; }
.btn--block { width: 100%; }
.btn--dark { background: var(--ink); color: #F4F4F2; }
.btn--dark:hover { background: #000; transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0,0,0,0.5); }
.btn--dark:active { transform: translateY(0) scale(0.985); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.3); transform: translateY(-2px); }
.btn--ghost:active { transform: translateY(0) scale(0.985); }

/* ------------- header ------------- */
.hdr { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease); }
.hdr.is-stuck { background: color-mix(in srgb, var(--bg) 90%, transparent); }
.hdr__in { position: relative; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.word { display: inline-flex; align-items: center; }
.word__img { height: 20px; width: auto; display: block; }

/* centred floating pill: Menu toggle + live scroll progress */
.hdr__pill { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 0.1rem; padding: 0.26rem 0.32rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-pill); box-shadow: 0 4px 14px -8px rgba(0,0,0,0.3); }
.hdr__menu { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.38rem 0.85rem; border-radius: var(--r-pill); font-family: var(--f-sans); font-weight: 600; font-size: 0.9rem; color: var(--ink); transition: background-color 0.2s var(--ease); }
.hdr__menu:hover { background: rgba(0,0,0,0.05); }
.hdr__menu .ph { font-size: 1.2rem; }
.hdr__pill-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); margin-inline: 0.2rem; }
.hdr__progress { font-family: var(--f-sans); font-weight: 600; font-size: 0.85rem; color: var(--ink-3); padding-right: 0.75rem; min-width: 3.6ch; text-align: right; font-variant-numeric: tabular-nums; }

/* right cluster: CTA */
.hdr__act { display: flex; align-items: center; gap: 0.6rem; }

/* dropdown panel, centred under the pill (animation via transitions.dev t-dropdown) */
.hdr__menu-wrap { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); z-index: 1; }
.hdr__menu-panel { width: min(300px, calc(100vw - 2rem)); display: flex; flex-direction: column; gap: 0.15rem; padding: 0.6rem; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.45); }
.hdr__menu-panel a:not(.btn) { font-family: var(--f-sans); font-weight: 500; font-size: 0.95rem; color: var(--ink-2); padding: 0.7rem 0.9rem; border-radius: 12px; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.hdr__menu-panel a:not(.btn):hover { background: rgba(0,0,0,0.05); color: var(--ink); }
.hdr__menu-panel .btn { margin-top: 0.45rem; }

/* transitions.dev: menu dropdown */
.t-dropdown {
  transform-origin: top left;
  transform: scale(var(--dropdown-pre-scale));
  opacity: 0;
  pointer-events: none;
  transition:
    transform var(--dropdown-open-dur) var(--dropdown-ease),
    opacity   var(--dropdown-open-dur) var(--dropdown-ease);
  will-change: transform, opacity;
}
.t-dropdown[data-origin="top-right"]     { transform-origin: top right; }
.t-dropdown[data-origin="top-center"]    { transform-origin: top center; }
.t-dropdown[data-origin="bottom-left"]   { transform-origin: bottom left; }
.t-dropdown[data-origin="bottom-center"] { transform-origin: bottom center; }
.t-dropdown[data-origin="bottom-right"]  { transform-origin: bottom right; }
.t-dropdown.is-open {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}
.t-dropdown.is-closing {
  transform: scale(var(--dropdown-closing-scale));
  opacity: 0;
  pointer-events: none;
  transition:
    transform var(--dropdown-close-dur) var(--dropdown-ease),
    opacity   var(--dropdown-close-dur) var(--dropdown-ease);
}
@media (prefers-reduced-motion: reduce) {
  .t-dropdown { transition: none !important; }
}

/* transitions.dev: icon swap (hamburger <-> close) */
.t-icon-swap { position: relative; display: inline-grid; }
.t-icon-swap .t-icon {
  grid-area: 1 / 1;
  transition:
    opacity   var(--icon-swap-dur) var(--icon-swap-ease),
    filter    var(--icon-swap-dur) var(--icon-swap-ease),
    transform var(--icon-swap-dur) var(--icon-swap-ease);
  will-change: opacity, filter, transform;
}
.t-icon-swap[data-state="a"] .t-icon[data-icon="a"],
.t-icon-swap[data-state="b"] .t-icon[data-icon="b"] {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}
.t-icon-swap[data-state="a"] .t-icon[data-icon="b"],
.t-icon-swap[data-state="b"] .t-icon[data-icon="a"] {
  opacity: 0;
  filter: blur(var(--icon-swap-blur));
  transform: scale(var(--icon-swap-start-scale));
}
@media (prefers-reduced-motion: reduce) {
  .t-icon-swap .t-icon { transition: none !important; }
}

/* transitions.dev: text states swap (menu label "Menu" <-> "Close") */
.t-text-swap {
  display: inline-block;
  transform: translateY(0);
  filter: blur(0);
  opacity: 1;
  transition:
    transform var(--text-swap-dur) var(--text-swap-ease),
    filter    var(--text-swap-dur) var(--text-swap-ease),
    opacity   var(--text-swap-dur) var(--text-swap-ease);
  will-change: transform, filter, opacity;
}
.t-text-swap.is-exit {
  transform: translateY(calc(var(--text-swap-translate-y) * -1));
  filter: blur(var(--text-swap-blur));
  opacity: 0;
}
.t-text-swap.is-enter-start {
  transform: translateY(var(--text-swap-translate-y));
  filter: blur(var(--text-swap-blur));
  opacity: 0;
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  .t-text-swap { transition: none !important; }
}

/* transitions.dev: avatar group hover (footer "Talk to our team" cluster) */
.t-avatar {
  transform-origin: center;
  transform:
    translateY(var(--shift, 0px))
    scale(var(--scale-active, 1));
  transition: transform var(--avatar-dur) var(--avatar-ease-in);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .t-avatar { transition: none !important; transform: none !important; }
}

/* ------------- HERO: arc gallery ------------- */
/* HERO: ring on the right, heading bottom-left; GSAP slides ring to centre then scales it on scroll */
/* full 100svh so the scaling ring clips at the viewport edge (not an early line) */
.hero { min-height: 100svh; position: relative; overflow: hidden; }
.hero__stage {
  /* ring sits on the right, vertically centred in the visible area */
  position: absolute; left: 72%; top: calc(50% - var(--header-h) / 2);
  --r: clamp(120px, 22vw, 260px);          /* ring radius */
  --tile: clamp(52px, 6.4vw, 92px);
  width: calc(2 * var(--r) + var(--tile)); aspect-ratio: 1;
  margin-left: calc((2 * var(--r) + var(--tile)) / -2);
  margin-top: calc((2 * var(--r) + var(--tile)) / -2);
  will-change: transform, opacity;
}
.arc { position: absolute; inset: 0; transform-origin: 50% 50%; will-change: transform; }
.arc__tile {
  position: absolute;
  left: calc(50% + var(--r) * cos(var(--a)));
  top:  calc(50% + var(--r) * sin(var(--a)));
  width: var(--tile); height: var(--tile);
  border-radius: var(--squircle); overflow: hidden;
  background-image: var(--img); background-size: cover; background-position: center;
  box-shadow: 0 16px 34px -16px rgba(0,0,0,0.45); outline: 1px solid rgba(0,0,0,0.05); outline-offset: -1px;
  transform: translate(-50%, -50%);   /* fallback centering when GSAP is unavailable */
  backface-visibility: hidden;
}
/* hide the ring until GSAP runs the intro (prevents a flash of the final layout) */
.has-js .arc__tile { visibility: hidden; }

/* scroll cue in the centre of the ring */
.hero__cue { position: absolute; inset: 0; z-index: 3; pointer-events: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.55rem; }
.hero__cue span { font-family: var(--f-sans); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.hero__cue i { font-size: 1.5rem; color: var(--ink); animation: cueBounce 1.6s ease-in-out infinite; }
@keyframes cueBounce { 0%, 100% { transform: translateY(-2px); opacity: 0.4; } 50% { transform: translateY(8px); opacity: 1; } }

/* heading block, bottom-left */
.hero__lead { position: absolute; left: 0; bottom: calc(var(--header-h) + clamp(1.5rem, 3vh, 2.5rem)); z-index: 4; padding-inline: var(--gutter); max-width: min(48ch, 92vw); }
.hero__lead .overline { display: block; margin-bottom: 1rem; }
.hero__title { font-family: var(--f-sans); font-weight: 700; font-size: clamp(2.5rem, 1.2rem + 4.6vw, 5.6rem); line-height: 0.98; letter-spacing: -0.035em; color: var(--ink); }
.hero__title em { font-family: var(--f-serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-3); }

/* flip words: a cycling word with per-letter blur-rise in/out (Aceternity-style) */
.flip { position: relative; display: inline-block; text-align: left; vertical-align: baseline; transition: width var(--resize-dur) var(--resize-ease); }
.flip__w { display: inline-block; white-space: nowrap; }
.flip__w--out { position: absolute; left: 0; top: 0; pointer-events: none; }
.flip__l { display: inline-block; white-space: pre; will-change: transform, opacity, filter; }
.flip__w--in .flip__l  { animation: flipLetterIn  0.5s var(--ease) both; }
.flip__w--out .flip__l { animation: flipLetterOut 0.34s var(--ease) both; }
@keyframes flipLetterIn  { from { opacity: 0; transform: translateY(0.36em);  filter: blur(8px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes flipLetterOut { from { opacity: 1; transform: translateY(0);       filter: blur(0); } to { opacity: 0; transform: translateY(-0.34em); filter: blur(8px); } }
@media (prefers-reduced-motion: reduce) { .flip__l { animation: none !important; } }
.hero__sub { color: var(--ink-2); font-size: var(--fs-lede); max-width: 40ch; margin-top: 1.3rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }

/* trust line, bottom-right */
.hero__trust { position: absolute; right: var(--gutter); bottom: calc(var(--header-h) + clamp(1.5rem, 3vh, 2.5rem)); z-index: 4; display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.55rem; max-width: 36vw; text-align: right; font-size: 0.85rem; color: var(--ink-3); }
.hero__trust strong { color: var(--ink); font-family: var(--f-sans); }
.hero__trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); }

/* ------------- powered by ------------- */
.poweredby { text-align: center; padding: clamp(1.5rem, 1rem + 2vw, 3rem) var(--gutter) 0; }
.poweredby .overline { display: block; margin-bottom: 1.3rem; color: var(--ink-3); }
.poweredby__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.poweredby__row img { height: 22px; width: auto; opacity: 0.5; filter: grayscale(1); transition: opacity 0.25s var(--ease), filter 0.25s var(--ease); }
.poweredby__row img:hover { opacity: 0.85; filter: grayscale(0); }

/* ------------- statement ------------- */
.statement { min-height: 100svh; display: grid; place-items: center; padding: clamp(4rem, 2rem + 6vw, 7rem) var(--gutter); text-align: center; overflow: hidden; }
.statement__inner { max-width: 1180px; margin-inline: auto; }
.statement .overline { display: block; margin-bottom: 1.8rem; }
.statement__lede { font-family: var(--f-sans); font-weight: 500; font-size: clamp(1.9rem, 1rem + 3.6vw, 4.2rem); line-height: 1.18; letter-spacing: -0.025em; color: var(--ink); }
/* scroll word-reveal: words start dim and light up as the section scrolls through */
.statement__lede .rw { transition: none; }

/* ------------- section heads ------------- */
.sec-head { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); margin-bottom: clamp(2.2rem, 1.5rem + 2.5vw, 3.6rem); }
.sec-head .overline { display: block; margin-bottom: 0.9rem; }
.sec-head--center { text-align: center; }
.sec-sub { color: var(--ink-2); font-size: var(--fs-lede); line-height: 1.55; margin: 0.9rem auto 0; max-width: 54ch; }

/* ------------- APPS (phone backdrop + horizontal-scroll cards + detail dialogs) ------------- */
.apps { padding-block: var(--sec-y); }
.apps__head { max-width: var(--container); margin: 0 auto clamp(2rem, 1.5rem + 2.5vw, 3.5rem); padding-inline: var(--gutter); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.apps__title { display: flex; align-items: baseline; gap: 0.9rem; }
.apps__num { font-family: var(--f-sans); font-weight: 600; font-size: 0.95rem; color: var(--ink-3); letter-spacing: 0.04em; }
.apps__hint { max-width: 42ch; display: flex; flex-direction: column; align-items: flex-end; gap: 0.55rem; text-align: right; }
.apps__hint-reach { color: var(--ink-2); font-size: 0.95rem; line-height: 1.5; }
.apps__hint-reach b { font-weight: 700; color: var(--ink); }
.apps__hint-tap { color: var(--ink-3); font-size: 0.85rem; line-height: 1.45; }

/* phone mockup centred behind; cards pan horizontally across it (scroll-hijack) */
.apps__stage { position: relative; min-height: clamp(430px, 37vw, 500px); display: flex; align-items: center; overflow-x: clip; overflow-y: visible; }
.apps__phone { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 0; width: clamp(168px, 15.5vw, 210px); aspect-ratio: 9 / 19; background: #0c0c0e; border-radius: clamp(30px, 3vw, 42px); padding: 7px; box-shadow: 0 50px 90px -45px rgba(0,0,0,0.5); }
.apps__phone-cam { position: absolute; top: 15px; left: 50%; transform: translateX(-50%); z-index: 2; width: 30%; height: 15px; background: #0c0c0e; border-radius: 999px; }
.apps__phone-screen { display: block; width: 100%; height: 100%; border-radius: clamp(24px, 2.4vw, 35px); background: var(--surface); }

/* base (no-JS / reduced motion): a centred wrapped row; JS turns it into the horizontal pan */
.appcards { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(16px, 1.6vw, 26px); padding-block: 3rem; width: 100%; }
.appcard { flex: 0 0 auto; width: clamp(188px, 18vw, 248px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); display: flex; flex-direction: column; align-items: center; gap: 0.9rem; cursor: pointer; text-align: center; transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.appcard:hover, .appcard:focus-visible { transform: translateY(-6px); border-color: rgba(0,0,0,0.2); box-shadow: 0 24px 50px -28px rgba(0,0,0,0.4); }
.appcard__art { width: clamp(96px, 10vw, 128px); aspect-ratio: 1; background-image: var(--img); background-size: cover; background-position: center; box-shadow: 0 18px 40px -22px rgba(0,0,0,0.5); }
.appcard__name { font-family: var(--f-sans); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; color: var(--ink); }
.appcard__lang { font-size: 0.8rem; color: var(--ink-3); margin-top: -0.6rem; }

/* detail dialog (Nothing-style: app header -> white QR panel -> store action rows) */
.appmodal { position: fixed; inset: 0; margin: auto; width: min(720px, 94vw); max-height: 92vh; height: max-content; border: 0; border-radius: 26px; padding: clamp(1rem, 0.7rem + 1vw, 1.4rem); background: var(--bg); color: var(--ink); box-shadow: 0 40px 90px -30px rgba(0,0,0,0.55); overflow: auto; }
.appmodal::backdrop { background: rgba(18,18,20,0.55); backdrop-filter: blur(3px); }
.appmodal[open] { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 0.8rem; align-content: start; grid-template-areas: "head head" "feats panel" "actions actions" "social social"; }
.appmodal[open] > .appmodal__app     { grid-area: head; }
.appmodal[open] > .appmodal__feats   { grid-area: feats; }
.appmodal[open] > .appmodal__panel   { grid-area: panel; }
.appmodal[open] > .appmodal__actions { grid-area: actions; }
.appmodal[open] > .appmodal__social  { grid-area: social; }

/* transitions.dev: modal open/close (scoped to the app dialogs) */
.t-modal {
  transform-origin: center;
  transform: scale(var(--modal-scale));
  opacity: 0;
  pointer-events: none;
  transition:
    transform var(--modal-open-dur) var(--modal-ease),
    opacity   var(--modal-open-dur) var(--modal-ease);
  will-change: transform, opacity;
}
.t-modal.is-open {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}
.t-modal.is-closing {
  transform: scale(var(--modal-scale-close));
  opacity: 0;
  pointer-events: none;
  transition:
    transform var(--modal-close-dur) var(--modal-ease),
    opacity   var(--modal-close-dur) var(--modal-ease);
}
@media (prefers-reduced-motion: reduce) {
  .t-modal { transition: none !important; }
}
.appmodal__close { position: absolute; top: 0.95rem; right: 0.95rem; z-index: 2; width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--ink); font-size: 1.05rem; box-shadow: 0 2px 10px -4px rgba(0,0,0,0.3); transition: background-color 0.2s var(--ease), transform 0.25s var(--ease); }
.appmodal__close:hover { background: #efefee; transform: rotate(90deg); }

.appmodal__app { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "art name" "art lang"; align-items: center; column-gap: 0.95rem; text-align: left; padding: 0.3rem 0.2rem 0.2rem; }
.appmodal__art { grid-area: art; width: 56px; aspect-ratio: 1; background-image: var(--img); background-size: cover; background-position: center; box-shadow: 0 12px 28px -16px rgba(0,0,0,0.5); }
.appmodal__app h3 { grid-area: name; align-self: end; font-family: var(--f-sans); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; }
.appmodal__lang { grid-area: lang; align-self: start; display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.82rem; color: var(--ink-2); }
.appmodal__lang .swatch { width: 9px; height: 9px; border-radius: 50%; background: var(--accent, var(--ink)); }

.appmodal__panel { background: var(--white); border-radius: 18px; padding: clamp(1.1rem, 0.8rem + 1.2vw, 1.5rem); display: flex; flex-direction: column; justify-content: center; }
.appmodal__qrs { display: flex; justify-content: center; gap: clamp(0.8rem, 2vw, 1.4rem); }
.appmodal__qrs figure { display: flex; flex-direction: column; align-items: center; gap: 0.55rem; }
.appmodal__qrs img { width: clamp(100px, 12vw, 126px); height: auto; display: block; }
.appmodal__qrs figcaption { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--f-sans); font-weight: 600; font-size: 0.8rem; color: var(--ink-2); }
.appicon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex-shrink: 0; fill: currentColor; }
.appmodal__qrs figcaption .ph-fill, .appmodal__qrs figcaption .appicon { font-size: 1.05rem; }
.appmodal__scan { margin: 1rem auto 0; text-align: center; font-size: 0.86rem; line-height: 1.5; color: var(--ink-3); max-width: 32ch; }

.appmodal__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.appmodal__row { display: flex; align-items: center; gap: 0.65rem; padding: 0.8rem 1rem; background: var(--white); border-radius: 14px; font-family: var(--f-sans); font-weight: 600; font-size: 0.92rem; color: var(--ink); transition: background-color 0.2s var(--ease), transform 0.2s var(--ease); }
.appmodal__row > .ph-fill, .appmodal__row > .appicon { font-size: 1.3rem; }
.appmodal__row span { flex: 1; }
.appmodal__row > .ph-arrow-up-right { font-size: 1rem; color: var(--ink-3); }
.appmodal__row:hover { background: #efefee; transform: translateY(-1px); }
.appmodal__feats { background: var(--white); border-radius: 18px; padding: clamp(1rem, 0.8rem + 1vw, 1.45rem); }
.appmodal__feats-title { font-family: var(--f-sans); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.9rem; }
.appmodal__feats ul { display: flex; flex-direction: column; gap: 0.85rem; }
.appmodal__feats li { display: flex; gap: 0.7rem; align-items: flex-start; }
.appmodal__feats li > .ph { font-size: 1.2rem; color: var(--accent); flex: none; margin-top: 0.15rem; }
.appmodal__feats li div { display: flex; flex-direction: column; gap: 0.12rem; }
.appmodal__feats li b { font-family: var(--f-sans); font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.appmodal__feats li small { font-size: 0.82rem; line-height: 1.4; color: var(--ink-3); }
.appmodal__social { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem 1rem; margin-top: 0.9rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.appmodal__social-label { font-family: var(--f-sans); font-weight: 600; font-size: 0.85rem; color: var(--ink-2); }
.appmodal__social-links { display: inline-flex; gap: 0.5rem; }
.appmodal__social-links a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 1.15rem; transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease), transform 0.2s var(--ease); }
.appmodal__social-links a:hover { color: var(--accent); border-color: rgba(224,98,62,0.4); transform: translateY(-2px); }

/* ------------- gallery rail ------------- */
.gallery { padding-block: var(--sec-y); }
.rail { overflow-x: clip; overflow-y: visible; padding-block: 1.6rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.rail__track { display: flex; gap: clamp(14px, 1.6vw, 24px); width: max-content; animation: railscroll 52s linear infinite; }
.rail:hover .rail__track { animation-play-state: paused; }
@keyframes railscroll { to { transform: translateX(-50%); } }
.tile { position: relative; flex: 0 0 auto; width: clamp(150px, 16vw, 230px); aspect-ratio: 1; background-image: var(--img); background-size: cover; background-position: center; box-shadow: 0 16px 36px -22px rgba(0,0,0,0.5); outline: 1px solid rgba(0,0,0,0.05); outline-offset: -1px; }
/* marquee tiles are clean full-bleed images (captions removed) */

/* ------------- why ------------- */
/* why: a row of 4 numbered cards + a split feature block */
.why { padding-block: var(--sec-y); }
.why__wrap { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); display: flex; flex-direction: column; gap: clamp(1.5rem, 1rem + 2vw, 2.4rem); }

/* top: numbered cards */
.why__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.9rem, 0.6rem + 1vw, 1.4rem); }
.whycard { display: flex; flex-direction: column; justify-content: space-between; min-height: clamp(150px, 11.5vw, 184px); padding: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.whycard:hover { transform: translateY(-4px); border-color: rgba(0,0,0,0.18); box-shadow: 0 20px 44px -28px rgba(0,0,0,0.4); }
.whycard__n { font-family: var(--f-sans); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--ink-3); }
.whycard__body h3 { font-family: var(--f-sans); font-weight: 700; font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.18rem); letter-spacing: -0.01em; color: var(--ink); margin-bottom: 0.5rem; }
.whycard__body p { font-size: 0.9rem; line-height: 1.5; color: var(--ink-3); }

/* bottom: split feature block (image left, content right) */
.whyfeat { display: grid; grid-template-columns: clamp(260px, 42%, 500px) 1fr; min-height: clamp(400px, 30vw, 500px); background: var(--white); border: 1px solid var(--line); border-radius: clamp(20px, 1.5vw, 28px); overflow: hidden; }
.whyfeat__media { min-height: 300px; background-color: #1b1b1f; background-image: url("/assets/img/features/realfluency.webp"); background-size: cover; background-position: center; background-repeat: no-repeat; }
.whyfeat__content { display: flex; flex-direction: column; padding: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.whyfeat__content .overline { margin-bottom: clamp(1rem, 0.8rem + 1vw, 1.6rem); }
.whyfeat__title { font-family: var(--f-sans); font-weight: 700; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); line-height: 1.04; letter-spacing: -0.03em; color: var(--ink); }
.whyfeat__title em { font-family: var(--f-serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; }
.whyfeat__lede { margin-top: clamp(0.9rem, 0.7rem + 0.8vw, 1.3rem); max-width: 42ch; color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
.whyfeat__content .btn { align-self: flex-start; margin-top: clamp(1.2rem, 0.9rem + 1.2vw, 1.8rem); }
.whyfeat__sub { margin-top: auto; padding-top: clamp(1.1rem, 0.9rem + 1vw, 1.6rem); }
.whyfeat__more { border-top: 1px solid var(--line); padding-top: 0.9rem; font-family: var(--f-sans); font-weight: 600; font-size: 0.8rem; color: var(--ink-3); }
.whyfeat__cards { margin-top: clamp(0.9rem, 0.7rem + 1vw, 1.4rem); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.8rem, 0.6rem + 0.8vw, 1.2rem); }
.subcard { background: var(--bg); border-radius: 14px; padding: clamp(0.9rem, 0.75rem + 0.5vw, 1.15rem); }
.subcard > i { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 9px; background: var(--white); color: var(--ink); font-size: 1rem; margin-bottom: 0.55rem; }
.subcard h4 { font-family: var(--f-sans); font-weight: 700; font-size: 0.98rem; color: var(--ink); margin-bottom: 0.35rem; }
.subcard p { font-size: 0.85rem; line-height: 1.5; color: var(--ink-3); }

/* ------------- how ------------- */
.how { padding-block: var(--sec-y); }
.steps { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.8rem, 1.2rem + 2.5vw, 3.4rem) clamp(1.6rem, 1rem + 3vw, 4rem); }
.step { max-width: 46ch; }
.step__n { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--ink); font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: 1.3rem; line-height: 1; padding-top: 0.12em; padding-right: 0.06em; margin-bottom: 1rem; }
.step h3 { font-family: var(--f-sans); font-weight: 700; font-size: 1.2rem; margin-bottom: 0.45rem; letter-spacing: -0.01em; }
.step p { color: var(--ink-2); font-size: 0.95rem; }
.step__list { margin-top: 0.7rem; display: flex; flex-direction: column; gap: 0.5rem; }
.step__list li { position: relative; padding-left: 1.5rem; color: var(--ink-2); font-size: 0.9rem; line-height: 1.45; }
.step__list li::before { content: ""; position: absolute; left: 0.1rem; top: 0.52em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
/* ------------- quote (pull-quote section) ------------- */
.quote { padding-block: clamp(3.8rem, 2.8rem + 5vw, 7.5rem); }
.quote__text { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); text-align: center; font-family: var(--f-sans); font-weight: 600; font-size: clamp(1.25rem, 0.95rem + 1.25vw, 1.7rem); line-height: 1.32; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
.quote__text em { font-family: var(--f-serif); font-style: italic; font-weight: 500; color: var(--ink-3); }

/* ------------- voices ------------- */
/* editorial testimonials: a heading + rule, an eyebrow column, and staggered serif quotes */
.voices { padding-block: var(--sec-y); }
.voices__wrap { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); --vcols: minmax(150px, 270px) repeat(3, 1fr); --vgap: clamp(1.5rem, 1rem + 2.4vw, 3.25rem); }

.voices__head { display: grid; grid-template-columns: var(--vcols); gap: var(--vgap); }
.voices__title { grid-column: 2 / -1; font-family: var(--f-sans); font-weight: 700; font-size: clamp(2rem, 1.35rem + 2.7vw, 3.5rem); line-height: 1.02; letter-spacing: -0.03em; color: var(--ink); }
.voices__title em { font-family: var(--f-serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; }

.voices__rule { border: 0; border-top: 1px solid var(--line); margin: clamp(1.4rem, 1rem + 1.4vw, 2.4rem) 0 clamp(1.8rem, 1.3rem + 1.8vw, 3rem); }

.voices__grid { display: grid; grid-template-columns: var(--vcols); gap: var(--vgap); align-items: start; }
.voices__eyebrow { grid-column: 1; font-family: var(--f-sans); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }

.voice { display: flex; flex-direction: column; }
.voice__quote { margin: 0; font-family: var(--f-serif); font-style: normal; font-weight: 500; font-size: clamp(1.02rem, 0.96rem + 0.25vw, 1.18rem); line-height: 1.5; color: var(--ink-2); quotes: "\201C" "\201D"; }
.voice__quote::before { content: open-quote; }
.voice__quote::after  { content: close-quote; }

.voice__cap { position: relative; margin-top: 1.6rem; padding-left: 0.95rem; display: flex; align-items: center; gap: 0.65rem; }
.voice__cap::before { content: ""; position: absolute; left: 0; top: -1.6rem; bottom: 0; width: 1px; background: var(--line); }
.voice__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; outline: 1px solid var(--line); flex: 0 0 auto; }
.voice__who { display: flex; flex-direction: column; gap: 0.18rem; line-height: 1.3; }
.voice__who b { font-family: var(--f-sans); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
.voice__who small { font-family: var(--f-sans); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-3); }


/* ------------- faq ------------- */
.faq { padding-block: var(--sec-y); }
.faq__list { max-width: 860px; margin-inline: auto; padding-inline: var(--gutter); }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; font-family: var(--f-sans); font-weight: 600; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); color: var(--ink); padding: 1.3rem 0.2rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ph { font-size: 1.25rem; color: var(--accent); transition: transform 0.3s var(--ease); flex: none; }
.qa[open] summary .ph { transform: rotate(45deg); }
.qa.is-closing summary .ph { transform: rotate(0deg); }
/* card-resize: animate the answer height open/close (JS sets the px heights) */
.qa__a { padding: 0 0.2rem 1.4rem; color: var(--ink-2); overflow: hidden; transition: height var(--resize-dur) var(--resize-ease); will-change: height; }
/* collapse with a gentle ease-in-out: the open ease-out front-loads the motion and reads as a jerk on close */
.qa.is-closing .qa__a { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.qa__a p { max-width: 62ch; }
@media (prefers-reduced-motion: reduce) { .qa__a { transition: none !important; } }

/* ------------- footer: contact hero + 3 options + base ------------- */
.ft { border-top: 1px solid var(--line); }

/* contact hero: blueprint grid + speech bubble */
.ft__hero { position: relative; display: grid; place-items: center; padding-block: clamp(3rem, 2rem + 5vw, 6rem); overflow: hidden; }
.ft__grid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(var(--container), calc(100% - 2 * var(--gutter))); height: clamp(190px, 24vw, 300px); background-image: linear-gradient(to right, rgba(0,0,0,0.11) 1px, transparent 1px), linear-gradient(to bottom, rgba(0,0,0,0.11) 1px, transparent 1px); background-size: 20% 50%; -webkit-mask-image: radial-gradient(ellipse 72% 80% at 50% 50%, #000 38%, transparent 100%); mask-image: radial-gradient(ellipse 72% 80% at 50% 50%, #000 38%, transparent 100%); }
.ft__plus { position: absolute; width: 13px; height: 13px; color: var(--ink-3); }
.ft__plus::before, .ft__plus::after { content: ""; position: absolute; background: currentColor; }
.ft__plus::before { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.ft__plus::after { top: 50%; left: 0; height: 1px; width: 100%; transform: translateY(-50%); }
.ft__plus--tl { left: -6px; top: -6px; }
.ft__plus--tr { right: -6px; top: -6px; }
.ft__plus--bl { left: -6px; bottom: -6px; }
.ft__plus--br { right: -6px; bottom: -6px; }
.ft__bubble { position: relative; z-index: 1; margin: 0; background: var(--white); border-radius: clamp(26px, 4vw, 46px); padding: clamp(1.4rem, 1rem + 2.4vw, 2.7rem) clamp(2.2rem, 1.4rem + 4vw, 4rem); box-shadow: 0 40px 80px -45px rgba(0,0,0,0.35); font-family: var(--f-sans); font-weight: 700; font-size: clamp(2.4rem, 1.3rem + 4.6vw, 4.6rem); letter-spacing: -0.045em; line-height: 1; color: var(--ink); }
.ft__bubble::after { content: ""; position: absolute; left: 13%; top: calc(100% - 9px); width: 46px; height: 30px; background: var(--white); clip-path: polygon(0 0, 100% 0, 16% 100%); }
/* multilingual greeting: keep the bubble a stable width and morph greetings centered inside (em-based so it scales with the bubble font) */
.ft__bubble .flip { min-width: 5em; text-align: center; }
.ft__bubble .flip__w--out { left: 50%; transform: translateX(-50%); }

/* 3 contact options with dividers */
.ft__options { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); }
.ft__opt { padding: clamp(1.4rem, 1rem + 1.6vw, 2.4rem); }
.ft__opt:first-child { padding-left: 0; }
.ft__opt:last-child { padding-right: 0; }
.ft__opt + .ft__opt { border-left: 1px solid var(--line); }
.ft__opt-vis { display: flex; align-items: center; min-height: 42px; margin-bottom: clamp(1.4rem, 1rem + 1.8vw, 2.3rem); }
.ft__opt-vis--search { gap: 0.55rem; width: max-content; max-width: 100%; padding: 0.35rem 0.95rem 0.35rem 0.35rem; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--white); }
.ft__search-ic { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--ink); font-size: 1rem; }
.ft__search-ph { color: var(--ink-3); font-size: 0.85rem; white-space: nowrap; }
.ft__opt-vis--avatars img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); box-shadow: 0 1px 4px -1px rgba(0,0,0,0.3); margin-left: -10px; }
.ft__opt-vis--avatars img:first-child { margin-left: 0; }
.ft__opt-vis--avatars .t-avatar { position: relative; z-index: 1; }
.ft__opt-vis--avatars .t-avatar:hover { z-index: 2; }
.ft__opt-vis--status { gap: 0.55rem; font-family: var(--f-sans); font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.ft__status-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #1f9d63; box-shadow: 0 0 0 4px rgba(31,157,99,0.16); }
.ft__opt h3 { font-family: var(--f-sans); font-weight: 700; font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.35rem); letter-spacing: -0.02em; margin-bottom: 0.55rem; color: var(--ink); }
.ft__opt p { color: var(--ink-3); font-size: 0.92rem; line-height: 1.55; margin-bottom: 1rem; max-width: 32ch; }
.ft__opt-links { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.ft__opt-link { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--f-sans); font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.ft__opt-link .ph { font-size: 0.95rem; color: var(--ink-3); transition: transform 0.2s var(--ease), color 0.2s var(--ease); }
.ft__opt-link:hover .ph { transform: translate(2px, -2px); color: var(--accent); }
.ft__opt-link--tel .ph { font-size: 1.05rem; }
.ft__opt-link--tel:hover { color: var(--accent); }
.ft__opt-link--tel:hover .ph { transform: none; color: var(--accent); }

/* base bar: brand + nav + social */
.ft__base { max-width: var(--container); margin-inline: auto; margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); padding: clamp(1.8rem, 1.2rem + 2vw, 2.6rem) var(--gutter); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; }
.ft__nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.3rem; }
.ft__nav a { color: var(--ink-3); font-size: 0.9rem; transition: color 0.2s var(--ease); }
.ft__nav a:hover { color: var(--ink); }
.ft__opt-social { display: flex; gap: 0.5rem; margin-top: 1rem; }
.ft__opt-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink-2); font-size: 1.1rem; transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.ft__opt-social a:hover { color: var(--accent); border-color: rgba(224,98,62,0.4); transform: translateY(-2px); }
.ft__bottom { border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; max-width: var(--container); margin-inline: auto; padding: 1.5rem var(--gutter); color: var(--ink-3); font-size: 0.84rem; }

/* ------------- reveal ------------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ------------- responsive ------------- */
@media (max-width: 860px) {
  /* footer contact options stack into one column */
  .ft__options { grid-template-columns: 1fr; }
  .ft__opt { padding-inline: 0; }
  .ft__opt + .ft__opt { border-left: 0; border-top: 1px solid var(--line); }
  .hdr__act .btn { display: none; }
  /* hero stacks vertically: ring on top, heading centred below */
  .hero { display: flex; flex-direction: column; justify-content: center; }
  .hero__stage { position: relative; left: auto; top: auto; margin: clamp(1rem, 3vh, 2rem) auto 0; }
  .hero__lead { position: static; max-width: 100%; margin-top: clamp(1.5rem, 3vh, 2.5rem); padding-inline: var(--gutter); text-align: center; }
  .hero__lead .hero__sub { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__trust { display: none; }
  .apps__head { flex-direction: column; align-items: flex-start; }
  .apps__hint { text-align: left; align-items: flex-start; }
  /* phone backdrop is a desktop touch; on small screens just show the 3 cards */
  .apps__phone { display: none; }
  .appmodal__app h3 { font-size: 1.25rem; }
  .why__cards { grid-template-columns: 1fr 1fr; }
  .whyfeat { grid-template-columns: 1fr; }
  .whyfeat__media { min-height: 240px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 2.2rem 1.5rem; }
  .voices__wrap { --vcols: 1fr; --vgap: 2rem; }
  .voices__title { grid-column: 1 / -1; }
  .voices__eyebrow { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  /* app modal: stack to a single column on small screens */
  .appmodal { width: min(440px, 94vw); }
  .appmodal[open] { grid-template-columns: 1fr; grid-template-areas: "head" "feats" "panel" "actions" "social"; }
  .appmodal__actions { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  /* narrow screens: smaller orbiting ring (keep all tiles for a full circle) */
  .hero__stage { --r: clamp(108px, 34vw, 150px); --tile: clamp(46px, 12vw, 62px); }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 10rem; }
  .why__cards { grid-template-columns: 1fr; }
  .whyfeat__cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .appcard { width: clamp(180px, 64vw, 240px); }
}

/* ------------- reduced motion ------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .arc, .arc__tile { animation: none; }
  .rail__track { animation: none; }
}
