/* ===== Interior landing pages (locations, products, about) ===== */
/* Built entirely on existing design tokens so light/dark theming is inherited. */

/* Breadcrumb */
.breadcrumb {
  padding-top: var(--space-8);
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: var(--space-2); max-width: none; }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb li[aria-current] { color: var(--color-text); }
.breadcrumb .sep { color: var(--color-text-faint); }

/* Page hero (interior) */
.page-hero {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20)) clamp(var(--space-10), 5vw, var(--space-16));
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-divider);
}
.page-hero .eyebrow { margin-bottom: var(--space-4); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--color-text);
  max-width: 20ch;
}
.page-hero .page-lede {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--color-text-muted);
  margin-top: var(--space-6);
  max-width: 60ch;
}
.page-hero .hero-actions { margin-top: var(--space-8); }

/* Generic content section on interior pages */
.page-section { padding-block: clamp(var(--space-16), 8vw, var(--space-24)); }
.page-section.alt { background: var(--color-surface); border-block: 1px solid var(--color-divider); }

.prose { max-width: 70ch; }
.prose > * + * { margin-top: var(--space-5); }
.prose h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-text);
  margin-top: var(--space-10);
  letter-spacing: -0.01em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  margin-top: var(--space-8);
}
.prose p { color: var(--color-text-muted); font-size: var(--text-base); line-height: 1.75; }
.prose strong { color: var(--color-text); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.3em; color: var(--color-text-muted); }
.prose li { margin-top: var(--space-2); line-height: 1.7; }
.prose a {
  color: var(--color-primary);
  font-weight: 500;
  border-bottom: 1px solid color-mix(in oklab, var(--color-primary) 30%, transparent);
}
[data-theme='dark'] .prose a { color: var(--color-accent); }
.prose a:hover { border-bottom-color: currentColor; }

/* Two-column intro: copy + facts card */
.split-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: start;
}
@media (max-width: 880px) { .split-grid { grid-template-columns: 1fr; } }

/* Spec table (product dimensions) */
.spec-block { margin-top: clamp(var(--space-12), 6vw, var(--space-20)); }
.spec-block > .prose { margin-bottom: var(--space-6); }
.cant-spec-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--color-divider); border-radius: var(--radius-lg); background: var(--color-surface-2); }
.cant-spec-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); min-width: 560px; }
.cant-spec-table caption { text-align: left; padding: var(--space-4) var(--space-5); color: var(--color-text-muted); font-size: var(--text-sm); border-bottom: 1px solid var(--color-divider); }
.cant-spec-table th, .cant-spec-table td { padding: var(--space-3) var(--space-5); text-align: left; border-bottom: 1px solid var(--color-divider); }
.cant-spec-table thead th { color: var(--color-text); font-weight: 700; background: var(--color-surface-offset); white-space: nowrap; }
.cant-spec-table tbody th { color: var(--color-text); font-weight: 700; white-space: nowrap; }
.cant-spec-table td { color: var(--color-text-muted); white-space: nowrap; }
.cant-spec-table tbody tr:last-child th, .cant-spec-table tbody tr:last-child td { border-bottom: 0; }
.cant-spec-table tbody tr:hover th, .cant-spec-table tbody tr:hover td { background: var(--color-surface-offset); }
.spec-note { margin-top: var(--space-4); color: var(--color-text-muted); font-size: var(--text-sm); }

.fact-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 3vw, var(--space-8));
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}
@media (max-width: 880px) { .fact-card { position: static; } }
.fact-card h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  margin: 0 0 var(--space-5);
  color: var(--color-text);
}
.fact-list { list-style: none; display: flex; flex-direction: column; gap: var(--space-4); }
.fact-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-1);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-divider);
  max-width: none;
}
.fact-list li:last-child { border-bottom: none; padding-bottom: 0; }
.fact-list .fact-label {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 600;
}
.fact-list .fact-value { font-size: var(--text-base); color: var(--color-text); font-weight: 500; }
.fact-list .fact-value a {
  color: var(--color-primary);
  border-bottom: 1px solid color-mix(in oklab, var(--color-primary) 30%, transparent);
}
[data-theme='dark'] .fact-list .fact-value a { color: var(--color-accent); }
.fact-card .btn { margin-top: var(--space-6); width: 100%; justify-content: center; }

