/* ============================================================
   Crown Roofing Perth - Heritage Trade
   Palette: heritage red #9A2A2A (locked accent), brass gold #C9A24B
   (metal secondary), warm ink #1C1714, warm cream paper #F6F1E7.
   Type: Playfair Display (display, brand-named) + Source Sans 3 (body).
   Page theme: LIGHT, locked. Dark sections are brand-ink panels
   within the one light page (the missed-call + final-cta blocks),
   not a theme inversion.
   ============================================================ */

:root {
  --paper:        #F6F1E7;
  --paper-2:      #FBF8F1;   /* lifted cream for cards */
  --paper-3:      #EFE7D6;   /* sunken cream for bands */
  --ink:          #1C1714;
  --ink-2:        #3A322B;   /* body text on cream */
  --ink-3:        #6B5F54;   /* muted */
  --line:         #E0D6C2;   /* hairline on cream */
  --accent:       #9A2A2A;   /* heritage red - THE locked accent */
  --accent-d:     #7E2020;   /* pressed */
  --accent-l:     #B8473F;   /* hover lift */
  --gold:         #C9A24B;   /* brass - metal secondary only */
  --gold-d:       #A9842F;
  --on-dark:      #F4ECDD;   /* text on ink panels */
  --on-dark-mute: #C5B6A1;

  --radius:    14px;   /* one radius scale */
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shell:  1180px;
  --gap:    clamp(1rem, 3vw, 2rem);

  --shadow-sm: 0 2px 8px rgba(28, 23, 20, .07);
  --shadow:    0 14px 40px rgba(28, 23, 20, .12);
  --shadow-lg: 0 28px 70px rgba(28, 23, 20, .20);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }   /* NAV-SAFETY: outranks any class display */

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
  color: var(--ink-2);
  background: var(--paper);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--ink);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.4rem); }

/* visible focus everywhere */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 1rem; top: -3.5rem;
  background: var(--ink); color: var(--on-dark);
  padding: .65rem 1rem; border-radius: var(--radius-sm);
  z-index: 200; transition: top .2s var(--ease); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- shared bits ---------- */
.eyebrow {
  font-family: "Source Sans 3", sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.light { color: var(--gold); }
.eyebrow.light::before { background: var(--gold); }

.section { padding-block: clamp(3.6rem, 8vw, 6.5rem); }

.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.85rem, 1.3rem + 2.6vw, 3rem);
  margin-bottom: .9rem;
}
.section-lede {
  font-size: clamp(1.04rem, 1rem + 0.3vw, 1.18rem);
  color: var(--ink-3);
  max-width: 58ch;
}
.section-head.center .section-lede { margin-inline: auto; }

.on-dark { color: var(--on-dark); }

/* ---------- buttons (one radius, AA contrast checked) ---------- */
.btn {
  --b-bg: var(--accent);
  --b-fg: #FFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  white-space: nowrap;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .005em;
  line-height: 1;
  padding: 1rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  background: var(--b-bg);
  color: var(--b-fg);
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); }

