/* ==========================================================================
   ODOHUB — Design System
   Architecture: "Serene sage showroom" (Refero style e85a82b1)
   Sage canvas · one vivid teal accent · one dark forest moment per page
   White cards, 36px radii, hairline borders, no shadows, calm wide display type
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Colors */
  --sage: #d3e4df;
  --white: #ffffff;
  --mint: #edf4f2;
  --carbon: #0d1212;
  --graphite: #34484a;
  --slate: #565959;
  --mist: #7b8889;
  --fog: #9aa3a5;
  --teal: #64d5b3;
  --eucalyptus: #5b8279;

  /* Brand (logo lockup only — never promoted into the UI system) */
  --brand-dark: #0f3d2f;
  --brand-mid: #1d9b6c;
  --brand-bright: #5fc86f;

  /* Type */
  --font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Archivo", "Inter", ui-sans-serif, system-ui, sans-serif;

  --text-display: clamp(2.875rem, 7vw, 6.5rem);        /* ~46 → 104px */
  --text-display-sm: clamp(2.125rem, 4.2vw, 3.5rem);   /* ~34 → 56px  */
  --text-heading-lg: clamp(1.75rem, 3vw, 2.5rem);      /* ~28 → 40px  */
  --text-heading: clamp(1.5rem, 2.4vw, 1.875rem);      /* 24 → 30px   */
  --text-heading-sm: 1.4375rem;                        /* 23px        */
  --text-subheading: clamp(1.125rem, 1.6vw, 1.25rem);  /* 18 → 20px   */
  --text-body: 1rem;
  --text-body-sm: 0.875rem;
  --text-caption: 0.75rem;

  /* Radii */
  --r-card: 36px;
  --r-badge: 20px;
  --r-input: 16px;
  --r-btn: 12px;
  --r-pill: 16px;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --sect-pad: clamp(72px, 9vw, 120px);
  --sect-pad-sm: clamp(48px, 6vw, 80px);

  /* Hairlines */
  --hairline: 1px solid rgba(13, 18, 18, 0.1);
  --hairline-strong: 1px solid rgba(13, 18, 18, 0.2);
  --hairline-dark: 1px solid rgba(255, 255, 255, 0.16);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
  font-family: var(--font-ui);
  font-size: var(--text-body);
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--carbon);
  background: var(--sage);
  font-feature-settings: "kern" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
strong { font-weight: 600; }

:focus-visible { outline: 2px solid var(--graphite); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--teal); color: var(--carbon); }

/* ---------- Type ---------- */
.display,
.display-sm,
.h-lg {
  font-family: var(--font-display);
  font-weight: 400;
  font-stretch: 118%;
  letter-spacing: -0.01em;
  line-height: 1.08;
  text-wrap: balance;
}
.display    { font-size: var(--text-display); }
.display-sm { font-size: var(--text-display-sm); line-height: 1.12; }
.h-lg       { font-size: var(--text-heading-lg); line-height: 1.16; }

.h-md { font-size: var(--text-heading); font-weight: 600; line-height: 1.25; letter-spacing: -0.001em; text-wrap: balance; }
.h-sm { font-size: var(--text-heading-sm); font-weight: 600; line-height: 1.28; }

.sub  { font-size: var(--text-subheading); line-height: 1.5; color: var(--slate); font-weight: 400; }
.body-sm { font-size: var(--text-body-sm); line-height: 1.45; }
.caption { font-size: var(--text-caption); line-height: 1.5; letter-spacing: 0.05em; }

.eyebrow {
  display: inline-block;
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 18px;
}
.on-dark .eyebrow { color: rgba(255, 255, 255, 0.55); }

.muted { color: var(--slate); }
.tiny-note { font-size: var(--text-caption); color: var(--fog); letter-spacing: 0.02em; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }

.section { padding-block: var(--sect-pad); }
.section--sm { padding-block: var(--sect-pad-sm); }
.section--flush-top { padding-top: 0; }

