/* ==========================================================================
   Mount Vernon Wallpaper Installer — Design System & Stylesheet
   Palette:  Graphite / Warm Ivory / Muted Brass / Soft Stone
   Type:     Fraunces (variable, display serif) + Work Sans (variable, body)
   ========================================================================== */

/* ---------- Fonts (self-hosted variable, subset to Latin) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-variable.woff2") format("woff2-variations"),
       url("../fonts/fraunces-variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("../fonts/work-sans-variable.woff2") format("woff2-variations"),
       url("../fonts/work-sans-variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("../fonts/work-sans-italic-variable.woff2") format("woff2-variations"),
       url("../fonts/work-sans-italic-variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Core palette */
  --ink: #211C16;          /* deep graphite */
  --ink-soft: #3A332A;
  --paper: #FBF8F3;        /* warm ivory */
  --ivory: #F2ECE0;        /* deeper warm ivory */
  --stone: #726556;        /* soft warm gray */
  --stone-light: #B8AC98;
  --stone-100: #E9E0CF;
  --brass: #8C6A34;        /* muted brass / champagne gold */
  --brass-light: #CBA876;
  --dark: #16130E;         /* deepest charcoal band */
  --dark-text: #F1E9D9;
  --white: #FFFFFF;
  --error: #C24A3B;

  /* Typography */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Work Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;

  --fs-eyebrow: clamp(0.72rem, 0.68rem + 0.2vw, 0.82rem);
  --fs-body: clamp(1rem, 0.96rem + 0.15vw, 1.08rem);
  --fs-lead: clamp(1.12rem, 1.05rem + 0.3vw, 1.32rem);
  --fs-h1: clamp(2.6rem, 2rem + 3.2vw, 4.6rem);
  --fs-h2: clamp(2rem, 1.7rem + 1.6vw, 3.1rem);
  --fs-h3: clamp(1.3rem, 1.18rem + 0.6vw, 1.7rem);
  --fs-h4: clamp(1.1rem, 1.04rem + 0.3vw, 1.3rem);
  --fs-num: clamp(2.6rem, 2.2rem + 1.8vw, 3.8rem);

  /* Spacing / layout */
  --section-pad: clamp(4.5rem, 3.6rem + 4vw, 8rem);
  --gutter: clamp(1.25rem, 1rem + 2vw, 3rem);
  --max-width: 1280px;
  --radius-sm: 4px;
  --radius-md: 10px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: var(--fs-h1); font-weight: 450; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { max-width: 62ch; }
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}
::selection { background: var(--brass-light); color: var(--ink); }

