/*!
 * Component Library — Newcastle Tilers
 * Site: www.newcastletilers.com.au  |  Locked design system (bc-* = "brief components")
 * Concept: "Fresh Grout Line" — deep wet-slate teal base (freshly laid tile, damp grout),
 * warm porcelain paper surface, baked-terracotta clay accent (fired ceramic tile), and a
 * warm stone/grout-taupe secondary accent. Trade-specialist, precise, materials-led —
 * craftsmanship and clean surfaces over generic construction-orange.
 */

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */
:root {
  /* --- Colour: core brand --- */
  --bc-primary: #1F4B4C;        /* deep wet-slate teal (fresh-laid tile) */
  --bc-primary-dark: #123030;   /* near-black teal, dark sections / footer */
  --bc-primary-light: #E4EEEE;  /* pale teal tint for subtle surfaces */
  --bc-accent: #C1592E;         /* baked terracotta clay (fired ceramic tile) */
  --bc-accent-dark: #8A3D1C;    /* deep clay — safe bg for text, hover state */
  --bc-accent-text: #8A3D1C;    /* AA-safe darkened terracotta for text/icons on paper */
  --bc-accent-on-dark: #E8935F; /* AA-safe lightened terracotta for text on dark/gradient surfaces */
  --bc-stone: #7A6644;          /* warm stone / grout taupe, secondary accent */
  --bc-stone-dark: #55452C;     /* stone hover / dark-bg use */

  /* --- Colour: neutrals --- */
  --bc-paper: #FAF9F6;          /* warm porcelain-white page surface */
  --bc-paper-alt: #F1ECE3;      /* warm alternate section surface (unglazed clay) */
  --bc-ink: #201D1A;            /* body text */
  --bc-ink-soft: #56504A;       /* secondary text */
  --bc-line: #E2DACD;           /* hairlines / borders on paper */
  --bc-line-dark: rgba(255,255,255,0.14); /* hairlines on dark surfaces */
  --bc-white: #FFFFFF;

  /* --- Semantic aliases used throughout components --- */
  --bc-bg: var(--bc-paper);
  --bc-bg-alt: var(--bc-paper-alt);
  --bc-text: var(--bc-ink);
  --bc-text-soft: var(--bc-ink-soft);
  --bc-border: var(--bc-line);

  /* --- Typography --- */
  --bc-font-heading: 'Poppins', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --bc-font-body: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --bc-fs-eyebrow: 0.8125rem;   /* 13px */
  --bc-fs-sm: 0.9375rem;        /* 15px */
  --bc-fs-body: 1.0625rem;      /* 17px */
  --bc-fs-lede: 1.1875rem;      /* 19px */
  --bc-fs-h4: 1.25rem;          /* 20px */
  --bc-fs-h3: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  --bc-fs-h2: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  --bc-fs-h1: clamp(2.25rem, 1.5rem + 3vw, 3.25rem);
  --bc-fs-hero: clamp(2.375rem, 1.5rem + 3.6vw, 3.75rem);
  --bc-lh-tight: 1.15;
  --bc-lh-heading: 1.25;
  --bc-lh-body: 1.65;
  --bc-tracking-eyebrow: 0.14em;

  /* --- Space scale --- */
  --bc-space-1: 0.25rem;
  --bc-space-2: 0.5rem;
  --bc-space-3: 0.75rem;
  --bc-space-4: 1rem;
  --bc-space-5: 1.5rem;
  --bc-space-6: 2rem;
  --bc-space-7: 3rem;
  --bc-space-8: 4rem;
  --bc-space-9: 6rem;

  /* --- Shape / elevation --- */
  --bc-radius-sm: 8px;
  --bc-radius: 14px;
  --bc-radius-lg: 24px;
  --bc-radius-pill: 999px;
  --bc-shadow-sm: 0 1px 3px rgba(18, 48, 48, 0.08), 0 1px 2px rgba(18, 48, 48, 0.06);
  --bc-shadow: 0 8px 24px rgba(18, 48, 48, 0.12);
  --bc-shadow-lg: 0 20px 48px rgba(18, 48, 48, 0.18);

  /* --- Layout --- */
  --bc-container-w: 1180px;
  --bc-container-pad: clamp(1.25rem, 4vw, 2.5rem);

  /* --- Motion --- */
  --bc-ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --bc-speed: 0.2s;

  /* --- "Grout line to clay" gradient (hero / dark accents) --- */
  --bc-gradient-clay: linear-gradient(120deg, var(--bc-primary-dark) 0%, var(--bc-primary) 45%, var(--bc-stone-dark) 74%, var(--bc-accent-dark) 100%);
}

