/* ============================================================
   NEURALA THEME — MAIN STYLESHEET v1.1
   Brand: #30a8bc teal, #202a32 dark, white/off-white light
   Font scale: 12px min (labels) → 13px body-small → 14px body
               → 15px body-large → 16px nav/footer → up
   ============================================================ */

/* === RESET & ROOT === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: #4eb0c5;         /* bright accent — on dark bg */
  --teal-dark: #237081;    /* deep — accents on light bg */
  --teal-deep: #0e8194;    /* buttons + CTA band */
  --teal-light: #e5eef0;
  --dark: #202a32;
  --dark2: #2c3840;
  --dark3: #172028;
  --white: #ffffff;
  --off-white: #f7f9fa;
  --light-border: #e2e8ec;
  --text: #000000;
  --text-mid: #333333;
  --text-muted: #7a8f9a;
  --text-light: #b0bec5;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --radius: 4px;
  --radius-md: 6px;
  --max-width: 1100px;
  --section-pad: 64px 0;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 15px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }

/* === LAYOUT — all constrained to max-width === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
.section { padding: var(--section-pad); }

/* Full-bleed colour bands — padding only, content constrained via inner .container */
.section-light { background: var(--white); border-bottom: 1px solid var(--light-border); }
.section-off   { background: var(--off-white); border-bottom: 1px solid var(--light-border); }
.section-dark  { background: var(--dark); border-bottom: 3px solid var(--teal); }
.section-dark2 { background: var(--dark2); border-bottom: 1px solid rgba(255,255,255,0.06); }
.section-teal  { background: var(--teal); }

.two-col     { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.two-col-3-2 { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: start; }
.three-col   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.founders-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-grid-5   { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; align-items: stretch; }
.four-col    { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { letter-spacing: -0.02em; line-height: 1.15; }

/* Section tags — uppercase labels. 12px minimum so they're legible */
.section-tag-light { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-dark); background: var(--teal-light); border-left: 3px solid var(--teal); padding: 4px 10px; margin-bottom: 14px; }
.section-tag-dark  { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); background: rgba(78,176,197,0.1); border-left: 3px solid var(--teal); padding: 4px 10px; margin-bottom: 14px; }

.h2-light  { font-size: 28px; font-weight: 700; color: var(--text); margin-bottom: 10px; line-height: 1.2; }
.h2-dark   { font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 10px; line-height: 1.2; }
/* Consistent 36px gap when a heading (or tag+heading) goes straight to content
   with no intro paragraph. Apply to the LAST heading element before the content. */
.h2-light.section-head, .h2-dark.section-head { margin-bottom: 36px; }
.intro-light { font-size: 15px; color: var(--text-mid); max-width: 560px; line-height: 1.75; margin-bottom: 36px; }
.intro-dark  { font-size: 15px; color: rgba(255,255,255,0.6); max-width: 560px; line-height: 1.75; margin-bottom: 36px; }

