/* ===========================================================================
   Sanctum Bathrooms - Editorial Premium (luxury bathroom renovations, Perth)
   One accent (brass) locked across the page. Warm paper light base with three
   deliberate dark feature bands (hero, transform, reviews) that all share the
   exact same dark treatment + the same brass accent - a consistent editorial
   rhythm, not a mid-page theme flip. WCAG AA on every button + form field.
   =========================================================================== */

:root {
  /* palette */
  --paper:   #f6f1ea;   /* warm off-white */
  --paper-2: #efe7db;   /* slightly deeper card paper */
  --ink:     #1c1813;   /* charcoal-espresso ink (on paper) */
  --ink-soft:#5a5046;   /* muted ink for body */
  --line:    #e0d6c6;   /* hairlines on paper */

  --dark:    #13110e;   /* near-black espresso (dark bands) */
  --dark-2:  #1c1813;   /* raised dark surface */
  --dark-line:#322a20;  /* hairlines on dark */
  --cream:   #f3ece1;   /* primary text on dark */
  --cream-soft:#c7baa6;  /* muted text on dark (AA on --dark) */

  --accent:  #b08542;   /* brass (the one accent) */
  --accent-2:#c79a52;   /* lighter brass for glints on dark */
  --accent-ink:#1c140a; /* text that sits on a brass fill (AA) */

  --maxw: 1200px;
  --r: 16px;
  --r-sm: 11px;
  --shadow: 0 24px 60px -28px rgba(28, 20, 10, .35);
  --shadow-dark: 0 30px 70px -30px rgba(0, 0, 0, .7);
  --ease: cubic-bezier(.16, 1, .3, 1);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
}

/* NAV-SAFETY: never out-ranked */
[hidden] { display: none !important; }

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.06; margin: 0; letter-spacing: -0.012em; }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }

.skip-link {
  position: absolute; left: 14px; top: -48px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px;
  text-decoration: none; transition: top .2s var(--ease);
}
.skip-link:focus { top: 14px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 500; font-size: 15.5px;
  text-decoration: none; cursor: pointer; border: 0;
  padding: 13px 22px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  letter-spacing: .005em; line-height: 1; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .25s var(--ease), box-shadow .35s var(--ease), color .25s var(--ease);
  will-change: transform;
}
.btn:hover { box-shadow: 0 16px 30px -14px rgba(28,20,10,.5); }
.btn svg { flex: none; }
.btn--lg { padding: 16px 28px; font-size: 16.5px; }
.btn--block { width: 100%; padding: 16px 22px; }

