/*
  Naveena Interiors — standalone export
  Quiet luxury editorial system: cream canvas, deep burgundy, brushed gold,
  serif-led typography, thin rules, image-led storytelling, and restrained motion.
*/
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --cream: #f5f0e6;
  --cream-deep: #ece4d5;
  --sand: #dfd0b9;
  --ink: #2c201b;
  --burgundy: #65001f;
  --burgundy-deep: #430013;
  --gold: #d5a326;
  --gold-soft: #ebc75b;
  --line: rgba(44, 32, 27, .16);
  --line-light: rgba(245, 240, 230, .22);
  --serif: "Google Sans", sans-serif;
  --sans: "Google Sans", sans-serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.6; }
body, button, input, textarea, select { font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--gold); color: var(--burgundy-deep); }
.page-shell { overflow: hidden; background: var(--cream); }
.section-pad { padding: clamp(5.5rem, 11vw, 10.5rem) clamp(1.35rem, 6vw, 7.2rem); }
.section-pad--burgundy { background: var(--burgundy); color: var(--cream); }
.section-pad--sand { background: var(--sand); }
.eyebrow { margin: 0 0 1.25rem; color: var(--burgundy); font-size: .93rem; font-weight: 700; letter-spacing: .22em; line-height: 1.4; text-transform: uppercase; }
.eyebrow--light { color: var(--gold-soft); }
.body-copy { max-width: 31rem; color: rgba(44,32,27,.69); font-size: .94rem; line-height: 1.9; }
.section-pad--burgundy .body-copy { color: rgba(245,240,230,.72); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.055em; }
h2 { margin-bottom: 1.6rem; font-size: clamp(3rem, 6.2vw, 6.8rem); line-height: .83; }
h2 em, h1 em { font-weight: 500; }
h3 { margin-bottom: .7rem; font-size: clamp(1.45rem, 2vw, 2rem); line-height: .95; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Shared header */
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; gap: 2rem; height: 7rem; padding: 1.3rem clamp(1.35rem, 4vw, 4.5rem); color: var(--cream); }
.site-header__logo { display: block; width: 10.5rem; flex: 0 0 auto; }
.site-header__logo img { width: 65%; height: auto; }
.site-header__nav { display: flex; gap: clamp(1.1rem, 2.3vw, 2.5rem); margin-left: auto; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.site-header__nav a, .site-header__cta, .site-header__menu { transition: color 180ms ease, opacity 180ms ease; }
.site-header__nav a:hover, .site-header__cta:hover, .site-header__menu:hover { color: var(--gold-soft); }
.site-header__nav a.is-current { color: var(--gold-soft); }
.site-header__cta { display: inline-flex; align-items: center; gap: .35rem; padding-bottom: .45rem; border-bottom: 1px solid rgba(245,240,230,.5); font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.site-header__menu { display: none; align-items: center; gap: .55rem; color: var(--cream); font-size: .61rem; letter-spacing: .16em; text-transform: uppercase; }
.menu-icon { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; font-size: 1.1rem; line-height: 1; }
.mobile-panel { position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; padding: 1.3rem clamp(1.35rem, 6vw, 3rem); background: var(--cream); color: var(--burgundy-deep); opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity 260ms ease, transform 260ms var(--ease-out); }
.mobile-panel[data-open='true'] { opacity: 1; pointer-events: auto; transform: none; }
.mobile-panel__top { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
.mobile-panel .site-header__logo { width: 11rem; }
.site-header__menu--dark { color: var(--burgundy-deep); }
.mobile-panel__nav { display: flex; flex-direction: column; gap: .75rem; margin: auto 0; }
.mobile-panel__nav a { display: flex; align-items: baseline; gap: 1rem; font-family: var(--serif); font-size: clamp(2.7rem, 10vw, 5rem); line-height: .85; letter-spacing: -.05em; }
.mobile-panel__nav a span { color: var(--gold); font-family: var(--sans); font-size: .65rem; letter-spacing: .15em; }
.mobile-panel__bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); color: rgba(44,32,27,.6); font-size: .69rem; letter-spacing: .12em; text-transform: uppercase; }
.mobile-panel__bottom a { display: inline-flex; gap: .2rem; align-items: center; color: var(--burgundy); }

/* Buttons */
.pill-link { display: inline-flex; align-items: center; gap: .85rem; width: fit-content; padding: .78rem 1.15rem .78rem 1.3rem; border: 1px solid rgba(101,0,31,.48); border-radius: 999px; color: var(--burgundy); font-size: .65rem; font-weight: 700; letter-spacing: .15em; line-height: 1; text-transform: uppercase; transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease; }
.pill-link:hover { background: var(--burgundy); color: var(--cream); border-color: var(--burgundy); transform: translateY(-2px); }
.pill-link--light { border-color: rgba(245,240,230,.48); color: var(--cream); }
.pill-link--light:hover { background: var(--gold); color: var(--burgundy-deep); border-color: var(--gold); }
.text-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--burgundy); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.text-link:hover { color: var(--gold); }

