/* SkillPilot Advisory — refined enterprise aesthetic
   Inter · cream / gold / peach / ink · enterprise only */

:root {
  --sp-gold: #B58A3C;
  --sp-honey: #D9B86A;
  --sp-peach: #F4C8A8;
  --sp-coral: #F2A87E;
  --sp-cream: #FBF7F1;
  --sp-paper: #FFFFFF;
  --sp-line: #EEE3CE;
  --sp-ink: #3A2E26;
  --sp-ink-soft: #6B5A4D;
  --sp-shadow: 0 10px 40px rgba(58, 46, 38, 0.06);
  --sp-shadow-lg: 0 18px 50px rgba(58, 46, 38, 0.10);
  --sp-radius: 18px;
  --sp-radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  max-width: 100%;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  background:
    radial-gradient(1200px 520px at 12% -10%, rgba(244, 200, 168, 0.35), transparent 60%),
    radial-gradient(900px 480px at 100% 8%, rgba(181, 138, 60, 0.10), transparent 55%),
    var(--sp-cream);
  color: var(--sp-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas, iframe { max-width: 100%; height: auto; }
a { color: var(--sp-gold); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--sp-honey); }
.shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; max-width: 100%; }
@media (max-width: 520px) {
  .shell { width: calc(100% - 28px); }
}

/* ——— Nav ——— */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 247, 241, 0.88);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid rgba(238, 227, 206, 0.9);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 84px; gap: 28px; padding: 12px 0;
}
.brand {
  display: flex; align-items: center; gap: 14px; color: var(--sp-ink);
  min-width: 0;
}
.brand:hover { color: var(--sp-ink); }
.brand .mark {
  height: 40px; width: auto; display: block; flex: 0 0 auto;
  filter: drop-shadow(0 2px 6px rgba(181, 138, 60, 0.18));
}
.brand-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.brand-name {
  font-size: 18px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
}
.brand-tagline {
  font-size: 10px; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--sp-gold); white-space: nowrap;
}
.nav-links {
  display: flex; gap: 28px; font-size: 13px; font-weight: 500;
  color: var(--sp-ink-soft);
}
.nav-links a {
  color: inherit; position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1.5px; background: var(--sp-gold); transform: scaleX(0);
  transform-origin: left; transition: transform .22s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current="page"] { color: var(--sp-ink); }

/* ——— Buttons ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 13px 22px; font-weight: 600; font-size: 13px;
  border: 1px solid transparent; font-family: inherit; cursor: pointer;
  letter-spacing: 0.01em; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(180deg, #C49A4A 0%, var(--sp-gold) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(181, 138, 60, 0.28);
}
.btn-primary:hover {
  background: linear-gradient(180deg, var(--sp-honey) 0%, #C49A4A 100%);
  color: var(--sp-ink);
  box-shadow: 0 10px 24px rgba(181, 138, 60, 0.32);
}
.btn-ghost {
  border-color: var(--sp-line); color: var(--sp-ink); background: rgba(255,255,255,0.72);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  border-color: var(--sp-gold); color: var(--sp-gold);
  background: var(--sp-paper);
}

/* ——— Type ——— */
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sp-gold); margin: 0 0 16px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 18px; height: 1.5px; background: var(--sp-gold);
  display: inline-block;
}
h1 {
  font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; letter-spacing: -0.035em;
  line-height: 1.08; margin: 0 0 18px;
}
h1 em { font-style: normal; color: var(--sp-gold); }
h2 {
  font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.15; margin: 0 0 14px;
}
h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 10px; }
.lead {
  font-size: 18px; color: var(--sp-ink-soft); margin: 0 0 32px;
  max-width: 44ch; line-height: 1.55;
}
.section-lead {
  color: var(--sp-ink-soft); max-width: 54ch; margin: 0 0 36px;
  font-size: 16px; line-height: 1.6;
}

