@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Barlow:wght@400;500;600;700&display=swap");

:root {
  --ink: #11253c;
  --navy: #0b2039;
  --blue: #136b9c;
  --pale: #eef4f8;
  --muted: #526173;
  --line: #dbe4ec;
  --white: #fff;
  --hero-text: #d4e1ec;
  --hero-accent: #8bd4f8;
  --footer-bg: #071727;
  --footer-text: #b4c3d2;
  --footer-link: #d7e6f1;
  --focus: #c47c00;
  --space: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: Barlow, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background: var(--white);
  font-size: 18px;
}
h1, h2, h3, h4 {
  font-family: "Barlow Condensed", Arial, sans-serif;
  line-height: 1.08;
  margin: 0 0 20px;
  color: var(--ink);
}
h1 { font-size: clamp(40px, 5.2vw, 68px); letter-spacing: -0.5px; }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 26px; }
h4 { font-size: 22px; margin-bottom: 12px; }
p { margin: 0 0 18px; }
a { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }

.wrap { width: min(1160px, calc(100% - 56px)); margin: auto; }
.narrow { max-width: 760px; }

.skip {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 100;
  background: var(--white);
  color: var(--ink);
  padding: 12px 16px;
  font-weight: 700;
}
.skip:focus { top: 10px; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
iframe:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.topline {
  background: var(--navy);
  color: #dbe6f0;
  font-size: 14px;
  padding: 8px 0;
}
.topline .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.topline a { color: var(--white); font-weight: 600; text-decoration: none; }
.topline a:hover { text-decoration: underline; }

header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  z-index: 40;
  overflow: visible;
}
.navrow {
  min-height: 92px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.brand { display: flex; align-items: center; max-width: 210px; }
.brand img { width: 190px; max-height: 64px; object-fit: contain; }

nav { display: flex; align-items: center; gap: 8px 18px; flex-wrap: nowrap; justify-content: flex-end; }
nav a, nav summary {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}
nav summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
}
nav summary::-webkit-details-marker,
nav summary::marker { display: none; content: none; }
nav summary::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.65;
  transition: transform 0.15s ease;
}
nav details[open] summary::after {
  transform: rotate(-135deg) translateY(-1px);
}
nav a[aria-current="page"],
nav a:hover,
nav summary:hover,
nav details[open] summary { color: var(--blue); }
nav details {
  position: relative;
  flex: 0 0 auto;
}
nav details:not([open]) > .submenu { display: none; }
nav details[open] > .submenu {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
}
nav .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 420px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 12px 28px rgba(11, 32, 57, 0.12);
  z-index: 30;
}
nav .submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 12px;
}
nav details:last-of-type .submenu {
  left: auto;
  right: 0;
}
nav .submenu a {
  display: block;
  padding: 8px 12px;
  font-size: 15px;
  border-radius: 6px;
  white-space: nowrap;
}
nav .submenu a:hover { background: var(--pale); }

.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white) !important;
  border: 2px solid var(--blue);
  padding: 14px 26px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
  line-height: 1.3;
  font-size: 16px;
}
.btn:hover { background: var(--navy); border-color: var(--navy); }
.btn.light {
  background: var(--white);
  color: var(--navy) !important;
  border-color: var(--white);
}
.btn.light:hover { background: var(--pale); border-color: var(--pale); }
.btn.outline {
  background: transparent;
  border-color: #9caebf;
  color: var(--white) !important;
}
.btn.outline:hover { background: var(--white); color: var(--navy) !important; border-color: var(--white); }
.actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin: 28px 0 0; }

