/* Aggressive Plumbing — shared stylesheet (theme by Metrothemes LLC, https://metrothemes.me/)
   Brand: royal blue + torch flame from the logo, on warm paper.
   All motion is transform/opacity only, CSS-driven, and disabled
   under prefers-reduced-motion. No 3D libraries. */

:root {
  --ink: #111c3a;
  --ink-2: #1a2a55;
  --blue: #2244a8;
  --blue-soft: #e4e9f7;
  --flame: #cc3a1f;
  --flame-deep: #a62c15;
  --ember: #f5a13a;
  --paper: #f7f2e9;
  --paper-2: #efe6d6;
  --card: #fffdf8;
  --text: #1c2236;
  --muted: #5b6075;
  --line: #e2d7c3;
  --radius: 14px;
  --radius-lg: 24px;
  --pill: 999px;
  --shadow: 0 1px 2px rgba(17, 28, 58, 0.06), 0 10px 28px -12px rgba(17, 28, 58, 0.22);
  --shadow-lg: 0 2px 4px rgba(17, 28, 58, 0.06), 0 30px 60px -24px rgba(17, 28, 58, 0.45);
  --shadow-flame: 0 12px 28px -12px rgba(224, 69, 43, 0.6);
  --max: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.62;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* Paper grain: one static composited layer, no repaint on scroll */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 400;
  background-image: var(--grain); opacity: 0.05; mix-blend-mode: multiply;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--flame); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.32rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 64ch; text-wrap: pretty; }
p.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 50ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-hand); font-size: 1.55rem; font-weight: 600; line-height: 1;
  color: var(--flame-deep); margin-bottom: 14px; transform: rotate(-2deg); transform-origin: left;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.underline-hand { position: relative; white-space: nowrap; }
.underline-hand::after {
  content: ''; position: absolute; left: -2%; right: -2%; bottom: -0.1em; height: 0.3em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9c40-6 92-8 196-3' fill='none' stroke='%23e0452b' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  transform-origin: left; transform: scaleX(0); animation: draw-under 0.9s 0.5s var(--ease) forwards;
}
@keyframes draw-under { to { transform: scaleX(1); } }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 96px 0 108px; position: relative; }
@media (max-width: 640px) { section { padding: 60px 0 68px; } }

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--ink); color: #fff; padding: 12px 18px;
  border-radius: 8px; z-index: 500; transition: top 0.2s var(--ease);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--flame);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--pill);
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.35s var(--spring), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  min-height: 52px; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary, .btn-on-dark { background: var(--flame); color: #fff; box-shadow: var(--shadow-flame); }
.btn-primary:hover, .btn-on-dark:hover { background: var(--flame-deep); box-shadow: 0 18px 34px -12px rgba(224, 69, 43, 0.7); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-on-dark { background: rgba(255,255,255,0.04); color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost-on-dark:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue);
  text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px;
  transition: gap 0.25s var(--ease), color 0.2s var(--ease);
}
.text-link svg { width: 18px; height: 18px; }
.text-link:hover { gap: 14px; color: var(--flame-deep); }

/* Scroll progress (scaleX, not width: no layout work) */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--flame), var(--ember));
  z-index: 300; transform: scaleX(0); transform-origin: 0 50%;
}

.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 140;
  width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff;
  border: none; display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s var(--ease);
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--flame); }
@media (max-width: 640px) { .back-to-top { bottom: 92px; right: 16px; width: 44px; height: 44px; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 160; transition: box-shadow 0.3s var(--ease); }
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   trap the fixed mobile nav panel inside the header box. */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(247, 242, 233, 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: 0 6px 24px -14px rgba(17, 28, 58, 0.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 20px; max-width: var(--max); margin: 0 auto; min-height: 72px; transition: min-height 0.3s var(--ease); }
.site-header.scrolled .header-inner { min-height: 60px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 50px; width: auto; transition: height 0.3s var(--ease), transform 0.4s var(--spring); }
.brand:hover img { transform: rotate(-2deg) scale(1.03); }
.site-header.scrolled .brand img { height: 42px; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  position: relative; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.97rem;
  padding: 10px 12px; border-radius: var(--pill); transition: color 0.2s var(--ease);
}
.main-nav a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 2px;
  background: var(--flame); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--flame-deep); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: flex; align-items: center; gap: 9px; font-weight: 700; color: #fff; text-decoration: none; font-size: 0.97rem;
  background: var(--ink); padding: 10px 18px 10px 14px; border-radius: var(--pill);
  transition: background 0.25s var(--ease), transform 0.35s var(--spring);
}
.header-phone:hover { background: var(--flame); transform: translateY(-1px); }
.header-phone svg { flex-shrink: 0; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3bd17a; animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(59, 209, 122, 0.6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(59, 209, 122, 0); } }

