/* =====================================================================
   NeoMacro brand core: shared by the DE and BR sites (keep both copies identical).
   Motion language comes from the logo: three capsules on a 60° diagonal that
   overlap, plus the wine-coloured dot. Every headline ends with that dot.
   ===================================================================== */

@font-face { font-family: "Sora"; src: url("fonts/sora.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --y: #ffc300;
  --o: #ff5733;
  --r: #c70039;
  --w: #900c3f;
  --ink: #131e29;
  --ink-2: #4b5562;
  --paper: #fbf8f3;
  --paper-2: #f2ebe1;
  --night: #0e161f;
  --night-2: #18232f;
  --line: rgba(19, 30, 41, .12);
  --line-light: rgba(255, 255, 255, .14);

  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.19, 1, .22, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --radius: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--y); color: var(--ink); }

/* Film grain: makes flat colour feel printed rather than digital */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9990; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1; letter-spacing: -.04em; font-weight: 700; }
.display { font-size: clamp(2.9rem, 8.4vw, 8rem); line-height: .94; letter-spacing: -.055em; }
.title { font-size: clamp(2.3rem, 5.6vw, 5.2rem); line-height: .98; }
.title--md { font-size: clamp(2rem, 4.2vw, 3.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); letter-spacing: -.03em; line-height: 1.1; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.on-dark .lead, .is-dark .lead { color: rgba(255, 255, 255, .72); }
.serif-i { font-style: italic; font-weight: 300; letter-spacing: -.03em; }
.grad { background: linear-gradient(100deg, var(--y) 0%, var(--o) 45%, var(--r) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.kicker { display: inline-flex; align-items: center; gap: .7em; font-family: var(--display); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.6em; }
.kicker::before { content: ""; width: 26px; height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--y), var(--o), var(--r)); }

/* The logo dot that closes every headline */
.dot { display: inline-block; width: .19em; height: .19em; margin-left: .05em; border-radius: 50%; background: var(--w); vertical-align: baseline; }
.js .dot { transform: scale(0); transition: transform .9s var(--spring) .45s; }
.is-dark .dot, .on-dark .dot { background: var(--y); }
.is-in .dot, .dot.is-in { transform: scale(1); }

/* Line-by-line headline reveal: <span class="line"><span>…</span></span> */
.line { display: block; overflow: hidden; padding: .06em 0 .1em; margin: -.06em 0 -.1em; }
.js .line > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.is-in .line > span { transform: none; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal="up"] { transform: translateY(48px); }
/* "pill": slides in along the logo's 60° diagonal */
.js [data-reveal="pill"] { transform: translate(-36px, 62px); }
.js [data-reveal="scale"] { transform: scale(.88); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: .8em;
  padding: 1.05em 1.2em 1.05em 1.7em; border-radius: 999px; border: 1.5px solid currentColor;
  font-family: var(--display); font-weight: 600; font-size: .98rem; letter-spacing: -.01em; text-decoration: none; cursor: pointer;
  background: none; transition: color .5s var(--ease), border-color .5s var(--ease);
}
/* Hover: the round icon (the logo dot) grows until it fills the button.
   The icon must not get a transform or z-index, or its growing circle would cover the label. */
.btn__icon { position: relative; flex: none; display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; background: var(--ink); }
.btn__icon::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: inherit; transition: transform .8s var(--ease); }
.btn__icon::after { content: ""; width: .5em; height: .5em; border-top: 2px solid var(--paper); border-right: 2px solid var(--paper); transform: translateX(-12%) rotate(45deg); transition: transform .5s var(--ease); }
.btn:hover .btn__icon::before, .btn:focus-visible .btn__icon::before { transform: scale(28); }
.btn:hover .btn__icon::after, .btn:focus-visible .btn__icon::after { transform: translateX(8%) rotate(45deg); }
.btn:hover, .btn:focus-visible { color: var(--paper); }
.btn--fill { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--fill .btn__icon { background: var(--y); }
.btn--fill .btn__icon::after { border-color: var(--ink); }
.btn--fill:hover, .btn--fill:focus-visible { color: var(--ink); border-color: var(--y); }
.btn--light { color: #fff; }
.btn--light .btn__icon { background: #fff; }
.btn--light .btn__icon::after { border-color: var(--ink); }
.btn--light:hover, .btn--light:focus-visible { color: var(--ink); }
.btn--yellow { background: var(--y); color: var(--ink); border-color: var(--y); }
.btn--yellow .btn__icon { background: var(--ink); }
.btn--yellow .btn__icon::after { border-color: var(--y); }
.btn--yellow:hover, .btn--yellow:focus-visible { color: var(--paper); border-color: var(--ink); }
.btn--sm { padding: .7em .9em .7em 1.3em; font-size: .9rem; }
.btn--sm .btn__icon { width: 1.7em; height: 1.7em; }

.link { position: relative; text-decoration: none; font-weight: 600; }
.link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.link:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Cursor: the logo dot follows you ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 9995; pointer-events: none; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--w); opacity: 0;
  display: grid; place-items: center; color: #fff; font: 600 .7rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, opacity .3s; }
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(144, 12, 63, .18); }
.cursor.has-label { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--w); }
.cursor span { opacity: 0; transition: opacity .3s; }
.cursor.has-label span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
/* No full-width bar: the logo, a floating glass nav capsule and the CTA sit over the page.
   At the top the full logo is large; on scroll the wordmark folds away and the mark stays. */
