/* ==========================================================================
   Trilliun Anartha Abadi — Company Profile
   Design system mengikuti Brand Guideline Anartha Group (Variasi D – Twin Peak)
   Mobile-first. Tanpa framework.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --navy: #0B2A6B;
  --navy-900: #061B47;
  --blue: #123C93;
  --blue-500: #1A4BB0;
  --red: #D7262E;
  --red-600: #B81E25;
  --sky: #9DB4E0;
  --sky-100: #E7EEFA;

  /* Neutral */
  --ink: #0B1630;
  --body: #46526B;
  --muted: #6B7690;
  --line: #E4E9F2;
  --tint: #F5F7FC;
  --white: #fff;

  /* Type */
  --font: "Inter", Arial, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-h1: clamp(2.35rem, 1.4rem + 4.4vw, 4.6rem);
  --fs-h2: clamp(1.85rem, 1.3rem + 2.4vw, 3.1rem);
  --fs-lead: clamp(1.05rem, 1rem + .35vw, 1.25rem);

  /* Space & shape */
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(88px, 7vw + 48px, 152px);
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --header-h: 72px;

  --shadow-sm: 0 1px 2px rgba(11,42,107,.06), 0 2px 8px rgba(11,42,107,.04);
  --shadow: 0 2px 4px rgba(11,42,107,.04), 0 12px 32px rgba(11,42,107,.08);
  --shadow-lg: 0 24px 64px rgba(6,27,71,.22);

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--navy); color: var(--white); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--white);
  padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip:focus { top: 16px; }

/* Scroll progress */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--red), #F05A5F);
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- 3. Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--sky); }
h2 { font-size: var(--fs-h2); font-weight: 750; }
.hl {
  color: var(--blue);
  background: linear-gradient(transparent 68%, rgba(215,38,46,.16) 68%);
  padding: 0 .04em;
}
.label {
  font-size: .72rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 14px;
}
.lead { font-size: var(--fs-lead); color: var(--ink); line-height: 1.55; }

/* ---------- 4. Buttons ---------- */
.btn {
  --h: 48px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; letter-spacing: -0.005em; white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease-out), background-color .2s, border-color .2s, box-shadow .25s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: .9rem; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--blue); box-shadow: 0 8px 24px rgba(11,42,107,.25); }
.btn--accent { background: var(--red); color: var(--white); box-shadow: 0 8px 24px rgba(215,38,46,.28); }
.btn--accent:hover { background: var(--red-600); box-shadow: 0 12px 32px rgba(215,38,46,.36); }
.btn--glass {
  color: var(--white);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.24);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn--glass:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }

/* ---------- 5. Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), transform .4s var(--ease-out);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.header.is-solid {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark { width: 38px; height: 38px; border-radius: 10px; flex: none; transition: transform .4s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.04); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: .98rem; font-weight: 700; letter-spacing: -0.01em; color: var(--white); transition: color .3s; }
.brand__text small { font-size: .7rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); transition: color .3s; }
.header.is-solid .brand__text strong { color: var(--navy); }
.header.is-solid .brand__text small { color: var(--muted); }

.nav { display: none; }
.nav a {
  position: relative; padding: 8px 2px;
  font-size: .94rem; font-weight: 500; color: rgba(255,255,255,.78);
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav a:hover, .nav a.is-active { color: var(--white); }
.nav a.is-active::after, .nav a:hover::after { transform: scaleX(1); }
.header.is-solid .nav a { color: var(--body); }
.header.is-solid .nav a:hover, .header.is-solid .nav a.is-active { color: var(--navy); }

.header__cta { display: none; }
.header:not(.is-solid) .header__cta { background: var(--white); color: var(--navy); }

.burger {
  position: relative; width: 46px; height: 46px; margin-right: -8px;
  border: 0; background: transparent; cursor: pointer; border-radius: 12px;
  -webkit-tap-highlight-color: transparent;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px;
  background: var(--white);
  transition: transform .35s var(--ease-out), top .35s var(--ease-out), background-color .3s;
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; right: 18px; }
.header.is-solid .burger span { background: var(--navy); }
.burger[aria-expanded="true"] span { background: var(--white) !important; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; right: 12px; transform: rotate(-45deg); }
/* when menu open, header sits over navy overlay */
.header.menu-open { background: transparent !important; box-shadow: none !important; backdrop-filter: none; transform: none; }
.header.menu-open .brand__text strong { color: var(--white); }
.header.menu-open .brand__text small { color: var(--sky); }