.btn--primary { --bg: var(--accent); --fg: var(--accent-ink); }
.btn--primary:hover { --bg: #bd9049; }

.btn--call { --bg: var(--ink); --fg: var(--paper); }
.btn--call:hover { --bg: #2a231b; }

.btn--ghost {
  --bg: transparent; --fg: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost:hover { --bg: var(--paper-2); box-shadow: none; }

/* ---------- cursor glow (cinematic reactive) ---------- */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 460px; height: 460px; margin: -230px 0 0 -230px;
  border-radius: 50%; pointer-events: none; z-index: 60; opacity: 0;
  background: radial-gradient(circle, rgba(199,154,82,.20), rgba(199,154,82,0) 62%);
  mix-blend-mode: screen; transition: opacity .4s var(--ease);
}
body.has-cursor .cursor-glow { opacity: 1; }

/* ===================== NAV ===================== */
.nav {
  position: sticky; top: 0; z-index: 80;
  background: rgba(246, 241, 234, .72);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-scrolled { background: rgba(246, 241, 234, .92); border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(28,20,10,.4); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { color: var(--accent); display: inline-flex; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -.01em; }
.brand__name em { font-style: italic; font-weight: 400; color: var(--ink-soft); }

.nav__links { display: flex; gap: 28px; }
.nav__links a { text-decoration: none; color: var(--ink-soft); font-size: 15px; font-weight: 400; position: relative; padding: 4px 0; transition: color .2s var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 1.5px; background: var(--accent); transition: width .3s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 10px; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 40px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; }
.nav__toggle-bar { width: 19px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile nav panel */
.mobile-nav {
  position: fixed; inset: 0; z-index: 90;
  background: var(--dark); color: var(--cream);
  display: flex; flex-direction: column; gap: 6px;
  padding: 88px 28px 40px; overflow-y: auto;
}
.mobile-nav a { text-decoration: none; color: var(--cream); font-family: var(--font-display); font-size: 26px; padding: 12px 0; border-bottom: 1px solid var(--dark-line); }
.mobile-nav .btn { font-family: var(--font-body); font-size: 16px; margin-top: 12px; border-bottom: 0; }
.mobile-nav .btn--ghost { color: var(--cream); border-color: var(--dark-line); }
.mobile-nav__close { position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--dark-line); background: transparent; color: var(--cream); font-size: 28px; line-height: 1; cursor: pointer; }

/* ===================== HERO (dark feature band, ALIVE ON LOAD) ===================== */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: flex; align-items: center;
  background:
    radial-gradient(120% 90% at 78% 8%, #20180f 0%, rgba(32,24,15,0) 55%),
    radial-gradient(90% 80% at 12% 100%, #19140d 0%, rgba(25,20,13,0) 60%),
    var(--dark);
  color: var(--cream);
  overflow: hidden;
  padding: 96px 0 84px;
}
.hero__fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero__sheen {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background: linear-gradient(115deg, transparent 38%, rgba(199,154,82,.10) 50%, transparent 62%);
}
.hero__vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 120% at 50% 40%, transparent 52%, rgba(0,0,0,.5) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 940px; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream-soft); margin-bottom: 22px;
}
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 rgba(199,154,82,.55); animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(199,154,82,.5); } 70% { box-shadow: 0 0 0 9px rgba(199,154,82,0); } 100% { box-shadow: 0 0 0 0 rgba(199,154,82,0); } }

.hero__title {
  font-size: clamp(2.6rem, 7.2vw, 6rem);
  font-weight: 500; line-height: 1.0; letter-spacing: -.022em;
  margin: 0 0 26px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line__mask { display: inline-block; will-change: transform; }
.hero__title .accent { color: var(--accent-2); font-style: italic; font-weight: 400; }

.hero__sub { max-width: 620px; font-size: clamp(1.02rem, 1.7vw, 1.22rem); color: var(--cream-soft); line-height: 1.62; margin-bottom: 32px; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
/* call CTA inverts to cream on dark for AA + presence */
.hero .btn--call { --bg: var(--cream); --fg: var(--dark); }
.hero .btn--call:hover { --bg: #fff; }

.hero__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14.5px; color: var(--cream-soft); }
.hero__trust li { position: relative; padding-left: 18px; }
.hero__trust li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero__trust strong { color: var(--cream); font-weight: 600; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none; color: var(--cream-soft); font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.hero__scroll svg { animation: bob 2.2s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.hero__scroll:hover { color: var(--cream); }

/* hero entrance from-states (only when JS+motion available) */
.js-anim [data-hero-in] { opacity: 0; }
.js-anim .hero__title .line__mask { transform: translateY(112%); }

/* ===================== TRUST STRIP ===================== */
.trust { background: var(--ink); color: var(--cream); }
.trust__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 28px; padding: 22px 0; }
.trust__item { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--cream); justify-content: center; }
.trust__item svg { color: var(--accent-2); flex: none; }

/* ===================== SECTION HEAD ===================== */
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head__eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section-head__eyebrow.light { color: var(--accent-2); }
.section-head__title { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.02em; }
.section-head__sub { margin-top: 16px; color: var(--ink-soft); font-size: 1.06rem; }

/* ===================== SERVICES ===================== */
.services { padding: clamp(72px, 9vw, 124px) 0; background: var(--paper); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 28px; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s var(--ease);
}
.svc::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--accent); transition: width .45s var(--ease); }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d6c9b4; }
.svc:hover::after { width: 100%; }
.svc__num { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); letter-spacing: .08em; }
.svc h3 { font-size: 1.42rem; margin: 14px 0 9px; }
.svc p { color: var(--ink-soft); font-size: .98rem; }
.svc--wide { grid-column: span 2; background: var(--ink); color: var(--cream); border-color: var(--ink); }
.svc--wide h3 { font-size: 1.7rem; }
.svc--wide p { color: var(--cream-soft); }
.svc--wide .svc__num { color: var(--accent-2); }
.svc--accent { background: linear-gradient(160deg, #1f1810, var(--dark)); color: var(--cream); border-color: var(--dark-line); }
.svc--accent p { color: var(--cream-soft); }
.svc--accent .svc__num { color: var(--accent-2); }

/* ===================== TRANSFORM (BONUS pinned scroll, dark feature band) ===================== */
.transform { background: var(--dark); color: var(--cream); position: relative; }
.transform__sticky { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: clamp(64px, 8vw, 96px) 0; }
.transform__head { text-align: center; max-width: 760px; margin: 0 auto clamp(28px, 4vw, 44px); }
.transform__title { font-size: clamp(1.8rem, 3.6vw, 2.9rem); letter-spacing: -.02em; }
.transform__stage { display: grid; grid-template-columns: 1.6fr .9fr; gap: clamp(24px, 4vw, 52px); align-items: center; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); width: 100%; }

.transform__frame { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-dark); border: 1px solid var(--dark-line); background: #0d0b08; }
.transform__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease); }
.transform__img.is-shown { opacity: 1; }
.transform__chip { position: absolute; left: 16px; bottom: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 999px; background: rgba(19,17,14,.72); backdrop-filter: blur(8px); border: 1px solid var(--dark-line); font-family: var(--font-mono); font-size: 12.5px; color: var(--cream); }
.transform__chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }

.transform__captions { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.transform__captions li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--dark-line); color: var(--cream-soft); font-size: 1.02rem; opacity: .42; transition: opacity .4s var(--ease), color .4s var(--ease); }
.transform__captions li:first-child { border-top: 0; }
.transform__captions li b { font-family: var(--font-mono); font-weight: 500; font-size: 13px; color: var(--accent); min-width: 26px; }
.transform__captions li.is-active { opacity: 1; color: var(--cream); }
.transform__captions li.is-active b { color: var(--accent-2); }

/* ===================== WHY ===================== */
.why { padding: clamp(72px, 9vw, 124px) 0; background: var(--paper); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why__card { padding: 30px 26px; border-radius: var(--r); background: var(--paper-2); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.why__card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why__card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.why__card h3::before { content: ""; display: block; width: 30px; height: 3px; background: var(--accent); border-radius: 2px; margin-bottom: 16px; }
.why__card p { color: var(--ink-soft); font-size: .97rem; }

/* ===================== CLOSING CTA (design consult) ===================== */
.hook { padding: clamp(72px, 9vw, 124px) 0; background: var(--ink); color: var(--cream); }
.hook__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(34px, 6vw, 76px); align-items: center; }
.hook__title { font-size: clamp(1.9rem, 4vw, 3rem); margin: 14px 0 18px; letter-spacing: -.02em; }
.hook__lead { color: var(--cream-soft); font-size: 1.08rem; margin-bottom: 22px; max-width: 520px; }
.hook__list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 13px; }
.hook__list li { display: flex; align-items: center; gap: 12px; color: var(--cream); font-size: 1rem; }
.hook__list svg { color: var(--accent-2); flex: none; }
.hook .btn--primary { --bg: var(--accent); --fg: var(--accent-ink); }

/* phone mockup */
.hook__shot { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-dark); border: 1px solid var(--dark-line); aspect-ratio: 4 / 5; }
.hook__shot img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ===================== WORK / GALLERY ===================== */
.work { padding: clamp(72px, 9vw, 124px) 0; background: var(--paper); }
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 16px; }
.work__item { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--paper-2); }
.work__item--tall { grid-row: span 2; }
.work__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.work__item:hover img { transform: scale(1.05); }
.work__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 18px 16px; color: #fff; font-family: var(--font-display); font-size: 1.05rem; background: linear-gradient(to top, rgba(13,11,8,.82), transparent); }

/* ===================== REVIEWS (dark feature band) ===================== */
.reviews { padding: clamp(72px, 9vw, 124px) 0; background: var(--dark); color: var(--cream); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { margin: 0; padding: 30px 28px; border-radius: var(--r); background: var(--dark-2); border: 1px solid var(--dark-line); display: flex; flex-direction: column; gap: 16px; transition: transform .4s var(--ease), border-color .3s var(--ease); }
.review:hover { transform: translateY(-5px); border-color: var(--accent); }
.review__stars { color: var(--accent-2); letter-spacing: 2px; font-size: 16px; }
.review blockquote { margin: 0; font-family: var(--font-display); font-size: 1.14rem; line-height: 1.5; color: var(--cream); font-weight: 400; }
.review figcaption { display: flex; flex-direction: column; gap: 1px; margin-top: auto; }
.review figcaption strong { font-weight: 600; color: var(--cream); }
.review figcaption span { font-size: 13px; color: var(--cream-soft); }

/* ===================== SERVICE AREA ===================== */
.area { padding: clamp(72px, 9vw, 124px) 0; background: var(--paper); }
.area__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 6vw, 72px); align-items: center; }
.area__copy .section-head__eyebrow, .area__copy .section-head__title { text-align: left; }
.area__copy .section-head__title { max-width: 480px; }
.area__copy .section-head__sub { text-align: left; margin-bottom: 26px; }
.area__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.area__list li { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 16px; font-size: 14.5px; color: var(--ink); transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.area__list li:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ===================== FAQ ===================== */
.faq { padding: clamp(72px, 9vw, 124px) 0; background: var(--paper-2); }
.faq__inner { max-width: 820px; margin: 0 auto; }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.faq__item[open] { border-color: #d6c9b4; box-shadow: var(--shadow); }
.faq__item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; font-family: var(--font-display); font-size: 1.16rem; font-weight: 500; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .3s var(--ease); }
.faq__icon::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq__icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); }
.faq__body { padding: 0 24px 22px; }
.faq__body p { color: var(--ink-soft); font-size: 1rem; }

