/*
 * SVT DESIGN TOKENS - single source of truth
 * See Website/Best Practices/Design/11_SVT_Component_System.md §1
 * NEVER edit token values without a version bump in that document.
 */
:root {
  /* --- 1.1 Colour --- */
  --c-navy:        #202F54;
  --c-navy-800:    #1a2646;
  --c-cyan:        #00B3DC;
  --c-cyan-600:    #0099BF;
  --c-yellow:      #FDBA12;
  --c-charcoal:    #1F2937;
  --c-slate:       #4A5568;
  --c-slate-400:   #8A93A6;
  --c-lightgrey:   #E5E7EB;
  --c-offwhite:    #F7F9FC;
  --c-white:       #FFFFFF;

  --c-onNavy:        rgba(255, 255, 255, 0.94);
  --c-onNavy-muted:  rgba(199, 220, 232, 0.85);
  --c-onNavy-line:   rgba(0, 179, 220, 0.42);
  --c-scrim-strong:  rgba(32, 47, 84, 0.94);
  --c-scrim-weak:    rgba(32, 47, 84, 0.20);

  /* --- 1.2 Typography --- */
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system,
               "Helvetica Neue", Arial, sans-serif;
  --font-feat: "cv02" 1, "cv03" 1, "cv04" 1, "cv11" 1;

  --t-h1:            clamp(34px, 4.4vw, 56px);
  --t-h1-inner:      clamp(30px, 3.6vw, 44px);
  --t-h2:            clamp(28px, 3vw, 38px);
  --t-h3:            21px;
  --t-h4:            17px;
  --t-display-word:  clamp(30px, 3.4vw, 44px);
  --t-lead:          19px;
  --t-body:          16px;
  --t-small:         14px;
  --t-source:        13px;
  --t-kicker:        12px;
  --t-signature:     14px;
  --t-tag:           13px;
  --t-btn:           15px;
  --t-mono:          14px;

  /* --- 1.3 Spacing --- */
  --s-1:  4px;
  --s-2:  8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* --- 1.4 Radii --- */
  --r-sm:   2px;
  --r-md:   6px;
  --r-lg:   8px;
  --r-pill: 999px;

  /* --- 1.5 Shadows --- */
  --sh-1: 0 1px 2px rgba(0, 0, 0, 0.03);
  --sh-2: 0 4px 14px rgba(32, 47, 84, 0.06);
  --sh-3: 0 10px 24px rgba(32, 47, 84, 0.10);
  --sh-focus: 0 0 0 3px rgba(0, 179, 220, 0.45);

  /* --- 1.6 Motion --- */
  --mo-fast:  160ms;
  --mo-mid:   240ms;
  --mo-slow:  520ms;
  --mo-ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --mo-ease-out:  cubic-bezier(0, 0, 0.2, 1);

  /* --- 1.8 Z-index --- */
  --z-base:  0;
  --z-photo: 1;
  --z-scrim: 2;
  --z-copy:  3;
  --z-nav:   50;

  /* --- 2.1 Container widths --- */
  --w-narrow:  760px;
  --w-default: 1120px;
  --w-wide:    1280px;
}

/* Compatibility aliases for existing mock CSS that references
   --navy / --cyan / --yellow / --white / --slate / --lightgrey directly.
   These stay in lockstep with the tokens above until the mock CSS is
   folded into STYLE_EXTENSIONS in a future refactor pass. */
