/* ==========================================================================
   San Antonio Wallpaper Installer — site styles
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #16211b;
  --ink-soft: #2a362f;
  --ink-mute: #5a675f;
  --paper: #f8f4eb;
  --paper-2: #efe7d7;
  --paper-3: #e6dbc7;
  --clay: #9c4a28;
  --clay-dark: #8c4324;
  --sage: #6c7f6a;
  --gold: #b08a4a;
  --line: rgba(22, 33, 27, 0.14);
  --line-strong: rgba(22, 33, 27, 0.28);
  --white: #fffdf8;
  --shadow: 0 24px 60px -30px rgba(22, 33, 27, 0.45);
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 84px;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.06;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 96, "SOFT" 0, "WONK" 0;
}

h1 { font-size: clamp(2.35rem, 5vw, 4.1rem); }
h2 { font-size: clamp(1.95rem, 3.6vw, 3.05rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.2; }
h4 { font-size: 1.05rem; line-height: 1.3; }

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

a { color: var(--clay-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

strong { font-weight: 600; color: var(--ink); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: 0.35em; }

::selection { background: var(--paper-3); color: var(--ink); }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--paper); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 16px;
}

.lede {
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.68;
  color: var(--ink-soft);
  max-width: 62ch;
}

.section { padding-block: clamp(58px, 8vw, 112px); }
.section-tight { padding-block: clamp(42px, 5vw, 68px); }
.section-ink { background: var(--ink); color: rgba(248, 244, 235, 0.78); }
.section-ink h2, .section-ink h3 { color: var(--paper); }
.section-ink .eyebrow { color: #d9a582; }
.section-warm { background: var(--paper-2); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head h2 { margin-bottom: 0; max-width: 16ch; }
.section-head p { margin: 0; max-width: 46ch; }

.section-index {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.section-index::after {
  content: "";
  height: 1px;
  width: 54px;
  background: var(--line-strong);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--clay); color: var(--paper); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--clay); color: var(--paper); }
.btn-outline-light { border-color: rgba(248, 244, 235, 0.4); color: var(--paper); }
.btn-outline-light:hover { background: var(--paper); color: var(--ink); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 5px;
}
.text-link:hover { color: var(--clay); border-color: var(--clay); }
.text-link::after { content: "→"; font-size: 14px; letter-spacing: 0; }

/* ---------- header ---------- */
.topbar {
  background: var(--ink);
  color: rgba(248, 244, 235, 0.72);
  font-size: 11.5px;
  letter-spacing: 0.06em;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 38px;
  padding-block: 7px;
}
.topbar p { margin: 0; }
.topbar-links { display: flex; align-items: center; gap: 22px; }
.topbar a { color: var(--paper); text-decoration: none; font-weight: 500; }
.topbar a:hover { color: #e7b795; }
.topbar-hours { display: inline-flex; align-items: center; gap: 8px; }
.topbar-hours::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: #9bb08f;
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(248, 244, 235, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 40px);
  min-height: 82px;
  padding-block: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  background: var(--paper);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-line1 {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.01em;
}
.brand-line2 {
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 3px;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.9vw, 28px);
  flex-wrap: wrap;
  justify-content: center;
}
.nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  padding-block: 6px;
  border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--clay); border-color: var(--clay); }
.nav a[aria-current="page"] { color: var(--ink); border-color: var(--ink); }

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 2px;
  white-space: nowrap;
}
.header-call span {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 244, 235, 0.62);
}
.header-call:hover { background: var(--clay); color: var(--paper); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 66%;
  height: 100%;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 33, 27, 0.55) 0%, rgba(22, 33, 27, 0.18) 42%, rgba(22, 33, 27, 0) 66%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: min(760px, calc(100vh - 120px));
  align-items: stretch;
}
.hero-panel {
  background: var(--paper);
  width: min(520px, 46%);
  padding: clamp(28px, 3.4vw, 46px);
  margin-block: clamp(24px, 3vw, 44px);
  border: 1px solid rgba(22, 33, 27, 0.12);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-panel h1 { font-size: clamp(2.15rem, 3.6vw, 3.35rem); margin-bottom: 18px; }
.hero-sub {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-mute);
  margin-bottom: 22px;
  max-width: 42ch;
}
.hero-phone-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.hero-phone-row .label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-phone {
  font-family: var(--serif);
  font-size: 23px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.hero-phone:hover { color: var(--clay); }
.hero-area {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-mute);
  margin: 0 0 18px;
}

