/* ============================================
   MASTERCRAFT FLOORING — Design System & Styles
   Updated: Cormorant Garamond + Manrope, cinematic feel
   Ref: robmills.com.au, poliform.it, dinesen.com
   ============================================ */

/* --- Google Fonts: Cormorant Garamond (display) + Manrope (body) --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Manrope:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --gold: #B8A04A;
  --gold-light: #D4C36A;
  --gold-dark: #9A8639;
  --charcoal: #2D2D2D;
  --charcoal-light: #3D3D3D;
  --off-white: #FAFAF8;
  --white: #FFFFFF;
  --text-primary: #2D2D2D;
  --text-body: #333333;
  --text-caption: #6B6B6B;
  --text-light: #999999;
  --footer-bg: #1a1a1a;

  /* Typography: Serif for headings (sparingly), Sans for everything else */
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1200px;
  --section-padding: 120px;
  --section-padding-mobile: 64px;
  --transition: 0.4s ease;
  --transition-slow: 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--off-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

/* --- Typography --- */
/* Serif (Cormorant Garamond) — h1 and h2 only, used sparingly at generous sizes */
h1, h2 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.15;
}

/* Sans (Manrope) — h3, h4, everything else */
h3, h4 {
  font-family: var(--font-body);
  color: var(--text-primary);
  line-height: 1.3;
}

h1 {
  font-weight: 300;
  font-size: clamp(38px, 5.5vw, 60px);
  letter-spacing: -0.5px;
}

h2 {
  font-weight: 300;
  font-size: clamp(30px, 4.5vw, 44px);
  margin-bottom: 28px;
  letter-spacing: -0.3px;
}

h3 {
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 12px;
}

p { margin-bottom: 20px; }
p:last-child { margin-bottom: 0; }

.section-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding) 0;
}

.section--white { background: var(--white); }
.section--off-white { background: var(--off-white); }
.section--dark {
  background: var(--charcoal);
  color: var(--white);
}
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--dark p { color: #bbbbbb; }
.section--dark .section-label { color: var(--gold); }

.section--footer-dark {
  background: var(--footer-bg);
  color: var(--white);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 16px 40px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn--primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

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

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.5s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.header--transparent {
  background: transparent !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.header--scrolled {
  background: var(--white);
  padding: 10px 0;
  box-shadow: 0 1px 16px rgba(0,0,0,0.06);
}

/* Safe-area padding for iPhone notch/Dynamic Island */
.header {
  padding-top: max(16px, env(safe-area-inset-top));
}
.header--scrolled {
  padding-top: max(10px, env(safe-area-inset-top));
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.header__logo {
  display: block;
  line-height: 0;
}

.header__logo img {
  height: 92px;
  width: auto;
  transition: all var(--transition);
}

.header--scrolled .header__logo img {
  height: 64px;
}

@media (max-width: 768px) {
  .header__logo img { height: 64px; }
  .header--scrolled .header__logo img { height: 48px; }
}

.header__logo .logo--dark { display: none; }
.header__logo .logo--white { display: block; }

.header--scrolled .header__logo .logo--dark { display: block; }
.header--scrolled .header__logo .logo--white { display: none; }

.nav { display: flex; align-items: center; gap: 32px; }

.nav__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.3px;
  transition: color var(--transition);
  position: relative;
}

.header--transparent .nav__link { color: rgba(255,255,255,0.8); }
.header--transparent .nav__link:hover { color: var(--white); }
.header--scrolled .nav__link { color: var(--text-body); }
.header--scrolled .nav__link:hover { color: var(--gold); }

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  background: var(--white);
  min-width: 240px;
  padding: 12px 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s ease;
  margin-top: 16px;
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-menu a {
  display: block;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-body);
  transition: var(--transition);
}

.nav__dropdown-menu a:hover {
  color: var(--gold);
  background: var(--off-white);
}

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  transition: var(--transition);
}

.header--transparent .hamburger span { background: var(--white); }
.header--scrolled .hamburger span { background: var(--text-primary); }

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: var(--white);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background: var(--white);
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 300;
  color: var(--white);
  transition: color var(--transition);
}

.mobile-nav a:hover { color: var(--gold); }

.mobile-nav__sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mobile-nav__sub a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--charcoal);
}

.hero--short {
  min-height: 70vh;
}

