/* Layout: "engineering kit" — cobalt + sunshine bands, chunky ink outlines and
   offset shadows like snap-together parts, a rotating gear (from the logo) as the
   hero motif, outlined illustrations that come alive on hover. */
:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --ink: #0d1640;
  --muted: #4c5677;
  --line: #d9def0;
  --cobalt: #2445e0;
  --cobalt-deep: #0f1f78;
  --sun: #ffcf2e;
  --mint: #2fd4a7;
  --coral: #ff6a4d;
  --sky: #e8edff;
  --accent: var(--cobalt);
  --accent-ink: #ffffff;
  --led: var(--sun);
  --tint: #e8edff;
  --band: #0b1450;
  --band-ink: #eef1ff;
  --band-muted: #b5bde6;
  --art-line: #0d1640;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-lg: 7px 7px 0 var(--ink);

  --f-display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --f-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --radius: 18px;
  --max: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1.2);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #080d2e; --surface: #111a4a; --ink: #eef1ff; --muted: #aeb6dd; --line: #27326e;
    --cobalt: #6b86ff; --cobalt-deep: #0b1450; --sky: #18235e; --tint: #18235e;
    --accent-ink: #080d2e; --band: #050927; --art-line: #0d1640;
    --shadow: 4px 4px 0 #000; --shadow-lg: 7px 7px 0 #000;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #080d2e; --surface: #111a4a; --ink: #eef1ff; --muted: #aeb6dd; --line: #27326e;
  --cobalt: #6b86ff; --cobalt-deep: #0b1450; --sky: #18235e; --tint: #18235e;
  --accent-ink: #080d2e; --band: #050927; --art-line: #0d1640;
  --shadow: 4px 4px 0 #000; --shadow-lg: 7px 7px 0 #000;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--cobalt); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px;
}
h1, h2, h3 { font-family: var(--f-display); line-height: 1.1; text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3.3vw, 2.5rem); font-weight: 650; }
h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; max-width: 68ch; }
.wrap {
  max-width: var(--max); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 16px; }

