/* ===========================================================================
   Epoxy Floor Hobart — Design System / Component Library
   Brand direction: Tasmanian dolerite dusk (deep slate-navy) + poured-resin
   copper glow. Industrial-premium, distinct from generic concrete-gray or
   teal epoxy-site cliches. Headings in Archivo (geometric, poured-slab
   confidence), body in Inter (clean trade-site legibility).
   =========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* ---- Color tokens ---- */
  --bc-primary: #1E2A38;        /* dolerite slate-navy */
  --bc-primary-dark: #131C26;
  --bc-primary-light: #2C3D50;
  --bc-accent: #A85A1E;         /* poured-resin copper (AA-safe on white) */
  --bc-accent-dark: #8C4816;
  --bc-accent-light: #E39355;   /* decorative highlight, large/graphic use only */
  --bc-paper: #F6F3EC;          /* warm quarried-stone paper */
  --bc-paper-alt: #EEE8DC;
  --bc-ink: #1A2029;
  --bc-ink-soft: #4A5568;
  --bc-ink-faint: #6B7686;
  --bc-line: #DDD5C6;
  --bc-white: #FFFFFF;
  --bc-success: #2F7A4C;

  /* ---- Type scale ---- */
  --bc-font-head: 'Archivo', 'Arial Black', sans-serif;
  --bc-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --bc-fs-h1: clamp(2.25rem, 1.7rem + 2.2vw, 3.75rem);
  --bc-fs-h2: clamp(1.75rem, 1.4rem + 1.4vw, 2.75rem);
  --bc-fs-h3: clamp(1.375rem, 1.2rem + 0.7vw, 1.875rem);
  --bc-fs-h4: 1.25rem;
  --bc-fs-lede: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  --bc-fs-body: 1rem;
  --bc-fs-small: 0.875rem;
  --bc-fs-eyebrow: 0.8125rem;
  --bc-lh-head: 1.15;
  --bc-lh-body: 1.65;

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

  /* ---- Misc ---- */
  --bc-radius-sm: 6px;
  --bc-radius: 10px;
  --bc-radius-lg: 18px;
  --bc-shadow: 0 12px 32px -12px rgba(19, 28, 38, 0.35);
  --bc-shadow-sm: 0 4px 14px -6px rgba(19, 28, 38, 0.25);
  --bc-container: 1180px;
  --bc-border: 1px solid var(--bc-line);
}

/* ===========================================================================
   Reset / base
   =========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--bc-font-body);
  font-size: var(--bc-fs-body);
  line-height: var(--bc-lh-body);
  color: var(--bc-ink);
  background: var(--bc-paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: var(--bc-font-head);
  line-height: var(--bc-lh-head);
  color: var(--bc-primary);
  margin: 0 0 var(--bc-sp-3);
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--bc-fs-h1); font-weight: 900; }
h2 { font-size: var(--bc-fs-h2); }
h3 { font-size: var(--bc-fs-h3); }
h4 { font-size: var(--bc-fs-h4); }
p { margin: 0 0 var(--bc-sp-3); }
a { color: var(--bc-accent-dark); }
ul, ol { padding-left: 1.25em; }

/* ===========================================================================
   Container
   =========================================================================== */
.bc-container {
  width: 100%;
  max-width: var(--bc-container);
  margin: 0 auto;
  padding: 0 var(--bc-sp-4);
}

/* ===========================================================================
   Eyebrow
   =========================================================================== */
.bc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--bc-font-head);
  font-size: var(--bc-fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bc-accent-dark);
  margin-bottom: var(--bc-sp-2);
}
.bc-eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--bc-accent);
  display: inline-block;
}
.bc-eyebrow--onDark { color: var(--bc-accent-light); }

/* ===========================================================================
   Buttons
   =========================================================================== */
.bc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--bc-font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85em 1.7em;
  border-radius: var(--bc-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.bc-btn:hover { transform: translateY(-2px); }
.bc-btn--primary {
  background: var(--bc-accent);
  color: var(--bc-white);
  border-color: var(--bc-accent);
  box-shadow: var(--bc-shadow-sm);
}
.bc-btn--primary:hover { background: var(--bc-accent-dark); border-color: var(--bc-accent-dark); }
.bc-btn--accent {
  background: var(--bc-primary);
  color: var(--bc-white);
  border-color: var(--bc-primary);
}
.bc-btn--accent:hover { background: var(--bc-primary-dark); border-color: var(--bc-primary-dark); }
.bc-btn--ghost {
  background: transparent;
  color: var(--bc-white);
  border-color: rgba(255,255,255,0.55);
}
.bc-btn--ghost:hover { background: rgba(255,255,255,0.12); border-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); }

