/* ============================================================
   Real World AI Design — marketing site
   Editorial cream theme: cream BG, navy text, orange italic accents
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Inter:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; }

:root {
  --cream:        #f7f6f2;
  --cream-soft:   #efece4;
  --hairline:     #e3e0d8;
  --hairline-strong: #d6d2c5;
  --navy:         #0c1824;
  --navy-soft:    #1a2535;
  --grey-mid:     #5a6478;
  --grey-light:   #8a8f9c;
  --orange:       #d97a3a;
  --orange-bright:#ed7b1f;
  --footer-dark:  #0e1824;
  --footer-text:  #cfd6df;

  /* Backward-compat: old dark-theme tokens map onto the new palette
     so any straggler inline style like color:var(--text-secondary) keeps rendering. */
  --text-primary:   var(--navy);
  --text-secondary: var(--navy);
  --text-muted:     var(--grey-mid);
  --accent-teal:    var(--orange-bright);
  --accent-blue:    var(--navy);
  --bg-base:        var(--cream);
  --bg-card:        var(--cream);
  --border-soft:    var(--hairline);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

html, body {
  margin: 0; padding: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

img, svg { max-width: 100%; height: auto; display: block; }

/* Layout */
.shell { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.shell-narrow { max-width: 860px; margin: 0 auto; padding: 0 32px; }
.section { padding: 80px 0; }
.section.tight { padding: 48px 0; }
.section.lg { padding: 120px 0; }
@media (max-width: 720px) {
  .shell, .shell-narrow { padding: 0 22px; }
  .section { padding: 56px 0; }
  .section.lg { padding: 72px 0; }
}

/* Topbar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,246,242,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 32px; max-width: 1180px; margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--navy); line-height: 0; }
.brand img { height: 32px; width: auto; }
.brand:hover { text-decoration: none; }

.nav { display: flex; gap: 32px; align-items: center; }
.nav a { color: var(--navy); font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--orange-bright); text-decoration: none; }
.nav a.cta {
  background: var(--navy);
  color: var(--cream);
  padding: 11px 18px;
  font-weight: 600; font-size: 13px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .18s ease;
}
.nav a.cta:hover { background: #1d2c40; color: var(--cream); }
.nav a.cta::after { content: "→"; }
@media (max-width: 760px) {
  .topbar-inner { padding: 14px 22px; }
  .nav { gap: 16px; }
  .nav a:not(.cta) { display: none; }
  .brand img { height: 28px; }
}

/* Eyebrows */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 28px;
}
.eyebrow::before {
  content: ""; display: inline-block;
  width: 32px; height: 1px;
  background: var(--navy);
  margin-right: 4px;
}
.eyebrow-orange { color: var(--orange-bright); }
.eyebrow-orange::before { background: var(--orange-bright); }

/* Headlines */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.005em;
  margin: 0;
}
h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.05; }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.1; }
h3 { font-size: 22px; line-height: 1.3; }
h4 { font-size: 18px; line-height: 1.35; }
h1 em, h2 em, h3 em, .italic-accent {
  font-style: italic;
  color: var(--orange-bright);
  font-weight: 500;
}

/* Body */
p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--navy);
  margin: 0 0 18px;
}
p.lede {
  font-size: 19px;
  line-height: 1.6;
  font-weight: 400;
  max-width: 720px;
  margin: 0 0 26px;
}
p.muted { color: var(--grey-mid); }
p.small { font-size: 14px; line-height: 1.65; color: var(--grey-mid); }
ul, ol { margin: 0 0 18px; padding-left: 22px; }
ul li, ol li { margin-bottom: 6px; line-height: 1.7; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 14px 22px;
  font-family: var(--sans);
  font-weight: 600; font-size: 14px;
  text-decoration: none;
  transition: all .18s ease;
  letter-spacing: 0.01em;
}
.btn-primary { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.btn-primary:hover { background: #1d2c40; color: var(--cream); text-decoration: none; }
.btn-primary::after { content: "→"; transition: transform .18s; }
.btn-primary:hover::after { transform: translateX(3px); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--cream); text-decoration: none; }
.btn-outline::after { content: "↗"; font-size: 13px; }

.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--hairline-strong); }
.btn-ghost:hover { border-color: var(--navy); text-decoration: none; }
.btn-ghost::after { content: "→"; transition: transform .18s; }
.btn-ghost:hover::after { transform: translateX(3px); }

