/* Exported CSS for page: Home (home) */

/* ---------------- CORE THEME ---------------- */
:root {
  --bg: #ffffff;
  --bg-soft: #faf8f4;
  --text: #1a1a1a;
  --muted: #666666;
  --gold: #c5a572;
  --gold-dark: #b08d57;
  --border-soft: #e5e5e5;
  --silver: #d2d4de;
  --max-width: 1100px;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip; /* prevents sideways scroll without “clipping” content incorrectly */
}

/* Fallback for older browsers */
@supports not (overflow-x: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------------- LAYOUT ---------------- */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------------- STICKY STACK (NAV + TRUST STRIP) ---------------- */
/* Wrap <header.nav> + <section.trust-strip> inside <div class="sticky-stack"> */
.sticky-stack {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Disable sticky stack on mobile */
@media (max-width: 768px) {
  .sticky-stack {
    position: static;
    top: auto;
  }
}

/* ---------------- NAV ---------------- */
.nav {
  /* nav is no longer sticky itself (sticky-stack handles it) */
  position: relative;
  top: auto;

  background: #0b0b0f; /* deep near-black */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 50;
  color: #f8f8f8;
  overflow: visible;
  isolation: isolate; /* ensures pseudo-lines can't overlay nav content */
}

.nav::before,
.nav::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 4px; /* thick at the edge */
  width: clamp(0px, calc((100vw - var(--max-width)) / 2 + 1.5rem - 24px), 260px);
  background: linear-gradient(to right, rgba(197, 165, 114, 0.95), rgba(197, 165, 114, 0));
  clip-path: polygon(0 0, 100% 35%, 100% 65%, 0 100%);
  opacity: 0.9;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0; /* behind nav-inner */
}

.nav::before {
  left: 0;
}

.nav::after {
  right: 0;
  transform: translateY(-50%) scaleX(-1);
}

.nav-inner {
  position: relative;
  z-index: 1; /* keeps logo/links/buttons above the lines */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 0;
}

/* You can remove these spans from HTML later — for now, hide them everywhere */
.nav-rule,
.nav-spacer {
  display: none !important;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;

  cursor: pointer;
  border-radius: 14px;
  padding: 0.35rem 0.55rem;
  margin-left: -0.55rem; /* keeps alignment visually the same */
  transition: transform 0.2s ease, background 0.2s ease;

  /* ✅ Critical: allow the brand block to shrink instead of overflowing */
  min-width: 0;
}

.nav-brand:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-1px);
}

.nav-brand:hover .nav-company {
  color: var(--gold);
}

.nav-brand:hover .nav-tagline {
  color: rgba(248, 248, 248, 0.85);
}

.nav-brand:hover .nav-logo-wrap {
  box-shadow: 0 0 0 2px rgba(197, 165, 114, 0.15), 0 14px 30px rgba(0, 0, 0, 0.25);
}

/* keyboard accessibility */
.nav-brand:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.nav-logo-wrap {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050506;
}

.nav-logo {
  width: 80%;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

.nav-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;

  /* ✅ Critical: allow text to shrink inside flex */
  min-width: 0;
}

.nav-company {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-tagline {
  font-size: 0.8rem;
  color: rgba(248, 248, 248, 0.7);
  white-space: nowrap;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-links a.is-active {
  color: var(--gold);
}

.nav-links a.is-active::after {
  width: 100%;
}

.nav a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* CTA buttons in nav */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.55rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--gold);

  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  line-height: 1;

  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

/* subtle vertical offset for optical centering */
.nav-cta span {
  position: relative;
  top: -2px;
}

.nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0b0b0f;
  transform: translateY(-1px);
}

/* Client portal – silver variant of nav-cta */
.nav-cta-secondary {
  position: relative;
  border-color: rgba(212, 216, 227, 0.95);
  color: #e9ebf4;
  background: transparent;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* Tooltip bubble */
.nav-cta-secondary::after {
  content: "COMING SOON!";
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%) translateY(-4px);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.7rem;
  white-space: nowrap;

  background: #eef1f8;
  color: #1a1a1a;
  border: 1px solid var(--silver);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
}

