/* ==========================================================================
   Premium Wiki Experts — design system
   Palette derived from the official logo: royal blue → violet → crimson,
   anchored by deep midnight ink and warm ivory "paper".
   ========================================================================== */

:root {
  --ink: #0a0c21;
  --ink-2: #11143a;
  --ink-3: #1b1f52;
  --indigo: #3c3b6e;      /* original brand --clr-1 */
  --indigo-2: #3b45a0;    /* logo "WIKI EXPERTS" */
  --royal: #2350e6;
  --royal-2: #0059ff;     /* original CTA blue */
  --violet: #6b2fa0;
  --crimson: #d6203f;     /* logo "PREMIUM" */
  --crimson-d: #8c0a1c;
  --paper: #f6f4ef;
  --paper-2: #ece9e1;
  --white: #ffffff;
  --text: #13142b;
  --muted: #5a5d78;
  --line: rgba(19, 20, 43, .1);
  --on-dark: #eef0ff;
  --on-dark-2: rgba(226, 229, 255, .7);
  --line-dark: rgba(255, 255, 255, .12);
  --grad: linear-gradient(118deg, #2350e6 0%, #6b2fa0 50%, #d6203f 100%);
  --grad-soft: linear-gradient(118deg, #7d97ff 0%, #c08bff 50%, #ff7590 100%);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow-1: 0 1px 2px rgba(10, 12, 33, .06), 0 8px 24px -8px rgba(10, 12, 33, .12);
  --shadow-2: 0 2px 4px rgba(10, 12, 33, .06), 0 30px 60px -20px rgba(10, 12, 33, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --container: 1260px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(48px, 6vw, 88px);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html, body { overflow-x: clip; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.75; color: var(--text);
  background: var(--paper); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }
p + p { margin-top: 1.05em; }
:focus-visible { outline: 2px solid var(--royal); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--crimson); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

.skip-link { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section-tight { padding-block: clamp(32px, 4.5vw, 60px); position: relative; }
.bg-paper { background: var(--paper); }
.bg-white { background: var(--white); }
.bg-ink { background: var(--ink); color: var(--on-dark); }
.bg-ink p { color: var(--on-dark-2); }
/* When two sections share a background, keep one gap instead of two */
.bg-paper + .bg-paper, .bg-white + .bg-white, .bg-ink + .bg-ink,
.bg-paper + .cta-band, .cta-band + .bg-paper, .cta-band + .contact-sec, .bg-paper + .contact-sec,
.bg-white + .reasons:not(.reasons--cards), .reasons:not(.reasons--cards) + .bg-white { padding-top: 0; }
.section-head { max-width: 1120px; margin-bottom: clamp(28px, 4vw, 48px); position: relative; z-index: 2; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 16px; }

/* ---------- Typography ---------- */
.h1, .h2, .h3 { font-weight: 700; letter-spacing: -.025em; color: inherit; text-wrap: balance; }
.h1 { font-size: clamp(2.3rem, 5vw, 4.7rem); line-height: 1.05; }
.h2 { font-size: clamp(1.9rem, 3.7vw, 3.2rem); line-height: 1.1; }
.h3 { font-size: clamp(1.45rem, 2.3vw, 2rem); line-height: 1.18; letter-spacing: -.02em; }
.accent {
  --acc: var(--grad);
  display: block; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
  font-size: .92em; line-height: 1.08; margin-bottom: .08em;
  background-image: var(--acc); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .08em;
}
.bg-ink .accent, .page-hero .accent, .hero-home .accent, .cta-card .accent, .choose .accent, .stats .accent { --acc: var(--grad-soft); }
/* After word-splitting, paint the gradient per word so the mask animation stays crisp */
.is-split .accent, .is-split .grad-word { background: none !important; }
.is-split .accent .wi { background-image: var(--acc); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.is-split .grad-word .wi { background-image: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.65; color: var(--muted); max-width: 62ch; }
.bg-ink .lead { color: var(--on-dark-2); }
.section-head.center .lead { margin-inline: auto; }
.section-head .lead { max-width: 100ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 26px; }
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px; border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s, color .3s;
}
.btn .ico { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn-primary { --fg: #fff; background: var(--grad); background-size: 160% 100%; background-position: 0 0; box-shadow: 0 10px 30px -10px rgba(107, 47, 160, .7); transition: background-position .8s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); }
.btn-primary::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 16px 40px -12px rgba(214, 32, 63, .65); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.btn-ghost-light { background: rgba(255,255,255,.06); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper); }
.btn-sm { min-height: 46px; padding: 0 22px; font-size: .74rem; }
.btn-block { width: 100%; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2fd67a; box-shadow: 0 0 0 0 rgba(47,214,122,.6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,214,122,.55); } 70% { box-shadow: 0 0 0 10px rgba(47,214,122,0); } 100% { box-shadow: 0 0 0 0 rgba(47,214,122,0); } }
.round-btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); transition: background .3s, color .3s, transform .4s var(--ease); }
.round-btn:hover { background: var(--ink); color: #fff; transform: scale(1.06); }

/* ---------- Check list ---------- */
.check-list { display: grid; gap: 12px; margin-top: 26px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; line-height: 1.45; }
.check-list .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--grad); color: #fff; stroke-width: 3; margin-top: 1px; }
.check-list.on-dark li { color: var(--on-dark); }

/* ---------- Page curtain (page transitions) ---------- */
.page-curtain { position: fixed; inset: 0; z-index: 400; pointer-events: none; }
.curtain-panel { position: absolute; inset: 0; background: var(--ink); transform: translateY(-100%); display: grid; place-items: center; }
.curtain-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--grad); filter: blur(.5px); box-shadow: 0 0 80px 20px rgba(107,47,160,.5); animation: breathe 1.4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(.82); opacity: .7; } }
.curtain-mark { display: none; }
/* Arriving from an internal link: a short CSS-only wipe that never waits for scripts */
.anim.from-nav .page-curtain .curtain-panel { animation: curtainUp .5s cubic-bezier(.7, 0, .2, 1) both; }
@keyframes curtainUp { from { transform: translateY(0); } to { transform: translateY(-100%); } }
.is-leaving .page-curtain { pointer-events: all; }
.is-leaving .page-curtain .curtain-panel { transform: translateY(0); transition: transform .3s cubic-bezier(.7, 0, .3, 1); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: fixed; inset: 14px 0 auto; z-index: 100; padding-inline: var(--gutter); transition: transform .6s var(--ease); }
.site-header.is-hidden { transform: translateY(-140%); }
.nav-shell {
  max-width: calc(var(--container) + 40px); margin-inline: auto; height: 72px; display: flex; align-items: center; gap: 24px;
  padding: 0 10px 0 22px; border-radius: 999px; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 12px 40px -18px rgba(10,12,33,.45); border: 1px solid rgba(255,255,255,.6);
  transition: height .5s var(--ease), box-shadow .5s var(--ease), background .5s;
}
.is-scrolled .nav-shell { height: 64px; background: rgba(255,255,255,.97); box-shadow: 0 18px 50px -20px rgba(10,12,33,.5); backdrop-filter: none; -webkit-backdrop-filter: none; }
.brand { flex: none; display: block; }
.brand img { height: 46px; width: auto; transition: height .5s var(--ease); }
.is-scrolled .brand img { height: 40px; }
.main-nav { position: relative; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 10px 15px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--text); transition: color .3s; }
.nav-link .ico { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.has-mega:hover .nav-link .ico, .has-mega.is-open .nav-link .ico { transform: rotate(180deg); }
.nav-link.is-active::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--crimson); transform: translateX(-50%); }
.nav-indicator { position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 999px; background: var(--paper-2); opacity: 0; transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; pointer-events: none; }
.nav-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.nav-phone { display: flex; align-items: center; gap: 10px; padding-right: 6px; }
.nav-phone-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--crimson); transition: background .3s, color .3s; }
.nav-phone:hover .nav-phone-ico { background: var(--crimson); color: #fff; }
.nav-phone-ico .ico { width: 18px; height: 18px; }
.nav-phone-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-phone-text small { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.nav-phone-text b { font-size: .92rem; font-weight: 800; }

/* Mega menu */
.has-mega { position: relative; }
.mega { position: absolute; top: calc(100% + 18px); left: 50%; transform: translate(-50%, 10px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s; }
.mega::before { content: ''; position: absolute; inset: -22px 0 auto; height: 22px; }
.has-mega:hover .mega, .has-mega.is-open .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-list > .has-mega:first-child .mega { left: -16px; transform: translate(0, 10px); }
.nav-list > .has-mega:first-child:hover .mega, .nav-list > .has-mega:first-child.is-open .mega, .nav-list > .has-mega:first-child:focus-within .mega { transform: translate(0, 0); }
.mega-inner { display: grid; gap: 14px; padding: 14px; background: #fff; border-radius: 26px; box-shadow: var(--shadow-2), 0 0 0 1px var(--line); }
.mega-services { grid-template-columns: 1.35fr 1fr; width: min(760px, 90vw); }
.mega-profiles { grid-template-columns: 1fr 1fr; width: min(600px, 90vw); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; transition: background .3s; }
.mega-item:hover, .mega-item.is-current { background: var(--paper); }
.mega-ico { width: 44px; height: 44px; border-radius: 12px; overflow: hidden; flex: none; background: #fff6e4; display: grid; place-items: center; }
.mega-ico img { width: 100%; height: 100%; object-fit: cover; }
.mega-label { display: flex; flex-direction: column; font-weight: 700; font-size: .88rem; line-height: 1.25; }
.mega-label small { font-size: .66rem; color: var(--muted); font-weight: 700; letter-spacing: .1em; }
.mega-item .ico, .mega-row .ico, .mega-link .ico { width: 16px; height: 16px; margin-left: auto; opacity: 0; transform: translate(-4px, 4px); transition: .35s var(--ease); }
.mega-item:hover .ico, .mega-row:hover .ico, .mega-link:hover .ico { opacity: 1; transform: none; }
.mega-side { display: grid; gap: 8px; grid-template-rows: 1fr auto; }
.mega-feature { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px; padding: 18px; border-radius: 18px; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.mega-feature::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,12,33,0) 20%, rgba(10,12,33,.92) 100%); }
.mega-feature-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform 1s var(--ease); }
.mega-feature:hover .mega-feature-img { transform: scale(1.06); }
.mega-feature-text { display: flex; flex-direction: column; font-weight: 800; font-size: 1.02rem; line-height: 1.25; letter-spacing: -.01em; }
.mega-feature-text small { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; opacity: .7; margin-bottom: 6px; }
.mega-feature-text .ico { margin-top: 10px; }
.mega-link, .mega-row { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; font-weight: 700; font-size: .9rem; transition: background .3s; }
.mega-link { background: var(--paper); }
.mega-link:hover, .mega-row:hover, .mega-row.is-current { background: var(--paper-2); }
.mega-list { display: grid; align-content: center; gap: 2px; }
.mega-row { border-bottom: 1px solid var(--line); border-radius: 12px; }
.mega-feature--tall { min-height: 230px; }

/* Burger + mobile menu */
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); position: relative; }
.burger span { position: absolute; left: 15px; right: 15px; height: 2px; background: #fff; border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; }
.menu-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 23px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff; clip-path: circle(0% at calc(100% - 50px) 50px); transition: clip-path .8s var(--ease); overflow-y: auto; visibility: hidden; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 50px) 50px); visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-menu-inner { min-height: 100%; padding: 100px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: flex-start; gap: 28px; background: radial-gradient(60% 40% at 100% 0%, rgba(107,47,160,.45), transparent), radial-gradient(50% 40% at 0% 100%, rgba(35,80,230,.35), transparent); }
.m-nav > li { border-bottom: 1px solid var(--line-dark); opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.menu-open .m-nav > li { opacity: 1; transform: none; }
.menu-open .m-nav > li:nth-child(2) { transition-delay: .05s; } .menu-open .m-nav > li:nth-child(3) { transition-delay: .1s; }
.menu-open .m-nav > li:nth-child(4) { transition-delay: .15s; } .menu-open .m-nav > li:nth-child(5) { transition-delay: .2s; }
.menu-open .m-nav > li:nth-child(6) { transition-delay: .25s; } .menu-open .m-nav > li:nth-child(7) { transition-delay: .3s; }
.m-nav > li > a, .m-acc-btn { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 14px 0; font-size: clamp(1.1rem, 4.6vw, 1.3rem); font-weight: 600; letter-spacing: -.01em; text-align: left; }
.m-acc-btn .ico { width: 20px; height: 20px; }
.m-acc-btn .ico { transition: transform .4s var(--ease); }
.m-acc.is-open .m-acc-btn .ico { transform: rotate(45deg); }
.m-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.m-sub > * { overflow: hidden; }
.m-acc .m-sub { display: block; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.m-acc.is-open .m-sub { max-height: 520px; }
.m-sub a { display: block; padding: 8px 0 8px 14px; color: var(--on-dark-2); font-size: .95rem; font-weight: 500; border-left: 1px solid var(--line-dark); }
.m-sub li:last-child a { margin-bottom: 16px; }
.m-contact { display: grid; gap: 14px; }
.m-contact a:not(.btn) { display: flex; gap: 10px; align-items: center; color: var(--on-dark-2); font-weight: 600; }

/* ==========================================================================
   Ambient backgrounds
   ========================================================================== */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; contain: strict; }
.aurora span { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(70px); opacity: .5; animation: drift 22s ease-in-out infinite alternate; will-change: transform; }
.aurora.is-paused span { animation-play-state: paused; }
.aurora span:nth-child(1) { background: #2350e6; left: -12vmax; top: -18vmax; }
.aurora span:nth-child(2) { background: #6b2fa0; right: -10vmax; top: 10%; animation-duration: 26s; animation-delay: -6s; }
.aurora span:nth-child(3) { background: #d6203f; left: 30%; bottom: -26vmax; opacity: .42; animation-duration: 30s; animation-delay: -12s; }
.aurora--soft span { opacity: .28; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(6vmax, 4vmax, 0) scale(1.12); } 100% { transform: translate3d(-4vmax, 7vmax, 0) scale(.94); } }
.hero-grid-lines { position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); }

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero-home { position: relative; min-height: 100svh; background: var(--ink); color: #fff; padding: calc(var(--header-h) + 44px) 0 0; overflow: hidden; display: flex; flex-direction: column; isolation: isolate; }
.hero-home .container { position: relative; z-index: 2; }
.hero-layout { display: grid; grid-template-columns: 1.22fr .78fr; gap: clamp(30px, 5vw, 80px); align-items: center; flex: 1; }
.hero-kicker { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-dark); font-size: .8rem; font-weight: 600; color: var(--on-dark-2); margin-bottom: 28px; backdrop-filter: blur(10px); }
.hero-kicker b { padding: 5px 11px; border-radius: 999px; background: var(--grad); color: #fff; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.hero-title { font-size: clamp(2.4rem, 4.5vw, 4.6rem); line-height: 1.04; font-weight: 700; letter-spacing: -.03em; }
.hero-title .accent { font-size: .82em; margin-bottom: .1em; }
.hero-title .grad-word { background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-home .lead { color: var(--on-dark-2); margin-top: 28px; max-width: 56ch; }
.hero-visual { position: relative; height: min(64vh, 600px); min-height: 420px; }
.hero-frame { position: absolute; inset: 0 0 0 8%; border-radius: 240px 240px 36px 36px; overflow: hidden; box-shadow: 0 50px 100px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.12); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 69% 30%; transform: scale(1.12); }
.hero-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,12,33,.55)); }
.hero-ring { position: absolute; left: -2%; top: 6%; width: 150px; height: 150px; z-index: 3; }
.hero-ring svg { width: 100%; height: 100%; animation: spin 24s linear infinite; }
.hero-ring text { font-size: 10.4px; font-weight: 700; letter-spacing: 3.1px; fill: #fff; text-transform: uppercase; }
.hero-ring-core { position: absolute; inset: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.hero-ring-core img { width: 64%; }
@keyframes spin { to { transform: rotate(360deg); } }
.glass-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; border-radius: 20px; background: rgba(255,255,255,.1); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 20px 50px -20px rgba(0,0,0,.6); color: #fff; }
.glass-chip b { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.glass-chip small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); font-weight: 700; }
.glass-chip .gc-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); }
.glass-chip--a { left: -4%; bottom: 16%; }
.glass-chip--b { right: -3%; top: 22%; }
.cite-float { position: absolute; z-index: 3; font-family: var(--serif); font-style: italic; color: #fff; font-size: 1.4rem; opacity: .75; }
.cite-float--1 { right: 6%; bottom: 8%; }
.cite-float--2 { left: 2%; top: 52%; font-size: 1.1rem; }
.hero-home .brands { margin-top: clamp(28px, 4vw, 48px); }
.hero-scroll { position: absolute; left: 50%; bottom: 22px; width: 24px; height: 38px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); transform: translateX(-50%); z-index: 3; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 2px; background: #fff; transform: translateX(-50%); animation: scrolly 1.8s var(--ease) infinite; }
@keyframes scrolly { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* ==========================================================================
   Inner-page hero
   ========================================================================== */
.page-hero { position: relative; isolation: isolate; background: var(--ink); color: #fff; padding: calc(var(--header-h) + clamp(48px, 6vw, 80px)) 0 clamp(52px, 6vw, 84px); overflow: hidden; min-height: clamp(500px, 66vh, 660px); display: flex; align-items: center; }
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.page-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,33,.96) 0%, rgba(10,12,33,.86) 34%, rgba(10,12,33,.25) 66%, rgba(10,12,33,.05) 100%), linear-gradient(0deg, rgba(10,12,33,.9) 0%, transparent 30%); }
.page-hero .aurora { opacity: .55; }
.page-hero--banner .aurora span:nth-child(2), .page-hero--banner .aurora span:nth-child(3) { display: none; }
.page-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); }
.page-hero--split .page-hero-inner { grid-template-columns: 1.4fr .6fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.page-hero--split .page-hero-copy { max-width: none; }
.page-hero-copy { max-width: 760px; }
.page-hero--type .page-hero-copy { max-width: 920px; }
.page-hero .h1 { font-size: clamp(2rem, 3.3vw, 3.15rem); line-height: 1.1; }
.page-hero--banner .page-hero-copy { max-width: 880px; }
.page-hero .lead { color: var(--on-dark-2); margin-top: 18px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 20px; }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 10px; border-radius: 999px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px var(--line-dark); font-size: .88rem; font-weight: 600; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-chips .ico { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--grad); stroke-width: 3; }
.page-hero-side { position: relative; }
.side-frame { border-radius: 30px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.14); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.side-frame img { width: 100%; }
.cite-chip { position: absolute; font-family: var(--serif); font-style: italic; font-size: 1.3rem; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.12); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.cite-chip--a { top: -16px; right: 12%; }
.cite-chip--b { bottom: 14%; left: -18px; }