:root {
  --navy:       var(--c-navy);
  --cyan:       var(--c-cyan);
  --yellow:     var(--c-yellow);
  --white:      var(--c-white);
  --slate:      var(--c-slate);
  --charcoal:   var(--c-charcoal);
  --lightgrey:  var(--c-lightgrey);
}
:root {
  /* Official SVT brand palette (logo + PowerPoint theme) */
  --navy: #202F54;       /* deep navy - nav, headings, dark sections */
  --cyan: #00B3DC;       /* brand cyan - backgrounds, large display, accents on dark */
  --cyan-text: #00738C;  /* AA-compliant deep cyan for body text/links on off-white bg (>=5:1) */
  --teal: #44BEAA;       /* brand teal - secondary accent, success */
  --gold: #FDBA12;       /* brand gold - logo corner square, highlights */
  --amber: #F0951C;      /* brand amber - warm callouts, stakes */
  --bg: #F8F9FA;         /* off-white background */
  --paleteal: #E7F8FB;   /* tint of brand cyan for section fills */
  --lightgrey: #E7E6E6;  /* brand light grey */
  --charcoal: #2D3436;   /* body text */
  --slate: #494F54;      /* brand slate - tagline, captions */
  --white: #ffffff;
  --copper: #F0951C;     /* legacy alias -> amber (kept so older rules resolve) */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--charcoal);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--cyan-text); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--navy); }

/* Accessibility: visible focus + skip link */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--copper); outline-offset: 2px; border-radius: 4px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--copper); color: #fff; padding: 10px 16px; border-radius: 0 0 6px 0; font-weight: 600;
}
.skip-link:focus { left: 0; text-decoration: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* NAV */
header.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy); color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 88px;
}
.brand { font-weight: 700; font-size: 19px; color: var(--white); letter-spacing: 0.2px; }
.brand span { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  color: var(--white); padding: 12px 14px; display: block; font-size: 15px; font-weight: 500;
  border-radius: 6px;
}
.nav-links > li > a:hover { background: rgba(255,255,255,0.1); text-decoration: none; }
.has-sub > a::after { content: " \25BE"; font-size: 11px; opacity: 0.8; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); min-width: 260px; border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18); padding: 8px 0; overflow: hidden;
}
/* Show on hover AND on keyboard focus AND when toggled open (mobile) */
.nav-links > li:hover .dropdown,
.nav-links > li:focus-within .dropdown,
.nav-links > li.open .dropdown { display: block; }
.dropdown a {
  display: block; padding: 10px 18px; color: var(--charcoal); font-size: 14px;
}
.dropdown a:hover { background: var(--paleteal); text-decoration: none; }

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none; background: transparent; border: 2px solid rgba(255,255,255,0.5);
  color: #fff; border-radius: 6px; padding: 8px 12px; font-size: 18px; cursor: pointer; line-height: 1;
}
.nav-cta {
  background: var(--cyan); color: var(--navy) !important; padding: 10px 18px !important;
  border-radius: 6px; font-weight: 700 !important; margin-left: 8px;
}
.nav-cta:hover { background: #33c4e4; text-decoration: none !important; }

/* HERO */
.hero {
  background: linear-gradient(135deg, #202F54 0%, #1c3a63 55%, #0d5e78 100%);
  color: var(--white); padding: 90px 0 80px;
}
.hero h1 { font-size: 44px; line-height: 1.15; font-weight: 700; max-width: 880px; }
.hero .sub { font-size: 19px; margin-top: 22px; max-width: 760px; color: #dfe6f0; }
.hero .cta-row { margin-top: 36px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.badge { margin-top: 30px; font-size: 13px; color: #aebbd0; letter-spacing: 0.3px; }

/* BUTTONS */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 7px; font-weight: 600; font-size: 16px;
  cursor: pointer; border: none;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: #2c3f6e; text-decoration: none; }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: #eef1f5; text-decoration: none; }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--cyan); }
.btn-outline:hover { background: var(--paleteal); text-decoration: none; }
.link-arrow { color: #bfe9e2; font-weight: 600; }

/* SECTIONS */
section.block { padding: 64px 0; }
section.block.alt { background: var(--white); }
section.block.dark { background: var(--navy); color: var(--white); }
section.block.dark h2 { color: var(--white); }
h2.section-title { font-size: 30px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.dark h2.section-title { color: var(--white); }
.lead { font-size: 18px; color: var(--slate); max-width: 820px; margin-bottom: 8px; }
.dark .lead { color: #c7d2e2; }
h3.sub-title { font-size: 21px; font-weight: 600; color: var(--navy); margin: 26px 0 8px; }

/* GRID + CARDS */
.grid { display: grid; gap: 22px; margin-top: 32px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border-radius: 10px; padding: 26px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}
.card.pale { background: var(--paleteal); }
.card h4 { color: var(--navy); font-size: 18px; margin-bottom: 8px; }
.card .num { font-size: 30px; font-weight: 700; color: var(--cyan-text); }
.card.dark-card { background: #24365c; color: #dfe6f0; }
.card.dark-card h4 { color: var(--white); }

/* STAT row */
.stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 28px; }
.stat .num { font-size: 34px; font-weight: 700; color: var(--cyan-text); }
.dark .stat .num { color: var(--cyan); }
.stat .lbl { font-size: 14px; color: var(--slate); max-width: 220px; }
.dark .stat .lbl { color: #c7d2e2; }

/* CALLOUT */
.callout {
  background: var(--paleteal); border-left: 5px solid var(--cyan);
  padding: 22px 26px; border-radius: 8px; margin-top: 26px; font-size: 18px; color: var(--navy);
}

/* TABLE */
table.svt { width: 100%; border-collapse: collapse; margin-top: 26px; background: var(--white); border-radius: 8px; overflow: hidden; }
table.svt th { background: var(--navy); color: var(--white); text-align: left; padding: 13px 16px; font-size: 14px; }
table.svt td { padding: 13px 16px; border-bottom: 1px solid #e6e9ee; font-size: 14px; vertical-align: top; }
table.svt tr:nth-child(even) td { background: #fafbfc; }
.tier-rec { border-top: 3px solid var(--cyan) !important; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 32px; }
.step .n { width: 42px; height: 42px; border-radius: 50%; background: var(--cyan); color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.step h4 { color: var(--navy); margin: 14px 0 6px; font-size: 19px; }

/* FORM */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy); font-size: 14px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #cdd4dd; border-radius: 6px; font-size: 15px; font-family: inherit;
}
.form-field textarea { min-height: 90px; resize: vertical; }

/* calculator output */
.calc-output { background: var(--navy); color: #fff; border-radius: 10px; padding: 28px; margin-top: 26px; display: none; }
.calc-output.show { display: block; }
.calc-cmp { display: flex; gap: 30px; flex-wrap: wrap; margin: 18px 0; }
.calc-cmp .box { flex: 1; min-width: 220px; }
.calc-cmp .box .k { font-size: 13px; color: #aebbd0; text-transform: uppercase; letter-spacing: 0.5px; }
.calc-cmp .box .v { font-size: 28px; font-weight: 700; margin-top: 6px; }
.calc-cmp .box .v.teal { color: #4fd0ee; }
.calc-cmp .box .v.amber { color: #f6b86a; }
.mode-toggle { display: flex; gap: 0; margin-top: 18px; border-radius: 8px; overflow: hidden; border: 1px solid var(--cyan); width: fit-content; }
.mode-toggle button { padding: 12px 24px; border: none; background: var(--white); color: var(--navy); cursor: pointer; font-weight: 600; font-size: 15px; }
.mode-toggle button.active { background: var(--cyan); color: var(--navy); }

/* tag */
.tag { display: inline-block; background: var(--paleteal); color: var(--navy); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; }

/* breadcrumb / page header */
.page-head { background: var(--navy); color: #fff; padding: 56px 0 48px; }
.page-head h1 { font-size: 36px; max-width: 820px; }
.page-head p { color: #c7d2e2; margin-top: 14px; max-width: 760px; font-size: 17px; }

/* FOOTER */
footer.site {
  background: #16223c; color: #aebbd0; padding: 48px 0 28px; margin-top: 0; font-size: 14px;
}
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
footer.site a { color: #c7d2e2; display: block; padding: 3px 0; }
footer.site h5 { color: #fff; margin-bottom: 10px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
footer.site .brandline { margin-top: 26px; padding-top: 18px; border-top: 1px solid #2a3a5c; font-size: 13px; }

.mock-banner {
  background: var(--gold); color: var(--navy); text-align: center; font-size: 13px; padding: 7px; font-weight: 600;
}
/* brand signature (tagline) - AA-compliant on light, bright cyan on dark */
.brand-signature { color: var(--cyan-text); font-weight: 600; letter-spacing: 0.3px; }
.hero .brand-signature, .dark .brand-signature, .page-head .brand-signature { color: var(--cyan); }
.tagline-decode { color: #c7d2e2; font-size: 15px; margin-top: 8px; }
.block:not(.dark) .tagline-decode { color: var(--slate); }
/* logo image sizing */
.brand-logo { height: 60px; width: auto; display: block; }
.hero-logo { height: 54px; width: auto; margin-bottom: 18px; }
.footer-logo { height: 44px; width: auto; margin-bottom: 14px; }
.powered-chip { display:inline-flex; align-items:center; gap:6px; font-size:12px; color:#c7d2e2; }
.block:not(.dark) .powered-chip { color: var(--slate); }

/* trust strip near CTAs (Rule D4) */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center;
  margin-top: 22px; font-size: 13px; color: #aebbd0;
}
.trust-strip span { white-space: nowrap; }
.trust-strip span::before { content: "\2713  "; color: var(--teal); }
.block:not(.dark) .trust-strip { color: var(--slate); }

/* source note under figures (Rules F1, F5) */
.source { font-size: 12px; color: var(--slate); margin-top: 6px; font-style: italic; }
.dark .source { color: #9fb0c9; }

/* stakes / success blocks on sub-pages (Rules A7, A8) */
.stakes-success { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.stakes-success .card h4 { color: var(--navy); }
.stakes .card { border-left: 4px solid var(--copper); }
.success .card { border-left: 4px solid var(--teal); }

@media (max-width: 860px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .steps, .stakes-success { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  footer.site .cols { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-inner { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; }
  .nav-links {
    display: none; flex-direction: column; align-items: stretch;
    width: 100%; margin-top: 12px; gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { position: static; width: 100%; }
  .nav-links > li > a { padding: 14px 10px; border-radius: 6px; }
  .dropdown {
    position: static; box-shadow: none; background: rgba(255,255,255,0.06);
    min-width: 0; border-radius: 6px; margin: 2px 0 6px;
  }
  .dropdown a { color: #dfe6f0; }
  .dropdown a:hover { background: rgba(255,255,255,0.12); }
  .nav-cta { margin-left: 0; text-align: center; }
}


/* ==========================================================================
   PHASE 6 - COMPONENT SYSTEM v1.0 IMPLEMENTATION
   Every rule references tokens from :root (see DESIGN_TOKENS above).
   Section numbering matches Website/Best Practices/Design/
   11_SVT_Component_System.md §3 Component Catalogue.
   ========================================================================== */

/* --- Global type + focus contract --- */
html { font-feature-settings: var(--font-feat); }
body { font-family: var(--font-sans); color: var(--c-charcoal); }
h1, h2, h3, h4, h5 { font-family: var(--font-sans); }

/* Focus contract (§1.7) - visible on keyboard, invisible on mouse. */
:focus { outline: none; }
:focus-visible {
  outline: none;
  box-shadow: var(--sh-focus);
  border-radius: var(--r-md);
  transition: box-shadow var(--mo-fast) var(--mo-ease);
}

/* Skip-link (§3.26) */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-white); color: var(--c-navy);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  font-weight: 600;
  z-index: 999;
}
.skip-link:focus, .skip-link:focus-visible {
  left: var(--s-4); top: var(--s-4);
  box-shadow: var(--sh-focus);
}

/* --- §3.04 Breadcrumbs --- */
.breadcrumbs { font-size: var(--t-small); color: var(--c-onNavy-muted); margin-bottom: var(--s-2); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-2); padding: 0; margin: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: "\203A"; margin-right: var(--s-2); color: var(--c-slate-400); }
.breadcrumbs a { color: inherit; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--c-white); }
.block:not(.dark) .breadcrumbs,
.block:not(.dark) .breadcrumbs a { color: var(--c-slate); }
.block:not(.dark) .breadcrumbs [aria-current="page"] { color: var(--c-navy); }

/* --- §3.02 Hero (photo-backed) --- */
.hero {
  position: relative; overflow: hidden;
  min-height: 580px;
  display: flex; align-items: center;
  padding: var(--s-9) 0;
  background: var(--c-navy);
  color: var(--c-white);
}
.hero .hero-photo { position: absolute; inset: 0; z-index: var(--z-photo); }
.hero .hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.hero .hero-scrim {
  position: absolute; inset: 0; z-index: var(--z-scrim);
  background:
    linear-gradient(90deg,
      var(--c-scrim-strong) 0%,
      rgba(32, 47, 84, 0.88) 32%,
      rgba(32, 47, 84, 0.68) 55%,
      rgba(32, 47, 84, 0.38) 80%,
      var(--c-scrim-weak) 100%),
    linear-gradient(180deg,
      rgba(32, 47, 84, 0.10) 0%,
      rgba(32, 47, 84, 0.35) 100%);
  pointer-events: none;
}
.hero .hero-copy { position: relative; z-index: var(--z-copy); max-width: 720px; }
.hero h1 {
  font-size: var(--t-h1);
  font-weight: 700; line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--c-white);
  margin: 0 0 var(--s-5);
  max-width: 720px;
}
.hero .sub {
  font-size: 18px; line-height: 1.55;
  color: var(--c-onNavy);
  max-width: 640px; margin: 0 0 var(--s-3);
}
.hero .tagline-decode {
  font-size: var(--t-small); line-height: 1.55;
  color: var(--c-onNavy-muted); font-style: italic;
  max-width: 620px; margin: 0 0 var(--s-6);
}
.hero .cta-row {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--s-4) var(--s-6); margin-top: var(--s-2);
}
.hero .badge {
  display: inline-block; margin-top: var(--s-7);
  padding: var(--s-2) var(--s-4);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--r-pill);
  font-size: var(--t-small); letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
}
@media (max-width: 860px) {
  .hero { min-height: 480px; padding: var(--s-8) 0; }
  .hero .hero-scrim {
    background: linear-gradient(180deg,
      rgba(32, 47, 84, 0.86) 0%,
      rgba(32, 47, 84, 0.76) 55%,
      rgba(32, 47, 84, 0.55) 100%);
  }
  .hero .sub { font-size: 17px; }
}

/* --- §3.21 Brand signature (protected phrase, Rule I6) --- */
.hero .brand-signature,
.page-head.has-photo .brand-signature {
  display: inline-block;
  color: var(--c-cyan);
  font-size: var(--t-signature);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0 0 var(--s-5);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--c-onNavy-line);
}
@media (max-width: 860px) {
  .hero .brand-signature { font-size: var(--t-kicker); letter-spacing: 0.20em; }
}

/* --- §3.03 Page-head (masthead) --- */
.page-head {
  position: relative; overflow: hidden;
  background: var(--c-navy); color: var(--c-white);
}
.page-head:not(.has-photo) {
  background:
    radial-gradient(circle at 92% 20%, rgba(0,179,220,0.14) 0%, rgba(0,179,220,0) 45%),
    var(--c-navy);
  padding: var(--s-7) 0;
}
.page-head.has-photo {
  min-height: 340px;
  display: flex; align-items: center;
  padding: var(--s-7) 0;
}
.page-head .hero-photo { position: absolute; inset: 0; z-index: var(--z-photo); }
.page-head .hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-head .hero-scrim {
  position: absolute; inset: 0; z-index: var(--z-scrim);
  background: linear-gradient(90deg,
    var(--c-scrim-strong) 0%,
    rgba(32, 47, 84, 0.84) 42%,
    rgba(32, 47, 84, 0.58) 75%,
    rgba(32, 47, 84, 0.38) 100%);
  pointer-events: none;
}
.page-head .hero-copy { position: relative; z-index: var(--z-copy); max-width: 800px; }
.page-head h1 {
  color: var(--c-white);
  font-size: var(--t-h1-inner);
  font-weight: 700; line-height: 1.14;
  letter-spacing: -0.005em;
  margin: 0 0 var(--s-3);
}
.page-head p {
  color: var(--c-onNavy);
  font-size: 17px; line-height: 1.55;
  max-width: 720px;
}
@media (max-width: 860px) {
  .page-head.has-photo { min-height: 260px; padding: var(--s-7) 0; }
  .page-head .hero-scrim {
    background: linear-gradient(180deg,
      rgba(32, 47, 84, 0.86) 0%,
      rgba(32, 47, 84, 0.72) 60%,
      rgba(32, 47, 84, 0.55) 100%);
  }
}

/* --- §3.10 Tag pills + status chips --- */
.page-head .tag,
.tag {
  display: inline-block;
  background: rgba(0, 179, 220, 0.18);
  color: var(--c-cyan);
  padding: var(--s-1) var(--s-3);
  border-radius: var(--r-pill);
  font-size: var(--t-tag); font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: var(--s-3);
}
.page-head.has-photo .tag { background: rgba(0, 179, 220, 0.28); }
.status-chip {
  display: inline-block;
  padding: var(--s-1) var(--s-3);
  border-radius: var(--r-pill);
  font-size: var(--t-small); font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.status-chip.status-published { background: rgba(0, 179, 220, 0.22); color: var(--c-cyan); }
.status-chip.status-draft { background: rgba(138, 147, 166, 0.22); color: var(--c-slate); }

/* --- §3.06 Section title + kicker rule --- */
h2.section-title {
  position: relative;
  padding-top: calc(var(--s-3) + var(--s-2));
  margin: 0 0 var(--s-5);
  font-size: var(--t-h2);
  font-weight: 700; line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--c-navy);
}
h2.section-title::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 44px; height: 3px;
  background: var(--c-cyan);
  border-radius: var(--r-sm);
}
.block.dark h2.section-title { color: var(--c-white); }
.container[style*="text-align:center"] h2.section-title { padding-top: var(--s-6); }
.container[style*="text-align:center"] h2.section-title::before {
  left: 50%; transform: translateX(-50%);
}

/* --- §3.07 Body text --- */
.block p { line-height: 1.65; max-width: 68ch; color: var(--c-charcoal); }
.block .lead {
  font-size: var(--t-lead); line-height: 1.55;
  max-width: 66ch; color: var(--c-charcoal);
  margin: 0 0 var(--s-4);
}
.block .source, .callout .source, p.source {
  font-size: var(--t-source); color: var(--c-slate); font-style: italic;
  letter-spacing: 0.02em; margin-top: var(--s-1);
}
.block.dark p { color: var(--c-onNavy); }
.block.dark .lead { color: var(--c-onNavy); }
.block.dark .source, .block.dark p.source { color: var(--c-onNavy-muted); }

/* Section rhythm (§2.2) */
.hero + .block, .page-head + .block { padding-top: var(--s-8); }
section.block { padding: var(--s-8) 0; }
section.block + section.block { padding-top: var(--s-7); }
section.block.dark { padding: var(--s-8) 0; }

/* Layout grids (§2.4) */
.grid.cols-3, .grid.cols-4, .grid.cols-2 { gap: var(--s-5); }

/* --- §3.09 Buttons (three-tier hierarchy) --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-size: var(--t-btn);
  font-weight: 600; letter-spacing: 0.01em; line-height: 1.2;
  min-height: 44px;
  border-radius: var(--r-md); text-decoration: none;
  cursor: pointer;
  transition: background var(--mo-fast) var(--mo-ease),
              color var(--mo-fast) var(--mo-ease),
              border-color var(--mo-fast) var(--mo-ease),
              box-shadow var(--mo-fast) var(--mo-ease);
}
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.4; cursor: not-allowed; }
.btn-primary {
  background: var(--c-cyan); color: var(--c-white);
  padding: 12px 22px; border: none;
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--c-cyan-600); color: var(--c-white);
}
.btn-outline {
  background: transparent; color: var(--c-navy);
  border: 1.5px solid var(--c-navy);
  padding: 10.5px 20.5px;
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--c-navy); color: var(--c-white);
}
.block.dark .btn-outline { color: var(--c-white); border-color: var(--c-onNavy); }
.block.dark .btn-outline:hover,
.block.dark .btn-outline:focus-visible {
  background: var(--c-white); color: var(--c-navy); border-color: var(--c-white);
}

/* --- §3.08 Links --- */
.link-arrow {
  color: var(--c-cyan); font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--mo-mid) var(--mo-ease),
              border-color var(--mo-mid) var(--mo-ease);
}
.link-arrow:hover, .link-arrow:focus-visible {
  color: var(--c-yellow); border-bottom-color: var(--c-yellow);
}
.link-muted { color: var(--c-slate-400); }
.block.dark .link-arrow { color: var(--c-cyan); }
.block.dark .link-arrow:hover,
.block.dark .link-arrow:focus-visible { color: var(--c-yellow); border-bottom-color: var(--c-yellow); }

/* --- §3.11 Cards --- */
.card { padding: var(--s-6) var(--s-5); border-radius: var(--r-lg); }
.card h4 { font-size: var(--t-h4); margin: 0 0 var(--s-3); letter-spacing: -0.005em; color: var(--c-navy); }
.card p  { font-size: var(--t-small); line-height: 1.6; margin: 0; color: var(--c-charcoal); }
.card.pale  { background: var(--c-offwhite); box-shadow: var(--sh-1); }
.card.white { background: var(--c-white); box-shadow: var(--sh-2); border: 1px solid var(--c-lightgrey); }
.card.dark-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--c-onNavy);
}
.card.dark-card p { color: var(--c-onNavy); }
.card.case-card {
  background: var(--c-white); box-shadow: var(--sh-2);
  border: 1px solid var(--c-lightgrey);
}
.card.tier-card {
  background: var(--c-white); box-shadow: var(--sh-2);
  border: 1px solid var(--c-lightgrey);
}
@media (max-width: 700px) { .card { padding: var(--s-5) var(--s-4); } }

/* --- §3.13 Stats --- */
.stat, .stat-value, .num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.stat .stat-number, .stat-number, .case-card .num,
.case-card .num-headline, .stat .num {
  color: var(--c-cyan); font-weight: 800;
  font-size: var(--t-display-word);
  line-height: 1.05; letter-spacing: -0.02em;
  display: block; margin-bottom: var(--s-1);
}
.stat .stat-label, .stat-label, .stat .lbl {
  color: var(--c-slate); font-size: var(--t-small); letter-spacing: 0.02em;
}

/* --- §3.23 Five-Ws editorial grid --- */
.five-ws {
  list-style: none; padding: 0; margin: var(--s-6) 0 var(--s-3);
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: var(--s-6) var(--s-5);
}
.five-ws > li {
  position: relative; padding-top: 44px;
  border-top: 1px solid var(--c-onNavy-line);
}
.five-ws .w-tag {
  position: absolute; top: 12px; left: 0;
  color: var(--c-cyan);
  font-size: 11px; font-weight: 700; letter-spacing: 0.28em;
  font-variant-numeric: tabular-nums;
}
.five-ws .w-heading {
  margin: 0 0 var(--s-3);
  color: var(--c-navy);
  font-size: var(--t-display-word);
  font-weight: 800; line-height: 1;
  letter-spacing: -0.02em;
}
.five-ws p {
  margin: 0; color: var(--c-slate);
  font-size: var(--t-small); line-height: 1.55;
  max-width: none;
}
.block.dark .five-ws > li { border-top-color: rgba(0, 179, 220, 0.55); }
.block.dark .five-ws .w-heading { color: var(--c-white); }
.block.dark .five-ws p { color: var(--c-onNavy-muted); }
@media (max-width: 960px) { .five-ws { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .five-ws { grid-template-columns: 1fr; } }

/* --- §3.12 Callouts --- */
.callout {
  background: var(--c-offwhite);
  border-left: 4px solid var(--c-yellow);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  color: var(--c-charcoal);
  margin: var(--s-5) 0;
}
.callout p { max-width: none; }
.callout .source { color: var(--c-slate); font-size: var(--t-source); margin-top: var(--s-2); }
.block.dark .callout {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--c-yellow);
  color: var(--c-onNavy);
}
.block.dark .callout .source { color: var(--c-onNavy-muted); }

/* --- §3.14 Lists --- */
.checklist { list-style: none; padding: 0; margin: var(--s-3) 0; }
.checklist li {
  position: relative; padding-left: var(--s-6); margin-bottom: var(--s-2);
  font-size: var(--t-body); line-height: 1.55;
}
.checklist li::before {
  content: "\2713";
  position: absolute; left: 0; top: 0;
  color: var(--c-cyan); font-weight: 700;
}
.numbered-steps { list-style: none; padding: 0; counter-reset: step; }
.numbered-steps li {
  counter-increment: step;
  padding-left: var(--s-8); position: relative;
  margin-bottom: var(--s-5);
  min-height: 40px;
}
.numbered-steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--c-cyan);
  color: var(--c-white);
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}

/* --- §3.15 Tables (editorial style) --- */
.content-table {
  width: 100%; border-collapse: collapse;
  margin: var(--s-5) 0;
  font-size: var(--t-body);
}
.content-table caption {
  text-align: left; font-weight: 600; color: var(--c-navy);
  padding-bottom: var(--s-3);
}
.content-table th {
  text-align: left; padding: var(--s-3) var(--s-4);
  font-size: var(--t-h4); color: var(--c-navy);
  border-bottom: 2px solid var(--c-cyan);
  font-weight: 700;
}
.content-table td {
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--c-lightgrey);
  color: var(--c-charcoal);
}
.content-table tbody tr:nth-child(odd) { background: var(--c-offwhite); }
.content-table tbody tr:nth-child(even) { background: var(--c-white); }
.content-table tbody tr:hover { background: rgba(0, 179, 220, 0.06); }
.content-table td.num-col, .content-table th.num-col {
  text-align: right; font-variant-numeric: tabular-nums;
}
.content-table-wrap { overflow-x: auto; }
@media (max-width: 700px) {
  .content-table-wrap {
    box-shadow:
      inset 8px 0 8px -8px rgba(0,0,0,0.10),
      inset -8px 0 8px -8px rgba(0,0,0,0.10);
  }
}

/* --- §3.16 Quotes --- */
blockquote, .pull-quote {
  margin: var(--s-6) 0;
  padding-left: var(--s-5);
  border-left: 3px solid var(--c-cyan);
  color: var(--c-charcoal);
}
blockquote p, .pull-quote p {
  font-size: var(--t-lead); line-height: 1.55;
  font-style: italic; margin: 0 0 var(--s-2);
  max-width: 60ch;
}
blockquote cite, .pull-quote cite {
  font-size: var(--t-small); color: var(--c-slate);
  font-style: normal; letter-spacing: 0.02em;
}
.block.dark blockquote, .block.dark .pull-quote {
  color: var(--c-onNavy); border-left-color: var(--c-cyan);
}
.block.dark blockquote cite, .block.dark .pull-quote cite { color: var(--c-onNavy-muted); }

/* --- §3.17 Forms (label-above-input) --- */
.form-field { margin-bottom: var(--s-5); }
.form-field label {
  display: block; margin-bottom: var(--s-2);
  font-size: var(--t-btn); font-weight: 600;
  color: var(--c-navy);
}
.form-field .req { color: var(--c-cyan); margin-left: 4px; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%; box-sizing: border-box;
  border: 1.5px solid var(--c-lightgrey);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: var(--t-body); line-height: 1.5;
  background: var(--c-white); color: var(--c-charcoal);
  transition: border-color var(--mo-fast) var(--mo-ease),
              box-shadow var(--mo-fast) var(--mo-ease);
}
.form-field input:focus-visible,
.form-field textarea:focus-visible,
.form-field select:focus-visible {
  outline: none;
  border-color: var(--c-cyan);
  box-shadow: var(--sh-focus);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field .form-help {
  margin: var(--s-2) 0 0;
  font-size: var(--t-small); color: var(--c-slate);
}
.form-field.has-error input,
.form-field.has-error textarea,
.form-field.has-error select {
  border-color: var(--c-yellow);
}
.form-field .form-error {
  margin: var(--s-2) 0 0;
  font-size: var(--t-small); font-weight: 600; color: var(--c-charcoal);
  display: flex; align-items: center; gap: var(--s-2);
}
.form-field .form-error::before {
  content: "!";
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--c-yellow); color: var(--c-navy);
  font-weight: 800; font-size: 12px;
}
.form-row.cols-2 {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
@media (max-width: 700px) { .form-row.cols-2 { grid-template-columns: 1fr; } }
.honeypot {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0;
}

/* --- §3.18 FAQ (details/summary) --- */
.faq-list { display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-6); }
.faq-item {
  background: var(--c-white); border-radius: var(--r-lg); padding: 0;
  box-shadow: var(--sh-1);
  border: 1px solid var(--c-lightgrey);
}
.faq-item > summary {
  list-style: none; cursor: pointer;
  padding: var(--s-4) var(--s-5);
  font-size: var(--t-btn); font-weight: 600; color: var(--c-navy);
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--s-4);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+";
  color: var(--c-cyan); font-weight: 700;
  font-size: 20px; line-height: 1;
  transition: transform var(--mo-mid) var(--mo-ease);
}
.faq-item[open] > summary::after { content: "\2212"; }
.faq-item .faq-answer {
  padding: 0 var(--s-5) var(--s-5);
  font-size: var(--t-body); line-height: 1.65; color: var(--c-charcoal);
}
.faq-item .faq-answer p { max-width: 68ch; }

/* --- §3.19 Definition blocks --- */
.definitions { margin: var(--s-5) 0; }
.definitions dt {
  font-size: var(--t-h4); font-weight: 600; color: var(--c-navy);
  margin-top: var(--s-5);
}
.definitions dd {
  margin: var(--s-2) 0 var(--s-5) var(--s-4);
  color: var(--c-charcoal); font-size: var(--t-body); line-height: 1.65;
  max-width: 68ch;
}
.definitions .dt-anchor {
  color: var(--c-cyan); text-decoration: none;
  margin-left: var(--s-2); opacity: 0;
  transition: opacity var(--mo-fast) var(--mo-ease);
}
.definitions dt:hover .dt-anchor,
.definitions dt:focus-within .dt-anchor { opacity: 1; }

/* --- §3.20 Media (figure/figcaption) --- */
figure { margin: var(--s-6) 0; }
figure img, figure picture { display: block; width: 100%; height: auto; }
figcaption {
  margin-top: var(--s-3);
  font-size: var(--t-small); color: var(--c-slate);
  font-style: italic; line-height: 1.55;
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: var(--s-2);
}
figcaption .source {
  font-size: var(--t-source); color: var(--c-slate);
  font-style: italic; letter-spacing: 0.02em;
  margin-left: auto;
}
@media (max-width: 700px) {
  figcaption { flex-direction: column; }
  figcaption .source { margin-left: 0; }
}

/* --- §3.22 Trust strip --- */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5);
  font-size: var(--t-small); color: var(--c-slate);
  margin: var(--s-5) 0;
}
.trust-strip span { display: inline-flex; align-items: center; white-space: nowrap; }
/* Override mock's checkmark-before rule; we use pipe separators instead. */
.trust-strip span::before { content: none; }
.trust-strip span + span::before {
  content: "|"; margin-right: var(--s-5); color: var(--c-slate-400);
}
.block.dark .trust-strip { color: var(--c-onNavy-muted); }
.block.dark .trust-strip span + span::before { color: var(--c-onNavy-line); }

/* --- §3.24 Final CTA (dark band inherits from primary button, quiet override) --- */
.block.dark .btn-primary { background: var(--c-cyan); }
.block.dark .btn-primary:hover { background: var(--c-cyan-600); }

/* --- §3.01 / §3.25 SVG logos in nav / footer (Rules M5, M6, R2) ---
   Design intent: the nav wordmark is the brand's ambient identity and,
   for a challenger brand still building recognition, warrants MORE
   presence than the typical <=60px monochrome mark. We use the brand-
   colour SVG (cyan wordmark + yellow accent) at 88px tall - about 47%
   larger than the mock's original 60px monochrome and materially more
   distinctive against the navy nav band. Cyan-on-navy contrast
   comfortably clears WCAG AA. Nav padding scales with the logo so the
   band stays proportionate; mobile breakpoints step down so the mark
   stays balanced against the hamburger toggle. */
.brand-logo, .footer-logo { display: block; width: auto; }
.brand-logo  { height: 88px; }
.footer-logo { height: 68px; max-width: 260px; }
/* Nav padding: give the taller wordmark breathing room on desktop. */
.nav .nav-inner { padding-block: 10px; }
@media (max-width: 860px) {
  .brand-logo { height: 68px; }
  .nav .nav-inner { padding-block: 8px; }
}
@media (max-width: 500px) { .brand-logo { height: 56px; } }

/* Prevent CLS on any un-dimensioned inline images (Rule M6 defensive) */
img { max-width: 100%; height: auto; }

/* --- §3.27 Reveal-on-scroll --- */
.will-reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity var(--mo-slow) var(--mo-ease-out),
              transform var(--mo-slow) var(--mo-ease-out);
  will-change: opacity, transform;
}
.will-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .will-reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ==========================================================================
   SVT launch polish — case-study library + contact
   ========================================================================== */
.eyebrow {
  margin: 0 0 var(--s-2);
  color: var(--c-cyan-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.block.dark .eyebrow { color: var(--c-cyan); }

.case-library-hero .hero-copy { max-width: 760px; }
.case-library-intro { border-bottom: 1px solid var(--c-lightgrey); }
.case-intro-grid {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1.4fr);
  gap: var(--s-8);
  align-items: end;
}
.case-intro-grid .lead { margin: 0; max-width: 58ch; }

.case-library-section {
  position: relative;
  border-bottom: 1px solid rgba(32,47,84,.08);
}
.case-library-section:nth-of-type(even) { background: var(--c-white); }
.case-section-head { max-width: 760px; margin-bottom: var(--s-5); }
.case-library-grid { align-items: stretch; }

.case-card-live {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 30px;
  border: 1px solid rgba(32,47,84,.10);
  box-shadow: 0 10px 30px rgba(32,47,84,.07);
  transition: box-shadow var(--mo-mid) var(--mo-ease), border-color var(--mo-mid) var(--mo-ease), background var(--mo-mid) var(--mo-ease);
}
.case-card-live:hover,
.case-card-live:focus-within {
  border-color: rgba(0,179,220,.42);
  box-shadow: 0 16px 42px rgba(32,47,84,.12);
  background: #fff;
}
.case-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-3);
  min-height: 36px;
}
.case-card-top .tag { margin-bottom: 0; }
.case-card-arrow {
  color: var(--c-cyan-600);
  font-size: 22px;
  line-height: 1;
}
.case-card-live .num {
  margin: var(--s-6) 0 var(--s-3);
  font-size: clamp(28px, 3vw, 40px);
}
.case-card-live h3 {
  color: var(--c-navy);
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -.01em;
  margin: 0 0 var(--s-3);
}
.case-card-live .case-summary {
  flex: 1;
  max-width: none;
  color: var(--c-slate);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: var(--s-5);
}
.case-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--c-cyan-600);
  font-weight: 700;
  text-decoration: none;
}
.case-card-link:hover,
.case-card-link:focus-visible { color: var(--c-navy); text-decoration: none; }

.case-final-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-7);
}
.case-final-cta > div { max-width: 700px; }
.case-final-cta .lead { margin-bottom: 0; }

.case-note-layout {
  display: grid;
  grid-template-columns: minmax(220px,.7fr) minmax(0,1.3fr);
  gap: var(--s-8);
  align-items: start;
}
.case-note-metric {
  margin: 0;
  color: var(--c-cyan-600) !important;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  max-width: 9ch !important;
}
.case-note-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

.contact-hero .hero-copy { max-width: 760px; }
.contact-primary { background: linear-gradient(180deg, #fff 0%, var(--c-offwhite) 100%); }
.contact-shell {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(300px,.75fr);
  gap: var(--s-6);
  align-items: stretch;
}
.contact-card,
.contact-expectation {
  border-radius: 14px;
  border: 1px solid rgba(32,47,84,.10);
  box-shadow: 0 14px 38px rgba(32,47,84,.08);
}
.contact-card {
  background: var(--c-white);
  padding: clamp(30px, 5vw, 54px);
}
.contact-card h2 {
  color: var(--c-navy);
  font-size: clamp(30px,3vw,42px);
  line-height: 1.12;
  margin: 0 0 var(--s-4);
}
.contact-card > p { max-width: 58ch; }
.contact-email-btn { margin-top: var(--s-5); }
.contact-address { margin-top: var(--s-3); font-size: 14px; }
.contact-expectation {
  background: var(--c-navy);
  color: var(--c-white);
  padding: clamp(28px,4vw,42px);
}
.contact-expectation .eyebrow { color: var(--c-cyan); }
.contact-prompt-list {
  list-style: none;
  padding: 0;
  margin: var(--s-5) 0;
}
.contact-prompt-list li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: var(--c-onNavy);
}
.contact-prompt-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--c-cyan);
  font-size: 20px;
  line-height: 1;
  top: 15px;
}
.contact-note {
  color: var(--c-onNavy-muted) !important;
  font-size: 14px;
  line-height: 1.6;
}

.nav-links > li > a[aria-current="page"] {
  background: rgba(255,255,255,.11);
}
.card a:not(.btn) { font-weight: 600; }

@media (max-width: 860px) {
  .case-intro-grid,
  .case-note-layout,
  .contact-shell {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }
  .case-final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .case-card-live { padding: 24px; }
}


/* ==========================================================================
   SVT BANK-QUALITY REFINEMENT v1
   Institutional visual system: calm, evidence-led, accessible, consistent.
   ========================================================================== */

:root {
  --c-cyan-600: #00738C;
  --w-default: 1180px;
  --r-md: 6px;
  --r-lg: 8px;
  --sh-1: 0 1px 2px rgba(20, 34, 58, 0.025);
  --sh-2: 0 2px 8px rgba(20, 34, 58, 0.045);
  --sh-3: 0 6px 18px rgba(20, 34, 58, 0.07);
}

html { scroll-padding-top: 88px; }
body {
  background: var(--c-white);
  color: var(--c-charcoal);
  font-size: 16px;
  line-height: 1.65;
}
.container {
  max-width: var(--w-default);
  padding-inline: 30px;
}
p { max-width: 68ch; }
a { color: var(--c-cyan-600); }
a:hover { color: var(--c-navy); }

/* Institutional header */
header.nav {
  background: var(--c-navy);
  box-shadow: none;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.nav-inner {
  max-width: 1240px;
  min-height: 76px;
  height: 76px;
  padding: 0 30px !important;
}
.brand-logo {
  height: 58px;
  width: auto;
}
.nav-links { gap: 2px; }
.nav-links > li > a {
  padding: 11px 12px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.90);
}
.nav-links > li > a:hover,
.nav-links > li > a:focus-visible {
  background: rgba(255,255,255,.07);
  color: var(--c-white);
  text-decoration: none;
}
.nav-links > li > a[aria-current="page"] {
  background: transparent;
  color: var(--c-white);
  box-shadow: inset 0 -2px 0 var(--c-cyan);
  border-radius: 0;
}
.nav-cta {
  margin-left: 8px;
  background: var(--c-cyan) !important;
  color: var(--c-navy) !important;
  font-weight: 700 !important;
  padding-inline: 16px !important;
  box-shadow: none !important;
}
.nav-cta:hover,
.nav-cta:focus-visible {
  background: #35C3E3 !important;
  color: var(--c-navy) !important;
}
.dropdown {
  border: 1px solid var(--c-lightgrey);
  box-shadow: var(--sh-3);
  border-radius: var(--r-lg);
}
.dropdown a { color: var(--c-charcoal); }
.dropdown a:hover, .dropdown a:focus-visible {
  background: var(--c-offwhite);
  color: var(--c-navy);
}

/* Type hierarchy */
.hero h1 {
  font-size: clamp(42px, 5vw, 58px);
  line-height: 1.07;
  letter-spacing: -0.025em;
  font-weight: 650;
  max-width: 790px;
}
.page-head h1 {
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.10;
  letter-spacing: -0.02em;
  font-weight: 650;
}
h2.section-title {
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: -0.018em;
  padding-top: 0;
  margin-bottom: var(--s-5);
}
h2.section-title::before { display: none; }
h3 { font-weight: 650; }
.lead, .block .lead {
  font-size: 18px;
  line-height: 1.6;
}
.eyebrow {
  color: var(--c-cyan-600);
  font-size: 12px;
  letter-spacing: .12em;
}
.source { font-size: 13px; }

/* Hero */
.hero {
  min-height: 560px;
  padding: 88px 0 84px;
}
.hero .hero-copy { max-width: 800px; }
.hero .sub {
  max-width: 680px;
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: var(--s-5);
}
.hero .brand-signature,
.page-head.has-photo .brand-signature {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: var(--s-4);
  letter-spacing: .16em;
  font-size: 12px;
}
.hero .tagline-decode { display: none; }
.hero .badge {
  margin-top: var(--s-6);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}
.hero .hero-scrim {
  background:
    linear-gradient(90deg,
      rgba(24, 37, 68, .97) 0%,
      rgba(32, 47, 84, .92) 38%,
      rgba(32, 47, 84, .70) 66%,
      rgba(32, 47, 84, .32) 100%),
    linear-gradient(180deg, rgba(32,47,84,.06), rgba(32,47,84,.28));
}
.page-head.has-photo {
  min-height: 340px;
}
.page-head .hero-scrim {
  background: linear-gradient(90deg,
    rgba(24,37,68,.97) 0%,
    rgba(32,47,84,.88) 48%,
    rgba(32,47,84,.50) 100%);
}

/* Accessible action hierarchy */
.btn {
  min-height: 46px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 650;
  box-shadow: none;
}
.btn-primary,
.block.dark .btn-primary {
  background: var(--c-cyan);
  color: var(--c-navy);
  padding: 13px 22px;
}
.btn-primary:hover,
.btn-primary:focus-visible,
.block.dark .btn-primary:hover,
.block.dark .btn-primary:focus-visible {
  background: #35C3E3;
  color: var(--c-navy);
}
.btn-outline {
  color: var(--c-navy);
  border: 1px solid rgba(32,47,84,.45);
  background: transparent;
}
.btn-outline:hover,
.btn-outline:focus-visible {
  color: var(--c-white);
  background: var(--c-navy);
  border-color: var(--c-navy);
}
.link-arrow,
.case-card-link {
  color: var(--c-cyan-600);
  font-weight: 650;
}
.link-arrow:hover,
.link-arrow:focus-visible,
.case-card-link:hover,
.case-card-link:focus-visible {
  color: var(--c-navy);
  border-bottom-color: currentColor;
}
.hero .link-arrow,
.block.dark .link-arrow {
  color: #7EDBF0;
}
.hero .link-arrow:hover,
.hero .link-arrow:focus-visible,
.block.dark .link-arrow:hover,
.block.dark .link-arrow:focus-visible {
  color: var(--c-white);
  border-bottom-color: rgba(255,255,255,.65);
}

/* Section rhythm */
.hero + .block, .page-head + .block { padding-top: 84px; }
section.block,
section.block.dark {
  padding: 84px 0;
}
section.block + section.block { padding-top: 84px; }
section.block.alt { background: var(--c-offwhite); }
.section-intro { max-width: 760px; margin-bottom: var(--s-6); }

/* Cards are objects, not decoration */
.card,
.card.pale,
.card.white,
.card.case-card,
.card.tier-card,
.case-card-live,
.contact-card,
.contact-expectation {
  border-radius: var(--r-lg);
  box-shadow: none;
}
.card {
  border: 1px solid rgba(32,47,84,.12);
  padding: 28px;
}
.card.pale { background: var(--c-offwhite); }
.card p {
  font-size: 15px;
  line-height: 1.65;
}
.card h4 { font-size: 18px; }
.case-card-live {
  border: 1px solid rgba(32,47,84,.14);
  box-shadow: none;
}
.case-card-live:hover,
.case-card-live:focus-within {
  border-color: rgba(0,115,140,.45);
  box-shadow: var(--sh-2);
  background: var(--c-white);
}
.case-card-live .case-summary { font-size: 15px; }
.card.dark-card {
  background: transparent;
  border: 1px solid rgba(255,255,255,.16);
}

/* Proof strip */
.proof-band {
  padding: 0 !important;
  background: var(--c-offwhite);
  border-bottom: 1px solid rgba(32,47,84,.10);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.proof-item {
  padding: 30px 28px;
  border-right: 1px solid rgba(32,47,84,.10);
}
.proof-item:first-child { padding-left: 0; }
.proof-item:last-child { border-right: 0; padding-right: 0; }
.proof-value {
  display: block;
  color: var(--c-navy);
  font-size: 25px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 7px;
}
.proof-label {
  color: var(--c-slate);
  font-size: 13px;
  line-height: 1.45;
}

/* Signature Five Ws */
.five-ws {
  margin-top: var(--s-7);
  gap: 0;
  border-top: 1px solid rgba(32,47,84,.16);
  border-bottom: 1px solid rgba(32,47,84,.16);
}
.five-ws > li {
  padding: 26px 22px 30px;
  border-top: 0;
  border-right: 1px solid rgba(32,47,84,.12);
}
.five-ws > li:first-child { padding-left: 0; }
.five-ws > li:last-child { border-right: 0; }
.five-ws .w-tag {
  position: static;
  display: block;
  margin-bottom: 20px;
  color: var(--c-cyan-600);
}
.five-ws .w-heading {
  font-size: clamp(28px,3vw,38px);
  font-weight: 650;
}
.five-ws p { font-size: 15px; }

/* Deliberate evidence cards */
.evidence-grid { margin-top: var(--s-7); }
.evidence-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.evidence-card .tag { width: fit-content; }
.evidence-card .num {
  margin: var(--s-5) 0 var(--s-3);
  font-size: clamp(32px,3.2vw,44px);
  color: var(--c-navy);
}
.evidence-card h3 {
  color: var(--c-navy);
  font-size: 19px;
  line-height: 1.4;
  margin-bottom: var(--s-3);
}
.evidence-card p { flex: 1; color: var(--c-slate); }
.evidence-card a { margin-top: var(--s-5); width: fit-content; }

/* Process: editorial rather than card-heavy */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  margin-top: var(--s-7);
  border-top: 1px solid rgba(32,47,84,.16);
}
.process-step {
  padding: 30px 30px 0 0;
  margin-right: 30px;
  border-right: 1px solid rgba(32,47,84,.12);
}
.process-step:last-child { border-right: 0; margin-right: 0; }
.process-number {
  display: block;
  color: var(--c-cyan-600);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: var(--s-4);
}
.process-step h3 {
  color: var(--c-navy);
  font-size: 22px;
  margin-bottom: var(--s-3);
}
.process-step p { color: var(--c-slate); font-size: 15px; }

/* Audience links */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: var(--s-5);
  margin-top: var(--s-6);
}
.audience-link {
  display: block;
  min-height: 100%;
  padding: 24px 0 0;
  border-top: 2px solid rgba(32,47,84,.18);
  color: var(--c-navy);
  text-decoration: none;
}
.audience-link:hover,
.audience-link:focus-visible {
  border-top-color: var(--c-cyan-600);
  color: var(--c-navy);
  text-decoration: none;
}
.audience-link strong {
  display: block;
  font-size: 17px;
  margin-bottom: 8px;
}
.audience-link span {
  display: block;
  color: var(--c-slate);
  font-size: 14px;
  line-height: 1.55;
}

