/* ==========================================================================
   San Marcos Wallpaper Hanger — styles.css
   Design system: "Travertine & Oxblood"
   Display: Marcellus · Text: Urbanist (variable 100–900) · self-hosted
   Motif: the half-drop — two offset wallpaper lengths (logo, glyphs, CTA)
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Marcellus";
  src: url("../fonts/marcellus-latin-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Marcellus";
  src: url("../fonts/marcellus-latin-ext-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Urbanist";
  src: url("../fonts/urbanist-latin-wght.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Urbanist";
  src: url("../fonts/urbanist-latin-ext-wght.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --bone: #F6F1EA;
  --paper: #FCF9F5;
  --tint: #EDE5D9;
  --line: #D8CCBC;
  --line-strong: #8F8273;
  --ink: #26201C;
  --text: #463C35;
  --muted: #6B5F55;
  --copper: #B57A50;          /* decorative only */
  --copper-text: #8A5634;     /* copper for text on light surfaces */
  --copper-light: #E3B892;    /* copper for text on dark surfaces */
  --oxblood: #5B2626;
  --oxblood-hover: #461C1C;
  --deep: #2B1A19;            /* gallery band */
  --footer: #1F1514;
  --on-dark: #F5EDE3;
  --on-dark-muted: #D3C3B5;
  --error: #A12C25;

  --font-display: "Marcellus", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-text: "Urbanist", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --header-h: 76px;
  --radius: 2px;
  --shadow-soft: 0 1px 2px rgba(38, 32, 28, .05), 0 12px 32px -12px rgba(38, 32, 28, .18);
  --shadow-lift: 0 2px 4px rgba(38, 32, 28, .06), 0 24px 48px -18px rgba(38, 32, 28, .28);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --section-y: clamp(72px, 10vw, 136px);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bone);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}
img, svg, picture, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.005em;
  text-wrap: balance;
}
em { font-style: normal; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
::selection { background: var(--oxblood); color: var(--on-dark); }

:focus-visible {
  outline: 2px solid var(--copper-text);
  outline-offset: 3px;
}
.section--dark :focus-visible,
.hero :focus-visible,
.statement :focus-visible,
.final-cta :focus-visible,
.site-footer :focus-visible,
.address-card :focus-visible,
.lightbox :focus-visible {
  outline-color: var(--copper-light);
}

.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: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--on-dark);
  padding: 10px 16px; text-decoration: none; border-radius: var(--radius);
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}
.section { padding-block: var(--section-y); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--deep); color: var(--on-dark-muted); }
.section--dark h2, .section--dark h3 { color: var(--on-dark); }

section[id] { scroll-margin-top: calc(var(--header-h) - 1px); }

/* ---------- Motif: the half-drop glyph ---------- */
.drop-glyph {
  display: inline-block;
  position: relative;
  width: 14px; height: 14px;
  flex: none;
}
.drop-glyph::before, .drop-glyph::after {
  content: "";
  position: absolute;
  width: 5px; height: 11px;
  border: 1.25px solid currentColor;
}
.drop-glyph::before { left: 0; top: 0; }
.drop-glyph::after { left: 7px; top: 3px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-family: var(--font-text);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--copper-text);
  line-height: 1.4;
}
.eyebrow--light { color: var(--copper-light); }

.section-title {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.35rem);
  margin-bottom: 24px;
}
.section-intro { color: var(--muted); max-width: 46ch; }
.section--dark .section-intro { color: var(--on-dark-muted); }
.lead {
  font-size: clamp(1.15rem, 1.05rem + .4vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 18px;
}
p + p { margin-top: 14px; }

.text-link {
  display: inline-flex; gap: 10px; align-items: center;
  margin-top: 36px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--oxblood);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: gap .25s var(--ease), color .2s;
}
.text-link:hover { gap: 16px; color: var(--oxblood-hover); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  font-family: var(--font-text);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .78rem; }
.btn-lg { min-height: 54px; padding: 14px 30px; }
.btn-block { width: 100%; }
.btn-icon { width: 18px; height: 18px; flex: none; }

