/* ==========================================================================
   Quatro Inc — site styles
   Colours: one per discipline — Grow (lime), Build (coral),
   Automate (violet), Run (cyan). Components read their colour from --c.
   ========================================================================== */

:root {
  --bg: #08090D;
  --bg-2: #0C0D12;
  --surface: #111319;
  --surface-2: #1B1E27;
  --line: #1F2230;
  --line-2: #2A2E3A;
  --line-3: #3A3F4C;
  --text: #F2F3F7;
  --text-2: #E4E6EC;
  --muted: #9BA1B0;
  --dim: #6B7182;

  --grow: #C8F25A;
  --build: #FF7A59;
  --automate: #9D8CFF;
  --run: #4FD8E8;

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --c: var(--grow);
  --glow: var(--grow);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
a { color: var(--grow); }
a:hover { color: #E2FF9A; }
:focus-visible { outline: 2px solid var(--grow); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--grow); color: var(--bg); padding: 12px 18px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--bg); }

[id] { scroll-margin-top: 96px; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid #1C1F28; }
.dots {
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.display { font-family: var(--font-display); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.h1 { font-size: clamp(52px, 7.6vw, 116px); line-height: .95; letter-spacing: -.05em; }
.h1-xl { font-size: clamp(64px, 10vw, 156px); line-height: .88; letter-spacing: -.06em; }
.h2 { font-size: clamp(38px, 5vw, 72px); }
.h2-lg { font-size: clamp(38px, 5.6vw, 84px); letter-spacing: -.05em; max-width: 1100px; }
.lead { font-size: 20px; line-height: 1.6; color: var(--muted); max-width: 560px; }
.dim { color: var(--dim); }
.accent { color: var(--grow); }
.outline { color: transparent; -webkit-text-stroke: 1.5px #2C303B; }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; flex-wrap: wrap; margin-bottom: 52px;
}
.section-head .stack { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.text-link {
  font-weight: 600; font-size: 16px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 17px; }
.btn-primary { background: var(--grow); color: var(--bg); }
.btn-primary:hover { color: var(--bg); transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(200, 242, 90, .6); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid var(--line-3); }
.btn-ghost:hover { background: #fff; color: var(--bg); }
.btn-dark { background: var(--bg); color: #fff; }
.btn-dark:hover { color: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 9, 13, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #1C1F28;
}
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo:hover { color: #fff; }
.logo svg { width: 30px; height: 30px; }
.logo span { font-family: var(--font-display); font-weight: 800; font-size: 25px; letter-spacing: -.04em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; padding: 12px 0; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"] { font-weight: 600; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--surface);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: -24px; right: -24px; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 24px; background: #0B0C11; border-bottom: 1px solid #1C1F28;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn) { padding: 16px 0; border-bottom: 1px solid #1C1F28; font-size: 18px; }
  .nav-links .btn { margin-top: 18px; }
}

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes morph { 0%, 100% { border-radius: 28px; } 50% { border-radius: 28px 80px 28px 80px; } }
@keyframes morph-lg {
  0%, 100% { border-radius: 32px; } 25% { border-radius: 50%; }
  50% { border-radius: 32px 100px 32px 100px; } 75% { border-radius: 100px 32px 100px 32px; }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float-tilt { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(4deg); } }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes bar { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
@keyframes dash { to { stroke-dashoffset: -24; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes type { from { width: 0; } to { width: 62%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes travel { from { left: 0%; } to { left: 100%; } }
@keyframes pop { 0% { transform: scale(.4) rotate(-20deg); opacity: 0; } 70% { transform: scale(1.1) rotate(4deg); } 100% { transform: none; opacity: 1; } }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(200, 242, 90, .6); } 100% { box-shadow: 0 0 0 14px rgba(200, 242, 90, 0); } }

.rise { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; }
.float { animation: float 4s ease-in-out infinite; }
.float-tilt { animation: float-tilt 5s ease-in-out infinite; }
.f2 { animation-delay: -1.3s; } .f3 { animation-delay: -2.6s; }
.ring { transform-box: fill-box; transform-origin: center; animation: pulse 3s ease-out infinite; }
.r2 { animation-delay: -1s; } .r3 { animation-delay: -2s; }
.bar { transform-box: fill-box; transform-origin: 50% 100%; animation: bar 2.6s ease-in-out infinite; }
.b2 { animation-delay: -.4s; } .b3 { animation-delay: -.8s; } .b4 { animation-delay: -1.2s; } .b5 { animation-delay: -1.6s; } .b6 { animation-delay: -2s; }
.dash { stroke-dasharray: 4 8; animation: dash 1.2s linear infinite; }
.spin { animation: spin 18s linear infinite; }

/* ---------- Home: hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-glow {
  position: absolute; right: -10%; top: 6%; width: 760px; height: 760px; max-width: 90vw;
  border-radius: 50%; filter: blur(120px); opacity: .32; background: var(--glow);
  transition: background .8s ease; pointer-events: none;
}
.hero-grid {
  position: relative; padding-top: 96px; padding-bottom: 104px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 64px; align-items: center;
}
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.25fr 1fr; } }
.hero-copy { display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.hero-title { font-size: clamp(46px, 6.2vw, 96px); }
.hero-title > span { white-space: nowrap; }
@media (max-width: 600px) { .hero-title > span:not(.rotator) { white-space: normal; } }
.badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px; border-radius: 999px; background: #12141B;
  border: 1px solid #232733; font-size: 14px; color: #C9CDD6;
}
.badge b { background: var(--grow); color: var(--bg); font-weight: 600; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

.rotator { position: relative; display: block; height: 1.02em; }
.rot-word {
  position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0;
  transform: translateY(60%); transition: opacity .5s ease, transform .7s var(--ease);
}
.rot-word.is-active { opacity: 1; transform: none; }
.rot-word.is-prev { transform: translateY(-60%); }

.pillars { display: flex; flex-direction: column; gap: 16px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tile {
  aspect-ratio: 1 / .86; border: 1.5px solid #232733; border-radius: 28px;
  background: #12141B; color: var(--c); padding: 24px; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  transition: transform .5s var(--ease), background .4s ease, color .4s ease, border-color .4s ease;
}
.tile:hover { transform: translateY(-4px); }
.tile.is-active { background: var(--c); color: var(--bg); border-color: var(--c); transform: scale(1.03); animation: morph 5s ease-in-out infinite; }
.tile-meta { display: flex; justify-content: space-between; width: 100%; font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; }
.tile-name { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.2vw, 46px); letter-spacing: -.04em; }
@media (max-width: 480px) {
  .tile { padding: 18px; border-radius: 22px; }
  .tile-meta span:last-child { display: none; }
}
.pillar-panel {
  background: rgba(18, 20, 27, .85); border: 1px solid #232733; border-radius: 22px;
  padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; min-height: 118px;
}
.pillar-line { display: flex; align-items: center; gap: 10px; font-size: 17px; line-height: 1.5; color: var(--text-2); }
.pillar-line::before { content: ""; flex-shrink: 0; width: 10px; height: 10px; border-radius: 3px; background: var(--glow); transition: background .4s; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-link {
  font-size: 14px; font-weight: 500; padding: 9px 14px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line-2); color: #fff; text-decoration: none;
}
.chip-link:hover { color: var(--bg); background: #fff; }

/* ---------- Home: marquee ---------- */
.marquee-wrap { border-top: 1px solid #1C1F28; border-bottom: 1px solid #1C1F28; background: var(--bg-2); overflow: hidden; padding: 26px 0; }
.marquee { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-wrap:hover .marquee { animation-play-state: paused; }
.marquee ul { display: flex; }
.marquee li {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -.03em; white-space: nowrap; color: var(--dim);
}
.marquee li:nth-child(even) { color: #fff; }
.marquee li::after { content: ""; width: 18px; height: 18px; border-radius: 5px; background: var(--c); }
.marquee li:nth-child(even)::after { border-radius: 50%; }

/* ---------- Home: bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.w2 { grid-column: span 2; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bento { grid-template-columns: minmax(0, 1fr); } .w2 { grid-column: auto; } }

.card {
  position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  border-radius: 28px; padding: 30px; text-decoration: none; color: var(--text);
  display: flex; flex-direction: column; gap: 14px; min-height: 340px;
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease;
}
.card:hover { color: var(--text); transform: translateY(-6px); border-color: var(--c); box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--c) 55%, transparent); }
.card-visual { position: relative; height: 150px; display: flex; align-items: center; justify-content: center; }
.card-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -.03em; line-height: 1.1; }
.card.w2 h3 { font-size: 30px; }
.card p { color: var(--muted); line-height: 1.55; max-width: 460px; }
.fchip {
  position: absolute; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line-2);
}
.fchip.solid { background: var(--grow); color: var(--bg); border-color: var(--grow); }

.stack-card { position: absolute; border-radius: 16px; }
.browser { width: 100%; height: 150px; border-radius: 16px; background: #0B0C10; border: 1px solid #23262F; overflow: hidden; display: flex; flex-direction: column; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid #23262F; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-3); }
.browser-bar i:first-child { background: var(--build); }
.browser-bar span { margin-left: 10px; flex-grow: 1; font-family: var(--font-mono); font-size: 11px; color: var(--muted); background: #16181F; border-radius: 6px; padding: 4px 10px; }
.code { padding: 14px 16px; display: flex; flex-direction: column; gap: 9px; font-family: var(--font-mono); font-size: 12px; }
.code .row { display: flex; align-items: center; gap: 8px; }
.code .indent { padding-left: 18px; }
.code .ln { height: 8px; border-radius: 4px; }
.typing { display: inline-block; height: 8px; border-radius: 4px; background: var(--build); opacity: .85; animation: type 3.5s steps(22) infinite alternate; }
.caret { width: 2px; height: 14px; background: #fff; margin-left: 3px; animation: blink 1s steps(1) infinite; }
.k-tag { color: var(--build); } .k-attr { color: var(--automate); } .k-str { color: var(--grow); }

.card-cta { background: var(--grow); border-color: var(--grow); color: var(--bg); justify-content: space-between; padding: 36px; gap: 24px; }
.card-cta:hover { color: var(--bg); }
.card-cta .card-tag { color: var(--bg); }
.card-cta h3 { font-weight: 800; font-size: clamp(32px, 3.4vw, 46px); line-height: 1; letter-spacing: -.04em; }
.card-cta p { color: var(--bg); font-size: 17px; }
.card-cta .cta-copy { position: relative; display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.card-cta .spin { position: absolute; right: -70px; bottom: -80px; width: 220px; height: 220px; opacity: .85; }

/* ---------- Home: process ---------- */
.track { position: relative; height: 2px; background: var(--line); border-radius: 2px; margin: 64px 0 24px; }
.track span {
  position: absolute; top: -5px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: var(--grow); box-shadow: 0 0 24px 4px rgba(200, 242, 90, .6);
  animation: travel 7s cubic-bezier(.6, 0, .4, 1) infinite;
}
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step-num { font-family: var(--font-display); font-weight: 800; font-size: 96px; line-height: 1; letter-spacing: -.05em; }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -.03em; color: var(--c); }
.step p { color: var(--muted); line-height: 1.6; }

/* ---------- Home: features ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; margin-top: 56px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--c); display: inline-flex; align-items: center; justify-content: center; }
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 21px; font-weight: 600; }
.feature p { color: var(--muted); line-height: 1.6; }

/* ---------- CTA panel ---------- */
.cta-panel {
  position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  border-radius: 36px; padding: clamp(44px, 7vw, 96px);
  display: flex; flex-direction: column; gap: 28px; align-items: flex-start;
}
.cta-panel > *:not(.cta-shapes) { position: relative; }
.cta-panel h2 { font-size: clamp(44px, 6.4vw, 96px); line-height: .95; letter-spacing: -.05em; max-width: 720px; }
.cta-panel p { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 460px; }
.cta-shapes {
  position: absolute; right: clamp(-120px, -6vw, -40px); top: 50%; margin-top: -170px;
  display: grid; grid-template-columns: repeat(2, 160px); gap: 14px;
}
.cta-shapes span { width: 160px; height: 160px; }
@media (max-width: 760px) { .cta-shapes { opacity: .25; } }

.cta-solid {
  background: var(--grow); color: var(--bg); border-radius: 36px; padding: clamp(44px, 7vw, 88px);
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.cta-solid h2 { font-size: clamp(40px, 5.6vw, 84px); line-height: .95; letter-spacing: -.05em; max-width: 680px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid #1C1F28; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-top: 72px; }
.footer-grid .tagline { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -.03em; line-height: 1.15; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h2 { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.footer-col a, .footer-col span { color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #1C1F28; margin-top: 56px; padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px;
}
.footer-word {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(120px, 22vw, 330px);
  line-height: .8; letter-spacing: -.06em; text-align: center; margin: 40px 0 -.12em; user-select: none;
}

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; }
.page-hero .hero-glow { right: -140px; top: -120px; width: 620px; height: 620px; opacity: .28; }
.page-hero-inner { position: relative; padding-top: 96px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 24px; }
.page-hero h1 { font-size: clamp(48px, 7vw, 104px); line-height: .95; letter-spacing: -.05em; max-width: 1080px; }

/* ---------- Services: explorer ---------- */
.explorer { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding-bottom: 120px; }
.svc-list { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 1000px) { .svc-list { position: sticky; top: 96px; } }
.svc-tab {
  display: flex; align-items: center; gap: 16px; width: 100%; min-height: 68px; padding: 14px 20px;
  border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--text);
  text-align: left; cursor: pointer;
  transition: background .3s ease, border-color .3s ease, transform .3s var(--ease);
}
.svc-tab:hover { transform: translateX(6px); border-color: var(--line-3); }
.svc-tab .dot { width: 12px; height: 12px; flex-shrink: 0; border-radius: 3px; background: var(--c); }
.svc-tab:nth-child(even) .dot { border-radius: 50%; }
.svc-tab .name { flex-grow: 1; font-size: 18px; font-weight: 600; }
.svc-tab .tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.svc-tab[aria-selected="true"] { background: var(--surface-2); border-color: var(--c); }
.svc-tab[aria-selected="true"] .tag { color: var(--c); }

.svc-panel {
  flex: 999 1 560px; min-width: 0; background: var(--surface); border: 1px solid var(--c);
  border-radius: 32px; overflow: hidden; box-shadow: 0 40px 120px -50px var(--c);
  animation: rise .5s var(--ease) both;
}
.svc-panel[hidden] { display: none; }
.band {
  position: relative; overflow: hidden; background: var(--c); color: var(--bg);
  padding: clamp(28px, 4vw, 44px); min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.band > * { position: relative; }
.band .eyebrow { color: var(--bg); }
.band h2 { font-size: clamp(36px, 4.6vw, 64px); max-width: 520px; }
.band-shapes { position: absolute !important; right: 28px; top: 50%; margin-top: -80px; display: grid; grid-template-columns: repeat(2, 72px); gap: 10px; }
.band-shapes span { width: 72px; height: 72px; background: var(--bg); }
@media (max-width: 640px) { .band-shapes { opacity: .2; } }
.panel-body { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 30px; }
.panel-body .summary { font-size: 20px; line-height: 1.55; color: var(--text-2); max-width: 680px; }
.panel-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; border-top: 1px solid #23262F; padding-top: 30px; }
.panel-cols h3 { font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.panel-cols .block + .block { margin-top: 26px; }
.panel-cols p { line-height: 1.6; color: var(--text-2); }
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px;
  background: var(--c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308090D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.pill {
  display: inline-flex; align-items: center; font-size: 14px; font-weight: 500; min-height: 42px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); color: #fff;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s;
}
.pill:hover { background: #fff; color: var(--bg); }
.panel-actions { display: flex; gap: 12px; flex-wrap: wrap; border-top: 1px solid #23262F; padding-top: 30px; }

/* ---------- Services: bundles ---------- */
.bundles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 16px; }
.bundle {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; padding: 34px;
  text-decoration: none; color: var(--text); background: var(--surface);
  display: flex; flex-direction: column; gap: 18px; min-height: 380px;
  transition: transform .35s var(--ease), border-color .35s ease;
}
.bundle:hover { color: var(--text); transform: translateY(-6px); border-color: var(--line-3); }
.bundle h3 { font-family: var(--font-display); font-weight: 800; font-size: 38px; letter-spacing: -.04em; }
.bundle p { color: var(--muted); line-height: 1.55; }
.bundle .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.bundle .tags span { font-size: 13px; font-weight: 500; padding: 7px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); }
.bundle .more { font-weight: 600; margin-top: auto; color: var(--c); }
.bundle .swatches { display: flex; gap: 8px; }
.bundle .swatches i { width: 36px; height: 36px; border-radius: 10px; }
.bundle .swatches i:nth-child(2) { border-radius: 18px; }
.bundle.featured { background: var(--grow); border-color: var(--grow); color: var(--bg); }
.bundle.featured:hover { color: var(--bg); border-color: var(--grow); }
.bundle.featured p, .bundle.featured .more { color: var(--bg); }
.bundle.featured .tags span { background: rgba(8, 9, 13, .1); border-color: rgba(8, 9, 13, .2); }
.bundle.featured .flag { align-self: flex-start; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--bg); color: var(--grow); }
.bundle.featured .spin { position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; opacity: .18; animation-duration: 22s; }

/* ---------- About ---------- */
.about-hero { padding-top: 96px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 64px; align-items: center; }
.about-hero .copy { display: flex; flex-direction: column; gap: 28px; }
.morph-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 480px; width: 100%; justify-self: center; }
.morph-grid div {
  aspect-ratio: 1; background: var(--c); color: var(--bg); padding: 22px; display: flex; align-items: flex-end;
  font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -.03em;
  animation: morph-lg 8s ease-in-out infinite;
}
.morph-grid div:nth-child(2) { animation-delay: -2s; }
.morph-grid div:nth-child(3) { animation-delay: -4s; }
.morph-grid div:nth-child(4) { animation-delay: -6s; }

.story { display: flex; flex-wrap: wrap; gap: 16px; padding-bottom: 120px; }
.photo-ph {
  flex: 2 1 520px; min-height: 440px; border-radius: 32px; background: var(--surface); border: 1px dashed var(--line-3);
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 600; overflow: hidden;
}
.photo-ph img { width: 100%; height: 100%; object-fit: cover; }
.glance { flex: 1 1 300px; border-radius: 32px; background: var(--surface); border: 1px solid var(--line); padding: 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 440px; }
.glance dl { display: flex; flex-direction: column; gap: 24px; }
.glance dl > div { display: flex; flex-direction: column; gap: 4px; border-left: 3px solid var(--c); padding-left: 16px; }
.glance dt { color: var(--muted); font-size: 14px; }
.glance dd { font-family: var(--font-display); font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 16px; }
.value {
  text-align: left; cursor: pointer; border-radius: 28px; padding: 30px; min-height: 300px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  transition: background .4s ease, color .4s ease, border-color .4s ease, transform .4s var(--ease);
}
.value:hover { transform: translateY(-6px); }
.value .num { font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -.05em; color: var(--c); }
.value .title { display: block; font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -.03em; margin-bottom: 10px; }
.value .body { display: block; line-height: 1.55; opacity: .85; }
.value[aria-pressed="true"] { background: var(--c); color: var(--bg); border-color: var(--c); }
.value[aria-pressed="true"] .num { color: var(--bg); }

.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.person { display: flex; flex-direction: column; gap: 6px; transition: transform .35s var(--ease); }
.person:hover { transform: translateY(-6px); }
.person .photo {
  aspect-ratio: 4 / 5; border-radius: 28px; background: var(--surface); border-bottom: 6px solid var(--c);
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 600; margin-bottom: 8px; overflow: hidden;
}
.person .photo img { width: 100%; height: 100%; object-fit: cover; }
.person .name { font-size: 20px; font-weight: 600; }
.person .role { color: var(--muted); }

/* ---------- Contact ---------- */
.contact-hero { position: relative; overflow: hidden; }
.contact-hero .hero-glow { left: -200px; right: auto; top: auto; bottom: -200px; width: 600px; height: 600px; opacity: .22; background: var(--automate); }
.contact-grid { position: relative; padding-top: 96px; padding-bottom: 120px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 64px; align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 28px; }
.contact-copy h1 { font-size: clamp(56px, 8vw, 120px); line-height: .9; letter-spacing: -.055em; }
.live { display: inline-flex; align-items: center; gap: 10px; }
.live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--grow); animation: live 1.8s ease-out infinite; }
.info { border-top: 1px solid var(--line); margin-top: 8px; }
.info > div { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; transition: padding-left .3s ease; }
.info > div:hover { padding-left: 10px; }
.info dt { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.info dt::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.info dd { font-weight: 600; }
.info dd a { color: #fff; text-decoration: none; }
.info dd a:hover { color: var(--grow); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 50px 120px -60px rgba(157, 140, 255, .5); }
.form { display: flex; flex-direction: column; gap: 28px; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend { font-weight: 600; font-size: 17px; padding: 0; margin-bottom: 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text);
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.chip:hover { transform: translateY(-2px); }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.chip:has(input:checked) { background: var(--c); color: var(--bg); border-color: var(--c); }
.chip:has(input:checked)::before { background: var(--bg); }
.chip:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }
.timings { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.timing { border-radius: 14px; justify-content: center; min-height: 48px; font-weight: 600; }
.timing::before { display: none; }
.timing:has(input:checked) { background: #fff; color: var(--bg); border-color: #fff; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 18px; }
.form label.field-label { display: flex; flex-direction: column; gap: 8px; font-weight: 500; font-size: 15px; color: #C9CDD6; }
.field {
  font: inherit; font-size: 16px; min-height: 52px; padding: 0 16px; border-radius: 14px;
  border: 1px solid var(--line-2); background: var(--bg-2); color: #fff; width: 100%;
  transition: border-color .2s ease, background .2s ease;
}
textarea.field { padding: 14px 16px; resize: vertical; min-height: 140px; }
.field::placeholder { color: var(--dim); }
.field:focus { outline: none; border-color: var(--grow); background: #14161D; }
.field:user-invalid { border-color: var(--build); }
.form-status { font-size: 15px; color: var(--build); min-height: 1em; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.thanks { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; min-height: 560px; justify-content: center; }
.thanks[hidden] { display: none; }
.thanks-mark { display: grid; grid-template-columns: repeat(2, 34px); gap: 6px; animation: pop .7s var(--ease) both; }
.thanks-mark i { width: 34px; height: 34px; background: var(--c); border-radius: 9px; }
.thanks-mark i:nth-child(2), .thanks-mark i:nth-child(3) { border-radius: 17px; }
.thanks h2 { font-size: 52px; line-height: .95; }
.thanks p { font-size: 18px; line-height: 1.6; color: var(--muted); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .typing { width: 62%; }
}

/* ---------- Additions: proof row, wide CTA card, server LEDs ---------- */
.w4 { grid-column: 1 / -1; }
.card-cta.w4 { min-height: 280px; }
.card-cta.w4 .cta-copy { max-width: 720px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 6px; border-top: 1px solid #1C1F28; margin-top: 4px; padding-top: 22px; }
.proof li { color: var(--muted); font-size: 15px; }
.proof b { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: #fff; letter-spacing: -.02em; margin-right: 4px; }
@keyframes led { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.led { animation: led 1.4s steps(2) infinite; }
.l2 { animation-delay: -.5s; } .l3 { animation-delay: -.9s; }

/* ---------- About: statement, divisions, expertise ---------- */
.statement-wrap { padding-bottom: 96px; }
.statement { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.12; letter-spacing: -.035em; max-width: 1120px; color: var(--text); }
.glance dd { font-size: 26px; }
.divisions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 16px; }
.division {
  background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: 28px;
  padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 20px;
}
.division-tag { color: var(--c); }
.division h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.02; }
.division > p { color: var(--muted); line-height: 1.65; }
.division .text-link { margin-top: auto; color: var(--c); }
.lifecycle { display: flex; flex-wrap: wrap; gap: 8px; counter-reset: lc; }
.lifecycle li {
  counter-increment: lc; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text);
  animation: lc 6s infinite;
}
.lifecycle li::before { content: counter(lc, decimal-leading-zero); font-family: var(--font-mono); font-size: 11px; opacity: .7; }
.lifecycle li:nth-child(2) { animation-delay: 1s; } .lifecycle li:nth-child(3) { animation-delay: 2s; }
.lifecycle li:nth-child(4) { animation-delay: 3s; } .lifecycle li:nth-child(5) { animation-delay: 4s; }
.lifecycle li:nth-child(6) { animation-delay: 5s; }
@keyframes lc {
  0%, 15% { background: var(--grow); color: var(--bg); border-color: var(--grow); }
  20%, 100% { background: var(--surface-2); color: var(--text); border-color: var(--line-2); }
}
.tech-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.tech-list li {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--line-2); font-size: 15px; font-weight: 500;
}
.tech-list li::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 2px; background: var(--run); }
.expertise { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px; }
.expertise a {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 150px;
  padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line);
  color: var(--text); text-decoration: none; font-family: var(--font-display); font-weight: 700;
  font-size: 24px; letter-spacing: -.025em; line-height: 1.1;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s var(--ease);
}
.expertise a span { font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: .08em; color: var(--c); }
.expertise a:hover { background: var(--c); color: var(--bg); border-color: var(--c); transform: translateY(-4px); }
.expertise a:hover span { color: var(--bg); }
.cta-solid .cta-long { font-size: clamp(32px, 4.2vw, 60px); line-height: 1; max-width: 860px; }
@media (min-width: 1000px) { .about-hero { grid-template-columns: 1.2fr 1fr; } }
.about-title { font-size: clamp(56px, 8.4vw, 128px); }
.about-title > span { display: block; white-space: nowrap; }