/* ---------- forms ---------- */
.lead-form { display: grid; gap: 10px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.field .optional { text-transform: none; letter-spacing: 0.02em; font-weight: 400; color: #7b877f; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 11px 13px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(22, 33, 27, 0.22);
  border-radius: 2px;
  box-sizing: border-box;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  appearance: none;
}
.field textarea { min-height: 68px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #98a29b; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(168, 85, 47, 0.14);
  outline: none;
}
.field input[aria-invalid="true"] { border-color: #b3261e; }
.form-note {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-mute);
  margin: 2px 0 0;
}
.form-note a { color: var(--ink-mute); }
.lead-form .btn { width: 100%; margin-top: 2px; }
.lead-form .btn[disabled] { opacity: 0.6; cursor: not-allowed; }

.form-success {
  display: none;
  padding: 22px;
  background: rgba(108, 127, 106, 0.1);
  border: 1px solid rgba(108, 127, 106, 0.4);
  border-radius: 2px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}
.form-success strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 400; margin-bottom: 6px; }
.error-message { font-size: 12.5px; color: #b3261e; margin-top: 2px; }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 18px 44px -34px rgba(22, 33, 27, 0.4);
}
.form-card h2, .form-card h3 { margin-bottom: 8px; }
.form-card > p { font-size: 14px; color: var(--ink-mute); margin-bottom: 18px; }

/* ---------- intro / stats ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}
.intro-grid h2 { max-width: 13ch; }
.intro-body { padding-top: 6px; }
.intro-body p { font-size: 17px; line-height: 1.72; }
.fact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.fact { font-size: 12px; line-height: 1.45; color: var(--ink-mute); }
.fact strong {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
}

/* ---------- services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.service-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.service-visual figure { margin: 0; }
.service-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
}
.service-visual figure:nth-child(2) { margin-top: 42px; }
.service-visual figure:nth-child(3) { grid-column: 1 / -1; }
.service-visual figure:nth-child(3) img { aspect-ratio: 16 / 9; }

.service-list { border-top: 1px solid var(--line); }
.service-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.service-item .num {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--clay);
  padding-top: 5px;
}
.service-item h3 { margin-bottom: 6px; font-size: 1.24rem; }
.service-item p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-mute); max-width: 52ch; }
.service-item .arrow {
  font-size: 18px;
  color: var(--ink-mute);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
  padding-top: 2px;
}
.service-item:hover .arrow { transform: translateX(5px); color: var(--clay); }
.service-item:hover h3 { color: var(--clay-dark); }

/* ---------- editorial split ---------- */
.editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
}
.editorial-media {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: 14px;
  align-items: end;
  padding-top: 8px;
}
.editorial-media figure { margin: 0; }
.editorial-media img { width: 100%; object-fit: cover; border: 1px solid rgba(248, 244, 235, 0.16); }
.editorial-media figure:first-child img { aspect-ratio: 4 / 3; }
.editorial-media figure:last-child img { aspect-ratio: 3 / 4; }
.editorial-copy h2 { max-width: 15ch; }
.editorial-copy p { color: rgba(248, 244, 235, 0.76); }
.editorial-copy .text-link { color: var(--paper); border-color: rgba(248, 244, 235, 0.4); }
.editorial-copy .text-link:hover { color: #e7b795; border-color: #e7b795; }
.pullquote {
  margin: 26px 0;
  padding-left: 20px;
  border-left: 1px solid rgba(248, 244, 235, 0.3);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.4;
  color: var(--paper);
}

/* ---------- process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.process-step {
  padding: 26px 24px 30px 0;
  border-right: 1px solid var(--line);
}
.process-step:last-child { border-right: 0; padding-right: 0; }
.process-step + .process-step { padding-left: 24px; }
.process-step .step-num {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--clay);
  display: block;
  margin-bottom: 16px;
}
.process-step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.process-step p { font-size: 14.5px; line-height: 1.62; color: var(--ink-mute); margin: 0; }

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.gallery-item {
  display: block;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  margin: 0;
}
.gallery-item .frame {
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item figcaption {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-mute);
  padding-top: 9px;
}
.gallery-teaser { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-teaser .gallery-item:nth-child(2) { margin-top: 26px; }
.gallery-teaser .gallery-item:nth-child(3) { margin-top: 12px; }
.gallery-teaser .gallery-item:nth-child(4) { margin-top: 38px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 880px; border-top: 1px solid var(--line); }
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 40px 18px 0;
  position: relative;
  font-family: var(--serif);
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  color: var(--ink);
  line-height: 1.35;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 20px;
  color: var(--clay);
  font-weight: 400;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list .answer { padding: 0 48px 22px 0; font-size: 15.5px; line-height: 1.68; color: var(--ink-soft); }
.faq-list .answer p:last-child { margin-bottom: 0; }

/* ---------- area ---------- */
.area-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
}
.area-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.area-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: rgba(248, 244, 235, 0.8); }
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 84px);
}
.cta-inner h2 { color: var(--paper); margin-bottom: 12px; max-width: 18ch; }
.cta-inner p { margin: 0; max-width: 52ch; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-phone {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--paper);
  text-decoration: none;
}
.cta-phone:hover { color: #e7b795; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding-top: clamp(44px, 6vw, 68px);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: 40px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--ink-mute); max-width: 34ch; font-size: 13.5px; line-height: 1.65; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--ink-soft); text-decoration: none; }
.footer-col a:hover { color: var(--clay); text-decoration: underline; }
.footer-contact p { margin-bottom: 8px; color: var(--ink-soft); }
.footer-contact a { color: var(--ink); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 18px 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--ink-mute);
}
.footer-bottom a { color: var(--ink-mute); text-decoration: none; }
.footer-bottom a:hover { color: var(--clay); }
.footer-legal { display: flex; gap: 18px; }

