/* ==========================================================================
   Somersett Wallpaper Installation — Soft Elegant
   Design system, layout, components, responsive rules and motion.
   ========================================================================== */

/* ---------- Self-hosted variable fonts (relative paths: works from disk) --- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
}

/* ---------- Tokens ------------------------------------------------------- */
:root {
  /* Brief palette */
  --ivory: #F8F6F1;
  --cream: #F2EDE4;
  --champagne: #D8C7AE;
  --taupe: #A99A87;
  --sage: #A6AA99;
  --charcoal: #34332F;
  --white: #FFFFFF;

  /* Same-hue text-safe variants (WCAG AA checked) */
  --ink: #34332F;
  --ink-muted: #5C5850;
  --taupe-deep: #74675A;
  --taupe-press: #6E6255;
  --sage-deep: #5D6253;
  --sage-band: #E9E9E2;
  --footer-text: #E4DCCD;
  --footer-muted: #BDB3A3;
  --error: #A2352B;
  --field-border: #8E8577;

  --line: rgba(52, 51, 47, 0.12);
  --line-strong: rgba(52, 51, 47, 0.22);

  --font-display: "Cormorant Garamond", "Cormorant", Garamond, Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 128px);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-soft: 0 22px 44px -28px rgba(52, 51, 47, 0.32);
  --shadow-card: 0 1px 2px rgba(52, 51, 47, 0.04), 0 14px 34px -22px rgba(52, 51, 47, 0.28);
  --shadow-lift: 0 2px 4px rgba(52, 51, 47, 0.05), 0 26px 50px -26px rgba(52, 51, 47, 0.38);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 84px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(16px, 0.25vw + 15.2px, 17.5px);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img,
svg,
iframe { display: block; max-width: 100%; }
img { height: auto; }
picture { display: block; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--taupe-deep); }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 5.4vw + 0.4rem, 5.1rem); font-weight: 500; }
h2 { font-size: clamp(2.1rem, 3.1vw + 0.7rem, 3.5rem); }
h3 { font-size: clamp(1.45rem, 0.9vw + 1.1rem, 1.8rem); font-weight: 600; }
h2 em, h1 em { font-style: italic; font-weight: 400; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--champagne); color: var(--charcoal); }

:focus-visible {
  outline: 2px solid var(--charcoal);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--ivory); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--cream { background: var(--cream); }
.section--sage { background: var(--sage-band); }

/* Eyebrow with a small diamond ornament */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe-deep);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  flex: none;
}
.eyebrow--line::after {
  content: "";
  width: 38px; height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head .lead { color: var(--ink-muted); margin-inline: auto; max-width: 60ch; }
.section-head--left { margin-left: 0; text-align: left; }

.lead { font-size: 1.08em; color: var(--ink-muted); }

/* Delicate separator: hairline with centered diamond */
.separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--taupe);
  margin: 0 auto;
  max-width: 220px;
}
.separator::before,
.separator::after { content: ""; flex: 1; height: 1px; background: var(--champagne); }
.separator span { width: 8px; height: 8px; border: 1px solid var(--taupe); transform: rotate(45deg); }

/* ---------- Buttons -------------------------------------------------------- */
.btn {
  --btn-bg: var(--charcoal);
  --btn-fg: var(--ivory);
  --btn-bd: var(--charcoal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn:hover { --btn-bg: var(--taupe-press); --btn-bd: var(--taupe-press); color: var(--white); transform: translateY(-2px); box-shadow: 0 14px 28px -18px rgba(52, 51, 47, 0.6); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--light { --btn-bg: var(--ivory); --btn-fg: var(--charcoal); --btn-bd: var(--ivory); }
.btn--light:hover { --btn-bg: var(--champagne); --btn-bd: var(--champagne); color: var(--charcoal); }

.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--ivory); --btn-bd: rgba(248, 246, 241, 0.7); }
.btn--ghost-light:hover { --btn-bg: rgba(248, 246, 241, 0.14); --btn-bd: var(--ivory); color: var(--ivory); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--charcoal); --btn-bd: var(--line-strong); }
.btn--outline:hover { --btn-bg: var(--charcoal); --btn-bd: var(--charcoal); color: var(--ivory); }

