/* ============================================================
   BELMONT HOME STAGING — Main Stylesheet
   ============================================================ */

/* Fonts */
@font-face {
  font-family: 'LuxiaDisplay';
  src: url('assets/Luxia-Display.woff2') format('woff2'),
       url('assets/Luxia-Display.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Google Fonts loaded via <link rel="preconnect"> in each page's <head> — not here, to avoid render-blocking @import */

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --ivory:       #F7F4EF;
  --warm-white:  #FDFCFA;
  --stone:       #C8BEB2;
  --taupe:       #9E9085;
  --charcoal:    #2C2C2C;
  --ink:         #1A1A1A;
  --gold:        #B89B72;
  --gold-light:  #D4BC96;
  --gold-text:   #7A6544; /* darkened gold for text on light backgrounds — passes 4.5:1 WCAG AA */
  --taupe-text:  #6B6059; /* darkened taupe for secondary text on light backgrounds — passes 4.5:1 */

  --font-display: 'LuxiaDisplay', 'Cormorant Garamond', Georgia, serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Jost', system-ui, sans-serif;

  --nav-height: 80px;
  --section-pad: 96px;
  --max-width: 1280px;
  --transition: 0.3s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* scroll-behavior applied only when user has no reduced-motion preference */
}

body {
  background-color: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); letter-spacing: 0.01em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3vw, 3rem); letter-spacing: 0.02em; text-wrap: balance; }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); letter-spacing: 0.01em; text-wrap: balance; }
h4 { font-size: 1.1rem; font-weight: 400; }

p {
  color: var(--charcoal);
  max-width: 68ch;
}

.display-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  letter-spacing: 0.04em;
  font-weight: normal;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
  display: block;
  margin-bottom: 20px;
}

.gold-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 24px 0 40px;
}

.gold-rule.centered {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

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

.section--dark {
  background-color: var(--ink);
  color: var(--warm-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark p {
  color: var(--warm-white);
}

.section--stone {
  background-color: #EFEBE5;
}

.section--warm {
  background-color: var(--warm-white);
}

.section--tight {
  padding-bottom: 48px;
}

.section--gallery {
  padding-top: 36px;
}

.section--no-top {
  padding-top: 0;
}

.section--top-48 {
  padding-top: 48px;
}

.section--bottom-64 {
  padding-bottom: 64px;
}

.section--bordered-top {
  border-top: 1px solid var(--stone);
}

/* Centered prose block (about approach section) */
.prose-block {
  max-width: 720px;
  margin: 0 auto;
}

.prose-block p + p {
  margin-top: 20px;
}

/* CTA dual-button row */
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Full-width button variant */
.btn--full {
  width: 100%;
  display: block;
  text-align: center;
}

.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--ink);
  color: var(--warm-white);
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: top 0.15s;
}

.skip-link:focus {
  top: 16px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 1px solid currentColor;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
  touch-action: manipulation;
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

.btn-primary:hover {
  background: #A08860;
  border-color: #A08860;
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--warm-white);
}

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

.btn-outline-light:hover {
  background: var(--warm-white);
  color: var(--ink);
}

.btn-gold-outline {
  background: transparent;
  color: #8C7454;
  border-color: #8C7454;
}

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

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-nav.scrolled {
  background: var(--warm-white);
  box-shadow: inset 0 -1px 0 var(--stone);
}

.site-nav.nav-solid {
  background: var(--warm-white);
  box-shadow: inset 0 -1px 0 var(--stone);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

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

.nav-logo img {
  height: 54px;
  width: auto;
}

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

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-text);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--gold-text);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Button in nav — keep its own hover color, don't let nav link rule override */
.nav-links .btn:hover {
  color: inherit;
}

