/* ==========================================================================
   Canyon Lake Wallpaper Installer — Boutique Interior Design system
   Type: Instrument Serif (display) + Albert Sans (variable, text/UI)
   Palette: limestone ivory / sand / espresso / brass
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face {
  font-family: "Instrument Serif";
  src: url("../assets/fonts/instrument-serif-latin-400-normal.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: "Instrument Serif";
  src: url("../assets/fonts/instrument-serif-latin-ext-400-normal.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: "Instrument Serif";
  src: url("../assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; 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: "Instrument Serif";
  src: url("../assets/fonts/instrument-serif-latin-ext-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; 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: "Albert Sans";
  src: url("../assets/fonts/albert-sans-latin-wght-normal.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: "Albert Sans";
  src: url("../assets/fonts/albert-sans-latin-ext-wght-normal.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 {
  --ivory: #F7F3EC;
  --paper: #FCFAF6;
  --linen: #F1EBE1;
  --sand: #ECE3D5;
  --line: #DDD2C1;
  --line-strong: #8F8270;

  --ink: #24201B;
  --text: #3E362F;
  --muted: #675B4E;
  --brass: #A8844F;
  --brass-text: #7A5B2F;
  --brass-light: #D3B37E;

  --espresso: #2B231D;
  --espresso-2: #3A2F27;
  --espresso-deep: #1F1915;
  --on-dark: #F4EDE1;
  --on-dark-muted: #CDBFAA;

  --error: #A3372B;
  --error-bg: #FBEDEA;

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --header-h: 78px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 128px);
  --radius: 2px;
  --shadow-soft: 0 18px 40px -22px rgba(43, 35, 29, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 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);
  overflow-x: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  overflow-x: hidden;
  width: 100%;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, picture, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--brass-text); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.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: 12px; top: -60px; z-index: 300;
  background: var(--espresso); color: var(--on-dark); padding: 10px 16px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brass-text);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .8; }
.eyebrow-light { color: var(--brass-light); }
.section-title {
  font-family: var(--serif);
  font-size: clamp(2.15rem, 3.7vw, 3.45rem);
  line-height: 1.07;
  letter-spacing: -.005em;
  margin-bottom: 22px;
  text-wrap: balance;
}
.section-title-sm { font-size: clamp(1.9rem, 2.8vw, 2.5rem); }
.lead { font-size: clamp(1.12rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--ink); }
.section-intro { color: var(--muted); max-width: 46ch; margin: 0; }
.note { display: block; margin-top: 8px; font-size: .88rem; font-style: italic; }
.text-link {
  color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brass);
  text-underline-offset: 5px; text-decoration-thickness: 1px;
}
.text-link:hover { text-decoration-thickness: 2px; }
.text-link-light { color: var(--on-dark); text-decoration-color: var(--brass-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--sans); font-size: .95rem; font-weight: 600; letter-spacing: .02em; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--espresso); color: var(--on-dark); }
.btn-primary:hover { background: #4A3B30; }
.btn-light { background: var(--ivory); color: var(--espresso); }
.btn-light:hover { background: #FFFFFF; }
.btn-ghost-light { border-color: rgba(244, 237, 225, .75); color: var(--on-dark); background: rgba(31, 25, 21, .18); }
.btn-ghost-light:hover { background: rgba(244, 237, 225, .14); border-color: var(--on-dark); }
.btn-outline { border-color: var(--espresso); color: var(--espresso); background: transparent; }
.btn-outline:hover { background: var(--espresso); color: var(--on-dark); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .65; cursor: progress; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 34px; }
.cta-row-center { justify-content: center; }

/* Focus on dark surfaces */
.hero :focus-visible, .why :focus-visible, .contact-copy :focus-visible, .site-footer :focus-visible, .lightbox :focus-visible, .svc-media :focus-visible {
  outline-color: var(--brass-light);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 243, 236, .96);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  @media (min-width: 1081px) {
    .site-header { background: rgba(247, 243, 236, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  }
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(43, 35, 29, .45); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; letter-spacing: .005em; }
.brand-sub { margin-top: 5px; font-size: .64rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 28px); }
.nav-list a {
  position: relative; display: inline-block; padding: 8px 0;
  font-size: .93rem; font-weight: 500; color: var(--ink); text-decoration: none;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-list a:hover::after, .nav-list a:focus-visible::after { transform: scaleX(1); }
.nav-drawer-extras { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; color: var(--brass-text); }
.header-phone:hover .header-phone-text { text-decoration: underline; text-underline-offset: 4px; }

.nav-toggle {
  display: none; position: relative; z-index: 2;
  width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); cursor: pointer;
}
.nav-toggle-bars { position: absolute; left: 50%; top: 50%; width: 20px; height: 14px; transform: translate(-50%, -50%); }
.nav-toggle-bars span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6.25px; }
.nav-toggle-bars span:nth-child(3) { top: 12.5px; }
.nav-open .nav-toggle-bars span:nth-child(1) { top: 6.25px; transform: rotate(45deg); }
.nav-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bars span:nth-child(3) { top: 6.25px; transform: rotate(-45deg); }