.header { position: fixed; inset: 0 0 auto; z-index: 100; pointer-events: none; transition: transform .7s var(--ease), color .4s; }
.header__inner { display: flex; align-items: center; gap: 18px; height: 112px; padding: 0 var(--gutter); transition: height .6s var(--ease); }
.header__inner > * { pointer-events: auto; }
.header.is-solid .header__inner { height: 86px; }
.header.is-hidden { transform: translateY(-110%); }
.header.on-dark { color: #fff; }

.glass { background: rgba(251, 248, 243, .62); border: 1px solid rgba(19, 30, 41, .08); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 12px 34px rgba(19, 30, 41, .08); }
.on-dark .glass, .menu-open .glass { background: rgba(14, 22, 31, .55); border-color: rgba(255, 255, 255, .1); box-shadow: 0 12px 34px rgba(0, 0, 0, .25); }

.logo { flex: none; }
.logo { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; position: relative; border-radius: 99px; padding: 0; border: 1px solid transparent; transition: padding .6s var(--ease), background .4s, border-color .4s, box-shadow .4s; }
.header.is-solid .logo { padding: 9px 14px; background: rgba(251, 248, 243, .62); border-color: rgba(19, 30, 41, .08); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 12px 34px rgba(19, 30, 41, .08); }
.header.is-solid.on-dark .logo, .menu-open .header.is-solid .logo { background: rgba(14, 22, 31, .55); border-color: rgba(255, 255, 255, .1); }
.logo__mark { height: 58px; width: auto; overflow: visible; transition: height .6s var(--ease); }
.header.is-solid .logo__mark { height: 38px; }
.logo__mark g { opacity: .94; transition: transform .8s var(--spring); animation: lm-in 1.1s var(--ease) both; }
.logo__mark .lm-y { --fx: -60px; --fy: 104px; animation-delay: .1s; }
.logo__mark .lm-o { --fx: -60px; --fy: -104px; animation-delay: .22s; }
.logo__mark .lm-r { --fx: 60px; --fy: -104px; animation-delay: .34s; }
.logo__mark .lm-d { opacity: 1; animation: lm-drop 1s var(--spring) .6s both; }
@keyframes lm-in { from { transform: translate(var(--fx), var(--fy)); opacity: 0; } }
@keyframes lm-drop { from { transform: translateY(-420px); } }
/* Hover: the capsules spring apart along their own diagonals, the dot hops */
.logo:hover .lm-y { transform: translate(-26px, 45px); }
.logo:hover .lm-o { transform: translate(0, -40px); }
.logo:hover .lm-r { transform: translate(26px, -45px); }
.logo:hover .lm-d { transform: translateY(-70px); }
.logo__word { position: relative; display: block; max-width: 320px; overflow: hidden; transition: max-width .7s var(--ease), opacity .5s; }
.logo__word img { height: 36px; width: auto; max-width: none; }
.logo__word .logo--white { position: absolute; left: 0; top: 0; opacity: 0; }
.logo__word img { transition: opacity .3s; }
.on-dark .logo__word .logo--white, .menu-open .logo__word .logo--white { opacity: 1; }
.on-dark .logo__word .logo--dark, .menu-open .logo__word .logo--dark { opacity: 0; }
.header.is-solid .logo__word { max-width: 0; opacity: 0; }
.logo__tag { flex: none; max-width: 90px; overflow: hidden; font: 700 .68rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; padding: .55em .8em; border-radius: 99px; background: var(--ink); color: var(--y); transition: max-width .6s var(--ease), padding .6s var(--ease), opacity .4s; }
.on-dark .logo__tag, .menu-open .logo__tag { background: var(--y); color: var(--ink); }
.header.is-solid .logo__tag { max-width: 0; padding-inline: 0; opacity: 0; margin-left: -16px; }
/* the footer reuses .logo with a single image */
.footer .logo { padding: 0; background: none; border: 0; box-shadow: none; }

.nav { position: relative; display: flex; gap: 2px; margin: 0 auto; padding: 6px; border-radius: 99px; }
.nav { flex: none; }
.nav a { position: relative; z-index: 1; padding: .66em 1em; border-radius: 99px; text-decoration: none; font-weight: 500; font-size: .9rem; line-height: 1.2; white-space: nowrap; transition: color .35s; }
.nav a.is-hot { color: var(--paper); }
/* Sliding capsule that follows the hovered (or current) link */
.nav__pill { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 99px; background: var(--ink); opacity: 0; pointer-events: none; transition: transform .6s var(--ease), width .6s var(--ease), opacity .3s, background .4s; }
.nav__pill::after { content: ""; position: absolute; right: 7px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--y); }
.on-dark .nav__pill { background: var(--y); }
.on-dark .nav__pill::after { background: var(--w); }
.on-dark .nav a.is-hot { color: var(--ink); }
.header__cta { margin-left: 0; }
.on-dark .header__cta { background: var(--y); border-color: var(--y); color: var(--ink); }
.on-dark .header__cta .btn__icon { background: var(--ink); }
.on-dark .header__cta .btn__icon::after { border-color: var(--y); }
.on-dark .header__cta:hover { color: var(--paper); border-color: var(--ink); }
.burger { display: none; margin-left: auto; width: 54px; height: 54px; border-radius: 50%; cursor: pointer; position: relative; z-index: 120; color: inherit; }
.burger i { position: absolute; left: 15px; right: 15px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger i:nth-child(1) { top: 22px; }
.burger i:nth-child(2) { top: 31px; }
.menu-open .burger i:nth-child(1) { top: 26.5px; transform: rotate(45deg); }
.menu-open .burger i:nth-child(2) { top: 26.5px; transform: rotate(-45deg); }

/* Full-screen mobile menu */
.menu { position: fixed; inset: 0; z-index: 110; background: var(--night); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 46px) 42px); transition: clip-path .9s var(--ease); visibility: hidden; }
.menu-open .menu { clip-path: circle(150% at calc(100% - 46px) 42px); visibility: visible; }
.menu-open .header { color: #fff; }
.menu-open .header .logo--white { opacity: 1; }
.menu-open .header .logo--dark { opacity: 0; }
.menu a { font: 700 clamp(2rem, 9vw, 3.4rem)/1.15 var(--display); letter-spacing: -.035em; text-decoration: none; padding: .14em 0; opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .8s var(--ease); }
.menu-open .menu a { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i, 0) * 60ms); }
.menu__pills { position: absolute; right: -40px; bottom: -60px; width: 260px; opacity: .9; pointer-events: none; }
.menu .btn { margin-top: 28px; align-self: flex-start; font-size: 1rem; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(90px, 13vw, 180px) 0; }
.is-dark { background: var(--night); color: #fff; }
.is-cream { background: var(--paper-2); }
.section__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.section__head .lead { margin: 0; justify-self: end; }

/* ---------- Logo mark (hero / formula) ---------- */
.mark { width: 100%; height: auto; overflow: visible; }
.mark__pill, .mark__dot { transform-box: view-box; }
.mark__pill { opacity: .94; }
.tint { mix-blend-mode: multiply; opacity: .78; transition: opacity .8s var(--ease); }
.mark__pill.is-active .tint { opacity: .18; }
.mark__pill > g { isolation: isolate; }

/* ---------- Floating blurred capsules behind heroes ---------- */
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blobs i { position: absolute; width: 26vw; height: 60vw; max-width: 420px; max-height: 900px; border-radius: 999px; filter: blur(70px); opacity: .35; transform: rotate(30deg); animation: drift 18s ease-in-out infinite alternate; }
.blobs i:nth-child(1) { background: var(--y); left: -6%; top: -20%; }
.blobs i:nth-child(2) { background: var(--o); left: 40%; top: 30%; transform: rotate(-30deg); animation-duration: 22s; animation-delay: -6s; opacity: .22; }
.blobs i:nth-child(3) { background: var(--r); right: -8%; top: -30%; animation-duration: 26s; animation-delay: -12s; opacity: .2; }
@keyframes drift { to { translate: 6vw 8vh; rotate: 12deg; } }

/* ---------- Crossing marquee bands (two capsules overlapping, like the logo) ---------- */
.bands { position: relative; height: clamp(200px, 22vw, 300px); overflow: hidden; display: grid; place-items: center; }
.band { position: absolute; left: -5%; width: 110%; padding: 1.1em 0; overflow: hidden; white-space: nowrap; font: 700 clamp(1.4rem, 3vw, 2.6rem)/1 var(--display); letter-spacing: -.03em; }
.band--a { background: var(--r); color: #fff; transform: rotate(-5deg); z-index: 2; box-shadow: 0 20px 50px rgba(199, 0, 57, .25); }
.band--b { background: var(--y); color: var(--ink); transform: rotate(4deg); }
.band__track { display: inline-flex; align-items: center; gap: 1.2em; padding-right: 1.2em; animation: marquee 38s linear infinite; }
.band--b .band__track { animation-direction: reverse; animation-duration: 46s; }
.band__track > span { display: inline-flex; align-items: center; gap: 1.2em; }
.band__track > span::after { content: ""; width: .42em; height: .42em; border-radius: 50%; background: currentColor; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Pill photo frames ---------- */
.pill-photo { position: relative; border-radius: 999px; overflow: hidden; background: var(--paper-2); isolation: isolate; }
.pill-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease); }
.pill-photo:hover img { transform: scale(1.04); }
.pill-photo--tilt { transform: rotate(30deg); }
.pill-photo--tilt img { transform: rotate(-30deg) scale(1.75); }
.pill-photo--tilt:hover img { transform: rotate(-30deg) scale(1.6); }
.pill-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 60px rgba(0, 0, 0, .25); pointer-events: none; }
[data-parallax] { will-change: transform; }