/* ===================== CTA BAND ===================== */
.cta { padding: clamp(72px, 9vw, 124px) 0; background: var(--paper); }
.cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 6vw, 72px); align-items: center; background: var(--ink); color: var(--cream); border-radius: 28px; padding: clamp(36px, 5vw, 64px); box-shadow: var(--shadow); }
.cta__title { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.02em; margin-bottom: 14px; }
.cta__sub { color: var(--cream-soft); font-size: 1.08rem; margin-bottom: 26px; max-width: 440px; }
.cta .btn--call { --bg: var(--cream); --fg: var(--dark); }
.cta .btn--call:hover { --bg: #fff; }
.cta__trust { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 9px; }
.cta__trust li { position: relative; padding-left: 24px; color: var(--cream-soft); font-size: 14.5px; }
.cta__trust li::before { content: ""; position: absolute; left: 0; top: .5em; width: 13px; height: 7px; border-left: 2px solid var(--accent-2); border-bottom: 2px solid var(--accent-2); transform: rotate(-45deg); }

/* quote form */
.cta__form-wrap { width: 100%; }
.quote-form { background: var(--paper); color: var(--ink); border-radius: var(--r); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-dark); }
.quote-form__title { font-size: 1.5rem; margin-bottom: 18px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 13.5px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.field__opt { color: var(--ink-soft); font-weight: 400; }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #9a8f80; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--paper); box-shadow: 0 0 0 3px rgba(176,133,66,.18); }
.field textarea { resize: vertical; min-height: 84px; }
.form-note { margin-top: 14px; font-size: 14px; color: #2f7a4a; background: #e7f1e9; border: 1px solid #cbe2d2; padding: 11px 14px; border-radius: var(--r-sm); }
.form-note.is-error { color: #9a3527; background: #f8e7e3; border-color: #e9c8c0; }
.quote-form__reassure { margin-top: 13px; font-size: 12.5px; color: var(--ink-soft); text-align: center; }

/* ===================== FOOTER ===================== */
.footer { background: var(--dark); color: var(--cream-soft); padding: clamp(56px, 7vw, 88px) 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--dark-line); }
.footer .brand { color: var(--cream); margin-bottom: 16px; }
.footer .brand__name em { color: var(--cream-soft); }
.footer__tag { max-width: 340px; font-size: 14.5px; line-height: 1.6; }
.footer__col h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px; font-weight: 500; }
.footer__col p { font-size: 14.5px; line-height: 1.7; margin-bottom: 8px; }
.footer__col a { color: var(--cream); text-decoration: none; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--accent-2); }
.footer__bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: 13px; }
.footer__credit { color: var(--accent-2); }

/* ===================== STICKY MOBILE CALL BAR ===================== */
.callbar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70;
  display: none; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  text-decoration: none; padding: 15px 18px; border-radius: 999px;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.5);
}

/* ===================== SCROLL REVEALS ===================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1040px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .svc--wide { grid-column: span 2; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .work__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .callbar { display: flex; }
  body { padding-bottom: 76px; }

  .transform__stage { grid-template-columns: 1fr; }
  .transform__sticky { min-height: auto; }
  .hook__inner { grid-template-columns: 1fr; }
  .hook__shot { order: -1; aspect-ratio: 16 / 10; }
  .area__inner { grid-template-columns: 1fr; }
  .area__copy .section-head__title { max-width: none; }
  .cta__inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { min-height: 100svh; padding: 84px 0 110px; }
  .hero__title { font-size: clamp(1.95rem, 8.4vw, 2.6rem); }
  .hero__scroll { display: none; }
  .trust__row { grid-template-columns: 1fr 1fr; gap: 14px 18px; }
  .trust__item { justify-content: flex-start; font-size: 13.5px; }
  .services__grid, .why__grid, .work__grid { grid-template-columns: 1fr; }
  .svc--wide { grid-column: span 1; }
  .work__item--tall { grid-row: span 1; }
  .area__list { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* ===================== REDUCED MOTION (full static fallback) ===================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  [data-hero-in] { opacity: 1 !important; }
  .hero__title .line__mask { transform: none !important; }
  .hero__fx { display: none; }   /* no canvas loop; the static gradient hero remains strong */
  .transform__img.is-shown { opacity: 1; }
  .cursor-glow { display: none; }
}