/* ---------- 6. Mobile menu ---------- */
.mmenu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: radial-gradient(120% 80% at 100% 0%, var(--blue) 0%, var(--navy) 45%, var(--navy-900) 100%);
  color: var(--white);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.mmenu[hidden] { display: flex; }
.mmenu.is-open { opacity: 1; visibility: visible; }
.mmenu__nav { display: flex; flex-direction: column; }
.mmenu__nav a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: clamp(1.6rem, 7vw, 2.2rem); font-weight: 650; letter-spacing: -0.03em;
  opacity: 0; transform: translateY(16px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.mmenu__nav a span { font-size: .8rem; font-weight: 600; color: var(--sky); letter-spacing: .06em; }
.mmenu.is-open .mmenu__nav a { opacity: 1; transform: none; }
.mmenu.is-open .mmenu__nav a:nth-child(2) { transition-delay: .04s; }
.mmenu.is-open .mmenu__nav a:nth-child(3) { transition-delay: .08s; }
.mmenu.is-open .mmenu__nav a:nth-child(4) { transition-delay: .12s; }
.mmenu.is-open .mmenu__nav a:nth-child(5) { transition-delay: .16s; }
.mmenu__foot p { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: 6px; }
.mmenu__foot a { font-size: 1.1rem; font-weight: 600; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + 56px) 0 120px;
  background: var(--navy);
  color: var(--white);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 85% 20%, rgba(26,75,176,.9) 0%, transparent 60%),
    radial-gradient(60% 60% at 0% 100%, rgba(6,27,71,.9) 0%, transparent 70%),
    linear-gradient(160deg, var(--blue) 0%, var(--navy) 55%, var(--navy-900) 100%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(157,180,224,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157,180,224,.08) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 70% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(80% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero__glow {
  position: absolute; width: 520px; height: 520px; right: -120px; top: 40px;
  background: radial-gradient(circle, rgba(215,38,46,.28), transparent 65%);
  filter: blur(20px);
}
.hero__inner { display: grid; gap: 56px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; margin-bottom: 28px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.9);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(215,38,46,.25); }

.hero__title { font-size: var(--fs-h1); font-weight: 800; line-height: 1.04; letter-spacing: -0.04em; color: var(--white); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: normal; color: var(--sky); }
.hero__lead { margin-top: 28px; max-width: 34rem; font-size: var(--fs-lead); line-height: 1.6; color: rgba(255,255,255,.74); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__cta .btn { flex: 1 1 auto; }

/* Hero visual */
.hero__visual {
  position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto;
  display: grid; place-items: center;
}
.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(157,180,224,.28); }
.orbit--1 { inset: 12%; animation: spin 60s linear infinite; }
.orbit--2 { inset: 0; border-style: solid; border-color: rgba(157,180,224,.12); }
.orbit--1::after {
  content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%;
  background: var(--sky); box-shadow: 0 0 16px var(--sky);
}
.mark {
  width: 46%; filter: drop-shadow(0 30px 60px rgba(0,0,0,.35));
  transition: transform .6s var(--ease-out);
}
.mark svg { width: 100%; height: auto; border-radius: 22%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.mark__sun { transform-origin: 150px 52px; animation: pulse 4s var(--ease) infinite; }

.float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 14px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0,0,0,.2);
  font-size: .82rem; font-weight: 600; line-height: 1.25; color: var(--white);
  transition: transform .6s var(--ease-out);
}
.float small { display: block; font-size: .68rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--sky); }
.float__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.12); flex: none; }
.float__ic svg { width: 18px; height: 18px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.float--a { top: 8%; left: -2%; animation: bob 7s var(--ease) infinite; }
.float--b { bottom: 14%; right: -4%; animation: bob 8s var(--ease) -2s infinite; }
.float--c { bottom: 2%; left: 6%; animation: bob 9s var(--ease) -4s infinite; }

/* Stats */
.stats {
  margin: 72px 0 0; display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255,255,255,.12);
}
.stat { padding: 24px 0 0; display: flex; flex-direction: column-reverse; gap: 4px; }
.stat:nth-child(odd) { padding-right: 16px; }
.stat dd { margin: 0; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--white); }
.stat dd::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 6px; border-radius: 50%; background: var(--red); vertical-align: top; margin-top: 6px; }
.stat dt { font-size: .85rem; color: rgba(255,255,255,.6); }

