/* ==========================================================================
   Edutech — main stylesheet
   Structure: tokens → base → layout → components → sections → pages → motion
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #111d56;
  --ink-2: #3b4371;
  --ink-3: #6a7096;
  --night: #0a1033;
  --night-2: #111a4a;
  --night-3: #1b2560;
  --paper: #f6f5f1;
  --paper-2: #eeece5;
  --white: #fff;
  --line: rgba(17, 29, 86, 0.12);
  --line-2: rgba(17, 29, 86, 0.2);
  --line-light: rgba(255, 255, 255, 0.14);

  --blue: #0874f7;
  --purple: #ad5fff;
  --pink: #ed1e79;
  --blue-soft: #e6f0fe;
  --purple-soft: #f3eaff;
  --pink-soft: #fde8f1;

  --tone: var(--blue);
  --tone-soft: var(--blue-soft);

  --f-display: 'Geologica', 'Onest', system-ui, sans-serif;
  --f-text: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 4vw, 48px);
  --maxw: 1360px;
  --hdr-h: 76px;

  --r: 22px;
  --r-sm: 12px;
  --leaf-r: var(--r) 0 var(--r) 0;
  --leaf-r-sm: var(--r-sm) 0 var(--r-sm) 0;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --sp-section: clamp(80px, 9vw, 144px);
}

[data-tone='blue'] { --tone: var(--blue); --tone-soft: var(--blue-soft); }
[data-tone='purple'] { --tone: var(--purple); --tone-soft: var(--purple-soft); }
[data-tone='pink'] { --tone: var(--pink); --tone-soft: var(--pink-soft); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01' on;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; padding: 0; }
address { font-style: normal; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--leaf-r-sm);
  transform: translateY(-160%); transition: transform 0.2s;
}
.skip:focus { transform: none; }

/* ---------- Typography ---------- */
.h2, .phero__title, .hero__title, .cta-band__title, .h3 {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}
.h2 { font-size: clamp(2rem, 1.25rem + 2.6vw, 3.5rem); max-width: 22ch; }
.h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.025em; line-height: 1.15; }
.lead-sm { font-size: 1.125rem; color: var(--ink-2); max-width: 46ch; margin-top: 16px; }
p { text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink-2); margin-bottom: 22px;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.72); }
.tri { display: inline-grid; gap: 2.5px; width: 18px; }
.tri i { display: block; height: 3px; border-radius: 3px 0 3px 0; }
.tri i:nth-child(1) { background: var(--pink); width: 100%; }
.tri i:nth-child(2) { background: var(--purple); width: 100%; }
.tri i:nth-child(3) { background: var(--blue); width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.975rem; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size 0.45s var(--ease), color 0.2s;
  padding-bottom: 2px;
}
.link-arrow .ic { transition: transform 0.35s var(--ease); }
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- Layout ---------- */
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--sp-section); position: relative; }
.section--tint { background: var(--paper-2); }
.section--flush { padding-block: 0; }
.spacer { height: var(--sp-section); }
.sec-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 64px;
  margin-bottom: clamp(40px, 5vw, 72px); flex-wrap: wrap;
}
.sec-head__text { max-width: 44ch; color: var(--ink-2); }
.sec-head__side { display: grid; gap: 28px; justify-items: start; }
.twocol { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--bh); padding: 0 26px;
  border-radius: calc(var(--bh) / 2) 0 calc(var(--bh) / 2) 0;
  font-weight: 600; font-size: 0.975rem; letter-spacing: -0.005em; line-height: 1.1;
  white-space: nowrap; isolation: isolate; overflow: hidden;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s, transform 0.3s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-fill, var(--blue));
  transform: translateY(101%); transition: transform 0.45s var(--ease);
  border-radius: inherit;
}
.btn:hover::before { transform: none; }
.btn .ic { transition: transform 0.35s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn--sm { --bh: 44px; padding: 0 20px; font-size: 0.9rem; }
.btn--solid { background: var(--ink); color: #fff; --btn-fill: var(--blue); }
.btn--light { background: #fff; color: var(--ink); --btn-fill: var(--paper-2); }
.btn--pink { background: var(--pink); color: #fff; --btn-fill: #c8105f; }
.btn--outline { border: 1.5px solid var(--line-2); color: var(--ink); --btn-fill: var(--ink); }
.btn--outline:hover { color: #fff; border-color: var(--ink); }
.btn--ghost-light { border: 1.5px solid rgba(255, 255, 255, 0.32); color: #fff; --btn-fill: #fff; }
.btn--ghost-light:hover { color: var(--ink); border-color: #fff; }
.btn--wa { background: #e9f8ef; color: #136c3a; --btn-fill: #d5f2e0; width: 100%; justify-content: flex-start; }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 100;
  height: var(--hdr-h);
  color: var(--ink);
  transition: transform 0.45s var(--ease), background-color 0.35s, color 0.35s, box-shadow 0.35s;
}
.hdr::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(246, 245, 241, 0.86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: opacity 0.35s;
}
.hdr[data-over-dark] { position: fixed; left: 0; right: 0; color: #fff; }
.hdr[data-over-dark]::before { opacity: 0; }
.hdr[data-over-dark].is-scrolled, .hdr.is-open { color: var(--ink); }
.hdr[data-over-dark].is-scrolled::before, .hdr.is-open::before { opacity: 1; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__bar { position: relative; height: 100%; display: flex; align-items: center; gap: 32px; }
.hdr__logo { position: relative; display: block; width: 148px; flex: none; }
.hdr__logo img { width: 148px; height: auto; transition: opacity 0.3s; }
.hdr__logo .logo-light { position: absolute; inset: 0; opacity: 0; }
.hdr[data-over-dark]:not(.is-scrolled):not(.is-open) .logo-dark { opacity: 0; }
.hdr[data-over-dark]:not(.is-scrolled):not(.is-open) .logo-light { opacity: 1; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 14px; font-size: 0.95rem; font-weight: 500;
  border-radius: 999px; white-space: nowrap;
  transition: background-color 0.25s;
}
.nav__link .ic { width: 15px; height: 15px; opacity: 0.6; transition: transform 0.3s var(--ease); }
.nav__link[aria-expanded='true'] .ic { transform: rotate(180deg); }
.nav__link:hover, .nav__link[aria-expanded='true'] { background: rgba(17, 29, 86, 0.06); }
.hdr[data-over-dark]:not(.is-scrolled):not(.is-open) .nav__link:hover { background: rgba(255, 255, 255, 0.1); }
.nav__item.is-active > .nav__link::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
  border-radius: 2px 0 2px 0;
}
.hdr__end { display: flex; align-items: center; gap: 12px; }
.hdr[data-over-dark]:not(.is-scrolled):not(.is-open) .hdr__cta { background: #fff; color: var(--ink); --btn-fill: var(--paper-2); }

/* Language switch */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px;
  font-size: 0.875rem; font-weight: 600; border-radius: 999px;
}
.lang__btn:hover { background: rgba(17, 29, 86, 0.06); }
.hdr[data-over-dark]:not(.is-scrolled):not(.is-open) .lang__btn:hover { background: rgba(255, 255, 255, 0.1); }
.lang__btn .ic:first-child { width: 17px; height: 17px; opacity: 0.7; }
.lang__btn .ic:last-child { width: 14px; height: 14px; opacity: 0.5; }
.lang__list {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px;
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  border-radius: var(--leaf-r-sm); padding: 6px;
  box-shadow: 0 20px 40px -18px rgba(10, 16, 51, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
}
.lang.is-open .lang__list { opacity: 1; visibility: visible; transform: none; }
.lang__list a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 8px; font-size: 0.925rem; }
.lang__list a:hover { background: var(--paper); }
.lang__list a b { width: 24px; font-weight: 600; color: var(--ink-3); }
.lang__list a[aria-current] { background: var(--paper-2); }
.lang__list a[aria-current] b { color: var(--blue); }
.lang--up .lang__list { top: auto; bottom: calc(100% + 8px); }
.lang--light .lang__btn { color: rgba(255, 255, 255, 0.8); }
.lang--light .lang__btn:hover { background: rgba(255, 255, 255, 0.08); }

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; color: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 40px 60px -40px rgba(10, 16, 51, 0.35);
  opacity: 0; transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.35s var(--ease);
}
.mega.is-open { opacity: 1; transform: none; }
.mega__inner { display: grid; grid-template-columns: 1fr 2.4fr 1fr; gap: 48px; padding-block: 40px 48px; }
.mega__title { font-family: var(--f-display); font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 12px; }
.mega__text { color: var(--ink-2); font-size: 0.95rem; margin-bottom: 24px; }
.mega__groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mega__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; color: var(--ink-3); text-transform: uppercase; margin: 6px 0 12px; }
.mega__item { display: grid; gap: 4px; padding: 12px 14px; margin-inline: -14px; border-radius: var(--leaf-r-sm); transition: background-color 0.2s; }
.mega__item:hover { background: var(--paper); }
.mega__name { font-weight: 600; font-size: 1rem; }
.mega__desc { font-size: 0.85rem; color: var(--ink-3); line-height: 1.45; }
.mega__aside { background: var(--night); color: #fff; padding: 24px; border-radius: var(--leaf-r); align-self: start; }
.mega__aside .ic { width: 26px; height: 26px; color: var(--pink); margin-bottom: 16px; }
.mega__aside-title { font-weight: 600; margin-bottom: 8px; }
.mega__aside-text { font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 16px; }
.mega__phone { font-family: var(--f-display); font-size: 1.35rem; letter-spacing: -0.01em; }
.mega__phone:hover { color: var(--pink); }
.mega--simple .mega__inner { grid-template-columns: 1fr 3fr; }
.mega__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.mega__card {
  position: relative; display: grid; gap: 6px; align-content: start; height: 100%;
  padding: 22px 22px 26px; border: 1px solid var(--line); border-radius: var(--leaf-r);
  transition: border-color 0.25s, background-color 0.25s, transform 0.35s var(--ease);
}
.mega__card:hover { border-color: var(--tone); background: var(--tone-soft); }
.mega__card .ic { position: absolute; top: 20px; right: 20px; width: 18px; height: 18px; color: var(--tone); transition: transform 0.35s var(--ease); }
.mega__card:hover .ic { transform: translate(3px, -3px); }
.mega__num { font-size: 0.75rem; color: var(--tone); font-weight: 600; margin-bottom: 18px; }

/* Burger + drawer */
.burger { display: none; width: 44px; height: 44px; position: relative; border-radius: 50%; }
.burger i { position: absolute; left: 11px; height: 2px; background: currentColor; border-radius: 2px 0 2px 0; transition: transform 0.35s var(--ease), width 0.35s var(--ease), top 0.35s var(--ease); }
.burger i:nth-of-type(1) { top: 17px; width: 22px; }
.burger i:nth-of-type(2) { top: 25px; width: 14px; }
.burger[aria-expanded='true'] i:nth-of-type(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded='true'] i:nth-of-type(2) { top: 21px; width: 22px; transform: rotate(-45deg); }

.drw {
  position: fixed; inset: var(--hdr-h) 0 0; z-index: 99;
  background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transition: opacity 0.3s;
}
.drw.is-open { opacity: 1; }
.drw__body { padding: 16px var(--gutter) 40px; min-height: 100%; display: flex; flex-direction: column; }
.drw__group { border-bottom: 1px solid var(--line); }
.drw__group summary, .drw__link {
  display: flex; justify-content: space-between; align-items: center; list-style: none;
  padding: 20px 0; font-family: var(--f-display); font-size: 1.6rem; letter-spacing: -0.02em; cursor: pointer;
}
.drw__link { border-bottom: 1px solid var(--line); }
.drw__group summary::-webkit-details-marker { display: none; }
.drw__plus .ic { width: 22px; height: 22px; transition: transform 0.3s var(--ease); }
.drw__group[open] .drw__plus .ic { transform: rotate(45deg); }
.drw__group ul { padding-bottom: 16px; }
.drw__group li a { display: block; padding: 9px 0; color: var(--ink-2); font-size: 1.05rem; }
.drw__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 8px; color: var(--ink-2); }
.drw__langs { display: flex; gap: 8px; margin-bottom: 16px; }
.drw__langs a { padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 600; font-size: 0.875rem; }
.drw__langs a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.drw__phone { font-family: var(--f-display); font-size: 1.5rem; color: var(--ink); }

/* ---------- Breadcrumbs ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: var(--ink-3); margin-bottom: clamp(32px, 5vw, 56px); }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: 0.5; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink-2); }

/* ---------- Home hero ---------- */
.hero {
  position: relative; min-height: max(760px, 100svh);
  background: var(--night); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; isolation: isolate;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 0% 100%, rgba(10, 16, 51, 0.96) 25%, rgba(10, 16, 51, 0.55) 60%, rgba(10, 16, 51, 0) 85%),
    linear-gradient(180deg, rgba(10, 16, 51, 0.65) 0%, rgba(10, 16, 51, 0) 22%);
}
.hero__inner { padding-top: calc(var(--hdr-h) + 64px); padding-bottom: 56px; }
.hero__eyebrow { font-size: 0.85rem; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.6); margin-bottom: 28px; }
.hero__title { font-size: clamp(2.9rem, 1.1rem + 6.4vw, 7.2rem); font-weight: 400; letter-spacing: -0.045em; line-height: 0.98; max-width: 14ch; }
.hero__line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__line > span { display: inline-block; }
.hero__line:last-child > span {
  background: linear-gradient(92deg, #fff 0%, #fff 30%, #c9a6ff 62%, #ff6aa8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 64px; margin-top: 44px; flex-wrap: wrap; }
.hero__lead { max-width: 46ch; font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem); color: rgba(255, 255, 255, 0.78); }

.doors { border-top: 1px solid var(--line-light); background: rgba(10, 16, 51, 0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.doors__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.door {
  position: relative; display: grid; gap: 6px; padding: 28px 64px 32px 28px;
  border-left: 1px solid var(--line-light);
  transition: background-color 0.35s;
}
.door:last-child { border-right: 1px solid var(--line-light); }
.door__bar { position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--tone); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.door:hover .door__bar, .door:focus-visible .door__bar { transform: none; }
.door:hover { background: rgba(255, 255, 255, 0.04); }
.door__kicker { font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.03em; }
.door__kicker::first-letter { color: var(--tone); }
.door__title { font-family: var(--f-display); font-size: 1.45rem; letter-spacing: -0.02em; }
.door__text { font-size: 0.9rem; color: rgba(255, 255, 255, 0.62); }
.door__arrow { position: absolute; right: 26px; top: 28px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-light); transition: background-color 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.door__arrow .ic { width: 16px; height: 16px; }
.door:hover .door__arrow { background: var(--tone); border-color: var(--tone); transform: rotate(45deg); }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: 3fr 9fr; gap: 24px 48px; }
.intro__grid .eyebrow { grid-row: span 2; align-self: start; margin-top: 14px; }
.intro__statement { font-family: var(--f-display); font-size: clamp(1.75rem, 1.1rem + 2.1vw, 3.1rem); line-height: 1.16; letter-spacing: -0.03em; font-weight: 400; }
.intro__statement .w { transition: color 0.4s; color: rgba(17, 29, 86, 0.18); }
.intro__statement .w.on { color: var(--ink); }
.no-js .intro__statement .w, .reduce .intro__statement .w { color: var(--ink); }
.intro__text { color: var(--ink-2); max-width: 58ch; margin-top: 24px; font-size: 1.1rem; }

.stats { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); margin-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); }
.stats__item { padding: 28px 28px 0 0; border-right: 1px solid var(--line); margin-right: 28px; }
.stats__item:last-child { border-right: 0; margin-right: 0; }
.stats__val { font-family: var(--f-display); font-size: clamp(2.5rem, 1.6rem + 2.6vw, 4.25rem); letter-spacing: -0.045em; line-height: 1; font-weight: 400; font-variant-numeric: tabular-nums; }
.stats__label { margin-top: 12px; color: var(--ink-2); font-size: 0.95rem; max-width: 26ch; }
.stats--light { border-color: var(--line-light); margin-top: 0; }
.stats--light .stats__item { border-color: var(--line-light); }
.stats--light .stats__label { color: rgba(255, 255, 255, 0.65); }
.stats--stack { grid-template-columns: 1fr; margin-top: 0; }
.stats--stack .stats__item { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 0; margin: 0; }

/* ---------- Service list (home) ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  position: relative; display: grid; align-items: center;
  grid-template-columns: 64px minmax(0, 1.25fr) minmax(0, 1.4fr) 180px 56px; gap: 24px;
  padding: 30px 0; border-bottom: 1px solid var(--line);
  transition: padding 0.45s var(--ease);
}
.svc-row::before {
  content: ''; position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: -1;
  background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform 0.45s var(--ease);
}
.svc-row__num { font-size: 0.85rem; color: var(--ink-3); font-weight: 500; font-variant-numeric: tabular-nums; }
.svc-row__name { font-family: var(--f-display); font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.4rem); letter-spacing: -0.03em; line-height: 1.1; }
.svc-row__desc { color: var(--ink-2); font-size: 0.975rem; }
.svc-row__tag { font-size: 0.8rem; color: var(--ink-3); justify-self: start; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; }
.svc-row__go { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); justify-self: end; transition: transform 0.45s var(--ease), background-color 0.3s; }
.svc-list li { position: relative; isolation: isolate; }
@media (hover: hover) {
  .svc-row:hover { color: #fff; padding-inline: 20px; }
  .svc-row:hover::before { transform: none; }
  .svc-row:hover .svc-row__desc, .svc-row:hover .svc-row__num { color: rgba(255, 255, 255, 0.7); }
  .svc-row:hover .svc-row__tag { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
  .svc-row:hover .svc-row__go { background: var(--blue); border-color: var(--blue); transform: rotate(-45deg); }
}

/* ---------- Pillars ---------- */
.pillars__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px clamp(48px, 8vw, 140px); }
.pillars__head { position: sticky; top: calc(var(--hdr-h) + 48px); align-self: start; }
.pillar { padding: 40px 0 44px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 80px 1fr; gap: 6px 24px; }
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar__num { grid-row: span 2; font-family: var(--f-display); font-size: 1rem; color: var(--tone); font-weight: 500; padding-top: 10px; }
.pillar__title { font-family: var(--f-display); font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.75rem); font-weight: 400; letter-spacing: -0.035em; margin-bottom: 10px; }
.pillar p { color: var(--ink-2); max-width: 54ch; }

/* ---------- Exam feature (dark) ---------- */
.exam-feature { background: var(--night); color: #fff; overflow: hidden; }
.exam-feature::after {
  content: ''; position: absolute; right: -10%; top: -20%; width: 70%; height: 140%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(237, 30, 121, 0.22), transparent 70%);
}
.exam-feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: center; position: relative; z-index: 1; }
.exam-feature__text { color: rgba(255, 255, 255, 0.72); margin: 24px 0 36px; max-width: 52ch; }
.exam-feature--stats { padding-block: clamp(56px, 7vw, 96px); }
.mini-facts { display: flex; gap: 40px; margin-bottom: 40px; flex-wrap: wrap; }
.mini-facts dt { font-family: var(--f-display); font-size: 2rem; letter-spacing: -0.03em; }
.mini-facts dd { font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }

.seatmap {
  background: var(--night-2); border: 1px solid var(--line-light); border-radius: var(--leaf-r);
  padding: 24px; box-shadow: 0 50px 80px -40px rgba(0, 0, 0, 0.6);
}
.seatmap__head, .seatmap__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); flex-wrap: wrap; }
.seatmap__live { display: inline-flex; align-items: center; gap: 8px; }
.seatmap__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(237, 30, 121, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(237, 30, 121, 0); } 100% { box-shadow: 0 0 0 0 rgba(237, 30, 121, 0); } }
.seatmap__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 24px 0; }
.seat {
  aspect-ratio: 1.35; border: 1px solid var(--line-light); border-radius: 14px 0 14px 0;
  display: grid; place-items: end start; padding: 10px; font-size: 0.75rem; color: rgba(255, 255, 255, 0.45);
  position: relative; overflow: hidden;
}
.seat::before { content: ''; position: absolute; left: 50%; top: 22%; width: 42%; height: 26%; border: 1.5px solid currentColor; border-radius: 4px; transform: translateX(-50%); opacity: 0.7; }
.seat.is-busy { background: linear-gradient(160deg, rgba(237, 30, 121, 0.26), rgba(173, 95, 255, 0.12)); border-color: rgba(237, 30, 121, 0.5); color: #fff; }
.seat.is-busy::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--pink); transform-origin: left; animation: seatProgress 9s linear infinite; animation-delay: calc(var(--d) * -1.3s); }
@keyframes seatProgress { from { transform: scaleX(0.05); } to { transform: scaleX(1); } }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 2px 0 2px 0; border: 1px solid rgba(255, 255, 255, 0.5); margin-right: 8px; }
.dot--busy { background: var(--pink); border-color: var(--pink); }
.seatmap__foot span { display: inline-flex; align-items: center; }
.seatmap__vendors { margin-left: auto; color: rgba(255, 255, 255, 0.45); }