/* Assurance band */
.assurance-band { background: var(--c-navy); }
.assurance-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(300px,.8fr);
  gap: 72px;
  align-items: center;
}
.assurance-band h2,
.assurance-band p { color: var(--c-white); }
.assurance-band .lead { color: var(--c-onNavy); }
.assurance-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.assurance-list li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  color: var(--c-onNavy);
  font-size: 14px;
}
.assurance-list li:first-child { border-top: 1px solid rgba(255,255,255,.14); }

/* Stats as aligned institutional grid */
.stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  margin-top: var(--s-7);
  border-top: 1px solid rgba(32,47,84,.12);
  border-bottom: 1px solid rgba(32,47,84,.12);
}
.stat {
  padding: 26px 22px;
  border-right: 1px solid rgba(32,47,84,.10);
}
.stat:last-child { border-right: 0; }
.stat .num { color: var(--c-navy); font-size: 30px; }
.stat .lbl { max-width: none; font-size: 13px; line-height: 1.5; }

/* FAQ */
.faq-list { gap: 0; border-top: 1px solid rgba(32,47,84,.14); }
.faq-item {
  border: 0;
  border-bottom: 1px solid rgba(32,47,84,.14);
  border-radius: 0;
  box-shadow: none;
}
.faq-item > summary { padding: 20px 0; }
.faq-item .faq-answer { padding: 0 0 24px; max-width: 72ch; }

