/* BMC23 Security Firebase Home
   Palette: near-black, deep navy, metallic gold.
   Typography: Cormorant Garamond (display), Outfit (sans), IBM Plex Mono (labels). */

:root {
  --bg: #0b0d10;
  --bg-deep: #07080a;
  --navy: #12182a;
  --navy-2: #171e33;
  --navy-3: #1c2540;
  --gold: #c9a56a;
  --gold-bright: #e0c48a;
  --gold-dim: rgba(201, 165, 106, 0.16);
  --gold-line: rgba(201, 165, 106, 0.28);
  --ivory: #ece9e3;
  --ivory-soft: #d8d3c8;
  --steel: #9aa0a6;
  --steel-2: #7c838a;
  --ink-on-gold: #0b0d10;
  --rule: rgba(236, 233, 227, 0.08);
  --header-h: 76px;
  --pad-x: clamp(20px, 5vw, 72px);
  --max: 1180px;
  --display: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ivory);
  overflow-x: hidden;
  padding-top: var(--header-h);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  background: var(--gold);
  color: var(--ink-on-gold);
  padding: 8px 14px;
  font-size: 14px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: var(--header-h);
  background: rgba(11, 13, 16, 0.96);
  border-bottom: 1px solid var(--gold-line);
}
/* Blur lives on a pseudo, not the header itself, so position:fixed nav
   is not trapped inside a backdrop-filter containing block. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  pointer-events: none;
}
.site-header .nav-bar { position: relative; z-index: 1; }

.nav-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
  max-width: none;
  width: 100%;
  padding: 0 var(--pad-x);
}

.logo-link {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo {
  height: 64px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  object-position: left center;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.menu-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 12px;
}
.menu-toggle-bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s;
  transform-origin: center;
}
.is-open .menu-toggle-bars span:nth-child(1) { transform: translateY(5.25px) rotate(45deg); }
.is-open .menu-toggle-bars span:nth-child(2) { opacity: 0; }
.is-open .menu-toggle-bars span:nth-child(3) { transform: translateY(-5.25px) rotate(-45deg); }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 1.8vw, 28px);
  margin-left: auto;
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav > a,
.dropdown-toggle {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory-soft);
  background: none;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.site-nav > a:hover,
.site-nav > a:focus-visible,
.dropdown-toggle:hover,
.dropdown-toggle:focus-visible {
  color: var(--gold-bright);
}

.site-nav > a.btn,
.site-nav > a.btn-nav {
  background: var(--gold);
  color: var(--ink-on-gold);
  border: 1px solid var(--gold);
  letter-spacing: 0.03em;
  text-transform: none;
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 14px;
  min-height: 40px;
  white-space: nowrap;
}
.site-nav > a.btn:hover,
.site-nav > a.btn:focus-visible,
.site-nav > a.btn-nav:hover,
.site-nav > a.btn-nav:focus-visible {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--ink-on-gold);
  box-shadow: 0 0 0 1px var(--gold-bright), 0 0 28px rgba(201, 165, 106, 0.35);
}

.dropdown { position: relative; }
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
}
.caret { opacity: 0.7; transition: transform 0.2s var(--ease); }
.dropdown.is-open .caret,
.dropdown:hover .caret { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: #10141c;
  border: 1px solid var(--gold-line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 90;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  text-decoration: none;
  color: var(--ivory-soft);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  color: var(--gold-bright);
  background: var(--gold-dim);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  background: var(--gold);
  color: var(--ink-on-gold);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  border: 1px solid var(--gold);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn:hover,
.btn:focus-visible {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 1px var(--gold-bright), 0 0 28px rgba(201, 165, 106, 0.35);
  color: var(--ink-on-gold);
}
.btn-gold { /* alias for clarity */ }

.text-link {
  color: var(--ivory-soft);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold-line);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.text-link:hover,
.text-link:focus-visible {
  color: var(--gold-bright);
  border-color: var(--gold);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, #161d32 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(201, 165, 106, 0.07) 0%, transparent 50%),
    var(--bg);
}

.hero-canvas,
.hero-wash,
.hero-sweep {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-canvas { z-index: 0; display: block; }

.hero-wash {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11, 13, 16, 0.15) 0%, rgba(11, 13, 16, 0.2) 55%, rgba(11, 13, 16, 0.85) 100%);
}

.hero-sweep {
  z-index: 2;
  background: linear-gradient(
    105deg,
    transparent 36%,
    rgba(201, 165, 106, 0.09) 50%,
    transparent 64%
  );
  background-size: 220% 100%;
  background-position: 120% 0;
}

.motion .hero-sweep {
  animation: gold-sweep 11s ease-in-out infinite;
}