/* =========================================================
   2. RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bc-bg);
  color: var(--bc-text);
  font-family: var(--bc-font-body);
  font-size: var(--bc-fs-body);
  line-height: var(--bc-lh-body);
  overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; display: block; }
h1, h2, h3, h4, h5 {
  font-family: var(--bc-font-heading);
  color: var(--bc-primary-dark);
  line-height: var(--bc-lh-heading);
  margin: 0 0 var(--bc-space-3);
  font-weight: 700;
}
p { margin: 0 0 var(--bc-space-4); }
a { color: var(--bc-primary); text-decoration-color: var(--bc-accent-dark); }
a:hover { color: var(--bc-accent-text); }
ul, ol { padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--bc-accent-text); outline-offset: 2px; }
/* Dark/gradient surfaces need a lighter focus-ring colour to keep 3:1 UI contrast */
.bc-hero :focus-visible,
.bc-prose--dark :focus-visible,
.bc-testimonial :focus-visible,
.bc-map__info :focus-visible,
.bc-formband--final :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--bc-accent-on-dark);
}

/* =========================================================
   3. CONTAINER
   ========================================================= */
.bc-container {
  width: 100%;
  max-width: var(--bc-container-w);
  margin-inline: auto;
  padding-inline: var(--bc-container-pad);
}

/* =========================================================
   4. EYEBROW
   ========================================================= */
.bc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--bc-space-2);
  font-family: var(--bc-font-heading);
  font-size: var(--bc-fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--bc-tracking-eyebrow);
  text-transform: uppercase;
  color: var(--bc-accent-text);
  margin-bottom: var(--bc-space-3);
}
.bc-eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 3px;
  border-radius: var(--bc-radius-pill);
  background: linear-gradient(90deg, var(--bc-accent), var(--bc-stone));
  display: inline-block;
}
.bc-eyebrow--on-dark { color: var(--bc-accent-on-dark); }

/* =========================================================
   5. BUTTONS
   ========================================================= */
.bc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--bc-space-2);
  font-family: var(--bc-font-heading);
  font-weight: 600;
  font-size: var(--bc-fs-sm);
  line-height: 1;
  padding: 0.95em 1.7em;
  border-radius: var(--bc-radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--bc-speed) var(--bc-ease), box-shadow var(--bc-speed) var(--bc-ease), background var(--bc-speed) var(--bc-ease), color var(--bc-speed) var(--bc-ease), border-color var(--bc-speed) var(--bc-ease);
}
.bc-btn:hover { transform: translateY(-2px); }
.bc-btn:active { transform: translateY(0); }

.bc-btn--primary {
  background: var(--bc-primary);
  color: var(--bc-white);
  box-shadow: var(--bc-shadow-sm);
}
.bc-btn--primary:hover { background: var(--bc-primary-dark); color: var(--bc-white); box-shadow: var(--bc-shadow); }

.bc-btn--accent {
  background: var(--bc-accent-dark);
  color: var(--bc-white);
}
.bc-btn--accent:hover { background: #6B2E14; color: var(--bc-white); }

.bc-btn--ghost {
  background: transparent;
  color: var(--bc-white);
  border-color: var(--bc-line-dark);
}
.bc-btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--bc-white); color: var(--bc-white); }

.bc-btn--outline {
  background: transparent;
  color: var(--bc-primary);
  border-color: var(--bc-primary);
}
.bc-btn--outline:hover { background: var(--bc-primary); color: var(--bc-white); }

.bc-btn--sm { padding: 0.65em 1.25em; font-size: var(--bc-fs-eyebrow); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--bc-white);
  color: var(--bc-primary-dark);
  padding: var(--bc-space-2) var(--bc-space-4);
  border-radius: var(--bc-radius-sm);
  font-weight: 600;
  font-size: var(--bc-fs-sm);
  text-decoration: none;
}
.skip-link:focus,
.skip-link:focus-visible {
  left: var(--bc-space-4);
  top: var(--bc-space-4);
  outline: 3px solid var(--bc-accent-text);
  outline-offset: 2px;
}