.hero__peaks { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; }

/* ---------- 8. Marquee ---------- */
.marquee {
  position: relative; overflow: hidden; padding: 22px 0;
  border-bottom: 1px solid var(--line);
  -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; align-items: center; gap: 28px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 650; letter-spacing: -0.02em; color: var(--navy); white-space: nowrap; }
.marquee__track i {
  width: 12px; height: 12px; flex: none;
  background: var(--red); clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.marquee__track i:nth-of-type(3n+2) { background: var(--sky); }
.marquee__track i:nth-of-type(3n) { background: var(--blue); }

/* ---------- 9. Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy); color: var(--white); overflow: hidden; }
.section--navy h2 { color: var(--white); }

.head { display: grid; gap: 20px; margin-bottom: 48px; }
.head__sub { font-size: var(--fs-lead); color: var(--body); max-width: 34rem; }

/* ---------- 10. About ---------- */
.about { display: grid; gap: 28px; }
.about__body { display: grid; gap: 18px; }
.about__body p:not(.lead) { font-size: 1.05rem; }
.about__body strong { color: var(--navy); font-weight: 650; }

.quote {
  position: relative; overflow: hidden;
  margin: 64px 0 0; padding: 40px 28px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--blue), var(--navy) 70%);
  color: var(--white);
}
.quote__peaks { position: absolute; right: -10px; bottom: 0; width: 260px; opacity: .9; }
.quote blockquote { position: relative; margin: 0; max-width: 44rem; font-size: clamp(1.4rem, 1rem + 2vw, 2.4rem); font-weight: 650; line-height: 1.25; letter-spacing: -0.03em; }
.quote figcaption { position: relative; margin-top: 18px; font-size: .9rem; color: var(--sky); }

.vm { display: grid; gap: 16px; margin-top: 16px; }
.vm__card { padding: 32px 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.vm__card--vision { background: var(--tint); border-color: transparent; position: relative; }
.vm__card--vision .eyebrow { color: var(--red); }
.vm__statement { font-size: clamp(1.2rem, 1rem + .9vw, 1.55rem); font-weight: 600; line-height: 1.45; letter-spacing: -0.015em; color: var(--navy); }
.mission { counter-reset: m; display: grid; gap: 4px; }
.mission li { counter-increment: m; position: relative; padding: 16px 0 16px 52px; border-top: 1px solid var(--line); }
.mission li:first-child { border-top: 0; padding-top: 4px; }
.mission li::before {
  content: counter(m, decimal-leading-zero);
  position: absolute; left: 0; top: 16px;
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--sky-100); color: var(--blue); font-size: .78rem; font-weight: 700;
}
.mission li:first-child::before { top: 4px; }
.mission h3 { font-size: 1.02rem; font-weight: 650; margin-bottom: 4px; }
.mission p { font-size: .95rem; }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.value {
  padding: 22px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--white);
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.value h3 { font-size: 1.05rem; margin: 18px 0 4px; }
.value p { font-size: .9rem; color: var(--muted); }
.value__ic {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--sky-100); color: var(--blue);
}
.value__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 11. Services (tabs) ---------- */
.tabs {
  position: relative; display: flex; gap: 4px; padding: 6px; margin-bottom: 20px;
  border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; z-index: 1; flex: 1 0 auto; scroll-snap-align: start;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent;
  font-size: .92rem; font-weight: 600; color: var(--body); white-space: nowrap; cursor: pointer;
  transition: color .3s;
  -webkit-tap-highlight-color: transparent;
}
.tab__n { font-size: .72rem; font-weight: 700; color: var(--sky); transition: color .3s; }
.tab[aria-selected="true"] { color: var(--white); }
.tab[aria-selected="true"] .tab__n { color: var(--sky); }
.tab:not([aria-selected="true"]):hover { color: var(--navy); }
.tabs__ink {
  position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0;
  border-radius: 999px; background: var(--navy);
  box-shadow: 0 6px 16px rgba(11,42,107,.3);
  transition: transform .5s var(--ease-out), width .5s var(--ease-out);
}

.panel {
  display: grid; gap: 12px;
  animation: panelIn .55s var(--ease-out);
}
.panel[hidden] { display: none; }
.panel:focus-visible { outline-offset: 6px; border-radius: var(--r-lg); }
.panel__main, .panel__side {
  border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line);
  padding: 32px 24px;
}
.panel__side { background: var(--white); }
.panel__ic {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--navy)); color: var(--white);
  box-shadow: 0 10px 24px rgba(11,42,107,.25);
}
.panel__ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.panel__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); margin: 24px 0 12px; letter-spacing: -0.03em; }
.panel__desc { font-size: var(--fs-lead); color: var(--ink); line-height: 1.55; }
.panel__note { margin-top: 14px; }
.panel__duo { display: grid; gap: 28px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }

