/* =====================================================================
   Austell Wallpaper Installation
   Design system + layout + responsive rules + animation
   Palette: warm walnut & ivory  |  Type: Gilda Display + Mulish
   All color pairs used were WCAG-checked (lowest 3.15:1 non-text border,
   text ≥ 4.5:1) before markup.
   ===================================================================== */

/* ----------------------------- Fonts -------------------------------- */
@font-face {
  font-family: 'Gilda Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/gilda-display-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 300 800; /* genuinely variable file */
  font-display: swap;
  src: url('../fonts/mulish-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/mulish-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------------------------- Tokens -------------------------------- */
:root {
  --ivory: #F7F3EC;
  --paper: #FFFDF9;
  --beige: #EFE7DA;
  --taupe: #E1D6C5;
  --charcoal: #262019;
  --graphite: #1C1712;

  --head: #2A2419;
  --body: #463E33;
  --muted: #6C6153;
  --on-dark: #F4EFE6;
  --on-dark-muted: #BEB2A0;

  --walnut: #6B4A2E;         /* accent text on light + button fill */
  --walnut-hover: #573B24;
  --walnut-deco: #8A6A3F;    /* larger/decorative on light (>=3:1) */
  --caramel: #E7D2B0;        /* accent text on dark */
  --caramel-deco: #D8B98A;   /* decorative on dark */

  --rule: #E4DBCC;           /* decorative hairline */
  --line: #8C8070;           /* control border (>=3:1) */
  --error: #A32B22;

  --serif: 'Gilda Display', Georgia, 'Times New Roman', serif;
  --sans: 'Mulish', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(38, 32, 25, .05), 0 6px 18px rgba(38, 32, 25, .06);
  --shadow-md: 0 10px 30px rgba(38, 32, 25, .10), 0 2px 8px rgba(38, 32, 25, .06);
  --shadow-lg: 0 24px 60px rgba(38, 32, 25, .18);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 74px;
}

/* ---------------------------- Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: clip; /* contains the off-canvas mobile drawer without a scrollbar */
}
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  color: var(--body);
  background: var(--ivory);
  overflow-x: hidden; /* defensive; layout is built not to overflow */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--walnut); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--walnut-hover); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--head); line-height: 1.14; margin: 0 0 .5em; font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: .1px; }
h3 { font-family: var(--sans); font-weight: 700; letter-spacing: .1px; line-height: 1.25; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
:focus-visible {
  outline: 3px solid var(--walnut-deco);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ------------------------ Layout helpers ---------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tint { background: var(--beige); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--charcoal); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: var(--on-dark); }
.section__head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.h2 { font-size: clamp(1.85rem, 1.3rem + 2.4vw, 3rem); }
.lead { font-size: clamp(1.06rem, 1rem + 0.4vw, 1.25rem); color: var(--muted); }
.section--dark .lead { color: var(--on-dark-muted); }
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--walnut); color: #fff; padding: 10px 16px;
  border-radius: 8px; z-index: 200; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* Eyebrow with wallpaper-seam motif */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--walnut);
  margin: 0 0 1rem;
}
.section--dark .eyebrow { color: var(--caramel); }
.eyebrow::before {
  content: ""; width: 26px; height: 12px; flex: none;
  background:
    repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 7px);
  opacity: .8;
}
.section__head--center .eyebrow { justify-content: center; }

