@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

:root {
  --primary: #4A5744;
  --primary-hover: #6B7A64;
  --bg-light: #f8fafc;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --border-color: #e2e8f0;

  /* Type scale (1rem = 16px base) */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-h3: 1.375rem;
  --fs-h2: 1.75rem;
  --fs-h1: 2.25rem;

  /* Line heights */
  --lh-tight: 1.2;
  --lh-heading: 1.25;
  --lh-body: 1.6;
  --lh-snug: 1.45;

  /* Spacing scale (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
}

img {
  max-width: 100%;
  display: block;
}

/* Typography scale */
h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--primary);
  margin-bottom: var(--space-6);
}

h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-heading);
  margin-bottom: var(--space-4);
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: var(--lh-heading);
  margin-bottom: var(--space-3);
}

h4 {
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: var(--lh-heading);
  margin-bottom: var(--space-2);
}

p {
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  margin-bottom: var(--space-3);
}

/* .eyebrow is shared across pages as a small overline label (p.eyebrow on
   services.html / thank-you.html) but repurposed as the h1 on index.html
   (see decisions.md). Split by element so the label instances keep their
   original small treatment while h1.eyebrow gets the new display scale. */
p.eyebrow {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.75rem;
  font-size: 1.64rem;
}

h1.eyebrow {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-6);
}

/* Navigation */
header.site-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  padding: 1.1rem 2.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 1px 12px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 700;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle:hover {
  background-color: var(--bg-light);
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

nav[aria-label="Primary navigation"] {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 1.75rem;
  align-items: center;
  flex-wrap: wrap;
}

html:not(.tw-shell) nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.2s ease;
}

html:not(.tw-shell) nav a:hover {
  color: var(--primary);
}

.nav-cta {
  order: 2;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--primary);
  color: #ffffff;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(27, 67, 50, 0.18);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(27, 67, 50, 0.24);
}