.btn-primary { --b-bg: var(--accent); --b-fg: #FFF; box-shadow: 0 10px 26px rgba(154, 42, 42, .26); }
.btn-primary:hover { background: var(--accent-l); box-shadow: 0 14px 32px rgba(154, 42, 42, .34); }
.btn-primary:active { background: var(--accent-d); }

.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-ghost:hover { background: rgba(154, 42, 42, .07); }

.btn-gold { --b-fg: #2A1E0C; background: var(--gold); box-shadow: 0 10px 26px rgba(201, 162, 75, .3); }
.btn-gold:hover { background: #D7B563; box-shadow: 0 14px 32px rgba(201, 162, 75, .4); }
.btn-gold:active { background: var(--gold-d); }

.btn-outline-light { background: transparent; color: var(--on-dark); border-color: rgba(244, 236, 221, .5); }
.btn-outline-light:hover { background: rgba(244, 236, 221, .1); border-color: var(--on-dark); }

.btn-block { width: 100%; }

/* ============================================================
   STICKY NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 231, .82);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(246, 241, 231, .96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  transition: height .3s var(--ease);
}
.site-header.scrolled .nav-shell { height: 64px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand-mark { color: var(--accent); display: inline-flex; flex: none; }
.brand-mark svg { transition: transform .4s var(--ease); }
.brand:hover .brand-mark svg { transform: rotate(-4deg) scale(1.04); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: "Playfair Display", serif;
  font-weight: 800;
  font-size: 1.32rem;
  color: var(--ink);
  letter-spacing: -.01em;
}
.brand-sub {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-d);
  font-weight: 700;
}

.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav-links a {
  color: var(--ink-2);
  font-weight: 600;
  font-size: .98rem;
  position: relative;
  padding: .3rem 0;
  transition: color .2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .26s var(--ease);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: .8rem; }
.phone-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  color: var(--ink);
  background: rgba(154, 42, 42, .08);
  border: 1px solid rgba(154, 42, 42, .18);
  padding: .6rem 1.05rem;
  border-radius: var(--radius-pill);
  font-size: .98rem;
  transition: background-color .2s var(--ease), transform .18s var(--ease);
}
.phone-cta svg { fill: var(--accent); flex: none; }
.phone-cta:hover { background: rgba(154, 42, 42, .14); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle .bar { height: 2.5px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--paper); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg::before {
  /* warm radial wash + heritage red bloom, no AI-purple */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(201, 162, 75, .22), transparent 60%),
    radial-gradient(900px 700px at 12% 108%, rgba(154, 42, 42, .12), transparent 55%),
    linear-gradient(180deg, #FBF8F1 0%, var(--paper) 55%, var(--paper-3) 100%);
}
/* a subtle roofline silhouette built from CSS gradients (geometry, not an image) */
.hero-roofline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 230px;
  z-index: -1;
  opacity: .5;
  background:
    linear-gradient(135deg, transparent 49.4%, rgba(28,23,20,.07) 49.5%, rgba(28,23,20,.07) 50.5%, transparent 50.6%),
    linear-gradient(45deg, transparent 49.4%, rgba(28,23,20,.07) 49.5%, rgba(28,23,20,.07) 50.5%, transparent 50.6%);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 80%);
  mask-image: linear-gradient(180deg, transparent, #000 80%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  min-height: calc(100dvh - var(--header-h));
}

.hero-title {
  font-size: clamp(2.5rem, 1.6rem + 4.6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.02em;
  margin-bottom: 1.4rem;
}
.hero-title .accent-line { color: var(--accent); display: inline-block; }
.hero-title em {
  font-style: italic;
  font-weight: 600;
  color: var(--gold-d);
  line-height: 1.1;          /* italic descender clearance */
  padding-bottom: .06em;
}
.hero-sub {
  font-size: clamp(1.08rem, 1rem + 0.5vw, 1.28rem);
  color: var(--ink-2);
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.2rem; }

.trust-strip {
  list-style: none;
  margin: 0; padding: 1.3rem 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.8rem;
}
.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
  font-size: .96rem;
  color: var(--ink-2);
}
.trust-strip svg { fill: var(--accent); flex: none; }

/* hero side card */
.hero-card { position: relative; }
.hero-card-inner {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius);
  padding: 2rem 1.9rem 2.2rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(201,162,75,.25);
}
.hero-card-inner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px 220px at 90% -10%, rgba(201,162,75,.2), transparent 60%);
  pointer-events: none;
}
.hero-card-kicker {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--on-dark);
  margin-bottom: .5rem;
}
.hero-card-line { color: var(--on-dark-mute); font-size: 1.02rem; margin-bottom: 1.3rem; max-width: 32ch; }
.hero-card-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.02rem;
}
.hero-card-link svg { fill: currentColor; transition: transform .25s var(--ease); }
.hero-card-link:hover svg { transform: translateX(4px); }
.hero-card-seal {
  position: absolute;
  right: -10px; bottom: -12px;
  color: rgba(201,162,75,.4);
  opacity: .9;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-card-seal { animation: slow-spin 60s linear infinite; transform-origin: 52% 56%; }
}
@keyframes slow-spin { to { transform: rotate(360deg); } }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats { background: var(--ink); color: var(--on-dark); position: relative; }
.stats::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent));
}
.stats-shell {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-block: clamp(2rem, 4vw, 2.8rem);
}
.stat { text-align: center; padding: .4rem .6rem; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  height: 54%; width: 1px; background: rgba(244,236,221,.16);
}
.stat-num {
  display: block;
  font-family: "Playfair Display", serif;
  font-weight: 800;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
  color: var(--gold);
  line-height: 1;
  letter-spacing: -.01em;
}
.stat-label { display: block; margin-top: .5rem; font-size: .92rem; color: var(--on-dark-mute); font-weight: 600; }

