/* =========================================================================
   Wollongong Kitchen Renovations — Locked Component Library
   Premium trades / joinery brand. Deep slate-teal + brushed copper on warm
   stone paper. Serif display (Fraunces) over a clean geometric sans (Inter).
   ========================================================================= */

:root{
  /* ---- Brand palette ---- */
  --bc-primary:        #1B2C2E; /* deep slate teal — cabinetry / stone */
  --bc-primary-dark:   #0F1C1E;
  --bc-primary-light:  #2C4245;
  --bc-accent:         #B0703A; /* brushed copper */
  --bc-accent-dark:    #8A5629;
  --bc-accent-light:   #D89A63;
  --bc-paper:           #FAF6EF; /* warm stone white */
  --bc-paper-alt:       #F0E8D9; /* travertine */
  --bc-paper-deep:      #E7DCC6;
  --bc-ink:             #201C17; /* near-black warm */
  --bc-ink-soft:        #55504A;
  --bc-ink-faint:       #6B655E;
  --bc-border:          #DCD2BE;
  --bc-border-soft:     #EAE1CE;
  --bc-white:           #FFFFFF;
  --bc-success:         #3C6B4A;
  --bc-on-primary:      #FAF6EF;
  --bc-on-accent:       #140F0A;

  /* ---- Type ---- */
  --bc-font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --bc-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --bc-text-xs:   0.8125rem;
  --bc-text-sm:   0.9375rem;
  --bc-text-base: 1.0625rem;
  --bc-text-lg:   1.25rem;
  --bc-text-xl:   1.5rem;
  --bc-text-2xl:  1.875rem;
  --bc-text-3xl:  2.375rem;
  --bc-text-4xl:  3rem;
  --bc-text-5xl:  3.75rem;

  --bc-leading-tight: 1.15;
  --bc-leading-snug:  1.35;
  --bc-leading-normal: 1.6;

  /* ---- Spacing 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: 2.5rem;
  --bc-space-8: 3rem;
  --bc-space-9: 4rem;
  --bc-space-10: 5rem;
  --bc-space-12: 7rem;

  /* ---- Misc ---- */
  --bc-radius-sm: 4px;
  --bc-radius-md: 10px;
  --bc-radius-lg: 20px;
  --bc-radius-pill: 999px;
  --bc-shadow-sm: 0 1px 3px rgba(15,28,30,0.08);
  --bc-shadow-md: 0 8px 24px rgba(15,28,30,0.12);
  --bc-shadow-lg: 0 20px 48px rgba(15,28,30,0.18);
  --bc-container-w: 1180px;
  --bc-transition: 180ms ease;
}

/* =========================================================================
   Reset / base
   ========================================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bc-paper);
  color: var(--bc-ink);
  font-family: var(--bc-font-body);
  font-size: var(--bc-text-base);
  line-height: var(--bc-leading-normal);
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: var(--bc-accent-dark); text-decoration-color: currentColor; }
h1,h2,h3,h4{
  font-family: var(--bc-font-display);
  color: var(--bc-primary);
  line-height: var(--bc-leading-tight);
  margin: 0 0 var(--bc-space-4);
  font-weight: 600;
}
h1{ font-size: var(--bc-text-5xl); }
h2{ font-size: var(--bc-text-3xl); }
h3{ font-size: var(--bc-text-xl); }
p{ margin: 0 0 var(--bc-space-4); }
ul{ margin: 0 0 var(--bc-space-4); padding-left: 1.2em; }

/* =========================================================================
   Container
   ========================================================================= */
.bc-container{
  width: 100%;
  max-width: var(--bc-container-w);
  margin-inline: auto;
  padding-inline: var(--bc-space-5);
}

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

/* =========================================================================
   Buttons
   ========================================================================= */
.bc-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--bc-space-2);
  font-family: var(--bc-font-body);
  font-weight: 700;
  font-size: var(--bc-text-sm);
  letter-spacing: 0.01em;
  padding: 0.9em 1.7em;
  border-radius: var(--bc-radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--bc-transition), box-shadow var(--bc-transition), background var(--bc-transition), color var(--bc-transition), border-color var(--bc-transition);
}
.bc-btn:hover{ transform: translateY(-2px); }
.bc-btn:focus-visible{ outline: 3px solid var(--bc-accent-light); outline-offset: 2px; }

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

.bc-btn--accent{
  background: var(--bc-primary);
  color: var(--bc-on-primary);
}
.bc-btn--accent:hover{ background: var(--bc-primary-dark); box-shadow: var(--bc-shadow-md); }

.bc-btn--ghost{
  background: transparent;
  color: var(--bc-on-primary);
  border-color: rgba(250,246,239,0.55);
}
.bc-btn--ghost:hover{ background: rgba(250,246,239,0.12); border-color: var(--bc-on-primary); }