.dots { display: grid; gap: 10px; font-size: .95rem; }
.dots li { position: relative; padding-left: 20px; }
.dots li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

.checks { display: grid; gap: 10px; font-size: .93rem; margin-top: 16px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sky-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23123C93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

.scope { display: grid; margin-bottom: 28px; }
.scope li { padding: 14px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.scope li:first-child { border-top: 0; padding-top: 0; }
.scope strong { display: block; color: var(--ink); font-weight: 650; font-size: .98rem; margin-bottom: 2px; }

.mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; counter-reset: s; }
.mini li {
  counter-increment: s; display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px; background: var(--tint);
  font-size: .88rem; font-weight: 600; color: var(--navy);
}
.mini li::before {
  content: counter(s); display: grid; place-items: center; flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-size: .72rem; font-weight: 700;
}

.tracks { display: grid; gap: 12px; margin-top: 28px; }
.track { padding: 22px; border-radius: var(--r); background: var(--tint); }
.track .label { color: var(--red); margin-bottom: 6px; }
.track h4 { font-size: 1.1rem; margin-bottom: 6px; }
.track > p:not(.label) { font-size: .93rem; }

.countries { display: grid; gap: 8px; margin-bottom: 28px; }
.countries li {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px;
  border: 1px solid var(--line); font-weight: 600; color: var(--ink);
}
.cc {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: var(--navy); color: var(--white); font-size: .78rem; font-weight: 700; letter-spacing: .04em;
}
.cc--light { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }

.schemes { display: grid; gap: 10px; margin-top: 28px; }
.scheme { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: var(--r); background: var(--tint); font-size: .92rem; }
.scheme strong { font-size: 1.15rem; color: var(--navy); letter-spacing: -0.02em; }
.scheme--main { background: var(--navy); color: rgba(255,255,255,.8); }
.scheme--main strong { color: var(--white); }

.principles { display: flex; flex-wrap: wrap; gap: 8px; }
.principles span {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  font-size: .9rem; font-weight: 600; color: var(--navy);
}
.principles span:first-child { border-color: var(--red); color: var(--red); }

/* ---------- 12. Global ---------- */
.global { display: grid; gap: 48px; align-items: center; }
.global__lead { margin-top: 20px; font-size: var(--fs-lead); color: rgba(255,255,255,.72); max-width: 32rem; }
.global__list { display: grid; gap: 10px; margin-top: 32px; }
.global__list li {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  transition: background-color .3s, border-color .3s, transform .35s var(--ease-out);
}
.global__list li:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); transform: translateX(4px); }
.global__list strong { display: block; color: var(--white); font-weight: 650; }
.global__list small { color: var(--sky); font-size: .8rem; }

.routes { position: relative; }
.routes svg { width: 100%; height: auto; overflow: visible; }
.route { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 6 8; opacity: .95; }
.routes.is-visible .route { animation: dash 1.6s linear infinite; }
.node text { fill: var(--white); font-size: 15px; font-weight: 600; text-anchor: middle; font-family: var(--font); letter-spacing: -0.01em; }
.node__halo { fill: rgba(157,180,224,.18); transform-box: fill-box; transform-origin: center; animation: ping 2.8s var(--ease) infinite; }
.node__halo--red { fill: rgba(215,38,46,.25); }
.node:nth-of-type(2) .node__halo { animation-delay: .6s; }
.node:nth-of-type(3) .node__halo { animation-delay: 1.2s; }

/* ---------- 13. Process ---------- */
.process { position: relative; display: grid; gap: 0; }
.process__line { position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--line); }
.process__line span {
  position: absolute; inset: 0; background: linear-gradient(var(--red), var(--navy));
  transform-origin: top; transform: scaleY(var(--p, 0)); transition: transform .15s linear;
}
.pstep { position: relative; display: flex; gap: 22px; padding: 0 0 36px; }
.pstep:last-child { padding-bottom: 0; }
.pstep__n {
  position: relative; z-index: 1; display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--line);
  font-weight: 750; color: var(--muted);
  transition: background-color .4s, border-color .4s, color .4s, box-shadow .4s;
}
.pstep.is-done .pstep__n { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: 0 0 0 6px var(--sky-100); }
.pstep h3 { font-size: 1.15rem; margin: 10px 0 4px; }
.pstep p { font-size: .95rem; }

