/* ============================================================
   Moonfire — Fluid corporate layout
   Units: rem / em / % / vw / svh / clamp — no fixed pixel boxes
   Media: object-fit cover, full-bleed backgrounds
   ============================================================ */

:root {
  --blue: #00aaff;
  --blue-dark: #0088cc;
  --blue-deep: #006699;
  --blue-soft: #e8f7ff;
  --blue-mid: #b8e6ff;
  --ink: #0f172a;
  --ink-2: #1e293b;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-soft: #f1f5f9;
  --shadow: 0 0.25rem 1.5rem rgba(15, 23, 42, 0.06);
  --shadow-md: 0 0.75rem 2.5rem rgba(15, 23, 42, 0.08);
  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --header-h: 4.75rem;
  /* Liquid gutters only — content uses the full viewport width */
  --gutter: clamp(1rem, 3.2vw, 2.75rem);
  --space: var(--gutter);
  --space-section: clamp(3.25rem, 7vw, 6rem);
  /* No boxed max-width shell: stretch across the screen */
  --content-max: 100%;
  --font: "Montserrat", system-ui, -apple-system, sans-serif;
  --text-sm: clamp(0.8rem, 0.75rem + 0.2vw, 0.9rem);
  --text: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --text-lg: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  --h1: clamp(2rem, 1.4rem + 2.5vw, 3.5rem);
  --h2: clamp(1.55rem, 1.2rem + 1.4vw, 2.4rem);
  --h3: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--text);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
  overflow-x: hidden;
}

img,
video,
picture {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Fluid media fills parent */
.media-picture,
.media-picture img,
.media-bg__video,
.media-bg__fallback,
.media-bg__fallback img {
  width: 100%;
  height: 100%;
}

.media-picture img,
.media-bg__video,
.media-bg__fallback img,
.card-img img,
.hero-media img,
.hero-media video,
.split-media img,
.split-media video {
  object-fit: cover;
  object-position: center;
}

a {
  color: var(--blue-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--blue);
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 0.75em 1em;
  z-index: 1000;
}
.skip-link:focus {
  left: var(--space);
  top: var(--space);
}

:focus-visible {
  outline: 0.125rem solid var(--blue);
  outline-offset: 0.2rem;
}

/* ---------- Layout: liquid full-screen (no fixed content box) ---------- */
.container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}

/* Nested containers: don't double-pad */
.container .container {
  padding-inline: 0;
}

.section {
  padding-block: var(--space-section);
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

/* Optional narrow text measure for long-form only */
.measure {
  max-width: min(100%, 48rem);
}

.measure-wide {
  max-width: min(100%, 70rem);
}

.section-sm {
  padding-block: calc(var(--space-section) * 0.65);
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  width: 100%;
  max-width: min(100%, 56rem);
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
  text-align: center;
}

.section-header.left {
  margin-inline: 0;
  text-align: left;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 0.75em;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: var(--h1); letter-spacing: -0.02em; }
h2 { font-size: var(--h2); letter-spacing: -0.015em; }
h3 { font-size: var(--h3); }

.lead {
  font-size: var(--text-lg);
  color: var(--muted);
  line-height: 1.7;
  margin-top: 1em;
  max-width: 40em;
}

.text-center { text-align: center; }
.text-blue { color: var(--blue-dark); }
.mt-1 { margin-top: 0.5em; }
.mt-2 { margin-top: 1em; }
.mt-3 { margin-top: 1.5em; }
.mt-4 { margin-top: 2em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-weight: 600;
  font-size: 0.9em;
  border-radius: 0.65em;
  border: 0.1em solid transparent;
  padding: 0.7em 1.35em;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--blue-dark);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--muted-2);
  background: var(--bg-alt);
  color: var(--ink);
}

.btn-sm {
  padding: 0.55em 1em;
  font-size: 0.82em;
  border-radius: 0.5em;
}

.btn-lg {
  padding: 0.9em 1.6em;
  font-size: 0.95em;
  border-radius: 0.75em;
}

.btn-block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
  margin-top: 1.75em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(0.75rem);
  border-bottom: 0.0625rem solid var(--line);
  min-height: var(--header-h);
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 0.75em;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}

