/* ===== BWJ Website — Global Styles ===== */

:root {
  --primary: #1a1a1a;
  --primary-light: #2a2a2a;
  --accent: #CC7A2E;
  --accent-hover: #B56A22;
  --accent-light: rgba(204, 122, 46, 0.1);
  --dark: #111;
  --grey-900: #222;
  --grey-700: #555;
  --grey-400: #999;
  --grey-200: #e2e2e2;
  --grey-100: #f5f5f5;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --transition: .25s ease;
  --max-width: 1200px;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.65;
  background: var(--white);
  font-optical-sizing: auto;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
ul { list-style: none; }

/* ===== Utility ===== */
.container { width: min(92%, var(--max-width)); margin: 0 auto; }
.section { padding: clamp(3.5rem, 6vw, 5rem) 0; }
.section--grey { background: var(--grey-100); }
.text-center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.025em;
  color: var(--primary);
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: .5rem; }
p { margin-bottom: 1rem; color: var(--grey-700); text-wrap: pretty; }
.section-subtitle {
  max-width: 38rem;
  margin: -.15rem auto 2.2rem;
  color: var(--grey-400);
  font-family: var(--font-heading);
  font-size: .98rem;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.45;
  text-align: center;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  line-height: 1.15;
  text-align: center;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-hover); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn--outline:hover { background: var(--white); color: var(--primary); }
.btn--dark { background: var(--primary); color: var(--white); }
.btn--dark:hover { background: var(--primary-light); color: var(--white); transform: translateY(-2px); }
.btn--secondary { background: var(--grey-100); color: var(--primary); }
.btn--secondary:hover { background: var(--grey-200); color: var(--primary); transform: translateY(-2px); }

/* ===== Header / Nav ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  transition: background var(--transition);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 24px;
  width: auto;
}
.nav-links { display: flex; gap: clamp(1rem, 2vw, 1.8rem); align-items: center; }
.nav-links a {
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 600;
  color: var(--grey-700);
  position: relative;
  padding: .25rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
  background: transparent;
  color: var(--grey-700) !important;
  padding: .25rem 0;
  border-radius: 0;
}
.nav-cta::after { display: block !important; }
.nav-cta:hover,
.nav-cta.active { background: transparent; color: var(--primary) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--primary);
  margin: 6px 0;
  transition: var(--transition);
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    padding: 1rem 1rem 1.4rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform var(--transition);
  }
  .nav-links a {
    display: block;
    padding: .75rem .25rem;
  }
  .nav-links a::after { display: none; }
  .nav-cta {
    width: 100%;
    margin-top: .35rem;
    padding: .75rem .25rem;
    border-radius: 0;
  }
  .nav-links.open { transform: translateY(0); }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: clamp(32rem, 82vh, 54rem);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  overflow: hidden;
  padding-top: 72px;
}
.hero--short { min-height: clamp(19rem, 46vh, 28rem); }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero__content h1 { color: var(--white); margin-bottom: 1rem; }
.hero__content p {
  color: rgba(255,255,255,.85);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  margin-bottom: 2rem;
  max-width: 48ch;
}
.hero__buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== Hero Carousel ===== */
.hero-carousel {
  position: relative;
  min-height: 68vh;
  max-height: 760px;
  overflow: hidden;
  padding-top: 72px;
  background: var(--primary);
}
.hero-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  display: flex;
  align-items: center;
}
.hero-carousel__slide.active { opacity: 1; }
.hero-carousel__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-carousel__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.72) 0%, rgba(17, 17, 17, 0.48) 42%, rgba(17, 17, 17, 0.2) 100%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.2) 0%, rgba(17, 17, 17, 0.48) 100%);
  z-index: 1;
}
.hero-carousel__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  color: var(--white);
  text-align: left;
  margin: 0 auto;
  padding: 0 2rem;
  width: min(90%, var(--max-width));
}
.hero-carousel__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,.9);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-carousel__eyebrow::before {
  content: "";
  width: 2.75rem;
  height: 1px;
  background: rgba(255,255,255,.55);
}
.hero-carousel__title {
  color: var(--white);
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.1vw, 3.55rem);
  font-weight: 700;
  line-height: 1.08;
  text-wrap: balance;
}
.hero-carousel__body {
  max-width: 54ch;
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  margin-bottom: 1.75rem;
}
.hero-carousel .hero__buttons { margin-top: .5rem; }
.hero-carousel__dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: .75rem;
}
.hero-carousel__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.hero-carousel__dot.active { background: var(--accent); }

