/* ==========================================================================
   New Braunfels Wallcovering — Magazine Luxury
   Type: Cormorant Garamond (display) + Manrope (text) — self-hosted variable.
   Palette (brief): ivory #F5F1E9 · beige #E8DED0 · champagne #C8B99F ·
   espresso #29251F · charcoal #33312D · taupe #A89A87 · white #FFFFFF
   Signature motif: "drops" — the vertical strips wallpaper is hung in
   (eyebrow glyph, scroll cue, strip-by-strip image reveals).
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-var-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* brief palette */
  --ivory: #F5F1E9;
  --beige: #E8DED0;
  --champagne: #C8B99F;
  --espresso: #29251F;
  --charcoal: #33312D;
  --taupe: #A89A87;
  --white: #FFFFFF;
  /* derived, AA-checked */
  --paper: #FBF8F2;
  --ink: #29251F;
  --text: #3D3832;
  --muted: #655A4D;
  --muted-beige: #5A5045;
  --accent: #7A6544;          /* champagne deepened for text on light */
  --accent-beige: #6E5A3B;
  --on-dark: #F5F1E9;
  --on-dark-muted: #BDB2A2;
  --champagne-hover: #D6C9B0;
  --footer: #1F1C17;
  --line: rgba(41, 37, 31, .16);
  --line-strong: rgba(41, 37, 31, .32);
  --line-dark: rgba(245, 241, 233, .16);
  --field-border: #8C8070;
  --error: #A3271F;
  --success: #3F5A3A;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(5rem, 11vw, 9.5rem);
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-drop: cubic-bezier(.76, 0, .24, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) - 8px);
  overflow-x: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.section--espresso :focus-visible, .section--charcoal :focus-visible, .site-footer :focus-visible,
.hero :focus-visible, .mobile-menu :focus-visible, .lightbox :focus-visible { outline-color: var(--champagne); }

.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;
}
.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 200;
  padding: .7rem 1.1rem; background: var(--espresso); color: var(--ivory);
  font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--ivory { background: var(--ivory); }
.section--white { background: var(--white); }
.section--beige { background: var(--beige); }
.section--espresso { background: var(--espresso); color: var(--on-dark-muted); }
.section--charcoal { background: var(--charcoal); color: var(--on-dark-muted); }

