:root {
  /* Brand Neutrals */
  --ink: #18211f;          /* Deep slate charcoal */
  --muted-ink: #4e5956;    /* Readable secondary text */
  --paper: #fdfcf9;        /* Warm alabaster cream */
  --surface: #ffffff;      /* Pure white card backgrounds */
  --line: #e3ded6;         /* Soft warm grey border */

  /* Brand Accents */
  --moss: #2b5c43;         /* Tested positive / Primary Green */
  --moss-dark: #163626;    /* Dark forest green for hover states */
  --sky: #3c768c;          /* Process / Airflow Slate Blue */
  --sky-light: #f1f7f9;    /* Light sky background tint */
  --berry: #9b2e3e;        /* Caution warning Crimson */
  --berry-light: #fdf2f3;  /* Soft caution tint */
  --amber: #ab6e10;        /* Buying signal / Price check Gold */
  --amber-light: #fef7ec;  /* Soft gold tint */

  /* Typography */
  --font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout Boundaries */
  --gutter: 20px;
  --max-width: 1120px;
  --header-h: 77px;

  /* Border Radii (Hard constraint: max 8px for cards) */
  --radius-card: 8px;
  --radius-button: 6px;
  --radius-badge: 4px;

  /* Shadows (Subtle, tactile, simulating high-quality paper) */
  --shadow-sm: 0 1px 2px rgba(24, 33, 31, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(24, 33, 31, 0.08), 0 2px 4px -1px rgba(24, 33, 31, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(24, 33, 31, 0.08), 0 4px 6px -2px rgba(24, 33, 31, 0.04);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

@media (min-width: 640px) {
  :root {
    --gutter: 32px;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 40px;
  }
}

/* Global Reset & Base */
* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.625;
  font-size: 1rem;
}

/* Skip Link for A11y Keyboard Users */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background-color: var(--moss);
  color: #ffffff;
  padding: 10px 18px;
  z-index: 1000;
  font-weight: 700;
  border-radius: var(--radius-button);
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: top var(--transition-fast);
}

.skip-link:focus-visible {
  top: 20px;
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* Accessible Focus States */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 4px;
}

/* Typography & Limits */
h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.125rem, 4.5vw, 3rem); /* 34px to 48px */
  font-weight: 800;
}

h2 {
  font-size: clamp(1.625rem, 3vw, 1.875rem); /* 26px to 30px */
  font-weight: 700;
}

h3 {
  font-size: 1.25rem; /* 20px */
  font-weight: 700;
}

p {
  margin: 0;
  max-width: 72ch; /* Cap line length to ~72-80 chars for optimal legibility */
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(28px, 4vw, 64px);
  padding: 16px var(--gutter);
  border-bottom: 1px solid var(--line);
  background-color: rgba(253, 252, 249, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color var(--transition-fast);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--ink);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.brand-mark:hover {
  color: var(--moss);
}

.brand-mark svg,
.brand-mark img {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.brand-mark span {
  white-space: nowrap;
}

.site-header nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
}

.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px; /* Touch target constraint */
  padding: 8px 11px;
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--muted-ink);
  text-decoration: none;
  border-radius: var(--radius-button);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.site-header nav a:hover {
  color: var(--moss);
  background-color: var(--sky-light);
}

/* Mobile menu toggle (hidden on desktop) */
.nav-toggle-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.nav-toggle { display: none; }

/* Main Layout Grid */
main {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.section:first-of-type {
  border-top: none;
}

.section__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 80ch;
  margin-bottom: 36px;
}

.section__head p {
  color: var(--muted-ink);
  font-size: 1.0625rem;
}

.section__head h2 + p {
  margin-top: 2px;
}

.eyebrow {
  align-self: flex-start;
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sky);
}

/* Hero Zone */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
  padding: 48px 0;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.4fr 0.8fr;
    gap: 36px;
    padding: 64px 0 48px;
  }
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 5vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.hero__lead {
  margin-top: 18px;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  line-height: 1.5;
  color: var(--muted-ink);
}