.logo img {
  height: clamp(2.25rem, 4vw, 2.75rem);
  width: auto;
  object-fit: contain;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.05em;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}

.nav-desktop a {
  color: var(--muted);
  font-size: clamp(0.72rem, 0.65rem + 0.35vw, 0.88rem);
  font-weight: 500;
  padding: 0.45em 0.55em;
  border-radius: 0.5em;
  white-space: nowrap;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.desktop-only {
  display: none;
}

.nav-toggle {
  width: 2.65rem;
  height: 2.65rem;
  border: 0.0625rem solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 0.125rem;
  background: var(--ink);
  border-radius: 0.125rem;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  padding: 1em var(--gutter) 1.5em;
  background: #fff;
  border-bottom: 0.0625rem solid var(--line);
  box-shadow: var(--shadow);
  width: 100%;
  box-sizing: border-box;
}

.nav-mobile[hidden] {
  display: none !important;
}

.nav-mobile a:not(.btn) {
  padding: 0.85em 1em;
  border-radius: 0.65em;
  color: var(--ink-2);
  font-weight: 500;
}

.nav-mobile a:not(.btn):hover {
  background: var(--bg-alt);
  color: var(--blue-dark);
}

.nav-mobile .btn {
  margin-top: 0.35em;
}

@media (min-width: 72em) {
  .nav-desktop { display: flex; }
  .desktop-only { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* ---------- Full-bleed media background ---------- */
.media-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.media-bg__video,
.media-bg__fallback {
  position: absolute;
  inset: 0;
}

.media-bg__fallback {
  z-index: 0;
}

.media-bg__video {
  z-index: 1;
  /* Cover full area of any section size */
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

.media-bg__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 42%, rgba(255, 255, 255, 0.45) 70%, rgba(232, 247, 255, 0.35) 100%);
}

.media-bg--dark .media-bg__scrim {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.78) 100%);
}

.media-bg--soft .media-bg__scrim {
  /* Lighter wash so photo still reads; keep text readable */
  background:
    linear-gradient(
      100deg,
      rgba(248, 250, 252, 0.94) 0%,
      rgba(255, 255, 255, 0.88) 45%,
      rgba(255, 255, 255, 0.72) 100%
    );
}

/* ---------- Hero: full viewport width ---------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
  background: var(--blue-soft);
}

.hero > .container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: none;
}

.hero-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  width: 100%;
  min-width: 0;
}

@media (min-width: 56em) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
  }
}

.hero-grid > * {
  min-width: 0;
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: rgba(255, 255, 255, 0.92);
  border: 0.0625rem solid var(--line);
  color: var(--ink-2);
  font-size: 0.8em;
  font-weight: 600;
  padding: 0.4em 0.9em;
  border-radius: 999em;
  box-shadow: var(--shadow);
  margin-bottom: 1.25em;
}

.hero-badge::before {
  content: "";
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.hero h1 span {
  color: var(--blue-dark);
}

.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 0.0625rem solid rgba(255, 255, 255, 0.6);
  background: var(--bg-soft);
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75em 1.25em;
  margin-top: 2em;
  padding-top: 1.5em;
  border-top: 0.0625rem solid rgba(226, 232, 240, 0.9);
  font-size: var(--text-sm);
  color: var(--muted);
}

.hero-trust img {
  height: 2.25rem;
  width: 2.25rem;
  object-fit: contain;
  background: #fff;
  border: 0.0625rem solid var(--line);
  border-radius: 0.5em;
  padding: 0.2em;
}

/* ---------- Stats ---------- */
.stats-bar {
  position: relative;
  z-index: 4;
  margin-top: clamp(-2.5rem, -4vw, -1.5rem);
  padding-bottom: 1em;
  width: 100%;
}

.stats-card {
  background: #fff;
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  overflow: hidden;
}