.hero__bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero__bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Multi-stop gradient: dark top (protects logo), mid-dark center (protects h1), dark bottom */
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.75) 0%,
      rgba(0,0,0,0.45) 18%,
      rgba(0,0,0,0.55) 50%,
      rgba(0,0,0,0.35) 75%,
      rgba(0,0,0,0.7) 100%
    );
  z-index: 1;
}

/* Extra vignette behind hero text for guaranteed legibility on any frame */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 24px;
}
.hero__content::before {
  content: '';
  position: absolute;
  inset: -40px -80px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}

/* Stronger overlay for busy backgrounds (team photos, action shots, detailed close-ups) */
.hero--strong-overlay .hero__overlay {
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.8) 0%,
      rgba(0,0,0,0.6) 20%,
      rgba(0,0,0,0.65) 50%,
      rgba(0,0,0,0.5) 75%,
      rgba(0,0,0,0.8) 100%
    );
}

/* --- Hero variant: bottom-left text with dark gradient from left (editorial style) --- */
.hero--text-left {
  justify-content: flex-start;
  text-align: left;
}
.hero--text-left .hero__overlay {
  background:
    linear-gradient(to right,
      rgba(0,0,0,0.85) 0%,
      rgba(0,0,0,0.6) 30%,
      rgba(0,0,0,0.2) 55%,
      rgba(0,0,0,0) 80%
    ),
    linear-gradient(to bottom,
      rgba(0,0,0,0.4) 0%,
      rgba(0,0,0,0.2) 40%,
      rgba(0,0,0,0.6) 100%
    );
}
.hero--text-left .hero__content {
  text-align: left;
  padding-left: 6vw;
  padding-right: 24px;
  max-width: 720px;
  margin-right: auto;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Push content toward bottom-center of the hero */
  align-self: flex-end;
  padding-bottom: 12vh;
}
.hero--text-left .hero__content .section-label {
  margin-bottom: 20px;
}
.hero--text-left .hero__content h1 {
  text-align: left;
}

.hero__content .section-label {
  color: var(--gold);
  margin-bottom: 28px;
}

.hero__content h1 {
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.hero__content .section-label {
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  margin-bottom: 48px;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 16px rgba(0,0,0,0.5);
}

/* Logo drop shadow when over transparent header (video backgrounds) */
.header--transparent .header__logo img {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

/* --- Atmospheric Video Break (inline, no text) --- */
.video-break {
  position: relative;
  height: 50vh;
  overflow: hidden;
  background: var(--charcoal);
}

.video-break--full {
  height: 100vh;
}

.video-break video,
.video-break img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Service Cards Grid — minimal, text-first --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid rgba(184, 160, 74, 0.2);
  border-left: 1px solid rgba(184, 160, 74, 0.2);
}

.service-card {
  display: block;
  padding: 48px 40px;
  background: transparent;
  border-right: 1px solid rgba(184, 160, 74, 0.2);
  border-bottom: 1px solid rgba(184, 160, 74, 0.2);
  transition: background var(--transition);
  position: relative;
  min-height: 240px;
}

.service-card:hover {
  background: rgba(184, 160, 74, 0.04);
}

/* Gold number accent — each service gets 01, 02, 03... */
.service-card__number {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 26px;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: 0.2px;
  transition: color var(--transition);
}

.service-card:hover h3 {
  color: var(--gold);
}

.service-card p {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0;
}

.service-card__arrow {
  position: absolute;
  bottom: 32px;
  right: 40px;
  font-size: 18px;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--transition);
}

.service-card:hover .service-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* --- Process Steps --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 56px;
}

.process-step {
  padding: 8px 0;
}

.process-step__number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 20px;
}

.process-step h3 {
  margin-bottom: 12px;
}

.process-step p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}

/* --- Project Cards --- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.project-card {
  position: relative;
  height: 440px;
  overflow: hidden;
  transition: transform var(--transition);
}

.project-card:hover { transform: translateY(-3px); }

.project-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-card__image {
  transform: scale(1.04);
}

.project-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  z-index: 1;
}

.project-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px;
  z-index: 2;
}

.project-card__content h3 {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 28px;
  margin-bottom: 6px;
}

.project-card__meta {
  font-size: 12px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.testimonial-card {
  background: transparent;
  padding: 44px 0 44px 32px;
  position: relative;
  border-left: 1px solid rgba(184, 160, 74, 0.3);
}

.testimonial-card__quote {
  font-size: 48px;
  color: var(--gold);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-card__author {
  font-weight: 600;
  color: var(--white);
  font-size: 14px;
  font-style: normal;
}

.testimonial-card__role {
  color: var(--gold);
  font-size: 12px;
  font-style: normal;
  margin-top: 4px;
  letter-spacing: 0.3px;
}

/* --- Partners --- */
.partners-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.partner-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  color: var(--charcoal);
  letter-spacing: 1.5px;
  opacity: 0.75;
  transition: opacity var(--transition);
}