/* ---------- Course cards & rail ---------- */
.rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; scroll-padding-inline: var(--gutter); }
.rail::-webkit-scrollbar { display: none; }
.rail__track { display: flex; gap: 20px; padding-inline: max(var(--gutter), (100% - var(--maxw)) / 2); width: max-content; }
.rail .ccard { width: clamp(280px, 26vw, 340px); scroll-snap-align: start; }
.rail-ctrl { display: flex; gap: 8px; }
.rail-btn { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-2); transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.rail-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.rail-btn:disabled { opacity: 0.35; pointer-events: none; }

.ccard {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--leaf-r);
  padding: 26px 26px 22px; min-height: 370px;
  transition: border-color 0.3s, transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.ccard:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(17, 29, 86, 0.45); }
.ccard__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 36px; }
.ccard__code { font-family: var(--f-display); font-weight: 500; font-size: 0.95rem; padding: 6px 12px; background: var(--tone-soft); color: var(--ink); border-radius: 10px 0 10px 0; }
.ccard__vendor { max-height: 22px; max-width: 96px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter 0.3s, opacity 0.3s; }
.ccard:hover .ccard__vendor { filter: none; opacity: 1; }
.logo-text { font-weight: 700; font-size: 0.9rem; color: var(--ink-2); letter-spacing: 0.01em; }
.ccard__title { font-family: var(--f-display); font-weight: 500; font-size: 1.35rem; line-height: 1.18; letter-spacing: -0.02em; }
.ccard__track { font-size: 0.85rem; color: var(--ink-3); margin-top: 8px; }
.ccard__facts { margin-top: auto; padding-top: 24px; display: grid; gap: 8px; font-size: 0.875rem; }
.ccard__facts div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--line); padding-top: 8px; }
.ccard__facts dt { color: var(--ink-3); }
.ccard__facts dd { font-weight: 500; text-align: right; }
.ccard__more { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; font-weight: 600; font-size: 0.925rem; color: var(--tone); }
.ccard__more::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.ccard__more .ic { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.ccard:hover .ccard__more .ic { transform: rotate(90deg); }
.ccard--all { background: var(--ink); color: #fff; border-color: var(--ink); justify-content: space-between; font-family: var(--f-display); font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1.15; }
.ccard--all .ic { width: 44px; height: 44px; align-self: flex-end; transition: transform 0.4s var(--ease); }
.ccard--all:hover .ic { transform: rotate(45deg); }

/* Course dialog */
.cdlg { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; }
.cdlg::backdrop { background: rgba(10, 16, 51, 0.55); backdrop-filter: blur(4px); }
.cdlg__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(560px, 100%);
  background: var(--paper); overflow-y: auto; padding: 40px clamp(24px, 4vw, 48px) 48px;
  transform: translateX(100%); transition: transform 0.5s var(--ease);
}
.cdlg[open].is-in .cdlg__panel { transform: none; }
.cdlg__close { position: sticky; top: 0; float: right; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--line); z-index: 1; }
.cdlg__close:hover { background: var(--ink); color: #fff; }
.cdlg__head { display: flex; gap: 16px; align-items: center; margin-bottom: 28px; }
.cdlg__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem); letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 16px; }
.cdlg__summary { color: var(--ink-2); margin-bottom: 28px; }
.cdlg__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--leaf-r-sm); overflow: hidden; margin-bottom: 32px; }
.cdlg__facts div { background: #fff; padding: 14px 16px; }
.cdlg__facts dt { font-size: 0.78rem; color: var(--ink-3); }
.cdlg__facts dd { font-weight: 600; font-size: 0.95rem; }
.cdlg__h { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); margin: 24px 0 10px; font-weight: 600; }
.cdlg__exam { display: flex; gap: 10px; align-items: center; margin: 28px 0; padding: 14px 16px; background: var(--tone-soft); border-radius: var(--leaf-r-sm); font-size: 0.9rem; }

