/* =========================================================
   Committed — committed.co.il
   Design system: ink + paper + deep teal accent.
   Editorial typography, generous whitespace, regulated-grade.
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }

/* ---------- Tokens ---------- */
:root {
  /* palette — full logo variants */
  --ink: #1C1C1C;
  --ink-soft: #2B2B2B;
  --ink-muted: #5A5A5A;
  --ink-dim: #8A8A8A;
  --paper: #F4EDE0;
  --paper-soft: #F9F5EC;
  --surface: #FAFAF7;
  --line: #E4DCC9;
  --line-soft: #EDE6D5;
  --teal: #0F5257;
  --teal-dark: #0A3E42;
  --teal-soft: #1A6B71;
  --navy: #1B2A49;
  --navy-soft: #2A3E65;
  --burgundy: #6E1F2E;
  --burgundy-soft: #8A2E42;
  --amber: #C4793E;
  --amber-soft: #D8924C;
  --terracotta: #B05A3E;
  --sage: #6B8068;

  /* type — modern stack, Geist + Instrument Serif as the signature voice */
  --serif: "Instrument Serif", "Fraunces", "Frank Ruhl Libre", Georgia, "Times New Roman", serif;
  --sans:  "Geist", "Inter", "Assistant", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:  "Geist Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --brand-display: "Noto Serif Ethiopic", "Instrument Serif", "Fraunces", Georgia, serif;

  /* layout */
  --container: 1240px;
  --container-narrow: 880px;
  --container-wide: 1440px;
  --radius: 2px;
  --radius-lg: 6px;
  --radius-xl: 14px;

  /* motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--surface);
  font-size: 17px;
}

::selection { background: var(--ink); color: var(--paper); }

/* Hebrew body typography — applied when <html lang="he"> */
html[lang="he"] body { font-family: "Assistant", "Rubik", var(--sans); font-size: 17.5px; letter-spacing: 0; }
html[lang="he"] h1, html[lang="he"] h2, html[lang="he"] h3,
html[lang="he"] .display, html[lang="he"] .eyebrow + .display {
  font-family: "Frank Ruhl Libre", "Fraunces", Georgia, serif;
}

h1, h2, h3, h4, h5 { font-family: var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
h4 { font-size: 1.15rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

p { max-width: 65ch; }
p + p { margin-top: 1em; }

a { text-decoration: none; color: var(--teal); transition: color 120ms var(--ease); }
a:hover { color: var(--teal-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: var(--radius);
}

/* Skip link */
.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  padding: 0.5rem 1rem;
  background: var(--ink); color: var(--paper);
  z-index: 1000;
  border-radius: var(--radius);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; color: var(--paper); }

/* ---------- Language visibility ---------- */
html[lang="en"] .lang-he { display: none !important; }
html[lang="he"] .lang-en { display: none !important; }
html[lang="he"] { direction: rtl; }
html[lang="he"] body { text-align: right; }
html[lang="he"] .eyebrow { letter-spacing: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.container-narrow { max-width: var(--container-narrow); }
.container-wide { max-width: var(--container-wide); }

section { padding-block: clamp(3.5rem, 7vw, 6rem); }
section.tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  display: inline-block;
  margin-bottom: 1rem;
}

.display { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; }

hr.rule { border: 0; border-top: 1px solid var(--line); margin-block: 3rem; }

/* ---------- Top bar ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .bar {
  display: flex; align-items: center; gap: 1.5rem;
  height: 92px;
}
.brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.brand svg, .brand img {
  height: 48px; width: 48px;
  transition: transform 260ms var(--ease-out);
}
.brand:hover svg, .brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand-name {
  font-family: var(--brand-display);
  font-weight: 500;
  font-size: 1.9rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
}

.primary-nav { display: flex; gap: 1.6rem; margin-inline-start: 1rem; }
.primary-nav a {
  color: var(--ink); font-weight: 500; font-size: 0.95rem; position: relative;
}
.primary-nav a[aria-current="page"] { color: var(--teal); }
.primary-nav a:hover { color: var(--teal); }

.utility-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 0.8rem; }
.lang-toggle {
  display: inline-flex; gap: 0; border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
  background: var(--paper-soft);
}
.lang-toggle button {
  padding: 0.3rem 0.8rem; font-size: 0.82rem; font-weight: 600;
  color: var(--ink-muted); letter-spacing: 0.06em;
}
.lang-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-weight: 600; font-size: 0.92rem;
  border-radius: 999px;
  transition: all 150ms var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--teal); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-link { padding: 0; color: var(--teal); border-bottom: 1px solid currentColor; border-radius: 0; }
.btn-link:hover { color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--paper-soft); }

.arrow::after { content: "→"; display: inline-block; transition: transform 150ms var(--ease); }
.btn:hover .arrow::after, .btn.arrow:hover::after { transform: translateX(3px); }
html[lang="he"] .arrow::after { content: "←"; }
html[lang="he"] .btn:hover .arrow::after, html[lang="he"] .btn.arrow:hover::after { transform: translateX(-3px); }

.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; }
.menu-toggle svg { width: 20px; height: 20px; }

@media (max-width: 960px) {
  .primary-nav { display: none; }
  .utility-nav .btn-primary { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* Mobile drawer */
.mobile-drawer { display: none; }
.mobile-drawer.open { display: block; padding: 1.5rem; border-top: 1px solid var(--line-soft); background: var(--surface); }
.mobile-drawer a { display: block; padding: 0.7rem 0; font-weight: 500; color: var(--ink); font-size: 1.05rem; border-bottom: 1px solid var(--line-soft); }
.mobile-drawer a:last-child { border-bottom: 0; }

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(4rem, 10vw, 8rem);
  background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--paper) 0%, var(--surface) 60%);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { max-width: 22ch; }
.hero .sub { max-width: 62ch; margin-top: 1.5rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); line-height: 1.55; }
.hero .ctas { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-mark {
  position: absolute;
  top: -80px; right: -80px;
  width: 420px; height: 420px; opacity: 0.06;
  pointer-events: none;
}
html[lang="he"] .hero-mark { right: auto; left: -80px; }

/* ---------- Grid utilities ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 880px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
@media (min-width: 881px) and (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards ---------- */
.card {
  background: var(--paper-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 150ms var(--ease), transform 200ms var(--ease);
}
.card:hover { border-color: var(--line); transform: translateY(-2px); }
.card .metric {
  font-family: var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 0.5rem;
}
.card .metric .unit { font-size: 0.7em; color: var(--ink-muted); }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card .read-more { margin-top: 1rem; display: inline-block; font-weight: 600; font-size: 0.88rem; color: var(--teal); }

/* Tile (service/industry list) */
.tile {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex; flex-direction: column;
  transition: border-color 150ms var(--ease), background 150ms var(--ease);
  height: 100%;
}
.tile:hover { border-color: var(--ink); background: var(--paper-soft); color: var(--ink); }
.tile .tile-num {
  font-family: var(--mono); font-size: 0.75rem; color: var(--ink-muted);
  margin-bottom: 1rem; letter-spacing: 0.1em;
}
.tile h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.tile p { font-size: 0.95rem; color: var(--ink-soft); flex: 1; }
.tile .arrow-link { margin-top: 1.25rem; font-weight: 600; color: var(--teal); font-size: 0.88rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.tile:hover .arrow-link { color: var(--ink); }

/* Proof card — the numeric cards on homepage */
.proof {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2rem;
  min-height: 250px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.proof .metric { font-family: var(--serif); font-size: clamp(1.7rem, 2.8vw, 2.25rem); line-height: 1.1; letter-spacing: -0.02em; }
.proof .metric strong { color: var(--paper); }
.proof p { color: rgba(244, 237, 224, 0.78); font-size: 0.95rem; margin-top: 0.75rem; max-width: 38ch; }
.proof .source { margin-top: 1.25rem; font-size: 0.82rem; color: rgba(244, 237, 224, 0.6); font-family: var(--mono); letter-spacing: 0.05em; }
.proof .badge {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-family: var(--mono); font-size: 0.7rem;
  color: rgba(244, 237, 224, 0.5); letter-spacing: 0.12em; text-transform: uppercase;
}
html[lang="he"] .proof .badge { right: auto; left: 1.25rem; }

/* ---------- Industry list ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 880px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }

.industry-card {
  background: var(--paper-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  display: flex; flex-direction: column; gap: 0.6rem;
  transition: all 150ms var(--ease);
  min-height: 170px;
  text-align: start;
}
.industry-card:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.industry-card:hover h3 { color: var(--paper); }
.industry-card:hover .icon { color: var(--paper); }
.industry-card h3 { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.industry-card .icon { width: 28px; height: 28px; color: var(--teal); }

/* ---------- Case study cards ---------- */
.case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 200ms var(--ease), transform 200ms var(--ease);
  height: 100%;
  display: flex; flex-direction: column;
}
.case-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.case-card .thumb {
  aspect-ratio: 16 / 9;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  position: relative; overflow: hidden;
}
.case-card .thumb-metric {
  font-family: var(--serif); font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  line-height: 1.1; letter-spacing: -0.02em; color: var(--paper);
  max-width: 90%; text-align: center;
}
.case-card .thumb-backdrop {
  position: absolute; inset: 0; opacity: 0.1; pointer-events: none;
  background: radial-gradient(circle at 20% 80%, var(--teal) 0, transparent 50%), radial-gradient(circle at 80% 20%, var(--amber) 0, transparent 50%);
}
.case-card .content { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.case-card .meta { font-family: var(--mono); font-size: 0.75rem; color: var(--ink-muted); letter-spacing: 0.1em; margin-bottom: 0.75rem; text-transform: uppercase; }
.case-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.case-card p { color: var(--ink-soft); font-size: 0.96rem; flex: 1; }
.case-card .read-case { margin-top: 1.2rem; font-weight: 600; color: var(--teal); font-size: 0.88rem; }

/* ---------- Why columns ---------- */
.why-col h3 { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 0.75rem; }
.why-col p { color: var(--ink-soft); }

/* ---------- Founder quote ---------- */
.quote-block {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-block: 1px solid var(--line);
  background: var(--paper);
}
.quote-block blockquote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.4;
  max-width: 36ch;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.quote-block blockquote::before {
  content: "“"; display: block; font-size: 3rem; line-height: 0.5; color: var(--teal); margin-bottom: 1rem;
}
html[lang="he"] .quote-block blockquote::before { content: "״"; }
.quote-block cite { display: block; font-style: normal; font-family: var(--sans); font-size: 0.92rem; color: var(--ink-muted); margin-top: 1.5rem; letter-spacing: 0.04em; }
.quote-block cite strong { color: var(--ink); font-weight: 600; }

/* ---------- Form ---------- */
.form-intake { max-width: 680px; display: grid; gap: 1.25rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  transition: border-color 150ms var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal); outline: 2px solid var(--teal); outline-offset: -1px;
}
.field textarea { min-height: 100px; resize: vertical; }

/* ---------- Service / Industry / Case page shared ---------- */
.page-header {
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2rem, 4vw, 3rem);
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line-soft);
}
.page-header .breadcrumb { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 1.25rem; }
.page-header .breadcrumb a { color: var(--ink-muted); }
.page-header .breadcrumb a:hover { color: var(--teal); }
.page-header h1 { max-width: 22ch; }
.page-header .lede { margin-top: 1.25rem; max-width: 60ch; font-size: 1.15rem; color: var(--ink-soft); line-height: 1.55; }

.section-heading { max-width: 36ch; }
.section-intro { color: var(--ink-soft); max-width: 62ch; margin-top: 1rem; font-size: 1.05rem; }

/* Bulleted build list */
.bullet-list { list-style: none; padding: 0; display: grid; gap: 0.85rem; max-width: 70ch; }
.bullet-list li { padding-inline-start: 1.75rem; position: relative; color: var(--ink-soft); line-height: 1.55; }
.bullet-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0.55em;
  width: 10px; height: 2px; background: var(--teal);
}
.bullet-list strong { color: var(--ink); }

