/* Beacon Coaching — site styles */

/* ---------- Fonts (self-hosted: no third-party requests) ---------- */
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #13254d;
  --navy-deep: #0e1d3f;
  --orange: #c4471a;
  --orange-soft: #e9a27f;
  --cream: #fcf6f0;
  --band: #f7ece2;
  --card: #fefaf6;
  --line: #ecdccd;
  --text: #1a2b52;
  --muted: #45557a;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --radius: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--cream);
  background-image:
    linear-gradient(115deg, transparent 55%, rgba(233, 162, 127, 0.1) 62%, transparent 70%),
    linear-gradient(125deg, transparent 62%, rgba(233, 162, 127, 0.08) 70%, transparent 78%),
    radial-gradient(ellipse at 100% 0%, rgba(240, 200, 175, 0.35), transparent 55%);
  background-repeat: no-repeat;
  background-size: 100% 1100px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--navy);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  z-index: 100;
}
.skip-link:focus {
  left: 8px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
.serif {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.015em;
}
h1 {
  font-size: clamp(2.4rem, 5.6vw, 3.9rem);
  line-height: 1.05;
  margin: 0 0 22px;
}
h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
  line-height: 1.12;
  margin: 0;
}
h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0 0 8px;
}
p {
  margin: 0 0 14px;
}
.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 14px;
}
.eyebrow.navy {
  color: var(--navy);
}
.eyebrow.navy::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--orange);
  margin-top: 14px;
}
.rule {
  display: block;
  width: 52px;
  height: 3px;
  background: var(--orange);
  border: 0;
  margin: 18px 0 26px;
}
.lead {
  font-size: 1.08rem;
  max-width: 640px;
}
.small {
  font-size: 0.95rem;
}
.sans-h {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0 0 8px;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 7px;
  border: 2px solid var(--navy);
  font-family: var(--sans);
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(14, 29, 63, 0.15);
  transition:
    background 0.15s,
    transform 0.15s;
}
.btn:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
}
.btn.outline {
  background: transparent;
  color: var(--navy);
}
.btn.outline:hover {
  background: rgba(19, 37, 77, 0.06);
}
.link-arrow {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
}
.link-arrow::after {
  content: " →";
  text-decoration: none;
  display: inline-block;
  margin-left: 2px;
}
.link-arrow:hover {
  color: #a33a12;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 26px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 246, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  flex: none;
}
.logo svg.beam {
  width: 38px;
  height: 16px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  line-height: 1.15;
  color: var(--navy);
}
.logo-text .o {
  color: var(--orange);
}
.header-divider {
  width: 2px;
  height: 30px;
  background: var(--orange);
  opacity: 0.8;
  flex: none;
}
.main-nav {
  flex: 1;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover {
  border-bottom-color: var(--orange-soft);
}
.main-nav a[aria-current="page"] {
  border-bottom-color: var(--orange);
}
.header-cta {
  flex: none;
  padding: 10px 18px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  margin-left: auto;
  cursor: pointer;
  color: var(--navy);
}
.nav-toggle svg {
  width: 28px;
  height: 28px;
}

/* ---------- Sections ---------- */
section {
  padding: 64px 0;
}
.hero {
  padding: 56px 0 64px;
}
.band {
  background: var(--band);
}
.band-soft {
  background: rgba(247, 236, 226, 0.55);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.hero p {
  max-width: 640px;
}
.byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  font-weight: 500;
  font-size: 0.95rem;
}
.byline::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--orange);
  flex: none;
}
.byline .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(19, 37, 77, 0.15);
  flex: none;
}

/* Grid of "what needs attention" items */
.issues {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px 60px;
  margin-top: 10px;
}
.issue {
  border-left: 2px solid var(--orange);
  padding-left: 22px;
}
.issue p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}
.issue.wide {
  grid-column: 1 / -1;
}
.issues-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  align-items: center;
  margin-top: 40px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 30px 30px 28px;
  box-shadow:
    0 1px 0 rgba(19, 37, 77, 0.04),
    0 8px 24px rgba(160, 110, 70, 0.07);
}
.card h3 {
  font-size: 1.75rem;
  margin-bottom: 18px;
}
.card p {
  color: var(--muted);
}