.band--forest { background: var(--graphite); color: var(--white); }
.band--mint   { background: var(--mint); }
.band--white  { background: var(--white); }
.band--teal   { background: var(--teal); color: var(--carbon); }

.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head .sub { margin-top: 20px; max-width: 640px; }
.sec-head--center .sub { margin-inline: auto; }
.sec-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.sec-head--row > div { max-width: 720px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--r-btn);
  padding: 15px 30px;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn--primary { background: var(--teal); color: var(--carbon); }
.btn--primary:hover { background: #79dec0; }

.btn--dark {
  background: var(--carbon);
  color: var(--white);
  border-radius: var(--r-pill);
  padding: 12px 24px;
  font-size: var(--text-body-sm);
}
.btn--dark:hover { background: var(--graphite); }

.btn--outline {
  border: var(--hairline-strong);
  border-radius: var(--r-pill);
  padding: 13px 26px;
  background: transparent;
}
.btn--outline:hover { border-color: var(--carbon); }
.on-dark .btn--outline { border: var(--hairline-dark); color: var(--white); }
.on-dark .btn--outline:hover { border-color: rgba(255, 255, 255, 0.5); }

.btn--ghost {
  padding: 5px 2px;
  border-radius: 4px;
  font-weight: 500;
  color: var(--graphite);
  gap: 8px;
}
.btn--ghost .chev { transition: transform 0.25s ease; }
.btn--ghost:hover .chev { transform: translateX(4px); }
.on-dark .btn--ghost { color: var(--white); }

.btn-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* ---------- Badges & chips ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mint);
  color: var(--carbon);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--r-badge);
}
.badge--outline { background: transparent; border: 1px solid var(--eucalyptus); color: var(--graphite); }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex: none; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--r-card);
  border: var(--hairline);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
a.card:hover, .card--link:hover { border-color: rgba(13, 18, 18, 0.35); transform: translateY(-3px); }
.card .card-kicker { font-size: var(--text-caption); font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--mist); }
.card p { color: var(--slate); font-size: var(--text-body-sm); line-height: 1.55; }
.card .card-foot { margin-top: auto; padding-top: 10px; font-size: var(--text-body-sm); font-weight: 500; color: var(--graphite); display: inline-flex; align-items: center; gap: 8px; }

.icon-tile {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--mint);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  flex: none;
}
.icon-tile svg { width: 24px; height: 24px; stroke: var(--carbon); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Media card — the system's signature photo container */
.media-card {
  background: var(--white);
  border-radius: var(--r-card);
  border: var(--hairline);
  overflow: hidden;
  position: relative;
}
.media-card > svg, .media-card > img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--sage);
  transition: border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom: var(--hairline); }

.utility-bar {
  border-bottom: var(--hairline);
  font-size: var(--text-caption);
  letter-spacing: 0.04em;
  color: var(--graphite);
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 8px;
  gap: 16px;
}
.utility-bar a { font-weight: 500; }
.utility-bar a:hover { color: var(--carbon); }
.utility-bar .u-right { display: flex; gap: 24px; }
@media (max-width: 720px) { .utility-bar .u-right span.u-mail { display: none; } }
@media (max-width: 620px) { .utility-bar .u-right { display: none; } .utility-bar .container { justify-content: center; } }

.nav-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}

.logo-lockup { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-lockup svg.logo-mark { width: 38px; height: 38px; }
.logo-lockup .logo-word {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--brand-dark);
  line-height: 1;
}
.logo-lockup .logo-word em { font-style: normal; color: var(--brand-mid); }