/* ---------- Type ---------- */
.section-title, .hero__title, .feature__title, .service__title, .why__title, .step__title,
.form-success h3, .brand__name {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
}
.section-title {
  font-size: clamp(2.3rem, 4.8vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.section-title em, .hero__title em, .feature__title em { font-style: italic; font-weight: 400; }
.section-title em { color: var(--accent); }
.section--beige .section-title em { color: var(--accent-beige); }
.section--espresso .section-title, .section--charcoal .section-title { color: var(--on-dark); }
.section--espresso .section-title em, .section--charcoal .section-title em { color: var(--champagne); }

.eyebrow, .hero__label, .feature__label {
  display: inline-flex; align-items: center; gap: .85rem;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.section--beige .eyebrow { color: var(--accent-beige); }
.eyebrow--light, .section--espresso .eyebrow, .section--charcoal .eyebrow { color: var(--champagne); }

/* drops glyph — three hung strips of different lengths */
.drops-glyph {
  display: inline-block; flex: none;
  width: 13px; height: 16px;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 1px 16px no-repeat,
    linear-gradient(currentColor, currentColor) 6px 0 / 1px 11px no-repeat,
    linear-gradient(currentColor, currentColor) 12px 0 / 1px 14px no-repeat;
  opacity: .9;
}

.section-lede { font-size: 1.05rem; color: var(--muted); max-width: 34rem; }
.section--beige .section-lede { color: var(--muted-beige); }
.section--espresso .section-lede, .section--charcoal .section-lede { color: var(--on-dark-muted); }

.section-head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head--split {
  display: grid; gap: 1.5rem 4rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end;
}
.section-head--split .section-lede { padding-bottom: .6rem; border-left: 1px solid var(--line-strong); padding-left: 2rem; }
.section-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head--center .section-title { max-width: 22ch; }

.dropcap::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 4.6em;
  line-height: .78;
  font-weight: 500;
  color: var(--accent);
  padding: .08em .12em 0 0;
}

.text-link {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  padding-block: .35rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .45s var(--ease), color .3s;
}
.text-link::after { content: "→"; font-size: 1rem; letter-spacing: 0; transition: transform .35s var(--ease); }
.text-link:hover { background-size: 35% 1px; }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--espresso); --btn-fg: var(--ivory); --btn-bd: var(--espresso);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .95rem 1.9rem;
  border: 1px solid var(--btn-bd); border-radius: 0;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--sans); font-size: .76rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--dark:hover { --btn-bg: #3A342C; --btn-bd: #3A342C; }
.btn--champagne { --btn-bg: var(--champagne); --btn-fg: var(--espresso); --btn-bd: var(--champagne); }
.btn--champagne:hover { --btn-bg: var(--champagne-hover); --btn-bd: var(--champagne-hover); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--ivory); --btn-bd: rgba(245, 241, 233, .7); }
.btn--outline-light:hover { --btn-bg: var(--ivory); --btn-fg: var(--espresso); --btn-bd: var(--ivory); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .7; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: var(--ivory);
  transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease);
}
.site-header__inner {
  max-width: 1480px; margin-inline: auto;
  height: var(--header-h);
  display: flex; align-items: center; gap: 2rem;
  padding-inline: var(--gutter);
}
.site-header.is-scrolled, .site-header.menu-open {
  background: rgba(245, 241, 233, .97);
  color: var(--espresso);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.menu-open { background: var(--ivory); }

.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; color: inherit; flex: none; }
.brand__mark { width: 42px; height: 42px; color: currentColor; }
.brand__mark-img { width: 44px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 1.42rem; font-weight: 500; color: inherit; letter-spacing: .005em; }
.brand__sub { font-size: .62rem; font-weight: 600; letter-spacing: .38em; text-transform: uppercase; margin-top: .38rem; }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: clamp(1.2rem, 2.2vw, 2.4rem); }
.primary-nav a {
  position: relative; display: inline-block; padding-block: .5rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.btn--header {
  --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: currentColor;
  min-height: 44px; padding: .7rem 1.25rem; font-size: .7rem; flex: none;
}
.site-header:not(.is-scrolled):not(.menu-open) .btn--header { --btn-bd: rgba(245, 241, 233, .7); }
.btn--header:hover { --btn-bg: var(--champagne); --btn-fg: var(--espresso); --btn-bd: var(--champagne); }
.site-header.is-scrolled .btn--header { --btn-bg: var(--espresso); --btn-fg: var(--ivory); --btn-bd: var(--espresso); }
.site-header.is-scrolled .btn--header:hover { --btn-bg: var(--champagne); --btn-fg: var(--espresso); --btn-bd: var(--champagne); }

.menu-toggle {
  display: none; align-items: center; gap: .75rem;
  margin-left: auto; min-height: 44px; padding: .5rem 0 .5rem .5rem;
  background: none; border: 0; color: inherit; cursor: pointer;
}
.menu-toggle__label { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.menu-toggle__bars { position: relative; width: 26px; height: 12px; }
.menu-toggle__bars span { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle__bars span:first-child { top: 1px; }
.menu-toggle__bars span:last-child { top: 9px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { top: 5px; transform: rotate(-45deg); }

/* Mobile menu — sits outside the header (no backdrop-filter containing-block trap) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
  background: var(--ivory); color: var(--espresso);
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { animation: menuIn .45s var(--ease) both; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.mobile-menu__nav li { border-bottom: 1px solid var(--line); }
.mobile-menu__nav a {
  display: flex; align-items: baseline; gap: 1.2rem; padding: .85rem 0;
  font-family: var(--serif); font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1.1; text-decoration: none;
}
.mobile-menu__nav a span { font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .2em; color: var(--accent); }
.mobile-menu__foot { display: grid; gap: 1rem; }
.mobile-menu__phone { font-family: var(--serif); font-size: 1.8rem; text-decoration: none; }
.mobile-menu__mail { font-size: .9rem; color: var(--muted); overflow-wrap: anywhere; }
body.no-scroll { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: max(100vh, 680px);
  min-height: max(100svh, 680px);
  display: grid; grid-template-rows: 1fr auto;
  color: var(--ivory);
  overflow: hidden;
  background: var(--espresso);
}
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { z-index: -2; }
.hero__media img { object-fit: cover; object-position: 50% 55%; transform-origin: 50% 60%; }
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: heroSettle 2.4s var(--ease) both; }
  @keyframes heroSettle { from { transform: scale(1.06); } to { transform: scale(1); } }
}
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 66% 64% at 50% 48%, rgba(24, 21, 17, .74) 0%, rgba(24, 21, 17, .62) 55%, rgba(24, 21, 17, .34) 100%),
    linear-gradient(180deg, rgba(24, 21, 17, .74) 0%, rgba(24, 21, 17, .32) 26%, rgba(24, 21, 17, .26) 70%, rgba(24, 21, 17, .84) 100%);
}
@media (max-width: 900px) {
  .hero__veil {
    background: linear-gradient(180deg, rgba(24, 21, 17, .78) 0%, rgba(24, 21, 17, .70) 30%, rgba(24, 21, 17, .70) 70%, rgba(24, 21, 17, .88) 100%);
  }
}
.hero__inner {
  align-self: center;
  width: 100%; max-width: 1080px; margin-inline: auto;
  padding: calc(var(--header-h) + 3rem) var(--gutter) 2.5rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero__label { color: #E3D6BE; margin-bottom: 2rem; }
.hero__title {
  color: var(--ivory);
  font-size: clamp(3rem, 6.6vw, 6.4rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.02em;
  text-wrap: balance;
  max-width: 17ch;
}
.hero__title em { display: block; color: #E3D6BE; }
.hero__support {
  margin-top: 1.8rem;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.3;
  color: var(--ivory);
}
.hero__desc { margin-top: 1.1rem; max-width: 40rem; font-size: clamp(.98rem, 1.2vw, 1.06rem); color: rgba(245, 241, 233, .9); }
.hero__ctas { margin-top: 2.4rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

.hero__foot {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 1rem;
  width: 100%; max-width: 1480px; margin-inline: auto;
  padding: 0 var(--gutter) 1.6rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(245, 241, 233, .88);
}
.hero__foot-item { padding-bottom: .4rem; border-bottom: 1px solid rgba(245, 241, 233, .35); justify-self: start; }
.hero__foot-item--end { justify-self: end; }
.hero__foot-item a { text-decoration: none; }
.hero__scroll { display: flex; flex-direction: column; align-items: center; gap: .65rem; text-decoration: none; color: var(--ivory); padding: .3rem .6rem; }
.hero__scroll-track { position: relative; width: 1px; height: 56px; background: rgba(245, 241, 233, .35); overflow: hidden; }
.hero__scroll-drop { position: absolute; left: 0; top: 0; width: 1px; height: 22px; background: var(--champagne); }
@media (prefers-reduced-motion: no-preference) {
  .hero__scroll-drop { animation: dropLine 2.2s var(--ease-drop) infinite; }
  @keyframes dropLine { 0% { transform: translateY(-24px); } 70%, 100% { transform: translateY(60px); } }
}
.hero__scroll-text { font-size: .62rem; letter-spacing: .32em; }

/* ---------- Reveal (progressive enhancement) ---------- */
.reveal-media { position: relative; overflow: hidden; }
.drops { position: absolute; inset: 0; z-index: 2; display: flex; pointer-events: none; }
.drops i { flex: 1; background: var(--drop-veil, var(--ivory)); transform-origin: 50% 100%; }
.section--white .drops i { --drop-veil: var(--white); }
.section--beige .drops i { --drop-veil: var(--beige); }
.section--espresso .drops i { --drop-veil: var(--espresso); }

@media (prefers-reduced-motion: no-preference) {
  .io .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .io .reveal.is-visible { opacity: 1; transform: none; }
  .io .drops i { transition: transform 1.15s var(--ease-drop); }
  .io .drops i:nth-child(2) { transition-delay: .09s; }
  .io .drops i:nth-child(3) { transition-delay: .18s; }
  .io .drops i:nth-child(4) { transition-delay: .27s; }
  .io .reveal-media.is-visible .drops i { transform: scaleY(0); }
  .io .reveal-media img { transform: scale(1.07); transition: transform 1.8s var(--ease); }
  .io .reveal-media.is-visible img { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) { .drops { display: none; } }
@media print { .reveal { opacity: 1 !important; transform: none !important; } .drops { display: none !important; } }

/* ---------- Intro ---------- */
.intro__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 7vw, 7rem); align-items: center;
}
.intro__figure { margin-left: calc(var(--gutter) * -0.4); }
.intro__figure picture, .about__figure picture { display: block; overflow: hidden; }
.intro__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
figcaption {
  margin-top: .9rem; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.intro__lead { font-size: clamp(1.05rem, 1.35vw, 1.18rem); color: var(--text); margin-top: 1.8rem; max-width: 36rem; }
.intro__notes { margin: 2.6rem 0 2.4rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.intro__notes div { padding: 1.2rem 1.2rem 0 0; }
.intro__notes div + div { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.intro__notes dt { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); line-height: 1.2; }
.intro__notes dd { margin-top: .4rem; font-size: .9rem; line-height: 1.55; color: var(--muted); }

/* ---------- Services ---------- */
.services__list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2.5rem, 7vw, 7rem); row-gap: clamp(4rem, 7vw, 6rem);
  padding-bottom: clamp(5rem, 9vw, 8rem);
}
.service:nth-child(even) { translate: 0 clamp(4rem, 9vw, 8rem); }
.service__media { display: block; overflow: hidden; }
.service__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.service--wide .service__media img { aspect-ratio: 4 / 3; }
.service__media:hover img { transform: scale(1.03); }
.service__body { position: relative; padding-top: 1.6rem; display: grid; gap: .8rem; max-width: 34rem; }
.service__num {
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--accent);
  display: flex; align-items: center; gap: .8rem;
}
.service__num::after { content: ""; width: 3rem; height: 1px; background: var(--line-strong); }
.service__title { font-size: clamp(1.75rem, 2.5vw, 2.35rem); line-height: 1.1; font-weight: 500; }
.service__body p { color: var(--muted); }
.service__body .text-link { justify-self: start; margin-top: .3rem; }

/* ---------- Feature ---------- */
.feature { padding-block: clamp(4.5rem, 9vw, 8rem); overflow: hidden; }
.feature__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center;
  max-width: 1480px; margin-inline: auto; padding-right: var(--gutter);
}
.feature__figure { grid-column: 1 / 9; grid-row: 1; }
.feature__figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature__card {
  grid-column: 8 / 13; grid-row: 1; position: relative; z-index: 3;
  background: var(--ivory); color: var(--text);
  padding: clamp(2.2rem, 4vw, 3.8rem);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
}
.feature__label { color: var(--accent); }
.feature__title { font-size: clamp(2.2rem, 3.6vw, 3.5rem); line-height: 1.04; letter-spacing: -.01em; text-wrap: balance; }
.feature__text { margin-top: 1.4rem; color: var(--text); font-family: var(--serif); font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.5; }
.feature__aside { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line-strong); font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.feature__aside span::before { content: "— "; color: var(--accent); }

/* ---------- Why ---------- */
.why__list { border-top: 1px solid var(--line-strong); }
.why__row {
  display: grid; grid-template-columns: minmax(4rem, 1fr) minmax(0, 4fr) minmax(0, 5fr);
  gap: 1rem 2rem; align-items: baseline;
  padding: clamp(1.6rem, 3vw, 2.3rem) 0;
  border-bottom: 1px solid var(--line-strong);
  transition: background-color .4s var(--ease), padding .4s var(--ease);
}
.why__row:hover { background: rgba(245, 241, 233, .55); padding-inline: 1.2rem; }
.why__num { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--accent-beige); }
.why__title { font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1.08; font-weight: 400; }
.why__text { color: var(--muted-beige); font-size: 1.02rem; }

