/* HeyFi brand system. Shared with F'd Up Wealth.
   Signal Blue appears once per composition and never as a background. */
:root {
  --ink: #0B0F1A;
  --paper: #F2F4F8;
  --slate: #8E9BB3;
  --signal: #3B7DD8;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --measure: 38rem;
  --measure-long: 44rem;
  --gutter: clamp(1rem, 5vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.0625rem, 0.3vw + 1rem, 1.1875rem);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

p { margin: 0 0 1.1em; }
a { color: inherit; text-underline-offset: 0.2em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

.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: -999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--paper); color: var(--ink); padding: 0.5rem 1rem; z-index: 10; }

/* Header */
.site-header { padding: 1.25rem var(--gutter); background: var(--paper); }
.site-header .inner {
  max-width: 68rem; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.site-header .brand { display: inline-flex; line-height: 0; }
.site-header .brand img { height: 2.25rem; width: auto; display: block; }
.btn-small { padding: 0.65rem 1.15rem; font-size: 0.85rem; border-width: 1px; }

/* Sections */
.section { padding: clamp(4rem, 10vw, 8rem) var(--gutter); }
.section > .inner, .section > .founder { position: relative; }
.section + .section:not(.hero)::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 1px;
  background: var(--slate);
  opacity: 0.6;
  margin: 0 auto clamp(3rem, 7vw, 5rem);
}
.dark { background: var(--ink); color: var(--paper); }
.light { background: var(--paper); color: var(--ink); }
.dark .caption, .light .caption { color: var(--slate); }

.space { height: 2.25em; }

.display {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.verdict {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw + 1rem, 2.25rem);
  line-height: 1.25;
  margin: 3.5rem 0 0;
}
.verdict span { display: block; }
.pullout {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.2vw + 1rem, 3rem);
  line-height: 1.2;
  margin: 4rem 0;
}
.caption { font-size: 0.875rem; line-height: 1.5; }

/* 1. Hero */
.hero {
  min-height: min(92svh, 52rem);
  display: flex;
  align-items: center;
  padding: clamp(5rem, 12vw, 9rem) var(--gutter);
}
.hero .inner { max-width: 60rem; margin: 0 auto; width: 100%; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw + 1rem, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 2rem;
}
.hero h1 span { display: block; }
.hero .subhead p { margin: 0 0 0.35em; font-size: 1.125rem; }
.hero .subhead p:first-child { font-weight: 600; letter-spacing: 0.01em; }
.cta-block { margin-top: 2.75rem; }
.btn {
  display: inline-block;
  font: 600 1rem/1 var(--sans);
  letter-spacing: 0.02em;
  padding: 1.1rem 1.9rem;
  border: 2px solid var(--signal);
  background: transparent;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  border-radius: 2px;
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.cta-block .caption { margin-top: 1rem; }

/* 2 */
.s2 .inner { max-width: var(--measure-long); }
.s2 p { line-height: 1.85; }

/* 3. Research */
.opening {
  font-size: clamp(1.75rem, 3vw + 1rem, 2.75rem);
  margin: 0 0 3.5rem;
}
.figure { margin: 0 0 0.6rem; }
.figure .num {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.figure.f15 .num { font-size: clamp(2.5rem, 3vw + 1.5rem, 3.5rem); }
.figure.f25 .num { font-size: clamp(3.25rem, 4.5vw + 1.75rem, 5rem); }
.figure.f60 .num { font-size: clamp(4.25rem, 7vw + 2rem, 7.5rem); }
.figure .label { font-weight: 600; }
.s3 .pullout { font-size: clamp(2rem, 4.5vw + 1rem, 3.75rem); margin: 6rem 0; }

/* 4. Seat: short */
.s4 { padding-block: clamp(3.5rem, 8vw, 6rem); }

/* 5. Filling the seat */
.cause-intro { font-family: var(--serif); font-weight: 700; font-size: clamp(1.35rem, 1.5vw + 1rem, 1.75rem); line-height: 1.3; margin: 0 0 2.5rem; }
.stage { border-left: 1px solid var(--slate); padding-left: 1.25rem; margin: 0 0 3rem; }
.stage-name {
  font-variant: small-caps;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--slate);
  display: block;
  font-size: 1.3rem;
  line-height: 1.2;
  margin: 0 0 0.6rem;
}

.stage-roll { font-weight: 600; letter-spacing: 0.02em; }

/* 6. Founder note */
.s6 .founder {
  max-width: 64rem; margin: 0 auto;
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
}
@media (min-width: 60rem) {
  .s6 .founder { grid-template-columns: 18rem minmax(0, 1fr); align-items: start; }
  .s6 .portrait { position: sticky; top: 3rem; }
}
.portrait-frame {
  border: 1px solid var(--slate);
  padding: 0.6rem;
  background: var(--paper);
}
.portrait img { width: 100%; height: auto; display: block; }
.s6 .note { max-width: var(--measure-long); font-size: 1.08em; }
.s6 .pullout { margin: 3.5rem 0; }
.signature { margin-top: 2.5rem; }
.signature .sig-img { height: 3.5rem; margin-bottom: 0.5rem; color: var(--slate); font-size: 0.8rem; }
.signature .name { font-weight: 700; margin: 0 0 0.75rem; }
.text-link { font-weight: 600; }

/* 7. Testimonials */
.quotes { list-style: none; margin: 0; padding: 0; }
.quote { margin: 0 0 3.25rem; }
.quote figcaption { margin-bottom: 0.75rem; }
.quote .who { font-weight: 700; }
.quote .title { color: var(--slate); }
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15em;
  line-height: 1.6;
}
.quote blockquote p { margin: 0; }

/* 8. Consultation */
.s8 { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.form { margin-top: 2.5rem; display: grid; gap: 1.25rem; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.4rem; }
.field .opt { font-weight: 400; color: var(--slate); }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--slate);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
}
.field textarea { min-height: 6rem; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; color: var(--ink); }
.form-note { font-size: 0.875rem; color: var(--slate); margin: 0; }
.form-error { border-left: 3px solid var(--ink); padding: 0.75rem 1rem; background: #fff; margin: 2rem 0 0; }

/* 9. Not ready: same panel, quieter */
.s9 { padding-top: 0; }
.s9 .inner { border-top: 1px solid rgba(142, 155, 179, 0.4); padding-top: 3rem; font-size: 0.9375rem; }

/* 10. Footer */
.site-footer { padding: 4rem var(--gutter) 3rem; font-size: 0.9rem; line-height: 1.6; }
.site-footer .inner { max-width: 60rem; margin: 0 auto; display: grid; gap: 1.5rem; }
.site-footer p { margin: 0; }
.site-footer .firm { font-weight: 700; }
.site-footer nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0; padding: 0; margin: 0; }
.site-footer nav li + li::before { content: "\00B7"; padding: 0 0.6rem; color: var(--slate); }
.site-footer .muted { color: var(--slate); }

/* Thank-you page */
.simple { min-height: 80svh; display: flex; align-items: center; }
.simple h1 { font-family: var(--serif); font-size: clamp(2rem, 3vw + 1rem, 3rem); line-height: 1.15; margin: 0 0 1.5rem; }
.mt { margin-top: 2rem; }
