/* Bright Educational Consultant: homepage styles
   Tokens from 01-brand-kit/bright.tokens.css */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bright-identity-red: #FB0117;
  --bright-identity-green: #027928;
  --bright-identity-blue: #0072FF;
  --bright-identity-gold: #FCC501;
  --ink: #10243A;
  --muted: #526174;
  --paper: #F7F9FC;
  --white: #FFFFFF;
  --border: #DCE3EB;
  --action: #C90020;
  --action-hover: #A8001B;
  --link: #0057C2;
  --success: #176B3A;
  --warning: #8A4B00;
  --error: #B42318;
  --focus: #0057C2;
  --font: 'Inter', Arial, sans-serif;
  --font-deva: 'Noto Sans Devanagari', 'Nirmala UI', 'Mangal', sans-serif;
  --content-max: 80rem;
  --radius-control: .5rem;
  --radius-card: 1rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --shadow: 0 1px 2px rgba(16,36,58,.06), 0 8px 24px rgba(16,36,58,.08);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.125rem, 5.2vw, 3.75rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 750; letter-spacing: -.03em; }
h3 { font-size: 1.1875rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[lang="mr"], .deva { font-family: var(--font-deva); }

.wrap { width: 100%; max-width: var(--content-max); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--white); padding: .75rem 1rem; border-radius: var(--radius-control);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.identity-stripe { display: grid; grid-template-columns: 4fr 1fr 1fr 1fr; height: 4px; }
.identity-stripe span:nth-child(1) { background: var(--bright-identity-red); }
.identity-stripe span:nth-child(2) { background: var(--bright-identity-gold); }
.identity-stripe span:nth-child(3) { background: var(--bright-identity-blue); }
.identity-stripe span:nth-child(4) { background: var(--bright-identity-green); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .75rem 1.375rem;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  border-radius: var(--radius-control); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--action); color: var(--white); }
.btn-primary:hover { background: var(--action-hover); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--bright-identity-gold); }
.btn-sm { min-height: 2.75rem; padding: .5rem 1rem; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }

.text-link { font-weight: 650; text-decoration: none; color: var(--link); }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(10px); } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: flex; align-items: center; flex-shrink: 0; padding: .375rem 0; }
.brand-full { width: 300px; height: auto; }
.brand-compact { display: none; align-items: center; gap: .5rem; }
.brand-compact img:first-child { width: 40px; height: 40px; }
.brand-compact img:last-child { width: 118px; height: auto; }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav-list a:not(.btn) {
  display: block; padding: .625rem .75rem; color: var(--ink); text-decoration: none;
  font-weight: 550; font-size: .9375rem; border-radius: var(--radius-control);
}
.nav-list a:not(.btn):hover { background: var(--paper); color: var(--action); }
.nav-cta { margin-left: .5rem; }
.nav-toggle { display: none; }

@media (max-width: 68rem) {
  .brand-full { width: 280px; }
  .nav-list a:not(.btn) { padding-inline: .5rem; }
}
@media (max-width: 60rem) {
  .brand-full { display: none; }
  .brand-compact { display: flex; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .5rem;
    min-height: 2.75rem; padding: .5rem .875rem; font: inherit; font-weight: 600; font-size: .9375rem;
    background: var(--white); color: var(--ink); border: 1px solid var(--border); border-radius: var(--radius-control); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s ease;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .js .nav-list {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    padding: .5rem var(--gutter) 1.25rem;
  }
  .js .nav-list:not(.is-open) { display: none; }
  .nav-list a:not(.btn) { padding: .875rem .5rem; font-size: 1.0625rem; border-bottom: 1px solid var(--paper); }
  .nav-cta { margin: 1rem 0 0; }
  .nav-cta .btn { width: 100%; }
  /* No-JS fallback: wrap the links under the header */
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .nav-list { flex-wrap: wrap; }
}

/* Fields */
.field { display: grid; gap: .375rem; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field-label { font-weight: 600; font-size: .9375rem; }
.optional { font-weight: 400; color: var(--muted); }
.field-hint { margin: 0; font-size: .8125rem; color: var(--muted); }
.field-error { margin: 0; font-size: .875rem; font-weight: 600; color: var(--error); }
.field-error::before { content: '! '; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; min-height: 3rem; padding: .625rem .875rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid #8794A3; border-radius: var(--radius-control);
  transition: border-color .15s ease, box-shadow .15s ease;
}
select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2310243A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .875rem center;
}
textarea { min-height: 6rem; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--ink); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(0,87,194,.25); }
[aria-invalid="true"] { border-color: var(--error) !important; }

/* Sections */
.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p:last-child { color: var(--muted); font-size: 1.125rem; margin: 0; }
.section-kicker { font-size: .875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--action); margin-bottom: .75rem; }
.section-kicker--light { color: var(--bright-identity-gold); }
.section-cta { margin-top: clamp(2rem, 4vw, 2.75rem); }
.fine-print { font-size: .875rem; color: var(--muted); margin: 1.5rem 0 0; max-width: 46rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }

