@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* Lautan Kreasi Digital — IT Consulting landing
   Brand: deep teal #00353f, cyan #08c5d1, wave cyan #64e6de, slate #50626f
   Concept: the page is a dive. It starts on the sand at the shoreline and
   descends through the sunlight, twilight, and midnight zones to the abyss.
   Each zone is a layer colour (--z-*); deep layers re-map the text tokens. */

:root {
  --brand-deep: #00353f;
  --brand: #08c5d1;
  --brand-soft: #64e6de;
  --brand-slate: #50626f;

  /* Depth zones, shore to abyss */
  /* Pelagic zones: epipelagic 0–200 m, mesopelagic 200–1,000 m,
     bathypelagic 1,000–4,000 m, abyssopelagic 4,000–6,000 m, hadal 6,000 m+ */
  --z-shore: #ffffff;
  /* Below the white hero the page drops straight into the dark-water palette */
  --z-sun: #0c272c;
  --z-epi3: #0b2a31;
  --z-epi: #c2eaee;
  --z-epi2: #8dd0dc;
  --z-meso: #0b2a31;
  --z-meso2: #09252b;
  --z-meso3: #082127;
  --z-bathy: #061b21;
  --z-bathy2: #05161b;
  --z-abyss: #031015;
  --z-hadal: #01080b;
  --z-floor: #000405;

  --bg: var(--z-shore);
  --bg-alt: rgba(12, 52, 60, .05);
  --surface: #fdfcf8;
  --text: #0c2a31;
  --text-2: #4a5f63;
  --hairline: rgba(12, 42, 49, .1);
  --nav-bg: rgba(255, 255, 255, .78);

  /* White wash used where the hero meets the first zone */
  --wash-strong: rgba(255, 255, 255, .86);
  --wash: rgba(255, 255, 255, .6);
  --wash-soft: rgba(255, 255, 255, .22);
  --accent: #0a7b84;          /* AA-contrast cyan for text/links on sand */
  --grad-a: #0c3a44;
  --grad-b: #0a8f99;
  --shadow: 0 1px 2px rgba(12, 52, 60, .05), 0 18px 40px -16px rgba(12, 62, 72, .22);

  --radius-l: 28px;
  --radius-m: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1120px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --z-shore: #101b1d;
    --z-epi: #0c2327;
    --z-epi2: #0c272c;
    --z-meso: #0b2a31;
    --z-meso2: #09252b;
    --z-meso3: #082127;
    --z-bathy: #061b21;
    --z-bathy2: #05161b;
    --z-abyss: #031015;
    --z-hadal: #01080b;
    --z-floor: #000405;
    --wash-strong: rgba(8, 20, 24, .88);
    --wash: rgba(8, 20, 24, .7);
    --wash-soft: rgba(8, 20, 24, .45);
    --bg: var(--z-shore);
    --bg-alt: rgba(255, 255, 255, .05);
    --surface: #0f262c;
    --text: #eef4f2;
    --text-2: #9db0b2;
    --hairline: rgba(255, 255, 255, .1);
    --nav-bg: rgba(8, 23, 27, .72);
    --accent: #64e6de;
    --grad-a: #9cf0e9;
    --grad-b: #08c5d1;
    --shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 20px 50px -20px rgba(0, 0, 0, .8);
  }
}
:root[data-theme="dark"] {
  --z-shore: #101b1d;
  --z-epi: #0c2327;
  --z-epi2: #0c272c;
  --z-meso: #0b2a31;
  --z-meso2: #09252b;
  --z-meso3: #082127;
  --z-bathy: #061b21;
  --z-bathy2: #05161b;
  --z-abyss: #031015;
  --z-hadal: #01080b;
  --z-floor: #000405;
  --wash-strong: rgba(8, 20, 24, .88);
  --wash: rgba(8, 20, 24, .7);
  --wash-soft: rgba(8, 20, 24, .45);
  --bg: var(--z-shore);
  --bg-alt: rgba(255, 255, 255, .05);
  --surface: #0f262c;
  --text: #eef4f2;
  --text-2: #9db0b2;
  --hairline: rgba(255, 255, 255, .1);
  --nav-bg: rgba(8, 23, 27, .72);
  --accent: #64e6de;
  --grad-a: #9cf0e9;
  --grad-b: #08c5d1;
  --shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 20px 50px -20px rgba(0, 0, 0, .8);
}

@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, .009, .035 2.1%, .141 4.4%, .281 6.7%, .723 12.9%, .938 16.7%, 1.017 20.5%, 1.043 24.5%, 1.035 28.4%, 1.007 36%, .997 41.4%, 1.001 56.8%, 1);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.025em; }
::selection { background: var(--brand-soft); color: #00262d; }

/* Fine grain so the flat zones read like water and sand, not plastic */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: .035;
  will-change: transform;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 12px;
}
.skip:focus { top: 12px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; flex: none; }
.section-head--center .eyebrow { justify-content: center; }
.h2 {
  text-wrap: balance;
  font-weight: 700;
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.04;
  letter-spacing: -.04em;
}
.h2 em, .hero__title em { font-style: normal; color: var(--accent); }
.section-lead {
  text-wrap: pretty;
  font-size: clamp(19px, 2vw, 21px);
  line-height: 1.4;
  color: var(--text-2);
  max-width: 640px;
  margin-top: 18px;
}
.grad {
  background: linear-gradient(100deg, var(--grad-a) 10%, var(--grad-b) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border-radius: 980px;
  background: var(--brand-deep); color: #fff;
  font-size: 17px; font-weight: 500;
  border: 0; cursor: pointer;
  transition: transform .5s var(--spring), background-color .3s;
}
.btn:hover { text-decoration: none; background: #004a58; transform: scale(1.03); }
.btn:active { transform: scale(.96); }
.btn--small { min-height: 32px; padding: 0 14px; font-size: 13px; white-space: nowrap; }
.btn--ghost {
  background: transparent; color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--hairline);
}
.btn--ghost:hover { background: var(--hairline); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn:not(.btn--ghost) { background: var(--brand); color: #00262d; }
  :root:not([data-theme="light"]) .btn:not(.btn--ghost):hover { background: var(--brand-soft); }
}
:root[data-theme="dark"] .btn:not(.btn--ghost) { background: var(--brand); color: #00262d; }

.link-arrow { font-size: 17px; font-weight: 500; }
.link-arrow span { display: inline-block; transition: transform .35s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: transparent;
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav.is-scrolled {
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--hairline);
}
.nav__inner {
  max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
  height: 56px; display: flex; align-items: center; gap: 24px;
}
.nav__brand { color: var(--text); display: flex; align-items: center; }
.logo { width: 118px; height: 50px; color: var(--text); }
.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a { color: var(--text); opacity: .8; font-size: 13px; letter-spacing: 0; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; text-decoration: none; }
.nav__links a.is-current { opacity: 1; font-weight: 600; }
.nav__toggle { display: none; }
.nav__lang {
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  color: var(--text); opacity: .75;
  padding: 5px 9px; border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--hairline);
  transition: opacity .2s, background-color .2s;
}
.nav__lang:hover { opacity: 1; text-decoration: none; background: var(--hairline); }
.nav__lang--push { margin-left: auto; }
@media (max-width: 960px) and (min-width: 761px) {
  .nav__links { gap: 16px; }
}

@media (max-width: 760px) {
  .nav__inner { gap: 12px; }
  .nav__lang { margin-left: auto; }
  .nav__toggle {
    display: grid; place-content: center; gap: 6px;
    width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; padding: 0;
  }
  .nav__toggle span {
    width: 18px; height: 1.5px; background: var(--text); border-radius: 2px;
    transition: transform .45s var(--ease);
  }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 56px 0 auto 0;
    flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--bg);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 1px 0 var(--hairline);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path .5s var(--ease), visibility 0s .5s;
  }
  .nav__links.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .5s var(--ease); }
  .nav__links a { font-size: 22px; font-weight: 600; padding: 12px 0; opacity: 1; border-bottom: 1px solid var(--hairline); }
  .nav.menu-open { background: var(--nav-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
}

/* ---------- Hero ---------- */
/* Beach: an animated flat illustration of the south Malang coast. White sky behind
   the headline, the sea rising round the dashboard panel, sand in the near corners */
.hero {
  padding-top: clamp(96px, 13vh, 132px);
  background-color: var(--layer);
}
.hero__bg {
  position: absolute; z-index: -1; left: 0; right: 0; top: 0;
  bottom: calc(clamp(460px, 64vw, 760px) * .5);
  overflow: hidden;
}
.coastmap { position: absolute; inset: 0; color: var(--accent); }
.coastmap svg, .cm__base { position: absolute; inset: 0; width: 100%; height: 100%; }
.cm__base { object-fit: cover; object-position: 50% 0; }
@media (max-width: 760px) {
  /* Phones: the copy fills the width, so the chart sits lower and the labels step aside */
  .coastmap { top: 120px; }
  .cm__seas, .cm__glabels { display: none; }
}
/* The archipelago stays faint behind the headline and copy and is fully drawn from Java
   down to the panel; the office pin and the sea names sit on an unmasked layer. */
.cm__base {
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .14) 0%, rgba(0, 0, 0, .16) 52%, #000 66%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .14) 0%, rgba(0, 0, 0, .16) 52%, #000 66%);
}
/* Wide screens: keep the chart at its drawn size (lines stay hairline) and fade its sides */
@media (min-width: 1441px) {
  .coastmap {
    left: 50%; right: auto; width: 1440px; margin-left: -720px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  }
}
/* A soft white halo keeps the copy crisp wherever a contour runs behind it */
.hero__lead, .hero__cue, .hero__actions .link-arrow, .hero__meta { text-shadow: 0 0 6px #fff, 0 0 14px #fff, 0 0 22px #fff; }
.cm__glabels text { font: 500 11px/1 var(--font); letter-spacing: .06em; fill: var(--text-2); opacity: .55; font-variant-numeric: tabular-nums; }
.cm__ocean { font: 500 14px/1 var(--font); fill: var(--accent); opacity: .5; letter-spacing: .32em; text-transform: uppercase; }
.cm__sea { font: 500 11px/1 var(--font); fill: var(--accent); opacity: .55; letter-spacing: .28em; text-transform: uppercase; }
.cm__city { font: 600 13px/1 var(--font); fill: var(--text); }
.cm__dot { fill: var(--accent); stroke: #fff; stroke-width: 2; }
.cm__pulse { fill: none; stroke: var(--accent); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: cm-pulse 3.2s var(--ease) infinite; }
.cm__pulse--2 { animation-delay: 1.6s; }
@keyframes cm-pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 64%, var(--z-shore) 100%);
}
.hero__meta { border-bottom-color: rgba(12, 42, 49, .14); }
.hero__meta .eyebrow { color: var(--text); }
.hero__lead { color: var(--text); opacity: .82; }
@media (max-width: 760px) {
  .hero__bg::after { background: linear-gradient(to bottom, transparent 58%, var(--z-shore) 100%); }
}
.hero__stage { position: relative; }
.hero { position: relative; isolation: isolate; }