.nav-links .btn-gold-outline:hover {
  color: var(--warm-white);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links .btn {
  font-size: 0.65rem;
  padding: 10px 24px;
}

/* Transparent nav (for pages with hero) */
.site-nav.nav-transparent .nav-links a {
  color: var(--warm-white);
}

.site-nav.nav-transparent.scrolled .nav-links a {
  color: var(--charcoal);
}

.site-nav.nav-transparent.scrolled .nav-links a.active,
.site-nav.nav-transparent.scrolled .nav-links a:hover {
  color: var(--gold-text);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform var(--transition), opacity var(--transition);
}

.site-nav.nav-transparent .nav-toggle span {
  background: var(--warm-white);
}

.site-nav.nav-transparent.scrolled .nav-toggle span {
  background: var(--charcoal);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO — FULL HEIGHT
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 580px;
  max-height: 820px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: var(--nav-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  /* No scale transform — avoids subpixel blur on high-res photos */
}

.hero__overlay {
  position: absolute;
  inset: 0;
  /* Two-layer gradient: left column darkens so text is always legible;
     vertical gradient darkens bottom where the copy lives              */
  background:
    linear-gradient(to right,  rgba(10,10,10,0.60) 0%, rgba(10,10,10,0.10) 55%, rgba(10,10,10,0) 100%),
    linear-gradient(to bottom, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0.08) 45%, rgba(10,10,10,0.68) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  align-self: flex-end;
}

.hero .hero__content {
  padding-bottom: 120px;
}

.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  font-weight: normal;
  color: var(--warm-white);
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 14ch;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}

.hero__sub {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(253,252,250,0.95);
  max-width: 46ch;
  line-height: 1.75;
  margin-bottom: 44px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.50);
}

.hero__actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Interior hero (shorter, for inner pages) */
.page-hero {
  position: relative;
  height: 52vh;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,26,0.2), rgba(26,26,26,0.7));
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.page-hero .page-hero__content {
  padding-bottom: 100px;
}

.page-hero__label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
  display: block;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: normal;
  color: var(--warm-white);
  letter-spacing: 0.03em;
}

/* ============================================================
   INTRO / TAGLINE BAND
   ============================================================ */
.intro-band {
  background: var(--warm-white);
  padding: var(--section-pad) 0;
  border-bottom: 1px solid rgba(184,155,114,0.25);
}

.intro-band__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-band__heading {
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
}

.intro-band__text p {
  font-size: 1.1rem;
  color: var(--charcoal);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--ink);
  padding: 80px 0;
  border-top: 1px solid rgba(184,155,114,0.2);
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: center;
}

.stat-item {
  padding: 36px 48px;
  border-right: 1px solid rgba(200,190,178,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-item:last-child { border-right: none; }

.stat-item__icon {
  margin-bottom: 12px;
}

.stat-item__statement {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1.25;
  text-align: center;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 56px;
}

.service-card {
  background: var(--warm-white);
  padding: 48px 40px;
  position: relative;
  box-shadow: inset 3px 0 0 transparent;
  transition: box-shadow var(--transition);
}

.service-card:hover {
  box-shadow: inset 4px 0 0 var(--gold);
}

.service-card__number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1;
  margin-bottom: 24px;
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--ink);
}

.service-card__text {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.7;
  max-width: none;
}

/* ============================================================
   RECENT PROJECTS — GALLERY GRID
   ============================================================ */
.gallery-section {
  background: var(--ivory);
}

.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 8px;
}

.gallery-grid__featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--stone);
  aspect-ratio: 4/3;
  touch-action: manipulation;
  /* button reset */
  border: none;
  padding: 0;
  display: block;
  text-align: left;
}

.gallery-grid__featured.gallery-item {
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  transition: background var(--transition);
}

.gallery-item:hover .gallery-item__overlay {
  background: rgba(38,28,16,0.38);
}

.gallery-item__caption {
  color: var(--warm-white);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}

.gallery-item:hover .gallery-item__caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-footer {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   BEFORE & AFTER — COMPARISON SLIDER
   ============================================================ */
.before-after {
  background: var(--warm-white);
}

/* Wrapper added below heading/rule */
.ba-slider-wrap {
  margin-top: 56px;
}

/* The slider container */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  background: var(--stone);
}

/* Both layers fill the full container — clip-path does the revealing, not width */
.ba-slider__before,
.ba-slider__after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ba-slider__before img,
.ba-slider__after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* clip-path reveals only the right half of the before layer */
/* JS updates this in sync with the handle position           */
.ba-slider__before {
  clip-path: inset(0 0 0 50%);   /* initial: show right 50% */
  z-index: 1;
}

/* clip-path reveals only the left half of the after layer */
.ba-slider__after {
  clip-path: inset(0 50% 0 0);   /* initial: show left 50% */
  z-index: 2;
}