/* Final CTA */
.final-cta {
  text-align: left;
}
.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-7);
}
.final-cta-copy { max-width: 720px; }
.final-cta .section-title { margin-bottom: var(--s-3); }
.final-cta .lead { margin: 0; }

/* Footer */
footer.site {
  background: #17223B;
  padding: 56px 0 28px;
  font-size: 14px;
}
footer.site .cols {
  grid-template-columns: minmax(280px,2fr) 1fr 1fr 1fr;
  gap: 48px;
}
footer.site a {
  color: rgba(255,255,255,.72);
  padding: 5px 0;
}
footer.site a:hover,
footer.site a:focus-visible {
  color: var(--c-white);
  text-decoration: none;
}
footer.site h5 {
  font-size: 12px;
  letter-spacing: .10em;
  margin-bottom: 14px;
  color: rgba(255,255,255,.92);
}
.footer-logo { height: 56px; max-width: 240px; }
footer.site .brandline {
  color: rgba(255,255,255,.52);
  border-top-color: rgba(255,255,255,.10);
  margin-top: 40px;
  padding-top: 22px;
}

/* Contact */
.contact-primary { background: var(--c-offwhite); }
.contact-card,
.contact-expectation {
  border: 1px solid rgba(32,47,84,.12);
  box-shadow: none;
}