.affiliate-note {
  margin-top: 20px;
  padding: 14px 18px;
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  background-color: var(--amber-light);
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-button);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.button--primary {
  background-color: var(--moss);
  border-color: var(--moss);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.button--primary:hover {
  background-color: var(--moss-dark);
  border-color: var(--moss-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.button--secondary {
  background-color: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.button--secondary:hover {
  background-color: var(--sky-light);
  border-color: var(--sky);
  color: var(--sky);
}

.button:disabled,
.button--disabled {
  background-color: #f3efe6 !important;
  border-color: var(--line) !important;
  color: var(--muted-ink) !important;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Hero Trust Panel */
.trust-panel {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.trust-panel strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--ink);
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--moss);
}

.trust-panel dl {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

.trust-panel dl div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.trust-panel dl div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.trust-panel dt {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-ink);
}

.trust-panel dd {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
}

.amazon-strip {
  margin: -6px 0 0;
  padding: 7px 10px;
  border: 1px solid rgba(155, 46, 62, 0.35);
  border-left: 4px solid var(--berry);
  border-radius: var(--radius-card);
  background-color: var(--berry-light);
  color: var(--berry);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.3;
}

/* Above-Fold Proof Surface */
.proof-section {
  padding-top: 56px;
}

@media (max-width: 899px) {
  .hero {
    gap: 0;
    padding: 28px 0 24px;
  }

  .hero__copy {
    padding: 22px;
  }

  .hero__lead {
    margin-top: 14px;
    font-size: 1.0625rem;
  }

  .affiliate-note {
    margin-top: 16px;
    padding: 12px 14px;
  }

  .hero__actions {
    margin-top: 20px;
  }

  .hero .trust-panel {
    display: none;
  }

  .proof-section {
    padding-top: 36px;
  }
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 720px) {
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.proof-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--moss);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.proof-card h3 {
  font-size: 1.125rem;
}

.proof-card p {
  color: var(--muted-ink);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.proof-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background-color: var(--sky-light);
}

@media (min-width: 680px) {
  .proof-metrics {
    grid-template-columns: repeat(4, 1fr);
  }
}

.proof-metrics div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 14px;
  border-radius: 6px;
  background-color: var(--surface);
}

.proof-metrics strong {
  color: var(--moss);
  font-size: 1.75rem;
  line-height: 1;
}

.proof-metrics span {
  color: var(--muted-ink);
  font-size: 0.875rem;
  line-height: 1.35;
}

/* Proof environment / setting (where the dogs live and get dried) */
.proof-environment {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.proof-environment > h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.proof-environment > p {
  max-width: 72ch;
  color: var(--muted-ink);
  font-size: 0.975rem;
  margin-bottom: 20px;
}

.env-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .env-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.env-grid figure {
  margin: 0;
}

.env-grid figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted-ink);
  line-height: 1.4;
}

/* Jump-to-comparison teaser (closes the 11-dog panel) */
.compare-teaser {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 24px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--sky);
  border-radius: var(--radius-card);
  background-color: var(--sky-light);
}

.compare-teaser p {
  margin: 0;
  font-size: 0.975rem;
  color: var(--ink);
}

.compare-teaser .button {
  flex: 0 0 auto;
}

/* Comparison Table */
.table-wrap {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
  /* Force hardware acceleration for smooth scrolling on mobile */
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  font-size: 0.9375rem;
  text-align: left;
}

caption {
  padding: 14px var(--gutter);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
  color: var(--muted-ink);
  background-color: var(--sky-light);
  border-bottom: 1px solid var(--line);
}

thead th {
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-ink);
  background-color: #faf9f6;
  border-bottom: 2px solid var(--line);
  vertical-align: top;
  white-space: nowrap;
}

th, td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.45;
}

#compare-table th,
#compare-table td {
  border-right: 1px solid rgba(227, 222, 214, 0.72);
}

#compare-table th:last-child,
#compare-table td:last-child,
#compare-table .table-group th,
#compare-table .cmp-strip > td,
#compare-table .cmp-detail > td {
  border-right: none;
}

tr:last-child th,
tr:last-child td {
  border-bottom: none;
}

tbody tr {
  transition: background-color var(--transition-fast);
}

tbody tr:hover {
  background-color: #fdfcf9;
}

tbody th[scope="row"] {
  font-weight: 700;
  color: var(--ink);
}

.table-group th {
  background-color: var(--sky-light);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line);
}

td.buy a {
  color: var(--moss);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

td.buy a:hover { color: var(--moss-dark); }

.rating {
  display: block;
  margin-top: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-ink);
  white-space: nowrap;
}

/* Comparison row: sticky head cell holds thumb, name, price, buy + toggle */
.cmp-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  width: 232px;
  min-width: 232px;
  padding: 18px 16px;
}
.cmp-thumb {
  display: grid;
  place-items: center;
  width: 100%;
  height: 120px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  padding: 8px;
}
.cmp-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.cmp-name { font-weight: 750; line-height: 1.3; color: var(--ink); }
.cmp-price { font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.cmp-buy {
  width: 100%;
  padding: 10px 12px;
  text-align: center;
  line-height: 1.25;
}
.cmp-rating {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-ink);
  white-space: nowrap;
}

#compare-table {
  display: block;
  min-width: 0;
}

#compare-table caption,
#compare-table tbody,
#compare-table tbody > .table-group,
#compare-table tbody > .cmp-strip,
#compare-table tbody > .cmp-detail {
  display: block;
  width: 100%;
}

#compare-table tbody > .table-group > th,
#compare-table tbody > .cmp-strip > td,
#compare-table tbody > .cmp-detail > td {
  display: block;
  width: 100%;
}

#compare-table thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

#compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

#compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) > th,
#compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) > td {
  min-width: 0 !important;
  width: auto !important;
  inline-size: auto !important;
  max-width: none !important;
  overflow-wrap: anywhere;
}

#compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) > td {
  display: block;
}

#compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) > .cmp-head {
  position: static;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(180px, auto);
  align-items: center;
  gap: 6px 12px;
  width: auto;
  min-width: 0;
  background-color: var(--surface);
  box-shadow: none;
}

#compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) > .cmp-head .cmp-thumb {
  grid-row: 1 / span 4;
  width: 92px;
  height: 92px;
}

#compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) > .cmp-head .cmp-name,
#compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) > .cmp-head .cmp-price,
#compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) > .cmp-head .cmp-rating,
#compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) > .cmp-head .cmp-fit {
  grid-column: 2;
}

#compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) > .cmp-head .cmp-buy {
  grid-column: 3;
  grid-row: 1 / span 4;
  align-self: center;
  width: auto;
}

#compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) > td::before {
  display: block;
  margin-bottom: 4px;
  color: var(--sky);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

#compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) > td:nth-of-type(1)::before { content: "Type"; }
#compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) > td:nth-of-type(2)::before { content: "Power"; }
#compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) > td:nth-of-type(3)::before { content: "Air speed"; }
#compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) > td:nth-of-type(4)::before { content: "Noise"; }
#compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) > td:nth-of-type(5)::before { content: "Max heat"; }
#compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) > td:nth-of-type(6)::before { content: "Weight"; }
#compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) > td:nth-of-type(7)::before { content: "Best for"; }

#compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) > .cmp-bestfor {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-block: 14px;
  background: #fbfaf7;
}

#compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) > .cmp-bestfor::before {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

@media (max-width: 559px) {
  #compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  #compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) > .cmp-head {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  #compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) > .cmp-head .cmp-thumb {
    width: 78px;
    height: 78px;
  }

  #compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) > .cmp-head .cmp-buy {
    grid-column: 1 / -1;
    grid-row: auto;
    width: 100%;
  }

  #compare-table tbody > tr:not(.table-group):not(.cmp-strip):not(.cmp-detail) > .cmp-bestfor {
    grid-template-columns: 1fr;
  }
}
.cmp-toggle {
  margin-top: 2px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--moss);
}
.cmp-toggle::after { content: " \25be"; }
.cmp-toggle[aria-expanded="true"]::after { content: " \25b4"; }

/* Full-width detail panel below the row */
.cmp-detail > td {
  background-color: #fbfaf7;
  padding: 0;
}
.cmp-detail__panel {
  max-width: min(900px, 92vw);
  padding: 18px var(--gutter);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.cmp-detail__media {
  flex: 0 0 280px;
  max-width: 280px;
  margin: 0;
}
.cmp-detail__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.cmp-detail__media figcaption {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--muted-ink);
  line-height: 1.4;
}
.cmp-detail__notes {
  flex: 1 1 320px;
  min-width: 0;
}
@media (max-width: 559px) {
  .cmp-detail__media { flex-basis: 100%; max-width: 100%; }
}
.cmp-detail__notes p {
  margin: 0 0 8px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted-ink);
}
.cmp-detail__notes p:last-child { margin-bottom: 0; }
.cmp-detail__notes strong { color: var(--ink); }

/* Full review panel (rich per-dryer hands-on content) */
.cmp-detail__panel--full { max-width: min(1080px, 95vw); align-items: flex-start; }
.cmp-detail__review { flex: 1 1 380px; min-width: 0; }
.cmp-detail__lead {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 16px;
}
.cmp-detail__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
}
@media (max-width: 700px) { .cmp-detail__cols { grid-template-columns: 1fr; } }
.cmp-sub {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--moss);
  margin: 14px 0 6px;
}
.cmp-detail__cols > div > .cmp-sub:first-child { margin-top: 0; }
.cmp-detail__review p:not(.cmp-sub):not(.cmp-detail__lead):not(.cmp-detail__pending) {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted-ink);
  margin: 0;
}
.cmp-spec {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.83rem;
  line-height: 1.4;
  color: var(--muted-ink);
}
.cmp-spec li { padding: 3px 0; border-bottom: 1px solid var(--line); }
.cmp-spec li:last-child { border-bottom: none; }
.cmp-spec span {
  display: inline-block;
  min-width: 78px;
  font-weight: 700;
  color: var(--ink);
}
.cmp-check {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.83rem;
  line-height: 1.45;
  color: var(--muted-ink);
}
.cmp-check li {
  position: relative;
  padding: 4px 0 4px 20px;
}
.cmp-check li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--moss);
  font-weight: 800;
}
.cmp-detail__pending {
  margin: 12px 0 0;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--muted-ink);
}

/* Keep the dryer name + buy button visible while the specs scroll sideways */
table th[scope="row"] {
  position: sticky;
  left: 0;
  z-index: 1;
  background-color: var(--surface);
  box-shadow: 1px 0 0 var(--line);
}

thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background-color: #faf9f6;
}

.table-group th { position: static; }

/* Toggle moved to a full-width strip; tighter spec row */
.cmp-strip > td { padding: 0; }
.cmp-strip .cmp-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  text-align: left;
  margin: 0;
  padding: 12px 16px;
  background: var(--sky-light);
  color: var(--moss-dark);
  font-size: 0.85rem;
  font-weight: 800;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid rgba(227, 222, 214, 0.72);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}
.cmp-strip .cmp-toggle:hover {
  background: #e7f0f3;
  color: var(--ink);
}
.cmp-strip .cmp-toggle::after {
  content: "\25be";
  position: sticky;
  right: 16px;
  margin-left: auto;
  padding-left: 10px;
  color: var(--sky);
}
.cmp-strip .cmp-toggle[aria-expanded="true"]::after { content: "\25b4"; }
#compare-table tbody tr:not(.cmp-strip):not(.cmp-detail):not(.table-group) > td {
  padding: 18px 16px;
  vertical-align: top;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.38;
}
.cmp-detail > td, .cmp-strip > td { vertical-align: top; }
.cmp-thumb { height: 92px; }
.cell-note {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted-ink);
  font-weight: 400;
}

/* Label Pills */
.label-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 20px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.label-pill--warn {
  background-color: var(--berry-light);
  border-color: rgba(155, 46, 62, 0.15);
  color: var(--berry);
}

.label-pill--info {
  background-color: var(--sky-light);
  border-color: rgba(60, 118, 140, 0.15);
  color: var(--sky);
}