/* ==========================================================================
   Publications marquee
   ========================================================================== */
.brands { position: relative; z-index: 2; background: var(--white); border-bottom: 1px solid var(--line); }
.brands-inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(20px, 4vw, 56px); padding-block: 26px; }
.brands-title { font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; color: var(--muted); padding-right: clamp(20px, 3vw, 40px); border-right: 1px solid var(--line); white-space: nowrap; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 60px; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 58px; width: auto; max-width: none; opacity: .82; transition: opacity .3s; }
.marquee:hover .marquee-track img { opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 30px)); } }
.brands--dark { background: rgba(255,255,255,.04); border-top: 1px solid var(--line-dark); border-bottom: 0; }
.brands--dark .brands-title { color: var(--on-dark-2); border-color: var(--line-dark); }
.brands--dark .marquee-track img { filter: brightness(0) invert(1); opacity: .78; }

/* ==========================================================================
   Feature rows — editorial
   ========================================================================== */
.fe-row { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.fe-row + .fe-row { margin-top: clamp(56px, 7vw, 100px); }
.fe-row.is-flip .fe-media { order: 2; }
.fe-media { position: relative; }
.fe-num { position: absolute; top: -.42em; left: -.06em; z-index: 2; font-size: clamp(6rem, 13vw, 12rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: rgba(19,20,43,.06); pointer-events: none; }
.fe-row.is-flip .fe-num { left: auto; right: -.04em; }
.fe-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1 / 1.02; box-shadow: var(--shadow-2); }
.fe-frame > div { position: absolute; inset: -8% 0; }
.fe-frame img { width: 100%; height: 100%; object-fit: cover; }
.fe-copy .h2 { margin-bottom: 20px; }
.fe-copy p { color: var(--muted); }
.dropcap > p:first-child::first-letter { float: left; font-family: var(--serif); font-size: 4.6em; line-height: .82; padding: .06em .12em 0 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Feature rows — sticky */
.fs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); }
.fs-media { position: relative; }
.fs-media-inner { position: sticky; top: calc(var(--header-h) + 50px); aspect-ratio: 1 / 1.05; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); background: var(--ink); }
.fs-img { position: absolute; inset: 0; opacity: 0; transform: scale(1.05); transition: opacity .5s var(--ease), transform .8s var(--ease); }
.fs-img.is-active { opacity: 1; transform: none; }
.fs-img img { width: 100%; height: 100%; object-fit: cover; }
.fs-progress { position: absolute; left: 24px; right: 24px; bottom: 24px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; z-index: 2; }
.fs-progress span { display: block; height: 100%; width: 0; background: #fff; }
.fs-copy { display: grid; gap: clamp(48px, 9vh, 96px); }
.fs-block { display: flex; flex-direction: column; justify-content: flex-start; }
.fs-index { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: .8rem; letter-spacing: .18em; color: var(--crimson); margin-bottom: 20px; }
.fs-index i { width: 44px; height: 1.5px; background: currentColor; opacity: .5; }
.fs-block .h3 { margin-bottom: 22px; }
.fs-block p { color: var(--muted); }
.fs-mobile-img { display: none; }

/* Feature rows — collage */
.fc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.fc-row + .fc-row { margin-top: clamp(56px, 7vw, 100px); }
.fc-row.is-flip .fc-media { order: 2; }
.fc-media { position: relative; }
.fc-media.has-float { padding: 0 12% 14% 0; }
.fc-row.is-flip .fc-media.has-float { padding: 0 0 14% 12%; }
.fc-img { border-radius: var(--radius-lg); overflow: hidden; }
.fc-img img { width: 100%; height: 100%; object-fit: cover; }
.fc-img--main { aspect-ratio: 1 / 1; box-shadow: var(--shadow-2); }
.fc-img--float { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; border: 8px solid var(--paper); box-shadow: var(--shadow-2); border-radius: 28px; }
.fc-row.is-flip .fc-img--float { right: auto; left: 0; }
.bg-white .fc-img--float { border-color: #fff; }
.fc-badge { position: absolute; top: 22px; left: 22px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-weight: 800; box-shadow: var(--shadow-1); }
.fc-row.is-flip .fc-badge { left: auto; right: 22px; }
.fc-copy .h3 { margin-bottom: 22px; }
.fc-copy p { color: var(--muted); }

/* ==========================================================================
   Intro showcase
   ========================================================================== */
.intro { overflow: hidden; }
.intro .container { position: relative; z-index: 2; }
.intro-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.intro-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1 / 1; box-shadow: var(--shadow-2); }
.intro-media > div { position: absolute; inset: -8% 0; }
.intro-media img { width: 100%; height: 100%; object-fit: cover; }
.intro-cite { position: absolute; left: 22px; bottom: 22px; padding: 8px 16px; border-radius: 999px; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: #fff; background: rgba(10,12,33,.45); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.intro-copy .h3 { margin-bottom: 22px; }
.bg-white .intro-copy p { color: var(--muted); }
.bg-ink .intro-card { padding: clamp(18px, 2.5vw, 30px); border-radius: calc(var(--radius-lg) + 12px); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line-dark); }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.stats--gradient { background: var(--grad); }
.stats--ink { background: var(--ink-2); }
.stats-noise { display: none; position: absolute; inset: 0; z-index: -1; opacity: .18; 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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); }
.stats-inner { display: grid; grid-template-columns: .7fr 2fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding-block: clamp(40px, 5vw, 68px); }
.stats-title { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.stats-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 8px clamp(14px, 2.4vw, 34px); border-left: 1px solid rgba(255,255,255,.25); }
.stat-num { display: flex; align-items: baseline; font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-num em { font-style: normal; font-size: .55em; margin-left: 2px; opacity: .85; }
/* The final value reserves the space, so counting up never shifts the layout */
.stat-digits { display: inline-grid; }
.stat-digits > span { grid-area: 1 / 1; text-align: left; }
.stat-ghost { visibility: hidden; }
.stat { contain: layout; }
.stat-label { display: block; margin-top: 12px; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .85; white-space: nowrap; }

/* ==========================================================================
   Home — services rail (pinned horizontal scroll on desktop)
   ========================================================================== */
.svc-rail { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.svc-rail .section-head { padding-top: var(--section); margin-bottom: 32px; }
.svc-viewport { position: relative; }
.svc-track { display: flex; gap: 24px; padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2)) var(--section); width: max-content; }
.svc-card { position: relative; width: clamp(300px, 30vw, 420px); min-height: 400px; padding: 34px; border-radius: var(--radius-lg); display: flex; flex-direction: column; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line-dark); overflow: hidden; isolation: isolate; transition: transform .6s var(--ease), box-shadow .6s; }
.svc-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--grad); opacity: 0; transition: opacity .6s var(--ease); }
.svc-card:hover { transform: translateY(-8px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 30px 60px -30px rgba(0,0,0,.7); }
.svc-card:hover::before { opacity: 1; }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc-ico { width: 104px; height: 62px; border-radius: 16px; overflow: hidden; }
.svc-ico img { width: 100%; height: 100%; object-fit: cover; }
.svc-num { font-family: var(--serif); font-style: italic; font-size: 3rem; line-height: 1; color: rgba(255,255,255,.35); transition: color .4s; }
.svc-card:hover .svc-num { color: #fff; }
.svc-card h3 { margin-top: auto; font-size: 1.8rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.svc-card p { color: var(--on-dark-2); margin-top: 14px; font-size: .98rem; line-height: 1.6; transition: color .4s; }
.svc-card:hover p { color: rgba(255,255,255,.92); }
.svc-go { position: absolute; right: 26px; bottom: 26px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); transform: scale(.6) rotate(-45deg); opacity: 0; transition: .5s var(--ease); }
.svc-card:hover .svc-go { transform: none; opacity: 1; }
.svc-card .stretched::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.svc-bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(var(--section) / 2 - 2px); height: 2px; background: var(--line-dark); border-radius: 2px; }
.svc-bar span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 2px; }

