/* =====================================================================
   Dublin Ohio Wallpaper Installer
   Design system: "Ivory & Champagne" — warm ivory/beige neutrals,
   espresso/charcoal darks, muted champagne-gold accent.
   Type: Literata (display serif) + Hanken Grotesk (UI/body).
   All colour pairs contrast-checked (WCAG AA) before markup.
   ===================================================================== */

/* ---------- Fonts (self-hosted, variable, latin subset) ---------- */
@font-face {
  font-family: 'Literata';
  src: url('../fonts/literata.woff2') format('woff2');
  font-weight: 200 900;
  font-stretch: 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Literata';
  src: url('../fonts/literata-italic.woff2') format('woff2');
  font-weight: 200 900;
  font-stretch: 100%;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../fonts/hanken-grotesk.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../fonts/hanken-grotesk-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ivory: #F6F1E9;
  --paper: #FBF8F2;
  --beige: #EBE2D3;
  --stone: #DFD4C2;
  --charcoal: #241F1A;
  --espresso: #3A2A1E;
  --espresso-hover: #4A3626;
  --graphite: #1B1712;

  --head: #221D17;
  --body: #46403A;
  --muted: #655C4E;
  --muted-deep: #5C5344;
  --on-dark: #EFE7DA;
  --on-dark-muted: #C0B4A0;
  --footer-muted: #B8AC98;

  --gold: #B08A3E;           /* decorative / large / UI only (>=3:1) */
  --gold-text: #7E6021;      /* gold text at normal size on light (AA) */
  --gold-on-dark: #D8B673;   /* champagne on dark (AA) */

  --line: #8A7F6E;           /* control borders (UI >=3:1) */
  --rule: #DCD2C1;           /* hairline decorative */
  --rule-dark: #3A332B;      /* hairline on dark */
  --error: #A6382C;

  --serif: 'Literata', Georgia, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 3px;
  --shadow-sm: 0 1px 2px rgba(36, 31, 26, .06), 0 4px 14px rgba(36, 31, 26, .06);
  --shadow-md: 0 10px 30px rgba(36, 31, 26, .10), 0 2px 8px rgba(36, 31, 26, .06);
  --shadow-lg: 0 24px 60px rgba(26, 22, 15, .22);
  --header-h: 74px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--body);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html.nav-open, html.nav-open body { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-text); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--espresso); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--head);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

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

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(52px, 7vw, 96px); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--gold-on-dark); }
.eyebrow--light::before { background: var(--gold-on-dark); }

.display {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1.08;
}
.h2 { font-size: clamp(1.7rem, 3.4vw, 2.55rem); }
.lead {
  font-size: clamp(1.06rem, 1.6vw, 1.22rem);
  color: var(--muted-deep);
  line-height: 1.6;
  max-width: 60ch;
}
.section-head { max-width: 62ch; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  line-height: 1;
  padding: 1.05rem 1.7rem;
  min-height: 52px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  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:focus-visible { outline-offset: 3px; }
.btn--primary {
  background: var(--espresso);
  color: var(--paper);
  border-color: var(--espresso);
}
.btn--primary:hover { background: var(--espresso-hover); border-color: var(--espresso-hover); color: var(--paper); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost {
  background: transparent;
  color: var(--head);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--espresso); color: var(--espresso); background: rgba(58,42,30,.04); }
.btn--on-dark { background: var(--gold); color: var(--charcoal); border-color: var(--gold); }
.btn--on-dark:hover { background: #C29A4B; border-color: #C29A4B; color: var(--charcoal); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.btn--outline-light {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(239,231,218,.5);
}
.btn--outline-light:hover { border-color: var(--on-dark); background: rgba(239,231,218,.08); color: var(--on-dark); }
.btn--lg { padding: 1.15rem 2rem; min-height: 56px; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,16,11,.55), rgba(20,16,11,0));
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(251,248,242,.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--rule);
}
.site-header.is-scrolled::before { opacity: 0; }
.header-inner {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--on-dark);
  font-family: var(--serif); font-weight: 500;
  line-height: 1.05; letter-spacing: -.01em;
}
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name { font-size: 1.02rem; max-width: 15ch; }
.brand__name b { font-weight: 600; }
.is-scrolled .brand { color: var(--head); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__links { display: flex; align-items: center; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-family: var(--sans); font-weight: 500; font-size: .95rem;
  color: var(--on-dark); text-decoration: none; letter-spacing: .01em;
  padding: .4rem 0; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--gold-on-dark); transition: width .28s var(--ease);
}
.nav__links a:hover::after, .nav__links a:focus-visible::after { width: 100%; }
.is-scrolled .nav__links a { color: var(--head); }
.is-scrolled .nav__links a::after { background: var(--gold); }