/* Shared Content Components */
.type-grid,
.proof-check-grid,
.stop-grid,
.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .type-grid,
  .proof-check-grid,
  .stop-grid,
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .proof-check-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .type-grid,
  .stop-grid,
  .guide-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.type-card,
.proof-check-grid article,
.stop-grid article,
.guide-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.type-card h3,
.proof-check-grid h3,
.stop-grid h3,
.guide-card h3 {
  font-size: 1.125rem;
}

.type-card p,
.stop-grid p,
.guide-card p {
  color: var(--muted-ink);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.plain-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted-ink);
}

.plain-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--moss);
}

.plain-list--caution li::before {
  background-color: var(--berry);
}

.type-card strong {
  margin-top: auto;
  color: var(--ink);
  font-size: 0.875rem;
}

.type-card span {
  color: var(--muted-ink);
  font-size: 0.9rem;
  line-height: 1.45;
}

.type-card--caution {
  border-left: 4px solid var(--berry);
  background-color: var(--berry-light);
}

.proof-check-grid article {
  border-left: 4px solid var(--moss);
}

.stop-grid article {
  border-left: 4px solid var(--berry);
  background-color: var(--berry-light);
}

.guide-card {
  background-color: #faf9f6;
}

/* Choose by Dog Size & Coat Type */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .fit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .fit-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.fit-grid article {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.fit-grid article:hover {
  transform: translateY(-2px);
  border-color: var(--moss);
  box-shadow: var(--shadow-md);
}

.fit-grid article h3 {
  margin-bottom: 12px;
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fit-grid article p {
  font-size: 0.9375rem;
  color: var(--muted-ink);
  line-height: 1.5;
}

/* Testing Method Section */
.method {
  background: linear-gradient(180deg, var(--surface) 0%, var(--sky-light) 100%);
  border-bottom: 1px solid var(--line);
}

.method-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: method-step;
}

@media (min-width: 600px) {
  .method-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .method-steps {
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
  }
}

.method-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 48px 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
  counter-increment: method-step;
}

.method-steps li::before {
  content: counter(method-step);
  position: absolute;
  top: 14px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--sky);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 800;
}

.method-steps li strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.method-steps li p {
  font-size: 0.875rem;
  color: var(--muted-ink);
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 1140px) and (min-width: 720px) {
  .method-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Safety Boundaries Section */
.check-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 16px 20px 16px 52px;
  border-left: 4px solid var(--berry);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  background-color: var(--berry-light);
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b2e3e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Native FAQ disclosure pattern */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
  color: var(--ink);
}

.faq-list summary::marker {
  color: var(--moss);
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-list details p {
  padding: 18px 20px 20px;
  color: var(--muted-ink);
}

.disclosure {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 40px;
  margin-top: 32px;
}

@media (max-width: 640px) {
  .disclosure {
    padding: 28px 20px;
  }
}

/* CTA Strip */
.cta-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px var(--gutter);
  margin: 40px 0 80px;
  border-radius: var(--radius-card);
  background-color: var(--moss-dark);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

@media (max-width: 899px) {
  .site-header {
    position: relative;
    justify-content: space-between;
    gap: 16px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    border: 1px solid var(--line);
    border-radius: var(--radius-button);
    background-color: var(--surface);
  }

  .nav-toggle__bar { position: relative; }

  .nav-toggle__bar,
  .nav-toggle__bar::before,
  .nav-toggle__bar::after {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--ink);
    border-radius: 2px;
    transition: transform var(--transition-fast), background-color var(--transition-fast), top var(--transition-fast);
  }

  .nav-toggle__bar::before,
  .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bar::before { top: -6px; }
  .nav-toggle__bar::after { top: 6px; }

  .site-header nav.site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background-color: var(--surface);
    box-shadow: var(--shadow-lg);
    z-index: 200;
  }

  .nav-toggle-input:checked ~ nav.site-nav { display: flex; }
  .site-header nav.site-nav a { min-height: 44px; }

  .nav-toggle-input:checked ~ .nav-toggle .nav-toggle__bar { background-color: transparent; }
  .nav-toggle-input:checked ~ .nav-toggle .nav-toggle__bar::before { top: 0; transform: rotate(45deg); }
  .nav-toggle-input:checked ~ .nav-toggle .nav-toggle__bar::after { top: 0; transform: rotate(-45deg); }
}

.cta-strip h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
}

.cta-strip .button {
  background-color: var(--surface);
  border-color: var(--surface);
  color: var(--moss-dark);
}

.cta-strip .button:hover {
  background-color: var(--paper);
  transform: translateY(-1px);
}

/* Footer Section styling */
footer.site-footer {
  text-align: center;
  padding: 32px var(--gutter) 48px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted-ink);
}

footer.site-footer p {
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 18px;
  margin: 0 auto 18px;
}

.footer-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 6px 4px;
  font-weight: 600;
  color: var(--muted-ink);
  text-decoration: none;
  border-radius: var(--radius-button);
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--moss);
  text-decoration: underline;
}

/* ===========================================================
   Image placeholders
   Swap any .ph-media block for a real <img> (or set a
   background-image) once photography is ready. Aspect ratio
   and framing are already reserved so layout will not shift.
   =========================================================== */
.ph-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(135deg, var(--sky-light) 0%, #edf2ec 100%);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.ph-media::after {
  content: "";
  width: 34%;
  max-width: 56px;
  aspect-ratio: 1 / 1;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.4;
}

.ph-media--photo::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233c768c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E");
}

