/* ============================================================
   DH Aluminium Windows & Doors — shared stylesheet
   Loaded by every page. Edit here once, not six times.
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold: #C9A84C;
  --gold-light: #E2C97E;
  --gold-pale: #F5E9C8;
  /* NOTE: --black and --white are named backwards (--black is cream,
     --white is near-black). Left as-is for now so this page still
     matches your other pages. Worth renaming across all files at once. */
  --black: #F5F0E8;
  --dark: #EDE8DF;
  --dark2: #E4DDD2;
  --dark3: #D9D1C4;
  --white: #1A1208;
  --grey: #6B6459;
  --on-gold: #1A1208;   /* readable text colour for gold backgrounds */
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }

/* ── NAV ── */
/* Scoped to #navbar deliberately: a bare `nav {}` selector also matched the
   breadcrumb <nav>, turning it into a second fixed bar over the header. */
nav#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem 0 0;
  height: 90px;
  background: rgba(245,240,232,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.3);
  transition: all 0.3s ease;
}
.nav-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  /* Without this the logo is compressed by the nav links and crops.
     Flex items shrink by default; the logo must not. */
  flex-shrink: 0;
}
.nav-logo-icon,
.nav-logo-text {
  display: flex;
  align-items: center;
}

.nav-logo-icon img {
  height: 72px;
  width: auto;
  display: block;
}

.nav-logo-text img {
  height: 72px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  list-style: none;
  flex-wrap: nowrap;
}

/* MOBILE */

@media (max-width: 900px) {

  nav#navbar {
display: flex;
align-items: center;
padding: 0 0 0 0;
height: 80px;
  }

  .nav-logo-icon,
  .nav-logo-text {
display: flex;
align-items: center;
  }

  .nav-logo-icon {
margin-right: -8px;
  }

  .nav-logo-icon img {
height: 72px;
width: auto;
display: block;
  }

  .nav-logo-text img {
height: 72px;
width: auto;
display: block;
  }

  .nav-links {
display: none;
flex-direction: column;
position: fixed;
top: 80px;
left: 0;
right: 0;
background: var(--dark);
padding: 2rem;
gap: 1.5rem;
border-bottom: 1px solid rgba(201,168,76,0.2);
  }

  .nav-links.open {
display: flex;
  }

  .hamburger {
display: flex;
margin-left: auto;
  }
}

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: #1A1208;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--gold);
  color: var(--on-gold) !important;
  padding: 0.5rem 1.4rem;
  border-radius: 2px;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
}
.nav-cta:hover { background: var(--gold-light) !important; color: var(--on-gold) !important; }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px; margin-right: 8px;
}
.hamburger span { width: 26px; height: 2px; background: var(--gold); transition: all 0.3s; }

/* ── HERO ── */
#home {
  position: relative;
  height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute; inset: 0;
  /* TODO: this is a hotlinked Unsplash stock photo — it loads from an
     external server and isn't your work. Swap it for one of your own
     installs as soon as you have a wide landscape shot, e.g.:
     background-image: url('images/hero.jpg');                       */
  background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?w=1800&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,0.65) 100%
  );
}
.hero-accent {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  top: 50%; left: 60%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 1000px;
  padding: 0 2rem;
  margin-top: 80px;
  animation: fadeUp 1.2s ease both;
}
.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero-title {
  font-family: var(--font-display);
  /* Sized for "Aluminium Windows & Doors Melbourne". The old 7rem max was set
     for the much shorter "Crafted for Elegance" and overflowed this heading. */
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: #FAFAFA;
  overflow-wrap: break-word;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  font-weight: 300;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-gold {
  background: var(--gold);
  color: var(--on-gold);
  padding: 0.85rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none; cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s, transform 0.2s;
  border-radius: 2px;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  border-radius: 2px;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--grey); font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
.hero-scroll::before {
  content: '';
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

/* ── SECTION BASE ── */
section { padding: 7rem 4rem; }
.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-desc {
  color: var(--grey);
  font-size: 0.95rem;
  line-height: 1.9;
  max-width: 540px;
}
.gold-line {
  width: 50px; height: 2px;
  background: var(--gold);
  margin-bottom: 2rem;
}

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--dark2);
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 3rem 4rem;
  display: grid;
  /* auto-fit so the strip still looks right with 3, 4 or 5 stats */
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold);
}
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 0.3rem;
}