.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-on-primary); }

/* =========================================================================
   Site shell — header / nav / footer
   ========================================================================= */
.site-header{
  background: var(--bc-paper);
  border-bottom: 1px solid var(--bc-border-soft);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header__bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bc-space-5);
  padding-block: var(--bc-space-3);
}
.site-header__brand{
  display: flex;
  align-items: center;
  gap: var(--bc-space-3);
  font-family: var(--bc-font-display);
  font-weight: 700;
  font-size: var(--bc-text-lg);
  color: var(--bc-primary);
  text-decoration: none;
}
.site-header__brand img{ height: 44px; width: auto; }

.site-nav{ display: flex; }
.site-nav__list{
  display: flex;
  align-items: center;
  gap: var(--bc-space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__list a{
  color: var(--bc-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--bc-text-sm);
  padding-block: var(--bc-space-2);
  border-bottom: 2px solid transparent;
  transition: color var(--bc-transition), border-color var(--bc-transition);
}
.site-nav__list a:hover{ color: var(--bc-accent-dark); border-color: var(--bc-accent); }

.site-footer{
  background: var(--bc-primary-dark);
  color: var(--bc-on-primary);
  padding-block: var(--bc-space-9) var(--bc-space-6);
}
.site-footer a{ color: var(--bc-paper-alt); }
.site-footer__grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--bc-space-7);
  margin-bottom: var(--bc-space-7);
}
.site-footer h3{ color: var(--bc-on-primary); font-size: var(--bc-text-base); }
.site-footer__brand{ font-family: var(--bc-font-display); font-size: var(--bc-text-xl); margin-bottom: var(--bc-space-3); }
.site-footer__list{ list-style: none; margin: 0; padding: 0; display: grid; gap: var(--bc-space-2); }
.site-footer__bottom{
  border-top: 1px solid rgba(250,246,239,0.15);
  padding-top: var(--bc-space-5);
  font-size: var(--bc-text-xs);
  color: var(--bc-paper-deep);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--bc-space-3);
}

/* =========================================================================
   Hero
   ========================================================================= */
.bc-hero{
  background: linear-gradient(155deg, var(--bc-primary) 0%, var(--bc-primary-dark) 100%);
  color: var(--bc-on-primary);
  padding-block: var(--bc-space-10);
  position: relative;
  overflow: hidden;
}
.bc-hero a:not(.bc-btn){ color: var(--bc-accent-light); }
.bc-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 20%, rgba(176,112,58,0.28), transparent 55%);
  pointer-events: none;
}
.bc-hero__grid{
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--bc-space-8);
  align-items: center;
}
.bc-hero__title{
  color: var(--bc-on-primary);
  font-size: var(--bc-text-5xl);
  margin-bottom: var(--bc-space-5);
}
.bc-hero__lede{
  font-size: var(--bc-text-lg);
  color: var(--bc-paper-deep);
  max-width: 46ch;
  margin-bottom: var(--bc-space-6);
}
.bc-hero__actions{ display: flex; gap: var(--bc-space-4); flex-wrap: wrap; }
.bc-hero__media{
  border-radius: var(--bc-radius-lg);
  overflow: hidden;
  box-shadow: var(--bc-shadow-lg);
  border: 1px solid rgba(250,246,239,0.15);
}
.bc-hero__media img{ width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.bc-hero__stats{
  position: relative;
  display: flex;
  gap: var(--bc-space-7);
  margin-top: var(--bc-space-8);
  padding-top: var(--bc-space-6);
  border-top: 1px solid rgba(250,246,239,0.18);
}
.bc-hero__stat-num{ font-family: var(--bc-font-display); font-size: var(--bc-text-2xl); color: var(--bc-accent-light); display: block; }
.bc-hero__stat-label{ font-size: var(--bc-text-xs); color: var(--bc-paper-deep); text-transform: uppercase; letter-spacing: 0.08em; }

/* =========================================================================
   Prose
   ========================================================================= */
.bc-prose{ padding-block: var(--bc-space-9); }
.bc-prose__inner{ max-width: 72ch; }
.bc-prose--has-color{ background: var(--bc-paper-alt); }
.bc-prose--dark{ background: var(--bc-primary); color: var(--bc-on-primary); }
.bc-prose--dark h2, .bc-prose--dark h3{ color: var(--bc-on-primary); }
.bc-prose--dark .bc-eyebrow{ color: var(--bc-accent-light); }
.bc-prose--dark a:not(.bc-btn){ color: var(--bc-accent-light); }
.bc-prose--with-image .bc-prose__inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bc-space-8);
  align-items: center;
  max-width: none;
}
.bc-prose--with-image img{ border-radius: var(--bc-radius-lg); box-shadow: var(--bc-shadow-md); }
.bc-prose__text{ max-width: 60ch; }

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