@media (max-width: 768px) {
  .container { width: min(94%, var(--max-width)); }
  .section { padding: 3rem 0; }
  h1 { font-size: clamp(1.95rem, 8vw, 2.6rem); }
  h2 { font-size: clamp(1.55rem, 6vw, 2.1rem); }
  h3 { font-size: 1.18rem; }
  .hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 2.5rem;
  }
  .hero--short {
    min-height: 20rem;
    padding-bottom: 1.75rem;
  }
  .hero__content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .hero__buttons {
    gap: .75rem;
  }
  .btn {
    width: 100%;
    padding: .95rem 1.25rem;
  }
  .hero-carousel {
    min-height: 56vh;
    max-height: none;
  }
  .hero-carousel__content {
    padding: 0 1.25rem;
  }
  .hero-carousel__title {
    max-width: 14ch;
    font-size: clamp(1.8rem, 7vw, 2.55rem);
  }
  .hero-carousel__body {
    max-width: 34ch;
    font-size: 1rem;
    margin-bottom: 1.35rem;
  }
  .hero-carousel__eyebrow {
    font-size: .72rem;
    letter-spacing: .14em;
  }
  .hero-carousel .hero__buttons {
    gap: .75rem;
  }
  .hero-carousel .btn {
    padding: .75rem 1.4rem;
  }
}

@media (max-width: 560px) {
  .section { padding: 2.7rem 0; }
  .hero__buttons .btn {
    width: 100%;
  }
  .hero-carousel {
    min-height: 52vh;
  }
  .hero-carousel__dots {
    bottom: 1rem;
  }
}

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 2rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__img {
  width: 100%;
  height: 220px;
  background: var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-400);
  font-size: .9rem;
}
.card__img img,
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.core-diagram {
  background:
    radial-gradient(circle at top right, rgba(204, 122, 46, 0.16), transparent 40%),
    linear-gradient(135deg, #faf5ee 0%, #f2e9dc 100%);
  padding: 0;
}
.card__body { padding: 1.5rem; }
.card__body p { font-size: .95rem; }
.card__link {
  font-weight: 600;
  font-size: .9rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.card__link:hover { color: var(--accent-hover); }
.card__link::after {
  content: '\2192';
  transition: transform var(--transition);
}
.card__link:hover::after { transform: translateX(4px); }
.card__tag {
  display: inline-block;
  background: var(--grey-100);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 600;
  padding: .25rem .75rem;
  border-radius: 50px;
  margin-bottom: .75rem;
}

/* ===== Icon features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}
.feature { text-align: center; }
.feature__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.6rem;
  color: var(--accent);
}

/* ===== Stats bar ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 2rem;
  text-align: center;
  padding: 3rem 0;
}
.stat__number {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat__label {
  margin-top: .5rem;
  font-size: .95rem;
  color: var(--grey-700);
}

/* ===== Testimonial / Quote ===== */
.quote-block {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}
.quote-block blockquote {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.6;
}
.quote-block cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 2rem; }
.cta-banner .btn { width: auto; min-width: min(100%, 220px); }
.cta-banner__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== Form ===== */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: .4rem;
  font-size: .95rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}
textarea { resize: vertical; min-height: 140px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.form-note {
  margin-top: .85rem;
  font-size: .9rem;
  color: var(--grey-400);
}
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ===== Leadership section ===== */
.leadership-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(204, 122, 46, 0.08) 0%, rgba(204, 122, 46, 0.03) 18%, var(--white) 18%, var(--white) 100%);
}
.leadership-section__intro {
  align-items: start;
  gap: 3.5rem;
  margin-bottom: 3rem;
}
.leadership-section__panel {
  margin-top: 1rem;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}
