/* ═══════════════════════════════════════════════════════════════
   Positive Paws Dog Training
   Fonts: Cormorant Garamond + Inter, carried over from the Carrd site
   and self-hosted here (no third-party requests, nothing to consent to).
   Colour: navy #2c4a5e for structure, sage #557364 for actions,
   logo orange #f07020 for accents. All three confirmed by Julia.
   ═══════════════════════════════════════════════════════════════ */

@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/CormorantGaramond-500.woff2') format('woff2');}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/CormorantGaramond-600.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/Inter-400.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/Inter-500.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/Inter-600.woff2') format('woff2');}

:root {
  /* brand — navy from your usual palette, sage carried over, orange sampled from the logo */
  --navy:       #2c4a5e;
  --navy-soft:  #3d5f74;
  --sage:       #628474;
  --sage-btn:   #557364;   /* darkened so white button text passes contrast */
  --sage-dark:  #47614f;
  --sage-deep:  #35473d;
  --sage-tint:  #f2f5f3;
  --orange:     #f07020;   /* logo orange — accents only, fails contrast as text */
  --orange-deep:#c85a0a;

  /* ink */
  --ink:        #233038;
  --ink-soft:   #5a6971;
  --ink-faint:  #8a949a;

  /* surfaces */
  --paper:      #fdfcfa;
  --line:       #dfe4e2;
  --gold:       #b0872f;

  /* type */
  --display:    'Cormorant Garamond', ui-serif, Georgia, serif;
  --body:       'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;

  --measure:    36rem;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--measure); margin-inline: auto; padding-inline: 1.35rem; }
section { padding-block: 4rem; }
.tint { background: var(--sage-tint); }

/* ---------- masthead ---------- */
.masthead {
  background: #fff;
  border-bottom: 4px solid var(--orange);
  padding-block: 1.75rem;
  text-align: center;
}
.masthead a { text-decoration: none; display: inline-block; }
.masthead .logo { max-height: 132px; width: auto; margin-inline: auto; }
@media (min-width: 34rem) { .masthead .logo { max-height: 168px; } }

/* ---------- type ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0 0 1rem;
  color: var(--navy);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 10vw, 4rem); }
h2 { font-size: clamp(2rem, 7vw, 2.9rem); }
h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }

p { margin: 0 0 1.2rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }

.lede {
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.kicker {
  font: 700 1.22rem/1.3 var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.kicker::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--orange);
  opacity: 0.45;
}

/* ---------- call to action ---------- */
.cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--sage-btn);
  color: #fff;
  font: 600 1.125rem/1 var(--body);
  letter-spacing: 0.03em;
  padding: 1.3rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(53,71,61,0.18);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.cta:hover, .cta:focus-visible {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(53,71,61,0.24);
}
.cta-note {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 1rem;
}
.cta-note a { color: var(--sage-dark); }

/* ---------- sticky booking bar (phones only) ---------- */
.stickybar { display: none; }
@media (max-width: 48rem) {
  .stickybar {
    display: flex;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 50;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.97);
    border-top: 1px solid var(--sage);
    box-shadow: 0 -6px 18px rgba(44,74,94,0.10);
  }
  .stickybar a {
    flex: 1 1 auto;
    text-align: center;
    padding: 0.85rem 0.5rem;
    border-radius: 6px;
    font: 600 1rem/1.2 var(--body);
    text-decoration: none;
  }
  .sticky-book { flex-grow: 2; background: var(--sage-dark); color: #fff; }
  .sticky-wa { background: #fff; color: var(--navy); border: 1.5px solid var(--sage); }
  /* stop the bar covering the last of the page */
  body { padding-bottom: 5.5rem; }
}

/* ---------- course dates ---------- */
.dates {
  margin-top: 1.75rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--sage);
  border-left: 4px solid var(--orange);
  border-radius: 6px;
  text-align: center;
}
.dates-title {
  font: 600 0.82rem/1.3 var(--body);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin: 0 0 0.6rem;
}
.dates ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.5rem;
}
.dates li {
  font: 600 1.12rem/1.45 var(--display);
  color: var(--navy);
}