/* === BUTTONS === */
.btn-teal         { display: inline-flex; align-items: center; gap: 6px; background: var(--teal-deep); color: #fff; font-size: 14px; font-weight: 600; padding: 11px 24px; border-radius: var(--radius); border: none; cursor: pointer; transition: background 0.15s; text-decoration: none; }
.btn-teal:hover   { background: #0b6b7c; color: #fff; }
.btn-white        { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--teal-deep); font-size: 14px; font-weight: 700; padding: 11px 24px; border-radius: var(--radius); border: none; cursor: pointer; text-decoration: none; }
.btn-white:hover  { background: var(--teal-light); color: var(--teal-dark); }
.btn-outline-white { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: rgba(255,255,255,0.75); font-size: 14px; font-weight: 500; padding: 10px 20px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.25); cursor: pointer; text-decoration: none; transition: border-color 0.15s; }
.btn-outline-white:hover { border-color: rgba(255,255,255,0.55); color: #fff; }

/* === NAVIGATION — constrained to max-width === */
.site-nav { background: var(--dark); height: 60px; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.06); }
.site-nav .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.nav-logo     { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.nav-logo-img { height: 32px; width: auto; display: block; object-fit: contain; }
.nav-menu     { display: flex; align-items: center; gap: 24px; list-style: none; flex: 1; justify-content: center; }
.nav-menu li  { position: relative; }
.nav-menu a   { color: rgba(255,255,255,0.65); font-size: 14px; text-decoration: none; transition: color 0.15s; white-space: nowrap; display: block; padding: 4px 0; }
.nav-menu a:hover, .nav-menu .current-menu-item > a { color: #fff; }
.nav-menu .current-menu-item > a { color: var(--teal); }
/* Dropdown */
/* Desktop dropdown — scoped to site-nav only so mobile menu is unaffected */
.site-nav .nav-menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; transform: none; background: var(--dark2); border: 1px solid rgba(255,255,255,0.1); border-top: 2px solid var(--teal); border-radius: 0 0 var(--radius-md) var(--radius-md); min-width: 160px; list-style: none; z-index: 200; box-shadow: 0 6px 16px rgba(0,0,0,0.3); padding: 4px 0; margin-top: 0; }
.site-nav .nav-menu li:hover > .sub-menu { display: block; }
/* Bridge pseudo-element fills gap between nav link and dropdown so hover doesn't break */
.site-nav .nav-menu li:has(> .sub-menu)::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 20px; }
.site-nav .nav-menu .sub-menu li { display: block; }
.site-nav .nav-menu .sub-menu a { padding: 8px 16px; color: rgba(255,255,255,0.65); font-size: 13px; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,0.05); }
.site-nav .nav-menu .sub-menu li:last-child a { border-bottom: none; }
.site-nav .nav-menu .sub-menu a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.site-nav .nav-menu li:has(> .sub-menu) > a::after { content: '⌄'; display: inline-block; font-size: 13px; opacity: 0.5; line-height: 1; margin-left: 4px; vertical-align: middle; position: relative; top: -4px; }
/* Mobile sub-menu — always expanded, indented beneath parent */
.mobile-menu .sub-menu { display: block; padding-left: 16px; margin-top: 0; }
.mobile-menu .sub-menu li a { font-size: 14px; color: rgba(255,255,255,0.5); padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.04); display: block; }
.mobile-menu .sub-menu li:last-child a { border-bottom: none; }
.nav-cta-btn  { background: var(--teal-deep); color: #fff !important; font-size: 15px; font-weight: 600; padding: 8px 18px; border-radius: var(--radius); transition: background 0.15s; white-space: nowrap; flex-shrink: 0; text-decoration: none; }
.nav-cta-btn:hover { background: #0b6b7c !important; color: #fff !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; flex-shrink: 0; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.6); border-radius: 1px; }
.mobile-menu  { display: none; position: fixed; top: 60px; left: 0; right: 0; max-height: calc(100vh - 60px); overflow-y: auto; background: var(--dark); padding: 20px 24px 32px; border-bottom: 1px solid rgba(255,255,255,0.08); z-index: 99; }
.mobile-menu.is-open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu ul li a { display: block; padding: 12px 0; color: rgba(255,255,255,0.75); font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.06); text-decoration: none; }
.mobile-menu ul li:last-child a { border-bottom: none; }

/* === PAGE HERO (interior pages) === */
.page-hero { background: var(--dark); border-bottom: 3px solid var(--teal); position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; top: 0; right: 0; width: 280px; height: 100%; background: linear-gradient(135deg, transparent 50%, rgba(78,176,197,0.05) 100%); pointer-events: none; }
.page-hero .container { padding-top: 52px; padding-bottom: 48px; }
.breadcrumb         { font-size: 15px; color: rgba(255,255,255,0.4); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; }
.breadcrumb a       { color: rgba(255,255,255,0.4); text-decoration: none; }
.breadcrumb .sep    { color: rgba(255,255,255,0.2); }
.breadcrumb .current { color: var(--teal); }
.page-hero-tag { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); background: rgba(78,176,197,0.1); border-left: 3px solid var(--teal); padding: 4px 10px; margin-bottom: 14px; }
.page-hero h1 { font-size: 36px; font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; color: #fff; max-width: 600px; margin-bottom: 16px; }
.page-hero h1 em { font-style: normal; color: var(--teal); }
.page-hero-sub { font-size: 16px; color: rgba(255,255,255,0.65); max-width: 520px; line-height: 1.75; }

/* === HERO (homepage) === */
.home-hero       { background: radial-gradient(1100px 700px at 50% 82%, rgba(78,176,197,0.12), transparent 72%), var(--dark); position: relative; overflow: hidden; }
.home-hero .container { padding-top: 72px; padding-bottom: 0; position: relative; }
.hero-eyebrow    { display: inline-flex; align-items: center; gap: 7px; color: var(--teal); font-size: 14px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 20px; }
.hero-eyebrow-line { width: 24px; height: 2px; background: var(--teal); flex-shrink: 0; }
.hero-h1         { font-size: 56px; font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; color: #fff; margin-bottom: 22px; }
.hero-h1 em      { font-style: normal; color: var(--teal); }
.hero-sub        { font-size: 17px; color: rgba(255,255,255,0.65); line-height: 1.78; margin-bottom: 32px; }
.hero-ctas       { display: flex; gap: 12px; align-items: center; margin-bottom: 40px; flex-wrap: wrap; }
/* Image spot — full bleed, outside container */
.home-hero .container { padding-bottom: 0; }
/* Two independent hero layers:
   - .hero-lineart-bg: full-bleed decorative background on .home-hero, hidden
     below the tablet breakpoint. Purely ornamental, registered to nothing.
   - .hero-photos: the photo collage, a normal in-flow block below the copy.
   Because the layers are independent, neither can drift out of registration. */
.home-hero-centered { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero-lineart-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 1200px; max-width: none; height: auto; z-index: 0; pointer-events: none; }
.hero-copy       { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-photos     { width: 100%; max-width: 550px; margin: 8px auto 0; }
.hero-photos-img { display: block; width: 100%; height: auto; }
.hero-copy .hero-h1  { max-width: 760px; }
.hero-copy .hero-sub { max-width: 620px; }
.hero-copy .hero-ctas { justify-content: center; }
.hero-image-placeholder { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-image-placeholder p { font-size: 15px; color: rgba(255,255,255,0.2); font-style: italic; }
/* Stats — full bleed band but content constrained */

/* === LOGO BAR — full bleed, content constrained === */
.logo-bar       { padding: 64px 0; position: relative; z-index: 1; }
.logo-bar-label { font-size: 14px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 32px; text-align: center; }
.logo-bar-grid  { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 28px 24px; }
.logo-bar-item  { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; }
.logo-bar-item img { height: 28px; width: auto; max-width: 150px; display: block; opacity: 0.75; filter: grayscale(1) brightness(1.6); }
.logo-bar-item--text { font-size: 17px; font-weight: 700; color: rgba(255,255,255,0.6); letter-spacing: 0.02em; white-space: nowrap; }

/* === STAT BAR — full bleed, content constrained ===
   v1.1 — matched to approved Technology page design:
   same dark as hero, no column dividers, 48px numbers,
   bold bright labels, larger sub-labels. Shared by the
   Technology, Customers and About templates. */
.stat-bar   { background: var(--dark); border-bottom: 1px solid rgba(255,255,255,0.06); }
.stat-bar-inner { display: grid; }
.stat-bar-4 { grid-template-columns: repeat(4, 1fr); }
.stat-bar-3 { grid-template-columns: repeat(3, 1fr); }
.stat-item  { padding: 40px 24px; text-align: center; }
.stat-num   { font-size: 48px; font-weight: 700; color: var(--teal); letter-spacing: -0.03em; line-height: 1; }
.stat-label { font-size: 16px; font-weight: 700; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 10px; }
.stat-sub   { font-size: 16px; color: rgba(255,255,255,0.65); margin-top: 2px; line-height: 1.55; }

/* === CARDS === */
.card       { background: var(--white); border: 1px solid var(--light-border); border-radius: var(--radius-md); padding: 22px; }
.card-dark  { background: var(--dark2); border: 1px solid rgba(255,255,255,0.07); border-radius: var(--radius-md); padding: 22px; }
.card-teal-top { border-top: 3px solid var(--teal); border-radius: 0 0 var(--radius) var(--radius); }

/* Capability card icon (Technology page) */
.cap-icon { width: 56px; height: 56px; margin-bottom: 14px; }

/* Architecture stack diagram (Technology page) */
.arch-figure { width: 100%; max-width: 760px; height: auto; display: block; margin: 8px auto 0; }
.teal-pill  { display: inline-block; background: rgba(78,176,197,0.1); border: 1px solid rgba(78,176,197,0.25); color: var(--teal); font-size: 14px; font-weight: 700; padding: 3px 10px; border-radius: 3px; letter-spacing: 0.02em; }

/* === PROCESS STEPS === */
.process-row     { display: grid; gap: 0; align-items: stretch; }
.process-row-4   { grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr; }
.process-step    { background: var(--dark2); border: 1px solid rgba(255,255,255,0.07); border-top: 3px solid var(--teal); padding: 22px; display: flex; flex-direction: column; }
.process-step-body { flex: 1; } /* pushes duration badge to bottom */
.process-connector { display: flex; align-items: center; justify-content: center; color: rgba(78,176,197,0.5); font-size: 16px; }
.process-num     { width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; flex-shrink: 0; }
.process-duration { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--teal); background: rgba(78,176,197,0.1); border: 1px solid rgba(78,176,197,0.2); padding: 3px 8px; border-radius: 3px; align-self: flex-start; }

/* === TIMELINE === */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--light-border); }
.tl-item  { position: relative; padding-bottom: 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot   { position: absolute; left: -28px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--teal); display: flex; align-items: center; justify-content: center; }
.tl-dot-inner { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.tl-year  { font-size: 14px; font-weight: 700; color: var(--teal); letter-spacing: 0.04em; margin-bottom: 3px; }
.tl-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.tl-body  { font-size: 15px; color: var(--text-mid); line-height: 1.65; }

/* === FAQ === */
.faq-list   { border: 1px solid var(--light-border); border-radius: var(--radius-md); overflow: hidden; }
.faq-item   { border-bottom: 1px solid var(--light-border); padding: 20px 24px; }
.faq-item:last-child { border-bottom: none; }
.faq-q      { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 8px; display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.faq-q-icon { color: var(--teal-deep); font-weight: 700; flex-shrink: 0; }
.faq-a      { font-size: 14px; color: var(--text-mid); line-height: 1.75; padding-left: 22px; }

/* === CONTACT FORM 7 OVERRIDES === */
.contact-form-wrap .wpcf7 { width: 100%; }
.contact-form-wrap .wpcf7 input[type="text"],
.contact-form-wrap .wpcf7 input[type="email"],
.contact-form-wrap .wpcf7 textarea { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); padding: 10px 14px; font-size: 15px; color: #fff; font-family: var(--font); outline: none; width: 100%; transition: border-color 0.15s; margin-bottom: 12px; }
.contact-form-wrap .wpcf7 input[type="text"]:focus,
.contact-form-wrap .wpcf7 input[type="email"]:focus,
.contact-form-wrap .wpcf7 textarea:focus { border-color: rgba(78,176,197,0.55); }
.contact-form-wrap .wpcf7 input::placeholder,
.contact-form-wrap .wpcf7 textarea::placeholder { color: rgba(255,255,255,0.28); }
.contact-form-wrap .wpcf7 textarea { resize: vertical; min-height: 96px; }
.contact-form-wrap .wpcf7 input[type="submit"] { background: var(--teal); color: #fff; font-size: 15px; font-weight: 700; padding: 12px 24px; border-radius: var(--radius); cursor: pointer; border: none; width: 100%; font-family: var(--font); transition: background 0.15s; margin-top: 4px; }
.contact-form-wrap .wpcf7 input[type="submit"]:hover { background: var(--teal-dark); }
.contact-form-wrap .wpcf7 .wpcf7-not-valid-tip { color: #ff6b6b; font-size: 13px; margin-top: -8px; margin-bottom: 8px; display: block; }
.contact-form-wrap .wpcf7 .wpcf7-response-output { border: 1px solid rgba(78,176,197,0.4); background: rgba(78,176,197,0.1); color: rgba(255,255,255,0.8); border-radius: var(--radius); padding: 12px 16px; margin-top: 12px; font-size: 14px; }
.contact-form-wrap .wpcf7 .wpcf7-validation-errors { border-color: rgba(255,107,107,0.4); background: rgba(255,107,107,0.1); }


.contact-form-wrap { background: var(--dark2); border: 1px solid rgba(255,255,255,0.07); border-radius: var(--radius-md); padding: 28px; }
.form-row     { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-group   { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.form-label   { font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.6); letter-spacing: 0.03em; }
.form-input, .form-select, .form-textarea { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); padding: 10px 14px; font-size: 14px; color: #fff; font-family: var(--font); outline: none; width: 100%; transition: border-color 0.15s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: rgba(78,176,197,0.55); }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.28); }
.form-textarea { resize: vertical; min-height: 96px; }
.form-submit  { background: var(--teal); color: #fff; font-size: 14px; font-weight: 700; padding: 12px 24px; border-radius: var(--radius); cursor: pointer; border: none; width: 100%; margin-top: 4px; font-family: var(--font); transition: background 0.15s; }
.form-submit:hover { background: var(--teal-dark); }
.form-note    { font-size: 14px; color: rgba(255,255,255,0.3); text-align: center; margin-top: 10px; }

/* === QUOTE BLOCK === */
.quote-card { background: var(--dark2); border: 1px solid rgba(255,255,255,0.07); border-radius: var(--radius-md); padding: 26px; position: relative; }
.quote-card::before { content: '\201C'; position: absolute; top: 12px; left: 18px; font-size: 52px; color: var(--teal); opacity: 0.3; font-family: Georgia, serif; line-height: 1; }
.quote-text { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.78; font-style: italic; padding-top: 28px; }
.quote-attr { margin-top: 16px; font-size: 15px; color: rgba(255,255,255,0.45); }
.quote-attr strong { color: rgba(255,255,255,0.65); font-style: normal; }
.quote-card--light { background: var(--white); border: 1px solid var(--light-border); box-shadow: 0 2px 10px rgba(26,34,40,0.04); }
.quote-card--light::before { color: var(--teal-dark); opacity: 0.9; }
.quote-card--light .quote-text { color: var(--text-mid); }
.quote-card--light .quote-attr { color: var(--teal-dark); font-weight: 600; }

/* === ARTICLE CONTENT === */
.article-content { min-width: 0; overflow-wrap: break-word; word-wrap: break-word; }
.article-content pre { overflow-x: auto; max-width: 100%; }
.article-content h2 { font-size: 22px; font-weight: 700; color: var(--text); margin: 30px 0 12px; }
.article-content h3 { font-size: 18px; font-weight: 700; color: var(--text); margin: 22px 0 10px; }
.article-content p  { font-size: 15px; color: var(--text-mid); line-height: 1.85; margin-bottom: 18px; }
.article-content ul, .article-content ol { padding-left: 22px; margin-bottom: 18px; }
.article-content li { font-size: 15px; color: var(--text-mid); line-height: 1.78; margin-bottom: 6px; }
.article-content blockquote { border-left: 3px solid var(--teal); padding: 14px 20px; background: var(--teal-light); border-radius: 0 var(--radius) var(--radius) 0; margin: 22px 0; font-size: 15px; color: var(--teal-dark); line-height: 1.7; font-style: italic; }
.article-content blockquote p { color: var(--teal-dark); font-size: 15px; line-height: 1.7; font-style: italic; margin-bottom: 0; }
.article-content img { border-radius: var(--radius-md); margin: 22px 0; }
.article-content a { color: var(--teal-deep); }
/* [child_pages] shortcode output — linked list of child page titles */
.child-pages-list { list-style: none; padding-left: 0; margin: 0 0 18px; }
.child-pages-list li { margin: 0; border-bottom: 1px solid var(--light-border); }
.child-pages-list li:last-child { border-bottom: none; }
.child-pages-list a { display: block; padding: 14px 4px; font-size: 16px; font-weight: 600; color: var(--teal-deep); text-decoration: none; }
.child-pages-list a:hover { color: #0b6b7c; }
.article-content strong { color: var(--text); font-weight: 700; }
.article-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--light-border); }
.article-tag  { background: var(--off-white); border: 1px solid var(--light-border); border-radius: 3px; font-size: 14px; font-weight: 600; color: var(--text-muted); padding: 4px 10px; }

/* === SIDEBAR === */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start; }
.post-layout > article, .post-layout > main { min-width: 0; }
.sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-block { background: var(--off-white); border: 1px solid var(--light-border); border-radius: var(--radius-md); padding: 20px; }
.sidebar-block-title { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.sidebar-cta-block { background: var(--teal); border-radius: var(--radius-md); padding: 20px; text-align: center; }
.sidebar-cta-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 7px; }
.sidebar-cta-sub   { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.55; margin-bottom: 14px; }
.related-post  { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--light-border); }
.related-post:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.related-thumb { width: 46px; height: 46px; background: var(--dark2); border-radius: var(--radius); flex-shrink: 0; overflow: hidden; }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-title { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.4; }
.related-date  { font-size: 14px; color: var(--text-muted); margin-top: 3px; }

/* === BLOG INDEX === */
.blog-featured { background: #fff; border: 1px solid var(--light-border); border-radius: var(--radius-md); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 32px; }
.blog-featured-img { background: var(--dark2); min-height: 240px; overflow: hidden; }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured-content { padding: 30px; display: flex; flex-direction: column; }
.blog-card     { background: #fff; border: 1px solid var(--light-border); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; }
.blog-card-img { height: 150px; overflow: hidden; background: var(--dark2); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-type-pill  { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 9px; border-radius: 3px; }
.blog-type-blog  { background: var(--teal-light); color: var(--teal-dark); }
.blog-type-news  { background: #e8eeff; color: #3a5cd0; }
.blog-type-press { background: var(--teal-light); color: var(--teal-dark); }
.blog-date       { font-size: 14px; color: var(--text-muted); }
.blog-card-title   { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.3; margin-bottom: 7px; }
.blog-card-excerpt { font-size: 15px; color: var(--text-mid); line-height: 1.65; flex: 1; }
.blog-read-link    { font-size: 15px; font-weight: 700; color: var(--teal-deep); margin-top: 14px; display: inline-flex; align-items: center; gap: 3px; }

/* === NEWS LIST === */
.news-filter-tabs { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.news-filter-tab  { padding: 8px 18px; border-radius: var(--radius); font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid var(--light-border); background: #fff; color: var(--text-mid); transition: all 0.15s; }
.news-filter-tab.active, .news-filter-tab:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.news-list    { display: flex; flex-direction: column; gap: 12px; }
.news-item    { background: #fff; border: 1px solid var(--light-border); border-radius: var(--radius-md); padding: 22px 24px; display: flex; align-items: flex-start; gap: 20px; transition: border-color 0.15s; }
.news-item:hover { border-color: rgba(78,176,197,0.3); }
.news-item-type    { flex-shrink: 0; width: 100px; }
.news-item-outlet  { font-size: 14px; color: var(--text-muted); margin-top: 5px; }
.news-item-content { flex: 1; }
.news-item-date    { font-size: 14px; color: var(--text-muted); margin-bottom: 5px; }
.news-item-title   { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: 6px; }
.news-item-excerpt { font-size: 15px; color: var(--text-mid); line-height: 1.65; }
.news-item-link    { font-size: 15px; font-weight: 700; color: var(--teal-deep); cursor: pointer; margin-top: 9px; display: inline-flex; align-items: center; gap: 3px; text-decoration: none; }

/* === DETAIL PAGE (news/press) === */
.detail-source-bar     { background: var(--teal-light); border: 1px solid rgba(78,176,197,0.2); border-radius: var(--radius-md); padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.detail-source-outlet  { font-size: 14px; font-weight: 700; color: var(--teal-dark); }
.detail-boilerplate    { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--light-border); }
.detail-boilerplate-label { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.detail-boilerplate-text  { font-size: 15px; color: var(--text-muted); line-height: 1.75; font-style: italic; }
.detail-contact { background: var(--off-white); border: 1px solid var(--light-border); border-radius: var(--radius); padding: 16px 18px; margin-top: 14px; }

/* === AUTHOR BAR === */
.author-bar   { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--light-border); border-bottom: 1px solid var(--light-border); margin-bottom: 26px; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0; overflow: hidden; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name  { font-size: 14px; font-weight: 700; color: var(--text); }
.author-role  { font-size: 15px; color: var(--text-muted); }

/* === AWARDS === */
.awards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.award-img   { position: relative; background: #fff; border: 1px solid var(--light-border); border-bottom: 3px solid var(--teal); aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 16px; }
.award-img img { width: 100%; height: 100%; object-fit: cover; }
.award-img-fallback { font-size: 18px; font-weight: 800; color: var(--text-mid); letter-spacing: 0.04em; text-transform: uppercase; text-align: center; padding: 16px; }
.award-name  { font-size: 16px; color: var(--teal-dark); font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.award-desc  { font-size: 15px; color: var(--text-mid); line-height: 1.65; }

/* === FINAL CTA — full bleed, content constrained === */
.final-cta-section { background: var(--teal-deep); padding: 68px 0; text-align: center; }
.final-cta-section h2 { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; color: #fff; margin-bottom: 12px; }
.final-cta-section p  { font-size: 16px; color: #fff; max-width: 460px; margin: 0 auto 30px; line-height: 1.75; }
.final-cta-sub, .final-cta-section p.final-cta-sub { font-size: 15px; color: #fff; margin: 30px auto 0; }

/* === FOOTER — full bleed, content constrained === */
.site-footer { background: var(--dark3); border-top: 3px solid var(--teal); padding: 52px 0 26px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; margin-bottom: 36px; }
.footer-brand  { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-detail { font-size: 15px; color: rgba(255,255,255,0.45); line-height: 2; }
.footer-detail a { color: rgba(255,255,255,0.45); text-decoration: none; }
.footer-detail a:hover { color: rgba(255,255,255,0.75); }
.footer-col-title { font-size: 14px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links li a { font-size: 14px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.15s; }
.footer-links li a:hover { color: rgba(255,255,255,0.85); }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px; font-size: 15px; color: rgba(255,255,255,0.28); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-legal a { color: rgba(255,255,255,0.28); text-decoration: none; }
.footer-legal a:hover { color: rgba(255,255,255,0.55); }

/* === RESPONSIVE === */
/* === HOW WE WORK GRID === */
.how-we-work-grid          { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.how-we-work-step          { padding: 0 32px; }
.how-we-work-step:first-child { padding-left: 0; }
.how-we-work-step--bordered { border-right: 1px solid var(--light-border); }

/* === QUOTES GRID === */
.quotes-grid   { display: grid; gap: 20px; }
.quotes-grid-1 { grid-template-columns: 1fr; }
.quotes-grid-2 { grid-template-columns: 1fr 1fr; }
.quotes-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* === ABOUT STORY GRID === */
.about-story-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: start; }

/* === HERO TWO-COL (with graphic) === */
.hero-two-col     { display: grid; grid-template-columns: 3fr 2fr; gap: 40px; align-items: start; }
.hero-graphic-col { display: flex; align-items: center; justify-content: center; }


/* === HOMEPAGE — DIFFERENCE CARDS (v1.2) === */
.diff-grid       { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.diff-card       { background: var(--off-white); border: 1px solid var(--light-border); border-radius: 10px; padding: 32px; }
.diff-card-top   { display: flex; align-items: center; gap: 28px; margin-bottom: 26px; min-height: 104px; }
.diff-ill        { width: 104px; height: 98px; flex-shrink: 0; }
.diff-divider    { width: 1px; align-self: stretch; background: var(--light-border); }
.diff-stat-num   { font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; background: linear-gradient(120deg, #3fa9d4, #7bbf45); -webkit-background-clip: text; background-clip: text; color: transparent; }
.diff-stat-label { font-size: 16px; font-weight: 600; color: var(--teal-dark); margin-top: 4px; }
.diff-title      { font-size: 20px; font-weight: 700; color: #1d4e56; margin-bottom: 10px; }
.diff-body       { font-size: 15px; color: var(--text-mid); line-height: 1.75; }

/* === HOMEPAGE — CUSTOMER CARDS (v1.2) === */
.cust-photo        { position: relative; border-radius: 10px; overflow: hidden; height: 190px; background: linear-gradient(135deg, var(--dark2), var(--dark3)); }
.cust-photo-img    { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cust-photo-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; }
.cust-logo-text    { font-size: 21px; font-weight: 800; color: #fff; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; line-height: 1.3; }
.cust-headline     { font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.4; margin: 16px 0 10px; }
.cust-link         { font-size: 15px; font-weight: 700; color: var(--teal-deep); }

/* === HOMEPAGE — RECOGNITION (v1.2) === */
.recog-grid      { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: start; }
.recog-heading   { font-size: 30px; font-weight: 600; color: var(--teal-deep); line-height: 1.2; }
.recog-cards     { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.recog-card      { background: var(--white); border: 1px solid var(--light-border); border-radius: 10px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 2px 10px rgba(26,34,40,0.05); }
.recog-card img  { width: 100%; height: 100%; object-fit: cover; }
.recog-card-text { padding: 20px; font-size: 16px; font-weight: 700; color: var(--text-mid); text-align: center; line-height: 1.35; }
.recog-caption   { font-size: 15px; color: var(--text-mid); text-align: center; margin-top: 16px; line-height: 1.5; }

/* Dark-section overrides for shared how-we-work component */
.section-dark .how-we-work-step--bordered { border-right-color: rgba(255,255,255,0.12); }
.section-dark .process-num { color: var(--dark3); }


/* === INTEGRATION — LIGHT PROCESS CARDS + TEAL CONTACT BAND (v1.5) === */
.process-light .process-step { background: var(--white); border: 1px solid var(--light-border); border-top: 3px solid var(--teal-dark); }
.process-light .process-num { background: var(--teal-dark); }
.process-light .process-connector { color: var(--teal-dark); }
.process-light .process-duration { color: var(--teal-dark); background: var(--teal-light); border: 1px solid transparent; }

.contact-section { background: var(--teal-deep); position: relative; overflow: hidden; }
.int-hero-grid    { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: start; }
.int-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-section .container { position: relative; z-index: 1; }
.contact-section .section-tag-dark { background: rgba(255,255,255,0.14); color: #fff; border-left-color: #fff; }
.contact-circuit { position: absolute; bottom: 0; left: max(24px, calc(50% - var(--max-width) / 2 - 8px)); width: 320px; max-height: 200px; height: auto; object-fit: contain; object-position: bottom left; opacity: 1; pointer-events: none; }

/* White contact form card (teal band) */
.contact-form-wrap { background: var(--white); border-radius: 10px; padding: 28px; box-shadow: 0 8px 28px rgba(10,40,48,0.18); }
.contact-form-wrap .wpcf7 label { font-size: 14px; font-weight: 600; color: var(--text); }
.contact-form-wrap .wpcf7 input[type="text"],
.contact-form-wrap .wpcf7 input[type="email"],
.contact-form-wrap .wpcf7 textarea { background: var(--white); border: 1px solid var(--light-border); color: var(--text); }
.contact-form-wrap .wpcf7 input::placeholder,
.contact-form-wrap .wpcf7 textarea::placeholder { color: var(--text-muted); }
.contact-form-wrap .wpcf7 input[type="text"]:focus,
.contact-form-wrap .wpcf7 input[type="email"]:focus,
.contact-form-wrap .wpcf7 textarea:focus { border-color: var(--teal-dark); }
.contact-form-wrap .wpcf7 input[type="submit"] { background: var(--teal-deep); }
.contact-form-wrap .wpcf7 input[type="submit"]:hover { background: #0b6b7c; }
/* High-contrast validation / response messages on the light form card */
.contact-form-wrap .wpcf7 .wpcf7-response-output { border: 1px solid #c9a227; background: #fdf6e3; color: #6b5800; border-radius: var(--radius); padding: 12px 16px; margin-top: 12px; font-size: 14px; }
.contact-form-wrap .wpcf7 .wpcf7-mail-sent-ok { border-color: #2e7d32; background: #e8f5e9; color: #1b5e20; }
.contact-form-wrap .wpcf7 .wpcf7-validation-errors,
.contact-form-wrap .wpcf7 .wpcf7-acceptance-missing { border-color: #c62828; background: #fdecea; color: #b71c1c; }
.contact-form-wrap .wpcf7 .wpcf7-not-valid-tip { color: #c62828; font-size: 13px; margin-top: -8px; margin-bottom: 8px; display: block; }

/* === WHY NEURALA — PROOF CUSTOMER IMAGES (v1.5) === */
.why-proof-img { position: relative; height: 100px; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, var(--dark2), var(--dark3)); border: 1px solid rgba(255,255,255,0.08); }
.why-proof-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.why-proof-img-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 10px; font-size: 13px; font-weight: 800; color: rgba(255,255,255,0.85); letter-spacing: 0.05em; text-transform: uppercase; text-align: center; line-height: 1.3; }

/* === ABOUT — HERO CIRCUIT DECORATIONS (v1.4) === */
.page-hero--circuits { position: relative; overflow: hidden; }
.page-hero--circuits .container { position: relative; }
.hero-circuit { position: absolute; height: auto; opacity: 0.9; pointer-events: none; z-index: 2; }
/* Per the design: compact clusters framing the photo in the surrounding
   dark space — top cluster above the photo's left corner, bottom cluster
   at the viewport's bottom-right corner. Slots are size-constrained so
   uploaded assets render at the design's footprint. */
/* Hero photo fills the full height of the text column (tag through sub)
   and bleeds past the container's right edge per the design. */
.hero-two-col--fill { align-items: stretch; }
.hero-photo-fill { align-self: stretch; display: flex; position: relative; z-index: 1; margin-right: 0px; }
.hero-photo-fill img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; display: block; }
.hero-circuit--top { top: 0; right: 25%; width: 160px; max-height: 150px; object-fit: contain; object-position: top; }
.hero-circuit--bottom { bottom: 0; right: 30px; width: 160px; max-height: 140px; object-fit: contain; object-position: bottom; }
.hero-circuit--flip { transform: rotate(180deg); }

/* === CUSTOMERS — CASE STUDY CARDS (v1.3) === */
.case-grid       { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.case-card       { background: var(--white); border: 1px solid var(--light-border); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(26,34,40,0.04); display: flex; flex-direction: column; }
.case-card-img   { position: relative; height: 190px; flex-shrink: 0; border-bottom: 2px solid var(--teal); background: linear-gradient(135deg, var(--dark2), var(--dark3)); }
.case-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-card-img-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; }
.case-card-img-fallback span { font-size: 30px; font-weight: 800; color: #fff; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; }
.case-tag        { position: absolute; top: 0; right: 0; background: var(--teal); color: var(--dark); font-size: 13px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; padding: 9px 18px; border-radius: 0 0 0 10px; }
.case-body       { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.case-headline   { font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 12px; }
.case-text       { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-bottom: 20px; }
.case-stats      { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--light-border); }
.case-stat-num   { font-size: 19px; font-weight: 700; color: var(--teal-dark); }
.case-stat-label { font-size: 14px; color: var(--text-muted); margin-top: 3px; line-height: 1.45; }

@media (max-width: 900px) {
  /* Tablet nav: hamburger replaces the link menu, but the "Talk to our team"
     button stays in the header (Notion-style). CTA only moves into the panel
     at true mobile (640px). */
  .nav-menu      { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta-btn   { display: inline-block; margin-left: auto; }
  .two-col, .two-col-3-2 { grid-template-columns: 1fr; gap: 32px; }
  .three-col   { grid-template-columns: 1fr 1fr; }
  .four-col    { grid-template-columns: 1fr 1fr; }
  .awards-grid { grid-template-columns: 1fr 1fr; }
  .hero-h1     { font-size: 36px; }
  .blog-featured { grid-template-columns: 1fr; }
  .process-row-4 { grid-template-columns: 1fr; }
  .process-connector { display: none; }
  .footer-inner  { grid-template-columns: 1fr 1fr; }
  .stat-bar-4  { grid-template-columns: 1fr 1fr; }
  .stat-item   { padding: 28px 20px; }
  .stat-num    { font-size: 40px; }
  .form-row    { grid-template-columns: 1fr; }
  .int-hero-grid, .int-contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .founders-grid { grid-template-columns: 1fr 1fr; }
  .team-grid-5   { grid-template-columns: repeat(2, 1fr); }
  .team-grid-5 > div { grid-column: span 1 !important; }
  .post-layout { grid-template-columns: 1fr; gap: 36px; }
  .diff-grid   { grid-template-columns: 1fr; }
  .case-grid   { grid-template-columns: 1fr; }
  .hero-circuit { display: none; }
  .hero-lineart-bg { display: none; } /* decorative only; drop on tablet & below */
  .contact-circuit { display: none; }
  .hero-photo-fill { margin-right: 0; }
  .recog-grid  { grid-template-columns: 1fr; gap: 24px; }
  .recog-cards { grid-template-columns: repeat(2, 1fr); }
  .how-we-work-grid  { grid-template-columns: 1fr; gap: 32px; }
  .how-we-work-step  { padding: 0 !important; border-right: none !important; border-bottom: 1px solid var(--light-border); padding-bottom: 28px !important; }
  .how-we-work-step:last-child { border-bottom: none; padding-bottom: 0 !important; }
  .quotes-grid-3     { grid-template-columns: 1fr 1fr; }
  .about-story-grid  { grid-template-columns: 1fr; gap: 32px; }
  /* Option B: keep the two-column hero in the 650-900 range, just tighten the
     gap and let the image column shrink in place. Collapse + hide below 650. */
  .hero-two-col      { gap: 28px; }
}

/* Option B cutoff: below 650px the two-column hero collapses to a single column
   and the hero image is hidden (text-only on small screens). */
@media (max-width: 650px) {
  .hero-two-col      { grid-template-columns: 1fr; gap: 24px; }
  .hero-graphic-col  { display: none; }
}

@media (max-width: 640px) {
  :root { --section-pad: 48px 0; }
  .container    { padding: 0 20px; }
  .nav-logo-img { height: 26px; }
  .nav-cta-btn  { display: none; }
  .three-col    { grid-template-columns: 1fr; }
  .founders-grid { grid-template-columns: 1fr; }
  .team-grid-5   { grid-template-columns: 1fr; }
  /* Override inline grid-column spans on the 5-member team cards so they stack */
  .team-grid-5 > div { grid-column: 1 / -1 !important; }
  .four-col     { grid-template-columns: 1fr; }
  .awards-grid  { grid-template-columns: 1fr; }
  .stat-bar-4   { grid-template-columns: 1fr 1fr; }
  .stat-bar-3   { grid-template-columns: 1fr 1fr; }
  .stat-item    { padding: 22px 16px; }
  .stat-num     { font-size: 34px; }
  .stat-label, .stat-sub { font-size: 15px; }
  .diff-card-top { flex-wrap: wrap; gap: 18px; }
  .recog-cards  { grid-template-columns: 1fr; }
  .logo-bar-grid { gap: 28px; }
  .footer-inner { grid-template-columns: 1fr; }
  .page-hero .container { padding-top: 36px; padding-bottom: 36px; }
  .home-hero .container { padding-top: 48px; }
  .hero-h1      { font-size: 30px; }
  .page-hero h1 { font-size: 28px; }
  .news-item    { flex-direction: column; gap: 10px; }
  .news-item-type { width: auto; }
  .detail-source-bar { flex-direction: column; align-items: flex-start; }
  .how-we-work-grid  { grid-template-columns: 1fr; gap: 28px; }
  .quotes-grid-2, .quotes-grid-3 { grid-template-columns: 1fr; }
  .about-story-grid  { grid-template-columns: 1fr; gap: 28px; }
}

/* === MODEL TYPES (Technology page) === */
.model-type-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0 48px;
    align-items: start;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--light-border);
}
.model-type-row:last-of-type {
    border-bottom: none;
    margin-bottom: 56px;
}
/* Normal: graphic left (rows 1-2), content top-right, examples bottom-right */
.model-type-row--normal .model-type-graphic  { grid-column: 1; grid-row: 1 / 3; align-self: center; }
.model-type-row--normal .model-type-content  { grid-column: 2; grid-row: 1; }
.model-type-row--normal .model-type-examples { grid-column: 2; grid-row: 2; margin-top: 18px; }
/* Reverse: content top-left, examples bottom-left, graphic right (rows 1-2) */
.model-type-row--reverse .model-type-graphic  { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.model-type-row--reverse .model-type-content  { grid-column: 1; grid-row: 1; }
.model-type-row--reverse .model-type-examples { grid-column: 1; grid-row: 2; margin-top: 18px; }

.model-type-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}
.model-type-img {
    width: 100%;
    max-width: 570px;
    height: auto;
    display: block;
}
.model-type-img-placeholder {
    width: 100%;
    max-width: 320px;
    height: 180px;
    background: var(--light-border);
    border-radius: var(--radius);
}
.model-type-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--teal-dark);
    background: var(--teal-light);
    border-left: 3px solid var(--teal);
    padding: 3px 9px;
    margin-bottom: 12px;
}
.model-type-headline {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.25;
}
.model-type-body {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 0;
}
.model-type-examples {
    background: var(--off-white);
    border-left: 3px solid var(--teal);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 12px 16px;
}
.model-type-examples-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--teal-dark);
    margin-bottom: 5px;
}
.model-type-examples-text {
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .model-type-row,
    .model-type-row--reverse {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    /* Explicit mobile order: tag+headline+body (content), then graphic, then examples */
    .model-type-row .model-type-content,
    .model-type-row--reverse .model-type-content  { order: 1; }
    .model-type-row .model-type-graphic,
    .model-type-row--reverse .model-type-graphic  { order: 2; min-height: 160px; padding: 24px; }
    .model-type-row .model-type-examples,
    .model-type-row--reverse .model-type-examples { order: 3; margin-top: 0; }
}
@media (max-width: 480px) {
    .model-type-row { margin-bottom: 32px; padding-bottom: 32px; }
}

/* === 404 PAGE === */
.hero-two-col--404 {
    grid-template-columns: 3fr 2fr;
    align-items: center;
    min-height: 340px;
}
.fourohfour-text h1 {
    font-size: 32px;
    max-width: 520px;
}
.fourohfour-reasons {
    margin-top: 20px;
}
.fourohfour-reasons-label {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    margin-bottom: 8px;
}
.fourohfour-reasons-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}
.fourohfour-reasons-list li {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
}
.fourohfour-graphic-col {
    justify-content: flex-end;
}
.fourohfour-illustration {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
}
@media (max-width: 900px) {
    .hero-two-col--404 { grid-template-columns: 1fr; min-height: auto; }
    .fourohfour-graphic-col { justify-content: center; display: none; }
}

/* === UTILITIES === */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