.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ic { color: var(--tone); margin-top: 3px; }
.ticks--lg li { font-size: 1.2rem; padding: 18px 0; border-bottom: 1px solid var(--line); gap: 16px; }
.ticks--lg li:first-child { border-top: 1px solid var(--line); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: clamp(48px, 6vw, 80px); position: relative; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: 26px; height: 1px; background: var(--line-2); }
.step { position: relative; }
.step__mark { position: relative; display: inline-grid; place-items: center; width: 132px; height: 53px; margin-bottom: 28px; color: var(--tone); }
.step__leaf { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--paper); stroke: none; }
.step__leaf path { fill: currentColor; }
.section--tint .step__mark { background: transparent; }
.step__mark b { position: relative; color: var(--ink); transform: translate(4%, 4%); font-family: var(--f-display); font-weight: 500; font-size: 1rem; }
.step__title { font-family: var(--f-display); font-size: 1.4rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 0.975rem; max-width: 30ch; }

/* ---------- Partners marquee ---------- */
.marquee-label { font-size: 0.85rem; color: var(--ink-3); margin: 0 0 20px; font-weight: 500; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); margin-bottom: 56px; }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 50s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; }
.marquee__set li { width: 200px; height: 96px; display: grid; place-items: center; padding: 0 28px; border-left: 1px solid var(--line); }
.marquee__logo { max-height: 40px; max-width: 140px; width: auto; object-fit: contain; filter: grayscale(1) contrast(0.9); opacity: 0.6; transition: filter 0.3s, opacity 0.3s; }
.marquee__set li:hover .marquee__logo { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Article cards ---------- */
.acards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.acards--2 { grid-template-columns: repeat(2, 1fr); }
.acard__link { display: flex; flex-direction: column; height: 100%; }
.acard__media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--night); border-radius: var(--leaf-r); isolation: isolate;
}
.acard__leaf { position: absolute; width: 85%; left: -8%; top: 30%; fill: var(--tone); opacity: 0.9; transition: transform 0.8s var(--ease); }
.acard__leaf--b { width: 60%; left: 45%; top: -12%; opacity: 0.35; fill: #fff; }
.acard__link:hover .acard__leaf { transform: translateX(6%) rotate(-3deg); }
.acard__link:hover .acard__leaf--b { transform: translateX(-8%); }
.acard__cat { position: absolute; left: 18px; bottom: 16px; padding: 6px 12px; background: rgba(255, 255, 255, 0.95); border-radius: 10px 0 10px 0; font-size: 0.8rem; font-weight: 600; }
.acard__body { padding: 22px 4px 0; display: flex; flex-direction: column; flex: 1; }
.acard__meta { display: flex; gap: 16px; font-size: 0.85rem; color: var(--ink-3); margin-bottom: 10px; }
.acard__title { font-family: var(--f-display); font-weight: 500; font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 10px; }
.acard__excerpt { color: var(--ink-2); font-size: 0.975rem; margin-bottom: 20px; }
.acard .link-arrow { margin-top: auto; }
.acard__link:hover .link-arrow { background-size: 100% 1.5px; }
.acard[hidden] { display: none; }
.acards--feature .acard--lead { grid-column: span 2; }
.acards--feature .acard--lead .acard__media { aspect-ratio: 16 / 11; }
.acards--feature .acard--lead .acard__link { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.acards--feature .acard--lead .acard__title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--night); color: #fff; padding-block: clamp(96px, 12vw, 176px); overflow: hidden; isolation: isolate; }
.cta-band__pattern {
  position: absolute; inset: 0; z-index: -1; opacity: 0.55;
  background: url('/assets/brand/pattern.webp') center / cover;
  mask-image: linear-gradient(100deg, transparent 30%, #000 85%); -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 85%);
}
.cta-band__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px clamp(48px, 8vw, 128px); align-items: end; }
.cta-band__title { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.9rem); max-width: 18ch; font-weight: 400; }
.cta-band__side p { color: rgba(255, 255, 255, 0.72); margin-bottom: 32px; max-width: 42ch; }

