/* Just A Pup Training — self-contained brand system
   No external fonts or libraries required. */

:root {
  color-scheme: light;
  --navy: #1B3328; /* Rain Moss */
  --navy-2: #14271F; /* Deep Forest Moss */
  --teal: #254B3B; /* Bottle Green */
  --teal-dark: #1B3328; /* Rain Moss Dark */
  --teal-soft: #E7EDE8; /* Soft Moss Tint */
  --coral: #553627; /* Saddle Leather */
  --coral-dark: #442A1E; /* Oiled Leather */
  --coral-soft: #F4ECE6; /* Warm Leather Tint */
  --chestnut: #7A4A31; /* Burnished Chestnut */
  --gold: #B18A4A; /* Antique Brass */
  --gold-soft: #F5EEDF; /* Brass Cream */
  --cream: #EEE4D3; /* Flax Paper */
  --paper: #F9F6F0; /* Natural Linen Paper */
  --surface: #FDFBF7; /* Pure Paper Surface */
  --ink: #211B17; /* Iron Bark */
  --slate: #3B322C; /* Warm Dark Bark */
  --muted: #786B60; /* Weathered Leather */
  --line: #DED5C5; /* Paper Stitch Line */
  --line-strong: #C7BCA9; /* Antique Border */
  --success: #254B3B;
  --success-soft: #E7EDE8;
  --error: #8B2C22;
  --error-soft: #FBEEE9;
  --notice: #7A4A31;
  --notice-soft: #F7EDE6;
  --shadow-sm: 0 6px 18px rgba(33, 27, 23, 0.06);
  --shadow-md: 0 14px 36px rgba(33, 27, 23, 0.09);
  --shadow-lg: 0 28px 70px rgba(33, 27, 23, 0.13);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 36px;
  --content: 1200px;
  --reading: 760px;
  --header-height: 82px;
  --font-display: "Playfair Display", "Cormorant Garamond", "Baskerville", "Georgia", "Iowan Old Style", "Times New Roman", serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --focus: 0 0 0 3px #F9F6F0, 0 0 0 6px #B18A4A;
  --step--1: clamp(0.9rem, 0.87rem + 0.13vw, 0.98rem);
  --step-0: clamp(1.06rem, 1rem + 0.25vw, 1.2rem);
  --step-1: clamp(1.3rem, 1.18rem + 0.52vw, 1.62rem);
  --step-2: clamp(1.62rem, 1.4rem + 0.96vw, 2.2rem);
  --step-3: clamp(2.05rem, 1.68rem + 1.6vw, 3rem);
  --step-4: clamp(2.7rem, 2rem + 3vw, 4.6rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 34px);
  background: var(--cream);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { color: inherit; font: inherit; }
button, select { cursor: pointer; }
a {
  color: var(--teal-dark);
  text-decoration-thickness: 0.11em;
  text-underline-offset: 0.16em;
}
a:hover { color: var(--coral-dark); }
:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 4px;
}
::selection { color: var(--navy); background: var(--gold); }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  font-family: var(--font-display);
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 850; }
h2 { font-size: var(--step-3); font-weight: 820; }
h3 { font-size: var(--step-2); font-weight: 790; }
h4 { font-size: var(--step-1); font-weight: 760; }
p, ul, ol, blockquote { margin-top: 0; }
p { max-width: 72ch; }
strong { font-weight: 760; }
small { font-size: var(--step--1); }
hr { height: 1px; margin: 3rem 0; border: 0; background: var(--line); }

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--navy);
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); }

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

