/* ==========================================================================
   Adroit Tile Co. — shared stylesheet
   ========================================================================== */

:root {
  --charcoal: #24211E;
  --charcoal-mid: #332E29;
  --clay: #C4552E;
  --clay-dark: #A2431F;
  --clay-light: #E08A5F; /* lighter terracotta for clay-colored TEXT on dark backgrounds (WCAG AA) */
  --slate: #5C6D66;
  --slate-dark: #445048;
  --stone: #F5F0E8;
  --white: #FFFFFF;
  --ink: #24211E;
  --body-text: #5B534B;
  --border: #E6DECF;
  --border-dark: rgba(255, 255, 255, 0.14);

  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1200px;
  --radius: 4px;
  --shadow: 0 14px 32px -10px rgba(36, 33, 30, 0.28);
  --transition: 0.15s ease;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --transition: 0s;
  }
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body-text);
  background: var(--stone);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* <picture> wrappers (WebP source + JPG fallback) must not affect layout. */
picture {
  display: contents;
}

a {
  color: var(--slate-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Text links inside running body copy carry a persistent underline so they're
   distinguishable without relying on color alone (WCAG 1.4.1). */
p a:not(.btn):not(.card-link) {
  text-decoration: underline;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.5em;
}

h3 {
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

button {
  font-family: inherit;
}

/* ---------- Focus states ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 64px 0;
}

.section--dark {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.82);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--mid h1,
.section--mid h2,
.section--mid h3 {
  color: var(--white);
}

.section--mid {
  background: var(--charcoal-mid);
  color: rgba(255, 255, 255, 0.82);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--clay-dark);
  font-size: 0.85rem;
  margin-bottom: 0.9em;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--clay);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.section--dark .eyebrow,
.section--mid .eyebrow {
  color: var(--clay-light);
}

.section-head h1,
.section-head h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
}

.section-head p {
  color: var(--body-text);
  font-size: 1.05rem;
}

.section--dark .section-head p,
.section--mid .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Buttons — tactile offset-shadow press ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1rem;
  padding: 0.85em 1.75em;
  border-radius: var(--radius);
  border: 2px solid var(--charcoal);
  background: var(--white);
  color: var(--charcoal);
  box-shadow: 4px 4px 0 var(--charcoal);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  text-decoration: none !important;
  white-space: nowrap;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--charcoal);
}

.btn:active {
  transform: translate(4px, 4px);
  box-shadow: none;
}

.btn-primary {
  background: var(--clay);
  border-color: var(--charcoal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--clay-dark);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: var(--white);
  box-shadow: 2px 2px 0 rgba(255, 255, 255, 0.35);
}

.btn-clay {
  background: var(--clay);
  border-color: var(--charcoal);
  color: var(--white);
}

.btn-clay:hover {
  background: var(--clay-dark);
}

.btn-block {
  width: 100%;
}

/* ---------- Phone link ---------- */
.phone-link {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--clay-light);
  font-size: 1.1rem;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.phone-link:hover {
  color: var(--white);
  text-decoration: none;
}

.phone-link svg {
  display: inline-block;
  vertical-align: -3px;
  margin-right: 6px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--charcoal);
  border-bottom: 3px solid var(--clay);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
  color: var(--white);
  font-family: var(--font-head);
  flex-shrink: 0;
}

.logo-mark {
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo strong {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.logo strong span {
  color: var(--clay-light);
}

.logo small {
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-body);
  font-weight: 500;
  margin-top: 3px;
}

.logo:hover {
  text-decoration: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 1.6rem 0.9rem;
  transition: color var(--transition);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--clay);
  text-decoration: none;
}

.nav-item {
  position: relative;
}

.nav-item > a::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  border: 5px solid transparent;
  border-top-color: currentColor;
  vertical-align: middle;
  opacity: 0.7;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  border-top: 3px solid var(--clay);
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  color: var(--ink);
  padding: 0.65rem 0.85rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: normal;
  border-radius: 3px;
}

.dropdown a::after {
  content: none;
}

.dropdown a:hover,
.dropdown a:focus-visible {
  background: var(--stone);
  color: var(--clay-dark);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  border-radius: 6px;
  width: 46px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle span {
  transform: translateY(-50%);
}

.nav-toggle::before {
  transform: translateY(calc(-50% - 8px));
}

.nav-toggle::after {
  transform: translateY(calc(-50% + 8px));
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(-45deg);
}

/* ---------- Hero — offset subway-tile course pattern ---------- */
.hero {
  position: relative;
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
  padding: 84px 0 96px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1.5px, transparent 1.5px);
  background-size: 96px 48px;
  background-position: 0 0, 0 0;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.15));
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.15));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1.5px, transparent 1.5px);
  background-size: 96px 48px;
  background-position: 48px 24px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.15));
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.15));
}