.nav-cta-secondary::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%) translateY(-4px);
  border-width: 0 6px 6px 6px;
  border-style: solid;
  border-color: transparent transparent #eef1f8 transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 59;
}

.nav-cta-secondary:hover::after,
.nav-cta-secondary:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.nav-cta-secondary:hover {
  background: var(--silver);
  border-color: var(--silver);
  color: #0b0b0f;
  transform: translateY(-1px);
}

/* tighten space between consecutive CTAs (Start / Client portal) */
.nav-cta + .nav-cta {
  margin-left: -1.2rem;
}

/* Mobile nav toggle button (hamburger) */
.nav-toggle {
  display: none; /* enabled via media query below */
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(197, 165, 114, 0.55);
  background: rgba(255, 255, 255, 0.03);
  color: #f8f8f8;
  cursor: pointer;
  flex: 0 0 auto;
  margin-left: auto; /* keeps it on the far right */
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Hamburger icon */
.nav-toggle-icon {
  position: relative;
  width: 18px;
  height: 2px;
  background: #f8f8f8;
  display: block;
  border-radius: 2px;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #f8f8f8;
  border-radius: 2px;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

/* Dropdown panel */
.nav-mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;

  background: #0b0b0f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  z-index: 60;

  /* ✅ guarantees breathing room under the last button */
  padding-bottom: calc(14px + env(safe-area-inset-bottom));
}

.nav-mobile-inner {
  padding: 0.65rem 0 1.55rem; /* ✅ more space at bottom */
  display: grid;
  gap: 0.35rem;
}

.nav-mobile a {
  display: block;
  padding: 0.38rem 0.35rem; /* ✅ tighter */
  color: rgba(248, 248, 248, 0.92);
  border-radius: 12px;
  line-height: 1.15; /* ✅ reduces perceived height */
}

.nav-mobile a:hover {
  background: rgba(255, 255, 255, 0.04);
}

.nav-mobile-actions {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.6rem;
}

.nav-mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 165, 114, 0.85);
  background: rgba(197, 165, 114, 0.08);
  color: #f8f8f8;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.nav-mobile-cta:hover {
  background: rgba(197, 165, 114, 0.18);
}

.nav-mobile-cta-secondary {
  border-color: rgba(210, 212, 222, 0.75);
  background: rgba(210, 212, 222, 0.08);
}

.nav-mobile-soon {
  margin-left: 0.5rem;
  font-size: 0.7rem;
  opacity: 0.75;
  text-transform: none;
  letter-spacing: 0;
}