/* No decorative entrance motion. */
.will-reveal,
.will-reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Tablet */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-inner {
    height: auto;
    min-height: 72px;
    flex-wrap: wrap;
    padding: 6px 24px !important;
  }
  .brand-logo { height: 56px; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 6px 0 10px;
    gap: 0;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,.10);
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; position: static; }
  .nav-links > li > a {
    padding: 12px 4px;
    border-radius: 0;
  }
  .nav-links > li > a[aria-current="page"] {
    box-shadow: none;
    color: #7EDBF0;
  }
  .nav-cta {
    margin: 8px 0 0 !important;
    text-align: center;
    border-radius: var(--r-md) !important;
  }
  .dropdown { display: none !important; }

  .grid.cols-3,
  .grid.cols-4 {
    grid-template-columns: repeat(2,1fr);
  }
  .grid.cols-2 { grid-template-columns: repeat(2,1fr); }

  .proof-grid { grid-template-columns: repeat(2,1fr); }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(n+3) { border-top: 1px solid rgba(32,47,84,.10); }
  .proof-item:first-child,
  .proof-item:nth-child(3) { padding-left: 0; }

  .five-ws {
    grid-template-columns: repeat(6,1fr);
  }
  .five-ws > li {
    grid-column: span 2;
    border-right: 1px solid rgba(32,47,84,.12);
    border-bottom: 1px solid rgba(32,47,84,.12);
    padding-left: 20px;
  }
  .five-ws > li:nth-child(3) { border-right: 0; }
  .five-ws > li:nth-child(4) { grid-column: 2 / span 2; border-bottom: 0; }
  .five-ws > li:nth-child(5) { grid-column: 4 / span 2; border-right: 0; border-bottom: 0; }

  .process-grid { grid-template-columns: 1fr; }
  .process-step {
    margin: 0;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(32,47,84,.12);
  }
  .process-step:last-child { border-bottom: 0; }
  .audience-grid { grid-template-columns: repeat(2,1fr); }
  .assurance-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(32,47,84,.10); }
  footer.site .cols { grid-template-columns: 1.5fr 1fr 1fr; }
  footer.site .cols > div:last-child { grid-column: 2 / 4; }
}