.btn-primary { --btn-bg: var(--oxblood); --btn-fg: var(--bone); --btn-bd: var(--oxblood); }
.btn-primary:hover { --btn-bg: var(--oxblood-hover); --btn-bd: var(--oxblood-hover); box-shadow: 0 10px 24px -12px rgba(91, 38, 38, .7); }

.btn-outline { --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn-outline:hover { --btn-bg: var(--ink); --btn-fg: var(--bone); }

.btn-light { --btn-bg: var(--bone); --btn-fg: var(--ink); --btn-bd: var(--bone); }
.btn-light:hover { --btn-bg: #FFFFFF; --btn-bd: #FFFFFF; }

.btn-ghost-light { --btn-fg: var(--on-dark); --btn-bd: rgba(245, 237, 227, .7); --btn-bg: rgba(20, 12, 10, .18); }
.btn-ghost-light:hover { --btn-bg: var(--on-dark); --btn-fg: var(--ink); --btn-bd: var(--on-dark); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--bone);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -20px rgba(38, 32, 28, .5);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand-mark { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  letter-spacing: .01em;
}
.brand-sub {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--copper-text);
  margin-top: 4px;
}
.brand--light { color: var(--on-dark); }
.brand--light .brand-sub { color: var(--copper-light); }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  list-style: none;
}
.primary-nav ul a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--ink);
  text-decoration: none;
}
.primary-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.primary-nav ul a:hover::after,
.primary-nav ul a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav-drawer-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 102;
}
.nav-toggle-box { position: relative; display: block; width: 22px; height: 14px; margin: 0 auto; }
.nav-toggle-box span {
  position: absolute; left: 0;
  width: 100%; height: 1.5px;
  background: var(--ink);
  transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease);
}
.nav-toggle-box span:nth-child(1) { top: 0; }
.nav-toggle-box span:nth-child(2) { top: 6px; width: 70%; }
.nav-toggle-box span:nth-child(3) { top: 12px; }
.nav-open .nav-toggle-box span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-open .nav-toggle-box span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-box span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: var(--bone);
    border-top: 1px solid var(--line);
    padding: 28px clamp(16px, 4vw, 40px) 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
    z-index: 101;
  }
  .nav-open .primary-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s;
  }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav ul li { border-bottom: 1px solid var(--line); }
  .primary-nav ul a {
    display: block;
    padding: 16px 0;
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 0;
  }
  .primary-nav ul a::after { display: none; }
  .nav-drawer-extra { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
  .drawer-phone { font-weight: 600; color: var(--oxblood); text-decoration: none; font-size: 1.1rem; padding: 8px 0; }
  body.menu-locked { overflow: hidden; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .brand-name { font-size: 1.18rem; }
  .brand-mark { width: 36px; height: 36px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 560px;
  min-height: clamp(560px, calc(100vh - var(--header-h)), 900px);
  min-height: clamp(560px, calc(100svh - var(--header-h)), 900px);
  display: flex;
  align-items: flex-end;
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
  background: #3A2C24;
}
.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% 45%; }
@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-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(22, 13, 11, .9) 0%, rgba(22, 13, 11, .84) 34%, rgba(22, 13, 11, .62) 54%, rgba(22, 13, 11, .2) 74%, rgba(22, 13, 11, 0) 88%),
    linear-gradient(0deg, rgba(22, 13, 11, .6) 0%, rgba(22, 13, 11, 0) 45%);
}
.hero-selvedge { display: none; }
@media (min-width: 1400px) {
  .hero-selvedge {
    display: flex;
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 48px;
    align-items: center;
    justify-content: center;
    background: var(--oxblood);
    border-right: 1px solid rgba(227, 184, 146, .35);
  }
  .hero-selvedge span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--copper-light);
  }
}
.hero-inner {
  padding-top: 96px;
  padding-bottom: clamp(64px, 9vh, 112px);
}
.hero-copy { max-width: 860px; }
.hero-title {
  font-size: clamp(2.6rem, 1.55rem + 3.9vw, 4.6rem);
  line-height: 1.02;
  color: #FFFFFF;
  margin-bottom: 26px;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.hero-title em { color: #F2D3B4; }
.hero-lead {
  max-width: 42ch;
  font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem);
  line-height: 1.6;
  color: #F1E8DD;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll {
  position: absolute;
  right: clamp(16px, 4vw, 40px);
  bottom: 36px;
  width: 44px; height: 64px;
  display: none;
  justify-content: center;
  border: 1px solid rgba(245, 237, 227, .5);
  border-radius: 22px;
}
.hero-scroll span {
  width: 1px; height: 14px; margin-top: 12px;
  background: var(--on-dark);
}
@media (min-width: 1024px) { .hero-scroll { display: flex; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-scroll span { animation: scrollCue 2.2s var(--ease) infinite; }
}
@keyframes scrollCue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }

@media (max-width: 1100px) {
  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(22, 13, 11, .9) 0%, rgba(22, 13, 11, .8) 50%, rgba(22, 13, 11, .5) 80%, rgba(22, 13, 11, .3) 100%),
      linear-gradient(0deg, rgba(22, 13, 11, .6) 0%, rgba(22, 13, 11, 0) 50%);
  }
}
@media (max-width: 700px) {
  .hero { min-height: calc(100svh - var(--header-h)); min-height: max(600px, calc(100svh - var(--header-h))); }
  .hero-media img { object-position: 50% 30%; }
  .hero-scrim {
    background: linear-gradient(0deg, rgba(22, 13, 11, .95) 0%, rgba(22, 13, 11, .88) 55%, rgba(22, 13, 11, .78) 68%, rgba(22, 13, 11, .35) 86%, rgba(22, 13, 11, .12) 100%);
  }
  .hero-inner { padding-bottom: 40px; }
  .hero-ctas .btn { width: 100%; }
}
@media (max-width: 700px) and (max-height: 720px) {
  .hero-scrim {
    background: linear-gradient(0deg, rgba(22, 13, 11, .95) 0%, rgba(22, 13, 11, .88) 60%, rgba(22, 13, 11, .78) 85%, rgba(22, 13, 11, .6) 100%);
  }
}