.partner-name:hover { opacity: 1; }

/* --- Footer CTA --- */
.footer-cta {
  text-align: center;
  padding: 140px 0;
}

.footer-cta h2 {
  color: var(--white);
  margin-bottom: 24px;
}

.footer-cta p {
  max-width: 580px;
  margin: 0 auto 44px;
  color: #888;
  font-size: 16px;
  line-height: 1.8;
}

/* --- Footer --- */
.footer {
  background: var(--footer-bg);
  padding: 72px 0 36px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer__logo {
  margin-bottom: 24px;
  line-height: 0;
}

.footer__logo img {
  height: 56px;
  width: auto;
}

.footer__info p {
  color: #777;
  font-size: 14px;
  margin-bottom: 8px;
}

.footer__info a { color: #999; transition: color var(--transition); }
.footer__info a:hover { color: var(--gold); }

.footer__heading {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold);
  margin-bottom: 24px;
}

.footer__links a {
  display: block;
  color: #777;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--white); }

.footer__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  color: #444;
  font-size: 12px;
  letter-spacing: 0.5px;
}

/* --- Stats Row --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  margin-top: 72px;
}

.stat-item {
  padding: 24px;
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 10px;
}

.stat-item__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* --- Content Page --- */
.content-page {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--section-padding) 24px;
}

.content-page p {
  margin-bottom: 28px;
  font-size: 17px;
  line-height: 1.8;
}

.content-page--wide {
  max-width: var(--max-width);
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  margin-top: 56px;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  transition: border-color var(--transition);
  border-radius: 0;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-details h3 {
  margin-bottom: 28px;
}

.contact-details__item {
  margin-bottom: 24px;
}

.contact-details__item-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold);
  margin-bottom: 6px;
}

.contact-details__item p {
  font-size: 16px;
  color: var(--text-body);
  margin-bottom: 0;
}

.contact-details__item a {
  transition: color var(--transition);
}

.contact-details__item a:hover {
  color: var(--gold);
}

/* --- Project Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 56px;
}

.gallery-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  cursor: pointer;
  transition: opacity var(--transition);
}

.gallery-grid img:hover {
  opacity: 0.85;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.94);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 300;
  z-index: 2001;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.lightbox__close:hover { opacity: 1; }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 16px;
  z-index: 2001;
  font-family: var(--font-body);
  font-weight: 300;
  opacity: 0.5;
  transition: opacity var(--transition);
}
.lightbox__nav:hover { opacity: 1; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

/* --- Intro text block --- */
.intro-text {
  max-width: 680px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
}

.text-center { text-align: center; }
.text-center .intro-text { margin: 0 auto; }

/* --- Founder Section --- */
.founder-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 72px;
}

.founder-section img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center top;
}

/* --- Testimonial block on service/designer pages --- */
.testimonial-block {
  margin-top: 56px;
  padding: 44px;
  background: var(--charcoal-light);
  border-left: 3px solid var(--gold);
}

.testimonial-block p {
  color: rgba(255,255,255,0.85);
  font-style: italic;
  font-size: 16px;
}

.testimonial-block .testimonial-card__author {
  margin-top: 16px;
}

/* ============================================
   EDITORIAL COMPONENTS
   Project pages, typography moments, spec panels
   ============================================ */

/* --- Projects hub: featured layout (Black Rock 2x, others smaller) --- */
.projects-grid--featured {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 20px;
}

.project-card--featured {
  grid-column: span 2;
  grid-row: span 2;
  height: 100%;
}

@media (max-width: 1024px) {
  .projects-grid--featured {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 260px;
  }
  .project-card--featured {
    grid-column: span 2;
    grid-row: span 1;
    height: 420px;
  }
}