@media (min-width: 48em) {
  .stats-card {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat-item {
  text-align: center;
  padding: clamp(1.25rem, 3vw, 1.85rem) 0.75em;
  border-right: 0.0625rem solid var(--line);
  border-bottom: 0.0625rem solid var(--line);
}

.stats-card .stat-item:nth-child(2n) {
  border-right: none;
}

@media (min-width: 48em) {
  .stat-item {
    border-bottom: none;
  }
  .stats-card .stat-item:nth-child(2n) {
    border-right: 0.0625rem solid var(--line);
  }
  .stats-card .stat-item:last-child {
    border-right: none;
  }
}

.stat-value {
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem);
  font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: 0.35em;
  font-weight: 500;
}

.stat-item img {
  height: 3rem;
  width: 3rem;
  margin: 0 auto 0.5em;
  object-fit: contain;
}

/* ---------- Cards grid: fluid columns ---------- */
.cards-3 {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  /* Fluid 1 → 2 → 3 columns without orphan edge stretch */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  width: 100%;
  min-width: 0;
}

.cards-3 > * {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 64em) {
  .cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  background: #fff;
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-mid);
  transform: translateY(-0.15rem);
}

a.card {
  color: inherit;
}

.card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}

.card-img img,
.card-img .media-picture,
.card-img .media-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card-body {
  padding: clamp(1.1rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 {
  margin-bottom: 0.5em;
}

.card-body p {
  color: var(--muted);
  font-size: 0.92em;
  flex: 1;
}

.card-link {
  margin-top: 1em;
  font-size: 0.875em;
  font-weight: 600;
  color: var(--blue-dark);
}

.badge {
  display: inline-block;
  font-size: 0.65em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--blue);
  color: #fff;
  padding: 0.3em 0.65em;
  border-radius: 999em;
}

.card-img .badge {
  position: absolute;
  top: 0.75em;
  right: 0.75em;
  z-index: 2;
}

/* ---------- Feature / split ---------- */
.feature-grid {
  display: grid;
  gap: clamp(0.85rem, 1.5vw, 1.15rem);
  /* Always 2×2 inside the split column — never 3+1 edge wrap */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  align-content: start;
}

@media (max-width: 30em) {
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.feature-item {
  background: #fff;
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1rem, 2vw, 1.35rem);
  min-width: 0;
  height: 100%;
  box-shadow: var(--shadow);
}

.feature-item .num {
  font-size: 0.75em;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.08em;
}

.feature-item h3 {
  margin: 0.5em 0 0.4em;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem);
  word-wrap: break-word;
}

.feature-item p {
  color: var(--muted);
  font-size: 0.88em;
  line-height: 1.55;
}

.split {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  width: 100%;
  min-width: 0;
}

.split > * {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 56em) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* Edge / why section: text + cards balanced, never flush to viewport */
.split--edge {
  align-items: start;
}

@media (min-width: 56em) {
  .split--edge {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(1.5rem, 3.5vw, 2.75rem);
  }
}

.split-media {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 0.0625rem solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  min-width: 0;
}

.split-media img,
.split-media video,
.split-media .media-picture,
.split-media .media-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Testimonials / clients ---------- */
.quote-card {
  background: #fff;
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.quote-mark {
  font-size: 2.5em;
  line-height: 1;
  color: var(--blue-mid);
  font-weight: 700;
}

.quote-card blockquote {
  color: var(--ink-2);
  font-size: 0.95em;
  flex: 1;
  margin: 0.5em 0 1.25em;
}

.quote-card footer {
  border-top: 0.0625rem solid var(--line-soft);
  padding-top: 1em;
  font-size: 0.85em;
}

.quote-card strong {
  display: block;
  color: var(--ink);
}

.quote-card span {
  color: var(--muted);
  font-size: 0.9em;
}

.client-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75em;
  width: 100%;
}

.client-chip {
  background: #fff;
  border: 0.0625rem solid var(--line);
  border-radius: 0.65em;
  padding: 0.9em 1.4em;
  font-weight: 600;
  font-size: 0.9em;
  color: var(--ink-2);
  box-shadow: var(--shadow);
  flex: 1 1 calc(33.333% - 0.75em);
  min-width: min(100%, 9rem);
  max-width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.subbrand-card {
  background: #fff;
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  transition: border-color 0.2s, box-shadow 0.2s;
  height: 100%;
  display: block;
  width: 100%;
}

.subbrand-card:hover {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow);
}

