/* R.M Plumbing & Heating — mobile first */
:root {
  --bg: #f7f5f0;
  --fg: #1a1a1a;
  --muted: #5a5a5a;
  --sand: #efece6;
  --brand: #6dbe23;
  --ink: #0a0a0a;
  --dark: #0d0d0d;
  --line: rgba(15, 15, 15, 0.08);
  --input: rgba(15, 15, 15, 0.14);
  --shadow: 0 1px 2px rgba(15, 15, 15, 0.04), 0 8px 24px -12px rgba(15, 15, 15, 0.08);
  --radius: 1rem;
  --gutter: 1rem;
  --section: clamp(3.5rem, 2.5rem + 3vw, 5rem);
  --header-h: 4.5rem;
}
@media (min-width: 640px) { :root { --gutter: 1.5rem; } }
@media (min-width: 1024px) { :root { --gutter: 2rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 0.5rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.hl { color: var(--brand); }

.wrap { width: min(100% - 2 * var(--gutter), 80rem); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2 * var(--gutter), 56rem); }
.wrap.slim { width: min(100% - 2 * var(--gutter), 48rem); }

.section { padding-block: var(--section); }
.bg-white { background: #fff; }
.bg-sand { background: var(--sand); }
.bg-cream { background: var(--bg); }

.h2 { font-size: clamp(1.875rem, 1.3rem + 2.6vw, 3rem); font-weight: 900; line-height: 1.1; max-width: 48rem; }
.lead { margin-top: 1rem; color: var(--muted); max-width: 42rem; }
.lead.lg { margin-top: 1.5rem; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem); line-height: 1.7; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.75rem 1.5rem;
  border-radius: 0.5rem; border: 1px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: filter 0.15s, background 0.15s;
}
.btn-brand { background: var(--brand); color: var(--ink); }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.3); }
@media (hover: hover) {
  .btn-brand:hover { filter: brightness(1.1); }
  .btn-ghost:hover { background: rgba(255,255,255,0.2); }
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #000; border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand-link { display: flex; align-items: center; gap: 0.75rem; min-width: 0; text-decoration: none; }
.brand-link img { height: 3rem; width: auto; }
.tagline { display: none; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--brand); white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-actions .btn { padding: 0.5rem 1rem; font-size: 0.875rem; }
.header-call { display: none; }
.nav-toggle {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
  background: transparent; border: 1px solid rgba(255,255,255,0.2); border-radius: 0.5rem; color: #fff; cursor: pointer;
}
.nav-toggle svg { width: 1.375rem; height: 1.375rem; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

.main-nav { display: none; }
.nav-open .main-nav {
  display: block; position: absolute; inset: 100% 0 auto 0;
  background: #000; border-top: 1px solid rgba(255,255,255,0.1);
  max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  padding: 0.5rem var(--gutter) 1.25rem;
}
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: flex; align-items: center; min-height: 3rem;
  color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.main-nav a[aria-current="page"] { color: var(--brand); }
.main-nav .nav-call { color: var(--brand); font-weight: 700; border-bottom: 0; }
@media (hover: hover) { .main-nav a:hover { color: var(--brand); } }

@media (min-width: 380px) { .brand-link img { height: 3.25rem; } }
@media (min-width: 768px) {
  .tagline { display: inline; }
  .header-call { display: inline-flex; color: #fff; font-weight: 600; font-size: 0.9375rem; text-decoration: none; align-items: center; gap: 0.4rem; min-height: 2.75rem; padding-inline: 0.5rem; }
  .header-call svg { width: 1rem; height: 1rem; color: var(--brand); }
  .header-actions { gap: 1rem; }
  .header-actions .btn { padding: 0.5rem 1.25rem; }
}
@media (min-width: 1180px) {
  .brand-link img { height: 3.5rem; }
  .nav-toggle { display: none; }
  .main-nav, .nav-open .main-nav { display: block; position: static; padding: 0; border: 0; background: none; max-height: none; overflow: visible; }
  .main-nav ul { display: flex; gap: 1.5rem; }
  .main-nav a { min-height: 2.75rem; border: 0; font-size: 0.875rem; color: rgba(255,255,255,0.75); }
  .main-nav .nav-call { display: none; }
  .site-header .bar { gap: 2rem; }
  .main-nav { margin-left: auto; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: #111; color: #fff; isolation: isolate; }
.hero-img { position: absolute; inset: 0; z-index: -1; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-img::before, .hero-img::after { content: ""; position: absolute; inset: 0; }
.hero-img::before { background: linear-gradient(to right, rgba(13,13,13,0.9), rgba(13,13,13,0.7), rgba(13,13,13,0.4)); }
.hero-img::after { background: linear-gradient(to top, rgba(13,13,13,0.7), transparent, rgba(13,13,13,0.3)); }
.hero .wrap { padding-block: clamp(4rem, 2.5rem + 7vw, 8rem); }
.hero-inner { max-width: 42rem; }
.pill {
  display: inline-flex; margin-bottom: 1rem; padding: 0.25rem 0.75rem; border-radius: 999px;
  border: 1px solid rgba(109,190,35,0.4); background: rgba(109,190,35,0.15); color: var(--brand);
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
}
.hero h1 { font-size: clamp(2.25rem, 1.5rem + 3.6vw, 3.75rem); font-weight: 900; line-height: 1.05; }
.hero p { margin-top: 1.5rem; max-width: 36rem; color: rgba(255,255,255,0.9); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem); line-height: 1.7; }
.hero p a { text-decoration: underline; }
.hero-ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 479px) { .hero-ctas .btn { flex: 1 1 100%; } }

/* Cards and grids */
.grid { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.grid-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-steps { grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .grid-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 768px) { .grid-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; min-width: 0; }
@media (min-width: 640px) { .card.roomy { padding: 1.75rem; } }
.card h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.card h3 a { text-decoration: none; }
.card p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.65; color: var(--muted); }
.lift { transition: transform 0.2s, border-color 0.2s; }
@media (hover: hover) {
  .lift:hover { transform: translateY(-4px); border-color: rgba(109,190,35,0.4); }
  .card h3 a:hover { color: var(--brand); }
}
.icon-box { display: inline-grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.25rem; border-radius: 0.5rem; background: rgba(109,190,35,0.1); color: var(--brand); }
.icon-box svg { width: 1.5rem; height: 1.5rem; }
.icon-box.solid { background: var(--brand); color: var(--ink); font-weight: 900; font-size: 1.125rem; }

.check-card { display: flex; gap: 1rem; }
.check-card p { margin-top: 0.25rem; }
.check-card h3 { font-size: 1.125rem; }
.tick { display: inline-grid; place-items: center; flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 999px; background: var(--brand); color: var(--ink); }
.tick svg { width: 1.25rem; height: 1.25rem; }
.tick.sm { width: 1.5rem; height: 1.5rem; margin-top: 0.1rem; }
.tick.sm svg { width: 0.875rem; height: 0.875rem; }
.check-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.check-list li { display: flex; gap: 0.75rem; padding: 1.25rem; font-size: 0.9375rem; line-height: 1.6; }

/* About */
.about { display: grid; gap: 2.5rem; }
.about-img { order: 2; }
.about-text { order: 1; display: flex; flex-direction: column; justify-content: center; }
.about-text .body { margin-top: 1.5rem; display: grid; gap: 1rem; color: var(--muted); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem); line-height: 1.7; }
.about-text .body strong { color: var(--fg); }
@media (min-width: 1024px) {
  .about { grid-template-columns: 1fr 1.3fr; gap: 4rem; }
  .about-img { order: 1; }
  .about-text { order: 2; }
}
.photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--sand); box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
@media (min-width: 640px) and (max-width: 1023px) { .about-img .photo { aspect-ratio: 4 / 3; } }
@media (hover: hover) { .photo.lift:hover img { transform: scale(1.05); } }

.gallery { grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 560px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Reviews */
.stars { display: flex; gap: 0.125rem; color: var(--brand); }
.stars svg { width: 1rem; height: 1rem; fill: currentColor; }
.rating { margin-top: 0.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; color: var(--fg); font-weight: 600; }
.rating .stars svg { width: 1.125rem; height: 1.125rem; }
.review p { color: rgba(26,26,26,0.8); }
.review .who { margin-top: 1rem; font-weight: 700; color: var(--fg); font-size: 1rem; }

/* Contact form */
.center { text-align: center; }
.center .lead { margin-inline: auto; margin-top: 0.75rem; }
.form-card { margin-top: 2.5rem; padding: 1.25rem; }
@media (min-width: 640px) { .form-card { padding: 2rem; } }
.form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field label { display: block; margin-bottom: 0.375rem; font-size: 0.875rem; font-weight: 600; }
.field input, .field textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--input); border-radius: 0.5rem;
  background: #fff; color: var(--fg); font: inherit; font-size: 1rem; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(109,190,35,0.3); }
.form .btn { width: 100%; padding-block: 0.9rem; font-size: 1rem; font-weight: 700; }
.form .btn:disabled { opacity: 0.6; cursor: not-allowed; }
.fine { font-size: 0.75rem; color: var(--muted); }
.fine a { text-decoration: underline; }
.form-error { color: #dc2626; font-size: 0.875rem; font-weight: 500; text-align: center; }
.form-success { padding: 2.5rem 0; text-align: center; font-size: 1.125rem; font-weight: 600; }
.form-success .tick { width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem; }
.form-success .tick svg { width: 1.75rem; height: 1.75rem; }
[hidden] { display: none !important; }

/* Privacy */
.prose { padding-block: var(--section); }
.prose h1 { font-size: clamp(1.875rem, 1.5rem + 1.6vw, 2.25rem); font-weight: 900; }
.prose .meta { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted); }
.prose .intro { margin-top: 2rem; color: var(--muted); }
.prose section { margin-top: 2.5rem; }
.prose h2 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); font-weight: 700; }
.prose h2 span { border-bottom: 2px solid var(--brand); padding-bottom: 0.25rem; }
.prose section p { margin-top: 0.75rem; color: var(--muted); }
.prose a { color: var(--brand); font-weight: 600; overflow-wrap: anywhere; }
.back { display: inline-block; margin-top: 3rem; font-size: 0.875rem; }