/* ---------- Footer ---------- */
.ftr { background: #070b26; color: rgba(255, 255, 255, 0.72); padding-top: clamp(72px, 8vw, 112px); position: relative; overflow: hidden; }
.ftr a { transition: color 0.2s; }
.ftr a:hover { color: #fff; }
.ftr__top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid var(--line-light); }
.ftr__brand img { width: 176px; margin-bottom: 24px; }
.ftr__brand p { max-width: 34ch; font-size: 1.05rem; }
.ftr__news { justify-self: end; width: min(480px, 100%); }
.ftr__news-title { display: block; color: #fff; font-family: var(--f-display); font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.ftr__news > p { font-size: 0.925rem; margin-bottom: 18px; }
.ftr__news-row { display: flex; gap: 8px; }
.ftr__news input {
  flex: 1; min-width: 0; height: 44px; padding: 0 18px; border-radius: 22px 0 22px 0;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-light); color: #fff;
}
.ftr__news input::placeholder { color: rgba(255, 255, 255, 0.4); }
.ftr__news input:focus { outline: none; border-color: rgba(255, 255, 255, 0.5); }
.ftr__news-msg { color: #8ff0b5; font-size: 0.9rem; margin-top: 12px; }
.ftr__news-err { color: #ff8db9; font-size: 0.9rem; margin-top: 12px; }
.ftr__cols { display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; gap: 40px; padding: 56px 0 72px; }
.ftr__h { color: #fff; font-weight: 600; margin-bottom: 18px; font-size: 0.95rem; }
.ftr__cols li { margin-bottom: 10px; font-size: 0.95rem; }
.ftr__contact address { display: grid; gap: 10px; font-size: 0.95rem; margin-bottom: 24px; }
.ftr__social { display: flex; gap: 8px; }
.ftr__social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-light); border-radius: 50%; }
.ftr__social a:hover { background: #fff; color: var(--ink); }
.ftr__social .ic { width: 18px; height: 18px; }
.ftr__mark { display: flex; gap: 2vw; justify-content: center; opacity: 0.9; margin-bottom: -2vw; pointer-events: none; }
.ftr__leaf { width: 30vw; max-width: 420px; }
.ftr__leaf path { fill: none; stroke-width: 0.6; }
.ftr__leaf:nth-child(1) path { stroke: var(--pink); }
.ftr__leaf:nth-child(2) path { stroke: var(--purple); }
.ftr__leaf:nth-child(3) path { stroke: var(--blue); }
.ftr__bottom { position: relative; display: flex; align-items: center; gap: 24px; padding: 24px 0 32px; border-top: 1px solid var(--line-light); font-size: 0.875rem; background: #070b26; }
.ftr__bottom .lang { margin-left: auto; }

/* ---------- Page hero (inner) ---------- */
.phero { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 128px); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.phero__art { position: absolute; right: -6vw; top: 50%; width: min(52vw, 760px); transform: translateY(-46%); z-index: -1; display: grid; gap: 0; pointer-events: none; }
.phero__leaf { width: 100%; margin-top: -11%; }
.phero__leaf path { fill: none; stroke: var(--tone); stroke-width: 0.35; vector-effect: non-scaling-stroke; }
.phero__leaf--1 { opacity: 0.25; transform: translateX(10%); }
.phero__leaf--2 { opacity: 0.45; transform: translateX(5%); }
.phero__leaf--3 path { fill: var(--tone-soft); stroke-opacity: 0.8; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 48px 80px; align-items: end; }
.phero__title { font-size: clamp(2.6rem, 1.3rem + 4.4vw, 5.6rem); font-weight: 400; letter-spacing: -0.045em; line-height: 1; max-width: 17ch; }
.phero--wide .phero__title { max-width: 22ch; font-size: clamp(2.3rem, 1.2rem + 3.6vw, 4.6rem); }
.phero--article .phero__title { font-size: clamp(2.1rem, 1.2rem + 3vw, 4rem); max-width: 22ch; }
.phero__lead { margin-top: 28px; max-width: 54ch; font-size: clamp(1.075rem, 0.98rem + 0.4vw, 1.3rem); color: var(--ink-2); }
.phero__aside { display: grid; gap: 24px; width: 100%; padding: 28px; background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: var(--leaf-r); }
.phero__facts { display: grid; gap: 16px; }
.phero__facts div { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.phero__facts div:last-child { border: 0; padding: 0; }
.phero__facts dt { font-size: 0.8rem; color: var(--ink-3); }
.phero__facts dd { font-weight: 500; }
.phero__facts--big dt { font-family: var(--f-display); font-size: 2.2rem; letter-spacing: -0.04em; color: var(--ink); line-height: 1.1; order: 0; }
.phero__facts--big dd { font-size: 0.875rem; color: var(--ink-3); font-weight: 400; }

/* ---------- Services index ---------- */
.svc-group { display: grid; grid-template-columns: 4fr 8fr; gap: 32px 64px; padding-block: 56px; border-top: 1px solid var(--line); }
.svc-group:first-child { border-top: 0; padding-top: 0; }
.svc-group__head { position: sticky; top: calc(var(--hdr-h) + 32px); align-self: start; }
.svc-group__num { display: block; font-family: var(--f-display); color: var(--tone); margin-bottom: 12px; }
.svc-group__title { font-family: var(--f-display); font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.8rem); font-weight: 400; letter-spacing: -0.035em; margin-bottom: 12px; }
.svc-group__head p { color: var(--ink-2); max-width: 36ch; }
.svc-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc-tile {
  position: relative; display: flex; flex-direction: column; min-height: 260px; padding: 30px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--leaf-r); overflow: hidden; isolation: isolate;
  transition: border-color 0.3s, transform 0.45s var(--ease), color 0.35s;
}
.svc-tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--night); clip-path: circle(0% at 100% 0%); transition: clip-path 0.7s var(--ease); }
.svc-tile__leaf { position: absolute; right: -24px; top: -16px; width: 160px; z-index: -1; opacity: 0.12; transition: opacity 0.4s, transform 0.7s var(--ease); }
.svc-tile__leaf path { fill: var(--tone); }
.svc-tile__name { font-family: var(--f-display); font-weight: 500; font-size: 1.6rem; letter-spacing: -0.025em; margin-bottom: 12px; max-width: 14ch; }
.svc-tile p { color: var(--ink-2); font-size: 0.975rem; transition: color 0.35s; }
.svc-tile__go { margin-top: auto; padding-top: 28px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.95rem; color: var(--tone); }
.svc-tile__go .ic { transition: transform 0.35s var(--ease); }
.svc-tile:hover { color: #fff; border-color: var(--night); }
.svc-tile:hover::before { clip-path: circle(150% at 100% 0%); }
.svc-tile:hover p { color: rgba(255, 255, 255, 0.72); }
.svc-tile:hover .svc-tile__leaf { opacity: 0.9; transform: translate(-12px, 10px); }
.svc-tile:hover .svc-tile__go .ic { transform: translateX(5px); }

.caps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.cap { padding: 32px 28px 8px 0; border-right: 1px solid var(--line); margin-right: 28px; }
.cap:last-child { border: 0; margin: 0; }
.cap__num { font-size: 0.8rem; color: var(--ink-3); }
.cap h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.4rem; letter-spacing: -0.02em; margin: 24px 0 10px; }
.cap p { color: var(--ink-2); font-size: 0.95rem; }

.industries__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px 80px; }
.industries__list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.industries__list li { display: flex; gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
.industries__list li:nth-child(odd) { padding-right: 24px; }
.industries__list span { font-size: 0.8rem; color: var(--tone); font-weight: 600; }

/* ---------- Service detail ---------- */
.overview__grid { display: grid; grid-template-columns: 3fr 9fr; gap: 32px 48px; }
.overview__body { display: grid; gap: 24px; max-width: 64ch; }
.overview__body p { color: var(--ink-2); font-size: 1.1rem; }
.overview__body .overview__lede { font-family: var(--f-display); font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem); line-height: 1.25; letter-spacing: -0.025em; color: var(--ink); max-width: none; }
.capgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--leaf-r); overflow: hidden; }
.capcard { background: var(--paper-2); padding: 32px 30px 36px; transition: background-color 0.3s; }
.capcard:hover { background: #fff; }
.capcard__num { display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--tone); margin-bottom: 36px; }
.capcard h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.capcard p { color: var(--ink-2); font-size: 0.95rem; }
.deliv { background: var(--night); color: #fff; padding: 36px; border-radius: var(--leaf-r); }
.deliv__title { font-family: var(--f-display); font-size: 1.35rem; margin-bottom: 20px; }
.deliv ol li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-light); color: rgba(255, 255, 255, 0.85); }
.deliv ol span { color: var(--tone); font-size: 0.85rem; font-weight: 600; padding-top: 2px; }
.approach { background: var(--night); color: #fff; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; margin-top: 24px; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-light); }
.timeline__item { position: relative; padding-top: 44px; }
.timeline__dot { position: absolute; top: 0; left: 0; width: 15px; height: 15px; background: var(--tone); border-radius: 8px 0 8px 0; }
.timeline__num { font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); }
.timeline h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.02em; margin: 6px 0 10px; }
.timeline p { color: rgba(255, 255, 255, 0.68); font-size: 0.975rem; }
.tech__grid { display: grid; grid-template-columns: 3fr 9fr; gap: 32px 48px; align-items: start; }
.logo-grid { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: var(--leaf-r); overflow: hidden; }
.logo-grid li { flex: 1 1 170px; background: var(--paper); height: 120px; display: grid; place-items: center; padding: 24px; position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tint .logo-grid li { background: var(--paper-2); }
.logo-grid img { max-height: 38px; max-width: 130px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: filter 0.3s, opacity 0.3s, transform 0.4s var(--ease); }
.logo-grid li:hover img { filter: none; opacity: 1; transform: scale(1.04); }
.logo-grid--lg li { flex-basis: 220px; height: 160px; }
.logo-grid--lg img { max-height: 48px; max-width: 160px; }
.logo-grid__name { position: absolute; left: 16px; bottom: 12px; font-size: 0.75rem; color: var(--ink-3); opacity: 0; transition: opacity 0.3s; }
.logo-grid li:hover .logo-grid__name { opacity: 1; }
.logo-grid--clients img { max-height: 56px; }
.faq-wrap { display: grid; grid-template-columns: 4fr 8fr; gap: 32px 64px; }
.faq-wrap .link-arrow { margin-top: 28px; }
.faq { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; list-style: none; font-family: var(--f-display); font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); letter-spacing: -0.015em; line-height: 1.3; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); transition: transform 0.35s var(--ease), background-color 0.25s, color 0.25s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq__a { padding: 0 64px 28px 0; color: var(--ink-2); max-width: 70ch; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- Academy ---------- */
.catalogue__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.catalogue__count { color: var(--ink-3); }
.catalogue__count b { color: var(--ink); font-family: var(--f-display); font-size: 1.5rem; font-weight: 500; }
.filters { display: grid; gap: 14px; padding: 20px 0 32px; border-top: 1px solid var(--line); margin-bottom: 8px; }
.filters__row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.filters__label { width: 80px; font-size: 0.85rem; color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { height: 40px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 20px 0 20px 0; font-size: 0.9rem; font-weight: 500; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.chips button:hover { border-color: var(--ink); }
.chips button[aria-checked='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips--tabs { margin-bottom: 40px; }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.cgrid .ccard.is-out { display: none; }
.cgrid .ccard.is-in-anim { animation: cardIn 0.5s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
.catalogue__empty { padding: 48px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--leaf-r); display: grid; gap: 20px; justify-items: center; color: var(--ink-2); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.why__grid--3 { grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.why__item { border-top: 2px solid var(--ink); padding-top: 24px; }
.why__num { font-size: 0.8rem; color: var(--tone); font-weight: 600; }
.why__item h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.35rem; letter-spacing: -0.02em; margin: 14px 0 10px; }
.why__item p { color: var(--ink-2); font-size: 0.975rem; }
.banner {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px;
  padding: clamp(36px, 5vw, 64px); border-radius: var(--leaf-r); overflow: hidden; isolation: isolate;
  background: var(--tone); color: #fff; flex-wrap: wrap;
}
.banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('/assets/brand/pattern.webp') right center / 160% auto; opacity: 0.25; mix-blend-mode: screen; transition: transform 1.2s var(--ease); }
.banner:hover::before { transform: translateX(-3%); }
.banner__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem); letter-spacing: -0.03em; margin-bottom: 8px; }
.banner p { max-width: 52ch; opacity: 0.9; }

/* Corporate */
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.offer { padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--leaf-r); min-height: 240px; display: flex; flex-direction: column; }
.offer__num { font-size: 0.8rem; color: var(--tone); font-weight: 600; margin-bottom: auto; padding-bottom: 32px; }
.offer h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.6rem; letter-spacing: -0.025em; margin-bottom: 10px; }
.offer p { color: var(--ink-2); }
.quote-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 48px 96px; align-items: center; }
.quote { position: relative; padding: clamp(32px, 5vw, 64px); background: var(--tone-soft); border-radius: var(--leaf-r); overflow: hidden; isolation: isolate; }
.quote__leaf { position: absolute; right: -40px; bottom: -30px; width: 260px; z-index: -1; opacity: 0.18; }
.quote__leaf path { fill: var(--tone); }
.quote blockquote p { font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2.1rem); line-height: 1.3; letter-spacing: -0.02em; }
.quote blockquote p::before { content: '“'; }
.quote blockquote p::after { content: '”'; }
:lang(ru) .quote blockquote p::before, :lang(az) .quote blockquote p::before { content: '«'; }
:lang(ru) .quote blockquote p::after, :lang(az) .quote blockquote p::after { content: '»'; }
.quote figcaption { margin-top: 28px; display: grid; font-size: 0.95rem; }
.quote figcaption span { color: var(--ink-3); }
.form-split { display: grid; grid-template-columns: 4fr 8fr; gap: 48px 96px; }