.leader-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.leader-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(204, 122, 46, 0.3);
}
.leader-card__photo {
  aspect-ratio: 4 / 5;
  background: var(--grey-100);
  overflow: hidden;
}
.leader-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.leader-card__content {
  padding: 1rem 1rem 1.15rem;
}
.leader-card__content h3 {
  margin-bottom: .55rem;
  font-size: 1.08rem;
}
.leader-card__role {
  display: inline-block;
  margin-bottom: .45rem;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.leader-card__content p {
  margin: 0;
  color: var(--grey-400);
  font-size: .92rem;
  line-height: 1.6;
}
.staff-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--grey-200);
}
.staff-section--standalone {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.staff-section__header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}
.staff-section__header h3 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}
.staff-section__header p {
  margin: 0;
  font-size: .98rem;
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}
.staff-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.staff-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(204, 122, 46, 0.3);
}
.staff-card__photo {
  aspect-ratio: 4 / 5;
  background: var(--grey-100);
  overflow: hidden;
}
.staff-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.staff-card__body {
  padding: 1rem 1rem 1.1rem;
}
.staff-card__label {
  display: inline-block;
  margin-bottom: .45rem;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.staff-card h4 {
  margin-bottom: .2rem;
  font-size: 1.02rem;
}
.staff-card p {
  margin: 0;
  color: var(--grey-400);
  font-size: .92rem;
}
@media (max-width: 1100px) {
  .leadership-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .staff-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .leadership-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
  .staff-section__header {
    grid-template-columns: 1fr;
    gap: .9rem;
  }
  .staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .leadership-section {
    background: linear-gradient(180deg, rgba(204, 122, 46, 0.08) 0%, var(--white) 22%, var(--white) 100%);
  }
  .leadership-section__intro {
    margin-bottom: 2.2rem;
  }
  .leadership-grid {
    grid-template-columns: 1fr;
  }
  .staff-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
  }
  .staff-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Timeline ===== */
.timeline { max-width: 700px; margin: 2rem auto 0; position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
}
.timeline__item { margin-bottom: 2rem; position: relative; }
.timeline__item::before {
  content: '';
  position: absolute;
  left: -2rem; top: .5rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
}
.timeline__year {
  font-weight: 800;
  color: var(--accent);
  font-size: .9rem;
}

/* ===== Gallery grid ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 1.5rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item__img {
  width: 100%;
  height: 260px;
  background: var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-400);
  font-size: .9rem;
  transition: transform var(--transition);
}
.gallery-item:hover .gallery-item__img { transform: scale(1.05); }
.gallery-item__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: var(--white);
  padding: 1.5rem 1rem .75rem;
  transform: translateY(100%);
  transition: transform var(--transition);
}
.gallery-item:hover .gallery-item__overlay { transform: translateY(0); }
.gallery-item__overlay h3 { color: var(--white); font-size: 1rem; margin-bottom: .25rem; }
.gallery-item__overlay p { color: rgba(255,255,255,.8); font-size: .85rem; margin: 0; }

/* ===== Product variation galleries ===== */
.variation-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.5rem;
}
.variation-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}
.variation-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--grey-200);
}
.variation-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.variation-card:hover .variation-card__img img {
  transform: scale(1.04);
}
.variation-card__body {
  padding: 1rem 1.1rem 1.15rem;
}
.variation-card__body h3 {
  margin-bottom: .25rem;
  font-size: 1.05rem;
}
.variation-card__body p {
  margin: 0;
  color: var(--grey-700);
  font-size: .94rem;
  line-height: 1.45;
}

.finish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 1rem;
}
.finish-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.finish-card__img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--grey-100);
}
.finish-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.finish-card__body {
  padding: .9rem;
}
.finish-card h3 {
  margin-bottom: .15rem;
  font-size: .98rem;
}
.finish-card p {
  margin: 0;
  color: var(--grey-400);
  font-size: .86rem;
  line-height: 1.35;
}

