/* =========================================================
   JL Cabinets & Services — styles
   Navy + brass gold, Playfair Display headings over Jost text.
   ========================================================= */

:root {
  --navy-950: #0A1628;
  --navy-900: #0F1D33;
  --navy-800: #16284A;
  --navy-700: #1E3560;
  --gold: #C9A45C;
  --gold-bright: #DDBF82;
  --gold-deep: #7A5C22;
  --paper: #F4F4F0;
  --white: #FFFFFF;
  --ink: #121E33;
  --ink-muted: #4A5568;
  --on-dark: #EEF0F3;
  --on-dark-muted: #A9B4C6;
  --line-light: #D6D9DE;
  --line-dark: rgba(221, 191, 130, 0.22);
  --error: #B42318;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.4vw, 4.25rem);
  --step-hero: clamp(3.1rem, 1.2rem + 7.6vw, 8.25rem);

  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(80px, 11vw, 160px);
  --header-h: 76px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur: 420ms;
  --dur-slow: 900ms;

  --z-header: 40;
  --z-callbar: 30;
  --z-menu: 50;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  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: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--navy-950); padding: 10px 16px; text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section-dark { background: var(--navy-900); color: var(--on-dark); }

.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Type ---------- */
.section-title, .intro-title, .hero-title, .contact-phone {
  font-family: var(--font-display);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.section-title { font-size: var(--step-4); line-height: 1.04; }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(48px, 7vw, 88px); max-width: 44rem; }
.section-head-split { max-width: none; }
.section-sub { font-size: var(--step-1); line-height: 1.55; max-width: 36rem; color: var(--ink-muted); font-weight: 300; }
.section-dark .section-sub { color: var(--on-dark-muted); }

@media (min-width: 1024px) {
  .section-head-split { grid-template-columns: 1.2fr 1fr; align-items: end; }
  .section-head-split .section-sub { justify-self: end; }
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border: 1px solid transparent; border-radius: 2px;
  font-size: 1rem; font-weight: 500; letter-spacing: 0.02em; line-height: 1;
  text-decoration: none; white-space: nowrap;
  touch-action: manipulation;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.btn:active { transform: scale(0.98); }
.btn-gold { background: var(--gold); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-bright); }
.btn-ghost { border-color: rgba(238, 240, 243, 0.45); color: var(--on-dark); background: rgba(10, 22, 40, 0.15); }
.btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.95rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-block; font-weight: 500; color: var(--gold-deep); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 4px; transition: background-size var(--dur) var(--ease-out);
}
.text-link:hover { background-size: 40% 1px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  color: var(--on-dark);
  transition: background-color var(--dur) ease, box-shadow var(--dur) ease, transform var(--dur) var(--ease-out);
}
.site-header.is-scrolled { background: rgba(10, 22, 40, 0.92); box-shadow: 0 1px 0 var(--line-dark); }
@supports (backdrop-filter: blur(1px)) {
  .site-header.is-scrolled { background: rgba(10, 22, 40, 0.78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 50px; height: 50px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; letter-spacing: 0.01em; line-height: 1.1; white-space: nowrap; }
/* Full name is ~10.5em wide; on very small phones shrink it so it clears the logo and menu button. */
@media (max-width: 400px) {
  .brand-name { font-size: min(1.2rem, calc((100vw - 2 * var(--gutter) - 50px - 12px - 48px - 16px) / 10.6)); }
}

.primary-nav { display: none; }
.primary-nav ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  font-size: 0.98rem; text-decoration: none; padding: 8px 0; position: relative; color: var(--on-dark);
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform var(--dur) var(--ease-out);
}
.primary-nav a:hover::after, .primary-nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone { display: none; align-items: center; gap: 8px; text-decoration: none; font-size: 0.98rem; font-variant-numeric: tabular-nums; }
.header-phone:hover { color: var(--gold-bright); }
.header-cta { display: none; }

.menu-toggle {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: none; border: 1px solid rgba(238, 240, 243, 0.3); border-radius: 2px; color: var(--on-dark);
}
.menu-bars, .menu-bars::before, .menu-bars::after {
  display: block; width: 20px; height: 1.5px; background: currentColor; position: relative;
  transition: transform var(--dur) var(--ease-out), background-color var(--dur-fast);
}
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: var(--z-menu);
  background: var(--navy-950); color: var(--on-dark); padding: 32px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu nav a {
  display: block; padding: 18px 0; font-family: var(--font-display); font-size: 2rem; text-decoration: none;
}
.mobile-menu-foot { display: grid; gap: 12px; margin-top: 32px; }
.mobile-menu.is-open nav li { animation: menu-in 500ms var(--ease-out) both; }
.mobile-menu.is-open nav li:nth-child(2) { animation-delay: 40ms; }
.mobile-menu.is-open nav li:nth-child(3) { animation-delay: 80ms; }
.mobile-menu.is-open nav li:nth-child(4) { animation-delay: 120ms; }
.mobile-menu.is-open nav li:nth-child(5) { animation-delay: 160ms; }
@keyframes menu-in { from { opacity: 0; transform: translateY(12px); } }

@media (min-width: 768px) {
  .header-cta { display: inline-flex; }
}
@media (min-width: 1100px) {
  .primary-nav { display: block; }
  .header-phone { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
  .brand { margin-right: 0; }
  .primary-nav { margin-inline: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--on-dark); background: var(--navy-950); overflow: hidden; isolation: isolate;
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -3; }
.hero-media img { object-fit: cover; object-position: 50% 45%; }
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(10, 22, 40, 0.55) 0%, rgba(10, 22, 40, 0) 22%),
    linear-gradient(0deg, rgba(10, 22, 40, 0.96) 0%, rgba(10, 22, 40, 0.55) 45%, rgba(10, 22, 40, 0.15) 100%),
    linear-gradient(90deg, rgba(15, 29, 51, 0.7) 0%, rgba(15, 29, 51, 0) 65%);
}
.hero-diamond {
  position: absolute; z-index: -1;
  width: min(118vw, 1100px); aspect-ratio: 1;
  right: max(-40vw, -420px); top: 50%; translate: 0 -46%;
  fill: none; stroke: var(--gold); pointer-events: none;
}
.hero-diamond path { stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0.55; }
.hero-diamond path + path { opacity: 0.28; }