/* Feature chips / served-areas */
.chip-row { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); }
.chip {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: var(--color-surface-offset);
  border: 1px solid var(--color-divider);
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 500;
}

/* Three-up info cards */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}
@media (max-width: 880px) { .info-grid { grid-template-columns: 1fr; } }
.info-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 2.4vw, var(--space-8));
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.info-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  margin: 0;
}
.info-card p { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.65; margin: 0; }

/* FAQ */
.faq { max-width: 760px; }
.faq details {
  border-bottom: 1px solid var(--color-divider);
  padding: var(--space-5) 0;
}
.faq summary {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.4em;
  color: var(--color-accent);
  line-height: 1;
  transition: transform var(--transition-interactive);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--color-text-muted); margin-top: var(--space-3); line-height: 1.7; }

/* Related pages */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-10);
}
@media (max-width: 880px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-6);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), border-color var(--transition-interactive);
}
.related-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--color-text-muted); }
.related-card .related-kicker {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
}
.related-card .related-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
}
.related-card .related-arrow { margin-top: auto; color: var(--color-text-muted); font-size: var(--text-sm); display: inline-flex; align-items: center; gap: var(--space-2); }

/* CTA band */
.cta-band {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
[data-theme='dark'] .cta-band { background: var(--color-surface); color: var(--color-text); border-block: 1px solid var(--color-divider); }
.cta-band .container { text-align: center; }
.cta-band h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: inherit;
  margin: 0 auto;
  max-width: 22ch;
}
.cta-band p {
  margin: var(--space-5) auto 0;
  max-width: 52ch;
  color: color-mix(in oklab, currentColor 80%, transparent);
  font-size: var(--text-base);
}
.cta-band .hero-actions { justify-content: center; margin-top: var(--space-8); display: flex; flex-wrap: wrap; gap: var(--space-3); }
.cta-band .btn-primary { background: var(--color-accent); color: var(--color-text-inverse); }
[data-theme='dark'] .cta-band .btn-primary { color: var(--color-bg); }
.cta-band .btn-primary:hover { background: var(--color-accent-hover); }
.cta-band .btn-ghost { background: transparent; color: inherit; border-color: color-mix(in oklab, currentColor 35%, transparent); }
.cta-band .btn-ghost:hover { background: color-mix(in oklab, currentColor 12%, transparent); border-color: currentColor; }

/* ===== Expanded footer with link columns (interior pages) ===== */
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8);
  width: 100%;
  margin: 0;
}
.footer-col h3 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in oklab, currentColor 60%, transparent);
  margin: 0 0 var(--space-4);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.footer-col a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  font-size: var(--text-sm);
  line-height: 1.5;
  padding-block: var(--space-2);
  opacity: 0.85;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.footer-col a:hover { opacity: 1; color: var(--color-accent); }
@media (max-width: 720px) {
  .footer-links { grid-template-columns: 1fr; gap: var(--space-6); text-align: center; }
  .footer-col ul { align-items: center; }
}

/* ===== Hub page index grids ===== */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: var(--space-5);
  margin-top: var(--space-8);
}
.hub-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.hub-card:hover { border-color: var(--color-accent); transform: translateY(-2px); }
.hub-card .hub-kicker {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  font-weight: 700;
}
.hub-card .hub-title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; }
.hub-card .hub-desc { font-size: var(--text-sm); color: color-mix(in oklab, var(--color-text) 75%, transparent); }

/* Interior-page footer: brand + link columns + meta */
.site-footer:has(.footer-links) .footer-inner {
  grid-template-columns: 0.9fr 2.2fr 1fr;
  gap: var(--space-10);
  align-items: start;
}
@media (max-width: 900px) {
  .site-footer:has(.footer-links) .footer-inner { grid-template-columns: 1fr; gap: var(--space-8); text-align: center; }
  .site-footer:has(.footer-links) .footer-meta { text-align: center; align-items: center; }
}