/* ---------- Shared elements ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}
.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head h2 { margin-top: 0.5rem; }
.section-head p { margin-top: 1.1rem; color: var(--stone); font-size: var(--fs-lead); }
.section-head.center p { margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--brass);
  color: var(--white);
  box-shadow: 0 8px 24px -10px rgba(140, 106, 52, 0.55);
}
.btn-primary:hover { background: var(--brass-light); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(33, 28, 22, 0.3);
}
.btn-outline:hover { border-color: var(--ink); background: rgba(33,28,22,0.04); }
.btn-outline-light {
  background: transparent;
  color: var(--dark-text);
  border: 1px solid rgba(241, 233, 217, 0.35);
}
.btn-outline-light:hover { border-color: var(--dark-text); background: rgba(241,233,217,0.08); }
.btn-light {
  background: var(--paper);
  color: var(--ink);
}
.btn-light:hover { background: var(--white); transform: translateY(-2px); }

/* ---------- Damask motif (decorative, aria-hidden) ---------- */
.motif-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/motif-damask.svg");
  background-repeat: repeat;
  background-size: 240px 240px;
  pointer-events: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.8rem 1.4rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.icon-sm { width: 1.1em; height: 1.1em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 2.4rem; height: 2.4rem; stroke: var(--brass); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(33, 28, 22, 0.08);
  transition: box-shadow 0.4s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(33, 28, 22, 0.35); }
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.brand__mark { flex: none; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand__name em { font-style: normal; color: var(--brass); display: block; font-size: 0.85em; white-space: nowrap; }

.main-nav { flex-shrink: 0; }
.main-nav ul { display: flex; gap: clamp(0.65rem, 0.2rem + 1.6vw, 2.1rem); flex-wrap: nowrap; }
.main-nav a {
  font-size: clamp(0.8rem, 0.72rem + 0.3vw, 0.92rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding-block: 0.3rem;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--brass);
  transition: right 0.35s var(--ease);
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after { right: 0; }
.main-nav__cta { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 1.3rem; flex-shrink: 0; }
.header-phone { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.92rem; white-space: nowrap; flex-shrink: 0; }
.header-phone .icon-sm { color: var(--brass); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(100vh, 920px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--dark-text);
}
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,19,14,0.15) 0%, rgba(22,19,14,0.35) 45%, rgba(22,19,14,0.92) 100%);
}
.hero__content {
  position: relative;
  padding-block: clamp(3rem, 2rem + 6vw, 6rem) clamp(3.5rem, 2.5rem + 5vw, 5.5rem);
  max-width: 50rem;
}
.eyebrow--light { color: var(--brass-light); }
.hero h1 { color: var(--white); margin-top: 0.9rem; }
.hero__lead { font-size: var(--fs-lead); max-width: 40rem; color: var(--stone-light); margin-top: 1.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero__trust {
  margin-top: 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone-light);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(241,233,217,0.18);
  max-width: 28rem;
}
.hero__scroll-cue {
  position: absolute;
  right: clamp(1.25rem, 1rem + 2vw, 3rem);
  bottom: 2rem;
  color: var(--dark-text);
  opacity: 0.7;
  animation: bob 2.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .hero__scroll-cue { animation: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ==========================================================================
   INTRO
   ========================================================================== */
.intro { padding-block: var(--section-pad); }
.intro__grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(2rem, 1.5rem + 2.5vw, 5rem);
  align-items: center;
}
.intro__media img { border-radius: var(--radius-md); aspect-ratio: 4 / 5; object-fit: cover; }
.intro__text p { color: var(--stone); margin-top: 1.2rem; }
.intro__text h2 { margin-top: 0.7rem; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { padding-block: var(--section-pad); background: var(--ivory); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(33,28,22,0.1);
  border: 1px solid rgba(33,28,22,0.1);
}
.service-card {
  background: var(--ivory);
  padding: clamp(1.8rem, 1.5rem + 1.2vw, 2.6rem);
  transition: background-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.service-card:hover { background: var(--paper); }
.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem; height: 3.1rem;
  border-radius: 50%;
  border: 1px solid rgba(140,106,52,0.35);
  margin-bottom: 1.4rem;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}
.service-card__icon svg { width: 1.6rem; height: 1.6rem; stroke: var(--brass); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .service-card__icon { transform: rotate(8deg) scale(1.08); border-color: var(--brass); }
.service-card h3 { font-size: 1.22rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--stone); font-size: 0.96rem; }

/* ==========================================================================
   WHY US
   ========================================================================== */
.why-us { padding-block: var(--section-pad); }
.why-us__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 1.5rem + 2.5vw, 5rem);
  align-items: start;
}
.why-us__media { position: sticky; top: 7rem; }
.why-us__media img { border-radius: var(--radius-md); aspect-ratio: 3 / 4; object-fit: cover; }
.why-us__text h2 { margin-top: 0.7rem; margin-bottom: 2.2rem; }
.why-us__list { display: grid; gap: 1.6rem; }
.why-us__list li { padding-left: 1.6rem; border-left: 2px solid rgba(140,106,52,0.3); }
.why-us__list h4 { margin-bottom: 0.35rem; }
.why-us__list p { color: var(--stone); font-size: 0.96rem; }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process { padding-block: var(--section-pad); background: var(--dark); color: var(--dark-text); }
.process .eyebrow { color: var(--brass-light); }
.process .section-head p { color: var(--stone-light); }
.process .section-head h2 { color: var(--white); }
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  counter-reset: step;
}
.process__steps li { position: relative; padding-top: 1.6rem; border-top: 1px solid rgba(241,233,217,0.18); }
.process__num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-num);
  color: var(--brass-light);
  opacity: 0.85;
  margin-bottom: 0.6rem;
}
.process__steps h3 { color: var(--white); margin-bottom: 0.6rem; }
.process__steps p { color: var(--stone-light); font-size: 0.95rem; }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery { padding-block: var(--section-pad); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: clamp(0.6rem, 0.4rem + 1vw, 1.1rem);
}
.gallery__item {
  position: relative;
  display: block;
  width: 100%; height: 100%;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.gallery__item:nth-child(1), .gallery__item:nth-child(4) { grid-row: span 2; }
.gallery__item picture, .gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,19,14,0) 55%, rgba(22,19,14,0.55) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band { position: relative; padding-block: clamp(4rem, 3rem + 5vw, 7rem); overflow: hidden; color: var(--white); }
.cta-band__media { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,19,14,0.88) 10%, rgba(22,19,14,0.55) 60%, rgba(22,19,14,0.3) 100%); }
.cta-band__content { position: relative; max-width: 36rem; }
.cta-band__content h2 { color: var(--white); }
.cta-band__content p { color: var(--stone-light); margin-top: 1rem; font-size: var(--fs-lead); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { position: relative; padding-block: var(--section-pad); background: var(--ivory); overflow: hidden; }
.about__grid { position: relative; }
.about__text { max-width: 42rem; margin-inline: auto; text-align: center; }
.about__text h2 { margin-top: 0.7rem; margin-bottom: 1.4rem; }
.about__text p { color: var(--stone); margin-inline: auto; margin-bottom: 1rem; }
.about__text .btn { margin-top: 1.4rem; }

/* ==========================================================================
   SERVICE AREA
   ========================================================================== */
.service-area { padding-block: clamp(3.5rem, 3rem + 2vw, 5rem); }
.service-area .section-head { margin-bottom: 0; }

/* ==========================================================================
   MAP
   ========================================================================== */
.map-section { padding-block: var(--section-pad); background: var(--ivory); }
.map-section__grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  align-items: stretch;
}
.map-section__card {
  background: var(--paper);
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-md);
  padding: clamp(1.8rem, 1.5rem + 1.2vw, 2.6rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.map-section__card h3 { margin-bottom: 0.3rem; }
.map-section__card address { font-style: normal; color: var(--stone); margin-bottom: 0.6rem; line-height: 1.6; }
.map-section__row { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; }
.map-section__row .icon-sm { color: var(--brass); }
.map-section__directions { margin-top: 0.8rem; align-self: flex-start; }
.map-section__embed { min-height: 360px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--stone-100); }
.map-section__embed iframe { width: 100%; height: 100%; min-height: 360px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { padding-block: var(--section-pad); }
.contact__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 1.5rem + 2.5vw, 5rem);
}
.contact__grid > * { min-width: 0; }
.contact__intro p { color: var(--stone); margin-top: 1rem; }
.contact__intro h2 { margin-top: 0.7rem; }
.contact__facts { margin-top: 2.2rem; display: grid; gap: 1.1rem; }
.contact__facts li { display: flex; flex-direction: column; gap: 0.15rem; }
.contact__facts strong { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass); }
.contact__facts a, .contact__facts span { font-weight: 500; overflow-wrap: anywhere; }

