/* ============================================================
   K. Bharat & Co. — Website Design + Blueprint
   Design tokens, layout, components
   ============================================================ */

:root {
  /* ============================================================
     Navy-only system — single hue, ink + slate + paper scaffold
     ============================================================ */

  /* Navy stack */
  --navy-deep: #022C47;     /* footer, service bar, deepest accents */
  --navy:      #1F396C;     /* primary brand — headings, buttons, links, dots */
  --navy-2:    #2C4A6E;     /* raised navy */
  --navy-3:    #253969;     /* secondary navy */

  /* Slate (cool blue-grey) — for use ON navy surfaces */
  --slate-pale:   #AEBACD;  /* light dots / links on navy panels */
  --slate-meta:   #748BAB;  /* meta text on dark backgrounds */
  --slate-italic: #5E7C9E;  /* italic emphasis, category labels */

  /* Paper / ink — for use ON light surfaces */
  --paper:    #FFFFFF;      /* page background */
  --paper-2:  #F4F6FA;      /* hover / zebra / light surfaces */
  --paper-3:  #E7ECF3;      /* pressed / inset / wash */
  --ink:      #0E1A2D;      /* primary body text */
  --ink-2:    #344256;      /* secondary text on light */
  --ink-3:    #6A7689;      /* captions, meta on light */
  --rule:     #D9DFE8;      /* hairlines, borders */

  /* ---- Legacy aliases — keep so existing rules render ---- */
  --midnight:    var(--navy);          /* dark surfaces, CTAs */
  --midnight-2:  var(--navy-2);
  --ivory:       var(--paper-2);       /* light section ground */
  --ivory-2:     var(--paper-3);
  --gold:        var(--navy);          /* single-color system: accent = navy */
  --gold-deep:   var(--slate-italic);  /* italic emphasis on light */
  --slate:       var(--ink-2);         /* body-secondary on LIGHT */
  --slate-2:     var(--ink-3);         /* tertiary on LIGHT */

  --hairline:        var(--rule);
  --hairline-strong: rgba(14, 26, 45, 0.22);
  --hairline-light:  rgba(255, 255, 255, 0.16);

  /* Type */
  --font-display: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --font-body: "Geist", "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  /* Scale */
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-feature-settings: "ss01", "cv11";
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--gold); color: var(--midnight); }

/* ============================================================
   Top toggle — switch between Website mock and Blueprint
   ============================================================ */
.view-switch {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 14px var(--gutter);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.view-switch .pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--midnight);
  padding: 4px;
  border-radius: 999px;
}
.view-switch button {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 9px 18px;
  border-radius: 999px;
  color: rgba(244, 246, 250, 0.65);
  transition: all 200ms ease;
}
.view-switch button.active {
  background: var(--ivory);
  color: var(--midnight);
}
.view-switch button:hover:not(.active) { color: var(--ivory); }
.view-switch .meta {
  position: absolute;
  left: var(--gutter);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-2);
}
.view-switch .meta-right {
  position: absolute;
  right: var(--gutter);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-2);
}
@media (max-width: 720px) {
  .view-switch .meta, .view-switch .meta-right { display: none; }
}

.view { display: none; }
.view.active { display: block; }

/* ============================================================
   WEBSITE VIEW
   ============================================================ */

/* Nav */
.nav {
  position: sticky;
  top: 53px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, padding 200ms ease;
}
.nav.scrolled { border-bottom-color: var(--hairline); padding-top: 16px; padding-bottom: 16px; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--midnight);
  color: var(--ivory);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -0.02em;
  position: relative;
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: -3px;
  border: 1px solid var(--slate-pale);
  border-radius: 50%;
  opacity: 0.55;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name { font-size: 18px; letter-spacing: -0.01em; }
.brand-sub { font-family: var(--font-body); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); margin-top: 4px; font-weight: 500; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 13.5px;
  font-weight: 450;
}
.nav-menu a {
  position: relative;
  color: var(--ink);
  padding: 4px 0;
  transition: color 200ms;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms ease;
}
.nav-menu a:hover::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 20px;
  background: var(--midnight);
  color: var(--ivory);
  font-size: 13px;
  font-weight: 450;
  border-radius: 999px;
  transition: transform 200ms ease, background 200ms ease;
}
.nav-cta:hover { background: var(--paper); color: var(--navy); }
.nav-cta .arr { transition: transform 200ms ease; }
.nav-cta:hover .arr { transform: translateX(3px); }

@media (max-width: 900px) {
  .nav-menu { display: none; }
}