/* ===========================================================================
   Site shell: header / nav / footer
   =========================================================================== */
.site-header {
  background: var(--bc-white);
  border-bottom: var(--bc-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bc-sp-4);
  padding: var(--bc-sp-3) 0;
}
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--bc-font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--bc-primary);
  text-decoration: none;
}
.site-header__brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--bc-accent), var(--bc-accent-dark));
  flex-shrink: 0;
}

.site-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--bc-sp-5);
  margin: 0;
  padding: 0;
}
.site-nav__list a {
  color: var(--bc-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav__list a:hover { color: var(--bc-accent-dark); }
.site-nav__cta { display: flex; align-items: center; gap: var(--bc-sp-3); }

.site-footer {
  background: var(--bc-primary-dark);
  color: rgba(255,255,255,0.82);
  padding: var(--bc-sp-7) 0 var(--bc-sp-5);
}
.site-footer a { color: var(--bc-white); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--bc-sp-5);
  padding-bottom: var(--bc-sp-5);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.site-footer__heading {
  font-family: var(--bc-font-head);
  color: var(--bc-white);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--bc-sp-3);
}
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6em; font-size: 0.92rem; }
.site-footer__list a { text-decoration: none; color: rgba(255,255,255,0.78); }
.site-footer__list a:hover { color: var(--bc-accent-light); }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--bc-sp-2);
  padding-top: var(--bc-sp-4);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* ===========================================================================
   Hero
   =========================================================================== */
.bc-hero {
  position: relative;
  background: radial-gradient(ellipse at 20% -10%, var(--bc-primary-light) 0%, var(--bc-primary) 45%, var(--bc-primary-dark) 100%);
  color: var(--bc-white);
  overflow: hidden;
}
.bc-hero::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -30%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle, rgba(200,114,46,0.35) 0%, rgba(200,114,46,0) 70%);
  pointer-events: none;
}
.bc-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: var(--bc-sp-6);
  padding: var(--bc-sp-8) 0;
}
.bc-hero__title { color: var(--bc-white); font-size: var(--bc-fs-h1); }
.bc-hero__lede {
  font-size: var(--bc-fs-lede);
  color: rgba(255,255,255,0.86);
  max-width: 46ch;
  margin-bottom: var(--bc-sp-5);
}
.bc-hero__actions { display: flex; gap: var(--bc-sp-3); flex-wrap: wrap; }
.bc-hero__media {
  border-radius: var(--bc-radius-lg);
  overflow: hidden;
  box-shadow: var(--bc-shadow);
  border: 1px solid rgba(255,255,255,0.15);
}
.bc-hero__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.bc-hero__stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: var(--bc-sp-6);
  padding: var(--bc-sp-4) 0 var(--bc-sp-6);
  border-top: 1px solid rgba(255,255,255,0.14);
  flex-wrap: wrap;
}
.bc-hero__stat-num {
  font-family: var(--bc-font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--bc-accent-light);
  display: block;
}
.bc-hero__stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

/* ===========================================================================
   Prose
   =========================================================================== */
.bc-prose { padding: var(--bc-sp-7) 0; }
.bc-prose__inner { max-width: 72ch; }
.bc-prose--has-color { background: var(--bc-paper-alt); }
.bc-prose--dark { background: var(--bc-primary); color: rgba(255,255,255,0.88); }
.bc-prose--dark h2, .bc-prose--dark h3 { color: var(--bc-white); }
.bc-prose--dark .bc-eyebrow { color: var(--bc-accent-light); }
.bc-prose--with-image .bc-prose__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bc-sp-6);
  align-items: center;
}
.bc-prose--with-image .bc-prose__inner { max-width: none; }
.bc-prose__img { border-radius: var(--bc-radius-lg); overflow: hidden; box-shadow: var(--bc-shadow-sm); }

/* ===========================================================================
   Grid (feature / services grid)
   =========================================================================== */
