/* ───────────────────────────────────────────────
   Frost Web Studio — design system v16
   Professional · image-led · editorial-modern
   Full redesign (Sora display + Inter body)
   ─────────────────────────────────────────────── */

/* ─── Tokens ─── */
:root {
  --bg:        #ffffff;
  --bg-2:      #f5f7fa;   /* soft band */
  --bg-3:      #eaeff4;   /* deeper band */
  --navy:      #0b2033;   /* dark surface (CTA/stats bands) */
  --navy-2:    #0f2c44;
  --navy-deep: #06111c;   /* footer — deeper than bands so they don't merge */

  --ink:       #101922;   /* headings */
  --ink-2:     #3b4855;   /* body */
  --ink-3:     #6a7681;   /* muted */
  --on-dark:   #eef4f9;
  --on-dark-2: #9db3c4;

  --brand:     #1173a0;   /* primary accent */
  --brand-ink: #0b587d;   /* accent hover / emphasis */
  --brand-2:   #22a3d3;   /* bright accent */
  --gold:      #f0a628;   /* stars */

  --line:      #e5e9ef;
  --line-2:    #eef2f6;
  --line-dark: rgba(255,255,255,.12);

  --sh-sm:  0 1px 2px rgba(16,24,31,.06);
  --sh:     0 6px 18px -8px rgba(16,24,31,.16);
  --sh-lg:  0 26px 60px -28px rgba(16,24,31,.34);
  --sh-card:0 1px 3px rgba(16,24,31,.06), 0 20px 44px -30px rgba(16,24,31,.32);

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 100px;

  --font-display: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-sans:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --container: 1200px;
  --container-wide: 1320px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7.5rem);

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

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink-2);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: rgba(17,115,160,.16); color: var(--ink); }
main { display: block; }

/* Legacy ambient element — neutralized in v16 */
.ambient { display: none !important; }

/* ─── Container ─── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { max-width: var(--container-wide); }

/* ─── Section rhythm ─── */
section { position: relative; }
.section { padding: var(--section-y) 0; }
.section-sm { padding: clamp(3rem,5vw,4.5rem) 0; }
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-3 { background: var(--bg-3); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ─── Typography ─── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 700;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.15rem); letter-spacing: -.03em; line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--ink-2); }
strong { color: var(--ink); font-weight: 600; }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.7; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.accent { color: var(--brand); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-mono);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content:''; width: 26px; height: 2px; border-radius: 2px;
  background: var(--brand); display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.on-dark { color: var(--brand-2); }
.eyebrow.on-dark::before { background: var(--brand-2); }

/* Section heading block */
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem,5vw,3.75rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { font-size: 1.08rem; color: var(--ink-2); line-height: 1.7; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem;
  font-family: var(--font-sans); font-size: .92rem; font-weight: 600;
  letter-spacing: .005em;
  border-radius: var(--r-pill);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap; border: 1.5px solid transparent; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; }
.btn-lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px rgba(17,115,160,.7); }
.btn-primary:hover { background: var(--brand-ink); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(17,115,160,.7); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--sh); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-block { width: 100%; }

.btn-link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; color: var(--brand-ink); font-size: .95rem;
  transition: gap .25s var(--ease), color .2s;
}
.btn-link:hover { gap: .75rem; color: var(--brand); }