.contact__form-wrap { position: relative; }
#wallpaperContactForm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  background: var(--ivory);
  padding: clamp(1.8rem, 1.5rem + 1.5vw, 2.8rem);
  border-radius: var(--radius-md);
}
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em; color: var(--ink-soft); }
.field input, .field textarea {
  background: var(--paper);
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input:focus, .field textarea:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(140,106,52,0.15);
  outline: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.error-message { font-size: 0.82rem; }
#wallpaperContactForm button[type="submit"] { margin-top: 0.4rem; }

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
  background: var(--ivory);
  padding: clamp(2.5rem, 2rem + 2vw, 4rem);
  border-radius: var(--radius-md);
}
.form-success h3 { margin-top: 0.3rem; }
.form-success p { color: var(--stone); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--dark); color: var(--stone-light); padding-top: clamp(3rem, 2.5rem + 2vw, 4.5rem); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(241,233,217,0.12);
}
.site-footer__brand { display: flex; align-items: center; gap: 0.8rem; }
.site-footer__name { color: var(--white); font-family: var(--font-display); font-size: 1.05rem; }
.site-footer__owner { font-size: 0.88rem; margin-top: 0.15rem; }
.site-footer__nav { display: flex; flex-direction: column; gap: 0.65rem; }
.site-footer__nav a:hover { color: var(--brass-light); }
.site-footer__contact { display: flex; flex-direction: column; gap: 0.65rem; }
.site-footer__contact address { font-style: normal; }
.site-footer__domain { color: var(--brass-light); }
.site-footer__bottom { padding-block: 1.4rem; font-size: 0.82rem; }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(22,19,14,0.96);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(88vw, 1100px); max-height: 78vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox__caption { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); color: var(--stone-light); font-size: 0.9rem; max-width: 80vw; text-align: center; }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s var(--ease);
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,0.1); }
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   SCROLL REVEAL (progressive enhancement)
   Visible by default; JS adds "enhance" to <html> only if IntersectionObserver
   exists, and reveal only then becomes a transition.
   ========================================================================== */