/* Mobile */
@media (max-width: 700px) {
  .container { padding-inline: 20px; }
  .hero {
    min-height: 500px;
    padding: 70px 0 64px;
  }
  .hero h1 { font-size: clamp(36px,11vw,46px); }
  .hero .sub { font-size: 17px; }
  .hero .hero-scrim {
    background: linear-gradient(180deg,
      rgba(24,37,68,.96) 0%,
      rgba(32,47,84,.88) 58%,
      rgba(32,47,84,.66) 100%);
  }
  .page-head.has-photo {
    min-height: 280px;
    padding: 58px 0;
  }
  section.block,
  section.block.dark,
  .hero + .block,
  .page-head + .block,
  section.block + section.block {
    padding-top: 58px;
    padding-bottom: 58px;
  }
  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4 {
    grid-template-columns: 1fr;
  }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item {
    padding: 20px 0;
    border-right: 0;
    border-top: 1px solid rgba(32,47,84,.10);
  }
  .proof-item:first-child { border-top: 0; }
  .five-ws { grid-template-columns: 1fr; }
  .five-ws > li,
  .five-ws > li:nth-child(4),
  .five-ws > li:nth-child(5) {
    grid-column: 1;
    border-right: 0;
    border-bottom: 1px solid rgba(32,47,84,.12);
    padding: 22px 0;
  }
  .five-ws > li:last-child { border-bottom: 0; }
  .audience-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat {
    padding: 20px 0;
    border-right: 0;
    border-top: 1px solid rgba(32,47,84,.10);
  }
  .stat:first-child { border-top: 0; }
  .final-cta-inner,
  .case-final-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  footer.site .cols {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  footer.site .cols > div:last-child { grid-column: auto; }
}

/* Small mobile */
@media (max-width: 430px) {
  .hero .cta-row { align-items: stretch; }
  .hero .cta-row .btn { width: 100%; }
  .hero .cta-row .link-arrow { margin-top: 4px; }
}


/* ==========================================================================
   SVT DENSITY + SECTION CONTRAST REFINEMENT
   Tighter editorial rhythm and clearer section boundaries.
   ========================================================================== */

:root {
  --c-section-alt: #F2F5F8;
  --c-section-line: rgba(32, 47, 84, 0.11);
}

/* Distinguish content groups without creating heavy colour bands. */
section.block:not(.dark) {
  border-top: 1px solid var(--c-section-line);
}
.hero + section.block,
.page-head + section.block {
  border-top: 0;
}
section.block.alt {
  background: var(--c-section-alt);
  border-top-color: rgba(32, 47, 84, 0.13);
  border-bottom: 1px solid rgba(32, 47, 84, 0.08);
}

/* Reduce excess vertical travel while preserving institutional whitespace. */
section.block,
section.block.dark,
.hero + .block,
.page-head + .block,
section.block + section.block {
  padding-top: 64px;
  padding-bottom: 64px;
}
.proof-band {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.page-head.has-photo {
  min-height: 310px;
  padding-top: 42px;
  padding-bottom: 42px;
}

/* Tighten local vertical rhythm. */
h2.section-title {
  margin-bottom: 18px;
}
.section-intro {
  margin-bottom: 24px;
}
.grid {
  margin-top: 24px;
}
.card {
  padding: 24px;
}
.case-card-live {
  padding: 26px;
}
.stats {
  margin-top: 24px;
}
.stat {
  padding-top: 20px;
  padding-bottom: 20px;
}
.five-ws {
  margin-top: 32px;
}
.process-grid {
  margin-top: 32px;
}
.audience-grid {
  margin-top: 24px;
}
.faq-list {
  margin-top: 22px;
}
.numbered-steps li {
  margin-bottom: 18px;
}
.callout {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Slightly stronger surface definition on white sections. */
section.block:not(.alt):not(.dark) .card {
  border-color: rgba(32, 47, 84, 0.16);
}
section.block.alt .card {
  background: var(--c-white);
  border-color: rgba(32, 47, 84, 0.12);
}

/* About page benefits from a denser organization relationship section. */
#a-orgs + .grid,
section[aria-labelledby="a-orgs"] .grid {
  margin-top: 22px;
}
section[aria-labelledby="a-orgs"] .card {
  min-height: 100%;
}
section[aria-labelledby="a-orgs"] > .container > p:last-child {
  margin-top: 18px !important;
}

/* Keep final CTA visually distinct but not oversized. */
.final-cta,
section.block.dark[aria-label="Call to action"] {
  padding-top: 56px;
  padding-bottom: 56px;
}

/* Tablet */
@media (max-width: 960px) {
  section.block,
  section.block.dark,
  .hero + .block,
  .page-head + .block,
  section.block + section.block {
    padding-top: 54px;
    padding-bottom: 54px;
  }
  .page-head.has-photo {
    min-height: 280px;
    padding-top: 36px;
    padding-bottom: 36px;
  }
}

/* Mobile */
@media (max-width: 700px) {
  section.block,
  section.block.dark,
  .hero + .block,
  .page-head + .block,
  section.block + section.block {
    padding-top: 44px;
    padding-bottom: 44px;
  }
  .page-head.has-photo {
    min-height: 250px;
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .card,
  .case-card-live {
    padding: 20px;
  }
  h2.section-title {
    margin-bottom: 14px;
  }
  .section-intro {
    margin-bottom: 20px;
  }
  .grid,
  .stats,
  .audience-grid,
  .faq-list {
    margin-top: 20px;
  }
  .five-ws,
  .process-grid {
    margin-top: 24px;
  }
}


/* ==========================================================================
   SVT SHARED GRID ALIGNMENT
   Keep mastheads on the same left axis as body content; constrain text, not
   the container itself.
   ========================================================================== */

.hero .hero-copy,
.page-head .hero-copy,
.case-library-hero .hero-copy,
.contact-hero .hero-copy {
  width: 100%;
  max-width: var(--w-default);
}

/* Preserve readable text measure inside the full-width grid container. */
.page-head .hero-copy h1 {
  max-width: 820px;
}
.page-head .hero-copy > p:not(.tag):not(.brand-signature) {
  max-width: 760px;
}
.hero .hero-copy h1 {
  max-width: 790px;
}
.hero .hero-copy .sub {
  max-width: 680px;
}


/* Reused masthead photography: vary crop so shared imagery remains distinct. */
.page-head.hero-crop-left .hero-photo img  { object-position: 28% 50%; }
.page-head.hero-crop-right .hero-photo img { object-position: 74% 50%; }
.page-head.hero-crop-high .hero-photo img  { object-position: 50% 30%; }
.page-head.hero-crop-low .hero-photo img   { object-position: 50% 72%; }
.page-head.hero-crop-right-high .hero-photo img { object-position: 72% 32%; }
.page-head.hero-crop-left-low .hero-photo img   { object-position: 30% 68%; }


/* ==========================================================================
   SVT CASE STUDY LIBRARY + BROWSING
   Flat library; themes are descriptive tags, not sparse category pages.
   ========================================================================== */

.case-library-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 18px;
  color: var(--c-slate);
  font-size: 13px;
}
.case-library-meta strong {
  color: var(--c-navy);
  margin-right: 4px;
}
.case-library-meta span {
  position: relative;
}
.case-library-meta span::before {
  content: "•";
  margin-right: 16px;
  color: var(--c-slate-400);
}

.case-library-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}
.case-library-toolbar .section-title {
  margin-bottom: 0;
}
.case-library-contact {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 650;
  color: var(--c-cyan-600);
  padding-bottom: 4px;
}
.case-library-contact:hover,
.case-library-contact:focus-visible {
  color: var(--c-navy);
  text-decoration: none;
}

.case-library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.case-library-grid .case-card-live {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.case-library-grid .case-summary {
  flex: 1;
}
.case-library-grid .case-card-link {
  margin-top: 20px;
}

/* Persistent cross-case browsing on detail pages. */
.case-pagination-section {
  background: var(--c-offwhite);
  border-top: 1px solid var(--c-section-line);
  border-bottom: 1px solid var(--c-section-line);
  padding: 0;
}
.case-pagination {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
}
.case-nav-link,
.case-nav-all {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}
.case-nav-link {
  padding: 22px 0;
  color: var(--c-navy);
}
.case-nav-link.next {
  text-align: right;
  align-items: flex-end;
}
.case-nav-link .case-nav-label {
  color: var(--c-cyan-600);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.case-nav-link strong {
  max-width: 30ch;
  color: var(--c-navy);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 650;
}
.case-nav-link:hover,
.case-nav-link:focus-visible,
.case-nav-all:hover,
.case-nav-all:focus-visible {
  text-decoration: none;
}
.case-nav-link:hover strong,
.case-nav-link:focus-visible strong {
  color: var(--c-cyan-600);
}
.case-nav-all {
  align-items: center;
  min-width: 190px;
  margin: 0 30px;
  padding: 0 30px;
  border-left: 1px solid var(--c-section-line);
  border-right: 1px solid var(--c-section-line);
  color: var(--c-navy);
  font-size: 13px;
  font-weight: 700;
}
.case-nav-all:hover,
.case-nav-all:focus-visible {
  background: var(--c-white);
  color: var(--c-cyan-600);
}

@media (max-width: 800px) {
  .case-library-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .case-library-grid {
    grid-template-columns: 1fr;
  }
  .case-pagination {
    grid-template-columns: 1fr 1fr;
  }
  .case-nav-all {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 54px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--c-section-line);
  }
  .case-nav-link {
    min-height: 92px;
    padding: 18px 0;
  }
  .case-nav-link.prev {
    padding-right: 18px;
  }
  .case-nav-link.next {
    padding-left: 18px;
    border-left: 1px solid var(--c-section-line);
  }
}

@media (max-width: 520px) {
  .case-library-meta span::before {
    margin-right: 8px;
  }
  .case-library-meta {
    gap: 6px 8px;
  }
  .case-pagination {
    grid-template-columns: 1fr;
  }
  .case-nav-all {
    grid-column: 1;
  }
  .case-nav-link.next {
    border-left: 0;
    border-top: 1px solid var(--c-section-line);
    text-align: left;
    align-items: flex-start;
    padding-left: 0;
  }
}


/* ==========================================================================
   SVT TWENTY-CASE LIBRARY
   Featured landmark cases + flat browseable library.
   ========================================================================== */
.case-featured-grid .case-card-featured {
  border-top: 3px solid var(--c-cyan-600);
  background: var(--c-white);
}
.case-featured-grid .case-card-featured .num {
  font-size: clamp(34px, 3.4vw, 46px);
}
.case-featured-grid .case-card-featured h3 {
  font-size: 20px;
  line-height: 1.35;
}
@media (max-width: 960px) {
  .case-featured-grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }
  .case-featured-grid .case-card-featured:first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 700px) {
  .case-featured-grid {
    grid-template-columns: 1fr !important;
  }
  .case-featured-grid .case-card-featured:first-child {
    grid-column: auto;
  }
}


/* ==========================================================================
   SVT FULL-CARD CASE STUDY LINKS
   One destination per case card: preserve the visible text link while
   extending its interactive target across the complete card.
   ========================================================================== */

.case-card-live {
  cursor: pointer;
}

.case-card-live .case-card-link {
  position: relative;
  z-index: 1;
}

.case-card-live .case-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Make keyboard focus read as focus on the whole interactive card. */
.case-card-live:focus-within {
  outline: 3px solid rgba(0, 179, 220, .55);
  outline-offset: 3px;
}

/* Reinforce the click affordance without shifting the layout. */
.case-card-live:hover .case-card-link,
.case-card-live:focus-within .case-card-link,
.case-card-live:hover .case-card-arrow,
.case-card-live:focus-within .case-card-arrow {
  color: var(--c-navy);
}


/* ==========================================================================
   SVT CASE CARD VISUAL REDESIGN
   Editorial media, consistent iconography and tighter card rhythm.
   ========================================================================== */

.case-featured-section,
.case-library-section {
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}

.case-library-toolbar {
  margin-bottom: 22px;
}

.case-library-grid {
  gap: 20px;
}

.case-featured-grid {
  gap: 18px;
}

/* Card shell */
.case-card-live,
.case-featured-grid .case-card-featured {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(32, 47, 84, .13);
  border-radius: 8px;
  background: var(--c-white);
  box-shadow: 0 1px 2px rgba(20, 34, 58, .025);
  cursor: pointer;
}

.case-card-live:hover,
.case-card-live:focus-within,
.case-featured-grid .case-card-featured:hover,
.case-featured-grid .case-card-featured:focus-within {
  border-color: rgba(0, 115, 140, .38);
  box-shadow: 0 9px 24px rgba(20, 34, 58, .09);
  background: var(--c-white);
}

.case-card-live:focus-within {
  outline: 3px solid rgba(0, 179, 220, .45);
  outline-offset: 3px;
}

/* Media band */
.case-card-media {
  --case-photo: url("assets/photography/urban-times-square-1920.webp");
  position: relative;
  isolation: isolate;
  min-height: 132px;
  overflow: hidden;
  background-image: var(--case-photo);
  background-size: cover;
  background-position: center;
}

.case-card-featured .case-card-media {
  min-height: 166px;
}

.case-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(24, 37, 68, .92) 0%, rgba(32, 47, 84, .74) 52%, rgba(32, 47, 84, .34) 100%),
    linear-gradient(180deg, rgba(32,47,84,.04), rgba(32,47,84,.34));
}