/* ─── Navigation ─── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  padding: .85rem var(--gutter);
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -14px rgba(16,24,31,.3); }
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; }
.brand-mark svg { width: 30px; height: 30px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; color: var(--ink); }
.brand-name span { color: var(--brand); }

.site-nav nav { margin-left: auto; }
.nav-links { list-style: none; display: flex; align-items: center; gap: .35rem; }
.nav-links > li > a {
  display: inline-block; padding: .55rem .9rem; border-radius: var(--r-pill);
  font-size: .93rem; font-weight: 500; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav-links > li > a:hover { color: var(--ink); background: var(--bg-2); }
.nav-links > li > a.active { color: var(--brand-ink); font-weight: 600; }
.nav-cta { margin-left: .5rem; }
.nav-links .nav-cta { padding: .7rem 1.35rem !important; background: var(--brand); color: #fff !important; }
.nav-links .nav-cta:hover { background: var(--brand-ink); color:#fff !important; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  position: relative; border: 1px solid var(--line); background: #fff;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease);
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: #fff; padding: 6rem var(--gutter) 2rem;
  display: flex; flex-direction: column; gap: .25rem;
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform .4s var(--ease), opacity .4s;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav a { padding: 1rem .25rem; font-size: 1.35rem; font-family: var(--font-display); font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.mobile-nav a.mnav-cta { margin-top: 1.2rem; border: 0; background: var(--brand); color: #fff; border-radius: var(--r-pill); text-align: center; font-size: 1rem; padding: 1rem; }

/* ─── HERO (split) ─── */
.hero { padding: clamp(2.5rem,5vw,4.5rem) 0 clamp(3rem,6vw,5.5rem); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4.5rem);
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero-copy h1 { margin-bottom: 1.5rem; }
.hero-copy h1 .hl { color: var(--brand); }
.hero-copy .lead { margin-bottom: 2rem; max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.4rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.6rem 2.2rem; align-items: center; padding-top: 1.9rem; border-top: 1px solid var(--line); }
.hero-badge { display: flex; flex-direction: column; }
.hero-badge .n { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--ink); line-height: 1; }
.hero-badge .l { font-size: .78rem; color: var(--ink-3); margin-top: .35rem; letter-spacing: .02em; }

.hero-media { position: relative; }
.hero-media .frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-lg); aspect-ratio: 3/2.05;
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .float-card {
  position: absolute; left: -1.4rem; bottom: -1.4rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-card); padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: .85rem; max-width: 260px;
}
.hero-media .float-card .ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(17,115,160,.1); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.hero-media .float-card .ic i { font-size: 1.25rem; }
.hero-media .float-card .t { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: .95rem; line-height: 1.2; }
.hero-media .float-card .s { font-size: .78rem; color: var(--ink-3); }
.hero-media .stars-badge {
  position: absolute; right: -1rem; top: -1rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-pill); box-shadow: var(--sh-card); padding: .55rem 1rem; display: flex; align-items: center; gap: .5rem;
}
.hero-media .stars-badge .st { color: var(--gold); letter-spacing: 1px; font-size: .85rem; }
.hero-media .stars-badge .lb { font-size: .78rem; font-weight: 600; color: var(--ink); }

/* ─── Logo / industry strip ─── */
.logo-strip { padding: 2.2rem 0; }
.logo-strip .lbl { text-align: center; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.3rem; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 2.6rem; }
.logo-row span {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em;
  color: #97a3ad; display: inline-flex; align-items: center; gap: .5rem; transition: color .25s;
}
.logo-row span i { font-size: 1.2rem; }
.logo-row span:hover { color: var(--ink); }

/* ─── Cards grid (services etc.) ─── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.35rem; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2rem 1.9rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-card); border-color: transparent; }

.service-card { display: flex; flex-direction: column; }
.service-card .ic {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.3rem;
  background: linear-gradient(140deg, rgba(17,115,160,.14), rgba(34,163,211,.1)); color: var(--brand-ink);
}
.service-card .ic i { font-size: 1.55rem; }
.service-card h3 { margin-bottom: .5rem; }
.service-card .tag { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; color: var(--brand); margin-bottom: .9rem; }
.service-card p { font-size: .95rem; line-height: 1.65; margin-bottom: 1.3rem; }
.service-card .service-meta { margin-top: auto; padding-top: .4rem; }

/* ─── Alternating feature rows ─── */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem);
  align-items: center; margin-bottom: clamp(3rem,6vw,5.5rem);
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-media { order: 2; }
.feature-media { position: relative; }
.feature-media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-card); aspect-ratio: 4/3; object-fit: cover; }
.feature-media .tagchip {
  position: absolute; top: 1rem; left: 1rem; background: rgba(255,255,255,.94); backdrop-filter: blur(4px);
  border-radius: var(--r-pill); padding: .4rem 1rem; font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--brand-ink);
}
.feature-body .step-n { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--brand); letter-spacing: .05em; }
.feature-body h2 { margin: .6rem 0 1rem; }
.feature-body p { font-size: 1.05rem; line-height: 1.75; margin-bottom: 1.3rem; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.6rem; }
.feature-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .97rem; color: var(--ink-2); }
.feature-list li i { color: var(--brand); font-size: 1.1rem; margin-top: .1rem; flex-shrink: 0; }