/* Hero */
.hero {
  padding: clamp(70px, 11vw, 140px) var(--gutter) clamp(60px, 9vw, 110px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  column-gap: clamp(40px, 6vw, 96px);
  row-gap: 32px;
  align-items: end;
  position: relative;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--navy);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 7.6vw, 116px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: none;
  text-wrap: balance;
  grid-column: 1;
}
.hero h1 .it {
  font-style: italic;
  color: var(--slate-italic);
  font-weight: 400;
}
.hero-lede {
  grid-column: 2;
  max-width: 42ch;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  padding-bottom: clamp(10px, 1.5vw, 24px);
  position: relative;
}
.hero-lede::before {
  content: '';
  position: absolute;
  top: -28px;
  left: 0;
  width: 32px;
  height: 1px;
  background: var(--navy);
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero h1, .hero-lede { grid-column: 1; }
  .hero-lede { padding-bottom: 0; }
  .hero-lede::before { display: none; }
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: all 220ms ease;
  border: 1px solid transparent;
}
.btn-primary { background: var(--midnight); color: var(--ivory); }
.btn-primary:hover { background: var(--ink); }
.btn-ghost { border-color: var(--hairline-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--midnight); background: var(--midnight); color: var(--ivory); }
.btn .arr { transition: transform 200ms ease; }
.btn:hover .arr { transform: translateX(3px); }

.hero-meta {
  margin-top: clamp(60px, 9vw, 110px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
  padding-top: 36px;
}
.hero-meta .cell {
  padding-right: 24px;
  border-right: 1px solid var(--hairline);
}
.hero-meta .cell:last-child { border-right: none; }
.hero-meta .num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.hero-meta .num sup { font-size: 0.5em; color: var(--slate-italic); margin-left: 2px; top: -1.2em; }
.hero-meta .lbl {
  font-size: 12px;
  color: var(--slate);
  line-height: 1.45;
  max-width: 22ch;
}
@media (max-width: 720px) {
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .hero-meta .cell { border-right: none; }
  .hero-meta .cell:nth-child(odd) { border-right: 1px solid var(--hairline); }
}

/* Hero decorative monogram */
.hero-mono {
  position: absolute;
  right: calc(var(--gutter) * -0.5);
  bottom: 18%;
  font-family: var(--font-display);
  font-size: clamp(180px, 28vw, 420px);
  line-height: 0.8;
  color: var(--ink);
  opacity: 0.04;
  pointer-events: none;
  letter-spacing: -0.05em;
  user-select: none;
  font-style: italic;
}

/* ============================================================
   Section primitives
   ============================================================ */
.section {
  padding: clamp(80px, 10vw, 140px) var(--gutter);
}
.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 64px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hairline);
}
.section-head .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-head .label .num {
  color: var(--gold);
  font-weight: 500;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 18ch;
  text-wrap: balance;
}
.section-head h2 .it { font-style: italic; color: var(--gold-deep); }

@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; align-items: start; margin-bottom: 44px; }
}

/* ============================================================
   Tweaks — density & voice variants
   density = compact | editorial (default) | spacious
   voice   = serif (default) | modern
   ============================================================ */

body[data-density="compact"] .section { padding: clamp(56px, 8vw, 96px) var(--gutter); }
body[data-density="compact"] .hero    { padding: clamp(56px, 9vw, 96px) var(--gutter) clamp(44px, 7vw, 76px); }
body[data-density="compact"] .cta     { padding: clamp(56px, 8vw, 96px) var(--gutter); }
body[data-density="compact"] .section-head { margin-bottom: 44px; }
body[data-density="compact"] .hero-meta { margin-top: clamp(44px, 7vw, 80px); padding-top: 24px; }

body[data-density="spacious"] .section { padding: clamp(110px, 13vw, 180px) var(--gutter); }
body[data-density="spacious"] .hero    { padding: clamp(100px, 14vw, 180px) var(--gutter) clamp(80px, 11vw, 140px); }
body[data-density="spacious"] .cta     { padding: clamp(110px, 13vw, 180px) var(--gutter); }
body[data-density="spacious"] .section-head { margin-bottom: 88px; }
body[data-density="spacious"] .hero-meta { margin-top: clamp(80px, 12vw, 140px); padding-top: 48px; }

/* Modern voice — sans headlines, no italic accent.
   Targets every place we use the display serif. */
