/* Shared components: header/nav, footer, buttons, cards, badges, logo
   Light is the default surface everywhere — no dark mode on this site. */

/* ---- Logo ---- */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  color: var(--ink-900);
}
.logo__word {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.logo__motto {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.71875rem; /* 11.5px — sits at about the same width as the wordmark above it */
  line-height: 1.2;
  letter-spacing: 0.005em;
  color: var(--ink-700);
  white-space: nowrap;
}
.logo__chevron {
  width: 0.55em;
  height: 0.55em;
  color: var(--accent-yellow-ink);
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 0.05em;
}

/* ---- Header / Nav ---- */
/* Floats over the hero: transparent at the top of the page, frosted once you scroll */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur-medium) ease, border-color var(--dur-medium) ease, box-shadow var(--dur-medium) ease;
}
.site-header.is-scrolled,
.site-header.is-menu-open {
  background-color: rgba(247, 247, 245, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--cream-200);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(16, 16, 19, 0.45); }
.site-header.is-menu-open { background-color: var(--cream-50); }
/* Yellow button would vanish on the yellow hero, so the header CTA is always ink */
.site-header .btn-primary { background: var(--ink-900); color: #FFFFFF; box-shadow: none; }
.site-header .btn-primary:hover { background: #000000; }
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--sp-4);
}
.site-nav__list {
  display: none;
  align-items: center;
  gap: var(--sp-8);
}
.site-nav__link {
  font-weight: 500;
  font-size: var(--fs-small);
  color: var(--ink-700);
  position: relative;
  padding-block: var(--sp-1);
  transition: color var(--dur-fast) ease;
}
.site-nav__link:hover { color: var(--ink-900); }
.site-nav__link[aria-current="page"] { color: var(--ink-900); }
.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent-yellow-ink);
}
.site-nav__actions { display: flex; align-items: center; gap: var(--sp-4); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-weight: 600;
  font-size: var(--fs-small);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-sm);
  transition: transform var(--dur-fast) var(--ease-cinematic), box-shadow var(--dur-fast) var(--ease-cinematic), background var(--dur-fast) ease, border-color var(--dur-fast) ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent-yellow); color: var(--ink-900); box-shadow: var(--shadow-default); }
.btn-primary:hover { background: var(--accent-yellow-600); transform: translateY(-2px); box-shadow: var(--shadow-elevated); }
.btn-secondary { background: transparent; color: var(--ink-900); border: 1px solid var(--ink-500); }
.btn-secondary:hover { background: var(--cream-200); }
.btn-lg { padding: var(--sp-4) var(--sp-8); font-size: var(--fs-body); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--ink-900);
  border-radius: var(--radius-pill);
  transition: transform var(--dur-fast) ease, opacity var(--dur-fast) 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); }

.site-nav__mobile {
  display: none;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--gutter) var(--sp-8);
  background: var(--cream-50);
  border-bottom: 1px solid var(--cream-200);
}
.site-nav__mobile.is-open { display: flex; }
.site-nav__mobile a {
  font-weight: 500;
  font-size: var(--fs-body-lg);
  padding-block: var(--sp-2);
  color: var(--ink-700);
}
.site-nav__mobile a[aria-current="page"] { color: var(--accent-yellow-ink); }

@media (min-width: 1024px) {
  .site-nav__list { display: flex; }
  .nav-toggle { display: none; }
  .site-nav__mobile { display: none !important; }
}

/* ---- Footer ---- */
.site-footer {
  background: var(--yellow-tint);
  color: var(--ink-700);
  padding-block: var(--sp-24) var(--sp-8);
  border-top: 1px solid var(--yellow-tint-line);
}
.site-footer a:hover { color: var(--accent-yellow-ink); }
.site-footer__grid {
  display: grid;
  gap: var(--sp-12);
  grid-template-columns: 1fr;
}
.site-footer__tagline { color: var(--ink-500); margin-top: var(--sp-3); max-width: 32ch; }
.site-footer h4 {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-500);
  font-weight: 600;
  margin-bottom: var(--sp-4);
}
.site-footer__list { display: flex; flex-direction: column; gap: var(--sp-3); }
.site-footer__list a { color: var(--ink-700); font-size: var(--fs-small); }
.site-footer__bottom {
  margin-top: var(--sp-16);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--yellow-tint-line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: space-between;
  font-size: var(--fs-small);
  color: var(--ink-500);
}

@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ---- Cards / Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: 600;
  background: var(--cream-100);
  border: 1px solid var(--cream-200);
  color: var(--ink-900);
}
.badge-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* "Sticker" card: bold ink outline + a hard-edged offset box-shadow
   (0 blur — a flat color block, not a blur) — the shared card look
   across the site. A plain box-shadow paints behind the element's own
   background natively, unlike a ::before with negative z-index (which
   paints *above* the own background per CSS stacking rules and would
   cover the whole face instead of just peeking out at the corner). */
.card {
  background: var(--white-100, #FFFFFF);
  border: 2px solid var(--ink-900);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  box-shadow: 8px 8px 0 0 var(--cream-200);
  transition: transform var(--dur-medium) var(--ease-cinematic), box-shadow var(--dur-medium) var(--ease-cinematic);
}
.card:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 0 var(--cream-200); }