.subbrand-card h3 {
  color: var(--blue-dark);
}

/* ---------- CTA ---------- */
.cta-section {
  padding-block: var(--space-section);
  width: 100%;
}

.cta-box {
  background: linear-gradient(135deg, var(--blue-soft) 0%, #fff 50%, var(--bg-alt) 100%);
  border: 0.0625rem solid var(--line);
  border-radius: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1.75rem, 5vw, 3.5rem);
  text-align: center;
  box-shadow: var(--shadow);
  width: 100%;
}

.cta-box h2 {
  max-width: 22em;
  margin-inline: auto;
}

.cta-box > p {
  max-width: 36em;
  margin: 1em auto 0;
  color: var(--muted);
}

.cta-box .btn-row {
  justify-content: center;
}

/* ---------- Page hero with media ---------- */
.page-hero {
  position: relative;
  width: 100%;
  padding-block: clamp(3rem, 7vw, 4.5rem);
  background: linear-gradient(180deg, var(--blue-soft) 0%, #fff 100%);
  border-bottom: 0.0625rem solid var(--line-soft);
  overflow: hidden;
}

.page-hero > .container {
  position: relative;
  z-index: 2;
}

.page-hero.with-media {
  min-height: clamp(20rem, 48vw, 36rem);
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--ink);
  color: #fff;
  border-bottom: none;
  width: 100%;
}

.page-hero.with-media h1,
.page-hero.with-media .lead {
  color: #fff;
}

.page-hero.with-media .eyebrow {
  color: var(--blue-mid);
}

.page-hero.with-media .lead {
  opacity: 0.92;
  max-width: 36em;
}

.page-hero.with-media .back-link {
  color: #cbd5e1;
}

/* ---------- Info / service layouts ---------- */
.info-card {
  background: #fff;
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 2rem);
  height: 100%;
  box-shadow: var(--shadow);
  width: 100%;
}

.info-card .icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75em;
  background: var(--blue-soft);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25em;
  font-weight: 700;
  margin-bottom: 1em;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5em;
  margin-bottom: 2.5em;
  width: 100%;
}

.filter-btn {
  border: 0.0625rem solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85em;
  padding: 0.5em 1em;
  border-radius: 999em;
  cursor: pointer;
  transition: 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.service-layout {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  width: 100%;
  align-items: start;
}

@media (min-width: 58em) {
  .service-layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.95fr);
  }
}

.sidebar-card {
  background: #fff;
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 1.6rem);
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  width: 100%;
}

.check-list li {
  display: flex;
  gap: 0.65em;
  padding: 0.5em 0;
  color: var(--ink-2);
  font-size: 0.95em;
}

.check-list li::before {
  content: "✓";
  color: var(--blue-dark);
  font-weight: 700;
  flex-shrink: 0;
}

.chip-list {
  display: grid;
  gap: 0.6em;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}

.chip {
  background: var(--bg-alt);
  border: 0.0625rem solid var(--line);
  border-radius: 0.65em;
  padding: 0.85em 1em;
  font-size: 0.88em;
  color: var(--ink-2);
}

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.85rem);
  box-shadow: var(--shadow);
  width: 100%;
}

.form-grid {
  display: grid;
  gap: 1em;
  width: 100%;
}

@media (min-width: 36em) {
  .form-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-group label {
  display: block;
  font-size: 0.85em;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 0.4em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 0.0625rem solid var(--line);
  border-radius: 0.65em;
  padding: 0.75em 0.9em;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 0.2em rgba(0, 170, 255, 0.15);
}

.form-group textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.form-error {
  color: #dc2626;
  font-size: 0.8em;
  margin-top: 0.3em;
}

.form-success {
  text-align: center;
  padding: 2em 1em;
}

.form-success h3 {
  margin: 1em 0 0.5em;
}

.alert {
  padding: 0.9em 1em;
  border-radius: 0.65em;
  margin-bottom: 1em;
  font-size: 0.9em;
}

.alert-success {
  background: #ecfdf5;
  border: 0.0625rem solid #a7f3d0;
  color: #065f46;
}

.alert-error {
  background: #fef2f2;
  border: 0.0625rem solid #fecaca;
  color: #991b1b;
}

.contact-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  width: 100%;
}