@media (max-width: 1240px) {
  .header-phone-text { display: none; }
  .header-phone { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); }
}
@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 99;
    margin: 0; padding: 18px var(--gutter) 40px;
    background: var(--ivory); overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { display: block; padding: 16px 2px; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; }
  .nav-list a::after { display: none; }
  .nav-drawer-extras { display: grid; gap: 14px; margin-top: 28px; }
  .drawer-phone { text-align: center; font-weight: 600; color: var(--ink); padding: 10px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1.3rem; }
}
@media (max-width: 600px) {
  .header-cta { display: none; }
}
@media (max-width: 360px) {
  .brand-sub { letter-spacing: .16em; }
  .brand-name { font-size: 1.2rem; }
  .header-inner { gap: 10px; }
}

/* ---------- Hero ---------- */
.hero { padding: 0 clamp(0px, 1.6vw, 20px); }
.hero-frame {
  position: relative; overflow: hidden; isolation: isolate;
  height: clamp(540px, calc(100vh - var(--header-h) - 88px), 880px);
  background: var(--espresso);
}
@supports (height: 100svh) {
  .hero-frame { height: clamp(540px, calc(100svh - var(--header-h) - 88px), 880px); }
}
.hero-frame::after {
  content: ""; position: absolute; inset: clamp(10px, 1.4vw, 18px); z-index: 2; pointer-events: none;
  border: 1px solid rgba(211, 179, 126, .5);
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 50%; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(24, 19, 15, .88) 0%, rgba(24, 19, 15, .76) 36%, rgba(24, 19, 15, .38) 60%, rgba(24, 19, 15, 0) 80%),
    linear-gradient(0deg, rgba(24, 19, 15, .55) 0%, rgba(24, 19, 15, 0) 42%);
}
.hero-content {
  position: absolute; left: 0; bottom: 0; z-index: 3;
  width: min(880px, 100%);
  padding: clamp(32px, 5.5vw, 84px);
  color: var(--on-dark);
}
.hero-title {
  font-family: var(--serif); color: #FFFFFF;
  font-size: clamp(2.6rem, 5.6vw, 5.1rem); line-height: 1.02; letter-spacing: -.01em;
  margin-bottom: 22px; text-wrap: balance;
}
.hero-title em { display: block; font-style: italic; color: var(--brass-light); }
.hero-lead { max-width: 34em; font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: #EFE7DA; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (min-width: 701px) and (max-width: 1100px) {
  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(24, 19, 15, .88) 0%, rgba(24, 19, 15, .74) 50%, rgba(24, 19, 15, .4) 85%, rgba(24, 19, 15, .25) 100%),
      linear-gradient(0deg, rgba(24, 19, 15, .7) 0%, rgba(24, 19, 15, 0) 65%);
  }
}
@media (max-width: 700px) {
  .hero { padding: 0; }
  .hero-frame { height: auto; min-height: calc(100svh - var(--header-h) - 70px); min-height: 600px; }
  .hero-media img { object-position: 50% 30%; }
  .hero-scrim {
    background: linear-gradient(0deg, rgba(24, 19, 15, .96) 0%, rgba(24, 19, 15, .9) 45%, rgba(24, 19, 15, .8) 58%, rgba(24, 19, 15, .3) 80%, rgba(24, 19, 15, .08) 100%);
  }
  .hero-content { position: relative; padding: 300px 26px 40px; }
  .hero-actions .btn { width: 100%; }
}