/* ── PRODUCTS ── */
#products { background: var(--dark); }
.products-header { max-width: 1200px; margin: 0 auto 4rem; }

/* Category tabs */
.prod-tabs {
  max-width: 1200px; margin: 0 auto 3rem;
  display: flex; gap: 0; flex-wrap: wrap;
  border: 1px solid rgba(201,168,76,0.2);
}
.prod-tab {
  flex: 1; min-width: 160px;
  padding: 1rem 1.5rem;
  background: transparent;
  border: none; border-right: 1px solid rgba(201,168,76,0.2);
  color: var(--grey);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}
.prod-tab:last-child { border-right: none; }
.prod-tab:hover { color: var(--gold); background: rgba(201,168,76,0.05); }
.prod-tab.active { background: var(--gold); color: var(--black); }

/* Category panels */
.prod-panel { display: none; max-width: 1200px; margin: 0 auto; }
.prod-panel.active { display: block; }

.prod-category-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.prod-subcategory { margin-bottom: 3rem; }
.prod-subcategory-title {
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(201,168,76,0.4);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(201,168,76,0.12);
  margin-bottom: 1.5px;
}
.product-card {
  background: var(--dark2);
  padding: 2rem 2rem 2.5rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s;
}
.product-card:hover { background: var(--dark3); }
.product-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--gold);
  transition: height 0.4s ease;
}
.product-card:hover::before { height: 100%; }
.product-icon {
  width: 44px; height: 44px;
  border: 1px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
  transition: border-color 0.3s, background 0.3s;
}
.product-card:hover .product-icon {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  color: var(--white);
}
.product-desc {
  font-size: 0.82rem;
  color: var(--grey);
  line-height: 1.8;
}
.product-arrow {
  position: absolute; bottom: 1.5rem; right: 1.5rem;
  color: var(--gold); font-size: 1.1rem;
  opacity: 0; transform: translateX(-8px);
  transition: all 0.3s;
}
.product-card:hover .product-arrow { opacity: 1; transform: translateX(0); }

/* ── PROJECTS / GALLERY ── */
#projects { background: var(--black); }
.projects-header { max-width: 1200px; margin: 0 auto 3rem; }
.projects-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 260px 260px;
  gap: 4px;
}
.project-item {
  background: var(--dark3);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.project-item:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.project-item:nth-child(2) { grid-column: span 4; }
.project-item:nth-child(3) { grid-column: span 3; }
.project-item:nth-child(4) { grid-column: span 3; }
.project-item:nth-child(5) { grid-column: span 4; }
.project-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--dark2), var(--dark3));
  transition: transform 0.5s ease;
}
.project-item:hover .project-placeholder { transform: scale(1.04); }
.project-placeholder svg { width: 60px; height: 60px; opacity: 0.15; }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex; align-items: flex-end;
  padding: 1.5rem;
}
.project-item:hover .project-overlay { opacity: 1; }
.project-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
}
.project-sub { font-size: 0.75rem; color: var(--gold); letter-spacing: 1px; }

/* ── ABOUT ── */
#about {
  background: var(--dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: none;
}
.about-visual {
  position: relative;
  height: 550px;
}
.about-box-main {
  position: absolute;
  top: 0; left: 0; right: 80px; bottom: 80px;
  background: var(--dark3);
  display: flex; align-items: center; justify-content: center;
}
.about-box-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 200px; height: 200px;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.about-box-accent-inner {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--black);
  text-align: center;
  line-height: 1.1;
}
.about-box-accent-inner small {
  display: block;
  font-size: 0.7rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 0.2rem;
}
.about-frame-icon { opacity: 0.12; }
.about-content { padding-right: 4rem; }
.about-features {
  margin-top: 2.5rem;
  display: flex; flex-direction: column; gap: 1.2rem;
}
.about-feat {
  display: flex; gap: 1rem; align-items: flex-start;
}
.about-feat-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}
.about-feat-text { font-size: 0.9rem; color: var(--grey); line-height: 1.7; }
.about-feat-text strong { color: var(--white); font-weight: 500; }

