/* Eastware Solutions — Bold editorial. Cinematic imagery. Sharp · Grounded · Forward. */

:root {
  --cobalt: #0047AB;
  --cobalt-bright: #1E5BE6;
  --cobalt-deep: #06337D;
  --cobalt-wash: rgba(0,71,171,0.08);

  --ink: #0a0e17;
  --ink-soft: #2d3342;
  --muted: #5e6577;
  --line: #dfe2ea;
  --tint: #f3f5f9;
  --surface: #f8f9fb;
  --white: #fdfdfe;

  --maxw: 1240px;
  --shadow: 0 20px 50px rgba(10,14,23,0.08);
  --shadow-lg: 0 30px 70px rgba(10,14,23,0.14);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --space-xs: 4px; --space-sm: 8px; --space-md: 16px;
  --space-lg: 24px; --space-xl: 32px; --space-2xl: 48px;
  --space-3xl: 64px; --space-4xl: 96px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }
body {
  font-family: 'Figtree', system-ui, -apple-system, sans-serif;
  color: var(--ink-soft); background: var(--white);
  line-height: 1.6; -webkit-font-smoothing: antialiased; font-size: 17px;
}
img { max-width: 100%; display: block }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px }

/* ── typography ── */
h1,h2,h3,h4,.display {
  font-family: 'Archivo', sans-serif; color: var(--ink);
  letter-spacing: -0.03em; line-height: 1.02; font-weight: 800;
}
h1 { font-size: clamp(2.8rem,6.5vw,5.4rem) }
h2 { font-size: clamp(2rem,4.5vw,3.6rem); line-height: 1.04 }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.18 }
.lower { text-transform: lowercase }
p { color: var(--ink-soft) }
.lead { font-size: clamp(1.1rem,1.8vw,1.35rem); color: var(--ink-soft); max-width: 58ch; line-height: 1.55 }
.eyebrow { display: inline-block; font-size:.75rem; font-weight:700; letter-spacing:.22em; text-transform:uppercase; color: var(--cobalt) }
section { padding: var(--space-4xl) 0 }
.section-tint { background: var(--tint) }
.section-dark { background: var(--ink); color: #c8cdd8 }
.section-dark h2,.section-dark h3,.section-dark h4 { color: #fff }
.section-dark .eyebrow { color: #7db3ff }
.section-dark p { color: #a0a8b8 }
.section-dark .arrow-link { color: #7db3ff }
.section-dark .arrow-link:hover { color: #fff }
.center { text-align: center }
.center .lead { margin-inline: auto }
.sec-head { max-width: 58ch; margin-bottom: var(--space-3xl) }
.sec-head.center { margin-inline: auto }
.sec-head h2 { margin: 14px 0 16px }

/* ── links ── */
a { color: var(--cobalt); text-decoration: none; transition: color .2s var(--ease-out) }
a:hover { color: var(--cobalt-deep) }
.arrow-link { display:inline-flex; align-items:center; gap:.5rem; font-weight:600; color:var(--cobalt); font-size:1rem; transition: color .2s, gap .3s var(--ease-out) }
.arrow-link::after { content:"\2192" }
.arrow-link:hover { color: var(--cobalt-deep); gap:.85rem }

/* ── buttons ── */
.btn { display:inline-flex; align-items:center; gap:.55rem; font-weight:600; font-size:1rem; padding:.95rem 1.7rem; border-radius:999px; border:1.6px solid transparent; cursor:pointer; transition: transform .16s var(--ease-out), background .2s, color .2s, box-shadow .2s }
.btn::after { content:"\2192"; font-weight:700 }
.btn:active { transform: scale(0.97) }
.btn-primary { background: var(--cobalt); color:#fff }
.btn-primary:hover { background: var(--cobalt-deep); color:#fff; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,71,171,0.3) }
.btn-ghost { background:transparent; color:var(--ink); border-color:var(--ink) }
.btn-ghost:hover { background:var(--ink); color:#fff }
.btn-white { background:#fff; color:var(--cobalt) }
.btn-white:hover { background:var(--tint); transform:translateY(-1px) }
.btn-outline-light { background:transparent; color:#fff; border-color:rgba(255,255,255,0.4) }
.btn-outline-light:hover { background:#fff; color:var(--cobalt); border-color:#fff }
.btn-lg { padding:1.1rem 2.1rem; font-size:1.06rem }
.btn.nav-cta::after { content:"" }

/* ── header ── */
.nav { position:sticky; top:0; z-index:60; background:rgba(253,253,254,0.92); backdrop-filter:saturate(160%) blur(12px); -webkit-backdrop-filter:saturate(160%) blur(12px); border-bottom:1px solid var(--line) }
.nav-inner { display:flex; align-items:center; justify-content:space-between; height:80px }
.brand { display:flex; align-items:center; gap:12px }
.brand-logo { height:54px; width:auto; display:block }
.footer .brand-logo { height:60px }
.nav-links { display:flex; align-items:center; gap:4px; list-style:none }
.nav-links a { color:var(--ink); font-weight:500; padding:.55rem .85rem; border-radius:8px; font-size:1rem; transition:color .15s, background .15s }
.nav-links a:hover { color:var(--cobalt); background:var(--tint) }
.nav-links a.active { color:var(--cobalt); font-weight:700 }
.nav-cta { margin-left:10px }
.nav-toggle,.nav-check { display:none }
@media(max-width:900px){
  .nav-toggle{display:flex;flex-direction:column;gap:5px;cursor:pointer;padding:8px}
  .nav-toggle span{width:26px;height:2.5px;background:var(--ink);border-radius:2px}
  .nav-links{position:fixed;inset:80px 0 auto 0;background:var(--white);flex-direction:column;align-items:stretch;gap:0;padding:8px 20px 22px;border-bottom:1px solid var(--line);box-shadow:var(--shadow-lg);transform:translateY(-135%);transition:transform .3s var(--ease-out)}
  .nav-links a{padding:1rem .4rem;border-bottom:1px solid var(--line);font-size:1.1rem}
  .nav-links a:hover{background:transparent}
  .nav-cta{margin:14px 0 0}
  .nav-check:checked ~ .nav-links{transform:translateY(0)}
}

/* ── HERO — full-bleed animated background ── */
@keyframes heroZoom {
  0%   { transform: scale(1)   translate(0, 0) }
  50%  { transform: scale(1.08) translate(-1%, -0.5%) }
  100% { transform: scale(1)   translate(0, 0) }
}
@keyframes heroPan {
  0%   { transform: scale(1.12) translate(0, 0) }
  100% { transform: scale(1.12) translate(-3%, -1%) }
}
.hero {
  position: relative; overflow: hidden;
  min-height: 100dvh;
  display: flex; align-items: center;
  background: var(--ink);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 1;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 25s ease-in-out infinite;
  will-change: transform;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,14,23,0.78) 0%, rgba(10,14,23,0.45) 50%, rgba(0,71,171,0.2) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding: 120px 28px 100px }
.hero-rot { position: relative; min-height: clamp(280px,36vw,380px) }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(16px); visibility: hidden;
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.hero-slide.is-active { opacity:1; transform:translateY(0); visibility:visible; position:relative }
.hero-slide .eyebrow { color: rgba(255,255,255,0.65); margin-bottom: var(--space-md) }
.hero-slide h1 { color: #fff; margin-bottom: var(--space-lg); max-width: 14ch }
.hero-slide p { color: rgba(255,255,255,0.75) }
.hero-dots { display:flex; gap:10px; margin-top:var(--space-xl) }
.hero-dots button { width:38px; height:4px; border:none; border-radius:2px; background:rgba(255,255,255,0.25); cursor:pointer; padding:0; transition:background .2s, width .3s var(--ease-out) }
.hero-dots button.is-active { background:#fff; width:56px }

.hero-tagline {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: var(--space-3xl); padding-top: var(--space-lg);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-lg); align-items: start;
}
.hero-tagline h4 { font-family:'Archivo',sans-serif; font-size:clamp(1.3rem,2.4vw,2rem); color:#fff; font-weight:800; letter-spacing:-.02em; line-height:1.1 }
.hero-tagline p { color:rgba(255,255,255,0.6) }
.hero-tagline .tm { color:#7db3ff; font-weight:700; margin-top:10px; font-family:'Archivo',sans-serif }
@media(max-width:760px){ .hero-tagline{grid-template-columns:1fr;gap:14px} }

/* ── stats strip ── */
.strip { border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--white) }
.strip .wrap { display:flex; flex-wrap:wrap; justify-content:space-between; gap:30px; padding-block:48px }
.stat { flex:1 1 180px }
.stat .big { font-family:'Archivo',sans-serif; font-weight:800; font-size:clamp(2.2rem,4vw,3.2rem); color:var(--ink); letter-spacing:-.02em; line-height:1 }
.stat .lab { color:var(--muted); font-size:.95rem; margin-top:var(--space-sm) }

/* ── image band (full width divider) ── */
.img-band {
  position: relative; overflow: hidden;
  height: clamp(200px, 30vw, 360px);
}
.img-band img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.img-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,14,23,0.5), transparent 40%, transparent 60%, rgba(10,14,23,0.5));
}
.img-band .band-text {
  position: absolute; bottom: 32px; left: 40px; z-index: 2;
  color: #fff; font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.4rem); letter-spacing: -0.02em;
  max-width: 16ch; line-height: 1.1;
}

/* ── who-we-are with side image ── */
.about-split {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-3xl); align-items: center;
}
.about-split .about-img { border-radius: 4px; overflow: hidden; aspect-ratio: 4/3 }
.about-split .about-img img { width:100%; height:100%; object-fit:cover; filter:saturate(0.85) contrast(1.05) }
@media(max-width:800px){
  .about-split{grid-template-columns:1fr;gap:var(--space-2xl)}
  .about-split .about-img{order:-1;aspect-ratio:16/9}
}

/* ── grids ── */
.grid { display:grid; gap:var(--space-lg) }
.g-2 { grid-template-columns:repeat(2,1fr) }
.g-3 { grid-template-columns:repeat(3,1fr) }
.g-4 { grid-template-columns:repeat(4,1fr) }
@media(max-width:1000px){ .g-4,.g-3{grid-template-columns:repeat(2,1fr)} }
@media(max-width:640px){ .g-2,.g-3,.g-4{grid-template-columns:1fr} }

/* ── cards ── */
.card { background:var(--white); border:1px solid var(--line); border-radius:4px; padding:30px; transition:box-shadow .3s var(--ease-out),transform .3s var(--ease-out); height:100% }
.card:hover { box-shadow:var(--shadow); transform:translateY(-3px) }
.card h3 { margin-bottom:10px }
.card p { font-size:1rem; color:var(--muted) }
.tag { display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--cobalt); background:var(--cobalt-wash); padding:.32rem .65rem; border-radius:999px }

/* ── numbered steps with image ── */
.steps-visual {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; align-items: stretch;
}
.steps-visual .steps-img {
  position: relative; overflow: hidden;
}
.steps-visual .steps-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.8) contrast(1.1);
}
.steps-visual .steps-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to left, var(--tint), transparent 40%);
}
.steps-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--ink) }
@media(max-width:900px){
  .steps-visual{grid-template-columns:1fr}
  .steps-visual .steps-img{height:280px}
  .steps-col{grid-template-columns:1fr}
}
.step { padding:30px 26px 34px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); transition:background .3s var(--ease-out) }
.step:nth-child(2n) { border-right:none }
.step:nth-child(n+3) { border-bottom:none }
@media(max-width:900px){ .step{border-right:none; border-bottom:1px solid var(--line)} .step:last-child{border-bottom:none} }
.step:hover { background:rgba(0,71,171,0.04) }
.step .n { font-family:'Archivo',sans-serif; font-weight:800; font-size:1.05rem; color:var(--cobalt); letter-spacing:.05em; margin-bottom:20px }
.step h3 { margin-bottom:12px; font-size:1.22rem }
.step p { font-size:.97rem; color:var(--muted); margin-bottom:18px }

/* ── ventures with images ── */
.venture {
  display:flex; flex-direction:column; background:var(--white);
  border:1px solid var(--line); border-radius:4px; overflow:hidden; height:100%;
  transition:box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
}
.venture:hover { box-shadow:var(--shadow); transform:translateY(-3px) }
.venture .v-img {
  width:100%; aspect-ratio:16/10; object-fit:cover;
  filter:saturate(0.85) contrast(1.05);
  transition: transform .5s var(--ease-out);
}
.venture:hover .v-img { transform: scale(1.03) }
.venture .top { padding:24px 28px 0 }
.venture .built { font-size:.7rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:#fff; background:var(--cobalt); display:inline-block; padding:.32rem .7rem; border-radius:999px; margin-bottom:var(--space-md) }
.venture h3 { font-size:1.5rem; margin-bottom:8px }
.venture .role { color:var(--cobalt); font-weight:600; font-size:.92rem; margin-bottom:14px }
.venture p { font-size:1rem; color:var(--muted); padding:0 28px }
.venture .foot { padding:22px 28px 28px; margin-top:auto }

/* ── insight cards with images ── */
.insight {
  background:var(--white); border:1px solid var(--line); border-radius:4px;
  overflow:hidden; height:100%; display:flex; flex-direction:column;
  transition:box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
}
.insight:hover { box-shadow:var(--shadow); transform:translateY(-3px) }
.insight .ph { aspect-ratio:16/9; position:relative; overflow:hidden; background:var(--ink) }
.insight .ph img { width:100%; height:100%; object-fit:cover; filter:saturate(0.75) contrast(1.1); transition:transform .5s var(--ease-out) }
.insight:hover .ph img { transform:scale(1.04) }
.insight .ph::after { content:""; position:absolute; inset:0; background:linear-gradient(to top,rgba(10,14,23,0.25),transparent 50%) }
.insight .body { padding:24px 26px 28px; display:flex; flex-direction:column; gap:10px; flex:1 }
.insight .kicker { font-size:.72rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--cobalt) }
.insight h3 { font-size:1.18rem }
.insight .arrow-link { margin-top:auto }

/* ── big quote/proof banner ── */
.proof-band {
  position: relative; overflow: hidden;
  padding: 120px 0; background: var(--ink);
}
.proof-band .proof-bg {
  position: absolute; inset: 0;
}
.proof-band .proof-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.5);
  opacity: 0.35;
}
.proof-band .wrap { position: relative; z-index: 2 }
.proof-band blockquote {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800; color: #fff; line-height: 1.15;
  letter-spacing: -0.02em; max-width: 20ch;
}
.proof-band .attr {
  margin-top: var(--space-lg);
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
}