/* Business-name placard under hero */
.placard {
  display: grid; grid-template-columns: 1.3fr 1fr auto; align-items: center; gap: 16px 32px;
  padding-top: 22px; padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.placard p { margin: 0; }
.placard-name { display: flex; flex-direction: column; }
.placard-business { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); line-height: 1.2; }
.placard-tag { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.placard-place { color: var(--muted); text-align: center; font-style: italic; font-family: var(--serif); font-size: 1.2rem; }
.placard-phone { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 2px; }
@media (max-width: 900px) {
  .placard { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 6px; }
  .placard-name { align-items: center; }
}

/* ---------- Generic sections ---------- */
.section { position: relative; padding: var(--section-y) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.section-head-split > div { max-width: 640px; }
.section-head-split .section-title { margin-bottom: 0; }
.section-head-center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head-center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .8; }
.section-head-center .section-intro { margin: 0 auto; }

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 34px; }
.spec-list li { display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); }
.spec-no { grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--brass-text); line-height: 1.4; }
.spec-name { font-weight: 600; color: var(--ink); font-size: .98rem; }
.spec-text { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.spec-list li:last-child { grid-column: 1 / -1; }

.frame-offset { position: relative; }
.frame-offset::before {
  content: ""; position: absolute; inset: 0; transform: translate(18px, 18px);
  border: 1px solid var(--brass); z-index: 0;
}
.frame-offset-left::before { transform: translate(-18px, 18px); }
.frame-offset picture, .frame-offset img { position: relative; z-index: 1; width: 100%; }
.intro-figure figcaption, .about-figure figcaption { margin-top: 30px; font-size: .9rem; color: var(--muted); }
.cap-label { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-text); margin-right: 8px; }

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-figure { max-width: 520px; margin: 0 auto; width: calc(100% - 18px); }
}
@media (max-width: 560px) {
  .spec-list { grid-template-columns: 1fr; }
}

/* ---------- Services (bento) ---------- */
.services { background: var(--linen); }
.bento { display: grid; gap: 16px; }
.svc {
  display: flex; flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  background: var(--paper); border: 1px solid var(--line);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.svc:hover { border-color: #CDBDA5; box-shadow: var(--shadow-soft); }
.svc-no { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--brass-text); line-height: 1; margin-bottom: 26px; }
.svc-title { font-family: var(--serif); font-size: clamp(1.5rem, 2vw, 1.85rem); line-height: 1.15; margin-bottom: 12px; }
.svc p { color: var(--muted); margin: 0; }
.svc-a { background: var(--espresso); border-color: var(--espresso); }
.svc-a .svc-title { color: #FFFFFF; font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.svc-a p { color: var(--on-dark-muted); max-width: 46ch; }
.svc-a .svc-no { color: var(--brass-light); }
.svc-f .btn { margin-top: 26px; align-self: flex-start; }

.svc-media { position: relative; overflow: hidden; min-height: 300px; background: var(--sand); }
.svc-media picture, .svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.svc-media img { object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-media:hover img { transform: scale(1.03); }
.svc-media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 40px 22px 18px;
  background: linear-gradient(0deg, rgba(24, 19, 15, .82), rgba(24, 19, 15, 0));
  color: #FFFFFF; font-size: .88rem; font-weight: 500;
}

@media (min-width: 1101px) {
  .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
      "a a i1 b"
      "c d i1 e"
      "i2 i2 f f";
  }
  .svc-media.svc-i2 { min-height: 340px; }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "a a"
      "i1 b"
      "i1 c"
      "d e"
      "i2 i2"
      "f f";
  }
  .svc-media.svc-i2 { min-height: 360px; }
}
@media (min-width: 701px) {
  .svc-a { grid-area: a; } .svc-b { grid-area: b; } .svc-c { grid-area: c; }
  .svc-d { grid-area: d; } .svc-e { grid-area: e; } .svc-f { grid-area: f; }
  .svc-i1 { grid-area: i1; } .svc-i2 { grid-area: i2; }
}
@media (max-width: 700px) {
  .svc-media { min-height: 0; aspect-ratio: 4 / 3; }
  .svc-media.svc-i1 { aspect-ratio: 4 / 5; }
}