/* Abstract clipped report-page fragment: suggests published evidence without
   relying on tiny unreadable cover thumbnails. */
.case-card-media::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 82px;
  height: 112px;
  top: -13px;
  right: 22px;
  border-radius: 2px;
  opacity: .82;
  transform: rotate(5deg);
  background:
    linear-gradient(#00B3DC, #00B3DC) 12px 14px / 22px 5px no-repeat,
    linear-gradient(rgba(32,47,84,.86), rgba(32,47,84,.86)) 12px 28px / 47px 3px no-repeat,
    linear-gradient(rgba(32,47,84,.30), rgba(32,47,84,.30)) 12px 40px / 57px 2px no-repeat,
    linear-gradient(rgba(32,47,84,.20), rgba(32,47,84,.20)) 12px 48px / 51px 2px no-repeat,
    linear-gradient(rgba(0,179,220,.15), rgba(0,179,220,.15)) 12px 65px / 57px 30px no-repeat,
    rgba(255,255,255,.94);
  box-shadow: 0 8px 20px rgba(11, 24, 47, .25);
}

.case-card-featured .case-card-media::after {
  width: 94px;
  height: 128px;
  right: 26px;
  top: -12px;
}

/* Reuse the site's photography with deliberate crops. */
.case-media--city { --case-photo: url("assets/photography/hero-vienna-crosswalk-1920.webp"); }
.case-media--times { --case-photo: url("assets/photography/urban-times-square-1920.webp"); }
.case-media--crosswalk { --case-photo: url("assets/photography/aerial-crosswalk-1920.webp"); }
.case-media--skyline { --case-photo: url("assets/photography/silhouettes-skyline-1920.webp"); }
.case-media--oculus { --case-photo: url("assets/photography/oculus-interior-1920.webp"); }
.case-media--walking { --case-photo: url("assets/photography/individual-walking-1920.webp"); }
.case-media--vienna { --case-photo: url("assets/photography/hero-vienna-crosswalk-1920.webp"); }