/* ---------- Scroll-scrubbed sections: JS writes --p (0 → 1) ---------- */
.scrub { position: relative; }
.scrub__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* ---------- Horizontal scroll gallery ---------- */
.hscroll__stage { display: flex; align-items: center; }
.hscroll__track { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: var(--gutter); will-change: transform; transform: translate3d(calc(var(--p, 0) * var(--dist, 0px) * -1), 0, 0); }

.card { position: relative; flex: none; width: min(78vw, 470px); height: min(72vh, 620px); border-radius: var(--radius); overflow: hidden; background: var(--night-2); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 3vw, 36px); isolation: isolate; }
.card__img { position: absolute; inset: 0; z-index: -2; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease); }
.card:hover .card__img img { transform: scale(1); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 22, 31, 0) 20%, rgba(14, 22, 31, .92) 78%); }
.card__n { position: absolute; top: clamp(20px, 2.6vw, 32px); left: clamp(24px, 3vw, 36px); font: 700 .85rem/1 var(--display); padding: .6em 1em; border-radius: 99px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.card h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: .45em; }
.card p { color: rgba(255, 255, 255, .78); margin: 0 0 1.2em; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: .78rem; font-weight: 600; padding: .4em .85em; border-radius: 99px; border: 1px solid var(--line-light); }
.card--intro { background: none; color: var(--ink); justify-content: center; padding-left: 0; width: min(86vw, 520px); }
.card--intro::before { display: none; }