.nav-toggle { display: none; background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1060px) {
  .site-header.scrolled .header-inner { min-height: 72px; }
  .site-header.scrolled .brand img { height: 50px; }
  .main-nav { position: fixed; inset: 72px 0 0 0; z-index: 160; background: var(--paper); flex-direction: column; align-items: stretch; padding: 20px; gap: 0; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); overflow-y: auto; }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 16px 8px; font-size: 1.4rem; font-family: var(--font-display); border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 520px) {
  .header-phone span { display: none; } .header-phone { padding: 13px; }
  .header-phone .live-dot { display: none; }
  .brand img, .site-header.scrolled .brand img { height: 42px; }
}
body.nav-open { overflow: hidden; }
body.nav-open .mobile-call-bar, body.nav-open .back-to-top { opacity: 0 !important; pointer-events: none !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 85% 0%, #22376e 0%, var(--ink) 55%, #0b1430 100%);
  color: #fff; padding: 72px 0 96px;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: 0.12; mix-blend-mode: overlay;
}
.hero-glow {
  position: absolute; z-index: -1; width: 640px; height: 640px; left: 0; top: 0; pointer-events: none;
  margin: -320px 0 0 -320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 161, 58, 0.28), rgba(224, 69, 43, 0.12) 40%, transparent 68%);
  transform: translate3d(var(--gx, 75vw), var(--gy, 40%), 0); transition: transform 0.8s var(--ease);
}
@media (max-width: 640px) { .hero { padding: 40px 0 64px; } }
.hero .container { position: relative; z-index: 1; }
.hero-split { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 56px; }
@media (max-width: 960px) { .hero-split { grid-template-columns: 1fr; gap: 36px; } }
.hero-copy { max-width: 600px; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--ember); }
.hero p.lede { color: rgba(255,255,255,0.8); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 32px 0 0; padding: 0; list-style: none; font-size: 0.95rem; color: rgba(255,255,255,0.82); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--ember); flex-shrink: 0; }

.hero-copy > * { animation: rise 0.9s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.32s; }
@keyframes rise { from { transform: translateY(24px); } to { transform: none; } }

/* 3D photo stack: real job prints floating in space.
   --rx/--ry come from pointer position (script.js). */