/* ==========================================================================
   Home — success bento
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento-intro { grid-column: span 3; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 30px; }
.bento-intro p { color: var(--muted); font-size: 1.15rem; }
.bento-card { position: relative; padding: clamp(26px, 3vw, 38px); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-1); overflow: hidden; isolation: isolate; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.bento-card .b-num { font-family: var(--serif); font-style: italic; font-size: 3.4rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bento-card h3 { font-size: 1.32rem; font-weight: 800; letter-spacing: -.02em; margin: 18px 0 12px; }
.bento-card p { color: var(--muted); font-size: .98rem; line-height: 1.65; }
.bento-card--wide { grid-column: span 2; }
.bento-card--dark { background: var(--ink); color: #fff; }
.bento-card--dark p { color: var(--on-dark-2); }
[data-spotlight]::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(107,47,160,.12), transparent 60%); }
[data-spotlight]:hover::after { opacity: 1; }
.bento-card--dark[data-spotlight]::after { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(125,151,255,.22), transparent 60%); }

/* ==========================================================================
   Reasons
   ========================================================================== */
.reasons { background: var(--white); }
.reasons-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 70px); align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.reasons-intro p { color: var(--muted); }
.reasons-intro .btn-row { margin-top: 26px; }
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.reason-card { position: relative; padding: 30px; border-radius: var(--radius); background: var(--paper); overflow: hidden; isolation: isolate; transition: transform .6s var(--ease), background .4s, box-shadow .6s; }
.reason-card:hover { transform: translateY(-6px); background: #fff; box-shadow: var(--shadow-2); }
.rc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.rc-ico { width: 88px; height: 52px; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.rc-ico img { width: 100%; height: 100%; object-fit: cover; }
.rc-num { font-weight: 800; font-size: .8rem; letter-spacing: .16em; color: var(--muted); }
.reason-card h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 10px; }
.reason-card p { color: var(--muted); font-size: .97rem; line-height: 1.65; }
.reasons--bento .reason-card:nth-child(1) { grid-column: span 2; background: var(--ink); color: #fff; }
.reasons--bento .reason-card:nth-child(1) p { color: var(--on-dark-2); }
.reasons--bento .reason-card:nth-child(1) .rc-num { color: var(--on-dark-2); }
.reasons--bento .reason-card:nth-child(6) { grid-column: span 2; }
.reasons--bento .reason-card:nth-child(1):hover { background: var(--ink-2); }
.reasons--cards { background: var(--paper); }
.reasons--cards .reason-card { background: #fff; box-shadow: var(--shadow-1); border-top: 3px solid transparent; border-image: var(--grad) 1; border-image-slice: 1 0 0 0; }
.reason-rows { border-top: 1px solid var(--line); }
.reason-row { display: grid; grid-template-columns: 80px 1fr 1.3fr 110px; gap: clamp(16px, 3vw, 40px); align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .5s var(--ease); }
.reason-row::before { content: ''; position: absolute; inset: 0 -20px; background: var(--paper); border-radius: 20px; opacity: 0; z-index: 0; transition: opacity .4s; }
.reason-row:hover::before { opacity: 1; }
.reason-row > * { position: relative; z-index: 1; }
.rr-num { font-family: var(--serif); font-style: italic; font-size: 2.4rem; line-height: 1; color: var(--crimson); }
.rr-title { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.rr-text { color: var(--muted); font-size: .98rem; }
.rr-ico { width: 104px; height: 62px; border-radius: 14px; overflow: hidden; transform: rotate(-4deg) scale(.9); opacity: .6; transition: .5s var(--ease); }
.reason-row:hover .rr-ico { transform: none; opacity: 1; }
.rr-ico img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Choose — numbered track
   ========================================================================== */
.choose { overflow: hidden; }
.choose .container { position: relative; z-index: 2; }
.choose-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: c; }
.choose-item { position: relative; padding: 0 clamp(14px, 2.5vw, 34px) 0 0; }
.choose-num { display: block; font-size: clamp(3rem, 5.4vw, 4.8rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.choose-line { display: block; position: relative; height: 1px; margin: 24px 0 26px; background: var(--line-dark); }
.choose-line::after { content: ''; position: absolute; left: 0; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.08); }
.choose-item h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.choose-item p { font-size: .98rem; line-height: 1.65; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 30px; padding: clamp(30px, 4.5vw, 60px); border-radius: calc(var(--radius-lg) + 8px); background: var(--ink); color: #fff; }
.cta-card .aurora span { opacity: .6; }
.cta-card--center { grid-template-columns: 1fr; text-align: center; }
.cta-card--center .btn-row { justify-content: center; }
.cta-card--center p { margin-inline: auto; }
.cta-copy { position: relative; z-index: 2; }
.cta-copy p { color: var(--on-dark-2); margin-top: 20px; font-size: 1.12rem; max-width: 52ch; }
.cta-media { position: relative; z-index: 2; }
.cta-media img { width: 100%; filter: drop-shadow(0 40px 50px rgba(0,0,0,.55)); }
.float-y { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { translate: 0 -16px; } }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testi-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; max-width: none; }
.testi-head .h2 { max-width: 640px; }
.testi-controls { display: flex; align-items: center; gap: 12px; flex: none; }
.testi-count { font-weight: 700; color: var(--muted); margin-right: 10px; font-variant-numeric: tabular-nums; }
.testi-count b { color: var(--text); }
.testi-stage { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.testi-photos { position: relative; aspect-ratio: 473 / 344; }
.testi-photo { position: absolute; inset: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); opacity: 0; transform: translate(26px, 18px) rotate(3deg) scale(.94); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.testi-photo.is-active { opacity: 1; transform: none; z-index: 2; }
.testi-photo.is-prev { opacity: .35; transform: translate(-22px, -16px) rotate(-4deg) scale(.92); z-index: 1; }
.testi-photo img { width: 100%; height: 100%; object-fit: cover; }
.testi-comma { position: absolute; right: -18px; bottom: -18px; z-index: 3; width: 68px; height: 68px; border-radius: 50%; border: 5px solid var(--paper); box-sizing: content-box; box-shadow: var(--shadow-2); }
.testi-quotes { position: relative; min-height: 240px; }
.testi-quote { position: absolute; inset: 0 0 auto; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.testi-quote.is-active { position: relative; opacity: 1; visibility: visible; }
.testi-quote blockquote p { font-size: clamp(1.1rem, 1.55vw, 1.4rem); font-weight: 400; line-height: 1.65; letter-spacing: -.005em; color: #2a2c45; }
.testi-quote figcaption { margin-top: 24px; display: flex; align-items: center; gap: 14px; }
.testi-quote figcaption::before { content: ''; width: 40px; height: 2px; background: var(--grad); }
.testi-name { font-weight: 600; font-size: .98rem; letter-spacing: .01em; }
.testi-progress { margin-top: 28px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.testi-progress span { display: block; width: 0; height: 100%; background: var(--grad); }

/* ==========================================================================
   Contact section & forms
   ========================================================================== */
.contact-sec { background: var(--paper); overflow: hidden; }
.contact-sec::before { content: ''; position: absolute; width: 60vmax; height: 60vmax; right: -30vmax; top: -10vmax; border-radius: 50%; background: radial-gradient(circle, rgba(107,47,160,.12), transparent 60%); pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; position: relative; }
.contact-copy .lead { margin-top: 22px; }
.contact-cards { display: grid; gap: 12px; margin-top: 28px; }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-1); font-weight: 700; line-height: 1.4; transition: transform .5s var(--ease), box-shadow .5s; }
a.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow-2); }
.contact-card > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.contact-card small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.cc-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; flex: none; }
.form-card { padding: clamp(26px, 4vw, 48px); border-radius: calc(var(--radius-lg) + 4px); background: #fff; box-shadow: var(--shadow-2); position: relative; }
.form-card::before { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--grad); opacity: .5; filter: blur(30px); transform: translateY(20px) scale(.92); }
.lead-form { display: grid; gap: 16px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; min-height: 60px; padding: 24px 20px 8px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--paper);
  font: inherit; font-size: 1rem; color: var(--text); transition: border-color .3s, background .3s, box-shadow .3s; outline: none; resize: vertical;
}
.field textarea { min-height: 130px; padding-top: 30px; }
.field label { position: absolute; left: 21px; top: 19px; right: 20px; font-size: .98rem; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease), color .3s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field-area label { white-space: normal; line-height: 1.4; }
.field input:focus, .field textarea:focus { border-color: var(--indigo-2); background: #fff; box-shadow: 0 0 0 4px rgba(59,69,160,.12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.76); color: var(--indigo-2); white-space: nowrap; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--crimson); }
.field-phone input { padding-top: 8px; }
.field-phone input::placeholder { color: var(--muted); }
.iti { width: 100%; display: block; }
.iti__selected-flag { padding: 0 10px 0 16px; border-radius: 16px 0 0 16px; }
.iti--separate-dial-code .iti__selected-flag { background: transparent; }
.iti__country-list { border-radius: 14px; box-shadow: var(--shadow-2); border: 0; font-size: .92rem; max-width: 320px; }
.form-error { color: var(--crimson); font-weight: 600; font-size: .9rem; }
.lead-form .btn { margin-top: 6px; }
.lead-form.is-compact .field input, .lead-form.is-compact .field textarea { min-height: 54px; }
.lead-form.is-compact textarea { min-height: 96px; }

/* ==========================================================================
   Tabs showcase
   ========================================================================== */
.tabs-wrap { display: grid; grid-template-columns: .42fr 1fr; gap: clamp(26px, 4vw, 60px); align-items: start; }
.tab-list { display: grid; gap: 6px; position: sticky; top: calc(var(--header-h) + 40px); }
.tab-btn { position: relative; display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 10px; padding: 20px 22px; border-radius: 18px; text-align: left; font-weight: 700; font-size: 1.04rem; line-height: 1.3; color: var(--muted); overflow: hidden; transition: background .4s, color .4s; }
.tab-btn:hover { color: var(--text); background: rgba(255,255,255,.6); }
.tab-btn[aria-selected="true"] { background: #fff; color: var(--text); box-shadow: var(--shadow-1); }
.tab-num { font-family: var(--serif); font-style: italic; font-size: 1.5rem; font-weight: 400; color: var(--crimson); }
.tab-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--grad); }
.tab-btn[aria-selected="true"] .tab-bar { width: 100%; transition: width 7s linear; }
.tab-panels { position: relative; }
.tab-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(26px, 4vw, 54px); align-items: center; padding: clamp(26px, 4vw, 50px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-1); }
.tab-panel[hidden] { display: none; }
.tab-panel.is-entering .tp-copy > *, .tab-panel.is-entering .tp-media { animation: tabIn .8s var(--ease) both; }
.tab-panel.is-entering .tp-copy > *:nth-child(2) { animation-delay: .06s; }
.tab-panel.is-entering .tp-copy > *:nth-child(3) { animation-delay: .12s; }
.tab-panel.is-entering .tp-media { animation-name: tabImg; }
@keyframes tabIn { from { opacity: 0; transform: translateY(18px); } }
@keyframes tabImg { from { opacity: 0; transform: scale(1.06); clip-path: inset(0 0 100% 0 round 26px); } to { clip-path: inset(0 0 0 0 round 26px); } }
.tp-copy .h3 { margin-bottom: 18px; }
.tp-copy p { color: var(--muted); }
.tp-copy .btn-row { margin-top: 26px; }
.tp-media { border-radius: 26px; overflow: hidden; aspect-ratio: 1; }
.tp-media img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Page-specific blocks
   ========================================================================== */
/* FAQ */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 50px); }
.faq-aside .lead { margin-top: 20px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { border-radius: 22px; background: #fff; box-shadow: var(--shadow-1); overflow: hidden; transition: box-shadow .4s; }
.faq-item.is-open { box-shadow: var(--shadow-2); }
.faq-q { width: 100%; display: flex; align-items: center; gap: 18px; padding: 26px 28px; text-align: left; font-weight: 800; font-size: clamp(1.05rem, 1.6vw, 1.25rem); letter-spacing: -.015em; line-height: 1.35; }
.faq-q .q-num { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.6rem; color: var(--crimson); flex: none; }
.faq-q .q-ico { margin-left: auto; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--paper); transition: transform .5s var(--ease), background .3s, color .3s; }
.faq-item.is-open .q-ico { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 28px 28px 74px; color: var(--muted); }

/* Contact page */
.contact-page { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact-page .form-card .h3 { margin-bottom: 10px; }
.contact-page .form-card > p { color: var(--muted); margin-bottom: 30px; }
.info-stack { display: grid; gap: 14px; }
.info-tile { position: relative; display: block; padding: 30px; border-radius: 26px; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; transition: transform .6s var(--ease); }
.info-tile:hover { transform: translateY(-5px); }
.info-tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--grad); opacity: 0; transition: opacity .5s; }
.info-tile:hover::before { opacity: 1; }
.info-tile .h-label { display: flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); }
.info-tile:hover .h-label { color: #fff; }
.info-tile .info-val { display: block; margin-top: 12px; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.3; word-break: break-word; }
.info-tile .ico.big { position: absolute; right: 24px; top: 24px; width: 26px; height: 26px; opacity: .5; }

/* Legal */
.legal-layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 50px); padding: 26px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-1); }
.legal-toc h2 { font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.legal-toc ol { display: grid; gap: 2px; counter-reset: toc; }
.legal-toc a { display: block; padding: 7px 10px; border-radius: 10px; font-size: .9rem; font-weight: 600; line-height: 1.35; color: var(--muted); transition: background .3s, color .3s; }
.legal-toc a:hover, .legal-toc a.is-active { background: var(--paper); color: var(--text); }
.legal-body { max-width: 780px; }
.legal-body section { padding-block: 30px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 40px); }
.legal-body section:first-child { padding-top: 0; }
.legal-body h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; display: flex; gap: 14px; align-items: baseline; }
.legal-body h2 span { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--crimson); font-size: 1.2em; }
.legal-body p, .legal-body li { color: var(--muted); }
.legal-body ul { display: grid; gap: 10px; margin-top: 14px; }
.legal-body li { position: relative; padding-left: 26px; }
.legal-body li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