.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 0.88rem; }
.btn[disabled],
.btn[aria-busy="true"] { opacity: 0.75; cursor: progress; transform: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--champagne);
  padding-bottom: 3px;
  transition: gap 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.text-link:hover { gap: 12px; border-color: var(--taupe-deep); color: var(--taupe-deep); }
.text-link svg { width: 16px; height: 16px; }

/* ---------- Header --------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--ivory);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header--solid {
  background: rgba(248, 246, 241, 0.94);
  color: var(--ink);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(52, 51, 47, 0.45);
}
@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
  .site-header.is-scrolled,
  .site-header--solid {
    background: rgba(248, 246, 241, 0.86);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    backdrop-filter: saturate(140%) blur(12px);
  }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex: none;
}
.brand:hover { color: inherit; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-mark .bm-frame { stroke: currentColor; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.62rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand-sub {
  margin-top: 5px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.85;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.9vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: inherit;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.primary-nav a:hover { color: inherit; }

.header-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}
.header-phone:hover { color: inherit; opacity: 0.8; }
.header-phone svg { width: 17px; height: 17px; }

.site-header:not(.is-scrolled):not(.site-header--solid) .btn--header {
  --btn-bg: var(--ivory);
  --btn-fg: var(--charcoal);
  --btn-bd: var(--ivory);
}
.site-header:not(.is-scrolled):not(.site-header--solid) .btn--header:hover {
  --btn-bg: var(--champagne);
  --btn-bd: var(--champagne);
  color: var(--charcoal);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid currentColor;
  border-color: rgba(127, 120, 110, 0.45);
  background: transparent;
  color: inherit;
  padding: 0;
}
.menu-toggle-bars { position: relative; width: 20px; height: 12px; }
.menu-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), top 0.35s var(--ease);
}
.menu-toggle-bars span:nth-child(1) { top: 0; }
.menu-toggle-bars span:nth-child(2) { top: 5.25px; }
.menu-toggle-bars span:nth-child(3) { top: 10.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(1) { top: 5.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(3) { top: 5.25px; transform: rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.is-open { visibility: visible; pointer-events: auto; }
.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(38, 37, 34, 0.45);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  border: 0;
  padding: 0;
  cursor: default;
}
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu__panel {
  position: relative;
  width: min(420px, 100%);
  height: 100%;
  overflow-y: auto;
  background: var(--ivory);
  color: var(--ink);
  padding: calc(var(--header-h) + 18px) 28px 36px;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: -20px 0 60px -40px rgba(0, 0, 0, 0.5);
}
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mobile-menu__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  text-decoration: none;
}
.mobile-menu__links a::after {
  content: "";
  width: 7px; height: 7px;
  border-top: 1px solid var(--taupe-deep);
  border-right: 1px solid var(--taupe-deep);
  transform: rotate(45deg);
}
.mobile-menu__contact { display: grid; gap: 12px; }
.mobile-menu__contact .btn { width: 100%; }
.mobile-menu__meta { font-size: 0.9rem; color: var(--ink-muted); }
.mobile-menu__meta a { text-decoration: none; }

/* When the drawer is open, the header sits on ivory */
body.menu-open .site-header { color: var(--ink); background: transparent; box-shadow: none; border-bottom-color: transparent; }
body.menu-open .site-header .header-phone,
body.menu-open .site-header .btn--header { visibility: hidden; }