/* ── QUOTE ── */
#quote { background: var(--black); }
.quote-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.quote-header { text-align: center; margin-bottom: 3.5rem; }
.quote-header .gold-line { margin: 0 auto 2rem; }
.quote-header .section-desc { margin: 0 auto; text-align: center; }
.quote-form {
  background: var(--dark2);
  border: 1px solid rgba(201,168,76,0.15);
  padding: 3.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group.full { grid-column: span 2; }
.form-group label {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  border-radius: 2px;
  transition: border-color 0.3s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--dark3); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit { text-align: center; margin-top: 2rem; }
.form-submit .btn-gold { font-size: 0.8rem; padding: 1rem 3rem; }

/* ── CONTACT ── */
#contact { background: var(--dark); }
.contact-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}
.contact-info { }
.contact-items { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; gap: 1.2rem; }
.contact-item-icon {
  width: 42px; height: 42px;
  border: 1px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-item-label {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.contact-item-val { font-size: 0.9rem; color: var(--white); line-height: 1.6; }
.contact-form-area { }
.contact-form .form-row { margin-bottom: 1.5rem; }
.contact-form textarea {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  border-radius: 2px;
  transition: border-color 0.3s;
  width: 100%;
  resize: vertical;
  min-height: 130px;
}
.contact-form textarea:focus { border-color: var(--gold); }

/* ── FOOTER ── */
footer {
  background: var(--dark2);
  border-top: 1px solid rgba(201,168,76,0.3);
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo { display: flex; align-items: center; }
.footer-copy { font-size: 0.78rem; color: #6B6459; line-height: 1.9; }
.footer-copy a { color: #6B6459; text-decoration: none; transition: color 0.3s; }
.footer-copy a:hover { color: var(--gold); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: 0.78rem;
  color: #6B6459;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }

/* ── PRODUCT DETAIL OVERLAY ── */
#product-detail {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--dark);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
#product-detail.open {
  transform: translateX(0);
}
.pd-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 7rem 4rem 5rem;
}
.pd-back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  background: none;
  margin-bottom: 3rem;
  transition: gap 0.2s;
  padding: 0;
}
.pd-back:hover { gap: 1rem; }
.pd-back-arrow { font-size: 1rem; }
.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.pd-image-wrap {
  position: relative;
  background: var(--dark2);
  border: 1px solid rgba(201,168,76,0.15);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pd-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: rgba(201,168,76,0.25);
}
.pd-image-placeholder svg { width: 80px; height: 80px; }
.pd-image-placeholder span {
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(201,168,76,0.3);
}
.pd-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.pd-gold-badge {
  position: absolute;
  bottom: 1.2rem; right: 1.2rem;
  background: var(--gold);
  color: var(--black);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
}
.pd-content { }
.pd-category {
  font-size: 0.68rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.pd-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.pd-divider {
  width: 40px; height: 2px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}
.pd-desc {
  font-size: 0.95rem;
  color: var(--grey);
  line-height: 1.9;
  margin-bottom: 2rem;
}
.pd-features {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.pd-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: var(--grey);
}
.pd-feature::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 0.45rem;
  flex-shrink: 0;
}
.pd-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .pd-inner { padding: 6rem 1.5rem 4rem; }
  .pd-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}


/* ── HOME: SECTION HEADINGS ── */
.home-section { padding: 5rem 4rem; }
.home-section-eyebrow {
  font-size: 0.7rem; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem; font-weight: 500;
}
.home-section-inner { max-width: 1200px; margin: 0 auto; }

/* ── HOME: TEASER CARDS ── */
.home-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.teaser-card {
  display: block;
  text-decoration: none;
  background: var(--dark2);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 4px;
  padding: 2.5rem;
  height: 100%;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.teaser-card:hover,
.teaser-card:focus-visible {
  border-color: rgba(201,168,76,0.55);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(26,18,8,0.08);
}
.teaser-card--gold {
  background: var(--gold);
  border-color: var(--gold);
}
.teaser-card--gold:hover,
.teaser-card--gold:focus-visible { background: var(--gold-light); border-color: var(--gold-light); }
.teaser-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 3px;
  color: var(--gold);
  margin-bottom: 1.4rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.teaser-card:hover .teaser-icon { border-color: var(--gold); background: rgba(201,168,76,0.08); }
.teaser-card--gold .teaser-icon {
  border-color: rgba(26,18,8,0.35);
  color: var(--on-gold);
}
.teaser-card--gold:hover .teaser-icon { border-color: var(--on-gold); background: rgba(26,18,8,0.06); }
.teaser-icon svg { width: 22px; height: 22px; }
.teaser-title {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 500;
  color: var(--white); margin-bottom: 0.8rem;
}
.teaser-text {
  font-size: 0.85rem; color: var(--grey);
  line-height: 1.8; margin-bottom: 1.2rem;
}
.teaser-link {
  font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 500; color: var(--gold);
}
.teaser-card--gold .teaser-title { color: var(--on-gold); font-weight: 600; }
.teaser-card--gold .teaser-text  { color: rgba(26,18,8,0.78); }
.teaser-card--gold .teaser-link  { color: var(--on-gold); font-weight: 600; }

/* ── HOME: CONTACT DETAILS ── */
.hc-list { display: flex; flex-direction: column; gap: 1.5rem; }
.hc-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
  text-decoration: none;
}
.hc-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.hc-item:hover .hc-icon { border-color: var(--gold); background: rgba(201,168,76,0.08); }
.hc-icon svg { width: 19px; height: 19px; }
.hc-label {
  display: block;
  font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.3rem;
}
.hc-value {
  display: block;
  font-size: 0.9rem; color: var(--white); line-height: 1.6;
  transition: color 0.3s ease;
}
a.hc-item:hover .hc-value { color: var(--gold); }
.home-contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 768px) {
  .home-teaser-grid { grid-template-columns: 1fr; }
  .home-contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}
/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── MOBILE ── */
@media (max-width: 900px) {
  nav#navbar { padding: 0 1rem 0 0; }
  /* Home page sections mobile */
  #home { width: 100vw !important; max-width: 100% !important; }
  .hero-bg { width: 100% !important; }
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="padding:5rem 4rem"],
  [style*="padding: 5rem 4rem"] {
    padding: 3rem 1.5rem !important;
  }
  .home-section { padding: 3rem 1.5rem; }
  [style*="gap:5rem"],
  [style*="gap: 5rem"] {
    gap: 2rem !important;
  }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 80px; left: 0; right: 0; background: var(--dark); padding: 2rem; gap: 1.5rem; border-bottom: 1px solid rgba(201,168,76,0.2); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  section { padding: 5rem 1.5rem; }
  #about { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 1.5rem; }
  .about-content { padding-right: 0; }
  .about-visual { height: 320px; }
  .stats-strip { grid-template-columns: 1fr 1fr; padding: 2rem 1.5rem; }
  .products-grid { grid-template-columns: 1fr; }
  .prod-tabs { flex-direction: column; }
  .prod-tab { border-right: none; border-bottom: 1px solid rgba(201,168,76,0.2); }
  .projects-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .project-item { grid-column: span 1 !important; grid-row: span 1 !important; height: 200px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .quote-form { padding: 2rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  footer { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
}

/* ============================================================
   CONTACT PAGE — icons, form states, map
   ============================================================ */

.contact-item-icon { color: var(--gold); border-radius: 3px; transition: border-color 0.3s ease, background 0.3s ease; }
.contact-item-icon svg { width: 19px; height: 19px; }
.contact-item:hover .contact-item-icon { border-color: var(--gold); background: rgba(201,168,76,0.08); }

.contact-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.3);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.contact-link:hover, .contact-link:focus-visible { border-color: var(--gold); color: var(--gold); }

/* Required-field marker */
.req { color: var(--gold); margin-left: 2px; }

/* Honeypot — hidden from people, visible to spam bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Inline form status message (replaces alert() popups) */
.form-status {
  margin-top: 1.2rem;
  padding: 0.9rem 1.1rem;
  border-radius: 3px;
  font-size: 0.85rem;
  line-height: 1.6;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-error {
  background: rgba(176,58,46,0.08);
  border: 1px solid rgba(176,58,46,0.35);
  color: #8C2F26;
}
.form-status.is-success {
  background: rgba(201,168,76,0.10);
  border: 1px solid rgba(201,168,76,0.45);
  color: var(--white);
}

.form-note {
  font-size: 0.75rem;
  color: var(--grey);
  line-height: 1.7;
  margin-top: 1rem;
}

button[disabled] { opacity: 0.6; cursor: not-allowed; }

/* Map embed */
.map-wrap {
  margin-top: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 3px;
  overflow: hidden;
  line-height: 0;
}
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }
@media (max-width: 900px) {
  .map-wrap { margin-top: 2.5rem; }
  .map-wrap iframe { height: 300px; }
}

/* ============================================================
   ABOUT PAGE — closing call to action
   ============================================================ */

.cta-band {
  background: var(--dark2);
  border-top: 1px solid rgba(201,168,76,0.25);
  border-bottom: 1px solid rgba(201,168,76,0.25);
  padding: 4rem 2rem;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.cta-band h2 em { font-style: italic; color: var(--gold); }
.cta-band p {
  font-size: 0.95rem;
  color: var(--grey);
  line-height: 1.9;
  max-width: 560px;
  margin: 0 auto 2rem;
}
.cta-band-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Visible focus ring for keyboard users, sitewide */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ============================================================
   PROJECTS PAGE
   ============================================================ */

/* The overlay used to be hover-only, which meant captions were
   completely invisible on phones. On touch devices it now stays
   visible; on mouse devices it still reveals on hover. */
@media (hover: none), (pointer: coarse) {
  .project-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 55%, transparent 100%);
  }
}
.project-item:focus-within .project-overlay { opacity: 1; }
.project-placeholder img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   QUOTE PAGE
   ============================================================ */

.form-group input[type="file"] {
  padding: 0.6rem 0.7rem;
  font-size: 0.82rem;
  cursor: pointer;
}
.form-group input[type="file"]::file-selector-button {
  background: var(--gold);
  color: var(--on-gold);
  border: none;
  border-radius: 2px;
  padding: 0.45rem 1rem;
  margin-right: 0.9rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
}
.form-hint {
  font-size: 0.72rem;
  color: var(--grey);
  line-height: 1.6;
  margin-top: 0.15rem;
}
fieldset.form-group { border: none; }
fieldset.form-group legend {
  font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 0.5rem;
}
.radio-row { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 0.2rem; }
.radio-row label {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: var(--white);
  letter-spacing: 0; text-transform: none; font-weight: 300;
  cursor: pointer;
}
.radio-row input[type="radio"] { accent-color: var(--gold); width: auto; }

/* ============================================================
   PRODUCTS PAGE — card interaction
   ============================================================ */

.product-card:focus-visible { background: var(--dark3); }
.product-icon svg { width: 20px; height: 20px; }
.product-icon { color: var(--gold); }

/* Detail overlay is hidden from assistive tech when closed */
#product-detail[aria-hidden="true"] { visibility: hidden; }
#product-detail.open { visibility: visible; }

/* ============================================================
   THANK YOU PAGE
   ============================================================ */

.ty-main {
  min-height: calc(100vh - 90px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
}
.ty-check {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: rgba(201,168,76,0.12);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 2rem;
  color: var(--gold);
}
.ty-check svg { width: 32px; height: 32px; }
.ty-main h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--white);
}
.ty-main h1 em { font-style: italic; color: var(--gold); }
.ty-main p {
  font-size: 1rem;
  color: var(--grey);
  max-width: 480px;
  line-height: 1.9;
  margin: 0 auto 2.5rem;
}
.ty-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.ty-contact {
  margin-top: 3rem;
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.9;
}
.ty-contact a { color: var(--gold); text-decoration: none; }
.ty-contact a:hover { text-decoration: underline; }