body[data-voice="modern"] h1,
body[data-voice="modern"] .section-head h2,
body[data-voice="modern"] .pillar h3,
body[data-voice="modern"] .svc-title,
body[data-voice="modern"] .step h4,
body[data-voice="modern"] .ind-name,
body[data-voice="modern"] .quote-section blockquote,
body[data-voice="modern"] .quote-section .quote-mark,
body[data-voice="modern"] .faq-q,
body[data-voice="modern"] .insight h4,
body[data-voice="modern"] .cta h2,
body[data-voice="modern"] .about-lede,
body[data-voice="modern"] .founder-body p:first-child,
body[data-voice="modern"] .bp-hero h1,
body[data-voice="modern"] .bp-section-head h2,
body[data-voice="modern"] .bp-card h4,
body[data-voice="modern"] .spec .sample-display,
body[data-voice="modern"] .brand-name,
body[data-voice="modern"] .hero-mono,
body[data-voice="modern"] .hero-meta .num,
body[data-voice="modern"] .founder-portrait .initials {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.025em;
}

body[data-voice="modern"] h1,
body[data-voice="modern"] .cta h2 { font-weight: 500; letter-spacing: -0.03em; }

body[data-voice="modern"] .it {
  font-style: normal;
  color: var(--navy-2);
  font-weight: 600;
}

body[data-voice="modern"] .brand-mark {
  font-family: var(--font-body);
  font-weight: 600;
  font-style: normal;
  font-size: 14px;
}

body[data-voice="modern"] .hero-mono {
  font-style: normal;
  font-weight: 600;
}

body[data-voice="modern"] .founder-portrait .initials {
  font-style: normal;
  font-weight: 500;
}

body[data-voice="modern"] .quote-section .quote-mark {
  font-weight: 600;
  font-size: 80px;
}

body[data-voice="modern"] .about-close {
  font-style: normal;
  color: var(--ink-3);
}

body[data-voice="modern"] .bp-hero h1 .it,
body[data-voice="modern"] .section-head h2 .it,
body[data-voice="modern"] h1 .it,
body[data-voice="modern"] .cta h2 .it,
body[data-voice="modern"] .founder-body p:first-child .it {
  font-style: normal;
}
.about-body {
  display: grid;
  gap: 36px;
}
.about-lede {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 36ch;
  margin: 0;
  text-wrap: balance;
}
.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
}
.about-cols p,
.about-close {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 56ch;
}
.about-close {
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  font-style: italic;
  color: var(--slate-italic);
  max-width: 60ch;
}
@media (max-width: 760px) {
  .about-cols { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   Founder profile
   ============================================================ */
.founder-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: start;
}
.founder-card {
  position: sticky;
  top: 130px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.founder-portrait {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.06), transparent 50%),
    linear-gradient(165deg, var(--navy-2) 0%, var(--navy-deep) 100%);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--slate-pale);
  position: relative;
  overflow: hidden;
}
.founder-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 22px);
  pointer-events: none;
}
.founder-portrait .initials {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 96px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: rgba(174, 186, 205, 0.55);
  line-height: 1;
}
.founder-portrait .portrait-note {
  position: absolute;
  bottom: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(174, 186, 205, 0.5);
}
.founder-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 24px;
  margin: 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--rule);
}
.founder-meta dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 2px;
}
.founder-meta dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}
.founder-body {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-top: 4px;
}
.founder-body p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 60ch;
}
.founder-body p:first-child {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 36ch;
}
@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; gap: 36px; }
  .founder-card { position: static; max-width: 360px; }
}

/* ============================================================
   Why us — manifesto pillars
   ============================================================ */
.why {
  background: var(--ivory);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.pillar {
  padding: 0 32px 0 0;
  border-right: 1px solid var(--hairline);
}
.pillar:last-child { border-right: none; padding-right: 0; }
.pillar:not(:first-child) { padding-left: 32px; }
.pillar .pnum {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  margin-bottom: 28px;
}
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.pillar p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 32ch;
}
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; gap: 36px; }
  .pillar { border-right: none; padding: 0 0 36px; border-bottom: 1px solid var(--hairline); }
  .pillar:not(:first-child) { padding-left: 0; padding-top: 36px; }
  .pillar:last-child { border-bottom: none; padding-bottom: 0; }
}

/* ============================================================
   Services — accordion list
   ============================================================ */