/* Steps 01–04 */
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 0;
  margin-top: 30px;
}
.step {
  padding-right: 40px;
}
.step:nth-child(even) {
  border-left: 2px solid var(--orange);
  padding: 0 0 0 40px;
}
.step .num {
  font-family: var(--serif);
  font-size: 2.3rem;
  color: var(--orange);
  line-height: 1;
  font-weight: 600;
}
.step h3 {
  margin: 6px 0 8px;
}
.step p {
  color: var(--muted);
  font-size: 0.97rem;
  margin: 0;
}

/* Credential highlight */
.credential {
  border-left: 2px solid var(--orange);
  padding: 4px 0 4px 30px;
  margin-top: 30px;
}
.credential h3 {
  font-size: 1.9rem;
  margin: 0 0 6px;
}
.credential p {
  margin: 0;
}

/* Stages A/B */
.stage {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 40px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
  margin-top: 22px;
  box-shadow: 0 8px 24px rgba(160, 110, 70, 0.06);
}
.stage .letter {
  font-family: var(--serif);
  font-size: 3.6rem;
  color: var(--orange);
  font-weight: 600;
  line-height: 1;
  border-right: 2px solid var(--orange);
  padding: 0 0 26px 20px;
  height: fit-content;
}
.stage h3 {
  font-size: 2.1rem;
  margin-bottom: 12px;
}
.callout {
  border: 1.5px solid var(--orange);
  border-radius: var(--radius);
  padding: 20px 40px;
  margin-top: 26px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1.35;
}

/* Testimonials */
.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.quote {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(160, 110, 70, 0.06);
  margin: 0;
}
.quote .mark {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--orange);
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: 0.6;
  height: 26px;
}
.quote .mark::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--orange);
}
.quote blockquote {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.35;
  margin: 20px 0 26px;
  color: var(--navy);
  flex: 1;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
}
.quote figcaption::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--orange);
}

/* Agreement panel */
.panel {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-top: 18px;
}
.panel h3 {
  font-size: 1.35rem;
}
.panel p {
  margin: 0;
}

/* Facts strip */
.facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 0;
  margin: 20px 0 0;
}
.facts li {
  padding: 4px 18px;
  border-left: 2px solid var(--orange);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
}
.facts li:first-child {
  border-left: 0;
  padding-left: 0;
}

/* About page */
.about-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-hero .role {
  font-weight: 700;
  font-size: 1.15rem;
  margin: -6px 0 18px;
}
.about-hero .lead {
  font-size: 1.2rem;
}
.about-photo {
  border-radius: 6px;
  width: 50%;
  justify-self: end;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(19, 37, 77, 0.14);
}
.prose {
  max-width: 800px;
}
.wrap.prose {
  max-width: var(--wrap);
}
.wrap.prose > * {
  max-width: 800px;
}
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
  align-items: start;
  margin-top: 8px;
}
.value-grid .issue {
  margin-bottom: 30px;
}
.value-grid .issue p {
  color: var(--text);
  font-size: 1rem;
}
/* Sailing photo floats right; the text flows beside it and continues underneath */
.value-flow {
  margin-top: 30px;
  display: flow-root;
}
.value-flow .issue {
  margin-bottom: 24px;
  overflow: hidden;
}
.value-flow .issue p {
  color: var(--text);
  font-size: 1rem;
}
.value-photo {
  float: right;
  width: 52%;
  margin: 4px 0 20px 40px;
  aspect-ratio: 328 / 281;
  object-fit: cover;
  object-position: center 62%;
}
.pull {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  line-height: 1.25;
  color: var(--navy);
  font-weight: 600;
  margin: 26px 0 0;
}
.quals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 60px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.quals li {
  border-left: 2px solid var(--orange);
  padding-left: 20px;
}
.quals strong {
  display: block;
  font-size: 1.12rem;
  color: var(--navy);
  line-height: 1.3;
}
.quals span {
  font-size: 0.93rem;
  color: var(--muted);
}
.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}