.hero-content { padding-top: calc(var(--header-h) + 48px); padding-bottom: 32px; }
.hero-kicker {
  display: flex; align-items: center; gap: 12px;
  font-size: 1rem; color: var(--gold-bright); margin-bottom: 24px; letter-spacing: 0.01em;
  white-space: nowrap;
}
/* Phones: the line is ~22.8em wide plus the diamond, so scale it to the screen to keep it on one row. */
@media (max-width: 480px) {
  .hero-kicker { gap: 10px; letter-spacing: 0; font-size: min(1rem, calc((100vw - 2 * var(--gutter) - 20px) / 22.9)); }
}
.hero-kicker::before { content: ""; width: 8px; height: 8px; border: 1px solid currentColor; transform: rotate(45deg); flex: none; }
/* Each line is ~7.25em wide in Playfair; 12vw keeps both lines on one row each, even at 320px. */
.hero-title { font-size: min(var(--step-hero), 12vw); line-height: 1.02; letter-spacing: -0.015em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .line > span { display: inline-block; white-space: nowrap; }
.hero-lede { margin-top: 28px; font-size: var(--step-1); font-weight: 300; line-height: 1.55; max-width: 34rem; color: #D7DCE4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 32px;
  padding-top: 20px; padding-bottom: 28px; margin-top: 8px;
  list-style: none; font-size: 0.95rem; color: var(--on-dark-muted);
  border-top: 1px solid var(--line-dark);
}
.hero-trust li { display: flex; align-items: center; gap: 10px; }
.hero-trust li::before { content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); flex: none; }
@media (min-width: 768px) {
  .hero-trust { border-top: 0; position: relative; }
  .hero-trust::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line-dark); }
}