/* ---------- Exam center ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { padding: 32px; border: 1px solid var(--line); border-radius: var(--leaf-r); background: #fff; transition: border-color 0.3s, transform 0.45s var(--ease); }
.feat:hover { border-color: var(--tone); transform: translateY(-3px); }
.feat__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px 0 16px 0; background: var(--tone-soft); color: var(--tone); margin-bottom: 40px; }
.feat__icon .ic { width: 24px; height: 24px; }
.feat h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.feat p { color: var(--ink-2); font-size: 0.975rem; }
.vendors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vendor { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--leaf-r); display: flex; flex-direction: column; gap: 20px; }
.vendor__logo { height: 64px; display: flex; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 24px; box-sizing: content-box; }
.vendor__logo img { max-height: 48px; max-width: 180px; width: auto; }
.vendor p { color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tags li { font-size: 0.8rem; padding: 5px 11px; background: var(--paper); border-radius: 10px 0 10px 0; color: var(--ink-2); }

/* Candidate guide */
.guide__grid { display: grid; grid-template-columns: 240px minmax(0, 1fr) 300px; gap: 48px clamp(32px, 5vw, 72px); align-items: start; }
.guide__toc, .guide__side { position: sticky; top: calc(var(--hdr-h) + 32px); }
.guide__toc-title { font-size: 0.8rem; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.guide__toc a { display: flex; gap: 12px; padding: 9px 0 9px 14px; font-size: 0.925rem; color: var(--ink-2); border-left: 2px solid var(--line); transition: color 0.2s, border-color 0.2s; }
.guide__toc a span { color: var(--ink-3); font-size: 0.8rem; padding-top: 2px; }
.guide__toc a:hover { color: var(--ink); }
.guide__toc a.is-current { color: var(--ink); border-color: var(--tone); font-weight: 600; }
.guide__sec { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.guide__sec:last-child { border: 0; }
.prose h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.6rem, 1.3rem + 0.9vw, 2.1rem); letter-spacing: -0.025em; line-height: 1.2; margin: 0 0 18px; }
.guide__sec h2 span { display: block; font-size: 0.85rem; color: var(--tone); margin-bottom: 8px; font-weight: 600; letter-spacing: 0; }
.prose p { color: var(--ink-2); font-size: 1.075rem; line-height: 1.7; margin-bottom: 1em; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.4em; display: grid; gap: 12px; }
.prose ul li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 1.05rem; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 14px; height: 5px; background: var(--tone); border-radius: 3px 0 3px 0; }
.prose--narrow { max-width: 72ch; }
.prose--narrow h2 { margin-top: 48px; }
.prose--narrow h2:first-child { margin-top: 0; }
.checklist { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--leaf-r); margin-bottom: 16px; }
.checklist__title { font-family: var(--f-display); font-size: 1.2rem; margin-bottom: 14px; }
.checklist label { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; cursor: pointer; font-size: 0.925rem; border-top: 1px solid var(--line); }
.checklist input { position: absolute; opacity: 0; pointer-events: none; }
.checklist__box { flex: none; width: 20px; height: 20px; border: 1.5px solid var(--line-2); border-radius: 6px 0 6px 0; display: grid; place-items: center; color: transparent; transition: background-color 0.2s, border-color 0.2s; }
.checklist__box .ic { width: 14px; height: 14px; }
.checklist input:checked + .checklist__box { background: var(--tone); border-color: var(--tone); color: #fff; }
.checklist input:checked ~ span:last-child { color: var(--ink-3); text-decoration: line-through; }
.checklist input:focus-visible + .checklist__box { outline: 2px solid var(--blue); outline-offset: 2px; }
.checklist__bar { height: 4px; background: var(--paper-2); border-radius: 4px; margin-top: 14px; overflow: hidden; }
.checklist__bar i { display: block; height: 100%; width: 0; background: var(--tone); transition: width 0.4s var(--ease); }
.help-card { padding: 26px; background: var(--paper-2); border-radius: var(--leaf-r); display: grid; gap: 10px; justify-items: start; margin-bottom: 16px; }
.help-card__title { font-family: var(--f-display); font-size: 1.2rem; }
.help-card p { color: var(--ink-2); font-size: 0.925rem; }
.help-card--dark { background: var(--night); color: #fff; }
.help-card--dark p { color: rgba(255, 255, 255, 0.7); }
.note-card { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--tone); background: var(--tone-soft); border-radius: var(--leaf-r); margin-bottom: 16px; font-size: 0.925rem; }
.note-card .ic { color: var(--tone); flex: none; margin-top: 2px; }

/* Booking wizard */
.book__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.book__aside { position: sticky; top: calc(var(--hdr-h) + 32px); }
.wizard { background: #fff; border: 1px solid var(--line); border-radius: var(--leaf-r); padding: clamp(24px, 4vw, 48px); }
.wizard__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.wizard__steps li { font-size: 0.85rem; color: var(--ink-3); display: flex; gap: 8px; align-items: baseline; }
.wizard__steps li span { font-size: 0.75rem; font-weight: 600; }
.wizard__steps li[aria-current], .wizard__steps li.is-done { color: var(--ink); font-weight: 600; }
.wizard__steps li[aria-current] span { color: var(--tone); }
.wizard__progress { height: 3px; background: var(--paper-2); border-radius: 3px; margin-bottom: 40px; overflow: hidden; }
.wizard__progress i { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, var(--pink), var(--purple)); transition: width 0.5s var(--ease); }
.wizard__pane { border: 0; margin: 0; padding: 0; min-width: 0; }
.wizard__pane:not([hidden]) { animation: paneIn 0.45s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateX(16px); } }
.wizard__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.025em; margin-bottom: 28px; padding: 0; }
.wizard__nav { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.wizard__count { margin-left: auto; font-size: 0.85rem; color: var(--ink-3); }
.wizard__nav [data-prev] .ic { order: -1; }
.wizard__done, .cform__done { text-align: left; padding: 24px 0; display: grid; gap: 14px; justify-items: start; }
.wizard__done h2, .cform__done h3 { font-family: var(--f-display); font-weight: 500; font-size: 2rem; letter-spacing: -0.03em; }
.wizard__done p, .cform__done p { color: var(--ink-2); max-width: 52ch; }
.wizard__done[hidden], .cform__done[hidden] { display: none; }
.done-mark { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 22px 0 22px 0; background: var(--tone); color: #fff; animation: pop 0.6s var(--ease); }
.done-mark .ic { width: 30px; height: 30px; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.opts--row { grid-template-columns: repeat(3, 1fr); }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__box { position: relative; display: grid; gap: 4px; height: 100%; padding: 20px 48px 20px 20px; border: 1.5px solid var(--line); border-radius: 16px 0 16px 0; transition: border-color 0.2s, background-color 0.2s; }
.opt:hover .opt__box { border-color: var(--line-2); }
.opt input:checked + .opt__box { border-color: var(--tone); background: var(--tone-soft); }
.opt input:focus-visible + .opt__box { outline: 2px solid var(--blue); outline-offset: 2px; }
.opt__logo { height: 34px; display: flex; align-items: center; margin-bottom: 10px; }
.opt__logo img { max-height: 30px; max-width: 120px; width: auto; }
.opt__label { font-weight: 600; }
.opt__desc { font-size: 0.85rem; color: var(--ink-3); }
.opt__tick { position: absolute; top: 16px; right: 16px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: transparent; transition: all 0.2s; }
.opt__tick .ic { width: 14px; height: 14px; }
.opt input:checked + .opt__box .opt__tick { background: var(--tone); border-color: var(--tone); color: #fff; }
.opts--row .opt__box { padding: 16px 44px 16px 16px; font-size: 0.925rem; }
.review { margin-top: 32px; padding: 24px; background: var(--paper); border-radius: var(--leaf-r-sm); }
.review__title { font-weight: 600; margin-bottom: 12px; }
.review dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; font-size: 0.925rem; }
.review dt { color: var(--ink-3); }

/* Forms */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; border: 0; padding: 0; margin: 0; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 0.875rem; font-weight: 600; padding: 0; }
.field small { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea, .select select {
  width: 100%; min-height: 54px; padding: 14px 18px;
  background: var(--paper); border: 1.5px solid transparent; border-radius: 14px 0 14px 0;
  transition: border-color 0.2s, background-color 0.2s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--pink); background: #fff; }
.field__err { color: #c8105f; font-size: 0.85rem; }
.select { position: relative; }
.select .ic { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; width: 18px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.hint { display: flex; gap: 10px; align-items: flex-start; font-size: 0.875rem; color: var(--ink-3); }
.cform__foot { margin-top: 28px; }
.cform__fail { margin-top: 16px; color: #c8105f; }
.cform.is-sent .fields, .cform.is-sent .cform__foot { display: none; }
.btn[aria-busy='true'] { pointer-events: none; opacity: 0.7; }

/* ---------- About ---------- */
.story__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px clamp(48px, 7vw, 112px); align-items: start; }
.story__media { position: sticky; top: calc(var(--hdr-h) + 32px); border-radius: var(--leaf-r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--night); isolation: isolate; }
.story__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); mix-blend-mode: screen; opacity: 0.85; }
.story__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(8, 116, 247, 0.65), rgba(173, 95, 255, 0.35) 55%, rgba(237, 30, 121, 0.55)); mix-blend-mode: multiply; z-index: 1; }
.story__overlay { position: absolute; left: 28px; bottom: 28px; width: 46%; z-index: 2; display: grid; }
.story__leaf { width: 100%; margin-top: -12%; }
.story__leaf path { fill: none; stroke: #fff; stroke-width: 0.9; }
.story__copy p { color: var(--ink-2); font-size: 1.1rem; margin-top: 22px; }
.story__copy .h2 { max-width: 18ch; }
.practices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.practice { position: relative; padding: 36px 32px 40px; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--night); border-radius: var(--leaf-r); overflow: hidden; isolation: isolate; }
.practice__leaf { position: absolute; top: 28px; left: 28px; width: 140px; z-index: -1; transition: transform 0.6s var(--ease); }
.practice__leaf path { fill: var(--tone); }
.practice:hover .practice__leaf { transform: translateX(14px) scale(1.06); }
.practice h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.6rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.practice p { color: rgba(255, 255, 255, 0.7); font-size: 0.975rem; }
.practice__go { position: absolute; right: 24px; top: 24px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-light); transition: background-color 0.3s, transform 0.4s var(--ease); }
.practice:hover .practice__go { background: var(--tone); border-color: var(--tone); transform: rotate(45deg); }
.values { background: var(--night); color: #fff; }
.values__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px 96px; }
.values__head { position: sticky; top: calc(var(--hdr-h) + 48px); align-self: start; }
.values__list li { display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; padding: 32px 0; border-top: 1px solid var(--line-light); }
.values__list span { grid-row: span 2; color: var(--pink); font-size: 0.85rem; font-weight: 600; padding-top: 8px; }
.values__list h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.6rem; letter-spacing: -0.025em; }
.values__list p { color: rgba(255, 255, 255, 0.7); }
.cert-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.cert-cloud li { padding: 12px 20px; border: 1px solid var(--line-2); border-radius: 22px 0 22px 0; font-family: var(--f-display); font-size: 1.05rem; transition: background-color 0.25s, color 0.25s; }
.cert-cloud li:hover { background: var(--ink); color: #fff; }

/* Partners page */
.pgroup { display: grid; grid-template-columns: 4fr 8fr; gap: 32px 64px; padding-block: 48px; border-top: 1px solid var(--line); }
.pgroup:first-child { border: 0; padding-top: 0; }
.pgroup__head span { font-size: 0.85rem; color: var(--blue); font-weight: 600; }
.pgroup__head h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.6rem); letter-spacing: -0.03em; margin: 8px 0 10px; }
.pgroup__head p { color: var(--ink-2); }