.stack { position: relative; height: 540px; perspective: 1400px; --rx: 0deg; --ry: 0deg; }
.stack-scene {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.7s var(--ease);
  animation: scene-in 1.2s 0.1s var(--ease) both;
}
@keyframes scene-in { from { transform: rotateX(18deg) rotateY(-14deg) translateY(40px); } }
.print {
  position: absolute; margin: 0; background: #fff; padding: 10px 10px 46px; border-radius: 4px;
  box-shadow: 0 2px 3px rgba(0,0,0,0.12), 0 30px 50px -20px rgba(0,0,0,0.55);
}
.print img { width: 100%; border-radius: 2px; aspect-ratio: var(--ar, 3/4); object-fit: cover; background: var(--paper-2); }
.print figcaption, .print .cap {
  position: absolute; left: 12px; right: 12px; bottom: 9px; color: #2b2f3f; text-align: center;
  font-family: var(--font-hand); font-size: 1.4rem; font-weight: 600; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.print .tape {
  position: absolute; top: -12px; left: 50%; width: 90px; height: 26px; margin-left: -45px; z-index: 1;
  background: rgba(240, 226, 186, 0.82); transform: rotate(-4deg); box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}
.stack .print { transform-style: preserve-3d; }
.stack .p1 { width: 56%; left: 22%; top: 0; z-index: 3; transform: translateZ(80px) rotate(-3deg); animation: float-a 9s ease-in-out infinite; }
.stack .p2 { width: 42%; left: 0; top: 24%; z-index: 2; transform: translateZ(10px) rotate(-9deg); animation: float-b 11s ease-in-out infinite; }
.stack .p3 { width: 40%; right: -2%; top: 50%; z-index: 1; transform: translateZ(-40px) rotate(8deg); animation: float-c 10s ease-in-out infinite; }
@keyframes float-a { 50% { transform: translateZ(80px) rotate(-2deg) translateY(-10px); } }
@keyframes float-b { 50% { transform: translateZ(10px) rotate(-7deg) translateY(8px); } }
@keyframes float-c { 50% { transform: translateZ(-40px) rotate(6deg) translateY(-8px); } }
.stack.two .p1 { width: 62%; left: 2%; top: 2%; }
.stack.two .p3 { width: 48%; right: 0; top: 30%; z-index: 4; transform: translateZ(120px) rotate(7deg); animation-name: float-d; }
@keyframes float-d { 50% { transform: translateZ(120px) rotate(5deg) translateY(-8px); } }
@media (max-width: 960px) { .stack { height: 470px; max-width: 540px; margin: 0 auto; width: 100%; } }
@media (max-width: 480px) {
  .stack { height: 390px; }
  .print { padding: 7px 7px 36px; }
  .print figcaption, .print .cap { font-size: 1.15rem; bottom: 7px; }
}

/* Spinning seal with the brand motto */
.seal { position: absolute; z-index: 5; width: 132px; height: 132px; right: 0; bottom: 2%; transform: translateZ(160px); }
.seal svg.ring { width: 100%; height: 100%; animation: spin 24s linear infinite; }
.seal text { font-family: var(--font-body); font-weight: 800; font-size: 11px; letter-spacing: 2.2px; fill: #fff; }
.seal-core { position: absolute; inset: 27%; border-radius: 50%; background: var(--flame); display: grid; place-items: center; box-shadow: var(--shadow-flame); color: #fff; }
.seal-core svg { width: 50%; height: 50%; }
.seal-bg { fill: var(--ink-2); stroke: rgba(255,255,255,0.2); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 480px) { .seal { width: 104px; height: 104px; } }

.hero-manifesto h1 { max-width: 15ch; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--card); border-bottom: 1px solid var(--line); padding: 28px 0; }
.trust-strip-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: space-between; }
.trust-label { font-family: var(--font-hand); font-size: 1.55rem; color: var(--muted); white-space: nowrap; transform: rotate(-2deg); }
.logo-row { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.logo-row img { height: 44px; width: auto; filter: grayscale(1) contrast(1.1); opacity: 0.75; mix-blend-mode: multiply; transition: filter 0.3s var(--ease), opacity 0.3s var(--ease), transform 0.4s var(--spring); }
.logo-row img:hover { filter: none; opacity: 1; transform: translateY(-3px) scale(1.05); }
@media (max-width: 640px) { .logo-row { gap: 18px 22px; } .logo-row img { height: 34px; } }

/* ---------- Section heading ---------- */
.section-head { max-width: 780px; margin-bottom: 52px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center p { margin-left: auto; margin-right: auto; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head.split > div { max-width: 680px; }
.section-head.split p { margin-bottom: 0; }

.section-alt { background: var(--paper-2); }
.section-navy { background: var(--ink); color: #fff; isolation: isolate; overflow: hidden; }
.section-navy::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: 0.12; mix-blend-mode: overlay; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: rgba(255,255,255,0.75); }

/* ---------- 3D tilt (pointer-driven via script.js) ---------- */
[data-tilt] {
  transform: perspective(1000px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateY(var(--lift, 0px)) rotate(var(--r, 0deg));
  transition: transform 0.6s var(--ease), box-shadow 0.4s var(--ease);
}
[data-tilt].tilting { transition: transform 0.12s linear, box-shadow 0.4s var(--ease); }

/* ---------- Services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, auto); gap: 18px; }
.bento-card {
  background: var(--card); border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  border: 1px solid var(--line); position: relative; overflow: hidden;
  text-decoration: none; color: var(--text);
}
.bento-card:hover { --lift: -6px; box-shadow: var(--shadow-lg); }
.bento-card .icon { width: 50px; height: 50px; border-radius: 14px; background: #fde6df; display: flex; align-items: center; justify-content: center; color: var(--flame); margin-bottom: auto; transition: transform 0.45s var(--spring); }
.bento-card:hover .icon { transform: rotate(-8deg) scale(1.08); }
.bento-card .icon svg { width: 26px; height: 26px; }
.bento-card h3 { margin: 18px 0 2px; }
.bento-card p { margin: 0; font-size: 0.98rem; color: var(--muted); }
.bento-card .go { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); transition: transform 0.45s var(--spring), background 0.25s; }
.bento-card .go svg { width: 18px; height: 18px; }
.bento-card:hover .go { transform: rotate(-45deg); background: var(--flame); color: #fff; }
.bento-card.has-image { color: #fff; min-height: 280px; border: 0; background: var(--ink); }
.bento-card.has-image .bento-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 0.9s var(--ease); }
.bento-card.has-image:hover .bento-bg { transform: scale(1.07); }
.bento-card.has-image::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(17, 28, 58, 0) 25%, rgba(11, 20, 48, 0.9) 100%); }
.bento-card.has-image > *:not(.bento-bg):not(.go) { position: relative; z-index: 2; }
.bento-card.has-image .go { z-index: 2; background: rgba(255,255,255,0.2); color: #fff; }
.bento-card.has-image .icon { background: rgba(255,255,255,0.16); color: #fff; backdrop-filter: blur(6px); }
.bento-card.has-image h3 { color: #fff; }
.bento-card.has-image p { color: rgba(255,255,255,0.88); }
.bento-card.flame { background: var(--flame); border-color: var(--flame); color: #fff; }
.bento-card.flame h3 { color: #fff; }
.bento-card.flame p { color: #fff; } /* 0.92 white measured 4.45:1 on flame; solid white passes AA */
.bento-card.flame .icon { background: rgba(255,255,255,0.2); color: #fff; }
.bento-card.flame .go { background: rgba(255,255,255,0.2); color: #fff; }
.bento-card.flame:hover .go { background: #fff; color: var(--flame); }
.bento-lg { grid-column: span 2; grid-row: span 2; }
.bento-md { grid-column: span 2; }
.bento-sm { grid-column: span 1; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento-lg, .bento-md { grid-column: span 2; } .bento-lg { grid-row: span 1; min-height: 360px; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento-lg, .bento-md, .bento-sm { grid-column: span 1; } }

/* ---------- Feature split ---------- */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature-split.reverse .feature-media { order: 2; }
.feature-media { position: relative; }
.feature-media > img { border-radius: var(--radius-lg); width: 100%; height: 480px; object-fit: cover; box-shadow: var(--shadow-lg); }
.feature-media .print { width: 40%; right: -5%; bottom: -9%; --r: 5deg; }
.feature-split.reverse .feature-media .print { right: auto; left: -5%; --r: -5deg; }
.feature-media .print img { aspect-ratio: 3/4; }
.feature-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.feature-list .icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: #fde6df; color: var(--flame); display: flex; align-items: center; justify-content: center; }
.feature-list .icon svg { width: 15px; height: 15px; }
@media (max-width: 880px) {
  .feature-split { grid-template-columns: 1fr; gap: 64px; }
  .feature-split.reverse .feature-media { order: 0; }
  .feature-media > img { height: 360px; }
  .feature-media .print { right: 3%; bottom: -12%; }
  .feature-split.reverse .feature-media .print { left: 3%; }
}

/* ---------- Reasons ---------- */
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.reason-card { padding: 30px 28px 10px 0; position: relative; }
.reason-card + .reason-card { padding-left: 28px; border-left: 1px solid var(--line); }
.reason-card .num { font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px var(--flame); display: block; margin-bottom: 18px; transition: color 0.4s var(--ease), transform 0.5s var(--spring); }
.reason-card:hover .num { color: var(--flame); transform: translateY(-4px) rotate(-3deg); }
.reason-card p { color: var(--muted); font-size: 0.99rem; }
.reasons.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 960px) { .reasons { grid-template-columns: 1fr 1fr; } .reason-card:nth-child(3) { padding-left: 0; border-left: 0; } .reason-card:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .reasons, .reasons.two { grid-template-columns: 1fr; } .reason-card, .reason-card + .reason-card { padding-left: 0; border-left: 0; } .reason-card + .reason-card { border-top: 1px solid var(--line); } }

/* ---------- Before / after compare ---------- */
.compare-wrap { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 56px; align-items: center; }
.compare-wrap.flip { grid-template-columns: 0.75fr 1.25fr; }
.compare-wrap.flip .compare-copy { order: -1; }
@media (max-width: 900px) { .compare-wrap, .compare-wrap.flip { grid-template-columns: 1fr; gap: 28px; } }
.compare {
  --pos: 50%;
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: var(--ar, 4/3); background: var(--paper-2); user-select: none; -webkit-user-select: none;
}
.compare.tall { max-width: 520px; margin: 0 auto; width: 100%; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; touch-action: pan-y; }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; z-index: 3; pointer-events: none;
  box-shadow: 0 0 12px rgba(0,0,0,0.35);
}
.compare-handle::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  background: var(--flame) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / 24px;
  box-shadow: var(--shadow-flame); border: 3px solid #fff; transition: transform 0.35s var(--spring);
}
.compare:hover .compare-handle::after { transform: scale(1.08); }
.compare input:focus-visible ~ .compare-handle::after { outline: 3px solid var(--ember); outline-offset: 3px; }
.compare.nudge .compare-handle, .compare.nudge .after { transition: left 0.9s var(--ease), clip-path 0.9s var(--ease); }
.compare-tag {
  position: absolute; top: 16px; z-index: 2; pointer-events: none; padding: 2px 14px 4px; border-radius: var(--pill);
  font-family: var(--font-hand); font-size: 1.45rem; font-weight: 600; line-height: 1.2; color: #fff; background: rgba(17, 28, 58, 0.75);
}
.compare-tag.before { left: 16px; }
.compare-tag.after-tag { right: 16px; background: var(--flame); }
.compare-hint { font-family: var(--font-hand); font-size: 1.45rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- Work reel (horizontal scroll of prints) ---------- */
.reel {
  display: flex; gap: 30px; overflow-x: auto; padding: 34px 24px 56px; margin: 0 -20px;
  scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--flame) transparent;
  -webkit-overflow-scrolling: touch;
}
.reel .print { position: relative; flex: 0 0 clamp(220px, 24vw, 280px); scroll-snap-align: start; text-decoration: none; color: inherit; }
.reel .print:nth-child(odd) { --r: -2deg; }
.reel .print:nth-child(even) { --r: 2deg; margin-top: 18px; }
.reel .print:hover { --lift: -10px; box-shadow: 0 2px 3px rgba(0,0,0,0.12), 0 40px 60px -24px rgba(0,0,0,0.55); }

/* ---------- Gallery (work page) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter {
  font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer; padding: 10px 18px; border-radius: var(--pill);
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink); min-height: 44px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.35s var(--spring);
}
.filter:hover { border-color: var(--ink); transform: translateY(-2px); }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery { columns: 3 280px; column-gap: 22px; }
.gallery .shot { break-inside: avoid; margin: 0 0 22px; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.gallery .shot a { display: block; text-decoration: none; color: inherit; overflow: hidden; position: relative; }
.gallery .shot img { width: 100%; transition: transform 0.9s var(--ease); }
.gallery .shot:hover img { transform: scale(1.05); }
.gallery .shot:hover { --lift: -4px; box-shadow: var(--shadow-lg); }
.gallery figcaption { padding: 14px 18px 16px; }
.gallery figcaption strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.06rem; line-height: 1.25; }
.gallery figcaption span { font-size: 0.92rem; color: var(--muted); }
.gallery .shot[hidden] { display: none; }
.zoom-hint { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.92); color: var(--ink); opacity: 0; transform: scale(0.8); transition: opacity 0.25s, transform 0.35s var(--spring); }
.zoom-hint svg { width: 18px; height: 18px; }
.shot:hover .zoom-hint, .shot a:focus-visible .zoom-hint { opacity: 1; transform: none; }

/* Lightbox (native <dialog>) */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(11, 20, 48, 0.88); }
.lightbox[open] { animation: pop 0.45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: perspective(1200px) rotateX(10deg) scale(0.94); } to { opacity: 1; transform: none; } }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox p { color: #fff; text-align: center; margin: 14px auto 0; font-family: var(--font-hand); font-size: 1.6rem; }
.lightbox-close { position: absolute; top: -18px; right: -10px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); z-index: 1; }
.lightbox-close svg { width: 20px; height: 20px; }

/* ---------- Community / people ---------- */
.community { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center; }
@media (max-width: 900px) { .community { grid-template-columns: 1fr; gap: 48px; } }
.community-media { position: relative; padding-bottom: 40px; }
.community-media .main { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.community-media .print { width: 42%; right: -3%; bottom: -4%; --r: 6deg; }
.community-media .print img { aspect-ratio: 4/3; }
@media (max-width: 900px) { .community-media .print { right: 2%; } }
.sticky-note {
  display: inline-block; background: #fff1a8; color: #3a3320; padding: 16px 22px 18px; transform: rotate(-2deg);
  box-shadow: 0 12px 22px -14px rgba(0,0,0,0.45); font-family: var(--font-hand); font-size: 1.5rem; line-height: 1.2; max-width: 360px; margin-top: 12px;
}

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 22px; align-items: start; }
.review-card { background: var(--card); border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; position: relative; margin: 0; }
.review-card:nth-child(1) { background: var(--ink); color: #fff; border-color: var(--ink); }
.review-card:nth-child(1) blockquote { color: #fff; font-size: 1.3rem; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; line-height: 1.38; }
.review-card:nth-child(1) cite { color: rgba(255,255,255,0.75); }
.review-card:nth-child(2) { margin-top: 44px; --r: 0.8deg; }
.review-card:nth-child(3) { margin-top: 14px; --r: -0.8deg; }
.review-card::before { content: '\201C'; position: absolute; top: 2px; right: 22px; font-family: var(--font-display); font-size: 5.5rem; line-height: 1; color: var(--flame); }
.review-card .stars { color: var(--ember); letter-spacing: 3px; font-size: 1.05rem; }
.review-card blockquote { margin: 0; font-size: 1.03rem; line-height: 1.6; color: var(--text); }
.review-card cite { font-style: normal; font-weight: 700; font-size: 0.97rem; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.review-card cite .initial { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-family: var(--font-display); font-weight: 700; }
.review-card:nth-child(1) cite .initial { background: var(--flame); color: #fff; }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } .review-card:nth-child(n) { margin-top: 0; --r: 0deg; } }

.pull-quote { max-width: 880px; margin: 0 auto; text-align: center; }
.review-card figcaption { margin: 0; }
.pull-quote blockquote { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 500; color: var(--ink); margin: 0 0 20px; line-height: 1.28; letter-spacing: -0.02em; }
.section-navy .pull-quote blockquote { color: #fff; }
.pull-quote cite { font-style: normal; font-family: var(--font-hand); font-size: 1.7rem; color: var(--flame); }
.section-navy .pull-quote cite { color: var(--ember); }

/* Service-area chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { background: var(--card); border: 1.5px solid var(--line); padding: 12px 20px; border-radius: var(--pill); font-size: 1rem; font-weight: 600; color: var(--ink); transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.4s var(--spring), border-color 0.25s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.chip svg { width: 16px; height: 16px; color: var(--flame); }
.chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-3px) rotate(-1.5deg); }
.area-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.area-grid .section-head { margin-bottom: 0; }
@media (max-width: 900px) { .area-grid { grid-template-columns: 1fr; gap: 28px; } }

/* FAQ */
.faq { max-width: 900px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 0; font-weight: 600; font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.28rem); color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; transition: color 0.2s; }
.faq summary:hover { color: var(--flame-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111c3a' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") no-repeat center / 18px; transition: transform 0.4s var(--spring), background-color 0.2s; }
.section-alt .faq summary::after { background-color: var(--card); }
.faq details[open] summary::after { transform: rotate(135deg); background-color: #fde6df; }
.faq p { padding: 0 0 22px; color: var(--muted); margin: 0; }
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq-layout .section-head { position: sticky; top: 110px; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; gap: 0; } .faq-layout .section-head { position: static; margin-bottom: 28px; } }

/* ---------- CTA banner ----------
   Split card: copy + giant tap-to-call number on the left, van print and
   a sticky note on the right, a pipe with flowing water along the bottom. */
.cta-banner {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 120% at 100% 0%, #24397a 0%, var(--ink) 55%, #0b1430 100%);
  color: #fff; border-radius: 36px; padding: 64px 64px 104px;
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center;
  box-shadow: 0 40px 80px -40px rgba(11, 20, 48, 0.7);
}
.cta-banner::before { content: ''; position: absolute; z-index: -1; width: 620px; height: 620px; right: -180px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(245,161,58,0.32), rgba(204,58,31,0.14) 45%, transparent 70%); }
.cta-banner::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: 0.12; mix-blend-mode: overlay; }
.cta-banner h2 { color: #fff; margin-bottom: 10px; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.cta-banner p { color: rgba(255,255,255,0.78); margin: 0; }

.status-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 7px 16px 7px 12px; border-radius: var(--pill); font-size: 0.9rem; font-weight: 600;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.9);
}
.status-pill.is-after .live-dot { background: var(--ember); animation-name: pulse-amber; }
@keyframes pulse-amber { 0% { box-shadow: 0 0 0 0 rgba(245, 161, 58, 0.6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(245, 161, 58, 0); } }

.cta-phone {
  display: inline-flex; align-items: center; gap: 18px; margin: 26px 0 26px;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em; line-height: 1;
  font-size: clamp(2rem, 5.4vw, 4.1rem); color: #fff; text-decoration: none;
  background: linear-gradient(var(--flame), var(--flame)) no-repeat 0 100% / 0% 4px; padding-bottom: 10px;
  transition: background-size 0.5s var(--ease), color 0.25s;
}
.cta-phone:hover { background-size: 100% 4px; }
.cta-phone .ring {
  flex-shrink: 0; width: 1.25em; height: 1.25em; border-radius: 50%; display: grid; place-items: center;
  background: var(--flame); box-shadow: var(--shadow-flame); transition: transform 0.4s var(--spring);
}
.cta-phone .ring svg { width: 46%; height: 46%; }
.cta-phone:hover .ring { animation: ring 0.9s ease-in-out; }
@keyframes ring { 10%, 30%, 50% { transform: rotate(-14deg) scale(1.06); } 20%, 40% { transform: rotate(14deg) scale(1.06); } 60% { transform: none; } }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.cta-actions .text-link { color: #fff; }
.cta-actions .text-link:hover { color: var(--ember); }

.cta-art { position: relative; min-height: 320px; }
.cta-art .print { width: 82%; right: 0; top: 0; --r: 6deg; padding-bottom: 10px; }
.cta-art .print img { aspect-ratio: 4/3; }
.cta-art .sticky-note { position: absolute; left: -6%; bottom: 0; transform: rotate(-6deg); max-width: 230px; font-size: 1.45rem; z-index: 2; }
.cta-arrow { position: absolute; left: -26%; bottom: 74px; width: 110px; height: 70px; color: var(--ember); z-index: 2; }
.cta-arrow path { stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset 1.2s 0.5s var(--ease); }
.reveal.in .cta-arrow path, .no-anim .cta-arrow path { stroke-dashoffset: 0; }

/* Pipe with flowing water (shared by CTA and footer) */
.pipe { position: absolute; left: 0; right: 0; height: 36px; pointer-events: none; }
.pipe svg { width: 100%; height: 100%; display: block; overflow: visible; }
.pipe .tube { stroke: rgba(255,255,255,0.1); stroke-width: 14; fill: none; stroke-linecap: round; }
.pipe .water { stroke: #5b8cff; stroke-width: 4; fill: none; stroke-linecap: round; stroke-dasharray: 10 16; opacity: 0.85; transition: opacity 0.6s; }
.pipe .joint { fill: rgba(255,255,255,0.16); }
.flowing .pipe .water { animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -26; } }
.cta-banner .pipe { bottom: 30px; }
.drip { position: absolute; right: 38px; bottom: 6px; width: 10px; height: 14px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: #5b8cff; opacity: 0; }
.flowing .drip { animation: drip 2.6s 0.4s ease-in infinite; }
@keyframes drip { 0% { opacity: 0; transform: translateY(-14px) scale(0.4); } 20% { opacity: 1; transform: translateY(-8px) scale(1); } 60% { opacity: 1; transform: translateY(24px); } 61%, 100% { opacity: 0; transform: translateY(24px); } }

@media (max-width: 860px) {
  .cta-banner { grid-template-columns: 1fr; padding: 48px 32px 96px; }
  .cta-art { display: none; }
}
@media (max-width: 640px) {
  .cta-banner { padding: 36px 22px 88px; border-radius: 26px; }
  .cta-actions .btn { width: 100%; }
  .cta-phone { gap: 12px; }
}

/* Breadcrumb */
.breadcrumb { padding: 16px 20px 14px; font-size: 0.9rem; color: var(--muted); }
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--flame-deep); text-decoration: underline; }
.breadcrumb span[aria-current] { color: var(--ink); font-weight: 600; }
/* Rank Math's breadcrumb markup */
.breadcrumb .rank-math-breadcrumb p { margin: 0; }
.breadcrumb .rank-math-breadcrumb .separator { margin: 0 4px; }
.breadcrumb .rank-math-breadcrumb .last { color: var(--ink); font-weight: 600; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 18px; }
.info-card h3 { margin-bottom: 10px; }
.info-card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; }
.info-card dt { font-weight: 700; color: var(--ink); }
.info-card dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.info-card a { color: var(--blue); font-weight: 600; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); margin-top: 18px; }
.map-frame iframe { display: block; width: 100%; height: 280px; border: 0; }
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
@media (max-width: 560px) { .contact-form { padding: 24px 18px; } .contact-form .btn { width: 100%; } }
.van-card { display: grid; grid-template-columns: 160px 1fr; gap: 22px; align-items: center; margin: 8px 0 26px; }
.van-card .print { position: relative; --r: -4deg; padding: 6px 6px 8px; }
.van-card .print img { aspect-ratio: 4/3; }
.van-card p { margin: 0; font-family: var(--font-hand); font-size: 1.5rem; line-height: 1.2; color: var(--ink); }

.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; padding: 14px 16px; border-radius: var(--radius);
  border: 1.5px solid var(--line); background: #fff; color: var(--text); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); outline: none; }
.field textarea { resize: vertical; min-height: 130px; }
.field .error { display: none; color: #b3261e; font-size: 0.88rem; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b3261e; }
.field.invalid .error { display: block; }
.form-status { margin-top: 12px; padding: 14px 18px; border-radius: var(--radius); font-weight: 600; display: none; background: #fbe4e1; color: #8a1f12; }
.form-status.show { display: block; }
.form-status.ok { background: #e2f4e8; color: #17532e; }

/* Sticky mobile call bar */
.mobile-call-bar { display: none; }
@media (max-width: 640px) {
  .mobile-call-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    background: rgba(17, 28, 58, 0.97); padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -6px 20px rgba(0,0,0,0.18);
  }
  .mobile-call-bar a { flex: 1; }
  body { padding-bottom: 78px; }
}

/* Footer */
.site-footer { background: #0b1430; color: rgba(255,255,255,0.72); padding: 0 0 30px; position: relative; overflow: hidden; isolation: isolate; }
.site-footer::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: 0.1; mix-blend-mode: overlay; }
.site-footer::after { content: ''; position: absolute; z-index: -1; width: 700px; height: 700px; left: -260px; bottom: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 68, 168, 0.45), transparent 65%); }

/* Main line across the top of the footer, with a valve you can turn */
.footer-pipe { position: relative; height: 96px; display: flex; align-items: center; }
.footer-pipe .pipe { top: 30px; }
.valve {
  position: absolute; left: 50%; top: 18px; width: 60px; height: 60px; margin-left: -30px; z-index: 2;
  border: 0; padding: 0; border-radius: 50%; cursor: pointer; background: transparent; color: var(--flame);
}
.valve svg { width: 100%; height: 100%; transition: transform 0.9s var(--spring); filter: drop-shadow(0 8px 14px rgba(0,0,0,0.4)); }
.valve:hover svg { transform: rotate(40deg); }
.water-off .valve svg { transform: rotate(270deg); }
.water-off .valve:hover svg { transform: rotate(230deg); }
.water-off .pipe .water { opacity: 0; }
.water-off .drip { display: none; }
.valve-hint {
  position: absolute; left: calc(50% + 44px); top: 2px; font-family: var(--font-hand); font-size: 1.35rem; color: var(--ember);
  transform: rotate(-4deg); white-space: nowrap; pointer-events: none;
}
.valve-hint::before { content: '\21B6'; margin-right: 4px; display: inline-block; transform: scaleX(-1); }
.footer-pipe .drip { right: auto; left: 50%; bottom: 12px; margin-left: -5px; }
@media (max-width: 640px) { .footer-pipe { height: 124px; } .valve-hint { left: auto; right: 16px; top: 84px; } .valve-hint::before { content: ''; } .footer-motto { margin-top: 16px; } }

.footer-motto { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 7.2vw, 6.4rem); line-height: 0.92; letter-spacing: -0.045em; color: #fff; margin: 28px 0 64px; display: flex; flex-wrap: wrap; gap: 0 0.28em; }
.footer-motto .w { display: inline-block; cursor: default; transition: transform 0.5s var(--spring), color 0.3s var(--ease), translate 0.8s var(--ease), opacity 0.7s var(--ease); }
.footer-motto .w:hover { transform: translateY(-10px) rotate(-3deg); color: var(--ember); }
.footer-motto .w.hot { color: var(--flame); }
.footer-motto .w.hot:hover { color: #ff6a4a; transform: translateY(-10px) rotate(3deg); }

.footer-grid { display: grid; grid-template-columns: 1.35fr 0.8fr 0.8fr 1.25fr 1.4fr; gap: 36px; }
@media (max-width: 1060px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-about { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 0 32px; align-items: start; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; } .footer-about { display: block; } .footer-visit, .footer-hours { grid-column: 1 / -1; } }
.site-footer .footer-h { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; font-family: var(--font-body); font-weight: 700; }
.site-footer a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: 0.97rem; }
.footer-links a { display: inline-flex; align-items: center; }
.footer-links a::before { content: ''; width: 0; height: 2px; margin-right: 0; background: var(--flame); border-radius: 2px; transition: width 0.3s var(--ease), margin 0.3s var(--ease); }
.footer-links a:hover::before { width: 12px; margin-right: 8px; }
/* Footer logo: knocked-out version for the dark footer, with the torch
   "lit" by a soft flickering ember glow behind the flame. */
.footer-brand { position: relative; isolation: isolate; display: inline-flex; margin: 0 0 22px -4px; transition: transform 0.5s var(--spring); }
.footer-brand img { height: 80px; width: auto; }
.torch-glow {
  position: absolute; z-index: -1; left: -18px; top: -26px; width: 112px; height: 112px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 196, 92, 0.55) 0%, rgba(245, 120, 40, 0.28) 38%, rgba(204, 58, 31, 0) 70%);
  animation: flicker 3.2s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  18% { opacity: 0.95; transform: scale(1.08) translate(1px, -2px); }
  32% { opacity: 0.7; transform: scale(0.97); }
  47% { opacity: 1; transform: scale(1.12) translate(-1px, -3px); }
  63% { opacity: 0.8; transform: scale(1.02); }
  81% { opacity: 0.92; transform: scale(1.07) translate(1px, -1px); }
}
.footer-brand:hover { transform: rotate(-2deg); }
.footer-brand:hover .torch-glow { animation-duration: 1.1s; }
@media (prefers-reduced-motion: reduce) { .torch-glow { animation: none; } }
.footer-about p { font-size: 0.97rem; margin-bottom: 18px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.footer-badges span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; font-size: 0.82rem; font-weight: 600; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.88); }
.footer-badges svg { width: 15px; height: 15px; color: var(--ember); }
.site-footer .status-pill { margin-bottom: 0; }

.footer-visit address { font-style: normal; font-size: 0.97rem; line-height: 1.55; margin-bottom: 10px; }
.footer-visit .text-link { color: #fff; font-size: 0.95rem; }
.footer-visit .text-link:hover { color: var(--ember); }
.footer-contact { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; font-size: 0.95rem; }
.footer-contact a { font-size: 0.95rem; }

.hours-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 0.95rem; }
.hours-list li { white-space: nowrap; display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 10px; margin: 0 -12px; transition: background 0.3s; }
.hours-list li.today { background: rgba(255,255,255,0.07); color: #fff; font-weight: 600; }
.hours-list li.today span:first-child::after { content: 'today'; margin-left: 6px; font-family: var(--font-hand); font-size: 1.15rem; font-weight: 600; color: var(--ember); }
.hours-list .emerg span:last-child { color: var(--ember); font-weight: 700; }

.footer-areas { margin: 52px 0 0; padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.92rem; max-width: none; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.footer-areas strong { color: #fff; font-weight: 600; margin-right: 4px; }
.footer-areas span { display: inline-flex; align-items: center; gap: 14px; }
.footer-areas span + span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--flame); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; font-size: 0.88rem; }
.to-top { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; min-height: 24px; }
.footer-contact a { display: inline-block; padding: 3px 0; } /* 24px minimum target (WCAG 2.5.8) */
.to-top svg { width: 16px; height: 16px; transition: transform 0.35s var(--spring); }
.to-top:hover svg { transform: translateY(-4px); }

/* ---------- Scroll reveals (3D) ----------
   Hidden state only applies once script.js adds .js to <html>,
   so content is never stuck invisible if JS fails. */
.js .reveal { opacity: 0; transform: perspective(1200px) translateY(36px) rotateX(9deg); transform-origin: 50% 100%; transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; translate: 0 30px; transition: opacity 0.7s var(--ease), translate 0.8s var(--ease), transform 0.6s var(--ease), box-shadow 0.4s var(--ease); }
.js .reveal-stagger.in > * { opacity: 1; translate: 0 0; }
.js .reveal-stagger.in > *:nth-child(2) { transition-delay: 0.07s; }
.js .reveal-stagger.in > *:nth-child(3) { transition-delay: 0.14s; }
.js .reveal-stagger.in > *:nth-child(4) { transition-delay: 0.21s; }
.js .reveal-stagger.in > *:nth-child(5) { transition-delay: 0.28s; }
.js .reveal-stagger.in > *:nth-child(6) { transition-delay: 0.35s; }
.js .reveal-stagger.in > *:nth-child(n+7) { transition-delay: 0.4s; }
.js .reveal-stagger.in > .tilting, .js .reveal-stagger.done > * { transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; translate: none; }
  .stack .print, .stack-scene, .seal svg.ring, .live-dot { animation: none; }
  .underline-hand::after { animation: none; transform: none; }
}

/* Safety note (gas piping) */
.safety-note { background: #fff1d9; border: 2px dashed #e6a640; border-radius: var(--radius-lg); padding: 26px 30px; display: flex; gap: 18px; align-items: flex-start; }
.safety-note .icon { color: #b06a00; flex-shrink: 0; }
.safety-note h3, .safety-note h2 { margin-bottom: 6px; color: #6e4200; }
/* The note follows the page H1, so it's an h2 sized like an h3 */
.safety-note h2 { font-size: 1.32rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.safety-note p { margin: 0; color: #6e4200; }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.hours-table td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; color: var(--muted); }

.error-page { min-height: 62dvh; display: flex; align-items: center; }
.error-page .container { text-align: center; }
.error-page .lede { margin-left: auto; margin-right: auto; }
.error-page .hero-cta { justify-content: center; }

.spacer { height: 96px; }
@media (max-width: 640px) { .spacer { height: 60px; } }
.pb-0 { padding-bottom: 0; }
.pt-0 { padding-top: 0; }

/* ---------- WordPress ---------- */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: var(--card); clip: auto !important; clip-path: none; color: var(--ink); display: block;
  height: auto; left: 8px; padding: 12px 20px; top: 8px; width: auto; z-index: 100000;
}
/* Keep the sticky header and mobile nav below the admin bar for logged-in staff */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.45s var(--ease), box-shadow 0.3s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.post-card-link:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; border-radius: var(--radius-lg); }
.post-card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--paper-2); }
.post-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 22px 24px 26px; }
.post-card time, .post-meta { font-size: 0.92rem; color: var(--muted); }
.post-card-title { margin: 0; font-size: 1.3rem; line-height: 1.25; }
.post-card p { margin: 0 0 6px; color: var(--muted); }
.post-card .text-link { margin-top: auto; }
.post-head { max-width: 900px; }
.post-head h1 { margin-bottom: 10px; }
.post-figure { margin-top: 32px; }
.post-figure img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius-lg); }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--pill); color: var(--ink); font-weight: 600; text-decoration: none; }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--flame); color: var(--flame-deep); }