.bento { display: grid; gap: 12px; margin-top: 88px; }
.bento__item {
  position: relative; overflow: hidden;
  padding: 28px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.bento__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bento__item h3 { font-size: 1.2rem; margin: 18px 0 6px; }
.bento__item p { font-size: .95rem; }
.bento__item--hero { background: linear-gradient(140deg, var(--blue), var(--navy) 65%); border: 0; color: rgba(255,255,255,.76); min-height: 280px; }
.bento__item--hero .eyebrow { margin-bottom: 0; }
.bento__item--hero h3 { color: var(--white); font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); letter-spacing: -0.04em; margin-top: 20px; }
.bento__item--hero p { max-width: 24rem; position: relative; z-index: 1; }
.bento__art { position: absolute; right: 0; bottom: 0; width: 220px; }

/* ---------- 14. Contact ---------- */
.contact { position: relative; isolation: isolate; overflow: hidden; padding: var(--section) 0; color: var(--white); background: var(--navy-900); }
.contact__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(215,38,46,.22), transparent 70%),
    radial-gradient(60% 70% at 0% 100%, rgba(26,75,176,.55), transparent 70%),
    linear-gradient(180deg, var(--navy), var(--navy-900));
}
.contact__inner { display: grid; gap: 48px; align-items: start; }
.contact h2 { color: var(--white); }
.contact__lead { margin-top: 20px; font-size: var(--fs-lead); color: rgba(255,255,255,.72); max-width: 30rem; }
.contact__info { display: grid; gap: 4px; margin: 36px 0 0; }
.contact__info > div { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact__info dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: 4px; }
.contact__info dd { margin: 0; font-size: 1.15rem; font-weight: 600; word-break: break-word; }
.contact__info a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease-out); }
.contact__info a:hover { background-size: 100% 1.5px; }

