/* ==========================================================================
   1. Design tokens and theme
   ========================================================================== */

:root {
  color-scheme: light;
  --ink: #171a17;
  --paper: #f3f0e9;
  --surface: #e7e3da;
  --muted: #696c66;
  --line: rgb(23 26 23 / 16%);
  --gold: #b69661;
  --forest: #26372e;
  --night: #101310;
  --white: #fbfaf7;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", Arial, sans-serif;
  --page-gutter: clamp(1.25rem, 4vw, 5.5rem);
  --content-max: 92rem;
  --header-height: 5.5rem;
  --space-xs: clamp(0.5rem, 0.35rem + 0.4vw, 0.9rem);
  --space-sm: clamp(0.9rem, 0.6rem + 0.8vw, 1.6rem);
  --space-md: clamp(1.5rem, 1rem + 1.5vw, 3rem);
  --space-lg: clamp(2.8rem, 1.5rem + 4vw, 7rem);
  --space-xl: clamp(5rem, 2.5rem + 8vw, 12rem);
  --text-xs: clamp(0.68rem, 0.64rem + 0.15vw, 0.78rem);
  --text-sm: clamp(0.84rem, 0.78rem + 0.2vw, 0.98rem);
  --text-body: clamp(1rem, 0.94rem + 0.22vw, 1.15rem);
  --text-h2: clamp(2.6rem, 1.6rem + 4vw, 6.8rem);
  --text-hero: clamp(4rem, 2rem + 8vw, 10rem);
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 2rem 6rem rgb(0 0 0 / 18%);
}

html[data-theme="dark"] {
  color-scheme: dark;
}

/* ==========================================================================
   2. Reset and global foundation
   ========================================================================== */

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

html {
  min-width: 20rem;
  background: var(--night);
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  object-fit: cover;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
summary {
  cursor: pointer;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 0.3rem;
}

::selection {
  background: var(--gold);
  color: var(--night);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--night);
  font-size: var(--text-xs);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section {
  width: min(100%, var(--content-max));
  margin-inline: auto;
  padding: var(--space-xl) var(--page-gutter);
}

.section-heading {
  width: min(62rem, 100%);
  margin-bottom: var(--space-lg);
}

.section-heading h2,
.proof h2,
.catalogue h2,
.estimate h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.section-heading h2 em,
.estimate h2 em {
  color: var(--gold);
  font-weight: 500;
}

.section-heading > p:last-child {
  max-width: 42rem;
  margin: var(--space-md) 0 0;
  color: var(--muted);
}

/* ==========================================================================
   3. Persistent navigation and sound control
   ========================================================================== */

.site-header {
  position: fixed;
  z-index: 300;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--page-gutter);
  border-bottom: 1px solid transparent;
  color: var(--white);
  transition:
    background 400ms ease,
    border-color 400ms ease,
    color 400ms ease,
    transform 400ms var(--ease-luxury);
}

