/* ==========================================================================
   Last Pass Detailing — styles
   Black and white. One typeface (Archivo) used at two widths:
   expanded for headings, standard for reading.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var.woff2") format("woff2-variations"),
       url("../assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --paper: #f3f3f3;        /* quote section background */
  --line: #d4d4d4;         /* hairlines on white */
  --ink-2: #4a4a4a;        /* secondary text on white (9:1) */
  --line-dark: #333333;    /* hairlines on black */
  --ink-2-dark: #b5b5b5;   /* secondary text on black (10:1) */
  --error: #b00020;        /* only used for form errors */

  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4.5vw, 48px);
  --header-h: 68px;
  --section-y: clamp(72px, 10vw, 128px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --fast: 180ms;

  color-scheme: light;
}

@view-transition { navigation: auto; }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

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

.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: 12px; top: -100px; z-index: 100;
  background: var(--black); color: var(--white);
  padding: 12px 16px; border-radius: var(--radius);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* Focus: visible everywhere, color follows the section */
:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 3px;
}
.hero :focus-visible,
.section-dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--white); }

/* ---------- Type ---------- */
.display {
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.012em;
  line-height: 1.02;
  text-wrap: balance;
}
.h2 { font-size: clamp(2rem, 4.6vw, 3.25rem); }

.section-head { max-width: 40rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: 1.125rem; }
.section-dark .section-head p { color: var(--ink-2-dark); }

/* ---------- Buttons ----------
   Hover is a quick "pass": a fill sweeps across left to right. */
.btn {
  --bg: var(--black); --fg: var(--white); --bd: var(--black);
  --sweep: var(--white); --sweep-fg: var(--black);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  background: var(--bg);
  color: var(--fg);
  border: 2px solid var(--bd);
  border-radius: var(--radius);
  font-weight: 650;
  font-stretch: 110%;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: .005em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: color var(--fast) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--sweep);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
@media (hover: hover) {
  .btn:hover { color: var(--sweep-fg); }
  .btn:hover::before { transform: scaleX(1); }
}
.btn:active { transform: translateY(1px); }

.btn-solid { /* defaults */ }
.btn-outline { --bg: transparent; --fg: var(--black); --sweep: var(--black); --sweep-fg: var(--white); }
.btn-light { --bg: var(--white); --fg: var(--black); --bd: var(--white); --sweep: var(--black); --sweep-fg: var(--white); }
.btn-light::before { box-shadow: inset 0 0 0 2px var(--white); }
.btn-outline-light { --bg: transparent; --fg: var(--white); --bd: var(--white); --sweep: var(--white); --sweep-fg: var(--black); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: .9375rem; }
.btn-block { width: 100%; }

.link-btn {
  background: none; border: 0; padding: 12px 0; min-height: 44px;
  text-decoration: underline; text-underline-offset: 3px;
  color: var(--ink-2); cursor: pointer; font-size: .9375rem;
}
.link-btn:hover { color: var(--black); }

/* ---------- Wordmark ---------- */
.brand {
  display: inline-flex; align-items: center;
  text-decoration: none; min-height: 44px;
}
.brand img {
  display: block;
  height: var(--logo-h, 44px);
  width: auto;
  max-width: none;   /* never squash: width always follows height */
  flex: none;
}
.site-header .brand img { --logo-h: 44px; }
.site-footer .brand img { --logo-h: 52px; }
@media (max-width: 599px) {
  .site-header .brand img { --logo-h: 40px; }
  .site-footer .brand img { --logo-h: 46px; }
}
@media (max-width: 359px) {
  .site-header .brand img { --logo-h: 36px; }
}
.wordmark { display: inline-grid; grid-template-columns: auto auto; column-gap: 8px; align-items: center; line-height: 1; }
.wm-mark {
  grid-row: 1 / span 2;
  width: 10px; height: 34px;
  background: currentColor;
  transform: skewX(-16deg);
}
.wm-name {
  font-stretch: 125%; font-weight: 850; font-size: 1.1875rem;
  letter-spacing: .01em; text-transform: uppercase;
}
.wm-sub {
  font-stretch: 100%; font-weight: 500; font-size: .8125rem;
  letter-spacing: .02em; color: var(--ink-2);
  margin-top: 3px;
}
.brand-dark .wm-sub { color: var(--ink-2-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--black);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
}
.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a:not(.btn) {
  position: relative;
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 12px;
  text-decoration: none; font-weight: 550; font-size: .9688rem;
}
.nav-list a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px;
  height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 200ms var(--ease);
}
.nav-list a:not(.btn):hover::after,
.nav-list a[aria-current="true"]::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }

.menu-toggle {
  display: none;
  align-items: center; gap: 10px;
  min-height: 44px; min-width: 44px;
  padding: 0 4px 0 10px;
  background: none; border: 0; cursor: pointer;
  font-weight: 600;
}
.menu-icon { position: relative; width: 22px; height: 12px; flex: none; }
.menu-icon span {
  position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform 200ms var(--ease), top 200ms var(--ease);
}
.menu-icon span:first-child { top: 0; }
.menu-icon span:last-child { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-icon span:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon span:last-child { top: 5px; transform: rotate(-45deg); }

@media (max-width: 959px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .primary-nav { margin-left: 0; }
  .nav-list {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--black);
    padding: 8px var(--gutter) 20px;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 0s linear 180ms;
  }
  .nav-list.is-open {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity 180ms var(--ease), transform 180ms var(--ease);
  }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list li.nav-cta-mobile { display: block; border: 0; padding-top: 16px; }
  .nav-list a:not(.btn) { display: flex; min-height: 56px; padding: 0; font-size: 1.125rem; }
  .nav-list a:not(.btn)::after { display: none; }
}
@media (max-width: 559px) {
  .header-inner { gap: 12px; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  padding-top: clamp(56px, 10vw, 128px);
  padding-bottom: clamp(32px, 5vw, 56px);
}
/* The one orchestrated moment: a single soft sheen passes across on load,
   like light along a freshly dried panel. Content is visible the whole time. */
.hero::after {
  content: "";
  position: absolute; top: -20%; bottom: -20%; left: 0;
  width: 40%;
  background: linear-gradient(100deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.04) 30%,
    rgba(255,255,255,.16) 50%,
    rgba(255,255,255,.04) 70%,
    rgba(255,255,255,0) 100%);
  transform: translateX(-140%) skewX(-18deg);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero::after { animation: pass 1.1s 120ms var(--ease) forwards; }
}
@keyframes pass { to { transform: translateX(330%) skewX(-18deg); } }

.hero-inner { position: relative; z-index: 1; }
.hero-title {
  font-size: clamp(2.375rem, 7.4vw, 6.25rem);
  max-width: 12.5ch;
}
.hero-lede {
  margin-top: clamp(20px, 3vw, 32px);
  max-width: 36rem;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--ink-2-dark);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-call { margin-top: 20px; color: var(--ink-2-dark); font-size: .9688rem; }
.hero-call a { color: var(--white); font-weight: 600; text-underline-offset: 3px; }

