/* Legacy Wealth Playbook — styles
   Breakpoints: < 700 mobile · 700–1099 tablet · ≥ 1100 desktop */

:root {
  --bg: #0B0B0C;
  --surface: #161719;
  --line: #2E2F33;
  --ink: #F2F0EA;
  --muted: #ABAEB5;
  --gold: #E3A92B;
  --gold-hover: #F2BE4E;
  --on-gold: #0B0B0C;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', 'Helvetica Neue', sans-serif;

  --pad: 20px;          /* side gutter */
  --header-h: 64px;
  --band-y: 72px;       /* section vertical padding */
  --radius: 4px;
}

@media (min-width: 700px) {
  :root { --pad: 40px; --header-h: 76px; --band-y: 96px; }
}
@media (min-width: 1100px) {
  :root { --pad: 64px; --header-h: 85px; --band-y: 120px; }
}

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
@media (min-width: 700px) { body { font-size: 19px; } }
@media (min-width: 1100px) { body { font-size: 20px; } }

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
#top { scroll-margin-top: var(--header-h); }

.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.gold { color: var(--gold); }

.skip-link {
  position: absolute;
  left: var(--pad);
  top: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--on-gold);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: var(--radius);
}
/* Fully clipped (no box, no outline) until it receives focus */
.skip-link:not(:focus) {
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

/* ---------- Type ---------- */

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
@media (min-width: 1100px) { .eyebrow { font-size: 18px; } }

.eyebrow-gold { color: var(--gold); }

.eyebrow-bar {
  display: flex;
  align-items: center;
  gap: 16px;
}
.eyebrow-bar::before {
  content: "";
  flex: none;
  width: 44px;
  height: 4px;
  background: var(--gold);
}

.hero-title,
.section-title,
.card-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-title em,
.section-title em {
  font-style: italic;
  font-weight: 800;
  color: var(--gold);
}
.section-title em { white-space: nowrap; }

.hero-title {
  font-size: clamp(48px, 6.7vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.005em;
}

.section-title {
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1;
}

.card-title {
  font-size: clamp(28px, 2.4vw, 34px);
  line-height: 1;
}

.body-lg { font-size: 1em; color: var(--ink); }
@media (min-width: 1100px) { .body-lg { font-size: 21px; } }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border: 0;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
@media (min-width: 1100px) { .btn { font-size: 19px; min-height: 52px; padding: 14px 30px; } }

.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-hover); }
.btn:disabled { opacity: 0.6; cursor: progress; }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.text-link:hover { text-decoration-color: var(--ink); }
@media (min-width: 1100px) { .text-link { font-size: 19px; } }

/* ---------- 1. Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: calc(var(--header-h) - 1px);
}
.header-logo { display: block; flex: none; }
.header-logo img { height: 40px; width: auto; }

.header-nav { display: flex; align-items: center; gap: 36px; }
.nav-links { display: none; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.nav-links a:hover { color: var(--gold); }

.header-cta { min-height: 44px; padding: 10px 18px; font-size: 16px; }
.cta-long { display: none; }

@media (min-width: 700px) {
  .header-logo img { height: 46px; }
}
@media (min-width: 1100px) {
  .header-logo img { height: 52px; }
  .nav-links { display: flex; gap: 32px; }
  .header-cta { min-height: 48px; padding: 12px 24px; font-size: 18px; }
  .cta-long { display: inline; }
  .cta-short { display: none; }
}

/* ---------- 2. Hero ---------- */

.hero {
  display: flex;
  flex-direction: column-reverse;
}
.hero-copy { padding: 40px var(--pad) 64px; }

.hero-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 26%;
}

.hero-title { margin: 8px 0 24px; }
.hero-lede { max-width: 34em; }

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 32px;
}
.hero-actions .text-link { justify-content: center; }

.hero-note {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (min-width: 700px) {
  .hero-photo img { aspect-ratio: 4 / 3; }
  .hero-copy { padding: 56px var(--pad) 88px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 32px; }
}

@media (min-width: 1100px) {
  /* Full-bleed grid: the outer 1fr tracks are the space beside the 1440px
     container, so the copy lines up with .wrap while the photo runs to the
     right edge of the viewport. */
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 880px) 560px minmax(0, 1fr);
    min-height: 680px;
  }
  .hero-copy {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    padding: 96px 64px 96px var(--pad);
  }
  .hero-photo {
    grid-column: 3 / 5;
    grid-row: 1;
    position: relative;
  }
  .hero-photo img {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
  }
}

/* jeff-hero-wide.jpg (1800×1161). The hero grows with the photo's width so
   the box is never wider than the image's 1.55:1 ratio — that way the crop
   only ever comes off the sides and the top of his head stays in frame. */
@media (min-width: 1400px) {
  .hero { min-height: max(680px, calc((560px + (100vw - 1440px) / 2) * 0.645)); }
  .hero-photo img { object-position: 30% 20%; }
}

/* ---------- Bands ---------- */

.band { padding: var(--band-y) 0; }
.band-surface { background: var(--surface); }

/* ---------- 3. Mission ---------- */

.mission-text {
  max-width: 1120px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.4;
}
@media (min-width: 700px) { .mission-text { font-size: clamp(24px, 2.1vw, 30px); } }

/* ---------- 4. Talks ---------- */

.section-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.section-note { color: var(--muted); max-width: 26em; }

@media (min-width: 1100px) {
  .section-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 64px;
    margin-bottom: 56px;
  }
  .section-note { text-align: right; max-width: 24em; }
}