/* ---------- floating CTA ---------- */
.float-cta {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--clay);
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  box-shadow: 0 14px 32px -12px rgba(22, 33, 27, 0.55);
  transition: background 0.22s var(--ease), transform 0.22s var(--ease);
}
.float-cta:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.float-cta svg { width: 15px; height: 15px; }

/* ---------- page hero ---------- */
.breadcrumbs {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 11px 0;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.breadcrumbs li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumbs a { color: var(--ink-mute); text-decoration: none; }
.breadcrumbs a:hover { color: var(--clay); }
.breadcrumbs [aria-current="page"] { color: var(--ink); }

.page-hero { padding-block: clamp(34px, 4.5vw, 58px) clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(26px, 5vw, 68px);
  align-items: center;
}
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.7rem); margin-bottom: 16px; }
.page-hero .lede { margin-bottom: 0; }
.page-hero-media { margin: 0; }
.page-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 430px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.page-hero--plain .page-hero-inner { grid-template-columns: minmax(0, 1fr); }
.page-hero--plain .lede { max-width: 66ch; }

/* ---------- content blocks ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 68px);
  align-items: start;
}
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
.split-media figcaption { font-size: 12px; color: var(--ink-mute); padding-top: 8px; }

.service-module {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4.5vw, 60px);
  align-items: start;
  padding-block: clamp(38px, 5vw, 62px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 120px;
}
.service-module:nth-child(even) .service-module-media { order: 2; }
.service-module-media { margin: 0; }
.service-module-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 380px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.service-module-media figcaption { font-size: 12px; color: var(--ink-mute); padding-top: 8px; }
.service-module-body h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 12px; }
.service-module-body .service-kicker {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 10px;
  font-weight: 600;
}
.service-module-body p { font-size: 15.5px; line-height: 1.7; }
.service-module-body ul { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 18px; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { margin-bottom: 1.2em; }
.prose figure { margin: 32px 0; }
.prose figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--line); }
.prose figcaption { font-size: 12px; color: var(--ink-mute); padding-top: 8px; }
.prose blockquote {
  margin: 30px 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--clay);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--ink);
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

.toc {
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 22px 26px;
  margin-bottom: 36px;
}
.toc h2 {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.toc ol { margin: 0; padding-left: 18px; font-size: 14.5px; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--clay); text-decoration: underline; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.contact-details { display: grid; gap: 26px; }
.contact-block h2 {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 10px;
  font-weight: 600;
}
.contact-block p { margin: 0; font-size: 16px; line-height: 1.6; }
.contact-block .big-link {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  color: var(--ink);
  text-decoration: none;
}
.contact-block .big-link:hover { color: var(--clay); }
.hours-list { list-style: none; padding: 0; margin: 0; font-size: 15px; }
.hours-list li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--line); margin: 0; }
.hours-list li:last-child { border-bottom: 0; }
.hours-list span:last-child { color: var(--ink-mute); }

.map-block { margin-top: clamp(40px, 6vw, 72px); }
.map-block h2 { margin-bottom: 8px; }
.map-block > p { color: var(--ink-mute); margin-bottom: 18px; font-size: 14.5px; }
.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
  min-height: 320px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  overflow: hidden;
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 16px; align-items: center; }

/* ---------- misc ---------- */
.note-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 22px;
  font-size: 13.5px;
  color: var(--ink-mute);
}
.note-band .wrap { display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; justify-content: space-between; }
.note-band p { margin: 0; }
.note-band a { color: var(--ink); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.value-card { border-top: 1px solid var(--line-strong); padding-top: 18px; }
.value-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.value-card p { font-size: 14.5px; line-height: 1.65; color: var(--ink-mute); margin: 0; }

.two-col-text {
  columns: 2;
  column-gap: clamp(26px, 4vw, 56px);
  font-size: 15.5px;
  line-height: 1.72;
}
.two-col-text p { break-inside: avoid; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(12, 18, 15, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox[data-open="true"] { display: flex; }
.lightbox img { max-width: min(1200px, 94vw); max-height: 86vh; width: auto; height: auto; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(248, 244, 235, 0.4);
  background: transparent;
  color: var(--paper);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: var(--paper); color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .masthead-inner { flex-wrap: wrap; justify-content: space-between; row-gap: 6px; }
  .nav { order: 3; width: 100%; justify-content: flex-start; gap: 18px; padding-bottom: 8px; }
  .hero-panel { width: min(500px, 52%); }
}

@media (max-width: 980px) {
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .section-head h2 { max-width: 20ch; }
  .hero-media { width: 100%; opacity: 0.9; }
  .hero::after { background: linear-gradient(180deg, rgba(22, 33, 27, 0.15) 0%, rgba(22, 33, 27, 0.55) 100%); }
  .hero-inner { min-height: 0; padding-block: 34px; }
  .hero-panel { width: min(560px, 100%); margin-block: 0; }
  .intro-grid, .services-grid, .editorial, .area-grid, .cta-inner, .contact-grid, .page-hero-inner, .split {
    grid-template-columns: 1fr;
  }
  .editorial-media { order: 2; max-width: 620px; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(3), .process-step:nth-child(4) { border-top: 1px solid var(--line); }
  .process-step:nth-child(3) { padding-left: 0; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-teaser { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-teaser .gallery-item:nth-child(2),
  .gallery-teaser .gallery-item:nth-child(3),
  .gallery-teaser .gallery-item:nth-child(4) { margin-top: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-module { grid-template-columns: 1fr; }
  .service-module:nth-child(even) .service-module-media { order: 0; }
  .service-module-media img { max-height: none; }
  .values-grid { grid-template-columns: 1fr; }
  .two-col-text { columns: 1; }
  .area-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar-hours { display: none; }
  .topbar-inner { justify-content: space-between; }
  .brand-line1 { font-size: 18px; }
  .brand-line2 { font-size: 8.5px; letter-spacing: 0.2em; }
  .header-call { padding: 10px 12px; font-size: 12px; }
  .header-call span { display: none; }
  .nav { gap: 12px 16px; }
  .nav a { font-size: 11px; letter-spacing: 0.08em; }
  .hero-inner { padding-block: 0; }
  .hero-panel { margin-block: 0; padding: 26px 22px 28px; width: 100%; }
  .hero-media { position: relative; inset: auto; width: 100%; height: 300px; }
  .hero::after { display: none; }
  .hero-panel h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  .form-grid { grid-template-columns: 1fr; }
  .fact-row { grid-template-columns: 1fr; gap: 14px; }
  .fact { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: baseline; }
  .fact strong { margin-bottom: 0; font-size: 15px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: 0; border-top: 1px solid var(--line); padding: 20px 0 22px; }
  .process-step:first-child { border-top: 0; }
  .process-step + .process-step { padding-left: 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img { aspect-ratio: 4 / 3; }
  .area-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .map-frame { aspect-ratio: 4 / 5; min-height: 380px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .float-cta { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); padding: 12px 16px; font-size: 10px; }
  .service-item { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
  .service-item .arrow { display: none; }
  .section-index { margin-bottom: 14px; }
  .two-col-text { columns: 1; }
  .hero-phone { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- page-specific refinements ---------- */
.masthead[data-scrolled="true"] { box-shadow: 0 12px 30px -26px rgba(22, 33, 27, 0.6); }
.hero-panel { padding: clamp(22px, 2.3vw, 32px); }
.hero-panel h1 { font-size: clamp(2.05rem, 3.15vw, 2.95rem); margin-bottom: 14px; }
.hero-sub { margin-bottom: 14px; font-size: 14.5px; }
.hero-phone-row { margin-bottom: 14px; padding-bottom: 12px; }
.hero-area { margin-bottom: 10px; }
.hero-panel #estimate { scroll-margin-top: 110px; }
.form-card #estimate, .form-card[id="estimate"] { scroll-margin-top: 110px; }

.gallery-item .frame { display: block; }
.gallery-intro { margin-bottom: clamp(26px, 4vw, 40px); max-width: 72ch; }
.section-link { margin-top: 30px; }
.process-note { margin-top: 26px; font-size: 14px; color: var(--ink-mute); }
.process-aside { display: grid; gap: 22px; align-content: start; position: sticky; top: 108px; }
.about-card { margin-top: 22px; }
.page-hero-actions { margin-top: 24px; }
.split { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.72fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.split .prose { max-width: 760px; }
.split-media { margin: 0 0 22px; }
.split-media img { aspect-ratio: 4 / 3; }
.map-block { padding-bottom: 10px; }
.contact-grid .form-card { position: sticky; top: 108px; }
.contact-block .hours-list { max-width: 360px; }
@media (max-width: 980px) {
  .process-aside, .contact-grid .form-card { position: static; }
  .split { grid-template-columns: 1fr; }
}

.contact-block a[href^="mailto"] {
  font-size: clamp(1.02rem, 1.45vw, 1.28rem);
  overflow-wrap: anywhere;
}

.float-short { display: none; }
@media (max-width: 720px) {
  .topbar { font-size: 10.5px; }
  .topbar-inner { min-height: 32px; padding-block: 5px; }
  .topbar p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .topbar-links a { display: none; }
  .hero-media { height: 200px; }
  .hero-panel h1 { font-size: clamp(1.95rem, 8vw, 2.4rem); }
  .float-cta { padding: 10px 12px; font-size: 9.5px; gap: 7px; letter-spacing: 0.1em; }
  .float-cta svg { width: 13px; height: 13px; }
  .float-long { display: none; }
  .float-short { display: inline; }
}

.float-cta.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
}

@media (max-width: 720px) {
  .float-cta {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
  .float-cta .float-long,
  .float-cta .float-short { display: none; }
  .float-cta svg { width: 18px; height: 18px; }
}

/* Compact floating CTA: short label on wide screens, icon-only on narrower ones */
.float-short { display: inline; }
.float-long { display: none; }
@media (max-width: 1100px) {
  .float-cta {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
  .float-cta span { display: none; }
  .float-cta svg { width: 18px; height: 18px; }
}
.page-hero-media img { max-height: 480px; }

/* Editorial collage: taller lead image to match the text column */
.editorial-media { grid-template-columns: 1.3fr 0.7fr; }
.editorial-media figure:first-child img { aspect-ratio: 3 / 4; }
.editorial-media figure:last-child img { aspect-ratio: 4 / 3; }
/* Services collage: fill the column height */
.service-visual figure:nth-child(3) img { aspect-ratio: 4 / 3; }

/* Legal pages: a centred reading column */
.wrap.prose { max-width: 780px; margin-inline: auto; }
.page-hero--plain .page-hero-inner { max-width: 780px; margin-inline: auto; }

/* Align the home Hero lead panel closer to the section's left edge on wide screens */
@media (min-width: 1181px) {
  .hero-panel { margin-left: calc(-1 * var(--gutter)); }
}