/* ——— Hero ——— */
.hero {
  padding: 80px 0 72px;
  position: relative;
}
.page-hero {
  padding: 72px 0 48px;
  position: relative;
}
.page-hero .lead { max-width: 58ch; }
/* hero-grid redefined below */
.hero-actions, .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row { justify-content: center; }

/* ——— Cards ——— */
.proof-card {
  background: linear-gradient(165deg, #FFFFFF 0%, #FFF9F3 100%);
  border: 1px solid rgba(238, 227, 206, 0.95);
  border-left: 3px solid var(--sp-gold);
  border-radius: var(--sp-radius);
  padding: 28px 26px;
  box-shadow: var(--sp-shadow);
  position: relative;
  overflow: visible;
}
.proof-card::before { display: none; }
.proof-card .label {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sp-gold); margin-bottom: 20px;
}
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric {
  background: rgba(251, 247, 241, 0.9);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-sm);
  padding: 14px 14px 12px;
}
.metric .num {
  font-size: 30px; font-weight: 800; letter-spacing: -0.04em;
  color: var(--sp-ink); line-height: 1.1;
}
.metric .lbl { font-size: 12px; color: var(--sp-ink-soft); margin-top: 4px; font-weight: 500; }
.proof-note { margin-top: 18px; font-size: 13px; color: var(--sp-ink-soft); line-height: 1.5; }

/* ——— Sections ——— */
.band { padding: 80px 0; }
.band-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.92) 100%);
  border-top: 1px solid var(--sp-line);
  border-bottom: 1px solid var(--sp-line);
}

.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stage {
  background: var(--sp-paper);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-sm);
  padding: 24px 18px 22px;
  box-shadow: 0 4px 18px rgba(58, 46, 38, 0.03);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}
.stage:hover {
  transform: translateY(-3px);
  box-shadow: var(--sp-shadow);
  border-color: rgba(181, 138, 60, 0.35);
}
.stage .n {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 24px; padding: 0 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  color: var(--sp-gold); margin-bottom: 14px;
  background: rgba(181, 138, 60, 0.10);
  border-radius: 999px;
}
.stage h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.stage p { margin: 0; font-size: 13.5px; color: var(--sp-ink-soft); line-height: 1.5; }
.stage .when {
  margin-top: 16px; padding-top: 12px;
  border-top: 1px solid var(--sp-line);
  font-size: 11px; font-weight: 600; color: var(--sp-gold); letter-spacing: .04em;
}

.stage-detail {
  background: var(--sp-paper);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  padding: 32px 28px;
  margin-bottom: 18px;
  box-shadow: 0 6px 24px rgba(58, 46, 38, 0.04);
  position: relative;
}
.stage-detail::before {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--sp-gold), var(--sp-peach));
}
.band-alt .stage-detail {
  background: linear-gradient(165deg, #FFFCF8 0%, var(--sp-cream) 100%);
}
.stage-detail .n,
.stage-detail .meta {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--sp-gold); margin: 0 0 12px;
}
.stage-detail h3 { margin: 0 0 12px; font-size: 23px; font-weight: 700; letter-spacing: -0.02em; }
.stage-detail p { margin: 0 0 14px; color: var(--sp-ink-soft); font-size: 15.5px; line-height: 1.6; }
.stage-detail .when {
  font-size: 12px; font-weight: 600; color: var(--sp-gold); margin-top: 10px;
  letter-spacing: .03em;
}
.stage-detail .bullets { margin-top: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.bullets { margin: 0; padding-left: 18px; color: var(--sp-ink-soft); }
.bullets li { margin-bottom: 12px; line-height: 1.55; padding-left: 4px; }
.bullets li::marker { color: var(--sp-gold); }

.case {
  background: linear-gradient(160deg, #3A2E26 0%, #4A3A30 100%);
  color: var(--sp-cream);
  border-radius: var(--sp-radius);
  padding: 28px 26px;
  box-shadow: var(--sp-shadow-lg);
  position: relative;
  overflow: visible;
}
.case::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,200,168,0.22), transparent 70%);
}
.case .tag {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sp-honey); margin-bottom: 12px;
}
.case h3 { margin: 0 0 12px; font-size: 21px; color: var(--sp-cream); letter-spacing: -0.02em; }
.case p { margin: 0 0 18px; color: rgba(251,247,241,.80); font-size: 14.5px; line-height: 1.55; }
.case .result {
  font-size: 24px; font-weight: 800; color: var(--sp-peach);
  letter-spacing: -0.02em;
}

