/* =========================================================================
   A.R.P. Custom LLC — site styles
   Art direction: "Lit window at dusk." Charcoal and brushed steel from the
   logo, warm plaster-white for reading surfaces, gold used sparingly for
   the one primary action (Free Estimate) and the four-pane window mark.
   ========================================================================= */

:root {
  /* Palette (derived from the logo) */
  --ink: #0d0d0e;          /* logo black */
  --char: #18181a;         /* primary dark surface */
  --char-2: #222225;       /* raised dark surface */
  --char-line: #34343a;    /* hairlines on dark */
  --steel: #b9bcc0;        /* brushed silver: text on dark (10:1 on --char) */
  --steel-dim: #8f9399;    /* secondary text on dark (5.6:1 on --char) */
  --paper: #f5f2ec;        /* warm off-white */
  --paper-2: #ece7dd;      /* plaster */
  --paper-line: #d9d2c4;
  --stone: #22201d;        /* body text on light (15:1) */
  --stone-dim: #5a554d;    /* secondary text on light (6.6:1) */
  --gold: #c99a2e;         /* CTA fill (dark text on it: 8.4:1) */
  --gold-hi: #dcb04a;
  --gold-deep: #7a580c;    /* gold as text on light (5.8:1 on paper, 5.3:1 on plaster) */
  --white: #fff;

  /* Type */
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.25rem + 0.7vw, 1.8rem);
  --step-3: clamp(1.85rem, 1.5rem + 1.6vw, 2.9rem);
  --step-4: clamp(2.3rem, 1.7rem + 3vw, 4.4rem);

  /* Space */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --section-y: clamp(4rem, 3rem + 5vw, 7.5rem);
  --gutter: clamp(1.25rem, 0.8rem + 2.2vw, 2.5rem);
  --wrap: 76rem;

  --radius: 4px;
  --radius-lg: 8px;
  --header-h: 84px;
  --action-bar-h: 67px;    /* mobile Call / Free Estimate bar: 8px + 50px button + 8px + 1px border */
  --error: #a3341f;        /* 6.9:1 on white */
  --error-bg: #fdf3ef;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-1: 0 1px 2px rgb(20 18 14 / 0.06), 0 4px 14px rgb(20 18 14 / 0.06);
  --shadow-2: 0 2px 4px rgb(20 18 14 / 0.08), 0 14px 36px rgb(20 18 14 / 0.12);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* component display rules must never override the attribute */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--stone);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-stretch: 112%;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.on-light :focus-visible, .section--light :focus-visible { outline-color: var(--gold-deep); }