.hero .container {
  position: relative;
  z-index: 4;
}

/* Photo hero variant — real project photo behind a scrim, used on service pages */
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(100deg, rgba(36, 33, 30, 0.94) 0%, rgba(36, 33, 30, 0.86) 45%, rgba(36, 33, 30, 0.6) 100%);
}

.tile-cluster {
  position: absolute;
  top: 28px;
  right: 24px;
  z-index: 1;
  opacity: 0.9;
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--clay-light);
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.5em 1em;
  border-radius: 999px;
  margin-bottom: 1.5em;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  margin-bottom: 0.4em;
}

.hero h1 em {
  color: var(--clay);
  font-style: normal;
}

.hero-lede {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 58ch;
  margin-bottom: 2em;
  text-transform: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 2.5em;
}

.section-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding-top: 1.5em;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.92);
}

.trust-badge .chip {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: var(--clay);
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-badge .chip svg {
  transform: rotate(-45deg);
  width: 14px;
  height: 14px;
  color: var(--white);
}

/* ---------- Placeholder photo blocks ---------- */
.placeholder {
  border: 2px dashed rgba(36, 33, 30, 0.3);
  border-radius: var(--radius);
  background: repeating-linear-gradient(
    135deg,
    rgba(36, 33, 30, 0.04),
    rgba(36, 33, 30, 0.04) 10px,
    transparent 10px,
    transparent 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--body-text);
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.4px;
  padding: 1.5em;
  min-height: 220px;
}

.placeholder svg {
  display: block;
  margin: 0 auto 12px;
  color: rgba(36, 33, 30, 0.35);
}

.hero .placeholder {
  min-height: 360px;
  border-color: rgba(255, 255, 255, 0.28);
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.04) 10px,
    transparent 10px,
    transparent 20px
  );
  color: rgba(255, 255, 255, 0.65);
}

.hero .placeholder svg {
  color: rgba(255, 255, 255, 0.35);
}

/* ---------- Card grids ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  background: var(--clay);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 2;
  transition: width var(--transition), height var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.card:hover::before {
  width: 46px;
  height: 46px;
}

.card-photo {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4em;
}

.card-body p {
  flex: 1;
  font-size: 0.98rem;
  color: var(--body-text);
}

.card-link {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.4px;
  color: var(--clay-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.5em;
}

.card-link::after {
  content: "\2192";
  transition: transform var(--transition);
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.why-list {
  display: grid;
  gap: 26px;
}

.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-item .icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--clay);
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.28);
  margin-top: 4px;
}

.why-item .icon svg {
  transform: rotate(-45deg);
  color: var(--white);
  width: 20px;
  height: 20px;
}

.why-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25em;
}

.why-item p {
  font-size: 0.96rem;
  margin-bottom: 0;
}

/* ---------- Service areas ---------- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.area-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.area-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--clay);
}

.area-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  background: var(--slate);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 2;
  transition: width var(--transition), height var(--transition);
}

.area-card:hover::before {
  width: 40px;
  height: 40px;
}

.area-card-photo {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.area-card-body {
  padding: 22px 22px 26px;
}

.area-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.3em;
  color: var(--ink);
}

.area-card p {
  font-size: 0.92rem;
  margin-bottom: 0.9em;
  color: var(--body-text);
}

.area-note {
  text-align: center;
  max-width: 760px;
  margin: 40px auto 0;
  font-size: 0.95rem;
  color: var(--body-text);
}

.section--dark .area-note,
.section--mid .area-note {
  color: rgba(255, 255, 255, 0.72);
}

.section--dark .area-note a,
.section--mid .area-note a {
  color: var(--clay);
}

/* ---------- Contact / lead form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-list {
  display: grid;
  gap: 22px;
  margin-bottom: 1.5em;
}

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-list .chip {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--clay);
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-list .chip svg {
  transform: rotate(-45deg);
  color: var(--white);
  width: 16px;
  height: 16px;
}

.contact-list strong {
  display: block;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.contact-list a {
  color: rgba(255, 255, 255, 0.8);
}

.contact-list a:hover {
  color: var(--clay);
}

.lead-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.lead-form .field {
  margin-bottom: 18px;
}

.lead-form label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  color: var(--ink);
  margin-bottom: 0.5em;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 0.75em 0.9em;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--stone);
}

.lead-form textarea {
  resize: vertical;
  min-height: 90px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--body-text);
  margin-top: 12px;
  margin-bottom: 0;
}

/* ---------- FAQ (details/summary) ---------- */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--clay);
  border-radius: var(--radius);
  padding: 4px 24px;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  font-size: 1.02rem;
  color: var(--ink);
  padding: 18px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--clay);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding-bottom: 18px;
  margin: 0;
  font-size: 0.98rem;
  color: var(--body-text);
  text-transform: none;
}