/* Eligibility table */
.elig { background: var(--white); }
.elig-table-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); background: #fff; }
.elig-table { width: 100%; border-collapse: collapse; }
.elig-table th { background: var(--ink); color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; padding: 22px 26px; text-align: center; }
.elig-table th:first-child, .elig-table td:first-child { text-align: left; width: 50%; }
.elig-table td { padding: 20px 26px; border-top: 1px solid var(--line); font-weight: 600; text-align: center; }
.elig-table tbody tr { transition: background .3s; }
.elig-table tbody tr:hover { background: var(--paper); }
.elig-table td img { width: 28px; height: 28px; margin-inline: auto; }
.elig-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(28px, 4vw, 48px); }
.elig-card { padding: 34px; border-radius: var(--radius); background: var(--paper); }
.elig-card h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.elig-card p { color: var(--muted); font-size: .98rem; }
.elig-card--feature { background: var(--ink); color: #fff; display: flex; flex-direction: column; }
.elig-card--feature p { color: var(--on-dark-2); }
.elig-card--feature img { margin-top: auto; padding-top: 20px; width: 70%; align-self: flex-end; }

/* Services overview cards */
a.reason-card { display: block; color: inherit; }
.svc-link-more { margin-top: 18px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: background .4s, color .4s, transform .5s var(--ease); }
a.reason-card:hover .svc-link-more { background: var(--ink); color: #fff; transform: rotate(-45deg); }

/* Wiki Profiles — profile tiles */
.profile-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.profile-tile { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; isolation: isolate; color: #fff; box-shadow: var(--shadow-1); }
.profile-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.profile-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,12,33,0) 35%, rgba(10,12,33,.9)); transition: background .5s; }
.profile-tile:hover img { transform: scale(1.08); }
.profile-tile:hover::after { background: linear-gradient(180deg, rgba(35,80,230,.15) 0%, rgba(10,12,33,.92)); }
.profile-tile-label { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; flex-direction: column; font-weight: 800; font-size: 1.1rem; line-height: 1.25; letter-spacing: -.01em; }
.profile-tile-label small { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.3rem; opacity: .8; }
.profile-tile-label .ico { margin-top: 10px; width: 22px; height: 22px; transition: transform .5s var(--ease); }
.profile-tile:hover .profile-tile-label .ico { transform: translate(4px, -4px); }