.ph-media--paw::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233c768c'%3E%3Ccircle cx='5.5' cy='12' r='2.1'/%3E%3Ccircle cx='9.5' cy='6.5' r='2.1'/%3E%3Ccircle cx='14.5' cy='6.5' r='2.1'/%3E%3Ccircle cx='18.5' cy='12' r='2.1'/%3E%3Cpath d='M12 12.5c-2.8 0-5 2-5 4.3 0 1.7 1.4 2.5 2.9 2 1.4-.5 2.8-.5 4.2 0 1.5.5 2.9-.3 2.9-2 0-2.3-2.2-4.3-5-4.3z'/%3E%3C/svg%3E");
}

.ph-media--1x1 { aspect-ratio: 1 / 1; }
.ph-media--4x3 { aspect-ratio: 4 / 3; }
.ph-media--16x9 { aspect-ratio: 16 / 9; }

/* Real images (swapped in for the placeholders) */
picture { display: block; }

.ph-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  object-fit: cover;
}

.ph-img--1x1 { aspect-ratio: 1 / 1; }
.ph-img--4x3 { aspect-ratio: 4 / 3; }
.ph-img--3x2 { aspect-ratio: 3 / 2; }
.ph-img--16x9 { aspect-ratio: 16 / 9; }

.owner-figure {
  margin: 0 0 28px;
  max-width: 760px;
}

/* Homepage author / "who tests these dogs" strip */
.author-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 760px) {
  .author-strip {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 36px;
  }
}

.author-strip__figure {
  margin: 0;
}

.author-strip__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.author-strip__body p {
  color: var(--muted-ink);
  font-size: 1.0625rem;
}

.author-strip__body .button {
  align-self: flex-start;
  margin-top: 6px;
}

.owner-figure figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted-ink);
  line-height: 1.4;
}

.dog-card .ph-img,
.product-card .ph-img { border-radius: 0; }

.env-figure { margin: 0; }

.env-figure figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted-ink);
  line-height: 1.4;
}

/* Hero media column */
.hero__aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__figure {
  margin: 0;
}

.hero__figure figcaption {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--muted-ink);
  line-height: 1.4;
}

@media (max-width: 899px) {
  .hero__aside {
    margin-top: 18px;
  }
}

/* 11-dog panel */
.dog-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .dog-panel { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .dog-panel { grid-template-columns: repeat(4, 1fr); }
}

.dog-panel > li {
  display: flex;
  min-width: 0;
}

details.dog-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

details.dog-card[open],
details.dog-card:hover {
  border-color: var(--moss);
  box-shadow: var(--shadow-md);
}

.dog-card .ph-media,
.dog-card .ph-img {
  border-radius: 0;
}

.dog-card__summary {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  list-style: none;
}

.dog-card__summary::-webkit-details-marker { display: none; }

.dog-card__summary > picture { display: block; }

.dog-card__band,
.dog-card__name,
.dog-card__teaser,
.dog-card__more {
  padding-left: 16px;
  padding-right: 16px;
}

.dog-card__band {
  margin-top: 12px;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--sky);
}

.dog-card__name {
  margin: 4px 0 0;
  font-size: 1.0625rem;
}

.dog-card__breed {
  padding-left: 16px;
  padding-right: 16px;
  margin-top: 2px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted-ink);
}

.dog-card__teaser {
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--muted-ink);
  line-height: 1.4;
}

.dog-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-bottom: 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--moss);
}

.dog-card__more::after { content: "\25be"; font-size: 0.8em; }
details.dog-card[open] .dog-card__more::after { content: "\25b4"; }

.dog-card__story {
  padding: 0 16px 18px;
  border-top: 1px solid var(--line);
}

.dog-card__story p {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--muted-ink);
  line-height: 1.5;
}

.dog-card__bridge {
  color: var(--ink);
}

.dog-card__scene {
  margin: 14px 0 0;
}
.dog-card__scene img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.dog-card__scene figcaption {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--muted-ink);
  line-height: 1.4;
}

/* Showstopper infographic banner above the spec table */
.infographic {
  margin: 0 0 28px;
}
.infographic a {
  display: block;
  border-radius: 14px;
}
.infographic img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.infographic a:hover img {
  box-shadow: var(--shadow-md);
}
.infographic figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--muted-ink);
  line-height: 1.45;
}

/* Lightbox for the infographic */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(22, 33, 31, 0.88);
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 96vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
  cursor: default;
}
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.infographic a { cursor: zoom-in; }

/* Product shortlist cards */
.subhead {
  margin: 8px 0 18px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
}

/* Visually-hidden, screen-reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Proper sub-section heading (spec table) */
.table-title {
  margin: 40px 0 18px;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 0;
  margin: 0 0 32px;
  list-style: none;
}

@media (min-width: 560px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.product-card .ph-media {
  border-radius: 0;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px 20px;
}

.product-card__type {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--sky);
}

.product-card h3 {
  font-size: 1.0625rem;
}

.product-card__img {
  aspect-ratio: 4 / 3;
  background-color: #fff;
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 14px;
}

.product-card__img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.product-card__price {
  margin-top: auto;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
}

.product-card__buy {
  width: 100%;
  margin-top: 8px;
}

.product-card__take {
  margin-top: 4px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink);
}
.product-card__take strong { color: var(--moss-dark); }

.product-card__tests {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted-ink);
}
.product-card__tests strong { color: var(--ink); }

.product-card__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  margin: 0;
  font-size: 0.875rem;
}

.product-card__meta dt {
  color: var(--muted-ink);
  font-weight: 600;
}