html { scrollbar-color: #6b6b72 var(--char); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--char); }
::-webkit-scrollbar-thumb { background: #55555c; border: 3px solid var(--char); border-radius: 8px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: var(--s-3) var(--s-4);
  font-weight: 600; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: var(--s-3); }

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

/* ---------- Placeholder text (for review) ---------- */
.ph {
  display: inline;
  padding: 0.05em 0.4em;
  border: 1px dashed currentColor;
  border-radius: 3px;
  background: rgb(201 154 46 / 0.10);
  font-family: var(--f-body);
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: 0;
  white-space: normal;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.section--light .ph, .section--plaster .ph, .on-light .ph { color: var(--gold-deep); }
.section--dark .ph, .section--ink .ph, .on-dark .ph, .hero .ph, .page-hero .ph, .trust .ph, .cta-band .ph, .site-footer .ph { color: var(--gold-hi); }
.ph-block {
  display: block;
  padding: var(--s-4) var(--s-5);
  border: 1px dashed var(--gold-deep);
  border-radius: var(--radius);
  background: rgb(201 154 46 / 0.07);
  color: var(--gold-deep);
  font-weight: 600;
}
.section--dark .ph-block { color: var(--gold-hi); border-color: rgb(220 176 74 / 0.6); }

/* ---------- The window mark (four gold panes from the logo) ---------- */
.mark {
  --m: 0.7em;
  display: inline-block;
  width: var(--m); height: var(--m);
  flex: none;
  vertical-align: -0.05em;
  background:
    linear-gradient(var(--gold), var(--gold)) 0 0 / 44% 44% no-repeat,
    linear-gradient(var(--gold), var(--gold)) 100% 0 / 44% 44% no-repeat,
    linear-gradient(var(--gold), var(--gold)) 0 100% / 44% 44% no-repeat,
    linear-gradient(var(--gold), var(--gold)) 100% 100% / 44% 44% no-repeat;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--ink); --bd: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px;
  padding: 0.8em 1.4em;
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-display);
  font-stretch: 108%;
  font-weight: 650;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { --bg: var(--gold-hi); --bd: var(--gold-hi); transform: translateY(-1px); box-shadow: 0 6px 18px rgb(201 154 46 / 0.28); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn .arrow { transition: transform .25s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

.btn--ghost { --bg: transparent; --fg: var(--steel); --bd: #4a4a52; }
.btn--ghost:hover { --bg: rgb(255 255 255 / 0.05); --fg: var(--white); --bd: var(--steel); box-shadow: none; }
.section--light .btn--ghost, .on-light .btn--ghost { --fg: var(--stone); --bd: #b6ad9c; }
.section--light .btn--ghost:hover, .on-light .btn--ghost:hover { --bg: rgb(34 32 29 / 0.04); --fg: var(--ink); --bd: var(--stone); }
.btn--lg { min-height: 56px; padding: 1em 1.7em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .85; }
.btn[aria-busy="true"] .btn__label::after {
  content: ""; display: inline-block; width: .9em; height: .9em; margin-left: .6em; vertical-align: -0.12em;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.text-link {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .3s var(--ease-out);
  padding-bottom: 2px;
}
.text-link:hover { background-size: 100% 1px; }
.section--light .text-link { color: var(--gold-deep); }
.section--dark .text-link { color: var(--gold-hi); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgb(13 13 14 / 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  color: var(--steel);
  transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--char-line); background: rgb(13 13 14 / 0.97); }
.site-header__inner { display: flex; align-items: center; gap: var(--s-5); min-height: var(--header-h); }

.brand { display: block; flex: none; width: 118px; aspect-ratio: 724 / 490; overflow: hidden; border-radius: 2px; }
.brand img {
  width: 149.17%; max-width: none;
  margin: -41.44% 0 0 -24.59%;
  mix-blend-mode: lighten; /* logo's black ground disappears into any dark surface */
}
.brand--footer { width: 132px; }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: var(--s-1); }
.nav__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3);
  font-size: 0.95rem; font-weight: 500; text-decoration: none; color: var(--steel);
  position: relative;
  transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: 8px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--white); }

.header-actions { display: flex; align-items: center; gap: var(--s-4); }
.header-phone {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px;
  color: var(--steel); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums;
  white-space: nowrap; transition: color .2s;
}
.header-phone svg { width: 18px; height: 18px; color: var(--gold); }
.header-phone:hover { color: var(--white); }
.site-header .btn { min-height: 44px; padding: .65em 1.15em; font-size: .92rem; }

.menu-toggle {
  display: none; margin-left: auto; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 1px solid var(--char-line); border-radius: var(--radius);
  background: transparent; color: var(--steel); cursor: pointer;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block; width: 20px; height: 1.5px; background: currentColor; position: relative;
  transition: transform .3s var(--ease-out), background-color .2s;
}
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .header-actions:not(.header-actions--phone-only) .header-phone span { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand { width: 104px; }
  .menu-toggle { display: inline-flex; }
  .header-actions { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    background: var(--ink);
    padding: var(--s-6) var(--gutter) calc(var(--s-9) + env(safe-area-inset-bottom));
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease-out), transform .3s var(--ease-out), visibility 0s .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease-out), transform .3s var(--ease-out); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    min-height: 60px; padding: 0; font-family: var(--f-display); font-stretch: 110%;
    font-size: 1.5rem; font-weight: 600; border-bottom: 1px solid var(--char-line);
  }
  .nav__link::after { display: none; }
  .nav__mobile-cta { display: grid !important; gap: var(--s-3); margin-top: var(--s-6); }
  body.menu-open { overflow: hidden; }
}
.nav__mobile-cta { display: none !important; }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1.35fr; gap: var(--s-2);
  padding: var(--s-2) var(--s-3) calc(var(--s-2) + env(safe-area-inset-bottom));
  background: rgb(13 13 14 / 0.96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--char-line);
}
.action-bar .btn { min-height: 50px; font-size: .95rem; }
@media (min-width: 961px) { .action-bar { display: none; } }
@media (max-width: 960px) {
  /* Reserve the bar's height so it never covers the last footer line or a focused field.
     Padding sits on the (dark) footer so no paper-coloured strip shows under it. */
  .site-footer { padding-bottom: calc(var(--action-bar-h) + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: calc(var(--action-bar-h) + 1rem + env(safe-area-inset-bottom)); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--light { background: var(--paper); color: var(--stone); }
.section--plaster { background: var(--paper-2); color: var(--stone); }
.section--dark { background: var(--char); color: var(--steel); }
.section--ink { background: var(--ink); color: var(--steel); }
.section--dark h1, .section--dark h2, .section--dark h3,
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--white); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }

.section-head { display: grid; gap: var(--s-4); max-width: 46rem; margin-bottom: var(--s-7); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { font-size: var(--step-1); color: var(--stone-dim); max-width: 38rem; }
.section--dark .section-head p, .section--ink .section-head p { color: var(--steel-dim); }
.section-head--split {
  max-width: none; grid-template-columns: 1fr; align-items: end;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr 0.9fr; gap: var(--s-7); }
}
.rule { height: 1px; background: var(--paper-line); border: 0; margin: 0; }
.section--dark .rule { background: var(--char-line); }

.lede { font-size: var(--step-1); line-height: 1.55; }
.muted { color: var(--stone-dim); }
.section--dark .muted, .section--ink .muted { color: var(--steel-dim); }
.prose { max-width: 66ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: var(--step-3); margin-top: 1.6em; }
.prose h3 { font-size: var(--step-2); margin-top: 1.4em; }

/* ---------- Photo placeholders ---------- */
/* Drop a real photo in by adding <img src="..." alt="..."> inside .photo
   and deleting the .photo__label span. The img fills the frame. */
.photo {
  --ar: 4 / 3;
  --a: #6d5139; --b: #3e2c1f; --grain: rgb(255 240 220 / 0.05);
  position: relative; margin: 0; overflow: hidden;
  aspect-ratio: var(--ar);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 85% 10%, rgb(255 236 200 / 0.18), transparent 55%),
    repeating-linear-gradient(92deg, transparent 0 7px, var(--grain) 7px 8px, transparent 8px 19px),
    repeating-linear-gradient(88deg, transparent 0 23px, rgb(0 0 0 / 0.06) 23px 25px),
    linear-gradient(160deg, var(--a), var(--b));
  isolation: isolate;
}
.photo::after { /* soft vignette for depth */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgb(0 0 0 / 0.28));
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.photo__label {
  position: absolute; left: var(--s-3); bottom: var(--s-3); z-index: 2;
  display: inline-flex; align-items: center; gap: .5em;
  max-width: calc(100% - var(--s-5));
  padding: .4em .7em;
  border: 1px dashed rgb(255 255 255 / 0.55);
  border-radius: 3px;
  background: rgb(13 13 14 / 0.55);
  color: #f1ede6;
  font-size: .78rem; font-weight: 600; letter-spacing: .01em; line-height: 1.3;
}
.photo__label::before {
  content: ""; width: 14px; height: 11px; flex: none;
  border: 1.5px solid currentColor; border-radius: 2px;
  background: radial-gradient(circle at 70% 35%, currentColor 1.5px, transparent 2px);
  opacity: .8;
}
/* Material tones */
.photo[data-tone="walnut"] { --a: #6b4a32; --b: #2f2016; }
.photo[data-tone="oak"]    { --a: #b08a5f; --b: #6c4f33; --grain: rgb(255 245 225 / 0.08); }
.photo[data-tone="paint"]  { --a: #c9c4b8; --b: #8c877c; --grain: rgb(255 255 255 / 0.05); }
.photo[data-tone="sage"]   { --a: #7f8a76; --b: #434c3f; }
.photo[data-tone="slate"]  { --a: #5d6268; --b: #2a2d31; --grain: rgb(255 255 255 / 0.03); }
.photo[data-tone="tile"]   {
  --a: #d7d3cb; --b: #a8a39a;
  background:
    radial-gradient(120% 90% at 85% 10%, rgb(255 255 255 / 0.2), transparent 55%),
    repeating-linear-gradient(0deg, transparent 0 46px, rgb(60 56 50 / 0.18) 46px 48px),
    repeating-linear-gradient(90deg, transparent 0 94px, rgb(60 56 50 / 0.18) 94px 96px),
    linear-gradient(160deg, var(--a), var(--b));
}
.photo[data-tone="plank"]  {
  --a: #a07a52; --b: #5e4430;
  background:
    radial-gradient(120% 90% at 85% 10%, rgb(255 236 200 / 0.16), transparent 55%),
    repeating-linear-gradient(90deg, transparent 0 11px, rgb(255 240 220 / 0.05) 11px 12px),
    repeating-linear-gradient(0deg, transparent 0 58px, rgb(30 20 12 / 0.28) 58px 60px),
    linear-gradient(160deg, var(--a), var(--b));
}
.photo[data-tone="porch"]  { --a: #8c9a8a; --b: #3c4639; --grain: rgb(255 255 255 / 0.04); }
.photo[data-tone="stone"]  { --a: #8a8378; --b: #403b35; --grain: rgb(255 255 255 / 0.04); }

a:hover .photo img, .card-link:hover .photo img { transform: scale(1.03); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--steel);
  padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(3.5rem, 2rem + 5vw, 6.5rem);
}
.hero__roof { /* oversized roofline from the logo, drawn as a hairline */
  position: absolute; z-index: 0; pointer-events: none;
  right: -8%; top: 4%; width: min(1100px, 95vw); height: auto;
  color: rgb(185 188 192 / 0.09);
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.08fr 0.92fr; gap: var(--s-8); } }
.hero h1 { font-size: var(--step-4); color: var(--white); line-height: 1.02; }
.hero h1 .accent { color: var(--steel); }
.hero__sub { margin-top: var(--s-5); font-size: var(--step-1); color: var(--steel); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero__note { display: flex; align-items: center; gap: .6em; margin-top: var(--s-5); color: var(--steel-dim); font-size: var(--step--1); }
.hero__tags {
  list-style: none; display: flex; flex-wrap: wrap; align-items: center;
  margin-top: var(--s-7); padding-top: var(--s-5); max-width: 34rem;
  border-top: 1px solid var(--char-line);
}
.hero__tags li { display: inline-flex; align-items: center; }
.hero__tags li + li::before { /* small steel tick between tags */
  content: ""; width: 3px; height: 3px; margin-inline: .2em; border-radius: 50%; background: #5c5c63;
}
.hero__tags a {
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: .55em;
  font-family: var(--f-display); font-stretch: 110%; font-weight: 600; font-size: .9rem; letter-spacing: .01em;
  color: var(--steel); text-decoration: none; transition: color .2s;
}
.hero__tags li:first-child a { padding-left: 0; }
.hero__tags a:hover { color: var(--gold-hi); }
@media (max-width: 600px) { .hero__tags { margin-top: var(--s-6); } }
.hero__visual { position: relative; }
.hero__visual .photo { --ar: 4 / 5; border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgb(0 0 0 / 0.5); }
.hero__visual::before { /* gold underline from the logo */
  content: ""; position: absolute; left: 8%; right: 8%; bottom: -18px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: .9;
}
.hero__inset {
  position: absolute; left: -7%; bottom: 9%; width: 42%; z-index: 2;
  border: 6px solid var(--ink); border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.45);
}
.hero__inset .photo { --ar: 1 / 1; border-radius: 3px; box-shadow: none; }
.hero__inset .photo__label { font-size: .7rem; left: 6px; bottom: 6px; }
@media (max-width: 959px) {
  .hero__visual { max-width: 560px; }
  .hero__visual .photo { --ar: 4 / 3; }
  .hero__inset { display: none; }
}
@media (max-width: 600px) {
  .hero__actions .btn { width: 100%; }
}

/* Hero entrance: plays once on load */
@media (prefers-reduced-motion: no-preference) {
  [data-enter] > * { animation: enter .9s var(--ease-out) both; }
  [data-enter] > *:nth-child(2) { animation-delay: .08s; }
  [data-enter] > *:nth-child(3) { animation-delay: .16s; }
  [data-enter] > *:nth-child(4) { animation-delay: .24s; }
  [data-enter] > *:nth-child(5) { animation-delay: .32s; }
  .hero__visual[data-reveal] { animation: reveal 1.2s var(--ease-out) .15s both; }
}
@keyframes enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes reveal { from { opacity: 0; clip-path: inset(8% 0 0 0 round 8px); } to { opacity: 1; clip-path: inset(0 0 0 0 round 8px); } }

/* Page hero (interior pages) */
.page-hero { background: var(--ink); color: var(--steel); padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); position: relative; overflow: hidden; }
.page-hero h1 { font-size: var(--step-4); color: var(--white); max-width: 18ch; }
.page-hero .lede { margin-top: var(--s-5); max-width: 40rem; color: var(--steel); }
.page-hero .hero__actions { margin-top: var(--s-6); }
.page-hero .hero__roof { top: auto; bottom: -30%; width: min(900px, 90vw); }
.breadcrumb { font-size: var(--step--1); color: var(--steel-dim); margin-bottom: var(--s-5); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5em; }
.breadcrumb li + li::before { content: "/"; margin-right: .5em; color: #5c5c63; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Trust strip ---------- */
.trust { background: var(--char); color: var(--steel); border-top: 1px solid var(--char-line); border-bottom: 1px solid var(--char-line); }
.trust__list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); }
.trust__item {
  display: flex; align-items: center; gap: .75em;
  padding: var(--s-5) var(--s-4);
  font-size: .93rem; line-height: 1.35;
  border-bottom: 1px solid var(--char-line);
}
.trust__item:nth-child(odd) { border-right: 1px solid var(--char-line); padding-left: 0; }
.trust__item strong { color: var(--white); font-weight: 600; display: block; }
.trust__item svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
@media (max-width: 899px) { .trust__item:nth-child(even) { padding-right: 0; } }
@media (max-width: 599px) {
  /* 2x2: icon stacked over text, every cell top-left aligned, equal inner gutters */
  .trust__item { flex-direction: column; align-items: flex-start; gap: var(--s-3); padding: var(--s-5) var(--s-4); font-size: .86rem; }
  .trust__item:nth-child(odd) { padding-left: 0; }
  .trust__item:nth-child(even) { padding-right: 0; }
  .trust__item:nth-child(n+3) { border-bottom: 0; }
  .trust__item strong { margin-bottom: .2em; }
  .trust .ph { font-size: .92em; padding: 0 .3em; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .trust__item:nth-child(n+3) { border-bottom: 0; }
}
@media (min-width: 900px) {
  .trust__list { grid-template-columns: repeat(4, 1fr); }
  .trust__item { border-bottom: 0; border-right: 1px solid var(--char-line); padding: var(--s-6) var(--s-5); }
  .trust__item:nth-child(odd) { padding-left: var(--s-5); }
  .trust__item:first-child { padding-left: 0; }
  .trust__item:last-child { border-right: 0; padding-right: 0; }
}

/* ---------- Services (home) ---------- */
.services { display: grid; gap: var(--s-6); }
@media (min-width: 720px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .services { grid-template-columns: repeat(12, 1fr); gap: var(--s-5); }
  .service:nth-child(1) { grid-column: span 7; }
  .service:nth-child(2) { grid-column: span 5; }
  .service:nth-child(3) { grid-column: span 4; }
  .service:nth-child(4) { grid-column: span 4; }
  .service:nth-child(5) { grid-column: span 4; }
  .service:nth-child(1) .photo, .service:nth-child(2) .photo { --ar: 16 / 10; }
  .service:nth-child(2) .photo { --ar: 9 / 8; } /* matches the 7-col card height */
}
.service { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.service .photo { --ar: 4 / 3; transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out); }
.service:hover .photo { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.service__body { padding-top: var(--s-4); display: grid; gap: var(--s-2); }
.service h3 { font-size: var(--step-2); display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); }
.service h3 .arrow { width: 22px; height: 22px; flex: none; color: var(--gold-deep); transition: transform .3s var(--ease-out); align-self: center; }
.service:hover h3 .arrow { transform: translateX(4px); }
.service p { color: var(--stone-dim); max-width: 44ch; }
.service__tags { display: flex; flex-wrap: wrap; gap: .4em; margin-top: var(--s-2); list-style: none; }
.service__tags li { font-size: .8rem; font-weight: 500; padding: .25em .65em; border: 1px solid var(--paper-line); border-radius: 99px; color: var(--stone-dim); }

/* ---------- Projects grid ---------- */
.projects { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .projects--feature { grid-template-columns: repeat(12, 1fr); grid-auto-rows: auto; }
  .projects--feature .project:nth-child(1) { grid-column: span 7; grid-row: span 2; }
  .projects--feature .project:nth-child(1) .photo { aspect-ratio: auto; flex: 1; min-height: 360px; }
  .projects--feature .project:nth-child(2), .projects--feature .project:nth-child(3) { grid-column: span 5; }
  .projects--feature .project:nth-child(4), .projects--feature .project:nth-child(5), .projects--feature .project:nth-child(6) { grid-column: span 4; }
  .projects--gallery { grid-template-columns: repeat(3, 1fr); }
}
.project { position: relative; display: flex; flex-direction: column; }
.project .photo { --ar: 4 / 3; }
.projects--feature .project:nth-child(1) { min-height: 0; }
.project__meta {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3);
  padding-top: var(--s-3); font-size: .92rem;
}
.project__meta strong { font-family: var(--f-display); font-stretch: 108%; font-weight: 600; font-size: 1.02rem; color: var(--white); }
.section--light .project__meta strong, .section--plaster .project__meta strong { color: var(--stone); }
.project__meta span { color: var(--steel-dim); white-space: nowrap; }
.section--light .project__meta span, .section--plaster .project__meta span { color: var(--stone-dim); }
.project[hidden] { display: none; }

/* ---------- Before / after slider ---------- */
.ba-layout { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) { .ba-layout { grid-template-columns: 0.8fr 1.2fr; gap: var(--s-8); } }
.ba {
  --pos: 50%;
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 3 / 2; user-select: none; -webkit-user-select: none;
  touch-action: pan-y; cursor: ew-resize;
  box-shadow: var(--shadow-2);
}
.ba__panel { position: absolute; inset: 0; margin: 0; border-radius: 0; aspect-ratio: auto; }
.ba__panel .photo__label { bottom: auto; top: var(--s-3); }
.ba__panel--before { --a: #8d877c; --b: #57524a; filter: saturate(.55); }
.ba__panel--after { clip-path: inset(0 0 0 var(--pos)); }
.ba__panel--after .photo__label { left: auto; right: var(--s-3); }
.ba__tag {
  position: absolute; bottom: var(--s-4); z-index: 3;
  font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .45em .8em; border-radius: 3px;
  background: rgb(13 13 14 / 0.75); color: var(--white);
  pointer-events: none;
}
.ba__tag--before { left: var(--s-4); }
.ba__tag--after { right: var(--s-4); background: var(--gold); color: var(--ink); }
.ba__divider {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 2px; margin-left: -1px;
  background: var(--white); box-shadow: 0 0 0 1px rgb(0 0 0 / 0.15);
  pointer-events: none;
}
.ba__handle {
  position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--white); color: var(--ink);
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.3);
  transition: transform .2s var(--ease-out);
}
.ba__handle svg { width: 22px; height: 22px; }
.ba:hover .ba__handle, .ba.is-dragging .ba__handle { transform: scale(1.06); }
.ba__range {
  position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent;
}
.ba__range:focus-visible + .ba__divider .ba__handle { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Process ---------- */
.process { list-style: none; display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--paper-line); }
@media (min-width: 900px) { .process { grid-template-columns: repeat(4, 1fr); border-top: 0; } }
.process__step { position: relative; padding: var(--s-6) 0; border-bottom: 1px solid var(--paper-line); display: grid; gap: var(--s-3); align-content: start; }
@media (min-width: 900px) {
  .process__step { padding: var(--s-6) var(--s-5) 0 0; border-bottom: 0; border-top: 1px solid var(--stone); }
  .process__step + .process__step { padding-left: var(--s-5); border-left: 1px solid var(--paper-line); }
}
.process__num {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: var(--step-3);
  line-height: 1; color: var(--gold-deep); font-variant-numeric: tabular-nums;
}
.process__step h3 { font-size: var(--step-1); font-stretch: 110%; }
.process__step p { color: var(--stone-dim); font-size: .97rem; }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review {
  display: grid; grid-template-rows: auto 1fr auto; gap: var(--s-5);
  min-height: 19rem; margin: 0;
  padding: var(--s-6); border-radius: var(--radius-lg);
  background: var(--char-2); border: 1px solid var(--char-line);
  transition: border-color .3s var(--ease-out);
}
.review:hover { border-color: #4a4a52; }
.review__quote { width: 34px; height: 34px; color: var(--gold); }
.review blockquote { margin: 0; font-size: var(--step-1); line-height: 1.5; color: var(--white); font-family: var(--f-display); font-stretch: 100%; font-weight: 400; }
.review figcaption {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  padding-top: var(--s-4); border-top: 1px solid var(--char-line);
  font-size: .9rem; color: var(--steel-dim);
}
.review__who { display: flex; align-items: center; gap: var(--s-3); min-width: 0; }
.review__avatar { /* stand-in for the customer's initial */
  width: 36px; height: 36px; flex: none; border-radius: 50%;
  border: 1px solid #4a4a52; background: var(--char);
}
.review__rating { display: inline-flex; align-items: center; gap: .35em; flex: none; color: var(--gold); }
.review__rating svg { width: 15px; height: 15px; }
/* Placeholder chips read as quiet annotations inside the designed card */
.review .ph { font-size: .72rem; font-weight: 600; letter-spacing: .02em; line-height: 1.9; padding: .1em .5em; border-color: rgb(220 176 74 / 0.5); }
.review blockquote .ph { font-size: .8rem; }
.rating-line { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-6); color: var(--steel); }

/* ---------- Service area ---------- */
.area { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) { .area { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }
.towns { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.towns li {
  display: inline-flex; align-items: center; gap: .55em; min-height: 40px;
  padding: .35em .95em; border-radius: 99px; border: 1px solid var(--paper-line);
  background: var(--white); font-weight: 500; font-size: .95rem;
}
.towns li.is-hub { background: var(--stone); color: var(--paper); border-color: var(--stone); }
.area-map { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: center; }
.area-map svg { width: 100%; height: 100%; }
.area-map .ring { fill: none; stroke: var(--paper-line); stroke-width: 1; }
.area-map .ring--outer { stroke: var(--stone-dim); stroke-dasharray: 3 6; }
.area-map .town-dot { fill: var(--stone); }
.area-map .town-label { font-family: var(--f-body); font-size: 13px; font-weight: 600; fill: var(--stone); }
.area-map .hub-dot { fill: var(--gold); }
.area-map .hub-label { font-family: var(--f-display); font-size: 15px; font-weight: 700; fill: var(--ink); }
.area-map .radius-label { font-family: var(--f-body); font-size: 11.5px; font-weight: 500; fill: var(--stone-dim); letter-spacing: .04em; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 0.75fr 1.25fr; gap: var(--s-8); } .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.faq { border-top: 1px solid var(--paper-line); }
.faq details { border-bottom: 1px solid var(--paper-line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  min-height: 64px; padding: var(--s-4) 0; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-stretch: 108%; font-weight: 600; font-size: var(--step-1); line-height: 1.3;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-deep); }
.faq summary .plus { position: relative; width: 18px; height: 18px; flex: none; }
.faq summary .plus::before, .faq summary .plus::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px;
  background: currentColor; transition: transform .3s var(--ease-out);
}
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] summary .plus::after { transform: rotate(0deg); }
.faq__answer { padding: 0 0 var(--s-5); color: var(--stone-dim); max-width: 62ch; }
.faq__answer p + p { margin-top: .8em; }
.faq__answer a { color: var(--stone); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .faq__answer { animation: enter .45s var(--ease-out); }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--steel); position: relative; overflow: hidden; }
.cta-band__inner { display: grid; gap: var(--s-6); align-items: center; padding-block: clamp(4rem, 3rem + 4vw, 6.5rem); position: relative; z-index: 1; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.3fr auto; gap: var(--s-8); } }
.cta-band h2 { font-size: var(--step-4); color: var(--white); max-width: 15ch; }
.cta-band p { margin-top: var(--s-4); font-size: var(--step-1); max-width: 36rem; }
.cta-band__actions { display: grid; gap: var(--s-3); min-width: min(100%, 300px); }
.cta-band__line { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold) 15%, var(--gold) 85%, transparent); opacity: .85; }
.cta-band .hero__roof { top: auto; bottom: -45%; right: -12%; width: min(1000px, 100vw); }