/* ---------------------------- Buttons ------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.6rem; min-height: 48px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; letter-spacing: .2px;
  text-decoration: none; text-align: center;
  transition: transform .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--walnut); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--walnut-hover); color: #fff; box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--walnut); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--walnut); background: rgba(107, 74, 46, .06); color: var(--walnut-hover); }
.btn--on-dark { background: var(--caramel); color: var(--charcoal); }
.btn--on-dark:hover { background: #efdcbc; color: var(--charcoal); }
.btn--ghost-dark { background: transparent; color: var(--on-dark); border-color: rgba(244, 239, 230, .4); }
.btn--ghost-dark:hover { border-color: var(--on-dark); background: rgba(244, 239, 230, .08); color: var(--on-dark); }
.btn--lg { padding: 1.05rem 1.9rem; min-height: 54px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------------------------- Header -------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 243, 236, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--rule);
  box-shadow: 0 6px 24px rgba(38, 32, 25, .07);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  text-decoration: none; color: var(--head); flex: none;
}
.brand__mark { width: 38px; height: 38px; flex: none; border-radius: 9px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-size: 1.16rem; color: var(--head); }
.brand__tag { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 1.35rem; }
.nav__list { display: flex; align-items: center; gap: 1.15rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; text-decoration: none; color: var(--body);
  font-weight: 600; font-size: .95rem; padding: .35rem 0; white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--walnut); transition: right .25s var(--ease);
}
.nav__link:hover { color: var(--walnut); }
.nav__link:hover::after, .nav__link.is-active::after { right: 0; }
.nav__link.is-active { color: var(--walnut); }

.header__cta { display: inline-flex; align-items: center; gap: .95rem; position: relative; z-index: 96; }
.header__phone {
  display: inline-flex; align-items: center; gap: .5rem;
  text-decoration: none; color: var(--head); font-weight: 700; white-space: nowrap;
}
.header__phone svg { width: 18px; height: 18px; color: var(--walnut); }
.header__phone span { border-bottom: 1px solid transparent; }
.header__phone:hover span { border-bottom-color: var(--walnut); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: var(--paper); border-radius: 11px; padding: 0; flex: none;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--head);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; left: 0; }
.nav-toggle span::after { position: absolute; top: 6px; left: 0; }
.nav-backdrop {
  position: fixed; inset: 0; background: rgba(28, 23, 18, .5); z-index: 90;
  opacity: 0; transition: opacity .25s var(--ease);
}
html.nav-open .nav-toggle span { background: transparent; }
html.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
html.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* -------------------------- Hero ------------------------------------ */
.hero { position: relative; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(23, 18, 13, .82) 0%, rgba(23, 18, 13, .58) 42%, rgba(23, 18, 13, .28) 72%, rgba(23, 18, 13, .12) 100%),
    linear-gradient(0deg, rgba(23, 18, 13, .55) 0%, rgba(23, 18, 13, 0) 45%);
}
.hero__inner {
  display: flex; align-items: center;
  min-height: min(88vh, 760px);
  padding-block: clamp(4rem, 12vh, 8rem);
}
.hero__content { max-width: 42rem; color: var(--on-dark); }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--caramel); margin-bottom: 1.1rem;
}
.hero__eyebrow::before {
  content: ""; width: 26px; height: 12px;
  background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 7px);
}
.hero h1 {
  color: #fff; font-size: clamp(2.35rem, 1.4rem + 4.4vw, 4.15rem);
  line-height: 1.05; margin-bottom: 1rem; text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .22);
}
.hero__sub {
  font-size: clamp(1.08rem, 1rem + 0.55vw, 1.35rem);
  color: #F4ECE0; max-width: 34rem; margin-bottom: 1.9rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .28);
}
.hero .btn-row { margin-bottom: 2rem; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  padding-top: 1.4rem; border-top: 1px solid rgba(244, 239, 230, .25);
  list-style: none; margin: 0;
}
.hero__facts li {
  display: inline-flex; align-items: center; gap: .5rem;
  color: #F1E8DB; font-size: .95rem; font-weight: 600;
}
.hero__facts svg { width: 17px; height: 17px; color: var(--caramel-deco); flex: none; }