/* About — story chapters */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.about-head { position: sticky; top: calc(var(--header-h) + 50px); }
.about-head .lead { margin-top: 20px; }
.about-collage { position: relative; margin-top: 44px; padding: 0 18% 16% 0; }
.ac-a { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.ac-a img { width: 100%; }
.ac-b { position: absolute; right: 0; bottom: 0; width: 44%; border-radius: 26px; overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow-2); }
.ac-b img { width: 100%; }
.about-chapters { display: grid; gap: 22px; }
.chapter { padding: clamp(28px, 4vw, 50px); border-radius: var(--radius-lg); background: var(--paper); }
.chapter:nth-child(2) { background: var(--ink); color: #fff; }
.chapter:nth-child(2) p { color: var(--on-dark-2); }
.chapter:nth-child(2) .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.chapter-tag { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--crimson); margin-bottom: 18px; }
.chapter:nth-child(2) .chapter-tag { color: #ff7590; }
.chapter .h3 { margin-bottom: 18px; }
.chapter p { color: var(--muted); }

/* Contact — chat tile, legal intro, type hero */
.info-tile--chat { width: 100%; text-align: left; }
.info-tile--chat .h-label .live-dot { margin-right: 2px; }
.legal-intro { padding: 30px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-1); margin-bottom: 20px; }
.legal-intro p { color: var(--text); font-weight: 500; }
.page-hero--type { min-height: clamp(360px, 46vh, 460px); }
.page-hero--type .page-hero-copy { text-align: left; }