/* ============================================================
   SERVICES (asymmetric card grid family)
   ============================================================ */
.services { background: var(--paper); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.service-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--accent);
  transform: scaleY(0); transform-origin: top;
  transition: transform .3s var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(154,42,42,.25); }
.service-card:hover::before { transform: scaleY(1); }
.service-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 58px; height: 58px;
  border-radius: var(--radius-sm);
  background: rgba(154, 42, 42, .09);
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.service-icon svg { stroke: currentColor; }
.service-card h3 { font-size: 1.32rem; margin-bottom: .55rem; }
.service-card p { color: var(--ink-3); font-size: 1rem; }

/* ============================================================
   PROCESS (numbered horizontal step family)
   ============================================================ */
.process { background: var(--paper-3); position: relative; }
.process-list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.1rem, 2.5vw, 2rem);
  counter-reset: step;
}
.process-step { position: relative; padding-top: 1.4rem; }
.process-step::before {
  content: ""; position: absolute; left: 0; top: 0; width: 46px; height: 3px; background: var(--gold);
}
.step-index {
  display: block;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--accent);
  opacity: .9;
  line-height: 1;
  margin-bottom: .8rem;
}
.process-step h3 { font-size: 1.26rem; margin-bottom: .45rem; }
.process-step p { color: var(--ink-3); font-size: 1rem; }
/* connecting line between steps on desktop */
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1px; left: 56px; right: -1rem;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}

/* ============================================================
   WORK / GALLERY (asymmetric photo-band family)
   ============================================================ */
.work { background: var(--paper); }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: clamp(.8rem, 1.6vw, 1.2rem);
}
.shot { margin: 0; }
.shot-lg { grid-column: span 2; grid-row: span 2; }
.shot-wide { grid-column: span 2; }
.shot:not(.shot-lg):not(.shot-wide) { grid-row: span 1; }

.shot-frame {
  position: relative;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, #2A211B 0%, #3C2F25 48%, #211a15 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  isolation: isolate;
}
.shot-frame::before {
  /* deliberate "your photo here" treatment: roof-tile chevron texture */
  content: "";
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background:
    repeating-linear-gradient(135deg, rgba(201,162,75,.10) 0 2px, transparent 2px 13px),
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 13px);
}
.shot-frame::after {
  content: attr(data-label);
  position: absolute; top: 1rem; left: 1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  color: var(--on-dark-mute);
  background: rgba(0,0,0,.32);
  padding: .3rem .6rem; border-radius: var(--radius-pill);
  backdrop-filter: blur(3px);
}
.shot-tag {
  font-size: .8rem; font-weight: 700; letter-spacing: .03em;
  color: #2A1E0C; background: var(--gold);
  padding: .35rem .7rem; border-radius: var(--radius-pill);
  position: relative; z-index: 1;
}
.shot figcaption { margin-top: .65rem; font-size: .94rem; color: var(--ink-3); font-weight: 600; }
.work-note { margin-top: 1.6rem; font-size: .92rem; color: var(--ink-3); font-style: italic; }

/* ============================================================
   QUOTE / CONTACT (ink panel, split content+form family)
   ============================================================ */