.bc-grid { padding: var(--bc-sp-7) 0; }
.bc-grid__head { max-width: 62ch; margin-bottom: var(--bc-sp-5); }
.bc-grid__cells {
  display: grid;
  gap: var(--bc-sp-4);
  grid-template-columns: repeat(2, 1fr);
}
.bc-grid--2col .bc-grid__cells { grid-template-columns: repeat(2, 1fr); }
.bc-grid--3col .bc-grid__cells { grid-template-columns: repeat(3, 1fr); }
.bc-grid--4col .bc-grid__cells { grid-template-columns: repeat(4, 1fr); }

.bc-grid__card {
  background: var(--bc-white);
  border: var(--bc-border);
  border-radius: var(--bc-radius);
  padding: var(--bc-sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--bc-sp-2);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.bc-grid__card:hover { box-shadow: var(--bc-shadow-sm); transform: translateY(-3px); }
.bc-grid__card-img {
  border-radius: var(--bc-radius-sm);
  overflow: hidden;
  margin: calc(var(--bc-sp-4) * -1) calc(var(--bc-sp-4) * -1) 0;
  aspect-ratio: 16/10;
}
.bc-grid__card-img img { width: 100%; height: 100%; object-fit: cover; }
.bc-grid__card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--bc-accent), var(--bc-accent-dark));
  color: var(--bc-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--bc-font-head);
  font-weight: 800;
}
.bc-grid__card h3 { font-size: 1.15rem; margin-bottom: 0.25em; }
.bc-grid__card p { color: var(--bc-ink-soft); margin-bottom: 0; font-size: 0.95rem; }
.bc-grid--imaged .bc-grid__card { padding: 0; overflow: hidden; }
.bc-grid--imaged .bc-grid__card-img { margin: 0; }
.bc-grid--imaged .bc-grid__card > *:not(.bc-grid__card-img) { padding: var(--bc-sp-4); }
.bc-grid--text-only .bc-grid__card { background: var(--bc-paper-alt); border-color: transparent; }

/* ===========================================================================
   FAQ
   =========================================================================== */
.bc-faq { padding: var(--bc-sp-7) 0; }
.bc-faq__inner { max-width: 76ch; margin: 0 auto; }
.bc-faq__list { display: grid; gap: var(--bc-sp-2); margin-top: var(--bc-sp-5); }
.bc-faq__item {
  background: var(--bc-white);
  border: var(--bc-border);
  border-radius: var(--bc-radius);
  padding: var(--bc-sp-3) var(--bc-sp-4);
}
.bc-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bc-sp-3);
  font-family: var(--bc-font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--bc-primary);
  cursor: pointer;
  list-style: none;
}
.bc-faq__q::-webkit-details-marker { display: none; }
.bc-faq__q::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.4rem;
  color: var(--bc-accent);
  transition: transform 0.2s ease;
}
details[open] .bc-faq__q::after { transform: rotate(45deg); }
.bc-faq__a { padding-top: var(--bc-sp-2); color: var(--bc-ink-soft); }

/* ===========================================================================
   Gallery
   =========================================================================== */
.bc-gallery { padding: var(--bc-sp-7) 0; background: var(--bc-paper-alt); }
.bc-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--bc-sp-3);
  margin-top: var(--bc-sp-5);
}
.bc-gallery__cell {
  position: relative;
  border-radius: var(--bc-radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--bc-shadow-sm);
}
.bc-gallery__cell img { width: 100%; height: 100%; object-fit: cover; }
.bc-gallery__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--bc-sp-2) var(--bc-sp-3);
  background: linear-gradient(to top, rgba(19,28,38,0.85), rgba(19,28,38,0));
  color: var(--bc-white);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ===========================================================================
   Video
   =========================================================================== */
.bc-video { padding: var(--bc-sp-7) 0; }
.bc-video__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--bc-sp-6);
  align-items: center;
}
.bc-video__copy { max-width: 44ch; }
.bc-video__player { border-radius: var(--bc-radius-lg); overflow: hidden; box-shadow: var(--bc-shadow); }
.bc-video__frame { position: relative; width: 100%; aspect-ratio: 16/9; }
.bc-video__frame iframe, .bc-video__frame img { width: 100%; height: 100%; object-fit: cover; border: 0; }

/* ===========================================================================
   Map
   =========================================================================== */
.bc-map { padding: var(--bc-sp-7) 0; background: var(--bc-primary); color: rgba(255,255,255,0.88); }
.bc-map h2, .bc-map h3 { color: var(--bc-white); }
.bc-map__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--bc-sp-6);
  align-items: stretch;
}
.bc-map__info { display: flex; flex-direction: column; justify-content: center; gap: var(--bc-sp-3); }
.bc-map__addr { font-size: 1.05rem; font-weight: 600; color: var(--bc-white); }
.bc-map__addr span { display: block; font-weight: 400; color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 0.3em; }
.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; display: block; }