.services-list {
  border-top: 1px solid var(--hairline);
}
.svc {
  border-bottom: 1px solid var(--hairline);
  cursor: pointer;
  transition: background 240ms ease;
}
.svc:hover { background: var(--paper-2); }
.svc-row {
  display: grid;
  grid-template-columns: 60px 1fr auto 40px;
  gap: 28px;
  align-items: center;
  padding: 30px 4px;
}
.svc-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  letter-spacing: 0.06em;
}
.svc-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
}
.svc-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 6px 12px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  white-space: nowrap;
}
.svc-toggle {
  width: 36px;
  height: 36px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all 240ms ease;
}
.svc-toggle svg { transition: transform 280ms cubic-bezier(.22,.61,.36,1); }
.svc.open .svc-toggle { background: var(--midnight); border-color: var(--midnight); color: var(--ivory); }
.svc.open .svc-toggle svg { transform: rotate(45deg); }

.svc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 380ms cubic-bezier(.22,.61,.36,1);
}
.svc-body-inner {
  overflow: hidden;
}
.svc.open .svc-body { grid-template-rows: 1fr; }
.svc-body-content {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  gap: 28px;
  padding: 4px 4px 36px;
}
.svc-body-content .desc {
  grid-column: 2;
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 44ch;
}
.svc-body-content .bullets {
  grid-column: 3;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.svc-body-content .bullets li {
  font-size: 14px;
  color: var(--ink);
  padding-left: 18px;
  position: relative;
}
.svc-body-content .bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--gold);
}
@media (max-width: 760px) {
  .svc-row { grid-template-columns: 1fr 40px; gap: 18px; padding: 24px 0; }
  .svc-num, .svc-tag { display: none; }
  .svc-body-content { grid-template-columns: 1fr; padding: 0 0 28px; }
  .svc-body-content .desc, .svc-body-content .bullets { grid-column: 1; }
}

/* ============================================================
   Industries — chip grid
   ============================================================ */
.industries {
  background: var(--midnight);
  color: var(--ivory);
}
.industries .section-head { border-bottom-color: var(--hairline-light); }
.industries .section-head h2 { color: var(--ivory); }
.industries .section-head .label { color: var(--slate-meta); }
.industries-lede {
  max-width: 56ch;
  color: var(--slate-pale);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 56px;
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline-light);
  border: 1px solid var(--hairline-light);
}
.ind-cell {
  background: var(--midnight);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 130px;
  transition: background 260ms ease;
  position: relative;
}
.ind-cell:hover { background: var(--midnight-2); }
.ind-cell .ind-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate-meta);
  letter-spacing: 0.06em;
}
.ind-cell .ind-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.ind-cell:hover .ind-name { color: var(--slate-pale); }
@media (max-width: 1000px) { .industries-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .industries-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Process — timeline
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 24px;
}
.step {
  border-top: 1px solid var(--ink);
  padding-top: 24px;
  position: relative;
}
.step .step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold-deep);
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}
.step h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate);
}
.step::before {
  content: '';
  position: absolute;
  top: -5px; left: 0;
  width: 9px; height: 9px;
  background: var(--gold);
  border-radius: 50%;
}
@media (max-width: 920px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process-steps { grid-template-columns: 1fr; } }

/* ============================================================
   Testimonial / quote
   ============================================================ */