.hero {
  background: linear-gradient(125deg, #081b30, #12375a);
  color: var(--white);
  padding: 80px 0 84px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 72px;
  align-items: center;
}
.hero p { color: var(--hero-text); font-size: 20px; max-width: 690px; }
.hero h1 { color: var(--white); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 16px;
}
.hero .eyebrow { color: var(--hero-accent); }
.hero-art { display: flex; justify-content: center; }
.hero-art img { max-width: 300px; margin: auto; }
.hero .small { font-size: 15px; margin-top: 22px; color: var(--hero-text); }

.subhero { padding: 64px 0 56px; }
.subhero h1 { max-width: 920px; color: var(--white); }
.subhero p { max-width: 820px; color: var(--hero-text); font-size: 20px; }
.breadcrumb { font-size: 14px; margin-bottom: 26px; }
.breadcrumb a { color: var(--hero-accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--hero-text); }

.strip {
  background: var(--pale);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.strip .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 28px;
}
.strip-item { font-size: 15px; }
.strip-item strong {
  display: block;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 4px;
}
.strip-item span { color: var(--muted); font-weight: 600; font-size: 14px; }
.strip a { text-decoration: none; color: inherit; }
.strip a:hover strong { color: var(--blue); }

section { padding: 84px 0; }
.section-intro { max-width: 760px; margin-bottom: 40px; }
.section-intro p, .card p, .split p, .bodycopy p, .price-card p, .member-card p { color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px;
  background: var(--white);
}
.card .num { color: var(--blue); font-size: 13px; font-weight: 700; display: block; margin-bottom: 18px; letter-spacing: 0.04em; }
.card a { font-weight: 700; text-decoration: none; }
.card a:hover { text-decoration: underline; }

.soft { background: var(--pale); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.list { padding-left: 22px; margin: 0 0 20px; }
.list li { margin-bottom: 10px; }
.note {
  border-left: 3px solid var(--blue);
  padding: 20px 24px;
  background: #e7f0f6;
  color: var(--ink);
  margin: 0 0 20px;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.price-card .photo {
  background: var(--white);
  padding: 24px 24px 0;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.price-card .photo img {
  max-height: 260px;
  width: auto;
  margin: auto;
  object-fit: contain;
}
.price-card .body { padding: 24px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.price-card h3 { margin-bottom: 8px; }
.price-card .starting {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
  line-height: 1;
}
.price-card .starting span { font-size: 16px; font-weight: 600; font-family: Barlow, Arial, sans-serif; color: var(--muted); display: block; margin-bottom: 6px; }
.price-card .body p { flex: 1; }
.price-card .body .btn { margin-top: 16px; align-self: flex-start; }

.photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
}
.photo-pair figure { text-align: center; }
.photo-pair img { max-height: 280px; width: auto; margin: 0 auto 10px; object-fit: contain; }
.photo-pair figcaption { font-size: 14px; color: var(--muted); }

.member-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px;
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.member-card .starting {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}
.member-card .cadence { color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.member-card ul { flex: 1; }
.member-card .btn { margin-top: 16px; align-self: flex-start; }

.table-wrap { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
table.prices { width: 100%; border-collapse: collapse; font-size: 16px; }
table.prices th, table.prices td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
table.prices th { background: var(--pale); font-size: 14px; letter-spacing: 0.02em; color: var(--ink); }
table.prices td:nth-child(2), table.prices th:nth-child(2),
table.prices td:nth-child(3), table.prices th:nth-child(3) { text-align: right; white-space: nowrap; }
table.prices tr:last-child td { border-bottom: 0; }

.faq { max-width: 900px; }
details.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
details.faq-item summary { font-weight: 700; cursor: pointer; font-size: 18px; }
details.faq-item p { margin: 14px 0 0; color: var(--muted); }

.cta { background: var(--navy); color: var(--white); }
.cta h2 { color: var(--white); }
.cta p { color: #d3deea; }
.cta .eyebrow { color: #9ec9e8; }
.cta .split { align-items: center; }
.contact-links a {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin: 10px 0;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.contact-links a:hover { text-decoration: underline; }

.booking { max-width: 650px; }
.banner-img { max-width: 100%; height: auto; margin-top: 8px; }

footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 48px 0 40px;
  font-size: 15px;
}
footer a { color: var(--footer-link); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .split { gap: 36px; }
footer p { margin-bottom: 10px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px 24px;
  margin-bottom: 36px;
}
.footer-grid h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 0 0 8px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid #1a3348;
  padding-top: 24px;
}

.menu-toggle, .mobilebar { display: none; }
.areas-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 20px; padding: 0; list-style: none; margin: 0; }
.areas-list a { font-weight: 700; text-decoration: none; }
.areas-list a:hover { text-decoration: underline; }

.trust { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; margin-top: 28px; color: var(--hero-text); font-weight: 600; }

@media (max-width: 1100px) {
  .brand { max-width: 160px; }
  .navrow { min-height: 76px; }
  .brand img { max-height: 52px; }
  .menu-toggle {
    display: block;
    background: var(--white);
    border: 1px solid var(--line);
    padding: 10px 14px;
    border-radius: 5px;
    font: inherit;
    font-weight: 700;
    color: var(--ink);
  }
  nav {
    display: none;
    position: fixed;
    top: var(--mobile-nav-top, 117px);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    background: var(--white);
    padding: 8px 20px 24px;
    box-shadow: 0 12px 18px rgba(0, 0, 0, 0.08);
    max-height: none;
    overflow: auto;
    overflow-anchor: none;
    gap: 2px;
  }
  nav.open { display: flex; justify-content: flex-start; }
  nav a, nav summary { font-size: 16px; padding: 10px 0; }
  nav summary {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  nav details { width: 100%; }
  nav .btn { margin-top: 12px; text-align: center; }
  nav details[open] > .submenu {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }
  nav .submenu {
    position: static;
    left: auto;
    right: auto;
    min-width: 0;
    width: 100%;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 8px 12px;
    background: transparent;
  }
  nav .submenu::before { display: none; }
  nav .submenu a { padding: 8px 12px; white-space: normal; }
  .footer-grid, .areas-list { grid-template-columns: 1fr 1fr; }
  .strip .wrap { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 36px); }
  .topline .wrap span:last-child { display: none; }
  nav { bottom: 0; padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .hero { padding: 48px 0 56px; }
  .hero-grid, .split, .grid, .grid-2, .photo-pair, .footer-grid, .areas-list { grid-template-columns: 1fr; }
  .hero-art img { max-width: 200px; }
  .hero-art { justify-content: flex-start; }
  .hero p, .subhero p { font-size: 18px; }
  section { padding: 56px 0; }
  .strip .wrap { grid-template-columns: 1fr 1fr; gap: 16px; }
  .mobilebar {
    display: flex;
    gap: 12px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--navy);
    z-index: 60;
  }
  .mobilebar a { flex: 1; text-align: center; }
  .mobilebar .btn { padding: 12px 8px; width: 100%; }
  body { padding-bottom: 86px; }
  table.prices th, table.prices td { padding: 12px; }
}

/* Subtle cross-document page transitions, with a short fade-in fallback. */
@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.22s;
  animation-timing-function: ease;
}
@keyframes page-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@supports not (view-transition-name: none) {
  body { animation: page-fade-in 0.22s ease; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  nav summary::after { transition: none; }
  @view-transition {
    navigation: none;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
  body { animation: none; }
}

.btn.secondary {
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--blue);
}
.btn.secondary:hover {
  background: var(--pale);
  border-color: var(--navy);
  color: var(--navy) !important;
}
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  align-items: center;
}
.price-card .body .card-actions { margin-top: 16px; }
.price-card .body .card-actions .btn { margin-top: 0; }
@media (max-width: 800px) {
  .actions, .card-actions { gap: 12px; }
  .hero .actions { flex-direction: column; align-items: stretch; }
  .hero .actions .btn { width: 100%; text-align: center; }
}

.plan-band {
  padding: 28px 0;
  background: var(--pale);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.plan-band-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.plan-band p {
  margin: 0;
  flex: 1 1 260px;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
@media (max-width: 800px) {
  .plan-band { padding: 24px 0; }
  .plan-band-inner { gap: 12px; }
}

/* Booking form (2026-12-02): Saga CRM intake form on /book/ */
.booking-form {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 32px;
}
.booking-form h3 { margin-bottom: 12px; }
.booking-form .field { margin: 0 0 18px; }
.booking-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.booking-form label { display: block; font-weight: 700; margin: 0 0 6px; line-height: 1.3; }
.booking-form input,
.booking-form select,
.booking-form textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  font-size: 18px;
  line-height: 1.3;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #9caebf;
  border-radius: 6px;
}
.booking-form textarea { min-height: 120px; resize: vertical; }
.booking-form input:focus-visible,
.booking-form select:focus-visible,
.booking-form textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-color: var(--ink);
}
.booking-form button.btn {
  width: 100%;
  min-height: 52px;
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
  margin-top: 6px;
}
.booking-form .form-fine { font-size: 15px; color: var(--muted); margin: 0 0 16px; }
.booking-form .form-status { font-weight: 700; margin: 14px 0 16px; min-height: 1.7em; }
.booking-form .vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.booking-form .hp {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
@media (max-width: 800px) {
  .booking-form { padding: 22px 18px; }
  .booking-form .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* Homepage proof strip and commercial band (2026-12-03) */
.hero-lead {
  font-weight: 600;
}
.proof-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
}
.proof-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 24px;
}
.proof-rating {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  letter-spacing: 0.01em;
}
.proof-links {
  margin: 0;
  display: flex;
  gap: 16px 22px;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 15px;
}
.proof-quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
}
.proof-strip blockquote {
  margin: 0;
  padding: 0 0 0 16px;
  border: 0;
  border-left: 3px solid var(--blue);
}
.proof-strip blockquote p {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  max-width: none;
}
.proof-strip .proof-attr {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.commercial-band {
  background: var(--pale);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
}
.commercial-band-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}
.commercial-band h2 { margin: 0 0 8px; }
.commercial-band p { margin: 0; color: var(--muted); max-width: 640px; }
.commercial-band .actions { margin: 0; }
.strip .wrap { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) {
  .strip .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .proof-strip { padding: 28px 0; }
  .proof-quotes { grid-template-columns: 1fr; gap: 20px; }
  .proof-rating { font-size: 24px; }
  .commercial-band { padding: 28px 0; }
  .commercial-band-inner { gap: 12px; }
}