.product-card__meta dd {
  margin: 0;
  color: var(--ink);
}

.product-card .label-pill {
  align-self: flex-start;
  margin-top: auto;
}

.product-card--caution {
  border-left: 4px solid var(--berry);
}

/* Method setup figure */
.method__figure {
  margin: 0 0 28px;
}

.method__figure figcaption {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--muted-ink);
  line-height: 1.4;
}

/* Prose pages (about, contact, privacy, cookies), bare h2/p/links need rhythm */
.prose > h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.6rem;
}

.prose > p,
.prose > ul {
  margin-bottom: 1.1rem;
}

.prose > p:last-child,
.prose > ul:last-child {
  margin-bottom: 0;
}

.prose a {
  color: var(--moss);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color var(--transition-fast);
}

.prose a:hover {
  color: var(--moss-dark);
}

/* Measurement kit cards */
.kit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (min-width: 600px) { .kit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .kit-grid { grid-template-columns: repeat(3, 1fr); } }

.kit-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.kit-card .ph-media { border-radius: 0; }

.kit-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background-color: #fff;
  border-bottom: 1px solid var(--line);
  padding: 14px;
}
.kit-card__media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.kit-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
}

.kit-card__measures {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sky);
}

.kit-card h3 { font-size: 1.05rem; }
.kit-card h3 span { font-weight: 500; font-size: 0.9rem; color: var(--muted-ink); }

.kit-card__body > p:not(.kit-card__measures) {
  font-size: 0.9rem;
  color: var(--muted-ink);
  line-height: 1.45;
}

.kit-card__buy {
  margin-top: auto;
  align-self: flex-start;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--moss);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.kit-card__buy:hover { color: var(--moss-dark); }

/* Mobile: single-column horizontal dog cards (cleaner small-screen UX) */
@media (max-width: 559px) {
  .dog-panel { grid-template-columns: 1fr; gap: 12px; }

  .dog-card__summary {
    display: grid;
    grid-template-columns: 108px 1fr;
    grid-template-areas:
      "img band"
      "img name"
      "img breed"
      "img more";
    column-gap: 14px;
    align-content: center;
  }

  .dog-card__summary > picture { grid-area: img; align-self: stretch; }
  .dog-card .ph-img { width: 108px; height: 100%; aspect-ratio: auto; object-fit: cover; }

  .dog-card__band  { grid-area: band;  margin-top: 12px; padding: 0 14px 0 0; }
  .dog-card__name  { grid-area: name;  padding: 0 14px 0 0; }
  .dog-card__breed { grid-area: breed; padding: 0 14px 0 0; }
  .dog-card__teaser { display: none; }
  .dog-card__more  { grid-area: more;  margin-top: 8px; padding: 0 14px 12px 0; }
}

/* Focus and contrast adjustments for accessibility */
@media (prefers-contrast: more) {
  :root {
    --muted-ink: #2f3836;
    --line: #b2aaa0;
    --sky: #245061;
  }
  .fit-grid article, .method-steps li {
    border-width: 2px;
  }
}

/* Animation control for user preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .fit-grid article, .button, .brand-mark {
    transition: none !important;
    transform: none !important;
  }
}


/* Dog-paw cue on the expand toggle + nervous-dog section */
.cmp-toggle__paw {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: var(--moss);
}
.cmp-strip .cmp-toggle { gap: 9px; }
.cmp-strip .cmp-toggle:hover .cmp-toggle__paw { fill: var(--moss-dark); }
.cmp-toggle__label { min-width: 0; }

.noise-method {
  max-width: 75ch;
  margin-bottom: 30px;
}
.noise-method h3 { margin-bottom: 6px; }
.noise-method > p {
  color: var(--muted-ink);
  margin-top: 10px;
}
.noise-method ol {
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--muted-ink);
}
.noise-method ol li {
  margin: 9px 0;
  line-height: 1.5;
  padding-left: 4px;
}
.noise-disclosure {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--muted-ink);
}

/* Fix: a polish rule set .cmp-detail to display:block, which beat [hidden].
   Make the collapsed (hidden) state win so the toggle works again. */
#compare-table tbody > .cmp-detail[hidden],
.cmp-detail[hidden] { display: none !important; }

/* Structured Best-for cell: coat x size x breeds */
.cmp-bestfor span {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 400;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--muted-ink);
  margin: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.cmp-bestfor b {
  color: var(--ink);
  flex: 0 0 auto;
  font-weight: 700;
}

/* Hero journey diagram (between hero and the dog section) */
.journey { margin: 8px 0 0; }
.journey a { display: block; border-radius: 14px; cursor: zoom-in; }
.journey img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-fast);
}
.journey a:hover img { box-shadow: var(--shadow-md); }

/* Embed / share widget for the infographics */
.embed { margin: 12px 0 0; }
.embed__summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--moss);
  list-style: none;
}
.embed__summary::-webkit-details-marker { display: none; }
.embed__summary::before { content: "\1f517"; }
.embed[open] .embed__summary { margin-bottom: 10px; }
.embed__body { max-width: 660px; }
.embed__note { font-size: 0.8rem; color: var(--muted-ink); margin-bottom: 6px; }
.embed__code {
  width: 100%;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  line-height: 1.45;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  resize: vertical;
}
.embed__actions { margin-top: 8px; display: flex; align-items: center; gap: 10px; }
.embed__done { font-size: 0.8rem; font-weight: 700; color: var(--moss); }