/* ==========================================================================
   Intro
   ========================================================================== */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: center;
}
.intro-copy { max-width: 600px; }
.qualities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
  margin-top: 40px;
}
.quality { border-top: 1px solid var(--line); padding-top: 18px; }
.quality dt {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.q-num {
  font-family: var(--font-text);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--copper-text);
  margin-right: 10px;
  vertical-align: 2px;
}
.quality dd { font-size: .98rem; color: var(--muted); line-height: 1.6; }

.intro-figure { position: relative; padding: 0 0 0 0; }
.frame { position: relative; }
.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(18px, 18px);
  border: 1px solid var(--copper);
  z-index: 0;
  pointer-events: none;
}
.frame picture { position: relative; z-index: 1; overflow: hidden; }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.intro-note {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 300px;
  margin: -64px 0 0 -40px;
  padding: 22px 24px;
  background: var(--paper);
  color: var(--text);
  font-size: .95rem;
  line-height: 1.55;
  box-shadow: var(--shadow-soft);
}
.intro-note .drop-glyph { color: var(--copper-text); margin-top: 4px; }

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-figure { max-width: 560px; margin-right: 18px; }
  .intro-note { margin: -48px 0 0 16px; }
}
@media (max-width: 520px) {
  .qualities { grid-template-columns: 1fr; gap: 20px; }
  .intro-note { margin: 16px 0 0; max-width: none; }
}

/* ==========================================================================
   Services
   ========================================================================== */
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
}
.section-head--split .section-title { margin-bottom: 0; max-width: 18ch; }
.section-head--split .section-intro { padding-bottom: 6px; }
@media (max-width: 860px) {
  .section-head--split { grid-template-columns: 1fr; }
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
}
.service-card {
  position: relative;
  padding: clamp(28px, 3vw, 40px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  left: -1px; right: -1px; top: -1px;
  height: 2px;
  background: var(--oxblood);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--copper-text);
  margin-bottom: 36px;
}
.service-card h3 { font-size: 1.42rem; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 1rem; line-height: 1.65; }

.services-foot {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
}
.services-foot p { color: var(--text); max-width: 52ch; }

