/* Zoomie Bus: style.css (v2, first pass)
   Palette: ink #111111, white #FFFFFF, warm grey #F4F3EF, bus blue #1F5FBF (yellow retired in round 3),
   grass green #6F9A2B (paw marks and icon accents only), green text #3F5F16. */

@font-face {
  font-family: 'Archivo';
  src: url('fonts/archivo-normal-latin-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('fonts/archivo-italic-latin-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('fonts/source-sans-3-normal-latin-var.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('fonts/source-sans-3-italic-latin-var.woff2') format('woff2');
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #111111;
  --paper: #FFFFFF;
  --grey: #F4F3EF;
  --blue: #1F5FBF;
  --blue-dark: #184C99;
  --blue-light: #9DBCEB;
  --green: #6F9A2B;
  --green-text: #3F5F16;
  --line: #E3E1DA;
  --radius: 14px;
  --header-h: 120px;
  --header-h-shrunk: 80px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 3px; }
a:not(.btn):not(.chip):not(.nav-link):not(.logo-link):hover { color: var(--green-text); }

h1, h2, h3 {
  font-family: 'Archivo', Arial, sans-serif;
  font-style: italic;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: normal;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; line-height: 1.25; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--green-text);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.section { padding: 72px 0; }
.band-grey { background: var(--grey); }
.band-blue { background: var(--blue); color: #fff; }
.band-blue .h-lines, .band-blue h2 { color: #fff; }

/* Speed-line signature: three trailing rules beside display headings */
.h-lines { display: flex; align-items: center; gap: 20px; margin-bottom: 0.6em; }
.h-lines h1, .h-lines h2, .h-lines h3 { margin-bottom: 0; }
.sl { display: flex; flex-direction: column; gap: 5px; flex: none; }
.sl i { display: block; height: 4px; border-radius: 2px; background: currentColor; }
.sl i:nth-child(1) { width: 26px; margin-left: 10px; }
.sl i:nth-child(2) { width: 38px; }
.sl i:nth-child(3) { width: 30px; margin-left: 6px; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: inherit;
  line-height: 1.3;
  cursor: pointer;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.8em 1.6em;
  border: 2px solid var(--blue);
  border-radius: 10px;
  box-shadow: none;
  transition: background 0.15s ease;
}
@media (hover: hover) {
  .btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
}
.btn-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (hover: hover) {
  .btn-ink:hover { background: #2a2a2a; color: #fff; }
}
.link-quiet { font-weight: 600; }

/* Placeholder chips (contact details to be confirmed) */
.chip {
  display: inline-block;
  border: 2px dashed currentColor;
  border-radius: 999px;
  padding: 0.45em 1.1em;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.85;
}

/* Header (locked sticky spec: sticky everywhere, 90/30 hysteresis shrink) */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 120;
  overflow-anchor: none;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
body.has-hero .site-header { background: transparent; border-bottom-color: transparent; }
body.has-hero .site-header.shrunk,
.site-header.shrunk { background: var(--paper); border-bottom-color: var(--line); box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
  transition: height 0.2s ease;
}
.site-header.shrunk .header-inner { height: var(--header-h-shrunk); }
.logo-link { display: flex; align-items: center; flex: none; text-decoration: none; }
.logo-link svg { height: 96px; width: auto; transition: height 0.2s ease; }
.site-header.shrunk .logo-link svg { height: 62px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav-link {
  font-weight: 600;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 3px solid transparent;
}
.nav-link[aria-current="page"] { border-bottom-color: var(--blue); }
@media (hover: hover) {
  .nav-link:hover { border-bottom-color: var(--ink); color: var(--ink); }
}
.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header-actions .chip { padding: 0.3em 0.9em; font-size: 0.95rem; }
.header-actions .btn { padding: 0.55em 1.2em; font-size: 1rem; }

/* Mobile nav: details/summary so the menu works with JS off */
.nav-toggle { display: none; }
.nav-toggle summary {
  list-style: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
}
.nav-toggle summary::-webkit-details-marker { display: none; }
.nav-toggle summary i { display: block; width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; }
.nav-toggle .nav-panel {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  padding: 12px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle .nav-panel .nav-link { font-size: 1.15rem; padding: 10px 0; border-bottom: 1px solid var(--line); }
.nav-toggle .nav-panel .nav-link[aria-current="page"] { border-bottom: 1px solid var(--line); font-weight: 800; }
.nav-toggle .nav-panel .btn { margin-top: 12px; text-align: center; }
.nav-toggle .nav-panel .chip { margin-top: 10px; text-align: center; }

/* Hero */
.hero { padding: 0 0 8px; background: var(--blue); color: #fff; }
.hero .sub, .hero h1, .hero .h-lines { color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
@media (hover: hover) { .btn-light:hover { background: var(--ink); border-color: var(--ink); color: #fff; } }
body.has-hero .hero { margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h); }
@media (min-width: 961px) {
  /* the top of the hero photo slides up under the transparent header; the copy stays clear of it */
  body.has-hero .hero-photo { margin-top: 0; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 32px 24px 40px;
}
.hero-copy h1 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); line-height: 1.04; }
body.has-hero .site-header:not(.shrunk) .header-actions .btn { background: #fff; border-color: #fff; color: var(--ink); }
body.has-hero .site-header:not(.shrunk) .main-nav .nav-link,
body.has-hero .site-header:not(.shrunk) .header-actions .chip { color: #fff; }
body.has-hero .site-header:not(.shrunk) .nav-link[aria-current="page"] { border-bottom-color: #fff; }
.hero-copy .h-lines { align-items: flex-start; }
.sl-lg { padding-top: 0.55em; }
.sl-lg i { height: 6px; }
.sl-lg i:nth-child(1) { width: 34px; margin-left: 14px; }
.sl-lg i:nth-child(2) { width: 50px; }
.sl-lg i:nth-child(3) { width: 40px; margin-left: 8px; }
.seen-on { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; border-top: 2px solid rgba(255,255,255,0.6); padding: 22px 0 24px; }
.seen-label { margin: 0; font-weight: 700; font-size: 0.95rem; }
.seen-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.seen-item { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-height: 44px; }
a.seen-item:hover { opacity: 0.75; color: #fff; }
.seen-guardian img { height: 30px; width: auto; }
.seen-cbc { font-weight: 600; font-size: 1.15rem; }
.seen-cbc b { font-weight: 800; }
.cbc-gem { width: 34px; height: 34px; fill: #fff; }
.seen-wup { font-weight: 700; font-size: 1.15rem; }
.seen-wup img { width: 36px; height: 36px; border-radius: 8px; }
.hero-photo { border-radius: var(--radius); overflow: hidden; border: 3px solid var(--ink); box-shadow: 12px 12px 0 var(--ink); background: var(--ink); }
.hero-photo img { width: 100%; height: auto; }
.hero-copy .sub { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.8em; }
.hero-copy p.lede { font-size: 1.08rem; max-width: 34em; }
.cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 1.4em; }


/* Split block */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.split .split-photo { border-radius: var(--radius); overflow: hidden; }
.split .split-photo img { width: 100%; height: auto; }
.split .split-copy { padding-top: 8px; align-self: center; }

/* Area grid (placeholder tiles) */
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.area-tile {
  border: 2px dashed rgba(17,17,17,0.4);
  border-radius: var(--radius);
  background: var(--paper);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 16px;
}
.area-tile .paw { width: 26px; height: 26px; }
.area-tile span { font-weight: 600; font-size: 0.98rem; }

/* Icon grid (Canine Cardio Club) */
.club-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.icon-card {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.icon-card svg { width: 40px; height: 40px; margin-bottom: 10px; }
.icon-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.icon-card p { font-size: 0.95rem; margin: 0; }

/* Dog row */
.dog-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 28px;
}
.dog-card {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.dog-card img { border-radius: 10px; margin-bottom: 14px; width: auto; max-width: 100%; max-height: 360px; }
.dog-card h3 { margin-bottom: 4px; }
.dog-card blockquote { margin: 0 0 12px; font-size: 1.08rem; }
.dog-card .attr { font-size: 0.95rem; color: #444; }
.dog-card.cta { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.dog-card.quote { display: flex; flex-direction: column; justify-content: center; }
.dog-card.quote blockquote { font-family: 'Archivo', Arial, sans-serif; font-style: italic; font-weight: 700; font-size: 1.35rem; line-height: 1.35; }

/* Placeholder photo panel */
.placeholder-panel {
  border: 2px dashed rgba(17,17,17,0.4);
  border-radius: var(--radius);
  background: var(--grey);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 32px;
}
.placeholder-panel .paw { width: 34px; height: 34px; }
.placeholder-panel strong { font-size: 1.05rem; }
.placeholder-panel span { font-size: 0.95rem; color: #444; }

/* Steps */
.steps { margin-top: 28px; display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1.5px solid var(--line);
  align-items: start;
}
.step .num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  border: 2px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Archivo', Arial, sans-serif;
  font-style: italic; font-weight: 800; font-size: 1.4rem;
}
.step h3 { margin-bottom: 4px; }

/* Suit list */
.suit-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.suit-list li { padding-left: 34px; position: relative; }
.suit-list li svg { position: absolute; left: 0; top: 3px; width: 22px; height: 22px; }

/* Membership cards */
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; align-items: start; }
.plan-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px;
}
.plan-card .chip { margin: 10px 0 18px; }

/* FAQ */
.faq { margin-top: 28px; border-top: 1.5px solid var(--line); }
.faq details { border-bottom: 1.5px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 44px 20px 0;
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { display: inline; font: inherit; margin: 0; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px; top: 26px;
  width: 12px; height: 12px;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); top: 30px; }
.faq details p { padding: 0 44px 20px 0; max-width: 44em; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 640px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="number"],
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: 0.7em 0.9em;
  border: 2px solid #B9B6AC;
  border-radius: 10px;
  background: var(--paper);
}
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid rgba(63,95,22,0.35); }
.field textarea { min-height: 120px; resize: vertical; }
fieldset.field { border: 2px solid #B9B6AC; border-radius: 10px; padding: 14px 18px 16px; margin: 0; }
fieldset.field legend { font-weight: 700; padding: 0 8px; }
.radio-row { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.radio-row label { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.radio-row input { width: 18px; height: 18px; accent-color: var(--green-text); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Book page contact block */
.contact-chips { display: flex; gap: 14px; flex-wrap: wrap; margin: 18px 0 28px; }

/* Footer */
.site-footer { background: var(--ink); color: #fff; margin-top: 0; }
.site-footer a:not(.btn):not(.chip) { color: #fff; }
@media (hover: hover) {
  .site-footer a:not(.btn):not(.chip):hover { color: var(--blue-light); }
}
.footer-mark { padding: 56px 0 8px; }
.footer-mark svg { width: min(300px, 80%); height: auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.footer-grid h2 {
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-style: normal;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-grid .badge { width: 160px; border-radius: 50%; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { text-decoration: none; font-weight: 600; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.updates-form { display: flex; gap: 10px; margin-top: 14px; max-width: 420px; }
.updates-form input {
  flex: 1;
  font: inherit;
  padding: 0.6em 0.9em;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 10px;
  background: transparent;
  color: #fff;
}
.updates-form input::placeholder { color: rgba(255,255,255,0.65); }
.updates-form input:focus { border-color: #fff; outline: 3px solid rgba(157,188,235,0.6); }
.updates-form .btn { padding: 0.6em 1.2em; font-size: 0.98rem; white-space: nowrap; }
.updates-form input { min-width: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding: 22px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
}
.footer-bottom a { color: rgba(255,255,255,0.85); }

/* Sticky bottom bar on phones */
.mobile-cta { display: none; }

/* Utility pages (thanks, 404) */
.plain-page { padding: 96px 0; text-align: center; }
.plain-page p { max-width: 36em; margin-left: auto; margin-right: auto; }
.plain-page .btn { margin-top: 10px; }
.plain-page .h-lines { justify-content: center; }

/* Utilities */
.lede { font-size: 1.15rem; max-width: 38em; }
.mt-20 { margin-top: 20px; }
.mt-28 { margin-top: 28px; }
.cta-row.center { justify-content: center; }
.split .split-photo img.badge-about { width: 200px; border-radius: 50%; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .club-grid { grid-template-columns: 1fr; }
  .dog-row { grid-template-columns: 1fr 1fr; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .main-nav, .header-actions { display: none; }
  .nav-toggle { display: block; margin-left: auto; position: relative; }
  .nav-toggle .nav-panel { position: fixed; top: var(--header-h); }
  .site-header.shrunk .nav-toggle .nav-panel { top: var(--header-h-shrunk); }
  .footer-bottom { padding-bottom: 100px; }
  :root { --header-h: 92px; --header-h-shrunk: 68px; }
  .logo-link svg { height: 70px; }
  .site-header.shrunk .logo-link svg { height: 50px; }
  .mobile-cta {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 110;
    background: var(--paper);
    border-top: 2px solid var(--ink);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }
  .mobile-cta .btn { display: block; text-align: center; }
}

@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .h-lines { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-grid { padding: 16px 24px 28px; gap: 32px; }
  .hero-photo { box-shadow: 8px 8px 0 var(--ink); }
  .seen-on { gap: 14px; }
  .seen-list { gap: 4px 22px; }
  .seen-guardian img { height: 24px; }
  .seen-cbc { font-size: 1rem; }
  .cbc-gem { width: 26px; height: 26px; }
  .seen-wup { font-size: 1rem; }
  .seen-wup img { width: 30px; height: 30px; }
  .dog-row { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .suit-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .updates-form { flex-direction: column; align-items: flex-start; }
  .updates-form input { width: 100%; }
  .step { grid-template-columns: 48px 1fr; gap: 16px; }
  .step .num { width: 44px; height: 44px; font-size: 1.2rem; }
}
