/* ============================================================
   VANTAGE DIGITAL — Design System
   Boutique healthcare growth agency
   Aesthetic: premium venture-studio / strategic consulting
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Palette — cool soft paper, deep navy ink, soft confident blue, ice accent
     (variable names kept for stability; values are the soft-blue system) */
  --paper:        #F2F6FC;
  --paper-2:      #E7F0FA;
  --paper-3:      #D7E4F3;
  --ink:          #17233E;
  --ink-soft:     #3B4A66;
  --ink-mute:     #6C7B94;
  --line:         #D8E2EF;
  --line-strong:  #BECEE1;

  --pine:         #2B5F9E;   /* primary brand — soft blue */
  --pine-600:     #244F84;
  --pine-400:     #3A70A8;   /* accent on light backgrounds */
  --sage:         #AEC6E1;   /* soft periwinkle — text on dark blue */
  --signal:       #8CC8F2;   /* ice-blue accent, used sparingly */
  --signal-deep:  #57A4E6;

  --white:        #FFFFFF;

  /* Typography — Bricolage Grotesque (readable, characterful display) */
  --display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans:  "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Rhythm */
  --maxw: 1220px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(23,35,62,.06), 0 4px 14px rgba(23,35,62,.05);
  --shadow-md: 0 6px 24px rgba(23,35,62,.09), 0 30px 60px -30px rgba(23,35,62,.18);
  --shadow-lg: 0 20px 60px -20px rgba(23,35,62,.28);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* Subtle paper grain over everything */
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
main, header, footer { position: relative; z-index: 2; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 148px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--pine-400);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--line-strong);
}
.eyebrow--plain::before { display: none; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; font-optical-sizing: auto; }
.display {
  font-size: clamp(2.9rem, 7vw, 5.6rem);
  line-height: .98;
  letter-spacing: -0.035em;
}
h2.h-lg { font-size: clamp(2.1rem, 4.4vw, 3.6rem); letter-spacing: -0.03em; }
h3.h-md { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.lede { font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.5; color: var(--ink-soft); font-weight: 400; }
.italic-serif { font-style: italic; font-family: var(--display); }

.text-mute { color: var(--ink-mute); }
.measure { max-width: 60ch; }
.measure-sm { max-width: 44ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s, box-shadow .3s;
  will-change: transform;
}
.btn .arw { transition: transform .35s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn--primary { background: var(--pine); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(23,35,62,.03); transform: translateY(-2px); }
.btn--signal { background: var(--signal); color: var(--ink); }
.btn--signal:hover { background: var(--signal-deep); transform: translateY(-2px); }
.btn--lg { padding: 18px 34px; font-size: 16px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  transition: gap .3s var(--ease), border-color .3s;
}
.link-arrow:hover { gap: 13px; border-color: var(--ink); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(140%) blur(10px);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, background .4s;
}
.site-header.is-stuck { border-color: var(--line); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.02em; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand b { font-weight: 500; }
.brand span { color: var(--ink-mute); font-weight: 400; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  padding: 9px 16px; border-radius: 100px;
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  transition: color .25s, background .25s;
}
.nav__links a:hover { color: var(--ink); background: rgba(23,35,62,.04); }
.nav__links a.active { color: var(--pine); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; }

@media (max-width: 900px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    background: none; border: 0; padding: 8px;
  }
  .nav__toggle span { width: 24px; height: 2px; background: var(--ink); transition: .3s var(--ease); }
  body.menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu {
    position: fixed; inset: 76px 0 0; z-index: 99;
    background: var(--paper);
    padding: 32px var(--gutter);
    display: flex; flex-direction: column; gap: 6px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: .35s var(--ease);
  }
  body.menu-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-menu a {
    font-family: var(--display); font-size: 2rem; padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu .btn { margin-top: 24px; justify-content: center; }
}
@media (min-width: 901px) { .mobile-menu { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 110px); position: relative; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.hero__title { margin: 24px 0 0; }
.hero__title .flow { display: block; }
.hero__title em { font-style: normal; color: var(--pine); }
.hero__aside { padding-bottom: 8px; }
.hero__aside p { color: var(--ink-soft); font-size: 1.05rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__stats {
  margin-top: clamp(48px, 6vw, 76px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat { padding: 28px 30px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; padding-right: 0; }
.stat__num { font-family: var(--display); font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1; letter-spacing: -0.03em; }
.stat__num .u { font-size: .55em; color: var(--pine-400); }
.stat__label { margin-top: 10px; font-size: 13.5px; color: var(--ink-mute); line-height: 1.4; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; align-items: start; gap: 28px; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2n) { border-right: 0; }
  .stat { padding-right: 0; padding-left: 0; }
  .stat:nth-child(odd) { padding-right: 22px; }
}

/* ============================================================
   MARQUEE / LOGO STRIP
   ============================================================ */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper-2) 60%, transparent); }
.trust__inner { display: flex; align-items: center; gap: clamp(24px,5vw,60px); padding-block: 28px; flex-wrap: wrap; }
.trust__label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); flex: none; }
.trust__logos { display: flex; align-items: center; gap: clamp(28px,4vw,52px); flex-wrap: wrap; flex: 1; }
.trust__logos span { font-family: var(--display); font-size: 1.35rem; color: var(--ink-soft); letter-spacing: -0.01em; opacity: .78; transition: opacity .3s; }
.trust__logos span:hover { opacity: 1; }
.trust__logos .dot { display: inline-block; }

/* ============================================================
   GENERIC SECTION HEADERS
   ============================================================ */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 68px); }