/* =========================================================
   6. SITE SHELL — header / nav / footer
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--bc-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bc-space-4);
  padding-block: var(--bc-space-3);
}
.site-header__brand {
  display: flex;
  align-items: center;
  gap: var(--bc-space-3);
  text-decoration: none;
  color: var(--bc-primary-dark);
}
.site-header__brand img { height: 44px; width: auto; }
.site-header__brand-name {
  font-family: var(--bc-font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}
.site-header__brand-name small { display: block; font-weight: 500; font-size: 0.75rem; color: var(--bc-text-soft); }

.site-nav { display: flex; align-items: center; gap: var(--bc-space-6); }
.bc-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--bc-space-5);
  margin: 0;
  padding: 0;
}
.bc-nav__link {
  font-family: var(--bc-font-heading);
  font-weight: 600;
  font-size: var(--bc-fs-sm);
  color: var(--bc-primary-dark);
  text-decoration: none;
  padding: var(--bc-space-2) 0;
  border-bottom: 2px solid transparent;
}
.bc-nav__link:hover, .bc-nav__link[aria-current="page"] {
  color: var(--bc-primary);
  border-bottom-color: var(--bc-accent-text);
}
.bc-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--bc-radius-sm);
  border: 1px solid var(--bc-border);
  background: var(--bc-white);
}

/* Services dropdown - native <details>/<summary>, same disclosure pattern already
   used for FAQ and Cards->Expand. Desktop: hover/focus-within reveals the submenu
   regardless of [open]. Mobile: native tap-to-expand inside the existing nav panel. */
.bc-nav__dropdown { position: relative; list-style: none; }
.bc-nav__dropdown > summary {
  display: flex;
  align-items: center;
  gap: var(--bc-space-1);
  cursor: pointer;
  list-style: none;
}
.bc-nav__dropdown > summary::-webkit-details-marker { display: none; }
.bc-nav__dropdown > summary::after { content: "\25BE"; font-size: 0.65em; }
.bc-nav__submenu {
  display: none;
  list-style: none;
  margin: 0;
  padding: var(--bc-space-2);
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--bc-white);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius);
  box-shadow: var(--bc-shadow);
  z-index: 50;
}
.bc-nav__dropdown:hover .bc-nav__submenu,
.bc-nav__dropdown:focus-within .bc-nav__submenu { display: block; }
.bc-nav__submenu a {
  display: block;
  padding: var(--bc-space-2) var(--bc-space-3);
  font-family: var(--bc-font-heading);
  font-weight: 600;
  font-size: var(--bc-fs-sm);
  color: var(--bc-primary-dark);
  text-decoration: none;
  border-radius: var(--bc-radius-sm);
  white-space: nowrap;
}
.bc-nav__submenu a:hover { background: var(--bc-primary-light); color: var(--bc-primary); }

@media (max-width: 860px) {
  .bc-nav__toggle { display: inline-flex; }
  .site-nav { position: relative; }
  .bc-nav__list {
    position: absolute;
    top: calc(100% + var(--bc-space-3));
    right: 0;
    left: auto;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bc-white);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius);
    box-shadow: var(--bc-shadow);
    padding: var(--bc-space-3);
    min-width: 220px;
    display: none;
  }
  .bc-nav__list.is-open { display: flex; }
  .bc-nav__dropdown .bc-nav__submenu {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    padding-left: var(--bc-space-4);
    margin-top: var(--bc-space-2);
    min-width: 0;
  }
  .bc-nav__dropdown[open] .bc-nav__submenu { display: block; }
}