.hero-prices {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(56px, 9vw, 112px);
  border-top: 1px solid var(--line-dark);
}
.hero-prices > div { padding: 20px 20px 4px 0; }
.hero-prices > div + div { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.hero-prices dt { font-size: .9375rem; color: var(--ink-2-dark); }
.hero-prices dd { margin-top: 4px; font-stretch: 125%; font-weight: 750; font-size: clamp(1.25rem, 2.4vw, 1.875rem); line-height: 1.15; }
.hero-note { position: relative; z-index: 1; margin-top: 16px; font-size: .875rem; color: var(--ink-2-dark); }

@media (max-width: 599px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-prices { grid-template-columns: 1fr; }
  .hero-prices > div { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .hero-prices > div + div { padding-left: 0; border-left: 0; }
  .hero-prices dd { margin: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-rule { border-top: 1px solid var(--line); padding-top: var(--section-y); }
.section-dark { background: var(--black); color: var(--white); }
.section-paper { background: var(--paper); }
#services + .section-rule { padding-top: calc(var(--section-y) * .85); }

/* Requirement notice */
.notice {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 20px;
  border: 1.5px solid var(--black);
  border-radius: var(--radius);
  font-weight: 550;
  max-width: 48rem;
}
.notice-icon { width: 24px; height: 24px; flex: none; margin-top: 1px; }
.notice-dark { border-color: var(--white); }

/* Size picker */
.size-picker { border: 0; padding: 0; margin: 32px 0 24px; min-width: 0; }
.size-picker legend { padding: 0; margin-bottom: 10px; font-weight: 600; font-size: .9375rem; }
.segmented {
  display: inline-flex; flex-wrap: wrap;
  border: 1.5px solid var(--black); border-radius: var(--radius);
  padding: 3px; gap: 3px;
  max-width: 100%;
}
.segmented label { position: relative; flex: 1 1 auto; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 8px 18px;
  border-radius: 2px;
  font-weight: 600; font-size: .9688rem; white-space: nowrap;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.segmented input:checked + span { background: var(--black); color: var(--white); }
.segmented input:not(:checked):hover + span { background: var(--paper); }
.segmented input:focus-visible + span { outline: 3px solid var(--black); outline-offset: 2px; }

/* Packages */
.packages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.pkg {
  display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  border: 1.5px solid var(--black);
  background: var(--white);
  transition: transform 220ms var(--ease);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .pkg:hover { transform: translateY(-3px); }
}
.pkg--featured { background: var(--black); color: var(--white); }
.pkg h3 { font-stretch: 125%; font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.pkg-summary { margin-top: 10px; color: var(--ink-2); min-height: 3.2em; }
.pkg--featured .pkg-summary { color: var(--ink-2-dark); }

.pkg-prices { width: 100%; border-collapse: collapse; margin-top: 24px; }
.pkg-prices th, .pkg-prices td {
  padding: 12px 10px; border-top: 1px solid var(--line);
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.pkg-prices tr:last-child th, .pkg-prices tr:last-child td { border-bottom: 1px solid var(--line); }
.pkg--featured .pkg-prices th, .pkg--featured .pkg-prices td { border-color: var(--line-dark); }
.pkg-prices th { text-align: left; font-weight: 500; font-size: .9688rem; }
.pkg-prices td { text-align: right; font-stretch: 125%; font-weight: 750; font-size: 1.375rem; white-space: nowrap; }
.pkg-prices tr.is-active th, .pkg-prices tr.is-active td { background: var(--black); color: var(--white); border-color: var(--black); }
.pkg--featured .pkg-prices tr.is-active th, .pkg--featured .pkg-prices tr.is-active td { background: var(--white); color: var(--black); border-color: var(--white); }
.pkg-prices tr.is-active th { font-weight: 650; }

.pkg h4 { margin-top: 28px; font-size: .9375rem; font-weight: 650; }
.checks { margin-top: 12px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; line-height: 1.45; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: .32em;
  width: 13px; height: 7px;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}
.pkg .btn { margin-top: auto; }
.pkg .pkg-cta { padding-top: 32px; margin-top: auto; }

.fineprint { margin-top: 20px; font-size: .9375rem; color: var(--ink-2); }

@media (max-width: 899px) {
  .packages { grid-template-columns: 1fr; max-width: 34rem; }
  .pkg-summary { min-height: 0; }
}
@media (max-width: 479px) {
  .segmented { display: flex; flex-direction: column; width: 100%; }
}

/* Add-ons */
.addons-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px); align-items: start;
}
.addons-intro p { margin-top: 16px; color: var(--ink-2); max-width: 32rem; }
.addons-list { border-top: 1.5px solid var(--black); }
.addon {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 24px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.addon h3 { font-size: 1.1875rem; font-weight: 650; line-height: 1.3; }
.addon p { grid-column: 1; color: var(--ink-2); font-size: .9688rem; }
.addon .addon-price { grid-column: 2; grid-row: 1 / span 2; align-self: start; text-align: right; white-space: nowrap; }
.addon-price small { display: block; font-size: .8125rem; color: var(--ink-2); font-weight: 500; }
.addon-price strong { font-stretch: 125%; font-weight: 750; font-size: 1.375rem; line-height: 1.2; }
@media (max-width: 799px) {
  .addons-grid { grid-template-columns: 1fr; }
}

/* Booking steps (a real sequence, so numbered) */
.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  counter-reset: step;
}
.steps li { counter-increment: step; border-top: 1.5px solid var(--white); padding-top: 20px; }
.steps li::before {
  content: counter(step);
  display: block;
  font-stretch: 125%; font-weight: 800;
  font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1;
  margin-bottom: 20px;
}
.steps h3 { font-size: 1.25rem; font-weight: 650; line-height: 1.3; }
.steps p { margin-top: 8px; color: var(--ink-2-dark); }
.booking-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px; margin-top: clamp(40px, 6vw, 72px);
}
@media (max-width: 799px) {
  .steps { grid-template-columns: 1fr; }
  .booking-foot .btn { width: 100%; }
}

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); }
.gallery-grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); max-width: 56rem; }
@media (max-width: 799px) { .gallery-grid { grid-template-columns: 1fr; } }
.ba { --pos: 50%; }
.ba-frame {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper);
  border: 1.5px solid var(--black);
  user-select: none; touch-action: pan-y;
}
.ba-frame img, .ba-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 2px; margin-left: -1px; background: var(--white);
  box-shadow: 0 0 0 1px rgba(0,0,0,.35);
  pointer-events: none;
}
.ba-handle::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border-radius: 50%;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6 3 12l6 6M15 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 0 0 1.5px var(--black);
}
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: ew-resize;
}
.ba-frame:has(.ba-range:focus-visible) { outline: 3px solid var(--black); outline-offset: 3px; }
.ba-tag {
  position: absolute; top: 12px; z-index: 2;
  padding: 4px 10px; border-radius: 2px;
  background: var(--black); color: var(--white);
  font-size: .8125rem; font-weight: 600;
  pointer-events: none;
}
.ba-tag-before { left: 12px; }
.ba-tag-after { right: 12px; background: var(--white); color: var(--black); box-shadow: 0 0 0 1px var(--black); }
.ba figcaption { margin-top: 12px; font-weight: 550; }
.ba-ph { display: grid; place-items: center; color: var(--ink-2); font-weight: 600; text-align: center; padding: 16px; }
.ba-ph-before { background: #e4e4e4; place-items: center start; padding-left: 10%; }
.ba-ph-after { background: #fafafa; place-items: center end; padding-right: 10%; }

/* ---------- Quote builder ---------- */
.quote-layout {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 56px); align-items: start;
}
.quote-form {
  background: var(--white);
  border: 1.5px solid var(--black);
  padding: clamp(20px, 3.5vw, 40px);
  display: grid; gap: 22px;
}
.form-legend-note { font-size: .875rem; color: var(--ink-2); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field-group legend { font-weight: 600; font-size: .9688rem; }
.field-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.field-group legend { padding: 0; margin-bottom: 10px; }
.field-group .field label { font-weight: 500; font-size: .875rem; color: var(--ink-2); }
.req { color: var(--black); }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
.row-3 { display: grid; grid-template-columns: 1fr 1.4fr 1.4fr; gap: 12px; }
@media (max-width: 599px) {
  .row-2 { grid-template-columns: 1fr; }
  .row-3 { grid-template-columns: 1fr 1fr; }
  .row-3 .field:first-child { grid-column: 1 / -1; max-width: 50%; }
}

input[type="text"], input[type="date"], select, textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  background: var(--white);
  border: 1.5px solid #8a8a8a;
  border-radius: var(--radius);
  font-size: 1rem; /* 16px avoids iOS zoom */
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
input[type="date"] { -webkit-appearance: none; appearance: none; }
input::placeholder, textarea::placeholder { color: #757575; }
input:hover, select:hover, textarea:hover { border-color: var(--black); }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none; border-color: var(--black); box-shadow: 0 0 0 2px var(--black);
}
textarea { resize: vertical; line-height: 1.5; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%;
  width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--black); border-bottom: 2px solid var(--black);
  transform: rotate(45deg); pointer-events: none;
}
[aria-invalid="true"] { border-color: var(--error) !important; }
[aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 2px var(--error) !important; }
.field-error { color: var(--error); font-size: .875rem; font-weight: 600; }
.field-error:empty { display: none; }
.field-hint { font-size: .875rem; color: var(--ink-2); }

.field.flash .select select { animation: flash 900ms var(--ease); }
@keyframes flash { 0%, 40% { box-shadow: 0 0 0 4px var(--black); } 100% { box-shadow: 0 0 0 0 transparent; } }

/* Checkboxes */
.checks-row { display: flex; flex-wrap: wrap; gap: 10px; }
.check {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 10px 14px;
  border: 1.5px solid #8a8a8a; border-radius: var(--radius);
  cursor: pointer; font-size: .9688rem; line-height: 1.35;
  transition: border-color var(--fast) var(--ease), background-color var(--fast) var(--ease);
}
.check:hover { border-color: var(--black); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box {
  flex: none; width: 20px; height: 20px;
  border: 1.5px solid var(--black); border-radius: 2px;
  position: relative; background: var(--white);
}
.check input:checked ~ .check-box { background: var(--black); }
.check input:checked ~ .check-box::after {
  content: ""; position: absolute; left: 5px; top: 1px;
  width: 6px; height: 11px;
  border-right: 2px solid var(--white); border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
}
.check:has(input:checked) { border-color: var(--black); background: var(--paper); }
.check:has(input:focus-visible) { outline: 3px solid var(--black); outline-offset: 2px; }
.check-lg { align-items: flex-start; padding: 16px; font-weight: 550; }
.check-lg .check-box { margin-top: 1px; }
.check:has([aria-invalid="true"]) { border-color: var(--error); }
.field-confirm { gap: 8px; }
#q-clear { justify-self: start; }

/* Quote panel */
.quote-panel { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.estimate { background: var(--black); color: var(--white); padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); }
.estimate-label { font-size: .9375rem; font-weight: 600; color: var(--ink-2-dark); }
.estimate-price { margin-top: 6px; font-stretch: 125%; font-weight: 800; font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1; }
.estimate-for { margin-top: 10px; font-weight: 550; }
.estimate-addons { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-dark); display: grid; gap: 6px; font-size: .9375rem; }
.estimate-addons li { display: flex; justify-content: space-between; gap: 16px; }
.estimate-addons li:first-child { color: var(--ink-2-dark); }
.estimate-note { margin-top: 16px; font-size: .875rem; color: var(--ink-2-dark); line-height: 1.5; }

.quote-actions { display: grid; gap: 10px; }
.quote-status { font-weight: 600; font-size: .9688rem; }
.quote-status:empty { display: none; }
.quote-status {
  padding: 14px 16px; border-left: 3px solid var(--black); background: var(--white);
}
.photo-reminder { font-size: .9375rem; color: var(--ink-2); }
.photo-reminder a { color: var(--black); font-weight: 600; white-space: nowrap; }

.form-errors {
  padding: 14px 16px; background: var(--white);
  border: 1.5px solid var(--error); border-radius: var(--radius);
  color: var(--error); font-size: .9375rem;
}
.form-errors:focus { outline: none; }
.form-errors p { font-weight: 650; }
.form-errors ul { margin-top: 6px; list-style: disc; padding-left: 20px; }
.form-errors a { color: var(--error); font-weight: 600; }

.preview summary {
  cursor: pointer; font-weight: 600; font-size: .9375rem;
  min-height: 44px; display: flex; align-items: center;
  text-decoration: underline; text-underline-offset: 3px;
}
.preview textarea { margin-top: 8px; font-size: .9375rem; background: var(--white); color: var(--black); }

@media (max-width: 899px) {
  .quote-layout { grid-template-columns: 1fr; }
  .quote-panel { position: static; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 799px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .section-head { margin-bottom: 8px; } }
.faq-list { border-top: 1.5px solid var(--black); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  list-style: none; cursor: pointer;
  display: flex; align-items: center;
  min-height: 64px; padding: 16px 48px 16px 0;
  font-weight: 650; font-size: 1.125rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 16px; height: 2px; background: var(--black);
  transition: transform 200ms var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq[open] summary::after { transform: rotate(0deg); }
.faq summary:focus-visible { outline-offset: -3px; }
.faq-body { padding: 0 48px 22px 0; color: var(--ink-2); max-width: 42rem; }
@media (prefers-reduced-motion: no-preference) {
  .faq[open] .faq-body { animation: open 220ms var(--ease); }
}
@keyframes open { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
@media (max-width: 799px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-lede { margin-top: 16px; color: var(--ink-2-dark); font-size: 1.125rem; max-width: 34rem; }
.contact-phone {
  display: inline-block; margin-top: 32px;
  font-size: clamp(2rem, 9vw, 4.25rem);
  white-space: nowrap;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 3px no-repeat;
  transition: background-size 260ms var(--ease);
  padding-bottom: 6px;
}
.contact-phone:hover { background-size: 100% 3px; }
.contact-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.contact-actions .btn { min-width: 140px; }
.social-list { border-top: 1.5px solid var(--white); }
.social-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  min-height: 72px; padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
  text-decoration: none;
  transition: padding var(--fast) var(--ease);
}
.social-name { font-stretch: 125%; font-weight: 750; font-size: 1.375rem; }
.social-handle { color: var(--ink-2-dark); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .social-list a:hover { padding-left: 8px; }
}
.social-list a:hover .social-handle { color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--white); border-top: 1px solid var(--line-dark); padding-block: 48px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; }
.footer-brand p { margin-top: 12px; color: var(--ink-2-dark); font-size: .9375rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; justify-content: flex-end; }
.footer-links a { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; text-decoration: none; font-weight: 550; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .875rem; color: var(--ink-2-dark); }
@media (max-width: 699px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; flex-direction: column; align-items: flex-start; }
}

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 899px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: 1fr auto; gap: 8px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--black);
    transform: translateY(110%);
    transition: transform 220ms var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn { min-height: 48px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* ---------- Scroll reveal ----------
   Only applied when JS is running and the visitor hasn't asked for
   reduced motion. Quick, small, and never hides content otherwise. */
.motion [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms var(--ease) var(--d, 0ms), transform 420ms var(--ease) var(--d, 0ms);
}
.motion [data-reveal].is-in { opacity: 1; transform: none; }

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

@media print {
  .site-header, .mobile-bar, .hero::after, .quote-actions, .menu-toggle { display: none !important; }
}