/* ---------- Contact Form 7 (its own CSS is off; these match the mockup form) ---------- */
.info-card-title { margin: 0 0 10px; font-size: 1.25rem; }
.wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); border: 0; word-wrap: normal !important; }
.wpcf7 .hidden-fields-container { display: none; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7 .field .wpcf7-form-control:not(.wpcf7-captchar):not(.wpcf7-captchac) { width: 100%; }
.wpcf7 .wpcf7-captchar { width: 140px; }
.wpcf7-not-valid { border-color: #b3261e !important; }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; color: #b3261e; font-size: 0.88rem; }
.wpcf7-response-output { margin-top: 12px; padding: 14px 18px; border-radius: var(--radius); font-weight: 600; background: #fbe4e1; color: #8a1f12; }
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output { display: none; }
.wpcf7 form.sent .wpcf7-response-output { background: #e2f4e8; color: #17532e; }
.wpcf7-spinner { display: none; }
.wpcf7 form.submitting .wpcf7-spinner { display: inline-block; width: 18px; height: 18px; margin-left: 12px; vertical-align: middle; border: 2px solid var(--muted); border-right-color: transparent; border-radius: 50%; animation: ap-spin 0.7s linear infinite; }
@keyframes ap-spin { to { transform: rotate(360deg); } }
.captcha-row { display: flex; align-items: center; gap: 12px; }
.captcha-row img { height: 48px; width: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.captcha-row { flex-wrap: wrap; align-items: flex-start; }
.captcha-row .wpcf7-form-control-wrap { flex: 0 0 auto; }
.ap-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Long-form text: blog posts and plain pages */
.entry { max-width: 760px; }
.entry h2 { margin: 1.8em 0 0.5em; font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.entry h3 { margin: 1.5em 0 0.4em; font-size: 1.25rem; }
.entry > :first-child { margin-top: 0; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li { margin: 0.4em 0; }
.entry li::marker { color: var(--flame); }
.entry a { color: var(--flame-deep); text-underline-offset: 3px; }
.entry img { border-radius: var(--radius); }