/* Stack chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  font-family: var(--mono); font-size: 0.78rem;
  padding: 0.3rem 0.7rem;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* Section label / eyebrow row */
.section-label {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 1.5rem;
}

/* Proof pull-quote (used on service + industry pages) */
.proof-pull {
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  display: grid; gap: 1.5rem;
}
.proof-pull .metric { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.25rem); line-height: 1.15; letter-spacing: -0.02em; }
.proof-pull .attribution { font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.06em; color: rgba(244, 237, 224, 0.75); }

/* Two-column: narrative + sidebar */
.two-col { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } }
.sidebar h4 { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.75rem; }
.sidebar ul { list-style: none; padding: 0; margin-bottom: 2rem; }
.sidebar li { padding: 0.5rem 0; border-bottom: 1px solid var(--line-soft); }
.sidebar li a { color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.sidebar li a:hover { color: var(--teal); }

/* Summary box on case studies */
.summary-box {
  background: var(--paper-soft); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.75rem;
  display: grid; gap: 1rem;
}
.summary-box dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1.25rem; margin: 0; }
.summary-box dt { font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase; color: var(--ink-muted); letter-spacing: 0.1em; align-self: start; padding-top: 3px; }
.summary-box dd { margin: 0; font-size: 0.95rem; color: var(--ink); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--ink); color: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) 0;
  text-align: start;
}
.cta-banner h2 { color: var(--paper); max-width: 24ch; }
.cta-banner p { color: rgba(244, 237, 224, 0.78); margin-top: 1rem; max-width: 54ch; }
.cta-banner .ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta-banner .btn-primary { background: var(--paper); color: var(--ink); }
.cta-banner .btn-primary:hover { background: var(--teal-soft); color: var(--paper); }
.cta-banner .btn-ghost { border-color: rgba(244, 237, 224, 0.3); color: var(--paper); }
.cta-banner .btn-ghost:hover { border-color: var(--paper); color: var(--paper); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink); color: var(--paper);
  padding: 4rem 0 2rem;
}
.site-footer a { color: rgba(244, 237, 224, 0.75); }
.site-footer a:hover { color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h5 { font-family: var(--sans); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244, 237, 224, 0.55); margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; font-size: 0.92rem; }
.footer-brand .signature { font-family: var(--serif); font-size: 1.4rem; margin-top: 1rem; line-height: 1.3; color: var(--paper); max-width: 28ch; }
.footer-brand p { color: rgba(244, 237, 224, 0.7); font-size: 0.92rem; margin-top: 1rem; max-width: 34ch; }
.footer-brand .brand svg, .footer-brand .brand img { height: 56px; width: 56px; }
.footer-brand .brand .brand-name { font-family: var(--brand-display); font-size: 2.1rem; font-weight: 500; letter-spacing: -0.01em; }
.footer-bottom {
  border-top: 1px solid rgba(244, 237, 224, 0.12);
  margin-top: 3rem; padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.82rem; color: rgba(244, 237, 224, 0.55);
}
.footer-bottom .legal-links { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Diagram (homepage reference architecture) ---------- */
.ref-arch {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: grid; gap: 1rem;
}
.ref-arch .layer {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.ref-arch .layer .label { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.ref-arch .layer .items { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ref-arch .layer.highlight { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ref-arch .layer.highlight .label { color: rgba(244, 237, 224, 0.7); }
.ref-arch .layer.highlight .chip { background: var(--ink-soft); color: var(--paper); border-color: transparent; }

.pulse-dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #57D9A3; }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(3); opacity: 0; } }

/* ---------- Utilities ---------- */
.muted { color: var(--ink-muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 0.75rem; }
.mt-m { margin-top: 1.5rem; }
.mt-l { margin-top: 2.5rem; }
.mt-xl { margin-top: 4rem; }
.mb-s { margin-bottom: 0.75rem; }
.mb-m { margin-bottom: 1.5rem; }
.mb-l { margin-bottom: 2.5rem; }
.max-narrow { max-width: 60ch; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Long-form body */
.prose h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.prose h3 { margin-top: 2rem; margin-bottom: 0.75rem; }
.prose p, .prose ul, .prose ol { max-width: 68ch; margin-bottom: 1rem; font-size: 1.05rem; color: var(--ink-soft); line-height: 1.65; }
.prose ul, .prose ol { padding-inline-start: 1.25rem; }
.prose li + li { margin-top: 0.5rem; }
.prose a { color: var(--teal); border-bottom: 1px solid rgba(15, 82, 87, 0.25); }
.prose a:hover { color: var(--ink); border-color: var(--ink); }
.prose blockquote {
  border-inline-start: 3px solid var(--teal); padding: 0.5rem 1.25rem; margin: 1.5rem 0;
  font-family: var(--serif); font-size: 1.2rem; color: var(--ink);
}

/* Insights post list */
.post-list { display: grid; gap: 1rem; }
.post-row {
  display: grid; grid-template-columns: 180px 1fr max-content; gap: 1.5rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--line-soft);
  align-items: start;
}
@media (max-width: 760px) { .post-row { grid-template-columns: 1fr; gap: 0.5rem; } }
.post-row .post-meta { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-muted); letter-spacing: 0.1em; text-transform: uppercase; }
.post-row h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.post-row p { color: var(--ink-soft); max-width: 62ch; }

/* Accessibility: high-contrast focus ring for keyboard users */
*:focus-visible { outline-color: var(--teal); }

/* Print */
@media print {
  .site-header, .site-footer, .cta-banner { display: none; }
  body { background: white; color: black; }
  .hero { background: white; }
}

/* ============================================================
   v2 additions — CTO-grade homepage: motion, palette, hero
   ============================================================ */

/* ---------- Scroll-reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }
.reveal-delay-6 { transition-delay: 480ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- v2 Hero ---------- */
.hero-v2 {
  position: relative;
  min-height: 90vh;
  padding-block: clamp(5rem, 10vw, 10rem) clamp(4rem, 8vw, 8rem);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.hero-v2 .hero-backdrop {
  position: absolute; inset: 0;
  background-image: url("../assets/generated/hero.png");
  background-size: cover;
  background-position: center 30%;
  opacity: 0.55;
  filter: saturate(1.1) contrast(1.05);
  z-index: -2;
  animation: heroPan 28s ease-in-out infinite alternate;
}
.hero-v2::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 12% 30%, rgba(15, 82, 87, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 88% 72%, rgba(196, 121, 62, 0.28) 0%, transparent 55%),
    linear-gradient(180deg, rgba(28, 28, 28, 0.5) 0%, rgba(28, 28, 28, 0.78) 100%);
  z-index: -1;
  pointer-events: none;
}
.hero-v2 .container { position: relative; z-index: 2; }

@keyframes heroPan {
  0%   { transform: scale(1.02) translate3d(0, 0, 0); }
  100% { transform: scale(1.08) translate3d(-1%, -1%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-v2 .hero-backdrop { animation: none; }
}

.hero-v2 .eyebrow-row {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(244, 237, 224, 0.18);
  border-radius: 999px;
  background: rgba(244, 237, 224, 0.06);
  backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.85);
  margin-bottom: 2rem;
}
.hero-v2 .eyebrow-row .status-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #5FD998;
  box-shadow: 0 0 0 0 rgba(95, 217, 152, 0.6);
  animation: statusPulse 2.4s ease-out infinite;
}
@keyframes statusPulse {
  0%   { box-shadow: 0 0 0 0 rgba(95, 217, 152, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(95, 217, 152, 0); }
  100% { box-shadow: 0 0 0 0 rgba(95, 217, 152, 0); }
}

.hero-v2 h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 18ch;
  color: var(--paper);
}
.hero-v2 h1 em {
  font-style: italic;
  color: var(--amber-soft);
  font-family: var(--serif);
}
.hero-v2 h1 .teal-word { color: #7BCBD0; font-style: italic; }

.hero-v2 .sub {
  margin-top: 2rem;
  max-width: 62ch;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  color: rgba(244, 237, 224, 0.85);
}
.hero-v2 .sub strong { color: var(--paper); font-weight: 500; }

.hero-v2 .ctas { margin-top: 2.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-v2 .btn-primary { background: var(--paper); color: var(--ink); }
.hero-v2 .btn-primary:hover { background: var(--amber-soft); color: var(--ink); }
.hero-v2 .btn-ghost { border-color: rgba(244, 237, 224, 0.3); color: var(--paper); }
.hero-v2 .btn-ghost:hover { border-color: var(--paper); color: var(--paper); background: rgba(244, 237, 224, 0.08); }

/* Hero bottom strip — live metrics */
.hero-metrics {
  margin-top: clamp(4rem, 8vw, 6rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(244, 237, 224, 0.14);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}
@media (max-width: 880px) { .hero-metrics { grid-template-columns: repeat(2, 1fr); } }
.hero-metrics .m-label {
  font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(244, 237, 224, 0.55);
  margin-bottom: 0.5rem;
}
.hero-metrics .m-value {
  font-family: var(--serif); font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  line-height: 1; letter-spacing: -0.02em; color: var(--paper);
}
.hero-metrics .m-suffix { font-size: 0.55em; color: var(--amber-soft); margin-inline-start: 0.1em; }
.hero-metrics .m-sub {
  margin-top: 0.5rem; font-size: 0.82rem;
  color: rgba(244, 237, 224, 0.65);
  max-width: 24ch;
  line-height: 1.4;
}

/* ---------- Trust strip / marquee ---------- */
.trust-strip {
  background: var(--ink);
  color: rgba(244, 237, 224, 0.75);
  padding: 2rem 0;
  border-bottom: 1px solid rgba(244, 237, 224, 0.08);
  overflow: hidden;
}
.trust-strip .eyebrow {
  color: rgba(244, 237, 224, 0.5);
  margin-bottom: 1rem;
  text-align: center;
}
.marquee {
  display: flex; gap: 3rem;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }
.marquee .item {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: rgba(244, 237, 224, 0.75);
  display: inline-flex; align-items: center; gap: 0.75rem;
}
.marquee .item::after {
  content: "·"; color: rgba(244, 237, 224, 0.3);
  margin-inline-start: 3rem;
}
.marquee-outer { position: relative; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }

/* ---------- The problem section (CTO pain) ---------- */
.pain-section {
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line-soft);
}
.pain-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 22ch;
  color: var(--ink);
}
.pain-section h2 .strike { color: var(--burgundy); text-decoration: line-through; text-decoration-thickness: 2px; }
.pain-section .pain-grid {
  margin-top: 3rem;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 880px) { .pain-section .pain-grid { grid-template-columns: 1fr; } }
.pain-card {
  padding: 2rem;
  border-inline-end: 1px solid var(--line);
  background: var(--surface);
}
.pain-card:last-child { border-inline-end: 0; }
@media (max-width: 880px) {
  .pain-card { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .pain-card:last-child { border-bottom: 0; }
}
.pain-card .pain-num {
  font-family: var(--mono); font-size: 0.78rem;
  color: var(--ink-muted); letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.pain-card h3 {
  font-family: var(--serif); font-size: 1.4rem; line-height: 1.25;
  margin-bottom: 0.75rem; color: var(--ink);
}
.pain-card p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.55; }

/* ---------- v2 Case cards — with generated imagery ---------- */
.case-card-v2 {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 5 / 6;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2rem;
  isolation: isolate;
  transition: transform 400ms var(--ease-out);
}
.case-card-v2:hover { transform: translateY(-4px); }
.case-card-v2 .case-img {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform 1200ms var(--ease-out);
}
.case-card-v2:hover .case-img { transform: scale(1.04); }
.case-card-v2::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.15) 0%, rgba(28, 28, 28, 0.55) 45%, rgba(28, 28, 28, 0.9) 100%);
}
.case-card-v2.tone-teal .case-img { filter: saturate(0.9) hue-rotate(-8deg); }
.case-card-v2.tone-amber::before { background: linear-gradient(180deg, rgba(28, 28, 28, 0.1) 0%, rgba(28, 28, 28, 0.5) 50%, rgba(28, 28, 28, 0.92) 100%); }
.case-card-v2 .case-meta {
  font-family: var(--mono); font-size: 0.74rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(244, 237, 224, 0.75);
  margin-bottom: 1rem;
}
.case-card-v2 h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.15;
  letter-spacing: -0.01em; color: var(--paper);
}
.case-card-v2 .case-metric {
  font-family: var(--mono); font-size: 0.82rem;
  color: var(--amber-soft); margin-top: 1rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.case-card-v2 .case-metric::before {
  content: ""; width: 24px; height: 1px; background: var(--amber-soft);
}
.case-card-v2 .case-cta {
  margin-top: 1.25rem; font-size: 0.85rem; font-weight: 600;
  color: var(--paper);
  opacity: 0.8; transition: opacity 200ms, gap 200ms var(--ease-out);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.case-card-v2:hover .case-cta { opacity: 1; gap: 0.75rem; }

/* ---------- Architecture display (ref-arch v2) ---------- */
.arch-v2 {
  background: var(--navy);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}
.arch-v2::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(15, 82, 87, 0.4), transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 70%, rgba(196, 121, 62, 0.18), transparent 70%);
  pointer-events: none;
}
.arch-v2 .container { position: relative; z-index: 2; }
.arch-v2 h2 { color: var(--paper); }
.arch-v2 p { color: rgba(244, 237, 224, 0.78); }
.arch-v2 .eyebrow { color: rgba(244, 237, 224, 0.55); }

.arch-stack {
  margin-top: 3rem;
  display: grid; gap: 0.75rem;
}
.arch-layer {
  display: grid;
  grid-template-columns: 180px 1fr max-content;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: rgba(244, 237, 224, 0.04);
  border: 1px solid rgba(244, 237, 224, 0.1);
  border-radius: var(--radius-lg);
  transition: background 200ms, border-color 200ms;
}
@media (max-width: 760px) {
  .arch-layer { grid-template-columns: 1fr; gap: 0.5rem; }
}
.arch-layer:hover { background: rgba(244, 237, 224, 0.07); border-color: rgba(244, 237, 224, 0.2); }
.arch-layer.highlight {
  background: linear-gradient(90deg, rgba(15, 82, 87, 0.3), rgba(15, 82, 87, 0.1));
  border-color: rgba(15, 82, 87, 0.5);
}
.arch-layer .layer-label {
  font-family: var(--mono); font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(244, 237, 224, 0.7);
}
.arch-layer .layer-items {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.arch-layer .arch-chip {
  font-family: var(--mono); font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  background: rgba(244, 237, 224, 0.08);
  color: rgba(244, 237, 224, 0.92);
  border: 1px solid rgba(244, 237, 224, 0.15);
  border-radius: 999px;
}
.arch-layer.highlight .arch-chip {
  background: rgba(15, 82, 87, 0.35);
  border-color: rgba(123, 203, 208, 0.4);
  color: var(--paper);
}
.arch-layer .layer-status {
  font-family: var(--mono); font-size: 0.72rem;
  color: rgba(244, 237, 224, 0.55);
  display: flex; align-items: center; gap: 0.5rem;
  white-space: nowrap;
}
.arch-layer .layer-status .status-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #5FD998;
  animation: statusPulse 2.4s ease-out infinite;
}

/* ---------- Compliance strip ---------- */
.compliance-strip {
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.compliance-strip h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  max-width: 24ch;
}
.compliance-items {
  margin-top: 2rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 880px) { .compliance-items { grid-template-columns: repeat(2, 1fr); } }
.compliance-card {
  padding: 1.5rem;
  background: var(--surface);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.compliance-card .check {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--teal); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 0.9rem; font-weight: 700;
  margin-bottom: 0.5rem;
}
.compliance-card.red .check { background: var(--burgundy); }
.compliance-card h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.compliance-card p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Industry bar (colored) ---------- */
.industry-bar {
  margin-top: 2rem;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
@media (max-width: 880px) { .industry-bar { grid-template-columns: repeat(2, 1fr); } }
.industry-cell {
  padding: 1.75rem 1.25rem;
  border-inline-end: 1px solid var(--line);
  background: var(--surface);
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: background 250ms, color 250ms;
  min-height: 180px;
  text-align: start;
}
.industry-cell:last-child { border-inline-end: 0; }
.industry-cell:nth-child(1):hover { background: var(--teal); color: var(--paper); }
.industry-cell:nth-child(2):hover { background: var(--amber); color: var(--ink); }
.industry-cell:nth-child(3):hover { background: var(--terracotta); color: var(--paper); }
.industry-cell:nth-child(4):hover { background: var(--navy); color: var(--paper); }
.industry-cell:nth-child(5):hover { background: var(--sage); color: var(--paper); }
.industry-cell:hover h3 { color: inherit; }
.industry-cell h3 { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); transition: color 250ms; }
.industry-cell .icon { width: 32px; height: 32px; stroke-width: 1.6; }

/* ---------- Big quote ---------- */
.big-quote {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(5rem, 10vw, 9rem) 0;
  position: relative;
}
.big-quote blockquote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 24ch;
  color: var(--paper);
}
.big-quote blockquote em { font-style: italic; color: var(--amber-soft); }
.big-quote cite {
  display: block; font-style: normal;
  font-family: var(--mono); font-size: 0.88rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(244, 237, 224, 0.6);
  margin-top: 2.5rem;
}
.big-quote cite strong { color: var(--paper); font-weight: 500; }

/* ---------- v2 intake — clearer CTO path ---------- */
.intake-v2 {
  background: var(--paper-soft);
  border-block: 1px solid var(--line-soft);
}
.intake-v2 h2 { max-width: 22ch; }
.intake-v2 .choice-grid {
  margin-top: 2.5rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
@media (max-width: 880px) { .intake-v2 .choice-grid { grid-template-columns: 1fr; } }
.intake-choice {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: border-color 200ms, transform 250ms var(--ease-out);
  position: relative;
}
.intake-choice:hover { border-color: var(--ink); transform: translateY(-2px); }
.intake-choice .role-tag {
  font-family: var(--mono); font-size: 0.74rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--teal);
}
.intake-choice h3 { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; color: var(--ink); }
.intake-choice p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5; }
.intake-choice .role-arrow {
  margin-top: auto; padding-top: 1rem;
  font-size: 0.85rem; font-weight: 600; color: var(--teal);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.intake-choice:hover .role-arrow { gap: 0.65rem; }

/* ---------- Section eyebrow label reveal ---------- */
.eyebrow-line {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--mono); font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}
.eyebrow-line::before {
  content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.4;
}

/* ---------- v2 hide legacy hero mark + stylistic refinements ---------- */
html[lang="he"] .hero-v2 h1 { font-family: "Frank Ruhl Libre", var(--serif); }


/* ============================================================
   v3 additions — page-hero with photo backdrop for subpages
   ============================================================ */
.page-hero {
  position: relative;
  padding-block: clamp(5rem, 10vw, 8rem) clamp(3rem, 6vw, 5rem);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(244, 237, 224, 0.1);
}
.page-hero .page-hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.55;
  z-index: -2;
  transition: transform 1200ms var(--ease-out);
  animation: heroPan 30s ease-in-out infinite alternate;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(28,28,28,0.55) 0%, rgba(28,28,28,0.85) 70%, rgba(28,28,28,0.95) 100%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .breadcrumb { color: rgba(244,237,224,0.6); }
.page-hero .breadcrumb a { color: rgba(244,237,224,0.75); }
.page-hero .breadcrumb a:hover { color: var(--paper); }
.page-hero .eyebrow { color: rgba(244,237,224,0.72); }
.page-hero h1 {
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 22ch;
}
.page-hero .lede {
  color: rgba(244,237,224,0.85);
  max-width: 62ch;
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  line-height: 1.6;
}
.page-hero .lede strong { color: var(--paper); font-weight: 500; }
.page-hero .ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.page-hero .btn-primary { background: var(--paper); color: var(--ink); }
.page-hero .btn-primary:hover { background: var(--amber-soft); color: var(--ink); }
.page-hero .btn-ghost { border-color: rgba(244,237,224,0.3); color: var(--paper); }
.page-hero .btn-ghost:hover { border-color: var(--paper); color: var(--paper); background: rgba(244,237,224,0.08); }
.page-hero .chips .chip {
  background: rgba(244,237,224,0.08);
  color: rgba(244,237,224,0.92);
  border: 1px solid rgba(244,237,224,0.18);
}

/* ============================================================
   v3.1 — Image tile cards (for services + industries listing)
   ============================================================ */
.tile-img-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex; flex-direction: column;
  height: 100%;
  transition: border-color 200ms var(--ease-out), transform 300ms var(--ease-out);
  text-decoration: none; color: inherit;
}
.tile-img-card:hover { border-color: var(--ink); transform: translateY(-4px); color: inherit; }
.tile-img-card .tile-img {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: var(--ink);
  position: relative;
  transition: transform 700ms var(--ease-out);
}
.tile-img-card .tile-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(28,28,28,0.4) 100%);
}
.tile-img-card:hover .tile-img { transform: scale(1.04); }
.tile-img-card .tile-body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex; flex-direction: column;
  flex: 1;
}
.tile-img-card .tile-num {
  font-family: var(--mono); font-size: 0.75rem; color: var(--ink-muted);
  margin-bottom: 0.75rem; letter-spacing: 0.1em;
}
.tile-img-card h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--ink); line-height: 1.2; }
.tile-img-card p { font-size: 0.95rem; color: var(--ink-soft); flex: 1; line-height: 1.5; }
.tile-img-card .arrow-link {
  margin-top: 1.1rem; font-weight: 600; color: var(--teal); font-size: 0.88rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.tile-img-card:hover .arrow-link { color: var(--ink); }

/* ============================================================
   v3.2 — Brighter image treatment
   ============================================================ */
/* Hero v2 backdrop — lighter + tiny brightness boost */
.hero-v2 .hero-backdrop {
  opacity: 0.85 !important;
  filter: saturate(1.15) contrast(1.05) brightness(1.08) !important;
}
.hero-v2::before {
  background:
    radial-gradient(ellipse 70% 70% at 12% 30%, rgba(15, 82, 87, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 88% 72%, rgba(196, 121, 62, 0.2) 0%, transparent 55%),
    linear-gradient(180deg, rgba(28, 28, 28, 0.25) 0%, rgba(28, 28, 28, 0.55) 100%) !important;
}

/* Subpage hero — much lighter overlay */
.page-hero .page-hero-img {
  opacity: 0.82 !important;
  filter: saturate(1.1) brightness(1.08);
}
.page-hero::before {
  background: linear-gradient(180deg,
    rgba(28,28,28,0.28) 0%,
    rgba(28,28,28,0.55) 55%,
    rgba(28,28,28,0.82) 100%) !important;
}

/* Case cards — lighter bottom shade, more image visible */
.case-card-v2::before {
  background: linear-gradient(180deg,
    rgba(28,28,28,0.0) 0%,
    rgba(28,28,28,0.25) 45%,
    rgba(28,28,28,0.78) 100%) !important;
}
.case-card-v2 .case-img { filter: saturate(1.1) brightness(1.1); }

/* Listing tile image — brighter */
.tile-img-card .tile-img { filter: saturate(1.08) brightness(1.06); }
.tile-img-card .tile-img::after {
  background: linear-gradient(180deg, transparent 65%, rgba(28,28,28,0.3) 100%) !important;
}


/* ============================================================
   v3 — Bento-style modern home alternative
   ============================================================ */

.v3-body { background: var(--paper-soft); }

.hero-v3 {
  position: relative;
  padding-block: clamp(4rem, 7vw, 7rem) clamp(2rem, 4vw, 3rem);
  background: var(--paper-soft);
  overflow: hidden;
}
.hero-v3 .container { position: relative; z-index: 2; }
.hero-v3 .status-pill {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--mono); font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 2rem;
}
.hero-v3 .status-pill .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #3FA467;
  box-shadow: 0 0 0 0 rgba(63, 164, 103, 0.6);
  animation: statusPulse 2.4s ease-out infinite;
}
.hero-v3 h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 7.5vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 16ch;
  color: var(--ink);
}
.hero-v3 h1 em { font-style: italic; color: var(--teal); }
.hero-v3 h1 .accent-burgundy { color: var(--burgundy); font-style: italic; }
.hero-v3 h1 .accent-amber { color: var(--amber); font-style: italic; }
.hero-v3 .sub {
  margin-top: 1.75rem; max-width: 58ch;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
}
.hero-v3 .sub strong { color: var(--ink); font-weight: 500; }
.hero-v3 .ctas { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* --- Bento grid --- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 0.75rem;
  margin-top: 4rem;
}
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(160px, auto); }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
}