/* ——— CTA ——— */
.cta {
  background:
    linear-gradient(180deg, rgba(251,247,241,0.2) 0%, rgba(244,200,168,0.45) 100%);
  text-align: center; padding: 88px 0;
  border-top: 1px solid var(--sp-line);
  position: relative;
}
.cta .shell {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(238,227,206,0.9);
  border-radius: 24px;
  padding: 48px 36px;
  box-shadow: var(--sp-shadow);
  backdrop-filter: blur(8px);
}
.cta .section-lead { margin-left: auto; margin-right: auto; }

/* ——— Form ——— */
.contact-form {
  background: var(--sp-paper);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  padding: 36px 32px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--sp-shadow);
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 12px; font-weight: 600;
  letter-spacing: .04em; color: var(--sp-ink); margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--sp-line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  color: var(--sp-ink);
  background: var(--sp-cream);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sp-gold);
  background: var(--sp-paper);
  box-shadow: 0 0 0 3px rgba(181, 138, 60, 0.15);
}
.form-group textarea { min-height: 128px; resize: vertical; }
.form-actions { margin-top: 10px; }
.form-note { font-size: 12px; color: var(--sp-ink-soft); margin-top: 16px; text-align: center; }

/* ——— Footer ——— */
footer {
  border-top: 1px solid var(--sp-line);
  padding: 32px 0; font-size: 13px; color: var(--sp-ink-soft);
  background: rgba(255,255,255,0.35);
}
.footer-inner {
  display: flex; justify-content: space-between; gap: 18px;
  flex-wrap: wrap; align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 22px; width: auto; opacity: 0.9; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--sp-ink-soft); }
.footer-links a:hover { color: var(--sp-gold); }

@media (max-width: 720px) {
  .hero-grid, .stages, .split { grid-template-columns: 1fr; }
  .brand-tagline { white-space: normal; }
  /* nav-links hidden via mobile nav block */
  .hero, .band, .page-hero { padding-top: 56px; padding-bottom: 56px; }
  .cta .shell { padding: 36px 22px; }
  .stage-detail { padding: 26px 22px 26px 26px; }
}


/* Hero grids — home + inner pages (force two columns on desktop) */
.hero-grid,
.page-hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) !important;
  gap: 40px 48px;
  align-items: center;
}
.hero-grid > div,
.page-hero-grid > div {
  min-width: 0;
}
.hero-grid .lead,
.page-hero-grid .lead {
  margin-bottom: 0;
  max-width: 48ch;
}
.hero-panel {
  background: linear-gradient(165deg, #FFFFFF 0%, #FFF8F0 100%);
  border: 1px solid rgba(238, 227, 206, 0.95);
  border-left: 3px solid #B58A3C;
  border-radius: 18px;
  padding: 28px 24px 24px;
  box-shadow: 0 14px 40px rgba(58, 46, 38, 0.08);
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.hero-panel::before { display: none; }
.hero-panel .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #B58A3C;
  margin: 0 0 18px;
}
.panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  flex: 1;
}
.panel-list li {
  padding: 14px 14px 12px;
  border: 1px solid #EEE3CE;
  border-radius: 12px;
  background: rgba(251, 247, 241, 0.95);
  display: grid;
  gap: 4px;
}
.panel-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #B58A3C;
}
.panel-list strong {
  font-size: 15px;
  font-weight: 700;
  color: #3A2E26;
  letter-spacing: -0.015em;
}
.panel-meta {
  font-size: 12px;
  color: #6B5A4D;
}
.panel-link {
  display: inline-flex;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: #B58A3C;
}
.panel-link:hover { color: #D9B86A; }

@media (max-width: 900px) {
  .hero-grid,
  .page-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }
}