/* ─── Stats band (dark) ─── */
.stats-band { background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; }
.stats-band::before {
  content:''; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 85% -10%, rgba(34,163,211,.18), transparent 60%),
              radial-gradient(600px 400px at 5% 120%, rgba(17,115,160,.16), transparent 60%);
}
.stats-band .container { position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; text-align: center; }
.stat .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem,4vw,3.4rem); color: #fff; line-height: 1; letter-spacing: -.03em; }
.stat .l { font-size: .85rem; color: var(--on-dark-2); margin-top: .6rem; letter-spacing: .02em; }
.stat .n .u { color: var(--brand-2); }

/* ─── Work / portfolio grid ─── */
.work-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.work-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.work-media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.05); }
.work-cat {
  position: absolute; top: .9rem; left: .9rem; background: rgba(11,32,51,.82); backdrop-filter: blur(4px);
  color: #fff; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: var(--r-pill);
}
.work-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.work-body h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.work-body .client { font-size: .82rem; color: var(--ink-3); margin-bottom: .7rem; font-family: var(--font-mono); letter-spacing: .03em; }
.work-body p { font-size: .92rem; line-height: 1.6; margin-bottom: 1.1rem; }
.work-body .btn-link { margin-top: auto; }
.work-results { display: flex; gap: 1.4rem; margin-bottom: 1.1rem; }
.work-results .r .rn { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--brand-ink); line-height: 1; }
.work-results .r .rl { font-size: .72rem; color: var(--ink-3); margin-top: .2rem; }

/* ─── Process steps ─── */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.pstep { position: relative; padding: 2rem 1.6rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.pstep .pnum { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--bg-3); line-height: 1; letter-spacing: -.03em; }
.pstep h3 { font-size: 1.15rem; margin: .6rem 0 .55rem; }
.pstep p { font-size: .92rem; line-height: 1.6; }
.pstep .pico { position: absolute; top: 1.8rem; right: 1.6rem; color: var(--brand); font-size: 1.5rem; opacity: .85; }

/* ─── Testimonials ─── */
.tgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem 1.9rem; display: flex; flex-direction: column; }
.tcard .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 1rem; font-size: .95rem; }
.tcard blockquote, .tcard p.quote { font-size: 1.02rem; line-height: 1.7; color: var(--ink); font-family: var(--font-display); font-weight: 400; margin-bottom: 1.6rem; }
.tcard .tauthor { display: flex; align-items: center; gap: .85rem; margin-top: auto; }
.tcard .tavatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--bg-3); }
.tcard .tauthor .name { font-weight: 600; color: var(--ink); font-size: .95rem; }
.tcard .tauthor .role { font-size: .82rem; color: var(--ink-3); }

/* ─── Team ─── */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.member { text-align: left; }
.member .photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1/1; margin-bottom: 1rem; box-shadow: var(--sh-sm); }
.member .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.member:hover .photo img { transform: scale(1.04); }
.member h3 { font-size: 1.15rem; margin-bottom: .15rem; }
.member .role { font-size: .85rem; color: var(--brand-ink); font-family: var(--font-mono); letter-spacing: .02em; margin-bottom: .6rem; }
.member .bio { font-size: .9rem; line-height: 1.6; color: var(--ink-2); }
.member .socials { display: flex; gap: .6rem; margin-top: .8rem; }
.member .socials a { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-3); transition: .2s; }
.member .socials a:hover { color: var(--brand); border-color: var(--brand); }

/* ─── Page hero (interior pages) ─── */
.page-hero { padding: clamp(3rem,6vw,5.5rem) 0 clamp(2.5rem,4vw,3.5rem); background: var(--bg-2); border-bottom: 1px solid var(--line); }
.page-hero .inner { max-width: 780px; }
.page-hero.center .inner { margin: 0 auto; text-align: center; }
.page-hero h1 { margin-bottom: 1.1rem; }
.page-hero p { font-size: 1.12rem; line-height: 1.7; color: var(--ink-2); }
.breadcrumbs { font-size: .82rem; color: var(--ink-3); margin-bottom: 1.1rem; font-family: var(--font-mono); letter-spacing: .03em; }
.breadcrumbs a:hover { color: var(--brand); }

/* ─── Split feature (image + form/panel) ─── */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem,5vw,4rem); align-items: start; }