/* ---------- Hero ----------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(640px, 100vh, 980px);
  display: flex;
  align-items: center;
  color: var(--ivory);
  isolation: isolate;
  overflow: hidden;
}
@supports (min-height: 100svh) {
  .hero { min-height: clamp(640px, 100svh, 980px); }
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture,
.hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 58% 50%; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(36, 35, 32, 0.88) 0%, rgba(36, 35, 32, 0.82) 30%, rgba(36, 35, 32, 0.66) 50%, rgba(36, 35, 32, 0.3) 72%, rgba(36, 35, 32, 0.1) 100%),
    linear-gradient(180deg, rgba(36, 35, 32, 0.45) 0%, rgba(36, 35, 32, 0) 22%, rgba(36, 35, 32, 0) 72%, rgba(36, 35, 32, 0.4) 100%);
}
/* Thin inset frame — a quiet "decorative border" */
.hero::after {
  content: "";
  position: absolute;
  inset: clamp(10px, 1.6vw, 22px);
  border: 1px solid rgba(216, 199, 174, 0.38);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
  z-index: -1;
}
.hero__content {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(36px, 6vw, 72px));
  padding-bottom: clamp(96px, 10vw, 140px);
}
.hero__inner { max-width: 660px; }
.hero .eyebrow { color: var(--champagne); margin-bottom: 24px; }
.hero h1 { color: var(--ivory); margin-bottom: 0.4em; text-wrap: balance; }
.hero h1 em { color: var(--champagne); }
.hero__text {
  font-size: clamp(1.02rem, 0.3vw + 0.98rem, 1.18rem);
  color: rgba(248, 246, 241, 0.92);
  max-width: 54ch;
  margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__tagline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 0.5vw + 1rem, 1.4rem);
  color: rgba(248, 246, 241, 0.9);
}
.hero__tagline::before { content: ""; width: 44px; height: 1px; background: var(--champagne); flex: none; }

.hero__card {
  position: absolute;
  right: clamp(26px, 4vw, 64px);
  bottom: clamp(28px, 4vw, 56px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 14px;
  border-radius: var(--radius);
  background: rgba(248, 246, 241, 0.9);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  max-width: 340px;
}
@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
  .hero__card { background: rgba(248, 246, 241, 0.78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
.hero__card-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--ivory);
  flex: none;
}
.hero__card-icon svg { width: 18px; height: 18px; }
.hero__card small { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--taupe-deep); font-weight: 600; }
.hero__card a { font-weight: 600; text-decoration: none; font-size: 1.02rem; }

/* ---------- About ---------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: center;
}
.framed {
  position: relative;
  margin: 0 18px 18px 0;
}
.framed::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--champagne);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.framed__img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--cream);
}
.framed__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.framed__badge {
  position: absolute;
  z-index: 2;
  left: -14px;
  bottom: 36px;
  background: var(--ivory);
  border: 1px solid var(--champagne);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-card);
  max-width: 230px;
}
.framed__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.15;
}
.framed__badge span { display: block; margin-top: 4px; font-size: 0.8rem; line-height: 1.45; color: var(--ink-muted); }

.about-copy h2 { max-width: 15ch; }
.about-points {
  list-style: none;
  margin: 30px 0 34px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.about-points li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.about-points li::before {
  content: "";
  width: 6px; height: 6px;
  flex: none;
  transform: rotate(45deg) translateY(-2px);
  background: var(--sage);
}

/* ---------- Services ------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(216, 199, 174, 0.55);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--champagne); }
.service-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream);
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__num {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 46px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: rgba(248, 246, 241, 0.92);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}
.service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(22px, 2vw, 30px);
}
.service-card__body h3 { margin-bottom: 0.45em; }
.service-card__body p { color: var(--ink-muted); font-size: 0.97rem; margin-bottom: 22px; }
.service-card__body .text-link { margin-top: auto; align-self: flex-start; }

/* ---------- Why choose us ------------------------------------------------- */
.why {
  background-color: var(--ivory);
  overflow: hidden;
}
/* Soft trellis texture, drawn in CSS — very low contrast */
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(169, 154, 135, 0.09) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(169, 154, 135, 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  pointer-events: none;
}
.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.why-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.why-intro h2 { max-width: 13ch; }
.why-intro p { color: var(--ink-muted); max-width: 42ch; }
.why-intro .btn { margin-top: 18px; }
.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.why-item {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(216, 199, 174, 0.6);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 32px);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.why-item:hover { background: var(--white); border-color: var(--champagne); transform: translateY(-3px); }
.why-icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--sage-band);
  border: 1px solid rgba(166, 170, 153, 0.7);
  color: var(--sage-deep);
  margin-bottom: 18px;
}
.why-icon svg { width: 24px; height: 24px; }
.why-item h3 { font-size: clamp(1.35rem, 0.6vw + 1.1rem, 1.6rem); margin-bottom: 0.35em; }
.why-item p { color: var(--ink-muted); font-size: 0.96rem; }