/* ---------- Booking ---------- */
.book {
  padding: 64px 0 56px;
}
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.book h2 {
  font-size: clamp(2rem, 3.8vw, 2.5rem);
}
.book .actions {
  margin-top: 22px;
}
.calendar {
  background: var(--card);
  border-radius: 12px;
  padding: 18px 20px 20px;
  box-shadow: 0 10px 30px rgba(160, 110, 70, 0.1);
}
.cal-note {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--orange);
  font-weight: 600;
  margin: 0 0 4px;
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 10px;
}
.cal-head h3 {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0;
  min-width: 160px;
  text-align: center;
}
.cal-nav {
  background: none;
  border: 0;
  color: var(--orange);
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 1.1rem;
  line-height: 1;
}
.cal-nav:disabled {
  opacity: 0.3;
  cursor: default;
}
.cal-nav:not(:disabled):hover {
  background: rgba(196, 71, 26, 0.08);
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px 2px;
  text-align: center;
}
.cal-grid .dow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  padding-bottom: 6px;
}
.day {
  border: 0;
  background: none;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  width: 36px;
  height: 36px;
  margin: 0 auto;
  border-radius: 50%;
  cursor: pointer;
}
.day:disabled {
  color: #b9b2ad;
  font-weight: 400;
  cursor: default;
}
.day:not(:disabled):hover {
  background: rgba(196, 71, 26, 0.12);
}
.day.selected {
  background: var(--orange);
  color: #fff;
}
.day.today {
  box-shadow: inset 0 0 0 1.5px var(--orange-soft);
}
.slots {
  border-top: 1.5px solid var(--orange-soft);
  margin-top: 12px;
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  min-height: 54px;
}
.slot {
  border: 1.5px solid var(--orange);
  background: none;
  color: var(--navy);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 7px;
  padding: 7px 26px;
  cursor: pointer;
}
.slot:hover {
  background: rgba(196, 71, 26, 0.08);
}
.slots .hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 6px 0 0;
}

/* Modal */
dialog.modal {
  border: 0;
  border-radius: 14px;
  padding: 0;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  color: var(--text);
  background: var(--cream);
  box-shadow: 0 30px 80px rgba(14, 29, 63, 0.35);
}
dialog.modal::backdrop {
  background: rgba(14, 29, 63, 0.45);
}
.modal-inner {
  padding: 28px 30px 26px;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: 0;
  font-size: 1.6rem;
  color: var(--navy);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  line-height: 1;
}
.modal-close:hover {
  background: rgba(19, 37, 77, 0.07);
}
.modal h2 {
  font-size: 1.8rem;
  margin-bottom: 4px;
  padding-right: 30px;
}
.modal .when {
  color: var(--orange);
  font-weight: 700;
  margin: 0 0 18px;
}

