/* ==========================================================================
   JD Plumbing & Bathrooms - homepage stylesheet
   Palette from the client's own bathrooms: Calacatta marble, matte black
   fittings, brushed brass, dark oak. Display type Marcellus, body Jost.
   ========================================================================== */

:root {
  --marble: #f2f1ed;
  --marble-deep: #e6e4de;
  --ink: #121416;
  --slate: #1b1f23;
  --slate-soft: #262b30;
  --brass: #b9955c;
  --brass-light: #d8b77c;
  --brass-deep: #8f6f3e;
  --vein: #676c71;
  --vein-light: #a9aeb3;
  --oak: #4a3427;
  --white: #ffffff;

  --font-display: 'Marcellus', 'Times New Roman', serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --container: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --section-y: clamp(72px, 9vw, 140px);
  --frame: 1.5px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  color: var(--ink);
  background: var(--marble);
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 6.4rem); line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 4.2vw, 4.2rem); }
h3 { font-size: clamp(1.35rem, 1.9vw, 1.9rem); }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.4rem); line-height: 1.5; font-weight: 300; }
strong { font-weight: 500; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* Masked heading lines: padded so descenders and Marcellus overhangs are never clipped */
.split-line { display: block; overflow: hidden; padding: .18em .12em .32em; margin: -.18em -.12em -.32em; }
.split-line > * { display: block; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .7em;
  padding: .95em 1.8em;
  font-family: var(--font-body); font-weight: 500; font-size: .95rem; letter-spacing: .02em;
  border: var(--frame) solid currentColor; border-radius: 999px;
  overflow: hidden; isolation: isolate; cursor: pointer;
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out), transform .35s var(--ease-out);
}
/* The sweep fill must never use currentColor: the button's colour animates to the
   hover colour at the same time, so the fill would darken with the text. */
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--marble); transform: translateX(-101%); transition: transform .45s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { transform: translateX(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-brass { color: var(--ink); background: var(--brass); border-color: var(--brass); }
.btn-brass::before { background: var(--brass-light); }
.btn-brass:hover { color: var(--ink); border-color: var(--brass-light); }
.btn-ghost-light { color: var(--white); }
.btn-ghost-light::before { background: var(--white); }
.btn-ghost-light:hover { color: var(--ink); border-color: var(--white); }
.btn-ghost-dark { color: var(--ink); }
.btn-ghost-dark::before { background: var(--ink); }
.btn-ghost-dark:hover { color: var(--marble); border-color: var(--ink); }
.btn-ink { color: var(--marble); background: var(--ink); border-color: var(--ink); }
.btn-ink::before { background: var(--brass); }
.btn-ink:hover { color: var(--ink); border-color: var(--brass); }

.link-line { display: inline-flex; align-items: center; gap: .5em; font-weight: 500; font-size: .95rem; letter-spacing: .02em; padding-bottom: .15em; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 var(--frame); transition: background-size .45s var(--ease-out); }
.link-line:hover { background-size: 100% var(--frame); }
.link-line svg { width: 1em; height: 1em; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 18px 0;
  color: var(--white);
  transition: padding .4s var(--ease-out), background .4s var(--ease-out), color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-solid { padding: 10px 0; background: rgba(242, 241, 237, .94); color: var(--ink); box-shadow: 0 1px 0 rgba(18, 20, 22, .08); backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: center; }
.brand svg { height: 70px; width: auto; transition: height .4s var(--ease-out); }
.site-header.is-solid .brand svg { height: 48px; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); margin: 0; padding: 0; }
.nav > li { list-style: none; position: relative; }
.nav a { font-weight: 400; font-size: .98rem; letter-spacing: .02em; padding: .5em 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--frame); background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.nav a:hover::after, .nav .has-menu:hover > a::after { transform: scaleX(1); }
.nav .has-menu > a { display: inline-flex; align-items: center; gap: .35em; }
.nav .has-menu > a svg { width: .8em; height: .8em; transition: transform .3s; }
.nav .has-menu:hover > a svg, .nav .has-menu:focus-within > a svg { transform: rotate(180deg); }
.submenu {
  position: absolute; top: 100%; left: -18px; min-width: 280px; margin: 0; padding: 14px 0; list-style: none;
  background: var(--ink); color: var(--marble); border-top: 2px solid var(--brass);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility 0s .3s;
}
.nav .has-menu:hover .submenu, .nav .has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.submenu a { display: block; padding: .55em 22px; font-weight: 300; }
.submenu a::after { display: none; }
.submenu a:hover { color: var(--brass-light); background: rgba(255,255,255,.04); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-call { display: inline-flex; align-items: center; gap: .55em; font-weight: 500; font-size: .95rem; letter-spacing: .02em; padding: .7em 1.3em; border: var(--frame) solid rgba(255,255,255,.55); border-radius: 999px; transition: background .35s, border-color .35s, color .35s; white-space: nowrap; }
.header-call svg { width: 1em; height: 1em; }
.header-call:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.site-header.is-solid .header-call { border-color: rgba(18,20,22,.35); }
.site-header.is-solid .header-call:hover { border-color: var(--brass); }

.nav-toggle { display: none; width: 46px; height: 46px; border: var(--frame) solid currentColor; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease-out), top .35s var(--ease-out); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 40; background: var(--ink); color: var(--marble); padding: 110px var(--gutter) 40px; display: none; flex-direction: column; overflow-y: auto; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu > ul > li { border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu a { display: block; padding: 16px 0; font-family: var(--font-display); font-size: 1.7rem; }
.mobile-menu .sub a { font-family: var(--font-body); font-size: 1rem; font-weight: 300; padding: 8px 0 8px 18px; color: var(--vein-light); }
.mobile-menu .sub { padding-bottom: 10px; }
.mobile-menu .mobile-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
body.nav-open .mobile-menu { display: flex; }
body.nav-open { overflow: hidden; }
body.nav-open .site-header { color: var(--marble); background: transparent; box-shadow: none; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; transition: opacity 1.2s ease; }
.hero-media video.is-playing { opacity: 1; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to top, rgba(18,20,22,.88) 0%, rgba(18,20,22,.45) 38%, rgba(18,20,22,.05) 70%),
  linear-gradient(to right, rgba(18,20,22,.55) 0%, rgba(18,20,22,0) 55%); }
.hero .container { position: relative; padding-top: 140px; padding-bottom: clamp(40px, 6vh, 72px); }
.hero-pane { position: relative; padding: clamp(28px, 3.5vw, 52px) clamp(24px, 3vw, 48px); max-width: min(100%, 1180px); }
.hero-pane .frame-line { position: absolute; background: rgba(255,255,255,.55); }
.hero-pane .frame-line.top, .hero-pane .frame-line.bottom { left: 0; right: 0; height: var(--frame); transform-origin: left; }
.hero-pane .frame-line.left, .hero-pane .frame-line.right { top: 0; bottom: 0; width: var(--frame); transform-origin: top; }
.hero-pane .frame-line.top { top: 0; } .hero-pane .frame-line.bottom { bottom: 0; }
.hero-pane .frame-line.left { left: 0; } .hero-pane .frame-line.right { right: 0; }
.hero-pane .frame-corner { position: absolute; width: 14px; height: 14px; border: 2px solid var(--brass); }
.hero-pane .frame-corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hero-pane .frame-corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.hero h1 { max-width: 14ch; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero .lead { max-width: 62ch; margin-top: 1.4rem; color: rgba(255,255,255,.9); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.hero-areas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: clamp(24px, 3vw, 40px) 0 0; padding: 0; list-style: none; font-size: .9rem; letter-spacing: .04em; color: rgba(255,255,255,.78); }
.hero-areas li { display: flex; align-items: center; gap: 22px; }
.hero-areas li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--brass); }
.hero-scroll { position: absolute; right: var(--gutter); bottom: clamp(40px, 6vh, 72px); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero-scroll span { display: block; width: 1px; height: 54px; background: linear-gradient(var(--brass), transparent); }

/* --------------------------------------------------------------------------
   Shared section furniture
   -------------------------------------------------------------------------- */
.section { position: relative; padding: var(--section-y) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(36px, 5vw, 72px); }
.section-head .lead { color: var(--vein); }
.section-head .lead p { max-width: none; }
.on-dark { background: var(--slate); color: var(--marble); }
.on-dark .section-head .lead { color: var(--vein-light); }
.texture { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.texture img { width: 100%; height: 100%; object-fit: cover; }
.texture-light img { opacity: .55; mix-blend-mode: multiply; }
.texture-dark img { opacity: .5; }
.section > .container { position: relative; z-index: 1; }

/* Framed image composition: black frame, brass offset outline, marble backing */
.composition { position: relative; }
.composition .comp-backing { position: absolute; inset: 8% -6% 6% 8%; background: var(--marble-deep) url('../img/marble-light-1200.jpg') center/cover; z-index: 0; }
.on-dark .composition .comp-backing { background: var(--slate-soft) url('../img/marble-dark-1200.jpg') center/cover; }
.composition .comp-outline { position: absolute; inset: -14px 14px 14px -14px; border: var(--frame) solid var(--brass); z-index: 0; pointer-events: none; }
.composition .comp-frame { position: relative; z-index: 1; border: 6px solid var(--ink); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink); }
.composition .comp-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.composition .comp-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); pointer-events: none; }
.composition .comp-badge { position: absolute; z-index: 2; right: -6%; bottom: 10%; background: var(--ink); color: var(--marble); padding: 18px 22px; border-left: 3px solid var(--brass); max-width: 240px; box-shadow: 0 20px 50px rgba(18,20,22,.25); }
.composition .comp-badge strong { display: block; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; margin-bottom: .3em; font-weight: 400; }
.composition .comp-badge span { font-size: .85rem; color: var(--vein-light); }

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.services { background: var(--marble); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.service-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: var(--frame) solid rgba(18,20,22,.9); overflow: hidden; }
.service-card .card-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ink); }
.service-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.service-card:hover .card-media img { transform: scale(1.06); }
.service-card .card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,20,22,.55), rgba(18,20,22,0) 55%); }
.service-card .card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-card h3 { font-size: clamp(1.35rem, 1.6vw, 1.7rem); }
.service-card p { color: var(--vein); font-size: .98rem; }
.service-card .link-line { margin-top: auto; color: var(--brass-deep); }
.service-card .card-tab { position: absolute; top: 0; left: 0; z-index: 2; background: var(--ink); color: var(--marble); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; }
.service-card::after { content: ""; position: absolute; inset: 0; border: 0 solid var(--brass); pointer-events: none; transition: border-width .35s var(--ease-out); }
.service-card:hover::after { border-width: 3px; }
.services-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: clamp(32px, 4vw, 56px); padding-top: 24px; border-top: var(--frame) solid rgba(18,20,22,.15); }
.services-foot p { color: var(--vein); margin: 0; }

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */
.process { background: var(--slate); color: var(--marble); overflow: hidden; }
.process-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.process-media { position: sticky; top: 110px; }
.phone { position: relative; width: min(100%, 360px); margin-inline: auto; }
.phone-shell { position: relative; border: 8px solid #0b0c0e; border-radius: 40px; overflow: hidden; background: #000; aspect-ratio: 9 / 16; box-shadow: 0 40px 90px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08); }
.phone-shell video { width: 100%; height: 100%; object-fit: cover; }
.phone-shell::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 34%; height: 22px; background: #0b0c0e; border-radius: 12px; z-index: 2; }
.phone-caption { position: absolute; left: -10%; bottom: 14%; background: var(--marble); color: var(--ink); padding: 16px 20px; border-left: 3px solid var(--brass); max-width: 250px; box-shadow: 0 20px 50px rgba(0,0,0,.4); z-index: 3; }
.phone-caption strong { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; margin-bottom: .2em; }
.phone-caption span { font-size: .85rem; color: var(--vein); }
.phone-outline { position: absolute; inset: -18px; border: var(--frame) solid var(--brass); border-radius: 52px; opacity: .6; pointer-events: none; }
.phone-play { position: absolute; z-index: 3; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(18,20,22,.55); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(6px); }
.phone-play svg { width: 16px; height: 16px; }

.steps { position: relative; list-style: none; margin: 0; padding: 0; }
.steps::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 1px; background: rgba(255,255,255,.14); }
.steps .steps-progress { position: absolute; left: 27px; top: 8px; bottom: 8px; width: 1px; background: var(--brass); transform-origin: top; transform: scaleY(0); }
html.no-js .steps .steps-progress, html.reduced-motion .steps .steps-progress { transform: none; }
.step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; padding: clamp(20px, 2.4vw, 34px) 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.step:last-child { border-bottom: 0; }
.step-num { width: 56px; height: 56px; border-radius: 50%; border: var(--frame) solid var(--brass); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.25rem; color: var(--brass-light); background: var(--slate); position: relative; z-index: 1; }
.step h3 { margin-bottom: .35em; }
.step p { color: var(--vein-light); margin: 0; max-width: none; }
.process-intro { margin-bottom: clamp(28px, 3vw, 44px); }
.process-intro .lead { color: var(--vein-light); }