/* ============================================================
   HOMEPAGE — hero service tiers, audience fork, lead time band
   ============================================================ */

/* Service tiers under the hero headline */
.hero-tiers {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.6rem 1.6rem;
  margin: 0 auto 2.2rem;
  font-size: 0.74rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.hero-tiers span { display: flex; align-items: center; gap: 1.6rem; }
.hero-tiers span::after {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold);
}
.hero-tiers span:last-child::after { display: none; }
@media (max-width: 700px) {
  .hero-tiers { flex-direction: column; gap: 0.5rem; }
  .hero-tiers span::after { display: none; }
}

/* Lead-time / capability band */
.leadtime-band {
  background: var(--dark2);
  border-top: 1px solid rgba(201,168,76,0.25);
  border-bottom: 1px solid rgba(201,168,76,0.25);
  padding: 3.5rem 2rem;
}
.leadtime-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 2.5rem;
  text-align: center;
}
.lt-item-icon {
  width: 46px; height: 46px; margin: 0 auto 1.1rem;
  border: 1px solid rgba(201,168,76,0.4); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.lt-item-icon svg { width: 22px; height: 22px; }
.lt-item h3 {
  font-family: var(--font-display);
  font-size: 1.45rem; font-weight: 500;
  color: var(--white); margin-bottom: 0.5rem;
}
.lt-item p { font-size: 0.85rem; color: var(--grey); line-height: 1.8; }

/* Homeowner vs builder fork */
.fork-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 1.2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.fork-card {
  display: block; text-decoration: none;
  background: var(--dark2);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 4px;
  padding: 2.8rem 2.4rem;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.fork-card:hover, .fork-card:focus-visible {
  border-color: rgba(201,168,76,0.6);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(26,18,8,0.08);
}
.fork-eyebrow {
  font-size: 0.68rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.8rem; font-weight: 500;
}
.fork-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 500;
  color: var(--white); margin-bottom: 0.9rem;
}
.fork-card > p { font-size: 0.88rem; color: var(--grey); line-height: 1.85; margin-bottom: 1.4rem; }
.fork-list { list-style: none; margin-bottom: 1.6rem; }
.fork-list li {
  font-size: 0.84rem; color: var(--grey);
  line-height: 1.7; padding-left: 1.2rem;
  position: relative; margin-bottom: 0.45rem;
}
.fork-list li::before {
  content: ''; position: absolute; left: 0; top: 0.6rem;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}
.fork-link {
  font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 500; color: var(--gold);
}

/* "Why DH Aluminium" capability chips */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 0.9rem;
  max-width: 1100px;
  margin: 0 auto;
}
.why-chip {
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: 3px;
  padding: 1rem 1.2rem;
  font-size: 0.83rem;
  color: var(--white);
  display: flex; align-items: center; gap: 0.7rem;
  background: var(--dark2);
}
.why-chip svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }

/* Group link in the footer */
.footer-group {
  font-size: 0.75rem;
  color: var(--grey);
  margin-top: 0.4rem;
}
.footer-group a { color: var(--gold); text-decoration: none; }
.footer-group a:hover { text-decoration: underline; }

/* ============================================================
   HUB + PRODUCT CATEGORY PAGES
   ============================================================ */

/* Compact page hero (not full-viewport like the homepage).
   Clearance for the fixed navbar now lives on .crumbs above it. */
.page-hero {
  padding: 2rem 4rem 4.5rem;
  background: var(--dark);
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.page-hero-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 300; line-height: 1.15;
  color: var(--white); margin-bottom: 1.2rem;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero p { font-size: 0.98rem; color: var(--grey); line-height: 1.9; }
.page-hero .gold-line { margin: 0 auto 1.5rem; }
@media (max-width: 900px) { .page-hero { padding: 1.5rem 1.5rem 3rem; } }

/* Breadcrumbs — sit in normal flow, so they carry the clearance for the
   90px fixed navbar above them. .page-hero's top padding is reduced to match. */
.crumbs {
  display: block;
  position: static;
  max-width: 1200px; margin: 0 auto;
  padding: calc(90px + 1.6rem) 4rem 0;
  font-size: 0.74rem; letter-spacing: 1px; color: var(--grey);
  background: none; border: none; height: auto;
}
.crumbs a { color: var(--grey); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { color: var(--gold); }
@media (max-width: 900px) { .crumbs { padding: calc(80px + 1.2rem) 1.5rem 0; } }

/* Category cards on hub pages */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.4rem;
  max-width: 1200px; margin: 0 auto;
}
.cat-card {
  display: flex; flex-direction: column;
  text-decoration: none;
  background: var(--dark2);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 4px; overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.cat-card:hover, .cat-card:focus-visible {
  border-color: rgba(201,168,76,0.6);
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(26,18,8,0.10);
}
.cat-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--dark3); }
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.cat-card:hover .cat-card-img img { transform: scale(1.04); }
.cat-card-body { padding: 1.8rem; display: flex; flex-direction: column; flex: 1; }
.cat-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem; font-weight: 500;
  color: var(--white); margin-bottom: 0.6rem;
}
.cat-card p { font-size: 0.85rem; color: var(--grey); line-height: 1.8; margin-bottom: 1.2rem; flex: 1; }
.cat-card-link {
  font-size: 0.73rem; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 500; color: var(--gold);
}
.cat-badge {
  display: inline-block; margin-bottom: 0.7rem;
  font-size: 0.62rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--on-gold); background: var(--gold);
  padding: 0.28rem 0.7rem; border-radius: 2px; font-weight: 600;
}