/* ===========================================================================
   Testimonial
   =========================================================================== */
.bc-testimonial { padding: var(--bc-sp-7) 0; }
.bc-testimonial__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--bc-sp-4);
}
.bc-testimonial__card {
  background: var(--bc-white);
  border: var(--bc-border);
  border-radius: var(--bc-radius);
  padding: var(--bc-sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--bc-sp-3);
}
.bc-testimonial__stars { color: var(--bc-accent); letter-spacing: 0.15em; font-size: 0.95rem; }
.bc-testimonial__quote { color: var(--bc-ink-soft); font-style: italic; margin: 0; flex-grow: 1; }
.bc-testimonial__author { display: flex; align-items: center; gap: 0.7em; }
.bc-testimonial__avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--bc-primary-light), var(--bc-primary));
  color: var(--bc-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--bc-font-head); font-weight: 700; font-size: 0.9rem;
  flex-shrink: 0;
}
.bc-testimonial__name { font-weight: 700; font-size: 0.92rem; color: var(--bc-primary); }
.bc-testimonial__role { font-size: 0.8rem; color: var(--bc-ink-faint); }

/* ===========================================================================
   Form band
   =========================================================================== */
.bc-formband {
  padding: var(--bc-sp-7) 0;
  background: var(--bc-primary-dark);
  color: rgba(255,255,255,0.88);
}
.bc-formband__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bc-sp-6);
  align-items: center;
}
.bc-formband__title { color: var(--bc-white); }
.bc-formband__lede { color: rgba(255,255,255,0.75); max-width: 42ch; }
.bc-formband__form {
  background: var(--bc-white);
  color: var(--bc-ink);
  border-radius: var(--bc-radius-lg);
  padding: var(--bc-sp-5);
  box-shadow: var(--bc-shadow);
  display: grid;
  gap: var(--bc-sp-3);
}
.bc-formband--intro { background: var(--bc-paper-alt); color: var(--bc-ink); }
.bc-formband--intro .bc-formband__title,
.bc-formband--intro h2, .bc-formband--intro h3 { color: var(--bc-primary); }
.bc-formband--intro .bc-formband__lede { color: var(--bc-ink-soft); }
.bc-formband--final {
  background: radial-gradient(ellipse at 80% 20%, var(--bc-primary-light) 0%, var(--bc-primary-dark) 65%);
}

.bc-form-field { display: grid; gap: 0.4em; }
.bc-form-field label { font-size: 0.85rem; font-weight: 700; color: var(--bc-ink-soft); }
.bc-form-field--required label::after { content: " *"; color: var(--bc-accent-dark); }
.bc-form-field input,
.bc-form-field select,
.bc-form-field textarea {
  font-family: var(--bc-font-body);
  font-size: 0.95rem;
  padding: 0.75em 0.9em;
  border: 1px solid var(--bc-line);
  border-radius: var(--bc-radius-sm);
  background: var(--bc-paper);
  color: var(--bc-ink);
}
.bc-form-field input:focus,
.bc-form-field select:focus,
.bc-form-field textarea:focus {
  outline: 2px solid var(--bc-accent);
  outline-offset: 1px;
  border-color: var(--bc-accent);
}

/* ===========================================================================
   Responsive
   =========================================================================== */
@media (max-width: 900px) {
  .bc-hero__grid,
  .bc-prose--with-image .bc-prose__grid,
  .bc-video__grid,
  .bc-map__grid,
  .bc-formband__grid {
    grid-template-columns: 1fr;
  }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .bc-grid--4col .bc-grid__cells { grid-template-columns: repeat(2, 1fr); }
  .bc-grid--3col .bc-grid__cells { grid-template-columns: repeat(2, 1fr); }
  .bc-testimonial__grid { grid-template-columns: 1fr; }
  .bc-gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .site-nav__list { display: none; }
  .bc-grid__cells,
  .bc-grid--2col .bc-grid__cells,
  .bc-grid--3col .bc-grid__cells,
  .bc-grid--4col .bc-grid__cells { grid-template-columns: 1fr; }
  .bc-gallery__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: var(--bc-sp-4); }
  .bc-hero__stats { gap: var(--bc-sp-4); }
  .bc-container { padding: 0 var(--bc-sp-3); }
}