.header-cta { display: inline-flex; }
.header-cta .btn { min-height: 44px; padding: .7rem 1.25rem; }
.site-header:not(.is-scrolled) .header-cta .btn--primary { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.site-header:not(.is-scrolled) .header-cta .btn--primary:hover { background: #C29A4B; border-color: #C29A4B; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(239,231,218,.5);
  border-radius: var(--radius); cursor: pointer; color: var(--on-dark);
}
.is-scrolled .nav-toggle { border-color: var(--line); color: var(--head); }
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: var(--charcoal);
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.mobile-nav.is-open { opacity: 1; transform: none; }
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; margin: 0 0 auto; padding: 0; display: flex; flex-direction: column; }
.mobile-nav li { border-bottom: 1px solid var(--rule-dark); }
.mobile-nav a {
  display: block; padding: 1.05rem 0;
  font-family: var(--serif); font-size: 1.5rem; color: var(--on-dark);
  text-decoration: none;
}
.mobile-nav a:hover { color: var(--gold-on-dark); }
.mobile-nav .btn { margin-top: 28px; }
.mobile-nav__contact { margin-top: 24px; color: var(--on-dark-muted); font-size: .95rem; }
.mobile-nav__contact a { color: var(--gold-on-dark); text-decoration: none; font-family: var(--sans); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex; align-items: flex-end;
  color: var(--on-dark);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(20,15,10,.86) 0%, rgba(24,18,12,.55) 42%, rgba(24,18,12,.34) 100%),
    linear-gradient(to right, rgba(20,15,10,.55), rgba(20,15,10,.12));
}
.hero__inner { padding-block: clamp(56px, 12vh, 130px) clamp(56px, 9vh, 96px); max-width: 820px; }
.hero h1 {
  color: #F7F2EA;
  font-size: clamp(2.35rem, 6vw, 4.15rem);
  font-weight: 500;
  line-height: 1.04;
  margin-bottom: .55em;
  text-wrap: balance;
}
.hero__eyebrow { color: var(--gold-on-dark); }
.hero__eyebrow::before { background: var(--gold-on-dark); }
.hero__lead {
  font-size: clamp(1.08rem, 1.9vw, 1.35rem);
  color: #EFE7DA;
  max-width: 46ch;
  margin-bottom: 2rem;
  line-height: 1.55;
}
.hero__cta { margin-bottom: 1.6rem; }
.hero__note {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .9rem; letter-spacing: .04em; color: var(--on-dark-muted);
  text-transform: uppercase; font-weight: 500;
}
.hero__note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-on-dark); flex: none; }

/* ---------- Intro ---------- */
.intro-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.intro__aside { border-left: 2px solid var(--gold); padding-left: clamp(20px, 2.5vw, 34px); }
.craft-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .95rem; }
.craft-list li {
  display: grid; grid-template-columns: auto 1fr; gap: .85rem; align-items: baseline;
  padding-bottom: .95rem; border-bottom: 1px solid var(--rule);
  font-size: 1.02rem;
}
.craft-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.craft-list li span:first-child {
  font-family: var(--serif); color: var(--gold-text); font-weight: 600;
  font-size: .95rem; font-feature-settings: "tnum";
}
.craft-list b { color: var(--head); font-weight: 600; }

/* ---------- Services ---------- */
.services { background: var(--paper); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}
.card {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--stone); }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__num {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--serif); font-size: .95rem; letter-spacing: .05em;
  color: var(--on-dark);
  background: rgba(26,22,15,.55);
  backdrop-filter: blur(2px);
  padding: .3rem .6rem; border-radius: 2px;
  border: 1px solid rgba(216,182,115,.4);
}
.card__body { padding: clamp(20px, 2vw, 28px); display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 1.32rem; margin-bottom: .5rem; }
.card__body p { color: var(--muted-deep); font-size: 1rem; margin: 0; }

/* ---------- Why choose us ---------- */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1px, .3vw, 2px);
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.why-item {
  background: var(--ivory);
  padding: clamp(26px, 3vw, 40px);
  display: flex; flex-direction: column; gap: .7rem;
}
.why-item__icon { color: var(--gold-text); width: 30px; height: 30px; }
.why-item h3 { font-size: 1.22rem; margin: 0; }
.why-item p { color: var(--muted-deep); margin: 0; font-size: .98rem; }