@media (max-width: 1000px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-num { margin-bottom: 20px; font-size: 2.2rem; }
  .services-foot .btn { width: 100%; }
}

/* ==========================================================================
   Statement (visual break)
   ========================================================================== */
.statement {
  position: relative;
  min-height: clamp(460px, 78vh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: #1D2420;
}
.statement-media, .statement-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.statement-media { z-index: -2; }
.statement-media img { object-fit: cover; object-position: 20% 40%; }
.statement-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 12, 10, .9) 0%, rgba(14, 12, 10, .8) 38%, rgba(14, 12, 10, .55) 52%, rgba(14, 12, 10, .12) 74%, rgba(14, 12, 10, 0) 90%),
    linear-gradient(0deg, rgba(14, 12, 10, .6) 0%, rgba(14, 12, 10, 0) 50%);
}
.statement-inner { padding-block: clamp(64px, 10vw, 120px); }
.statement-quote { max-width: 620px; }
.statement-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.2rem + 3vw, 3.7rem);
  line-height: 1.14;
  color: #FFFFFF;
  text-wrap: balance;
}
.statement-quote::before {
  content: "";
  display: block;
  width: 72px; height: 1px;
  background: var(--copper-light);
  margin-bottom: 28px;
}
@media (max-width: 700px) {
  .statement { min-height: 560px; }
  .statement-media img { object-position: 50% 30%; }
  .statement-scrim { background: linear-gradient(0deg, rgba(14, 12, 10, .92) 0%, rgba(14, 12, 10, .7) 45%, rgba(14, 12, 10, .1) 85%); }
}

/* ==========================================================================
   Approach
   ========================================================================== */
.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.approach-head { position: sticky; top: calc(var(--header-h) + 40px); }
.approach-head .section-intro { margin-bottom: 32px; }

.steps { position: relative; list-style: none; }
.steps::before {
  content: "";
  position: absolute;
  left: 44px; top: 40px; bottom: 40px;
  width: 1px;
  background: linear-gradient(var(--copper), rgba(181, 122, 80, .15));
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  position: relative;
  z-index: 1;
  display: block;
  width: 90px;
  text-align: center;
  background: var(--bone);
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--copper-text);
  padding-block: 4px;
}
@supports ((-webkit-text-stroke: 1px black) and (-webkit-text-fill-color: transparent)) {
  .step-num {
    color: var(--oxblood);
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1.2px var(--oxblood);
    transition: -webkit-text-fill-color .4s var(--ease);
  }
  .step:hover .step-num { -webkit-text-fill-color: var(--oxblood); }
}
.step-body h3 { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.85rem); margin-bottom: 10px; padding-top: 6px; }
.step-body p { color: var(--muted); max-width: 46ch; }

@media (max-width: 900px) {
  .approach-grid { grid-template-columns: 1fr; }
  .approach-head { position: static; }
}
@media (max-width: 520px) {
  .step { grid-template-columns: 60px minmax(0, 1fr); gap: 18px; padding: 28px 0; }
  .step-num { width: 60px; font-size: 2.5rem; }
  .steps::before { left: 30px; }
  .approach-head .btn { width: 100%; }
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.g-item {
  position: relative;
  overflow: hidden;
  background: #3A2725;
  border-radius: var(--radius);
}
.g-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.g-open picture, .g-open img { width: 100%; height: 100%; }
.g-open img {
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter .6s var(--ease);
}
.g-item:hover img { transform: scale(1.045); }
.g-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px 20px 18px;
  background: linear-gradient(0deg, rgba(20, 12, 11, .88) 0%, rgba(20, 12, 11, .55) 55%, rgba(20, 12, 11, 0) 100%);
  color: var(--on-dark);
  font-size: .95rem;
  line-height: 1.4;
  pointer-events: none;
}
.g-item figcaption span {
  display: block;
  margin-bottom: 4px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--copper-light);
}

