/* Pondi Express — teal and slate, condensed display type borrowed from race bibs */
:root {
  --bg: #f5f8f8; --surface: #ffffff; --ink: #1d2a31; --muted: #56666e; --line: #d8e2e3;
  --teal: #0e7a75; --teal-ink: #ffffff; --teal-soft: #e0f0ee; --slate: #24343c; --slate-ink: #eef4f4;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  /* one type scale for the whole site */
  --fs-xs: .8rem;       /* labels: eyebrows, table heads, names */
  --fs-sm: .9375rem;    /* secondary text: captions, notes, prices per month */
  --fs-md: 1.0625rem;   /* body text, buttons, questions */
  --fs-lg: 1.25rem;     /* intro paragraphs */
  --fs-h3: 1.45rem;
  --fs-h2: clamp(2rem, 4vw, 2.75rem);
  --fs-h1: clamp(2.6rem, 6vw, 4.2rem);
  --fs-num: 2.3rem;       /* prices */
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f171b; --surface: #162228; --ink: #e5eeef; --muted: #98aab0; --line: #26363d;
    --teal: #3db8af; --teal-ink: #06201e; --teal-soft: #17363a; --slate: #1b2b33; --slate-ink: #e5eeef;
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: var(--fs-md); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: var(--teal-ink); padding: 8px 12px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 16px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; text-wrap: balance; margin: 0; letter-spacing: .005em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0; }
.eyebrow { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--teal); }
.lede { font-size: var(--fs-lg); color: var(--muted); max-width: 60ch; }
.prose { max-width: 65ch; display: grid; gap: 1em; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; padding-block: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--ink); text-decoration: none; letter-spacing: .02em; }
.brand img { width: 40px; height: 40px; border-radius: 8px; background: #fff; }
.brand span { color: var(--teal); }
.nav { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; padding: 6px 10px; border-radius: 6px; }
.nav a[aria-current="page"] { color: var(--teal); background: var(--teal-soft); }
.nav .btn { color: var(--teal-ink); padding: 8px 14px; margin-left: 4px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--body); font-weight: 600; font-size: var(--fs-md); text-decoration: none; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--teal); cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--teal); color: var(--teal-ink); }
.btn-ghost { background: transparent; color: var(--teal); }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (prefers-reduced-motion: no-preference) { .btn { transition: transform .15s; } .btn:hover { transform: translateY(-1px); } }

section { padding-block: clamp(48px, 8vw, 88px); }
section + section { border-top: 1px solid var(--line); }
.head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 70ch; }

.pic { width: 100%; border-radius: 12px; object-fit: cover; }