.bc-grid__card{
  background: var(--bc-white);
  border: 1px solid var(--bc-border-soft);
  border-radius: var(--bc-radius-md);
  padding: var(--bc-space-6);
  box-shadow: var(--bc-shadow-sm);
  transition: box-shadow var(--bc-transition), transform var(--bc-transition);
}
.bc-grid__card:hover{ box-shadow: var(--bc-shadow-md); transform: translateY(-3px); }
.bc-grid__card h3{ margin-bottom: var(--bc-space-2); }
.bc-grid__card p{ color: var(--bc-ink-soft); margin-bottom: 0; font-size: var(--bc-text-sm); }
.bc-grid__card-icon{
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--bc-radius-md);
  background: var(--bc-paper-alt);
  color: var(--bc-accent-dark);
  margin-bottom: var(--bc-space-4);
  font-size: var(--bc-text-lg);
}

.bc-grid--imaged .bc-grid__card{ padding: 0; overflow: hidden; }
.bc-grid__card-img{ width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.bc-grid--imaged .bc-grid__card-body{ padding: var(--bc-space-5); }

.bc-grid--text-only .bc-grid__card{ background: var(--bc-paper-alt); border: none; box-shadow: none; }

/* =========================================================================
   FAQ
   ========================================================================= */
.bc-faq{ padding-block: var(--bc-space-9); background: var(--bc-paper-alt); }
.bc-faq__inner{ max-width: 76ch; }
.bc-faq__list{ display: grid; gap: var(--bc-space-3); margin-top: var(--bc-space-6); }
.bc-faq__item{
  background: var(--bc-white);
  border: 1px solid var(--bc-border-soft);
  border-radius: var(--bc-radius-md);
  padding: var(--bc-space-5) var(--bc-space-6);
}
.bc-faq__q{
  font-family: var(--bc-font-display);
  font-size: var(--bc-text-lg);
  color: var(--bc-primary);
  margin: 0 0 var(--bc-space-2);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: var(--bc-space-4);
}
.bc-faq__a{ color: var(--bc-ink-soft); margin: 0; }

/* =========================================================================
   Gallery
   ========================================================================= */
.bc-gallery{ padding-block: var(--bc-space-9); }
.bc-gallery__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--bc-space-4);
  margin-top: var(--bc-space-6);
}
.bc-gallery__cell{
  position: relative;
  border-radius: var(--bc-radius-md);
  overflow: hidden;
  box-shadow: var(--bc-shadow-sm);
}
.bc-gallery__cell img{ width: 100%; height: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform 400ms ease; }
.bc-gallery__cell:hover img{ transform: scale(1.05); }
.bc-gallery__caption{
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(0deg, rgba(15,28,30,0.85), transparent);
  color: var(--bc-white);
  padding: var(--bc-space-4) var(--bc-space-3) var(--bc-space-2);
  font-size: var(--bc-text-xs);
  font-weight: 600;
}

/* =========================================================================
   Video
   ========================================================================= */
.bc-video{ padding-block: var(--bc-space-9); background: var(--bc-primary); color: var(--bc-on-primary); }
.bc-video h2, .bc-video h3{ color: var(--bc-on-primary); }
.bc-video a:not(.bc-btn){ color: var(--bc-accent-light); }
.bc-video__grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--bc-space-8);
  align-items: center;
}
.bc-video__copy p{ color: var(--bc-paper-deep); }
.bc-video__player{
  border-radius: var(--bc-radius-lg);
  overflow: hidden;
  box-shadow: var(--bc-shadow-lg);
  border: 1px solid rgba(250,246,239,0.15);
}
.bc-video__frame{
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}
.bc-video__frame iframe, .bc-video__frame img{
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover;
}

/* =========================================================================
   Map
   ========================================================================= */