@media (max-width: 900px) {
  /* ✅ Keep ONLY the primary CTA visible (hide normal links) */
  .nav-links {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-left: auto;
    flex: 0 0 auto;
  }

  /* Hide Services/About/Work/Contact etc */
  .nav-links > a:not(.nav-cta) {
    display: none;
  }

  /* Optional: hide the “Client portal” CTA on tablet */
  .nav-links .nav-cta-secondary {
    display: none;
  }

  /* Slightly tighten the CTA so it fits better */
  .nav-cta {
    padding: 0.55rem 1.25rem;
    font-size: 0.72rem;
  }

  .nav-toggle {
    display: inline-flex;
    width: 53px;
    height: 53px;
  }

  .nav-toggle-icon {
    width: 22px;
  }
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    width: 22px;
  }
  .nav-toggle-icon::before {
    top: -7px;
  }
  .nav-toggle-icon::after {
    top: 7px;
  }

  .nav-inner {
    justify-content: space-between;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 1rem;
  }

  /* Prevent tiny overflow on mobile (often from the gold nav lines / vw math) */
  .nav::before,
  .nav::after {
    display: none;
  }

  /* Drop header CTA from this point down */
  .nav-links {
    display: none !important;
  }

  /* Centered stage */
  .nav-inner {
    position: relative;
    justify-content: center;
    padding: 0.9rem 0;
  }

  /* Brand spans full width so text can truly center */
  .nav-brand {
    margin-left: 0;
    padding: 0.2rem 0;
    width: 100%;
    justify-content: center;
    gap: 0;
  }

  /* Pin logo left */
  .nav-logo-wrap {
    width: 52px;
    height: 52px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  /* Pin hamburger right */
  .nav-toggle {
    width: 52px;
    height: 52px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
  }

  /* Give the text the FULL usable space between logo + hamburger */
  .nav-text {
    width: 100%;
    align-items: center;
    text-align: center;

    /* Use padding instead of a tight max-width (this is what was forcing ellipsis) */
    padding: 0 56px; /* leaves room for 52px icon + a little breathing space */
    margin: 0 auto;
  }

  .nav-company {
    font-size: 0.88rem;
    letter-spacing: 0.22em;
    width: 100%;
    line-height: 1.1;
    text-align: center;
  }

  .nav-tagline {
    font-size: 0.75rem;
    width: 100%;
    text-align: center;

    /* never more than 2 lines */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* fixes the VSCode “standard property” warning */
    overflow: hidden;

    white-space: normal;
    line-height: 1.25;
    max-height: calc(1.25em * 2);
    margin: 0.05rem auto 0;
  }

  .nav-toggle-icon {
    width: 20px;
  }
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    width: 20px;
  }
  .nav-toggle-icon::before {
    top: -7px;
  }
  .nav-toggle-icon::after {
    top: 7px;
  }

  /* Extra safety: make sure nothing in hero creates sideways scroll */
  .hero-kicker,
  .hero-title,
  .hero-text {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* ---------------- TRUST STRIP ---------------- */
.trust-strip {
  background: linear-gradient(
    90deg,
    rgba(201, 164, 106, 0.78),
    rgba(201, 164, 106, 0.62),
    rgba(201, 164, 106, 0.78)
  );

  padding: 6px 0;

  border-top: 1px solid rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 78px;
  flex-wrap: wrap;
  row-gap: 10px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: rgba(10, 10, 14, 0.92);
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.trust-item strong {
  color: rgba(10, 10, 14, 1);
  font-weight: 700;
}

.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;

  background: rgba(10, 10, 14, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

/* ---------------- HERO ---------------- */
.hero {
  /* tighter above-the-fold now that the trust strip exists */
  padding: 3.25rem 0 4.25rem;
}

@media (max-width: 880px) {
  .hero {
    padding: 2.5rem 0 3.25rem;
  }
}

.hero-home {
  position: relative;
  overflow: hidden;
  padding-bottom: 4rem;
}

/* anchor watermark */
.hero-home::before {
  content: "";
  position: absolute;
  left: 19.25%;
  top: 34%;
  transform: translateY(-50%);
  width: 280px;
  height: 280px;
  background: url("images/logo-simplified.png") no-repeat center / contain;
  opacity: 0.15;
  pointer-events: none;
}

/* wordmark watermark ("STREAMLINED") */
.hero-home::after {
  content: "";
  position: absolute;
  left: 15.5%;
  top: 63%;
  transform: translateY(-50%);
  width: 420px;
  height: 120px;
  background: url("images/logo-watermark.png") no-repeat center / contain;
  opacity: 0.15;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3.25rem;
  align-items: center;

  /* ✅ hard stop for any layout widening */
  width: 100%;
  max-width: 100%;
}

/* ✅ critical: allow grid children to shrink instead of forcing overflow */
.hero-grid > * {
  min-width: 0;
}

.hero-kicker {
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: "SF Pro Display", system-ui;
  font-weight: 300;
  font-size: clamp(2rem, 3vw + 1rem, 2.8rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  max-width: 22ch;
}

.hero-highlight {
  color: var(--gold-dark);
}

.hero-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

.hero-footnote {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.6);
  max-width: 32rem;
}
/* ---------------- LATEST LAUNCH (Hero proof card) ---------------- */
.latest-launch {
  margin-top: 1.25rem;

  /* ✅ critical: don’t shrink-to-fit when parent is align-items:center */
  width: 100%;
  max-width: 34rem;

  /* ✅ center the whole module consistently */
  margin-left: auto;
  margin-right: auto;
}

.latest-launch-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.latest-launch-card {
  display: flex;
  gap: 0.9rem;
  align-items: center;

  /* ✅ ensure it uses the full centered module width */
  width: 100%;

  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(250, 248, 244, 0.7); /* soft premium */
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.05);

  padding: 0.75rem 0.9rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.latest-launch-card:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 165, 114, 0.55);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.08);
}