/* What owners gripe about (honest cons, breed + buy bridged) */
.cmp-gripe {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--berry-light);
  border-left: 3px solid var(--berry);
  padding: 9px 12px;
  border-radius: 0 6px 6px 0;
  margin: 0;
}

/* "How I grade" suitability legend (illustrated dog chips) */
.grade-legend { margin: 0 0 32px; }
.grade-legend__title { margin-bottom: 4px; }
.grade-legend__intro { color: var(--muted-ink); font-size: 0.95rem; margin-bottom: 16px; max-width: 70ch; }
.grade-legend__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(98px, 1fr)); gap: 14px; max-width: 920px; }
.dchip-link { display: block; text-decoration: none; }
.dchip { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.dchip img { width: 100%; height: auto; aspect-ratio: 13/12; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast); }
.dchip-link:hover .dchip img, .dchip-link:focus-visible .dchip img { border-color: var(--moss); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.dchip figcaption { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted-ink); transition: color var(--transition-fast); }
.dchip-link:hover .dchip figcaption { color: var(--moss); }
/* land jumps below the sticky header */
.fit-grid > article[id^="fit-"] { scroll-margin-top: 90px; }

/* Personal spend / investment collapsible */
.spend { margin: 0 0 24px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); overflow: hidden; }
.spend__summary { cursor: pointer; list-style: none; padding: 14px 18px; font-weight: 800; color: var(--moss-dark); background: var(--sky-light); }
.spend__summary::-webkit-details-marker { display: none; }
.spend__summary::after { content: " \25be"; float: right; color: var(--sky); }
.spend[open] .spend__summary::after { content: " \25b4"; }
.spend__body { display: grid; gap: 18px; padding: clamp(20px, 3vw, 28px); }
.spend__body > p { max-width: 78ch; font-size: 0.96rem; color: var(--muted-ink); line-height: 1.68; margin: 0; }
.spend__bar { display: flex; height: 18px; border-radius: 8px; overflow: hidden; margin: 2px 0 0; }
.spend__seg--dry { background: var(--moss); }
.spend__seg--kit { background: var(--sky); }
.spend__seg--cal { background: var(--amber); }
.spend__list { list-style: none; margin: 0; padding: 0; max-width: 560px; }
.spend__list li { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; line-height: 1.35; }
.spend__k { color: var(--muted-ink); }
.spend__v { font-weight: 700; color: var(--ink); }
.spend__total { border-bottom: none; border-top: 2px solid var(--line); margin-top: 4px; padding-top: 12px; }
.spend__total .spend__k, .spend__total .spend__v { font-weight: 800; color: var(--ink); }
.spend__use { max-width: 82ch; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--muted-ink); line-height: 1.65; margin: 2px 0 0; }

/* Per-dryer suitability icons (the legend icons, reused on each dryer) */
.cmp-fit { display: flex; align-items: center; gap: 5px; margin-top: 4px; flex-wrap: wrap; }
.cmp-fit__lab { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted-ink); margin-right: 2px; }
.cmp-fit__i { width: 32px; height: 28px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 7px; }

/* Coat-fit cards: scene illustration + commercialization CTA */
.fit-grid > article { display: flex; flex-direction: column; }
.fit-img { margin: 0 0 14px; }
.fit-img img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); display: block; }
.fit-cta { margin-top: auto; padding-top: 14px; }
.fit-cta a { font-weight: 800; color: var(--moss); text-decoration: none; }
.fit-cta a:hover { color: var(--moss-dark); text-decoration: underline; }
#compare-table tbody > tr[id^="det-"] { scroll-margin-top: 90px; }

/* Dryer-type cards: scene illustration */
.type-card { display: flex; flex-direction: column; }
.type-img { margin: 0 0 14px; }
.type-img img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); display: block; }

/* Buy CTA at the end of each verdict */
.cmp-detail__cta { margin: 16px 0 0; }
.cmp-detail__cta .button { width: 100%; max-width: 340px; }