/* Inline CTA (mid-page) */
.inline-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4) var(--s-6);
  margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--paper-line);
}
.inline-cta p { font-family: var(--f-display); font-stretch: 108%; font-weight: 600; font-size: var(--step-2); line-height: 1.2; max-width: 30ch; }
.inline-cta__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.section--dark .inline-cta { border-top-color: var(--char-line); }
.section--dark .inline-cta p { color: var(--white); }
@media (max-width: 600px) { .inline-cta__actions, .inline-cta__actions .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--steel-dim); border-top: 1px solid var(--char-line); font-size: .95rem; }
.footer__grid { display: grid; gap: var(--s-7); padding-block: var(--s-8) var(--s-7); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s-6); } }
.footer__brand p { margin-top: var(--s-4); max-width: 30ch; }
.site-footer h2 { font-size: .8rem; font-stretch: 115%; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: var(--s-4); }
.footer__list { list-style: none; display: grid; gap: var(--s-1); }
.footer__list a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; color: var(--steel-dim); transition: color .2s; }
.footer__list a:hover { color: var(--white); }
.footer__nap { font-style: normal; display: grid; gap: var(--s-2); }
.footer__nap a { color: var(--steel); text-decoration: none; font-weight: 600; display: inline-flex; min-height: 36px; align-items: center; }
.footer__nap a:hover { color: var(--white); text-decoration: underline; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3);
  padding-block: var(--s-5); border-top: 1px solid var(--char-line); font-size: .85rem;
}