/* ---------- Why (dark band) ---------- */
.why, .contact { background: var(--espresso); color: var(--on-dark-muted); overflow: hidden; }
.strata-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='44' viewBox='0 0 76 44'%3E%3Cpath d='M0 30 L19 14 L38 30 L57 14 L76 30' fill='none' stroke='%23D3B37E' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 76px 44px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.35) 55%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.35) 55%, transparent 100%);
}
.why .container, .contact .container { position: relative; z-index: 1; }
.why .section-title, .contact .section-title { color: #FFFFFF; }
.why .section-intro { color: var(--on-dark-muted); }
.why-head { max-width: 720px; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.why-grid li { padding: 28px 0 34px; border-top: 1px solid rgba(211, 179, 126, .32); }
.why-no { display: block; font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--brass-light); margin-bottom: 14px; }
.why-grid h3 { font-family: var(--serif); font-size: clamp(1.45rem, 1.9vw, 1.7rem); color: var(--on-dark); margin-bottom: 10px; line-height: 1.2; }
.why-grid p { margin: 0; color: var(--on-dark-muted); }
.why-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 24px; }
@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); position: relative; }
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 64px; height: 1px; background: var(--line);
}
.step { position: relative; padding-top: 0; }
.step-no {
  display: block; font-family: var(--serif); font-style: italic; color: var(--brass-text);
  font-size: clamp(2.8rem, 4.2vw, 3.6rem); line-height: 1; height: 64px; margin-bottom: 28px;
}
.step::before {
  content: ""; position: absolute; left: 0; top: 59px; width: 11px; height: 11px;
  background: var(--ivory); border: 1px solid var(--brass); transform: rotate(45deg);
}
.step h3 { font-family: var(--serif); font-size: clamp(1.45rem, 1.9vw, 1.7rem); margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; padding-left: 34px; }
  .steps::before { left: 5px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .step { padding-bottom: 36px; }
  .step:last-child { padding-bottom: 0; }
  .step::before { left: -34px; top: 14px; }
  .step-no { height: auto; font-size: 2.4rem; margin-bottom: 8px; }
}

/* ---------- Gallery ---------- */
.gallery { background: var(--paper); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  min-height: 42px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: transparent; color: var(--ink); font-size: .9rem; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.chip:hover { border-color: var(--espresso); }
.chip.is-active { background: var(--espresso); border-color: var(--espresso); color: var(--on-dark); }
@media (max-width: 700px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px; scrollbar-width: thin; }
}

.gallery-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.g-item { grid-column: span 6; height: clamp(260px, 30vw, 420px); }
.gallery-grid:not(.is-filtered) .g-item:nth-child(4n+1),
.gallery-grid:not(.is-filtered) .g-item:nth-child(4n+4) { grid-column: span 7; }
.gallery-grid:not(.is-filtered) .g-item:nth-child(4n+2),
.gallery-grid:not(.is-filtered) .g-item:nth-child(4n+3) { grid-column: span 5; }
.gallery-grid.is-filtered .g-item { grid-column: span 4; height: auto; aspect-ratio: 4 / 3; }
.g-item[hidden] { display: none; }
.g-open {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; margin: 0;
  border: 0; background: var(--sand); overflow: hidden; cursor: zoom-in; text-align: left;
}
.g-open picture, .g-open img { width: 100%; height: 100%; }
.g-open img { object-fit: cover; transition: transform .9s var(--ease); }
.g-open:hover img, .g-open:focus-visible img { transform: scale(1.04); }
.g-open:focus-visible { outline: 3px solid var(--brass-text); outline-offset: 3px; }
.g-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; gap: 2px;
  padding: 48px 22px 18px;
  background: linear-gradient(0deg, rgba(24, 19, 15, .84) 0%, rgba(24, 19, 15, .5) 55%, rgba(24, 19, 15, 0) 100%);
  color: #FFFFFF;
}
.g-cat { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-light); }
.g-title { font-family: var(--serif); font-size: 1.25rem; line-height: 1.25; }
.gallery-empty { text-align: center; color: var(--muted); padding: 40px 0; }
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid .g-item,
  .gallery-grid:not(.is-filtered) .g-item:nth-child(n),
  .gallery-grid.is-filtered .g-item { grid-column: span 1; height: auto; aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 7vw, 112px); align-items: center; }