/* Labels live INSIDE their respective image divs.                              */
/* Because each div is clipped, its label is automatically clipped with it —   */
/* no z-index tricks needed. Before label disappears when slider goes full-right */
.ba-slider__label {
  position: absolute;
  top: 20px;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  color: var(--warm-white);
  pointer-events: none;
  z-index: 2;
}

.ba-slider__label--before {
  right: 20px;
  background: var(--ink);
}

.ba-slider__label--after {
  left: 20px;
  background: var(--gold);
}

/* Drag handle */
.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;            /* initial position */
  transform: translateX(-50%);
  width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

/* Vertical line */
.ba-slider__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: var(--warm-white);
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
}

/* Circle button */
.ba-slider__btn {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--warm-white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--ink);
  flex-shrink: 0;
}

/* Touch hint on load */
.ba-slider__hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(253,252,250,0.7);
  background: rgba(26,26,26,0.45);
  padding: 5px 14px;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 5;
}

.ba-slider__hint.hidden {
  opacity: 0;
}

/* ============================================================
   PROCESS STRIP
   ============================================================ */
.process-strip {
  background: var(--ivory);
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
  padding: 64px 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 0;
  counter-reset: steps;
}

.process-step {
  padding: 32px 32px 32px 0;
  border-right: 1px solid var(--stone);
  padding-left: 32px;
}

.process-step:first-child { padding-left: 0; }
.process-step:last-child { border-right: none; }

.process-step__num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 20px;
}

.process-step__title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}

.process-step__text {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.7;
  max-width: none;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, #222222 0%, var(--charcoal) 55%, #252218 100%);
  padding: 96px 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--warm-white);
  margin-bottom: 16px;
}

.cta-band p {
  color: rgba(253,252,250,0.78);
  font-size: 1.05rem;
  margin: 0 auto 44px;
}

/* ============================================================
   TESTIMONIAL SECTION
   ============================================================ */
.testimonial-section {
  background: var(--warm-white);
  border-top: 1px solid var(--stone);
}

.testimonial {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 0 0 64px;
}

.testimonial__mark {
  position: absolute;
  top: -16px;
  left: 0;
  font-family: var(--font-serif);
  font-size: 9rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.35;
  pointer-events: none;
  user-select: none;
}

.testimonial__body {
  margin: 0;
  padding: 0;
}

.testimonial__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.65;
  color: #6B4F3A;
  max-width: 68ch;
  margin-bottom: 36px;
}

.testimonial__attribution {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.testimonial__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 2px solid var(--stone);
  order: 2;
  background: var(--stone);
}

.testimonial__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  order: 1;
}

.testimonial__name {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.testimonial__location {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe-text);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}

.about-photo {
  position: sticky;
  top: calc(var(--nav-height) + 40px);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}

.about-text h2 {
  margin-bottom: 8px;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: none;
}

.about-credentials {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--stone);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.credential-item__label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.credential-item__value {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.3;
}

/* ============================================================
   PROJECTS PAGE — FULL GALLERY
   ============================================================ */
.projects-filter {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 20px;
  border: 1px solid var(--stone);
  background: transparent;
  color: var(--taupe);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  touch-action: manipulation;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--warm-white);
}

.projects-section {
  margin-bottom: 72px;
}

.projects-section__header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--stone);
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.projects-section__name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--ink);
}

.projects-section__count {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
}

.project-photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  grid-auto-flow: dense;
}

.project-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--stone);
  touch-action: manipulation;
  /* button element reset */
  border: none;
  padding: 0;
  display: block;
  width: 100%;
  text-align: left;
}

.project-photo:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  z-index: 1;
}

.project-photo.wide {
  grid-column: span 2;
}

.project-photo.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.project-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-photo:hover img {
  transform: scale(1.05);
}


/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,10,10,0.94);
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox__img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
}

.lightbox__img-wrap img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
}

.lightbox__close {
  position: fixed;
  top: 24px;
  right: 32px;
  color: rgba(253,252,250,0.8);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  z-index: 10000;
  transition: color var(--transition);
}

.lightbox__close:hover { color: var(--warm-white); }

.lightbox__prev,
.lightbox__next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(253,252,250,0.1);
  border: 1px solid rgba(253,252,250,0.2);
  color: var(--warm-white);
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 10000;
}