/* ---------- Process (dark band) ---------- */
.process { background: var(--charcoal); color: var(--on-dark); }
.process h2, .process h3 { color: var(--on-dark); }
.process .lead { color: var(--on-dark-muted); }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 44px);
  counter-reset: step;
}
.step { position: relative; padding-top: 30px; }
.step::before {
  content: ""; position: absolute; top: 12px; left: 0; right: 0; height: 1px;
  background: var(--rule-dark);
}
.step:first-child::before { left: 0; }
.step__num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--gold-on-dark);
  line-height: 1; margin-bottom: .5rem;
  display: block;
}
.step h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.step p { color: var(--on-dark-muted); font-size: .98rem; margin: 0; }

/* ---------- Gallery ---------- */
.gallery { background: var(--paper); }
.gallery-grid {
  columns: 3;
  column-gap: clamp(14px, 1.6vw, 22px);
}
.gallery-figure {
  break-inside: avoid;
  margin: 0 0 clamp(14px, 1.6vw, 22px);
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--rule);
  background: var(--stone);
}
.gallery-figure img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.gallery-figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,22,15,.42), rgba(26,22,15,0) 55%);
  opacity: 0; transition: opacity .35s var(--ease);
}
.gallery-figure:hover img, .gallery-figure:focus-visible img { transform: scale(1.04); }
.gallery-figure:hover::after, .gallery-figure:focus-visible::after { opacity: 1; }
.gallery-figure__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.1rem; color: #F7F2EA;
  font-size: .92rem; font-weight: 500; letter-spacing: .01em;
  transform: translateY(8px); opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
  z-index: 1;
}
.gallery-figure:hover .gallery-figure__cap, .gallery-figure:focus-visible .gallery-figure__cap { transform: none; opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(18,14,9,.9);
  opacity: 0; transition: opacity .3s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__stage { position: relative; max-width: 1100px; width: 100%; }
.lightbox__img {
  width: 100%; max-height: 82vh; object-fit: contain;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  background: var(--charcoal);
}
.lightbox__caption { color: var(--on-dark-muted); text-align: center; margin-top: .9rem; font-size: .92rem; }
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(246,241,233,.12); border: 1px solid rgba(246,241,233,.3);
  color: var(--on-dark); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .2s var(--ease);
}
.lb-btn:hover { background: rgba(246,241,233,.24); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-prev { left: -8px; }
.lb-next { right: -8px; }
.lb-close {
  position: absolute; top: -8px; right: -8px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(246,241,233,.12); border: 1px solid rgba(246,241,233,.3);
  color: var(--on-dark); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lb-close:hover { background: rgba(246,241,233,.24); }
.lb-close svg { width: 20px; height: 20px; }

/* ---------- Service area ---------- */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.area-panel {
  background: var(--charcoal); color: var(--on-dark);
  border-radius: var(--radius); padding: clamp(32px, 4vw, 52px);
  position: relative; overflow: hidden;
}
.area-panel__pattern {
  position: absolute; inset: 0; opacity: .1; z-index: 0;
  background-image:
    linear-gradient(var(--gold-on-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--gold-on-dark) 1px, transparent 1px);
  background-size: 34px 34px;
}
.area-panel > * { position: relative; z-index: 1; }
.area-panel h2 { color: var(--on-dark); }
.area-panel .eyebrow { color: var(--gold-on-dark); }
.area-panel .eyebrow::before { background: var(--gold-on-dark); }
.area-addr {
  font-style: normal; color: var(--on-dark); font-size: 1.15rem; line-height: 1.7;
  margin: 1.2rem 0 1.8rem; padding-left: 1rem; border-left: 2px solid var(--gold-on-dark);
}
.area-addr a { color: var(--gold-on-dark); text-decoration: none; }
.area-facts { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: .8rem; }
.area-facts li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: baseline; color: var(--on-dark-muted); }
.area-facts .lbl { color: var(--gold-on-dark); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.area-facts a { color: var(--on-dark); text-decoration: none; }
.area-facts a:hover { color: var(--gold-on-dark); }
.area-figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); box-shadow: var(--shadow-md); }
.area-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }

/* ---------- Contact / form ---------- */
.contact { background: var(--ivory); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-aside .lead { margin-bottom: 2rem; }
.contact-details { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.3rem; }
.contact-details li { display: grid; grid-template-columns: 42px 1fr; gap: 1rem; align-items: start; }
.contact-details .ci {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center;
  color: var(--gold-text); background: var(--paper);
}
.contact-details .ci svg { width: 20px; height: 20px; }
.contact-details .clbl { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; display: block; margin-bottom: .15rem; }
.contact-details a, .contact-details span.cval { color: var(--head); text-decoration: none; font-size: 1.06rem; font-weight: 500; word-break: break-word; }
.contact-details a:hover { color: var(--gold-text); }

.form-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(26px, 3.4vw, 44px);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-deep); }
.field .req { color: var(--gold-text); }
.field input, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--head);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .85rem .95rem;
  width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #9a9080; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--espresso);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(58,42,30,.12);
}
.form-actions { grid-column: 1 / -1; margin-top: .4rem; }
.form-actions .btn { width: 100%; }
.form-fineprint { grid-column: 1/-1; font-size: .84rem; color: var(--muted); margin: 0; }

.form-success {
  display: none;
  text-align: center;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 32px);
}
.form-success__mark {
  width: 66px; height: 66px; margin: 0 auto 1.2rem;
  border-radius: 50%; background: rgba(126,96,33,.12);
  display: flex; align-items: center; justify-content: center; color: var(--gold-text);
}
.form-success__mark svg { width: 32px; height: 32px; }
.form-success h3 { font-size: 1.8rem; margin-bottom: .5rem; }
.form-success p { color: var(--muted-deep); max-width: 40ch; margin-inline: auto; }
/* keyframe referenced by the client-supplied validation script */
@keyframes fadeIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.error-message { color: var(--error); }

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative; isolation: isolate;
  color: var(--on-dark);
  text-align: center;
  padding-block: clamp(72px, 11vw, 150px);
}
.final-cta__media { position: absolute; inset: 0; z-index: -2; }
.final-cta__media img { width: 100%; height: 100%; object-fit: cover; }
.final-cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(20,15,10,.82), rgba(20,15,10,.86));
}
.final-cta h2 { color: #F7F2EA; font-size: clamp(2rem, 4.6vw, 3.3rem); margin-bottom: .5em; }
.final-cta p { color: #EFE7DA; max-width: 52ch; margin: 0 auto 2rem; font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.final-cta .btn-row { justify-content: center; }
.final-cta .eyebrow { color: var(--gold-on-dark); justify-content: center; }
.final-cta .eyebrow::before { background: var(--gold-on-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite); color: var(--footer-muted); padding-block: clamp(52px, 7vw, 84px) 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.footer-brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--on-dark); font-family: var(--serif); font-size: 1.15rem; text-decoration: none; margin-bottom: 1rem; }
.footer-brand svg { width: 32px; height: 32px; }
.footer-col h4 { color: var(--on-dark); font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-col a { color: var(--footer-muted); text-decoration: none; }
.footer-col a:hover { color: var(--gold-on-dark); }
.footer-about p { max-width: 40ch; font-size: .96rem; }
.footer-owner { color: var(--on-dark); font-weight: 500; }
.footer-bottom {
  margin-top: clamp(36px, 5vw, 56px); padding-top: 24px;
  border-top: 1px solid var(--rule-dark);
  display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between; align-items: center;
  font-size: .86rem;
}
.footer-bottom a { color: var(--footer-muted); }

/* ---------- Reveal animation (enhancement only) ---------- */
html.reveal-enabled [data-reveal] { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  html.reveal-enabled [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
  }
  html.reveal-enabled [data-reveal].is-visible { opacity: 1; transform: none; }
  html.reveal-enabled [data-reveal][data-reveal-delay="1"] { transition-delay: .08s; }
  html.reveal-enabled [data-reveal][data-reveal-delay="2"] { transition-delay: .16s; }
  html.reveal-enabled [data-reveal][data-reveal-delay="3"] { transition-delay: .24s; }
}
@media print {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .site-header, .mobile-nav, .lightbox { display: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .intro-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: clamp(32px,5vw,48px); }
  .gallery-grid { columns: 2; }
  .area-grid { grid-template-columns: 1fr; }
  .area-figure { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 620px) {
  :root { --gutter: 20px; }
  .cards { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
  .btn-row .btn { width: 100%; }
  .hero__cta.btn-row .btn { width: auto; flex: 1 1 auto; }
  .lb-prev { left: 2px; } .lb-next { right: 2px; }
}
@media (max-width: 400px) {
  .hero__cta.btn-row .btn { width: 100%; flex: 1 1 100%; }
}