/* ---------- Process -------------------------------------------------------- */
.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
  position: relative;
  counter-reset: none;
}
/* Connector line through the step markers */
.process-steps::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--taupe) 0 6px, transparent 6px 12px);
  opacity: 0.8;
}
.process-step { position: relative; text-align: center; }
.process-step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 78px; height: 78px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--taupe);
  box-shadow: 0 0 0 8px var(--sage-band);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.85rem;
  color: var(--ink);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.process-step:hover .process-step__num { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.process-step__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 8px;
}
.process-step h3 { margin-bottom: 0.4em; }
.process-step p { color: var(--ink-muted); font-size: 0.96rem; max-width: 30ch; margin-inline: auto; }

/* ---------- Gallery -------------------------------------------------------- */
.gallery-grid {
  columns: 3 300px;
  column-gap: clamp(14px, 1.8vw, 24px);
}
.gallery-item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 clamp(14px, 1.8vw, 24px);
}
.gallery-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  text-align: left;
  cursor: zoom-in;
}
.gallery-btn img {
  width: 100%;
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
}
.gallery-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 35, 32, 0) 50%, rgba(36, 35, 32, 0.62) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.gallery-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.gallery-caption svg { width: 20px; height: 20px; flex: none; }
.gallery-btn:hover img,
.gallery-btn:focus-visible img { transform: scale(1.04); }
.gallery-btn:hover::after,
.gallery-btn:focus-visible::after,
.gallery-btn:hover .gallery-caption,
.gallery-btn:focus-visible .gallery-caption { opacity: 1; transform: none; }
.gallery-note {
  margin-top: 26px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(60px, 7vw, 90px) clamp(12px, 6vw, 96px) clamp(70px, 7vw, 96px);
  background: rgba(30, 29, 27, 0.94);
  color: var(--ivory);
}
.lightbox.is-open { display: flex; }
.lightbox__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  max-height: 100%;
}
.lightbox__figure img {
  max-width: 100%;
  max-height: calc(100vh - 190px);
  width: auto;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  background: rgba(255, 255, 255, 0.04);
}
.lightbox__figure figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  justify-content: center;
  align-items: baseline;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
}
.lightbox__counter { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.18em; color: var(--champagne); }
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(248, 246, 241, 0.35);
  background: rgba(248, 246, 241, 0.08);
  color: var(--ivory);
  padding: 0;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.lightbox__btn:hover { background: rgba(248, 246, 241, 0.2); border-color: var(--ivory); }
.lightbox__btn:focus-visible { outline-color: var(--champagne); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: clamp(10px, 2vw, 28px); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(10px, 2vw, 28px); top: 50%; transform: translateY(-50%); }

/* ---------- CTA band ------------------------------------------------------- */
.cta-band { padding-block: 0 var(--section-y); }
.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(64px, 9vw, 120px) clamp(22px, 6vw, 80px);
  text-align: center;
  color: var(--ivory);
  box-shadow: var(--shadow-soft);
}
.cta-panel__media { position: absolute; inset: 0; z-index: -2; }
.cta-panel__media picture,
.cta-panel__media img { width: 100%; height: 100%; }
.cta-panel__media img { object-fit: cover; object-position: 50% 45%; }
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(36, 35, 32, 0.74) 0%, rgba(36, 35, 32, 0.62) 55%, rgba(36, 35, 32, 0.5) 100%);
}
.cta-panel::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(216, 199, 174, 0.4);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}
.cta-panel .eyebrow { color: var(--champagne); }
.cta-panel h2 { color: var(--ivory); max-width: 18ch; margin-inline: auto; }
.cta-panel p { max-width: 52ch; margin: 0 auto 32px; color: rgba(248, 246, 241, 0.92); font-size: 1.08rem; }
.cta-panel__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 26px; }
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ivory);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(216, 199, 174, 0.7);
  padding-bottom: 2px;
}
.cta-phone:hover { color: var(--champagne); }
.cta-phone svg { width: 20px; height: 20px; }