.quote-section {
  background: var(--ivory);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.quote-inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: -16px;
}
.quote-section blockquote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
.quote-section blockquote .it { font-style: italic; color: var(--gold-deep); }
.quote-section cite {
  display: block;
  margin-top: 40px;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  font-family: var(--font-mono);
}
.quote-section cite span { color: var(--ink); margin-right: 10px; }
.placeholder-note {
  margin-top: 28px;
  font-size: 11px;
  color: var(--slate-2);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { border-top: 1px solid var(--hairline); }
.faq-item {
  border-bottom: 1px solid var(--hairline);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
  transition: color 200ms;
}
.faq-q:hover { color: var(--gold-deep); }
.faq-q .pm {
  width: 30px; height: 30px;
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 240ms;
  font-size: 14px;
  color: var(--ink);
}
.faq-item.open .faq-q .pm {
  background: var(--midnight); border-color: var(--midnight); color: var(--ivory);
  transform: rotate(45deg);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 360ms cubic-bezier(.22,.61,.36,1);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p {
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate);
  max-width: 70ch;
}

/* ============================================================
   Insights teaser
   ============================================================ */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.insight {
  border-top: 1px solid var(--ink);
  padding-top: 24px;
  cursor: pointer;
  transition: transform 260ms ease;
}
.insight:hover { transform: translateY(-3px); }
.insight .ins-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 32px;
}
.insight .ins-meta .tag { color: var(--gold-deep); }
.insight h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.insight .ins-desc {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.55;
  margin: 0 0 20px;
}
.insight .ins-read {
  font-size: 13px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.insight:hover .ins-read { color: var(--gold-deep); }
@media (max-width: 900px) { .insights-grid { grid-template-columns: 1fr; gap: 0; }
  .insight { border-top: 1px solid var(--hairline); padding: 28px 0; }
}

/* ============================================================
   CTA + Footer
   ============================================================ */
.cta {
  background: var(--midnight);
  color: var(--ivory);
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(174, 186, 205, 0.16), transparent 52%),
    radial-gradient(circle at 80% 70%, rgba(174, 186, 205, 0.10), transparent 55%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 900px; margin: 0 auto; }
.cta .eyebrow { color: var(--slate-pale); justify-content: center; }
.cta .eyebrow .dot { background: var(--slate-pale); }
.cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 28px 0 0;
  text-wrap: balance;
}
.cta h2 .it { font-style: italic; color: var(--slate-pale); }
.cta-sub {
  margin: 32px auto 0;
  max-width: 52ch;
  color: rgba(244, 246, 250, 0.7);
  font-size: 17px;
  line-height: 1.55;
}
.cta-actions { display: inline-flex; gap: 14px; margin-top: 44px; flex-wrap: wrap; justify-content: center; }
.cta .btn-primary { background: var(--paper); color: var(--navy); }
.cta .btn-primary:hover { background: var(--paper-2); color: var(--navy-deep); }
.cta .btn-ghost { border-color: var(--hairline-light); color: var(--ivory); }
.cta .btn-ghost:hover { background: var(--ivory); color: var(--midnight); border-color: var(--ivory); }

.footer {
  background: var(--ink);
  color: rgba(244,246,250,0.7);
  padding: 80px var(--gutter) 40px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(244,246,250,0.12);
}
.footer h5 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,246,250,0.45);
  margin: 0 0 22px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a {
  font-size: 14px;
  color: rgba(244,246,250,0.85);
  transition: color 200ms;
}
.footer ul a:hover { color: var(--slate-pale); }
.footer .brand { color: var(--ivory); margin-bottom: 24px; }
.footer .brand .brand-name { color: var(--ivory); }
.footer .brand .brand-sub { color: rgba(244,246,250,0.55); }
.footer .addr {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244,246,250,0.75);
  font-style: normal;
  max-width: 32ch;
}
.footer .addr a { color: var(--ivory); }
.footer .addr a:hover { color: var(--slate-pale); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 12px;
  color: rgba(244,246,250,0.45);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .legal { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--slate-pale); }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.22,.61,.36,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   BLUEPRINT VIEW
   ============================================================ */
.bp {
  padding: 56px var(--gutter) 120px;
  max-width: 1400px;
  margin: 0 auto;
}
.bp-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: end;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 64px;
}
.bp-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
  text-wrap: balance;
}
.bp-hero h1 .it { font-style: italic; color: var(--gold-deep); }
.bp-hero .lede {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.6;
}
.bp-hero .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  row-gap: 10px;
}
.bp-hero .meta dt { color: var(--slate-2); }
.bp-hero .meta dd { margin: 0; color: var(--ink); }
@media (max-width: 860px) { .bp-hero { grid-template-columns: 1fr; gap: 28px; } }

.bp-section {
  padding: 60px 0;
  border-top: 1px solid var(--hairline);
}
.bp-section:first-of-type { border-top: none; padding-top: 0; }
.bp-section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.bp-section-head .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  padding-top: 12px;
}
.bp-section-head .num span { color: var(--gold-deep); display: block; margin-bottom: 4px; }
.bp-section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
@media (max-width: 760px) {
  .bp-section-head { grid-template-columns: 1fr; gap: 12px; }
}

.bp-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
}
.bp-body > *:first-child:not(.full) {
  grid-column: 2;
}
.bp-body > .full { grid-column: 1 / -1; }
@media (max-width: 760px) { .bp-body { grid-template-columns: 1fr; } .bp-body > * { grid-column: 1 !important; } }

.bp p { font-size: 15px; line-height: 1.65; color: var(--ink); max-width: 70ch; margin: 0 0 18px; }
.bp p.muted { color: var(--slate); }

/* Sitemap diagram */
.sitemap {
  background: var(--ivory);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 36px;
}
.sitemap-tree {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 2;
  color: var(--ink);
  white-space: pre;
  overflow-x: auto;
}
.sitemap-tree .root { color: var(--gold-deep); font-weight: 500; }
.sitemap-tree .branch { color: var(--slate); }
.sitemap-tree .leaf { color: var(--ink); }
.sitemap-tree .label-tag { color: var(--slate-2); font-size: 11px; margin-left: 8px; }