.hero__copy {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 6vw, 96px);
  align-items: end;
  transform: translateY(calc(var(--hy, 0) * 1px));
  opacity: var(--ho, 1);
  will-change: transform, opacity;
}
.hero__meta {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px;
  padding-bottom: 16px; margin-bottom: clamp(24px, 4vw, 44px);
  border-bottom: 1px solid var(--hairline);
}
.hero__meta .eyebrow { margin: 0; }
.hero__coords { font-size: 13px; font-weight: 500; letter-spacing: .08em; color: var(--text-2); font-variant-numeric: tabular-nums; }
.hero__title {
  grid-column: 1 / -1;
  font-size: clamp(40px, 5.8vw, 84px);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 700;
  text-wrap: balance;
}
.hero__lead {
  grid-column: 2; grid-row: 3;
  font-size: clamp(18px, 1.9vw, 21px);
  line-height: 1.45;
  color: var(--text-2);
  max-width: 520px;
  margin-top: clamp(24px, 3vw, 36px);
  text-wrap: pretty;
}
.hero__actions { grid-column: 2; grid-row: 4; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 28px; }
.hero__cue {
  grid-column: 1; grid-row: 4; justify-self: start;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--text-2);
}
.hero__cue i { position: relative; width: 1px; height: 40px; background: var(--hairline); overflow: hidden; }
.hero__cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 14px; background: var(--accent); animation: sound 2.4s var(--ease-in-out) infinite; }
.hero__cue:hover { text-decoration: none; color: var(--text); }
@keyframes sound { from { transform: translateY(-14px); } to { transform: translateY(40px); } }
@media (max-width: 760px) {
  .hero__copy { grid-template-columns: 1fr; }
  .hero__lead, .hero__actions { grid-column: 1; grid-row: auto; }
  .hero__cue { display: none; }
}
.hero__actions--center { margin-top: 32px; }

.hero__stage { padding: clamp(48px, 7vw, 80px) var(--gutter) 0; }
.hero__panel {
  --p: 0;
  position: relative;
  max-width: 1280px; margin-inline: auto;
  height: clamp(460px, 64vw, 760px);
  border-radius: calc(var(--radius-l) + 12px * (1 - var(--p)));
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, #0b5c69 0%, var(--brand-deep) 55%, #001a1f 100%);
  transform: perspective(1800px) rotateX(calc(16deg * (1 - var(--p)))) scale(calc(.86 + .14 * var(--p)));
  transform-origin: 50% 0;
  will-change: transform;
  isolation: isolate;
}
.hero__glow {
  position: absolute; inset: -30% 10% auto; height: 80%;
  background: radial-gradient(closest-side, rgba(100, 230, 222, .35), transparent);
  filter: blur(20px);
  transform: translateY(calc(-40px * var(--p)));
}


