/* fortunepham.com preview: shared styles (mobile-first) */

:root {
  --navy: #0f2342;
  --navy-700: #1b355e;
  --navy-100: #e7ebf2;
  --ink: #1d2433;
  --muted: #4a5468;
  --cream: #faf7f0;
  --cream-2: #f3ede0;
  --white: #ffffff;
  --gold: #c9a227;
  --gold-600: #b38f1d;
  --gold-ink: #7d6210;
  --line: #e4dccb;
  --focus: #1f5fbf;

  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --shadow: 0 1px 2px rgba(15, 35, 66, 0.06), 0 8px 24px rgba(15, 35, 66, 0.08);
  --container: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(3.5rem, 8vw, 6rem);
  --header-h: 4rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  text-rendering: optimizeLegibility;
}

img, svg, picture { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); line-height: 1.08; }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.5rem); }
h3 { font-size: 1.25rem; line-height: 1.3; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-700); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible { outline-color: var(--gold); }

ul, ol { padding-left: 1.25rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; color: var(--white); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow { max-width: 46rem; }

.section { padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--sand { background: var(--cream-2); }
.section--navy { background: var(--navy); color: #e9edf4; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy a:not(.btn) { color: var(--white); }

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.section--navy .eyebrow { color: var(--gold); }

.lead { font-size: clamp(1.125rem, 2.2vw, 1.25rem); color: var(--muted); }
.section--navy .lead { color: #d3dae6; }
.muted { color: var(--muted); }
.small { font-size: 0.9375rem; }

.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.8rem 1.4rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font: 600 1rem/1.2 var(--font-sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: none; }

.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-600); color: var(--navy); }

.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }

.btn-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.btn-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn-block { width: 100%; }
.btn-lg { min-height: 3.5rem; font-size: 1.0625rem; padding-inline: 1.75rem; }

.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.cta-note { margin-top: 0.875rem; font-size: 0.9375rem; color: var(--muted); }
.section--navy .cta-note { color: #c4cddc; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 240, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.wordmark {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
}
.wordmark::after {
  content: "";
  width: 0.4rem; height: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}
.wordmark:hover { color: var(--navy); text-decoration: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.875rem;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--navy);
  font: 600 0.9375rem/1 var(--font-sans);
  cursor: pointer;
}
.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 1.1rem; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-icon { position: relative; }
.nav-toggle-icon::before,
.nav-toggle-icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a:not(.btn) {
  display: block;
  padding: 0.75rem 0.25rem;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:not(.btn):hover { text-decoration: underline; }

/* Mobile nav: no-JS shows it stacked; JS turns it into a dropdown panel */
.no-js .nav-toggle { display: none; }
.no-js .header-inner { flex-wrap: wrap; padding-block: 0.5rem; }
.no-js .site-nav { width: 100%; }
.no-js .site-nav ul { display: flex; flex-wrap: wrap; gap: 0 1rem; align-items: center; }

.js .site-nav {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(15, 35, 66, 0.08);
  padding: 0.5rem var(--gutter) 1.25rem;
  display: none;
}
.js .site-nav.is-open { display: block; }
.js .site-nav li + li { border-top: 1px solid var(--line); }
.js .site-nav li:last-child { border-top: 0; padding-top: 0.75rem; }
.site-nav .btn { width: 100%; }

@media (min-width: 860px) {
  .nav-toggle, .js .nav-toggle { display: none; }
  .js .site-nav,
  .no-js .site-nav {
    position: static;
    display: block;
    width: auto;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .site-nav ul,
  .no-js .site-nav ul { display: flex; align-items: center; gap: 1.75rem; }
  .js .site-nav li + li { border-top: 0; }
  .js .site-nav li:last-child { padding-top: 0; }
  .site-nav a:not(.btn) { padding: 0.5rem 0; font-size: 0.9875rem; }
  .site-nav .btn { width: auto; min-height: 2.75rem; padding: 0.6rem 1.1rem; }
}

/* Simple funnel header (webinar pages) */
.header-back {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--navy);
  text-decoration: none;
  padding: 0.5rem 0;
}
.header-back:hover { text-decoration: underline; }

/* ---------- Hero (home) ---------- */
.hero { padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(3rem, 8vw, 6rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { max-width: 19ch; }
.hero .lead { max-width: 36rem; margin-bottom: 1.5rem; }

.keep-quote {
  margin: 0 0 1.75rem;
  padding: 0.25rem 0 0.25rem 1rem;
  border-left: 4px solid var(--gold);
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.6vw, 1.45rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.35;
  color: var(--navy);
}

.portrait {
  position: relative;
  max-width: 26rem;
  margin-inline: auto;
}
.portrait::before {
  content: "";
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
}
.portrait img {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.25fr 0.85fr; gap: 4rem; }
  .portrait { margin-right: 1rem; }
}

/* ---------- How I help / contractor ---------- */
.prose-cols { display: grid; gap: 1.25rem; max-width: 60rem; }
@media (min-width: 900px) { .prose-cols { grid-template-columns: 1fr 1fr; gap: 3rem; } }

.analogy {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  line-height: 1.35;
  color: var(--navy);
}

.build {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.section--sand .build,
.section--white .build { background: var(--cream); }
.build-figure { margin: 0; }
.build-figure svg { width: min(100%, 17rem); margin-inline: auto; }
.build-figure figcaption {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}

.build-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: build;
  display: grid;
  gap: 1rem;
}
.build-steps li {
  counter-increment: build;
  position: relative;
  padding: 1rem 1rem 1rem 3.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.build-steps li::before {
  content: counter(build);
  position: absolute;
  left: 1rem; top: 1rem;
  width: 2rem; height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font: 600 1rem/1 var(--font-sans);
}
.build-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.95rem;
  top: 3.25rem;
  bottom: -1.05rem;
  width: 2px;
  background: var(--gold);
}
.build-trade {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.build-step-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0.1rem 0 0.25rem;
}
.build-steps p { margin: 0; font-size: 0.975rem; color: var(--muted); }

@media (min-width: 900px) {
  .build { grid-template-columns: 0.8fr 1.2fr; gap: 3rem; }
}

.role-cards {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
}
.role-cards li {
  padding: 1.25rem 1.25rem 1.25rem 1.25rem;
  border-top: 3px solid var(--gold);
  background: var(--white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow);
}
.role-cards h3 { margin-bottom: 0.35rem; }
.role-cards p { margin: 0; color: var(--muted); font-size: 0.975rem; }
@media (min-width: 760px) { .role-cards { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Learn before you earn ---------- */
.compare { display: grid; gap: 1rem; margin-top: 2rem; }
.compare-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
}
.compare-card h3 { display: flex; align-items: center; gap: 0.6rem; }
.compare-card .tag {
  font: 600 0.75rem/1 var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: var(--navy-100);
  color: var(--navy);
}
.compare-card--after { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.compare-card--after .tag { background: var(--gold); color: var(--navy); }
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }

.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.75rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.3rem;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230f2342' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.9rem no-repeat;
}
.section--navy .check-list li::before { background-color: var(--gold); }

.x-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.x-list li { position: relative; padding-left: 2rem; }
.x-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.3rem;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background: var(--navy-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7' fill='none' stroke='%230f2342' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 0.9rem no-repeat;
}

/* ---------- Story ---------- */
.story-grid { display: grid; gap: 2.5rem; align-items: start; }
.story-photo { max-width: 22rem; }
.story-photo img { border-radius: var(--radius); box-shadow: var(--shadow); }

.two-techs { display: grid; gap: 1rem; margin: 1.75rem 0; }
.tech-card {
  padding: 1.25rem 1.25rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.tech-card h3 { font-size: 1.125rem; margin-bottom: 0.35rem; }
.tech-card p { margin: 0; font-size: 0.975rem; color: var(--muted); }
.tech-card--owner { background: var(--navy); border-color: var(--navy); }
.tech-card--owner h3 { color: var(--white); }
.tech-card--owner p { color: #d3dae6; }
@media (min-width: 640px) { .two-techs { grid-template-columns: 1fr 1fr; } }

.pull {
  margin: 1.5rem 0;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.4vw, 1.4rem);
  line-height: 1.4;
  color: var(--navy);
}

@media (min-width: 900px) {
  .story-grid { grid-template-columns: 0.75fr 1.25fr; gap: 4rem; }
  .story-photo { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- CPA questions ---------- */
.q-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  counter-reset: q;
}
.q-list li {
  counter-increment: q;
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--navy);
}
.q-list li::before {
  content: "Q" counter(q);
  position: absolute;
  left: 1rem; top: 1.25rem;
  font: 700 0.8125rem/1.6 var(--font-sans);
  color: var(--gold-ink);
}
@media (min-width: 760px) { .q-list { grid-template-columns: 1fr 1fr; } }

.note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--gold);
  background: var(--white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 500;
  color: var(--navy);
}

/* ---------- Trust ---------- */
.do-dont { display: grid; gap: 1rem; margin-top: 2rem; }
.do-dont > div {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.do-dont h3 { font-size: 1.125rem; }
@media (min-width: 760px) { .do-dont { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }

/* ---------- Tools ---------- */
.tools {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
.tools li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding: 1rem 1.125rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.tools li svg { flex: none; width: 1.75rem; height: 1.75rem; color: var(--gold-ink); margin-top: 0.1rem; }
.tools strong { display: block; color: var(--navy); }
.tools span { font-size: 0.9375rem; color: var(--muted); }
@media (min-width: 640px) { .tools { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tools { grid-template-columns: repeat(3, 1fr); } }

/* ---------- CTA band ---------- */
.band { position: relative; overflow: hidden; }
.band::before {
  content: "";
  position: absolute;
  right: -6rem; top: -6rem;
  width: 20rem; height: 20rem;
  border-radius: 50%;
  border: 2px solid rgba(201, 162, 39, 0.35);
}
.band-inner { position: relative; display: grid; gap: 1.5rem; align-items: center; }
.band .date-pill { margin-bottom: 1rem; }
@media (min-width: 900px) { .band-inner { grid-template-columns: 1.4fr auto; gap: 3rem; } }

.date-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.16);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9375rem;
}

/* ---------- Contact ---------- */
.contact-card {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.5);
  box-shadow: var(--shadow);
}
.contact-card picture { max-width: 12rem; }
.contact-card img { border-radius: 50%; border: 4px solid var(--cream-2); }
@media (min-width: 760px) { .contact-card { grid-template-columns: auto 1fr; gap: 3rem; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #c4cddc;
  padding-block: 3rem 2.5rem;
  font-size: 0.9375rem;
}
.site-footer a { color: var(--white); }
.footer-grid { display: grid; gap: 1.5rem; }
.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.footer-role { margin: 0 0 0.75rem; }
.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--gold);
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.disclaimer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 52rem;
}
.copyright { margin-top: 1rem; font-size: 0.875rem; color: #a9b4c7; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr; align-items: end; } .footer-links { justify-content: flex-end; } }

/* Preview flag */
.preview-flag {
  position: fixed;
  left: 0.75rem;
  bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 35, 66, 0.88);
  color: var(--white);
  font: 600 0.75rem/1.3 var(--font-sans);
  letter-spacing: 0.04em;
  pointer-events: none;
}

/* ---------- Webinar ---------- */
.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 0.9375rem;
  text-align: center;
  padding: 0.6rem var(--gutter);
}
.topbar strong { color: var(--gold); font-weight: 600; }
.topbar .sep { opacity: 0.5; margin-inline: 0.5rem; }

.w-hero { padding-block: clamp(2rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem); }
.w-hero h1 { font-size: clamp(2rem, 5.2vw, 3.25rem); max-width: 20ch; }
.w-hero .lead { max-width: 40rem; }
.w-hero-grid { display: grid; gap: 2rem; margin-top: 2rem; align-items: start; }
@media (min-width: 960px) {
  .w-hero-grid { grid-template-columns: 1.2fr 0.8fr; gap: 3rem; }
}

.video-slot {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 30%, rgba(201, 162, 39, 0.25), transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  color: var(--white);
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: var(--shadow);
}
.video-slot-inner { display: grid; justify-items: center; gap: 0.75rem; padding: 1rem; }
.play-icon {
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
}
.play-icon svg { width: 1.5rem; height: 1.5rem; margin-left: 0.2rem; }
.video-slot p { margin: 0; font-weight: 600; font-size: 1.0625rem; }
.video-slot .small { font-weight: 400; color: #c4cddc; }

/* Mini bullets only beside the video on wide screens; on mobile keep the form close to the top */
.w-learn-mini { display: none; margin-top: 1.5rem; }
@media (min-width: 960px) { .w-learn-mini { display: grid; } }

.form-card {
  padding: clamp(1.25rem, 3.5vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.form-card .form-intro { color: var(--muted); font-size: 0.9375rem; margin-bottom: 1.25rem; }

.field { margin-bottom: 1rem; }
.field label,
.field .label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
}
.field .opt { font-weight: 400; color: var(--muted); }
.field .req { color: #9b2c1f; }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  font: 400 1rem/1.4 var(--font-sans);
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid #9aa3b2;
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea { min-height: 5.5rem; resize: vertical; }
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%230f2342' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 0.85rem center / 1rem no-repeat;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(31, 95, 191, 0.3);
}
input:user-invalid,
textarea:user-invalid { border-color: #9b2c1f; }

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  margin: 1.25rem 0;
  padding: 0.85rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}
.consent input {
  width: 1.25rem; height: 1.25rem;
  margin: 0.1rem 0 0;
  accent-color: var(--navy);
}
.consent label { font-weight: 400; color: var(--muted); margin: 0; }
.consent strong { color: var(--navy); }

.form-fine { margin-top: 0.85rem; font-size: 0.8125rem; color: var(--muted); text-align: center; }

.learn-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.learn-list li {
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.learn-list li::before {
  content: "";
  position: absolute;
  left: 1.1rem; top: 1.35rem;
  width: 1.4rem; height: 1.4rem;
  border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230f2342' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1rem no-repeat;
}
.learn-list strong { display: block; color: var(--navy); margin-bottom: 0.15rem; }
.learn-list span { color: var(--muted); font-size: 0.975rem; }
@media (min-width: 760px) { .learn-list { grid-template-columns: 1fr 1fr; } }

.fit-grid { display: grid; gap: 1rem; }
.fit-grid > div {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.fit-grid h3 { font-size: 1.125rem; }
@media (min-width: 760px) { .fit-grid { grid-template-columns: 1.4fr 1fr; gap: 1.5rem; } }

.host { display: grid; gap: 2rem; align-items: center; }
.host picture { max-width: 18rem; }
.host img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 760px) { .host { grid-template-columns: 18rem 1fr; gap: 3rem; } }

.faq { display: grid; gap: 0.75rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.faq summary {
  position: relative;
  padding: 1rem 3rem 1rem 1.25rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.25rem; top: 50%;
  width: 0.65rem; height: 0.65rem;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 1.25rem 1.25rem; color: var(--muted); }
.faq summary:focus-visible { outline-offset: -3px; }

.placeholder {
  background: rgba(201, 162, 39, 0.18);
  padding: 0 0.25em;
  border-radius: 3px;
  font-weight: 600;
}
.section--navy .placeholder,
.topbar .placeholder { background: rgba(201, 162, 39, 0.22); color: var(--gold); }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(250, 247, 240, 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 18px rgba(15, 35, 66, 0.08);
  transition: transform 0.2s ease;
}
.sticky-cta.is-hidden { transform: translateY(110%); }
.has-sticky .preview-flag { bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); }
.has-sticky .site-footer { padding-bottom: 6rem; }
@media (min-width: 960px) {
  .sticky-cta { display: none; }
  .has-sticky .preview-flag { bottom: 0.75rem; }
  .has-sticky .site-footer { padding-bottom: 2.5rem; }
}

/* ---------- Thank you ---------- */
.ty-hero { padding-block: clamp(2.5rem, 7vw, 5rem) clamp(2rem, 5vw, 3rem); text-align: center; }
.ty-hero .lead { margin-inline: auto; max-width: 36rem; }
.ty-check {
  width: 4rem; height: 4rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
}
.ty-check svg { width: 2rem; height: 2rem; }
.ty-date {
  display: inline-block;
  margin: 0.5rem 0 1.25rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}
.ty-date .placeholder { background: transparent; color: var(--gold); }

.cal-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.cal-buttons .btn { min-width: 10rem; }

.steps { display: grid; gap: 1.5rem; }
.step-card {
  padding: clamp(1.25rem, 3.5vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step-num {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.step-card h2 { font-size: 1.5rem; }
.share-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.copy-status { min-height: 1.5rem; margin-top: 0.5rem; font-size: 0.9375rem; color: var(--navy); font-weight: 600; }
@media (min-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps .step-card--wide { grid-column: 1 / -1; } }