.bento-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform 400ms var(--ease-out), border-color 200ms;
}
.bento-card:hover { transform: translateY(-3px); border-color: var(--line); }

/* Span utilities for bento */
.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }
.row-2 { grid-row: span 2; }
@media (max-width: 960px) {
  .span-6, .span-8, .span-12 { grid-column: span 4; }
  .span-4, .span-3 { grid-column: span 2; }
}
@media (max-width: 600px) {
  .span-6, .span-8, .span-12, .span-4 { grid-column: span 2; }
  .span-3 { grid-column: span 1; }
}

/* Bento: colored variants */
.bento-card.tone-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bento-card.tone-ink .label { color: rgba(244,237,224,0.55); }
.bento-card.tone-ink h3 { color: var(--paper); }
.bento-card.tone-ink p { color: rgba(244,237,224,0.8); }
.bento-card.tone-teal { background: var(--teal); color: var(--paper); border-color: var(--teal); }
.bento-card.tone-teal h3, .bento-card.tone-teal h2 { color: var(--paper); }
.bento-card.tone-teal p { color: rgba(244,237,224,0.9); }
.bento-card.tone-navy { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.bento-card.tone-navy h3 { color: var(--paper); }
.bento-card.tone-navy p { color: rgba(244,237,224,0.85); }
.bento-card.tone-burgundy { background: var(--burgundy); color: var(--paper); border-color: var(--burgundy); }
.bento-card.tone-burgundy h3 { color: var(--paper); }
.bento-card.tone-amber { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.bento-card.tone-sage { background: var(--sage); color: var(--paper); border-color: var(--sage); }

/* Bento content types */
.bento-card .label {
  font-family: var(--mono); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}
.bento-card h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.6rem; line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.bento-card .metric-huge {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.95; letter-spacing: -0.03em;
  color: var(--ink);
  margin-top: auto; margin-bottom: 0.5rem;
}
.bento-card.tone-ink .metric-huge,
.bento-card.tone-teal .metric-huge,
.bento-card.tone-navy .metric-huge,
.bento-card.tone-burgundy .metric-huge,
.bento-card.tone-sage .metric-huge { color: var(--paper); }
.bento-card .metric-label {
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.bento-card.tone-ink .metric-label,
.bento-card.tone-teal .metric-label,
.bento-card.tone-navy .metric-label,
.bento-card.tone-burgundy .metric-label,
.bento-card.tone-sage .metric-label { color: rgba(244,237,224,0.78); }

/* Bento card with image */
.bento-card.with-image {
  background-size: cover;
  background-position: center;
  color: var(--paper);
  border-color: var(--ink);
  min-height: 320px;
  isolation: isolate;
}
.bento-card.with-image::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(28,28,28,0) 35%, rgba(28,28,28,0.85) 100%);
}
.bento-card.with-image > * { position: relative; z-index: 1; }
.bento-card.with-image h3 { color: var(--paper); margin-top: auto; }
.bento-card.with-image .label { color: rgba(244,237,224,0.85); }
.bento-card.with-image .read-cta {
  margin-top: 1rem; font-family: var(--mono); font-size: 0.78rem; color: var(--paper);
  letter-spacing: 0.08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.4rem;
  opacity: 0.8; transition: opacity 180ms, gap 180ms;
}
.bento-card.with-image:hover .read-cta { opacity: 1; gap: 0.6rem; }

/* Bento: quote style */
.bento-card.is-quote { justify-content: space-between; }
.bento-card.is-quote blockquote {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.3rem, 1.9vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.bento-card.is-quote cite {
  font-family: var(--mono); font-style: normal; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  opacity: 0.65;
}

/* Bento: big CTA */
.bento-card.is-cta {
  justify-content: space-between;
}
.bento-card.is-cta .arrow-big {
  font-family: var(--serif); font-size: 3rem; line-height: 1;
  margin-top: auto; align-self: flex-end;
  transition: transform 250ms var(--ease-out);
}
.bento-card.is-cta:hover .arrow-big { transform: translate(4px, -4px); }
.bento-card.is-cta h3 { max-width: 20ch; }

/* Bento: architecture preview */
.bento-card.arch-preview {
  padding: 1.5rem;
  background: var(--ink);
  color: var(--paper); border-color: var(--ink);
  overflow: hidden;
}
.bento-card.arch-preview .arch-mini {
  margin-top: 1rem;
  display: grid; gap: 0.4rem;
}
.bento-card.arch-preview .arch-mini-row {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  background: rgba(244,237,224,0.06);
  border: 1px solid rgba(244,237,224,0.1);
  border-radius: 6px;
  font-family: var(--mono); font-size: 0.74rem;
  color: rgba(244,237,224,0.85);
}
.bento-card.arch-preview .arch-mini-row.highlight {
  background: rgba(15,82,87,0.35); border-color: rgba(123,203,208,0.4);
}
.bento-card.arch-preview .arch-mini-row .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #5FD998; margin-inline-end: auto;
}
.bento-card.arch-preview .arch-mini-row .label {
  color: rgba(244,237,224,0.6); margin: 0; text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 0.7rem; margin-inline-end: 0.6rem;
}
.bento-card.arch-preview .arch-mini-row .stack {
  color: var(--paper);
}

/* Bento: ticker row */
.bento-card.is-ticker {
  padding: 1.25rem 0; overflow: hidden;
  justify-content: center;
}
.bento-card.is-ticker .ticker {
  display: flex; gap: 3rem;
  animation: marquee 35s linear infinite;
  white-space: nowrap; width: max-content;
}
.bento-card.is-ticker .ticker span {
  font-family: var(--serif); font-style: italic; font-size: 1.25rem;
  color: var(--ink-soft);
}

/* Bento: compliance check */
.bento-card.is-compliance h3 {
  font-size: 1.1rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0;
}
.bento-card.is-compliance .check-row {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.92rem;
}
.bento-card.is-compliance .check-row:last-child { border-bottom: 0; }
.bento-card.is-compliance .check {
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 0.75rem;
  background: var(--teal); color: var(--paper);
  flex-shrink: 0;
}
.bento-card.is-compliance .check.dim { background: var(--line); color: var(--ink-muted); }

/* Hero v3 kinetic underline */
.kinetic-under {
  position: relative; display: inline-block;
}
.kinetic-under::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 3px; background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  animation: kineticUnder 1.2s var(--ease-out) 0.6s forwards;
}
@keyframes kineticUnder {
  to { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .kinetic-under::after { transform: scaleX(1); animation: none; }
}

/* v3 spacing utilities */
.hero-v3 .hero-bg-accent {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 40% 30% at 92% 15%, rgba(196, 121, 62, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 35% 30% at 5% 80%, rgba(15, 82, 87, 0.1) 0%, transparent 60%);
}

/* Version switcher */
.version-switcher {
  position: fixed;
  bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 40;
  background: var(--ink); color: var(--paper);
  border-radius: 999px;
  display: inline-flex; overflow: hidden;
  box-shadow: 0 8px 28px rgba(28,28,28,0.25);
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em;
}
.version-switcher a {
  padding: 0.6rem 1.1rem; color: rgba(244,237,224,0.6);
}
.version-switcher a[aria-current="page"] { background: var(--paper); color: var(--ink); font-weight: 600; }
.version-switcher a:hover { color: var(--paper); }


/* ============================================================
   Team page — bento-style member cards
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 0.9rem;
  margin-top: 3rem;
}
@media (max-width: 960px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

.team-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: flex; flex-direction: column;
  transition: border-color 200ms, transform 300ms var(--ease-out);
  position: relative;
  overflow: hidden;
}
.team-card:hover { border-color: var(--ink); transform: translateY(-3px); }

/* Initials avatar placeholder */
.team-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--brand-display);
  font-weight: 500;
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  color: var(--paper);
  background: var(--ink);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(244,237,224,0.12);
}
.team-avatar.tone-ink { background: var(--ink); }
.team-avatar.tone-burgundy { background: var(--burgundy); }
.team-avatar.tone-teal { background: var(--teal); }
.team-avatar.tone-navy { background: var(--navy); }
.team-avatar.tone-amber { background: var(--amber); color: var(--ink); }
.team-avatar.tone-sage { background: var(--sage); }
.team-avatar.tone-terracotta { background: var(--terracotta); }
/* Subtle wink — a small mark in the corner of the avatar */
.team-avatar::after {
  content: "";
  position: absolute;
  bottom: 6px; right: 6px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--paper);
  opacity: 0.9;
}
html[lang="he"] .team-avatar::after { right: auto; left: 6px; }