.latest-launch-thumb {
  width: 78px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  flex: 0 0 auto;
}

.latest-launch-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.latest-launch-meta {
  min-width: 0; /* enables truncation */
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.latest-launch-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.latest-launch-sub {
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.latest-launch-cta {
  margin-top: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.latest-launch-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 165, 114, 0.55);
  background: rgba(197, 165, 114, 0.12);
  color: rgba(90, 64, 28, 0.95);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.latest-launch-arrow {
  color: rgba(90, 64, 28, 0.9);
  font-size: 1rem;
  transform: translateY(-1px);
}

/* Center nicely on mobile when hero becomes centered */
@media (max-width: 880px) {
  .latest-launch {
    margin-left: auto;
    margin-right: auto;
  }

  .latest-launch-card {
    justify-content: flex-start;
    text-align: left; /* keep the card readable */
  }
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* ✅ Make the whole left column a centered stack */
  .hero-grid > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-kicker,
  .hero-title,
  .hero-text,
  .hero-footnote {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  /* Keep decorative watermarks from creating horizontal overflow */
  .hero-home::before {
    left: 50%;
    top: 14%;
    transform: translate(-50%, -50%);
    width: min(320px, 78vw);
    height: min(320px, 78vw);
    opacity: 0.05;
  }

  .hero-home::after {
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    width: min(420px, 92vw);
    height: 120px;
    opacity: 0.05;
  }
}

/* ---------------- BUTTONS ---------------- */
.btn {
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border-color: var(--text);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateY(-1px);
}

/* ---------------- SIDE PANEL ---------------- */
.hero-side-panel {
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);

  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;

  min-height: 420px;

  /* ✅ “cut the top off” visually */
  margin-top: 16px; /* move the whole box down */
  padding: 2.35rem 2.15rem; /* keep your side padding */
  padding-top: calc(2.35rem - 16px); /* reduce top padding by same amount */
}

@media (max-width: 880px) {
  .hero-side-panel {
    margin-top: 0; /* don’t do the cut on stacked layout */
    min-height: auto;
    padding: 2rem 1.6rem;
  }
}

.hero-side-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.hero-side-list {
  list-style: none;
  padding: 0;
  margin: 0;

  display: grid;
  gap: 1.05rem; /* more vertical spacing */
  font-size: 0.95rem;
  line-height: 1.75; /* makes it feel premium, less cramped */
}

.hero-side-list li {
  padding: 0.15rem 0; /* tiny extra breathing room */
}

.hero-side-list li::before {
  content: "—";
  color: var(--gold);
  margin-right: 0.65rem;
}

.hero-side-link {
  display: inline-block;
  margin-top: 2.2rem; /* pushes it down so panel feels less bunched */
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
}

.hero-side-link:hover {
  border-bottom-color: var(--gold);
}

/* ---------------- SECTIONS ---------------- */
section {
  padding: 3.5rem 0;
}

.section-header {
  margin-bottom: 2rem;
}

.section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
/* Latest launch SECTION heading (keeps the dot centered with the text) */
.latest-launch > .latest-launch-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(26, 26, 26, 0.9);

  margin-top: 1.6rem;
  margin-bottom: 0.85rem;

  /* key change: the heading becomes a centered inline-flex "chip" */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  /* remove the old left-offset */
  padding-left: 0;
}

.latest-launch > .latest-launch-title::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 165, 114, 0.18);

  /* no absolute positioning */
  display: inline-block;
}