.hero-card { display: none; }
@media (min-width: 1100px) {
  .hero-card {
    position: absolute; right: var(--gutter); bottom: 108px;
    display: flex; align-items: center; gap: 16px; padding: 10px 22px 10px 10px;
    background: rgba(10, 22, 40, 0.55); border: 1px solid var(--line-dark);
    text-decoration: none; color: var(--on-dark);
    transition: border-color var(--dur) ease, background-color var(--dur) ease;
  }
  @supports (backdrop-filter: blur(1px)) {
    .hero-card { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  }
  .hero-card:hover { border-color: var(--gold); background: rgba(10, 22, 40, 0.75); }
  .hero-card img { width: 120px; height: 80px; object-fit: cover; }
  .hero-card-text { display: grid; gap: 2px; }
  .hero-card-label { font-size: 0.8rem; color: var(--gold-bright); }
  .hero-card-title { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; line-height: 1.2; }
  .hero-card-meta { font-size: 0.85rem; color: var(--on-dark-muted); }
}

/* ---------- Intro ---------- */
.intro-grid { display: grid; gap: 48px; }
.intro-copy { display: grid; gap: 28px; align-content: start; }
.intro-title { font-size: var(--step-3); line-height: 1.12; max-width: 20ch; }
.intro-copy p { max-width: 36rem; color: var(--ink-muted); }
.intro-figure { position: relative; }
.intro-photo { overflow: hidden; }
.intro-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.intro-figure::after {
  content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--gold); z-index: -1;
}
.intro-figure { isolation: isolate; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); }
.stat { padding: 24px 12px 0 0; display: flex; flex-direction: column-reverse; gap: 4px; }
.stat + .stat { padding-left: clamp(12px, 3vw, 32px); border-left: 1px solid var(--line-light); }
.stat dd { font-family: var(--font-display); font-size: clamp(2.2rem, 1.5rem + 3vw, 3.75rem); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.stat dt { font-size: var(--step--1); color: var(--ink-muted); }

@media (min-width: 1024px) {
  .intro-grid { grid-template-columns: 7fr 5fr; column-gap: clamp(48px, 7vw, 120px); row-gap: 72px; }
  .intro-copy { padding-top: 24px; }
  .intro-figure { grid-row: span 2; }
  .stats { align-self: end; }
}

/* ---------- Services ---------- */
.services-layout { display: grid; gap: 48px; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); counter-reset: svc; }
.service { border-bottom: 1px solid var(--line-dark); }
.service-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 0; background: none; border: 0; text-align: left; color: var(--on-dark);
}
.service-name { font-weight: 500;
  font-family: var(--font-display); font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); line-height: 1.1;
  transition: color var(--dur) ease, transform var(--dur) var(--ease-out);
}
.service-chev { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; transition: transform var(--dur) var(--ease-out), color var(--dur); color: var(--on-dark-muted); }
.service-trigger:hover .service-name { color: var(--gold-bright); }
.service.is-active .service-name { color: var(--gold-bright); }
.service.is-active .service-chev { color: var(--gold); transform: rotate(90deg); }

.service-panel {
  display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows var(--dur) var(--ease-out), opacity var(--dur) ease;
}
.service-panel-inner { min-height: 0; overflow: hidden; }
.service.is-active .service-panel { grid-template-rows: 1fr; opacity: 1; }
.service-panel p { color: var(--on-dark-muted); max-width: 34rem; padding-bottom: 28px; }
.service-thumb { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; margin-bottom: 20px; }

.service-stage { display: none; }

@media (min-width: 1024px) {
  .services-layout { grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 7vw, 112px); align-items: start; }
  .service-thumb { display: none; }
  .service-stage {
    display: block; position: sticky; top: calc(var(--header-h) + 32px);
    aspect-ratio: 11 / 13; overflow: hidden; background: var(--navy-800);
  }
  .service-stage img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transform: scale(1.06);
    transition: opacity 700ms ease, transform 1400ms var(--ease-out);
  }
  .service-stage img.is-active { opacity: 1; transform: scale(1); }
  .service-stage::after {
    content: ""; position: absolute; inset: 18px; border: 1px solid rgba(221, 191, 130, 0.45); pointer-events: none;
  }
}