/* ---------- Contact -------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.contact-copy h2 { max-width: 14ch; }
.contact-copy > p { color: var(--ink-muted); max-width: 46ch; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list a,
.contact-list .contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(216, 199, 174, 0.6);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
  min-width: 0;
}
.contact-list a:hover { background: var(--white); border-color: var(--champagne); color: var(--ink); transform: translateX(3px); }
.contact-ico {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--ivory);
  flex: none;
}
.contact-ico svg { width: 19px; height: 19px; }
.contact-list small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe-deep);
}
.contact-list strong { display: block; font-weight: 600; overflow-wrap: anywhere; line-height: 1.4; }
.contact-list span.contact-text { min-width: 0; }

.form-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(216, 199, 174, 0.6);
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 4vw, 48px);
}
.form-card__title { font-size: clamp(1.6rem, 1vw + 1.2rem, 2rem); margin-bottom: 6px; }
.form-card__hint { font-size: 0.86rem; color: var(--ink-muted); margin-bottom: 26px; }
.req { color: var(--error); font-weight: 600; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 7px;
  color: var(--ink);
}
.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--field-border);
  border-radius: 12px;
  background: var(--ivory);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.45;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #8A8378; opacity: 1; }
.field input:hover,
.field textarea:hover { border-color: var(--taupe-deep); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--charcoal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(166, 170, 153, 0.45);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field input[style*="255, 107, 107"],
.field textarea[style*="255, 107, 107"] { border-color: var(--error) !important; } /* AA-safe red, also for the supplied script's inline #ff6b6b */
/* Error text (both the supplied script's and the support script's) — AA colour */
.error-message {
  color: var(--error) !important;
  font-size: 0.86rem !important;
  margin-top: 6px !important;
  line-height: 1.4;
  animation: fadeIn 0.3s ease;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin-top: 24px;
}
.form-footer .btn { min-width: 220px; }
.form-privacy { font-size: 0.82rem; color: var(--ink-muted); margin: 0; max-width: 34ch; }

.btn .spinner {
  display: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(248, 246, 241, 0.4);
  border-top-color: var(--ivory);
}
.btn[aria-busy="true"] .spinner { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .btn[aria-busy="true"] .spinner { animation: spin 0.8s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
  border: 1px solid rgba(162, 53, 43, 0.35);
  background: #FBF1EF;
  color: #7E2A22;
}
.form-status.is-visible { display: block; }
.form-status a { font-weight: 600; }

#form-success {
  display: none;
  text-align: center;
  padding: clamp(28px, 4vw, 48px) 12px;
}
.success-mark {
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #EEF0E8;
  border: 1px solid var(--sage);
  color: var(--sage-deep);
}
.success-mark svg { width: 30px; height: 30px; }
#form-success h3 { margin-bottom: 0.3em; }
#form-success p { color: var(--ink-muted); max-width: 40ch; margin-inline: auto; }