.section-title {
  font-size: 1.5rem;
}

.section-lead {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 32rem;
}

.section-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  align-items: stretch;
}

@media (max-width: 960px) {
  .section-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .section-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Make the clickable wrapper and card fill the grid cell height */
.section-grid-3 .card-link-wrapper {
  height: 100%;
  display: flex;
}

.section-grid-3 .card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Make entire cards clickable */
.card-link-wrapper {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-link-wrapper .card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card-link-wrapper:hover .card {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* ---------------- CARDS ---------------- */
.card {
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  padding: 1.4rem 1.4rem 1.6rem;
}

.card-tag {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.55rem;
}

.card-title {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.card-body {
  font-size: 0.93rem;
  color: var(--muted);
}

/* ---------------- HOME OVERVIEW ---------------- */
.home-overview {
  padding: 4rem 0 5rem;
  background: #faf7f2;
}

/* ---------------- HOME AFTERCARE ---------------- */
.home-aftercare {
  padding: 3.75rem 0 4.25rem;
  background: #f8f4ee;
}

.aftercare-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 2.1rem;
  align-items: flex-start;
}

.aftercare-intro {
  position: sticky;
  top: 6rem;
  align-self: flex-start;
  padding-right: 1.25rem;
}

.aftercare-intro .section-title {
  margin-bottom: 0.75rem;
}

.aftercare-intro .section-lead {
  margin-bottom: 1.1rem;
}

.aftercare-footnote-list {
  margin: 0 0 0.9rem;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.7);
}

.aftercare-footnote-list li {
  margin-bottom: 0.25rem;
}

.aftercare-footnote {
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.65);
}

.aftercare-footnote-bottom {
  text-align: center;
  max-width: 40rem;
  margin: 0.5rem auto 0;
  margin-bottom: 0.5rem;
}

.aftercare-tiers {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

/* Tier blocks */
.aftercare-tier {
  position: relative;
  background: #fffdf9;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 1.1rem 1.4rem 1.45rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.02);
}

.aftercare-tier::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.4rem;
  width: 50px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, rgba(201, 177, 130, 0.6), rgba(201, 177, 130, 0));
}

.aftercare-tier-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.4rem;
}

.aftercare-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--gold);
}

/* Titles + decorative underlines */
.aftercare-title {
  font-size: 1.02rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding-bottom: 0.45rem;
}

.aftercare-tier .aftercare-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: rgba(201, 177, 130, 0.65);
  border-radius: 3px;
}

/* Tier 0 (foundations): no underline + no dot */
.aftercare-icon.tier-0 + div .aftercare-title {
  padding-bottom: 0;
}
.aftercare-icon.tier-0 + div .aftercare-title::after,
.aftercare-icon.tier-0 + div .aftercare-title::before {
  content: none;
  display: none;
}

/* Tier Ⅱ – stronger line + single filled dot */
.aftercare-tier-featured .aftercare-title::after {
  background: rgba(197, 165, 114, 0.9);
}

.aftercare-tier-featured .aftercare-title::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
}

/* Tier Ⅲ – thick line + three dots */
.aftercare-tier-premium .aftercare-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 11px;

  background: linear-gradient(to right, var(--gold), var(--gold)) 0 1px / 100% 3px no-repeat,
    radial-gradient(circle, var(--gold) 0 50%, transparent 51%) left bottom / 8px 8px no-repeat,
    radial-gradient(circle, var(--gold) 0 50%, transparent 51%) center bottom / 8px 8px no-repeat,
    radial-gradient(circle, var(--gold) 0 50%, transparent 51%) right bottom / 8px 8px no-repeat;
}

.aftercare-tier-premium .aftercare-title::before {
  content: "";
  width: 0;
  height: 0;
  border: none;
  background: none;
  box-shadow: none;
}