/* PraveshMitra */
.section--product { background: linear-gradient(180deg, #EEF4FC 0%, var(--paper) 100%); }
.pm-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.pm-icon { width: 88px; height: 88px; border-radius: 22px; box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.pm-copy > p { color: var(--muted); font-size: 1.125rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .625rem; }
.check-list li { position: relative; padding-left: 1.875rem; font-weight: 550; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.check-list--muted li { font-weight: 450; color: var(--muted); }
.btn-store { background: var(--ink); color: var(--white); padding: .625rem 1.25rem; }
.btn-store:hover { background: #000; }
.btn-store span { display: grid; text-align: left; line-height: 1.15; font-size: 1.0625rem; }
.btn-store small { font-size: .6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }

.pm-gallery { min-width: 0; }
.pm-track { list-style: none; margin: 0; padding: .5rem .25rem 1rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.pm-slide figure { margin: 0; }
.pm-slide img {
  width: 100%; max-width: 160px; margin-inline: auto; aspect-ratio: 540 / 1168; object-fit: cover;
  border-radius: 14px; box-shadow: 0 12px 30px rgba(16,36,58,.18); background: var(--ink);
}
.pm-slide figcaption { text-align: center; font-size: .875rem; font-weight: 600; margin-top: .875rem; }
.pm-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.pm-progress { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; min-width: 4rem; text-align: center; }
.icon-btn {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1.5px solid var(--ink); background: var(--white); color: var(--ink); font: inherit; font-size: 1.125rem; cursor: pointer;
}
.icon-btn:hover:not(:disabled) { background: var(--ink); color: var(--white); }
.icon-btn:disabled { opacity: .35; cursor: default; }

/* FAQ */
.faq-wrap { max-width: 52rem; }
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.25rem 3rem 1.25rem 0; font-weight: 650; font-size: 1.0625rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ''; position: absolute; right: .5rem; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list summary:hover { color: var(--action); }
.faq-list details p { color: var(--muted); padding-bottom: 1.25rem; margin: 0; max-width: 44rem; }

/* Enquiry */
.section--enquire { background: var(--paper); border-top: 1px solid var(--border); }
.enquire-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.enquire-intro > p { color: var(--muted); font-size: 1.125rem; margin-bottom: 1.75rem; }
.enquire-panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--shadow); }
.type-switch { border: 0; margin: 0 0 1.5rem; padding: 0; }
.type-switch legend { font-weight: 650; margin-bottom: .625rem; padding: 0; }
.segmented { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .375rem; background: var(--paper); border: 1px solid var(--border); border-radius: calc(var(--radius-control) + 4px); padding: 4px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span {
  display: grid; place-items: center; text-align: center; min-height: 2.75rem; padding: .375rem .5rem;
  border-radius: var(--radius-control); font-weight: 600; font-size: .9375rem; color: var(--muted); line-height: 1.2;
}
.segmented input:checked + span { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(16,36,58,.15); outline: 1.5px solid var(--ink); }
.segmented input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 1px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.125rem 1rem; }
.consent { margin: 1.5rem 0; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.consent-note { font-size: .9375rem; color: var(--muted); }
.check { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; cursor: pointer; font-size: .9375rem; }
.check input { width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; accent-color: var(--action); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error-summary { border: 2px solid var(--error); border-radius: var(--radius-control); padding: 1rem 1.25rem; margin-bottom: 1.5rem; background: #FEF3F2; }
.form-error-summary h3 { font-size: 1rem; color: var(--error); margin-bottom: .5rem; }
.form-error-summary ul { margin: 0; padding-left: 1.25rem; }
.form-error-summary a { color: var(--error); font-weight: 600; }

.form-result { border-radius: var(--radius-control); padding: 1.25rem 1.5rem; }
.form-result h3 { margin-bottom: .5rem; }
.form-result p:last-of-type { margin-bottom: .75rem; }
.form-result--success { background: #ECFDF3; border: 2px solid var(--success); }
.form-result--success h3 { color: var(--success); }
.form-result--error { background: #FFFAEB; border: 2px solid var(--warning); margin-top: 1.25rem; }
.form-result--error h3 { color: var(--warning); }

/* Footer */
.site-footer { background: #0B1A2B; color: rgba(255,255,255,.75); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { width: 280px; margin-bottom: 1rem; }
.footer-head { font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--white); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; display: inline-block; padding: .25rem 0; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--bright-identity-gold); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .875rem; }
.footer-base p { margin: 0; }
.footer-links { display: flex; gap: 1.5rem; }

/* Reveal (only when JS is on and motion allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, .identity-stripe, .pathway-selector, .section--enquire, .pm-controls { display: none !important; }
  body { font-size: 11pt; }
}

/* =====================================================================
   v2: graphic, multi-page components
   ===================================================================== */
.ic { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: -.25em; }
.ic-sm { width: 1em; height: 1em; vertical-align: -.15em; }
.ic-xl { width: 3rem; height: 3rem; }
.flip { transform: scaleX(-1); }
.h3 { font-size: 1.1875rem; font-weight: 700; letter-spacing: -.01em; }
.section-kicker { display: inline-flex; align-items: center; gap: .4rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-cta--center { text-align: center; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }

/* Eyebrow pill (replaces small emblem) */
.eyebrow {
  display: inline-flex; align-items: center; gap: .625rem;
  padding: .375rem .875rem .375rem .5rem; border-radius: 999px;
  background: var(--white); border: 1px solid var(--border); box-shadow: 0 1px 2px rgba(16,36,58,.06);
  font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 1.25rem;
}
.eyebrow-dots { display: inline-flex; gap: 3px; padding: 4px 6px; background: var(--ink); border-radius: 999px; }
.eyebrow-dots i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.eyebrow-dots i:nth-child(1) { background: var(--bright-identity-red); }
.eyebrow-dots i:nth-child(2) { background: var(--bright-identity-gold); }
.eyebrow-dots i:nth-child(3) { background: #3D93FF; }
.eyebrow-dots i:nth-child(4) { background: #23A04C; }
.eyebrow--light { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: var(--white); box-shadow: none; }
.eyebrow--light .eyebrow-dots { background: rgba(255,255,255,.12); }

/* Chips (icon tiles) */
.chip { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .875rem; flex-shrink: 0; }
.chip .ic { width: 1.375rem; height: 1.375rem; }
.chip--lg { width: 4rem; height: 4rem; border-radius: 1.25rem; }
.chip--lg .ic { width: 2rem; height: 2rem; }
.chip--blue { background: #E8F1FF; color: #0057C2; }
.chip--red { background: #FFEAEC; color: #C90020; }
.chip--green { background: #E6F4EA; color: #176B3A; }
.chip--gold { background: #FFF4C7; color: #7A4300; }
.chip--dark { background: rgba(255,255,255,.1); color: var(--bright-identity-gold); }

/* Scenes (illustrations) */
.scene { display: block; width: 100%; height: auto; }

/* Header: mega menu */
.has-mega { position: relative; }
.mega > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: .3rem;
  padding: .625rem .75rem; font-weight: 550; font-size: .9375rem; border-radius: var(--radius-control); color: var(--ink);
}
.mega > summary::-webkit-details-marker { display: none; }
.mega > summary:hover, .mega[open] > summary { background: var(--paper); color: var(--action); }
.mega[open] > summary .ic { transform: rotate(180deg); }
.mega[data-active] > summary { color: var(--action); }
.mega-panel {
  position: absolute; top: calc(100% + .5rem); left: -1rem; width: 34rem; z-index: 60;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: 0 20px 50px rgba(16,36,58,.18);
  padding: 1rem;
}
.mega-title { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: .25rem .5rem .75rem; }
.mega-panel ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.mega-item { display: flex !important; align-items: center; gap: .75rem; padding: .625rem !important; border-radius: .75rem; text-decoration: none; color: var(--ink) !important; }
.mega-item:hover { background: var(--paper) !important; }
.mega-item strong { display: block; font-size: .9375rem; }
.mega-item small { display: block; font-size: .8125rem; color: var(--muted); font-weight: 450; }
.nav-list a[aria-current="page"] { color: var(--action); }

@media (max-width: 60rem) {
  .has-mega { position: static; }
  .mega > summary { padding: .875rem .5rem; font-size: 1.0625rem; border-bottom: 1px solid var(--paper); justify-content: space-between; }
  .mega-panel { position: static; width: auto; box-shadow: none; border: 0; padding: .25rem 0 .5rem; }
  .mega-panel ul { grid-template-columns: 1fr; }
  .mega-title { display: none; }
  .mega-item { border-bottom: 0 !important; }
  .js .nav-list { max-height: calc(100vh - 5rem); overflow-y: auto; }
}

/* Home hero */
.hero {
  position: relative; overflow: hidden; padding-block: clamp(2rem, 5vw, 4rem);
  background: radial-gradient(50rem 30rem at 85% 10%, rgba(252,197,1,.14), transparent 60%), radial-gradient(40rem 30rem at 0% 100%, rgba(0,114,255,.07), transparent 60%), var(--white);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { max-width: 16ch; letter-spacing: -.03em; }
.lede { font-size: clamp(1.125rem, 1.8vw, 1.3125rem); color: var(--muted); max-width: 38rem; margin-bottom: 1.75rem; }
.quick-pick {
  display: flex; gap: .5rem; padding: .5rem; max-width: 34rem;
  background: var(--white); border: 1px solid var(--border); border-radius: 1rem; box-shadow: var(--shadow);
}
.quick-pick select { border: 0; min-height: 3.25rem; font-weight: 550; flex: 1; }
.quick-pick select:focus-visible { box-shadow: 0 0 0 3px rgba(0,87,194,.25); }
.quick-pick .btn { min-height: 3.25rem; }
.hero-points { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--muted); font-size: .9375rem; font-weight: 550; }
.hero-points li { display: flex; align-items: center; gap: .4rem; }
.hero-points .ic { color: var(--success); }
.hero-visual { position: relative; }
.hero-art { width: 100%; height: auto; display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Path cards */
.path-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.path-card { border-radius: 1.25rem; background: var(--white); border: 1px solid var(--border); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.path-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16,36,58,.14); border-color: #C5D0DC; }
.path-card:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.path-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.path-card-link:focus-visible { outline: none; }
.path-card-art { padding: .75rem .75rem 0; }
.path-card-art .scene { border-radius: 1rem; }
.path-card-body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.path-card-short { font-size: .8125rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: .375rem; }
.path-card-body h3 { font-size: 1.375rem; margin-bottom: .375rem; }
.path-card-body p:not(.path-card-short) { color: var(--muted); }
.path-card-cta { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--action); }
.path-card:hover .path-card-cta .ic { transform: translateX(4px); }
.path-card-cta .ic { transition: transform .2s ease; }

/* Engines band */
.section--engines { background: radial-gradient(40rem 30rem at 100% 0%, rgba(0,114,255,.25), transparent 60%), var(--ink); color: var(--white); }
.section--engines h2 { color: var(--white); }
.section--engines p { color: rgba(255,255,255,.78); font-size: 1.0625rem; }
.engines-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.engine-list { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.engine-list a { display: flex; align-items: flex-start; gap: .75rem; padding: 1rem; border-radius: 1rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: var(--white); text-decoration: none; height: 100%; transition: background .2s ease, border-color .2s ease; }
.engine-list a:hover { background: rgba(255,255,255,.1); border-color: rgba(252,197,1,.5); }
.engine-list strong { display: block; font-size: .9375rem; line-height: 1.3; }
.engine-list small { display: block; color: rgba(255,255,255,.68); font-size: .8125rem; margin-top: .25rem; line-height: 1.4; }
.eng-arrow { margin-left: auto; color: var(--bright-identity-gold); margin-top: .2rem; }
.section--engines :focus-visible { outline-color: var(--bright-identity-gold); }
.preview-card { background: var(--white); color: var(--ink); border-radius: 1.25rem; padding: 1rem; box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: rotate(1.5deg); }
.preview-top { display: flex; align-items: center; gap: .75rem; font-size: .8125rem; font-weight: 600; color: var(--muted); padding: .25rem .25rem .875rem; border-bottom: 1px solid var(--border); }
.preview-dots { display: flex; gap: 5px; }
.preview-dots i { width: 10px; height: 10px; border-radius: 50%; background: #E2E8F0; display: block; }
.preview-dots i:first-child { background: #FB0117; } .preview-dots i:nth-child(2) { background: #FCC501; } .preview-dots i:nth-child(3) { background: #23A04C; }
.preview-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.preview-list li { display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: center; padding: .75rem .25rem; border-bottom: 1px solid var(--paper); }
.pv-n { width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border-radius: 50%; background: var(--paper); font-weight: 700; font-size: .8125rem; }
.pv-c strong { display: block; font-size: .875rem; line-height: 1.3; }
.pv-c small { display: block; font-size: .75rem; color: var(--muted); }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .625rem .25rem .5rem; border-radius: 999px; font-size: .8125rem; font-weight: 700; white-space: nowrap; }
.badge--reach { background: #FFF4E5; color: #8A4B00; }
.badge--target { background: #E8F1FF; color: #0057C2; }
.badge--safer { background: #E6F4EA; color: #176B3A; }

/* Flow (home steps) */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; position: relative; }
.flow::before { content: ''; position: absolute; left: 8%; right: 8%; top: 2.5rem; border-top: 3px dashed #C9D4E0; }
.flow li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .625rem; }
.flow-ic { position: relative; display: grid; place-items: center; width: 5rem; height: 5rem; border-radius: 1.5rem; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow); color: var(--ink); }
.flow-ic .ic { width: 2rem; height: 2rem; }
.flow li:nth-child(1) .flow-ic { color: #C90020; } .flow li:nth-child(2) .flow-ic { color: #0057C2; } .flow li:nth-child(3) .flow-ic { color: #176B3A; }
.flow li:nth-child(4) .flow-ic { color: #7A4300; } .flow li:nth-child(5) .flow-ic { color: #0057C2; } .flow li:nth-child(6) .flow-ic { color: #C90020; }
.flow-n { position: absolute; top: -.5rem; left: calc(50% + 1.75rem); width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--action); color: #fff; font-weight: 700; font-size: .8125rem; display: grid; place-items: center; }
.flow strong { font-size: 1rem; }

/* Phones */
.phones { position: relative; height: 26rem; }
.phone { background: #0B1A2B; padding: 8px; border-radius: 26px; box-shadow: 0 24px 50px rgba(16,36,58,.3); width: 11.5rem; }
.phone img { width: 100%; border-radius: 18px; aspect-ratio: 540/1168; object-fit: cover; }
.phones .phone { position: absolute; top: 50%; left: 50%; }
.phone--front { transform: translate(-50%, -50%); z-index: 2; }
.phone--back { transform: translate(-125%, -46%) rotate(-8deg); opacity: .95; }
.phone--back2 { transform: translate(25%, -46%) rotate(8deg); opacity: .95; }
.pm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }

/* Heritage */
.section--heritage { background: linear-gradient(120deg, #FFF8DC 0%, #FFFFFF 55%); border-block: 1px solid var(--border); }
.heritage-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; max-width: 64rem; }
.heritage-art { position: relative; display: grid; place-items: center; width: clamp(160px, 20vw, 240px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(252,197,1,.25), transparent 70%); }
.heritage-art img { width: 85%; height: auto; }
.heritage-lede { font-size: clamp(1.125rem, 1.8vw, 1.3125rem); color: var(--muted); margin: 0; }

/* Grow cards */
.grow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.grow-card { display: grid; grid-template-columns: 12rem 1fr; gap: 1.5rem; align-items: center; padding: 1.25rem; border-radius: 1.25rem; background: var(--white); border: 1px solid var(--border); color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.grow-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.grow-card p { color: var(--muted); }
.grow-card--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.grow-card--dark p { color: rgba(255,255,255,.75); }
.grow-card--dark .path-card-cta { color: var(--bright-identity-gold); }

/* CTA band */
.cta-band { background: linear-gradient(110deg, #C90020 0%, #FB0117 60%, #FF4A3D 100%); color: var(--white); padding-block: clamp(2.5rem, 6vw, 4rem); position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -6rem; top: -6rem; width: 22rem; height: 22rem; border-radius: 50%; border: 40px solid rgba(255,255,255,.08); }
.cta-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 2rem; align-items: center; position: relative; z-index: 1; }
.cta-art { width: 5rem; height: 5rem; border-radius: 1.5rem; background: rgba(255,255,255,.15); display: grid; place-items: center; color: var(--bright-identity-gold); }
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: .25rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,.9); font-size: 1.0625rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-ghost-light { color: var(--white); border-color: rgba(255,255,255,.7); background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.cta-band :focus-visible { outline-color: var(--white); }

/* Page heroes */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem); background: radial-gradient(40rem 26rem at 90% 0%, rgba(252,197,1,.16), transparent 60%), var(--paper); border-bottom: 1px solid var(--border); }
.page-hero--compact { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.page-hero--dark { background: radial-gradient(40rem 26rem at 90% 0%, rgba(252,197,1,.2), transparent 60%), var(--ink); color: var(--white); border-bottom: 0; }
.page-hero--dark h1 { color: var(--white); }
.page-hero--dark .lede { color: rgba(255,255,255,.8); }
.page-hero--product { background: linear-gradient(180deg, #EEF4FC 0%, var(--paper) 100%); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-hero-art .scene { border-radius: 1.5rem; box-shadow: var(--shadow); }
.page-hero h1 { max-width: 20ch; }

/* Path page hero */
.path-hero { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem); }
.path-hero--blue { background: radial-gradient(50rem 30rem at 90% 0%, rgba(0,114,255,.14), transparent 60%), var(--paper); }
.path-hero--red { background: radial-gradient(50rem 30rem at 90% 0%, rgba(251,1,23,.10), transparent 60%), var(--paper); }
.path-hero--green { background: radial-gradient(50rem 30rem at 90% 0%, rgba(2,121,40,.12), transparent 60%), var(--paper); }
.path-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.path-hero-art .scene { border-radius: 1.5rem; box-shadow: 0 20px 50px rgba(16,36,58,.14); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .875rem; color: var(--muted); margin-bottom: 1.5rem; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.path-short { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .875rem; color: var(--action); margin-bottom: .5rem; }
.facts { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.facts li { display: flex; gap: .875rem; align-items: flex-start; padding: 1.125rem; border-radius: 1rem; background: var(--white); border: 1px solid var(--border); }
.fact-ic { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .75rem; background: var(--ink); color: var(--bright-identity-gold); flex-shrink: 0; }
.facts small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts strong { display: block; font-size: .9375rem; line-height: 1.35; margin-top: .125rem; }

/* Study grid */
.study-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.study-grid li { display: flex; gap: 1rem; padding: 1.25rem; border: 1px solid var(--border); border-radius: 1rem; transition: border-color .2s ease, box-shadow .2s ease; }
.study-grid li:hover { border-color: #B8C4D2; box-shadow: var(--shadow); }
.study-grid h3 { font-size: 1.0625rem; margin-bottom: .25rem; }
.study-grid p { margin: 0; color: var(--muted); font-size: .9375rem; }

/* Timeline */
.section--timeline { background: linear-gradient(180deg, var(--paper), var(--white)); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 1.125rem; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--bright-identity-red), var(--bright-identity-gold), var(--bright-identity-blue), var(--bright-identity-green)); }
.timeline li { position: relative; padding-top: 3rem; }
.timeline li::before { content: ''; position: absolute; top: .375rem; left: 0; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--white); border: 4px solid var(--ink); }
.tl-year { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--white); padding: .25rem .625rem; border-radius: 999px; margin-bottom: .625rem; }
.timeline h3 { margin-bottom: .375rem; }
.timeline p { color: var(--muted); margin: 0; font-size: .9375rem; }

/* Future map */
.future-map { display: grid; grid-template-columns: 13rem 1fr; gap: 2.5rem; align-items: center; }
.fut-root { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .625rem; padding: 1.75rem 1rem; border-radius: 1.5rem; background: var(--ink); color: var(--white); }
.fut-root .chip { background: var(--white); }
.fut-root strong { font-size: 1.125rem; }
.fut-root small { color: rgba(255,255,255,.7); }
.fut-root::after { content: ''; position: absolute; right: -2.5rem; top: 50%; width: 2.5rem; border-top: 3px dashed #B8C4D2; }
.fut-branches { list-style: none; margin: 0; padding: 0 0 0 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-left: 3px dashed #B8C4D2; }
.fut-node { position: relative; padding: 1.25rem; border-radius: 1rem; background: var(--white); border: 1px solid var(--border); box-shadow: 0 1px 2px rgba(16,36,58,.05); }
.fut-node::before { content: ''; position: absolute; left: -1.6rem; top: 1.75rem; width: 1.5rem; border-top: 3px dashed #B8C4D2; }
.fut-node:nth-child(2n)::before { display: none; }
.fut-ic { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .625rem; background: #FFF4C7; color: #7A4300; margin-bottom: .625rem; }
.fut-node h3 { font-size: 1.0625rem; margin-bottom: .5rem; }
.fut-node ul { margin: 0; padding-left: 1.125rem; color: var(--muted); font-size: .9375rem; display: grid; gap: .25rem; }

/* Grind */
.section--grind { background: var(--ink); color: var(--white); }
.section--grind h2 { color: var(--white); }
.section--grind .section-kicker { color: var(--bright-identity-gold); }
.grind-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.grind-summary > p:last-child { color: rgba(255,255,255,.8); }
.gauge-wrap { display: flex; align-items: center; gap: 1.25rem; margin: 1rem 0 1.25rem; }
.gauge { width: 11rem; height: auto; }
.gauge path:first-child { stroke: rgba(255,255,255,.12); }
.gauge line, .gauge circle { stroke: var(--white); fill: var(--white); }
.gauge-label strong { display: block; font-size: 1.75rem; letter-spacing: -.02em; }
.gauge-label span { color: rgba(255,255,255,.65); font-size: .875rem; }
.meters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.meters li { padding: 1.25rem; border-radius: 1rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.meter-top { display: flex; justify-content: space-between; font-weight: 650; margin-bottom: .625rem; }
.meter-val { color: var(--bright-identity-gold); font-variant-numeric: tabular-nums; }
.meter { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-bottom: .75rem; }
.meter i { height: 8px; border-radius: 4px; background: rgba(255,255,255,.14); }
.meter i.on { background: linear-gradient(90deg, var(--bright-identity-gold), #FF8A3D); }
.meters p { margin: 0; color: rgba(255,255,255,.72); font-size: .875rem; }

/* Charts */
.data-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.data-grid > div > p { color: var(--muted); }
.chart { margin: 0; background: var(--white); border: 1px solid var(--border); border-radius: 1.25rem; padding: 1.25rem 1.25rem 1rem; position: relative; }
.chart figcaption { display: grid; gap: .25rem; margin-bottom: 1rem; }
.chart figcaption span { font-size: .875rem; color: var(--muted); }
.chart-scroll { overflow-x: auto; }
.chart-svg { width: 100%; min-width: 30rem; height: auto; display: block; font-family: var(--font); }
.chart-svg .grid { stroke: #E6EBF1; stroke-width: 1; }
.chart-svg .tick { font-size: 11px; fill: var(--muted); }
.chart-svg .bar-label { font-size: 12.5px; fill: var(--ink); font-weight: 550; }
.chart-svg .bar-value { font-size: 12px; fill: var(--muted); font-weight: 600; }
.chart-svg .bar-mark { fill: #0072FF; }
.chart-svg .range-mark { fill: #9CC4FF; }
.chart-svg .range-median { fill: #0057C2; stroke: var(--white); stroke-width: 2; }
.chart-svg .bar { cursor: default; outline: none; }
.chart-svg .bar:hover .bar-mark, .chart-svg .bar:focus .bar-mark { fill: #0057C2; }
.chart-svg .bar:hover .range-mark, .chart-svg .bar:focus .range-mark { fill: #6AA8FF; }
.chart-svg .bar:focus .bar-hit { fill: rgba(0,87,194,.06); }
.chart-tip { position: absolute; z-index: 5; pointer-events: none; max-width: 18rem; padding: .5rem .75rem; border-radius: .5rem; background: var(--ink); color: var(--white); font-size: .8125rem; line-height: 1.4; box-shadow: var(--shadow); }
.chart-table { margin-top: .75rem; font-size: .875rem; }
.chart-table summary { cursor: pointer; color: var(--link); font-weight: 600; }
.chart-table table { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.chart-table th, .chart-table td { text-align: left; padding: .375rem .5rem; border-bottom: 1px solid var(--border); }

/* Sample list */
.section--sample { background: linear-gradient(180deg, #EEF4FC 0%, var(--white) 100%); }
.sample-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem; align-items: end; margin-bottom: 1.75rem; }
.sample-head p { color: var(--muted); margin: 0; }
.legend { display: grid; grid-template-columns: auto 1fr; gap: .5rem .75rem; align-items: center; padding: 1rem; border-radius: 1rem; background: var(--white); border: 1px solid var(--border); }
.legend small { color: var(--muted); font-size: .8125rem; line-height: 1.35; }
.sample-controls { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-bottom: 1.25rem; }
.chips-field { border: 0; margin: 0; padding: 0; }
.chips-field legend { font-weight: 650; font-size: .875rem; margin-bottom: .5rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .375rem; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .375rem .875rem; border-radius: 999px; border: 1.5px solid #B8C4D2; background: var(--white); font-weight: 600; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.chips input:hover + span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chips input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.sample-table-wrap { overflow-x: auto; border-radius: 1rem; border: 1px solid var(--border); background: var(--white); box-shadow: var(--shadow); }
.sample-table { width: 100%; border-collapse: collapse; min-width: 44rem; font-size: .9375rem; }
.sample-table th { text-align: left; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: .875rem 1rem; background: var(--paper); border-bottom: 1px solid var(--border); }
.sample-table td { padding: .875rem 1rem; border-bottom: 1px solid #EEF2F6; vertical-align: top; }
.sample-table tr:last-child td { border-bottom: 0; }
.sample-table tbody tr:hover { background: #FAFCFF; }
.sample-table .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
.sample-table td:first-child { color: var(--muted); }
.sample-table .sub { display: block; color: var(--muted); font-size: .8125rem; }
.sample-table .sub-strong { display: block; font-weight: 550; }
.sample-table .fee { display: block; font-size: .8125rem; color: var(--warning); font-weight: 600; }
.sample-table.is-updating tbody { opacity: .4; }
.sample-notes { margin: 1rem 0 0; padding-left: 1.125rem; color: var(--muted); font-size: .875rem; display: grid; gap: .25rem; }
.sample-cta { margin-top: 1.5rem; }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; counter-reset: p; }
.process li { position: relative; padding: 1.25rem 1rem; border-radius: 1rem; background: var(--white); border: 1px solid var(--border); }
.process li:not(:last-child)::after { content: ''; position: absolute; right: -.75rem; top: 2rem; width: .5rem; height: .5rem; border-top: 2px solid #9AA8B8; border-right: 2px solid #9AA8B8; transform: rotate(45deg); }
.proc-n { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--action); color: #fff; font-weight: 750; margin-bottom: .75rem; }
.process h3 { font-size: 1rem; margin-bottom: .25rem; }
.process p { margin: 0; font-size: .875rem; color: var(--muted); }

/* Other paths */
.other-paths { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.other-paths a { display: inline-flex; align-items: center; gap: .625rem; padding: .5rem 1rem .5rem .5rem; border-radius: 999px; border: 1px solid var(--border); text-decoration: none; color: var(--ink); font-weight: 600; }
.other-paths a:hover { border-color: var(--ink); }
.other-paths .chip { width: 2.25rem; height: 2.25rem; border-radius: 50%; }

/* How it works page */
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(2rem, 4vw, 3rem); }
.how-step { display: grid; grid-template-columns: 18rem 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.how-step:nth-child(2n) { grid-template-columns: 1fr 18rem; }
.how-step:nth-child(2n) .how-art { order: 2; }
.how-art .scene { border-radius: 1.25rem; }
.how-n { display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--action); margin-bottom: .5rem; }
.how-step h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.how-step p { color: var(--muted); font-size: 1.0625rem; max-width: 36rem; }
.resp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.resp-card { padding: 1.5rem; border-radius: 1rem; background: var(--white); border: 1px solid var(--border); }
.resp-card h3 { margin: .875rem 0 .5rem; }
.resp-card ul { margin: 0; padding-left: 1.125rem; color: var(--muted); display: grid; gap: .25rem; }

/* Features */
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature-grid li { padding: 1.5rem; border-radius: 1rem; border: 1px solid var(--border); background: var(--white); }
.feature-grid h3 { margin: .875rem 0 .375rem; }
.feature-grid p { margin: 0; color: var(--muted); }
.pm-gallery .pm-track { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.pm-gallery .phone { margin-inline: auto; width: 100%; max-width: 12rem; }
.pm-slide figcaption { text-align: center; font-size: .9375rem; font-weight: 600; margin-top: 1rem; }

/* Partners */
.partner-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.partner-cards li { padding: .75rem .75rem 1.5rem; border-radius: 1.25rem; border: 1px solid var(--border); }
.partner-cards .scene { border-radius: 1rem; margin-bottom: 1.25rem; }
.partner-cards h2, .partner-cards p { padding-inline: .75rem; }
.partner-cards p { color: var(--muted); margin: 0; }

/* Contact */
.contact-options { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1rem; }
.contact-options li { display: flex; gap: 1rem; padding: 1.25rem; border-radius: 1rem; background: var(--white); border: 1px solid var(--border); }
.contact-options h2 { margin-bottom: .25rem; }
.contact-options p { margin: 0; color: var(--muted); }

/* Responsive v2 */
@media (max-width: 64rem) {
  .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process li:nth-child(3n)::after { display: none; }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2rem; }
  .flow::before { display: none; }
  .engine-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .grow-card { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 56rem) {
  .hero-grid, .pm-grid, .split, .enquire-grid, .engines-grid, .page-hero-grid, .path-hero-grid, .grind-grid, .data-grid, .sample-head { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 30rem; margin-inline: auto; }
  .path-hero-art, .page-hero-art { max-width: 26rem; }
  .preview-card { transform: none; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .timeline::before { display: none; }
  .timeline li::before { display: none; }
  .timeline li { padding-top: 0; }
  .future-map { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .fut-root::after { display: none; }
  .fut-branches { border-left: 0; padding: 0; }
  .fut-node::before { display: none; }
  .resp-grid, .partner-cards { grid-template-columns: minmax(0, 1fr); }
  .how-step, .how-step:nth-child(2n) { grid-template-columns: minmax(0, 1fr); }
  .how-step:nth-child(2n) .how-art { order: 0; }
  .how-art { max-width: 22rem; }
  .grow-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  body { font-size: 1rem; }
  .path-grid, .facts, .meters, .fut-branches, .feature-grid, .timeline { grid-template-columns: minmax(0, 1fr); }
  .process { grid-template-columns: 1fr 1fr; }
  .process li::after { display: none; }
  .flow { grid-template-columns: 1fr 1fr; }
  .quick-pick { flex-direction: column; }
  .hero-actions .btn { flex: 1 1 100%; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-inner { grid-template-columns: minmax(0, 1fr); }
  .cta-art { display: none; }
  .heritage-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .segmented span { font-size: .8125rem; }
  .phones { height: 21rem; }
  .phone { width: 9.25rem; }
  .gauge-wrap { flex-direction: row; }
  .chips span { min-height: 2.75rem; }
  .js .pm-gallery .pm-track { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: 19%; }
  .js .pm-track::-webkit-scrollbar { display: none; }
  .js .pm-slide { scroll-snap-align: center; }
  .js .pm-controls[data-ready] { display: flex !important; }
  html:not(.js) .pm-gallery .pm-track { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 22.5rem) {
  .footer-grid, .flow, .process { grid-template-columns: 1fr; }
  .segmented { grid-template-columns: 1fr; }
}
.phones { overflow: hidden; } .section--product, .page-hero--product { overflow: hidden; }
.site-footer .btn-light { color: var(--ink); display: inline-flex; margin-top: .5rem; } .site-footer .btn-light:hover { color: var(--ink); text-decoration: none; }

/* HTML charts (responsive) */
.hc { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.hc .bar { display: grid; grid-template-columns: 12rem 1fr; gap: .75rem; align-items: center; padding: .375rem .25rem; border-radius: .5rem; outline: none; }
.hc .bar:hover, .hc .bar:focus-visible { background: #F3F7FC; }
.hc .bar:focus-visible { box-shadow: 0 0 0 2px var(--focus); }
.hc-label { font-size: .875rem; font-weight: 600; text-align: right; line-height: 1.25; }
.hc-track { position: relative; display: flex; align-items: center; gap: .5rem; height: 1.25rem; }
.hc-bar { display: block; height: 1rem; border-radius: 0 4px 4px 0; background: #0072FF; min-width: 4px; }
.hc .bar:hover .hc-bar, .hc .bar:focus-visible .hc-bar { background: #0057C2; }
.hc-val { font-size: .8125rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hc-track--range { display: block; background: linear-gradient(90deg, #EEF2F6, #EEF2F6) center / 100% 2px no-repeat; }
.hc-range { position: absolute; top: 50%; height: .625rem; margin-top: -.3125rem; border-radius: 999px; background: #9CC4FF; }
.hc-dot { position: absolute; top: 50%; width: .875rem; height: .875rem; margin: -.4375rem 0 0 -.4375rem; border-radius: 50%; background: #0057C2; box-shadow: 0 0 0 2px #fff; }
.hc-axis { display: grid; grid-template-columns: 12rem 1fr; gap: .75rem; margin-top: .5rem; padding: 0 .25rem; }
.hc-axis div { position: relative; height: 1.25rem; border-top: 1px solid var(--border); }
.hc-axis i { position: absolute; top: .25rem; transform: translateX(-50%); font-style: normal; font-size: .6875rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hc-axis i:first-child { transform: none; }
.hc-axis i:last-child { transform: translateX(-100%); }
@media (max-width: 40rem) {
  .hc .bar, .hc-axis { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .hc-label { text-align: left; }
  .hc-axis span { display: none; }
  .hc-axis i:nth-child(2n) { display: none; }
  /* Sample table becomes stacked cards */
  .sample-table-wrap { overflow: visible; border: 0; box-shadow: none; background: transparent; }
  .sample-table { min-width: 0; }
  .sample-table thead { display: none; }
  .sample-table, .sample-table tbody, .sample-table tr, .sample-table td { display: block; }
  .sample-table tr { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: 1rem; padding: .875rem 1rem; margin-bottom: .75rem; box-shadow: 0 1px 2px rgba(16,36,58,.05); }
  .sample-table td { padding: .125rem 0; border: 0; }
  .sample-table td[data-label="#"] { position: absolute; top: .875rem; right: 1rem; color: var(--muted); font-size: .8125rem; }
  .sample-table td[data-label="#"]::before { content: '#'; }
  .sample-table td[data-label="College"] { padding-right: 2rem; }
  .sample-table td[data-label="Course"] { color: var(--muted); font-size: .875rem; margin-bottom: .5rem; }
  .sample-table td[data-label="Type"], .sample-table td[data-label="Cutoff"], .sample-table td[data-label="Chance"] { display: inline-block; vertical-align: middle; margin-right: .75rem; }
  .sample-table td[data-label="Type"] .sub-strong, .sample-table td[data-label="Type"] .fee { display: inline; font-size: .8125rem; }
  .sample-table td[data-label="Type"] .fee { margin-left: .375rem; }
  .sample-table td[data-label="Cutoff"] { text-align: left; }
  .sample-table td[data-label="Cutoff"]::before { content: 'Cutoff '; font-weight: 500; color: var(--muted); font-size: .8125rem; }
  .eyebrow { letter-spacing: .03em; font-size: .75rem; }
}

/* v3: metrics, online counselling, more courses */
.big-stat { background: var(--ink); color: var(--white); padding-block: clamp(1.75rem, 4vw, 2.5rem); position: relative; overflow: hidden; }
.big-stat::before { content: ''; position: absolute; inset: 0; background: radial-gradient(30rem 14rem at 0% 50%, rgba(252,197,1,.18), transparent 70%); }
.big-stat-inner { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 2rem 3rem; align-items: center; }
.big-stat-main { display: flex; align-items: center; gap: 1.25rem; }
.big-stat-ic { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 1.25rem; background: var(--bright-identity-gold); color: var(--ink); flex-shrink: 0; }
.big-stat-ic .ic { width: 2.25rem; height: 2.25rem; }
.big-stat-main p { margin: 0; display: grid; }
.big-stat-main strong { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.big-stat-main span { color: rgba(255,255,255,.78); font-size: 1.0625rem; font-weight: 550; margin-top: .375rem; }
.big-stat-side { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.big-stat-side li { padding-left: 1rem; border-left: 2px solid rgba(255,255,255,.18); display: grid; }
.big-stat-side strong { font-size: 1.375rem; letter-spacing: -.02em; color: var(--bright-identity-gold); }
.big-stat-side span { color: rgba(255,255,255,.72); font-size: .875rem; }

.stat-banner { padding-block: 0 clamp(1.5rem, 3vw, 2rem); }
.stat-banner--blue { background: transparent; }
.stat-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding: 1.25rem 1.5rem; border-radius: 1.25rem; background: var(--ink); color: var(--white); box-shadow: 0 14px 34px rgba(16,36,58,.18); }
.stat-ic { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 1rem; background: var(--bright-identity-gold); color: var(--ink); }
.stat-ic .ic { width: 1.75rem; height: 1.75rem; }
.stat-main { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .875rem; flex: 1; min-width: 14rem; }
.stat-main strong { font-size: clamp(2rem, 4.5vw, 2.75rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat-main span { color: rgba(255,255,255,.82); font-size: 1.0625rem; font-weight: 550; max-width: 30rem; }
.stat-side { margin: 0; display: flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.6); font-size: .8125rem; }
/* place banner directly under the hero facts on the same tinted background */
.path-hero + .stat-banner { margin-top: -1px; }
.path-hero--blue + .stat-banner { background: var(--paper); }
.path-hero--red + .stat-banner, .path-hero--green + .stat-banner, .path-hero--gold + .stat-banner { background: var(--paper); }
.path-hero--gold { background: radial-gradient(50rem 30rem at 90% 0%, rgba(252,197,1,.2), transparent 60%), var(--paper); }

.section--online { background: linear-gradient(180deg, #F2FBF5 0%, #FFFFFF 100%); border-block: 1px solid var(--border); }
.online-chips { list-style: none; margin: 0 0 2.25rem; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.online-chips li { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .875rem; border-radius: 999px; background: var(--white); border: 1px solid var(--border); font-weight: 600; font-size: .9375rem; }
.online-chips .ic { color: var(--success); }
.online-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.15fr 1.15fr .9fr; gap: 1.5rem; align-items: start; }
.online-steps > li { position: relative; }
.online-steps h3 { margin: .5rem 0 .25rem; }
.online-steps p { margin: 0; color: var(--muted); font-size: .9375rem; }
.online-n { position: absolute; top: -.75rem; left: -.75rem; z-index: 2; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--action); color: #fff; font-weight: 750; box-shadow: 0 4px 10px rgba(201,0,32,.35); }
.browser { border-radius: .875rem; overflow: hidden; background: var(--white); border: 1px solid var(--border); box-shadow: 0 16px 36px rgba(16,36,58,.14); margin-bottom: 1rem; }
.browser-bar { display: flex; align-items: center; gap: 5px; padding: .5rem .75rem; background: #EEF2F6; border-bottom: 1px solid var(--border); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #CBD5E1; display: block; }
.browser-bar i:first-child { background: #FB6A6A; } .browser-bar i:nth-child(2) { background: #FCC501; } .browser-bar i:nth-child(3) { background: #3DC46A; }
.browser-bar span { margin-left: .5rem; font-size: .75rem; color: var(--muted); font-weight: 600; background: var(--white); padding: .125rem .625rem; border-radius: 999px; }
.browser img { width: 100%; height: auto; display: block; }
.meet { border-radius: .875rem; background: #202124; padding: .75rem; box-shadow: 0 16px 36px rgba(16,36,58,.2); margin-bottom: 1rem; }
.meet-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.meet-tile { aspect-ratio: 4 / 3.4; border-radius: .625rem; background: #3C4043; display: grid; place-items: center; align-content: center; gap: .375rem; color: #E8EAED; }
.meet-tile small { font-size: .75rem; }
.meet-av { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: #8AB4F8; color: #202124; }
.meet-tile--bright { background: linear-gradient(160deg, #2A3B52, #10243A); outline: 2px solid #8AB4F8; }
.meet-tile--bright img { width: 3.25rem; height: 3.25rem; }
.meet-bar { display: flex; justify-content: center; gap: .5rem; margin-top: .625rem; }
.meet-bar i { width: 2rem; height: 2rem; border-radius: 50%; background: #3C4043; display: block; }
.meet-bar i.end { width: 2.75rem; border-radius: 999px; background: #EA4335; }

.path-card--wide { grid-column: 1 / -1; }
.path-card--wide .path-card-link { flex-direction: row; align-items: center; }
.path-card--wide .path-card-art { width: 22rem; flex-shrink: 0; padding: .75rem; }
.path-card--wide .path-card-body { padding: 1.5rem 2rem; }
.study-grid--more .entry { margin-top: .5rem; font-size: .8125rem; font-weight: 600; color: var(--ink); display: flex; gap: .3rem; align-items: flex-start; }
.study-grid--more .entry .ic { margin-top: .1rem; color: var(--action); }

@media (max-width: 64rem) {
  .big-stat-inner { grid-template-columns: minmax(0, 1fr); }
  .online-steps { grid-template-columns: 1fr 1fr; }
  .online-steps > li:last-child { grid-column: 1 / -1; max-width: 26rem; justify-self: center; }
}
@media (max-width: 40rem) {
  .big-stat-side { grid-template-columns: minmax(0, 1fr); }
  .big-stat-main { align-items: flex-start; }
  .big-stat-ic { width: 3.5rem; height: 3.5rem; }
  .online-steps { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .online-n { left: -.25rem; }
  .path-card--wide .path-card-link { flex-direction: column; align-items: stretch; }
  .path-card--wide .path-card-art { width: auto; padding: .75rem .75rem 0; }
  .path-card--wide .path-card-body { padding: 1.25rem 1.5rem 1.5rem; }
  .stat-side { display: none; }
}
/* online steps v2: browser + phone + meet */
.online-steps { grid-template-columns: 1.55fr .8fr 1fr; align-items: end; }
.os-phone .phone--solo { width: 100%; max-width: 13rem; margin: 0 auto 1rem; }
.os-phone .phone--solo img { aspect-ratio: auto; height: auto; object-fit: initial; }
.online-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
@media (max-width: 64rem) {
  .online-steps { grid-template-columns: 1fr 1fr; }
  .online-steps > li.os-wide { grid-column: 1 / -1; }
  .online-steps > li:last-child { grid-column: auto; max-width: none; justify-self: stretch; }
}
@media (max-width: 40rem) {
  .online-steps { grid-template-columns: minmax(0, 1fr); }
  .os-phone .phone--solo { max-width: 11rem; }
}
@media (max-width: 40rem) { .os-meet .meet { max-width: 20rem; margin-inline: auto; } }
.legend--tags { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-self: end; }
.phones { height: 31rem; } @media (max-width: 40rem) { .phones { height: 25rem; } }

/* v4: offices */
.section--offices { background: radial-gradient(40rem 26rem at 100% 0%, rgba(0,114,255,.08), transparent 60%), radial-gradient(36rem 24rem at 0% 100%, rgba(252,197,1,.12), transparent 60%), var(--white); border-top: 1px solid var(--border); }
.offices-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-bottom: clamp(2rem, 4vw, 2.75rem); }
.offices-top p { color: var(--muted); font-size: 1.0625rem; }
.offices-mail { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .875rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--border); font-weight: 650; }
.offices-mail a { text-decoration: none; }
.mh-wrap { position: relative; }
.mh-map { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 30px rgba(16,36,58,.12)); }
.offices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.office { position: relative; display: flex; flex-direction: column; border-radius: 1.5rem; background: var(--white); border: 1px solid var(--border); overflow: hidden; box-shadow: 0 14px 34px rgba(16,36,58,.08); transition: transform .2s ease, box-shadow .2s ease; scroll-margin-top: 6rem; }
.office:hover { transform: translateY(-4px); box-shadow: 0 22px 46px rgba(16,36,58,.14); }
.office-head { position: relative; display: flex; align-items: center; gap: .875rem; padding: 1.5rem 1.5rem 1.25rem; color: var(--white); overflow: hidden; }
.office--red .office-head { background: linear-gradient(130deg, #C90020, #FB0117 70%, #FF5A3D); }
.office--blue .office-head { background: linear-gradient(130deg, #0047A8, #0072FF 70%, #3D9BFF); }
.office--green .office-head { background: linear-gradient(130deg, #0D4F26, #027928 70%, #23A04C); }
.office-head h3 { color: var(--white); font-size: 1.75rem; margin: 0; letter-spacing: -.03em; }
.office-role { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.18); padding: .125rem .5rem; border-radius: 999px; margin-bottom: .25rem; }
.office--red .office-role { background: var(--bright-identity-gold); color: var(--ink); }
.office-pin { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 1rem; background: rgba(255,255,255,.18); flex-shrink: 0; }
.office-pin .ic { width: 1.5rem; height: 1.5rem; }
.office-city { position: absolute; right: -.5rem; bottom: -1.75rem; font-size: 5.5rem; font-weight: 800; letter-spacing: -.06em; color: rgba(255,255,255,.12); line-height: 1; pointer-events: none; }
.office-body { display: flex; flex-direction: column; gap: .875rem; padding: 1.25rem 1.5rem 1.5rem; flex: 1; }
.office-body address { font-style: normal; line-height: 1.55; }
.office-online { color: var(--muted); margin: 0; }
.office-hours { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; color: var(--muted); font-weight: 600; font-size: .9375rem; }
.office-hours .ic { color: var(--ink); }
.open-badge { font-size: .75rem; font-weight: 750; padding: .125rem .5rem; border-radius: 999px; }
.open-badge.is-open { background: #E6F4EA; color: var(--success); }
.open-badge.is-open::before { content: ''; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: #23A04C; margin-right: .3rem; box-shadow: 0 0 0 3px rgba(35,160,76,.2); }
.open-badge.is-closed { background: #FFF4E5; color: var(--warning); }
.office-phone { margin: 0; }
.office-phone a { display: inline-flex; align-items: center; gap: .4rem; font-size: 1.25rem; font-weight: 750; letter-spacing: -.01em; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.office-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding-top: .5rem; }
.ob { display: inline-flex; align-items: center; gap: .375rem; min-height: 2.75rem; padding: .5rem .875rem; border-radius: .75rem; font-weight: 700; font-size: .9375rem; text-decoration: none; border: 1.5px solid transparent; }
.ob-call { background: var(--ink); color: var(--white); }
.ob-call:hover { background: #000; }
.ob-wa { background: #E6F4EA; color: var(--success); border-color: #BFE3CB; }
.ob-wa:hover { background: #D4EEDD; }
.ob-map { background: var(--white); color: var(--ink); border-color: var(--border); }
.ob-map:hover { border-color: var(--ink); }
.ob-link { flex-basis: 100%; font-size: .875rem; font-weight: 600; }
.footer-head--gap { margin-top: 1.5rem; }
.footer-contact a { font-variant-numeric: tabular-nums; }

/* prose (privacy) */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.375rem; margin: 2rem 0 .5rem; }
.prose p, .prose li { color: #2F4256; }
.prose ul { padding-left: 1.25rem; display: grid; gap: .375rem; }

@media (max-width: 64rem) { .offices { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .offices > li:last-child { grid-column: 1 / -1; } }
@media (max-width: 56rem) { .offices-top { grid-template-columns: minmax(0, 1fr); } .mh-wrap { max-width: 30rem; } }
@media (max-width: 40rem) { .offices { grid-template-columns: minmax(0, 1fr); } .office-head h3 { font-size: 1.5rem; } }
@media (prefers-reduced-motion: reduce) { .mh-map animate { display: none; } }
.mh-note { text-align: center; font-size: .75rem; color: var(--muted); margin: .25rem 0 0; }

/* v5: offices redesign */
.section--offices { background: linear-gradient(180deg, #F4F8FE 0%, #FFFFFF 55%); }
.offices-top { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; }
.offices-intro h2 { font-size: clamp(2rem, 4vw, 3rem); }
.offices-quick { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.offices-quick li { display: grid; padding: .75rem 1rem; border-radius: 1rem; background: var(--white); border: 1px solid var(--border); box-shadow: 0 1px 2px rgba(16,36,58,.05); min-width: 8rem; }
.offices-quick strong { font-size: 1.375rem; letter-spacing: -.02em; }
.offices-quick span { font-size: .8125rem; color: var(--muted); font-weight: 600; }
.mh-wrap { max-width: none; }
.mh-map { filter: none; }
.mh-note { display: none; }

.offices { gap: 1.5rem; }
.office { border-radius: 1.75rem; border: 0; box-shadow: 0 18px 40px rgba(16,36,58,.12), 0 0 0 1px rgba(16,36,58,.06); }
.office:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(16,36,58,.18), 0 0 0 1px rgba(16,36,58,.06); }
.office-head { display: block; position: relative; min-height: 10.5rem; padding: 1.5rem 1.5rem 1.25rem; overflow: hidden; isolation: isolate; }
.office-head::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.18) 1.2px, transparent 1.3px); background-size: 14px 14px; mask-image: linear-gradient(180deg, #000, transparent 75%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); }
.office--red .office-head { background: linear-gradient(145deg, #8F0014 0%, #C90020 45%, #FB0117 100%); }
.office--blue .office-head { background: linear-gradient(145deg, #00316F 0%, #0057C2 45%, #0072FF 100%); }
.office--green .office-head { background: linear-gradient(145deg, #073D1C 0%, #027928 50%, #23A04C 100%); }
.office-sky { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 4.5rem; z-index: -1; }
.office-num { position: absolute; right: 1.25rem; top: .75rem; font-size: 4.5rem; font-weight: 800; letter-spacing: -.06em; line-height: 1; color: rgba(255,255,255,.14); }
.office-role { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.16); color: #fff; padding: .3rem .625rem; border-radius: 999px; backdrop-filter: blur(4px); }
.office--red .office-role { background: var(--bright-identity-gold); color: var(--ink); }
.office-head h3 { font-size: clamp(2.25rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -.04em; margin: .875rem 0 0; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.18); }
.office-pin, .office-city { display: none; }
.office-body { padding: 1.25rem 1.5rem 1.5rem; gap: 1rem; }
.office-info { list-style: none; margin: 0; padding: 0; display: grid; gap: .875rem; }
.office-info li { display: grid; grid-template-columns: 2.25rem 1fr; gap: .75rem; align-items: start; }
.oi { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .75rem; background: var(--paper); color: var(--ink); }
.office--red .oi { background: #FFEAEC; color: #C90020; }
.office--blue .oi { background: #E8F1FF; color: #0057C2; }
.office--green .oi { background: #E6F4EA; color: #176B3A; }
.oi .ic { width: 1.125rem; height: 1.125rem; }
.office-info address, .office-info .office-hours { margin: 0; padding-top: .3rem; font-style: normal; line-height: 1.5; color: var(--ink); font-weight: 500; }
.office-info .office-hours { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-weight: 600; color: var(--ink); }
.office-tel { padding-top: .2rem; font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.office-tel:hover { color: var(--action); }
.office-mail { font-size: 1.0625rem; word-break: break-all; }
.office-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin-top: auto; padding-top: .25rem; }
.office-actions .ob { justify-content: center; padding-inline: .5rem; font-size: .875rem; border-radius: .875rem; }
.office-actions .ob-wide { grid-column: 1 / -1; }
.office--red .ob-call { background: #C90020; } .office--red .ob-call:hover { background: #A8001B; }
.office--blue .ob-call { background: #0057C2; } .office--blue .ob-call:hover { background: #00469D; }
.office--green .ob-call { background: #176B3A; } .office--green .ob-call:hover { background: #0F5229; }
.office-gmaps { display: inline-flex; align-items: center; gap: .3rem; font-size: .875rem; font-weight: 650; text-decoration: none; color: var(--link); }
.office-gmaps:hover { text-decoration: underline; }
@media (max-width: 64rem) { .offices-top { grid-template-columns: minmax(0, 1fr); } .mh-wrap { max-width: 36rem; margin-inline: auto; } }
@media (max-width: 40rem) { .office-actions { grid-template-columns: 1fr 1fr; } .office-actions .ob-map { grid-column: 1 / -1; } }