.site-header.is-solid {
  border-color: rgb(255 255 255 / 9%);
  background: rgb(16 19 16 / 88%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand__logo {
  width: auto;
  height: auto;
  object-fit: contain;
}

.site-header .brand__logo {
  max-height: calc(var(--header-height) - 0.75rem);
  max-width: min(18rem, 52vw);
}

.site-footer .brand__logo {
  max-width: clamp(14rem, 24vw, 22rem);
}

.site-nav {
  display: flex;
  font-size: 0.65rem;
  gap: clamp(1.5rem, 3vw, 3.5rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.7rem;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 1px;
  margin-block: 0.42rem;
  background: currentColor;
}

/* ==========================================================================
   4. Door scroll experience
   Real photography supplies the architecture; CSS only positions media layers.
   ========================================================================== */

.door-experience {
  position: relative;
  height: 220vh;
  min-height: 80rem;
  background: var(--night);
}

.door-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 36rem;
  overflow: hidden;
  background: #111511;
  color: var(--white);
  perspective: 1600px;
  isolation: isolate;
}

.door-stage__media,
.door-stage__exterior,
.door-stage__interior,
.door-stage__light {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.door-stage__media {
  transform-origin: center;
  will-change: transform;
}

.door-stage__exterior,
.door-stage__interior {
  object-position: center;
}

.door-stage__exterior {
  z-index: 2;
  filter: brightness(0.58) saturate(0.88);
}

.door-stage__interior {
  z-index: 1;
  filter: brightness(0.78) saturate(0.8);
  transform: scale(1.04);
}

.door-stage--photo .door-pair {
  display: none;
}

.door-stage--photo .door-stage__exterior,
.door-stage--photo .door-stage__interior {
  object-fit: cover;
}

.door-stage--photo .door-stage__exterior {
  filter: brightness(0.92) saturate(1);
}

.door-stage--photo .door-stage__interior {
  filter: brightness(1) saturate(1);
  transform: none;
}

.door-stage--photo .door-intro {
  background: linear-gradient(rgb(5 8 6 / 35%), rgb(5 8 6 / 55%));
}

.window-scene--photo .window-scene__outside {
  z-index: 1;
  object-fit: cover;
}

.window-scene--photo .window-reflection {
  z-index: 2;
}

.window-experience--photo .window-stage {
  background: #0f1210;
}

.door-stage__light {
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 42%, rgb(238 189 113 / 20%), transparent 38%),
    linear-gradient(90deg, rgb(0 0 0 / 44%), transparent 30% 70%, rgb(0 0 0 / 44%));
  mix-blend-mode: screen;
}

.door-pair {
  position: absolute;
  z-index: 5;
  top: 13%;
  right: 50%;
  width: min(49vw, 48rem);
  height: min(78vh, 52rem);
  transform: translateX(50%);
  transform-style: preserve-3d;
}

.door-leaf {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.door-leaf img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.door-leaf--left {
  left: 0;
  transform-origin: left center;
}

.door-leaf--right {
  right: 0;
  transform-origin: right center;
}

.door-handle {
  position: absolute;
  z-index: 2;
  top: 49%;
  width: clamp(2.5rem, 4vw, 4.5rem) !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0.4rem 0.6rem rgb(0 0 0 / 28%));
  transform-origin: center;
}

.door-leaf--left .door-handle {
  right: 7%;
}

.door-leaf--right .door-handle {
  left: 7%;
}

.door-intro {
  position: absolute;
  z-index: 10;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: var(--page-gutter);
  background: linear-gradient(rgb(5 8 6 / 25%), rgb(5 8 6 / 44%));
  text-align: center;
  pointer-events: none;
}

.door-intro h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-shadow: 0 0.5rem 2rem rgb(0 0 0 / 25%);
}

.door-intro > p:last-of-type {
  margin: var(--space-md) 0 0;
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scroll-cue {
  position: relative;
  width: 1px;
  height: 4rem;
  margin-top: var(--space-md);
  overflow: hidden;
  background: rgb(255 255 255 / 22%);
}

.scroll-cue i {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 60%;
  background: var(--white);
  animation: scroll-cue 1.8s var(--ease-luxury) infinite;
}

@keyframes scroll-cue {
  0% { transform: translateY(0); }
  70%, 100% { transform: translateY(330%); }
}

.skip-intro {
  position: absolute;
  z-index: 20;
  right: var(--page-gutter);
  bottom: var(--space-md);
  min-height: 2.75rem;
  padding: 0.5rem 0;
  border: 0;
  border-bottom: 1px solid rgb(255 255 255 / 42%);
  background: transparent;
  color: rgb(255 255 255 / 78%);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ==========================================================================
   5. Window closing and noise-reduction experience
   ========================================================================== */

.window-experience {
  position: relative;
  height: 200vh;
  min-height: 72rem;
  background: #d9d5cc;
}

.window-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 36rem;
  overflow: hidden;
  background: #d9d5cc;
  color: var(--night);
  isolation: isolate;
}

.window-scene,
.window-scene > img,
.window-scene > video,
.window-opening,
.window-reflection {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.window-scene > img,
.window-scene > video {
  object-fit: cover;
  object-position: center;
}

.window-scene__room {
  z-index: 1;
}

.window-scene__outside {
  z-index: 2;
  filter: brightness(1.05) saturate(1.08);
  will-change: filter;
}

.window-scene__leaves {
  z-index: 3;
  transform-origin: bottom right;
  will-change: transform;
}

.window-scene__curtain {
  z-index: 6;
  width: 34%;
  object-fit: contain;
  will-change: transform;
}

.window-scene__curtain--left {
  right: auto;
  object-position: left center;
}

.window-scene__curtain--right {
  left: auto;
  object-position: right center;
}

.window-opening {
  z-index: 5;
  pointer-events: none;
}

.window-sash,
.window-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.window-sash {
  z-index: 1;
  transform: translateX(-44%);
  will-change: transform;
}

.window-frame {
  z-index: 3;
}

.window-reflection {
  z-index: 2;
  background:
    linear-gradient(110deg, transparent 20%, rgb(255 255 255 / 24%) 42%, transparent 58%),
    rgb(132 148 142 / 8%);
  opacity: 0;
  mix-blend-mode: screen;
}

.window-copy {
  position: absolute;
  z-index: 20;
  top: 50%;
  left: var(--page-gutter);
  width: min(40rem, calc(100% - var(--page-gutter) * 2));
  padding: clamp(1.5rem, 3vw, 3rem);
  background: rgb(247 245 240 / 82%);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  transform: translateY(-50%);
}

.window-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.8vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.window-copy > p:last-child {
  max-width: 34rem;
  margin: var(--space-md) 0 0;
  color: #50554f;
}

.window-copy--closed {
  opacity: 0;
  visibility: hidden;
}

/* ==========================================================================
   6. Services and benefits
   ========================================================================== */

.services {
  background: var(--paper);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(19rem, 0.65fr);
  align-items: center;
  margin-block: var(--space-xl);
  gap: clamp(2rem, 6vw, 8rem);
}

.feature--reverse {
  grid-template-columns: minmax(19rem, 0.65fr) minmax(0, 1.35fr);
}

.feature--reverse .feature__media {
  order: 2;
}

.media-frame {
  overflow: hidden;
  background: #d0ccc3;
}

.media-frame picture {
  display: block;
}

.media-frame img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  transition: transform 1.2s var(--ease-luxury);
}

.media-frame:hover img {
  transform: scale(1.025);
}

.feature__copy > span {
  display: block;
  margin-bottom: var(--space-md);
  color: var(--gold);
  font-size: var(--text-xs);
}

.feature__copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.feature__copy > p:not(.eyebrow) {
  color: var(--muted);
}

.benefit-list {
  margin: var(--space-md) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.benefit-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-sm);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.benefit-grid article {
  min-height: 18rem;
  padding: var(--space-md);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefit-grid span {
  color: var(--gold);
  font-size: var(--text-xs);
}

.benefit-grid h3 {
  margin: var(--space-lg) 0 var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
}

.benefit-grid p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
}

/* ==========================================================================
   7. Project gallery — horizontal luxury slider
   ========================================================================== */

.projects {
  overflow: clip;
  background: var(--night);
  color: var(--white);
}

.section-heading--row {
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.text-link {
  display: inline-flex;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 35%);
  font-size: var(--text-xs);
  gap: 2rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.project-gallery {
  display: grid;
  gap: var(--space-md);
}

.project-gallery__stage {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.project-gallery__viewport {
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.project-gallery__viewport img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.project-gallery__viewport.is-dragging {
  cursor: grabbing;
}

.project-gallery__track {
  display: flex;
  align-items: stretch;
  will-change: transform;
  transition: transform 780ms var(--ease-luxury);
}

.project-gallery.is-reduced .project-gallery__track,
.project-gallery.is-reduced .project-slide__media,
.project-gallery.is-reduced .project-slide {
  transition: none;
}

.project-slide {
  position: relative;
  flex: 0 0 auto;
  width: min(52rem, 86%);
  min-width: 0;
  margin: 0;
  margin-right: clamp(0.85rem, 1.8vw, 1.6rem);
  opacity: 0.42;
  transform: scale(0.94);
  transform-origin: center center;
  transition:
    opacity 780ms var(--ease-luxury),
    transform 780ms var(--ease-luxury),
    filter 780ms var(--ease-luxury);
  filter: brightness(0.72);
}

.project-slide.is-active {
  opacity: 1;
  transform: scale(1);
  filter: brightness(1) drop-shadow(0 1.6rem 3.5rem rgb(0 0 0 / 45%));
}

.project-slide__button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  cursor: zoom-in;
}

.project-slide__media {
  position: relative;
  overflow: hidden;
  background: #1a1e1a;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 6%);
  aspect-ratio: 16 / 10;
  transform: scale(1);
  transition: transform 780ms var(--ease-luxury);
}

.project-slide.is-active .project-slide__media {
  transform: scale(1.015);
}

.project-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-slide__caption {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.35;
}

.project-slide__caption span {
  color: rgb(215 193 147 / 78%);
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-gallery__arrow {
  display: inline-flex;
  width: 3.25rem;
  height: 3.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(182 150 97 / 55%);
  background: rgb(16 19 16 / 72%);
  color: var(--gold);
  font-size: 1.15rem;
  line-height: 1;
  transition:
    background 280ms var(--ease-luxury),
    border-color 280ms var(--ease-luxury),
    color 280ms var(--ease-luxury),
    transform 280ms var(--ease-luxury);
}

.project-gallery__arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--night);
}

.project-gallery__arrow:active {
  transform: scale(0.96);
}

.project-gallery__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-inline: clamp(0rem, 1vw, 0.25rem);
}

.project-gallery__counter {
  margin: 0;
  color: rgb(255 255 255 / 55%);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-gallery__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  max-width: min(100%, 34rem);
}

.project-gallery__dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgb(255 255 255 / 28%);
  transition:
    background 280ms var(--ease-luxury),
    transform 280ms var(--ease-luxury),
    box-shadow 280ms var(--ease-luxury);
}

.project-gallery__dot[aria-selected="true"] {
  background: var(--gold);
  box-shadow: 0 0 0 1px rgb(182 150 97 / 35%);
  transform: scale(1.35);
}

/* Lightbox */

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.5rem);
}