.section-head__lead { }
.section-head h2 { margin-top: 18px; }
.section-head__note { color: var(--ink-soft); align-self: end; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; gap: 18px; } }

/* ============================================================
   POSITIONING — pillars
   ============================================================ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.pillar { background: var(--paper); padding: clamp(28px,3vw,40px); transition: background .35s; }
.pillar:hover { background: var(--white); }
.pillar__idx { font-family: var(--mono); font-size: 12px; color: var(--pine-400); letter-spacing: .1em; }
.pillar h3 { margin: 18px 0 12px; font-size: 1.5rem; }
.pillar p { font-size: 15.5px; color: var(--ink-soft); }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

/* ============================================================
   SERVICES OVERVIEW
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 38px);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.svc-card__no { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); }
.svc-card h3 { margin: 14px 0 12px; font-size: 1.7rem; }
.svc-card p { color: var(--ink-soft); font-size: 15.5px; max-width: 46ch; }
.svc-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em;
  padding: 6px 11px; border-radius: 100px;
  background: var(--paper-2); color: var(--ink-soft);
  border: 1px solid var(--line);
}
.svc-card--wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.svc-card--dark { background: var(--pine); color: var(--white); border-color: var(--pine); }
.svc-card--dark .svc-card__no,
.svc-card--dark p { color: var(--sage); }
.svc-card--dark .tag { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: var(--sage); }
@media (max-width: 720px) { .svc-grid { grid-template-columns: 1fr; } .svc-card--wide { grid-column: auto; grid-template-columns: 1fr; } }

/* ============================================================
   INFRASTRUCTURE / DASHBOARD DIFFERENTIATOR
   ============================================================ */
.infra { background: var(--pine); color: var(--white); border-radius: var(--radius-lg); overflow: hidden; }
.infra__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px,4vw,60px); align-items: center; padding: clamp(34px,4vw,64px); }
.infra .eyebrow { color: var(--signal); }
.infra .eyebrow::before { background: rgba(255,255,255,.28); }
.infra h2 { color: var(--white); }
.infra p { color: var(--sage); }
.infra__list { margin-top: 28px; display: grid; gap: 2px; }
.infra__list li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); color: #DBE7F6; font-size: 15.5px; }
.infra__list li b { font-weight: 600; color: #fff; }
.infra__list .k { font-family: var(--mono); font-size: 12px; color: var(--signal); flex: none; width: 30px; }

/* Dashboard mock */
.dash { background: #0E1E3A; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 22px; box-shadow: var(--shadow-lg); }
.dash__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.dash__top h4 { font-family: var(--sans); font-weight: 600; font-size: 14px; color: #fff; letter-spacing: 0; }
.dash__pill { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--signal); border: 1px solid rgba(140,200,242,.35); padding: 4px 9px; border-radius: 100px; }
.dash__kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 18px; }
.dash__kpi { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); border-radius: 8px; padding: 12px; }
.dash__kpi .lbl { font-size: 10.5px; color: var(--sage); font-family: var(--mono); letter-spacing: .05em; }
.dash__kpi .val { font-family: var(--display); font-size: 1.5rem; color: #fff; margin-top: 4px; letter-spacing: -0.02em; }
.dash__kpi .val .up { font-family: var(--sans); font-size: .55rem; color: var(--signal); vertical-align: middle; margin-left: 6px; font-weight: 600; }
.dash__chart { height: 96px; display: flex; align-items: flex-end; gap: 6px; padding-top: 6px; }
.dash__chart .bar { flex: 1; background: linear-gradient(180deg, var(--signal), rgba(140,200,242,.28)); border-radius: 3px 3px 0 0; opacity: .9; animation: grow 1.1s var(--ease) backwards; }
@keyframes grow { from { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 820px) { .infra__grid { grid-template-columns: 1fr; } }

/* ============================================================
   CASE STUDY CARDS
   ============================================================ */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.case {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.case:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.case__media {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  background: var(--paper-3);
}
.case__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1s var(--ease); }
.case:hover .case__media img { transform: scale(1.04); }
.case__media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 55%, rgba(23,35,62,.16)); }
.case__badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  background: var(--paper); color: var(--ink);
  padding: 6px 12px; border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.case__body { padding: clamp(22px,2.5vw,30px); display: flex; flex-direction: column; flex: 1; }