/* Forms */
.form {
  display: grid;
  gap: 14px;
}
.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 5px;
  color: var(--navy);
}
.field .opt {
  font-weight: 400;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(19, 37, 77, 0.12);
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #b3261e;
}
.field .err {
  color: #b3261e;
  font-size: 0.85rem;
  margin-top: 4px;
  display: none;
}
.field.invalid .err {
  display: block;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
}
.check input {
  margin-top: 4px;
  width: 17px;
  height: 17px;
  accent-color: var(--navy);
  flex: none;
}
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}
.form-success {
  background: #fff;
  border-left: 3px solid var(--orange);
  padding: 16px 18px;
  border-radius: 6px;
}
.form-success p:last-child {
  margin: 0;
}
.form-success,
.form-error {
  overflow-wrap: anywhere;
}
.form-error {
  background: #fdecea;
  border-left: 3px solid #b3261e;
  color: #7a1c15;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.92rem;
  margin: 0;
}
.form-error[hidden],
.form[hidden],
.form-success[hidden] {
  display: none;
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.hp {
  position: absolute;
  left: -9999px;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 26px 0 34px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}
.footer-links li {
  padding: 0 22px;
  border-left: 2px solid var(--orange);
  font-size: 0.88rem;
  font-weight: 500;
}
.footer-links a {
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-meta {
  color: var(--muted);
}

/* ---------- Simple content pages ---------- */
.doc {
  max-width: 780px;
}
.doc h2 {
  font-size: 1.6rem;
  margin: 34px 0 10px;
}
.doc ul {
  padding-left: 22px;
}
.doc li {
  margin-bottom: 6px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.contact-list li {
  border-left: 2px solid var(--orange);
  padding: 2px 0 2px 18px;
  margin-bottom: 18px;
}
.contact-list strong {
  display: block;
  color: var(--navy);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .main-nav ul {
    gap: 20px;
  }
  .header-cta {
    display: none;
  }
  .facts {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 16px;
  }
  .facts li:nth-child(4) {
    border-left: 0;
    padding-left: 0;
  }
}
@media (max-width: 800px) {
  body {
    font-size: 16px;
  }
  .wrap {
    padding: 0 16px;
  }
  .header-inner {
    height: 66px;
    gap: 14px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .header-divider {
    display: none;
  }
  .main-nav {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    display: none;
    box-shadow: 0 12px 24px rgba(19, 37, 77, 0.08);
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 18px;
  }
  .main-nav li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .main-nav a[aria-current="page"] {
    color: var(--orange);
    border-bottom-color: var(--line);
  }
  .main-nav .mobile-cta {
    display: block;
    margin-top: 14px;
  }
  .main-nav .mobile-cta a {
    display: flex;
    color: #fff;
    border: 0;
    text-align: center;
  }
  section {
    padding: 48px 0;
  }
  .hero {
    padding: 36px 0 44px;
  }
  .issues,
  .cards,
  .quotes,
  .quals,
  .book-grid,
  .about-hero,
  .value-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .issues {
    gap: 26px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .step,
  .step:nth-child(even) {
    border-left: 2px solid var(--orange);
    padding: 0 0 0 22px;
  }
  .stage {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px 22px;
  }
  .stage .letter {
    border-right: 0;
    padding: 0;
    font-size: 3rem;
  }
  .stage h3 {
    font-size: 1.7rem;
  }
  .callout {
    padding: 18px 20px;
    font-size: 1.05rem;
  }
  .about-photo {
    width: 170px;
    justify-self: start;
  }
  .value-photo {
    float: none;
    width: 100%;
    margin: 0 0 24px;
  }
  .facts {
    grid-template-columns: repeat(2, 1fr);
  }
  .facts li,
  .facts li:nth-child(4) {
    border-left: 2px solid var(--orange);
    padding-left: 14px;
  }
  .form .row {
    grid-template-columns: 1fr;
  }
  .footer-links {
    margin: 0;
  }
  .footer-links li {
    padding: 4px 14px 4px 0;
    border-left: 0;
    margin-right: 14px;
  }
  .credential h3 {
    font-size: 1.55rem;
  }
}
@media (min-width: 801px) {
  .main-nav .mobile-cta {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}

/* Utilities (replace former inline style attributes so the CSP needs no 'unsafe-inline') */
.pt-0 {
  padding-top: 0 !important;
}
.pt-16 {
  padding-top: 16px !important;
}
.mt-0 {
  margin-top: 0 !important;
}
.mt-12 {
  margin-top: 12px !important;
}
.mt-18 {
  margin-top: 18px !important;
}
.mt-20 {
  margin-top: 20px !important;
}
.mt-48 {
  margin-top: 48px !important;
}
.h2-sm {
  font-size: 1.9rem !important;
}
.h2-card {
  font-size: 1.7rem !important;
  margin-bottom: 16px !important;
}
.consent-err {
  display: none;
  color: #b3261e;
  font-size: 0.85rem;
  margin: -6px 0 0;
}