.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 8px; }

/* Hero */
.hero { padding: 100px 0 72px; border-bottom: 1px solid var(--hairline); }
.hero-logo {
  display: block;
  height: 150px;
  width: auto;
  margin: 0 0 36px -8px;  /* slight negative left aligns optical edge with headline */
}
.hero h1 { margin-bottom: 28px; max-width: 1000px; }
.hero .lede { font-size: 18px; max-width: 660px; margin-bottom: 28px; color: var(--grey-mid); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px solid var(--hairline);
}
.hero-stat {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-mid);
  line-height: 1.6;
  position: relative;
  padding-left: 18px;
}
.hero-stat::before {
  content: "—"; position: absolute; left: 0;
  color: var(--orange-bright); font-weight: 700;
}
@media (max-width: 720px) {
  .hero { padding: 56px 0 40px; }
  .hero-logo { height: 96px; margin-bottom: 24px; }
}

/* Contrarian belief */
.contrarian {
  background: var(--cream-soft);
  border-left: 3px solid var(--orange-bright);
  padding: 36px 40px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.contrarian em { font-style: italic; color: var(--orange-bright); }
.contrarian small {
  display: block; margin-top: 18px;
  font-family: var(--sans);
  font-size: 13px; font-weight: 500;
  color: var(--grey-mid);
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 720px) { .contrarian { padding: 26px 24px; } }

/* Two-paths "Two ways to get started" */
.two-paths {
  border: 1px solid var(--hairline);
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.two-paths .path { padding: 48px 44px; }
.two-paths .path:first-child { border-right: 1px solid var(--hairline); }
.two-paths .path .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 38px;
  color: var(--orange-bright);
  font-weight: 500;
  margin-bottom: 24px;
}
.two-paths .path h3 { font-size: 24px; margin-bottom: 14px; }
.two-paths .path p { color: var(--grey-mid); font-size: 15px; margin-bottom: 26px; }
@media (max-width: 760px) {
  .two-paths { grid-template-columns: 1fr; }
  .two-paths .path:first-child { border-right: none; border-bottom: 1px solid var(--hairline); }
  .two-paths .path { padding: 32px 28px; }
}

/* Three phases */
.phases {
  border: 1px solid var(--hairline);
  background: var(--cream);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.phase { padding: 44px 36px; border-right: 1px solid var(--hairline); }
.phase:last-child { border-right: none; }
.phase .roman {
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
  color: var(--orange-bright);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 28px;
}
.phase h3 { font-size: 22px; margin-bottom: 14px; }
.phase p { color: var(--grey-mid); font-size: 14.5px; line-height: 1.65; margin: 0; }
@media (max-width: 880px) {
  .phases { grid-template-columns: 1fr; }
  .phase { border-right: none; border-bottom: 1px solid var(--hairline); padding: 32px 28px; }
  .phase:last-child { border-bottom: none; }
}

/* Five-domain */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--hairline);
  background: var(--cream);
}
.domain { padding: 32px 24px; border-right: 1px solid var(--hairline); }
.domain:last-child { border-right: none; }
.domain .num {
  font-family: var(--serif); font-style: italic;
  color: var(--orange-bright);
  font-size: 22px; font-weight: 500;
  margin-bottom: 14px;
}
.domain h3 { font-size: 18px; margin-bottom: 8px; }
.domain p { font-size: 14px; color: var(--grey-mid); margin: 0; line-height: 1.6; }
@media (max-width: 1000px) {
  .domain-grid { grid-template-columns: repeat(2, 1fr); }
  .domain { border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
  .domain:nth-child(2n) { border-right: none; }
  .domain:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 540px) {
  .domain-grid { grid-template-columns: 1fr; }
  .domain { border-right: none !important; border-bottom: 1px solid var(--hairline); }
  .domain:last-child { border-bottom: none; }
}

/* About stats */
.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 28px 36px;
  border-top: 1px solid var(--hairline);
  padding-top: 32px;
  margin-top: 32px;
}
.about-stat .num {
  font-family: var(--serif);
  font-size: 38px; font-weight: 500;
  color: var(--orange-bright);
  line-height: 1;
  margin-bottom: 10px;
}
.about-stat .label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-mid);
  line-height: 1.5;
}