.project-lightbox[hidden] {
  display: none;
}

.project-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(8 10 8 / 88%);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 420ms var(--ease-luxury);
}

.project-lightbox.is-open .project-lightbox__backdrop {
  opacity: 1;
}

.project-lightbox__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.25rem);
  width: min(100%, 78rem);
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 520ms var(--ease-luxury),
    transform 520ms var(--ease-luxury);
}

.project-lightbox.is-open .project-lightbox__panel {
  opacity: 1;
  transform: scale(1);
}

.project-lightbox.is-reduced .project-lightbox__backdrop,
.project-lightbox.is-reduced .project-lightbox__panel {
  transition: none;
}

.project-lightbox__figure {
  margin: 0;
  min-width: 0;
}

.project-lightbox__figure img {
  width: 100%;
  max-height: min(78vh, 52rem);
  object-fit: contain;
  background: #121512;
  box-shadow: 0 2rem 5rem rgb(0 0 0 / 45%);
}

.project-lightbox__figure figcaption {
  margin-top: 0.9rem;
  color: rgb(255 255 255 / 72%);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  text-align: center;
}

.project-lightbox__category {
  display: block;
  margin-bottom: 0.35rem;
  color: rgb(215 193 147 / 78%);
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-lightbox__close,
.project-lightbox__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(182 150 97 / 55%);
  background: rgb(16 19 16 / 78%);
  color: var(--gold);
  transition:
    background 280ms var(--ease-luxury),
    border-color 280ms var(--ease-luxury),
    color 280ms var(--ease-luxury);
}