/* --------------------------------------------------------------------------
   Gallery: pinned full-screen stage
   -------------------------------------------------------------------------- */
.work { background: var(--ink); color: var(--marble); padding-top: var(--section-y); padding-bottom: 0; }
.work .section-head { margin-bottom: clamp(28px, 4vw, 56px); }
.work .section-head .lead { color: var(--vein-light); }
.gallery { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.gallery-stage { position: absolute; inset: 0; }
.gallery-slide { position: absolute; inset: 0; opacity: 0; }
.gallery-slide:first-child { opacity: 1; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.gallery-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,20,22,.85) 0%, rgba(18,20,22,.15) 45%, rgba(18,20,22,.1) 100%); }
.gallery-ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 0 0 clamp(28px, 4vw, 56px); }
.gallery-ui .container { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: end; }
.gallery-caption { position: relative; min-height: 4.6em; }
.gallery-caption p { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; opacity: 0; font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.9rem); line-height: 1.2; }
.gallery-caption p:first-child { opacity: 1; }
.gallery-caption p span { display: block; font-family: var(--font-body); font-size: .9rem; letter-spacing: .04em; color: var(--brass-light); margin-top: .5em; }
.gallery-nav { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.gallery-count { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .06em; color: var(--vein-light); }
.gallery-count b { font-weight: 400; color: var(--marble); font-size: 1.6rem; }
.gallery-dots { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gallery-dots button { width: 34px; height: 22px; border: var(--frame) solid rgba(255,255,255,.45); background: transparent; cursor: pointer; padding: 0; position: relative; transition: border-color .3s; }
.gallery-dots button::after { content: ""; position: absolute; inset: 3px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.gallery-dots button.is-active { border-color: var(--brass-light); }
.gallery-dots button.is-active::after { transform: scaleX(1); }
.gallery-progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(255,255,255,.15); z-index: 3; }
.gallery-progress span { display: block; height: 100%; background: var(--brass); transform-origin: left; transform: scaleX(0); }
.gallery-frame { position: absolute; inset: clamp(14px, 2vw, 28px); border: var(--frame) solid rgba(255,255,255,.35); pointer-events: none; z-index: 2; }
.gallery-frame i { position: absolute; width: 16px; height: 16px; border: 2px solid var(--brass); }
.gallery-frame i:nth-child(1) { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.gallery-frame i:nth-child(2) { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.gallery-frame i:nth-child(3) { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.gallery-frame i:nth-child(4) { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.work-foot { background: var(--ink); padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid rgba(255,255,255,.08); }
.work-foot .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.work-foot p { margin: 0; color: var(--vein-light); }

/* Stacked fallback (no JS or reduced motion) */
.gallery-static { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery-static figure { margin: 0; position: relative; border: var(--frame) solid rgba(255,255,255,.25); }
.gallery-static img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery-static figcaption { padding: 12px 14px; font-size: .95rem; color: var(--vein-light); }
html.no-js .gallery, html.reduced-motion .gallery { display: none; }
html.no-js .gallery-static, html.reduced-motion .gallery-static { display: grid; }
html.no-js .gallery-static, html.reduced-motion .gallery-static { margin-bottom: clamp(28px, 4vw, 48px); }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about { background: var(--marble); overflow: hidden; }
.about-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 110px); align-items: center; padding-bottom: clamp(12px, 2vw, 28px); }
.about-copy, .process-copy, .contact-copy { position: relative; z-index: 2; }
.about-copy h2 { margin-bottom: .5em; }
.about-copy .lead { color: var(--vein); }
.about-copy p { max-width: none; }
.about-areas { margin: 1.8rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.about-areas li { padding: .5em 1em; border: var(--frame) solid rgba(18,20,22,.35); border-radius: 999px; font-size: .9rem; letter-spacing: .03em; }
.about-points { position: relative; z-index: 3; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: var(--frame) solid var(--ink); border-bottom: var(--frame) solid var(--ink); }
.about-points li { padding: 24px 22px; border-right: var(--frame) solid rgba(18,20,22,.15); display: flex; gap: 16px; align-items: flex-start; }
.about-points li:last-child { border-right: 0; }
.about-points svg { width: 30px; height: 30px; flex: none; color: var(--brass-deep); }
.about-points strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; margin-bottom: .2em; }
.about-points span { font-size: .93rem; color: var(--vein); }

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.reviews { background: var(--slate); color: var(--marble); overflow: hidden; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.review { position: relative; padding: clamp(28px, 3vw, 44px); background: rgba(255,255,255,.035); border: var(--frame) solid rgba(255,255,255,.14); display: flex; flex-direction: column; gap: 20px; }
.review::before { content: "\201C"; position: absolute; top: -.1em; left: 22px; font-family: var(--font-display); font-size: 6rem; line-height: 1; color: var(--brass); opacity: .9; }
.review blockquote { margin: 2.2rem 0 0; font-size: clamp(1.05rem, 1.25vw, 1.25rem); line-height: 1.55; font-weight: 300; }
.review footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.review footer b { font-weight: 400; font-family: var(--font-display); font-size: 1.1rem; }
.review footer span { font-size: .85rem; color: var(--vein-light); letter-spacing: .04em; }
.stars { display: inline-flex; gap: 3px; color: var(--brass-light); }
.stars svg { width: 15px; height: 15px; }
.reviews-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(32px, 4vw, 56px); padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.reviews-cta p { margin: 0; color: var(--vein-light); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact { background: var(--marble); overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 90px); align-items: stretch; }
.contact-copy { display: flex; flex-direction: column; }
.contact-ways { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.contact-ways a { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: var(--frame) solid rgba(18,20,22,.25); background: rgba(255,255,255,.55); transition: border-color .3s, transform .3s var(--ease-out), background .3s; }
.contact-ways a:hover { border-color: var(--brass); background: var(--white); transform: translateX(4px); }
.contact-ways svg { width: 24px; height: 24px; color: var(--brass-deep); flex: none; }
.contact-ways b { display: block; font-weight: 500; font-size: 1.05rem; }
.contact-ways span { font-size: .88rem; color: var(--vein); }
.contact-media { position: relative; margin-top: 40px; flex: 1; min-height: 240px; display: flex; flex-direction: column; }
.contact-media .comp-frame { aspect-ratio: auto; flex: 1; min-height: 220px; }
.contact-media .comp-frame picture, .contact-media .comp-frame img { height: 100%; }
.contact-media .comp-frame picture { display: block; }

.quote-form { background: var(--white); border: var(--frame) solid var(--ink); padding: clamp(24px, 3vw, 40px); position: relative; }
.quote-form::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; border: var(--frame) solid var(--brass); z-index: -1; }
.quote-form h3 { margin-bottom: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .85rem; letter-spacing: .04em; font-weight: 500; color: var(--vein); }
.field input, .field textarea { font: inherit; font-weight: 300; padding: 14px 16px; border: var(--frame) solid rgba(18,20,22,.3); background: var(--marble); color: var(--ink); border-radius: 0; transition: border-color .3s, background .3s; width: 100%; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brass-deep); background: var(--white); }
.field textarea { min-height: 130px; resize: vertical; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 4px 0 20px; }
.checks label { display: flex; align-items: center; gap: 10px; font-size: .95rem; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--brass-deep); margin: 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form-foot small { color: var(--vein); font-size: .85rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--marble); padding: clamp(56px, 6vw, 96px) 0 0; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 64px); padding-bottom: clamp(40px, 5vw, 72px); border-bottom: 1px solid rgba(255,255,255,.1); position: relative; z-index: 1; }
.footer-brand p { color: var(--vein-light); margin-top: 20px; max-width: none; }
.footer-brand .brand svg { height: 64px; }
.site-footer h4 { font-size: 1.15rem; margin-bottom: 18px; color: var(--brass-light); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer li a { color: var(--vein-light); transition: color .3s; }
.site-footer li a:hover { color: var(--marble); }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 42px; height: 42px; border: var(--frame) solid rgba(255,255,255,.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--marble); transition: border-color .3s, background .3s, color .3s; }
.footer-social a:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 24px 0 28px; font-size: .88rem; color: var(--vein-light); position: relative; z-index: 1; }
.footer-bottom a { color: var(--marble); }
.footer-bottom a:hover { color: var(--brass-light); }
.footer-bottom .samson { display: inline-flex; align-items: center; gap: .4em; }
.footer-vein { position: absolute; right: -10%; bottom: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(185,149,92,.15); pointer-events: none; }

/* Mobile action bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; grid-template-columns: 1fr 1fr 1.3fr; background: var(--ink); color: var(--marble); border-top: 1px solid rgba(255,255,255,.12); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 8px; font-size: .9rem; font-weight: 500; letter-spacing: .02em; border-right: 1px solid rgba(255,255,255,.12); }
.mobile-bar a:last-child { border-right: 0; background: var(--brass); color: var(--ink); }
.mobile-bar svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav, .header-actions .header-call { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand svg { height: 56px; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .process-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .process-media { position: relative; top: auto; }
  .phone { width: min(100%, 300px); }
  .phone-caption { left: 0; bottom: -18px; max-width: 220px; }
  .about-points { grid-template-columns: 1fr; }
  .about-points li { border-right: 0; border-bottom: var(--frame) solid rgba(18,20,22,.15); }
  .about-points li:last-child { border-bottom: 0; }
  .gallery-ui .container { grid-template-columns: 1fr; }
  .gallery-ui { padding-bottom: calc(24px + 58px + env(safe-area-inset-bottom)); }
  .gallery-frame { inset: 14px 14px calc(14px + 58px) 14px; }
  .gallery-caption { min-height: 3.2em; }
  .gallery-caption p { font-size: 1.2rem; }
  .gallery-nav { align-items: center; flex-direction: row; justify-content: space-between; width: 100%; }
  .gallery-static { grid-template-columns: 1fr 1fr; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 56px; }
  .hero-scroll { display: none; }
  .about-grid .composition { order: -1; margin-bottom: 10%; }
  .composition .comp-badge { right: 0; }
}
@media (max-width: 640px) {
  .brand svg { height: 50px; }
  .site-header.is-solid .brand svg { height: 40px; }
  .hero .container { padding-top: 120px; }
  .hero-pane { padding: 22px 18px; }
  .hero h1 { max-width: none; font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .hero-areas { font-size: .82rem; gap: 8px 14px; }
  .hero-areas li { gap: 14px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card .card-media { aspect-ratio: 4 / 3; }
  .form-row, .checks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-static { grid-template-columns: 1fr; }
  .composition .comp-badge { position: relative; right: auto; bottom: auto; margin: 14px 0 0 auto; max-width: none; }
  .contact-media { flex: none; min-height: 0; }
  .contact-media .comp-frame { aspect-ratio: 4 / 5; flex: none; }
  .hide-sm { display: none; }
  .step { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
  .step-num { width: 44px; height: 44px; font-size: 1.05rem; }
  .steps::before, .steps .steps-progress { left: 21px; }
}