/* ---------- Process ---------- */
.process__list {
  --line-progress: 0;
  position: relative;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem;
  padding-top: 2.6rem;
}
.process__list::before, .process__list::after {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px;
}
.process__list::before { background: var(--line-dark); }
.process__list::after { background: var(--champagne); transform-origin: left; transform: scaleX(1); }
@media (prefers-reduced-motion: no-preference) {
  .io .process__list::after { transform: scaleX(0); transition: transform 2.2s var(--ease) .3s; }
  .io .process__list.is-visible::after { transform: scaleX(1); }
}
.step { position: relative; }
.step__node {
  position: absolute; top: -2.6rem; left: 0;
  width: 15px; height: 15px; border: 1px solid var(--champagne); background: var(--charcoal);
  transform: rotate(45deg);
}
.step__node::after { content: ""; position: absolute; inset: 4px; background: var(--champagne); }
.step__num { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--champagne); margin-bottom: .9rem; }
.step__title { color: var(--on-dark); font-size: clamp(1.5rem, 2vw, 1.85rem); line-height: 1.12; margin-bottom: .75rem; }
.step p { font-size: .95rem; color: var(--on-dark-muted); }
.process__cta { margin-top: clamp(3rem, 6vw, 4.5rem); text-align: center; }

/* ---------- Gallery (justified "salon" rows) ---------- */
.gallery__rows { display: grid; gap: clamp(.75rem, 1.4vw, 1.25rem); }
.gallery__row { display: flex; gap: clamp(.75rem, 1.4vw, 1.25rem); }
.g-item { flex: var(--ar) 1 0%; min-width: 0; aspect-ratio: var(--ar); }
.g-item__btn {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; margin: 0;
  background: var(--beige); cursor: zoom-in; overflow: hidden;
}
.g-item__btn picture, .g-item__btn img { width: 100%; height: 100%; }
.g-item__btn img { object-fit: cover; transition: transform 1.2s var(--ease), filter .6s var(--ease); }
.g-item__btn:hover img, .g-item__btn:focus-visible img { transform: scale(1.04); filter: brightness(.82); }
.io .reveal-media.is-visible .g-item__btn:hover img,
.io .reveal-media.is-visible .g-item__btn:focus-visible img { transform: scale(1.04); }
.io .service__media.reveal-media.is-visible:hover img { transform: scale(1.03); }
.g-item__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; align-items: baseline; gap: .8rem; padding: 2.4rem 1.1rem 1rem;
  background: linear-gradient(180deg, rgba(24, 21, 17, 0), rgba(24, 21, 17, .78));
  color: var(--ivory); text-align: left;
  font-family: var(--serif); font-size: 1.15rem; line-height: 1.2;
  opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.g-item__cap span { font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--champagne); }