/* Heroes */
.page-hero, .detail-hero { position: relative; min-height: min(62rem, 100vh); display: flex; align-items: flex-end; padding: 7rem clamp(1.35rem, 8vw, 9rem) clamp(4rem, 8vw, 7.5rem); background-position: center; background-size: cover; color: var(--cream); }
.detail-hero { min-height: min(56rem, 92vh); padding-bottom: clamp(3.6rem, 7vw, 6rem); }
.page-hero__wash, .detail-hero__wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36,7,8,.83) 0%, rgba(36,7,8,.5) 46%, rgba(36,7,8,.15) 100%), linear-gradient(0deg, rgba(36,7,8,.56), transparent 48%); }
.page-hero__content, .page-hero__footer, .detail-hero__content, .detail-hero__footer { position: relative; z-index: 1; }
.page-hero__content, .detail-hero__content { max-width: 63rem; }
.page-hero h1 { max-width: 65rem; margin-bottom: 1.4rem; font-size: clamp(4.4rem, 8vw, 8rem); line-height: .76; }
.detail-hero h1 { margin-bottom: 1.2rem; font-size: clamp(4.7rem, 11vw, 11rem); line-height: .76; }
.page-hero__body, .detail-hero__content > p:last-child { max-width: 31rem; margin-bottom: 2rem; color: rgba(245,240,230,.75); font-size: 1rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.hero-text-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--gold-soft); font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.page-hero__footer, .detail-hero__footer { position: absolute; right: clamp(1.35rem, 4vw, 4.5rem); bottom: 2.2rem; left: clamp(1.35rem, 4vw, 4.5rem); display: flex; justify-content: space-between; align-items: center; color: rgba(245,240,230,.56); font-size: .61rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

/* Home */
.intro { display: grid; grid-template-columns: .7fr 1.6fr .65fr; gap: clamp(2.5rem,8vw,9rem); align-items: start; }
.section-marker { display: flex; flex-direction: column; gap: .7rem; }
.marker-number { color: var(--gold); font-family: var(--serif); font-size: 5rem; line-height: .75; }
.intro-copy h2 { margin-bottom: 2rem; }
.intro-copy .body-copy { margin-bottom: 2rem; }
.intro-aside { align-self: end; padding-top: 2rem; color: rgba(44,32,27,.65); font-size: .74rem; line-height: 1.9; text-transform: uppercase; letter-spacing: .12em; }
.intro-aside .rule { width: 5rem; height: 1px; margin-bottom: 1.5rem; background: var(--gold); }
.intro-aside span { display: block; margin-top: 3rem; color: var(--gold); font-size: .62rem; }
.full-bleed-image { position: relative; min-height: 47rem; overflow: hidden; display: grid; place-items: center; background-position: center; background-size: cover; color: var(--cream); }
.full-bleed-image__video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.full-bleed-image__wash { position: absolute; inset: 0; z-index: 0; background: rgba(47,19,17,.43); }
.full-bleed-image__center { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; text-align: center; }
.image-seal { display: grid; place-items: center; width: 4.6rem; height: 4.6rem; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-soft); font-family: var(--serif); font-size: 2.6rem; }
.play-button { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border: 1px solid rgba(245,240,230,.62); border-radius: 50%; color: var(--cream); transition: background 180ms ease, color 180ms ease; }
.play-button:hover { background: var(--gold); color: var(--burgundy-deep); }
.expertise { display: grid; grid-template-columns: minmax(16rem,.7fr) 1.3fr; gap: clamp(3rem,9vw,10rem); }
.expertise-intro .body-copy { margin: 2rem 0; }
.expertise-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--line); }
.expertise-card { position: relative; min-height: 14rem; padding: 1.35rem 1.25rem 1.25rem 0; border-bottom: 1px solid var(--line); }
.expertise-card:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.card-top { display: flex; justify-content: space-between; align-items: center; color: var(--gold); font-size: .66rem; font-weight: 700; letter-spacing: .15em; }
.expertise-card h3 { max-width: 14rem; margin-top: 2.5rem; }
.expertise-card p, .service-preview p { max-width: 15rem; margin-bottom: 0; color: rgba(44,32,27,.64); font-size: .8rem; line-height: 1.7; }
.card-arrow { position: absolute; right: 1.15rem; bottom: 1.2rem; color: var(--gold); }
.manifesto { display: grid; grid-template-columns: 1.2fr .8fr; gap: 5rem; }
.manifesto h2 { font-size: clamp(4rem,8vw,8.5rem); }
.manifesto-copy { align-self: end; max-width: 27rem; padding-bottom: 1rem; }
.manifesto-copy p { color: rgba(245,240,230,.71); font-size: .95rem; line-height: 1.9; }
.stat-strip { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4,1fr); margin-top: 3rem; border-top: 1px solid var(--line-light); }
.stat-strip div { padding: 1.6rem 1rem 0 0; border-right: 1px solid var(--line-light); }
.stat-strip div:not(:first-child) { padding-left: 1rem; }
.stat-strip div:last-child { border-right: 0; }
.stat-strip strong { display: block; color: var(--gold-soft); font-family: var(--serif); font-size: 3.8rem; font-weight: 400; line-height: .9; }
.stat-strip span { display: block; margin-top: .9rem; color: rgba(245,240,230,.63); font-size: .67rem; letter-spacing: .13em; text-transform: uppercase; }
.services .section-heading, .project-list .section-heading, .gallery .section-heading { display: grid; grid-template-columns: 1.05fr .95fr; gap: 5rem; align-items: end; }
.section-heading .body-copy { margin: 0 0 .45rem; }
.service-preview-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-top: 4rem; }
.service-preview { min-height: 22rem; padding: 1.45rem; border-top: 1px solid var(--line); background: rgba(255,255,255,.16); transition: transform 220ms var(--ease-out), background 220ms ease; }
.service-preview:hover { background: var(--cream-deep); transform: translateY(-7px); }
.service-preview h3 { margin-top: 4.5rem; }
.service-preview p { margin-bottom: 2rem; }
.featured-project { position: relative; min-height: 49rem; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(2rem,5vw,5rem) clamp(1.35rem,6vw,7.2rem); background-position: center; background-size: cover; color: var(--cream); transition: background-image 600ms ease; }
.featured-project__wash { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(24,5,6,.65),rgba(24,5,6,.12)), linear-gradient(0deg,rgba(24,5,6,.72),transparent 50%); }
.featured-project__top, .featured-project__content, .slider-controls { position: relative; z-index: 1; }
.featured-project__top { display: flex; justify-content: space-between; color: rgba(245,240,230,.68); font-size: .65rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.featured-project__content h2 { margin-bottom: .3rem; color: var(--cream); font-size: clamp(4rem,9vw,9rem); }
.featured-project__content > p:not(.eyebrow) { margin-bottom: 2rem; color: rgba(245,240,230,.72); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; }
.slider-controls { display: flex; gap: .4rem; align-self: flex-end; }
.slider-controls button { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border: 1px solid rgba(245,240,230,.42); border-radius: 50%; color: var(--cream); transition: background 180ms ease, color 180ms ease; }
.slider-controls button:hover { background: var(--gold); color: var(--burgundy-deep); }
.project-card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-top: 4rem; }
.project-card { position: relative; display: block; min-height: 25rem; overflow: hidden; color: var(--cream); background: var(--burgundy-deep); }
.project-card img, .related-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.project-card:hover img, .related-card:hover img { transform: scale(1.045); }
.project-card__wash { position: absolute; inset: 0; background: linear-gradient(0deg,rgba(27,5,5,.8),transparent 63%); }
.project-card__meta, .project-card__title { position: absolute; z-index: 1; right: 1.4rem; left: 1.4rem; display: flex; justify-content: space-between; align-items: center; }
.project-card__meta { top: 1.4rem; color: rgba(245,240,230,.78); font-size: .61rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.project-card__title { bottom: 1.4rem; align-items: end; }
.project-card__title h3 { max-width: 20rem; margin-bottom: 0; color: var(--cream); font-size: clamp(2rem,4vw,3.8rem); }
.project-card__title p { margin-bottom: .25rem; color: var(--gold-soft); font-size: .62rem; letter-spacing: .13em; text-transform: uppercase; }
.align-right { display: flex; justify-content: flex-end; margin-top: 2.5rem; }
.cta-band { display: grid; grid-template-columns: 1.3fr .7fr; gap: 5rem; min-height: 32rem; }
.cta-band h2 { font-size: clamp(4.5rem,9vw,9.5rem); }
.cta-side { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; color: var(--gold-soft); }
.cta-side span { align-self: end; max-width: 15rem; color: rgba(245,240,230,.65); font-family: var(--serif); font-size: 1.75rem; line-height: .95; }
.cta-side strong { color: var(--cream); font-weight: 500; }

/* About and service layouts */
.about-story, .services-intro, .detail-intro, .contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 6vw; }
.about-story h2, .services-intro h2, .detail-intro h2 { font-size: clamp(4rem,8vw,8.5rem); }
.about-story__copy, .services-intro__copy, .detail-intro__copy { padding-top: 4.8rem; }
.about-story__copy .body-copy + .body-copy { margin-top: 1.2rem; }
.about-dark { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; }
.about-dark h2 { font-size: clamp(4rem,7vw,7.4rem); }
.principle-grid { display: grid; grid-template-columns: repeat(2,1fr); }
.principle-card { padding: 1.5rem 1.2rem 2.2rem 0; border-top: 1px solid var(--line-light); }
.principle-card:nth-child(even) { padding-left: 1.2rem; border-left: 1px solid var(--line-light); }
.principle-card > span { display: block; margin-bottom: 2.4rem; color: var(--gold-soft); font-size: .64rem; font-weight: 700; letter-spacing: .15em; }
.principle-card .icon { color: var(--gold); font-size: 1.5rem; }
.principle-card h3 { margin-top: 1.4rem; color: var(--cream); }
.principle-card p { margin-bottom: 0; color: rgba(245,240,230,.64); font-size: .9rem; }
.about-image-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem,7vw,8rem); align-items: center; }
.about-image-split__image { min-height: 46rem; background-position: center; background-size: cover; }
.about-image-split__copy h2 { max-width: 30rem; font-size: clamp(3.8rem,7vw,7rem); }
.about-image-split__copy .body-copy { margin: 2rem 0; }
.about-metrics { display: flex; gap: 4rem; margin: 2.5rem 0; padding: 1.4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-metrics strong { display: block; color: var(--gold); font-family: var(--serif); font-size: 3.5rem; font-weight: 500; line-height: .9; }
.about-metrics span { display: block; max-width: 7rem; margin-top: .65rem; color: rgba(44,32,27,.62); font-size: .63rem; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.service-detail-list { background: var(--cream-deep); }
.service-detail-row { display: grid; grid-template-columns: .55fr 1.45fr; gap: 7vw; border-top: 1px solid var(--line); }
.service-detail-row__number { display: flex; justify-content: space-between; align-items: flex-start; color: var(--gold); }
.service-detail-row__number span { font-family: var(--serif); font-size: 5rem; line-height: .75; }
.service-detail-row__content { max-width: 45rem; }
.service-detail-row__content h2 { font-size: clamp(3.4rem,6vw,6.3rem); }
.service-detail-row__content .body-copy { margin-bottom: 2rem; }
.service-bullets { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem 2rem; margin-bottom: 2.4rem; padding: 1.6rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-bullets div { display: flex; align-items: center; gap: .5rem; color: rgba(44,32,27,.75); font-size: .9rem; }
.service-bullets div::before { content: '✦'; color: var(--gold); }
.process { display: grid; grid-template-columns: .8fr 1.2fr; gap: 7vw; }
.process-list { border-top: 1px solid var(--line); }
.process-step { display: grid; grid-template-columns: 4rem 1fr; gap: 1.2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.process-step > span { color: var(--gold); font-size: .66rem; font-weight: 700; letter-spacing: .15em; }
.process-step h3 { margin-bottom: .3rem; }
.process-step p { max-width: 24rem; margin-bottom: 0; color: rgba(44,32,27,.65); font-size: .9rem; }

/* Project detail and gallery */
.back-link { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 5rem; color: var(--burgundy); font-size: .65rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.detail-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin: 2rem 0; }
.detail-tags span { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .8rem; border: 1px solid var(--line); color: rgba(44,32,27,.75); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.detail-tags span::before { content: '✦'; color: var(--gold); }
.detail-gallery { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; padding-top: 0; }
.detail-gallery__image { min-height: 31rem; background-position: center; background-size: cover; }
.detail-gallery__image--wide { grid-column: 1 / -1; min-height: 45rem; }
.related-projects h2 { margin-bottom: 0; }
.related-card { position: relative; min-height: 24rem; display: block; overflow: hidden; background: var(--burgundy-deep); color: var(--cream); }
.related-card::after { position: absolute; inset: 0; content: ''; background: linear-gradient(0deg,rgba(27,5,5,.78),transparent 66%); }
.related-card span, .related-card h3, .related-card > b { position: absolute; z-index: 1; }
.related-card span { top: 1.2rem; left: 1.2rem; color: var(--gold-soft); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; }
.related-card h3 { bottom: 1.1rem; left: 1.2rem; margin: 0; color: var(--cream); font-size: 2.4rem; }
.related-card > b { right: 1.2rem; bottom: 1.2rem; font-family: var(--sans); font-size: 1rem; font-weight: 400; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: .45rem; margin: 3.5rem 0 2rem; }
.gallery-filters button { padding: .55rem .85rem; border: 1px solid var(--line); color: rgba(44,32,27,.57); font-size: .62rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; transition: background 180ms ease, color 180ms ease, border 180ms ease; }
.gallery-filters button:hover, .gallery-filters button.is-active { background: var(--burgundy); border-color: var(--burgundy); color: var(--cream); }
.gallery-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 1rem; }
.gallery-item { min-height: 20rem; }
.gallery-item--0, .gallery-item--5 { grid-column: span 7; min-height: 34rem; }
.gallery-item--1, .gallery-item--6 { grid-column: span 5; }
.gallery-item--2, .gallery-item--3, .gallery-item--4, .gallery-item--7, .gallery-item--8, .gallery-item--9 { grid-column: span 4; }
.gallery-item button { position: relative; width: 100%; height: 100%; min-height: inherit; overflow: hidden; text-align: left; background: var(--burgundy-deep); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.gallery-item button::after { position: absolute; inset: 0; content: ''; background: linear-gradient(0deg,rgba(27,5,5,.7),transparent 60%); }
.gallery-item button:hover img { transform: scale(1.045); }
.gallery-item button span, .gallery-item button b { position: absolute; z-index: 1; color: var(--cream); }
.gallery-item button span { bottom: 1rem; left: 1rem; font-size: .61rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.gallery-item button b { right: 1rem; bottom: 1rem; color: var(--gold-soft); font-size: 1rem; font-weight: 400; }
.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 5rem 4rem; background: rgba(28,4,9,.95); opacity: 0; pointer-events: none; transition: opacity 220ms ease; }
.lightbox[data-open='true'] { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(85vw,75rem); max-height: 82vh; object-fit: contain; }
.lightbox__close, .lightbox__prev, .lightbox__next { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid rgba(245,240,230,.35); border-radius: 50%; color: var(--cream); font-size: 1.25rem; }
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__prev { top: 50%; left: 1.5rem; transform: translateY(-50%); }
.lightbox__next { top: 50%; right: 1.5rem; transform: translateY(-50%); }

/* Contact and footer */
.contact__intro h2 { font-size: clamp(4rem,8vw,8rem); }
.contact__intro .body-copy { margin: 2rem 0 2.4rem; }
.contact__details { display: flex; flex-direction: column; gap: .9rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.contact__details a, .contact__details span { display: flex; align-items: center; gap: .65rem; color: rgba(44,32,27,.72); font-size: .76rem; }
.contact__details .detail-mark { display: inline-flex; color: var(--gold); }
.contact__details .detail-mark svg { width: 1.05rem; height: 1.05rem; }
.contact-form-wrap { align-self: start; padding: clamp(1.5rem,4vw,3rem); background: var(--cream-deep); }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-form > .eyebrow { margin-bottom: .4rem; }
.contact-form label { display: flex; flex-direction: column; gap: .38rem; color: rgba(44,32,27,.68); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: .75rem 0; border: 0; border-bottom: 1px solid var(--line); outline: none; background: transparent; color: var(--ink); font-size: .9rem; font-weight: 400; letter-spacing: 0; text-transform: none; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--gold); }
.contact-form select { appearance: none; }
.contact-form .pill-link { margin-top: .6rem; }
.form-success { padding: 3rem 0; }
.form-success h3 { font-size: 3rem; }
.contact-note h2 { max-width: 68rem; font-size: clamp(3.7rem,7vw,7.3rem); }
.site-footer { padding: 4.2rem clamp(1.35rem,6vw,7.2rem) 1.4rem; background: var(--burgundy-deep); color: var(--cream); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr .75fr 1fr .85fr; gap: 3rem; padding-bottom: 5rem; }
.site-footer__brand img { width: 11rem; margin-bottom: 1.5rem; }
.site-footer__brand p { max-width: 20rem; color: rgba(245,240,230,.63); font-size: 0.9rem; line-height: 1.8; }
.site-footer__column { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.footer-label { margin-bottom: .8rem; color: var(--gold-soft); font-size: .61rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.site-footer__column a, .site-footer__column p { color: rgba(245,240,230,.7); font-size: .9rem; }
.site-footer__column a { display: inline-flex; gap: .4rem; align-items: center; transition: color 180ms ease; }
.site-footer__column a:hover { color: var(--gold-soft); }
.site-footer__column p { margin-top: auto; font-family: var(--serif); font-size: 1.4rem; line-height: .95; }
.site-footer__column p strong { color: var(--cream); font-weight: 500; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--line-light); color: rgba(245,240,230,.45); font-size: .61rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer__bottom a { display: inline-flex; align-items: center; gap: .35rem; color: var(--gold-soft); }

/* Footer social icons */
.footer-socials { display: flex; gap: .55rem; margin-bottom: .3rem; }
.footer-socials a { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid rgba(245,240,230,.3); border-radius: 50%; color: var(--cream); transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease; }
.footer-socials a svg { width: 1.02rem; height: 1.02rem; }
.footer-socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--burgundy-deep); transform: translateY(-2px); }

/* Full-width footer map */
.footer-map { position: relative; width: 100%; height: 26rem; filter: grayscale(35%) sepia(6%) contrast(1.05); }
.footer-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.footer-map__tag { position: absolute; left: clamp(1.35rem,6vw,7.2rem); bottom: 1.4rem; z-index: 1; display: flex; align-items: center; gap: .55rem; padding: .8rem 1.2rem; background: var(--burgundy-deep); color: var(--cream); font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 12px 30px rgba(20,4,4,.35); }
.footer-map__tag span { color: var(--gold-soft); }

/* Floating WhatsApp button */
.whatsapp-float { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 60; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 26px rgba(15,10,5,.32); transition: transform 200ms ease, box-shadow 200ms ease; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 30px rgba(15,10,5,.4); color: #fff; }
.whatsapp-float svg { position: relative; z-index: 1; width: 1.85rem; height: 1.85rem; }
.whatsapp-float__ring { position: absolute; inset: 0; border-radius: 50%; background: #25d366; opacity: .55; animation: whatsapp-pulse 2.4s ease-out infinite; }
@keyframes whatsapp-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .whatsapp-float__ring { animation: none; opacity: 0; } }

@media (max-width: 900px) {
  .site-header__nav, .site-header__cta { display: none; }
  .site-header__menu { display: flex; margin-left: auto; }
  .page-hero { min-height: 52rem; padding-bottom: 6rem; }
  .page-hero h1 { font-size: clamp(4rem,13vw,8rem); }
  .intro, .expertise, .about-dark, .about-image-split, .services-intro, .process, .detail-intro, .contact, .cta-band { grid-template-columns: 1fr; gap: 3rem; }
  .intro-aside { display: none; }
  .about-story__copy, .services-intro__copy, .detail-intro__copy { padding-top: 0; }
  .manifesto-copy { padding-bottom: 0; }
  .stat-strip { margin-top: 1rem; }
  .services .section-heading, .project-list .section-heading, .gallery .section-heading { grid-template-columns: 1fr; gap: 1.4rem; }
  .section-heading .body-copy { margin: 0; }
  .cta-band { min-height: auto; }
  .cta-side { min-height: 12rem; }
  .cta-side span { align-self: start; }
  .site-footer__grid { grid-template-columns: repeat(2,1fr); }
  .site-footer__brand { grid-column: 1 / -1; }
  .about-dark__headline { max-width: 35rem; }
}

@media (max-width: 620px) {
  .section-pad { padding-top: 4.4rem; padding-bottom: 4.4rem; }
  .site-header { height: 5.5rem; padding-top: .9rem; padding-bottom: .9rem; }
  .site-header__logo { width: 8.4rem; }
  .page-hero { min-height: 42rem; padding-top: 5.4rem; padding-bottom: 5rem; }
  .page-hero h1, .detail-hero h1 { font-size: clamp(3.8rem,18vw,6rem); }
  .page-hero__body { font-size: .86rem; }
  .page-hero__footer { bottom: 1.3rem; font-size: .53rem; }
  h2 { font-size: clamp(3.2rem,15vw,5rem); }
  .full-bleed-image { min-height: 29rem; }
  .expertise-grid, .service-preview-grid, .project-card-grid, .principle-grid, .detail-gallery { grid-template-columns: 1fr; }
  .expertise-card, .expertise-card:nth-child(even) { min-height: 12rem; padding: 1.2rem 0; border-left: 0; }
  .expertise-card h3 { margin-top: 1.7rem; }
  .manifesto h2 { font-size: clamp(3.7rem,16vw,6rem); }
  .stat-strip { grid-template-columns: repeat(2,1fr); }
  .stat-strip div { min-height: 6.5rem; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .stat-strip div:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line-light); }
  .stat-strip div:nth-child(even) { padding-left: 1rem; }
  .stat-strip div:nth-last-child(-n+2) { border-bottom: 0; }
  .service-preview { min-height: 17rem; }
  .featured-project { min-height: 36rem; }
  .featured-project__content h2 { font-size: clamp(3.8rem,16vw,6rem); }
  .project-card, .related-card { min-height: 20rem; }
  .project-card__title h3 { font-size: 2.4rem; }
  .about-image-split__image { min-height: 27rem; }
  .about-metrics { gap: 2rem; }
  .about-metrics strong { font-size: 2.7rem; }
  .service-detail-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-detail-row__number span { font-size: 4rem; }
  .service-detail-row__content h2 { font-size: 3.3rem; }
  .service-bullets { grid-template-columns: 1fr; }
  .detail-hero { min-height: 38rem; padding-bottom: 4.8rem; }
  .detail-gallery__image, .detail-gallery__image--wide { min-height: 23rem; grid-column: auto; }
  .gallery-item, .gallery-item--0, .gallery-item--5 { min-height: 20rem; }
  .gallery-item--0, .gallery-item--5 { min-height: 27rem; }
  .lightbox { padding-right: 2.8rem; padding-left: 2.8rem; }
  .lightbox__prev { left: .5rem; }
  .lightbox__next { right: .5rem; }
  .contact-form-wrap { padding: 1.4rem; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2.3rem; padding-bottom: 3.5rem; }
  .site-footer__brand { grid-column: auto; }
  .site-footer__bottom { flex-direction: column; gap: .55rem; }
  .footer-map { height: 16rem; }
  .footer-map__tag { left: 1.1rem; bottom: 1rem; padding: .6rem .85rem; font-size: .58rem; }
  .whatsapp-float { right: 1rem; bottom: 1rem; width: 3.2rem; height: 3.2rem; }
  .whatsapp-float svg { width: 1.6rem; height: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Hero Background Video */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #240708;
}

.page-hero__video {
  position: absolute;
  inset: 0;
  z-index: -2;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

/* Keep the existing dark luxury overlay */
.page-hero__wash {
  position: absolute;
  inset: 0;
  z-index: -1;

  background:
    linear-gradient(
      90deg,
      rgba(36, 7, 8, .83) 0%,
      rgba(36, 7, 8, .50) 46%,
      rgba(36, 7, 8, .15) 100%
    ),
    linear-gradient(
      0deg,
      rgba(36, 7, 8, .56),
      transparent 48%
    );
}