.g-a { grid-column: 1 / 8; grid-row: 1; aspect-ratio: 3 / 2; }
.g-c { grid-column: 1 / 8; grid-row: 2; aspect-ratio: 3 / 2; }
.g-b { grid-column: 8 / 13; grid-row: 1 / 3; }
.g-d { grid-column: 1 / 5; grid-row: 3; aspect-ratio: 4 / 5; }
.g-e { grid-column: 5 / 9; grid-row: 3; aspect-ratio: 4 / 5; }
.g-f { grid-column: 9 / 13; grid-row: 3; aspect-ratio: 4 / 5; }
.g-b .g-open { position: absolute; inset: 0; }

@media (max-width: 899px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; }
  .g-a, .g-c { grid-column: span 2; grid-row: auto; aspect-ratio: 3 / 2; }
  .g-b, .g-d, .g-e, .g-f { grid-column: span 1; grid-row: auto; aspect-ratio: 4 / 5; }
  .g-b .g-open { position: static; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; gap: 12px; }
  .g-a, .g-b, .g-c, .g-d, .g-e, .g-f { grid-column: auto; }
  .g-a, .g-c { aspect-ratio: 4 / 3; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 72px;
  background: rgba(16, 10, 9, .94);
}
.lightbox[hidden] { display: none; }
.lb-figure { max-width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-figure img {
  max-width: 100%;
  max-height: calc(100vh - 170px);
  max-height: calc(100dvh - 170px);
  width: auto;
  object-fit: contain;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
}
.lb-figure figcaption { color: var(--on-dark); font-size: .95rem; text-align: center; }
.lb-btn {
  position: absolute;
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(245, 237, 227, .4);
  border-radius: 50%;
  background: rgba(16, 10, 9, .5);
  color: var(--on-dark);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.lb-btn:hover { background: var(--oxblood); border-color: var(--oxblood); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-counter {
  position: absolute; top: 28px; left: 24px;
  font-size: .8rem; letter-spacing: .2em; color: var(--on-dark-muted);
}
@media (max-width: 700px) {
  .lightbox { padding: 72px 12px 96px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

/* ==========================================================================
   Location + map
   ========================================================================== */
.location-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.location-intro .section-title { margin-bottom: 0; }
.location-copy strong { color: var(--ink); font-weight: 600; }

.map-panel {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--paper);
}
.map-frame {
  position: relative;
  min-height: 460px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--tint);
}
.map-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  color: var(--muted);
  font-size: .9rem; letter-spacing: .1em; text-transform: uppercase;
}
.map-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.address-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: clamp(28px, 3.4vw, 44px);
  background: var(--oxblood);
  color: var(--on-dark);
}
.address-label {
  font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: 8px;
}
.address-name { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.2; color: #FFFFFF; }
.address-lines { margin-top: 8px !important; font-size: 1.08rem; line-height: 1.55; }
.address-contacts { list-style: none; margin: 18px 0 28px; display: grid; gap: 6px; }
.address-contacts a {
  color: var(--on-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(227, 184, 146, .5);
  overflow-wrap: anywhere;
  font-size: .98rem;
}
.address-contacts a:hover { border-bottom-color: var(--copper-light); }
.address-card .btn { margin-top: auto; }

@media (max-width: 900px) {
  .location-intro { grid-template-columns: 1fr; }
  .map-panel { grid-template-columns: 1fr; }
  .map-frame { min-height: 0; aspect-ratio: 4 / 3; }
  .address-card .btn { margin-top: 0; }
}
@media (max-width: 520px) {
  .map-frame { aspect-ratio: 1 / 1; }
  .address-card .btn { width: 100%; }
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
  position: relative;
  background-color: var(--oxblood);
  background-image:
    repeating-linear-gradient(90deg, rgba(245, 237, 227, .05) 0 1px, transparent 1px 72px),
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, .08), transparent 60%);
  color: var(--on-dark);
  text-align: center;
  padding-block: clamp(80px, 11vw, 140px);
}
.final-cta-inner { display: flex; flex-direction: column; align-items: center; }
.final-mark { width: 48px; height: 48px; color: var(--copper-light); margin-bottom: 28px; }
.final-title {
  color: #FFFFFF;
  font-size: clamp(2.1rem, 1.3rem + 3vw, 3.7rem);
  max-width: 16ch;
  margin-bottom: 22px;
}
.final-lead { max-width: 52ch; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: #F0E4D8; margin-bottom: 38px; }
.final-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.final-cta .btn-ghost-light { --btn-bg: transparent; }
@media (max-width: 520px) { .final-ctas .btn { width: 100%; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-list { list-style: none; margin-top: 36px; border-top: 1px solid var(--line-strong); }
.contact-list li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-label { font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--copper-text); padding-top: 4px; }
.contact-list a { color: var(--ink); font-weight: 500; text-decoration: none; overflow-wrap: anywhere; border-bottom: 1px solid transparent; }
.contact-list a:hover { border-bottom-color: var(--oxblood); }
.contact-list span:not(.contact-label) { color: var(--ink); }
.contact-hint { margin-top: 24px; font-size: .95rem; color: var(--muted); }

.form-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-soft);
}
.form-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--oxblood);
}
.estimate-form { display: block; }
.form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
}
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.req { color: var(--error); }
.field input, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #776B60; opacity: 1; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--oxblood);
  box-shadow: 0 0 0 3px rgba(91, 38, 38, .18);
}
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.field input[aria-invalid="true"] { border-color: var(--error); }