.missed { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.missed::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 420px at 88% 8%, rgba(201,162,75,.16), transparent 60%),
    radial-gradient(640px 460px at 6% 100%, rgba(154,42,42,.28), transparent 58%);
  pointer-events: none;
}
.missed-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.missed-copy h2 { font-size: clamp(1.9rem, 1.3rem + 2.8vw, 3rem); margin-bottom: 1.1rem; }
.missed-lede { color: var(--on-dark-mute); font-size: 1.12rem; max-width: 46ch; margin-bottom: 1.8rem; }
.missed-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.missed-points li {
  display: flex; align-items: center; gap: .9rem;
  font-weight: 600; font-size: 1.04rem; color: var(--on-dark);
}
.missed-points svg { stroke: var(--gold); flex: none; }

/* quote form panel */
.quote-panel { position: relative; }
.quote-form {
  background: var(--paper-2);
  color: var(--ink-2);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--accent);
  position: relative;
}
.quote-title { font-size: 1.7rem; color: var(--ink); margin-bottom: .35rem; }
.quote-sub { color: var(--ink-3); font-size: 1rem; margin-bottom: 1.5rem; }

.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.05rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-weight: 700; font-size: .92rem; color: var(--ink); }
.field .optional { font-weight: 500; color: var(--ink-3); }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #FFF;
  border: 1.5px solid #D8CDB8;
  border-radius: var(--radius-sm);
  padding: .8rem .9rem;
  width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 78px; }
.field input::placeholder,
.field textarea::placeholder { color: #8C8071; }   /* AA on white */
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(154, 42, 42, .16);
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='%236B5F54' d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem; }
.field.invalid input,
.field.invalid select { border-color: var(--accent); background: #FCF4F0; }
.field-error { color: var(--accent-d); font-size: .85rem; font-weight: 600; }

.quote-form .btn-block { margin-top: .4rem; }
.quote-fineprint { text-align: center; font-size: .84rem; color: var(--ink-3); margin-top: .8rem; }

/* success state overlays the form */
.form-success {
  position: absolute; inset: 0;
  background: var(--paper-2);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  gap: .7rem;
}
.success-tick { color: var(--accent); }
.success-tick svg { stroke: currentColor; }
@media (prefers-reduced-motion: no-preference) {
  .form-success:not([hidden]) .success-tick { animation: pop .5s var(--ease) both; }
}
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.form-success h3 { font-size: 1.6rem; color: var(--ink); }
.form-success p { color: var(--ink-3); max-width: 34ch; }

/* ============================================================
   REVIEWS (centred testimonial trio family)
   ============================================================ */
.reviews { background: var(--paper-3); }
.rating-line { display: inline-flex; align-items: center; gap: .7rem; margin-top: .4rem; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { fill: var(--gold); }
.rating-text { font-weight: 700; color: var(--ink-2); font-size: 1rem; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.review-card {
  margin: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
  position: relative;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-card::before {
  content: "\201C";
  font-family: "Playfair Display", serif;
  font-size: 3.6rem;
  line-height: 1;
  color: var(--gold);
  opacity: .55;
  position: absolute;
  top: .7rem; right: 1.1rem;
}
.review-card blockquote {
  margin: 0 0 1.2rem;
  font-size: 1.06rem;
  color: var(--ink-2);
  line-height: 1.55;
  position: relative; z-index: 1;
}
.review-card figcaption { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: .9rem; }
.rev-name { font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.rev-meta { font-size: .9rem; color: var(--ink-3); font-weight: 600; }

/* ============================================================
   SERVICE AREAS (split copy + chip-grid family)
   ============================================================ */
.areas { background: var(--paper); }
.areas-shell {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.areas-copy .btn { margin-top: 1.5rem; }
.area-list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
}
.area-list li {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .9rem 1.1rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: border-color .2s var(--ease), transform .2s var(--ease), background-color .2s var(--ease);
}
.area-list li::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
  flex: none;
}
.area-list li:hover { transform: translateX(3px); border-color: rgba(154,42,42,.3); background: #FFF; }

/* ============================================================
   FINAL CTA (ink banner family)
   ============================================================ */
.final-cta { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 50% -30%, rgba(201,162,75,.18), transparent 60%),
    radial-gradient(700px 500px at 50% 130%, rgba(154,42,42,.3), transparent 60%);
}
.final-cta::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent));
}
.final-shell { position: relative; text-align: center; padding-block: clamp(3.5rem, 8vw, 6rem); max-width: 60ch; margin-inline: auto; }
.final-shell h2 { font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); margin-bottom: 1rem; }
.final-sub { color: var(--on-dark-mute); font-size: 1.15rem; margin-bottom: 2rem; }
.final-ctas { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #16110E; color: var(--on-dark-mute); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(1.6rem, 3vw, 3rem);
  padding-bottom: 2.6rem;
}
.brand-footer .brand-name { color: var(--on-dark); }
.brand-footer .brand-mark { color: var(--gold); }
.footer-blurb { margin: 1.1rem 0 1.3rem; max-width: 38ch; font-size: .98rem; line-height: 1.6; }
.footer-socials { display: flex; gap: .7rem; }
.footer-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(244,236,221,.18);
  border-radius: var(--radius-sm);
  color: var(--on-dark-mute);
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.footer-socials a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }

.footer-col h3 {
  font-family: "Source Sans 3", sans-serif;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer-contact a, .footer-contact li { color: var(--on-dark-mute); font-size: .98rem; line-height: 1.5; }
.footer-contact a:hover { color: var(--gold); }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; font-size: .96rem; }
.footer-hours li span:first-child { color: var(--on-dark); font-weight: 600; }
.footer-emerg { margin-top: 1rem; font-size: .88rem; color: var(--gold); font-weight: 600; }
.footer-areas { font-size: .96rem; }
.footer-areas li { transition: color .2s var(--ease); }

.footer-base {
  border-top: 1px solid rgba(244,236,221,.12);
  padding-block: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem;
  font-size: .86rem;
}
.footer-base p { color: var(--on-dark-mute); }
.footer-creds { color: rgba(197,182,161,.8); }

/* ============================================================
   STICKY MOBILE CALL BAR
   ============================================================ */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: .6rem;
  padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(22, 17, 14, .96);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(201,162,75,.3);
}
.mobile-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .9rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1.02rem;
}
.mobile-bar-call { background: var(--accent); color: #FFF; }
.mobile-bar-call svg { fill: currentColor; }
.mobile-bar-quote { background: var(--gold); color: #2A1E0C; }

/* ============================================================
   SCROLL-REVEAL (REFINED motion) - only when motion allowed
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
  [data-reveal].is-in { opacity: 1; transform: none; }
  [data-reveal][data-delay="1"] { transition-delay: .08s; }
  [data-reveal][data-delay="2"] { transition-delay: .16s; }
  [data-reveal][data-delay="3"] { transition-delay: .24s; }
  [data-reveal][data-delay="4"] { transition-delay: .32s; }
  [data-reveal][data-delay="5"] { transition-delay: .40s; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-shell { grid-template-columns: 1.3fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  /* mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: .5rem 1.2rem 1.2rem;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav-links a {
    padding: 1rem .2rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.08rem;
  }
  .nav-links a::after { display: none; }
  .phone-cta span { display: none; }
  .phone-cta { padding: .6rem .75rem; }

  .hero-shell { grid-template-columns: 1fr; min-height: auto; padding-top: 2.4rem; }
  .hero-card { max-width: 480px; }
  .hero-card-seal { right: 8px; bottom: 0; }

  .stats-shell { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1rem; }
  .stat:nth-child(2)::before, .stat + .stat::before { display: none; }

  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.4rem; }
  .process-step:not(:last-child)::after { display: none; }

  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .shot-lg { grid-column: span 2; grid-row: span 1; }
  .shot-wide { grid-column: span 2; }

  .missed-shell { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .areas-shell { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .mobile-bar { display: flex; }
  body { padding-bottom: 76px; }   /* clear the mobile bar */
}

@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1; }
  .final-ctas .btn { width: 100%; }
  .footer-base { flex-direction: column; }
}

@media (max-width: 380px) {
  .stats-shell { grid-template-columns: 1fr; }
  .stat + .stat::before { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .shot-lg, .shot-wide { grid-column: span 1; }
}