/* ===== Filter tabs ===== */
.filter-tabs {
  display: flex;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.filter-tab {
  padding: .5rem 1.25rem;
  border-radius: 50px;
  background: var(--grey-100);
  color: var(--grey-700);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.filter-tab:hover,
.filter-tab.active { background: var(--primary); color: var(--white); }

/* ===== Job listings ===== */
.job-list { max-width: 800px; margin: 0 auto; }
.job-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
  transition: box-shadow var(--transition);
}
.job-card:hover { box-shadow: var(--shadow-lg); }
.job-card__header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: .5rem; }
.job-card__meta { display: flex; gap: 1rem; margin-top: .5rem; flex-wrap: wrap; }
.job-card__meta span {
  font-size: .85rem;
  color: var(--grey-400);
}
.job-card__meta span::before {
  margin-right: .35rem;
}

/* ===== Map ===== */
.map-panel {
  width: 100%;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.map-embed {
  min-height: 340px;
}
.map-embed iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}
.map-panel__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem;
  border-top: 1px solid var(--grey-200);
}
.map-panel__body p {
  margin: 0;
}
.map-panel__actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: .8rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--grey-200);
  background: var(--grey-100);
  color: var(--primary);
  font-weight: 600;
}
.map-link:hover {
  color: var(--primary);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  .map-embed,
  .map-embed iframe {
    min-height: 260px;
  }
  .map-panel__body {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ===== Footer ===== */
.site-footer {
  background: var(--grey-900);
  color: rgba(255,255,255,.7);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer h4 { color: var(--white); margin-bottom: 1rem; font-size: 1rem; }
.site-footer p { font-size: .9rem; margin-bottom: .5rem; }
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: var(--accent); }
.footer-links li { margin-bottom: .4rem; }
.footer-links a { font-size: .9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: .85rem;
}

/* ===== Quick-access toolbar ===== */
.quick-toolbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 1rem;
  padding: 2.5rem 0;
}
.quick-toolbar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1.25rem 1rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--grey-200);
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  color: var(--grey-700);
  font-size: .9rem;
  font-weight: 500;
}
.quick-toolbar__item:hover {
  border-color: var(--accent);
  color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.quick-toolbar__icon {
  font-size: 1.5rem;
  color: var(--accent);
}

/* ===== Numbered product cards (CS Cavity Sliders style) ===== */
.product-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-card__number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(255,255,255,.6);
  z-index: 2;
  line-height: 1;
}
.product-card__img {
  width: 100%;
  height: 280px;
  background: var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-400);
  font-size: .85rem;
  position: relative;
}
.product-card__img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(0,0,0,.15));
}
.product-card__body {
  padding: 1.5rem;
}
.product-card__body h3 {
  font-size: 1.15rem;
  margin-bottom: .5rem;
}
.product-card__body p {
  font-size: .92rem;
  margin-bottom: 1rem;
}
.product-card__link {
  font-weight: 600;
  font-size: .9rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.product-card__link:hover { color: var(--accent-hover); }
.product-card__link::after {
  content: '\2192';
  transition: transform var(--transition);
}
.product-card__link:hover::after { transform: translateX(4px); }

.stair-type-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.2rem;
}
.stair-type-grid .product-card__img {
  height: clamp(320px, 30vw, 380px);
}

/* ===== Page subtitle pattern (Homeview style) ===== */
.page-intro {
  text-align: center;
  padding-top: 2rem;
}
.page-intro--aligned {
  text-align: left;
  padding-top: 0;
}
.page-intro__subtitle {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}
.page-intro h1 {
  margin-bottom: 1rem;
}
.page-intro p {
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}
.page-intro--aligned p {
  max-width: 760px;
  margin: 0 0 2rem;
}

.page-jump {
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.page-jump a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.1rem;
  border-radius: 999px;
  background: var(--grey-100);
  color: var(--primary);
  font-size: .92rem;
  font-weight: 600;
}
.page-jump a:hover {
  background: var(--accent-light);
  color: var(--primary);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.proof-strip__item {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.proof-strip__value {
  display: block;
  color: var(--accent);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: .35rem;
}
.proof-strip__label {
  color: var(--grey-700);
  font-size: .92rem;
}
@media (max-width: 768px) {
  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .proof-strip {
    grid-template-columns: 1fr;
  }
}

.info-panel {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.5rem;
  font-weight: 700;
  color: var(--primary);
  position: relative;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent);
}
.faq-item[open] summary::after {
  content: '\2212';
}
.faq-item p {
  padding: 0 1.5rem 1.4rem;
  margin: 0;
}

/* ===== Spec table ===== */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  min-width: 560px;
}
.spec-table th,
.spec-table td {
  padding: .75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--grey-200);
  font-size: .95rem;
}
.spec-table th {
  background: var(--grey-100);
  font-weight: 600;
  color: var(--primary);
}
.spec-table tr:hover td { background: rgba(212,165,74,.05); }