.project-lightbox__close:hover,
.project-lightbox__arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--night);
}

.project-lightbox__close {
  position: absolute;
  top: -0.25rem;
  right: 0;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.5rem;
  line-height: 1;
}

.project-lightbox__arrow {
  width: 3rem;
  height: 3rem;
  font-size: 1.1rem;
}

body.has-lightbox-open {
  overflow: hidden;
}

/* ==========================================================================
   8. Testimonials, service areas, and FAQ
   ========================================================================== */

.proof {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 8vw, 10rem);
}

.proof__intro > p {
  margin-top: var(--space-md);
  color: var(--muted);
}

.service-areas {
  display: grid;
  margin: var(--space-md) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service-areas li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-sm);
}

.testimonials {
  border-top: 1px solid var(--line);
}

.testimonials blockquote {
  margin: 0;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--line);
}

.testimonials blockquote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.8rem);
  line-height: 1.25;
}

.testimonials footer {
  margin-top: var(--space-md);
  color: var(--muted);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: clamp(3rem, 8vw, 10rem);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  gap: 2rem;
  list-style: none;
}

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

.faq-list summary span {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 1.4rem;
  transition: transform 300ms var(--ease-luxury);
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 42rem;
  margin: 0;
  padding: 0 3rem var(--space-md) 0;
  color: var(--muted);
}