/* ---------- short quote strip ---------- */
.quotestrip {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.quotestrip li {
  background: #fff;
  border: 1px solid var(--sage);
  border-radius: 6px;
  padding: 1.1rem 1.25rem;
}
.quotestrip p {
  margin: 0 0 0.5rem;
  font: 500 1.05rem/1.5 var(--body);
  color: var(--ink);
}
.quotestrip cite {
  font: 400 0.92rem/1.4 var(--body);
  font-style: normal;
  color: var(--ink-soft);
}

/* ---------- proof ---------- */
.stars { letter-spacing: 0.18em; color: var(--orange); font-size: 1.05rem; }
.reviews-line {
  font: 500 0.95rem/1.5 var(--body);
  text-align: center;
  margin-top: 1.75rem;
  color: var(--ink-soft);
}
.reviews-line .stars { display: block; margin-bottom: 0.4rem; }

blockquote {
  margin: 0;
  padding: 2.25rem 1.75rem 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  position: relative;
  box-shadow: 0 2px 14px rgba(53,71,61,0.05);
}
blockquote::before {
  content: "\201C";
  position: absolute;
  top: -0.32em; left: 0.6rem;
  font: 600 6rem/1 var(--display);
  color: var(--orange);
  opacity: 0.28;
}
blockquote .pull {
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1.1rem;
  position: relative;
}
blockquote p { font-size: 1.03rem; color: var(--ink-soft); }
blockquote cite {
  display: block;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font: 600 0.9rem/1.4 var(--body);
  font-style: normal;
  color: var(--navy-soft);
}

/* ---------- lists ---------- */
ul.plain { list-style: none; margin: 0 0 1.4rem; padding: 0; }
ul.plain li { position: relative; padding-left: 1.9rem; margin-bottom: 1rem; }
ul.plain li::before {
  content: "";
  position: absolute;
  left: 0.35rem; top: 0.68em;
  width: 7px; height: 7px;
  background: var(--sage);
  border-radius: 50%;
}
ul.yes li::before, ul.no li::before {
  content: "✓";
  background: none;
  width: auto; height: auto;
  left: 0; top: 0;
  color: var(--sage);
  font: 700 1.05rem/1.7 var(--body);
}
ul.no li::before { content: "✕"; color: #a8604d; }

/* ---------- fact list ---------- */
ul.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.ticks li {
  position: relative;
  padding: 0 0 0 2rem;
  margin-bottom: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
}
ul.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -0.05em;
  color: var(--orange-deep);
  font-weight: 700;
}

/* ---------- desktop: one column width for the whole page ----------
   Every section shares a 52rem container, so all left edges line up.
   Body text is capped at a readable 38rem inside it; photos, video and
   the two-column blocks use the full width. ------------------------- */
@media (min-width: 62rem) {
  .wrap { max-width: 52rem; }
  .wrap > p,
  .wrap > ul,
  .wrap > .dates,
  .wrap > .cta,
  .wrap > .cta-note,
  .wrap > .reviews-line,
  .wrap > .quotestrip,
  .wrap > blockquote { max-width: 38rem; }
  .hero h1 { font-size: clamp(3rem, 5vw, 4.4rem); }
  .hero .lede { max-width: 34rem; }
}

/* photos and video fill the full column; portrait clips stay small */
@media (min-width: 62rem) {
  section:not(.pair) .wrap > figure,
  section:not(.pair) .wrap > .videoblock { margin-bottom: 2.25rem; }
}

/* ---------- desktop: text beside its photo ---------- */
@media (min-width: 62rem) {
  .side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    width: 52rem;
    max-width: calc(100vw - 4rem);
    margin-bottom: 2.25rem;
  }
  .side > figure { margin-top: 0; }
  .side figure img { max-height: 24rem; width: auto; margin-inline: auto; }
  .side .ticks { margin-top: 0; }
  .side.two-lists { align-items: start; }
  .side.two-lists h2 { font-size: 2.1rem; }
  .side.two-lists ul { margin-bottom: 0; }
}

/* ---------- desktop: quote beside its media ---------- */
@media (min-width: 62rem) {
  .pair .wrap {
    max-width: 52rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
  .pair .wrap > figure,
  .pair .wrap > .videoblock { margin-top: 0; }
  .pair .wrap > .videoblock.reel video { max-width: 100%; }
}

/* ---------- faq + disclosures ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }

details.disclose {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 1.75rem 0;
}
details.disclose > summary { padding-block: 1.2rem; }
details.disclose[open] > summary { margin-bottom: 0.4rem; }

.faq summary,
details.disclose > summary {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--ink);
  padding: 1.3rem 2.5rem 1.3rem 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker,
details.disclose > summary::-webkit-details-marker { display: none; }
.faq summary::after,
details.disclose > summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--orange);
}
.faq details[open] summary::after,
details.disclose[open] > summary::after { content: "–"; }
.faq summary:hover,
details.disclose > summary:hover { color: var(--sage-dark); }
.faq summary:focus-visible,
details.disclose > summary:focus-visible { outline: 2px solid var(--sage-btn); outline-offset: 3px; }
.faq details > p { margin: 0 0 1.4rem; }

/* ---------- figures ---------- */
figure { margin: 2.25rem 0 0; }
figure img {
  border-radius: 14px;
  box-shadow: 0 6px 26px rgba(53,71,61,0.13);
}
figcaption {
  font: 400 0.875rem/1.6 var(--body);
  color: var(--ink-faint);
  margin-top: 0.8rem;
  text-align: center;
  font-style: italic;
}

/* video slot */
.videoblock { margin: 2.25rem 0 0; }
.videoblock video { border-radius: 14px; width: 100%; background: #000; box-shadow: 0 6px 26px rgba(53,71,61,0.13); }
.videoblock.reel video { max-width: 22rem; margin-inline: auto; }

/* ---------- footer ---------- */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.78);
  padding-block: 3rem;
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: center;
}
footer strong { color: #fff; }
footer a { color: #fff; text-decoration-color: rgba(255,255,255,0.4); text-underline-offset: 3px; }

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