
:root{
  --navy:#0a2734;
  --navy-2:#102f3c;
  --green:#6edb45;
  --green-dark:#2b7624;
  --text:#0b2130;
  --muted:#61727c;
  --line:#dfe8ec;
  --soft:#f4f7f8;
  --white:#fff;
  --shadow:0 18px 50px rgba(17,49,62,.10);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:#fff}
img{max-width:100%;display:block}
button,a{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
.container{width:min(1180px,calc(100% - 40px));margin:0 auto}

.site-header{
  position:fixed;z-index:40;top:0;left:0;right:0;height:76px;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 max(22px,calc((100vw - 1180px)/2));
  background:rgba(7,30,40,.88);backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.08);color:white
}
.brand{display:flex;gap:12px;align-items:center;font-size:12px;font-weight:800;letter-spacing:.16em;line-height:1.3}
.flag{width:28px;height:28px;background:#e7282f;border-radius:3px;display:grid;place-items:center;color:#fff;font-size:22px;line-height:1}
.nav{display:flex;gap:28px;align-items:center;font-size:14px;font-weight:600}
.nav a{opacity:.82}.nav a:hover{opacity:1}

.button{border:0;border-radius:999px;padding:14px 22px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:10px;transition:.2s transform,.2s box-shadow,.2s background}
.button:hover{transform:translateY(-1px)}
.button-primary{background:var(--green);color:#08221a;box-shadow:0 10px 28px rgba(110,219,69,.22)}
.button-ghost{color:#fff;border:1px solid rgba(255,255,255,.7);background:rgba(0,0,0,.08)}
.button-small{padding:10px 16px;background:var(--green);color:#08221a}
.button-dark{background:#0c3443;color:#fff}

.hero{
  min-height:690px;display:flex;align-items:center;
  padding-top:76px;background:linear-gradient(135deg,#071f2a 0%,#0c3443 58%,#0d3e4e 100%);
  color:#fff;overflow:hidden
}
.hero-content{
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);
  gap:54px;align-items:center;padding-top:54px;padding-bottom:54px
}
.hero-copy{padding:30px 0}
.hero .eyebrow{color:#bdeca9}
.hero h1{font-size:clamp(48px,5.7vw,76px);line-height:.98;margin:0;letter-spacing:-.05em;max-width:760px}
.hero h1 span{color:var(--green)}
.hero-sub{font-size:20px;line-height:1.55;max-width:680px;color:rgba(255,255,255,.84);margin:24px 0 28px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.hero-visual{
  position:relative;min-height:500px;border-radius:28px;
  background:url("assets/hero-clean.jpg") center center/cover no-repeat;
  box-shadow:0 30px 80px rgba(0,0,0,.32);
  border:1px solid rgba(255,255,255,.13);overflow:hidden
}
.hero-visual::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 55%,rgba(4,25,35,.62) 100%);
  pointer-events:none
}
.hero-note{
  position:absolute;z-index:1;right:24px;bottom:24px;
  border-left:1px solid rgba(255,255,255,.7);padding:7px 0 7px 18px;
  text-transform:uppercase;letter-spacing:.15em;line-height:1.55;font-size:11px;
  text-shadow:0 2px 12px rgba(0,0,0,.35)
}

.section{padding:88px 0}
.section-soft{padding:80px 0;background:#f5f8f9}
.section-dark{padding:76px 0;background:linear-gradient(180deg,#0d3140,#082632);color:#fff}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:32px}
.section-heading h2{font-size:clamp(30px,3vw,44px);letter-spacing:-.035em;margin:0}
.section-heading>p{max-width:420px;color:var(--muted);line-height:1.5;margin:0}
.section-heading.light .eyebrow,.section-heading.light>p{color:#b9d9df}
.section-heading.light h2{color:#fff}

.infra-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr auto 1fr;align-items:stretch;gap:12px}
.infra-step{border:1px solid rgba(102,212,228,.35);border-radius:18px;padding:24px 12px;text-align:center;background:rgba(255,255,255,.04);min-height:175px;display:flex;flex-direction:column;align-items:center}
.infra-icon{font-size:34px;margin-bottom:12px}
.infra-step>span{text-transform:uppercase;font-weight:800;letter-spacing:.04em}
.infra-step small{color:#c7d9df;margin-top:5px}
.domain-pills{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin-top:auto;padding-top:18px}
.domain-pills a{background:#fff;color:#0d3240;border-radius:8px;padding:7px 9px;font-size:12px;font-weight:800}
.flow-arrow{display:grid;place-items:center;font-size:32px;color:#9be779}

.domain-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.domain-card{border:1px solid var(--line);border-radius:var(--radius);padding:18px;background:#fff;box-shadow:0 8px 30px rgba(18,50,62,.05);display:flex;flex-direction:column}
.card-title{display:flex;gap:12px;align-items:center;margin-bottom:14px}
.card-icon{font-size:30px;font-weight:800}
.card-title h3{font-size:28px;line-height:1;margin:0 0 4px;letter-spacing:-.04em}
.card-title p{margin:0;font-size:13px;font-weight:700}
.domain-card img{width:100%;aspect-ratio:16/5.5;object-fit:cover;border-radius:10px;margin-bottom:15px}
.domain-card>p{line-height:1.5;color:#334b58;min-height:70px;margin:0}
.tags{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0}
.tags span{font-size:11px;background:#eef2f3;border-radius:999px;padding:7px 9px;color:#4e626d}
.text-link{margin-top:auto;align-self:flex-start;border:0;background:transparent;padding:0;font-weight:800;color:#1762d2}
.accent-blue h3,.accent-blue .card-icon{color:#1364d8}
.accent-teal h3,.accent-teal .card-icon{color:#118d87}
.accent-orange h3,.accent-orange .card-icon{color:#f26116}
.accent-purple h3,.accent-purple .card-icon{color:#7d25c8}
.accent-red h3,.accent-red .card-icon{color:#f01f47}
.accent-green h3,.accent-green .card-icon{color:#2d7a25}

.bundle-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.bundle-card{background:linear-gradient(135deg,#fff,#eef7fb);border:1px solid var(--line);border-radius:16px;padding:22px;display:flex;gap:16px}
.bundle-icon{font-size:40px;color:#0d658d}
.bundle-card h3{margin:0 0 5px}.bundle-card strong{color:#0c7481}.bundle-card p{color:#5e717b;line-height:1.45}

.audience-process{padding:78px 0}
.split-layout{display:grid;grid-template-columns:1.2fr 1fr .72fr;gap:30px;align-items:start}
.audience-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:22px}
.audience-grid div{text-align:center}.audience-grid span{font-size:30px}.audience-grid p{font-size:12px;line-height:1.4;color:#4f626d}
.process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:22px}
.process-grid div{border-top:3px solid #2360c5;padding-top:12px}
.process-grid p{font-size:12px;line-height:1.45;color:#60717a}
.cta-card{background:#baf58e;border-radius:16px;padding:24px;min-height:100%}
.cta-card h3{font-size:28px;margin:0 0 12px;line-height:1}.cta-card p{line-height:1.5}

footer{background:#082734;color:#fff;padding:42px 0}
.footer-inner{display:grid;grid-template-columns:1.3fr .8fr .8fr;gap:30px;align-items:center;font-size:12px;text-transform:uppercase;letter-spacing:.16em;color:#a9c3cc}
.footer-brand{display:flex;gap:14px;align-items:center}.footer-brand strong{display:block;color:#fff}.footer-brand small{display:block;margin-top:5px}.leaf{font-size:34px;color:#8ce559}

.inquiry-dialog{border:0;border-radius:24px;padding:0;max-width:760px;width:calc(100% - 32px);box-shadow:0 30px 100px rgba(0,0,0,.3)}
.inquiry-dialog::backdrop{background:rgba(2,20,28,.72);backdrop-filter:blur(5px)}
.dialog-shell{position:relative;padding:34px}
.dialog-close{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:32px;color:#6d7f87}
.dialog-shell h2{font-size:34px;margin:0 0 24px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form-grid label{font-weight:700;font-size:13px;display:grid;gap:7px}
.form-grid input,.form-grid textarea{width:100%;padding:13px 14px;border:1px solid #cddadd;border-radius:10px;font:inherit}
.form-grid .full{grid-column:1/-1}
.dialog-actions{display:flex;align-items:center;gap:18px;margin-top:20px}.dialog-actions small{color:#687a83;line-height:1.4}
.success-message{margin-top:18px;padding:14px;border-radius:10px;background:#e9f7e3;color:#266421;font-weight:700}

@media (max-width: 980px){
  .nav a{display:none}
  .hero{min-height:auto}
  .hero-content{grid-template-columns:1fr;gap:26px}
  .hero-copy{max-width:760px;padding-bottom:0}
  .hero-visual{min-height:420px}
  .hero-note{display:block}
  .infra-flow{grid-template-columns:1fr;gap:10px}
  .flow-arrow{transform:rotate(90deg);height:22px}
  .infra-step{min-height:auto}
  .domain-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bundle-grid{grid-template-columns:1fr}
  .split-layout{grid-template-columns:1fr}
  .audience-grid{grid-template-columns:repeat(5,1fr)}
  .cta-card{min-height:auto}
}
@media (max-width: 640px){
  .container{width:min(100% - 28px,1180px)}
  .site-header{height:68px;padding:0 14px}
  .brand{font-size:10px}.flag{width:24px;height:24px}
  .nav .button{padding:9px 12px;font-size:12px}
  .hero{min-height:auto;padding-top:68px}
  .hero-content{padding-top:40px;padding-bottom:42px}
  .hero-copy{padding:28px 0 0}
  .hero h1{font-size:46px}
  .hero-sub{font-size:17px}
  .hero-actions{flex-direction:column;align-items:stretch}
  .hero-visual{min-height:300px;border-radius:20px}
  .hero-note{right:16px;bottom:16px;font-size:10px}
  .section,.section-soft{padding:64px 0}.section-dark{padding:58px 0}
  .section-heading{align-items:start;flex-direction:column}.section-heading>p{max-width:none}
  .domain-grid{grid-template-columns:1fr}
  .domain-card>p{min-height:auto}
  .audience-grid{grid-template-columns:repeat(2,1fr);gap:18px}
  .process-grid{grid-template-columns:1fr}
  .footer-inner{grid-template-columns:1fr;gap:22px}
  .form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}
  .dialog-shell{padding:28px 20px}.dialog-actions{align-items:flex-start;flex-direction:column}
}

.hp-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.error-message{margin-top:18px;padding:14px;border-radius:10px;background:#fff0f0;color:#9a2626;font-weight:700}
.button[disabled]{opacity:.65;cursor:wait;transform:none}

/* Panoramic portfolio teaser */
.stack-teaser{padding:34px 0 42px;background:#fff}
.stack-teaser-frame{margin:0;border-radius:20px;overflow:hidden;box-shadow:0 20px 55px rgba(17,49,62,.14);border:1px solid #dce7eb;background:#0b2d3a}
.stack-teaser-frame img{width:100%;height:auto;display:block}
@media(max-width:760px){
  .stack-teaser{padding:22px 0 28px}
  .stack-teaser-frame{border-radius:14px;overflow-x:auto;scrollbar-width:thin}
  .stack-teaser-frame img{width:920px;max-width:none;height:auto}
}


/* =========================
   HERO V4 — title across the page, copy left, teaser right
   ========================= */
.hero-v4{
  min-height:auto;
  padding:0;
  background:
    radial-gradient(circle at 82% 18%, rgba(18,99,112,.32), transparent 34%),
    linear-gradient(135deg,#072631 0%,#083745 48%,#0a2c38 100%);
}
.hero-v4>.container{
  padding-top:44px;
  padding-bottom:58px;
}
.hero-title-block{
  max-width:1120px;
}
.hero-v4 .hero-title-block .eyebrow{
  margin-bottom:14px;
}
.hero-v4 .hero-title-block h1{
  max-width:none;
  width:100%;
  font-size:clamp(48px,5.4vw,78px);
  line-height:.98;
  letter-spacing:-.05em;
  margin:0;
}
.hero-lower{
  display:grid;
  grid-template-columns:minmax(280px,.72fr) minmax(0,1.7fr);
  gap:38px;
  align-items:center;
  margin-top:34px;
}
.hero-intro{
  align-self:center;
  padding:6px 0;
}
.hero-v4 .hero-sub{
  margin:0 0 26px;
  max-width:430px;
  font-size:18px;
  line-height:1.62;
}
.hero-stack-image{
  margin:0;
  overflow:hidden;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 22px 60px rgba(0,0,0,.28);
  background:#0b2d3a;
}
.hero-stack-image img{
  display:block;
  width:100%;
  height:auto;
}
@media (max-width: 980px){
  .hero-v4>.container{padding-top:38px;padding-bottom:46px}
  .hero-lower{
    grid-template-columns:1fr;
    gap:24px;
  }
  .hero-v4 .hero-sub{max-width:700px}
  .hero-stack-image{
    overflow-x:auto;
    scrollbar-width:thin;
  }
  .hero-stack-image img{
    width:980px;
    max-width:none;
  }
}
@media (max-width: 620px){
  .hero-v4>.container{padding-top:34px;padding-bottom:36px}
  .hero-v4 .hero-title-block h1{font-size:44px}
  .hero-lower{margin-top:26px}
  .hero-v4 .hero-sub{font-size:17px}
  .hero-stack-image{border-radius:16px}
  .hero-stack-image img{width:860px}
}


/* =========================
   HERO V5 — approved compact teaser card beside copy
   ========================= */
.hero-v5{
  min-height:auto;
  padding:0;
  background:
    radial-gradient(circle at 78% 22%, rgba(18,99,112,.25), transparent 34%),
    linear-gradient(135deg,#072631 0%,#083745 48%,#0a2c38 100%);
}
.hero-content-v5{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(480px,1.08fr);
  gap:54px;
  align-items:center;
  padding-top:70px;
  padding-bottom:76px;
}
.hero-copy-v5{
  max-width:610px;
}
.hero-v5 .eyebrow{
  margin-bottom:16px;
}
.hero-v5 h1{
  margin:0;
  max-width:620px;
  font-size:clamp(48px,5vw,72px);
  line-height:.98;
  letter-spacing:-.05em;
}
.hero-v5 h1 span{
  color:#61dc3f;
}
.hero-v5 .hero-sub{
  max-width:620px;
  margin:30px 0 0;
  font-size:18px;
  line-height:1.65;
}
.hero-v5 .hero-actions{
  margin-top:28px;
}
.hero-stack-card{
  margin:0;
  border-radius:24px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 24px 60px rgba(0,0,0,.3);
  background:#102c37;
}
.hero-stack-card img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio: .94;
  object-fit:cover;
}
@media (max-width: 1000px){
  .hero-content-v5{
    grid-template-columns:1fr;
    gap:30px;
    padding-top:48px;
    padding-bottom:50px;
  }
  .hero-copy-v5{
    max-width:760px;
  }
  .hero-v5 h1{
    max-width:820px;
  }
  .hero-stack-card{
    max-width:760px;
    width:100%;
  }
  .hero-stack-card img{
    aspect-ratio:auto;
  }
}
@media (max-width: 640px){
  .hero-content-v5{
    padding-top:38px;
    padding-bottom:40px;
  }
  .hero-v5 h1{
    font-size:46px;
  }
  .hero-v5 .hero-sub{
    margin-top:22px;
    font-size:17px;
  }
  .hero-stack-card{
    border-radius:18px;
  }
}


/* =========================
   V6 PAGE LAYOUT — aligned with Autonomous Intelligence Stack
   Header participates in page flow (sticky instead of overlaying hero)
   ========================= */
.site-header{
  position:sticky;
  top:0;
  left:auto;
  right:auto;
  height:76px;
  z-index:40;
  background:rgba(7,30,40,.96);
  backdrop-filter:blur(12px);
}

.hero-v5{
  padding-top:0;
}

.hero-content-v5{
  padding-top:68px;
  padding-bottom:72px;
}

/* Keep the same visual breathing room on smaller screens */
@media (max-width:1000px){
  .hero-content-v5{
    padding-top:46px;
    padding-bottom:48px;
  }
}
@media (max-width:640px){
  .site-header{
    height:66px;
  }
  .hero-v5{
    padding-top:0;
  }
  .hero-content-v5{
    padding-top:36px;
    padding-bottom:40px;
  }
}

.stage-badge{
  flex:0 0 auto;
  min-width:96px;
  padding:8px 9px;
  border-radius:9px;
  background:#edf5f8;
  color:#31515e;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  text-align:center;
}
.featured-bundle{box-shadow:0 12px 36px rgba(13,84,97,.10);border-color:#b9dfe5}
.cross-portfolio{font-size:11px;line-height:1.55}
.cross-portfolio a{color:#8ce559;text-decoration:none;font-weight:800}
.cross-portfolio a:hover{text-decoration:underline}
@media(max-width:760px){.stage-badge{min-width:84px;font-size:9px}}

/* The Systems of Tomorrow */
.portfolio-bridge{padding:70px 0;background:#0f1512;color:#fff}.bridge-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:22px;align-items:stretch}.bridge-grid h2{font-size:36px;line-height:1.08;margin:0 0 12px}.bridge-grid>div>p:last-child{color:#a9b5ad;max-width:580px}.bridge-card{display:flex;flex-direction:column;justify-content:flex-end;min-height:220px;padding:25px;border-radius:20px;text-decoration:none;color:#fff;background:linear-gradient(145deg,#1c3025,#142019);border:1px solid rgba(255,255,255,.1);transition:.2s}.bridge-card:hover{transform:translateY(-3px);border-color:rgba(255,255,255,.28)}.bridge-card.autonomy{background:linear-gradient(145deg,#1b2634,#181d27)}.bridge-card.roots{background:linear-gradient(145deg,#263823,#18251a)}.bridge-card small{letter-spacing:.15em;font-weight:800;color:#9ab890}.bridge-card strong{font-size:23px;line-height:1.18;margin:8px 0 18px}.bridge-card span{font-weight:700}@media(max-width:1100px){.bridge-grid{grid-template-columns:1fr 1fr}.bridge-grid>div{grid-column:1/-1}}@media(max-width:760px){.bridge-grid{grid-template-columns:1fr}}


/* Shared hero image lightbox */
[data-hero-lightbox]{position:relative;cursor:zoom-in;isolation:isolate}
[data-hero-lightbox]::after{content:"↗";position:absolute;top:14px;right:14px;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(8,15,20,.72);color:#fff;border:1px solid rgba(255,255,255,.35);font-size:18px;line-height:1;box-shadow:0 8px 20px rgba(0,0,0,.18);opacity:.82;transition:opacity .2s ease,transform .2s ease;pointer-events:none;z-index:2}
[data-hero-lightbox]:hover::after,[data-hero-lightbox]:focus-visible::after{opacity:1;transform:scale(1.06)}
[data-hero-lightbox]:focus-visible{outline:3px solid rgba(255,255,255,.75);outline-offset:4px}
.image-lightbox{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;padding:28px;background:rgba(4,8,11,.92);backdrop-filter:blur(8px)}
.image-lightbox.is-open{display:flex}
.image-lightbox__image{display:block;max-width:min(96vw,1800px);max-height:92vh;width:auto;height:auto;object-fit:contain;border-radius:10px;box-shadow:0 30px 90px rgba(0,0,0,.5)}
.image-lightbox__close{position:fixed;top:18px;right:20px;width:46px;height:46px;border:1px solid rgba(255,255,255,.35);border-radius:50%;background:rgba(0,0,0,.48);color:#fff;font-size:30px;line-height:1;display:grid;place-items:center;cursor:pointer;z-index:1001}
.image-lightbox__close:hover{background:rgba(255,255,255,.14)}
body.lightbox-open{overflow:hidden}
@media(max-width:760px){[data-hero-lightbox]::after{top:10px;right:10px;width:34px;height:34px;font-size:16px}.image-lightbox{padding:14px}.image-lightbox__image{max-width:96vw;max-height:88vh}.image-lightbox__close{top:10px;right:10px;width:42px;height:42px}}