/* Two-column prose block ("is this right for you") */
.split-block {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 2.5rem;
}
.split-block h3 {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 500;
  color: var(--white); margin-bottom: 1rem;
}
.tick-list, .cross-list { list-style: none; }
.tick-list li, .cross-list li {
  font-size: 0.88rem; color: var(--grey); line-height: 1.75;
  padding-left: 1.7rem; position: relative; margin-bottom: 0.7rem;
}
.tick-list li::before {
  content: '\2713'; position: absolute; left: 0; top: 0;
  color: var(--gold); font-weight: 700;
}
.cross-list li::before {
  content: '\2013'; position: absolute; left: 0; top: 0;
  color: var(--grey); font-weight: 700;
}

/* Specification table */
.spec-table {
  width: 100%; max-width: 900px; margin: 0 auto;
  border-collapse: collapse;
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: 3px; overflow: hidden;
}
.spec-table th, .spec-table td {
  text-align: left; padding: 0.95rem 1.3rem;
  font-size: 0.87rem; line-height: 1.6;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.spec-table th {
  width: 38%; color: var(--gold); font-weight: 500;
  letter-spacing: 0.5px; background: var(--dark2);
}
.spec-table td { color: var(--white); background: var(--dark); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
@media (max-width: 620px) {
  .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table th { border-bottom: none; padding-bottom: 0.3rem; }
}

/* FAQ accordion */
.faq-list { max-width: 850px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 1.25rem 2.5rem 1.25rem 0;
  font-size: 0.98rem; color: var(--white);
  position: relative; font-weight: 400;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 0.4rem; top: 1.05rem;
  color: var(--gold); font-size: 1.3rem; font-weight: 300;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary:hover { color: var(--gold); }
.faq-item .faq-body {
  padding: 0 2.5rem 1.4rem 0;
  font-size: 0.88rem; color: var(--grey); line-height: 1.85;
}

/* System cards on a category page */
.sys-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1.1rem;
  max-width: 1200px; margin: 0 auto;
}
.sys-card {
  background: var(--dark2);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 4px; padding: 1.7rem;
}
.sys-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 500;
  color: var(--white); margin-bottom: 0.5rem;
}
.sys-card p { font-size: 0.83rem; color: var(--grey); line-height: 1.75; }
.sys-tag {
  display: inline-block; margin-top: 0.9rem;
  font-size: 0.62rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201,168,76,0.35);
  padding: 0.25rem 0.6rem; border-radius: 2px;
}