/* ── FAQ accordion ── */
.faq { max-width:880px; margin-inline:auto }
.faq details { border-top:1px solid var(--line); padding:6px 0 }
.faq details:last-child { border-bottom:1px solid var(--line) }
.faq summary { list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:20px; padding:22px 4px; font-family:'Archivo',sans-serif; font-weight:700; font-size:1.18rem; color:var(--ink); transition:color .15s }
.faq summary:hover { color:var(--cobalt) }
.faq summary::-webkit-details-marker { display:none }
.faq summary::after { content:"+"; font-size:1.7rem; font-weight:400; color:var(--cobalt); transition:transform .3s var(--ease-out) }
.faq details[open] summary::after { content:"\2013" }
.faq .ans { padding:0 4px 24px; color:var(--muted); max-width:68ch }

/* ── CTA band ── */
.cta-band { background:var(--cobalt); color:#fff }
.cta-band .wrap { display:flex; align-items:center; justify-content:space-between; gap:var(--space-xl); flex-wrap:wrap }
.cta-band h2 { color:#fff; max-width:18ch }
.cta-band p { color:rgba(255,255,255,0.8); max-width:48ch; margin-top:12px }
.big-cta { padding:110px 0 }
.big-cta h2 { font-size:clamp(2.4rem,5.5vw,4.4rem) }

/* ── checks / forms / info ── */
.checks { list-style:none; display:flex; flex-direction:column; gap:13px }
.checks li { display:flex; gap:12px; align-items:flex-start; color:var(--ink) }
.checks li::before { content:""; flex:none; width:22px; height:22px; border-radius:5px; margin-top:2px; background:var(--cobalt-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230047AB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat }
.form { display:grid; gap:var(--space-md); max-width:560px }
.field { display:flex; flex-direction:column; gap:6px }
.field label { font-size:.85rem; font-weight:600; color:var(--ink) }
.field input,.field textarea,.field select { font:inherit; color:var(--ink); background:var(--white); border:1.5px solid var(--line); border-radius:6px; padding:.8rem .95rem; transition:border-color .2s, box-shadow .2s }
.field input:focus,.field textarea:focus,.field select:focus { outline:none; border-color:var(--cobalt); box-shadow:0 0 0 3px rgba(0,71,171,0.12) }
.form .note { font-size:.82rem; color:var(--muted) }
.info { display:flex; flex-direction:column; gap:20px }
.info .row { display:flex; gap:14px; align-items:flex-start }
.info .row .ic { flex:none; width:44px; height:44px; border-radius:8px; background:var(--tint); color:var(--cobalt); display:grid; place-items:center }
.info .row b { display:block; color:var(--ink) }
.info .row span { color:var(--muted); font-size:.96rem }

/* ── inner page hero ── */
.page-hero { position:relative; overflow:hidden; background:var(--white); border-bottom:1px solid var(--line) }
.page-hero .wrap { position:relative; padding:86px 28px 76px }
.page-hero h1 { margin-top:14px }
.page-hero p.lead { margin-top:20px }

/* ── prose ── */
.prose p { margin-bottom:15px; color:var(--ink-soft) }
.prose h2 { margin:34px 0 14px; font-size:1.7rem }
.prose h3 { margin:24px 0 8px; color:var(--cobalt); font-size:1.2rem }
.prose ul { margin:0 0 15px 20px; color:var(--ink-soft) }
.prose li { margin-bottom:8px }

/* ── ladder ── */
.ladder { display:grid; grid-template-columns:repeat(3,1fr); gap:0; border-top:2px solid var(--ink) }
@media(max-width:780px){ .ladder{grid-template-columns:1fr} }
.rung { padding:30px 26px 32px; border-right:1px solid var(--line) }
.rung:last-child { border-right:none }
.rung .num { font-family:'Archivo',sans-serif; font-weight:800; color:var(--line); font-size:2.6rem; line-height:1 }
.rung .meta { font-size:.78rem; color:var(--cobalt); font-weight:700; text-transform:uppercase; letter-spacing:.1em; margin:14px 0 8px }
.rung h3 { margin-bottom:8px }
.rung p { color:var(--muted); font-size:.97rem }

/* big numbered list */
.bignum { display:grid; grid-template-columns:repeat(3,1fr); gap:30px }
@media(max-width:860px){ .bignum{grid-template-columns:1fr} }
.bignum .item { border-top:2px solid var(--ink); padding-top:20px }
.bignum .n { font-family:'Archivo',sans-serif; font-weight:800; font-size:2.6rem; color:var(--line); line-height:1; margin-bottom:14px }

/* ── utilities ── */
.mt-s { margin-top:14px } .mt-m { margin-top:28px } .mt-l { margin-top:44px }
.muted { color:var(--muted) }

/* ── footer ── */
.footer { background:var(--ink); border-top:none; padding:var(--space-3xl) 0 30px; font-size:.95rem; color:#8891a3 }
.footer a { color:#a0a8b8; transition:color .15s }
.footer a:hover { color:#fff }
.footer-grid { display:grid; grid-template-columns:1.7fr 1fr 1fr 1.3fr; gap:40px }
@media(max-width:820px){ .footer-grid{grid-template-columns:1fr 1fr} }
@media(max-width:480px){ .footer-grid{grid-template-columns:1fr} }
.footer h5 { color:#fff; font-family:'Archivo',sans-serif; letter-spacing:.02em; margin-bottom:var(--space-md); font-size:1rem; font-weight:800 }
.footer ul { list-style:none; display:flex; flex-direction:column; gap:10px }
.footer .desc { margin-top:var(--space-md); max-width:36ch; color:#6e7788 }
.footer .legal { color:#6e7788; font-size:.9rem; line-height:1.8 }
.foot-bottom { border-top:1px solid rgba(255,255,255,0.08); margin-top:var(--space-2xl); padding-top:var(--space-lg); display:flex; justify-content:space-between; gap:var(--space-md); flex-wrap:wrap; color:#5e6577; font-size:.84rem }
.social { display:flex; gap:10px; margin-top:18px }
.social a { width:38px; height:38px; border-radius:8px; background:rgba(255,255,255,0.06); display:grid; place-items:center; transition:background .2s var(--ease-out) }
.social a svg path { fill: #8891a3 }
.social a:hover { background:var(--cobalt) }
.social a:hover svg path { fill:#fff }
.disclaimer { max-width:var(--maxw); margin:20px auto 0; padding:0 28px; color:#4a5264; font-size:.78rem; line-height:1.6 }

/* ── scroll reveal ── */
.reveal { opacity:0; transform:translateY(24px); transition:opacity .8s var(--ease-out), transform .8s var(--ease-out) }
.reveal.is-visible { opacity:1; transform:translateY(0) }
.reveal-d1 { transition-delay:60ms }
.reveal-d2 { transition-delay:120ms }
.reveal-d3 { transition-delay:180ms }

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
  .hero-bg img{animation:none}
  .reveal{opacity:1;transform:none}
}