/* ---------- Service pages ---------- */
.split { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
  .split--flip > :first-child { order: 2; }
}
.checklist { list-style: none; display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: .8em; align-items: baseline; }
.checklist .mark { --m: 0.62em; }
.offer-grid { display: grid; gap: var(--s-6) var(--s-5); }
@media (min-width: 720px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .offer-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.offer { scroll-margin-top: calc(var(--header-h) + 84px); display: grid; gap: var(--s-3); align-content: start; }
.offer .photo { --ar: 3 / 2; margin-bottom: var(--s-2); }
.offer h3 { font-size: var(--step-2); }
.offer p { color: var(--stone-dim); }
.offer .checklist { margin-top: var(--s-2); font-size: .97rem; }

.subnav { position: sticky; top: var(--header-h); z-index: 50; background: var(--paper-2); border-bottom: 1px solid var(--paper-line); }
.subnav ul { list-style: none; display: flex; gap: var(--s-2); overflow-x: auto; scrollbar-width: none; padding-block: var(--s-2); }
.subnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4); border-radius: 99px; text-decoration: none; font-weight: 500; font-size: .93rem; white-space: nowrap; color: var(--stone-dim); }
.subnav a:hover { background: var(--white); color: var(--stone); }

/* ---------- Filters (projects) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); }
.filter {
  min-height: 44px; padding: 0 var(--s-5); border-radius: 99px; cursor: pointer;
  border: 1px solid var(--paper-line); background: var(--white); color: var(--stone);
  font-weight: 600; font-size: .93rem;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--stone); }
.filter[aria-pressed="true"] { background: var(--stone); color: var(--paper); border-color: var(--stone); }
.filter-status { font-size: var(--step--1); color: var(--stone-dim); margin-bottom: var(--s-5); }

/* ---------- About ---------- */
.values { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--paper-line); }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { padding: var(--s-6) var(--s-5) var(--s-6) 0; border-bottom: 1px solid var(--paper-line); display: grid; gap: var(--s-3); align-content: start; }
@media (min-width: 900px) { .value { border-bottom: 0; } .value + .value { padding-left: var(--s-5); border-left: 1px solid var(--paper-line); } }
.value h3 { font-size: var(--step-2); display: flex; align-items: center; gap: .5em; }
.value p { color: var(--stone-dim); }
.creds { list-style: none; display: grid; gap: var(--s-3); }
@media (min-width: 720px) { .creds { grid-template-columns: repeat(2, 1fr); } }
.creds li { display: grid; gap: var(--s-1); padding: var(--s-5); border: 1px solid var(--paper-line); border-radius: var(--radius); background: var(--white); }
.creds li span:first-child { font-size: .85rem; color: var(--stone-dim); }