.site-footer {
  background: var(--bc-primary-dark);
  color: rgba(250,249,246,0.85);
  padding-block: var(--bc-space-8) var(--bc-space-6);
}
.site-footer a { color: var(--bc-accent-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--bc-white); text-decoration: underline; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: var(--bc-space-6);
}
.site-footer__heading {
  font-family: var(--bc-font-heading);
  color: var(--bc-white);
  font-size: var(--bc-fs-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--bc-space-3);
}
.site-footer__brand { color: var(--bc-white); font-family: var(--bc-font-heading); font-weight: 700; font-size: 1.15rem; margin-bottom: var(--bc-space-2); }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--bc-space-2); font-size: var(--bc-fs-sm); }
.site-footer__bottom {
  margin-top: var(--bc-space-7);
  padding-top: var(--bc-space-5);
  border-top: 1px solid var(--bc-line-dark);
  display: flex;
  flex-direction: column;
  gap: var(--bc-space-2);
  font-size: var(--bc-fs-eyebrow);
  color: rgba(250,249,246,0.6);
}
.site-footer__copyright { margin: 0; }
.site-footer__social {
  display: flex;
  align-items: center;
  gap: var(--bc-space-3);
  order: -1;
}
.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(250,249,246,0.08);
  color: rgba(250,249,246,0.85);
  transition: background 0.15s ease, color 0.15s ease;
}
.site-footer__social a:hover,
.site-footer__social a:focus-visible {
  background: var(--bc-accent, #c9502f);
  color: #fff;
}
.site-footer__social svg { width: 16px; height: 16px; fill: currentColor; }
.site-footer__disclaimer { margin: 0; max-width: 90ch; line-height: 1.5; }
@media (max-width: 760px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   7. HERO
   ========================================================= */
.bc-hero {
  position: relative;
  background: var(--bc-gradient-clay);
  color: var(--bc-white);
  overflow: hidden;
  padding-block: var(--bc-space-9) var(--bc-space-8);
}
.bc-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 60%;
  padding-top: 60%;
  background: radial-gradient(circle at 30% 30%, rgba(193,89,46,0.35), transparent 60%);
  pointer-events: none;
}
.bc-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--bc-space-8);
  align-items: center;
}
.bc-hero__title {
  font-size: var(--bc-fs-hero);
  color: var(--bc-white);
  line-height: var(--bc-lh-tight);
  margin-bottom: var(--bc-space-4);
}
.bc-hero__title em { font-style: normal; color: var(--bc-accent-on-dark); }
.bc-hero__lede {
  font-size: var(--bc-fs-lede);
  color: rgba(250,249,246,0.88);
  max-width: 46ch;
  margin-bottom: var(--bc-space-6);
}
.bc-hero__actions { display: flex; flex-wrap: wrap; gap: var(--bc-space-3); margin-bottom: var(--bc-space-6); }
.bc-hero__meta { display: flex; flex-wrap: wrap; gap: var(--bc-space-5); list-style: none; margin: 0; padding: 0; font-size: var(--bc-fs-sm); color: rgba(250,249,246,0.85); }
.bc-hero__meta li { display: flex; align-items: center; gap: var(--bc-space-2); }
.bc-hero__media {
  border-radius: var(--bc-radius-lg);
  overflow: hidden;
  box-shadow: var(--bc-shadow-lg);
  border: 1px solid rgba(255,255,255,0.18);
}
.bc-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.bc-hero__media iframe { width: 100%; height: 100%; min-height: 100%; border: none; display: block; }
.bc-hero--imaged .bc-hero__media { aspect-ratio: 4 / 3; }
.bc-hero__media--form {
  aspect-ratio: auto;
  overflow: visible;
  background: var(--bc-white);
}
.bc-hero__media--form iframe { height: 620px; min-height: 620px; }

@media (max-width: 900px) {
  .bc-hero__inner { grid-template-columns: 1fr; }
  .bc-hero { padding-block: var(--bc-space-8) var(--bc-space-7); }
}

/* ---------------------------------------------------------
   7B. HERO — SPLIT FORM VARIANT (homepage only, Module 03)
   Above-the-fold lead form. Reuses hero/card/form/button tokens
   only; collapses to a single column at the same 760px step
   already used elsewhere in the system, so the tablet bucket
   (768-1024px) keeps the compact two-column layout.
   --------------------------------------------------------- */
.bc-hero--split { padding-block: var(--bc-space-7) var(--bc-space-6); }
.bc-hero__inner--split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--bc-space-7);
  align-items: center;
}
.bc-hero__lede--tight { margin-bottom: var(--bc-space-5); }
.bc-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bc-space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}
.bc-chip {
  font-family: var(--bc-font-heading);
  font-size: var(--bc-fs-eyebrow);
  font-weight: 600;
  color: var(--bc-white);
  background: rgba(255,255,255,0.12);
  border: 1px solid var(--bc-line-dark);
  border-radius: var(--bc-radius-pill);
  padding: var(--bc-space-1) var(--bc-space-3);
}