/* Careers */
.roles { margin-top: 40px; border-top: 1px solid var(--line-2); }
.role { display: grid; grid-template-columns: 1fr auto auto; gap: 24px 48px; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--line-2); }
.role h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.6rem; letter-spacing: -0.025em; margin-bottom: 6px; }
.role__main p { color: var(--ink-2); max-width: 64ch; }
.role__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.role__meta li { display: inline-flex; gap: 6px; align-items: center; font-size: 0.85rem; padding: 6px 12px; background: var(--paper-2); border-radius: 10px 0 10px 0; }
.role__meta .ic { width: 15px; height: 15px; }

/* Insights article */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue)); }
.article__grid { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 48px clamp(40px, 8vw, 140px); }
.article__meta { position: sticky; top: calc(var(--hdr-h) + 32px); align-self: start; }
.article__meta dl { display: grid; gap: 16px; margin-bottom: 32px; }
.article__meta dt { font-size: 0.8rem; color: var(--ink-3); }
.article__meta dt .ic { width: 16px; height: 16px; }
.article__meta dd { font-weight: 500; }
.share { display: flex; align-items: center; gap: 8px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-3); }
.share span { margin-right: 4px; }
.share a, .share button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink); transition: background-color 0.2s, color 0.2s; }
.share a:hover, .share button:hover { background: var(--ink); color: #fff; }
.share .ic { width: 16px; height: 16px; }
.prose--article h2 { margin-top: 48px; }
.prose--article p:first-child { font-size: 1.25rem; color: var(--ink); line-height: 1.6; }
.prose blockquote { position: relative; margin: 40px 0; padding: 32px 36px; background: var(--tone-soft); border-radius: var(--leaf-r); overflow: hidden; isolation: isolate; }
.prose blockquote p { font-family: var(--f-display); font-size: 1.4rem; line-height: 1.4; letter-spacing: -0.015em; color: var(--ink); margin: 0; }
.bq__leaf { position: absolute; right: -30px; bottom: -20px; width: 180px; z-index: -1; opacity: 0.18; }
.bq__leaf path { fill: var(--tone); }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px clamp(48px, 7vw, 112px); align-items: start; }
.contact__form .h3 { margin-bottom: 32px; }
.contact__side { display: grid; gap: 24px; }
.cinfo { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--leaf-r); display: grid; gap: 24px; }
.cinfo__row { display: flex; gap: 16px; }
.cinfo__row > .ic { width: 22px; height: 22px; color: var(--blue); margin-top: 3px; }
.cinfo__row a, .cinfo__row p { display: block; }
.cinfo__row a:not(.link-arrow) { font-size: 1.1rem; font-weight: 500; }
.cinfo__row a:not(.link-arrow):hover { color: var(--blue); }
.cinfo__label { font-size: 0.8rem; color: var(--ink-3); margin-bottom: 4px; }
.cinfo .link-arrow { margin-top: 8px; font-size: 0.9rem; }
.channels { display: grid; gap: 8px; }
.channel { display: grid; gap: 2px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px 0 16px 0; transition: border-color 0.2s, background-color 0.2s; }
.channel:hover { border-color: var(--ink); background: #fff; }
.channel span { font-size: 0.875rem; color: var(--ink-3); }
.channel em { font-style: normal; color: var(--blue); font-weight: 500; font-size: 0.95rem; }
.mapcard { display: grid; grid-template-columns: 7fr 5fr; background: var(--night); color: #fff; border-radius: var(--leaf-r); overflow: hidden; min-height: 360px; }
.mapcard__art { position: relative; color: #fff; background: #0e1640; }
.mapcard__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapcard__pin { position: absolute; left: 52%; top: 46%; width: 56px; height: 56px; transform: translate(-50%, -50%); display: grid; place-items: center; background: var(--pink); border-radius: 28px 0 28px 0; box-shadow: 0 0 0 12px rgba(237, 30, 121, 0.18), 0 0 0 28px rgba(237, 30, 121, 0.08); }
.mapcard__pin .ic { width: 26px; height: 26px; }
.mapcard__copy { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.mapcard__copy p { color: rgba(255, 255, 255, 0.7); }
.mapcard__addr { color: #fff !important; font-size: 1.15rem; }
.mapcard .link-arrow { color: #fff; }
.mapcard:hover .link-arrow { background-size: 100% 1.5px; }

/* 404 */
.nf { padding: calc(var(--sp-section) * 0.8) 0 var(--sp-section); }
.nf__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.nf__art { position: relative; display: grid; }
.nf__leaf { width: 100%; margin-top: -12%; }
.nf__leaf path { fill: none; stroke-width: 0.5; }
.nf__leaf:nth-child(1) { transform: translateX(8%) rotate(-6deg); }
.nf__leaf:nth-child(1) path { stroke: var(--pink); }
.nf__leaf:nth-child(2) path { stroke: var(--purple); }
.nf__leaf:nth-child(3) { transform: translateX(-6%) rotate(4deg); }
.nf__leaf:nth-child(3) path { stroke: var(--blue); }
.nf__art span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-size: clamp(5rem, 3rem + 8vw, 11rem); letter-spacing: -0.06em; }
.nf__links { display: grid; gap: 14px; margin-top: 32px; }

/* ---------- Motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--stagger, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero__line > span { transform: translateY(105%); animation: lineUp 1.2s var(--ease) forwards; animation-delay: calc(0.15s + var(--i) * 0.12s); }
@keyframes lineUp { to { transform: none; } }
.js .hero__eyebrow, .js .hero__row, .js .doors { opacity: 0; animation: fadeUp 1s var(--ease) forwards; }
.js .hero__eyebrow { animation-delay: 0.1s; }
.js .hero__row { animation-delay: 0.6s; }
.js .doors { animation-delay: 0.85s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.js .phero__title .ln { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.js .phero__title .ln > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; animation-delay: calc(0.05s + var(--i) * 0.08s); }
.js .phero__art .phero__leaf { animation: leafIn 1.6s var(--ease) both; }
.js .phero__art .phero__leaf--2 { animation-delay: 0.12s; }
.js .phero__art .phero__leaf--3 { animation-delay: 0.24s; }
@keyframes leafIn { from { opacity: 0; translate: 12% 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__link { padding: 0 10px; font-size: 0.9rem; }
  .hdr__cta { display: none; }
  .mega__inner { grid-template-columns: 1fr 2.6fr; }
  .mega__aside { display: none; }
  .svc-row { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.2fr) 56px; }
  .svc-row__tag { display: none; }
  .guide__grid { grid-template-columns: 220px minmax(0, 1fr); }
  .guide__side { position: static; grid-column: 2; }
}

@media (max-width: 980px) {
  :root { --hdr-h: 68px; }
  .nav, .hdr__end > .lang { display: none; }
  .burger { display: block; }
  .hdr__end { margin-left: auto; }
  .mega { display: none !important; }
  .hero { min-height: auto; }
  .hero__inner { padding-top: calc(var(--hdr-h) + 56px); }
  .doors__grid { grid-template-columns: 1fr; }
  .door { border-left: 0; border-right: 0 !important; border-top: 1px solid var(--line-light); padding: 22px 64px 22px 0; }
  .door:first-child { border-top: 0; }
  .door__arrow { top: 50%; transform: translateY(-50%); right: 0; }
  .door:hover .door__arrow { transform: translateY(-50%) rotate(45deg); }
  .intro__grid, .pillars__grid, .exam-feature__grid, .cta-band__grid, .svc-group, .industries__grid,
  .overview__grid, .twocol, .tech__grid, .faq-wrap, .quote-grid, .form-split, .story__grid, .values__grid,
  .pgroup, .contact__grid, .mapcard, .book__grid, .nf__grid, .ftr__top, .article__grid, .phero__grid { grid-template-columns: 1fr; }
  .intro__grid .eyebrow { grid-row: auto; margin-top: 0; }
  .pillars__head, .svc-group__head, .values__head, .story__media, .book__aside, .article__meta { position: static; }
  .story__media { aspect-ratio: 16 / 10; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats__item:nth-child(2) { border-right: 0; margin-right: 0; }
  .stats__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stats--light .stats__item:nth-child(n + 3) { border-color: var(--line-light); }
  .steps, .timeline { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .steps::before, .timeline::before { display: none; }
  .capgrid, .feat-grid, .vendors, .related__grid, .practices { grid-template-columns: 1fr 1fr; }
  .caps__grid, .why__grid { grid-template-columns: 1fr 1fr; }
  .cap:nth-child(2) { border-right: 0; margin-right: 0; }
  .acards, .acards--2 { grid-template-columns: 1fr 1fr; }
  .acards--feature .acard--lead .acard__link { grid-template-columns: 1fr; }
  .acards--feature .acard--lead .acard__media { min-height: 0; aspect-ratio: 16 / 9; }
  .ftr__news { justify-self: start; }
  .ftr__cols { grid-template-columns: 1fr 1fr; }
  .guide__grid { grid-template-columns: 1fr; }
  .guide__toc { position: static; }
  .guide__side { grid-column: auto; }
  .phero__aside { width: 100%; }
  .phero__art { width: 90vw; right: -30vw; opacity: 0.7; }
  .role { grid-template-columns: 1fr; gap: 16px; }
  .why__grid--3 { grid-template-columns: 1fr 1fr; }
  .mapcard__art { min-height: 240px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hdr__logo, .hdr__logo img { width: 124px; }
  .svc-row { grid-template-columns: 1fr 44px; gap: 8px 16px; padding: 24px 0; }
  .svc-row__num { grid-column: 1 / -1; }
  .svc-row__desc { grid-column: 1; }
  .svc-row__go { grid-row: 2 / 4; grid-column: 2; align-self: center; width: 44px; height: 44px; }
  .stats { grid-template-columns: 1fr; }
  .stats__item { border-right: 0 !important; margin-right: 0 !important; border-top: 1px solid var(--line); }
  .stats__item:first-child { border-top: 0; }
  .steps, .timeline, .capgrid, .feat-grid, .vendors, .related__grid, .practices, .caps__grid, .why__grid, .why__grid--3,
  .acards, .acards--2, .svc-tiles, .offer-grid, .industries__list, .fields, .opts, .opts--row, .cdlg__facts { grid-template-columns: 1fr; }
  .acards--feature .acard--lead { grid-column: auto; }
  .cap { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .industries__list li:nth-child(odd) { padding-right: 0; }
  .pillar { grid-template-columns: 1fr; }
  .pillar__num { grid-row: auto; padding: 0; }
  .ftr__cols { grid-template-columns: 1fr; gap: 32px; }
  .ftr__bottom { flex-wrap: wrap; gap: 12px 24px; }
  .wizard__steps { grid-template-columns: repeat(4, auto); }
  .wizard__steps li { font-size: 0; }
  .wizard__steps li span { font-size: 0.85rem; }
  .wizard__nav { flex-wrap: wrap; }
  .wizard__count { order: -1; width: 100%; margin: 0 0 4px; }
  .seatmap { padding: 16px; }
  .seatmap__grid { gap: 8px; }
  .faq__a { padding-right: 0; }
  .btn { --bh: 52px; padding: 0 22px; }
  .hero__row .btn-row { width: 100%; }
  .hero__row .btn { flex: 1; }
  .mini-facts { gap: 24px; }
  .filters__label { width: 100%; }
  .catalogue__head { flex-direction: column; align-items: flex-start; }
  .ftr__news-row { flex-direction: column; }
}

/* Fill the last odd cell in two-column fact tables */
.cdlg__facts div:last-child:nth-child(odd) { grid-column: span 2; }
.hdr.is-open::before { background: var(--paper); }