/* Error messages injected by the validation script carry an inline colour
   (#ff6b6b) that is too light on this surface — lift it to an AA red. */
.error-message {
  color: var(--error) !important;
  font-size: .9rem !important;
  font-weight: 500;
  margin-top: 6px;
  line-height: 1.4;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }

.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 6px; }
.form-small { margin-top: 14px; font-size: .88rem; color: var(--muted); }
.form-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-left: 3px solid var(--error);
  background: #F8E9E6;
  color: #7E211B;
  font-size: .95rem;
}
.form-status[hidden] { display: none; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

.form-success {
  display: none;
  text-align: center;
  padding: 48px 12px;
  color: var(--ink);
}
.form-success svg { width: 56px; height: 56px; margin: 0 auto 22px; color: var(--oxblood); }
.form-success h3 { font-size: 1.8rem; margin-bottom: 10px; }
.form-success p { color: var(--muted); }

.form-notice {
  display: none;
  margin-bottom: 22px;
  padding: 14px 18px;
  font-size: .98rem;
  border-left: 3px solid;
}
.form-notice--sent { border-color: #2F6B45; background: #E8F1EA; color: #1F4A2F; }
.form-notice--error { border-color: var(--error); background: #F8E9E6; color: #7E211B; }
.form-notice:target { display: block; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-fields { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--footer);
  color: var(--on-dark-muted);
  padding-top: clamp(64px, 8vw, 96px);
  font-size: .98rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 48px;
  padding-bottom: 56px;
}
.footer-tag { margin-top: 22px; max-width: 34ch; }
.footer-heading {
  font-family: var(--font-text);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: 20px;
}
.footer-col p { margin: 0 0 8px; }
.footer-col p + p { margin-top: 0; }
.footer-strong { color: var(--on-dark); font-family: var(--font-display); font-size: 1.2rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; border-bottom: 1px solid rgba(227, 184, 146, .35); overflow-wrap: anywhere; transition: border-color .2s; }
.site-footer a:hover { border-bottom-color: var(--copper-light); }
.site-footer .brand { border-bottom: 0; }
.footer-nav { list-style: none; display: grid; gap: 10px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 26px 32px;
  border-top: 1px solid rgba(245, 237, 227, .14);
  font-size: .9rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ==========================================================================
   Scroll reveal — progressive enhancement
   Content is visible by default; main.js adds .reveal-ready to <html> only
   when IntersectionObserver exists and motion is allowed.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
  }
  .reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
  .reveal-ready .service-grid [data-reveal]:nth-child(3n+2),
  .reveal-ready .gallery-grid [data-reveal]:nth-child(2n) { transition-delay: .08s; }
  .reveal-ready .service-grid [data-reveal]:nth-child(3n),
  .reveal-ready .gallery-grid [data-reveal]:nth-child(3n) { transition-delay: .16s; }
  .reveal-ready .service-card[data-reveal].is-visible:hover { transform: translateY(-4px); }
}

@media print {
  .site-header, .hero-scroll, .lightbox, .nav-toggle, .map-frame iframe { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero, .statement { min-height: 0; }
}