.form {
  padding: 28px 22px; border-radius: var(--r-lg);
  background: var(--white); color: var(--body); box-shadow: var(--shadow-lg);
  display: grid; gap: 18px;
}
.form__title { font-size: 1.25rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; gap: 18px; }
.field label, .field legend { font-size: .85rem; font-weight: 600; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 8px; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 13px 16px;
  border-radius: 12px; border: 1.5px solid var(--line); background: var(--tint);
  font-size: 1rem; /* >=16px prevents iOS zoom */
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #9AA3B8; }
.field input:hover, .field textarea:hover { border-color: #CCD5E6; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(18,60,147,.12); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red); background: #FFF6F6; }
.field__err { display: none; font-size: .82rem; color: var(--red); font-weight: 500; }
.field.is-invalid .field__err { display: block; }

.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; min-height: 48px; padding: 10px 14px;
  border-radius: 12px; border: 1.5px solid var(--line); background: var(--white);
  font-size: .86rem; font-weight: 600; line-height: 1.3; color: var(--body);
  transition: border-color .2s, background-color .2s, color .2s;
}
.choice:hover span { border-color: #CCD5E6; }
.choice input:checked + span { border-color: var(--navy); background: var(--sky-100); color: var(--navy); }
.choice input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.form__hint { font-size: .8rem; color: var(--muted); text-align: center; }

/* ---------- 15. Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.6); padding: 64px 0 calc(32px + env(safe-area-inset-bottom)); font-size: .92rem; border-top: 1px solid rgba(255,255,255,.06); }
.footer__top { display: grid; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand p { margin-top: 16px; max-width: 22rem; }
.brand--light .brand__text strong { color: var(--white); }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__h { font-size: .72rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: 4px; }
.footer__col a { transition: color .2s; width: fit-content; }
.footer__col a:hover { color: var(--white); }
.footer__bottom { display: flex; flex-direction: column-reverse; gap: 20px; padding-top: 28px; font-size: .84rem; }
.footer__group { display: flex; align-items: center; gap: 12px; }
.footer__group img { height: 30px; width: auto; opacity: .85; }

/* ---------- 16. Mobile dock ---------- */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80;
  display: flex; gap: 8px; padding: 8px;
  border-radius: 999px; background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 12px 40px rgba(6,27,71,.22), inset 0 0 0 1px rgba(11,42,107,.06);
  transform: translateY(150%); transition: transform .5s var(--ease-out);
}
.dock.is-visible { transform: none; }
.dock .btn { box-shadow: none; }
.dock__mail {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: var(--white);
}
.dock__mail svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 17. Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero__title .line > span { transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.js .hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.js .hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.js .hero .pill, .js .hero__lead, .js .hero__cta, .js .hero__visual, .js .stats { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .hero__lead { transition-delay: .3s; }
.js .hero__cta { transition-delay: .4s; }
.js .hero__visual { transition-delay: .2s; transform: scale(.94); }
.js .stats { transition-delay: .55s; }
.is-loaded .hero__title .line > span,
.is-loaded .hero .pill, .is-loaded .hero__lead, .is-loaded .hero__cta, .is-loaded .hero__visual, .is-loaded .stats { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes dash { to { stroke-dashoffset: -28; } }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee__track { animation: none; }
}

/* ---------- 18. Breakpoints ---------- */
@media (min-width: 560px) {
  .hero__cta .btn { flex: 0 0 auto; }
  .values { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .choices { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .form { padding: 36px 32px; }
  .tracks, .schemes { grid-template-columns: repeat(2, 1fr); }
  .schemes .scheme--main { grid-column: 1 / -1; }
  .mini { grid-template-columns: repeat(4, 1fr); }
  .mini li { flex-direction: column; align-items: flex-start; gap: 8px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__item--hero { grid-column: 1 / -1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 28px 24px 0 0; }
  .stat + .stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.12); }
  .quote { padding: 64px 56px; }
  .quote__peaks { width: 360px; }
  .vm__card { padding: 44px 40px; }
  .panel__main, .panel__side { padding: 44px 40px; }
  .panel__duo { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .process__line { left: 24px; right: 24px; top: 23px; bottom: auto; width: auto; height: 2px; }
  .process__line span { transform-origin: left; transform: scaleX(var(--p, 0)); }
  .pstep { flex-direction: column; gap: 20px; padding: 0; }
  .pstep h3 { margin-top: 0; }
  .hero__peaks { height: 110px; }
  .dock { display: none; }
}

@media (min-width: 1024px) {
  :root { --header-h: 80px; }
  .nav { display: flex; gap: 32px; }
  .header__cta { display: inline-flex; }
  .burger, .mmenu { display: none !important; }

  .hero { padding: calc(var(--header-h) + 72px) 0 150px; }
  .hero__inner { grid-template-columns: 1.15fr .85fr; gap: 40px; }
  .hero__visual { width: 100%; max-width: 480px; }

  .head { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 48px; margin-bottom: 64px; }
  .head__sub { justify-self: end; }

  .about { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: end; }
  .vm { grid-template-columns: 5fr 7fr; }
  .vm__card--vision { padding-bottom: 160px; }
  .vm__card--vision::after {
    content: ""; position: absolute; left: 40px; right: 40px; bottom: 0; height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 120'%3E%3Cpath d='M20 120 L110 22 L120 22 L210 120Z' fill='%230B2A6B' opacity='.09'/%3E%3Cpath d='M170 120 L225 58 L290 120Z' fill='%239DB4E0' opacity='.5'/%3E%3Ccircle cx='236' cy='28' r='12' fill='%23D7262E'/%3E%3C/svg%3E") left bottom / contain no-repeat;
  }
  .values { grid-template-columns: repeat(4, 1fr); }
  .value { padding: 28px 24px; }

  .tabs { display: inline-flex; width: auto; margin-bottom: 24px; }
  .tab { flex: 0 0 auto; padding: 0 24px; }
  .panel { grid-template-columns: 1.35fr 1fr; gap: 16px; }
  .panel__main, .panel__side { padding: 52px 48px; }

  .global { grid-template-columns: 1fr 1.05fr; gap: 72px; }

  .bento { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; }
  .bento__item--hero { grid-column: 1; grid-row: 1 / span 2; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; padding: 44px; }
  .bento__item--hero .eyebrow { position: absolute; top: 44px; left: 44px; }
  .bento__item:nth-child(4) { grid-column: 2 / span 2; }
  .bento__art { width: 280px; top: 96px; bottom: auto; right: -10px; }

  .contact__inner { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .form { padding: 44px 40px; }

  .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .footer__brand { grid-column: auto; }
}

@media (hover: none) {
  .value:hover, .bento__item:hover, .global__list li:hover { transform: none; box-shadow: none; }
}