/* ---------- Steps with a line that draws itself ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.steps__line { position: absolute; left: 0; right: 0; top: 34px; height: 4px; overflow: visible; }
.steps__line path { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); }
.step { position: relative; }
.step__n { position: relative; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); font: 700 1.3rem/1 var(--display); margin-bottom: 28px; transition: background .5s, color .5s, border-color .5s; }
.step.is-in .step__n { background: var(--ink); color: var(--y); }
.step p { color: var(--ink-2); margin: .7em 0 0; }

/* ---------- FAQ ---------- */
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1.5px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; font: 600 clamp(1.1rem, 1.8vw, 1.45rem)/1.25 var(--display); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); transition: background .4s, transform .6s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; border-radius: 2px; }
.faq summary i::after { transform: rotate(90deg); transition: transform .5s var(--ease); }
.faq details[open] summary i { background: var(--y); border-color: var(--y); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { max-width: 46em; color: var(--ink-2); padding-bottom: 28px; margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__mail { display: inline-block; margin-top: 36px; font: 600 clamp(1.2rem, 2.4vw, 2rem)/1.2 var(--display); letter-spacing: -.03em; color: var(--y); text-decoration: none; }
.contact__meta { margin-top: 28px; color: rgba(255, 255, 255, .6); font-size: .95rem; }
.form { display: grid; gap: 14px; background: var(--paper); color: var(--ink); padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: block; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 1.45em 1.1em .55em; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .3s, box-shadow .3s; appearance: none; }
.field textarea { resize: vertical; min-height: 120px; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field > span { position: absolute; left: 1.15em; top: .65em; font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); pointer-events: none; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--r); box-shadow: 0 0 0 4px rgba(199, 0, 57, .12); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); line-height: 1.45; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--r); }
.form .btn { justify-self: start; margin-top: 6px; }
.form__msg { margin: 0; font-weight: 600; font-size: .92rem; min-height: 1.4em; color: #1d7a4f; }
.form__msg.is-error { color: var(--r); }
.is-invalid { border-color: var(--r) !important; }

/* ---------- Founders ---------- */
.founders { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 64px); }
.founder { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; }
.founder .pill-photo { width: 150px; height: 230px; margin: 0; }
.founder .pill-photo img { object-position: 50% 20%; transform: scale(1.02); transition: transform 1.4s var(--ease); }
.founder:hover .pill-photo img { transform: scale(1.08); }
.founder__role { font: 600 .8rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--r); margin: .8em 0 1em; }
.founder p:last-child { color: var(--ink-2); margin: 0; font-size: .97rem; }
.is-dark .founder p:last-child { color: rgba(255,255,255,.7); }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--night); color: rgba(255, 255, 255, .62); padding: clamp(70px, 9vw, 120px) 0 32px; font-size: .95rem; }
.footer__top { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
.footer__logo { display: inline-block; }
.footer__logo img { height: 46px; width: auto; }
.footer__brand p { margin: 22px 0 0; max-width: 22em; }
.footer__h { margin: 0 0 18px; font: 600 .74rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--y); }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__col a, .footer__bottom a { text-decoration: none; transition: color .3s; }
.footer__col a:hover, .footer__bottom a:hover { color: #fff; }
.footer__bottom { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-top: 26px; font-size: .85rem; }
.footer__bottom nav { display: flex; gap: 22px; }
/* Three logo capsules peeking in from the corner */
.footer__pills { position: absolute; right: 2%; bottom: -120px; width: 300px; height: 300px; pointer-events: none; opacity: .14; }
.footer__pills i { position: absolute; top: 0; width: 80px; height: 300px; border-radius: 99px; transform: rotate(30deg); }
.footer__pills i:nth-child(1) { left: 0; background: var(--y); }
.footer__pills i:nth-child(2) { left: 80px; background: var(--o); transform: rotate(-30deg); }
.footer__pills i:nth-child(3) { left: 160px; background: var(--r); }
/* Legal pages still use the compact single row */
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; font-size: .92rem; }
.footer__row nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer__row a { text-decoration: none; }
.footer__row a:hover { color: #fff; }

/* ---------- Legal pages ---------- */
.legal { padding: 150px 0 110px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: .6em; }
.legal h2 { font-size: 1.35rem; margin: 2em 0 .6em; }
.legal .todo { background: #fff3c4; border-radius: 18px; padding: 16px 20px; }

/* =====================================================================
   Shared page sections (hero with logo mark, formula, etc.)
   ===================================================================== */
/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 130px 0 36px; display: flex; flex-direction: column; justify-content: center; gap: 48px; overflow: hidden; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero .display { font-size: clamp(2.7rem, 6.4vw, 6.6rem); }
.hero .lead { margin-top: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__art { position: relative; }

.mark--hero .mark__pill {
  cursor: pointer;
  animation: pill-in 1.6s var(--ease) both;
  translate: calc(var(--mx, 0) * var(--d) * 1px) calc(var(--my, 0) * var(--d) * 1px);
}
.mark--hero .mark__pill--y { --fx: -180px; --fy: 312px; --d: 16; animation-delay: .2s; }
.mark--hero .mark__pill--o { --fx: -180px; --fy: -312px; --d: -12; animation-delay: .38s; }
.mark--hero .mark__pill--r { --fx: 180px; --fy: -312px; --d: 24; animation-delay: .56s; }
@keyframes pill-in { from { transform: translate(var(--fx), var(--fy)); opacity: 0; } to { transform: none; opacity: .94; } }
.mark--hero .mark__dot {
  transform-box: fill-box; transform-origin: 50% 100%;
  animation: dot-drop 1.2s var(--spring) 1.05s both, dot-bob 5s ease-in-out 2.6s infinite;
  translate: calc(var(--mx, 0) * 34px) calc(var(--my, 0) * 34px);
}
@keyframes dot-drop { 0% { transform: translateY(-700px) scale(.5); opacity: 0; } 50% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes dot-bob { 0%, 100% { transform: none; } 50% { transform: translateY(-18px); } }

.legend { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 34px 0 0; padding: 0; }
.legend li { display: inline-flex; align-items: center; gap: 10px; padding: .55em 1em .55em .7em; border-radius: 99px; border: 1.5px solid var(--line); font-size: .88rem; font-weight: 600; cursor: default; transition: background .4s, color .4s, border-color .4s; }
.legend li i { width: 12px; height: 22px; border-radius: 99px; transform: rotate(30deg); }
.legend li.is-active, .legend li:focus-visible { background: var(--ink); color: var(--paper); border-color: var(--ink); outline: none; }

.hero__foot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.scroll-cue { flex: none; position: relative; width: 30px; height: 52px; border-radius: 99px; border: 1.5px solid var(--ink); }
.scroll-cue i { position: absolute; left: 50%; top: 9px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--w); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 80% { transform: translateY(22px); opacity: 0; } 100% { opacity: 0; } }
.live { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; padding: 12px 22px; border-radius: 99px; background: rgba(255, 255, 255, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); font-size: .9rem; }
.live b { font-family: var(--display); font-variant-numeric: tabular-nums; margin-left: .2em; }
.live__status { color: var(--ink-2); }
.live__pulse { width: 10px; height: 10px; border-radius: 50%; background: #2bb673; animation: pulse 2s infinite; }
.live__pulse.is-off { background: var(--o); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(43, 182, 115, .55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(43, 182, 115, 0); } }

/* ---------- Formula (scroll-scrubbed) ---------- */
.formula {
  height: 320vh; background: var(--paper);
  --a: clamp(0, calc(var(--p, 0) / .55), 1);
  --b: clamp(0, calc((var(--p, 0) - .6) / .22), 1);
}
.formula__stage { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4vh; padding-top: 70px; }
.formula__head { text-align: center; }
.formula__head .kicker { justify-content: center; }
.formula__mark { width: min(84vw, calc(40vh * 1.725)); }
.formula .mark__pill { opacity: calc(.4 + var(--a) * .54); }
.formula .mark__pill--y { transform: translate(calc((1 - var(--a)) * -640px), calc((1 - var(--a)) * 140px)); }
.formula .mark__pill--o { transform: translate(0, calc((1 - var(--a)) * 600px)); }
.formula .mark__pill--r { transform: translate(calc((1 - var(--a)) * 640px), calc((1 - var(--a)) * -140px)); }
.formula .mark__dot { transform-box: fill-box; transform-origin: center; opacity: var(--b); transform: translateY(calc((1 - var(--b)) * -520px)) scale(calc(.4 + var(--b) * .6)); }
.formula text { font-family: var(--display); font-weight: 700; font-size: 38px; letter-spacing: 5px; text-anchor: middle; dominant-baseline: central; }
.formula__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 48px); opacity: calc(1 - var(--b)); transform: translateY(calc(var(--b) * 30px)); }
.formula__col { text-align: center; }
.formula__col i { display: block; width: 12px; height: 24px; margin: 0 auto 14px; border-radius: 99px; transform: rotate(30deg); }
.formula__col h3 { font-size: clamp(1.05rem, 1.6vw, 1.35rem); margin-bottom: .4em; }
.formula__col p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.formula__result { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 9vh; margin: 0; text-align: center; font: 700 clamp(1.4rem, 3.2vw, 2.6rem)/1.15 var(--display); letter-spacing: -.035em; opacity: var(--b); transform: translateY(calc((1 - var(--b)) * 40px)); }
.formula__result span { color: var(--w); }

/* ---------- Services gallery extras ---------- */
.hint { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; font: 600 .8rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.hint i { position: relative; width: 52px; height: 22px; border-radius: 99px; border: 1.5px solid currentColor; }
.hint i::after { content: ""; position: absolute; top: 5px; left: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--w); animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { 0% { transform: none; opacity: 0; } 25% { opacity: 1; } 80%, 100% { transform: translateX(26px); opacity: 0; } }
.card--end { background: var(--r); justify-content: center; align-items: flex-start; gap: 28px; }
.card--end::before { display: none; }
.card--end h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); }

/* ---------- FAQ layout ---------- */
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(40px, 6vw, 100px); align-items: start; }