/* Service tiers */
.tier-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .tier-grid { grid-template-columns: 1fr; } }
.tier {
  border: 1px solid var(--hairline);
  background: var(--cream);
  padding: 36px 32px;
  display: flex; flex-direction: column;
}
.tier .badge {
  font-family: var(--sans);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-bright);
  margin-bottom: 14px;
}
.tier h3 { font-size: 26px; margin-bottom: 6px; }
.tier .duration { font-size: 13px; color: var(--grey-mid); margin-bottom: 20px; }
.tier .price {
  font-family: var(--serif);
  font-size: 28px; font-weight: 500;
  color: var(--navy);
  margin-bottom: 10px;
}
.tier .price small { font-size: 14px; font-weight: 400; color: var(--grey-mid); font-family: var(--sans); }
.tier ul { list-style: none; padding: 0; margin: 18px 0 28px; flex-grow: 1; }
.tier li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 14.5px;
  color: var(--navy);
  line-height: 1.6;
  border-bottom: 1px solid var(--hairline);
}
.tier li:last-child { border-bottom: none; }
.tier li::before {
  content: "—"; position: absolute; left: 0;
  color: var(--orange-bright); font-weight: 700;
}
.tier.featured { background: var(--cream-soft); border-color: var(--hairline-strong); }

/* Honest note */
.honest-note {
  background: var(--cream-soft);
  border-left: 3px solid var(--orange);
  padding: 22px 28px;
  font-size: 15px; line-height: 1.7;
  color: var(--navy);
  font-style: italic;
  font-family: var(--serif);
  font-weight: 400;
}
.honest-note strong {
  font-style: normal; font-family: var(--sans); font-weight: 600;
  display: block; margin-bottom: 6px;
  font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

/* Headshot */
.headshot {
  width: 220px; height: 220px;
  object-fit: cover;
  border: 1px solid var(--hairline);
  filter: grayscale(20%);
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* Case studies */
.case { padding: 56px 0; border-bottom: 1px solid var(--hairline); }
.case:last-child { border-bottom: none; }
.case-header {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 28px;
}
@media (max-width: 880px) { .case-header { grid-template-columns: 1fr; gap: 18px; } }
.case-meta {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-mid);
  line-height: 1.7;
}
.case-meta strong { color: var(--navy); font-weight: 600; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 24px; }
.tech-tag {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--hairline-strong);
  color: var(--navy);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
}
.arch-diagram {
  width: 100%;
  border: 1px solid var(--hairline);
  margin: 16px 0 6px;
  background: var(--cream-soft);
}

/* Footer */
.footer {
  background: var(--footer-dark);
  color: var(--footer-text);
  padding: 64px 0 32px;
  margin-top: 80px;
}
.footer .brand img {
  height: 28px;
  /* Footer uses logo-horizontal-dark.svg (cream text + orange) directly */
  /* via the markup, no filter needed */
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer p { color: var(--footer-text); font-size: 14px; line-height: 1.65; max-width: 280px; }
.footer h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  margin: 0 0 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--footer-text); font-size: 14px; }
.footer ul a:hover { color: var(--orange-bright); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 48px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(207,214,223,0.65);
}
.footer-bottom a { color: var(--footer-text); }

/* Generic grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 880px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Flat card */
.flat-card { background: var(--cream); border: 1px solid var(--hairline); padding: 28px; }
.flat-card h3 { margin: 0 0 10px; font-size: 18px; }
.flat-card p { margin: 0; color: var(--grey-mid); font-size: 14.5px; line-height: 1.65; }

/* Band */
.band {
  background: var(--cream-soft);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

/* Misc */
.text-muted { color: var(--grey-mid); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-md { margin-bottom: 18px; }
hr.divider { border: none; border-top: 1px solid var(--hairline); margin: 56px 0; }

/* ============================================================
   Backward-compat aliases for existing pages.
   Maps the old dark-glass class names to the new editorial system
   so the existing HTML keeps rendering until each page is rewritten.
   ============================================================ */

/* Old hero-eyebrow → new eyebrow */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-bright);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: ""; display: inline-block;
  width: 32px; height: 1px;
  background: var(--orange-bright);
}

/* Old grad accent inside h1 (was teal-blue gradient) → orange italic */
.grad {
  font-style: italic;
  color: var(--orange-bright);
  font-weight: 500;
  background: none;
  -webkit-text-fill-color: var(--orange-bright);
}

