/* Whizardries v3 layer, loaded after style.css.
   Same palette and type families as Design System v1.0; this layer changes scale, rhythm and
   components: a display face for headlines, a proof strip, steps and facts rows, FAQ items,
   price lines on cards, a dark closing CTA, a fuller footer and a sticky booking bar on phones.
   Removing this file (and its <link> in partials/header.php) returns the v2 look. */

@font-face {
  font-family: "Concourse 6";
  src: url("fonts/concourse-6-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: "Concourse 6", "Concourse 4", "Concourse 3", system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --shadow-lift: 0 10px 30px rgba(19, 29, 63, 0.08), 0 2px 6px rgba(19, 29, 63, 0.05);
  --space-xl: 96px;
  --space-2xl: 136px;
}
@media (max-width: 767px) {
  :root { --space-xl: 56px; --space-2xl: 72px; }
}

/* ---- Type scale -------------------------------------------------------- */
.band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.15rem + 1.7vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.005em;
  max-width: 22em;
}
.band h2 + p { font-size: 18px; }
.band .eyebrow { color: var(--navy-700); }

/* ---- Buttons ----------------------------------------------------------- */
.btn { border-radius: 6px; font-size: 15px; }
.btn--lg { padding: 18px 32px; font-size: 16px; }
.btn--on-dark:hover { background: var(--signal-50); }

/* ---- Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(75, 92, 154, 0.35), transparent 60%),
    var(--navy-800);
}
.hero .band-inner { position: relative; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.3rem + 4.2vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  max-width: 15em;
}
.hero .hero-lede {
  font-size: 20px;
  line-height: 1.6;
  max-width: 38rem;
}
.hero-actions { margin-top: 40px; }

.proof-strip {
  list-style: none;
  margin: 72px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 32px;
}
.proof-strip li {
  margin: 0;
  position: relative;
  padding-left: 18px;
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.45;
  color: var(--navy-100);
}
.proof-strip li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal-400);
}
.proof-strip strong { color: #fff; font-family: var(--font-ui-strong); }
@media (max-width: 1024px) { .proof-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .proof-strip { margin-top: 48px; text-align: left; grid-template-columns: 1fr; }
  .hero .hero-lede { font-size: 17px; }
}

/* ---- Cards ------------------------------------------------------------- */
.card {
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.card h3 { font-size: 21px; order: 0; }
.card .card-meta {
  order: -1;
  margin: 0 0 12px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-700);
}
.card .card-meta em { font-style: normal; }
.card > p:not(.card-meta), .card > ul { order: 1; }
.card .card-link { order: 2; margin-top: auto; padding-top: var(--space-sm); }
.card .card-link a { font-size: 14px; }
.card--symptom { display: block; }
.card--symptom:hover { transform: none; }
@media (prefers-reduced-motion: reduce) { .card:hover { transform: none; } }

/* ---- Steps and facts --------------------------------------------------- */
/* style.css caps everything but a card grid at 720px inside a .has-grid band; these rows run full width. */
.has-grid .band-inner > ol.steps, .has-grid .band-inner > ul.facts { max-width: none; }
ol.steps, ul.facts {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0 0;
  display: grid;
  gap: var(--space-md);
}
ol.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: step; }
ul.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
ol.steps > li, ul.facts > li {
  margin: 0;
  background: var(--white);
  border: 0.5px solid var(--linen-200);
  border-radius: var(--radius);
  padding: 28px;
  font-size: 16px;
  line-height: 1.65;
}
.band--white ol.steps > li, .band--white ul.facts > li { background: var(--linen-50); }
ol.steps > li { counter-increment: step; }
ol.steps > li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  color: var(--navy-800);
  margin-bottom: 16px;
}
ol.steps > li > strong:first-child, ul.facts > li > strong:first-child,
ol.steps > li > p:first-child > strong:first-child, ul.facts > li > p:first-child > strong:first-child {
  display: block;
  font-family: var(--font-ui-strong);
  font-size: 19px;
  line-height: 1.3;
  color: var(--linen-800);
  margin-bottom: 8px;
}
ul.facts > li > strong:first-child, ul.facts > li > p:first-child > strong:first-child {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-700);
}
@media (max-width: 1024px) { ol.steps { grid-template-columns: 1fr; } }
@media (max-width: 767px) { ul.facts { grid-template-columns: 1fr; } }

/* ---- FAQ --------------------------------------------------------------- */
.band--faq .band-inner { max-width: var(--w-prose); }
.faq-item { border-bottom: 0.5px solid var(--linen-400); }
.faq-item:first-of-type { border-top: 0.5px solid var(--linen-400); margin-top: var(--space-md); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 22px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 19px; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-ui);
  font-size: 26px;
  line-height: 1;
  color: var(--navy-800);
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 0 24px; }
.faq-answer p { font-size: 17px; }

/* ---- Closing CTA (dark) ------------------------------------------------ */
.band--navy.band--cta { padding: var(--space-xl) 0; }
.band--navy .cta-card .cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.8rem);
  line-height: 1.1;
  color: #fff;
  max-width: 18em;
  margin: 0 auto var(--space-sm);
}
.band--navy .cta-card p { font-size: 18px; max-width: 36rem; margin: 0 auto var(--space-md); }
.band--navy .cta-card .signal-rule { margin: 0 auto var(--space-md); }
/* The footer is also dark: a hairline keeps the two surfaces from merging. */
.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* ---- Scope block, callouts, prose ------------------------------------- */
.scope-block { border-radius: 0 var(--radius) var(--radius) 0; }
.cta-card { border-radius: var(--radius); }
.cal-embed { border-radius: var(--radius); }
.band-inner.is-prose > p, .band-inner.is-prose > ul, .band-inner.is-prose > ol { font-size: 18px; line-height: 1.7; }
@media (max-width: 767px) {
  .band-inner.is-prose > p, .band-inner.is-prose > ul, .band-inner.is-prose > ol { font-size: 17px; }
}

/* ---- Footer ------------------------------------------------------------ */
.site-footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding: var(--space-xl) var(--space-md) var(--space-lg);
}
.footer-brand p { margin: 0 0 var(--space-sm); }
.footer-name { font-family: var(--font-display); font-size: 26px; color: #fff; line-height: 1.1; }
.footer-tagline { font-family: var(--font-ui); color: var(--signal-400); font-size: 14px; }
.footer-about { max-width: 30rem; line-height: 1.6; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-head {
  margin: 0 0 6px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-100);
}
.site-footer .btn { color: var(--navy-800); font-family: var(--font-ui-strong); }
.site-footer .btn:hover { color: var(--navy-800); }
.footer-legal {
  grid-column: 1 / -1;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: var(--navy-100);
}
@media (max-width: 1024px) { .site-footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .site-footer-inner { grid-template-columns: 1fr; gap: var(--space-md); } }

/* ---- Sticky booking bar (phones only) --------------------------------- */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(245, 245, 240, 0.96);
    border-top: 0.5px solid var(--linen-400);
    box-shadow: 0 -6px 20px rgba(19, 29, 63, 0.08);
  }
  .sticky-cta .btn { padding: 15px 20px; font-size: 15px; }
  body:has(.sticky-cta) { padding-bottom: 76px; }
}