/* ==========================================================================
   9. Product catalogue
   ========================================================================== */

.catalogue {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgb(231 227 218 / 55%) 0%, transparent 42%),
    var(--paper);
}

.catalogue__content {
  width: min(42rem, 100%);
}

.catalogue__content > p:not(.eyebrow) {
  max-width: 36rem;
  margin: var(--space-md) 0 0;
  color: var(--muted);
}

.button--catalogue {
  margin-top: var(--space-md);
  text-decoration: none;
  transition:
    background 280ms var(--ease-luxury),
    color 280ms var(--ease-luxury),
    border-color 280ms var(--ease-luxury);
}

.button--catalogue:hover {
  background: var(--night);
  border-color: var(--night);
  color: var(--white);
}

.catalogue--doors {
  background:
    linear-gradient(0deg, rgb(231 227 218 / 45%) 0%, transparent 48%),
    var(--paper);
}

/* ==========================================================================
   10. Estimate conversion section and form
   ========================================================================== */

.estimate {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  padding: var(--space-xl) var(--page-gutter);
  background: var(--forest);
  color: var(--white);
  gap: clamp(3rem, 8vw, 10rem);
}

.estimate__copy > p:not(.eyebrow) {
  max-width: 35rem;
  color: rgb(255 255 255 / 65%);
}