.case-media-pos--left { background-position: 28% 50%; }
.case-media-pos--center { background-position: 50% 50%; }
.case-media-pos--right { background-position: 74% 50%; }

.case-media-meta {
  position: absolute;
  z-index: 3;
  left: 16px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 118px);
}

.case-icon-badge {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 6px;
  color: var(--c-white);
  background: rgba(20, 34, 58, .56);
  backdrop-filter: blur(5px);
}

.case-icon-badge svg {
  width: 21px;
  height: 21px;
  display: block;
}

.case-media-tag,
.case-media-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
}

.case-media-tag {
  padding: 6px 10px;
  color: var(--c-white);
  background: rgba(20, 34, 58, .67);
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(5px);
}

.case-media-kicker {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 16px;
  min-height: 26px;
  padding: 5px 9px;
  color: var(--c-navy);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.70);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 10px;
}

/* Editorial body rhythm */
.case-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 18px;
}

.case-card-featured .case-card-content {
  padding: 22px 24px 20px;
}

.case-metric {
  margin: 0 0 11px;
}

.case-metric-label {
  display: block;
  margin-bottom: 3px;
  color: var(--c-slate);
  font-size: 10px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .10em;
}

.case-card-live .case-metric .num,
.case-featured-grid .case-card-featured .case-metric .num {
  margin: 0;
  color: var(--c-cyan-600);
  font-size: clamp(30px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
}

.case-featured-grid .case-card-featured .case-metric .num {
  font-size: clamp(34px, 3.5vw, 42px);
}

.case-card-live h3,
.case-featured-grid .case-card-featured h3 {
  margin: 0 0 9px;
  color: var(--c-navy);
  font-size: 19px;
  line-height: 1.30;
  letter-spacing: -.012em;
  font-weight: 650;
}

.case-featured-grid .case-card-featured h3 {
  font-size: 21px;
}

.case-card-live .case-summary,
.case-library-grid .case-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  flex: 1;
  margin: 0;
  color: var(--c-slate);
  font-size: 14px;
  line-height: 1.58;
}

.case-card-link,
.case-library-grid .case-card-link {
  position: static;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid rgba(32, 47, 84, .10);
  color: var(--c-cyan-600);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

/* Stretch the single semantic link over the full positioned card. */
.case-card-live .case-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
}

.case-card-live:hover .case-card-link,
.case-card-live:focus-within .case-card-link {
  color: var(--c-navy);
}

/* Keep visual layers below the stretched click target. */
.case-card-media,
.case-card-content {
  z-index: 0;
}

@media (max-width: 960px) {
  .case-featured-section,
  .case-library-section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
  .case-card-media {
    min-height: 124px;
  }
  .case-card-featured .case-card-media {
    min-height: 148px;
  }
}

@media (max-width: 700px) {
  .case-featured-section,
  .case-library-section {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }
  .case-library-grid,
  .case-featured-grid {
    gap: 16px;
  }
  .case-card-media,
  .case-card-featured .case-card-media {
    min-height: 132px;
  }
  .case-card-content,
  .case-card-featured .case-card-content {
    padding: 18px 18px 16px;
  }
  .case-card-media::after {
    width: 72px;
    height: 98px;
    right: 16px;
  }
  .case-media-meta {
    left: 14px;
    bottom: 12px;
    max-width: calc(100% - 100px);
  }
  .case-media-kicker {
    left: 14px;
    top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-card-live {
    transition: none;
  }
}


/* ==========================================================================
   SVT CASE CARD MEDIA DENSITY
   Keep visuals supportive; return emphasis to the evidence and title.
   ========================================================================== */

.case-card-media {
  min-height: 106px;
}

.case-card-featured .case-card-media {
  min-height: 132px;
}

.case-card-media::after {
  width: 64px;
  height: 88px;
  top: -10px;
  right: 18px;
  background:
    linear-gradient(#00B3DC, #00B3DC) 9px 11px / 18px 4px no-repeat,
    linear-gradient(rgba(32,47,84,.86), rgba(32,47,84,.86)) 9px 23px / 37px 3px no-repeat,
    linear-gradient(rgba(32,47,84,.30), rgba(32,47,84,.30)) 9px 33px / 44px 2px no-repeat,
    linear-gradient(rgba(32,47,84,.20), rgba(32,47,84,.20)) 9px 40px / 39px 2px no-repeat,
    linear-gradient(rgba(0,179,220,.15), rgba(0,179,220,.15)) 9px 53px / 44px 23px no-repeat,
    rgba(255,255,255,.94);
}

.case-card-featured .case-card-media::after {
  width: 74px;
  height: 101px;
  top: -9px;
  right: 20px;
}

.case-media-meta {
  left: 14px;
  bottom: 11px;
  gap: 7px;
  max-width: calc(100% - 94px);
}

.case-icon-badge {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
}

.case-icon-badge svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
}

.case-media-tag {
  min-height: 28px;
  padding: 5px 9px;
  font-size: 11px;
}

.case-media-kicker {
  top: 11px;
  left: 14px;
}

@media (max-width: 960px) {
  .case-card-media {
    min-height: 102px;
  }
  .case-card-featured .case-card-media {
    min-height: 124px;
  }
}

@media (max-width: 700px) {
  .case-card-media,
  .case-card-featured .case-card-media {
    min-height: 104px;
  }
  .case-card-media::after,
  .case-card-featured .case-card-media::after {
    width: 60px;
    height: 82px;
    right: 14px;
    top: -8px;
  }
}


/* ==========================================================================
   SVT SELECTED DESIGN-REVIEW REFINEMENTS
   Adopt durable ideas from the prior communications/design review.
   ========================================================================== */

/* Case studies: metadata labels should be quiet; the actual values carry weight. */
.case-glance .stats,
.case-glance .grid.cols-4 {
  margin-top: 22px;
}
.case-glance .stat {
  min-width: 0;
  padding: 20px 20px 18px;
}
.case-glance .stat .num {
  margin: 0 0 8px;
  color: var(--c-slate);
  font-size: 10px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.case-glance .stat .lbl {
  max-width: none;
  color: var(--c-navy);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
}
.case-glance .stat .source {
  display: inline;
  margin-top: 2px;
  color: var(--c-slate);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;
  font-style: normal;
}

/* Both legacy and current comparison-table wrappers must contain wide content. */
.table-wrap,
.content-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-wrap .content-table,
.content-table-wrap .content-table {
  min-width: 680px;
}

/* Mobile institutional proof text should wrap rather than force page overflow. */
@media (max-width: 700px) {
  .trust-strip {
    max-width: 100%;
    gap: 8px 12px;
  }
  .trust-strip span {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
  .trust-strip span + span::before {
    content: none;
    margin: 0;
  }

  table.svt {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .case-glance .stat {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(32, 47, 84, .10);
  }
  .case-glance .stat:last-child {
    border-bottom: 0;
  }
}
