:root {
  --sand: #f4e9d8;
  --sand-deep: #ead9c0;
  --paper: #fbf5ec;
  --teal-ink: #0c2c3a;
  --teal: #0e5e6f;
  --teal-mid: #138a9e;
  --teal-soft: #7fc8d6;
  --coral: #f28c5b;
  --coral-deep: #d86a38;
  --gold: #f6b26b;
  --white: #fffdf9;
  --line: rgba(12, 44, 58, 0.12);
  --shadow: 0 18px 40px rgba(12, 44, 58, 0.1);
  --serif: "Comfortaa", "Trebuchet MS", sans-serif;
  --sans: "Nunito Sans", "Avenir Next", "Segoe UI", sans-serif;
  --wrap: 1120px;
  --header: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--teal-ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}

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

a { color: var(--teal); }

a:hover { color: var(--coral-deep); }

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--teal-ink);
  color: white;
  padding: 0.6rem 1rem;
  z-index: 20;
}

.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

h1, h2, h3, .logo-word {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); margin: 0 0 0.6rem; }

h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 0.8rem; }

h3 { font-size: 1.35rem; margin: 0 0 0.4rem; }

p { margin: 0 0 1rem; }

.lede { font-size: 1.2rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 245, 236, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-bar,
.nav-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-bar { min-height: 64px; justify-content: space-between; }

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--teal-ink);
}

.brand { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
.brand-logo {
  height: 72px;
  width: auto;
  background: #fff;
  border-radius: 14px;
  display: block;
}
.brand-broker {
  margin: 0.35rem 0 0;
  max-width: 24rem;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--teal);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0 0 0.7rem;
}

.nav a {
  text-decoration: none;
  color: var(--teal-ink);
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="page"] { background: rgba(14, 94, 111, 0.1); color: var(--teal); }

.call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--coral);
  color: var(--teal-ink);
  font-weight: 700;
  text-decoration: none;
  flex: none;
}

.call-btn:hover { background: var(--gold); color: var(--teal-ink); }

@media (min-width: 860px) {
  .site-header .wrap { display: flex; align-items: center; gap: 1rem; }
  .nav { margin-left: auto; padding: 0; }
  .call-btn span.short { display: none; }
}

@media (max-width: 859px) {
  .call-btn span.long { display: none; }
  .nav a { padding: 0.4rem 0.65rem; font-size: 0.95rem; }
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  color: white;
  background: #1a1612 28% 70%/cover no-repeat;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.36) 0%, rgba(0, 0, 0, 0.16) 48%, rgba(0, 0, 0, 0) 78%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.12) 40%, rgba(0, 0, 0, 0.5) 100%);
  z-index: -1;
  pointer-events: none;
}

.hero-panel {
  width: min(720px, calc(100% - 2rem));
  margin: 4.5vh 0 3.5vh;
  margin-left: max(1rem, calc((100% - var(--wrap)) / 2));
  padding: 1.4rem 1.3rem 1.5rem;
  background: transparent;
  border: none;
  border-radius: 22px;
  box-shadow: none;
}

.hero-id {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 0.85rem;
}

.hero-headshot {
  width: 96px;
  height: 96px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  border: 2px solid rgba(255, 253, 249, 0.88);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  flex: none;
}

.hero-id-text { min-width: 0; }

.hero-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.38rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.hero-role {
  margin: 0.18rem 0 0;
  font-size: 1.08rem;
  font-weight: 600;
  color: rgba(255, 253, 249, 0.95);
}

.hero-broker {
  margin: 0.22rem 0 0;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  color: rgba(255, 253, 249, 0.88);
}

.eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.hero h1,
.hero .subhead,
.hero p,
.hero .eyebrow,
.hero .trust,
.hero-name,
.hero-role,
.hero-broker {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7), 0 2px 18px rgba(0, 0, 0, 0.5);
}

.hero h1 {
  color: white;
  font-size: clamp(2.7rem, 7.4vw, 5.1rem);
}

.hero .subhead {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.85vw, 1.95rem);
  margin: 0 0 0.85rem;
}

.hero .btn {
  min-height: 54px;
  padding: 0.8rem 1.3rem;
  font-size: 1.08rem;
}

@media (max-width: 479px) {
  .hero-headshot { width: 76px; height: 76px; }
  .hero-name { font-size: 1.18rem; }
  .hero-role { font-size: 0.98rem; }
  .hero-broker { font-size: 0.8rem; }
  .hero-id { margin-bottom: 0.8rem; gap: 0.7rem; }
  .hero .btn { min-height: 50px; padding: 0.65rem 1.1rem; font-size: 1.02rem; }
  .hero h1 { font-size: clamp(2.55rem, 11.5vw, 3rem); }
  .hero .subhead { font-size: clamp(1.28rem, 4.6vw, 1.5rem); }
}

.hero p { color: rgba(255, 253, 249, 0.94); }