/* ---------- Work ---------- */
.work-grid { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.work-open {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--navy-800);
  overflow: hidden; text-align: left; color: var(--on-dark);
}
.work-open img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.work-open:hover img { transform: scale(1.045); }
.work-caption {
  position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: end; gap: 12px;
  padding: 48px 20px 18px; background: linear-gradient(0deg, rgba(10, 22, 40, 0.85), rgba(10, 22, 40, 0));
}
.work-place { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; line-height: 1.15; }
.work-type { font-size: 0.9rem; color: #D7DCE4; text-align: right; }

@media (min-width: 640px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-a, .work-e { grid-column: 1 / -1; }
  .work-a .work-open img, .work-e .work-open img { aspect-ratio: 16 / 9; }
  .work-b .work-open img, .work-c .work-open img, .work-d .work-open img { aspect-ratio: 4 / 5; }
  .work-d { grid-column: 1 / -1; }
  .work-d .work-open img { aspect-ratio: 16 / 9; }
}
@media (min-width: 1024px) {
  .work-grid { grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .work-a { grid-column: 1 / 8; }
  .work-b { grid-column: 8 / 13; }
  .work-c { grid-column: 1 / 4; }
  .work-d { grid-column: 4 / 7; }
  .work-e { grid-column: 7 / 13; }
  .work-a .work-open img, .work-e .work-open img { aspect-ratio: 3 / 2; }
  .work-b .work-open img, .work-c .work-open img, .work-d .work-open img { aspect-ratio: auto; }
  .work-d .work-open img { aspect-ratio: auto; }
  .work-b, .work-c, .work-d { position: relative; }
  .work-b .work-open, .work-c .work-open, .work-d .work-open { position: absolute; inset: 0; }
}

.lightbox {
  width: min(1200px, 100vw - 32px); max-height: calc(100vh - 32px); padding: 0; border: 0; background: transparent; color: var(--on-dark); overflow: visible;
}
.lightbox::backdrop { background: rgba(10, 22, 40, 0.92); }
.lightbox[open] { animation: lb-in 380ms var(--ease-out); }
.lightbox[open]::backdrop { animation: fade-in 300ms ease; }
.lightbox figure { display: grid; gap: 12px; }
.lightbox img { width: 100%; max-height: calc(100vh - 120px); object-fit: contain; background: var(--navy-950); }
.lightbox figcaption { font-family: var(--font-display); font-size: 1.25rem; }
.lightbox-close {
  position: absolute; top: -8px; right: -8px; translate: 0 -100%; width: 48px; height: 48px;
  display: grid; place-items: center; background: var(--gold); color: var(--navy-950); border: 0; border-radius: 2px;
}
.lightbox-close .icon { width: 22px; height: 22px; }
@media (max-width: 639px) { .lightbox-close { translate: 0 -100%; right: 0; top: -4px; } .lightbox { margin-top: 72px; } }
@keyframes lb-in { from { opacity: 0; transform: scale(0.97); } }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- Process ---------- */
.process { background: var(--navy-950); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.step { position: relative; padding-top: 28px; }
.step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-dark);
}
.step::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--gold);
  transform: scaleX(var(--line, 1)); transform-origin: left;
}
.step-num { display: block; font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--gold); margin-bottom: 20px; }
.step h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--step-2); line-height: 1.15; margin-bottom: 12px; }
.step p { color: var(--on-dark-muted); max-width: 30rem; }
@media (min-width: 768px) { .steps { grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 56px; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); column-gap: 32px; } }