.section {
  position: relative;
  padding-block: clamp(4.5rem, 8vw, 8.5rem);
}
.section--tight { padding-block: clamp(3rem, 5vw, 5rem); }
.section--cream { background: var(--cream); }
.section--teal-soft { background: var(--teal-soft); }
.section--coral-soft { background: var(--coral-soft); }
.section--navy { color: #fff; background: var(--navy); }
.section--navy a:not(.button) { color: #a9f4ed; }

.section-header {
  display: grid;
  gap: 1rem;
  max-width: 780px;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}
.section-header--center {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}
.section-header p { margin: 0; color: var(--slate); font-size: var(--step-1); }
.section--navy .section-header p { color: #d3dde6; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--teal-dark);
  font-size: 0.83rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 0.7rem;
  height: 0.7rem;
  flex: 0 0 auto;
  background: var(--coral);
  border: 3px solid var(--gold-soft);
  border-radius: 999px;
  content: "";
}
.section--navy .eyebrow { color: #a9f4ed; }
.section--navy .eyebrow::before { border-color: rgba(255,255,255,.2); }

.lede { color: var(--slate); font-size: var(--step-1); line-height: 1.55; }
.accent-underline { position: relative; display: inline; z-index: 0; }
.accent-underline::after {
  position: absolute;
  z-index: -1;
  right: -0.06em;
  bottom: 0.08em;
  left: -0.06em;
  height: 0.22em;
  background: var(--gold);
  border-radius: 99px;
  content: "";
  transform: rotate(-1.2deg);
}

.button-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .78rem 1.15rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary {
  color: #ffffff !important;
  background: var(--coral);
  border-color: var(--coral);
  box-shadow: 0 10px 24px rgba(211,63,52,.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  font-weight: 750;
}
.button--primary:hover {
  color: #ffffff !important;
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  box-shadow: 0 14px 28px rgba(173,46,38,.28);
}
.button--secondary {
  color: #ffffff !important;
  background: var(--teal);
  border-color: var(--teal);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  font-weight: 750;
}
.button--secondary:hover {
  color: #ffffff !important;
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}
.button--ghost { color: var(--navy); background: transparent; border-color: var(--navy); }
.button--ghost:hover { color: #fff; background: var(--navy); }
.section--navy .button--ghost { color: #fff; border-color: #fff; }
.section--navy .button--ghost:hover { color: var(--navy); background: #fff; }
.button--small { min-height: 42px; padding: .65rem 1rem; font-size: .94rem; }
.icon-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; }
.icon-link::after { content: "→"; transition: transform 160ms ease; }
.icon-link:hover::after { transform: translateX(4px); }

/* Header */
.utility-bar { color: #fff; background: var(--navy); font-size: .84rem; font-weight: 650; }
.utility-bar__inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .25rem;
}
.utility-bar p { margin: 0; }
.utility-bar__method { color: #bdf7f1; }

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(11,34,57,.08);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.nav-shell {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; border-radius: 12px; }
.brand img { width: 215px; max-height: 58px; }
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  color: var(--navy);
  background: var(--cream);
  border: 2px solid var(--navy);
  border-radius: 14px;
}
.nav-toggle__lines, .nav-toggle__lines::before, .nav-toggle__lines::after {
  display: block;
  width: 21px;
  height: 3px;
  background: currentColor;
  border-radius: 10px;
  content: "";
  transition: transform 160ms ease, opacity 160ms ease;
}
.nav-toggle__lines { position: relative; }
.nav-toggle__lines::before { position: absolute; top: -7px; left: 0; }
.nav-toggle__lines::after { position: absolute; top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav { display: flex; align-items: center; gap: .15rem; }
.site-nav > a {
  padding: .65rem .72rem;
  color: var(--navy);
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 760;
  text-decoration: none;
}
.site-nav > a:not(.button):hover, .site-nav > a[aria-current="page"] {
  color: var(--teal-dark);
  background: var(--teal-soft);
}
.site-nav > .button { margin-left: .4rem; color: #fff; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 15%, rgba(244,185,66,.26), transparent 23rem),
    linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}
.hero::after {
  position: absolute;
  right: -150px;
  bottom: -180px;
  width: 440px;
  height: 440px;
  background: var(--teal-soft);
  border-radius: 50%;
  content: "";
  opacity: .7;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: min(760px, calc(100svh - 116px));
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 7rem);
}
.hero__copy h1 { max-width: 12ch; margin-bottom: .45em; }
.hero__copy .lede { max-width: 58ch; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.5rem 0 1.8rem; }
.pill {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: .4rem;
  padding: .35rem .75rem;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: .9rem;
  font-weight: 760;
}
.pill::before { color: var(--teal); content: "●"; font-size: .72em; }
.hero__note { display: flex; align-items: flex-start; gap: .75rem; margin-top: 1.5rem; color: var(--slate); font-size: .94rem; }
.hero__note::before {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--navy);
  background: var(--gold);
  border-radius: 50%;
  content: "✓";
  font-size: .86rem;
  font-weight: 900;
}
.hero__visual { position: relative; }
.hero__visual img { width: 100%; filter: drop-shadow(0 28px 42px rgba(11,34,57,.13)); }
.floating-card {
  position: absolute;
  display: flex;
  max-width: 230px;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(11,34,57,.1);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  font-size: .9rem;
  font-weight: 760;
  line-height: 1.35;
}
.floating-card--top { top: 11%; left: -2%; }
.floating-card--bottom { right: -2%; bottom: 9%; }
.floating-card__icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--navy);
  background: var(--gold);
  border-radius: 12px;
  font-weight: 900;
}

/* Grids and cards */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .88fr);
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: center;
}
.card {
  position: relative;
  padding: clamp(1.35rem, 2.4vw, 2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.card--interactive { transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.card--interactive:hover { transform: translateY(-5px); border-color: var(--teal); box-shadow: var(--shadow-md); }
.card h3 { font-size: clamp(1.35rem, 1.16rem + .7vw, 1.9rem); }
.card p:last-child { margin-bottom: 0; }
.card__icon { width: 76px; margin-bottom: 1.3rem; }
.card__meta { color: var(--teal-dark); font-size: .9rem; font-weight: 800; }
.card__link {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.card__content { position: relative; z-index: 1; pointer-events: none; }
.card__content a { pointer-events: auto; }
.feature-list { display: grid; gap: .8rem; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 1.75rem; }
.feature-list li::before {
  position: absolute;
  top: .1em;
  left: 0;
  color: var(--teal);
  content: "✓";
  font-weight: 900;
}
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem 1.5rem; padding: 0; list-style: none; }
.check-grid li { position: relative; padding-left: 1.65rem; }
.check-grid li::before { position: absolute; left: 0; color: var(--coral); content: "◆"; font-size: .78rem; }

/* Concern chips */
.concern-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}
.concern-chip {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: .55rem .95rem;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow: 0 5px 15px rgba(11,34,57,.06);
  font-weight: 700;
}

/* Plan finder */
.finder-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.finder-form { display: grid; gap: 1.4rem; }
.finder-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.finder-form legend { margin-bottom: .65rem; font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; }
.choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
.choice {
  position: relative;
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: .7rem .8rem;
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: 14px;
  cursor: pointer;
}
.choice:hover { border-color: var(--teal); }
.choice input { width: 1.1rem; height: 1.1rem; margin: 0 .65rem 0 0; accent-color: var(--teal); }
.choice:has(input:checked) { background: var(--teal-soft); border-color: var(--teal); }
.finder-result {
  align-self: stretch;
  padding: clamp(1.4rem,3vw,2rem);
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius-md);
}
.finder-result[hidden] {
  display: grid !important;
  place-items: center;
  color: var(--slate);
  background: var(--cream);
  border: 2px dashed var(--line-strong);
}
.finder-result[hidden]::before {
  max-width: 26ch;
  text-align: center;
  content: "Answer three questions and your recommended starting point will appear here.";
}
.finder-result .eyebrow { color: #a9f4ed; }
.finder-result p { color: #d8e1e9; }

/* Process */
.process-grid { counter-reset: step; }
.process-card { padding-top: 3.5rem; color: var(--ink); background: #fff; }
.process-card h3 { color: var(--ink); font-family: var(--font-display); }
.process-card p { color: var(--slate); }
.process-card::before {
  position: absolute;
  top: 1.25rem;
  left: 1.45rem;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--navy);
  background: var(--gold);
  border-radius: 12px;
  content: counter(step);
  counter-increment: step;
  font-family: var(--font-display);
  font-weight: 900;
}
.process-card:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 2.4rem;
  right: -1.05rem;
  color: var(--coral);
  content: "→";
  font-size: 1.5rem;
  font-weight: 900;
}

/* Promise */
.promise-box {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.promise-box::after {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 280px;
  height: 280px;
  background: var(--teal);
  border-radius: 50%;
  content: "";
  opacity: .35;
}
.promise-box > * { position: relative; z-index: 1; }
.promise-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .9rem 2rem; padding: 0; list-style: none; }
.promise-list li { display: flex; gap: .75rem; }
.promise-list li::before {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--navy);
  background: var(--gold);
  border-radius: 50%;
  content: "✓";
  font-size: .82rem;
  font-weight: 900;
}

/* FAQs */
.faq-list { display: grid; gap: .85rem; }
.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  font-family: var(--font-display);
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  content: "+";
  font-size: 1.3rem;
  transition: transform 160ms ease;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 1.15rem 1.15rem; color: var(--slate); }
.faq__body p:last-child { margin-bottom: 0; }

/* Page headers and content */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 7.5rem);
  background:
    radial-gradient(circle at 86% 35%, rgba(244,185,66,.34), transparent 16rem),
    var(--cream);
}
.page-hero::after {
  position: absolute;
  top: -90px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: var(--teal-soft);
  border-radius: 50%;
  content: "";
}
.page-hero__inner { position: relative; z-index: 1; max-width: 880px; }
.page-hero h1 { max-width: 16ch; }
.breadcrumbs { margin-bottom: 1.4rem; color: var(--slate); font-size: .92rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { margin-left: .45rem; content: "/"; color: var(--line-strong); }
.breadcrumbs a { font-weight: 700; }

.service-detail {
  scroll-margin-top: calc(var(--header-height) + 48px);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.service-detail__head {
  display: grid;
  grid-template-columns: 86px minmax(0,1fr);
  gap: 1.3rem;
  align-items: start;
}
.service-detail__head img { width: 82px; }
.service-detail__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.service-detail + .service-detail { margin-top: 1.4rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; list-style: none; }
.tag-list li {
  padding: .3rem .65rem;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 800;
}
.notice {
  padding: 1rem 1.1rem;
  color: var(--notice);
  background: var(--notice-soft);
  border-left: 5px solid var(--gold);
  border-radius: 10px;
}
.callout {
  padding: clamp(1.4rem,3vw,2rem);
  background: var(--teal-soft);
  border-radius: var(--radius-md);
}
.callout--coral { background: var(--coral-soft); }
.callout--gold { background: var(--gold-soft); }
.quote {
  margin: 0;
  padding: 1.4rem 1.5rem;
  color: var(--navy);
  background: var(--gold-soft);
  border-left: 6px solid var(--gold);
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 750;
}

/* Values */
.value-card { border-top: 6px solid var(--teal); }
.value-card:nth-child(2) { border-top-color: var(--coral); }
.value-card:nth-child(3) { border-top-color: var(--gold); }
.value-card:nth-child(4) { border-top-color: var(--navy); }

/* Resources */
.filter-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.filter-button {
  min-height: 44px;
  padding: .55rem .85rem;
  color: var(--navy);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}
.filter-button:hover, .filter-button[aria-pressed="true"] {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}
.resource-card { display: flex; min-height: 100%; flex-direction: column; }
.resource-card__type { color: var(--teal-dark); font-size: .82rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.resource-card__footer { margin-top: auto; padding-top: 1.2rem; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 250px;
  gap: clamp(2rem,6vw,5rem);
  align-items: start;
}
.article-body { min-width: 0; }
.article-body h2 { margin-top: 2.3em; }
.article-body h3 { margin-top: 1.7em; }
.article-body li + li { margin-top: .5rem; }
.article-body img { margin-block: 2rem; border-radius: var(--radius-md); }
.article-aside {
  position: sticky;
  top: calc(var(--header-height) + 35px);
  padding: 1.1rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.article-aside h2 { font-size: 1.1rem; letter-spacing: 0; }
.article-aside ul { display: grid; gap: .5rem; padding-left: 1.1rem; font-size: .92rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .6rem 1rem; color: var(--slate); font-size: .9rem; }
.article-meta span { display: inline-flex; align-items: center; gap: .35rem; }

/* Forms */
.form-shell {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(280px,.75fr);
  gap: clamp(1.5rem,4vw,3rem);
  align-items: start;
}
.form-card {
  padding: clamp(1.35rem,3vw,2.3rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.form-field { display: grid; gap: .35rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label, .fieldset-label { font-weight: 800; }
.required { color: var(--error); }
.input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: .7rem .78rem;
  background: #fff;
  border: 2px solid var(--line-strong);
  border-radius: 12px;
}
textarea { min-height: 150px; resize: vertical; }
.input:hover, select:hover, textarea:hover { border-color: var(--teal); }
.input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: 0; box-shadow: 0 0 0 4px rgba(0,124,122,.16); }
.help-text { color: var(--slate); font-size: .88rem; }
.radio-row { display: flex; flex-wrap: wrap; gap: .65rem; }
.radio-card {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: .55rem;
  padding: .55rem .75rem;
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: 12px;
  font-weight: 700;
}
.radio-card:has(input:checked) { background: var(--teal-soft); border-color: var(--teal); }
.radio-card input { accent-color: var(--teal); }
.form-status {
  margin-top: 1rem;
  padding: .75rem .85rem;
  border-radius: 10px;
  font-weight: 700;
}
.form-status:empty { display: none; }
.form-status[data-state="success"] { color: var(--success); background: var(--success-soft); }
.form-status[data-state="error"] { color: var(--error); background: var(--error-soft); }
.form-status[data-state="notice"] { color: var(--notice); background: var(--notice-soft); }
.summary-output { min-height: 250px; margin-top: 1rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .82rem; }
.contact-aside { display: grid; gap: 1rem; }
.contact-card {
  padding: 1.25rem;
  background: var(--cream);
  border-radius: 18px;
}
.contact-card h2, .contact-card h3 { font-size: 1.35rem; }
.contact-card p:last-child { margin-bottom: 0; }

/* Legal / basic content */
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li + li { margin-top: .45rem; }
.prose .notice { margin-block: 1.5rem; }

/* CTA */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem,5vw,4rem);
  color: #fff;
  background: var(--teal);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.cta::before {
  position: absolute;
  top: -100px;
  right: -50px;
  width: 260px;
  height: 260px;
  background: var(--gold);
  border-radius: 50%;
  content: "";
  opacity: .92;
}
.cta::after {
  position: absolute;
  right: 85px;
  bottom: -125px;
  width: 240px;
  height: 240px;
  background: var(--coral);
  border-radius: 50%;
  content: "";
  opacity: .92;
}
.cta__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2rem; align-items: center; }
.cta h2 { max-width: 17ch; }
.cta p { color: #eafffd; }

/* Footer */
.site-footer { color: #d5e0e9; background: var(--navy); }
.footer-main {
  display: grid;
  grid-template-columns: 1.35fr .8fr .8fr 1fr;
  gap: 2rem;
  padding-block: clamp(3.5rem,7vw,6rem);
}
.footer-brand img { width: 250px; margin-bottom: 1rem; }
.footer-brand p { color: #c5d2dc; }
.footer-column h2 { margin-bottom: 1rem; color: #fff; font-size: 1rem; letter-spacing: .02em; }
.footer-links { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: #d5e0e9; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  border-top: 1px solid rgba(255,255,255,.13);
  font-size: .88rem;
}
.footer-bottom p { margin: 0; }
.social-row { display: flex; flex-wrap: wrap; gap: .65rem; }
.social-row a { color: #fff; font-weight: 750; }

.back-to-top {
  position: fixed;
  z-index: 900;
  right: 1rem;
  bottom: 1rem;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--navy);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  font-weight: 900;
}

/* Content is visible by default; interactions never gate core information. */
[data-reveal] {
  opacity: 1;
  transform: none;
}

/* Utilities */
.text-center { text-align: center; }
.text-slate { color: var(--slate); }
.text-white { color: #fff; }
.max-60 { max-width: 60ch; }
.stack-sm > * + * { margin-top: .7rem; }
.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.7rem; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-nav > a { padding-inline: .52rem; font-size: .9rem; }
  .footer-main { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: 520px; }
}

@media (max-width: 959px) {
  :root { --header-height: 72px; }
  .utility-bar__inner { justify-content: center; text-align: center; }
  .utility-bar__method { display: none; }
  .brand img { width: 188px; }
  .nav-toggle { display: grid; }
  .site-nav {
    position: absolute;
    z-index: 1100;
    top: 100%;
    right: 1rem;
    left: 1rem;
    display: none;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
  }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav > a { min-height: 46px; display: flex; align-items: center; padding: .7rem .8rem; }
  .site-nav > .button { justify-content: center; margin: .35rem 0 0; }
  .nav-open { overflow: hidden; }
  .hero__inner { min-height: auto; grid-template-columns: 1fr; }
  .hero__copy { max-width: 720px; }
  .hero__visual { max-width: 680px; margin-inline: auto; }
  .split, .finder-shell, .form-shell { grid-template-columns: 1fr; }
  .process-card:not(:last-child)::after { display: none; }
  .grid--3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; order: -1; }
  .cta__inner { grid-template-columns: 1fr; }
  .cta::before, .cta::after { opacity: .35; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 1.25rem), var(--content)); }
  .container--reading { width: min(calc(100% - 1.25rem), var(--reading)); }
  .section { padding-block: clamp(3.7rem, 12vw, 5.7rem); }
  .hero__inner { padding-block: 3rem 4rem; }
  .hero__badges { gap: .45rem; }
  .pill { font-size: .83rem; }
  .floating-card { display: none; }
  .grid--2, .grid--3, .grid--4, .check-grid, .promise-list, .service-detail__body, .form-grid {
    grid-template-columns: 1fr;
  }
  .service-detail__head { grid-template-columns: 64px minmax(0,1fr); }
  .service-detail__head img { width: 60px; }
  .choice-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .button-row .button { width: 100%; }
  .cta { border-radius: var(--radius-lg); }
}

@media (max-width: 480px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .brand img { width: 165px; }
  .nav-shell { gap: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (forced-colors: active) {
  .button, .choice, .filter-button, .faq, .card, .input, select, textarea {
    border: 2px solid CanvasText;
  }
}

@media print {
  .site-header, .utility-bar, .site-footer, .back-to-top, .button-row, .filter-row { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .section, .page-hero { padding-block: 1rem; }
  .card, .service-detail, .form-card, .callout, .notice { box-shadow: none; break-inside: avoid; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}