/* --------------------------- About ---------------------------------- */
.about__grid {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.about__body p + p { margin-top: 1rem; }
.owner-card {
  display: flex; align-items: center; gap: 1rem; margin-top: 1.75rem;
  padding: 1.1rem 1.25rem; background: var(--paper);
  border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.owner-card__badge {
  width: 54px; height: 54px; flex: none; border-radius: 50%;
  background: linear-gradient(140deg, var(--walnut), var(--walnut-deco));
  color: #fff; font-family: var(--serif); font-size: 1.5rem;
  display: grid; place-items: center;
}
.owner-card__name { font-weight: 700; color: var(--head); }
.owner-card__role { font-size: .88rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.about__figure { position: relative; }
.about__figure img {
  width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5; object-fit: cover;
}
.about__note {
  position: absolute; left: -6px; bottom: -18px;
  background: var(--charcoal); color: var(--on-dark);
  padding: .85rem 1.15rem; border-radius: var(--radius);
  font-size: .9rem; max-width: 15rem; box-shadow: var(--shadow-md);
  border: 1px solid rgba(244, 239, 230, .12);
}
.about__note strong { color: #fff; }
.about__aside {
  background: var(--charcoal); color: var(--on-dark);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-md); border: 1px solid rgba(244, 239, 230, .1);
}
.about__aside h3 { color: #fff; font-family: var(--serif); font-weight: 400; font-size: 1.4rem; margin-bottom: 1.1rem; }
.about__aside-art { width: 92px; height: 92px; margin-bottom: 1.3rem; border-radius: 12px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; color: var(--on-dark-muted); font-weight: 600; font-size: .97rem; }
.ticks svg { width: 20px; height: 20px; color: var(--caramel); flex: none; margin-top: 2px; }

/* -------------------------- Services -------------------------------- */
.cards {
  display: grid; gap: clamp(1rem, 2.4vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}
.card {
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 1.7rem 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--taupe); }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 1.1rem;
  display: grid; place-items: center;
  background: var(--beige); color: var(--walnut); border: 1px solid var(--rule);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.16rem; margin-bottom: .45rem; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }

/* -------------------------- Why choose ------------------------------ */
.why__grid {
  display: grid; gap: clamp(1.4rem, 3vw, 2.2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.why__item { display: flex; gap: 1rem; }
.why__num {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  border: 1px solid rgba(216, 185, 138, .4); color: var(--caramel);
  font-family: var(--serif); font-size: 1.2rem; background: rgba(216, 185, 138, .08);
}
.why__item h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.why__item p { color: var(--on-dark-muted); font-size: .96rem; margin: 0; }

/* -------------------------- Process --------------------------------- */
.steps {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  counter-reset: step;
}
.step { position: relative; padding: 1.6rem 1.4rem; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step__num {
  font-family: var(--serif); font-size: 1.5rem; color: var(--walnut-deco);
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 1rem;
  border: 1.5px solid var(--rule); background: var(--beige);
}
.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* -------------------------- Gallery --------------------------------- */
.gallery {
  columns: 3 260px; column-gap: 1.1rem;
}
.gallery__item {
  break-inside: avoid; margin-bottom: 1.1rem; position: relative;
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  border: 1px solid var(--rule); box-shadow: var(--shadow-sm);
  display: block; width: 100%; padding: 0; background: var(--beige);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.gallery__item img { width: 100%; transition: transform .5s var(--ease); }
.gallery__item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem 1rem .9rem;
  color: #fff; font-size: .9rem; font-weight: 600; text-align: left;
  background: linear-gradient(0deg, rgba(23, 18, 13, .78), rgba(23, 18, 13, 0));
  opacity: 0; transform: translateY(8px); transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.gallery__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item:hover figcaption, .gallery__item:focus-visible figcaption { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 4vw; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(20, 16, 12, .88); }
.lightbox__figure { position: relative; z-index: 1; max-width: 1000px; width: 100%; margin: 0; text-align: center; }
.lightbox__img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox__caption { color: var(--on-dark); margin-top: .9rem; font-size: .95rem; }
.lightbox__close {
  position: absolute; top: -14px; right: -8px; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: var(--paper); color: var(--head); font-size: 1.5rem; line-height: 1;
  box-shadow: var(--shadow-md);
}
.lightbox__close:hover { background: #fff; }
@media (max-width: 640px) { .lightbox__close { top: -56px; right: 0; } }

/* ------------------------- Service area ----------------------------- */
.area__grid {
  display: grid; gap: clamp(1.6rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center;
}
.area__list { columns: 2 160px; gap: 1rem; list-style: none; margin: 1.25rem 0 0; padding: 0; }
.area__list li {
  display: flex; align-items: center; gap: .55rem; margin-bottom: .55rem;
  font-weight: 600; color: var(--body); break-inside: avoid;
}
.area__list svg { width: 16px; height: 16px; color: var(--walnut); flex: none; }
.area__panel {
  background: var(--charcoal); color: var(--on-dark);
  padding: clamp(1.6rem, 4vw, 2.4rem); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.area__panel h3 { color: #fff; font-family: var(--serif); font-size: 1.5rem; }
.area__panel p { color: var(--on-dark-muted); }
.area__panel .btn { margin-top: 1rem; }

/* --------------------------- Contact -------------------------------- */
.contact__grid {
  display: grid; gap: clamp(1.8rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start;
}
.contact__intro .lead { margin-bottom: 1.5rem; }
.contact-list { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; }
.contact-list .ci {
  width: 42px; height: 42px; flex: none; border-radius: 11px;
  display: grid; place-items: center; background: var(--beige);
  border: 1px solid var(--rule); color: var(--walnut);
}
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list a { color: var(--body); text-decoration: none; font-weight: 700; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--walnut); }
.contact-list .lbl { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: .1rem; }
.contact-list span.val { overflow-wrap: anywhere; }

.form-card {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 3.5vw, 2.4rem); box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 1.1rem; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; color: var(--head); margin-bottom: .4rem; }
.field .req { color: var(--walnut); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--body);
  padding: .8rem .95rem; background: var(--ivory);
  border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #9a9184; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--walnut); background: var(--paper);
  box-shadow: 0 0 0 3px rgba(107, 74, 46, .14);
}
.field input.is-invalid, .field textarea.is-invalid { border-color: var(--error); box-shadow: 0 0 0 3px rgba(163, 43, 34, .12); }
.field textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error-message {
  color: var(--error); font-size: .85rem; font-weight: 600; margin-top: .4rem;
  display: flex; align-items: center; gap: .35rem;
}
.error-message::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--error); color: #fff; font-size: .7rem; font-weight: 800; flex: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.3rem; }
.form-actions .btn { flex: none; }
.form-note { font-size: .85rem; color: var(--muted); margin: 1rem 0 0; }
.form-status { min-height: 1.2em; font-size: .92rem; font-weight: 600; color: var(--walnut); margin: .6rem 0 0; }
.form-success {
  display: none; text-align: center; padding: 1rem .5rem;
}
.form-success__mark {
  width: 62px; height: 62px; margin: 0 auto 1rem; border-radius: 50%;
  background: var(--beige); border: 1.5px solid var(--walnut-deco);
  display: grid; place-items: center; color: var(--walnut);
}
.form-success h3 { font-family: var(--serif); font-size: 1.6rem; }
.form-success p { color: var(--muted); }

/* ----------------------------- Map ---------------------------------- */
.map-wrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--rule); box-shadow: var(--shadow-sm); background: var(--beige);
}
.map-wrap iframe { display: block; width: 100%; height: clamp(300px, 42vw, 460px); border: 0; }
.map-fallback {
  padding: clamp(1.6rem, 4vw, 2.4rem); display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
}
.map-fallback .addr { font-weight: 700; color: var(--head); }
.map-fallback .addr span { display: block; font-weight: 400; color: var(--muted); }

/* ---------------------------- CTA band ------------------------------ */
.cta-band { text-align: center; }
.cta-band .container { max-width: 46rem; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2.6vw, 2.9rem); }
.cta-band p { color: var(--on-dark-muted); font-size: 1.12rem; margin-bottom: 1.8rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------------------------- Footer -------------------------------- */
.site-footer { background: var(--graphite); color: var(--on-dark-muted); padding-block: clamp(2.6rem, 6vw, 4rem) 1.5rem; }
.footer__grid {
  display: grid; gap: 2rem clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr);
}
.footer__brand { display: inline-flex; align-items: center; gap: .65rem; margin-bottom: 1rem; text-decoration: none; }
.footer__brand .brand__name { color: var(--on-dark); }
.footer__brand .brand__tag { color: var(--on-dark-muted); }
.footer p { color: var(--on-dark-muted); }
.footer h4 { color: var(--on-dark); font-family: var(--sans); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__nav { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer__nav a { color: var(--on-dark-muted); text-decoration: none; font-weight: 600; }
.footer__nav a:hover { color: var(--caramel); }
.footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer__contact a { color: var(--on-dark-muted); text-decoration: none; overflow-wrap: anywhere; }
.footer__contact a:hover { color: var(--caramel); }
.footer__bar {
  margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(244, 239, 230, .1);
  display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; justify-content: space-between; align-items: center;
  font-size: .85rem;
}
.footer__bar a { color: var(--on-dark-muted); }

/* --------------------------- Reveal --------------------------------- */
/* Visible by default; only hidden/animated once JS confirms support. */
.js-reveal-ready .reveal { opacity: 0; transform: translateY(20px); }
.js-reveal-ready .reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-reveal-ready .reveal--d1.is-in { transition-delay: .08s; }
.js-reveal-ready .reveal--d2.is-in { transition-delay: .16s; }
.js-reveal-ready .reveal--d3.is-in { transition-delay: .24s; }

/* ------------------------- Nav open state --------------------------- */
html.nav-open { overflow: hidden; }
html.lightbox-open { overflow: hidden; }
html.nav-open .nav-backdrop { opacity: 1; }

/* --------------------------- Responsive ----------------------------- */
@media (max-width: 980px) {
  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__figure { order: -1; max-width: 460px; }
  .area__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 1024px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: 0; right: 0; z-index: 95;
    height: 100dvh; width: min(84vw, 340px);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    background: var(--paper); padding: calc(var(--header-h) + 1.2rem) 1.5rem 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .3s var(--ease);
    overflow-y: auto;
  }
  html.nav-open .nav { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__list li { border-bottom: 1px solid var(--rule); }
  .nav__link { display: block; padding: .95rem 0; font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .btn--quote-header { display: none; }
  .header__cta .header__phone { padding: .5rem; border-radius: 10px; }
  .nav .header__phone {
    display: inline-flex; margin-top: 1.4rem; padding: .8rem 1rem;
    border: 1px solid var(--line); border-radius: 10px; justify-content: center;
  }
  .nav .btn { margin-top: 1rem; }
}
@media (min-width: 1025px) {
  .nav .header__phone, .nav .btn { display: none; }
}

@media (max-width: 560px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__inner { min-height: min(90vh, 640px); }
  .btn { width: 100%; }
  .btn-row .btn { flex: 1 1 auto; }
  .area__list { columns: 1; }
}
@media (max-width: 470px) {
  .header__cta .header__phone span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .header__cta .header__phone svg { width: 22px; height: 22px; }
  .brand__tag { display: none; }
}

/* ------------------- Motion / print preferences --------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .gallery__item:hover img { transform: none; }
  .btn:hover { transform: none; }
}
@media print {
  .site-header, .nav-toggle, .hero__scrim, .cta-band, .map-wrap iframe, .lightbox { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { color: #000; background: #fff; }
}