/* ---------- Reviews ---------- */
.reviews .section-title { margin-bottom: clamp(48px, 7vw, 80px); max-width: 16ch; }
.reviews-grid { display: grid; gap: 20px; }
.review {
  display: flex; flex-direction: column; gap: 20px; padding: clamp(28px, 4vw, 44px);
  background: var(--white); border: 1px solid var(--line-light);
}
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { font-size: 1.125rem; line-height: 1.6; }
.review-featured { background: var(--navy-900); color: var(--on-dark); border-color: var(--navy-900); }
.review-featured blockquote p {
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.3;
}
.review figcaption { font-size: 0.95rem; color: var(--ink-muted); display: grid; }
.review figcaption strong { font-weight: 500; color: var(--ink); font-size: 1rem; }
.review-featured figcaption { color: var(--on-dark-muted); }
.review-featured figcaption strong { color: var(--on-dark); }
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.review:not(.review-featured) .stars { color: #A57F36; }
@media (min-width: 1024px) {
  .reviews-grid { grid-template-columns: 1.5fr 1fr; grid-template-rows: auto auto; }
  .review-featured { grid-row: span 2; justify-content: space-between; }
}

/* ---------- Service area ---------- */
.area { background: var(--navy-800); padding-block: clamp(72px, 9vw, 128px); }
.area-inner { display: grid; gap: 36px; }
.area .section-title { font-size: var(--step-3); max-width: 18ch; }
.area-list {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 0;
  font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 500; line-height: 1.4;
}
.area-list li { display: inline-flex; align-items: center; }
.area-list li:not(:last-child)::after {
  content: ""; width: 6px; height: 6px; margin-inline: clamp(12px, 2vw, 22px); border: 1px solid var(--gold); transform: rotate(45deg);
}
.area-note { color: var(--on-dark-muted); max-width: 40rem; }
@media (min-width: 1024px) {
  .area-inner { grid-template-columns: 5fr 7fr; column-gap: 80px; align-items: start; }
  .area-note { grid-column: 2; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 56px; }
.contact-info { display: grid; gap: 24px; align-content: start; }
.contact-info > p { color: var(--ink-muted); max-width: 30rem; }
.contact-phone {
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3.5rem); font-weight: 500; line-height: 1; text-decoration: none; color: var(--ink);
  font-variant-numeric: lining-nums; justify-self: start;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat; padding-bottom: 8px;
  transition: background-size var(--dur) var(--ease-out);
}
.contact-phone:hover { background-size: 100% 2px; }
.contact-details { display: grid; gap: 0; margin-top: 12px; border-top: 1px solid var(--line-light); }
.contact-details > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.contact-details dt { color: var(--ink-muted); font-size: 0.95rem; }

.estimate-form {
  position: relative; display: grid; gap: 20px; padding: clamp(24px, 4vw, 48px);
  background: var(--white); border: 1px solid var(--line-light);
}
.field-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: 0.95rem; font-weight: 500; }
.req { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font-size: 1rem;
  background: var(--paper); border: 1px solid #C3C9D2; border-radius: 2px; color: var(--ink);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background-color var(--dur-fast);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #707B8C; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-700); background: var(--white); box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.45);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 0.9rem; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); pointer-events: none;
}
.form-note { font-size: 0.9rem; color: var(--ink-muted); }
.form-send-error { font-size: 0.95rem; color: var(--error); border-left: 3px solid var(--error); background: #FDF1F0; padding: 12px 14px; }
.form-send-error[hidden] { display: none; }
.form-send-error a { color: inherit; font-weight: 500; }
.form-error-summary, .field input, .field select, .field textarea { scroll-margin-top: calc(var(--header-h) + 24px); scroll-margin-bottom: 96px; }
.form-error-summary { border-left: 3px solid var(--error); background: #FDF1F0; padding: 14px 16px; color: #7A1A12; }
.form-error-summary ul { margin: 6px 0 0; padding-left: 20px; }
.form-error-summary a { color: inherit; }
.form-error-summary:focus { outline: 2px solid var(--error); outline-offset: 2px; }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.btn[aria-busy="true"] .btn-label::after { content: "…"; }

.form-success {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 32px;
  background: var(--white); text-align: left; animation: fade-in 400ms ease;
}
.form-success[hidden] { display: none; }
.form-success .icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--navy-900); color: var(--gold-bright); stroke-width: 2.25; }
.form-success-title { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.2; }
.form-success p:not(.form-success-title) { color: var(--ink-muted); max-width: 26rem; }

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 5fr 7fr; column-gap: clamp(48px, 7vw, 112px); }
  .contact-info { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding: 72px 0 calc(32px + env(safe-area-inset-bottom)); }
.footer-inner { display: grid; gap: 48px; }
.footer-logo { display: block; width: 132px; }
.footer-logo svg { width: 100%; height: auto; display: block; }
.footer-cols { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.footer-head { color: var(--gold-bright); font-size: 0.9rem; margin-bottom: 10px; }
.site-footer a { text-decoration: none; color: var(--on-dark); display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: var(--gold-bright); }
.footer-email { overflow-wrap: anywhere; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-legal { font-size: 0.85rem; padding-top: 24px; border-top: 1px solid var(--line-dark); }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: 200px 1fr; }
  .footer-legal { grid-column: 1 / -1; }
}

/* ---------- Cursor follower (added by script.js on mouse devices only) ----------
   Invisible over plain page; a soft gold glow over links and buttons; a "View" disc over photos. */
.cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none;
  width: 0; height: 0; opacity: 0;
  transition: opacity 300ms ease;
}
.cursor-ring.is-visible { opacity: 1; }
.cursor-ring::before {
  content: ""; position: absolute; left: -14px; top: -14px; width: 28px; height: 28px;
  border: 1px solid transparent; border-radius: 50%; opacity: 0; transform: scale(0.6);
  transition: transform 350ms var(--ease-out), background-color 300ms ease, border-color 300ms ease, opacity 300ms ease;
}
.cursor-ring.is-link::before { opacity: 1; transform: scale(1.6); background: rgba(201, 164, 92, 0.16); }
.cursor-ring.is-link.is-down::before { transform: scale(1.3); }
.cursor-ring.is-view::before { opacity: 1; transform: scale(2.6); background: rgba(10, 22, 40, 0.55); border-color: var(--gold); }
.cursor-ring.is-view.is-down::before { transform: scale(2.3); }
.cursor-label {
  position: absolute; left: 0; top: 0; translate: -50% -50%;
  font-size: 0.8rem; letter-spacing: 0.04em; color: var(--on-dark);
  opacity: 0; transform: scale(0.8); transition: opacity 250ms ease, transform 350ms var(--ease-out);
}
.cursor-ring.is-view .cursor-label { opacity: 1; transform: none; }

/* ---------- Mobile call bar ---------- */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-callbar);
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 22, 40, 0.94); border-top: 1px solid var(--line-dark);
  transform: translateY(110%); transition: transform var(--dur) var(--ease-out);
}
.call-bar.is-visible { transform: none; }
.call-bar .btn { min-height: 48px; }
@media (max-width: 767px) { .site-footer { padding-bottom: calc(108px + env(safe-area-inset-bottom)); } }
@media (min-width: 768px) { .call-bar { display: none; } }

/* =========================================================
   Motion — only when JS runs and the visitor allows motion.
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  /* Hero intro sequence */
  .js .hero-media img { transform: scale(1.08); transition: transform 2800ms var(--ease-out); }
  .js .hero-diamond path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2200ms var(--ease-in-out); }
  .js .hero-diamond path + path { transition-delay: 350ms; }
  .js .hero-title .line > span { transform: translateY(105%); transition: transform 1100ms var(--ease-out); }
  .js .hero-title .line:nth-child(2) > span { transition-delay: 120ms; }
  .js .hero-kicker, .js .hero-lede, .js .hero-actions, .js .hero-trust, .js .hero-card {
    opacity: 0; transform: translateY(16px);
    transition: opacity 800ms ease, transform 900ms var(--ease-out);
  }

  .js.is-loaded .hero-media img { transform: scale(1); }
  .js.is-loaded .hero-diamond path { stroke-dashoffset: 0; }
  .js.is-loaded .hero-title .line > span { transform: none; transition-delay: 250ms; }
  .js.is-loaded .hero-title .line:nth-child(2) > span { transition-delay: 370ms; }
  .js.is-loaded .hero-kicker { opacity: 1; transform: none; transition-delay: 150ms; }
  .js.is-loaded .hero-lede { opacity: 1; transform: none; transition-delay: 650ms; }
  .js.is-loaded .hero-actions { opacity: 1; transform: none; transition-delay: 780ms; }
  .js.is-loaded .hero-trust { opacity: 1; transform: none; transition-delay: 950ms; }
  .js.is-loaded .hero-card { opacity: 1; transform: none; transition-delay: 1200ms; }

  /* Scroll reveals */
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms ease, transform 900ms var(--ease-out); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  /* A paper-coloured panel slides off the photo. The photo itself is never hidden, so lazy
     loading and the scroll trigger still see it (a fully clipped element counts as invisible). */
  .js .reveal-img { position: relative; }
  .js .reveal-img::before {
    content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: var(--paper); transform-origin: 50% 100%;
    transition: transform 1200ms var(--ease-in-out);
  }
  .js .reveal-img.is-in::before { transform: scaleY(0); }
  .js .reveal-img img { transform: scale(1.12); transition: transform 1600ms var(--ease-out); }
  .js .reveal-img.is-in img { transform: none; }
  .js .reveal-img.is-in .work-open:hover img { transform: scale(1.045); }

  /* Process line draws as each step arrives */
  .js .step::after { --line: 0; transition: transform 1100ms var(--ease-in-out) 200ms; }
  .js .step.is-in::after { --line: 1; }
  .js .step:nth-child(2) { transition-delay: 80ms; }
  .js .step:nth-child(3) { transition-delay: 160ms; }
  .js .step:nth-child(4) { transition-delay: 240ms; }
}

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