/* ─── Forms ─── */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-card); padding: clamp(1.6rem,3vw,2.6rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-bottom: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.form-row .field { margin-bottom: 0; }
label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: .45rem; }
input, select, textarea {
  width: 100%; padding: .85rem 1rem; background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); color: var(--ink); font-size: .95rem; outline: none;
  transition: border-color .2s, box-shadow .2s; box-sizing: border-box;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(17,115,160,.13); }
input::placeholder, textarea::placeholder { color: var(--ink-3); opacity: .8; }
select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%231173a0' stroke-width='2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
textarea { resize: vertical; min-height: 120px; }
.honeypot { position: absolute; left: -9999px; }
.form-note { font-size: .78rem; color: var(--ink-3); text-align: center; margin-top: 1rem; }

/* checklist */
.checklist { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; font-size: .96rem; color: var(--ink-2); }
.checklist li i, .checklist li::before { color: var(--brand); flex-shrink: 0; }
.checklist.plain li::before { content: '\2713'; font-weight: 700; color: var(--brand); }

/* ─── CTA band ─── */
.cta-band { background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; }
.cta-band::before { content:''; position:absolute; inset:0;
  background: radial-gradient(800px 420px at 80% -10%, rgba(34,163,211,.22), transparent 60%),
              radial-gradient(700px 500px at 0% 120%, rgba(17,115,160,.2), transparent 60%); }