@media (max-width: 768px) {
  .projects-grid--featured {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .project-card--featured {
    grid-column: span 1;
    height: 360px;
  }
}

/* --- Typography-only moment (large phrase, heavy whitespace) --- */
.type-moment {
  padding: 160px 24px;
  text-align: center;
  background: var(--off-white);
}

.type-moment--white { background: var(--white); }
.type-moment--dark {
  background: var(--charcoal);
  color: var(--white);
}
.type-moment--dark .type-moment__text { color: var(--white); }

.type-moment__text {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(36px, 6vw, 78px);
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  max-width: 980px;
  margin: 0 auto;
}

.type-moment__attribution {
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-top: 32px;
  display: block;
}

@media (max-width: 768px) {
  .type-moment { padding: 96px 24px; }
}

/* ============================================
   PROJECT SIDE-NAV — Rob Mills-style vertical line
   ============================================ */
.project-nav {
  position: fixed;
  left: 48px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  pointer-events: none;
}

.project-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}

/* Thin vertical line running down the dots */
.project-nav__list::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: currentColor;
  opacity: 0.35;
}

.project-nav__item {
  position: relative;
  pointer-events: auto;
}

.project-nav__item a {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
  opacity: 0.6;
}

.project-nav__item a:hover {
  opacity: 1;
}

/* The dot marker */
.project-nav__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: transparent;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

/* The project label */
.project-nav__label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Active state — the project you're on */
.project-nav__item--active a {
  opacity: 1;
}

.project-nav__item--active .project-nav__dot {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.3);
}

.project-nav__item--active .project-nav__label {
  color: var(--gold);
  font-weight: 600;
}

/* Colour mode: light text over dark hero (default at top of page) */
.project-nav {
  color: var(--white);
  transition: color 0.5s ease;
}

/* Dark text once scrolled past the hero */
body.scrolled-past-hero .project-nav {
  color: var(--text-primary);
}

/* Hide on mobile & small tablets — the regular nav handles it there */
@media (max-width: 1024px) {
  .project-nav { display: none; }
}

/* --- Selected Collaborators / Further Selected Work (About page) --- */
.collaborators {
  padding: var(--section-padding) 0;
  background: var(--off-white);
}

.collaborators__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
}

.collaborators__block {
  text-align: center;
}

.collaborators__block .section-label {
  margin-bottom: 32px;
}

.collaborators__list {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.7;
  color: var(--text-primary);
  letter-spacing: 0.3px;
  max-width: 880px;
  margin: 0 auto;
}

.collaborators__list .dot {
  color: var(--gold);
  margin: 0 8px;
  font-weight: 400;
}

.collaborators__note {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.8;
  color: var(--text-body);
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .collaborators__inner { gap: 56px; }
  .collaborators__list { font-size: 19px; line-height: 1.6; }
  .collaborators__list .dot { margin: 0 6px; }
}

/* --- Pull quote within article content --- */
.pull-quote {
  max-width: 720px;
  margin: 48px auto 56px;
  padding: 0 24px;
  text-align: center;
  border-top: 1px solid rgba(184, 160, 74, 0.4);
  border-bottom: 1px solid rgba(184, 160, 74, 0.4);
  padding-top: 40px;
  padding-bottom: 40px;
}

.pull-quote__text {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.45;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: 0.1px;
}

.pull-quote__attribution {
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold);
  font-weight: 500;
}

/* --- Editorial project page — narrative intro --- */
.project-intro {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--section-padding) 24px;
}

.project-intro__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px 48px;
  padding-bottom: 48px;
  margin-bottom: 56px;
  border-bottom: 1px solid rgba(184, 160, 74, 0.25);
}

.project-intro__meta dt {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold);
  align-self: center;
}

.project-intro__meta dd {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-body);
  margin: 0;
  align-self: center;
}

.project-intro p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 24px;
}

.project-intro p:first-of-type {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.5;
  color: var(--text-primary);
  letter-spacing: 0.1px;
  margin-bottom: 40px;
}

/* --- Materials spec panel (sidebar/block on project pages) --- */
.spec-panel {
  background: var(--off-white);
  padding: 48px;
  border-left: 3px solid var(--gold);
}

.spec-panel__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
}

.spec-panel dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 0;
  margin: 0;
}

.spec-panel__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.spec-panel__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-panel dt {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-caption);
}

.spec-panel dd {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  margin: 0;
  font-weight: 500;
}

/* --- Staggered / editorial gallery --- */
.gallery-editorial {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 72px;
}

.gallery-editorial img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: opacity var(--transition);
}