/* ===== Two-column content block ===== */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.content-split--reverse { direction: rtl; }
.content-split--reverse > * { direction: ltr; }
@media (max-width: 768px) {
  .content-split,
  .content-split--reverse { grid-template-columns: 1fr; direction: ltr; }
}
.content-split__img {
  width: 100%;
  height: clamp(280px, 42vw, 380px);
  background: var(--grey-200);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-400);
  font-size: .85rem;
}
.content-split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-copy {
  max-width: 980px;
}
.story-copy p {
  max-width: 920px;
}

/* ===== Badge / certification strip ===== */
.cert-strip {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 2rem 0;
}
.cert-strip__item {
  width: 100px;
  height: 60px;
  background: var(--grey-200);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-400);
  font-size: .7rem;
}

/* ===== Benefits list (checkmarks) ===== */
.benefits-list {
  list-style: none;
  padding: 0;
}
.benefits-list li {
  padding: .4rem 0 .4rem 1.75rem;
  position: relative;
  color: var(--grey-700);
  font-size: .95rem;
}
.benefits-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===== CTA Image Row ===== */
.cta-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.9rem, 1.5vw, 1.4rem);
  padding: 1rem 0 3.25rem;
}
.cta-row__card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  min-height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform var(--transition), box-shadow var(--transition);
}
.cta-row__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.cta-row__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.2rem, 1.6vw, 1.8rem);
  background:
    linear-gradient(180deg, rgba(17,17,17,0.08) 0%, rgba(17,17,17,0.26) 45%, rgba(17,17,17,0.82) 100%);
  color: var(--white);
}
.cta-row__meta {
  color: rgba(255,255,255,.78);
  font-size: clamp(.68rem, .72vw, .78rem);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .35rem;
}
.cta-row__label {
  color: var(--white);
  font-size: clamp(1.28rem, 1.55vw, 1.7rem);
  line-height: 1.1;
  margin: 0;
}
.cta-row__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.cta-row__card:hover img {
  transform: scale(1.04);
}
@media (max-width: 1024px) {
  .cta-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .cta-row {
    grid-template-columns: 1fr;
    padding: .5rem 0 2rem;
  }
  .cta-row__card {
    aspect-ratio: 16 / 11;
  }
}

/* ===== Project Showcase ===== */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 2vw, 2rem);
  padding: 4rem 0;
}
.showcase--three {
  grid-template-columns: repeat(3, 1fr);
}
.showcase__card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform var(--transition), box-shadow var(--transition);
}
.showcase__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.showcase__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.showcase__card:hover img { transform: scale(1.04); }
.showcase__card-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(1.2rem, 1.6vw, 1.8rem);
  background:
    linear-gradient(180deg, rgba(17,17,17,0.08) 0%, rgba(17,17,17,0.26) 45%, rgba(17,17,17,0.82) 100%);
}
.showcase__card-overlay h3 { color: var(--white); font-size: clamp(1.28rem, 1.55vw, 1.7rem); margin-bottom: .25rem; }
.showcase__card-overlay p { color: rgba(255,255,255,.8); font-size: .95rem; margin: 0; }
@media (max-width: 768px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase__card { min-height: 300px; }
}

/* ===== Value Propositions ===== */
.value-props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
  padding: 2rem 0;
}
.value-props--four {
  grid-template-columns: repeat(4, 1fr);
}
.value-prop__icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent);
}
.value-prop h3 { margin-bottom: .75rem; }
.value-prop p { font-size: .95rem; max-width: 320px; margin: 0 auto; }
@media (max-width: 768px) {
  .value-props { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== Team Photo Section ===== */
.team-photo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 500px;
}
.team-photo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}
.team-photo__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  background: var(--grey-100);
}
.team-photo__content h2 { margin-bottom: 1rem; }
.team-photo__content p { margin-bottom: 1.5rem; }