.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.main-nav > li { position: relative; }
.main-nav a, .main-nav button.nav-link {
  font-size: var(--text-body-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--carbon);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 2px;
}
.main-nav a:hover, .main-nav button.nav-link:hover { color: var(--graphite); }
.main-nav .nav-link svg { width: 10px; height: 10px; stroke: currentColor; stroke-width: 2; fill: none; transition: transform 0.25s ease; }
.main-nav li.open .nav-link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--white);
  border: var(--hairline);
  border-radius: 24px;
  padding: 14px;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.main-nav li.open .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown .dd-heading {
  font-size: var(--text-caption); font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--mist); padding: 10px 14px 6px;
}
.dropdown a {
  display: block;
  padding: 9px 14px;
  border-radius: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.dropdown a:hover { background: var(--mint); color: var(--carbon); }
.dropdown a span { display: block; font-size: var(--text-caption); font-weight: 400; color: var(--fog); letter-spacing: 0.02em; margin-top: 1px; }
.dropdown--wide { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
.main-nav li.open .dropdown--wide { display: grid; }

.header-cta { display: flex; align-items: center; gap: 14px; flex: none; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; }
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--carbon); stroke-width: 1.8; fill: none; stroke-linecap: round; }

@media (max-width: 1060px) {
  .main-nav {
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--sage);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    padding: 110px var(--gutter) 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 90;
  }
  body.nav-open .main-nav { transform: translateX(0); }
  .main-nav > li { width: 100%; border-bottom: var(--hairline); }
  .main-nav a, .main-nav button.nav-link { font-size: 1.125rem; padding: 16px 0; width: 100%; justify-content: space-between; }
  .dropdown, .dropdown--wide {
    position: static; transform: none; opacity: 1; visibility: hidden; display: none;
    border: none; background: transparent; padding: 0 0 12px 12px; min-width: 0; grid-template-columns: 1fr;
  }
  .main-nav li.open .dropdown { display: block; visibility: visible; }
  .main-nav li.open .dropdown--wide { display: grid; }
  .dropdown a { white-space: normal; font-size: 1rem; padding: 10px 12px; }
  .nav-toggle { display: grid; }
  .header-cta .btn--dark { display: none; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(40px, 5vw, 72px); text-align: center; }
.hero .display { max-width: 1060px; margin-inline: auto; }
.hero .sub { max-width: 640px; margin: 28px auto 0; }
.hero .btn-row { justify-content: center; margin-top: 40px; }
.hero .badge { margin-bottom: 28px; }

.hero-media { padding-bottom: var(--sect-pad-sm); }
.hero-media .media-card { aspect-ratio: 21 / 9; }
@media (max-width: 800px) { .hero-media .media-card { aspect-ratio: 4 / 3; } }