.gallery-editorial img:hover { opacity: 0.88; }

.gallery-editorial__full { grid-column: span 12; height: 80vh; }
.gallery-editorial__half { grid-column: span 6; height: 60vh; }
.gallery-editorial__third { grid-column: span 4; height: 50vh; }
.gallery-editorial__twothirds { grid-column: span 8; height: 60vh; }

@media (max-width: 768px) {
  .gallery-editorial { grid-template-columns: 1fr; gap: 12px; }
  .gallery-editorial__full,
  .gallery-editorial__half,
  .gallery-editorial__third,
  .gallery-editorial__twothirds {
    grid-column: span 1;
    height: 60vh;
  }
}

/* --- Related projects section --- */
.related-projects {
  padding: var(--section-padding) 0;
  background: var(--off-white);
}

.related-projects__heading {
  text-align: center;
  margin-bottom: 56px;
}

.related-projects__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .related-projects__grid { grid-template-columns: 1fr; }
}

/* --- Materials page: selection guidance grid --- */
.selection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 72px;
}

.selection-item {
  padding-top: 28px;
  border-top: 1px solid rgba(184, 160, 74, 0.3);
}

.selection-item__label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.selection-item h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 26px;
  color: var(--text-primary);
  letter-spacing: 0.2px;
  margin-bottom: 16px;
}

.selection-item p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .selection-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* --- Materials page: supplier list (editorial, not a grid) --- */
.suppliers-list {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 80px;
}

.supplier {
  padding-top: 24px;
  border-top: 1px solid rgba(184, 160, 74, 0.3);
}

.supplier__name {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 32px;
  color: var(--text-primary);
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}

.supplier__description {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 0;
}

/* --- Materials page: benefits grid --- */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 80px;
  margin-top: 56px;
}

.benefit {
  padding: 0;
}

.benefit h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 26px;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: 0.2px;
}

.benefit p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 0;
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.9s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Gold divider accent --- */
.gold-divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  border: none;
  margin: 20px 0;
}

.text-center .gold-divider {
  margin: 20px auto;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .founder-section { grid-template-columns: 1fr; gap: 48px; }
  .suppliers-list { grid-template-columns: 1fr; gap: 40px; }
  .benefits-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
  }

  .nav { display: none; }
  .hamburger { display: flex; }

  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 36px; }
  .projects-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .partners-row { gap: 40px; }

  .hero { min-height: 85vh; }
  .hero--short { min-height: 55vh; }

  .service-card { height: 300px; }
  .project-card { height: 340px; }
  .footer-cta { padding: 80px 0; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
}

/* ============================================
   MASTERCRAFT CARE PAGE COMPONENTS
   ============================================ */

/* --- Care feature: 2-col image + copy --- */
.care-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}

.care-feature__copy h2 {
  margin-top: 24px;
  margin-bottom: 28px;
}

.care-feature__copy p {
  margin-bottom: 20px;
}

.care-feature__image {
  background: #f4f1ea;
  padding: 32px;
  border: 1px solid rgba(184, 160, 74, 0.2);
}

.care-feature__image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .care-feature { grid-template-columns: 1fr; gap: 48px; }
}

/* --- Two systems comparison: Bona / WOCA --- */
.systems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.system-card {
  background: var(--white);
  padding: 48px 40px;
  border: 1px solid rgba(184, 160, 74, 0.25);
  display: flex;
  flex-direction: column;
}

.system-card__brand {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  background: #faf8f3;
}

.system-card__brand img {
  max-height: 140px;
  max-width: 80%;
  width: auto;
  object-fit: contain;
}

.system-card h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 36px;
  letter-spacing: 0.3px;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.system-card__suited,
.system-card__logic {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
  color: var(--text-body);
}

.system-card__products {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(184, 160, 74, 0.25);
}