/* ============================================================
   NAV BREAKPOINT
   The nav grew from 6 items to 8, which needs roughly 1250px to sit
   alongside the logo. Below that we collapse to the hamburger menu.
   ============================================================ */
@media (max-width: 1250px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(201,168,76,0.2);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; margin-left: auto; }
}

/* Nav is 80px tall below 900px, so the dropdown sits higher */
@media (max-width: 900px) {
  .nav-links { top: 80px; }
}


/* ============================================================
   PHONE REFINEMENTS
   ============================================================ */
@media (max-width: 600px) {
  /* Logo at 72px tall is roughly 300px wide — too much beside a hamburger
     on a 360px screen. Scaled down so the header never crowds or crops. */
  .nav-logo-icon img,
  .nav-logo-text img { height: 52px; }
  nav#navbar { height: 72px; }
  .nav-links { top: 72px; }

  /* Project tiles: two-up leaves captions unreadably narrow on a phone */
  .projects-grid { grid-template-columns: 1fr; }
  .project-item { height: 230px; }

  /* Tighten the full-width bands */
  .leadtime-band { padding: 2.5rem 1.5rem; }
  .leadtime-inner { gap: 2rem; }
  .cta-band { padding: 3rem 1.5rem; }
  .fork-card { padding: 2rem 1.5rem; }
  .cat-card-body { padding: 1.4rem; }
  .sys-card { padding: 1.4rem; }

  /* Breadcrumbs and hero clearance follow the shorter 72px header */
  .crumbs { padding: calc(72px + 1rem) 1.25rem 0; }
  .page-hero { padding: 1.25rem 1.25rem 2.5rem; }
  .home-section { padding: 2.5rem 1.25rem; }

  /* Stop long words forcing the page wider than the screen */
  h1, h2, h3, .hero-title, .page-hero h1 { overflow-wrap: break-word; }

  /* FAQ answers need the room more than the padding */
  .faq-item summary { padding-right: 2rem; font-size: 0.92rem; }
  .faq-item .faq-body { padding-right: 0; }
}