/* Floating UI chips over hero art */
.float-chip {
  position: absolute;
  background: var(--white);
  border: var(--hairline);
  border-radius: 18px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-caption);
  letter-spacing: 0.02em;
  animation: floaty 7s ease-in-out infinite;
}
.float-chip strong { display: block; font-size: var(--text-body-sm); letter-spacing: 0; }
.float-chip .pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal); flex: none; position: relative;
}
.float-chip .pulse::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid var(--teal); opacity: 0.5;
  animation: pulse-ring 2.2s ease-out infinite;
}
.float-chip--1 { top: 12%; left: 6%; }
.float-chip--2 { top: 20%; right: 7%; animation-delay: 1.2s; }
.float-chip--3 { bottom: 14%; left: 12%; animation-delay: 2.1s; }
.float-chip--4 { bottom: 20%; right: 12%; animation-delay: 0.6s; }
@media (max-width: 800px) {
  .float-chip--2, .float-chip--3 { display: none; }
  .float-chip--1 { top: 6%; left: 5%; }
  .float-chip--4 { bottom: 6%; right: 5%; }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Inner-page hero (smaller) */
.hero--page { padding-bottom: clamp(48px, 6vw, 80px); }
.hero--page .display-sm { max-width: 900px; margin-inline: auto; }

/* ---------- Trust bar ---------- */
.trust-bar { border-block: var(--hairline); padding-block: 28px; }
.trust-bar .container {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 14px 18px;
}
.trust-bar .caption { width: 100%; text-align: center; color: var(--mist); text-transform: uppercase; font-weight: 600; margin-bottom: 6px; }

/* ---------- Marquee ---------- */
.marquee-section { padding-block: clamp(40px, 5vw, 64px); }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 38s linear infinite;
  align-items: center;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-size: 1.0625rem;
  color: var(--eucalyptus);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee-item::after { content: "◆"; font-size: 8px; color: var(--fog); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Text lead ---------- */
.text-lead { max-width: 900px; }
.text-lead .display-sm { margin-bottom: 28px; }
.text-lead .sub { max-width: 760px; }

/* ---------- Dark forest section ---------- */
.on-dark { color: var(--white); }
.on-dark .sub { color: rgba(255, 255, 255, 0.72); }
.on-dark .card { background: var(--white); color: var(--carbon); border: none; }
.on-dark .card p { color: var(--slate); }
.on-dark .tiny-note { color: rgba(255, 255, 255, 0.45); }
.on-dark .icon-tile { background: var(--mint); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split .media-card { aspect-ratio: 6 / 5; }
.split--media-right .split-media { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--media-right .split-media { order: 0; }
}
.split .sub { margin-top: 20px; }
.split .btn-row { margin-top: 36px; }

.checklist { margin-top: 32px; display: grid; gap: 0; }
.checklist li { display: flex; gap: 16px; padding: 18px 0; border-top: var(--hairline); }
.on-dark .checklist li { border-top: var(--hairline-dark); }
.checklist li:last-child { border-bottom: var(--hairline); }
.on-dark .checklist li:last-child { border-bottom: var(--hairline-dark); }
.checklist .check {
  width: 26px; height: 26px; flex: none; border-radius: 50%;
  background: var(--teal); display: grid; place-items: center; margin-top: 2px;
}
.checklist .check svg { width: 12px; height: 12px; stroke: var(--carbon); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.checklist strong { display: block; margin-bottom: 2px; }
.checklist p { color: var(--slate); font-size: var(--text-body-sm); }
.on-dark .checklist p { color: rgba(255, 255, 255, 0.65); }

/* ---------- Alternating features ---------- */
.alt-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.alt-feature + .alt-feature { margin-top: clamp(56px, 7vw, 96px); }
.alt-feature:nth-child(even) .alt-media { order: 2; }
@media (max-width: 900px) {
  .alt-feature { grid-template-columns: 1fr; }
  .alt-feature:nth-child(even) .alt-media { order: 0; }
}
.alt-feature .media-card { aspect-ratio: 5 / 4; }
.alt-feature h3 { margin-bottom: 14px; }
.alt-feature .sub { font-size: var(--text-body); }

/* ---------- Stat band ---------- */
.stat-band { border-block: var(--hairline); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-grid > div { padding: clamp(28px, 3.6vw, 48px) clamp(20px, 3vw, 40px); border-left: var(--hairline); }
.stat-grid > div:first-child { border-left: none; }
.stat-value {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 400;
  font-size: clamp(2.5rem, 4.6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.stat-value .unit { font-size: 0.5em; color: var(--eucalyptus); }
.stat-label { font-weight: 600; margin-top: 10px; }
.stat-desc { color: var(--slate); font-size: var(--text-body-sm); margin-top: 4px; }
@media (max-width: 900px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid > div:nth-child(odd) { border-left: none; }
  .stat-grid > div:nth-child(n + 3) { border-top: var(--hairline); }
}
@media (max-width: 520px) {
  .stat-grid { grid-template-columns: 1fr; }
  .stat-grid > div { border-left: none; }
  .stat-grid > div:nth-child(n + 2) { border-top: var(--hairline); }
}

/* ---------- Tabs ---------- */
.tabs-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(32px, 4vw, 48px); }
.tab-btn {
  padding: 10px 20px;
  border-radius: var(--r-badge);
  background: var(--mint);
  font-size: var(--text-body-sm);
  font-weight: 500;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.tab-btn:hover { background: #e2ece9; }
.tab-btn[aria-selected="true"] { background: var(--carbon); color: var(--white); }

.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: center; animation: fade-in 0.4s ease; }
@media (max-width: 900px) { .tab-panel.active { grid-template-columns: 1fr; } }
@keyframes fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tab-panel .media-card { aspect-ratio: 4 / 3; }
.tab-panel h3 { margin-bottom: 14px; }
.tab-panel .sub { font-size: var(--text-body); margin-bottom: 24px; }
.tab-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }

/* ---------- Case studies ---------- */
.case-card { padding: 0; overflow: hidden; }
.case-card .case-art { aspect-ratio: 8 / 5; background: var(--mint); position: relative; overflow: hidden; }
.case-card .case-art svg { width: 100%; height: 100%; }
.case-card .case-body { padding: clamp(24px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.metric-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.metric-chips .badge { font-size: var(--text-caption); padding: 5px 12px; }

/* ---------- Quote feature ---------- */
.quote-feature { max-width: 880px; margin-inline: auto; text-align: center; }
.quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--teal);
  display: block;
  margin-bottom: 26px;
}
.quote-feature blockquote {
  font-family: var(--font-display);
  font-stretch: 114%;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  line-height: 1.3;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.quote-attr { margin-top: 30px; }
.quote-attr strong { display: block; }
.quote-attr span { color: var(--slate); font-size: var(--text-body-sm); }

/* ---------- Locations ---------- */
.loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 20px); }
@media (max-width: 1000px) { .loc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .loc-grid { grid-template-columns: 1fr; } }
.loc-card { padding: 24px 26px; gap: 6px; border-radius: 24px; }
.loc-card .h-sm { font-size: 1.1875rem; }
.loc-card p { font-size: var(--text-caption); letter-spacing: 0.02em; }

/* ---------- Router (3-card) ---------- */
.router-card { position: relative; overflow: hidden; }
.router-card .router-num {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-size: 3rem;
  color: var(--sage);
  line-height: 1;
}

/* ---------- Insights ---------- */
.insight-card { padding: 0; overflow: hidden; }
.insight-art { aspect-ratio: 16 / 9; background: var(--mint); overflow: hidden; }
.insight-art svg { width: 100%; height: 100%; }
.insight-body { padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.insight-meta { font-size: var(--text-caption); color: var(--fog); letter-spacing: 0.03em; margin-top: auto; padding-top: 10px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin-inline: auto; }
.faq-item { border-top: var(--hairline-strong); }
.faq-item:last-child { border-bottom: var(--hairline-strong); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 4px;
  font-size: var(--text-subheading);
  font-weight: 500;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--graphite); }
.faq-item summary .faq-icon {
  width: 34px; height: 34px; flex: none;
  border: var(--hairline-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.faq-item summary .faq-icon svg { width: 14px; height: 14px; stroke: var(--carbon); stroke-width: 2; fill: none; stroke-linecap: round; }
.faq-item[open] summary .faq-icon { transform: rotate(45deg); background: var(--teal); border-color: var(--teal); }
.faq-item .faq-body { padding: 0 4px 28px; color: var(--slate); max-width: 720px; line-height: 1.6; }

/* ---------- CTA band ---------- */
.cta-band { border-radius: var(--r-card); padding: clamp(48px, 6vw, 88px) clamp(28px, 5vw, 80px); position: relative; overflow: hidden; }
.cta-band--teal { background: var(--teal); color: var(--carbon); }
.cta-band .display-sm { max-width: 700px; position: relative; }
.cta-band .sub { color: rgba(13, 18, 18, 0.72); max-width: 560px; margin-top: 20px; position: relative; }
.cta-band .btn-row { margin-top: 40px; position: relative; }
.cta-band .cta-art { position: absolute; right: -60px; bottom: -80px; width: 480px; opacity: 0.35; pointer-events: none; }
@media (max-width: 760px) { .cta-band .cta-art { display: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--sage); border-top: var(--hairline); padding-top: var(--sect-pad-sm); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: clamp(28px, 4vw, 56px); padding-bottom: clamp(40px, 5vw, 72px); }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand p { color: var(--slate); font-size: var(--text-body-sm); max-width: 300px; margin-top: 18px; line-height: 1.6; }
.footer-brand img { width: 130px; height: auto; }
.footer-contact { margin-top: 26px; display: grid; gap: 8px; font-size: var(--text-body-sm); }
.footer-contact a { font-weight: 600; color: var(--graphite); }
.footer-contact a:hover { color: var(--carbon); }
.footer-contact .caption { color: var(--mist); text-transform: uppercase; font-weight: 600; }

.foot-col h4 {
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 16px;
}
.foot-col li { border-bottom: 1px solid rgba(86, 89, 89, 0.22); }
.foot-col li:last-child { border-bottom: none; }
.foot-col a {
  display: block;
  font-size: var(--text-body-sm);
  color: var(--slate);
  padding-block: 9px;
  line-height: 1.6;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.foot-col a:hover { color: var(--carbon); padding-left: 4px; }

.footer-news { border-top: var(--hairline); padding-block: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 800px) { .footer-news { grid-template-columns: 1fr; } }
.footer-news .h-sm { margin-bottom: 6px; }
.footer-news p { color: var(--slate); font-size: var(--text-body-sm); }
.news-form { display: flex; gap: 12px; }
.news-form input { flex: 1; min-width: 0; }
@media (max-width: 520px) { .news-form { flex-direction: column; } .news-form .btn { width: 100%; } }

.footer-legal {
  border-top: var(--hairline);
  padding-block: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-caption);
  color: var(--mist);
  letter-spacing: 0.03em;
}
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a:hover { color: var(--carbon); }

/* ---------- Forms ---------- */
.input, select.input, textarea.input {
  width: 100%;
  background: transparent;
  border: 1px solid #767676;
  border-radius: var(--r-input);
  padding: 13px 16px;
  font: inherit;
  font-size: var(--text-body-sm);
  color: var(--carbon);
  transition: border-color 0.2s ease;
}
.input::placeholder { color: var(--fog); }
.input:focus { outline: none; border-color: var(--carbon); }
textarea.input { min-height: 120px; resize: vertical; }
select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%230d1212' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field { display: grid; gap: 8px; }
.field label { font-size: var(--text-caption); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--graphite); }
.field .optional { color: var(--fog); font-weight: 400; text-transform: none; letter-spacing: 0.02em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.form-card { background: var(--white); border-radius: var(--r-card); border: var(--hairline); padding: clamp(28px, 3.6vw, 48px); }
.form-success {
  display: none;
  background: var(--mint);
  border-radius: 20px;
  padding: 22px 26px;
  margin-top: 24px;
  font-size: var(--text-body-sm);
  line-height: 1.55;
}
.form-success.show { display: flex; gap: 14px; align-items: flex-start; }
.form-success .check { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--teal); display: grid; place-items: center; }
.form-success .check svg { width: 12px; height: 12px; stroke: var(--carbon); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.form-extra { display: none; }
.form-extra.show { display: contents; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: var(--hairline); border-radius: 28px; background: var(--white); }
table.sys-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: var(--text-body-sm); }
.sys-table th, .sys-table td { text-align: left; padding: 18px 24px; border-bottom: var(--hairline); vertical-align: top; }
.sys-table thead th {
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mist);
  border-bottom: var(--hairline-strong);
}
.sys-table tbody tr:last-child td { border-bottom: none; }
.sys-table td { color: var(--slate); line-height: 1.55; }
.sys-table td:first-child { color: var(--carbon); font-weight: 600; }
.sys-table .col-us { background: var(--mint); color: var(--carbon); }
.sys-table thead .col-us { color: var(--carbon); }

/* ---------- Step timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: var(--hairline-strong); }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.steps > li { padding: 28px clamp(16px, 2vw, 28px) 8px 0; border-left: var(--hairline); padding-left: clamp(16px, 2vw, 28px); }
.steps > li:first-child { border-left: none; padding-left: 0; }
.step-num {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-size: 2.25rem;
  color: var(--eucalyptus);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}
.steps h3 { font-size: var(--text-body); font-weight: 600; margin-bottom: 8px; }
.steps p { font-size: var(--text-body-sm); color: var(--slate); line-height: 1.55; }
@media (max-width: 1000px) {
  .steps, .steps--4 { grid-template-columns: 1fr; border-top: none; }
  .steps > li { border-left: none; border-top: var(--hairline); padding-left: 0; }
  .steps > li:first-child { border-top: var(--hairline-strong); }
}

/* ---------- Feature list (numbered) ---------- */
.feature-rows { border-top: var(--hairline-strong); }
.feature-row {
  display: grid;
  grid-template-columns: 90px 1fr 1.4fr;
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(26px, 3vw, 40px) 0;
  border-bottom: var(--hairline);
  align-items: baseline;
}
.feature-row .step-num { margin-bottom: 0; }
.feature-row h3 { font-size: var(--text-heading-sm); font-weight: 600; }
.feature-row p { color: var(--slate); line-height: 1.6; }
@media (max-width: 800px) {
  .feature-row { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Contact routing ---------- */
.route-card { align-items: flex-start; }
.route-card .btn { margin-top: auto; }

/* ---------- Office grid ---------- */
.office-card { gap: 10px; }
.office-card address { font-style: normal; color: var(--slate); font-size: var(--text-body-sm); line-height: 1.6; }
.office-card a { font-weight: 600; color: var(--graphite); font-size: var(--text-body-sm); }
.office-card a:hover { color: var(--carbon); }

/* ---------- UI mockups (dashboard illustrations) ---------- */
.ui-mock {
  position: absolute;
  inset: clamp(16px, 3%, 32px);
  background: var(--white);
  border: var(--hairline);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 11px;
  letter-spacing: 0.02em;
}
.ui-topbar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-bottom: var(--hairline);
  color: var(--mist); font-weight: 600; font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase;
  flex: none;
}
.ui-topbar .dots { display: flex; gap: 4px; }
.ui-topbar .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.ui-body { flex: 1; display: flex; min-height: 0; }
.ui-rows { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ui-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--mint); border-radius: 10px; padding: 8px 12px;
  color: var(--graphite); font-weight: 500; white-space: nowrap; overflow: hidden;
}
.ui-row .tag {
  margin-left: auto; background: var(--white); border-radius: 8px;
  padding: 2px 8px; font-size: 9px; font-weight: 600; color: var(--carbon);
}
.ui-row .tag--teal { background: var(--teal); }
.ui-row .swatch { width: 8px; height: 8px; border-radius: 3px; background: var(--eucalyptus); flex: none; }

.ui-side { width: 42%; border-left: var(--hairline); padding: 12px; display: flex; flex-direction: column; gap: 8px; flex: none; }
.ui-stat { border: var(--hairline); border-radius: 12px; padding: 10px 12px; }
.ui-stat b { display: block; font-size: 16px; font-family: var(--font-display); font-stretch: 114%; font-weight: 400; color: var(--carbon); }
.ui-stat span { color: var(--mist); font-size: 9px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

.ui-bars { display: flex; align-items: flex-end; gap: 8px; flex: 1; padding: 12px 4px 0; min-height: 50px; }
.ui-bars i { flex: 1; background: var(--sage); border-radius: 6px 6px 2px 2px; }
.ui-bars i.hi { background: var(--teal); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Back to top / misc ---------- */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--carbon); color: var(--white);
  padding: 10px 18px; border-radius: 0 0 12px 12px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

.anchor-offset { scroll-margin-top: 120px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}