.aftercare-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.aftercare-list {
  margin: 0.25rem 0 0.4rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.aftercare-list li {
  margin-bottom: 0.2rem;
}

.aftercare-note {
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.58);
}

/* tier Ⅰ – slightly elevated vs tier 0 */
.aftercare-tier-essentials {
  background: radial-gradient(circle at top left, rgba(222, 196, 150, 0.06), #fffdf9 62%);
  border-color: rgba(201, 177, 130, 0.22);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.03);
}

/* tier Ⅱ – "most popular" */
.aftercare-tier-featured {
  background: radial-gradient(circle at top left, rgba(222, 196, 150, 0.12), #fffdf9 55%);
  border-color: rgba(201, 177, 130, 0.5);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.aftercare-tier-featured::before {
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, rgba(201, 177, 130, 0.9), rgba(201, 177, 130, 0));
}

.aftercare-popular {
  display: inline-flex;
  align-items: center;
  margin-top: 0.55rem;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 177, 130, 0.55);
  background: rgba(201, 177, 130, 0.08);
  color: rgba(201, 177, 130, 0.9);
  white-space: nowrap;
}

.aftercare-pill {
  margin-left: auto;
  align-self: flex-start;
  margin-top: 0.1rem;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 177, 130, 0.55);
  background: rgba(201, 177, 130, 0.08);
  color: rgba(201, 177, 130, 0.9);
  white-space: nowrap;
}

@media (max-width: 560px) {
  .aftercare-tier-header {
    flex-wrap: wrap;
  }
  .aftercare-pill {
    margin-left: 0;
    order: 3;
  }
}

/* tier Ⅲ – visually the top */
.aftercare-tier-premium {
  background: radial-gradient(circle at top left, rgba(222, 196, 150, 0.24), #fffdf9 50%);
  border-color: rgba(201, 177, 130, 0.9);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.16);
}

.aftercare-tier-premium::before {
  width: 120px;
  height: 4px;
  background: linear-gradient(to right, rgba(201, 177, 130, 1), rgba(201, 177, 130, 0.2));
}

.aftercare-tier-premium::after {
  content: "";
  position: absolute;
  bottom: 0.8rem;
  left: 1.4rem;
  width: 110px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, rgba(201, 177, 130, 0.85), rgba(201, 177, 130, 0));
}

/* Tier icons */
.aftercare-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(201, 177, 130, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(201, 177, 130, 0.9);
  background: radial-gradient(circle at 30% 30%, rgba(201, 177, 130, 0.35), transparent 60%);
}

.aftercare-icon.tier-0::after {
  content: "0";
}
.aftercare-icon.tier-1::after {
  content: "I";
}
.aftercare-icon.tier-2::after {
  content: "II";
}
.aftercare-icon.tier-3::after {
  content: "III";
}

.aftercare-icon.tier-2 {
  transform: scale(1.03);
}

.aftercare-icon.tier-3 {
  transform: scale(1.08);
  border-width: 2px;
}

/* Responsive */
@media (max-width: 1200px) {
  .aftercare-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  /* ✅ IMPORTANT: when stacked, turn off sticky so nothing overlaps */
  .aftercare-intro {
    position: static;
    top: auto;
    padding-right: 0;
    margin-bottom: 1.75rem; /* gives breathing room above the tiers */
  }

  .aftercare-tiers {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 2rem;
  }
}