/* Footer */
.site-footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,0.1); color: #fff; }
.site-footer .wrap { padding-block: 2.5rem; }
.foot-grid { display: grid; gap: 1.5rem; text-align: center; justify-items: center; }
.foot-grid .name { font-size: 0.875rem; font-weight: 600; }
.foot-grid .name span { color: rgba(255,255,255,0.4); }
.foot-grid .tag { margin-top: 0.25rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--brand); }
.foot-call { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; font-size: 0.9375rem; font-weight: 600; text-decoration: none; }
.foot-call svg { width: 1rem; height: 1rem; color: var(--brand); }
.foot-links { display: flex; align-items: center; gap: 0.5rem; }
.foot-links a { display: inline-grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.875rem; }
.foot-links svg { width: 1.25rem; height: 1.25rem; }
@media (hover: hover) { .foot-links a:hover, .foot-call:hover { color: var(--brand); } }
.copy { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.75); }
@media (min-width: 768px) {
  .foot-grid { grid-template-columns: repeat(3, 1fr); text-align: left; justify-items: stretch; align-items: center; }
  .foot-call { justify-self: center; }
  .foot-links { justify-content: flex-end; }
}

/* Mobile call bar */
.call-bar {
  position: fixed; inset: auto 0 0 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
  padding: 0.5rem var(--gutter) calc(0.5rem + env(safe-area-inset-bottom));
  background: rgba(0,0,0,0.92); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,0.1);
}
.call-bar .btn { padding: 0.65rem 0.75rem; font-size: 0.9375rem; }
.call-bar svg { width: 1rem; height: 1rem; }
body { padding-bottom: calc(4rem + env(safe-area-inset-bottom)); }
@media (min-width: 768px) { .call-bar { display: none; } body { padding-bottom: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Exactly three cards: stack on phones, one row from tablet up (avoids a 2 + 1 orphan) */
.grid-3 { grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } .grid-3 .card { padding: 1.25rem; } }
@media (min-width: 1024px) { .grid-3 { gap: 1.5rem; } .grid-3 .card { padding: 1.75rem; } }

/* FAQ */
.faq { margin-top: 2rem; display: grid; gap: 0.75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 0.75rem; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3.25rem; padding: 0.875rem 1.25rem; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font-size: 1.5rem; font-weight: 400; color: var(--brand); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 1.25rem 1.25rem; color: var(--muted); }
.faq .bg-white details, .bg-white .faq details { background: var(--bg); }

/* ===== Brand header, intro and scroll film ===== */
.rm-logo { display: block; width: auto; height: 3.25rem; color: #fff; overflow: visible; }
.brand-link .rm-logo { height: 3rem; }
@media (min-width: 768px) { .brand-link .rm-logo { height: 3.5rem; } }
.foot-logo { display: inline-block; margin-bottom: 0.75rem; }
.foot-logo .rm-logo { height: 3.5rem; }
.site-header { background: rgba(10,10,10,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.06); transition: background 0.3s, border-color 0.3s; }
.has-film .site-header { position: fixed; inset: 0 0 auto 0; background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0)); border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-film .site-header.scrolled, .has-film.nav-open .site-header, .has-film .site-header.nav-open { background: rgba(10,10,10,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: rgba(255,255,255,0.06); }

/* logo drawing animation */
.rm-drop, .rm-swoosh { stroke-dasharray: 1; stroke-dashoffset: 0; }
.intro-on .site-header .rm-logo { opacity: 0; }
#intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #0a0a0a; animation: introOut 0.6s ease 1.9s forwards; }
#intro .rm-logo { height: clamp(5rem, 4rem + 8vw, 9rem); }
#intro .rm-drop { stroke-dashoffset: 1; animation: draw 1s cubic-bezier(.65,0,.35,1) 0.1s forwards; }
#intro .rm-swoosh { stroke-dashoffset: 1; animation: draw 0.7s cubic-bezier(.65,0,.35,1) 0.6s forwards; }
#intro .rm-words text { opacity: 0; transform: translateY(8px); animation: rise 0.5s ease forwards; }
#intro .rm-t1 { animation-delay: 0.7s !important; }
#intro .rm-t2 { animation-delay: 0.85s !important; }
#intro .rm-t3 { animation-delay: 1s !important; }
#intro .rm-t4 { animation-delay: 1.15s !important; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
.intro-on .site-header .rm-logo { animation: logoIn 0.5s ease 2.1s forwards; }
@keyframes logoIn { to { opacity: 1; } }

/* film */
.film { position: relative; height: 320vh; background: #0a0a0a; color: #fff; }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.stage canvas, .film-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.film-poster { display: none; }
.film.still .film-poster { display: block; }
.film.still canvas { display: none; }
.film-shade { position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,10,10,0.82) 0%, rgba(10,10,10,0.55) 38%, rgba(10,10,10,0) 62%), linear-gradient(to top, rgba(10,10,10,0.7), rgba(10,10,10,0) 40%); }
@media (max-width: 767px) { .film-shade { background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.7) 45%, rgba(10,10,10,0.15) 75%, rgba(10,10,10,0.45) 100%); } }
.film-copy { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
@media (min-width: 768px) { .film-copy { justify-content: center; padding-bottom: 0; padding-top: var(--header-h); } }
.film-copy .pill { align-self: flex-start; }
.beats { display: grid; max-width: 36rem; }
.beat { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity 0.5s, transform 0.5s; pointer-events: none; }
.beat.on { opacity: 1; transform: none; pointer-events: auto; }
.beat h1, .beat .bh { font-size: clamp(2.1rem, 1.4rem + 3.4vw, 3.9rem); font-weight: 900; line-height: 1.04; letter-spacing: -0.025em; margin: 0; }
.beat p:not(.bh) { margin-top: 1rem; color: rgba(255,255,255,0.88); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem); line-height: 1.6; max-width: 32rem; }
.film-copy .hero-ctas { margin-top: 1.75rem; }
.film-copy .btn-ghost svg { width: 1rem; height: 1rem; }
.film-meter { position: absolute; left: 50%; bottom: calc(1.25rem + env(safe-area-inset-bottom)); transform: translateX(-50%); display: none; align-items: center; gap: 0.75rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.film-meter i { display: block; width: 9rem; height: 2px; background: rgba(255,255,255,0.2); border-radius: 2px; overflow: hidden; }
.film-meter b { display: block; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; }
@media (min-width: 768px) { .film-meter { display: flex; } }
@media (max-width: 767px) { .has-film .call-bar { background: rgba(0,0,0,0.92); } }

/* trust strip */
.trust { background: #0a0a0a; color: #fff; border-top: 1px solid rgba(255,255,255,0.08); }
.trust-row { display: grid; grid-template-columns: repeat(2, 1fr); }
.trust-row div { padding: 1.25rem 0.5rem; text-align: center; }
.trust-row b { display: block; font-size: 1.5rem; font-weight: 900; color: var(--brand); }
.trust-row small { color: rgba(255,255,255,0.75); font-size: 0.8125rem; }
@media (min-width: 768px) { .trust-row { grid-template-columns: repeat(4, 1fr); } .trust-row div { padding: 1.75rem 0.5rem; } }

/* golden ratio work grid */
.work-grid { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } .work.wide { grid-column: 1 / -1; } }
.work { margin: 0; }
.work-img { aspect-ratio: 1.618 / 1; overflow: hidden; border-radius: var(--radius); background: var(--sand); box-shadow: var(--shadow); }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { .work:hover .work-img img { transform: scale(1.04); } }
.work figcaption { margin-top: 0.625rem; font-size: 0.875rem; font-weight: 600; color: var(--muted); }

/* reveal on scroll */
.rv .reveal, .rv .section .h2, .rv .card, .rv .work { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); }
.rv .in { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) { #intro { display: none; } .beat { transition: none; } }

/* narrow phones: keep the menu button full size, let the logo give way */
.nav-toggle, .header-actions .btn { flex-shrink: 0; }
.brand-link { flex-shrink: 1; }
@media (max-width: 379px) { .brand-link .rm-logo { height: 2.6rem; } .header-actions .btn { padding-inline: 0.75rem; font-size: 0.8125rem; } .site-header .bar { gap: 0.5rem; } }
.header-actions .btn { white-space: nowrap; }
@media (max-width: 479px) { .lg-only { display: none; } }

/* phones: the fixed call bar already carries both actions, so the film keeps the text clear */
@media (max-width: 767px) {
  .film-copy .hero-ctas { display: none; }
  .film-copy { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
  .film-copy .pill { font-size: 0.6875rem; letter-spacing: 0.04em; }
}
@media (max-width: 379px) { .film-copy .pill { display: none; } }
@media (max-height: 640px) and (max-width: 767px) { .beat p:not(.bh) { font-size: 0.9375rem; margin-top: 0.6rem; } .beat h1, .beat .bh { font-size: 1.9rem; } }
.header-actions .btn-brand { gap: 0; }

/* readability polish (ChatGPT review) */
.film-meter { font-size: 0.8125rem; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.film-meter i { width: 11rem; height: 3px; background: rgba(255,255,255,0.3); }
.trust-row small { font-size: 0.875rem; color: rgba(255,255,255,0.85); }
.work figcaption { font-size: 0.9375rem; color: var(--fg); }
.copy { font-size: 0.8125rem; color: rgba(255,255,255,0.8); }
.foot-links a { font-size: 0.9375rem; color: rgba(255,255,255,0.85); }
.fine { font-size: 0.8125rem; }
/* call bar steps aside while the quote form is on screen */
.call-bar { transition: transform 0.3s ease; }
.call-bar.away { transform: translateY(110%); }

/* accessible green for small text on light backgrounds (lime stays for large headings and buttons) */
:root { --brand-ink: #3d7a12; }
.prose a, .fine a, .center .lead a, .bg-cream a:not(.btn), .bg-white a:not(.btn), .bg-sand a:not(.btn) { color: var(--brand-ink); }
.card h3 a { color: inherit; }
@media (hover: hover) { .card h3 a:hover { color: var(--brand-ink); } }
/* header logo: drop the tiny strapline so the name reads clearly */
.site-header .rm-t4 { display: none; }
.site-header .rm-logo { overflow: hidden; }

/* balanced card rows: a lone last card sits centred instead of hanging left */
.grid-cards { display: flex; flex-wrap: wrap; justify-content: center; }
.grid-cards > .card { flex: 1 1 100%; }
@media (min-width: 768px) { .grid-cards > .card { flex: 0 1 calc(50% - 0.75rem); } }
@media (min-width: 1024px) { .grid-cards > .card { flex: 0 1 calc(33.333% - 1rem); } }
/* menu open: the call bar steps aside so the menu reads as one panel */
body:has(.site-header.nav-open) .call-bar { transform: translateY(110%); }
.fine { line-height: 1.6; margin-top: 0.25rem; }

/* designer credit: same muted tone as the copyright, never competes with it */
.copy .credit { display: block; margin-top: 0.35rem; font-size: 0.75rem; color: rgba(255,255,255,0.55); }
.copy .credit a { color: inherit; text-decoration: none; font-weight: 400; }
@media (hover: hover) { .copy .credit a:hover { text-decoration: underline; } }
@media (min-width: 768px) { .copy .credit { display: inline; margin: 0 0 0 0.75rem; } .copy .credit::before { content: "·"; margin-right: 0.75rem; } }

/* ===== Loft bathroom project ===== */
.proj-hero { background: #0a0a0a; color: #fff; padding: calc(var(--header-h) + 2.5rem) 0 3rem; }
.proj-hero h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.5rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.025em; }
.proj-hero .lead { color: rgba(255,255,255,0.85); margin-top: 1rem; max-width: 40rem; }
.proj-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .proj-grid { grid-template-columns: 1fr 1.05fr; gap: 3.5rem; } }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; padding: 0; list-style: none; }
.chips li { padding: 0.4rem 0.8rem; border-radius: 999px; border: 1px solid rgba(109,190,35,0.45); background: rgba(109,190,35,0.12); color: var(--brand); font-size: 0.8125rem; font-weight: 600; }
.bg-white .chips li, .bg-cream .chips li { color: var(--brand-ink); }
/* before/after */
.ba { --pos: 50%; position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6); user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba .ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,0.5); pointer-events: none; }
.ba .ba-knob { position: absolute; top: 50%; left: var(--pos); width: 3rem; height: 3rem; margin: -1.5rem 0 0 -1.5rem; border-radius: 50%; background: var(--brand); color: var(--ink); display: grid; place-items: center; font-weight: 900; box-shadow: 0 4px 16px rgba(0,0,0,0.4); pointer-events: none; }
.ba .ba-tag { position: absolute; top: 0.9rem; padding: 0.3rem 0.7rem; border-radius: 999px; background: rgba(0,0,0,0.6); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; pointer-events: none; }
.ba .ba-tag.l { left: 0.9rem; } .ba .ba-tag.r { right: 0.9rem; }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba input[type=range]:focus-visible + .ba-line { outline: 3px solid var(--brand); }
.ba-hint { margin-top: 0.75rem; font-size: 0.875rem; color: rgba(255,255,255,0.7); text-align: center; }
/* scroll-scrubbed build */
.build { position: relative; height: 340vh; background: #0a0a0a; color: #fff; }
.build-stage { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; }
.build-inner { display: grid; gap: 1.25rem; align-items: center; padding-top: var(--header-h); }
@media (min-width: 900px) { .build-inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 3.5rem; } }
.build-media { position: relative; aspect-ratio: 3 / 4; max-height: calc(100svh - var(--header-h) - 9rem); margin-inline: auto; border-radius: var(--radius); overflow: hidden; background: #111; width: 100%; }
@media (min-width: 900px) { .build-media { max-height: calc(100svh - var(--header-h) - 3rem); } }
.build-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.build-bar { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; height: 3px; background: rgba(255,255,255,0.25); border-radius: 3px; overflow: hidden; }
.build-bar b { display: block; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.build-copy .k { color: var(--brand); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.build-copy h2 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); font-weight: 900; line-height: 1.1; margin-top: 0.4rem; }
.chaps { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.35rem; }
.chap { padding: 0.65rem 0.9rem; border-left: 3px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.5); transition: color 0.3s, border-color 0.3s, background 0.3s; }
.chap b { display: block; font-size: 1rem; color: inherit; }
.chap span { display: none; font-size: 0.9rem; line-height: 1.5; margin-top: 0.2rem; color: rgba(255,255,255,0.85); }
.chap.on { color: #fff; border-color: var(--brand); background: rgba(109,190,35,0.08); }
.chap.on span { display: block; }
@media (max-width: 899px) { .build-copy h2, .build-copy .k { display: none; } .chaps { margin: 0; } .chap:not(.on) { display: none; } .chap { border-left-width: 4px; } }
/* reel + filmstrip */
.reel-wrap { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .reel-wrap { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3rem; } }
video.reel { width: 100%; max-width: 26rem; margin-inline: auto; aspect-ratio: 3 / 4; border-radius: var(--radius); background: #111; box-shadow: var(--shadow); display: block; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(9.5rem, 32%); gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.25rem 0 1rem; margin-top: 1.5rem; -webkit-overflow-scrolling: touch; }
@media (min-width: 900px) { .strip { grid-auto-columns: minmax(10rem, 24%); } }
.strip a { scroll-snap-align: start; display: block; text-decoration: none; color: var(--fg); }
.strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 0.75rem; box-shadow: var(--shadow); transition: transform 0.3s; }
@media (hover: hover) { .strip a:hover img { transform: translateY(-3px); } }
.strip small { display: block; margin-top: 0.4rem; font-size: 0.8125rem; font-weight: 700; color: var(--brand-ink); text-transform: uppercase; letter-spacing: 0.06em; }
#lb { border: 0; padding: 0; background: transparent; max-width: min(92vw, 44rem); width: 100%; }
#lb::backdrop { background: rgba(0,0,0,0.88); }
#lb figure { margin: 0; }
#lb img { width: 100%; max-height: 80svh; object-fit: contain; border-radius: 0.75rem; background: #000; }
#lb figcaption { color: #fff; text-align: center; margin-top: 0.6rem; font-weight: 600; }
.lb-btn { position: fixed; top: 50%; width: 3rem; height: 3rem; margin-top: -1.5rem; border-radius: 50%; border: 0; background: rgba(255,255,255,0.15); color: #fff; font-size: 1.5rem; cursor: pointer; }
.lb-prev { left: 0.75rem; } .lb-next { right: 0.75rem; }
.lb-close { position: fixed; top: 0.75rem; right: 0.75rem; width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: rgba(255,255,255,0.15); color: #fff; font-size: 1.5rem; cursor: pointer; }
/* teaser on home and bathrooms */
.teaser { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .teaser { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3rem; } }
.teaser .ba { max-width: 26rem; margin-inline: auto; width: 100%; }
.reel-wrap > *, .teaser > *, .proj-grid > *, .build-inner > * { min-width: 0; }
.strip { max-width: 100%; }

/* filmstrip: grid on desktop, swipe strip with a hint on smaller screens */
.strip-hint { display: block; margin-top: 1rem; font-size: 0.8125rem; font-weight: 700; color: var(--brand-ink); letter-spacing: 0.06em; text-transform: uppercase; }
.strip { grid-auto-columns: 42%; }
@media (min-width: 600px) and (max-width: 1023px) { .strip { grid-auto-columns: 28%; } }
@media (min-width: 1024px) {
  .strip { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; scroll-snap-type: none; }
  .strip-hint { display: none; }
}
.chap { color: rgba(255,255,255,0.68); }
.chap b { font-size: 1.0625rem; }

/* ===== Home hero: real shower timelapse ===== */
/* phones and portrait tablets: full-screen behind the copy (as before) */
.film .stage canvas, .film .film-poster { object-position: 50% 50%; }
/* laptops and desktops: split hero, copy left, tall framed film right */
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .film { background: radial-gradient(120% 90% at 85% 40%, #1b1f17 0%, #0a0a0a 60%); }
  .film .stage canvas, .film .film-poster {
    inset: auto; top: calc(var(--header-h) + 1.25rem); bottom: 3.5rem;
    right: max(2rem, calc((100vw - 80rem) / 2 + 2rem)); left: auto;
    height: calc(100svh - var(--header-h) - 4.75rem); width: auto; aspect-ratio: 3 / 4;
    border-radius: 1.25rem; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.06);
  }
  .film .film-shade { display: none; }
  .film-copy { padding-right: 0; }
  .film-copy .beats, .film-copy .hero-ctas, .film-copy .pill { max-width: min(36rem, 48vw); }
  .film-meter { left: auto; right: max(2rem, calc((100vw - 80rem) / 2 + 2rem)); transform: none; bottom: 1.1rem; }
}