/* hero */
.hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero > * { min-width: 0; }
.hero-copy { display: grid; gap: 22px; }
.hero .pic { aspect-ratio: 4 / 5; object-position: center 30%; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: var(--fs-sm); font-weight: 600; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid3 > * { min-width: 0; }
.disc { display: grid; gap: 10px; align-content: start; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.disc .price { font-size: var(--fs-sm); color: var(--muted); }
.disc ul { margin: 0; padding-left: 1.1em; color: var(--muted); display: grid; gap: 4px; }
.note { margin-top: 20px; color: var(--muted); max-width: 70ch; font-size: var(--fs-md); }

.how { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 48px; }
.how > div { display: grid; gap: 8px; align-content: start; min-width: 0; }
.how p { color: var(--muted); }

/* blueprint */
.bp { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.bp > * { min-width: 0; }
.sheet { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; box-shadow: 0 10px 30px -18px rgba(20, 40, 45, .35); }
.sheet-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 2px solid var(--teal); padding-bottom: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.sheet-top b { font-family: var(--display); font-weight: 700; font-size: var(--fs-h3); }
.tag { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tbl { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
th { text-align: left; font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 6px 8px 6px 0; }
td { padding: 8px 8px 8px 0; border-top: 1px solid var(--line); vertical-align: top; }
td.mono { white-space: nowrap; }
.fuel { margin-top: 14px; padding: 12px; border-radius: 8px; background: var(--teal-soft); font-size: var(--fs-sm); }

.races { display: flex; flex-wrap: wrap; gap: 10px; }
.race { padding: 8px 14px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; }

.band { background: var(--slate); color: var(--slate-ink); }
.band .inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 48px; }
.band h2 { color: var(--slate-ink); }
.band p { opacity: .8; margin-top: 8px; }
.band .btn-ghost { color: var(--slate-ink); border-color: var(--slate-ink); }

/* about */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 64px); }
.split > * { min-width: 0; }
.stack { display: grid; gap: 20px; align-content: start; }
.split .pic { aspect-ratio: 3 / 2; }
.pbs { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: grid; gap: 4px; align-content: start; }
.pb { display: flex; justify-content: space-between; gap: 12px; padding-block: 10px; border-top: 1px solid var(--line); }
.pb:first-of-type { border-top: 0; }
.pb small { color: var(--muted); }
.wide-pic { aspect-ratio: 3 / 2; max-height: 620px; }
.certs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.certs figure { margin: 0; display: grid; gap: 8px; }
.certs img { border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.certs figcaption { font-size: var(--fs-sm); color: var(--muted); }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
blockquote { margin: 0; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 14px; align-content: space-between; min-width: 0; }
cite { font-style: normal; font-weight: 700; font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.list li { padding-left: 22px; position: relative; }
.list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--teal); }

/* pricing */
.toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: var(--surface); gap: 4px; margin-bottom: 24px; flex-wrap: wrap; }
.toggle button { font: inherit; font-weight: 700; border: 0; background: transparent; color: var(--muted); padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--teal); color: var(--teal-ink); }
.plan-group + .plan-group { margin-top: 32px; }
.plan-group h3 { margin-bottom: 14px; }
.js .plan-group h3 { display: none; }
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { display: grid; gap: 10px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; align-content: start; min-width: 0; }
.plan .amt { font-family: var(--display); font-size: var(--fs-num); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.plan .per { color: var(--muted); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.plan .save { font-size: var(--fs-xs); font-weight: 700; color: var(--teal); min-height: 1.3em; }
.plan .btn { margin-top: 6px; }
.plan .soon { font-size: var(--fs-sm); color: var(--muted); }
.included { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; }
.call { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.call > * { min-width: 0; }
.calendly-inline-widget { min-width: 280px; height: 700px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
details { border-top: 1px solid var(--line); padding-block: 16px; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: var(--fs-md); }
details p { margin-top: 10px; color: var(--muted); max-width: 65ch; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-grid > div { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 6px; align-content: start; min-width: 0; overflow-wrap: anywhere; }

/* blog */
.posts { display: grid; }
.post-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding-block: 24px; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; width: 100%; }
.post-row > div { display: grid; gap: 8px; align-content: start; min-width: 0; }
.post-row h2 { font-size: var(--fs-h3); color: var(--ink); }
.post-row:hover h2 { color: var(--teal); }
.post-row time { color: var(--muted); font-size: var(--fs-sm); }

.article { max-width: 720px; margin: 0 auto; }
.article header { display: grid; gap: 14px; margin-bottom: 36px; }
.article header time { color: var(--muted); }
.post-body { display: grid; gap: 1.1em; font-size: var(--fs-md); overflow-wrap: break-word; }
.post-body h2 { font-size: var(--fs-h2); margin-top: .8em; }
.post-body h3 { font-size: var(--fs-h3); margin-top: .8em; }
.post-body ul, .post-body ol { margin: 0; padding-left: 1.3em; display: grid; gap: .4em; }
.post-body li p { margin: 0; }
.post-body figure { margin: .6em 0; display: grid; gap: 8px; }
.post-body figure img { border-radius: 8px; margin-inline: auto; max-height: 85vh; width: auto; }
.post-body figcaption { font-size: var(--fs-sm); color: var(--muted); text-align: center; }
.back { display: inline-block; margin-top: 48px; font-weight: 600; }

.legal { max-width: 760px; }
.legal h1 { margin-bottom: 8px; }
.legal h2 { font-size: var(--fs-h2); margin-top: 1.4em; }
.legal h3 { font-size: var(--fs-h3); margin-top: 1em; }
.legal .prose { gap: .9em; }

.site-footer { background: var(--slate); color: var(--slate-ink); }
.site-footer .inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 40px; }
.site-footer a { color: var(--slate-ink); text-decoration: none; opacity: .85; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.site-footer .links { display: flex; gap: 10px 18px; flex-wrap: wrap; align-content: start; }
.motto { font-family: var(--display); font-weight: 700; font-size: var(--fs-h3); }
.small { font-size: var(--fs-sm); opacity: .75; }

@media (max-width: 820px) {
  .hero, .bp, .split, .call { grid-template-columns: 1fr; }
  .grid3, .quotes, .how, .included, .certs, .contact-grid { grid-template-columns: 1fr; }
  .prices { grid-template-columns: 1fr 1fr; }
  .hero .pic { aspect-ratio: 4 / 4; max-height: 520px; }
  .post-row { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 440px) { .prices { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .site-header { position: static; }
  .bar { gap: 8px; }
  .nav { gap: 2px; }
  .nav a { padding: 6px 8px; }
  .nav a.nav-home { display: none; }
  .nav .btn { padding: 6px 12px; margin-left: 2px; }
}

/* consistency fixes */
.nav .btn { border-radius: 999px; }
.plan .save { line-height: 1.6; min-height: 1.6em; }
.plan .btn { margin-top: auto; }
.plan { grid-template-rows: auto auto auto auto 1fr; }
.booking-frame { width: 100%; height: 700px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.address { margin-top: 20px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 6px; }
.address address { font-style: normal; }
.feature-quote { margin: 0 0 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 20px; align-items: stretch; }
.feature-quote img { width: 100%; height: 100%; max-height: 640px; object-fit: cover; object-position: center 35%; border-radius: 12px; }
.feature-quote blockquote { align-content: center; }
@media (max-width: 820px) { .feature-quote { grid-template-columns: 1fr; } .feature-quote img { height: auto; aspect-ratio: 4 / 5; } }
.social { display: inline-flex; gap: 14px; align-items: center; }
.social a { display: inline-flex; padding: 2px; }
.social svg { display: block; }