/* ---------- Generic content sections (service/location pages) ---------- */
.content-block {
  max-width: 840px;
  margin: 0 auto;
}

.content-block h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 1.4em;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.2em;
}

.content-block li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.6em;
}

.content-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 8px;
  height: 8px;
  background: var(--clay);
  transform: rotate(45deg);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.two-col img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.breadcrumbs {
  background: var(--stone);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  font-size: 0.9rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--body-text);
}

.breadcrumbs a {
  color: var(--body-text);
  font-weight: 600;
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-bottom: 3px solid transparent;
  padding: 20px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-bottom-color: var(--clay);
  text-decoration: none;
}

.related-card h3 {
  font-size: 1.05rem;
  color: var(--clay-dark);
  margin-bottom: 0.3em;
}

.related-card p {
  font-size: 0.88rem;
  margin-bottom: 0;
  color: var(--body-text);
}

.page-hero {
  padding: 56px 0 68px;
}

.page-hero-inner {
  max-width: 700px;
}

.page-hero .hero-lede {
  margin-bottom: 1.5em;
}

/* ---------- Blog ---------- */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5em;
}

.content-block .post-meta {
  color: var(--body-text);
  margin-bottom: 1.5em;
  padding-bottom: 1.2em;
  border-bottom: 1px solid var(--border);
}

.content-block blockquote {
  margin: 1.5em 0;
  padding: 0.2em 1.4em;
  border-left: 3px solid var(--clay);
  background: var(--stone);
  font-style: italic;
  color: var(--ink);
}

.content-block h3 {
  font-size: 1.15rem;
  margin-top: 1.2em;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.materials-grid .material {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.materials-grid .placeholder {
  min-height: 120px;
  margin-bottom: 14px;
}

.material-photo {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 14px;
}

.materials-grid h3 {
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 0.35em;
}

.materials-grid p {
  font-size: 0.94rem;
  margin-bottom: 0;
  text-transform: none;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--clay);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
  overflow: hidden;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.3em;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5em;
}

.cta-band .btn {
  box-shadow: 4px 4px 0 var(--charcoal);
}

.cta-band .btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.62);
  padding: 72px 0 0;
  border-top: 3px solid var(--clay);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 34ch;
  text-transform: none;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.8px;
  margin-bottom: 1.1em;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.94rem;
}

.footer-col a:hover {
  color: var(--clay);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.94rem;
}