.nav-cta .icon-arrow-right {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.nav-cta:hover .icon-arrow-right {
  transform: translateX(3px);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* Layout Containers */
/* :not(.tw-shell) guard: the Tailwind-driven pages (index, /zone-0/, /materials/,
   /faq/) opt out of this legacy unscoped <main> layout by setting tw-shell on
   <html> — they manage their own full-bleed sections. Everything else keeps
   the original unscoped behavior untouched. */
html:not(.tw-shell) main {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

main > section {
  padding-block: var(--space-12);
}

.hero-overlay {
  position: relative;
  min-height: 70vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  border-radius: 16px;
  margin: 1rem auto 3rem auto;
  max-width: 1140px;
}

.hero-overlay-content {
  max-width: 800px;
  z-index: 2;
}

.hero-overlay h1 {
  color: #ffffff !important;
  font-size: clamp(2.2rem, 4vw + 1rem, 3.4rem);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  margin-bottom: 1rem;
}

.hero-overlay .hero-lead {
  color: #f0f4f1 !important;
  font-size: 1.25rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  margin-bottom: 2rem;
}

.hero-overlay .hero-badge {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin: 0.25rem;
}

.hero {
  --hero-bg: #f8f5ef;
  --hero-green: #234635;
  --hero-sandstone: #d8ccb6;
  --hero-charcoal: #2b2a26;

  text-align: center;
  padding-inline: 1rem;
  background: var(--hero-bg);
  border-radius: 24px;
  border: 1px solid var(--hero-sandstone);
  box-shadow: 0 20px 40px rgba(35, 70, 53, 0.08);
  animation: hero-fade-in 0.6s ease both;
}

@keyframes hero-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  color: var(--hero-charcoal);
  font-size: clamp(2.25rem, 1.7rem + 3vw, 4rem);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.hero-lead,
.lead-text,
.content-block p,
.card p,
.faq-item p,
.link-card p,
html:not(.tw-shell) .form-container p,
.trust-item span {
  color: var(--text-muted);
}

.hero-lead,
.lead-text {
  font-size: var(--fs-lg);
  line-height: var(--lh-body);
}

.hero .hero-lead {
  max-width: 700px;
  margin: 0 auto var(--space-8);
  font-size: 1.25rem;
  color: var(--hero-charcoal);
  opacity: 0.85;
}

.hero-actions,
.form-group,
.card-grid-4,
.gallery-preview-grid,
.link-list,
.trust-strip {
  display: grid;
  gap: var(--space-4);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(216, 204, 182, 0.4);
  color: var(--hero-green);
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hero-badge:hover {
  transform: translateY(-2px) scale(1.03);
  background-color: rgba(216, 204, 182, 0.65);
  box-shadow: 0 10px 20px rgba(35, 70, 53, 0.12);
}

.hero-badge svg {
  width: 18px;
  height: 18px;
  color: var(--hero-green);
  flex-shrink: 0;
}

.hero-badge svg,
.hero-badges svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  flex-shrink: 0;
}

.hero-actions {
  grid-template-columns: repeat(auto-fit, minmax(200px, max-content));
  justify-content: center;
  margin-bottom: var(--space-12);
}

.hero .btn-primary {
  background-color: var(--hero-green);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(35, 70, 53, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hero .btn-primary:hover {
  background-color: #1a3327;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(35, 70, 53, 0.28);
}

.hero .btn-secondary {
  background-color: rgba(216, 204, 182, 0.3);
  color: var(--hero-green);
  border: 1.5px solid var(--hero-green);
  padding: calc(0.8rem - 1.5px) calc(1.2rem - 1.5px);
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero .btn-secondary:hover {
  background-color: rgba(216, 204, 182, 0.55);
  color: var(--hero-green);
  transform: translateY(-2px);
}

.hero-before-after {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 0;
  margin-bottom: 0;
}

.hero-before-after figure {
  margin: 0;
}

.hero-before-after img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.image-frame {
  position: relative;
}

.image-badge {
  position: absolute;
  left: var(--space-3);
  right: var(--space-3);
  bottom: var(--space-3);
  background: rgba(15, 23, 42, 0.72);
  color: #ffffff;
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: var(--lh-snug);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  text-align: center;
}

.image-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-muted);
  padding: 0.8rem 0.6rem;
  font-weight: 500;
}

.btn-secondary:hover {
  color: var(--primary);
  background-color: transparent;
}

.trust-strip {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.trust-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
  text-align: left;
}

.metric-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: var(--space-4);
}

.metric-value {
  display: block;
  color: var(--primary);
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: var(--lh-heading);
  margin-bottom: var(--space-2);
}

.metric-card p {
  margin-bottom: 0;
}

.status-banner .banner-content,
html:not(.tw-shell) .form-container,
.faq-item,
.link-card,
.card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: var(--space-6);
}

html:not(.tw-shell) .form-container {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.form-reassurance {
  margin-top: var(--space-3);
  margin-bottom: 0;
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
}

.content-block,
.services-overview {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding-inline: var(--space-6);
}

.status-banner .banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.badge,
.price-tag {
  display: inline-block;
  background: #e8f1eb;
  color: var(--primary);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card h3,
.content-block h2,
.services-overview h2,
html:not(.tw-shell) .form-container h2,
.faq-section h2 {
  color: var(--primary);
}

.card a,
.link-card {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.gallery-preview-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 1rem 0;
  text-align: left;
}

.gallery-placeholder {
  aspect-ratio: 3 / 2;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  background: repeating-linear-gradient(
    135deg,
    var(--border-color),
    var(--border-color) 10px,
    #ffffff 10px,
    #ffffff 20px
  );
  border: 1px dashed var(--border-color);
}

.gallery-card img {
  border-radius: 10px;
  margin-bottom: 0.75rem;
}

html:not(.tw-shell) button[type="submit"] {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0.85rem;
  font-size: var(--fs-base);
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

html:not(.tw-shell) button[type="submit"]:hover {
  background-color: var(--primary-hover);
}

.link-list {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.link-card {
  display: block;
}

.faq-item + .faq-item {
  margin-top: 1rem;
}

/* Footer */
footer.site-footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
  border-top: 1px solid var(--border-color);
  margin-top: 4rem;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  text-align: left;
}

.footer-col h4 {
  color: var(--text-dark);
}

.footer-col ul {
  list-style: none;
}

.footer-col li + li {
  margin-top: 0.45rem;
}

.footer-col a,
.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-col a:hover,
.footer-bottom a:hover {
  color: var(--primary);
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  :root {
    --fs-h1: 1.75rem;
    --fs-h2: 1.5rem;
  }

  main > section {
    padding-block: var(--space-8);
  }

  .hero .hero-lead {
    margin-bottom: var(--space-6);
  }

  .hero-badges {
    margin-bottom: var(--space-6);
  }

  .hero-actions {
    margin-bottom: var(--space-8);
  }

  header.site-header {
    position: relative;
  }

  .nav-toggle {
    display: flex;
  }

  nav[aria-label="Primary navigation"] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.18);
    padding: 1rem 1.25rem 1.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease;
  }

  nav[aria-label="Primary navigation"].is-open {
    max-height: 480px;
    opacity: 1;
  }

  nav a {
    padding: 0.85rem 0.5rem;
    font-size: 1.05rem;
    border-radius: 8px;
  }

  nav a:hover {
    background-color: var(--bg-light);
  }

  .nav-cta {
    order: 0;
    margin: 0 0 0.5rem;
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  main {
    padding: 0 1rem;
  }

  .hero {
    padding-inline: 0.75rem;
  }

  .hero-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-badge {
    min-width: 0;
    justify-content: center;
    text-align: center;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    animation: none;
  }

  .hero-badge,
  .hero .btn-primary,
  .hero .btn-secondary,
  .nav-cta,
  .btn {
    transition: none;
  }

  .hero-badge:hover,
  .hero .btn-primary:hover,
  .hero .btn-secondary:hover {
    transform: none;
  }
}

@media (min-width: 600px) and (max-width: 960px) {
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Zone 0 Guide — Shared Component System
   Used by index.html, /zone-0/, /materials/, /faq/ (linked as /css/styles.css
   alongside Tailwind CDN utilities). Semantic tokens below intentionally
   mirror the Tailwind config's sage/terracotta/stone palette so components
   built here match components built with Tailwind utility classes.
   ========================================================================== */
:root {
  --z0-sage: #6B7A64;
  --z0-sage-dark: #4A5744;
  --z0-sage-light: #8A9A83;
  --z0-terracotta: #E06D53;
  --z0-stone-900: #1A1A1A;
  --z0-stone-600: #57534e;
  --z0-stone-200: #E8E8E3;
}

.center-text {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem;
}

/* ==========================================================================
   DUAL-PILLAR & MATERIALS MATRIX STYLES
   ========================================================================== */

/* Dual-Pillar Feature Section */
.two-pillar-section {
  margin-bottom: 3.5rem;
}

.two-pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  border-radius: var(--radius-md, 12px);
  background-color: var(--bg-card, #ffffff);
  border: 1px solid var(--border, #e2ded4);
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.04));
  text-align: left;
}

.pillar-card h2 {
  font-size: 1.35rem;
  color: var(--primary-dark, #1e332a);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.pillar-card p {
  flex-grow: 1;
  font-size: 0.975rem;
  color: var(--text-muted, #5a6660);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.pillar-card .btn {
  align-self: flex-start;
  font-size: 0.9rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm, 6px);
  font-weight: 600;
  display: inline-block;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary, #2d4a3f);
  color: #ffffff !important;
}

.btn-primary:hover {
  background-color: var(--primary-dark, #1e332a);
}

.btn-secondary {
  background-color: var(--bg-warm, #f8f6f0);
  color: var(--primary-dark, #1e332a) !important;
  border: 1px solid var(--border, #e2ded4);
}

.btn-secondary:hover {
  border-color: var(--primary, #2d4a3f);
  color: var(--primary, #2d4a3f) !important;
}

/* Materials Matrix (#matrix) */
#matrix {
  margin-bottom: 3.5rem;
}

.matrix-disclaimer {
  max-width: 820px;
  margin: 0 auto 2rem auto;
  font-size: 0.875rem;
  color: var(--text-muted, #5a6660);
  font-style: italic;
  line-height: 1.5;
}

.materials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.comparison-card {
  border-radius: var(--radius-md, 12px);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.04));
  border: 1px solid var(--border, #e2ded4);
  text-align: left;
}

.allowed-card {
  background-color: #f0f5f2;
  border-color: #c3d6cb;
}

.avoid-card {
  background-color: #fdf6f0;
  border-color: #f2d2c8;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.allowed-header h3 {
  color: var(--primary-dark, #1e332a);
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

.avoid-header h3 {
  color: #b84a28;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

.status-icon {
  font-size: 1.2rem;
}

.comparison-list {
  list-style: disc;
  padding-left: 1.25rem;
}

.comparison-list li {
  margin-bottom: 0.75rem;
  font-size: 0.925rem;
  color: var(--text-main, #222b27);
  line-height: 1.5;
}

/* Responsive Behavior (<768px) */
@media (max-width: 768px) {
  .two-pillar-grid,
  .materials-grid {
    grid-template-columns: 1fr;
  }
}

/* -- Interactive Compliance Checklist -------------------------------------- */
.compliance-checklist {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: var(--space-6);
}

.compliance-progress-track {
  width: 100%;
  height: 8px;
  background: var(--z0-stone-200);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: var(--space-6);
}

.compliance-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--z0-sage);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.compliance-check-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
}

.compliance-check-item:last-child {
  border-bottom: 0;
}

.compliance-check-item input[type="checkbox"] {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  accent-color: var(--z0-sage);
  cursor: pointer;
}

.compliance-check-item .compliance-item-title {
  font-weight: 700;
  color: var(--z0-stone-900);
  display: block;
  margin-bottom: 0.2rem;
  transition: color 0.2s ease;
}

.compliance-check-item .compliance-item-detail {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 0;
}

.compliance-check-item.is-checked .compliance-item-title {
  color: var(--z0-sage-dark);
  text-decoration: line-through;
  text-decoration-color: var(--z0-sage);
}

.compliance-status-banner {
  margin-top: var(--space-6);
  padding: var(--space-4);
  border-radius: 10px;
  background: rgba(107, 122, 100, 0.1);
  color: var(--z0-sage-dark);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-align: center;
}

/* -- Zone 0 Science / AB 3074 Callouts -------------------------------------- */
.science-callout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

.science-callout {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--z0-sage);
  border-radius: 8px;
  padding: var(--space-4);
}

.science-callout h4 {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--z0-sage-dark);
  margin-bottom: var(--space-2);
}

.science-callout p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 0;
}

.mandate-banner {
  background: var(--z0-stone-900);
  color: #ffffff;
  border-radius: 12px;
  padding: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  justify-content: space-between;
}

.mandate-banner .mandate-stat {
  font-family: inherit;
  font-size: 2rem;
  font-weight: 700;
  color: var(--z0-sage-light);
}

/* -- Photo Check Hazard Report (rendered inside the shared #photo-check modal) -- */
.hazard-report {
  display: none;
}

.hazard-report.is-visible {
  display: block;
}

.hazard-finding {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-color);
  font-size: var(--fs-sm);
}

.hazard-finding:last-child {
  border-bottom: 0;
}

.hazard-finding-icon {
  flex-shrink: 0;
}

.hazard-finding.severity-high .hazard-finding-icon { color: var(--z0-terracotta); }
.hazard-finding.severity-ok .hazard-finding-icon { color: var(--z0-sage); }