/* Solid right-column hero panel */
.hero-panel-ink {
  background: linear-gradient(165deg, #3A2E26 0%, #4A3A30 100%) !important;
  border: none !important;
  color: #FBF7F1;
  box-shadow: 0 18px 50px rgba(58, 46, 38, 0.18) !important;
}
.hero-panel-ink::before {
  background: linear-gradient(180deg, #D9B86A, #F4C8A8) !important;
}
.hero-panel-ink .label { color: #D9B86A !important; }
.hero-panel-ink .panel-list li {
  background: rgba(251, 247, 241, 0.08) !important;
  border-color: rgba(238, 227, 206, 0.22) !important;
}
.hero-panel-ink .panel-kicker { color: #D9B86A !important; }
.hero-panel-ink .panel-list strong { color: #FBF7F1 !important; }
.hero-panel-ink .panel-meta { color: rgba(251, 247, 241, 0.72) !important; }
.hero-panel-ink .panel-link { color: #F4C8A8 !important; }
.hero-panel-ink .panel-link:hover { color: #D9B86A !important; }

.page-hero .shell.hero-grid {
  width: min(1120px, calc(100% - 48px));
}

/* ——— Mobile nav toggle + dropdown ——— */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--sp-line);
  border-radius: 12px;
  background: var(--sp-paper);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--sp-ink);
  border-radius: 1px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-menu {
  display: none;
  border-top: 1px solid var(--sp-line);
  background: rgba(251, 247, 241, 0.98);
  backdrop-filter: blur(12px);
  padding: 12px 0 20px;
}
.mobile-menu[hidden] { display: none !important; }
.mobile-menu nav {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  gap: 6px;
}
.mobile-menu a {
  display: block;
  padding: 14px 12px;
  border-radius: 12px;
  color: var(--sp-ink);
  font-weight: 600;
  font-size: 15px;
}
.mobile-menu a:hover,
.mobile-menu a[aria-current="page"] {
  background: rgba(181, 138, 60, 0.10);
  color: var(--sp-ink);
}
.mobile-menu-cta {
  margin-top: 8px;
  text-align: center;
}

/* Mobile / tablet: hamburger replaces header Book CTA */
@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .nav-cta,
  .nav-inner > a.btn,
  .nav-inner > .btn-primary {
    display: none !important;
  }
  .nav-toggle { display: inline-flex !important; }
  .mobile-menu:not([hidden]) { display: block !important; }
  .brand-tagline { display: none !important; }
  .nav-inner { min-height: 68px; gap: 12px; }
  .brand .mark { height: 32px; }
  .brand-name { font-size: 16px; }
}


/* === MOBILE NAV FIX (force) === */
@media (max-width: 900px) {
  header.nav .nav-links { display: none !important; }
  header.nav a.nav-cta,
  header.nav .nav-inner > a.btn-primary,
  header.nav .nav-inner > a.btn {
    display: none !important;
  }
  header.nav .nav-toggle {
    display: inline-flex !important;
  }
  header.nav .mobile-menu:not([hidden]) {
    display: block !important;
  }
}


/* ——— Home news ticker (hero slot) — vertical, no text clip ——— */
.news-ticker-card {
  background: linear-gradient(165deg, #FFFFFF 0%, #FFF9F3 100%);
  border: 1px solid rgba(238, 227, 206, 0.95);
  border-left: 3px solid var(--sp-gold);
  border-radius: var(--sp-radius);
  padding: 24px 22px 20px;
  box-shadow: var(--sp-shadow);
  position: relative;
  overflow: visible;
  min-height: 0;
  height: auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
}
.news-ticker-card::before { display: none; }
.news-ticker-card .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sp-gold);
  margin-bottom: 14px;
}
.news-ticker {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}
.news-ticker-viewport {
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-height: 280px;
  height: auto;
  min-height: 180px;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-sm);
  background: rgba(251, 247, 241, 0.95);
  /* no mask — masks were clipping titles */
  mask-image: none;
  -webkit-mask-image: none;
}
.news-ticker-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  animation: sp-ticker-up 32s linear infinite;
  will-change: transform;
}
.news-ticker-track:hover,
.news-ticker-viewport:hover .news-ticker-track {
  animation-play-state: paused;
}
a.news-ticker-item {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border-bottom: 1px solid var(--sp-line);
  color: var(--sp-ink);
  text-decoration: none;
  background: transparent;
  flex-shrink: 0;
  white-space: normal;
  overflow: visible;
}
a.news-ticker-item:hover,
a.news-ticker-item:focus-visible {
  background: rgba(181, 138, 60, 0.08);
  outline: none;
}
a.news-ticker-item .nt-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--sp-ink);
  margin: 0 0 6px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