/* Last-resort guard: nothing should ever scroll the page sideways */
html, body { overflow-x: hidden; max-width: 100%; }

/* ============================================================
   PRODUCT RANGE — alternating image / text blocks
   ============================================================ */

.range-section { padding: 5rem 4rem; background: var(--dark); }
.range-inner { max-width: 1200px; margin: 0 auto; }

.range-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4.5rem;
}
.range-block:last-child { margin-bottom: 0; }

/* Every second block flips so the images alternate down the page */
.range-block:nth-child(even) .range-media { order: 2; }
@media (max-width: 800px) {
  .range-block:nth-child(even) .range-media { order: 0; }
}

.range-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--dark3);
}
.range-media img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.range-block:hover .range-media img { transform: scale(1.03); }

.range-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.range-body h2 em { font-style: italic; color: var(--gold); }
.range-body > p {
  font-size: 0.92rem;
  color: var(--grey);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

/* Product type chips inside each range block */
.range-types {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.8rem;
}
.range-types a {
  font-size: 0.76rem;
  letter-spacing: 0.5px;
  color: var(--white);
  text-decoration: none;
  background: var(--dark2);
  border: 1px solid rgba(201,168,76,0.28);
  border-radius: 2px;
  padding: 0.45rem 0.9rem;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.range-types a:hover, .range-types a:focus-visible {
  border-color: var(--gold);
  background: rgba(201,168,76,0.10);
  color: var(--gold);
}

/* ============================================================
   HOW IT WORKS — four-step process
   ============================================================ */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 2rem;
  max-width: 1150px;
  margin: 0 auto;
}
.step-item { text-align: center; position: relative; }
.step-num {
  width: 48px; height: 48px; margin: 0 auto 1.1rem;
  border: 1px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem; color: var(--gold);
}
.step-item h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 500;
  color: var(--white); margin-bottom: 0.6rem;
}
.step-item p { font-size: 0.85rem; color: var(--grey); line-height: 1.8; }

/* ============================================================
   REVIEWS
   ============================================================ */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.2rem;
  max-width: 1150px;
  margin: 0 auto;
}
.review-card {
  background: var(--dark2);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 4px;
  padding: 1.8rem;
  display: flex; flex-direction: column;
}
.review-stars { color: var(--gold); font-size: 0.95rem; letter-spacing: 3px; margin-bottom: 0.9rem; }
.review-text {
  font-size: 0.89rem; color: var(--white);
  line-height: 1.85; margin-bottom: 1.2rem; flex: 1;
}
.review-name { font-size: 0.8rem; color: var(--gold); letter-spacing: 1px; }
.review-meta { font-size: 0.72rem; color: var(--grey); margin-top: 0.2rem; }
.reviews-cta { text-align: center; margin-top: 2.5rem; }
.reviews-cta a {
  font-size: 0.76rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(201,168,76,0.4);
  padding-bottom: 2px;
}
.reviews-cta a:hover { border-color: var(--gold); }

@media (max-width: 900px) {
  .range-section { padding: 3rem 1.5rem; }
  .range-block { gap: 2rem; margin-bottom: 3rem; }
}
@media (max-width: 600px) {
  .range-section { padding: 2.5rem 1.25rem; }
}