.trust {
  margin: 1rem 0 0;
  color: var(--teal-soft);
  font-size: 0.95rem;
}

.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.85rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  color: var(--teal-ink);
}

.btn-primary { background: var(--coral); }
.btn-primary:hover { background: var(--gold); color: var(--teal-ink); }

.btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 253, 249, 0.8);
}

.btn-secondary:hover { background: white; color: var(--teal-ink); }

.btn-teal { background: var(--teal); color: white; }
.btn-teal:hover { background: var(--teal-mid); color: white; }

.btn-line {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-line:hover { background: var(--teal); color: white; }

.on-dark .btn-line { color: white; border-color: white; }
.on-dark .btn-line:hover { background: white; color: var(--teal-ink); }

.section { position: relative; padding: 4.2rem 0 4.6rem; }
.section-sand { background: var(--sand); }
.section-paper { background: var(--paper); }
.section-deep { background: var(--teal); color: white; }
.section-deep a { color: var(--gold); }

.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 64px;
  color: var(--paper);
  line-height: 0;
}

.section-sand .wave { color: var(--paper); }
.section-paper .wave { color: var(--sand); }
.to-deep .wave { color: var(--teal); }
.to-sand .wave { color: var(--sand); }

.wave svg { width: 100%; height: 100%; display: block; }

.checklist { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 0.7rem; }

.checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  background: var(--white);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  box-shadow: 0 8px 20px rgba(12, 44, 58, 0.05);
}

.checklist svg { margin-top: 0.15rem; }

.cards, .split, .photo-row, .route-grid, .life-grid, .badge-row {
  display: grid;
  gap: 1rem;
}

.cards { margin-top: 1.4rem; }

.card, .panel-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.15rem 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}

.step-no {
  font-family: var(--serif);
  color: var(--coral-deep);
  font-size: 1.4rem;
}

.photo-row img, .life-grid img, .guide-hero img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
}

.caption { font-size: 0.92rem; color: var(--teal); margin-top: 0.4rem; }

.route-card h3 { font-size: 1.6rem; }
.route-art { margin-bottom: 0.8rem; }

.center-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

.life-grid { align-items: center; }

.steve {
  display: grid;
  gap: 1.4rem;
  align-items: start;
}

.steve img {
  width: min(100%, 380px);
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.badge-row { margin: 1rem 0; }

.badge {
  background: rgba(14, 94, 111, 0.08);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-line { font-size: 1.15rem; font-weight: 650; }
.contact-line a { text-decoration: none; }

.form {
  display: grid;
  gap: 0.85rem;
  background: var(--white);
  padding: 1.2rem;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

label { font-weight: 650; display: grid; gap: 0.35rem; }

input, select, textarea {
  font: inherit;
  color: var(--teal-ink);
  background: var(--paper);
  border: 1.5px solid rgba(14, 94, 111, 0.35);
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  width: 100%;
}

textarea { min-height: 90px; resize: vertical; }

.fine { font-size: 0.9rem; color: #3d5560; }

.thanks {
  background: #e7f6f4;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  color: var(--teal-ink);
}

.dialog {
  width: min(560px, calc(100% - 1.5rem));
  border: none;
  border-radius: 22px;
  padding: 0;
  background: var(--paper);
  color: var(--teal-ink);
  box-shadow: var(--shadow);
}

.dialog::backdrop { background: rgba(12, 44, 58, 0.55); }

.dialog-body { padding: 1.2rem; }

.dialog header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.close-x {
  border: none;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--teal-ink);
  min-width: 44px;
  min-height: 44px;
}

.cta-band {
  position: relative;
  color: white;
  background: #1a1612 center 45%/cover no-repeat;
  padding: 5rem 0;
  isolation: isolate;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.45) 100%);
  z-index: -1;
  pointer-events: none;
}

.cta-band .panel {
  background: transparent;
  border-radius: 24px;
  padding: 1.5rem 1.2rem;
  max-width: 760px;
}

.cta-band h2,
.cta-band p,
.cta-band .trust {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7), 0 2px 18px rgba(0, 0, 0, 0.5);
}

.site-footer {
  background: #08242e;
  color: #e7f3f4;
  padding: 2.6rem 0 2rem;
}

.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-brand { display: flex; gap: 0.8rem; align-items: center; margin-bottom: 0.6rem; }