.case__name { font-size: 1.7rem; letter-spacing: -0.02em; }
.case__sub { color: var(--ink-mute); font-size: 14.5px; margin-top: 4px; }
.case__metrics { display: flex; gap: 26px; margin: 22px 0; padding-top: 20px; border-top: 1px solid var(--line); }
.case__metric .n { font-family: var(--display); font-size: 1.75rem; line-height: 1; letter-spacing: -0.02em; }
.case__metric .n .u { font-size: .55em; color: var(--pine-400); }
.case__metric .l { font-size: 12px; color: var(--ink-mute); margin-top: 7px; }
.case__services { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.chip { font-size: 12px; padding: 5px 10px; border-radius: 6px; background: var(--paper-2); color: var(--ink-soft); border: 1px solid var(--line); }
.case__link { margin-top: 22px; }
.case--feature { grid-column: span 2; }
.case--feature .case__body-grid { display: grid; grid-template-columns: 1.1fr 1fr; }
@media (max-width: 820px) {
  .cases { grid-template-columns: 1fr; }
  .case--feature { grid-column: auto; }
}

/* ============================================================
   PROCESS
   ============================================================ */
.process { counter-reset: step; display: grid; gap: 0; }
.process__row {
  display: grid; grid-template-columns: 90px 1fr 1.2fr; gap: 30px;
  padding: clamp(26px,3vw,40px) 0; border-top: 1px solid var(--line);
  align-items: baseline;
}
.process__row:last-child { border-bottom: 1px solid var(--line); }
.process__num { font-family: var(--mono); font-size: 13px; color: var(--pine-400); letter-spacing: .1em; }
.process__row h3 { font-size: clamp(1.5rem,2.4vw,2rem); }
.process__row p { color: var(--ink-soft); }
@media (max-width: 720px) { .process__row { grid-template-columns: 1fr; gap: 10px; } }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; }
.cta-inner {
  background: var(--ink); color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(44px,6vw,88px);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-inner::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(120% 90% at 50% 120%, rgba(140,200,242,.20), transparent 60%);
}
.cta-inner > * { position: relative; }
.cta-inner h2 { color: var(--white); margin-bottom: 20px; }
.cta-inner p { color: var(--sage); max-width: 52ch; margin: 0 auto 34px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--pine); color: var(--sage); padding-top: clamp(56px,7vw,90px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer__brand .brand { color: #fff; margin-bottom: 18px; }
.footer__brand p { max-width: 34ch; color: var(--sage); font-size: 15px; }
.footer h5 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 18px; font-weight: 500; }
.footer ul li { margin-bottom: 11px; }
.footer a { color: #D3E0F2; font-size: 15px; transition: color .25s; }
.footer a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 26px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  font-size: 13.5px; color: rgba(255,255,255,.55);
}
.footer__bottom a { color: rgba(255,255,255,.7); font-size: 13.5px; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero { padding-top: clamp(56px,7vw,96px); padding-bottom: clamp(40px,5vw,64px); }
.page-hero .display { margin: 22px 0 0; max-width: 16ch; }
.page-hero .lede { margin-top: 26px; }

/* ============================================================
   SERVICES PAGE — detail blocks
   ============================================================ */
.svc-detail { display: grid; grid-template-columns: 380px 1fr; gap: clamp(30px,5vw,70px); padding-block: clamp(44px,5vw,72px); border-top: 1px solid var(--line); align-items: start; }
.svc-detail__sticky { align-self: start; }
.svc-detail__no { font-family: var(--mono); font-size: 13px; color: var(--pine-400); letter-spacing: .1em; }
.svc-detail h2 { margin: 16px 0 18px; font-size: clamp(2rem,3.4vw,2.9rem); }
.svc-detail__lead { color: var(--ink-soft); }
.svc-detail__features { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feat { background: var(--paper); padding: 26px; }
.feat h4 { font-family: var(--sans); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.feat h4 .d { width: 6px; height: 6px; border-radius: 50%; background: var(--signal-deep); flex: none; }
.feat p { font-size: 14.5px; color: var(--ink-soft); }
@media (max-width: 860px) { .svc-detail { grid-template-columns: 1fr; gap: 24px; } .svc-detail__sticky { position: static; } .svc-detail__features { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px,5vw,72px); align-items: start; }
.contact-aside h2 { font-size: clamp(2.2rem,3.6vw,3.2rem); }
.contact-aside .lede { margin-top: 22px; }
.contact-points { margin-top: 40px; display: grid; gap: 2px; }
.contact-points li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); align-items: baseline; }
.contact-points li:last-child { border-bottom: 1px solid var(--line); }
.contact-points .cp-k { font-family: var(--mono); font-size: 12px; color: var(--pine-400); flex: none; width: 34px; }
.contact-points b { display: block; font-weight: 600; font-size: 15.5px; }
.contact-points span { font-size: 14.5px; color: var(--ink-mute); }

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px,3.5vw,44px);
  box-shadow: var(--shadow-sm);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .01em; margin-bottom: 8px; color: var(--ink-soft); }