.g-item__btn:hover .g-item__cap, .g-item__btn:focus-visible .g-item__cap { opacity: 1; transform: none; }
@media (hover: none) { .g-item__cap { opacity: 1; transform: none; } }
.gallery__note { margin-top: 1.6rem; font-size: .8rem; color: var(--muted); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem;
  padding: 4.5rem clamp(.5rem, 3vw, 2rem) 2rem;
  background: rgba(20, 18, 15, .96); color: var(--ivory);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { animation: lbIn .35s var(--ease) both; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; min-width: 0; max-height: 100%; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 10rem); max-height: calc(100svh - 10rem); width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
@media (prefers-reduced-motion: no-preference) {
  .lightbox__figure img.is-changing { animation: lbImg .5s var(--ease) both; }
  @keyframes lbImg { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
}
.lightbox figcaption { margin-top: 1rem; display: flex; gap: 1rem; align-items: baseline; color: var(--on-dark-muted); text-transform: none; letter-spacing: .02em; font-family: var(--serif); font-size: 1.1rem; font-weight: 400; text-align: center; }
.lightbox__count { font-family: var(--sans); font-size: .66rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--champagne); white-space: nowrap; }
.lightbox button { background: none; border: 1px solid rgba(245, 241, 233, .35); color: var(--ivory); cursor: pointer; width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.3rem; transition: background-color .3s, border-color .3s, color .3s; }
.lightbox button:hover { background: var(--champagne); border-color: var(--champagne); color: var(--espresso); }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; font-size: 1.8rem !important; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.about__text { margin-top: 1.8rem; font-size: clamp(1.05rem, 1.3vw, 1.15rem); color: var(--text); max-width: 36rem; }
.about__quote { margin: 2.6rem 0; padding-left: 1.6rem; border-left: 1px solid var(--champagne); max-width: 32rem; }
.about__quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.3; color: var(--ink); }
.about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; }
.about__figure { position: relative; }
.about__figure::before {
  content: ""; position: absolute; z-index: 0;
  inset: 1.6rem -1.6rem 3.2rem 1.6rem;
  border: 1px solid var(--champagne);
}
.about__figure picture { position: relative; z-index: 1; }
.about__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__figure figcaption { position: relative; z-index: 1; }