/* Tag: a yellow kit label */
.tag {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  font: 600 0.72rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase;
  color: #0d1640; background: var(--sun); border: 2px solid #0d1640; border-radius: 999px; padding: 7px 12px;
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); animation: blink 1.6s steps(2) infinite; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 2px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--ink); box-shadow: 0 6px 0 -2px color-mix(in srgb, var(--ink) 8%, transparent); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font: 700 1.05rem/1 var(--f-display); }
.brand small { display: block; font: 500 0.62rem/1.4 var(--f-mono); letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.brand img.logo { width: 54px; height: 54px; flex: none; border-radius: 50%; background: #fff; object-fit: contain; padding: 2px; border: 2px solid var(--ink); transition: transform .8s var(--ease); }
.brand:hover img.logo { transform: rotate(180deg); }
.site-footer .brand img.logo { width: 66px; height: 66px; border-color: #fff; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu a { position: relative; display: block; padding: 10px 13px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; border-radius: 10px; }
.menu > li > a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 3px; border-radius: 2px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.menu > li > a:hover::after, .menu > li > a[aria-current="page"]::after { transform: scaleX(1); }
.menu .has-sub { position: relative; }
.submenu {
  position: absolute; left: 0; top: calc(100% + 6px); min-width: 260px; list-style: none; margin: 0; padding: 8px;
  background: var(--surface); border: 2px solid var(--ink); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.submenu a { padding: 9px 12px; font-weight: 500; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--sky); color: var(--cobalt); }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.menu-toggle { display: none; background: var(--sun); border: 2px solid var(--ink); color: #0d1640; border-radius: 10px; padding: 8px 14px; font: 700 0.9rem var(--f-body); cursor: pointer; box-shadow: 3px 3px 0 var(--ink); }
@media (max-width: 1000px) {
  .menu-toggle { display: inline-block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 2px solid var(--ink); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); max-height: 80vh; overflow-y: auto; }
  .menu.open { display: flex; animation: drop .3s var(--ease); }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 14px; min-width: 0; background: none; }
  .menu > li > a::after { display: none; }
  .nav .btn-nav { display: none; }
}

/* ---------- Buttons: press like a kit part ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 14px; font: 700 1rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  border: 2px solid var(--ink); color: var(--ink); background: var(--surface); box-shadow: var(--shadow);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .2s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-primary, .btn-led { background: var(--sun); color: #0d1640; }
.btn-primary::after, .btn-led::after { content: "→"; transition: transform .25s var(--ease); }
.btn-primary:hover::after, .btn-led:hover::after { transform: translateX(4px); }
.btn-ghost { background: var(--surface); }
.btn-sm { padding: 8px 12px; font-size: 0.85rem; box-shadow: 3px 3px 0 var(--ink); border-radius: 10px; }
.btn-sm::after { content: none; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
section { padding-block: clamp(60px, 8vw, 104px); position: relative; }
.section-head { display: grid; gap: 14px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.alt { background: var(--sky); }

/* Scroll reveal: content is visible at rest; JS only adds a gentle rise. */
html.js [data-reveal] { transition: transform .8s var(--ease); }
html.js [data-reveal]:not(.in) { transform: translateY(26px); }

/* ---------- Home hero ---------- */
.hero-home {
  background:
    radial-gradient(circle at 85% 20%, color-mix(in srgb, #2445e0 70%, transparent), transparent 45%),
    linear-gradient(160deg, #2445e0 0%, #0f1f78 70%);
  color: #fff; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 110px);
}
.hero-home::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(circle at 70% 40%, #000, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-home h1 { color: #fff; }
.hero-home .hl { color: var(--sun); position: relative; white-space: nowrap; }
.hero-home .hl svg { position: absolute; left: 0; right: 0; bottom: -0.18em; width: 100%; height: 0.35em; overflow: visible; }
.hero-home .hl path { fill: none; stroke: var(--mint); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 300; stroke-dashoffset: 0; animation: draw 1.4s .4s var(--ease) backwards; }
.hero-home .lead { font-size: 1.18rem; color: #dfe5ff; margin-block: 22px 30px; }
.hero-home .btn-ghost { background: transparent; color: #fff; border-color: #fff; box-shadow: 4px 4px 0 #fff; }
.hero-home .btn-ghost:hover { box-shadow: 6px 6px 0 #fff; }
.hero-home .btn-primary { border-color: #0d1640; }
.trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.trust span { font: 600 0.74rem/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 9px 12px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, #fff 45%, transparent); color: #fff; }
.trust span::before { content: "✓ "; color: var(--mint); }
.hero-home .tag { animation: pop .6s var(--ease) backwards; }
.hero-home h1 { animation: rise .8s .1s var(--ease) backwards; }
.hero-home .lead, .hero-home .actions { animation: rise .8s .25s var(--ease) backwards; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } .scene { max-width: 520px; margin-inline: auto; } }

/* Gear scene */
.scene { position: relative; width: 100%; }
.scene svg { display: block; width: 100%; height: auto; overflow: visible; }
.scene .gear-big { transform-box: fill-box; transform-origin: center; animation: spin 40s linear infinite; }
.scene .gear-small { transform-box: fill-box; transform-origin: center; animation: spin 14s linear infinite reverse; }
.scene .gear-tiny { transform-box: fill-box; transform-origin: center; animation: spin 9s linear infinite; }
.scene .trace { fill: none; stroke: color-mix(in srgb, #fff 55%, transparent); stroke-width: 2.5; stroke-dasharray: 6 10; animation: flow 1.6s linear infinite; }
.scene .chip { transform-box: fill-box; transform-origin: center; animation: bob 5s ease-in-out infinite; }
.scene .chip:nth-of-type(2n) { animation-duration: 6s; animation-delay: -2s; }
.scene .chip:nth-of-type(3n) { animation-duration: 7s; animation-delay: -4s; }
.scene .chip rect { fill: #fff; stroke: #0d1640; stroke-width: 3; }
.scene .chip text { font: 700 15px var(--f-mono); fill: #0d1640; text-anchor: middle; dominant-baseline: central; }
.scene .chip .dot { fill: var(--coral); animation: blink 1.2s steps(2) infinite; }
.scene .logo-disc { fill: #fff; stroke: #0d1640; stroke-width: 4; }

/* ---------- Ticker ---------- */
.ticker { background: var(--sun); border-block: 2px solid #0d1640; overflow: hidden; padding-block: 14px; }
.ticker-track { display: flex; gap: 0; width: max-content; animation: marquee 32s linear infinite; }
.ticker span { font: 700 0.95rem/1 var(--f-display); color: #0d1640; text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; }
.ticker span::after { content: "✦"; color: var(--coral); }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -54px; }
.stats div { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.stats div:hover { transform: translate(-3px, -3px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.stats b { display: block; font: 700 clamp(1.7rem, 3vw, 2.3rem)/1 var(--f-display); font-variant-numeric: tabular-nums; color: var(--cobalt); }
.stats div:nth-child(2) b { color: var(--coral); }
.stats div:nth-child(3) b { color: #10a07a; }
.stats span { font-size: 0.92rem; color: var(--muted); display: block; margin-top: 6px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); margin-top: -40px; } }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 24px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px;
  display: grid; gap: 10px; align-content: start; min-width: 0; box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx) var(--my), color-mix(in srgb, var(--sun) 35%, transparent), transparent 60%); }
.card:hover::before { opacity: 1; }
.card:hover { box-shadow: var(--shadow-lg); }
.card > * { position: relative; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .code { font: 600 0.7rem/1 var(--f-mono); color: var(--cobalt); letter-spacing: 0.1em; }
.card .more { font-weight: 700; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; margin-top: 6px; }
.card .more i { font-style: normal; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sun); color: #0d1640; border: 2px solid var(--ink); transition: transform .3s var(--ease); }
a.card { text-decoration: none; color: inherit; }
a.card:hover .more i { transform: translateX(6px) rotate(-45deg); }
.card .art-box { border: 2px solid var(--ink); border-radius: 12px; background: #e2e8ff; aspect-ratio: 4 / 3; max-width: 100%; display: grid; place-items: center; overflow: hidden; margin-bottom: 6px; }
.card .art-box.c-sun { background: #fff1bf; }
.card .art-box.c-mint { background: #d4f7ec; }
.card .art-box.c-coral { background: #ffe0d8; }
.card .art-box.c-sky { background: #e2e8ff; }
.card .art-box svg { width: 82%; height: auto; transition: transform .5s var(--ease); }
a.card:hover .art-box svg { transform: scale(1.07) rotate(-2deg); }
.icon-card .ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--sun); border: 2px solid var(--ink); font: 700 1.1rem var(--f-display); color: #0d1640; transition: transform .4s var(--ease); }
.icon-card:nth-child(4n+2) .ico { background: var(--mint); }
.icon-card:nth-child(4n+3) .ico { background: var(--coral); }
.icon-card:nth-child(4n+4) .ico { background: #c9d3ff; }
.icon-card:hover .ico { transform: rotate(-12deg) scale(1.08); }

/* ---------- Illustrations ---------- */
.art * { stroke: var(--art-line); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.art .f-sun { fill: #ffcf2e; } .art .f-mint { fill: #2fd4a7; } .art .f-coral { fill: #ff6a4d; }
.art .f-cobalt { fill: #2445e0; } .art .f-white { fill: #ffffff; } .art .f-ink { fill: #0d1640; } .art .f-sky { fill: #c9d3ff; }
.art .no-fill { fill: none; }
.art .no-stroke { stroke: none; }
.art .eye { transform-box: fill-box; transform-origin: center; animation: blinkEye 4s infinite; }
.art .led { animation: blink 1.4s steps(2) infinite; }
.art .wire { fill: none; stroke-dasharray: 5 7; animation: flow 1.2s linear infinite; }
.art .spin, .art .wheel, .art .rotor { transform-box: fill-box; transform-origin: center; }
.art .spin { animation: spin 12s linear infinite; }
.art .float { animation: bob 4s ease-in-out infinite; }
.art .arm { transform-box: view-box; transform-origin: 100px 112px; transition: transform .7s var(--ease); }
.art .ray { transition: transform .4s var(--ease); transform-box: fill-box; transform-origin: center; }
.art .bubble { animation: rise-bubble 2.6s ease-in infinite; }
.art .bubble + .bubble { animation-delay: -1.3s; }
.art .rotor { animation: spin 1.2s linear infinite; }
a.card:hover .art .wheel, .art-hover:hover .wheel { animation: spin .6s linear infinite; }
a.card:hover .art .rotor, .art-hover:hover .rotor { animation-duration: .25s; }
a.card:hover .art .arm, .art-hover:hover .arm { transform: rotate(-14deg); }
a.card:hover .art .ray, .art-hover:hover .ray { transform: scale(1.3); }
a.card:hover .art .glow, .art-hover:hover .glow { filter: drop-shadow(0 0 10px #ffcf2e); }

/* ---------- Inner page hero ---------- */
.page-hero { padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 88px); overflow: hidden; isolation: isolate; }
.page-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: var(--sky); z-index: -1; }
.page-hero h1 { animation: rise .7s var(--ease) backwards; }
.page-hero .lead { font-size: 1.15rem; color: var(--muted); }
.hero-art { border: 2px solid var(--ink); border-radius: var(--radius); background: #fff1bf; box-shadow: var(--shadow-lg); padding: 18px; display: grid; place-items: center; animation: pop .8s .15s var(--ease) backwards; }
.hero-art svg { width: 100%; max-width: 360px; height: auto; }

/* Two-column text + aside */
.split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: start; }
.split > * { min-width: 0; }
.prose { display: grid; gap: 18px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.aside { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; box-shadow: var(--shadow); position: sticky; top: 100px; }
.aside ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.aside li { padding-left: 30px; position: relative; }
.aside li::before { content: "✓"; position: absolute; left: 0; top: 0.15em; width: 20px; height: 20px; border-radius: 6px; background: var(--mint); border: 2px solid var(--ink); font: 700 0.7rem/16px var(--f-body); text-align: center; color: #0d1640; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .aside { position: static; } }

/* Spec table */
.table-wrap { overflow-x: auto; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 0.97rem; min-width: 560px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1.5px solid var(--line); vertical-align: top; }
th { font: 600 0.72rem/1.3 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: #0d1640; background: var(--sun); border-bottom: 2px solid var(--ink); }
tbody tr { transition: background .2s; }
tbody tr:hover { background: var(--sky); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 700; white-space: nowrap; }

/* Process: a real sequence */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; position: relative; }
.steps li { counter-increment: s; position: relative; display: grid; gap: 8px; align-content: start; min-width: 0; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); padding: 60px 18px 20px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.steps li:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.steps li::before { content: counter(s); position: absolute; top: 14px; left: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt); color: #fff; font: 700 0.95rem var(--f-display); border: 2px solid var(--ink); transition: background .3s; }
.steps li:hover::before { background: var(--coral); }
.steps p { font-size: 0.94rem; color: var(--muted); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* Lab floor plan (interactive zones) */
.plan { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-lg); margin: 0; }
.plan svg { display: block; width: 100%; height: auto; }
.plan figcaption { font: 500 0.74rem/1.4 var(--f-mono); color: var(--muted); margin-top: 10px; letter-spacing: 0.04em; }
.plan .room { fill: var(--bg); stroke: var(--ink); stroke-width: 3; }
.plan .zone { stroke-width: 2; transition: transform .35s var(--ease), filter .3s; transform-box: fill-box; transform-origin: center; }
.plan .z1 .zone { fill: color-mix(in srgb, #2445e0 16%, transparent); stroke: #2445e0; }
.plan .z2 .zone { fill: color-mix(in srgb, #ffcf2e 32%, transparent); stroke: #c79a00; }
.plan .z3 .zone { fill: color-mix(in srgb, #2fd4a7 24%, transparent); stroke: #10a07a; }
.plan g.z:hover .zone { transform: scale(1.03); filter: drop-shadow(3px 3px 0 var(--ink)); }
.plan .lbl { font: 700 13px var(--f-body); fill: var(--ink); }
.plan .sub { font: 500 10px var(--f-mono); fill: var(--muted); letter-spacing: 0.04em; }
.plan .grid-line { stroke: var(--line); stroke-width: 1; }
.plan .desk { fill: var(--surface); stroke: var(--muted); stroke-width: 1; }
.plan-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.plan-grid > * { min-width: 0; }
.zone-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.zone-list li { display: flex; gap: 12px; align-items: baseline; }
.zone-list b { font: 700 0.75rem var(--f-mono); color: var(--cobalt); min-width: 64px; }
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 14px; max-width: 880px; }
.faq details { background: var(--surface); border: 2px solid var(--ink); border-radius: 14px; padding: 0 22px; box-shadow: 3px 3px 0 var(--ink); transition: box-shadow .25s, transform .25s; }
.faq details:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.faq details[open] { background: color-mix(in srgb, var(--sun) 18%, var(--surface)); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); border: 2px solid var(--ink); font: 700 1.1rem/1 var(--f-body); color: #0d1640; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); animation: rise .4s var(--ease); }

/* Breadcrumb */
.crumbs { font: 500 0.78rem/1.4 var(--f-mono); color: var(--muted); letter-spacing: 0.04em; padding-top: 24px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* CTA band */
.cta { background: var(--coral); color: #0d1640; border-block: 2px solid #0d1640; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; border: 40px dashed color-mix(in srgb, #fff 35%, transparent); animation: spin 30s linear infinite; }
.cta-grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.cta h2 { color: #0d1640; }
.cta p { color: #2a1a14; margin-top: 12px; font-size: 1.08rem; }
.cta .tag { background: #fff; }
.cta .btn { border-color: #0d1640; box-shadow: 4px 4px 0 #0d1640; }
.cta .btn-ghost { background: #fff; color: #0d1640; }
@media (max-width: 800px) { .cta-grid { grid-template-columns: 1fr; } }

/* Forms */
.form { display: grid; gap: 16px; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-weight: 700; font-size: 0.92rem; }
input, select, textarea { font: 400 1rem var(--f-body); padding: 13px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--cobalt); box-shadow: 3px 3px 0 var(--cobalt); outline: none; }
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.88rem; color: var(--muted); }
.form-result { padding: 16px; border-radius: 12px; background: #d4f7ec; color: #0d1640; display: grid; gap: 12px; border: 2px solid var(--ink); }

/* Contact list */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: grid; gap: 2px; padding-left: 0; }
.contact-list li::before { display: none; }
.contact-list b { font: 600 0.72rem/1.4 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-list span { font-size: 1.05rem; overflow-wrap: anywhere; }

/* Director */
.director { display: grid; grid-template-columns: 290px 1fr; gap: 48px; align-items: start; }
.director > * { min-width: 0; }
.director-card { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); padding: 28px; text-align: center; display: grid; gap: 8px; justify-items: center; position: sticky; top: 100px; box-shadow: var(--shadow-lg); }
.director-card p { color: var(--muted); }
.director-badge { width: 124px; height: 124px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: #0d1640; border: 3px solid var(--ink); font: 700 3rem/1 var(--f-display); flex: none; box-shadow: 4px 4px 0 var(--ink); transition: transform .5s var(--ease); }
.director-card:hover .director-badge, .director-teaser:hover .director-badge { transform: rotate(-8deg) scale(1.05); }
.letter { font-size: 1.08rem; }
.signature { margin-top: 8px; padding-top: 16px; border-top: 2px dashed var(--line); }
.director-teaser { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-lg); }
.director-teaser > * { min-width: 0; }
blockquote.pull { margin: 0; font: 600 clamp(1.2rem, 2.4vw, 1.65rem)/1.4 var(--f-display); text-wrap: balance; max-width: 42ch; letter-spacing: -0.01em; }
blockquote.pull::before { content: "“"; color: var(--coral); }
blockquote.pull::after { content: "”"; color: var(--coral); }
@media (max-width: 800px) {
  .director { grid-template-columns: 1fr; } .director-card { position: static; }
  .director-teaser { grid-template-columns: 1fr; } .director-badge { width: 90px; height: 90px; font-size: 2.2rem; }
}

/* Messages from leaders */
.messages { columns: 3 300px; column-gap: 24px; }
.msg { break-inside: avoid; margin: 0 0 24px; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px; display: grid; gap: 18px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.msg:hover { transform: translate(-3px, -3px) rotate(-0.6deg); box-shadow: var(--shadow-lg); }
.msg-pinned { background: color-mix(in srgb, var(--sun) 22%, var(--surface)); }
.msg blockquote { margin: 0; display: grid; gap: 10px; font-size: 1.02rem; }
.msg blockquote p:first-child::before { content: "“"; color: var(--coral); font: 700 2rem/0 var(--f-display); margin-right: 3px; vertical-align: -0.38em; }
.msg figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 2px dashed var(--line); }
.msg figcaption img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--ink); }
.msg figcaption > span:last-child { display: grid; min-width: 0; }
.msg figcaption small { color: var(--muted); font-size: 0.88rem; }
.msg-initial { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--mint); color: #0d1640; border: 2px solid var(--ink); font: 700 1.3rem/1 var(--f-display); }
.empty { color: var(--muted); }

/* Footer */
.site-footer { background: var(--band); color: var(--band-muted); padding-block: 64px 28px; font-size: 0.95rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none; background-image: radial-gradient(#fff 1.5px, transparent 1.5px); background-size: 22px 22px; }
.foot-grid { position: relative; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
.foot-grid > * { min-width: 0; }
.site-footer h3 { color: var(--sun); font-size: 0.85rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--band-muted); text-decoration: none; transition: color .2s, padding .2s; }
.site-footer li a:hover { color: #fff; padding-left: 6px; }
.site-footer .brand { color: #fff; }
.site-footer address { overflow-wrap: anywhere; }
.foot-bottom { position: relative; margin-top: 44px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, #fff 14%, transparent); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; background: #25d366; color: #0d1640; border: 2px solid #0d1640; border-radius: 999px; padding: 12px 18px; font-weight: 700; text-decoration: none; box-shadow: 4px 4px 0 #0d1640; display: inline-flex; gap: 8px; align-items: center; transition: transform .2s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid #25d366; animation: ping 2.4s ease-out infinite; pointer-events: none; }
.wa-float:hover { transform: translate(-2px, -2px) scale(1.04); }
.wa-float svg { width: 20px; height: 20px; }

/* Keyframes */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes flow { to { stroke-dashoffset: -32; } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes blinkEye { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes rise { from { transform: translateY(18px); } }
@keyframes pop { from { transform: scale(.92); } }
@keyframes drop { from { transform: translateY(-8px); } }
@keyframes draw { from { stroke-dashoffset: 300; } }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
@keyframes rise-bubble { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(-34px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-reveal]:not(.in) { transform: none; }
}

.scene .chip text { stroke: none; }
.hero-art.c-sky { background: #e2e8ff; } .hero-art.c-mint { background: #d4f7ec; } .hero-art.c-coral { background: #ffe0d8; } .hero-art.c-sun { background: #fff1bf; }