.section-heading { max-width: 42ch; margin-inline: auto; text-align: center; }
.section-heading .eyebrow { margin-bottom: var(--sp-4); justify-content: center; }
.section-heading h2 { margin-bottom: var(--sp-4); }

/* Centered intro hero used at the top of every supporting page */
.page-hero { padding-block: var(--sp-24) var(--sp-12); text-align: center; }
.page-hero .container { max-width: 760px; }
.page-hero .eyebrow { justify-content: center; margin-bottom: var(--sp-4); }

/* WhatsApp icon inline in buttons/links */
.icon-inline { display: inline-block; width: 1.1em; height: 1.1em; flex-shrink: 0; vertical-align: -0.15em; margin-right: 0.35em; }

/* Shared CTA banner (used at the bottom of supporting pages) — same
   sticker-card treatment as .card: bold ink outline + hard offset shadow. */
.cta-banner {
  position: relative;
  background: var(--cream-100);
  border: 2px solid var(--ink-900);
  color: var(--ink-900);
  border-radius: var(--radius-lg);
  padding: var(--sp-16) var(--sp-8);
  text-align: center;
  max-width: var(--content-max);
  margin: 0 auto;
  box-shadow: 10px 10px 0 0 var(--cream-200);
}
.cta-banner h2 { color: var(--ink-900); margin-bottom: var(--sp-4); }
.cta-banner p { margin-inline: auto; color: var(--ink-700); }

/* Generic button row (also used by .hero__actions on the home page) */
.btn-row, .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.btn-row--center { justify-content: center; }
.cta-banner .btn-row { justify-content: center; margin-top: var(--sp-8); }

/* ---- Status list (Now / Next / 2027) ---- */
/* `ol.` prefix: base.css's `ol[class] { padding: 0 }` would otherwise win and drop the indent */
ol.status-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  padding-left: var(--sp-8);
  list-style: none;
  margin: 0;
}
.status-list::before {
  content: "";
  position: absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--cream-200);
}
.status-item { position: relative; }
.status-item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--sp-8));
  top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--cream-50);
  border: 2px solid var(--ink-500);
}
.status-item--now::before { background: var(--accent-yellow); border-color: var(--accent-yellow-ink); }
.status-item__label {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-yellow-ink);
}
.status-item h3 { margin-top: var(--sp-1); font-size: var(--fs-body-lg); }
.status-item p { margin-top: var(--sp-1); color: var(--ink-700); }

/* ---- Numbered feature block (01–04 pattern) ---- */
.numbered-card {
  border-top: 2px solid var(--ink-900);
  padding-top: var(--sp-6);
}
.numbered-card__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-small);
  color: var(--accent-yellow-ink);
  letter-spacing: 0.05em;
}
.numbered-card h3 { margin-top: var(--sp-3); margin-bottom: var(--sp-2); }
.numbered-card p { color: var(--ink-700); }

/* ---- Yellow surface — the hero look, reusable on any section/banner ----
   Warm tints layered over the brand yellow, plus a faint dot grid. Inside it,
   secondary text tokens darken for contrast and controls flip to ink. */
.surface-yellow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --pulse-rgb: 16, 16, 19;
  --ink-700: #2B2B31;
  --ink-500: #4B4B44;
  background:
    radial-gradient(52% 62% at 82% 38%, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0) 64%),
    radial-gradient(38% 48% at 46% 0%, rgba(255, 243, 176, 0.75), rgba(255, 243, 176, 0) 70%),
    radial-gradient(46% 56% at 0% 100%, rgba(255, 150, 0, 0.36), rgba(255, 150, 0, 0) 66%),
    linear-gradient(135deg, #FFD43F 0%, #FFC629 52%, #FFB300 100%);
}
.surface-yellow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(16, 16, 19, 0.13) 1.2px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0) 88%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0) 88%);
}
.surface-yellow .eyebrow {
  background: var(--ink-900);
  color: var(--accent-yellow);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
}
.surface-yellow .btn-primary {
  background: var(--ink-900);
  color: #FFFFFF;
  box-shadow: 0 18px 34px -14px rgba(16, 16, 19, 0.6);
}
.surface-yellow .btn-primary:hover { background: #000000; }
.surface-yellow .btn-secondary {
  color: var(--ink-900);
  border-color: rgba(16, 16, 19, 0.6);
  background: rgba(255, 255, 255, 0.35);
}
.surface-yellow .btn-secondary:hover { background: #FFFFFF; border-color: var(--ink-900); }
/* .cta-banner's offset shadow is a plain box-shadow (not a pseudo-element),
   so it isn't clipped by surface-yellow's overflow:hidden — no override needed. */
.surface-yellow .status-list::before { background: rgba(16, 16, 19, 0.25); }
.surface-yellow .status-item::before { background: #FFFFFF; border-color: var(--ink-900); }
.surface-yellow .status-item--now::before { background: var(--ink-900); border-color: var(--ink-900); }
.surface-yellow .status-item__label { color: var(--ink-900); }

/* Centered intro banner on the supporting pages */
.page-hero.surface-yellow { padding-block: calc(var(--nav-h) + var(--sp-16)) var(--sp-16); }
.page-hero h1 { letter-spacing: -0.03em; margin-bottom: var(--sp-4); }
.cta-banner .hero__actions { justify-content: center; margin-top: var(--sp-8); }