#quote-form {
  scroll-margin-top: calc(var(--bc-space-8) + var(--bc-space-4));
}
.bc-hero__form-card {
  color: var(--bc-text);
}
.bc-hero__form-card .bc-eyebrow { color: var(--bc-accent-text); }
.bc-hero__form-title { font-size: var(--bc-fs-h3); margin-bottom: var(--bc-space-2); }
.bc-hero__form-lede { color: var(--bc-text-soft); font-size: var(--bc-fs-sm); margin-bottom: var(--bc-space-4); }
.bc-hero__form {
  display: grid;
  gap: var(--bc-space-3);
}
.bc-hero__form select,
.bc-hero__form input,
.bc-hero__form textarea { width: 100%; }
.bc-hero__form-submit { width: 100%; margin-top: var(--bc-space-1); }

/* GHL iframe container: style the container only, never the embed itself.
   min-height reserves space so the widget loading-in doesn't shift layout (CLS). */
.bc-hero__form-embed {
  min-height: 520px;
  border-radius: var(--bc-radius-sm);
  overflow: hidden;
}
.bc-hero__form-embed iframe { display: block; min-height: 520px; }

.bc-hero__inner--content-only { grid-template-columns: 1fr; max-width: 640px; }

@media (max-width: 760px) {
  .bc-hero__inner--split { grid-template-columns: 1fr; }
  .bc-hero--split { padding-block: var(--bc-space-6) var(--bc-space-5); }
}

/* =========================================================
   8. PROSE
   ========================================================= */
.bc-prose {
  padding-block: var(--bc-space-8);
}
.bc-prose__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--bc-space-6);
  max-width: 74ch;
  margin-inline: auto;
}
.bc-prose h2, .bc-prose h3 { color: var(--bc-primary-dark); }
.bc-prose p { color: var(--bc-text-soft); }
.bc-prose--with-image .bc-prose__inner {
  max-width: none;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--bc-space-7);
}
.bc-prose--with-image .bc-prose__media img {
  border-radius: var(--bc-radius-lg);
  box-shadow: var(--bc-shadow);
}
.bc-prose--has-color { background: var(--bc-bg-alt); }
.bc-prose--dark {
  background: var(--bc-primary-dark);
  color: rgba(250,249,246,0.9);
}
.bc-prose--dark h2, .bc-prose--dark h3 { color: var(--bc-white); }
.bc-prose--dark p { color: rgba(250,249,246,0.78); }
@media (max-width: 760px) {
  .bc-prose--with-image .bc-prose__inner { grid-template-columns: 1fr; }
}

/* Long single-block prose -> two-column flow (Readability Framework, Pattern 7).
   Same unedited paragraphs, redistributed across columns; whole paragraphs only
   (never split mid-sentence). Heading + lead paragraph stay full-width above. */
.bc-prose--columns .bc-prose__inner { max-width: 92ch; }
.bc-prose__cols {
  column-count: 2;
  column-gap: var(--bc-space-7);
  margin-top: var(--bc-space-2);
}
.bc-prose__cols p { break-inside: avoid-column; margin-bottom: var(--bc-space-4); }
.bc-prose__cols h3, .bc-prose__cols h4 { break-after: avoid-column; }
@media (max-width: 760px) {
  .bc-prose__cols { column-count: 1; }
}

/* Blog post furniture: byline/date/category meta bar + Table of Contents
   (Blog Architecture framework). Reuses existing card/chip/spacing tokens only. */
.bc-prose--toc { padding-block: var(--bc-space-6); }
.bc-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bc-space-2);
  font-size: var(--bc-fs-sm);
  color: var(--bc-text-soft);
  margin-bottom: var(--bc-space-5);
}
.bc-chip--light {
  color: var(--bc-primary);
  background: var(--bc-primary-light);
  border-color: var(--bc-border);
}
.bc-toc {
  background: var(--bc-white);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius);
  box-shadow: var(--bc-shadow-sm);
  padding: var(--bc-space-5);
}
.bc-toc__title {
  font-family: var(--bc-font-heading);
  font-weight: 700;
  color: var(--bc-primary-dark);
  margin-bottom: var(--bc-space-3);
}
.bc-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--bc-space-2);
}
.bc-toc__list a {
  font-family: var(--bc-font-heading);
  font-weight: 600;
  font-size: var(--bc-fs-sm);
  color: var(--bc-primary);
  text-decoration: none;
}
.bc-toc__list a:hover { color: var(--bc-accent-text); text-decoration: underline; }

