/* Self-hosted fonts (latin subset, variable weight) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/fonts/outfit-latin.woff2") format("woff2"); }

:root {
  --navy: #13284a;
  --navy-2: #1c3866;
  --mint: #7dd3c0;
  --teal: #1f7a6a;
  --tint: #eef6f3;
  --ink: #1d2533;
  --muted: #566173;
  --line: #d9e2ea;
  --field-border: #76869a;
  --error: #b3261e;
  --white: #fff;
  --radius: 14px;
  --maxw: 1120px;
  --font-head: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 1.0625rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.site-header :focus-visible, .hero :focus-visible, .promise :focus-visible, .site-footer :focus-visible, .skip-link:focus-visible { outline-color: var(--mint); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--white); color: var(--navy); padding: .6rem 1rem; z-index: 100; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

/* Buttons */
.btn { display: inline-block; background: var(--mint); color: var(--navy); text-decoration: none; padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid var(--mint); cursor: pointer; font: 600 1rem var(--font-body); transition: background .2s, color .2s; }
.btn:hover { background: #a5e4d6; border-color: #a5e4d6; color: var(--navy); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: var(--white); }
.btn-small { padding: .45rem 1rem; font-size: .9rem; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--mint); }
.site-nav ul { list-style: none; display: flex; gap: 1.4rem; align-items: center; margin: 0; padding: 0; }
.site-nav a { color: #dce4f0; text-decoration: none; font-size: .95rem; }
.site-nav a:hover { color: var(--mint); }
.site-nav a.btn { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle .bar, .nav-toggle .bar::before, .nav-toggle .bar::after { content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); transition: transform .2s; }
.nav-toggle .bar { top: 21px; }
.nav-toggle .bar::before { left: 0; right: 0; top: -7px; }
.nav-toggle .bar::after { left: 0; right: 0; top: 7px; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); padding: 4.5rem 0 5rem; }
.hero-grid { display: grid; grid-template-columns: 380px 1fr; gap: 3.5rem; align-items: center; }
.hero-photo img { border-radius: 22px; box-shadow: 0 18px 50px rgba(0,0,0,.35); aspect-ratio: 1; object-fit: cover; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; color: var(--mint); margin: 0 0 .8rem; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4rem); margin-bottom: .3rem; }
.credentials { color: #dce4f0; margin: 0 0 1.6rem; }
.tagline { font-family: var(--font-head); font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: var(--mint); font-weight: 600; line-height: 1.2; margin: 0; }
.tagline-sub { font-style: italic; color: #dce4f0; font-size: 1.15rem; margin: .4rem 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Sections */
.section { padding: 5rem 0; }
.section-tint { background: var(--tint); }
.section-label { text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; font-family: var(--font-body); font-weight: 600; color: var(--teal); margin-bottom: 1.1rem; }
.section-intro { color: var(--muted); margin: -.4rem 0 2rem; }
.lead { font-size: 1.3rem; line-height: 1.5; color: var(--navy); }
.note { color: var(--muted); font-size: .95rem; }

.about-grid, .formats-grid, .promise-grid, .book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; }
.trust-list, .check-list { list-style: none; padding: 0; margin: 0; }
.trust-list li { position: relative; padding-left: 1.6rem; margin-bottom: .9rem; }
.trust-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 2px; background: var(--teal); }
.check-list li { position: relative; padding-left: 1.8rem; margin-bottom: .7rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* Keynote */
.keynote { background: var(--white); border-radius: var(--radius); padding: 2.5rem; box-shadow: 0 6px 30px rgba(19,40,74,.08); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; }
.keynote h3 { font-size: 2.2rem; color: var(--navy); margin-bottom: .2rem; }
.keynote-sub { font-size: 1.15rem; color: var(--navy); margin: 0 0 .6rem; }
.meta { font-size: .9rem; color: var(--muted); margin: 0 0 1rem; }
.keynote-steps { margin: 0; padding-left: 1.3rem; }
.keynote-steps li { margin-bottom: .7rem; padding-left: .3rem; }
.keynote-steps li::marker { color: var(--teal); font-weight: 700; }
.signature { grid-column: 1 / -1; margin: 1rem 0 0; padding: 1.4rem 1.8rem; background: var(--navy); color: var(--white); border-radius: 12px; }
.signature p { margin: 0; font-family: var(--font-head); font-size: clamp(1.2rem, 2.4vw, 1.55rem); line-height: 1.35; }
.keynote > .note { grid-column: 1 / -1; margin: .2rem 0 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.card h3 { font-size: 1.3rem; color: var(--navy); }
.card p:last-child { margin-bottom: 0; color: var(--muted); }
.card-tag { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); font-weight: 600; margin: 0 0 .6rem; }

/* Formats */
.formats { margin: 0; }
.formats div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.formats dt { font-weight: 600; color: var(--navy); }
.formats dd { margin: 0; color: var(--muted); text-align: right; }

/* Promise */
.promise { background: var(--navy); color: var(--white); }
.promise .section-label { color: var(--mint); }
.promise-quote { margin: 0; }
.promise-quote p { font-family: var(--font-head); font-size: clamp(1.4rem, 2.8vw, 1.9rem); line-height: 1.35; margin: 0; }
.promise-side h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mint); font-family: var(--font-body); }
.promise-side p { color: #dce4f0; margin-top: 0; }
.promise-side p + h3 { margin-top: 1.6rem; }

/* Book */
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li { padding: .7rem 0; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; }
.contact-list span { flex: 0 0 4.5rem; font-weight: 600; color: var(--navy); }
.book-form { background: var(--tint); border-radius: var(--radius); padding: 2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; margin-bottom: 1rem; min-width: 0; }
.field label { font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: .35rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: .7rem .8rem; border: 1px solid var(--field-border); border-radius: 8px; background: var(--white); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.field-error { color: var(--error); font-size: .85rem; font-weight: 600; margin: .35rem 0 0; }
.hp { display: none !important; }
.form-fine { font-size: .85rem; color: var(--muted); }
.form-status { margin: 1rem 0 0; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: var(--error); }

/* 404 */
.hero-404 { min-height: 100vh; display: flex; align-items: center; }
.center { text-align: center; }

/* Footer */
.site-footer { background: #0d1d38; color: #b9c6d8; padding: 2.5rem 0; font-size: .92rem; }
.site-footer p { margin: .3rem 0; }
.site-footer strong { color: var(--white); }
.site-footer a { color: var(--mint); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 300px 1fr; gap: 2.5rem; }
  .keynote { grid-template-columns: 1fr; padding: 1.8rem; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); border-top: 1px solid rgba(255,255,255,.1); display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; }
  .site-nav li a { display: block; padding: .8rem 0; }
  .site-nav li a.btn { text-align: center; margin-top: .6rem; }
  .nav-toggle[aria-expanded="true"] .bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bar::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar::after { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 3rem 0 3.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero-photo { max-width: 260px; margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .eyebrow { letter-spacing: .08em; font-size: .75rem; }
  .section { padding: 3.5rem 0; }
  .about-grid, .formats-grid, .promise-grid, .book-grid, .cards, .field-row { grid-template-columns: 1fr; gap: 2rem; }
  .field-row { gap: 0; }
  .book-form { padding: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