/* ---------- Estimate page ---------- */
.estimate { background: var(--paper); }
.estimate__grid { display: grid; gap: var(--s-7); padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) var(--section-y); }
@media (min-width: 1000px) {
  .estimate__grid { grid-template-columns: 1fr 1.15fr; grid-template-areas: "intro form" "after form"; column-gap: var(--s-8); row-gap: 0; align-items: start; }
  .estimate__intro { grid-area: intro; }
  .estimate__grid > .form-card { grid-area: form; position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .estimate__after { grid-area: after; }
}
.estimate__after .next-steps { margin-top: var(--s-6); }
.estimate__after > h2 { font-size: var(--step-2); margin-top: var(--s-6); }
.estimate__intro h1 { font-size: var(--step-4); color: var(--stone); }
.estimate__intro .lede { margin-top: var(--s-5); color: var(--stone-dim); max-width: 34rem; }
.expect {
  display: flex; align-items: center; gap: .75em; margin-top: var(--s-6);
  padding: var(--s-4) var(--s-5); border-radius: var(--radius); background: var(--white); border: 1px solid var(--paper-line);
  font-weight: 500;
}
.expect svg { width: 22px; height: 22px; color: var(--gold-deep); flex: none; }
.next-steps { list-style: none; display: grid; gap: 0; margin-top: var(--s-7); }
.next-steps li { display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--s-4); padding: var(--s-4) 0; border-top: 1px solid var(--paper-line); }
.next-steps li:last-child { border-bottom: 1px solid var(--paper-line); }
.next-steps .n { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; color: var(--gold-deep); font-size: 1.15rem; line-height: 1.5; }
.next-steps h3 { font-size: 1.05rem; font-stretch: 108%; line-height: 1.5; }
.next-steps p { color: var(--stone-dim); font-size: .95rem; margin-top: 2px; }
.call-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4);
  margin-top: var(--s-7); padding: var(--s-5) var(--s-6); border-radius: var(--radius-lg);
  background: var(--ink); color: var(--steel);
}
.call-card p { font-size: .95rem; }
.call-card strong { display: block; color: var(--white); font-family: var(--f-display); font-stretch: 110%; font-size: 1.15rem; }