.bc-map{ padding-block: var(--bc-space-9); }
.bc-map__grid{
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--bc-space-7);
  align-items: stretch;
}
.bc-map__info{
  background: var(--bc-paper-alt);
  border-radius: var(--bc-radius-md);
  padding: var(--bc-space-6);
}
.bc-map__addr{ font-style: normal; color: var(--bc-ink-soft); line-height: var(--bc-leading-snug); margin-bottom: var(--bc-space-4); }
.bc-map__frame{
  border-radius: var(--bc-radius-md);
  overflow: hidden;
  min-height: 320px;
  border: 1px solid var(--bc-border-soft);
}
.bc-map__frame iframe{ width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* =========================================================================
   Testimonial
   ========================================================================= */
.bc-testimonial{ padding-block: var(--bc-space-9); }
.bc-testimonial__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--bc-space-5);
}
.bc-testimonial__card{
  background: var(--bc-white);
  border: 1px solid var(--bc-border-soft);
  border-radius: var(--bc-radius-md);
  padding: var(--bc-space-6);
  box-shadow: var(--bc-shadow-sm);
}
.bc-testimonial__stars{ color: var(--bc-accent); font-size: var(--bc-text-sm); margin-bottom: var(--bc-space-3); letter-spacing: 0.1em; }
.bc-testimonial__quote{ color: var(--bc-ink); margin-bottom: var(--bc-space-4); font-size: var(--bc-text-sm); }
.bc-testimonial__author{ display: flex; align-items: center; gap: var(--bc-space-3); }
.bc-testimonial__avatar{
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bc-paper-alt); color: var(--bc-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--bc-font-display); font-weight: 700;
}
.bc-testimonial__name{ font-weight: 700; font-size: var(--bc-text-sm); color: var(--bc-primary); }
.bc-testimonial__meta{ font-size: var(--bc-text-xs); color: var(--bc-ink-faint); }

/* =========================================================================
   Form band
   ========================================================================= */
.bc-formband{ padding-block: var(--bc-space-9); background: var(--bc-paper-alt); }
.bc-formband--intro{ background: var(--bc-primary); color: var(--bc-on-primary); }
.bc-formband--intro h2, .bc-formband--intro h3{ color: var(--bc-on-primary); }
.bc-formband--intro a:not(.bc-btn){ color: var(--bc-accent-light); }
.bc-formband--final{
  background: linear-gradient(155deg, var(--bc-primary) 0%, var(--bc-primary-dark) 100%);
  color: var(--bc-on-primary);
}
.bc-formband--final h2, .bc-formband--final h3{ color: var(--bc-on-primary); }
.bc-formband--final a:not(.bc-btn){ color: var(--bc-accent-light); }
.bc-formband__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bc-space-8);
  align-items: start;
}
.bc-formband__title{ font-size: var(--bc-text-3xl); margin-bottom: var(--bc-space-3); }
.bc-formband__lede{ color: var(--bc-ink-soft); max-width: 42ch; }
.bc-formband--intro .bc-formband__lede,
.bc-formband--final .bc-formband__lede{ color: var(--bc-paper-deep); }

.bc-formband__form{
  background: var(--bc-white);
  border-radius: var(--bc-radius-lg);
  padding: var(--bc-space-6);
  box-shadow: var(--bc-shadow-md);
  display: grid;
  gap: var(--bc-space-4);
}
.bc-form-field{ display: grid; gap: var(--bc-space-2); }
.bc-form-field label{
  font-size: var(--bc-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  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: inherit;
  padding: 0.75em 0.9em;
  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,
.bc-form-field select:focus,
.bc-form-field textarea:focus{
  outline: 2px solid var(--bc-accent);
  outline-offset: 1px;
  border-color: var(--bc-accent);
}
.bc-form-field textarea{ resize: vertical; min-height: 96px; }
.bc-formband__form .bc-btn{ width: 100%; margin-top: var(--bc-space-2); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 900px){
  .bc-hero__grid,
  .bc-video__grid,
  .bc-map__grid,
  .bc-formband__grid,
  .bc-prose--with-image .bc-prose__inner{
    grid-template-columns: 1fr;
  }
  .site-footer__grid{ grid-template-columns: 1fr; gap: var(--bc-space-6); }
  .bc-grid--4col .bc-grid__list,
  .bc-grid--3col .bc-grid__list{ grid-template-columns: repeat(2, 1fr); }
  .bc-testimonial__grid{ grid-template-columns: 1fr; }
  .bc-gallery__grid{ grid-template-columns: repeat(2, 1fr); }
  h1{ font-size: var(--bc-text-4xl); }
}

@media (max-width: 640px){
  .site-nav__list{ gap: var(--bc-space-4); flex-wrap: wrap; }
  .site-header__bar{ flex-direction: column; align-items: flex-start; gap: var(--bc-space-3); }
  .bc-grid__list,
  .bc-grid--2col .bc-grid__list,
  .bc-grid--3col .bc-grid__list,
  .bc-grid--4col .bc-grid__list{ grid-template-columns: 1fr; }
  .bc-gallery__grid{ grid-template-columns: repeat(2, 1fr); }
  .bc-hero__stats{ flex-wrap: wrap; gap: var(--bc-space-5); }
  h1{ font-size: var(--bc-text-3xl); }
  h2{ font-size: var(--bc-text-2xl); }
  .bc-hero__title{ font-size: var(--bc-text-3xl); }
  .bc-formband__form{ padding: var(--bc-space-5); }
  .site-footer__bottom{ flex-direction: column; }
}