.team-photo--portraits {
  display: block;
  background: var(--grey-100);
  padding: clamp(3.5rem, 6vw, 5rem) 0;
}
.team-photo__inner {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.team-photo--portraits .portrait-stack {
  justify-self: start;
  align-self: center;
}
.team-photo--portraits .team-photo__content {
  background: transparent;
  padding: 0;
}
.portrait-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .35rem;
  align-content: center;
  min-height: 0;
  width: min(100%, 520px);
  padding: 0;
  background: transparent;
}
.portrait-stack__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  min-height: 0;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.portrait-stack__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: grayscale(1);
}
.portrait-stack__item figcaption {
  position: absolute;
  left: .58rem;
  right: .58rem;
  bottom: .58rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: .74rem;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}
.team-expertise-list {
  display: grid;
  gap: .6rem;
  margin: .2rem 0 1.6rem;
  padding: 0;
  list-style: none;
}
.team-expertise-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--grey-700);
  font-size: .98rem;
  line-height: 1.45;
}
.team-expertise-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .65em;
  width: .42rem;
  height: .42rem;
  border-radius: 999px;
  background: var(--accent);
}
.team-expertise-list strong {
  color: var(--dark);
}
.portrait-stack__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.58) 100%);
  pointer-events: none;
}
@media (max-width: 1024px) {
  .showcase--three { grid-template-columns: repeat(2, 1fr); }
  .value-props--four { grid-template-columns: repeat(2, 1fr); }
  .stair-type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .team-photo { grid-template-columns: 1fr; }
  .team-photo__inner {
    grid-template-columns: 1fr;
  }
  .team-photo__img {
    min-height: 260px;
  }
  .portrait-stack {
    min-height: auto;
    grid-template-columns: repeat(2, 1fr);
    width: min(100%, 460px);
  }
  .portrait-stack__item,
  .portrait-stack__item--large,
  .portrait-stack__item--tall,
  .portrait-stack__item--wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  .team-photo__content { padding: 2.5rem 1.5rem; }
  .showcase--three,
  .value-props--four { grid-template-columns: 1fr; }
  .showcase {
    padding: 2rem 0;
    gap: 1.25rem;
  }
  .showcase__card-overlay {
    padding: 1.4rem;
  }
  .page-intro {
    padding-top: .5rem;
  }
  .page-intro p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .page-jump {
    gap: .55rem;
  }
  .page-jump a {
    width: 100%;
    padding: .85rem 1rem;
  }
  .faq-item summary {
    padding: 1rem 1.2rem;
    font-size: .98rem;
  }
  .faq-item summary::after {
    right: 1.2rem;
  }
  .faq-item p {
    padding: 0 1.2rem 1.15rem;
  }
  .product-card__img {
    height: 240px;
  }
  .stair-type-grid .product-card__img {
    height: 300px;
  }
  .job-card {
    padding: 1.25rem;
  }
  .timeline {
    padding-left: 1.4rem;
  }
  .timeline__item::before {
    left: -1.4rem;
  }
  .stats {
    gap: 1.25rem;
    padding: 2rem 0;
  }
  .stat__number {
    font-size: 2.2rem;
  }
  .quote-block,
  .cta-banner {
    padding: 3rem 0;
  }
  .site-footer {
    padding: 3rem 0 1.5rem;
  }
}
@media (max-width: 560px) {
  .cta-banner .btn {
    width: 100%;
  }
  .cta-banner__actions {
    gap: .75rem;
  }
  .content-split {
    gap: 1.5rem;
  }
  .content-split__img {
    height: 240px;
  }
  .product-card__img {
    height: 220px;
  }
  .stair-type-grid {
    grid-template-columns: 1fr;
  }
  .stair-type-grid .product-card__img {
    height: 260px;
  }
  .quick-toolbar {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat__number {
    font-size: 2rem;
  }
}