.about-figure { padding-left: 18px; }
.owner-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  margin-top: 30px; padding: 22px 26px; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--brass);
}
.owner-card p { margin: 0; }
.owner-name { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); line-height: 1.1; }
.owner-role { font-size: .85rem; color: var(--muted); }
.owner-address { display: flex; align-items: flex-start; gap: 8px; color: var(--ink); font-size: .95rem; max-width: 280px; }
.owner-address svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--brass-text); }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { max-width: 480px; margin: 0 auto; width: calc(100% - 18px); }
}

/* ---------- Service area ---------- */
.area { background: var(--sand); }
.area-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.area-list li { position: relative; padding: 34px 30px 30px; background: var(--paper); border: 1px solid var(--line); }
.area-list li::before { content: ""; position: absolute; left: 30px; top: 0; width: 44px; height: 3px; background: var(--brass); }
.area-list h3 { font-family: var(--serif); font-size: 1.75rem; margin-bottom: 8px; }
.area-list p { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .area-list { grid-template-columns: 1fr; } }

/* ---------- Location / map ---------- */
.location-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(24px, 3vw, 40px); align-items: stretch; }
.map-wrap {
  position: relative; height: 100%; min-height: 480px;
  background: var(--sand); border: 1px solid var(--line); overflow: hidden;
}
.map-placeholder { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
.map-placeholder svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-placeholder span { position: relative; margin-bottom: 18px; font-size: .85rem; color: var(--muted); }
.map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.location-card { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 3.4vw, 44px); background: var(--paper); border: 1px solid var(--line); }
.loc-address { font-family: var(--serif); font-size: 1.55rem; line-height: 1.3; color: var(--ink); margin-bottom: 20px; }
.loc-list { margin-bottom: 18px; }
.loc-list li { display: flex; flex-direction: column; padding: 12px 0; border-top: 1px solid var(--line); }
.loc-label { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-text); }
.loc-list a { color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.loc-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.loc-note { color: var(--muted); font-size: .95rem; }
.location-card .btn { align-self: flex-start; }
@media (max-width: 960px) {
  .location-grid { grid-template-columns: 1fr; }
  .map-wrap { height: 0; min-height: 0; padding-bottom: 72%; }
}
@media (max-width: 560px) {
  .map-wrap { padding-bottom: 110%; }
  .location-card .btn { align-self: stretch; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-head p:not(.eyebrow) { color: var(--muted); margin-bottom: 26px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative; display: block; list-style: none; cursor: pointer;
  padding: 22px 48px 22px 0;
  font-family: var(--serif); font-size: clamp(1.25rem, 1.7vw, 1.45rem); line-height: 1.3; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::marker { content: ""; }
.faq-list summary::before, .faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1.5px; background: var(--brass-text);
  transition: transform .3s var(--ease);
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list summary:hover { color: var(--brass-text); }
.faq-body p { margin: 0; padding: 0 40px 24px 0; color: var(--muted); }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-copy .lead { color: #EFE7DA; }
.contact-methods { margin: 32px 0; }
.contact-methods li { display: flex; flex-direction: column; gap: 2px; padding: 16px 0; border-top: 1px solid rgba(211, 179, 126, .3); color: var(--on-dark); }
.contact-methods li:last-child { border-bottom: 1px solid rgba(211, 179, 126, .3); }
.cm-label { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-light); }
.contact-methods a { color: var(--on-dark); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; font-size: 1.08rem; }
.contact-methods a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--brass-light); }
.contact-tips { padding: 20px 22px; border: 1px solid rgba(211, 179, 126, .3); }
.tips-title { margin: 0 0 4px; font-family: var(--serif); font-size: 1.3rem; color: var(--on-dark); }
.contact-tips p:last-child { margin: 0; font-size: .95rem; }

.form-card {
  position: relative; background: var(--paper); color: var(--text);
  padding: clamp(26px, 4vw, 46px);
  border-top: 3px solid var(--brass);
  box-shadow: 0 34px 70px -30px rgba(0, 0, 0, .55);
}
.form-title { margin: 0 0 4px; font-family: var(--serif); font-size: 2rem; color: var(--ink); line-height: 1.1; }
.form-hint { font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.quote-form { display: block; }
.field { position: relative; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field label { display: block; margin-bottom: 7px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.req { color: var(--error); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  display: block; width: 100%; min-height: 52px; margin: 0;
  padding: 13px 15px;
  font-family: var(--sans); font-size: 1rem; line-height: 1.4; color: var(--ink);
  background: #FFFFFF; border: 1px solid var(--line-strong); border-radius: var(--radius);
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 124px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #736859; opacity: 1; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--espresso); box-shadow: 0 0 0 3px rgba(168, 132, 79, .32); }
.field.is-invalid input, .field.is-invalid textarea, .field input[aria-invalid="true"] { border-color: var(--error); }
.error-message { margin-top: 6px; font-size: .86rem; font-weight: 600; color: var(--error) !important; }
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-status {
  margin: 4px 0 18px; padding: 12px 14px;
  background: var(--error-bg); border-left: 3px solid var(--error); color: #7C2A20; font-size: .95rem; font-weight: 500;
}
.form-status[hidden] { display: none; }
.btn-submit { margin-top: 6px; min-height: 56px; font-size: 1rem; }
.form-privacy { margin: 14px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }

.form-success { display: none; text-align: center; padding: 48px 8px; }
.form-success svg { width: 60px; height: 60px; margin: 0 auto 18px; color: var(--brass-text); }
.success-title { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2rem); color: var(--ink); line-height: 1.2; margin-bottom: 10px; }
.form-success p:last-child { color: var(--muted); max-width: 40ch; margin: 0 auto; }
.form-success:focus { outline: none; }

.form-notice { display: none; margin-bottom: 20px; padding: 14px 16px; font-size: .95rem; }
.form-notice p { margin: 0; }
.form-notice:target { display: block; }
.form-notice-ok { background: #EEF0E6; border-left: 3px solid #4E5E3A; color: #2F3A22; }
.form-notice-err { background: var(--error-bg); border-left: 3px solid var(--error); color: #7C2A20; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .form-card { margin: 0 calc(var(--gutter) * -0.5); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso-deep); color: var(--on-dark-muted); padding: clamp(56px, 7vw, 88px) 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-name { margin: 0 0 4px; font-family: var(--serif); font-size: 1.9rem; color: var(--on-dark); line-height: 1.15; }
.footer-tag { font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 26px; }
.footer-heading { font-family: var(--serif); font-size: 1.3rem; color: var(--on-dark); margin-bottom: 14px; }
.footer-nav ul { display: grid; gap: 6px; }
.footer-nav a, .footer-contact a { color: var(--on-dark-muted); text-decoration: none; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; }
.footer-contact li { display: flex; flex-direction: column; padding: 8px 0; }
.f-label { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-light); }
.footer-contact a, .footer-contact span:not(.f-label) { color: var(--on-dark); overflow-wrap: anywhere; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(211, 179, 126, .22); font-size: .86rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 64px 72px;
  background: rgba(18, 14, 11, .95);
}
.lightbox[hidden] { display: none !important; }
.lb-figure { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-figure img { width: auto; height: auto; max-width: min(1400px, 100%); max-height: calc(100vh - 170px); object-fit: contain; }
.lb-figure figcaption { margin-top: 14px; color: var(--on-dark); text-align: center; font-family: var(--serif); font-size: 1.2rem; max-width: 60ch; }
.lb-btn {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; padding: 0; border: 1px solid rgba(244, 237, 225, .45); border-radius: 50%;
  background: rgba(31, 25, 21, .6); color: var(--on-dark); font-size: 1.9rem; line-height: 1; cursor: pointer;
  transition: background-color .2s var(--ease);
}
.lb-btn:hover { background: rgba(244, 237, 225, .16); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 14px; left: 0; right: 0; margin: 0; text-align: center; color: var(--on-dark-muted); font-size: .85rem; letter-spacing: .14em; }
@media (max-width: 700px) {
  .lightbox { padding: 64px 12px 92px; }
  .lb-prev, .lb-next { top: auto; bottom: 22px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .lb-count { bottom: auto; top: 30px; }
}
body.lb-open { overflow: hidden; }

/* ---------- Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.enhance [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  html.enhance [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .lightbox, .map-wrap iframe, .filters { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero-frame { height: auto; }
  body { background: #fff; }
}