.contact-links {
  display: grid;
  margin-top: var(--space-lg);
  gap: 0.7rem;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  color: #d7c193;
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-decoration: none;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.contact-icon {
  width: 0.9em;
  height: 0.9em;
  flex-shrink: 0;
  display: block;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.estimate-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  gap: var(--space-md);
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 0;
  border: 0;
  border-bottom: 1px solid rgb(255 255 255 / 28%);
  border-radius: 0;
  background: transparent;
}

.form-field textarea {
  resize: vertical;
}

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

.button {
  min-height: 3.5rem;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  border: 1px solid currentColor;
  background: transparent;
  font-size: var(--text-xs);
  gap: 3rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button--light {
  margin-top: 0.5rem;
  background: var(--white);
  color: var(--night);
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.form-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* ==========================================================================
   11. Footer and no-script notice
   ========================================================================== */

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  padding: var(--space-lg) var(--page-gutter);
  background: var(--night);
  color: var(--white);
  gap: var(--space-lg);
}

.site-footer > p {
  margin: 0;
  color: rgb(255 255 255 / 48%);
  font-size: var(--text-xs);
}

.site-footer > p:last-child {
  text-align: right;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.site-footer__links a {
  font-size: var(--text-xs);
  text-decoration: none;
}

.noscript {
  position: fixed;
  z-index: 1000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 1rem;
  background: var(--white);
  color: var(--night);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

/* ==========================================================================
   12. Tablet and mobile adaptations
   ========================================================================== */

@media (width < 64rem) {
  :root {
    --header-height: 4.75rem;
  }

  .site-nav {
    display: none;
  }

  .site-header.is-menu-open .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    padding: 1.25rem var(--page-gutter) 1.75rem;
    background: rgb(16 19 16 / 96%);
    gap: 1.25rem;
    backdrop-filter: blur(18px);
  }

  .menu-toggle {
    display: block;
  }

  .door-experience {
    height: 175vh;
    min-height: 64rem;
  }

  .door-pair {
    top: 16%;
    width: min(72vw, 38rem);
    height: min(67vh, 43rem);
  }

  .window-experience {
    height: 175vh;
  }

  .window-copy {
    top: auto;
    right: var(--page-gutter);
    bottom: 8rem;
    transform: none;
  }

  .feature,
  .feature--reverse {
    grid-template-columns: 1fr;
  }

  .feature--reverse .feature__media {
    order: 0;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof,
  .faq,
  .estimate {
    grid-template-columns: 1fr;
  }
}

@media (width < 48rem) {
  .door-experience {
    height: 155vh;
  }

  .door-pair {
    top: 18%;
    width: 84vw;
    height: 61vh;
  }

  .skip-intro {
    right: 50%;
    transform: translateX(50%);
  }

  .window-experience {
    height: 165vh;
  }

  .window-copy {
    right: 1rem;
    bottom: 6.5rem;
    left: 1rem;
    width: auto;
    padding: 1.4rem;
  }

  .window-copy h2 {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }

  .window-copy > p:last-child {
    font-size: 0.88rem;
  }

  .project-gallery__stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .project-gallery__arrow {
    position: absolute;
    z-index: 2;
    top: calc(50% - 3.5rem);
    width: 2.85rem;
    height: 2.85rem;
  }

  .project-gallery__arrow--prev {
    left: 0.65rem;
  }

  .project-gallery__arrow--next {
    right: 0.65rem;
  }

  .project-slide {
    width: 100%;
    margin-right: 0;
  }

  .project-lightbox__panel {
    grid-template-columns: 1fr;
    width: min(100%, 42rem);
    gap: 0.85rem;
  }

  .project-lightbox__arrow {
    position: absolute;
    top: 46%;
    z-index: 2;
  }

  .project-lightbox__arrow--prev {
    left: 0.35rem;
  }

  .project-lightbox__arrow--next {
    right: 0.35rem;
  }

  .project-lightbox__close {
    top: -0.15rem;
    right: 0.15rem;
  }

  .project-lightbox__figure img {
    max-height: min(68vh, 36rem);
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .benefit-grid article {
    min-height: 14rem;
  }

  .section-heading--row {
    display: grid;
    gap: var(--space-md);
  }

  .estimate-form {
    grid-template-columns: 1fr;
  }

  .form-field--full {
    grid-column: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer > p:last-child {
    text-align: left;
  }
}

/* ==========================================================================
   13. Reduced motion, visibility, and print
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .project-gallery__track,
  .project-slide,
  .project-slide__media,
  .project-lightbox__backdrop,
  .project-lightbox__panel {
    transition: none !important;
  }

  .door-experience,
  .window-experience {
    height: 100svh;
    min-height: 38rem;
  }

  .door-stage,
  .window-stage {
    position: relative;
  }

  .door-pair {
    opacity: 0;
  }

  .door-stage__interior {
    z-index: 3;
  }

  .window-sash {
    transform: translateX(0);
  }

  .window-copy--open {
    display: none;
  }

  .window-copy--closed {
    opacity: 1;
    visibility: visible;
  }
}

@media print {
  .site-header,
  .door-experience,
  .window-experience,
  .skip-link {
    display: none;
  }

  .section,
  .estimate {
    padding: 2rem;
  }
}