.cta-band .container { position: relative; text-align: center; max-width: 780px; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: var(--on-dark-2); font-size: 1.12rem; margin-bottom: 2rem; }
.cta-band .btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── Small pieces ─── */
.pill-tabs { display: inline-flex; gap: .4rem; background: var(--bg-2); border: 1px solid var(--line); padding: .35rem; border-radius: var(--r-pill); }
.pill-tabs a { padding: .5rem 1.1rem; border-radius: var(--r-pill); font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.pill-tabs a.active { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }

.badge-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.tagpill { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; padding: .4rem .85rem; border-radius: var(--r-pill); background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2); }

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ─── Footer ─── */
.site-footer { background: var(--navy-deep); color: var(--on-dark-2); padding: clamp(3.5rem,6vw,5rem) 0 2rem; border-top: 1px solid rgba(255,255,255,.09); }
.site-footer > .footer-grid,
.site-footer > .footer-bottom { max-width: var(--container-wide); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name span { color: var(--brand-2); }
.footer-brand p { margin-top: 1rem; font-size: .92rem; line-height: 1.7; color: var(--on-dark-2); max-width: 300px; }
.footer-col h5 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; font-family: var(--font-mono); font-weight: 600; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul a { font-size: .92rem; color: var(--on-dark-2); transition: color .2s; }
.footer-col ul a:hover { color: #fff; }
.newsletter-col p { font-size: .88rem; color: var(--on-dark-2); line-height: 1.65; margin-bottom: .9rem; }
.newsletter-form { display: flex; gap: .5rem; }
.newsletter-form input { background: rgba(255,255,255,.06); border-color: var(--line-dark); color: #fff; padding: .7rem .9rem; }
.newsletter-form input::placeholder { color: var(--on-dark-2); }
.newsletter-form button { background: var(--brand); color: #fff; padding: .7rem 1.2rem; border-radius: var(--r-sm); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.newsletter-form button:hover { background: var(--brand-2); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.8rem; }
.footer-copy { font-size: .85rem; color: var(--on-dark-2); }
.footer-legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-legal a { font-size: .85rem; color: var(--on-dark-2); }
.footer-legal a:hover { color: #fff; }

/* ─── Reveal animation ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ─── Utilities ─── */
.text-center { text-align: center; }
.mt-0{margin-top:0}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-0{margin-bottom:0}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}
.maxw-720{max-width:720px}.maxw-620{max-width:620px}.mx-auto{margin-left:auto;margin-right:auto}

/* ─── Responsive ─── */
@media (max-width: 1080px) {
  .grid-4, .team-grid, .stats-grid, .process-grid { grid-template-columns: repeat(2,1fr); }
  .work-grid, .grid-3, .tgrid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .site-nav nav, .nav-toggle ~ nav { }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 560px; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand, .newsletter-col { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .feature-row { grid-template-columns: 1fr; gap: 1.8rem; }
  .feature-row.reverse .feature-media { order: -1; }
  .feature-media { order: -1; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2, .work-grid, .tgrid, .team-grid, .stats-grid, .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-media .float-card { left: 0; right: 0; margin: 0 auto; max-width: none; position: relative; bottom: auto; margin-top: 1rem; }
  .hero-media .stars-badge { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════
   LEGACY COMPATIBILITY LAYER (v14/v15 markup → v16 look)
   Re-aliases old tokens + restyles legacy components so
   pages not hand-rebuilt adopt the new design system.
   ═══════════════════════════════════════════════════ */
:root {
  --c-deep:#ffffff; --c-night:var(--navy); --c-navy:#ffffff; --c-deep2:var(--bg-2); --c-ice:#94a3b0;
  --c-crystal:var(--brand-ink); --c-glow:var(--brand); --c-glow-2:var(--brand-ink);
  --c-mist:var(--ink-3); --c-frost:var(--ink); --c-white:#ffffff;
  --ink-soft:var(--ink-2); --ink-mute:var(--ink-3); --line-soft:var(--line-2);
  --grad-hero:linear-gradient(180deg,#ffffff,var(--bg-2));
  --grad-cta:linear-gradient(135deg,var(--brand-ink),var(--brand) 60%,var(--brand-2));
  --grad-line:linear-gradient(90deg,transparent,var(--line),transparent);
  --grad-text:linear-gradient(100deg,var(--brand-ink),var(--brand-2));
  --glass-bg:#ffffff; --glass-bg-2:var(--bg-2); --glass-border:var(--line); --glass-border-strong:#d3dbe3;
  --shadow-glow:var(--sh); --shadow-card:var(--sh-card); --shadow-soft:var(--sh-lg);
  --radius-xs:4px; --radius-sm:var(--r-sm); --radius-md:var(--r); --radius-lg:var(--r-lg); --radius-xl:var(--r-xl);
  --ease-out:var(--ease);
}

/* Legacy centered page header → light hero band */
.page-header { text-align:center; padding:clamp(3.5rem,6vw,5.5rem) var(--gutter) clamp(2rem,3vw,3rem); background:var(--bg-2); border-bottom:1px solid var(--line); }
.page-header > * { max-width:860px; margin-left:auto; margin-right:auto; }
.page-header h1 { margin:1rem auto; }
.page-header p { font-size:1.12rem; color:var(--ink-2); margin-top:1rem; }
.page-header .eyebrow { justify-content:center; }

.gradient-text { background:linear-gradient(100deg,var(--brand-ink),var(--brand-2)); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent; }
.italic-accent { font-style:italic; color:var(--brand-ink); font-weight:600; }

/* Legacy card grids */
.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.service-card { background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); padding:1.9rem; display:flex; flex-direction:column; color:inherit; transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s; }
.service-card:hover { transform:translateY(-4px); box-shadow:var(--sh-card); border-color:transparent; }
.service-card h3 { margin-bottom:.5rem; }
.service-card p { color:var(--ink-2); }
.service-icon { width:52px; height:52px; border-radius:14px; display:grid; place-items:center; margin-bottom:1.2rem; background:linear-gradient(140deg,rgba(17,115,160,.14),rgba(34,163,211,.1)); color:var(--brand-ink); }
.service-icon svg { width:24px; height:24px; }

/* Legacy CTA */
.cta-section { padding:var(--section-y) 0; }
.cta-card { position:relative; overflow:hidden; background:var(--navy); color:var(--on-dark); border-radius:var(--r-xl); padding:clamp(2.5rem,5vw,4rem); text-align:center; }
.cta-card::before { content:''; position:absolute; inset:0; background:radial-gradient(700px 380px at 82% -10%,rgba(34,163,211,.22),transparent 60%),radial-gradient(600px 420px at 0% 120%,rgba(17,115,160,.2),transparent 60%); }
.cta-card > * { position:relative; }
.cta-card h2 { color:#fff; margin-bottom:1rem; }
.cta-card p { color:var(--on-dark-2); font-size:1.1rem; max-width:620px; margin:0 auto 2rem; }
.cta-card .btns { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }

/* Legacy about story split */
.why-grid { display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,5vw,4rem); align-items:center; }
.why-visual { display:grid; place-items:center; }
.why-visual svg { max-width:300px; width:100%; opacity:.9; }

/* Legacy process */
.process-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; }
.process-step { padding:2rem 1.6rem; border:1px solid var(--line); border-radius:var(--r-lg); background:#fff; }
.process-num { display:block; font-family:var(--font-display); font-weight:800; font-size:2.2rem; color:var(--bg-3); line-height:1; margin-bottom:.6rem; }

/* Legacy testimonials */
.testimonials-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.tavatar { display:grid; place-items:center; font-weight:700; color:var(--brand-ink); font-family:var(--font-display); }

/* Legacy pricing */
.pricing-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.35rem; align-items:stretch; }
.price-card { position:relative; display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); padding:2rem 1.7rem; transition:transform .3s var(--ease),box-shadow .3s var(--ease); }
.price-card:hover { transform:translateY(-4px); box-shadow:var(--sh-card); }
.price-card.featured { border-color:var(--brand); box-shadow:0 20px 50px -28px rgba(17,115,160,.6); }
.price-card.featured::before { content:'Most Popular'; position:absolute; top:-11px; left:50%; transform:translateX(-50%); background:var(--brand); color:#fff; font-family:var(--font-mono); font-size:.62rem; letter-spacing:.1em; text-transform:uppercase; padding:.3rem .9rem; border-radius:100px; }
.price-name { font-family:var(--font-display); font-weight:700; font-size:1.3rem; color:var(--ink); }
.price-tagline { font-size:.9rem; color:var(--ink-3); margin:.4rem 0 1.3rem; min-height:2.6em; }
.price-amount { font-family:var(--font-display); font-weight:800; font-size:2.3rem; color:var(--ink); line-height:1.05; margin-bottom:1.3rem; }
.price-amount .from { display:block; font-family:var(--font-mono); font-size:.68rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--brand); margin-bottom:.4rem; }
.price-amount .unit { font-size:1.05rem; color:var(--ink-3); font-weight:600; }
.price-amount .billing { display:block; font-family:var(--font-sans); font-size:.78rem; font-weight:400; color:var(--ink-3); margin-top:.5rem; }
.price-features { list-style:none; display:flex; flex-direction:column; gap:.65rem; margin-bottom:1.7rem; }
.price-features li { display:flex; gap:.6rem; align-items:flex-start; font-size:.89rem; color:var(--ink-2); }
.price-features li svg { width:16px; height:16px; color:var(--brand); flex-shrink:0; margin-top:.2rem; }
.price-card .btn { margin-top:auto; width:100%; }

/* Legacy FAQ accordion */
.faq-list { display:flex; flex-direction:column; gap:.8rem; }
.faq-item { border:1px solid var(--line); border-radius:var(--r); background:#fff; overflow:hidden; transition:box-shadow .25s; }
.faq-item[open] { box-shadow:var(--sh-sm); }
.faq-item summary { list-style:none; cursor:pointer; padding:1.2rem 1.4rem; font-family:var(--font-display); font-weight:600; font-size:1.04rem; color:var(--ink); display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:'+'; font-size:1.4rem; line-height:1; color:var(--brand); transition:transform .25s; }
.faq-item[open] summary::after { transform:rotate(45deg); }
.faq-item .answer { padding:0 1.4rem 1.3rem; font-size:.96rem; line-height:1.7; color:var(--ink-2); }
.faq-item .answer p { margin-bottom:.8rem; }
.faq-item .answer a { color:var(--brand); }

/* Alerts */
.alert { padding:1rem 1.2rem; border-radius:var(--r-sm); font-size:.92rem; margin-bottom:1.5rem; }
.alert-success { background:#e7f7ee; border:1px solid #b6e6cb; color:#1a7f4b; }
.alert-error { background:#fdecec; border:1px solid #f6c6c6; color:#c0392b; }

/* Post body readability on light theme */
.post-body { color:var(--ink-2); }
.post-body h2,.post-body h3,.post-body h4 { color:var(--ink); }
.post-body pre { background:#0e1b26 !important; color:#e6edf3; }
.post-body code { background:var(--bg-2); color:var(--brand-ink); }

/* Legacy responsive */
@media(max-width:1080px){ .services-grid,.pricing-grid,.process-grid,.testimonials-grid{grid-template-columns:repeat(2,1fr);} }
@media(max-width:900px){ .why-grid{grid-template-columns:1fr;} }
@media(max-width:640px){ .services-grid,.pricing-grid,.process-grid,.testimonials-grid{grid-template-columns:1fr;} }