@keyframes gold-sweep {
  0% { background-position: 120% 0; }
  45% { background-position: -20% 0; }
  100% { background-position: -20% 0; }
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 920px;
  padding: 8vh var(--pad-x) 12vh;
  text-align: center;
}

.kicker {
  margin: 0 0 1.25rem;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

h1, h2, h3 { font-weight: 500; letter-spacing: -0.01em; }

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  line-height: 1.15;
  color: #fff;
}
.hero h1 .line {
  display: block;
}
.hero h1 .word {
  display: inline-block;
}

.lede {
  margin: 1.6rem auto 0;
  max-width: 36em;
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--ivory-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px 28px;
  margin-top: 2.25rem;
}

/* Hero entrance */
.motion .hero h1 .word,
.motion .hero .reveal-hero {
  opacity: 0;
  transform: translateY(22px);
  animation: rise-in 0.95s var(--ease) forwards;
}
.motion .hero h1 .line:nth-child(1) .word:nth-child(1) { animation-delay: 0.12s; }
.motion .hero h1 .line:nth-child(1) .word:nth-child(2) { animation-delay: 0.26s; }
.motion .hero h1 .line:nth-child(2) .word:nth-child(1) { animation-delay: 0.40s; }
.motion .hero h1 .line:nth-child(2) .word:nth-child(2) { animation-delay: 0.54s; }
.motion .hero .reveal-hero[data-hero-delay="0"] { animation-delay: 0.02s; }
.motion .hero .reveal-hero[data-hero-delay="3"] { animation-delay: 0.78s; }
.motion .hero .reveal-hero[data-hero-delay="4"] { animation-delay: 0.98s; }

@keyframes rise-in {
  to { opacity: 1; transform: translateY(0); }
}

.scroll-hint {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--steel);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.scroll-hint i {
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--gold), transparent);
  transform-origin: top;
}
.motion .scroll-hint i {
  animation: scroll-line 2.4s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(0.45); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- Shared sections ---------- */
.section-inner {
  width: 100%;
  max-width: calc(var(--max) + var(--pad-x) * 2);
  margin: 0 auto;
  padding: clamp(72px, 11vh, 128px) var(--pad-x);
}

.section-head { max-width: 40rem; margin-bottom: clamp(36px, 5vh, 64px); }
.section-head h2,
.consult h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.12;
  font-weight: 500;
  color: var(--ivory);
}
.section-head .intro,
.license-line {
  margin: 1rem 0 0;
  color: var(--steel);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 38em;
  line-height: 1.65;
}
.license-line { color: var(--ivory-soft); }

/* ---------- Services ---------- */
.services { background: var(--bg); border-top: 1px solid var(--rule); }

.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 240px;
  padding: 28px 28px 24px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease);
}
.service-card a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(201, 165, 106, 0.16), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.service-card a:hover,
.service-card a:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201, 165, 106, 0.25), 0 12px 48px rgba(201, 165, 106, 0.14);
  transform: translateY(-3px);
}
.service-card a:hover::before,
.service-card a:focus-visible::before { opacity: 1; }

.service-card .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 18px;
}
.service-card h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  line-height: 1.2;
  font-weight: 500;
}
.service-card p {
  margin: 0;
  color: var(--steel);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.6;
  flex: 1 1 auto;
}
.card-link {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.also {
  margin: 28px 0 0;
  color: var(--steel);
  font-size: 0.95rem;
  font-weight: 300;
  max-width: 48em;
}
.also a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-line);
}
.also a:hover { color: var(--gold-bright); }

/* ---------- Why ---------- */
.why {
  background:
    radial-gradient(ellipse 70% 80% at 10% 20%, rgba(201, 165, 106, 0.05), transparent 50%),
    var(--navy);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
}

.why-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.why-cell {
  padding: 8px clamp(0px, 2vw, 28px) 8px 0;
  border-right: 1px solid var(--gold-line);
  padding-left: clamp(0px, 2vw, 36px);
}
.why-cell:first-child { padding-left: 0; }
.why-cell:last-child { border-right: 0; }

.stat {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(3rem, 5.2vw, 4.5rem);
  line-height: 1.15;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.stat-word { letter-spacing: 0; }
.stat-sep {
  font-size: 0.38em;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  margin: 0 0.15em;
  color: var(--gold-bright);
  font-family: var(--sans);
  font-weight: 400;
  vertical-align: middle;
}
.stat-unit {
  font-family: var(--mono);
  font-size: 0.28em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-left: 0.3em;
  color: var(--gold-bright);
  vertical-align: super;
}
.why-cell h3 {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory);
}
.why-cell p:last-child {
  margin: 0;
  color: var(--steel);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.6;
  max-width: 28em;
}

/* ---------- Credentials ---------- */
.credentials { background: var(--bg-deep); }

.badge-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
}