@media (min-width: 56em) {
  .contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    align-items: start;
  }
}

.contact-info-item {
  display: flex;
  gap: 1em;
  padding: 1em 0;
  border-bottom: 0.0625rem solid var(--line-soft);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.65em;
  background: var(--blue-soft);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.85em;
}

/* Calendly: fluid width, reasonable height */
.calendly-panel {
  background: #fff;
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  width: 100%;
  min-height: min(70svh, 44rem);
}

.calendly-inline-widget {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: min(70svh, 44rem) !important;
}

/* ---------- Article ---------- */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
  align-items: center;
  font-size: 0.85em;
  color: var(--muted);
  margin-bottom: 1em;
}

.article-body {
  width: min(100%, 44rem);
  margin-inline: auto;
}

.article-body p {
  margin-bottom: 1.25em;
  font-size: 1.05em;
  color: var(--ink-2);
  line-height: 1.8;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.9em;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.25em;
}

.back-link:hover {
  color: var(--blue-dark);
}

.map-box {
  border-radius: var(--radius-lg);
  border: 0.0625rem solid var(--line);
  overflow: hidden;
  min-height: clamp(14rem, 30vw, 20rem);
  width: 100%;
  background: var(--bg-soft) center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.map-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.84);
}

.map-box .map-inner {
  position: relative;
  z-index: 1;
  padding: 2em;
}

/* ---------- Band sections with photo bg ---------- */
.band {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.band > .container {
  position: relative;
  z-index: 2;
}

/* Prevent media/cards escaping padded content shell */
.band .split,
.band .feature-grid,
.section .cards-3,
.section .grid-2,
.section .grid-4 {
  max-width: 100%;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 0.0625rem solid var(--line);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  margin-top: 2em;
  width: 100%;
}

.footer-grid {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  padding-bottom: 2.5em;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--gutter);
  box-sizing: border-box;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}

@media (min-width: 62em) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  }
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.9em;
  margin-top: 1em;
  max-width: 22em;
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 0.75em;
  margin-top: 1.25em;
  font-size: 0.75em;
  color: var(--muted);
}

.footer-badge img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  background: #fff;
  border: 0.0625rem solid var(--line);
  border-radius: 0.5em;
  padding: 0.25em;
}

.site-footer h4 {
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1em;
  color: var(--ink);
}

.site-footer ul li {
  margin-bottom: 0.5em;
}

.site-footer ul a {
  color: var(--muted);
  font-size: 0.9em;
}

.site-footer ul a:hover {
  color: var(--blue-dark);
}

.footer-contact li {
  color: var(--muted);
  font-size: 0.9em;
  margin-bottom: 0.65em;
}

.footer-subbrands {
  margin-top: 1.25em;
  font-size: 0.85em;
  color: var(--muted);
  line-height: 1.8;
}

.footer-bottom {
  border-top: 0.0625rem solid var(--line);
  padding-block: 1.25em;
  padding-inline: var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5em;
  font-size: 0.8em;
  color: var(--muted-2);
  width: 100%;
  max-width: none;
  margin-inline: 0;
  box-sizing: border-box;
}

/* Industry / career / investor cards */
.page-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  width: 100%;
}

.page-grid > * {
  min-width: 0;
}

/* ---------- Utilities ---------- */
.reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.grid-2 {
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  width: 100%;
}

.grid-4 {
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  width: 100%;
}

.related-links {
  display: grid;
  gap: 1em;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  width: 100%;
}

.related-links a {
  display: block;
  padding: 1em 1.15em;
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95em;
  transition: 0.2s;
}

.related-links a:hover {
  border-color: var(--blue-mid);
  color: var(--blue-dark);
}

.related-links a span {
  display: block;
  font-weight: 400;
  font-size: 0.85em;
  color: var(--muted);
  margin-top: 0.25em;
}

.service-card[hidden] {
  display: none !important;
}

/* Prefer reduced motion: pause decorative video */
@media (prefers-reduced-motion: reduce) {
  .media-bg__video {
    display: none;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