/* Research — triple feature list */
.split-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 26px; }

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--ink); color: #fff; position: relative; overflow: hidden; padding: 140px var(--gutter) 80px; }
.nf .container { position: relative; z-index: 2; }
.nf-code { font-size: clamp(7rem, 22vw, 16rem); font-weight: 800; letter-spacing: -.07em; line-height: 1; background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf p { color: var(--on-dark-2); margin-top: 16px; }
.nf .btn-row { justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; background: var(--ink); color: var(--on-dark); padding-top: clamp(52px, 6vw, 84px); overflow: hidden; isolation: isolate; }
.footer-glow { position: absolute; z-index: -1; width: 80vmax; height: 40vmax; left: 50%; top: -20vmax; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(107,47,160,.35), transparent); filter: blur(20px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(30px, 5vw, 70px); }
.footer-logo { display: inline-block; padding: 14px 20px; border-radius: 20px; background: #fff; margin-bottom: 26px; transition: transform .5s var(--ease); }
.footer-logo:hover { transform: rotate(-2deg) scale(1.03); }
.footer-logo img { height: 52px; width: auto; }
.footer-about p { color: var(--on-dark-2); max-width: 44ch; }
.footer-about p b { color: #fff; }
.footer-contact { display: grid; gap: 12px; margin-top: 26px; }
.footer-contact a, .footer-contact span { display: flex; gap: 12px; align-items: flex-start; color: var(--on-dark-2); font-weight: 600; font-size: .95rem; line-height: 1.5; transition: color .3s; }
.footer-contact a:hover { color: #fff; }
.footer-contact a, .footer-contact span { min-width: 0; overflow-wrap: anywhere; }
.footer-contact .ico { margin-top: 3px; color: #ff7590; }
.footer-col h4 { font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 22px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { position: relative; color: var(--on-dark-2); font-weight: 500; transition: color .3s, padding .4s var(--ease); }
.footer-col a::before { content: ''; position: absolute; left: 0; top: 50%; width: 0; height: 1.5px; background: var(--grad-soft); transition: width .4s var(--ease); }
.footer-col a:hover { color: #fff; padding-left: 18px; }
.footer-col a:hover::before { width: 12px; }
.footer-wordmark { margin-top: clamp(28px, 4vw, 52px); font-size: min(7.4vw, 7rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; white-space: nowrap; text-align: center; user-select: none; overflow: hidden; }
.footer-wordmark span { display: inline-block; color: transparent; background: linear-gradient(180deg, rgba(255,255,255,.13) 0%, rgba(255,255,255,.02) 100%); -webkit-background-clip: text; background-clip: text; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 24px 0 28px; margin-top: 16px; border-top: 1px solid var(--line-dark); }
.footer-legal p { color: var(--on-dark-2); font-size: .88rem; margin: 0; }
.footer-legal p + p { margin-top: 2px; }
.footer-badges { display: flex; align-items: center; gap: 22px; }
.footer-badges .dmca img { height: 30px; width: auto; }
.footer-badges .pay { height: 34px; width: auto; padding: 6px 10px; border-radius: 10px; background: #fff; }

/* ==========================================================================
   Offer sticker + modal
   ========================================================================== */
.offer-sticker { position: fixed; left: 14px; bottom: 14px; z-index: 80; width: 104px; filter: drop-shadow(0 14px 24px rgba(0,0,0,.35)); animation: bob 5s ease-in-out infinite; transition: transform .4s var(--ease); }
.offer-sticker:hover { transform: scale(1.06) rotate(-3deg); }
@keyframes bob { 50% { translate: 0 -10px; } }
.modal { padding: 0; border: 0; background: transparent; max-width: min(940px, calc(100vw - 24px)); width: 100%; max-height: calc(100dvh - 24px); overflow: visible; color: var(--text); }
.modal::backdrop { background: rgba(10,12,33,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] .modal-card { animation: modalIn .7s var(--ease) both; }
.modal[open]::backdrop { animation: fadeIn .4s ease both; }
.modal.is-closing .modal-card { animation: modalOut .35s ease both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.96); } }
@keyframes modalOut { to { opacity: 0; transform: translateY(20px) scale(.97); } }
@keyframes fadeIn { from { opacity: 0; } }
.modal-card { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 32px; overflow: hidden; background: #fff; box-shadow: 0 50px 120px -30px rgba(0,0,0,.6); max-height: calc(100dvh - 24px); overflow-y: auto; }
.modal-close { position: absolute; right: 16px; top: 16px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); transition: transform .4s var(--ease), background .3s; }
.modal-close:hover { transform: rotate(90deg); background: var(--paper-2); }
.modal-visual { position: relative; padding: 44px 36px; background: var(--grad); color: #fff; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; isolation: isolate; }
.modal-visual::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 20% 10%, rgba(255,255,255,.25), transparent); }
.modal-cite { font-family: var(--serif); font-style: italic; font-size: 1.3rem; opacity: .8; }
.modal-visual h3 { font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-top: 18px; }
.modal-visual p { margin-top: 14px; font-size: 1.15rem; font-weight: 600; opacity: .95; }
.modal-visual p span { font-family: var(--serif); font-style: italic; font-size: 2.2em; font-weight: 400; line-height: 1; vertical-align: -.12em; }
.modal-img { width: 115%; max-width: none; margin: 30px -20% -60px auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.4)); }
.modal-form { padding: 56px 40px 40px; }

/* ==========================================================================
   Motion — initial states (only when motion is allowed and JS is running)
   ========================================================================== */
.anim [data-reveal]:not([data-reveal="clip"]), .anim [data-stagger] > *, .anim [data-hero-in] { opacity: 0; transform: translateY(34px); }
.anim [data-reveal="clip"] { clip-path: inset(35% 0 0 0 round var(--radius-lg)); }
.anim [data-split], .anim [data-hero-split] { opacity: 0; }
.anim .is-split { opacity: 1; }
/* Hero entrances run in pure CSS so they start on first paint (no wait for CDN scripts) */
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes frameIn { from { clip-path: inset(30% 0 0 0 round 240px 240px 36px 36px); } to { clip-path: inset(0 0 0 0 round 240px 240px 36px 36px); } }
@keyframes imgSettle { from { transform: scale(1.35); } to { transform: scale(1.12); } }
@keyframes mediaIn { from { opacity: .35; transform: scale(1.14); } to { opacity: 1; transform: scale(1.08); } }
.anim [data-hero-in], .anim [data-hero-split] { opacity: 0; transform: translateY(28px); animation: heroIn .85s var(--ease) var(--d, .1s) forwards; }
.hero-kicker, .page-hero .crumbs { --d: .04s; }
.hero-title, .page-hero .h1 { --d: .1s; }
.hero-home .lead, .page-hero .lead { --d: .18s; }
.page-hero .hero-chips { --d: .25s; }
.hero-home .btn-row, .page-hero-copy > div[data-hero-in] { --d: .3s; }
.page-hero-side { --d: .2s; }
.anim .hero-frame { animation: frameIn .8s cubic-bezier(.3, .7, .2, 1) both; }
.anim .hero-frame img { animation: imgSettle 1.1s var(--ease) backwards; }
.anim .glass-chip, .anim .hero-ring, .anim .cite-float { animation: heroIn .9s var(--ease) .55s backwards; }
.anim .glass-chip--b, .anim .cite-float--2 { animation-delay: .68s; }
.anim .page-hero-media img { animation: mediaIn .7s var(--ease) backwards; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; }
.accent .w { display: inline-block; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .nav-phone-text { display: none; }
  .nav-link { padding: 10px 11px; font-size: .86rem; }
}
@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .main-nav, .nav-phone { display: none; }
  .burger { display: block; }
  .nav-cta { margin-left: auto; }
  .nav-shell { height: 64px; padding-left: 18px; }
  .brand img { height: 40px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual { height: 520px; max-width: 560px; width: 100%; margin-inline: auto; }
  .page-hero--split .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-side { max-width: 520px; }
  .stats-inner { grid-template-columns: 1fr; }
  .reasons-head { grid-template-columns: 1fr; }
  .reason-grid { grid-template-columns: repeat(2, 1fr); }
  .reasons--bento .reason-card:nth-child(1), .reasons--bento .reason-card:nth-child(6) { grid-column: span 2; }
  .choose-track { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .tabs-wrap { grid-template-columns: 1fr; }
  .tab-list { position: relative; top: 0; display: flex; overflow-x: auto; scrollbar-width: none; gap: 8px; padding-bottom: 4px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-snap-type: x mandatory; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab-btn { flex: none; scroll-snap-align: start; padding: 14px 18px; grid-template-columns: auto auto; }
  .faq-layout, .legal-layout, .about-grid { grid-template-columns: 1fr; }
  .about-head { position: relative; top: 0; }
  .profile-strip { grid-template-columns: repeat(2, 1fr); }
  .faq-aside, .legal-toc { position: relative; top: 0; }
  .legal-toc { display: none; }
}
@media (max-width: 900px) {
  .fe-row, .fc-row, .intro-card, .contact-grid, .contact-page, .testi-stage, .cta-card, .tab-panel, .fs-grid { grid-template-columns: minmax(0, 1fr); }
  .fe-row.is-flip .fe-media, .fc-row.is-flip .fc-media { order: 0; }
  .stats-list { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fe-num { font-size: 6rem; top: -.5em; }
  .fs-media { display: none; }
  .fs-mobile-img { display: block; border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; aspect-ratio: 4 / 3; }
  .fs-mobile-img img { width: 100%; height: 100%; object-fit: cover; }
  .fs-block { min-height: 0; }
  .fs-copy { gap: 44px; padding: 0; }
  .testi-head { flex-direction: column; align-items: flex-start; }
  .testi-photos { max-width: 460px; }
  .cta-media { max-width: 420px; margin-inline: auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-intro { grid-column: 1 / -1; grid-template-columns: 1fr; gap: 16px; }
  .bento-card--wide { grid-column: auto; }
  .elig-cards { grid-template-columns: 1fr; }
  .page-hero { min-height: 0; }
  .hero-scroll { display: none; }
  .page-hero-media { position: relative; inset: auto; height: 300px; margin: 0; order: 2; }
  .page-hero--banner, .page-hero--split { flex-direction: column; align-items: stretch; padding-bottom: 0; }
  .page-hero--banner .page-hero-media { margin-top: 28px; }
  .page-hero-media::after { background: linear-gradient(180deg, var(--ink) 0%, rgba(10,12,33,.1) 40%, rgba(10,12,33,.2) 100%); }
  .page-hero-media img { transform: none; }
  .page-hero--split { padding-bottom: 48px; }
  .reason-row { grid-template-columns: 56px 1fr; }
  .rr-text { grid-column: 2; }
  .rr-ico { display: none; }
  .modal-card { grid-template-columns: 1fr; }
  .modal-visual { padding: 30px 26px 26px; }
  .modal-visual h3 { margin-top: 8px; }
  .modal-img { display: none; }
  .modal-form { padding: 28px 22px 26px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header { inset: 10px 0 auto; }
  .nav-cta .btn-sm { padding: 0 16px; min-height: 44px; font-size: .72rem; letter-spacing: .08em; }
  .cite-chip--b { left: 10px; }
  .stat-label { font-size: .68rem; letter-spacing: .08em; }
  .brand img { height: 34px; }
  .hero-home { padding-top: calc(var(--header-h) + 50px); }
  .hero-visual { height: 420px; min-height: 0; }
  .hero-frame { inset: 0 0 0 4%; border-radius: 180px 180px 28px 28px; }
  .hero-ring { width: 112px; height: 112px; left: -2%; top: 2%; }
  .hero-ring-core { inset: 28px; }
  .hero-ring text { font-size: 10.4px; }
  .glass-chip { padding: 10px 14px 10px 10px; gap: 10px; }
  .glass-chip b { font-size: 1.3rem; }
  .glass-chip .gc-ico { width: 36px; height: 36px; }
  .glass-chip--a { left: 0; bottom: 10%; }
  .glass-chip--b { right: 0; top: 30%; }
  .brands-inner { grid-template-columns: 1fr; gap: 12px; padding-block: 22px; }
  .brands-title { border: 0; padding: 0; text-align: center; }
  .brands-title br { display: none; }
  .marquee-track img { height: 42px; }
  .btn-row { gap: 10px; }
  .btn-row .btn { flex: 1 1 100%; white-space: normal; text-align: center; line-height: 1.3; padding-block: 12px; }
  .reason-grid, .bento { grid-template-columns: 1fr; }
  .reasons--bento .reason-card:nth-child(1), .reasons--bento .reason-card:nth-child(6), .bento-card--wide { grid-column: auto; }
  .choose-track { grid-template-columns: 1fr; }
  .fc-media.has-float, .fc-row.is-flip .fc-media.has-float { padding: 0 8% 12% 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .faq-a p { padding: 0 22px 24px; }
  .faq-q { padding: 22px; }
  .page-hero-media { height: 240px; }
  .elig-table th, .elig-table td { padding: 14px 12px; font-size: .86rem; }
  .elig-table th { font-size: .72rem; letter-spacing: .06em; }
  .split-list { grid-template-columns: 1fr; }
  .offer-sticker { width: 70px; left: 8px; bottom: 8px; }
  .info-tile .info-val { font-size: 1.02rem; }
  .testi-quote blockquote p { font-size: 1.05rem; }
  .svc-card { width: 82vw; min-height: 400px; }
}

/* Small phones (≤400px) */
@media (max-width: 400px) {
  .nav-cta .btn-sm { display: none; }
  .nav-shell { padding-left: 14px; gap: 12px; }
  .brand img { height: 32px; }
  .page-hero .h1 { font-size: 1.72rem; }
  .hero-title { font-size: 2.15rem; }
  .h2 { font-size: 1.7rem; }
  .hero-chips li { font-size: .82rem; }
}

/* Mobile: services rail becomes a native swipe carousel */
@media (max-width: 1023px) {
  .svc-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .svc-viewport::-webkit-scrollbar { display: none; }
  .svc-card { scroll-snap-align: center; }
  .svc-bar { display: none; }
  .svc-go { opacity: 1; transform: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track img:not(:first-child) { display: none; }
  .page-curtain { display: none; }
}
