/* ============================================================
   STRIVE — Growth Science Engineers
   Shared design system
   ============================================================ */

:root{
  --cyan: #17C9F2;
  --cyan-deep: #0EA7CF;
  --navy: #4B4F72;
  --navy-deep: #34374F;
  --ink: #14151E;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FB;
  --bg-soft2: #ECEFF6;
  --border: #E3E7F0;
  --text: #23242F;
  --text-muted: #6A6E80;
  --text-inverse: #F5F7FB;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(20,21,30,0.06);
  --shadow-md: 0 12px 32px rgba(20,21,30,0.10);
  --shadow-lg: 0 24px 60px rgba(20,21,30,0.16);
  --gradient-brand: linear-gradient(135deg, var(--cyan) 0%, var(--navy) 100%);
  --gradient-dark: linear-gradient(135deg, #1B1D2B 0%, #34374F 55%, #3E4468 100%);
  --container: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
}
h1,h2,h3,h4{
  font-family: 'Space Grotesk', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 700; }
h2{ font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 700; }
h3{ font-size: 1.25rem; font-weight: 600; }
p{ margin: 0 0 1em; color: var(--text-muted); }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display:block; }
ul{ padding:0; margin:0; list-style:none; }

.container{ max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section{ padding: 96px 0; }
.section-tight{ padding: 64px 0; }
.section-soft{ background: var(--bg-soft); }
.section-ink{ background: var(--gradient-dark); color: var(--text-inverse); }
.section-ink h2, .section-ink h3{ color: #fff; }
.section-ink p{ color: rgba(245,247,251,0.72); }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size: .78rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color: var(--cyan-deep); margin-bottom: 14px;
}
.eyebrow::before{
  content:""; width:22px; height:2px; background: var(--gradient-brand); display:inline-block; border-radius:2px;
}
.section-ink .eyebrow{ color: var(--cyan); }

.lede{ font-size: 1.15rem; max-width: 640px; }
.center{ text-align:center; margin-left:auto; margin-right:auto; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 15px 30px; border-radius: 999px; font-weight:600; font-size:.95rem;
  border: 1px solid transparent; cursor:pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space:nowrap;
}
.btn-primary{ background: var(--gradient-brand); color:#fff; box-shadow: var(--shadow-md); }
.btn-primary:hover{ transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost{ background: transparent; border-color: rgba(20,21,30,0.16); color: var(--ink); }
.btn-ghost:hover{ background: rgba(20,21,30,0.04); }
.section-ink .btn-ghost{ border-color: rgba(245,247,251,0.3); color:#fff; }
.section-ink .btn-ghost:hover{ background: rgba(255,255,255,0.08); }
.btn-sm{ padding: 10px 20px; font-size:.85rem; }
.btn-arrow{ transition: transform .18s ease; }
.btn:hover .btn-arrow{ transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; height:112px; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ height:54px; width:auto; }
.nav-links{ display:flex; align-items:center; gap:2px; }
.nav-links a{
  padding:10px 16px; border-radius:999px; font-size:.88rem; font-weight:600;
  color: var(--text); letter-spacing:.01em; transition: background .15s ease, color .15s ease;
}
.nav-links a:hover{ background: var(--bg-soft2); }
.nav-links a.active{ color: var(--cyan-deep); }
.header-actions{ display:flex; align-items:center; gap:18px; }
.header-contact{ display:flex; flex-direction:column; font-size:.78rem; color:var(--text-muted); text-align:right; }
.header-contact strong{ color: var(--ink); font-size:.85rem; }
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; }

@media (max-width: 980px){
  .site-header{
    background:#fff;
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
    isolation:isolate;
  }
  .site-header .container{ height:88px; }
  .header-contact{ display:none; }
  .nav-links{
    position:absolute; z-index:110; top:100%; left:0; right:0;
    height:calc(100vh - 88px); height:calc(100dvh - 88px);
    overflow-y:auto; overscroll-behavior:contain;
    background-color:#fff; flex-direction:column; align-items:stretch; padding:18px 28px 32px;
    transform:translateY(-8px); visibility:hidden; opacity:0; pointer-events:none;
    transition:transform .2s ease, opacity .2s ease, visibility 0s linear .2s;
    border-top:1px solid var(--border); box-shadow:0 18px 36px rgba(20,21,30,.14);
  }
  .nav-links.open{
    transform:translateY(0); visibility:visible; opacity:1; pointer-events:auto;
    transition-delay:0s;
  }
  .nav-links a{
    padding:17px 4px; font-size:1rem; border-bottom:1px solid var(--border); border-radius:0;
    color:var(--ink); background-color:#fff;
  }
  .nav-links a:hover, .nav-links a:focus-visible{ background:var(--bg-soft); padding-left:12px; }
  .nav-toggle{
    display:flex; align-items:center; justify-content:center; width:44px; height:44px;
    padding:0; border-radius:10px; color:var(--ink); background:#fff;
  }
  .nav-toggle:hover, .nav-toggle:focus-visible{ background:var(--bg-soft2); outline:2px solid var(--cyan); outline-offset:2px; }
  body.nav-open{ overflow:hidden; }
}

@media (max-width: 560px){
  .site-header .container{ padding:0 18px; }
  .brand img{ height:44px; }
  .header-actions{ gap:10px; }
  .header-actions > .btn{ display:none; }
  .nav-links{ padding-left:22px; padding-right:22px; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative; overflow:hidden;
  padding: 76px 0 60px;
  background: var(--bg);
}
.hero-grid{ display:grid; grid-template-columns: 1.1fr .9fr; gap:56px; align-items:center; }
.hero-copy h1{ margin-bottom:22px; }
.hero-actions{ display:flex; gap:14px; margin-top: 30px; flex-wrap:wrap; }
.hero-visual{ position:relative; display:flex; align-items:center; justify-content:center; min-height:420px; }
.flight-stage{ position:relative; width:100%; max-width:440px; aspect-ratio:1/1; }
.flight-path{ position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.flight-path path{
  fill:none; stroke:url(#flightGrad); stroke-width:1.6; stroke-linecap:round;
  stroke-dasharray: 3 11; opacity:.55;
  animation: dash-flow 3.4s linear infinite;
}
@keyframes dash-flow{ to{ stroke-dashoffset:-140; } }
.flying-mark{
  position:absolute; left:50%; top:50%; width:40%; height:auto;
  transform: translate(-50%,-50%);
  filter: drop-shadow(0 18px 26px rgba(52,55,79,0.35));
  animation: fly 6.5s ease-in-out infinite;
  transform-origin: 50% 50%;
}
@keyframes fly{
  0%   { transform: translate(-50%,-50%) translate(0,0) rotate(-6deg); }
  22%  { transform: translate(-50%,-50%) translate(26px,-30px) rotate(4deg); }
  45%  { transform: translate(-50%,-50%) translate(6px,-52px) rotate(-3deg); }
  68%  { transform: translate(-50%,-50%) translate(-28px,-18px) rotate(6deg); }
  86%  { transform: translate(-50%,-50%) translate(-10px,10px) rotate(-4deg); }
  100% { transform: translate(-50%,-50%) translate(0,0) rotate(-6deg); }
}
.flying-mark-shadow{
  position:absolute; left:50%; bottom:6%; width:34%; height:18px; transform:translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(52,55,79,0.22) 0%, rgba(52,55,79,0) 72%);
  animation: shadow-pulse 6.5s ease-in-out infinite;
}
@keyframes shadow-pulse{
  0%,100%{ transform:translateX(-50%) scale(1); opacity:.7; }
  45%{ transform:translateX(-50%) scale(.78); opacity:.4; }
}
@media (prefers-reduced-motion: reduce){
  .flying-mark, .flying-mark-shadow, .flight-path path{ animation:none; }
}

.dot-field{
  position:absolute; inset:0; z-index:-1; opacity:.5;
  background-image: radial-gradient(var(--border) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, black 40%, transparent 75%);
}

.stat-strip{
  display:grid; grid-template-columns: repeat(4,1fr); gap:1px;
  background: var(--border); border:1px solid var(--border); border-radius: var(--radius-lg);
  overflow:hidden; margin-top: 64px;
}
.stat-cell{ background:#fff; padding: 28px 22px; text-align:center; }
.stat-num{ font-family:'Space Grotesk',sans-serif; font-weight:700; font-size: 2rem; color: var(--ink); }
.stat-num span{ color: var(--cyan-deep); }
.stat-label{ font-size:.82rem; color: var(--text-muted); margin-top:4px; }

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ order:-1; max-width:280px; margin:0 auto; }
  .stat-strip{ grid-template-columns: repeat(2,1fr); }
}

/* ---------- Page header (inner pages) ---------- */
.page-header{
  background: var(--gradient-dark); color:#fff; padding: 64px 0 60px; position:relative; overflow:hidden;
}
.breadcrumb{ font-size:.82rem; color: rgba(245,247,251,0.6); margin-bottom:16px; }
.breadcrumb a{ color: var(--cyan); font-weight:600; }
.page-header h1{ color:#fff; max-width:760px; }
.page-header .lede{ color: rgba(245,247,251,0.75); max-width:640px; }

/* ---------- Cards / grids ---------- */
.grid-3{ display:grid; grid-template-columns: repeat(3,1fr); gap:28px; }
.grid-2{ display:grid; grid-template-columns: repeat(2,1fr); gap:28px; }
.grid-4{ display:grid; grid-template-columns: repeat(4,1fr); gap:24px; }
.grid-5{ display:grid; grid-template-columns: repeat(5,1fr); gap:20px; }
@media (max-width: 980px){
  .grid-3, .grid-4, .grid-5{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px){
  .grid-2, .grid-3, .grid-4, .grid-5{ grid-template-columns: 1fr; }
}

.card{
  background:#fff; border:1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon{
  width:52px; height:52px; border-radius:14px; background: var(--bg-soft2);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px; color: var(--cyan-deep);
}
.card-icon svg{ width:26px; height:26px; }
.card a.card-link{ font-size:.85rem; font-weight:700; color: var(--cyan-deep); display:inline-flex; align-items:center; gap:6px; margin-top:8px; }

.pillar-card{
  background: var(--bg-soft); border-radius: var(--radius-lg); overflow:hidden; border:1px solid var(--border);
}
.pillar-card img{ height:220px; width:100%; object-fit:cover; object-position:center; }
.pillar-card .pillar-body{ padding:26px; }
.pillar-card h3 a{ color: var(--ink); }

/* ---------- Process stepper ---------- */
.process{ position:relative; display:grid; grid-template-columns: repeat(4,1fr); gap:24px; margin-top:56px; }
.process::before{
  content:""; position:absolute; top:26px; left:8%; right:8%; height:2px;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 10px, transparent 10px 18px); z-index:0;
}
.process-step{ position:relative; z-index:1; text-align:left; }
.process-num{
  width:52px; height:52px; border-radius:50%; background: var(--gradient-brand); color:#fff;
  display:flex; align-items:center; justify-content:center; font-family:'Space Grotesk',sans-serif; font-weight:700;
  margin-bottom:18px; box-shadow: var(--shadow-sm);
}
@media (max-width: 900px){
  .process{ grid-template-columns: 1fr 1fr; }
  .process::before{ display:none; }
}
@media (max-width: 560px){ .process{ grid-template-columns: 1fr; } }

/* ---------- Growth loop diagram ---------- */
.loop-diagram{ display:flex; justify-content:center; margin: 8px 0 60px; }
.loop-visual{ position:relative; width:100%; max-width:440px; aspect-ratio:1/1; }
.loop-svg{ position:absolute; inset:0; width:100%; height:100%; }
.loop-guide{ fill:none; stroke: var(--border); stroke-width:1.5; stroke-dasharray: 1 9; }
.loop-arrow{ fill: var(--cyan-deep); }
.loop-node{
  position:absolute; transform:translate(-50%,-50%); text-align:center; width:132px;
}
.loop-node-n{ top:2%; left:50%; }
.loop-node-e{ top:50%; left:98%; }
.loop-node-s{ top:98%; left:50%; }
.loop-node-w{ top:50%; left:2%; }
.loop-num{
  width:52px; height:52px; border-radius:50%; background:#fff; border:2px solid var(--border);
  display:flex; align-items:center; justify-content:center; margin:0 auto 10px;
  color:var(--cyan-deep); box-shadow: var(--shadow-sm);
}
.loop-num svg{ width:24px; height:24px; }
.loop-node span{ font-size:.78rem; font-weight:700; color:var(--ink); line-height:1.25; display:block; }
.loop-step-num{
  display:inline-block; color: var(--cyan-deep); font-family:'Space Grotesk',sans-serif; font-weight:700;
  margin-right:3px;
}
.loop-center{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); text-align:center; width:172px;
}
.loop-center img{
  width:76px; height:auto; margin:0 auto 10px; transform-origin:50% 50%;
  animation: twist 3.2s ease-in-out infinite;
  filter: drop-shadow(0 6px 14px rgba(52,55,79,0.28));
}
.loop-center strong{
  display:block; font-family:'Space Grotesk',sans-serif; font-size:1.15rem; font-weight:700;
  color: var(--ink); letter-spacing:-0.01em; margin-bottom:0;
}
.loop-center span{ display:block; margin-top:6px; font-size:.72rem; line-height:1.3; color: var(--text-muted); font-weight:600; }
@keyframes twist{
  0%, 100% { transform: rotate(-18deg); }
  50% { transform: rotate(18deg); }
}
@media (prefers-reduced-motion: reduce){
  .loop-center img{ animation:none; }
}
@media (max-width: 640px){
  .loop-visual{ max-width:320px; }
  .loop-node{ width:96px; }
  .loop-num{ width:40px; height:40px; }
  .loop-num svg{ width:19px; height:19px; }
  .loop-node span{ font-size:.68rem; }
  .loop-center{ width:128px; }
  .loop-center img{ width:52px; }
  .loop-center strong{ font-size:.92rem; }
}

/* ---------- Feature rows (service pages) ---------- */
.feature-row{ display:grid; grid-template-columns: repeat(2,1fr); gap:60px; align-items:center; padding: 56px 0; border-top:1px solid var(--border); }
.feature-row:first-of-type{ border-top:none; }
.feature-row.reverse .feature-media{ order:2; }
.feature-media{
  background: var(--bg-soft2); border-radius: var(--radius-lg); padding:36px; min-height:220px;
  display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden;
}
.feature-media .glyph{ width:96px; height:96px; color: var(--cyan-deep); }
.feature-kicker{ font-size:.78rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--text-muted); margin-bottom:10px; }
@media (max-width: 900px){
  .feature-row, .feature-row.reverse .feature-media{ grid-template-columns: 1fr; order:0; }
  .feature-row{ gap:24px; }
}

/* ---------- Timeline (About) ---------- */
.timeline{ position:relative; margin-top:50px; padding-left:32px; border-left:2px solid var(--border); }
.timeline-item{ position:relative; padding: 0 0 46px 28px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{
  content:""; position:absolute; left:-39px; top:2px; width:16px; height:16px; border-radius:50%;
  background: var(--gradient-brand); border:3px solid #fff; box-shadow: 0 0 0 2px var(--border);
}
.timeline-year{ font-family:'Space Grotesk',sans-serif; color: var(--cyan-deep); font-weight:700; letter-spacing:.04em; margin-bottom:4px; display:block; }

/* ---------- Values ---------- */
.value-card{ padding-top: 20px; border-top:3px solid; border-image: var(--gradient-brand) 1; }

/* ---------- CTA band ---------- */
.cta-band{
  background: var(--gradient-brand); border-radius: var(--radius-lg); padding: 64px 56px;
  display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
  color:#fff; position:relative; overflow:hidden;
}
.cta-band h2{ color:#fff; margin-bottom:8px; }
.cta-band p{ color: rgba(255,255,255,0.85); margin:0; }
.cta-band .btn-ghost{ border-color: rgba(255,255,255,0.6); color:#fff; }
.cta-band .btn-ghost:hover{ background: rgba(255,255,255,0.15); }
.cta-wrap{ padding: 0 28px 96px; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--ink); color: rgba(245,247,251,0.7); padding: 64px 0 28px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:44px; border-bottom:1px solid rgba(255,255,255,0.08); }
.footer-brand img{ width:150px; height:auto; margin-bottom:16px; }
.footer-brand p{ color: rgba(245,247,251,0.55); max-width:280px; }
.footer-col h4{ color:#fff; font-size:.82rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:16px; }
.footer-col a{ display:block; color: rgba(245,247,251,0.6); font-size:.9rem; padding:6px 0; transition: color .15s ease; }
.footer-col a:hover{ color: var(--cyan); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:24px; font-size:.82rem; color: rgba(245,247,251,0.45); flex-wrap:wrap; gap:12px; }
.footer-bottom a{ color: rgba(245,247,251,0.45); }
.footer-bottom a:hover{ color:#fff; }
@media (max-width: 900px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }

/* ---------- Contact page ---------- */
.contact-layout{ display:grid; grid-template-columns: .9fr 1.1fr; gap:48px; align-items:start; }
.contact-layout.contact-layout-single{ display:block; max-width:880px; }
.contact-card{ background:#fff; border:1px solid var(--border); border-radius: var(--radius-lg); padding:36px; box-shadow: var(--shadow-sm); }
.info-row{ display:flex; gap:16px; align-items:flex-start; padding: 16px 0; border-top:1px solid var(--border); }
.info-row:first-of-type{ border-top:none; }
.info-icon{ width:42px; height:42px; border-radius:12px; background: var(--bg-soft2); display:flex; align-items:center; justify-content:center; color:var(--cyan-deep); flex-shrink:0; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:.82rem; font-weight:600; margin-bottom:8px; color: var(--ink); }
.field input, .field textarea{
  width:100%; padding:13px 16px; border-radius:10px; border:1px solid var(--border); font-family:inherit; font-size:.95rem;
  background: var(--bg-soft); transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field textarea:focus{ outline:none; border-color: var(--cyan); background:#fff; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.map-embed{ border-radius: var(--radius-lg); overflow:hidden; border:1px solid var(--border); margin-top:28px; }
.map-embed iframe{ width:100%; height:360px; border:0; display:block; }
@media (max-width: 900px){ .contact-layout{ grid-template-columns:1fr; } .field-row{ grid-template-columns:1fr; } }

/* ---------- Legal pages ---------- */
.legal-page{ max-width:860px; }
.legal-meta{ padding:18px 20px; margin-bottom:36px; border:1px solid var(--border); border-radius:var(--radius); background:var(--bg-soft); color:var(--text-muted); font-size:.9rem; }
.legal-section{ padding:0 0 30px; margin-bottom:30px; border-bottom:1px solid var(--border); }
.legal-section:last-child{ border-bottom:0; margin-bottom:0; }
.legal-section h2{ font-size:1.45rem; margin-bottom:14px; }
.legal-section h3{ font-size:1.05rem; margin-top:22px; }
.legal-section ul{ list-style:disc; padding-left:22px; margin:0 0 1em; }
.legal-section li{ margin-bottom:8px; color:var(--text-muted); }
.legal-section a{ color:var(--cyan-deep); text-decoration:underline; text-underline-offset:2px; }
.legal-address{ font-style:normal; color:var(--text-muted); }

/* ---------- misc ---------- */
.tag-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.tag{ font-size:.78rem; font-weight:600; padding:7px 14px; border-radius:999px; background: var(--bg-soft2); color: var(--navy-deep); }
.section-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:44px; flex-wrap:wrap; }
.section-head .lede{ margin-bottom:0; }
.reveal{ opacity:0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }

/* ---------- Modal ---------- */
.modal-overlay{
  position:fixed; inset:0; background:rgba(20,21,30,0.62); backdrop-filter: blur(2px);
  display:flex; align-items:center; justify-content:center; padding:20px; z-index:300;
  opacity:0; pointer-events:none; transition: opacity .2s ease;
}
.modal-overlay.open{ opacity:1; pointer-events:auto; }
.modal-box{
  background:#fff; border-radius: var(--radius-lg); padding:36px; max-width:480px; width:100%;
  position:relative; box-shadow: var(--shadow-lg); transform: translateY(12px); transition: transform .2s ease;
}
.modal-overlay.open .modal-box{ transform:translateY(0); }
.modal-close{
  position:absolute; top:18px; right:18px; width:32px; height:32px; border-radius:50%;
  background: var(--bg-soft2); border:none; font-size:1.2rem; line-height:1; cursor:pointer;
  color:var(--text-muted); display:flex; align-items:center; justify-content:center; transition: background .15s ease, color .15s ease;
}
.modal-close:hover{ background: var(--border); color: var(--ink); }
.modal-note{ display:none; margin-top:14px; font-size:.85rem; color: var(--cyan-deep); }

/* ---------- Page header two-column (with visual) ---------- */
.page-header-grid{ display:grid; grid-template-columns: 1.15fr .85fr; gap:48px; align-items:center; }
@media (max-width: 900px){
  .page-header-grid{ grid-template-columns: 1fr; }
}

/* ---------- Database build animation ---------- */
.db-build-stage{
  position:relative; width:100%; max-width:300px; margin:0 auto; aspect-ratio:1; display:grid; place-items:center; isolation:isolate;
}
.db-build-stage::before{
  content:""; position:absolute; inset:8%; border-radius:50%; z-index:-1;
  background:radial-gradient(circle, rgba(23,201,242,.18) 0%, rgba(75,79,114,.2) 45%, transparent 72%);
  filter:blur(5px); animation:db-halo 5.2s ease-in-out infinite;
}
.db-layer{ position:absolute; left:0; width:100%; height:auto; opacity:0; }
.db-layer-bottom{ top:70.9%; animation:db-bottom-in .8s cubic-bezier(.2,.8,.25,1) .1s both; }
.db-layer-mid{ top:50%; animation:db-mid-in .85s cubic-bezier(.2,.8,.25,1) .65s both; }
.db-layer-top{ top:0; animation:db-top-in .85s cubic-bezier(.2,.8,.25,1) 1.2s both; }
@keyframes db-bottom-in{
  from{ opacity:0; transform:translateY(64px) rotate(2deg) scale(.97); }
  to{ opacity:1; transform:translateY(0) rotate(0) scale(1); }
}
@keyframes db-mid-in{
  from{ opacity:0; transform:translateX(74px) rotate(-1deg) scale(.97); }
  to{ opacity:1; transform:translateX(0) rotate(0) scale(1); }
}
@keyframes db-top-in{
  from{ opacity:0; transform:translateY(-68px) rotate(-2deg) scale(.97); }
  to{ opacity:1; transform:translateY(0) rotate(0) scale(1); }
}
@keyframes db-halo{
  0%,100%{ opacity:.7; transform:scale(.96); }
  50%{ opacity:1; transform:scale(1.04); }
}
@media (prefers-reduced-motion: reduce){
  .db-build-stage::before, .db-layer{ animation:none; opacity:1; transform:none; }
}