/* Tables */
.tbl {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--hairline);
  font-size: 13.5px;
}
.tbl th, .tbl td {
  text-align: left;
  padding: 14px 16px 14px 0;
  vertical-align: top;
  border-bottom: 1px solid var(--hairline);
}
.tbl th {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
  padding-top: 14px;
}
.tbl td.mono { font-family: var(--font-mono); font-size: 12.5px; color: var(--gold-deep); white-space: nowrap; }
.tbl td.path { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink); }

/* Cards / blocks */
.bp-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  overflow: hidden;
}
.bp-card {
  background: var(--paper);
  padding: 28px 30px;
}
.bp-card h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.bp-card .ek {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.bp-card p { margin: 0; color: var(--slate); font-size: 14px; line-height: 1.55; }
.bp-card ul { margin: 12px 0 0; padding: 0; list-style: none; }
.bp-card li { font-size: 13px; color: var(--ink); padding: 6px 0; border-top: 1px dashed var(--hairline); }
.bp-card li:first-child { border-top: none; }
@media (max-width: 760px) { .bp-cards { grid-template-columns: 1fr; } }

/* Color swatches */
.bp-grouphead {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 32px 0 12px;
  font-weight: 500;
}
.bp-grouphead:first-of-type { margin-top: 0; }
.bp-grouphead em {
  color: var(--slate-italic);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  margin-left: 6px;
}
.swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.swatch {
  border-radius: var(--r-md);
  padding: 16px;
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  font-family: var(--font-mono);
  font-size: 11px;
}
.swatch .name { letter-spacing: 0.06em; text-transform: uppercase; }
.swatch .hex { font-size: 13px; margin-top: 6px; }
.swatch.dark { color: var(--ivory); }
.swatch.dark .sub { color: rgba(244,246,250,0.6); }
.swatch.light { color: var(--ink); }
.swatch.light .sub { color: var(--slate); }
.swatch .sub { font-size: 10px; line-height: 1.4; max-width: 18ch; }
@media (max-width: 760px) { .swatches { grid-template-columns: repeat(2, 1fr); } }

/* Type specimens */
.specs { display: flex; flex-direction: column; gap: 28px; }
.spec {
  border-top: 1px solid var(--hairline);
  padding-top: 22px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: baseline;
}
.spec .info { font-family: var(--font-mono); font-size: 11.5px; color: var(--slate); letter-spacing: 0.06em; line-height: 1.55; }
.spec .info strong { color: var(--ink); display: block; font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: 0; margin-bottom: 4px; }
.spec .sample-display { font-family: var(--font-display); font-weight: 400; font-size: 56px; line-height: 1; letter-spacing: -0.02em; }
.spec .sample-display .it { font-style: italic; color: var(--gold-deep); }
.spec .sample-body { font-family: var(--font-body); font-size: 18px; line-height: 1.5; }
.spec .sample-mono { font-family: var(--font-mono); font-size: 16px; letter-spacing: 0.02em; }
@media (max-width: 760px) { .spec { grid-template-columns: 1fr; gap: 8px; } }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--ink);
}
.chip.solid { background: var(--midnight); color: var(--ivory); border-color: var(--midnight); }
.chip.gold { background: var(--paper-3); color: var(--navy); border-color: var(--rule); }

/* Stack list */
.stack-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stack-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
}
.stack-item .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.stack-item .v { font-size: 14px; color: var(--ink); }
.stack-item .v strong { color: var(--gold-deep); font-weight: 500; }
@media (max-width: 760px) { .stack-list { grid-template-columns: 1fr; } }

/* Wireframe sketch */
.wire {
  background: var(--ivory);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 24px;
}
.wire-row { display: flex; gap: 12px; align-items: stretch; margin-bottom: 12px; }
.wire-box {
  background: var(--ivory-2);
  border: 1px dashed var(--hairline-strong);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  display: grid;
  place-items: center;
  flex: 1;
}
.wire-box.tall { min-height: 80px; }
.wire-box.solid { background: var(--midnight); color: var(--ivory); border-style: solid; border-color: var(--midnight); }
.wire-box.gold { background: var(--gold); color: var(--midnight); border-style: solid; border-color: var(--gold); }

.muted-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--slate-2);
  margin-top: 10px;
}