/* ---------- Location ---------- */
.location__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.location__copy > p { color: var(--muted-beige); max-width: 30rem; margin-top: 1.4rem; }
.location__address {
  margin: 2rem 0 2rem; padding: 1.4rem 0; border-block: 1px solid var(--line-strong);
  font-family: var(--serif); font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.25; color: var(--ink);
}
.location__address-label { display: block; margin-bottom: .5rem; font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-beige); }
.location__copy .btn { margin-top: 0; }
.map-frame {
  position: relative; padding: .7rem; background: var(--ivory); border: 1px solid var(--line-strong);
}
.map-frame::before {
  content: ""; position: absolute; inset: .7rem; z-index: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(41, 37, 31, .07) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(41, 37, 31, .07) 39px 40px),
    var(--paper);
}
.map-frame iframe { position: relative; z-index: 1; width: 100%; height: clamp(320px, 38vw, 500px); border: 0; filter: grayscale(.85) sepia(.12) contrast(1.02); transition: filter .6s var(--ease); }
.map-frame:hover iframe, .map-frame:focus-within iframe { filter: none; }
.map-caption {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1.5rem;
  margin-top: 1rem; text-transform: none; letter-spacing: 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; color: var(--ink);
}

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact__copy { position: sticky; top: calc(var(--header-h) + 2rem); }
.contact__invite { margin-top: 1.6rem; max-width: 30rem; font-size: 1.05rem; color: var(--on-dark-muted); }
.contact__list { margin-top: 2.6rem; border-top: 1px solid var(--line-dark); }
.contact__list div { padding: 1.2rem 0; border-bottom: 1px solid var(--line-dark); display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; align-items: baseline; }
.contact__list dt { font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--champagne); }
.contact__list dd { font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.3; color: var(--on-dark); overflow-wrap: anywhere; }
.contact__list a { text-decoration: none; background: linear-gradient(var(--champagne), var(--champagne)) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.contact__list a:hover { background-size: 100% 1px; }

.form-card {
  position: relative; background: var(--paper); color: var(--text);
  padding: clamp(1.75rem, 4vw, 3.2rem);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}
.form-card::before { content: ""; position: absolute; left: clamp(1.75rem, 4vw, 3.2rem); top: 0; width: 72px; height: 3px; background: var(--champagne); }
.estimate-form { display: block; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem 1.4rem; }
.field { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text); }
.field .req { color: var(--error); }
.field .opt { font-weight: 500; letter-spacing: .06em; text-transform: none; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .85rem 1rem;
  border: 1px solid var(--field-border); border-radius: 0; background: var(--white); color: var(--ink);
  font-size: 1rem; line-height: 1.4;
  transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6E6457; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--espresso); box-shadow: 0 0 0 3px rgba(200, 185, 159, .55); }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field select { padding-right: 2.8rem; cursor: pointer; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* client script error styling — lift its #ff6b6b to an AA red without touching the script */
.error-message { color: var(--error) !important; font-size: .85rem !important; font-weight: 500; line-height: 1.4; margin-top: 0 !important; }
.field input[style*="255, 107, 107"], .field textarea[style*="255, 107, 107"],
.field input[style*="ff6b6b"], .field textarea[style*="ff6b6b"],
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error) !important; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }

.form-required-note { margin: 1.3rem 0 1rem; font-size: .8rem; color: var(--muted); }
.form-required-note span { color: var(--error); }
.estimate-form .btn--block { margin-top: .2rem; }
.btn.is-loading::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid currentColor; border-right-color: transparent;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { margin-top: 1rem; font-size: .92rem; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); padding: .85rem 1rem; border: 1px solid rgba(163, 39, 31, .35); background: rgba(163, 39, 31, .05); }
.form-status.is-info { color: var(--text); padding: .85rem 1rem; border: 1px solid var(--line-strong); background: var(--ivory); }
.form-privacy { margin-top: 1.1rem; font-size: .8rem; line-height: 1.55; color: var(--muted); }

.form-success { display: none; padding: 1rem 0; text-align: left; }
.form-success:focus { outline: none; }
.form-success__mark { display: block; width: 46px; height: 46px; border: 1px solid var(--champagne); position: relative; margin-bottom: 1.4rem; }
.form-success__mark::after { content: ""; position: absolute; left: 16px; top: 11px; width: 10px; height: 18px; border-right: 2px solid var(--success); border-bottom: 2px solid var(--success); transform: rotate(45deg); }
.form-success h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; }
.form-success p { margin-top: .9rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: var(--on-dark-muted); padding: clamp(4rem, 8vw, 6.5rem) 0 2rem; font-size: .95rem; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 3rem 2.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line-dark); }
.brand--footer { color: var(--on-dark); margin-bottom: 1.4rem; }
.footer__brand p { max-width: 24rem; }
.footer__heading { font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--champagne); margin-bottom: 1.2rem; }
.footer__col li + li { margin-top: .55rem; }
.footer__col a { text-decoration: none; color: var(--on-dark-muted); transition: color .3s; }
.footer__col a:hover { color: var(--on-dark); text-decoration: underline; }
.footer__contact a, .footer__contact address { overflow-wrap: anywhere; }
.footer__contact address { color: var(--on-dark-muted); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-top: 1.8rem; font-size: .82rem; }
.footer__domain a { color: var(--on-dark-muted); text-decoration: none; }
.back-to-top { display: inline-flex; gap: .5rem; align-items: center; text-decoration: none; color: var(--champagne); font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; min-height: 44px; }
.back-to-top:hover { color: var(--on-dark); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .btn--header { margin-left: auto; }
  .menu-toggle { margin-left: 0; }
  .feature__card { grid-column: 7 / 13; }
}
@media (max-width: 1024px) {
  .process__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 3.5rem; padding-top: 0; }
  .process__list::before, .process__list::after { display: none; }
  .step { padding-top: 2.2rem; border-top: 1px solid var(--line-dark); }
  .step__node { top: -8px; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .feature__grid { grid-template-columns: minmax(0, 1fr); padding-right: 0; }
  .feature__figure { grid-column: 1; grid-row: 1; }
  .feature__figure img { aspect-ratio: 4 / 3; }
  .feature__card { grid-column: 1; grid-row: 2; margin: -4.5rem var(--gutter) 0; }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .section-head--split { grid-template-columns: minmax(0, 1fr); }
  .section-head--split .section-lede { border-left: 0; padding-left: 0; padding-top: 1rem; border-top: 1px solid var(--line-strong); }
  .intro__grid, .about__grid, .location__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .intro__figure { margin-left: 0; max-width: 560px; }
  .about__figure { max-width: 520px; margin-right: 1.6rem; }
  .contact__copy { position: static; }
  .why__row { grid-template-columns: 3.2rem minmax(0, 1fr); }
  .why__text { grid-column: 2; }
  .why__row:hover { padding-inline: 0; background: none; }
  .hero__foot { grid-template-columns: 1fr auto; }
  .hero__foot-item:first-child { display: none; }
  .hero__scroll { justify-self: start; }
}
@media (max-width: 760px) {
  .services__list { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; }
  .service:nth-child(even) { translate: none; }
  .service__media img, .service--wide .service__media img { aspect-ratio: 4 / 3; }
  .gallery__rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__row { display: contents; }
  .g-item { aspect-ratio: 4 / 5; }
  .gallery__row:first-child .g-item:first-child,
  .gallery__row:nth-child(2) .g-item:first-child,
  .gallery__row:last-child .g-item { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .process__list { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .step { padding: 1.6rem 0 1.8rem 2.6rem; border-top: 0; border-left: 1px solid var(--line-dark); }
  .step__node { top: 1.85rem; left: -8px; }
  .intro__notes { grid-template-columns: minmax(0, 1fr); }
  .intro__notes div, .intro__notes div + div { padding: 1rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .btn--header { display: none; }
  .menu-toggle { margin-left: auto; }
  .hero__ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; }
  .hero__inner { padding-top: calc(var(--header-h) + 2rem); }
  .hero__desc { font-size: .98rem; }
  .contact__list div { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
  .lightbox { grid-template-columns: minmax(0, 1fr); padding: 4.5rem .75rem 5.5rem; }
  .lightbox__nav { position: absolute; bottom: 1.2rem; }
  .lightbox__nav--prev { left: calc(50% - 64px); }
  .lightbox__nav--next { right: calc(50% - 64px); }
  .lightbox__figure img { max-height: calc(100svh - 13rem); }
}
@media (max-width: 420px) {
  .brand__name { font-size: 1.22rem; }
  .brand__sub { letter-spacing: .3em; }
  .brand__mark { width: 36px; height: 36px; }
  .menu-toggle__label { display: none; }
  .hero__title { font-size: clamp(2.7rem, 12.5vw, 3.4rem); }
  .feature__card { margin-inline: .75rem; }
}
@media (max-width: 359px) {
  .brand__text { display: none; }
}

@media print {
  .site-header, .mobile-menu, .hero__scroll, .lightbox, .map-frame { display: none !important; }
  .hero { min-height: auto; color: #000; background: none; }
  .hero__media, .hero__veil { display: none; }
  .hero__title, .hero__support, .hero__desc { color: #000; }
}