.form-card {
  background: var(--white); border: 1px solid var(--paper-line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  box-shadow: var(--shadow-1);
  position: relative;
}
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--gold); }
.form-card h2 { font-size: var(--step-2); }
.form-card .form-intro { margin-top: var(--s-2); color: var(--stone-dim); font-size: .95rem; }
.form { display: grid; gap: var(--s-5); margin-top: var(--s-6); }
.form__row { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s-2); align-content: start; }
.field label, .field .label { font-weight: 600; font-size: .95rem; display: flex; justify-content: space-between; gap: var(--s-3); }
.field .opt { font-weight: 400; color: var(--stone-dim); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8em .95em;
  border: 1px solid #c8c0b0; border-radius: var(--radius);
  background: var(--paper); color: var(--stone); font-size: 1rem; /* 16px+ prevents iOS zoom */
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  caret-color: var(--gold-deep);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 2.6em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2322201d' stroke-width='1.6'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9em center; background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: #6f695f; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--stone-dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--stone); background: var(--white); box-shadow: 0 0 0 3px rgb(201 154 46 / 0.35); }
.field [aria-invalid="true"] { border-color: #a3341f; background: #fdf6f3; }
.field__hint { font-size: .85rem; color: var(--stone-dim); }
.field__error { display: none; align-items: center; gap: .4em; font-size: .88rem; font-weight: 600; color: #a3341f; }
.field__error.is-visible { display: flex; }
.field__error svg { width: 15px; height: 15px; flex: none; }
.form-alert {
  display: flex; align-items: flex-start; gap: .7em;
  padding: var(--s-4) var(--s-5);
  border: 1px solid rgb(163 52 31 / 0.35); border-radius: var(--radius);
  background: var(--error-bg); color: var(--error);
  font-size: .95rem; font-weight: 500; line-height: 1.45;
}
.form-alert svg { width: 20px; height: 20px; flex: none; margin-top: .1em; }
.form-alert strong { display: block; font-weight: 700; }
.form-alert a { color: inherit; font-weight: 700; }
.form-alert:focus { outline: none; }
.form-alert:focus-visible { outline: 2px solid var(--error); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .form-alert:not([hidden]) { animation: enter .35s var(--ease-out); }
}
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: grid; gap: var(--s-3); }
.form__fine { font-size: .85rem; color: var(--stone-dim); text-align: center; }
.form__fine a { color: var(--stone); font-weight: 600; }
.form-success { display: none; text-align: left; }
.form-card.is-sent .form, .form-card.is-sent .form-head { display: none; }
.form-card.is-sent .form-success { display: grid; gap: var(--s-4); }
.form-success__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold); }
.form-success__icon svg { width: 26px; height: 26px; }
.form-success h2 { font-size: var(--step-3); }
.form-success p { color: var(--stone-dim); }
@media (prefers-reduced-motion: no-preference) {
  .form-card.is-sent .form-success { animation: enter .6s var(--ease-out); }
}

/* ---------- Utility ---------- */
.stack-sm > * + * { margin-top: var(--s-3); }
.stack > * + * { margin-top: var(--s-5); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.center { text-align: center; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