/* =========================================================
   9. GRID (services / feature cards)
   ========================================================= */
.bc-grid { padding-block: var(--bc-space-8); }
.bc-grid__head { max-width: 62ch; margin: 0 auto var(--bc-space-7); text-align: center; }
.bc-grid__head .bc-eyebrow { justify-content: center; display: flex; }
.bc-grid__items {
  display: grid;
  gap: var(--bc-space-5);
  grid-template-columns: repeat(2, 1fr);
}
.bc-grid--2col .bc-grid__items { grid-template-columns: repeat(2, 1fr); }
.bc-grid--3col .bc-grid__items { grid-template-columns: repeat(3, 1fr); }
.bc-grid--4col .bc-grid__items { grid-template-columns: repeat(4, 1fr); }

.bc-grid__card {
  background: var(--bc-white);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius);
  padding: var(--bc-space-5);
  box-shadow: var(--bc-shadow-sm);
  transition: transform var(--bc-speed) var(--bc-ease), box-shadow var(--bc-speed) var(--bc-ease);
}
.bc-grid__card:hover { transform: translateY(-4px); box-shadow: var(--bc-shadow); }
.bc-grid__card-img {
  width: calc(100% + 2 * var(--bc-space-5));
  margin: calc(-1 * var(--bc-space-5)) calc(-1 * var(--bc-space-5)) var(--bc-space-4);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--bc-radius) var(--bc-radius) 0 0;
}
.bc-grid__card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--bc-radius-sm);
  background: var(--bc-primary-light);
  color: var(--bc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--bc-space-3);
}
.bc-grid__card-title { font-size: var(--bc-fs-h4); margin-bottom: var(--bc-space-2); }
.bc-grid__card-body { color: var(--bc-text-soft); font-size: var(--bc-fs-sm); margin-bottom: 0; }
.bc-grid__card-link { display: inline-flex; align-items: center; gap: var(--bc-space-1); margin-top: var(--bc-space-3); font-family: var(--bc-font-heading); font-weight: 600; font-size: var(--bc-fs-sm); }

.bc-grid--imaged .bc-grid__card { padding-top: 0; overflow: hidden; }
.bc-grid--imaged .bc-grid__card-img { margin-top: 0; }
.bc-grid--text-only .bc-grid__card { text-align: left; }

@media (max-width: 900px) {
  .bc-grid--3col .bc-grid__items,
  .bc-grid--4col .bc-grid__items { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .bc-grid__items,
  .bc-grid--2col .bc-grid__items,
  .bc-grid--3col .bc-grid__items,
  .bc-grid--4col .bc-grid__items { grid-template-columns: 1fr; }
}

/* Phase 5 - content-heavy list treatments (layout only, existing words unchanged).
   .bc-checklist: benefit/process/feature lists inside prose sections -> card rows.
   .bc-area-list: navigational suburb/service-area link lists -> chip row. */
.bc-checklist {
  list-style: none;
  margin: var(--bc-space-4) 0;
  padding: 0;
  display: grid;
  gap: var(--bc-space-3);
}
.bc-checklist li {
  background: var(--bc-white);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius-sm);
  padding: var(--bc-space-3) var(--bc-space-4) var(--bc-space-3) calc(var(--bc-space-4) + 1.5rem);
  position: relative;
  box-shadow: var(--bc-shadow-sm);
}
.bc-checklist li::before {
  content: "\2713";
  position: absolute;
  left: var(--bc-space-3);
  top: var(--bc-space-3);
  color: var(--bc-accent-text);
  font-weight: 700;
}

.bc-area-list {
  list-style: none;
  margin: var(--bc-space-4) 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--bc-space-2);
}
.bc-area-list li a {
  display: inline-flex;
  font-family: var(--bc-font-heading);
  font-weight: 600;
  font-size: var(--bc-fs-eyebrow);
  color: var(--bc-primary);
  background: var(--bc-primary-light);
  border-radius: var(--bc-radius-pill);
  padding: var(--bc-space-1) var(--bc-space-3);
  text-decoration: none;
}
.bc-area-list li a:hover { color: var(--bc-white); background: var(--bc-primary); }