/* ---------- Map ------------------------------------------------------------ */
.map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: stretch;
}
.map-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(216, 199, 174, 0.8);
  background: var(--cream);
  box-shadow: var(--shadow-card);
  min-height: 420px;
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.3) sepia(0.12) saturate(0.9);
  transition: filter 0.5s var(--ease);
}
.map-frame:hover iframe,
.map-frame:focus-within iframe { filter: none; }
.map-frame__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.92rem;
}
.map-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: clamp(26px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid rgba(216, 199, 174, 0.7);
}
.map-card h3 { margin: 0; }
.map-card address { font-style: normal; font-size: 1.05rem; line-height: 1.6; }
.map-card dl { margin: 0; display: grid; gap: 14px; }
.map-card dt { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe-deep); }
.map-card dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.map-card dd a { text-decoration: none; font-weight: 600; }
.map-card dd a:hover { text-decoration: underline; }
.map-card .btn { align-self: flex-start; }

/* ---------- Footer --------------------------------------------------------- */
.site-footer {
  background: var(--charcoal);
  color: var(--footer-text);
  padding-top: clamp(64px, 7vw, 96px);
  position: relative;
}
.site-footer a { color: var(--footer-text); text-decoration: none; }
.site-footer a:hover { color: var(--champagne); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--champagne); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 0.9fr);
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(44px, 5vw, 64px);
}
.footer-brand .brand { color: var(--ivory); }
.footer-brand p { margin-top: 18px; color: var(--footer-muted); max-width: 34ch; font-size: 0.95rem; }
.footer-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne);
  margin: 6px 0 18px;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 0.95rem; }