/* Drying-time planner */
.dtcalc { margin: 28px 0 0; padding: 22px var(--gutter); border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--sky-light); }
.dtcalc__title { margin-bottom: 6px; }
.dtcalc__lead { color: var(--muted-ink); font-size: 0.95rem; max-width: 70ch; margin-bottom: 18px; }
.dtcalc__inputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.dtcalc__field { display: flex; flex-direction: column; gap: 6px; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted-ink); }
.dtcalc__field select { font: inherit; font-weight: 500; text-transform: none; letter-spacing: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.dtcalc__out { margin: 20px 0 6px; }
.dtcalc__num { font-size: 2.6rem; font-weight: 800; color: var(--moss-dark); line-height: 1; }
.dtcalc__unit { font-size: 1.05rem; color: var(--ink); }
.dtcalc__note { font-size: 0.85rem; color: var(--muted-ink); line-height: 1.5; max-width: 75ch; margin: 0; }

/* Measured first-party readout strip (in dryer panels) */
.cmp-measured { margin: 4px 0 18px; padding: 16px 18px; border: 1px solid var(--line); border-left: 4px solid var(--moss-dark); border-radius: 10px; background: linear-gradient(180deg, #fbf6ec, #fff); }
.cmp-measured__head { margin: 0 0 12px; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--moss-dark); }
.cmp-measured__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; }
.cmp-measured__grid li { display: flex; flex-direction: column; gap: 3px; }
.cmp-measured__grid b { font-size: 1.85rem; font-weight: 800; line-height: 1; color: var(--ink); display: flex; align-items: baseline; gap: 3px; }
.cmp-measured__grid b small { font-size: 0.78rem; font-weight: 700; color: var(--muted-ink); }
.cmp-measured__react { font-size: 1.45rem !important; }
.cmp-measured__grid span { font-size: 0.82rem; color: var(--muted-ink); line-height: 1.35; }
.cmp-measured--pending { border-left-color: var(--line); }
.cmp-measured__note { margin: 0; font-size: 0.88rem; color: var(--muted-ink); line-height: 1.5; }

/* Planner: image-driven inputs + matched-dryer result */
.dtcalc__flab { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted-ink); }
.dtcalc__dog { margin-top: 8px; display: inline-flex; }
.dtcalc__dog img { width: 64px; height: 56px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 3px; }
.dt-tiles { display: flex; gap: 8px; margin-top: 2px; }
.dt-tile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 6px 7px; background: #fff; border: 2px solid var(--line); border-radius: 10px; cursor: pointer; font: inherit; color: var(--muted-ink); transition: border-color .12s, color .12s; }
.dt-tile img { width: 48px; height: 48px; object-fit: cover; border-radius: 7px; display: block; }
.dt-tile span { font-size: 0.74rem; font-weight: 700; }
.dt-tile.is-on { border-color: var(--moss-dark); color: var(--ink); }
.dtcalc__match { display: flex; align-items: center; gap: 14px; margin: 4px 0 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; color: var(--ink); transition: border-color .12s, box-shadow .12s; }
.dtcalc__match:hover { border-color: var(--moss-dark); box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.dtcalc__match-thumb { flex: 0 0 auto; display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid var(--line); border-radius: 9px; background: #fff; padding: 5px; }
.dtcalc__match-thumb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.dtcalc__match-txt { font-size: 0.98rem; line-height: 1.35; }
.dtcalc__match-txt b { font-weight: 800; }
.dtcalc__match-txt small { display: block; margin-top: 2px; font-size: 0.8rem; font-weight: 700; color: var(--moss-dark); }

/* Sticky table of contents (jump bar under the header) */
.toc {
  position: sticky;
  top: var(--header-h);
  z-index: 99;
  background: rgba(253, 252, 249, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.toc__list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 9px var(--gutter);
  max-width: var(--max-width);
  margin-inline: auto;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.toc__list::after {
  content: "";
  flex: 0 0 max(16px, env(safe-area-inset-right, 0px));
}
.toc__list::-webkit-scrollbar { display: none; }
.toc__list li { flex: 0 0 auto; }
.toc__list a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 6px 13px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted-ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  transition: color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
}
.toc__list a:hover,
.toc__list a:focus-visible {
  color: var(--moss-dark);
  border-color: var(--moss-dark);
  background: var(--sky-light);
}
/* Anchored sections clear the sticky header + TOC */
main section[id],
#planner { scroll-margin-top: calc(var(--header-h) + 60px); }

@media (min-width: 860px) and (max-width: 1180px) {
  .toc__list {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    row-gap: 8px;
    padding-inline: var(--gutter);
  }

  .toc__list::after { display: none; }

  .toc__list a { padding-inline: 11px; }

  main section[id],
  #planner { scroll-margin-top: calc(var(--header-h) + 112px); }
}

@media (max-width: 859px) {
  /* header is relative on mobile, so the TOC docks to the very top */
  .toc { top: 0; }
  .toc__list {
    gap: 5px;
    padding-block: 8px;
    padding-inline-end: max(28px, var(--gutter));
  }

  .toc__list a { padding-inline: 11px; }

  main section[id],
  #planner { scroll-margin-top: 72px; }
}

/* Inline "jump to noise" cue */
.noise-jump {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--sky);
  text-decoration: none;
}
.noise-jump:hover { color: var(--moss-dark); }
.noise-jump::after { content: "\2192"; }

/* Recommend zone: evidence ladder + disqualifier */
.evidence-ladder { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.evidence-ladder li { display: flex; gap: 12px; padding: 16px 16px 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--sky-light); }
.evidence-ladder__n { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--moss-dark); color: #fff; font-weight: 800; font-size: 0.95rem; }
.evidence-ladder b { display: block; margin-bottom: 4px; color: var(--ink); }
.evidence-ladder p { margin: 0; font-size: 0.92rem; color: var(--muted-ink); line-height: 1.45; }
.disqualifier { margin: 22px 0 0; padding: 14px 18px; border: 1px solid var(--berry); border-left: 4px solid var(--berry); border-radius: 10px; background: var(--berry-light); font-size: 0.95rem; line-height: 1.55; color: var(--ink); }
@media (max-width: 720px) { .evidence-ladder { grid-template-columns: 1fr; } }

/* CTA strip: lead line + action row */
.cta-strip p { max-width: 60ch; margin: 0 auto 22px; color: rgba(255, 255, 255, 0.88); font-size: 1.02rem; line-height: 1.55; }
.cta-strip__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-strip .button--secondary { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.cta-strip .button--secondary:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* Spec decoder: trust/ignore verdict chips */
.spec-verdict { display: inline-block; margin-bottom: 9px; padding: 3px 11px; border-radius: 999px; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; }
.spec-verdict--trust { background: var(--moss-dark); color: #fff; }
.spec-verdict--ignore { background: var(--berry-light); color: var(--berry); border: 1px solid var(--berry); }
.spec-verdict--care { background: var(--amber-light); color: var(--amber); border: 1px solid var(--amber); }