/* Cards -> Expand progressive disclosure (Service Overview module).
   Reuses the FAQ component's token set and +/- interaction, adapted to
   sit inside a card without a second nested border. */
.bc-grid__card details { margin-top: var(--bc-space-3); }
.bc-grid__card summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--bc-font-heading);
  font-weight: 600;
  font-size: var(--bc-fs-sm);
  color: var(--bc-accent-text);
  padding: var(--bc-space-2) 0;
}
.bc-grid__card summary::-webkit-details-marker { display: none; }
.bc-grid__card summary::after { content: " +"; }
.bc-grid__card details[open] summary::after { content: " \2013"; }
.bc-grid__card details .bc-grid__card-body { margin-top: var(--bc-space-3); }
.bc-grid__card details .bc-grid__card-body:last-child { margin-bottom: 0; }

/* =========================================================
   10. FAQ
   ========================================================= */
.bc-faq { padding-block: var(--bc-space-8); background: var(--bc-bg-alt); }
.bc-faq__list { max-width: 78ch; margin: 0 auto; display: grid; gap: var(--bc-space-3); }
.bc-faq__item {
  background: var(--bc-white);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius);
  padding: 0;
  overflow: hidden;
}
.bc-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bc-space-4);
  padding: var(--bc-space-4) var(--bc-space-5);
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--bc-font-heading);
  font-weight: 600;
  font-size: var(--bc-fs-body);
  color: var(--bc-primary-dark);
  cursor: pointer;
}
.bc-faq__q::after {
  content: "+";
  flex: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--bc-accent-text);
  transition: transform var(--bc-speed) var(--bc-ease);
}
.bc-faq__item[open] .bc-faq__q::after { transform: rotate(45deg); }
.bc-faq__a {
  padding: 0 var(--bc-space-5) var(--bc-space-5);
  color: var(--bc-text-soft);
  margin: 0;
}

/* =========================================================
   11. GALLERY
   ========================================================= */
.bc-gallery { padding-block: var(--bc-space-8); }
.bc-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--bc-space-4);
}
.bc-gallery__cell {
  position: relative;
  border-radius: var(--bc-radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--bc-shadow-sm);
}
.bc-gallery__cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--bc-ease); }
.bc-gallery__cell:hover img { transform: scale(1.06); }
.bc-gallery__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--bc-space-3) var(--bc-space-3) var(--bc-space-2);
  background: linear-gradient(0deg, rgba(18,48,48,0.85), transparent);
  color: var(--bc-white);
  font-size: var(--bc-fs-eyebrow);
  font-family: var(--bc-font-heading);
}
/* Fewer than 4 photos: fill the row width proportionally instead of
   leaving empty grid tracks (e.g. galleries with exactly 2 images). */
.bc-gallery--2col .bc-gallery__grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; }
.bc-gallery--3col .bc-gallery__grid { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 860px) { .bc-gallery__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .bc-gallery__grid { grid-template-columns: 1fr 1fr; gap: var(--bc-space-3); } }

/* =========================================================
   12. VIDEO
   ========================================================= */