.badge-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 22px;
  background: var(--navy);
  border: 1px solid var(--rule);
  min-height: 200px;
  text-align: center;
}
.badge-card figcaption {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.5;
  max-width: 22em;
}
.badge-card iframe {
  display: block;
  border: 0;
  max-width: 100%;
  background: transparent;
}
.badge-mbe { min-height: 220px; }
.mbe-badge-link {
  display: block;
  line-height: 0;
}
.mbe-badge-link img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}
/* Official Credly widget remains in the document. The third-party iframe
   is clipped so a blocked/403 response cannot break the credentials row. */
.credly-embed,
.badge-mbe iframe {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  border: 0 !important;
  pointer-events: none;
}

.sam-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 24px;
  border: 1px solid var(--gold);
  min-width: min(100%, 280px);
}
.sam-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.sam-codes {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ivory);
  line-height: 1.6;
}

/* ---------- Consult ---------- */
.consult {
  background:
    radial-gradient(ellipse 60% 80% at 90% 50%, rgba(201, 165, 106, 0.08), transparent 55%),
    var(--navy);
  border-top: 1px solid var(--gold-line);
}
.consult .section-inner { padding-top: clamp(64px, 9vh, 100px); padding-bottom: clamp(64px, 9vh, 100px); }
.consult-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px 48px;
}
.consult p { margin: 0.85rem 0 0; color: var(--steel); font-weight: 300; }
.consult .btn { flex: 0 0 auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: #050608;
  border-top: 1px solid var(--gold-line);
  color: var(--steel);
}
.footer-inner {
  width: 100%;
  max-width: calc(var(--max) + var(--pad-x) * 2);
  margin: 0 auto;
  padding: 36px var(--pad-x);
  display: flex;
  align-items: center;
  gap: 20px 32px;
  flex-wrap: wrap;
}
.footer-logo .logo { height: 44px; max-width: 84px; }
.footer-contact {
  margin: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--ivory-soft);
}
.footer-contact a {
  text-decoration: none;
  color: inherit;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-contact a:hover,
.footer-contact a:focus-visible { color: var(--gold-bright); }
.footer-contact .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}
.footer-copy {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--steel-2);
  white-space: nowrap;
}

/* ---------- Scroll reveal ---------- */
.motion.js-reveal .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.motion.js-reveal .reveal.is-in,
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-sweep,
  .scroll-hint i,
  .hero h1 .word,
  .reveal-hero,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    background-position: 50% 0;
  }
  .service-card a:hover { transform: none; }
}

.reduce-motion .hero-sweep { background-position: 50% 0; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .logo { height: 52px; max-width: 96px; }

  .menu-toggle { display: flex; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 12px var(--pad-x) 32px;
    background: #0b0d10;
    overflow-y: auto;
    z-index: 70;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0.35s;
  }
  body.is-open .site-nav {
    transform: none;
    visibility: visible;
  }
  .site-nav > a,
  .dropdown-toggle {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 0;
    font-size: 15px;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--rule);
    width: 100%;
    text-align: left;
    justify-content: space-between;
  }
  .site-nav > a.btn-nav {
    margin-top: 20px;
    width: 100%;
    justify-content: center;
    border-bottom: 0;
    text-transform: none;
    letter-spacing: 0.03em;
    font-size: 15px;
    background: var(--gold);
    color: var(--ink-on-gold);
  }
  .dropdown-menu {
    position: static;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    display: none;
    padding: 0 0 8px 12px;
    transition: none;
  }
  .dropdown.is-open .dropdown-menu { display: block; }
  .dropdown:hover .dropdown-menu { display: none; }
  .dropdown.is-open:hover .dropdown-menu { display: block; }
  .dropdown-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 8px 0;
    letter-spacing: 0.06em;
  }

  .service-grid,
  .why-grid,
  .badge-grid {
    grid-template-columns: 1fr;
  }
  .why-cell {
    border-right: 0;
    border-bottom: 1px solid var(--gold-line);
    padding: 28px 0;
  }
  .why-cell:first-child { padding-top: 0; }
  .why-cell:last-child { border-bottom: 0; padding-bottom: 0; }

  .badge-mbe { min-height: 220px; }

  .consult-inner { flex-direction: column; align-items: flex-start; }
  .footer-contact { margin-left: auto; }
  .footer-copy { width: 100%; }
  .hero-inner { padding-top: 6vh; padding-bottom: 14vh; }
  .scroll-hint { bottom: 18px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(2.25rem, 11vw, 3rem); }
  .service-card a { padding: 22px 20px; min-height: 0; }
  .badge-card { padding: 22px 16px; }
  .badge-card iframe { transform: scale(0.92); transform-origin: top center; }
}

/* No horizontal scroll from iframe / canvas */
iframe { max-width: 100%; }

html.is-open, body.is-open { overflow: hidden; }