.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Old section eyebrow */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 22px;
}
.section-eyebrow::before {
  content: ""; display: inline-block;
  width: 32px; height: 1px;
  background: var(--grey-mid);
}

h2.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 18px;
  letter-spacing: -0.005em;
  line-height: 1.1;
}
h2.section-title em, h2.section-title .grad {
  font-style: italic;
  color: var(--orange-bright);
  font-weight: 500;
}

p.section-lede {
  font-family: var(--sans);
  font-size: 18px;
  color: var(--grey-mid);
  max-width: 720px;
  margin: 0 0 32px;
  line-height: 1.65;
}

/* Old glow-card → flat editorial card */
.glow-card {
  background: var(--cream);
  border: 1px solid var(--hairline);
  padding: 28px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Generic 3/4/5 column grids */
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--hairline); }
@media (max-width: 1000px) { .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .grid-5 { grid-template-columns: 1fr; } }

/* Pillar cards */
.pillar {
  background: var(--cream);
  border: 1px solid var(--hairline);
  padding: 26px 24px;
  transition: border-color .18s, transform .18s;
}
.pillar:hover { border-color: var(--navy); transform: translateY(-2px); }
.pillar-num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--orange-bright);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.pillar h3 { font-size: 18px; margin: 0 0 8px; color: var(--navy); }
.pillar p { font-size: 14.5px; color: var(--grey-mid); margin: 0; line-height: 1.6; }

/* Five-step flow grid (used on Method page) */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--hairline);
  background: var(--cream);
}
.flow-step {
  padding: 28px 22px;
  border-right: 1px solid var(--hairline);
  text-align: left;
}
.flow-step:last-child { border-right: none; }
.flow-step .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--orange-bright);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
  display: block;
}
.flow-step h4 {
  font-size: 17px;
  margin: 0 0 6px;
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 600;
}
.flow-step p {
  font-size: 13px;
  color: var(--grey-mid);
  margin: 0;
}
@media (max-width: 1000px) {
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-step { border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
  .flow-step:nth-child(2n) { border-right: none; }
  .flow-step:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 540px) {
  .flow-grid { grid-template-columns: 1fr; }
  .flow-step { border-right: none !important; border-bottom: 1px solid var(--hairline); }
  .flow-step:last-child { border-bottom: none; }
}

/* Tier cards (services page) — rebuild to match editorial */
.tier .badge {
  font-family: var(--sans);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-bright);
  margin-bottom: 14px;
  display: inline-block;
}
.tier h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--navy);
}
.tier .price small { font-family: var(--sans); }

/* Kicker (used on services blueprint card) */
.kicker {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--orange-bright);
  color: var(--orange-bright);
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Tier value/duration */
.duration { font-size: 13px; color: var(--grey-mid); margin-bottom: 18px; }
.price { font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--navy); margin-bottom: 8px; }

/* Case study sections (work page) */
.case-section {
  padding: 64px 0;
  border-top: 1px solid var(--hairline);
}
.case-section:first-of-type { border-top: none; }

.case-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 22px 0;
  border: 1px solid var(--hairline);
  background: var(--cream);
}
@media (max-width: 760px) { .case-meta { grid-template-columns: 1fr 1fr; } }
.case-meta-item {
  background: var(--cream);
  border-right: 1px solid var(--hairline);
  padding: 14px 18px;
}
.case-meta-item:last-child { border-right: none; }
.case-meta-item .label {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--grey-mid);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.case-meta-item .value {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
@media (max-width: 760px) {
  .case-meta-item:nth-child(2n) { border-right: none; }
  .case-meta-item:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
}

/* Tech tag (already exists, reinforce) */
.tech-tag {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--hairline-strong);
  color: var(--navy);
  padding: 4px 12px;
  margin: 3px 4px 3px 0;
  font-size: 12px;
  font-weight: 500;
}

/* Numbered nav step (start.html) */
.num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--orange-bright);
  font-size: 22px;
  font-weight: 500;
}
.label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-mid);
}
.value { font-weight: 600; color: var(--navy); }

/* "lede" alias (some pages use plain .lede) */
.lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--grey-mid);
  font-weight: 400;
  max-width: 720px;
  margin: 0 0 26px;
}