.field label .req { color: var(--pine-400); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  font: inherit; font-size: 15px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--pine-400); background: var(--white);
  box-shadow: 0 0 0 3px rgba(60,107,87,.14);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7670' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }

.pills { display: flex; flex-wrap: wrap; gap: 9px; }
.pill-check { position: relative; }
.pill-check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill-check span {
  display: block; padding: 9px 15px; border-radius: 100px;
  border: 1px solid var(--line-strong); font-size: 13.5px; font-weight: 500;
  color: var(--ink-soft); transition: .2s var(--ease); user-select: none;
}
.pill-check input:checked + span { background: var(--pine); border-color: var(--pine); color: #fff; }
.pill-check input:focus-visible + span { box-shadow: 0 0 0 3px rgba(60,107,87,.2); }
.form__submit { margin-top: 8px; width: 100%; justify-content: center; }
.form__fine { font-size: 12.5px; color: var(--ink-mute); margin-top: 16px; text-align: center; }
.form-success {
  display: none;
  background: var(--pine); color: #fff;
  border-radius: var(--radius-lg); padding: 40px; text-align: center;
}
.form-success.show { display: block; }
.form-success h3 { color: #fff; font-size: 1.8rem; margin-bottom: 12px; }
.form-success p { color: var(--sage); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: 0; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 24px 0; display: flex; justify-content: space-between; gap: 20px;
  font-family: var(--display); font-size: clamp(1.15rem,1.9vw,1.4rem); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { flex: none; width: 22px; height: 22px; position: relative; margin-top: 6px; }
.faq summary .ic::before, .faq summary .ic::after { content:""; position:absolute; background: var(--pine-400); transition: transform .3s var(--ease); }
.faq summary .ic::before { top: 10px; left: 0; width: 22px; height: 2px; }
.faq summary .ic::after { top: 0; left: 10px; width: 2px; height: 22px; }
.faq details[open] summary .ic::after { transform: rotate(90deg); opacity: 0; }
.faq details p { padding: 0 0 26px; color: var(--ink-soft); max-width: 64ch; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }
.divider { height: 1px; background: var(--line); border: 0; }
.badge-inline { display:inline-flex; align-items:center; gap:8px; font-family:var(--mono); font-size:11.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--pine-400); background: var(--paper-2); border:1px solid var(--line); padding:7px 13px; border-radius:100px; }
.badge-inline .live { width:7px; height:7px; border-radius:50%; background: var(--signal-deep); box-shadow: 0 0 0 0 rgba(87,164,230,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(87,164,230,0); } 100% { box-shadow: 0 0 0 0 rgba(87,164,230,0); } }

/* ============================================================
   CREATIVE ADDITIONS — hero media cluster + showcase marquee
   ============================================================ */

/* Hero now leads with text + a creative cluster */
.hero__grid { align-items: center; }
.hero__lead .hero__title { margin-top: 24px; }
.hero__lead > p { color: var(--ink-soft); font-size: 1.08rem; margin-top: 26px; }

.hero__media { position: relative; min-height: 440px; }
.hero__stack { position: absolute; inset: 0; }
.hstack {
  position: absolute; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: var(--paper-3);
  box-shadow: var(--shadow-md);
}
.hstack img { width: 100%; height: 100%; object-fit: cover; }
.hstack--back  { width: 58%; aspect-ratio: 4/5; right: 2%;  top: 0;    transform: rotate(3.5deg); z-index: 1; }
.hstack--front { width: 60%; aspect-ratio: 4/5; left: 0;    bottom: 0; transform: rotate(-3.5deg); z-index: 2;
  transition: transform .6s var(--ease); }
.hero__media:hover .hstack--front { transform: rotate(-1.5deg) translateY(-6px); }
.hero__chip {
  position: absolute; z-index: 3; right: 6%; bottom: 8%;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 2px;
}
.hero__chip .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.hero__chip .v { font-family: var(--display); font-size: 1.5rem; line-height: 1; letter-spacing: -0.02em; color: var(--pine); }
.hero__chip .v small { color: var(--signal-deep); font-family: var(--sans); font-size: .8rem; font-weight: 600; margin-left: 4px; }
.hero__glow { position: absolute; inset: -12% -8% auto auto; width: 70%; height: 70%; z-index: 0;
  background: radial-gradient(circle at 60% 40%, rgba(140,200,242,.35), transparent 62%); filter: blur(8px); }

@media (max-width: 860px) {
  .hero__grid { align-items: start; }
  .hero__media { min-height: 360px; margin-top: 8px; max-width: 440px; }
}
@media (max-width: 480px) {
  .hero__media { min-height: 300px; }
  .hero__chip { padding: 9px 12px; }
}

/* Creative showcase marquee */
.showcase { padding-block: clamp(56px, 7vw, 100px); overflow: hidden; }
.showcase__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.showcase__head h2 { margin-top: 16px; }
.showcase__head p { color: var(--ink-soft); max-width: 40ch; }
.marquee {
  position: relative; margin-top: clamp(34px, 4vw, 52px); width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.shot-tile {
  flex: none; width: clamp(200px, 20vw, 262px); aspect-ratio: 4/5;
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  background: var(--paper-3); box-shadow: var(--shadow-sm); position: relative;
}
.shot-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.shot-tile:hover img { transform: scale(1.05); }
.shot-tile__tag {
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em;
  background: color-mix(in srgb, var(--ink) 82%, transparent); color: #fff;
  padding: 5px 10px; border-radius: 100px; backdrop-filter: blur(4px);
}
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ============================================================
   REVISIONS — real trust logos + uncropped case-study creatives
   ============================================================ */

/* Trust strip: real brand logos, unified to a muted treatment */
.trust__logos img { width: auto; transition: opacity .3s var(--ease); }
.trust__logos .tl-wordmark { height: 27px; opacity: .55; filter: saturate(0) brightness(.4); }
.trust__logos .tl-emblem  { height: 52px; opacity: .72; filter: grayscale(1); }
.trust__logos img:hover { opacity: .95; }

/* Case-study CREATIVE assets: show the whole creative, never crop.
   (Landing-page screenshots keep object-fit: cover and still crop.) */
.cs-shot--asset { background: var(--paper-3); display: flex; align-items: center; justify-content: center; padding: 12px; }
.cs-shot--asset img { object-fit: contain; object-position: center; }
.cs-shot--asset:hover img { transform: none; }

/* ============================================================
   SERVICES — real work proof strips (ads / landing pages / blogs)
   ============================================================ */
.svc-proof { grid-column: 1 / -1; margin-top: clamp(30px,3.5vw,44px); display: grid; gap: 16px; }
.svc-proof__label { grid-column: 1/-1; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); display: flex; align-items: center; gap: 11px; margin-bottom: 2px; }
.svc-proof__label::before { content:""; width: 24px; height: 1px; background: var(--line-strong); }
.svc-proof--ads   { grid-template-columns: repeat(4, 1fr); }
.svc-proof--shots { grid-template-columns: repeat(3, 1fr); }
.svc-proof figure { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.svc-proof figure:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc-proof--ads figure   { background: var(--ink); border-color: rgba(255,255,255,.1); padding: 14px; display: flex; align-items: center; justify-content: center; }
.svc-proof--shots figure { aspect-ratio: 4/3; }
.svc-proof img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1s var(--ease); }
.svc-proof--ads img { height: auto; border-radius: 9px; }   /* full ad, real rounded corners, on a navy card */
.svc-proof--shots figure:hover img { transform: scale(1.03); }
@media (max-width: 860px){ .svc-proof--ads { grid-template-columns: repeat(2,1fr); } .svc-proof--shots { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .svc-proof--ads, .svc-proof--shots { grid-template-columns: 1fr 1fr; } }