a.news-ticker-item:hover .nt-title {
  color: var(--sp-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a.news-ticker-item .nt-source {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sp-ink-soft);
  margin: 0;
  white-space: normal;
}
.news-ticker-more {
  color: var(--sp-gold);
  font-weight: 600;
  text-decoration: none;
}
.news-ticker-more:hover { text-decoration: underline; }
.metrics-wide { grid-template-columns: repeat(4, 1fr); }
.results-strip .metrics { margin-top: 8px; }
@keyframes sp-ticker-up {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .news-ticker-track { animation: none; }
}

/* === MOBILE / PHONE POLISH (~375px) === */
@media (max-width: 900px) {
  .stages {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px;
  }
  .metrics-wide {
    grid-template-columns: 1fr 1fr !important;
  }
  .hero h1,
  .page-hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.55rem);
    letter-spacing: -0.03em;
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }
  .lead, .section-lead, .proof-note, p {
    overflow-wrap: anywhere;
  }
  .hero-actions,
  .btn-row {
    width: 100%;
  }
  .hero-actions .btn,
  .cta .btn-row .btn {
    width: 100%;
    justify-content: center;
  }
  .news-ticker-card {
    min-height: 0;
    height: auto;
    overflow: visible;
    width: 100%;
    max-width: 100%;
    padding: 18px 16px 16px;
  }
  .news-ticker-viewport {
    max-height: 260px;
    min-height: 160px;
    height: auto;
    overflow-y: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .news-ticker-track {
    animation: none; /* phone: static scrollable list — no clipped marquee */
  }
  a.news-ticker-item {
    padding: 12px 14px;
  }
  a.news-ticker-item .nt-title {
    font-size: 14px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .band, .hero, .page-hero {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .proof-card, .case, .stage, .news-item {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .stages {
    grid-template-columns: 1fr !important;
  }
  .nav-inner {
    min-height: 60px;
    padding: 8px 0;
  }
  .brand-name {
    font-size: 15px;
  }
  .mobile-menu nav {
    width: calc(100% - 28px);
  }
  .page-hero .shell.hero-grid,
  .cta .shell {
    width: calc(100% - 28px);
  }
  .news-ticker-viewport {
    max-height: 240px;
    min-height: 140px;
    height: auto;
  }
  .metric .num {
    font-size: 26px;
  }
  /* Prefer readable stack over tiny 4-up */
  .form-grid, .contact-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Forms — full width on phone */
@media (max-width: 720px) {
  form input,
  form textarea,
  form select,
  .form input,
  .form textarea,
  .form select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .form-row,
  .form-grid {
    grid-template-columns: 1fr !important;
  }
}


/* === NO CLIP TEXT === */
.proof-card,
.hero-panel,
.news-ticker-card,
.case,
.stage,
.stage-detail,
.news-item,
.cta .shell {
  overflow: visible;
  min-height: 0;
  height: auto;
  max-width: 100%;
}
.proof-card *,
.hero-panel *,
.news-ticker-card *,
.stage *,
.news-item * {
  overflow-wrap: anywhere;
  word-break: break-word;
}
/* keep ticker viewport as the only intentional scroll region */
.news-ticker-viewport {
  overflow-x: hidden;
  overflow-y: auto;
}