.system-card__products-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.system-card__products ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.system-card__products li {
  font-size: 14px;
  color: var(--text-body);
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.system-card__products li:last-child { border-bottom: none; }

@media (max-width: 768px) {
  .systems-grid { grid-template-columns: 1fr; gap: 24px; }
  .system-card { padding: 32px 24px; }
}

/* --- Service pathways: 3 tier cards --- */
.pathways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pathway-card {
  background: var(--off-white);
  padding: 40px 32px;
  border-top: 2px solid var(--gold);
  display: flex;
  flex-direction: column;
}

.pathway-card--featured {
  background: var(--charcoal);
  color: var(--white);
}

.pathway-card--featured h3,
.pathway-card--featured strong { color: var(--white); }

.pathway-card--featured p { color: rgba(255,255,255,0.8); }

.pathway-card__tier {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pathway-card h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.2px;
  margin-bottom: 24px;
  line-height: 1.25;
}

.pathway-card__for,
.pathway-card__includes,
.pathway-card__outcome {
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.pathway-card__outcome { margin-top: auto; padding-top: 16px; }

.pathways-grid--two {
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .pathways-grid { grid-template-columns: 1fr; gap: 20px; }
  .pathways-grid--two { grid-template-columns: 1fr; gap: 20px; }
}

/* --- Lifecycle steps (5-up on dark bg) --- */
.lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.lifecycle-step {
  padding-top: 28px;
  border-top: 1px solid rgba(184, 160, 74, 0.4);
}

.lifecycle-step__number {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 16px;
}

.lifecycle-step h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: 0.2px;
}

.lifecycle-step p {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

.lifecycle-grid--three {
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

@media (max-width: 900px) {
  .lifecycle-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .lifecycle-grid--three { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .lifecycle-grid,
  .lifecycle-grid--three { grid-template-columns: 1fr; gap: 24px; }
}

/* --- Suitable floors list --- */
.suitable-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.suitable-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  padding: 32px 0;
  border-top: 1px solid rgba(184, 160, 74, 0.25);
  align-items: baseline;
}

.suitable-row:last-child { border-bottom: 1px solid rgba(184, 160, 74, 0.25); }

.suitable-row h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 22px;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: 0.2px;
}

.suitable-row p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0;
}

@media (max-width: 768px) {
  .suitable-row { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
}

/* --- Comparison grid: maintain vs sand --- */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
}

.comparison-col {
  padding: 36px 32px;
  background: var(--white);
  border-top: 2px solid var(--gold);
}

.comparison-col--alt {
  background: rgba(0,0,0,0.03);
  border-top-color: rgba(0,0,0,0.2);
}

.comparison-col__label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.comparison-col--alt .comparison-col__label { color: var(--text-caption); }

.comparison-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comparison-col li {
  font-size: 14.5px;
  line-height: 1.7;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: var(--text-body);
}

.comparison-col li:last-child { border-bottom: none; }

@media (max-width: 768px) {
  .comparison-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* --- FAQ accordion --- */
.faq-list {
  max-width: 860px;
  margin: 48px auto 0;
}

.faq-item {
  border-top: 1px solid rgba(184, 160, 74, 0.25);
  padding: 24px 0;
}

.faq-item:last-child { border-bottom: 1px solid rgba(184, 160, 74, 0.25); }

.faq-item summary {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 22px;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  letter-spacing: 0.2px;
  line-height: 1.4;
  transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-family: var(--font-body);
  font-size: 22px;
  color: var(--gold);
  margin-left: 24px;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: '\2212'; }

.faq-item summary:hover { color: var(--gold); }

.faq-item p {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  max-width: 760px;
}

/* --- Contact page: What happens next strip --- */
.next-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid rgba(184, 160, 74, 0.25);
  border-bottom: 1px solid rgba(184, 160, 74, 0.25);
  margin-top: -40px;
}

.next-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.next-step__number {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
}

.next-step p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

@media (max-width: 768px) {
  .next-steps { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
}

/* --- Contact form intro line above form --- */
.form-intro {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-caption);
  margin-bottom: 36px;
  font-style: italic;
}

/* --- Designers & Builders: capabilities grid --- */
.db-capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 80px;
}

.db-capability {
  padding-top: 28px;
  border-top: 1px solid rgba(184, 160, 74, 0.3);
}

.db-capability__label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.db-capability h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 26px;
  color: var(--text-primary);
  letter-spacing: 0.2px;
  margin-bottom: 16px;
}

.db-capability p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
  margin: 0;
}

@media (max-width: 768px) {
  .db-capabilities { grid-template-columns: 1fr; gap: 40px; }
}

/* --- Designers & Builders: standards grid --- */
.standards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 64px;
  margin-top: 56px;
}

.standards-item h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: 0.1px;
}

.standards-item p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
  margin: 0;
}

@media (max-width: 768px) {
  .standards-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* --- btn--outline-light variant for dark backgrounds --- */
.btn--outline-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}

.btn--outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