.footer-brand .brand-logo { height: 120px; background: #fff; }

.broker {
  font-size: 1.15rem;
  font-weight: 750;
  color: white;
  margin: 0.2rem 0 0.8rem;
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 1rem;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 0.7rem 1rem; padding: 0; margin: 0; list-style: none; }

.legal { font-size: 0.92rem; color: #c5dde0; }
.eho { font-weight: 750; color: white; }

.guide-hero { position: relative; }
.guide-hero img { width: 100%; height: min(52vw, 420px); object-fit: cover; border-radius: 0; }
.guide-hero .title-card {
  width: min(var(--wrap), calc(100% - 2rem));
  margin: -4.5rem auto 0;
  position: relative;
  background: rgba(251, 245, 236, 0.96);
  border-radius: 22px;
  padding: 1.3rem 1.2rem 0.4rem;
  box-shadow: var(--shadow);
}

.prose h2 { margin-top: 0.2rem; }
.anchor { scroll-margin-top: 210px; }

.check-grid { display: grid; gap: 1rem; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.check-list label {
  font-weight: 500;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: var(--paper);
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
}
.check-list input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; flex: none; }

.accordion { display: grid; gap: 0.6rem; }
.accordion button {
  width: 100%;
  text-align: left;
  font: inherit;
  font-weight: 700;
  background: var(--white);
  color: var(--teal-ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  cursor: pointer;
  min-height: 48px;
}
.accordion button[aria-expanded="true"] { background: var(--teal); color: white; }
.accordion .panel {
  background: var(--white);
  border-radius: 14px;
  padding: 0.2rem 1rem 0.4rem;
  margin-top: -0.3rem;
}

.calc {
  background: var(--white);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.preset-group { margin-bottom: 0.9rem; }
.preset-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 750;
  margin-bottom: 0.4rem;
}
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
  min-height: 44px;
  border-radius: 999px;
  border: 1.5px solid var(--teal);
  background: var(--sand);
  color: var(--teal-ink);
  font: inherit;
  font-weight: 650;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
}
.chip[aria-pressed="true"] {
  background: var(--coral);
  border-color: var(--coral-deep);
}
.chip small { font-weight: 500; color: var(--teal); }
.chip[aria-pressed="true"] small { color: var(--teal-ink); }

.calc-grid { display: grid; gap: 0.8rem; }
.speed-row { display: flex; gap: 0.6rem; align-items: center; }
.speed-row input[type="range"] { flex: 1; accent-color: var(--teal); }
.speed-row input[type="number"] { width: 5.5rem; }

.result {
  margin-top: 1rem;
  background: var(--paper);
  border-radius: 18px;
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
}
.stat-row { display: grid; gap: 0.6rem; }
.stat {
  background: white;
  border-radius: 14px;
  padding: 0.7rem 0.8rem;
}
.stat b { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 560; }
.flag {
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  font-weight: 700;
}
.flag.fits { background: #d9f1ee; }
.flag.tight { background: #ffe6c2; }
.flag.wont { background: #ffd7c8; }
.flag.pending { background: #e7eef0; }
.pending-list { margin: 0; padding-left: 1.1rem; }
.disclaimer {
  background: #fff4e8;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font-size: 0.95rem;
}
#route-map {
  height: 340px;
  border-radius: 18px;
  margin-top: 0.8rem;
  background: #d5e6ea;
}
.map-note { font-size: 0.88rem; color: #3d5560; }

@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards.four { grid-template-columns: repeat(4, 1fr); }
  .photo-row, .route-grid, .life-grid, .check-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-row { grid-template-columns: repeat(3, 1fr); }
  .steve, .footer-grid, .calc-grid, .stat-row { grid-template-columns: 1fr 1.2fr; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .hero-panel {
    padding: 1.6rem 2rem 1.2rem;
    width: min(780px, calc(100% - 2rem));
  }
  .hero-headshot { width: 108px; height: 108px; }
  .hero { min-height: calc(100svh - 8rem); }
  .hero .actions { flex-wrap: nowrap; }
  .form.two { grid-template-columns: 1fr 1fr; }
  .form.two .wide { grid-column: 1 / -1; }
}

@media (min-width: 980px) {
  .check-grid { grid-template-columns: repeat(3, 1fr); }
  .life-grid { grid-template-columns: 1.1fr 1fr; }
  .steve { grid-template-columns: 340px 1fr; }
}

.clip {
  position: relative;
  max-width: 320px;
}
.clip video {
  width: 100%;
  border-radius: 18px;
  background: #0c2c3a;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.clip .play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 76px;
  min-height: 76px;
  border: none;
  border-radius: 999px;
  background: rgba(12, 44, 58, 0.78);
  color: white;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.route-graphic { width: 100%; border-radius: 16px; height: auto; }
.life-photos {
  display: grid;
  gap: 0.85rem 1rem;
  margin-top: 0.4rem;
  grid-template-columns: 1fr 1fr;
}
.life-photos figure { margin: 0; }
.life-photos img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}
.life-photos figure:nth-child(1) img { object-position: center 45%; }
.life-photos figure:nth-child(2) img { object-position: center 35%; }
.life-photos figure:nth-child(n+3) img { object-position: center; }

.life-video {
  margin: 1.4rem auto 0;
  width: min(100%, 420px);
}
.life-video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  background: #1a1612;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.life-video .caption { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