/* ---------- Contact ---------- */
.contact-sec { overflow: hidden; }
.contact-sec .wrap { position: relative; z-index: 1; }
.contact-sec .lead { margin-top: 28px; }

/* ---------- Tick list (capsule bullets) ---------- */
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 6px; top: .2em; width: 9px; height: 18px; border-radius: 99px; background: var(--o); transform: rotate(30deg); }

/* ---------- Shared section responsive ---------- */
@media (max-width: 1000px) {
  .hero__grid, .faq-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .hero__art { max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 640px) {
  .formula__cols { grid-template-columns: 1fr; gap: 10px; }
  .formula__col { display: flex; align-items: center; gap: 12px; text-align: left; }
  .formula__col i { margin: 0; }
  .formula__col p { display: none; }
  .scroll-cue { display: none; }
  .live { border-radius: 22px; font-size: .82rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  [data-reveal], .line > span { opacity: 1 !important; transform: none !important; }
  .dot { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1460px) {
  .nav a { padding: .6em .8em; font-size: .86rem; }
  .logo__word img { height: 32px; }
}
@media (max-width: 1320px) {
  .nav { display: none; }
  .header__cta { margin-left: auto; }
  .burger { display: block; margin-left: 0; }
}
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .section__head, .contact, .founders { grid-template-columns: 1fr; }
  .section__head .lead { justify-self: start; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps__line { display: none; }
  /* Horizontal gallery becomes a native swipe row */
  .hscroll { height: auto !important; }
  .hscroll .scrub__stage { position: static; height: auto; overflow: visible; padding: 10px 0 20px; }
  .hscroll__track { transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; width: 100%; }
  .hscroll__track::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: center; height: 520px; }
  .card--intro { height: auto; width: 82vw; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .footer__top { grid-template-columns: 1fr; }
  .header__inner, .header.is-solid .header__inner { height: 84px; gap: 12px; }
  .header__cta { display: none; }
  .burger { margin-left: auto; }
  .logo__mark { height: 44px; }
  .header.is-solid .logo__mark { height: 34px; }
  .logo { gap: 12px; }
  .logo__word img { height: 27px; }
  .logo__tag { display: none; }
  .steps, .form__row { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 110px 1fr; gap: 20px; }
  .founder .pill-photo { width: 110px; height: 170px; }
  .faq summary { padding: 22px 0; }
}