.bc-video { padding-block: var(--bc-space-8); background: var(--bc-bg-alt); }
.bc-video__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--bc-space-7);
  align-items: center;
}
.bc-video__copy p { color: var(--bc-text-soft); }
.bc-video__player { position: relative; }
.bc-video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--bc-radius-lg);
  overflow: hidden;
  box-shadow: var(--bc-shadow);
  background: var(--bc-primary-dark);
}
.bc-video__frame iframe, .bc-video__frame img { width: 100%; height: 100%; border: 0; object-fit: cover; }
@media (max-width: 860px) {
  .bc-video__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   13. MAP
   ========================================================= */
.bc-map { padding-block: var(--bc-space-8); }
.bc-map__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--bc-space-7);
  align-items: stretch;
}
.bc-map__info {
  background: var(--bc-primary);
  color: var(--bc-white);
  border-radius: var(--bc-radius-lg);
  padding: var(--bc-space-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bc-map__info h3 { color: var(--bc-white); }
.bc-map__addr { list-style: none; margin: var(--bc-space-3) 0 var(--bc-space-5); padding: 0; display: grid; gap: var(--bc-space-2); color: rgba(250,249,246,0.85); font-size: var(--bc-fs-sm); }
.bc-map__frame {
  border-radius: var(--bc-radius-lg);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--bc-shadow);
}
.bc-map__frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }
@media (max-width: 860px) {
  .bc-map__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   14. TESTIMONIAL
   ========================================================= */
.bc-testimonial { padding-block: var(--bc-space-8); background: var(--bc-primary-dark); color: var(--bc-white); }
.bc-testimonial__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--bc-space-5);
}
.bc-testimonial__card {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--bc-line-dark);
  border-radius: var(--bc-radius);
  padding: var(--bc-space-5);
}
.bc-testimonial__stars { color: var(--bc-accent-on-dark); letter-spacing: 0.15em; margin-bottom: var(--bc-space-3); font-size: 0.95rem; }
.bc-testimonial__quote { font-size: var(--bc-fs-body); color: rgba(250,249,246,0.92); margin-bottom: var(--bc-space-4); }
.bc-testimonial__author { display: flex; align-items: center; gap: var(--bc-space-3); }
.bc-testimonial__avatar {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--bc-stone);
  color: var(--bc-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--bc-font-heading); font-weight: 700;
  flex: none;
}
.bc-testimonial__name { font-family: var(--bc-font-heading); font-weight: 600; font-size: var(--bc-fs-sm); color: var(--bc-white); }
.bc-testimonial__role { font-size: var(--bc-fs-eyebrow); color: rgba(250,249,246,0.6); }
@media (max-width: 900px) { .bc-testimonial__grid { grid-template-columns: 1fr; } }

/* =========================================================
   15. FORMBAND
   ========================================================= */
.bc-formband { padding-block: var(--bc-space-8); }
.bc-formband__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bc-space-8);
  align-items: center;
}
.bc-formband__title { font-size: var(--bc-fs-h2); }
.bc-formband__lede { color: var(--bc-text-soft); max-width: 42ch; }
.bc-formband__form {
  background: var(--bc-white);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius-lg);
  padding: var(--bc-space-6);
  box-shadow: var(--bc-shadow);
  display: grid;
  gap: var(--bc-space-4);
}

.bc-form-field { display: grid; gap: var(--bc-space-2); }
.bc-form-field label { font-family: var(--bc-font-heading); font-weight: 600; font-size: var(--bc-fs-sm); color: var(--bc-primary-dark); }
.bc-form-field--required label::after { content: " *"; color: var(--bc-accent-text); }
.bc-form-field input,
.bc-form-field textarea,
.bc-form-field select {
  font: inherit;
  padding: var(--bc-space-3) var(--bc-space-3);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius-sm);
  background: var(--bc-paper);
  color: var(--bc-ink);
}
.bc-form-field input:focus-visible,
.bc-form-field textarea:focus-visible,
.bc-form-field select:focus-visible {
  border-color: var(--bc-primary);
  outline: 3px solid var(--bc-accent-text);
  outline-offset: 1px;
}
.bc-form-field textarea { resize: vertical; min-height: 6rem; }
.bc-form-field--row2 { grid-template-columns: 1fr 1fr; display: grid; gap: var(--bc-space-4); }

/* Intro band: sits directly under hero, lighter surface */
.bc-formband--intro { background: var(--bc-bg-alt); }

/* Final band: dark, high-contrast closing CTA before footer */
.bc-formband--final { background: var(--bc-gradient-clay); color: var(--bc-white); }
.bc-formband--final .bc-formband__title { color: var(--bc-white); }
.bc-formband--final .bc-formband__lede { color: rgba(250,249,246,0.85); }
.bc-formband--final .bc-form-field label { color: var(--bc-primary-dark); }

@media (max-width: 860px) {
  .bc-formband__grid { grid-template-columns: 1fr; }
  .bc-form-field--row2 { grid-template-columns: 1fr; }
}

/* =========================================================
   16. RESPONSIVE SAFETY NET
   ========================================================= */
@media (max-width: 480px) {
  .bc-hero__actions .bc-btn { width: 100%; }
  .bc-testimonial__grid, .bc-grid__items { row-gap: var(--bc-space-4); }
}