.footer-list li { overflow-wrap: anywhere; }
.footer-list .footer-label { display: block; font-size: 0.75rem; color: var(--footer-muted); }
.footer-bottom {
  border-top: 1px solid rgba(216, 199, 174, 0.22);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 0.86rem;
  color: var(--footer-muted);
}
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--champagne);
  background: rgba(248, 246, 241, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
  padding: 0;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Legal page ----------------------------------------------------- */
.legal-hero {
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(36px, 5vw, 56px);
  background: var(--cream);
  border-bottom: 1px solid rgba(216, 199, 174, 0.7);
}
.legal-hero h1 { font-size: clamp(2.4rem, 4vw + 0.5rem, 3.8rem); }
.legal-hero p { color: var(--ink-muted); }
.legal-body { max-width: 780px; }
.legal-body h2 { font-size: clamp(1.6rem, 1.2vw + 1.2rem, 2.2rem); margin-top: 1.6em; }
.legal-body ul { padding-left: 1.2em; }
.legal-body li { margin-bottom: 0.5em; }

/* ---------- Reveal-on-scroll (progressive enhancement) --------------------- */
/* Content is visible by default. Only when JS confirms IntersectionObserver
   support does it add .js-reveal to <html>, and only motion-OK users get
   the transition. */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: var(--reveal-delay, 0s);
  }
  .js-reveal .reveal.is-visible { opacity: 1; transform: none; }

  .hero__inner > * { animation: heroIn 1s var(--ease) both; }
  .hero__inner > *:nth-child(2) { animation-delay: 0.08s; }
  .hero__inner > *:nth-child(3) { animation-delay: 0.16s; }
  .hero__inner > *:nth-child(4) { animation-delay: 0.24s; }
  .hero__inner > *:nth-child(5) { animation-delay: 0.32s; }
  .hero__media img { animation: heroZoom 14s var(--ease) both; }
}
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---------- Responsive ----------------------------------------------------- */
/* Icon-only phone link at tight widths keeps its accessible name (text clipped, not removed) */
@media (max-width: 1240px) and (min-width: 1081px) {
  .primary-nav ul { gap: 16px; }
  .header-phone { justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(127, 120, 110, 0.45); border-radius: 50%; }
  .header-phone__num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (max-width: 1080px) {
  :root { --header-h: 76px; }
  .primary-nav,
  .header-actions .btn--header { display: none; }
  .menu-toggle { display: inline-flex; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-intro { position: static; }
  .why-intro h2 { max-width: 20ch; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-grid { grid-template-columns: minmax(0, 1fr); }
  .map-frame { min-height: 0; aspect-ratio: 16 / 9; }
}

@media (max-width: 1100px) and (min-width: 701px) {
  .hero { min-height: clamp(600px, 84vh, 860px); }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(36, 35, 32, 0.88) 0%, rgba(36, 35, 32, 0.84) 60%, rgba(36, 35, 32, 0.62) 88%, rgba(36, 35, 32, 0.45) 100%),
      linear-gradient(180deg, rgba(36, 35, 32, 0.4) 0%, rgba(36, 35, 32, 0) 25%, rgba(36, 35, 32, 0.1) 60%, rgba(36, 35, 32, 0.5) 100%);
  }
}

@media (max-width: 900px) {
  .about-grid,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .about-media { max-width: 560px; }
  .process-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .process-steps::before {
    top: 38px; bottom: 38px;
    left: 38px; right: auto;
    width: 1px; height: auto;
    background: repeating-linear-gradient(180deg, var(--taupe) 0 6px, transparent 6px 12px);
  }
  .process-step {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    column-gap: 22px;
    text-align: left;
    padding-bottom: 30px;
  }
  .process-step:last-child { padding-bottom: 0; }
  .process-step__num { margin: 0; grid-row: 1 / span 3; }
  .process-step p { margin-inline: 0; max-width: 52ch; }
  .process-step__label { margin-top: 6px; }
  .hero__card { display: none; }
}

@media (max-width: 700px) {
  .hero { min-height: auto; align-items: flex-end; }
  @supports (min-height: 100svh) { .hero { min-height: max(620px, 92svh); } }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(36, 35, 32, 0.76) 0%, rgba(36, 35, 32, 0.72) 30%, rgba(36, 35, 32, 0.74) 58%, rgba(36, 35, 32, 0.9) 100%);
  }
  .hero__media img { object-position: 50% 40%; }
  .hero .eyebrow { color: var(--ivory); }
  .hero__content { padding-bottom: 56px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__tagline { margin-top: 28px; font-size: 1.12rem; }
  .services-grid { grid-template-columns: minmax(0, 1fr); }
  .why-list { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-footer .btn { width: 100%; }
  .framed { margin: 0 12px 12px 0; }
  .framed::before { inset: 12px -12px -12px 12px; }
  .framed__badge { left: 12px; bottom: 16px; }
  .map-frame { aspect-ratio: 4 / 5; }
  .cta-phone { font-size: 1.4rem; }
  .cta-panel__actions .btn { width: 100%; }
  .gallery-grid { columns: 2 150px; }
  .gallery-caption { font-size: 1.05rem; left: 12px; right: 12px; bottom: 10px; }
  .gallery-caption svg { display: none; }
  .lightbox__prev,
  .lightbox__next { top: auto; bottom: 16px; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
  .lightbox__figure img { max-height: calc(100vh - 210px); }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .brand-name { font-size: 1.42rem; }
  .brand-sub { letter-spacing: 0.2em; }
  .header-actions { gap: 10px; }
  .header-phone { justify-content: center; width: 48px; height: 48px; border: 1px solid rgba(127, 120, 110, 0.45); border-radius: 50%; }
  .header-phone__num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero::after { inset: 8px; border-radius: var(--radius); }
  .contact-list a,
  .contact-list .contact-row { padding: 14px; gap: 14px; }
}

@media (max-width: 380px) {
  .gallery-grid { columns: 1; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 1.3rem; }
}

/* Touch devices: always show gallery captions (no hover) */
@media (hover: none) {
  .gallery-btn::after { opacity: 1; }
  .gallery-caption { opacity: 1; transform: none; }
}

/* ---------- Print ---------------------------------------------------------- */
@media print {
  .site-header,
  .mobile-menu,
  .to-top,
  .lightbox,
  .map-frame iframe,
  .hero__media,
  .cta-panel__media { display: none !important; }
  .hero,
  .cta-panel { color: var(--ink); min-height: 0; }
  .hero::before,
  .hero::after,
  .cta-panel::before,
  .cta-panel::after { display: none; }
  .hero h1,
  .hero__text,
  .cta-panel h2,
  .cta-panel p { color: var(--ink); }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { background: #fff; }
}