.team-card .team-role {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}
.team-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.team-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: none;
  flex: 1;
}
.team-card .team-kicker {
  margin-top: 1.2rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  border-top: 1px solid var(--line-soft);
  padding-top: 0.8rem;
}

/* Team page hero tweak */
.team-hero h1 { max-width: 22ch; }

/* ============================================================
   Tech-partners strip — cloud + AI models
   ============================================================ */
.tech-strip {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  border-block: 1px solid rgba(244,237,224,0.08);
  overflow: hidden;
}
.tech-strip-head {
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(244,237,224,0.12);
  margin-bottom: 2rem;
}
.tech-strip-head .eyebrow {
  color: rgba(244,237,224,0.75);
  margin: 0;
  font-family: var(--mono); font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500;
}
.tech-strip-head .eyebrow-muted {
  color: rgba(244,237,224,0.42);
  font-family: var(--serif); font-style: italic; font-size: 1.05rem;
  letter-spacing: normal; text-transform: none;
}

.tech-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(244,237,224,0.06);
}
.tech-row:last-child { border-bottom: 0; }
@media (max-width: 720px) {
  .tech-row { grid-template-columns: 1fr; gap: 0.75rem; }
}
.tech-row .tech-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,237,224,0.55);
}
.tech-items {
  display: flex; flex-wrap: wrap;
  gap: 0.5rem 2rem;
  align-items: center;
}
.tech-item {
  display: inline-flex; align-items: center; gap: 0.7rem;
  color: rgba(244,237,224,0.88);
  font-family: var(--sans); font-weight: 500; font-size: 1rem;
  letter-spacing: -0.005em;
  padding: 0.5rem 0;
  transition: color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.tech-item:hover { color: var(--paper); transform: translateY(-1px); }
.tech-item .tech-ico {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  color: var(--paper);
  flex-shrink: 0;
}
.tech-item .tech-ico svg { width: 100%; height: 100%; display: block; }
.tech-item .tech-sub {
  font-family: var(--mono); font-size: 0.76rem;
  color: rgba(244,237,224,0.5);
  font-weight: 400;
  margin-inline-start: 0.35rem;
}
/* Accent dots for category */
.tech-item.accent-teal .tech-ico { color: #7BCBD0; }
.tech-item.accent-amber .tech-ico { color: var(--amber-soft); }
.tech-item.accent-ivory .tech-ico { color: var(--paper); }

/* Logo images inside tech-strip */
.tech-ico-img {
  width: 32px; height: 28px;
  display: flex; align-items: center; justify-content: flex-start;
  opacity: 0.95;
  transition: opacity 180ms var(--ease-out);
}
.tech-ico-img img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  display: block;
  /* brighten the ivory logos a bit on hover */
}
.tech-item:hover .tech-ico-img { opacity: 1; }
/* Slight scale variance per logo so visual weight is balanced */
.tech-item[title="Amazon Web Services"] .tech-ico-img img { max-height: 20px; }
.tech-item[title="Microsoft Azure"] .tech-ico-img img { max-height: 24px; }
.tech-item[title="Google Cloud Platform"] .tech-ico-img img { max-height: 22px; }
.tech-item[title="Anthropic Claude"] .tech-ico-img img { max-height: 22px; }
.tech-item[title="OpenAI"] .tech-ico-img img { max-height: 22px; }
.tech-item[title="Google Gemini"] .tech-ico-img img { max-height: 24px; }
.tech-item[title="Mistral AI"] .tech-ico-img img { max-height: 22px; }
.tech-item[title="Meta · Llama"] .tech-ico-img img { max-height: 22px; }
.tech-item[title="LangChain · LangGraph"] .tech-ico-img img { max-height: 24px; }

/* Inline brand SVGs inside tech-strip (replaces img-based sizing) */
.tech-ico-img svg {
  width: 100%;
  height: 100%;
  display: block;
}
.tech-ico-img {
  width: 30px; height: 30px;
  align-items: center; justify-content: center;
}
/* Per-brand sizing so visual weight is balanced */
.tech-item[title="Amazon Web Services"] .tech-ico-img { width: 34px; height: 22px; }
.tech-item[title="Microsoft Azure"]     .tech-ico-img { width: 28px; height: 26px; }
.tech-item[title="Google Cloud Platform"] .tech-ico-img { width: 30px; height: 24px; }
.tech-item[title="Anthropic Claude"]    .tech-ico-img { width: 26px; height: 26px; }
.tech-item[title="OpenAI"]              .tech-ico-img { width: 26px; height: 26px; }
.tech-item[title="Google Gemini"]       .tech-ico-img { width: 28px; height: 28px; }
.tech-item[title="Mistral AI"]          .tech-ico-img { width: 28px; height: 22px; }
.tech-item[title="Meta · Llama"]        .tech-ico-img { width: 30px; height: 22px; }
.tech-item[title="LangChain · LangGraph"] .tech-ico-img { width: 30px; height: 24px; }

/* ============================================================
   Language selector hidden site-wide (per request — will re-enable later)
   ============================================================ */
.lang-toggle { display: none !important; }

/* ============================================================
   Insights — image-led cards + long-form article styling
   ============================================================ */
.insight-grid {
  display: grid; gap: 1.5rem;
  margin-top: 3rem;
}
.insight-card {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: border-color 200ms var(--ease-out), transform 300ms var(--ease-out);
}
@media (max-width: 760px) {
  .insight-card { grid-template-columns: 1fr; }
}
.insight-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  color: inherit;
}
.insight-card .insight-card-img {
  background-size: cover;
  background-position: center;
  background-color: var(--ink);
  min-height: 260px;
  transition: transform 700ms var(--ease-out);
  filter: saturate(1.05) brightness(1.05);
}
.insight-card:hover .insight-card-img { transform: scale(1.03); }
.insight-card .insight-card-body {
  padding: 2rem 2.25rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.insight-card .post-meta {
  font-family: var(--mono); font-size: 0.76rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-muted);
}
.insight-card h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  line-height: 1.18; letter-spacing: -0.015em;
  color: var(--ink);
}
.insight-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: none;
}
.insight-card .read-link {
  margin-top: auto; padding-top: 0.6rem;
  font-family: var(--sans); font-weight: 600; font-size: 0.88rem;
  color: var(--teal);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.insight-card:hover .read-link { color: var(--ink); gap: 0.6rem; }

/* Long-form article body */
.prose-article .prose-lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.45;
  color: var(--ink);
  max-width: 60ch;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  font-style: italic;
}
.prose-article h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  line-height: 1.18; letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 3rem;
  margin-bottom: 1.25rem;
}
.prose-article h2:first-child { margin-top: 0; }
.prose-article p,
.prose-article ul,
.prose-article ol {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.68;
  max-width: 68ch;
  margin-bottom: 1.15rem;
}
.prose-article blockquote {
  border-inline-start: 3px solid var(--teal);
  padding: 0.5rem 1.5rem;
  margin: 1.75rem 0;
  font-family: var(--serif); font-size: 1.2rem; line-height: 1.5;
  color: var(--ink);
  font-style: italic;
  max-width: 60ch;
}
.prose-article ul, .prose-article ol { padding-inline-start: 1.4rem; }
.prose-article li { margin-bottom: 0.6rem; }
.prose-article li strong { color: var(--ink); }
.prose-article a {
  color: var(--teal);
  border-bottom: 1px solid rgba(15, 82, 87, 0.3);
}
.prose-article a:hover { color: var(--ink); border-color: var(--ink); }
.prose-article em { color: var(--ink); font-style: italic; }
