/* ==========================================================================
   Hikmah — simple option (v2)
   Cool off-white canvas, white cards, logo palette (teal #008F8C · navy #2A448E),
   liquid glass where something sits over imagery or motion. Geist light weights.
   ========================================================================== */

:root {
  --bg: #F3F4F5;
  --card: #FFFFFF;
  --ink: #0E1838;
  --ink-2: rgba(14, 24, 56, .64);
  --ink-3: rgba(14, 24, 56, .4);
  --line: rgba(14, 24, 56, .1);
  --line-2: rgba(14, 24, 56, .06);
  --teal: #008F8C;
  --teal-l: #3CC2B6;
  --navy: #2A448E;
  --grad: linear-gradient(135deg, #008F8C 0%, #1F6F98 50%, #2A448E 100%);
  --night: #0A1332;
  --night-2: #101C44;
  --on-night: #EEF2F6;
  --on-night-2: rgba(238, 242, 246, .66);
  --on-night-3: rgba(238, 242, 246, .38);
  --night-line: rgba(238, 242, 246, .12);

  --f: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --m: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ur: "Noto Nastaliq Urdu", "Noto Naskh Arabic", sans-serif;

  --gut: clamp(20px, 4vw, 64px);
  --max: 1440px;
  --sec: clamp(84px, 9vw, 140px);
  --frame: 10px;
  --r-xl: 28px;
  --r-l: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f); font-weight: 300; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 1.5px solid var(--teal); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
/* same optical margin as .wrap, for content inside a panel already inset by --frame */
.wrap--inset { max-width: calc(var(--max) - 2 * var(--frame)); padding: 0 calc(var(--gut) - var(--frame)); }
.mono { font-family: var(--m); font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.soft { color: var(--ink-3); }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; overflow: visible; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 999px; }
.skip:focus { top: 12px; }
.sec { padding: var(--sec) 0; position: relative; }

/* ---------- Liquid glass ---------- */
.glass {
  position: relative; isolation: isolate;
  background: linear-gradient(135deg, rgba(255, 255, 255, .66), rgba(255, 255, 255, .3));
  -webkit-backdrop-filter: blur(16px) saturate(175%);
  backdrop-filter: blur(16px) saturate(175%);
  border: 1px solid rgba(255, 255, 255, .62);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .95),
    inset 0 -1px 1px rgba(255, 255, 255, .35),
    inset 0 0 18px rgba(255, 255, 255, .22),
    0 1px 2px rgba(14, 24, 56, .05),
    0 14px 34px -14px rgba(14, 24, 56, .26);
}
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background:
    radial-gradient(120% 70% at 18% -10%, rgba(255, 255, 255, .7), transparent 55%),
    radial-gradient(80% 60% at 100% 110%, rgba(60, 194, 182, .12), transparent 60%);
  opacity: .7;
}
.glass > * { position: relative; z-index: 2; }
.glass--dark {
  background: linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  border-color: rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .22), inset 0 0 22px rgba(60, 194, 182, .06), 0 24px 60px -24px rgba(0, 0, 0, .6);
}
.glass--dark::after { background: radial-gradient(120% 70% at 18% -10%, rgba(255, 255, 255, .16), transparent 55%); opacity: 1; }
/* Chromium: real refraction at the edges */
.lg-refract .refract {
  -webkit-backdrop-filter: url(#lgEdge) blur(12px) saturate(180%);
  backdrop-filter: url(#lgEdge) blur(12px) saturate(180%);
}

/* ---------- Pills & buttons ---------- */
/* section eyebrows: plain teal mono text (no chip) */
.pill { display: inline-flex; align-items: center; font-family: var(--m); font-size: clamp(13px, 1vw, 15px); letter-spacing: .15em; text-transform: uppercase; color: var(--teal); white-space: nowrap; }
.pill i { display: none; }
.pill--dark { color: var(--teal-l); }

.btn {
  --h: 50px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px; font-size: 14px; font-weight: 400; white-space: nowrap;
  overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), color .4s, box-shadow .5s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad); opacity: 0; transition: opacity .5s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { opacity: 1; }
.btn:active { transform: scale(.98); }
.btn .ic { width: 17px; height: 17px; transition: transform .5s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 13px; }
.btn--lg { --h: 60px; padding: 0 30px; font-size: 15.5px; }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -12px rgba(14, 24, 56, .6); }
.btn--ink:hover { color: #fff; box-shadow: 0 14px 30px -12px rgba(0, 143, 140, .55); }
.hero .btn--ink:hover .ic { transform: translateY(3px); }
.btn--glass {
  background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(12px) saturate(170%); backdrop-filter: blur(12px) saturate(170%);
  box-shadow: inset 0 1px 1px #fff, 0 0 0 1px rgba(14, 24, 56, .08), 0 8px 20px -12px rgba(14, 24, 56, .3);
}
.btn--glass:hover { color: #fff; }
.btn--ivory { background: var(--on-night); color: var(--night); }
.btn--ivory:hover { color: #fff; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: grid; place-items: center; }
.loader__logo { width: min(320px, 62vw); overflow: visible; }
.loader__logo path { fill: var(--navy); fill-opacity: 0; stroke: var(--navy); stroke-width: 1.3; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.loader__logo .lg-star, .loader__logo .lg-teal { fill: var(--teal); stroke: var(--teal); }
.loader__bar { position: absolute; left: 50%; bottom: 14vh; width: 120px; height: 2px; border-radius: 2px; background: var(--line); transform: translateX(-50%); overflow: hidden; }
.loader__bar i { position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; }
.reduce .loader { display: none; }

/* ---------- Nav: becomes a floating glass pill ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; pointer-events: none; padding: calc(var(--frame) + 6px) calc(var(--gut) - 1px) 0; transition: transform .7s var(--ease); }
.nav.is-hidden { transform: translateY(-120%); }
.nav__pill {
  pointer-events: auto; display: flex; align-items: center; gap: 32px;
  max-width: calc(var(--max) - 2 * var(--gut) + 2px); height: 68px; margin: 0 auto; padding: 0;
  border-radius: 999px; border: 1px solid transparent; background: transparent; box-shadow: none;
  transition: max-width .9s var(--ease), height .7s var(--ease), padding .9s var(--ease), background .6s, box-shadow .6s, border-color .6s, transform .9s var(--ease);
}
.nav.is-float .nav__pill {
  height: 60px; padding: 0 9px 0 23px; transform: translateY(4px);
  background: linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .42));
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  border-color: rgba(255, 255, 255, .7);
  box-shadow: inset 0 1px 1px #fff, inset 0 -1px 1px rgba(255, 255, 255, .4), 0 2px 6px rgba(14, 24, 56, .05), 0 22px 44px -18px rgba(14, 24, 56, .32);
}
.lg-refract .nav.is-float .nav__pill { -webkit-backdrop-filter: url(#lgEdge) blur(14px) saturate(190%); backdrop-filter: url(#lgEdge) blur(14px) saturate(190%); }
.nav.on-dark.is-float .nav__pill { background: linear-gradient(135deg, rgba(20, 32, 72, .62), rgba(10, 19, 50, .42)); border-color: rgba(255, 255, 255, .14); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .18), 0 22px 44px -18px rgba(0, 0, 0, .6); color: var(--on-night); }
.nav__brand svg { width: 108px; height: auto; --lgt: var(--teal); --lgn: var(--navy); transition: width .7s var(--ease); }
.nav.is-float .nav__brand svg { width: 96px; }
.nav.on-dark.is-float .nav__brand svg { --lgt: var(--teal-l); --lgn: #fff; }
.nav__links { display: flex; gap: 4px; margin-left: auto; font-size: 13.5px; font-weight: 400; }
.nav__links a { position: relative; padding: 8px 13px; border-radius: 999px; color: inherit; opacity: .78; transition: opacity .3s, background .4s; }
.nav__links a:hover { opacity: 1; background: rgba(14, 24, 56, .05); }
/* active link: a solid teal pill with white text, so it reads on the light glass and over dark sections alike */
.nav__links a.is-on, [data-hero="b"] .nav:not(.is-float) .nav__links a.is-on { opacity: 1; background: var(--teal); color: #fff; box-shadow: inset 0 1px 1px rgba(255, 255, 255, .25), 0 6px 16px -8px rgba(0, 143, 140, .7); }
.nav__links a.is-on:hover { background: var(--teal); }
.nav.on-dark.is-float .nav__links a:hover { background: rgba(255, 255, 255, .08); }
.nav.on-dark.is-float .nav__links a.is-on, .nav.on-dark.is-float .nav__links a.is-on:hover { background: var(--teal); color: #fff; }
.nav__burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; border-radius: 50%; }
.nav__burger i { position: absolute; left: 13px; right: 13px; top: calc(50% - .7px); height: 1.4px; background: currentColor;
  transform: translateY(-4px); transition: transform .45s var(--ease); will-change: transform; }
.nav__burger i:nth-child(2) { transform: translateY(4px); }
.menu-open .nav__burger i:nth-child(1) { transform: rotate(45deg); }
.menu-open .nav__burger i:nth-child(2) { transform: rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg); display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(92px, 13vh, 124px) var(--gut) max(28px, env(safe-area-inset-bottom, 0px));
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translate3d(0, -8px, 0);
  transition: opacity .34s var(--ease), transform .46s var(--ease), visibility 0s linear .34s;
}
.menu-open .menu { opacity: 1; visibility: visible; transform: none; transition: opacity .34s var(--ease), transform .46s var(--ease), visibility 0s; }
.menu__links a {
  display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(21px, 5.8vw, 27px); letter-spacing: -.03em;
  opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .46s var(--ease), transform .56s var(--ease), color .3s;
}
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu-open .menu__links a:nth-child(1) { transition-delay: .08s; }
.menu-open .menu__links a:nth-child(2) { transition-delay: .13s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: .18s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: .23s; }
.menu-open .menu__links a:nth-child(5) { transition-delay: .28s; }
.menu__links a:active { color: var(--teal); }
.menu__links span { font-family: var(--m); font-size: 11px; color: var(--teal); }
.menu__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; opacity: 0; transform: translate3d(0, 10px, 0);
  transition: opacity .46s var(--ease) .3s, transform .56s var(--ease) .3s; }
.menu-open .menu__foot { opacity: 1; transform: none; }
.menu__cta { width: 100%; justify-content: space-between; }
.menu__mail { font-size: 16px; color: var(--ink-2); }


/* ---------- 01 Hero ---------- */
.hero { padding: var(--frame); }
.hero__frame {
  position: relative; min-height: calc(100svh - 2 * var(--frame)); border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 80% at 85% 20%, rgba(60, 194, 182, .10), transparent 60%), radial-gradient(60% 70% at 70% 100%, rgba(42, 68, 142, .09), transparent 60%), #F8F9FA;
  box-shadow: 0 0 0 1px var(--line-2);
  display: flex; flex-direction: column; justify-content: flex-end;
}
/* option B: the logo star as a revolving hairline wireframe (js/star.js) */
.hero__star { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* option B: the eyebrow is plain text, not a chip */
[data-hero="b"] .hero__eyebrow { height: auto; padding: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; color: var(--teal); }
[data-hero="b"] .hero__eyebrow i { display: none; }
/* option B: nav links sit on the photo — give them a light glass backing until the nav turns into the floating pill */
[data-hero="b"] .nav:not(.is-float) .nav__links { padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 0 1px 1px #fff, 0 0 0 1px rgba(255, 255, 255, .55), 0 10px 30px -14px rgba(14, 24, 56, .28); }
[data-hero="b"] .nav:not(.is-float) .nav__links a { opacity: 1; color: var(--ink); }
.hero__b { position: absolute; inset: 0; z-index: 0; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.08); }
/* the side wash is measured against the centred content box (max --max), not the full frame, so wide screens keep the copy on the solid part */
.hero__wash { position: absolute; inset: 0; --wo: max(0px, (100% - var(--max)) / 2); --ww: min(100%, var(--max));
  background: linear-gradient(90deg, rgba(248, 249, 250, .97) 0%, rgba(248, 249, 250, .97) var(--wo), rgba(248, 249, 250, .9) calc(var(--wo) + var(--ww) * .3), rgba(248, 249, 250, .38) calc(var(--wo) + var(--ww) * .58), rgba(248, 249, 250, .06) calc(var(--wo) + var(--ww) * .8)),linear-gradient(0deg, rgba(248, 249, 250, .9), transparent 30%), radial-gradient(60% 60% at 75% 40%, rgba(60, 194, 182, .14), transparent 70%); }

.hero__in { position: relative; z-index: 2; width: 100%; max-width: calc(var(--max) - 2 * var(--frame)); margin: 0 auto;
  padding: 150px calc(var(--gut) - var(--frame)) clamp(40px, 6vh, 72px); pointer-events: none;
  /* fill the frame above the rail and centre the copy in it, so tall screens don't sink it to the bottom */
  flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; }
.hero__copy { max-width: 860px; }
.hero__in a, .hero__in button { pointer-events: auto; }
.hero__title { margin-top: 26px; font-size: clamp(48px, 6.6vw, 112px); line-height: .98; font-weight: 300; letter-spacing: -.052em; }
.hl { display: block; overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; }
.hl__i { display: inline-block; }
.hl--soft { font-weight: 200; color: var(--ink-3); }
.hero__card { margin-top: clamp(28px, 4vh, 44px); max-width: 560px; }
.hero__lead { font-size: clamp(16px, 1.2vw, 18.5px); line-height: 1.6; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__rail { position: relative; z-index: 2; width: 100%; max-width: calc(var(--max) - 2 * var(--frame)); margin: 0 auto;
  padding: 0 calc(var(--gut) - var(--frame)); color: var(--ink-3); }
.hero__rail-in { display: flex; justify-content: space-between; align-items: center; height: 58px; border-top: 1px solid var(--line); }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; }
.hero__scroll i { position: relative; width: 1px; height: 22px; background: var(--line); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--teal); animation: drip 2.4s var(--ease-io) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- Section heads ---------- */
.head { display: grid; gap: 26px; justify-items: start; }
.head__row { width: 100%; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px var(--gut); align-items: end; }
/* heads with no supporting paragraph keep their title on one line */
#capabilities .head__row, #sovereignty .head__row, #applications .head__row { grid-template-columns: minmax(0, 1fr); }
.h2 { font-size: clamp(38px, 4.8vw, 78px); line-height: 1.02; font-weight: 300; letter-spacing: -.045em; }
.body-l { font-size: clamp(16.5px, 1.25vw, 19px); line-height: 1.62; color: var(--ink-2); max-width: 32em; }
.sl-mask { display: block; overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- 02 Approach — glass over the street ---------- */
.stage { position: relative; margin-top: clamp(48px, 5vw, 72px); height: clamp(540px, 84vh, 860px); border-radius: var(--r-xl); overflow: hidden; isolation: isolate; background: #060B1A; }
.stage__img { position: absolute; inset: -8% 0; }
.stage__img img, .stage__img video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
.stage__img video { opacity: .45; filter: saturate(.85) brightness(.85); }   /* kept quiet on a near-black navy so the cards lead */
.stage__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 20, 38, 0) 40%, rgba(8, 20, 38, .55) 100%); pointer-events: none; }
.vows { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
/* dark liquid glass: clear, softly blurred, bright rim; on hover the whole card fills with the brand gradient and glows */
.vow {
  --rx: 0deg; --ry: 0deg; --gx: 30%; --gy: 0%;
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; min-height: clamp(170px, 15vw, 220px); padding: 22px; border-radius: var(--r-l);
  background: linear-gradient(140deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .03) 55%, rgba(60, 194, 182, .06));
  -webkit-backdrop-filter: blur(7px) saturate(160%) brightness(1.05); backdrop-filter: blur(7px) saturate(160%) brightness(1.05);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .35), inset 0 -1px 1px rgba(255, 255, 255, .08), inset 0 0 24px rgba(255, 255, 255, .05), 0 24px 50px -24px rgba(0, 0, 0, .6);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s;
}
.lg-refract .vow { -webkit-backdrop-filter: url(#lgEdge) blur(6px) saturate(160%); backdrop-filter: url(#lgEdge) blur(6px) saturate(160%); }
.vow::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(260px circle at var(--gx) var(--gy), rgba(255, 255, 255, .28), transparent 65%), var(--grad); opacity: 0; transition: opacity .6s var(--ease); }
.vow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(120% 70% at 18% -10%, rgba(255, 255, 255, .22), transparent 55%); }
.vow:hover { border-color: rgba(143, 240, 232, .55); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .5), 0 0 0 1px rgba(60, 194, 182, .25), 0 0 46px -4px rgba(60, 194, 182, .55), 0 30px 60px -24px rgba(0, 0, 0, .6); }
.vow:hover::before { opacity: .92; }
.vow > * { position: relative; z-index: 1; }
.vow__ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .14); color: var(--teal-l); transition: background .5s, color .5s; }
.vow__ic .ic { width: 22px; height: 22px; }
.vow:hover .vow__ic { background: rgba(255, 255, 255, .2); color: #fff; }
.vow__n { position: absolute; top: 22px; right: 22px; font-size: clamp(15px, 1.25vw, 19px); letter-spacing: .06em; color: rgba(255, 255, 255, .6); text-transform: none; }
.vow h3 { font-size: clamp(26px, 2.4vw, 40px); line-height: 1.02; letter-spacing: -.04em; font-weight: 300; margin-top: 40px; color: #fff; }

/* ---------- 03 Capabilities ---------- */
.caps__grid { margin-top: clamp(48px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cap {
  position: relative; display: flex; flex-direction: column; min-height: clamp(290px, 23vw, 340px); padding: clamp(24px, 2.2vw, 34px);
  background: var(--card); border-radius: var(--r-l); box-shadow: 0 0 0 1px var(--line-2), 0 1px 2px rgba(14, 24, 56, .03);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.cap::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--grad); pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .6s var(--ease); }
.cap:hover::before { opacity: 1; }
.cap:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(0, 143, 140, .18), 0 30px 60px -30px rgba(14, 24, 56, .3); }
.cap__ic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(160deg, #F7F9FA, #EDF1F3); box-shadow: inset 0 1px 1px #fff, inset 0 0 0 1px rgba(14, 24, 56, .05); transition: background .6s var(--ease), box-shadow .6s; }
.cap:hover .cap__ic { background: var(--grad); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .4), 0 12px 24px -12px rgba(0, 143, 140, .7); }
.cap__n { position: absolute; top: clamp(24px, 2.2vw, 33px); right: clamp(24px, 2.2vw, 34px); font-size: clamp(15px, 1.25vw, 19px); letter-spacing: .06em; color: var(--ink-3); }
.ico { width: 34px; height: 34px; fill: none; stroke: var(--navy); stroke-width: 1.3; overflow: visible; transition: stroke .5s; }
.ico * { vector-effect: non-scaling-stroke; transition: transform .8s var(--ease), stroke .5s, fill .5s, opacity .5s; transform-box: fill-box; transform-origin: center; }
.cap:hover .ico { stroke: #fff; }
.cap__h { margin-top: auto; font-size: clamp(20px, 1.6vw, 25px); line-height: 1.16; letter-spacing: -.028em; font-weight: 400; max-width: 13em; }
.cap__p { margin-top: 12px; color: var(--ink-2); font-size: 15px; line-height: 1.55; max-width: 26em; }
.cap:hover .ico--models path:nth-child(1) { transform: translateY(-4px); }
.cap:hover .ico--models path:nth-child(3) { transform: translateY(3px); }
.cap:hover .ico--voice path { animation: voice 1.1s var(--ease-io) infinite alternate; }
.cap:hover .ico--voice path:nth-child(2) { animation-delay: -.22s; }
.cap:hover .ico--voice path:nth-child(3) { animation-delay: -.44s; }
.cap:hover .ico--voice path:nth-child(4) { animation-delay: -.66s; }
.cap:hover .ico--voice path:nth-child(5) { animation-delay: -.88s; }
.cap:hover .ico--voice path:nth-child(6) { animation-delay: -1.1s; }
@keyframes voice { 0% { transform: scaleY(1); } 50% { transform: scaleY(.35); } 100% { transform: scaleY(1.15); } }
.ico--docs .lens2 { opacity: 0; }
.cap:hover .ico--docs .lens2 { opacity: 1; }
.cap:hover .ico--docs .d2 { transform: scaleX(.55); transform-origin: 0 50%; }
.ico--agents .orb { fill: none; }
.cap:hover .ico--agents { animation: spin 6s linear infinite; }
.cap:hover .ico--agents .orb { fill: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.ico--data .k { fill: none; }
.cap:hover .ico--data .k { fill: #fff; }
.cap:hover .ico--data .k1 { transform: translateX(9px); }
.cap:hover .ico--data .k2 { transform: translateX(-8px); }
.cap:hover .ico--data .k3 { transform: translateX(7px); }
.ico--deploy .led { fill: none; }
.cap:hover .ico--deploy .led { fill: #fff; animation: blink 1.5s steps(1, end) infinite; }
.cap:hover .ico--deploy .led:nth-of-type(2) { animation-delay: .25s; }
.cap:hover .ico--deploy .led:nth-of-type(3) { animation-delay: .5s; }
.cap:hover .ico--deploy .slot { transform: scaleX(.55); transform-origin: 0 50%; }
.cap:hover .ico--deploy .slot:nth-of-type(2) { transform: scaleX(.8); }
@keyframes blink { 40%, 100% { opacity: .25; } }

/* ---------- 04 Lingoscribe — the prism ---------- */
.lingo { padding: 0 var(--frame); }
.lingo__panel { position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; color: var(--on-night); padding: clamp(84px, 9vw, 130px) 0 clamp(56px, 6vw, 88px);
  background: radial-gradient(60% 50% at 44% 56%, rgba(0, 143, 140, .22), transparent 70%), radial-gradient(50% 60% at 100% 0%, rgba(42, 68, 142, .5), transparent 70%), var(--night); }
.lingo__glow { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(238, 242, 246, .08) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask: radial-gradient(70% 60% at 50% 55%, #000, transparent 75%); mask: radial-gradient(70% 60% at 50% 55%, #000, transparent 75%); }
.lingo__head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.lingo__title { margin-top: 26px; font-size: clamp(56px, 8.2vw, 136px); line-height: .98; letter-spacing: .012em; font-weight: 200; }
.lingo__lead { margin-top: 26px; max-width: 42em; font-size: clamp(16.5px, 1.25vw, 19px); line-height: 1.6; color: var(--on-night-2); }

.lingo__stage { position: relative; }
.prism { position: relative; margin: clamp(32px, 4vw, 56px) auto 0; aspect-ratio: 1400 / 600; max-width: 1320px; }
.lingo__steps { display: none; }
@media (min-width: 961px) {
  /* the pinned stage keeps clear of the fixed nav (frame + 6px offset + 68px pill) at the top and the step dots at the bottom */
  .lingo__stage { --lg-top: calc(var(--frame) + 6px + 68px + 24px); --lg-bot: 24px; --lg-steps: calc(clamp(20px, 3.4vh, 40px) + 6px);
    min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: var(--lg-top) 0 var(--lg-bot); }
  /* never let the prism grow taller than the space left between the nav and the step dots */
  .prism { width: 100%; margin-top: 0; max-width: min(1320px, (100svh - var(--lg-top) - var(--lg-bot) - var(--lg-steps)) * 1400 / 600); }
  .lingo__steps { display: flex; gap: 8px; justify-content: center; margin-top: clamp(20px, 3.4vh, 40px); opacity: 0; transition: opacity .5s var(--ease); }
  .lingo__steps.is-live { opacity: 1; }
  .lingo__steps i { width: 30px; height: 3px; border-radius: 2px; background: rgba(238, 242, 246, .16); transition: background .45s var(--ease), transform .45s var(--ease); }
  .lingo__steps i.is-on { background: var(--teal-l); transform: scaleY(1.8); }
}
.prism__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.prism__wave { fill: none; stroke: url(#gIn); stroke-width: 1.6; stroke-linecap: round; }
.prism__wave2 { fill: none; stroke: rgba(127, 214, 207, .22); stroke-width: 1; }
.p-out { fill: none; stroke: rgba(238, 242, 246, .2); stroke-width: 1.1; transition: stroke .6s, stroke-width .6s; }
.p-out.is-on { stroke: var(--teal-l); stroke-width: 1.7; }
.p-dot { fill: #E8F7F5; }
.p-tip { fill: #0E1E3A; stroke: rgba(238, 242, 246, .35); stroke-width: 1.2; transition: fill .5s, stroke .5s; }
.p-tip.is-on { fill: var(--teal-l); stroke: var(--teal-l); }
.prism__mic { position: absolute; left: 11.4%; top: 38.3%; transform: translate(-50%, -50%); width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; color: var(--teal-l); box-shadow: inset 0 0 0 1px rgba(60, 194, 182, .4); background: rgba(60, 194, 182, .08); }
.prism__mic .ic { width: 26px; height: 26px; }
.prism__mic::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(60, 194, 182, .35); animation: ping 2.4s var(--ease) infinite; }
.prism__core { position: absolute; left: 50%; top: 38.3%; width: clamp(110px, 12.4%, 170px); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; }
.prism__core::before { content: ""; position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(60, 194, 182, .35), transparent); z-index: -1; animation: breathe 3.6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .7; } }
.prism__core > canvas { position: absolute; z-index: 3; left: -30%; top: -30%; width: 160%; height: 160%; pointer-events: none; }
.prism__feats { position: absolute; inset: 0; pointer-events: none; }
.prism__feats li { position: absolute; left: 82.6%; transform: translateY(-50%); }
.prism__feats li:nth-child(1) { top: 5%; }
.prism__feats li:nth-child(2) { top: 18.33%; }
.prism__feats li:nth-child(3) { top: 31.67%; }
.prism__feats li:nth-child(4) { top: 45%; }
.prism__feats li:nth-child(5) { top: 58.33%; }
.prism__feats li:nth-child(6) { top: 71.67%; }
.prism__feats button {
  pointer-events: auto; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px;
  font-size: 14px; white-space: nowrap; color: var(--on-night-2); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--night-line), inset 0 1px 1px rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: color .4s, background .5s, box-shadow .5s, transform .6s var(--ease);
}
.prism__feats button i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; transition: background .4s, border-color .4s; }
.prism__feats button:hover { color: var(--on-night); }
.prism__feats button.is-on { color: #fff; background: linear-gradient(135deg, rgba(0, 143, 140, .85), rgba(42, 68, 142, .85)); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .3), 0 10px 30px -10px rgba(60, 194, 182, .6); transform: translateX(6px); }
.prism__feats button.is-on i { background: #fff; border-color: #fff; }
.out { position: absolute; left: 50%; top: 71%; width: min(560px, 56%); transform: translateX(-50%); border-radius: var(--r-l); padding: 12px 18px 12px; min-height: 0; }
.out__k { display: flex; justify-content: space-between; color: var(--teal-l); font-size: 10px; margin-bottom: 6px; }
.out__k span + span { color: var(--on-night-3); }
.out__src { font-size: 9.5px; letter-spacing: .1em; color: var(--on-night-3); margin-bottom: 6px; }
.out__v { display: none; }
.out__v.is-on { display: block; animation: outIn .7s var(--ease) both; }
@keyframes outIn { from { opacity: 0; transform: translateY(6px); filter: blur(4px); } }
.ur { font-family: var(--ur); font-size: 15px; line-height: 1.8; color: var(--on-night); text-align: right; }
.en { font-size: 13.5px; color: var(--on-night-2); line-height: 1.5; text-align: right; }
.en--l { text-align: left; font-size: 14px; color: var(--on-night); }
.spk { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 12px; padding: 4px 0; }
.spk b { font-weight: 400; font-size: 12.5px; }
.spk .s1 { color: var(--teal-l); }
.spk .s2 { color: #9DB2EC; }
.spk__t { position: relative; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .06); }
.spk__t i { position: absolute; top: 0; bottom: 0; left: var(--x); width: var(--w); border-radius: 3px; transform-origin: 0 50%; animation: grow .9s var(--ease) both; }
.spk:first-child .spk__t i { background: var(--teal-l); }
.spk:last-child .spk__t i { background: #9DB2EC; animation-delay: .15s; }
@keyframes grow { from { transform: scaleX(0); } }
.senti { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--on-night-2); padding: 6px 0; }
.senti span:last-child { color: #9FE0C6; }
.meter { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
.meter i { position: absolute; inset: 0; width: 78%; border-radius: 3px; background: linear-gradient(90deg, rgba(238, 242, 246, .3), #9FE0C6); transform-origin: 0 50%; animation: grow 1.3s var(--ease) both; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0; }
.chips span { display: inline-flex; gap: 8px; align-items: baseline; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; color: var(--on-night); background: rgba(60, 194, 182, .1); box-shadow: inset 0 0 0 1px rgba(60, 194, 182, .3); animation: outIn .6s var(--ease) both; }
.chips span:nth-child(2) { animation-delay: .1s; }
.chips span:nth-child(3) { animation-delay: .2s; }
.chips em { font-style: normal; font-family: var(--m); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-l); }
.lingo__foot { margin-top: clamp(48px, 5vw, 72px); padding-top: 32px; border-top: 1px solid var(--night-line); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) auto; gap: 32px var(--gut); align-items: center; }
.lingo__sub { font-size: 15px; color: var(--on-night-3); max-width: 30em; line-height: 1.6; }
.lingo__tag { font-size: clamp(20px, 1.7vw, 26px); letter-spacing: -.025em; line-height: 1.2; }
.lingo__tag span { color: var(--on-night-3); }

/* narrower desktops: keep every capability chip on one line */
@media (min-width: 961px) and (max-width: 1280px) {
  .prism__feats button { height: 36px; padding: 0 13px 0 11px; font-size: 13px; gap: 8px; }
  .prism__feats button i { width: 7px; height: 7px; }
}

/* ---------- 05 Sovereignty ---------- */
.sov__grid { margin-top: clamp(28px, 3vw, 44px); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px var(--gut); align-items: center; }
.sov__fig { display: flex; justify-content: center; }
.sov__fig svg { width: 100%; height: auto; max-height: min(68vh, 620px); overflow: visible; }
.sv-plate { fill: rgba(255, 255, 255, .8); stroke: rgba(14, 24, 56, .5); stroke-width: 1; vector-effect: non-scaling-stroke; transition: fill .6s, stroke .6s; }
.sv-side { fill: rgba(14, 24, 56, .05); stroke: rgba(14, 24, 56, .3); stroke-width: 1; vector-effect: non-scaling-stroke; transition: fill .6s, stroke .6s; }
.sv-line { fill: none; stroke: rgba(14, 24, 56, .45); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; transition: stroke .6s; }
.sv-fill { fill: rgba(14, 24, 56, .4); transition: fill .6s; }
.sv-soft { fill: rgba(14, 24, 56, .05); stroke: none; transition: fill .6s; }
.sv-glyph { font-family: var(--ur); font-size: 16px; fill: var(--navy); transition: fill .6s; text-anchor: middle; }
.sv-glyphL { font-family: var(--f); font-size: 15px; font-weight: 400; fill: var(--navy); text-anchor: middle; transition: fill .6s; }
.sv-lab { font-family: var(--m); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; fill: var(--ink-3); transition: fill .6s; }
.sv-lead { stroke: rgba(14, 24, 56, .2); stroke-width: 1; vector-effect: non-scaling-stroke; transition: stroke .6s; }
.sv-per { fill: none; stroke: rgba(14, 24, 56, .28); stroke-width: 1; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.sv-g { transition: opacity .6s var(--ease); cursor: pointer; }
.has-on .sv-g:not(.is-on) { opacity: .55; }
.sv-g.is-on .sv-plate { fill: rgba(232, 247, 245, .94); stroke: var(--teal); }
.sv-g.is-on .sv-side { fill: rgba(0, 143, 140, .14); stroke: var(--teal); }
.sv-g.is-on .sv-line { stroke: var(--teal); }
.sv-g.is-on .sv-fill { fill: var(--teal); }
.sv-g.is-on .sv-soft { fill: rgba(0, 143, 140, .12); }
.sv-g.is-on .sv-lab { fill: var(--teal); }
.sv-g.is-on .sv-lead { stroke: var(--teal); }
.sv-g.is-on .sv-glyph, .sv-g.is-on .sv-glyphL { fill: var(--teal); }
.sv-ic { fill: none; stroke: var(--navy); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; transition: stroke .6s; }
.sv-g.is-on .sv-ic { stroke: var(--teal); }
/* white chip under every icon and glyph, so they read as objects resting on the layer */
.sv-chip { fill: #fff; stroke: rgba(14, 24, 56, .2); stroke-width: 1; vector-effect: non-scaling-stroke; filter: drop-shadow(0 3px 7px rgba(14, 24, 56, .16)); transition: stroke .6s; }
.sv-g.is-on .sv-chip { stroke: rgba(0, 143, 140, .55); }
.sv-pulse { fill: none; stroke: var(--teal); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0; transform-box: fill-box; transform-origin: center; }
.sv-g.is-on .sv-pulse { animation: svp 2.2s var(--ease) infinite; }
@keyframes svp { 0% { opacity: .8; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.6); } }
.pillars { display: flex; flex-direction: column; gap: 10px; }
.pillar {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start; padding: 20px 22px; border-radius: var(--r-l);
  background: var(--card); box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; outline: none;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.pillar.is-on { transform: translateX(-8px); box-shadow: 0 0 0 1px rgba(0, 143, 140, .35), 0 24px 50px -26px rgba(0, 143, 140, .5); }
.pillar__ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: var(--navy); background: linear-gradient(160deg, #F7F9FA, #EDF1F3); box-shadow: inset 0 1px 1px #fff, inset 0 0 0 1px rgba(14, 24, 56, .05); transition: background .6s, color .6s; }
.pillar__ic .ic { width: 24px; height: 24px; }
.pillar.is-on .pillar__ic { background: var(--grad); color: #fff; }
.pillar__n { color: var(--ink-3); font-size: 12px; letter-spacing: .1em; transition: color .5s; }
.pillar.is-on .pillar__n { color: var(--teal); }
.pillar h3 { margin-top: 4px; font-size: clamp(19px, 1.45vw, 23px); font-weight: 400; letter-spacing: -.025em; }
.pillar p { margin-top: 4px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }

/* ---------- 06 Applications ---------- */
.apps__row { margin-top: clamp(48px, 5vw, 72px); display: flex; gap: 12px; height: clamp(540px, 76vh, 720px); }
.app { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--r-l); background: var(--night); cursor: pointer; transition: flex-grow 1s var(--ease); }
.app.is-on { flex-grow: 2.6; }
.app img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.7) brightness(.86); transform: scale(1.06); transition: filter 1.2s var(--ease), transform 1.6s var(--ease); }
.app.is-on img { filter: none; transform: scale(1); }
.app::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(var(--shade, 14, 20, 30), .96) 0%, rgba(var(--shade, 14, 20, 30), .78) 22%, rgba(var(--shade, 14, 20, 30), .3) 46%, rgba(var(--shade, 14, 20, 30), 0) 62%), linear-gradient(180deg, rgba(var(--shade, 14, 20, 30), .35), transparent 22%); }
.app__n { position: absolute; z-index: 2; top: 18px; left: 22px; color: rgba(255, 255, 255, .85); font-size: clamp(15px, 1.25vw, 19px); letter-spacing: .06em; }
.app__body { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; }
.app__card { padding: 0; }
.app h3 { font-size: clamp(17px, 1.35vw, 22px); line-height: 1.2; font-weight: 400; letter-spacing: -.025em; color: #fff; }
.app__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease); }
.app__more p { overflow: hidden; min-height: 0; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .78); opacity: 0; transition: opacity .5s, padding .8s var(--ease); max-width: 40em; }
.app.is-on .app__more { grid-template-rows: 1fr; }
.app.is-on .app__more p { opacity: 1; padding-top: 8px; transition-delay: .25s, 0s; }

/* ---------- 07 About ---------- */
.about__logo { width: 100%; height: auto; overflow: visible; }
.about__logo path { fill: var(--navy); fill-opacity: 0; stroke: rgba(42, 68, 142, .55); stroke-width: 1.1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.about__logo .lg-teal, .about__logo .lg-star { fill: var(--teal); stroke: rgba(0, 143, 140, .75); }
.about__grid { margin-top: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px var(--gut); align-items: center; }
.venn { position: relative; max-width: 520px; }
.venn svg { width: 100%; height: auto; overflow: visible; }
.venn__web { fill: none; stroke: rgba(0, 143, 140, .28); stroke-width: 1; stroke-dasharray: 2 6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.venn__c circle { stroke: rgba(42, 68, 142, .3); stroke-width: 1; vector-effect: non-scaling-stroke; transition: stroke .6s, opacity .6s; }
.venn__c .venn__n { fill: var(--teal); stroke: none; transition: fill .6s; }
.venn__c text { font-family: var(--m); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; fill: var(--ink-2); text-anchor: middle; transition: fill .6s; }
.venn__c:hover circle { stroke: var(--teal); }
.venn__c:hover .venn__n { fill: var(--teal); }
.venn__c:hover text { fill: var(--teal); }
.venn__glow { stroke: none; }
.venn__orbit { fill: none; stroke: rgba(0, 143, 140, .3); stroke-width: 1; stroke-dasharray: 2 8; stroke-linecap: round; vector-effect: non-scaling-stroke;
  transform-box: fill-box; transform-origin: center; animation: vspin 26s linear infinite; }
@keyframes vspin { to { transform: rotate(360deg); } }
.venn__halo { fill: #fff; stroke: rgba(0, 143, 140, .16); stroke-width: 1; vector-effect: non-scaling-stroke; filter: drop-shadow(0 6px 16px rgba(14, 24, 56, .1)); }
.venn__disc { fill: url(#gLoop); stroke: none; }
.venn__sheen { stroke: none; pointer-events: none; }
.venn__core use { fill: #fff; stroke: none; }
.about__copy .body-l { margin-top: 28px; max-width: 100%; }
.place { position: relative; margin-top: clamp(56px, 6vw, 96px); height: clamp(380px, 56vh, 600px); border-radius: var(--r-xl); overflow: hidden; }
.place img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.place::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(8, 16, 40, .62) 0%, rgba(8, 16, 40, .28) 32%, rgba(8, 16, 40, 0) 58%); }
.place__line { position: absolute; z-index: 1; left: clamp(24px, 3.4vw, 52px); bottom: clamp(22px, 3.2vw, 48px); margin: 0; max-width: 90%;
  font-size: clamp(28px, 3.4vw, 52px); font-weight: 300; line-height: 1.05; letter-spacing: -.035em; color: #fff; text-shadow: 0 2px 24px rgba(8, 16, 40, .35); }
.place__line span { color: rgba(255, 255, 255, .72); }
.pin { position: relative; width: 9px; height: 9px; background: var(--teal); border-radius: 50%; }
.pin::after { content: ""; position: absolute; inset: -6px; border: 1px solid var(--teal); border-radius: 50%; animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

/* ---------- 08 How we work — the loop ---------- */
.how { position: relative; }
.how__pin { min-height: 100svh; display: flex; align-items: center; padding: 100px 0 60px; }
.how__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px var(--gut); align-items: center; }
.how__copy .h2 { margin-top: 26px; }
.how__now { margin-top: clamp(40px, 5vw, 72px); padding-top: 26px; border-top: 1px solid var(--line); }
.how__count { color: var(--ink-3); font-size: clamp(15px, 1.25vw, 19px); letter-spacing: .06em; }
.how__count b { font-weight: 500; color: var(--teal); }
.how__texts { display: grid; margin-top: 18px; }
.how__t { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity .6s var(--ease), transform .8s var(--ease), filter .6s; pointer-events: none; }
.how__t.is-on { opacity: 1; transform: none; filter: none; }
.how__t h3 { font-size: clamp(40px, 4vw, 64px); font-weight: 200; letter-spacing: -.05em; line-height: 1; }
.how__t p { margin-top: 16px; font-size: clamp(16.5px, 1.25vw, 19px); color: var(--ink-2); max-width: 24em; line-height: 1.55; }
.loop { position: relative; width: min(600px, 100%); aspect-ratio: 1; margin-left: auto; }
.loop__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.loop__track { fill: none; stroke: var(--line); stroke-width: 1; }
.loop__glow { stroke: none; }
.loop__ticks { fill: none; stroke: rgba(14, 24, 56, .18); stroke-width: 6; stroke-dasharray: .6 12.5; }
.loop__inner { fill: none; stroke: rgba(0, 143, 140, .22); stroke-dasharray: 2 7; stroke-linecap: round; }
.loop__arc { fill: none; stroke: url(#gLoop); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: 300px 300px; filter: drop-shadow(0 0 12px rgba(0, 143, 140, .45)); }
.loop__core { position: absolute; left: 50%; top: 50%; width: 42%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--navy); }
.loop__core .ic { width: 44px; height: 44px; stroke-width: 1.1; color: var(--teal); }
.loop__core .mono { color: var(--ink-2); }
.loop__node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; cursor: default; }
.loop__b { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--card); color: var(--ink-3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px var(--line), 0 12px 28px -14px rgba(14, 24, 56, .4); transition: background .6s, color .6s, box-shadow .6s, transform .7s var(--spring); }
.loop__l { font-family: var(--m); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); transition: color .5s; position: absolute; white-space: nowrap; }
.loop__node[data-s="0"] .loop__l { bottom: 100%; margin-bottom: 12px; }
.loop__node[data-s="1"] .loop__l { left: 50%; top: 100%; margin-top: 16px; transform: translateX(-50%); }
.loop__node[data-s="2"] .loop__l { top: 100%; margin-top: 12px; }
.loop__node[data-s="3"] .loop__l { left: 50%; top: 100%; margin-top: 16px; transform: translateX(-50%); }
.loop__node.is-done .loop__b { color: var(--teal); box-shadow: 0 0 0 1px rgba(0, 143, 140, .35); }
.loop__node.is-on .loop__b { background: var(--grad); color: #fff; transform: scale(1.12); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .4), 0 0 0 6px rgba(0, 143, 140, .1), 0 18px 38px -12px rgba(0, 143, 140, .65); }
.loop__node.is-on .loop__l { color: var(--teal); }
.loop__dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(0, 143, 140, .15), 0 0 20px rgba(0, 143, 140, .6); left: 50%; top: 11.7%; }

/* ---------- 09 Contact ---------- */
.contact { padding: 0 var(--frame); margin-top: clamp(40px, 5vw, 80px); }
.contact__card { position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; background: var(--night); color: var(--on-night); min-height: min(86vh, 780px); display: flex; align-items: center; }
.contact__img { position: absolute; right: 0; top: 0; bottom: 0; width: 58%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -2; }
.contact__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--night) 0%, var(--night) 40%, rgba(10, 19, 50, .55) 62%, rgba(10, 19, 50, .15) 100%), radial-gradient(40% 50% at 78% 60%, rgba(0, 143, 140, .25), transparent 70%); }
.contact__in { width: 100%; max-width: calc(var(--max) - 2 * var(--frame)); margin: 0 auto;
  padding: clamp(56px, 7vw, 110px) calc(var(--gut) - var(--frame)); }
.contact__copy { max-width: 860px; }
.contact__h { margin-top: 28px; font-size: clamp(50px, 7vw, 120px); line-height: .95; font-weight: 200; letter-spacing: -.06em; }
.contact__h .soft { color: var(--on-night-3); }
.contact__p { margin-top: 28px; max-width: 30em; font-size: clamp(16.5px, 1.25vw, 19px); color: var(--on-night-2); }
.contact__acts { margin-top: 40px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* ---------- Footer — the name, fading in from the light ---------- */
.foot { padding: clamp(80px, 9vw, 130px) 0 28px; overflow: hidden; }
.foot__mark { --mx: -999px; --my: -999px; margin-top: 0; position: relative; }
.foot__mark svg { width: 100%; height: auto; --lgt: var(--teal); --lgn: var(--navy);
  -webkit-mask-image: radial-gradient(320px circle at var(--mx) var(--my), #000 0%, transparent 70%), linear-gradient(90deg, rgba(0, 0, 0, .07) 0%, rgba(0, 0, 0, .16) 40%, rgba(0, 0, 0, .9) 100%);
  mask-image: radial-gradient(320px circle at var(--mx) var(--my), #000 0%, transparent 70%), linear-gradient(90deg, rgba(0, 0, 0, .07) 0%, rgba(0, 0, 0, .16) 40%, rgba(0, 0, 0, .9) 100%); }
.foot__base { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: 13px; color: var(--ink-3); }
/* the floating scroll-progress button clears the base line, so it keeps the right edge */
@media (min-width: 721px) { .foot { padding-bottom: 84px; } }

.totop {
  position: fixed; z-index: 120; right: max(var(--gut), 18px); bottom: max(22px, env(safe-area-inset-bottom, 0px));
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--navy); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.92);
  transition: opacity .5s var(--ease), transform .6s var(--spring), visibility .5s, color .5s;
}
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { transform: translateY(-3px); }
.totop .ic { width: 19px; height: 19px; stroke-width: 1.6; }
.totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.totop__track { fill: none; stroke: rgba(14, 24, 56, .1); stroke-width: 1.6; }
.totop__bar { fill: none; stroke: url(#gLoop); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .15s linear; }
.totop.on-dark { color: var(--on-night); background: linear-gradient(135deg, rgba(20, 32, 72, .62), rgba(10, 19, 50, .42)); border-color: rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .18), 0 22px 44px -18px rgba(0, 0, 0, .6); }
.totop.on-dark::after { opacity: 0; }
.totop.on-dark .totop__track { stroke: rgba(238, 242, 246, .22); }
.menu-open .totop { opacity: 0; visibility: hidden; }

/* ---------- Contact drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__veil { position: absolute; inset: 0; background: rgba(10, 19, 50, .3); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .6s var(--ease); }
.drawer.is-open .drawer__veil { opacity: 1; }
.drawer__panel {
  position: absolute; top: 10px; right: 10px; bottom: 10px; width: min(540px, calc(100% - 20px)); border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .78)); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 1px #fff, 0 40px 80px -30px rgba(10, 19, 50, .45);
  padding: clamp(10px, 2.6svh, 22px) clamp(20px, 3vw, 44px) max(clamp(10px, 3.6svh, 32px), env(safe-area-inset-bottom, 0px)); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  scrollbar-width: none; -ms-overflow-style: none; display: flex; flex-direction: column;
  transform: translateX(calc(100% + 20px)); transition: transform .8s var(--ease-io);
}
.drawer__panel::-webkit-scrollbar { width: 0; height: 0; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; color: var(--ink-3); }
.drawer__x { position: relative; width: clamp(32px, 5.6svh, 44px); height: clamp(32px, 5.6svh, 44px); border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.drawer__x i { position: absolute; left: 32%; right: 32%; top: calc(50% - .6px); height: 1.2px; background: var(--ink); transform: rotate(45deg); transition: transform .5s var(--ease); }
.drawer__x i + i { transform: rotate(-45deg); }
.drawer__x:hover i { transform: rotate(135deg); }
.drawer__x:hover i + i { transform: rotate(45deg); }
/* every vertical size in the drawer scales with the screen height, so the whole form fits short screens without scrolling */
.drawer__title { margin-top: clamp(6px, 5svh, 58px); font-size: min(clamp(27px, 6.6vw, 52px), max(22px, 6.4svh)); line-height: 1.02; letter-spacing: -.045em; font-weight: 300; }
.form { margin-top: clamp(8px, 4svh, 36px); display: flex; flex-direction: column; gap: clamp(1px, .5svh, 4px); }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(14, 24, 56, .05); margin-bottom: clamp(6px, 2.2svh, 18px); }
.seg label { position: relative; z-index: 1; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; height: clamp(28px, 5.4svh, 42px); border-radius: 999px; font-size: clamp(12.5px, 1.8svh, 14px); color: var(--ink-2); transition: color .5s var(--ease); }
.seg input:checked + span { color: #fff; }
.seg input:focus-visible + span { outline: 1.5px solid var(--teal); outline-offset: -3px; }
.seg__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--ink); transition: transform .6s var(--spring), background .6s; }
.seg.is-demo .seg__pill { transform: translateX(100%); background: var(--teal); }
.field { --fp: clamp(11px, 3.6svh, 30px); --fs: clamp(14px, 2.1svh, 17px); position: relative; display: block; border-bottom: 1px solid var(--line); }
.field::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--teal); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field input, .field textarea { width: 100%; border: 0; background: none; font: inherit; font-size: var(--fs); color: var(--ink); padding: var(--fp) 0 clamp(5px, 1.4svh, 12px); resize: none; outline: none; }
.field span { position: absolute; left: 0; top: var(--fp); font-size: var(--fs); color: var(--ink-3); pointer-events: none; transform-origin: 0 0; transition: transform .5s var(--ease), color .5s; }
.field input:focus + span, .field input:not(:placeholder-shown) + span, .field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(calc(var(--fp) * -.66)) scale(.72); color: var(--teal); }
.field.is-bad span { color: #C2412E; }
/* the form fills the panel and the message box takes whatever height is left (within limits), so the send button always stays on screen */
.drawer__head, .drawer__title { flex: none; }
.form { flex: 1 0 auto; }
.field--msg { flex: 1 1 0; display: flex; flex-direction: column; min-height: clamp(40px, 12svh, 104px); max-height: 240px; }
.field--msg textarea { flex: 1 1 auto; height: 0; min-height: 0; } /* base height 0: the label's flex sizing decides it, not rows="4" */
.form__go { margin-top: clamp(8px, 3.6svh, 30px); width: 100%; justify-content: space-between; --h: clamp(38px, 7svh, 60px); font-size: clamp(13px, 1.9svh, 15.5px); }
.form__note { margin-top: clamp(6px, 1.4svh, 12px); color: var(--ink-3); font-size: clamp(12px, 1.7svh, 13px); }
.form__note.is-bad { color: #C2412E; }
.form__note a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.form__go[disabled] { opacity: .6; cursor: progress; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* the acknowledgement that replaces the form once the message is away */
.form[hidden], .sent[hidden] { display: none; }
.sent { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: clamp(30px, 6vh, 58px); animation: outIn .7s var(--ease) both; }
.sent__tick { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 16px 34px -16px rgba(0, 143, 140, .7); }
.sent__tick .ic { width: 26px; height: 26px; stroke-width: 1.5; }
.sent h3 { font-size: clamp(26px, 5.6vw, 38px); font-weight: 300; letter-spacing: -.04em; line-height: 1.05; }
.sent p { color: var(--ink-2); max-width: 30em; font-size: 15.5px; }
.sent .btn { margin-top: 8px; }

.reduce *, .reduce *::before, .reduce *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links a { padding: 8px 9px; }
  .lingo__foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lingo__cta { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav.is-float .nav__pill { padding: 0 5px 0 15px; }
  .head__row { grid-template-columns: minmax(0, 1fr); }
  .caps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sov__grid { grid-template-columns: minmax(0, 1fr); }
  .sov__fig { max-width: 560px; margin: 0 auto; width: 100%; }
  .pillar.is-on { transform: none; }
  .apps__row { flex-direction: column; height: auto; }
  .app, .app.is-on { flex: none; height: 420px; }
  .app .app__more { grid-template-rows: 1fr; }
  .app .app__more p { opacity: 1; padding-top: 8px; }
  .app img { filter: none; transform: none; }
  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .venn { margin: 0 auto; }
  .how__grid { grid-template-columns: minmax(0, 1fr); }
  .loop { margin: 0 auto; width: min(520px, 100%); }
  .contact__img { width: 100%; opacity: .45; }
  .contact__shade { background: linear-gradient(180deg, rgba(10, 19, 50, .6), var(--night) 80%); }
}
@media (max-width: 960px) {
  .prism { aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; gap: 22px; }
  .prism__svg, .prism__mic { display: none; }
  .prism__core { position: relative; left: auto; top: auto; transform: none; width: clamp(110px, 18vw, 150px); }
  .prism__feats { position: relative; inset: auto; width: 100%; max-width: 640px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .prism__feats li { position: static; transform: none; display: flex; }
  .prism__feats button { flex: 1; justify-content: center; height: 42px; padding: 0 12px; font-size: 13px; gap: 8px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .prism__feats button.is-on { transform: none; }
  .out { position: relative; left: auto; top: auto; transform: none; width: 100%; max-width: 640px; }
}
@media (max-width: 720px) {
  :root { --frame: 6px; --sec: 74px; }
  .hero__in { padding-top: 120px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__wash { background: linear-gradient(0deg, rgba(248, 249, 250, .98) 0%, rgba(248, 249, 250, .92) 48%, rgba(248, 249, 250, .3) 80%); }
  .stage { height: auto; min-height: 0; padding: 220px 12px 12px; }
  .stage__img { inset: 0; }
  .vows { position: relative; left: auto; right: auto; bottom: auto; grid-template-columns: minmax(0, 1fr); }
  .vow { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; padding: 16px; }
  .vow h3 { margin-top: 0; font-size: clamp(19px, 5.4vw, 24px); letter-spacing: -.03em; }
  .vow__n { display: none; }
  .caps__grid { grid-template-columns: minmax(0, 1fr); }
  .cap { min-height: 0; }
  .cap__h { margin-top: 34px; }
  .lingo__foot { grid-template-columns: minmax(0, 1fr); }
  .pillar { grid-template-columns: 48px minmax(0, 1fr); padding: 18px; gap: 14px; }
  .pillar__ic { width: 48px; height: 48px; }
  .app, .app.is-on { height: 380px; }
  .place__line { left: 20px; bottom: 20px; font-size: 26px; }
  .place__line span { display: block; }
  .foot__base { flex-direction: column; }
}
/* very short screens: drop the reply-time hint (errors still show) to keep the send button in view */
@media (max-height: 480px) {
  .form__note:not(.is-bad) { display: none; }
}
@media (max-width: 420px) {
  .prism__feats { gap: 7px; }
  .prism__feats button { font-size: 12px; padding: 0 10px; gap: 7px; }
  .prism__feats button i { width: 7px; height: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll i::after, .pin::after, .prism__core svg, .prism__core::before, .prism__mic::after, .venn__orbit { animation: none !important; }
  .menu, .menu__links a, .menu__mail, .nav__burger i { transition-duration: .001s !important; }
}
@media (max-width: 720px) {
  .loop__b { width: 48px; height: 48px; }
}
@media (max-width: 720px) {
  [data-hero="b"] .hero__in { padding-top: 34svh; justify-content: flex-end; }
  .hero__rail-in > span:first-child { display: none; }
}

.about__h { margin-top: 22px; }