.talk-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 700px) { .talk-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1100px) { .talk-grid { gap: 24px; } }

.talk-card {
  background: var(--surface);
  border-radius: 6px;
  padding: 28px 24px 32px;
}
@media (min-width: 1100px) { .talk-card { padding: 44px 44px 48px; } }

.talk-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 20px;
}
@media (min-width: 1100px) { .talk-num { font-size: 64px; margin-bottom: 28px; } }

.talk-card .card-title { margin-bottom: 12px; }
.talk-card p { color: var(--muted); }

/* ---------- 5. About ---------- */

.about { padding-top: 0; }
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
@media (min-width: 1100px) {
  .about-grid {
    display: grid;
    grid-template-columns: 480px minmax(0, 1fr);
    gap: 88px;
    align-items: center;
  }
}

.pull-quote {
  background: var(--surface);
  border-left: 6px solid var(--gold);
  border-radius: 0 6px 6px 0;
  padding: 32px 28px;
}
@media (min-width: 1100px) { .pull-quote { padding: 56px 48px; } }

.pull-quote p {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--ink);
}
@media (min-width: 1100px) { .pull-quote p { font-size: 40px; } }

.pull-quote footer {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
@media (min-width: 1100px) { .pull-quote footer { font-size: 18px; } }

.about-copy .section-title { margin-bottom: 24px; max-width: 14em; }
.about-copy .body-lg { max-width: 36em; }

.bar-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.bar-line::before {
  content: "";
  flex: none;
  width: 44px;
  height: 4px;
  background: var(--gold);
}
@media (min-width: 1100px) { .bar-line { font-size: 21px; } }

/* ---------- 6. Audiences ---------- */

.audiences .eyebrow { margin-bottom: 36px; }

.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 700px) { .audience-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; } }
@media (min-width: 1100px) { .audience-grid { grid-template-columns: repeat(4, 1fr); gap: 40px; } }

.audience-item {
  border-top: 3px solid var(--gold);
  padding-top: 20px;
}
.audience-item h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 10px;
}
@media (min-width: 1100px) { .audience-item h3 { font-size: 26px; } }
.audience-item p { color: var(--muted); }

/* ---------- 7. Invite ---------- */

.invite-grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
@media (min-width: 1100px) {
  .invite-grid {
    display: grid;
    grid-template-columns: 430px minmax(0, 1fr);
    gap: 80px;
    align-items: start;
  }
}
.invite-intro .section-title { margin-bottom: 24px; }

.form-panel {
  background: var(--surface);
  border-radius: 6px;
  padding: 28px 20px;
}
@media (min-width: 700px) { .form-panel { padding: 40px; } }
@media (min-width: 1100px) { .form-panel { padding: 48px; } }

.invite-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 700px) {
  .invite-form { grid-template-columns: 1fr 1fr; gap: 24px; }
  .field-full { grid-column: 1 / -1; }
}

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }

.field label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.optional {
  margin-left: 6px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.4;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: #8A8D94; opacity: 1; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #4A4C52; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { border-color: var(--gold); outline-offset: 2px; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23ABAEB5' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.field select:invalid { color: #8A8D94; }
.field select option { color: var(--ink); background: var(--bg); }

/* Honeypot: off-screen, not type="hidden" */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.form-submit {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin-top: 4px;
}
.submit-note { font-size: 16px; color: var(--muted); text-align: center; }
@media (min-width: 700px) {
  .form-submit { flex-direction: row; align-items: center; gap: 24px; }
  .submit-note { text-align: left; }
}

.form-status:empty { display: none; }
.form-status { color: var(--ink); font-size: 17px; }
.form-status a { color: var(--gold); }

.form-thanks:focus { outline: none; }
.form-thanks h3 { margin-bottom: 16px; }
.form-thanks p { color: var(--muted); max-width: 32em; }

/* ---------- 8. Footer ---------- */

.site-footer {
  background: var(--surface);
  border-top: 4px solid var(--gold);
  padding: 56px 0 40px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
@media (min-width: 1100px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

.footer-brand img { height: 64px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--muted); font-size: 17px; }
.footer-brand strong { color: var(--ink); font-weight: 600; }

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
@media (min-width: 1100px) { .footer-links { align-items: flex-end; } }

.footer-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  color: var(--ink);
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}

.social-links { display: flex; flex-wrap: wrap; align-items: center; }
.social-links li { display: flex; align-items: center; }
.social-links li + li::before {
  content: "·" / "";
  color: var(--muted);
  padding: 0 10px;
}
.social-links a,
.footer-privacy {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.social-links a:hover,
.footer-privacy:hover { color: var(--ink); }

.copyright {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--muted);
}

/* ---------- Simple pages (privacy, thank-you) ---------- */

.page {
  padding: var(--band-y) 0;
  min-height: 60vh;
}
.page-inner { max-width: 760px; }
.page .section-title { margin-bottom: 32px; }
.page p + p { margin-top: 18px; }
.page p { color: var(--ink); }
.page a:not(.btn) { color: var(--gold); text-underline-offset: 4px; }
.page .btn,
.page .text-link { margin-top: 36px; }

/* ---------- Small-screen tightening ---------- */

/* Bars sit on the first line when a label wraps */
.eyebrow-bar,
.bar-line { align-items: flex-start; }
.eyebrow-bar::before,
.bar-line::before { margin-top: calc(0.6em - 2px); }

@media (max-width: 699px) {
  .eyebrow { letter-spacing: 0.08em; }
  .social-links { gap: 0 22px; }
  .social-links li + li::before { content: none; }
}