.footer-contact svg {
  color: var(--clay);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .main-nav,
  .header-cta .btn {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .header-cta {
    gap: 14px;
  }

  .site-header .container {
    min-height: 72px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--charcoal-mid);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }

  .main-nav a {
    padding: 14px 12px;
  }

  .nav-item > a::after {
    float: right;
    margin-top: 8px;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 16px;
    display: none;
  }

  .nav-item.is-open .dropdown {
    display: block;
  }

  .dropdown a {
    color: rgba(255, 255, 255, 0.75);
  }

  .dropdown a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--clay);
  }

  .why-grid,
  .contact-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .area-grid,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .materials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header .container {
    gap: 10px;
    min-height: 60px;
  }

  .logo small {
    display: none;
  }

  .logo strong {
    font-size: 1rem;
  }

  .logo-mark {
    width: 30px;
    height: 30px;
  }

  .header-cta {
    gap: 10px;
  }

  .phone-link {
    font-size: 0.82rem;
  }

  .nav-toggle {
    width: 38px;
    height: 34px;
  }

  .hero {
    padding: 24px 0 32px;
  }

  .tile-cluster {
    display: none;
  }

  .hero-eyebrow {
    margin-bottom: 1em;
    font-size: 0.7rem;
  }

  .hero h1 {
    font-size: 1.9rem;
    margin-bottom: 0.5em;
  }

  .hero-lede {
    font-size: 0.9rem;
    margin-bottom: 1.25em;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    margin-bottom: 1.5em;
  }

  .section-cta {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .section-cta .btn {
    flex: 1 1 0;
    padding: 0.75em 0.5em;
    font-size: 0.82rem;
    white-space: nowrap;
    box-shadow: 3px 3px 0 var(--charcoal);
  }

  .hero-actions .btn {
    flex: 1 1 0;
    padding: 0.75em 0.5em;
    font-size: 0.82rem;
    white-space: nowrap;
    box-shadow: 3px 3px 0 var(--charcoal);
  }

  .trust-badges {
    gap: 10px 20px;
    padding-top: 1em;
  }

  .trust-badge {
    font-size: 0.78rem;
  }

  .hero .placeholder {
    min-height: 200px;
  }

  .section {
    padding: 40px 0;
  }

  .section--tight {
    padding: 32px 0;
  }

  .cta-band {
    padding: 40px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head h2 {
    font-size: 1.4rem;
  }

  .section-head p {
    font-size: 0.95rem;
  }

  .eyebrow {
    font-size: 0.72rem;
    margin-bottom: 0.5em;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .area-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding: 4px 4px 14px;
    margin: 0 -4px;
  }

  .card-grid .card,
  .area-grid .area-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .area-card-body {
    padding: 18px 18px 20px;
  }

  .area-card-photo {
    height: 110px;
  }

  .area-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.25em;
  }

  .area-card p {
    font-size: 0.85rem;
    margin-bottom: 0.6em;
  }

  .card-photo {
    height: 90px;
  }

  .card-body {
    padding: 16px;
  }

  .card-body h3 {
    font-size: 1.05rem;
    margin-bottom: 0.25em;
  }

  .card-body p {
    font-size: 0.88rem;
  }

  .card-link {
    font-size: 0.82rem;
    margin-top: 0.25em;
  }

  .why-grid {
    gap: 24px;
  }

  .why-grid > div:first-child > p {
    font-size: 0.88rem;
  }

  .why-grid .hero-actions {
    margin-bottom: 0;
  }

  .why-grid .hero-actions .btn {
    font-size: 0.95rem;
  }

  .why-list {
    gap: 16px;
  }

  .why-item {
    gap: 14px;
  }

  .why-item .icon {
    width: 32px;
    height: 32px;
  }

  .why-item .icon svg {
    width: 16px;
    height: 16px;
  }

  .why-item h3 {
    font-size: 0.95rem;
    margin-bottom: 0.15em;
  }

  .why-item p {
    font-size: 0.85rem;
  }

  .materials-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 48px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 28px;
  }

  .footer-brand .logo {
    margin-bottom: 10px;
  }

  .footer-brand p {
    font-size: 0.85rem;
  }

  .footer-col h4 {
    font-size: 0.9rem;
    margin-bottom: 0.6em;
  }

  .footer-col ul {
    gap: 6px;
  }

  .footer-col a {
    font-size: 0.88rem;
  }

  .footer-contact li {
    margin-bottom: 6px;
    font-size: 0.88rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-bottom {
    padding: 16px 0;
    font-size: 0.78rem;
    flex-direction: column;
    text-align: center;
  }
}