.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }

.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(253,252,250,0.2);
}

.lightbox__caption {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(253,252,250,0.6);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  padding-top: 8px;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info__intro {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 44px;
  max-width: none;
}

.contact-detail {
  margin-bottom: 32px;
}

.contact-detail__label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.contact-detail__value {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.3;
}

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

.contact-form {
  background: var(--warm-white);
  padding: 56px 48px;
}

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

.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--ivory);
  border: 1px solid var(--stone);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
  border-radius: 0;
}

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

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  padding: 80px 0 40px;
  color: rgba(253,252,250,0.6);
  border-top: 2px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
}

.footer-brand img {
  height: 64px;
  margin-bottom: 24px;
  opacity: 0.9;
  /* Border logo reads better on dark footer with slight brightness boost */
  filter: brightness(1.15);
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(253,252,250,0.62);
  max-width: 30ch;
  line-height: 1.85;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(253,252,250,0.68);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--warm-white);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(200,190,178,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(253,252,250,0.45);
  max-width: none;
}

.footer-dot-separator {
  color: var(--gold);
  margin: 0 6px;
}

/* ============================================================
   DECORATIVE ELEMENTS
   ============================================================ */
.mid-dot-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-pad: 72px;
  }

  .container { padding: 0 32px; }
  .nav-inner { padding: 0 32px; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid__featured { grid-column: span 2; }
  .project-photos-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .intro-band__inner { gap: 48px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step { border-right: none; border-bottom: 1px solid var(--stone); padding: 24px 0; }
  .process-step:last-child:nth-child(odd) { border-bottom: none; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 56px;
    --nav-height: 64px;
  }

  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .hero__content { padding: 0 20px 60px; }
  .hero .hero__content { padding-bottom: 60px; }
  .hero__title { font-size: 2.2rem; }
  .page-hero__content { padding: 0 20px 48px; }

  /* Mobile nav */
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--warm-white);
    flex-direction: column;
    gap: 0;
    padding: 16px 0 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border-top: 1px solid var(--stone);
  }

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

  .nav-links a {
    padding: 14px 24px;
    font-size: 0.8rem;
    color: var(--charcoal) !important;
    width: 100%;
  }

  .nav-links a::after { display: none; }

  .nav-links .btn {
    margin: 8px 20px 0;
    width: calc(100% - 40px);
    text-align: center;
  }

  .nav-toggle { display: flex; }

  /* Layout adjustments */
  .intro-band__inner { grid-template-columns: 1fr; gap: 32px; }
  .stats-bar__grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(200,190,178,0.15); }
  .stat-item:last-child { border-bottom: none; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid__featured { grid-column: span 2; }
  .process-step:nth-child(even):last-child { border-bottom: 1px solid var(--stone); }
  .ba-slider { aspect-ratio: 4/3; }
  .about-layout { grid-template-columns: 1fr; }
  .about-photo { position: static; width: 75%; max-width: 400px; margin: 0 auto; }
  .about-photo img { aspect-ratio: 3/4; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-form { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  /* Testimonial */
  .testimonial { padding-left: 0; padding-top: 48px; }
  .testimonial__mark { font-size: 6rem; top: -8px; left: 0; }
  .testimonial__attribution { justify-content: flex-start; flex-wrap: wrap; }
  .testimonial__meta { align-items: flex-start; order: 2; }
  .testimonial__avatar { order: 1; width: 64px; height: 64px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .project-photos-grid { grid-template-columns: repeat(2, 1fr); }
  .project-photo.wide { grid-column: span 1; }
  .process-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid__featured { grid-column: span 1; }
  .project-photos-grid { grid-template-columns: 1fr; }
  .project-photo.wide { grid-column: span 1; }
  .about-credentials { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; width: 100%; }
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger siblings */
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   PROCESS STEPS — horizontal connecting accent
   ============================================================ */
@media (min-width: 769px) {
  .process-steps {
    position: relative;
  }
  .process-steps::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, var(--gold) 0%, rgba(184,155,114,0.2) 100%);
    pointer-events: none;
  }
}

/* ============================================================
   NAV HEIGHT COMPENSATION — taller logo
   ============================================================ */
/* Nav height is 80px; logo at 54px fits comfortably within it */
/* No change needed — logo scales within existing nav height   */

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