/* ---------------- HOME CTA STRIP ---------------- */
.home-cta-strip {
  background: #0b0b0f;
  color: #f8f8f8;
  padding: 3rem 0 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.home-cta-copy {
  max-width: 34rem;
}

.section-kicker-light {
  color: rgba(248, 248, 248, 0.6);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.section-title-light {
  color: #ffffff;
}

.section-lead-light {
  color: rgba(248, 248, 248, 0.72);
  max-width: 30rem;
}

.home-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

/* secondary button on dark background */
.btn-secondary-light {
  border-color: rgba(248, 248, 248, 0.6);
  color: #f8f8f8;
  background: transparent;
}

.btn-secondary-light:hover {
  border-color: var(--gold);
  color: var(--gold);
}

@media (max-width: 720px) {
  .home-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-cta-actions {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------------- CONTACT ---------------- */
.contact-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.field {
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
}

.field label {
  margin-bottom: 0.25rem;
}

.field input,
.field textarea {
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

/* ---------------- FOOTER ---------------- */
.footer {
  background: #0b0b0f;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.8rem 0 1.35rem;
  font-size: 0.82rem;
  color: rgba(248, 248, 248, 0.7);
}

/* Footer gets a wider container so brand + copyright can sit closer to page edges */
.footer .container {
  max-width: min(1400px, 100%);
  padding: 0 2.25rem;
}

@media (max-width: 720px) {
  .footer .container {
    padding: 0 1.5rem;
  }
}

/* 2-row grid:
   Row 1: centered links row
   Row 2: brand left + copyright right
*/
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  row-gap: 1.15rem;
  column-gap: 3rem;
  align-items: start;
}

.footer-brand {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  min-width: 0;

  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.9rem;
  row-gap: 0.25rem;
  align-items: center;
}

.footer-logo-dot {
  grid-column: 1;
  grid-row: 1 / span 2;

  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 2px rgba(197, 165, 114, 0.18);
}

.footer-text {
  display: contents;
}

.footer-company {
  grid-column: 2;
  grid-row: 1;

  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: #ffffff;
  white-space: nowrap;
  margin: 0;
}

.footer-tagline {
  grid-column: 2;
  grid-row: 2;

  font-size: 0.8rem;
  color: rgba(248, 248, 248, 0.6);
  margin: 0;
}

.footer-meta {
  display: contents;
}

.footer-links {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  text-align: center;
}

.footer-links-row,
.footer-nav,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.82rem;
}

.footer-legal {
  flex-direction: row;
  gap: 1.2rem;
}

.footer-sep {
  width: 1px;
  height: 14px;
  background: rgba(248, 248, 248, 0.18);
  margin: 0 0.25rem;
  display: inline-block;
}

.footer-copy {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;

  margin: 0;
  color: rgba(248, 248, 248, 0.5);
  text-align: right;
  white-space: nowrap;
  min-width: 0;
}

.footer a {
  color: rgba(248, 248, 248, 0.7);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.05rem;
}

.footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.2s ease;
}

.footer a:hover {
  color: var(--gold);
}

.footer a:hover::after {
  width: 100%;
}

@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 1.1rem;
  }

  .footer-links {
    grid-column: 1;
    grid-row: 1;
  }

  .footer-brand {
    grid-column: 1;
    grid-row: 2;
  }

  .footer-copy {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    text-align: left;
    white-space: normal;
  }
}

/* ---------------- MODAL (Project form) ---------------- */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 200;

  /* ✅ allow scrolling when panel is taller than the viewport */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  /* keeps a comfortable “top/bottom gutter” while still scrollable */
  padding: 6vh 0;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  /* ✅ fixed so it always covers while the modal scrolls */
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 15, 0.55);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  width: min(720px, calc(100% - 2rem));

  /* ✅ modal scroll happens on .modal, panel stays centered */
  margin: 0 auto;

  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);

  padding: 1.6rem;

  /* ✅ critical: stop the panel exceeding viewport height */
  max-height: calc(100vh - 12vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-close {
  position: sticky; /* stays reachable when scrolling the panel */
  top: 0;
  margin-left: auto;

  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  cursor: pointer;

  /* keeps it visually aligned like before */
  float: right;
}

.modal-header {
  margin-bottom: 1.1rem;
}

@media (max-width: 520px) {
  .modal {
    padding: 1rem 0; /* tighter gutters on small screens */
  }

  .modal-panel {
    max-height: calc(100vh - 2rem);
    padding: 1.2rem;

    /* ✅ iOS safe area so the submit button never sits under the home bar */
    padding-bottom: calc(1.2rem + env(safe-area-inset-bottom));
  }
}

/* Your existing project modal tightening can stay,
   but add safe bottom padding so the button never gets clipped */
#projectModal .modal-panel {
  padding: 1.1rem;
  padding-bottom: calc(1.1rem + env(safe-area-inset-bottom));
}