/* Rising bubbles (hero) and drifting glints (abyss) share one particle rule */
.bubbles, .glints { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.bubbles i, .glints i {
  --x: 50%; --s: 6px; --d: 12s; --o: -2s;
  position: absolute; left: var(--x); bottom: -24px;
  width: var(--s); height: var(--s); border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(200, 250, 245, .55), inset 2px -2px 3px rgba(200, 250, 245, .25);
  animation: rise-up var(--d) linear var(--o) infinite;
}
.glints i { background: #64e6de; box-shadow: 0 0 12px 2px rgba(100, 230, 222, .55); opacity: .5; animation-name: drift-up; }
.bubbles i:nth-child(1), .glints i:nth-child(1) { --x: 8%; --s: 5px; --d: 14s; --o: -3s; }
.bubbles i:nth-child(2), .glints i:nth-child(2) { --x: 19%; --s: 9px; --d: 18s; --o: -11s; }
.bubbles i:nth-child(3), .glints i:nth-child(3) { --x: 31%; --s: 4px; --d: 11s; --o: -6s; }
.bubbles i:nth-child(4), .glints i:nth-child(4) { --x: 47%; --s: 7px; --d: 16s; --o: -1s; }
.bubbles i:nth-child(5), .glints i:nth-child(5) { --x: 62%; --s: 5px; --d: 13s; --o: -9s; }
.bubbles i:nth-child(6), .glints i:nth-child(6) { --x: 74%; --s: 10px; --d: 20s; --o: -14s; }
.bubbles i:nth-child(7), .glints i:nth-child(7) { --x: 86%; --s: 4px; --d: 12s; --o: -4s; }
.bubbles i:nth-child(8), .glints i:nth-child(8) { --x: 94%; --s: 6px; --d: 17s; --o: -8s; }
.glints i:nth-child(9) { --x: 40%; --s: 3px; --d: 22s; --o: -16s; }
.glints i:nth-child(10) { --x: 56%; --s: 4px; --d: 19s; --o: -5s; }
.glints i:nth-child(n) { --s: 3px; }
.glints i:nth-child(2n) { --s: 4px; }
@keyframes rise-up {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translate(10px, -50vh); }
  90% { opacity: .8; }
  100% { transform: translate(-6px, -100vh); opacity: 0; }
}
@keyframes drift-up {
  0% { transform: translate(0, 0); opacity: 0; }
  20% { opacity: .7; }
  50% { transform: translate(-18px, -45vh); opacity: .25; }
  80% { opacity: .7; }
  100% { transform: translate(12px, -90vh); opacity: 0; }
}

.window {
  position: absolute; left: 50%; top: 50%;
  width: min(86%, 920px);
  transform: translate(-50%, calc(-54% + 30px * (1 - var(--p))));
  border-radius: 18px;
  /* Solid frosted tint instead of backdrop-filter: the panel transforms on every scroll
     frame, and a live blur inside it is what makes Safari/macOS stutter. */
  background: linear-gradient(rgba(255, 255, 255, .09), rgba(255, 255, 255, .09)), rgba(4, 52, 60, .78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 40px 80px -30px rgba(0, 0, 0, .6);
  color: #eaf9fa;
  font-size: 12px;
  z-index: 2;
}
.window__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .25); flex: none; }
.dot:nth-child(1) { background: #ff5f57; } .dot:nth-child(2) { background: #febc2e; } .dot:nth-child(3) { background: #28c840; }
.window__title { margin-left: 10px; font-size: 13px; font-weight: 600; opacity: .9; white-space: nowrap; }
.win-tabs { display: flex; gap: 2px; margin-left: auto; padding: 3px; border-radius: 9px; background: rgba(0, 0, 0, .18); }
.win-tabs span { padding: 4px 10px; border-radius: 7px; opacity: .65; font-weight: 500; }
.win-tabs .is-on { opacity: 1; background: rgba(255, 255, 255, .16); }
.win-status { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; padding: 4px 10px; border-radius: 999px; font-weight: 600; color: #7ef0c0; background: rgba(40, 200, 120, .14); white-space: nowrap; }
.win-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.win-avatars, .team { display: flex; }
.win-avatars { margin-left: 10px; }
.win-avatars b, .team b {
  display: grid; place-items: center; width: 24px; height: 24px; margin-left: -3px; border-radius: 50%;
  font-size: 9px; font-weight: 700; color: #00353f; box-shadow: 0 0 0 2px #0e4a55;
}
.win-avatars b:nth-child(1), .team b:nth-child(1) { background: #64e6de; }
.win-avatars b:nth-child(2), .team b:nth-child(2) { background: #f5c46b; }
.win-avatars b:nth-child(3), .team b:nth-child(3) { background: #b9a6ff; }
.team b:nth-child(4) { background: #ff9f8f; }
.team b.more { background: rgba(255, 255, 255, .2); color: #fff; }

.window__body {
  display: grid; grid-template-columns: 168px minmax(0, 1fr);
  grid-template-areas: "side gantt" "kpis kpis";
}

/* Sidebar */
.win-side { grid-area: side; padding: 18px 16px; border-right: 1px solid rgba(255, 255, 255, .08); }
.win-side__label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; opacity: .55; }
.win-side__name { margin-top: 4px; font-size: 13px; font-weight: 600; line-height: 1.3; }
.win-phases { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.win-phases li { display: flex; align-items: center; gap: 8px; opacity: .6; }
.win-phases li::before {
  content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45);
}
.win-phases .is-done { opacity: .9; }
.win-phases .is-done::before { background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%2300353f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: none; }
.win-phases .is-now { opacity: 1; font-weight: 600; }
.win-phases .is-now::before { box-shadow: inset 0 0 0 1.5px var(--brand-soft); background: radial-gradient(circle, var(--brand-soft) 0 3px, transparent 3.5px); }

/* Gantt */
.gantt { --lw: 128px; grid-area: gantt; padding: 16px 18px 14px; }
.gantt__head { display: grid; grid-template-columns: repeat(4, 1fr); padding-left: var(--lw); margin-bottom: 8px; }
.gantt__head span { font-weight: 600; opacity: .55; }
.gantt__grid { position: relative; display: grid; gap: 9px; }
.gantt__grid::before {
  content: ""; position: absolute; top: -4px; bottom: -4px; left: var(--lw); right: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 25% 100%, calc(100% / 12) 100%;
  pointer-events: none;
}
.gantt__row { position: relative; display: grid; grid-template-columns: var(--lw) minmax(0, 1fr); align-items: center; min-height: 24px; }
.gantt__label { opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 10px; }
.gbar {
  position: relative; grid-column: 2;
  height: 18px; border-radius: 999px; overflow: hidden;
  margin-left: calc(var(--s) / 12 * 100%);
  width: calc(var(--w) / 12 * 100%);
  background: rgba(100, 230, 222, .22);
  box-shadow: inset 0 0 0 1px rgba(100, 230, 222, .35);
  transform-origin: left center; transform: scaleX(0);
  transition: transform 1.1s var(--ease);
}
.gbar::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--brand-soft), var(--brand));
  box-shadow: 0 6px 18px -6px rgba(8, 197, 209, .7);
  transform-origin: left center; transform: scaleX(0);
  transition: transform 1.2s var(--ease) .5s;
}
.gbar b { position: relative; z-index: 1; display: block; padding: 0 8px; line-height: 18px; font-size: 10px; font-weight: 700; color: #00353f; text-align: right; opacity: 0; transition: opacity .4s .9s; }
.gbar--next { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.gbar--plan { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .14) 0 4px, rgba(255, 255, 255, .05) 4px 8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.gantt__row:nth-child(3) .gbar { transition-delay: .1s; }
.gantt__row:nth-child(4) .gbar { transition-delay: .2s; }
.gantt__row:nth-child(5) .gbar { transition-delay: .3s; }
.gantt__row:nth-child(6) .gbar { transition-delay: .4s; }
.gantt__milestone {
  position: absolute; top: 50%; width: 12px; height: 12px;
  left: calc(var(--lw) + (100% - var(--lw)) * var(--at) / 12 - 6px);
  background: #f5c46b; border-radius: 2px; box-shadow: 0 0 0 3px rgba(245, 196, 107, .25);
  transform: translateY(-50%) rotate(45deg) scale(0);
  transition: transform .6s var(--spring) 1.1s;
}
.gantt__today {
  position: absolute; z-index: 2; top: -22px; bottom: -6px; width: 0;
  left: calc(var(--lw) + (100% - var(--lw)) * var(--at) / 12);
  border-left: 1.5px dashed #ff8f7a;
  opacity: 0; transition: opacity .6s 1s;
}
.gantt__today em {
  position: absolute; top: 0; left: 0; transform: translateX(-50%);
  padding: 1px 6px; border-radius: 6px; font-style: normal; font-size: 9px; font-weight: 700;
  color: #3a0d05; background: #ff8f7a; white-space: nowrap;
}
.is-ready .gbar { transform: scaleX(1); }
.is-ready .gbar::before { transform: scaleX(var(--done)); }
.is-ready .gbar b { opacity: 1; }
.is-ready .gantt__milestone { transform: translateY(-50%) rotate(45deg) scale(1); }
.is-ready .gantt__today { opacity: 1; }

/* KPI row */
.win-kpis { grid-area: kpis; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, .08); }
.kpi { position: relative; display: grid; gap: 2px; padding: 14px 18px; }
.kpi + .kpi { border-left: 1px solid rgba(255, 255, 255, .08); }
.kpi__label { font-size: 11px; opacity: .6; }
.kpi__value { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.kpi__value small { margin-left: 6px; font-size: 11px; font-weight: 600; color: #7ef0c0; }
.kpi:nth-child(2) .kpi__value small, .kpi:nth-child(3) .kpi__value small { color: inherit; opacity: .55; margin-left: 3px; }
.kpi__spark { position: absolute; right: 18px; bottom: 16px; width: 38%; height: 30px; overflow: visible; }
.kpi__spark path {
  fill: none; stroke: var(--brand-soft); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 1.6s var(--ease) .6s;
}
.kpi--ring { grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; }
.kpi--ring > div { display: grid; gap: 2px; }
.kpi__ring { width: 40px; height: 40px; transform: rotate(-90deg); }
.kpi__ring circle { fill: none; stroke-width: 4; stroke: rgba(255, 255, 255, .14); }
.kpi__ring .kpi__ring-fill {
  stroke: var(--brand-soft); stroke-linecap: round;
  stroke-dasharray: 94.25; stroke-dashoffset: 94.25;
  transition: stroke-dashoffset 1.4s var(--ease) .7s;
}
.kpi__meter { display: block; height: 5px; margin-top: 6px; border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.kpi__meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-soft), #7ef0c0); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) .8s; }
.is-ready .kpi__spark path { stroke-dashoffset: 0; }
.is-ready .kpi__ring .kpi__ring-fill { stroke-dashoffset: calc(94.25 * (1 - var(--v))); }
.is-ready .kpi__meter i { transform: scaleX(var(--v)); }

/* Floating detail cards around the window */
.fcard {
  position: absolute; z-index: 3;
  display: grid; gap: 8px; min-width: 190px;
  padding: 12px 14px; border-radius: 16px;
  color: #fff; font-size: 12px;
  background: linear-gradient(rgba(255, 255, 255, .12), rgba(255, 255, 255, .12)), rgba(6, 60, 68, .82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 20px 40px -20px rgba(0, 0, 0, .5);
  animation: float 7s var(--ease-in-out) infinite alternate;
}
.fcard__title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.fcard__title i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-soft); box-shadow: 0 0 10px var(--brand-soft); }
.fcard__meta { opacity: .7; }
.sev { display: flex; gap: 4px; height: 6px; }
.sev i { flex: var(--v); border-radius: 999px; background: #ff8f7a; }
.sev i:nth-child(2) { background: #f5c46b; } .sev i:nth-child(3) { background: var(--brand-soft); }
.nodes { width: 140px; height: 56px; }
.nodes path { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 1.5; stroke-dasharray: 4 3; animation: flow 1.6s linear infinite; }
.nodes circle { fill: #0e4a55; stroke: var(--brand-soft); stroke-width: 2; }
.nodes circle:nth-of-type(2) { fill: var(--brand-soft); }
@keyframes flow { to { stroke-dashoffset: -14; } }
.team b { width: 28px; height: 28px; font-size: 10px; }
.team b:first-child { margin-left: 0; }
.fcard--audit { left: 3%; top: 5%; }
.fcard--cloud { right: 3%; top: 5%; animation-delay: -2.5s; }
.fcard--team { left: 5%; bottom: 5%; animation-delay: -5s; }
@keyframes float { from { transform: translateY(-6px); } to { transform: translateY(8px); } }

.waves { position: absolute; left: 0; right: 0; bottom: 0; width: 200%; height: 34%; z-index: 1; }
.wave { animation: drift 18s linear infinite; }
.wave--1 { fill: var(--brand-soft); opacity: .22; }
.wave--2 { fill: var(--brand-slate); opacity: .45; animation-duration: 26s; animation-direction: reverse; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 1100px) {
  .win-avatars, .fcard { display: none; }
}
@media (max-width: 900px) {
  .window__body { grid-template-columns: 1fr; grid-template-areas: "gantt" "kpis"; }
  .win-side, .win-tabs { display: none; }
  .win-status { margin-left: auto; }
}
@media (max-width: 640px) {
  .window { width: 92%; font-size: 11px; }
  .window__title { font-size: 12px; margin-left: 6px; }
  .gantt { --lw: 92px; padding: 14px 12px 12px; }
  .win-kpis { grid-template-columns: 1fr 1fr; }
  .kpi:nth-child(3) { display: none; }
  .kpi { padding: 12px; }
  .kpi__spark { display: none; }
  .kpi__value { font-size: 18px; }
  .win-status { display: none; }
}

/* ---------- Facts strip ---------- */
.facts { padding-top: clamp(112px, 12vw, 150px); }
.facts__list {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 0; border-top: 1px solid var(--hairline);
}
.facts__list > div { padding: 28px 24px 0 0; }
.facts__list dt {
  font-weight: 700; font-variant-numeric: tabular-nums;
  font-size: clamp(48px, 5.8vw, 70px); letter-spacing: -.05em; line-height: .95;
  background: linear-gradient(100deg, var(--grad-a), var(--grad-b));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.facts__list dd { margin: 10px 0 0; color: var(--text-2); font-size: 15px; max-width: 220px; }
@media (max-width: 760px) {
  .facts__list { grid-template-columns: 1fr 1fr; row-gap: 8px; }
}

/* ---------- Partners ---------- */
.partners { padding-top: clamp(72px, 9vw, 112px); text-align: center; }
.partners__title { font-size: 15px; font-weight: 600; color: var(--text-2); }
.partners__list {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius-m); overflow: hidden;
  gap: 1px; background: var(--hairline); box-shadow: 0 0 0 1px var(--hairline);
}
.partner {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 96px; padding: 0 12px;
  background: var(--bg);
  color: var(--text-2);
  font-size: 19px; font-weight: 700; letter-spacing: -.03em;
  transition: color .4s var(--ease);
}
/* Mixed-colour logos rendered as one white silhouette so they sit evenly on deep water */
.partner img {
  width: auto; height: 40px; max-width: 78%; object-fit: contain;
  filter: brightness(0) invert(1); opacity: .62;
  transition: opacity .4s var(--ease), transform .6s var(--spring);
}
.partner:hover img { opacity: 1; transform: scale(1.06); }
@media (max-width: 640px) {
  .partners__list { grid-template-columns: repeat(2, 1fr); }
  .partner { height: 80px; }
  .partner img { height: 32px; }
}

/* ---------- Approach ---------- */
.approach { padding-block: clamp(88px, 10vw, 140px); }
.approach__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.approach__sticky { position: sticky; top: 120px; }
.approach__index { list-style: none; display: flex; gap: 10px; padding: 0; margin: 40px 0 0; }
.approach__index li {
  font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums;
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; color: var(--text-2);
  box-shadow: inset 0 0 0 1px var(--hairline);
  transition: background-color .5s var(--ease), color .5s, transform .5s var(--ease);
}
.approach__index li.is-active { background: var(--brand-deep); color: #fff; transform: scale(1.08); box-shadow: none; }
.steps { position: relative; list-style: none; margin: 0; padding: 0 0 0 32px; display: grid; gap: clamp(40px, 7vh, 80px); padding-block: 2vh 6vh; }
.steps::before, .steps::after {
  content: ""; position: absolute; left: 0; top: 2vh; bottom: 6vh; width: 2px; border-radius: 2px;
}
.steps::before { background: var(--hairline); }
.steps::after {
  background: linear-gradient(var(--brand), var(--brand-deep));
  transform-origin: top; transform: scaleY(var(--progress, 0));
}
.step { opacity: .45; transform: translateY(12px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.step.is-active { opacity: 1; transform: none; }
.step__num { display: block; font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 10px; }
.step h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.12; }
.step p { margin-top: 12px; font-size: 19px; line-height: 1.45; color: var(--text-2); max-width: 460px; }

@media (max-width: 860px) {
  .approach__grid { grid-template-columns: 1fr; }
  .approach__sticky { position: static; }
  .approach__index { display: none; }
  .steps { padding-block: 0; gap: 40px; }
  .step { opacity: 1; transform: none; }
}

/* ---------- Services (bento) ---------- */
.services { padding-block: clamp(96px, 12vw, 160px); }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); max-width: 760px; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .section-lead { margin-inline: auto; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
  position: relative;
  grid-column: span 2;
  background: var(--surface);
  border-radius: var(--radius-l);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow);
  transition: transform .7s var(--spring), box-shadow .6s var(--ease);
  overflow: hidden;
}
.tile:hover { transform: translateY(-6px) scale(1.012); box-shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 30px 60px -18px rgba(0, 53, 63, .24); }
.tile h3 { font-size: 24px; line-height: 1.17; margin-top: 22px; }
.tile p { color: var(--text-2); margin-top: 10px; }
.tile__icon {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(8, 197, 209, .16), rgba(0, 53, 63, .08));
  color: var(--accent);
}
.tile__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.tile--hero {
  grid-column: span 4; grid-row: span 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 500px;
  color: #fff;
  background:
    radial-gradient(90% 70% at 85% 0%, rgba(100, 230, 222, .45), transparent 60%),
    linear-gradient(160deg, #0b5c69, var(--brand-deep) 60%, #001a1f);
}
.tile--hero h3 { font-weight: 700; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -.035em; }
.tile--hero p { color: rgba(255, 255, 255, .78); font-size: 19px; max-width: 520px; }
.tile--hero .tile__icon { position: absolute; top: clamp(28px, 3vw, 40px); left: clamp(28px, 3vw, 40px); background: rgba(255, 255, 255, .14); color: #fff; }
.tags { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); }

/* Consulting deliverables stack */
.deliverables {
  position: absolute; top: clamp(28px, 3vw, 40px); right: clamp(28px, 3vw, 40px);
  width: min(280px, 42%);
  display: grid; gap: 10px;
}
.deliverable {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; border-radius: 14px;
  font-size: 15px; font-weight: 500;
  background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  transform: translateX(calc(var(--i, 0) * -10px));
}
.deliverable:nth-child(2) { --i: 1; } .deliverable:nth-child(3) { --i: 2; } .deliverable:nth-child(4) { --i: 3; }
.deliverable__check {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-soft); position: relative;
}
.deliverable__check::after {
  content: ""; position: absolute; left: 8px; top: 4.5px; width: 5px; height: 10px;
  border: solid var(--brand-deep); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* Tall tile with real product screenshots */
.tile--tall { grid-row: span 2; display: flex; flex-direction: column; }
.tile__shots { position: relative; height: 210px; margin: -8px -8px 22px; }
.tile__shots img {
  position: absolute; width: 78%; height: auto; border-radius: 12px;
  box-shadow: 0 0 0 1px var(--hairline), 0 18px 40px -18px rgba(0, 0, 0, .35);
  transition: transform .8s var(--ease);
}
.tile__shots img:first-child { left: 0; top: 0; }
.tile__shots img:last-child { right: 0; top: 70px; }
.tile--tall:hover .tile__shots img:first-child { transform: translate(-4px, -4px); }
.tile--tall:hover .tile__shots img:last-child { transform: translate(4px, 4px); }
.tile--tall .tile__icon { margin-top: auto; }

.tile--wide { grid-column: span 3; display: flex; gap: 22px; align-items: flex-start; }

/* Game development: full-row tile, typographic (no screenshots) */
.tile--game {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: center;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(8, 197, 209, .10), transparent 60%),
    var(--surface);
}
.game-shipped { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.game-shipped__label { font-size: 13px; font-weight: 600; color: var(--text-2); margin-right: 4px; }
.game-shipped a {
  padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 500;
  color: var(--text); box-shadow: inset 0 0 0 1px var(--hairline);
  transition: box-shadow .3s, color .3s, transform .5s var(--spring);
}
.game-shipped a:hover { text-decoration: none; box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); transform: translateY(-2px); }

.game-panel {
  display: grid; gap: 24px;
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius-m);
  background: var(--bg-alt);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.game-caps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.game-caps li { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: start; }
.game-caps svg {
  grid-row: span 2; width: 36px; height: 36px; padding: 7px; border-radius: 10px;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  color: var(--accent); background: linear-gradient(140deg, rgba(8, 197, 209, .16), rgba(0, 53, 63, .06));
}
.game-caps strong { font-size: 15px; font-weight: 600; }
.game-caps span { font-size: 13px; color: var(--text-2); line-height: 1.4; }
.tile--wide h3 { margin-top: 2px; }

/* Full-row wide tile (legacy upgrade & security) */
.tile.tile--full { grid-column: 1 / -1; }
.tile--full p { max-width: 760px; }
.tile--full .tags { margin-top: 20px; }
.tile--full .tags li { color: var(--text-2); background: var(--bg-alt); box-shadow: inset 0 0 0 1px var(--hairline); }

@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile, .tile--wide { grid-column: span 1; }
  .tile--hero { grid-column: span 2; grid-row: auto; min-height: 460px; }
  .tile--tall { grid-row: auto; }
  .tile--game { grid-column: 1 / -1; grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .tile, .tile--wide, .tile--hero, .tile--game { grid-column: auto; }
  .tile--hero { min-height: 0; padding-top: 104px; }
  .deliverables { position: static; width: 100%; margin-bottom: 28px; }
  .deliverable { transform: none; }
  .tile--wide { flex-direction: column; gap: 0; }
  .tile--wide h3 { margin-top: 22px; }
  .game-caps { grid-template-columns: 1fr; }
}

/* ---------- Products ---------- */
.products { padding-block: clamp(96px, 12vw, 160px); }
.segmented {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  width: min(100%, 380px);
  margin: 0 auto clamp(36px, 5vw, 56px);
  padding: 4px;
  border-radius: 999px;
  background: var(--hairline);
}
.segmented button {
  position: relative; z-index: 1;
  border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 500;
  color: var(--text-2);
  height: 40px; border-radius: 999px;
  transition: color .3s;
}
.segmented button[aria-selected="true"] { color: var(--text); font-weight: 600; }
.segmented__count {
  display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; margin-left: 6px;
  border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--hairline); color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.segmented button[aria-selected="true"] .segmented__count { background: var(--brand-deep); color: #fff; }
.segmented__pill {
  position: absolute; top: 4px; bottom: 4px; left: 4px; will-change: transform;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .1), 0 0 0 .5px rgba(0, 0, 0, .04);
  transition: transform .6s var(--spring);
}
.segmented[data-index="1"] .segmented__pill { transform: translateX(100%); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-grid[hidden] { display: none; }
#panel-games { grid-template-columns: repeat(2, 1fr); }
.product-grid.is-entering .product { animation: rise .8s var(--ease) both; }
.product-grid.is-entering .product:nth-child(2) { animation-delay: .06s; }
.product-grid.is-entering .product:nth-child(3) { animation-delay: .12s; }
.product-grid.is-entering .product:nth-child(4) { animation-delay: .18s; }
.product-grid.is-entering .product:nth-child(5) { animation-delay: .24s; }
.product-grid.is-entering .product:nth-child(6) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes rise-from-right { from { opacity: 0; transform: translateX(48px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes rise-from-left { from { opacity: 0; transform: translateX(-48px) scale(.97); } to { opacity: 1; transform: none; } }
.product-grid.is-entering[data-dir="1"] .product { animation-name: rise-from-right; }
.product-grid.is-entering[data-dir="-1"] .product { animation-name: rise-from-left; }

.product {
  display: flex; flex-direction: column;
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  color: var(--text);
  transition: transform .7s var(--spring), box-shadow .6s var(--ease);
}
.product:hover { text-decoration: none; transform: translateY(-8px); box-shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 34px 64px -20px rgba(0, 53, 63, .28); }
.product__art {
  position: relative;
  aspect-ratio: 16 / 10;
  padding: 28px 28px 0;
  display: flex; align-items: flex-end;
  background:
    radial-gradient(80% 80% at 80% 10%, rgba(255, 255, 255, .28), transparent 60%),
    linear-gradient(150deg, var(--c1), var(--c2));
  overflow: hidden;
}
#panel-games .product__art { aspect-ratio: 16 / 9; }
/* Screenshot framed as a window rising from the bottom edge */
.product__shot {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 -6px 30px rgba(0, 0, 0, .28);
  transform: translateY(calc(10px + var(--py, 0) * 16px));
  transition: transform .9s var(--ease);
}
.product:hover .product__shot { transform: translateY(calc(var(--py, 0) * 16px)) scale(1.03); }
.product__meta { padding: 26px 28px 24px; display: flex; flex-direction: column; flex: 1; }
.product__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product h3 { font-size: 24px; }
.product__cat { margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.product__desc { margin: 12px 0 20px; color: var(--text-2); font-size: 16px; text-wrap: pretty; }
.product__foot {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 14px;
}
.product__platforms { color: var(--text-2); font-weight: 500; }
.badge {
  font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
  color: var(--text-2); box-shadow: inset 0 0 0 1px var(--hairline);
}
.badge--live { color: #13804a; background: rgba(40, 200, 64, .12); box-shadow: none; }
.badge--live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.badge--dev { color: #9a6700; background: rgba(254, 188, 46, .18); box-shadow: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .badge--live { color: #4ade80; background: rgba(74, 222, 128, .12); }
  :root:not([data-theme="light"]) .badge--dev { color: #fbbf24; background: rgba(251, 191, 36, .14); }
  :root:not([data-theme="light"]) .segmented button[aria-selected="true"] .segmented__count { background: var(--brand); color: #00262d; }
}
:root[data-theme="dark"] .badge--live { color: #4ade80; background: rgba(74, 222, 128, .12); }
:root[data-theme="dark"] .badge--dev { color: #fbbf24; background: rgba(251, 191, 36, .14); }
:root[data-theme="dark"] .segmented button[aria-selected="true"] .segmented__count { background: var(--brand); color: #00262d; }
#panel-apps { grid-template-columns: repeat(2, 1fr); }
.product--featured { grid-column: 1 / -1; flex-direction: row; }
.product--featured .product__art { flex: 1.55; aspect-ratio: auto; padding: 44px 0 0 44px; }
.product--featured .product__shot { height: auto; aspect-ratio: 1280 / 881; border-radius: 14px 0 0 0; object-position: top left; }
.product--featured .product__meta { flex: 1; padding: 44px 40px 36px; }
.product--featured h3 { font-weight: 700; font-size: 38px; letter-spacing: -.035em; }
.product--featured .product__desc { font-size: 17px; }
.product__url { font-size: 15px; font-weight: 500; color: var(--accent); white-space: nowrap; }


@media (max-width: 960px) {
  .product-grid, #panel-apps, #panel-games { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .product--featured { flex-direction: column; }
  .product--featured .product__art { padding: 28px 28px 0; }
  .product--featured .product__shot { border-radius: 12px 12px 0 0; }
  .product--featured .product__meta { padding: 24px 26px 28px; }
  .product--featured h3 { font-size: 30px; }
}
@media (max-width: 600px) {
  .product-grid, #panel-apps, #panel-games { grid-template-columns: 1fr; }
}

/* Srabutan Labs callout */
.labs {
  display: grid; grid-template-columns: 160px 1fr auto; gap: 24px; align-items: center;
  margin-top: 20px; padding: 16px 28px 16px 16px;
  border-radius: var(--radius-m);
  background: var(--surface); color: var(--text); box-shadow: var(--shadow);
  transition: transform .6s var(--ease);
}
.labs:hover { text-decoration: none; }
.labs img { width: 160px; height: auto; border-radius: 10px; box-shadow: 0 0 0 1px var(--hairline); }
.labs strong { display: block; font-size: 19px; }
.labs span { color: var(--text-2); font-size: 15px; }
.labs .labs__cta { color: var(--accent); font-weight: 500; white-space: nowrap; }
@media (max-width: 760px) {
  .labs { grid-template-columns: 96px 1fr; padding-right: 16px; }
  .labs img { width: 96px; }
  .labs .labs__cta { grid-column: 1 / -1; }
}

/* ---------- About ---------- */
.about {
  padding-block: clamp(96px, 12vw, 160px);
  position: relative; overflow: hidden;
}
.about__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.eyebrow--light { color: var(--brand-soft); }
.about__body > p { font-size: clamp(19px, 2vw, 22px); line-height: 1.45; color: rgba(255, 255, 255, .82); }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.pillar {
  padding: 24px; border-radius: var(--radius-m);
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.pillar h3 { font-size: 19px; }
.pillar p { margin-top: 8px; color: rgba(255, 255, 255, .7); font-size: 16px; }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact { padding-block: clamp(96px, 12vw, 160px); overflow: hidden; }
.contact > .container { position: relative; z-index: 2; }
.contact__grid {
  display: grid; grid-template-columns: 5fr 7fr; gap: 20px;
  align-items: stretch;
}

/* Brand panel */
.contact__panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 36px;
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: var(--radius-l);
  color: #fff;
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(100, 230, 222, .32), transparent 60%),
    linear-gradient(165deg, #0b5c69, var(--brand-deep) 55%, #001a1f);
}
.contact__panel-glow {
  position: absolute; z-index: -1; left: -30%; bottom: -40%;
  width: 90%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(8, 197, 209, .25), transparent);
  animation: breathe 9s var(--ease-in-out) infinite alternate;
}
@keyframes breathe { from { transform: scale(.9); opacity: .7; } to { transform: scale(1.15); opacity: 1; } }
.contact__panel-title { font-size: 22px; letter-spacing: -.02em; }

.next { list-style: none; margin: -16px 0 0; padding: 0; display: grid; gap: 4px; }
.next li { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding-bottom: 18px; }
.next li:not(:last-child)::before {
  content: ""; position: absolute; left: 15.5px; top: 36px; bottom: 2px; width: 1px;
  background: linear-gradient(rgba(100, 230, 222, .6), rgba(255, 255, 255, .1));
}
.next__num {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700;
  color: var(--brand-deep); background: var(--brand-soft);
}
.next strong { display: block; font-size: 17px; line-height: 32px; }
.next p { color: rgba(255, 255, 255, .72); font-size: 15px; }

.channels { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 10px; }
.channel {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center;
  padding: 14px 14px 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  transition: background-color .3s;
}
.channel:hover { background: rgba(255, 255, 255, .11); }
.channel__icon {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(100, 230, 222, .16); color: var(--brand-soft);
}
.channel__icon svg, .channel__copy svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.channel__body { min-width: 0; display: grid; }
.channel__label { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .6); }
.channel__body a { color: #fff; font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.channel__copy {
  position: relative;
  width: 36px; height: 36px; border-radius: 10px; border: 0; cursor: pointer;
  display: grid; place-items: center;
  color: rgba(255, 255, 255, .75); background: transparent;
  transition: background-color .2s, color .2s, transform .3s var(--ease);
}
.channel__copy:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.channel__copy:active { transform: scale(.9); }
.channel__copied {
  position: absolute; bottom: calc(100% + 6px); left: 50%;
  padding: 4px 8px; border-radius: 8px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
  color: var(--brand-deep); background: var(--brand-soft);
  opacity: 0; transform: translate(-50%, 4px) scale(.9);
  transition: opacity .25s, transform .4s var(--ease);
  pointer-events: none;
}
.channel__copy.is-copied .channel__copied { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* Brief form */
.brief {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.brief__topics { border: 0; margin: 0 0 10px; padding: 0; }
.brief__topics legend { padding: 0; margin-bottom: 14px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 38px; padding: 0 16px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  color: var(--text); background: var(--bg-alt);
  box-shadow: inset 0 0 0 1px var(--hairline);
  transition: background-color .3s var(--ease), color .3s, box-shadow .3s, transform .3s var(--ease);
}
.pill span::before {
  content: ""; width: 0; height: 10px; overflow: hidden;
  border: solid currentColor; border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -2px);
  opacity: 0; transition: width .3s var(--ease), opacity .2s;
}
.pill:hover span { box-shadow: inset 0 0 0 1px var(--accent); }
.pill input:checked + span { background: var(--brand-deep); color: #fff; box-shadow: none; }
.pill input:checked + span::before { width: 5px; opacity: 1; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pill input:checked + span { background: var(--brand); color: #00262d; }
}
:root[data-theme="dark"] .pill input:checked + span { background: var(--brand); color: #00262d; }
.pill input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.pill:active span { transform: scale(.96); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; display: block;
  padding: 26px 16px 10px;
  font: inherit; font-size: 17px; color: var(--text);
  background: var(--bg-alt);
  border: 0; border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--hairline);
  transition: box-shadow .25s, background-color .25s;
  resize: vertical;
}
.field textarea { min-height: 140px; height: 100%; }
.field--grow { flex: 1; display: flex; flex-direction: column; }
.field--grow textarea { flex: 1; }
.field input:focus, .field textarea:focus {
  outline: none; background: var(--surface);
  box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 4px rgba(8, 197, 209, .15);
}
.field label {
  position: absolute; left: 17px; top: 18px;
  font-size: 17px; color: var(--text-2);
  pointer-events: none; transform-origin: left top;
  transition: transform .3s var(--ease), color .2s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-10px) scale(.72);
}
.field input:focus + label, .field textarea:focus + label { color: var(--accent); }
.field .opt { opacity: .7; }
.field.is-invalid input, .field.is-invalid textarea { box-shadow: inset 0 0 0 2px #e5484d; }
.field.is-invalid label { color: #e5484d; }

.brief__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.btn svg { width: 18px; height: 18px; margin-left: 8px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.brief__note { font-size: 14px; color: var(--text-2); }
.brief__note.is-success { color: var(--accent); font-weight: 500; }

/* Map */
.map {
  position: relative; margin-top: 20px;
  height: clamp(280px, 32vw, 380px);
  border-radius: var(--radius-l); overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-alt);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.6) contrast(1.02); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.5); }
}
:root[data-theme="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.5); }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__panel { order: 2; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .brief__footer .btn { width: 100%; }
}

/* ---------- Engagement models ---------- */
.engagement { padding-block: clamp(96px, 12vw, 160px); }
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.model {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(28px, 3vw, 36px);
  border-radius: var(--radius-l);
  background: var(--surface); box-shadow: var(--shadow);
}
.model--featured { box-shadow: inset 0 0 0 2px var(--accent), var(--shadow); }
.model__num { font-size: 15px; font-weight: 600; color: var(--accent); }
.model h3 { font-size: 26px; margin-top: 10px; }
.model > p { color: var(--text-2); margin-top: 10px; }
.model__facts { margin: auto 0 0; padding-top: 28px; display: grid; gap: 14px; }
.model__facts > div { padding-top: 14px; border-top: 1px solid var(--hairline); }
.model__facts dt { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-2); }
.model__facts dd { margin: 4px 0 0; font-weight: 500; }
@media (max-width: 860px) { .models { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(96px, 12vw, 160px); }
.faq__grid { display: grid; grid-template-columns: 2fr 3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid var(--hairline); }
.qa { border-bottom: 1px solid var(--hairline); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -.015em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px;
  border: solid var(--text-2); border-width: 0 2px 2px 0;
  transform: translateY(-3px) rotate(45deg);
  transition: transform .45s var(--ease);
}
.qa[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.qa summary:hover { color: var(--accent); }
.qa p { color: var(--text-2); padding: 0 40px 24px 0; max-width: 640px; }
.qa[open] p { animation: qa-in .5s var(--ease); }
@keyframes qa-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } .qa p { padding-right: 0; } }

/* ---------- Footer ---------- */
.footer { padding-block: 104px 32px; background: linear-gradient(var(--z-hadal), var(--z-floor)); color: var(--text); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.logo--footer { width: 118px; height: 50px; }
.footer__brand p { margin-top: 12px; color: var(--text-2); font-size: 14px; max-width: 300px; }
.footer__brand address { margin-top: 14px; font-style: normal; color: var(--text-2); font-size: 13px; line-height: 1.6; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h3 { font-size: 13px; font-weight: 600; letter-spacing: 0; margin-bottom: 4px; }
.footer__col a, .footer__meta a { color: var(--text-2); font-size: 13px; }
.footer__col a:hover, .footer__meta a:hover { color: var(--text); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--hairline);
  font-size: 12px; color: var(--text-2);
}
.footer__bottom--solo { margin-top: 0; padding-top: 0; border-top: 0; }
.footer__meta { display: flex; gap: 20px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Legal page ---------- */
.legal { max-width: 760px; padding-block: 140px 96px; }
.legal h1 { margin-bottom: 8px; }
.legal__updated { color: var(--text-2); font-size: 15px; margin-bottom: 40px; }
.legal h2 { font-size: 24px; margin: 44px 0 12px; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--text-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.legal strong { color: var(--text); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Depth layers ---------- */
.layer--shore { --layer: var(--z-shore); }
.layer--sun { --layer: var(--z-sun); }
.layer--epi3 { --layer: var(--z-epi3); }
.layer--epi { --layer: var(--z-epi); }
.layer--epi2 { --layer: var(--z-epi2); --text-2: #2f4d53; --hairline: rgba(12, 42, 49, .14); }
.layer--meso { --layer: var(--z-meso); }
.layer--meso2 { --layer: var(--z-meso2); }
.layer--meso3 { --layer: var(--z-meso3); }
.layer--bathy { --layer: var(--z-bathy); }
.layer--bathy2 { --layer: var(--z-bathy2); }
.layer--abyss { --layer: var(--z-abyss); }
.layer--hadal { --layer: var(--z-hadal); }
.layer { position: relative; isolation: isolate; background-color: var(--layer); }
/* With JS, main.js paints one continuous gradient down <main> (see paintDepth),
   so the zones melt into each other instead of stopping at section edges. */
main.is-painted .layer { background-color: transparent; }

.bubbles--bg { z-index: -1; }
.bubbles--bg i { box-shadow: inset 0 0 0 1px rgba(200, 250, 245, .35), inset 2px -2px 3px rgba(200, 250, 245, .15); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .layer--epi2 { --text-2: #9db0b2; }
}
:root[data-theme="dark"] .layer--epi2 { --text-2: #9db0b2; }

/* Deep water: same components, re-mapped tokens */
.is-deep {
  --bg: var(--layer, #062a33);
  --bg-alt: rgba(255, 255, 255, .05);
  --surface: color-mix(in oklab, var(--layer, #0b3f4a), #fff 6%);
  --text: #eaf4f2;
  --text-2: #b0cbcc;
  --hairline: rgba(255, 255, 255, .12);
  --nav-bg: rgba(5, 30, 36, .74);
  --accent: #64e6de;
  --grad-a: #9cf0e9;
  --grad-b: #08c5d1;
  --shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 24px 50px -24px rgba(0, 0, 0, .65);
  color: var(--text);
}
.is-deep .btn:not(.btn--ghost) { background: var(--brand); color: #00262d; }
.is-deep .btn:not(.btn--ghost):hover { background: var(--brand-soft); }
.is-deep .badge--live { color: #4ade80; background: rgba(74, 222, 128, .12); }
.is-deep .badge--dev { color: #fbbf24; background: rgba(251, 191, 36, .14); }
.is-deep .segmented button[aria-selected="true"] .segmented__count,
.is-deep .pill input:checked + span { background: var(--brand); color: #00262d; }
.is-deep .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.5); }
.is-deep .approach__index li.is-active { background: var(--brand); color: #00262d; }
.is-deep .steps::after { background: linear-gradient(var(--brand-soft), var(--brand)); }
.contact__panel { box-shadow: inset 0 0 0 1px rgba(100, 230, 222, .12); }

/* ---------- Depth gauge ---------- */
.gauge {
  position: fixed; right: 22px; top: 50%; z-index: 40;
  display: grid; justify-items: end; gap: 10px;
  transform: translateY(-50%);
  color: var(--text-2);
  font-size: 11px; font-weight: 500; letter-spacing: .06em; font-variant-numeric: tabular-nums;
  opacity: 0; transition: opacity .6s var(--ease), color .6s;
  pointer-events: none;
}
.gauge.is-on { opacity: 1; }
.gauge__track {
  position: relative; width: 9px; height: 160px;
  background: repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 16px) right / 5px 100% no-repeat;
  opacity: .7;
}
.gauge__track::before { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 1px; background: currentColor; opacity: .5; }
.gauge__mark {
  position: absolute; right: -2px; top: calc(var(--g, 0) * 100%);
  width: 13px; height: 2px; border-radius: 2px; background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  transition: top .25s linear;
}
.gauge__depth { color: var(--text); font-size: 12px; }
.gauge__depth b { font-weight: 600; }
.gauge__zone { text-transform: uppercase; }
.gauge__sci { margin-top: -6px; font-style: italic; letter-spacing: .02em; opacity: .8; }
.gauge__track { height: 200px; background-image: none !important; }
.gauge__track b {
  position: absolute; right: 0; top: calc(var(--at) * 100%);
  width: 7px; height: 1px; background: currentColor;
}
.gauge__track b::after {
  content: attr(data-m); position: absolute; right: 12px; top: -6px;
  font-size: 9px; font-weight: 500; opacity: .75; white-space: nowrap;
}
.gauge.is-deep { --text: #eaf4f2; --text-2: #9dbabc; --accent: #64e6de; }
@media (max-width: 1340px) { .gauge { display: none; } }

/* Phones: keep the dive, drop the decorative work that costs the most per frame */
@media (max-width: 760px) {
  body::after, .near, .bubbles--bg { display: none; }
  .snow::before, .snow::after { animation-duration: 90s; }
}

/* ---------- Sea life: what you would actually meet in each zone ---------- */
.sea { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sea .bubbles { z-index: 0; }
.bubbles--light i { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .95), inset 2px -2px 3px rgba(255, 255, 255, .6); }

/* Sections out of view freeze their loops (main.js toggles .is-offscreen) */
.is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }

/* Marine snow: organic flecks sinking through the dark, the signature of the deep.
   Two tile layers, each taller than the section by two tiles and slid down by exactly
   two tiles, so the loop is seamless and runs on the compositor (no repaint per frame). */
.snow { position: absolute; inset: 0; }
.snow::before, .snow::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  will-change: transform;
  animation: 60s linear infinite;
}
.snow::before {
  top: -520px;
  background-image:
    radial-gradient(1.4px 1.4px at 30px 40px, rgba(220, 245, 245, .55), transparent),
    radial-gradient(1px 1px at 140px 120px, rgba(220, 245, 245, .45), transparent),
    radial-gradient(1.6px 1.6px at 210px 30px, rgba(220, 245, 245, .4), transparent),
    radial-gradient(1px 1px at 90px 210px, rgba(220, 245, 245, .5), transparent);
  background-size: 260px 260px;
  animation-name: snowfall-far;
}
.snow::after {
  top: -380px;
  background-image:
    radial-gradient(1.2px 1.2px at 60px 90px, rgba(220, 245, 245, .35), transparent),
    radial-gradient(1px 1px at 170px 180px, rgba(220, 245, 245, .3), transparent);
  background-size: 190px 190px;
  animation-name: snowfall-near;
}
.snow--dense { opacity: .8; }
.snow--dense::before { top: -400px; background-size: 200px 200px; animation-name: snowfall-dense-far; }
.snow--dense::after { top: -300px; background-size: 150px 150px; animation-name: snowfall-dense-near; }
@keyframes snowfall-far { to { transform: translate3d(0, 520px, 0); } }
@keyframes snowfall-near { to { transform: translate3d(0, 380px, 0); } }
@keyframes snowfall-dense-far { to { transform: translate3d(0, 400px, 0); } }
@keyframes snowfall-dense-near { to { transform: translate3d(0, 300px, 0); } }

/* ---------- 3D dive: parallax planes ----------
   main.js sets --p on each .sea (-1 below the viewport centre … 1 above) and --dive
   on the hero. Each plane has a depth --pz: near planes travel further and grow,
   far planes barely move, so the water reads as a volume rather than a backdrop.
   Uses the individual translate/scale properties so the particle animations on
   `transform` keep running underneath. */
.sea { --p: 0; perspective: 900px; }
.sea > * { translate: 0 calc(var(--p) * var(--pz, 80) * 1px); will-change: translate; }
.snow { --pz: 60; }
.sea .bubbles { --pz: 140; }
/* Particles drifting right past the camera: big, soft, fast */
.near {
  --pz: 520;
  position: absolute; inset: -20% 0;
  background-image:
    radial-gradient(5px 5px at 12% 20%, rgba(255, 255, 255, .55), transparent),
    radial-gradient(7px 7px at 78% 46%, rgba(255, 255, 255, .4), transparent),
    radial-gradient(4px 4px at 40% 82%, rgba(255, 255, 255, .5), transparent),
    radial-gradient(6px 6px at 92% 12%, rgba(255, 255, 255, .35), transparent);
  filter: blur(2.5px);
  opacity: .7;
}
.is-deep .near { opacity: .35; }
/* Hero: the camera pushes forward into the water as you start scrolling */
.coastmap { translate: 0 calc(var(--dive, 0) * 6%); }
.hero__bg { opacity: calc(1 - var(--dive, 0) * .35); }

/* ---------- Zone markers: where each pelagic zone begins ---------- */
.zone-mark {
  position: absolute; left: 0; right: 0; top: clamp(28px, 3.4vw, 44px); z-index: 1;
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px;
  font-size: 13px; color: var(--text-2);
}
.zone-mark::before { content: ""; order: 1; flex: 1; min-width: 40px; height: 1px; align-self: center; background: var(--hairline); }
.zone-mark__depth { font-weight: 600; letter-spacing: .04em; color: var(--accent); font-variant-numeric: tabular-nums; }
.zone-mark__name { font-weight: 600; color: var(--text); }
.zone-mark__name i { margin-left: 4px; font-weight: 400; color: var(--text-2); }
@media (max-width: 760px) {
  .zone-mark::before { display: none; }
}

/* ---------- Ethos: why "lautan" ---------- */
.ethos { padding-block: clamp(110px, 13vw, 170px) clamp(48px, 6vw, 80px); }
.ethos__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.ethos__head { position: sticky; top: 120px; }
.tenets { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.tenet {
  display: grid; grid-template-columns: 112px 1fr; gap: clamp(20px, 3vw, 40px); align-items: start;
  padding-block: clamp(28px, 3.4vw, 44px);
  border-bottom: 1px solid var(--hairline);
}
.tenet h3 {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px;
  font-weight: 700; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.05; letter-spacing: -.035em;
}
.tenet h3 em { font-family: var(--font); font-style: normal; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.tenet p { margin-top: 14px; color: var(--text-2); font-size: 17px; max-width: 480px; text-wrap: pretty; }
.tenet__glyph { width: 112px; height: 75px; margin-top: 4px; overflow: visible; }
.tenet__glyph path {
  fill: none; stroke: var(--text); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 220; stroke-dashoffset: 220;
  transition: stroke-dashoffset 1.8s var(--ease) .2s;
}
.tenet__glyph .g-sun { stroke: var(--accent); stroke-width: 1.8; }
.tenet__glyph .g-soft { opacity: .35; }
.tenet.is-in .tenet__glyph path, html:not(.js) .tenet__glyph path { stroke-dashoffset: 0; }
.tenet.is-in .g-flow { animation: current 6s var(--ease-in-out) 2s infinite alternate; }
.tenet.is-in .g-flow:nth-child(2) { animation-delay: 2.6s; }
.tenet.is-in .g-flow:nth-child(3) { animation-delay: 3.2s; }
@keyframes current { to { transform: translateX(-6px); } }
@media (max-width: 860px) {
  .ethos__grid { grid-template-columns: 1fr; }
  .ethos__head { position: static; }
}
@media (max-width: 520px) {
  .tenet { grid-template-columns: 1fr; }
  .tenet__glyph { width: 84px; height: 56px; }
}

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
}
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
.js .reveal.is-in { opacity: 1; transform: none; }

.js :is(.tile, .model, .product, .contact__panel, .brief, .labs, .map, .pillar).reveal { transform: translateY(56px) scale(.96); filter: none; }
.js :is(.tile, .model, .product, .contact__panel, .brief, .labs, .map, .pillar).reveal.is-in { transform: none; }
.js :is(.tile, .model, .product, .contact__panel, .brief, .labs, .map, .pillar).reveal { transition: opacity .9s var(--ease), transform 1.2s var(--ease); }

/* ---------- Card hover ----------
   Once a card has finished its entrance (main.js adds .is-settled), swap the slow
   reveal transition for a quick one so hover feels immediate. Light water lifts the
   card with a teal-tinted shadow; deep water lights its rim like bioluminescence. */
:is(.tile, .model, .product, .labs, .pillar) {
  --lift: -6px;
}
.js :is(.tile, .model, .product, .labs, .pillar).reveal.is-settled,
html:not(.js) :is(.tile, .model, .product, .labs, .pillar) {
  transition: transform .5s var(--spring), box-shadow .35s var(--ease), background-color .35s var(--ease);
  transition-delay: 0s;
}
:is(.tile, .model, .product, .labs, .pillar):hover {
  transform: translateY(var(--lift));
  box-shadow: 0 0 0 1.5px rgba(10, 123, 132, .35), 0 2px 6px rgba(12, 52, 60, .06), 0 32px 60px -18px rgba(12, 62, 72, .4);
}
.product:hover { --lift: -8px; }
.labs:hover, .pillar:hover { --lift: -4px; }
.is-deep :is(.tile, .model, .product, .labs, .pillar):hover {
  background-color: color-mix(in oklab, var(--surface), #fff 5%);
  box-shadow: 0 0 0 1.5px rgba(100, 230, 222, .55), 0 0 36px -6px rgba(100, 230, 222, .3), 0 30px 60px -24px rgba(0, 0, 0, .75);
}
.model--featured:hover { box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 1.5px rgba(10, 123, 132, .35), 0 32px 60px -18px rgba(12, 62, 72, .4); }
.is-deep .model--featured:hover { box-shadow: inset 0 0 0 2px var(--accent), 0 0 36px -6px rgba(100, 230, 222, .35), 0 30px 60px -24px rgba(0, 0, 0, .75); }
.pillar { transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .5s var(--spring); }
.pillar:hover { background: rgba(255, 255, 255, .09); }

/* Headings slide up from behind an invisible line (keynote-style mask) */
.js .reveal .h2 {
  clip-path: inset(0 0 100% 0);
  transform: translateY(.35em);
  transition: clip-path 1.1s var(--ease) .05s, transform 1.1s var(--ease) .05s;
}
.js .reveal.is-in .h2 { clip-path: inset(-.2em -.1em -.25em -.1em); transform: none; }
.js .hero__title.reveal { transform: translateY(40px) scale(.97); }
.js .hero__title.reveal.is-in { transform: none; }

/* ---------- Reduced motion: crossfade only ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .reveal { transform: none; filter: none; transition: opacity .4s linear; }
  .hero__panel { transform: none; }
  .window { transform: translate(-50%, -56%); }
  .gbar, .gbar::before, .gbar b, .gantt__milestone, .gantt__today, .kpi__spark path, .kpi__ring-fill, .kpi__meter i { transition: none !important; }
  .step { transform: none; transition: opacity .3s linear; }
  .tile:hover, .product:hover, .product:hover .product__shot { transform: none; }
  .contact__panel-glow { animation: none; }
  .tenet__glyph path { stroke-dashoffset: 0; transition: none; }
  .bubbles, .glints { display: none; }
  
  .sea > *, .coastmap { translate: none; scale: none; }
  .cm__pulse { animation: none; opacity: 0; }
  .near { display: none; }
  .js .reveal .h2 { clip-path: none; transform: none; }
  .js :is(.tile, .model, .product, .contact__panel, .brief, .labs, .map, .pillar).reveal { transform: none; }
  .hero__copy { transform: none; opacity: 1; }
  .product__shot { transform: translateY(10px); }
  .steps::after { transform: none; }
  .btn:hover, :is(.tile, .model, .product, .labs, .pillar):hover { transform: none; }
}