.reveal, .service-card, .process__steps li { opacity: 1; transform: none; }
html.enhance .reveal,
html.enhance .service-card,
html.enhance .process__steps li {
  opacity: 0;
  transform: translateY(24px);
}
html.enhance .reveal.is-visible,
html.enhance .service-card.is-visible,
html.enhance .process__steps li.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  html.enhance .reveal,
  html.enhance .service-card,
  html.enhance .process__steps li {
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }
}
@media (prefers-reduced-motion: reduce) {
  html.enhance .reveal,
  html.enhance .service-card,
  html.enhance .process__steps li {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1225px) {
  /* Below this, the nav links + phone + CTA no longer fit in one row
     without crowding/overlap, so switch to the hamburger menu instead
     of letting anything wrap or overlap within the header row. */
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header__actions .header-phone { display: none; }

  .site-header.nav-open .main-nav {
    display: block;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid rgba(33,28,22,0.08);
    padding: 1rem var(--gutter) 1.6rem;
  }
  .site-header.nav-open .main-nav ul { flex-direction: column; gap: 1.1rem; }
  .site-header.nav-open .main-nav__cta { display: inline-flex; margin-top: 1.4rem; }
}

@media (max-width: 1080px) {
  .intro__grid, .why-us__grid, .contact__grid { grid-template-columns: 1fr; }
  .why-us__media { position: static; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .map-section__grid { grid-template-columns: 1fr; }
  .map-section__embed { min-height: 320px; }
}

@media (max-width: 760px) {
  .services__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery__item:nth-child(1), .gallery__item:nth-child(4) { grid-row: span 2; }
  #wallpaperContactForm { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__actions { flex-wrap: nowrap; gap: 0.6rem; }
  .hero__actions .btn {
    flex: 1 1 0;
    min-width: 0;
    white-space: normal;
    text-align: center;
    padding-inline: 0.9rem;
  }
}

@media (max-width: 560px) {
  .site-header__actions { display: none; }
}

@media (max-width: 480px) {
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery__item:nth-child(1), .gallery__item:nth-child(4) { grid-row: span 1; }
  .cta-band__actions { flex-direction: column; align-items: stretch; }
  .cta-band__actions .btn { width: 100%; }
}

@media print {
  .site-header, .lightbox, .nav-toggle, .hero__scroll-cue { display: none !important; }
  html.enhance .reveal, html.enhance .service-card, html.enhance .process__steps li {
    opacity: 1 !important; transform: none !important;
  }
}