/* Status message */
.formStatus {
  display: none;
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.35;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.03);
}

.formStatus.is-loading,
.formStatus.is-success,
.formStatus.is-error {
  display: block;
}

.formStatus.is-loading {
  opacity: 0.9;
}

.formStatus.is-success {
  color: #1a7f37;
  border-color: rgba(26, 127, 55, 0.25);
  background: rgba(26, 127, 55, 0.08);
}

.formStatus.is-error {
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.25);
  background: rgba(180, 35, 24, 0.08);
}

#projectModal .modal-header .section-kicker {
  display: none;
}

/* Modal: reduce vertical height */
#projectModal .modal-panel {
  padding: 1.1rem;
}

#projectModal .modal-header {
  margin-bottom: 0.9rem;
}

#projectModal .section-title {
  margin: 0.25rem 0 0.4rem;
}

#projectModal .section-lead {
  margin: 0;
}

/* ---------------- LEGAL MODAL ---------------- */
.legal-modal .modal-panel {
  max-width: 860px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);

  max-height: 86vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.legal-modal .modal-header {
  flex: 0 0 auto;
}

.legal-modal .legal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0.25rem 0.9rem;
  scrollbar-gutter: stable;
}

.legal-modal .legal-body .legal-section {
  padding: 0.75rem 0.9rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.legal-modal .legal-body h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-modal .legal-body p,
.legal-modal .legal-body li {
  line-height: 1.65;
}

.legal-modal .legal-body ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

/* Policy links inside the legal modal */
.legal-modal .legal-body a {
  text-decoration: none;
  color: inherit;
  position: relative;
  padding-bottom: 0.05rem;
}

.legal-modal .legal-body a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.2s ease;
}

.legal-modal .legal-body a:hover {
  color: var(--gold);
}

.legal-modal .legal-body a:hover::after {
  width: 100%;
}

/* Legal acknowledgement under the form */
.form-footnote-legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------------- PHONE TIGHTENING ---------------- */
.show-phone {
  display: none;
}
.hide-phone {
  display: inline;
}

@media (max-width: 420px) {
  /* Make header a bit less tall */
  .nav-inner {
    padding: 0.75rem 0;
  }
  .nav-logo-wrap,
  .nav-toggle {
    width: 46px;
    height: 46px;
  }

  .nav-company {
    font-size: 0.82rem;
    letter-spacing: 0.18em;
  }
  .nav-tagline {
    font-size: 0.72rem;

    /* allow full usable width between logo + hamburger */
    width: 100%;
    max-width: none;
    text-align: center;

    /* keep the 2-line limit */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;

    overflow: hidden;
    white-space: normal;
    line-height: 1.25;
    max-height: calc(1.25em * 2);
    margin: 0.05rem auto 0;
  }

  /* Trust strip: cleaner 2-row layout */
  .trust-strip-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    justify-items: center;
  }
  .trust-item {
    justify-content: center;
    font-size: 12px;
  }
  .trust-item:nth-child(3) {
    grid-column: 1 / -1;
  }

  /* Hero spacing */
  .hero {
    padding: 2rem 0 2.5rem;
  }
  .hero-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
  }
  .hero-title {
    font-size: clamp(1.7rem, 5.5vw + 0.6rem, 2.25rem);
  }

  /* Buttons stack, no overflow */
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
  }
  .hero-actions .btn {
    width: min(320px, 100%);
    justify-content: center;
  }

  /* Mobile copy swap */
  .hide-phone {
    display: none;
  }
  .show-phone {
    display: inline;
  }

  /* Optional: hide the long footnote on tiny screens */
  .hero-footnote {
    display: none;
  }
}
