/* ==========================================================================
   Titan Painting — site styles
   Brand colors sampled directly from the logo file.
   ========================================================================== */

:root {
  --black: #000000;
  --ink: #0d0d0e;
  --charcoal: #161618;
  --graphite: #2a2a2e;
  --red: #d21232;
  --red-dark: #a80e28;
  --red-glow: rgba(210, 18, 50, 0.35);
  --white: #ffffff;
  --paper: #f6f4f1;
  --stone: #e7e3de;
  --muted: #6b6b70;
  --muted-light: #a3a3a8;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Kaushan Script", "Brush Script MT", cursive;

  --wrap: 1200px;
  --radius: 4px;
  --header-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --brush: url("../img/brush.svg");
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--red); color: var(--white); padding: 0.75rem 1rem; font-weight: 700;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------- Type helpers ---------- */
.script {
  font-family: var(--font-script);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--red);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; }
.section-title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.section-title .script { display: block; font-size: 0.78em; margin-top: 0.1em; line-height: 1.2; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 46ch; }

/* Brush-stroke highlight behind a word (echoes the logo) */
.brush {
  position: relative; display: inline-block; padding: 0 0.22em; z-index: 0; color: var(--white);
}
.brush::before {
  content: ""; position: absolute; inset: 0.04em -0.06em -0.02em; z-index: -1;
  background: var(--red);
  -webkit-mask: var(--brush) center / 100% 100% no-repeat;
          mask: var(--brush) center / 100% 100% no-repeat;
  transform: rotate(-1.2deg);
}
.brush--black::before { background: var(--black); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 1rem 1.6rem; border: 2px solid var(--bg); border-radius: var(--radius);
  background: var(--bg); color: var(--fg);
  font: 700 0.95rem/1 var(--font-sans); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--black);
  transform: translateX(-101%); transition: transform 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px var(--red-glow); }
.btn:hover::after { transform: translateX(0); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn--ghost { --bg: transparent; --fg: var(--white); border-color: rgba(255,255,255,0.55); }
.btn--ghost::after { background: var(--white); }
.btn--ghost:hover { color: var(--black); border-color: var(--white); }
.btn--dark { --bg: var(--black); }
.btn--dark::after { background: var(--red); }
.btn--block { width: 100%; }

/* ---------- Top bar + header ---------- */
.topbar {
  background: var(--black); color: var(--muted-light);
  font-size: 0.82rem; letter-spacing: 0.02em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--red); }
.topbar__badges { display: flex; gap: 1.5rem; }
.topbar__badges span::before { content: "■"; color: var(--red); margin-right: 0.5em; font-size: 0.6em; vertical-align: 2px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-color: var(--stone); box-shadow: 0 8px 30px -18px rgba(0,0,0,0.35); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }
.logo img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav__links { display: flex; gap: 1.75rem; }
.nav__links a {
  position: relative; text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 0.4rem 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__phone { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; }
.nav__phone small { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.nav__phone strong { font-size: 1.05rem; }
.nav__phone:hover strong { color: var(--red); }
.nav .btn { padding: 0.85rem 1.2rem; font-size: 0.82rem; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border: 0; background: var(--black); border-radius: var(--radius);
  cursor: pointer; position: relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  position: absolute; left: 12px; width: 22px; height: 2px; background: var(--white); content: "";
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-toggle span { top: 22px; }
.menu-toggle span::before { left: 0; top: -7px; }
.menu-toggle span::after { left: 0; top: 7px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--white);
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(6rem, 12vw, 9rem);
}
.hero::before { /* paint-roller texture */
  content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(210,18,50,0.28), transparent 60%),
    repeating-linear-gradient(97deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 9px);
}
.hero::after { /* jagged brush edge at bottom */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; background: var(--white);
  clip-path: polygon(0 55%, 4% 40%, 9% 58%, 14% 35%, 20% 52%, 26% 30%, 31% 50%, 37% 38%, 43% 60%, 49% 33%, 55% 54%, 61% 36%, 67% 57%, 72% 31%, 78% 52%, 84% 38%, 89% 58%, 95% 34%, 100% 50%, 100% 100%, 0 100%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 6.6vw, 5.4rem); font-weight: 900; letter-spacing: -0.04em; margin-bottom: 0.35em; }
.hero h1 .script { display: block; font-size: 0.62em; letter-spacing: 0; margin-top: 0.15em; line-height: 1.25; }
.hero p.lede { color: #c9c9ce; margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; font-size: 0.9rem; color: #c9c9ce; }
.hero__trust li { display: flex; align-items: center; gap: 0.5rem; }
.hero__trust svg { width: 18px; height: 18px; color: var(--red); flex: none; }

/* Hero visual — stacked paint swatches */
.hero__art { position: relative; aspect-ratio: 4 / 5; max-width: 440px; justify-self: end; width: 100%; }
.swatch {
  position: absolute; border-radius: 6px; box-shadow: 0 30px 60px -25px rgba(0,0,0,0.8);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.1rem;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
}
.swatch small { display: block; font-weight: 500; opacity: 0.7; letter-spacing: 0.04em; text-transform: none; font-size: 0.8rem; }
.swatch--1 { inset: 0 22% 30% 0; background: var(--red); transform: rotate(-6deg); animation: float 7s ease-in-out infinite; }
.swatch--2 { inset: 18% 0 12% 30%; background: var(--paper); color: var(--ink); text-align: right; transform: rotate(4deg); animation: float 8s 0.6s ease-in-out infinite; }
.swatch--3 { inset: 52% 40% 0 8%; background: var(--graphite); transform: rotate(-2deg); animation: float 6.5s 1.1s ease-in-out infinite; }
.swatch--2::before { /* roller stripe */
  content: ""; position: absolute; left: 1.1rem; right: 1.1rem; top: 1.1rem; height: 46%;
  background: linear-gradient(90deg, var(--black) 0 33%, var(--red) 33% 66%, var(--stone) 66%);
  border-radius: 3px;
}
.hero__badge {
  position: absolute; right: -6px; top: 6%; z-index: 2;
  width: 118px; height: 118px; border-radius: 50%; background: var(--white); color: var(--black);
  display: grid; place-items: center; text-align: center; line-height: 1.05;
  font-weight: 900; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: 0 0 0 6px rgba(255,255,255,0.12);
  animation: spin-in 1s 0.6s var(--ease) both;
}
.hero__badge strong { display: block; font-family: var(--font-script); font-weight: 400; color: var(--red); font-size: 1.6rem; letter-spacing: 0; text-transform: none; }
@keyframes float { 50% { translate: 0 -10px; } }
@keyframes spin-in { from { opacity: 0; transform: rotate(-90deg) scale(0.6); } }

/* Page-load reveal */
.load-in > * { animation: rise 0.9s var(--ease) both; }
.load-in > *:nth-child(2) { animation-delay: 0.1s; }
.load-in > *:nth-child(3) { animation-delay: 0.2s; }
.load-in > *:nth-child(4) { animation-delay: 0.3s; }
.load-in > *:nth-child(5) { animation-delay: 0.4s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; background: var(--ink); color: var(--white); overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(5rem, 10vw, 7rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background:
    radial-gradient(ellipse 50% 80% at 90% 10%, rgba(210,18,50,0.3), transparent 60%),
    repeating-linear-gradient(97deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 9px);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 48px; background: var(--white);
  clip-path: polygon(0 55%, 4% 40%, 9% 58%, 14% 35%, 20% 52%, 26% 30%, 31% 50%, 37% 38%, 43% 60%, 49% 33%, 55% 54%, 61% 36%, 67% 57%, 72% 31%, 78% 52%, 84% 38%, 89% 58%, 95% 34%, 100% 50%, 100% 100%, 0 100%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; letter-spacing: -0.04em; }
.page-hero h1 .script { display: block; font-size: 0.6em; line-height: 1.3; }
.page-hero p { color: #c9c9ce; max-width: 56ch; font-size: 1.15rem; }
.crumbs { font-size: 0.82rem; color: var(--muted-light); margin-bottom: 1.25rem; letter-spacing: 0.04em; }
.crumbs a { color: var(--white); text-decoration: none; }
.crumbs a:hover { color: var(--red); }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark .lede { color: #b8b8bd; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 3px; background: currentColor; }

/* ---------- Stats strip ---------- */
.stats {
  position: relative; z-index: 3; margin-top: clamp(-5rem, -7vw, -3.5rem);
}
.stats ul {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.35);
  border-top: 5px solid var(--red);
}
.stats li { padding: 1.75rem 1.5rem; text-align: center; border-right: 1px solid var(--stone); }
.stats li:last-child { border-right: 0; }
.stats strong { display: block; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.1; }
.stats strong em { font-style: normal; color: var(--red); }
.stats span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  padding: 2.25rem 2rem 2rem; background: var(--white); border: 1px solid var(--stone); border-radius: 6px;
  text-decoration: none; overflow: hidden; isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--black);
  clip-path: circle(0% at 100% 0%); transition: clip-path 0.6s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(0,0,0,0.5); color: var(--white); border-color: var(--black); }
.service-card:hover::before { clip-path: circle(150% at 100% 0%); }
.service-card__num { position: absolute; top: 1.4rem; right: 1.6rem; font-weight: 900; font-size: 0.85rem; color: var(--muted-light); letter-spacing: 0.1em; }
.service-card__icon {
  width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 1.5rem;
  background: var(--red); color: var(--white); border-radius: 50% 46% 52% 44% / 48% 54% 46% 52%;
  transition: transform 0.5s var(--ease);
}
.service-card:hover .service-card__icon { transform: rotate(-10deg) scale(1.06); }
.service-card__icon svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--muted); font-size: 0.98rem; transition: color 0.4s; flex: 1; }
.service-card:hover p { color: #c4c4c8; }
.service-card__more { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 0.5rem; color: var(--red); }
.service-card__more svg { width: 16px; transition: transform 0.3s var(--ease); }
.service-card:hover .service-card__more svg { transform: translateX(5px); }

/* ---------- Split / why us ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.split--flip > :first-child { order: 2; }
.why-list { display: grid; gap: 1.5rem; margin-top: 2rem; }
.why-list li { display: grid; grid-template-columns: 52px 1fr; gap: 1.1rem; }
.why-list .tick {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%;
  border: 2px solid var(--red); color: var(--red); font-weight: 900;
}
.why-list .tick svg { width: 24px; height: 24px; }
.why-list h3 { font-size: 1.15rem; margin-bottom: 0.25rem; letter-spacing: -0.01em; }
.why-list p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.section--dark .why-list p { color: #b0b0b5; }

/* Photo frames — swap the placeholder for a real <img> later */
.photo {
  position: relative; border-radius: 6px; overflow: hidden; background: var(--graphite);
  aspect-ratio: 4 / 5;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--placeholder {
  display: grid; place-items: center; text-align: center; color: rgba(255,255,255,0.6);
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  background:
    linear-gradient(160deg, rgba(210,18,50,0.85), rgba(0,0,0,0.9)),
    repeating-linear-gradient(97deg, rgba(255,255,255,0.06) 0 3px, transparent 3px 12px);
}
.photo--placeholder span { font-family: var(--font-script); text-transform: none; letter-spacing: 0; font-size: 1.6rem; color: var(--white); display: block; }
.photo-stack { position: relative; }
.photo-stack .photo:nth-child(2) {
  position: absolute; width: 52%; right: -6%; bottom: -10%; aspect-ratio: 1;
  border: 8px solid var(--white); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5);
}
.section--paper .photo-stack .photo:nth-child(2) { border-color: var(--paper); }
.photo-tag {
  position: absolute; left: -1rem; top: 2rem; z-index: 2;
  background: var(--red); color: var(--white); padding: 1rem 1.3rem; border-radius: 4px;
  font-weight: 800; line-height: 1.1; box-shadow: 0 20px 40px -20px var(--red-glow);
}
.photo-tag strong { display: block; font-size: 2.2rem; font-weight: 900; letter-spacing: -0.04em; }
.photo-tag small { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.process li { position: relative; padding-top: 4.5rem; }
.process li::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0; font-size: 3.4rem; font-weight: 900; letter-spacing: -0.05em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--red);
}
.process li::after {
  content: ""; position: absolute; top: 1.7rem; left: 5.5rem; right: -0.75rem; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.25) 0 8px, transparent 8px 14px);
}
.process li:last-child::after { display: none; }
.process h3 { font-size: 1.2rem; }
.process p { color: #b0b0b5; font-size: 0.98rem; }

/* ---------- Before / after ---------- */
.ba {
  position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; user-select: none;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.6); --pos: 50%;
}
.ba__img { position: absolute; inset: 0; display: grid; place-items: end start; padding: 1.25rem; }
.ba__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { background: linear-gradient(135deg, #8a8270, #6a6455 40%, #9a9180); }
.ba__before::before { /* scuffs and patches */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,0.25) 0 6%, transparent 7%),
    radial-gradient(ellipse at 70% 60%, rgba(255,255,255,0.18) 0 10%, transparent 11%),
    radial-gradient(circle at 45% 80%, rgba(0,0,0,0.2) 0 4%, transparent 5%),
    repeating-linear-gradient(10deg, rgba(0,0,0,0.05) 0 2px, transparent 2px 6px);
}
.ba__after { background: linear-gradient(135deg, #f7f4ee, #ece6dc); clip-path: inset(0 0 0 var(--pos)); }
.ba__after::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18%;
  background: var(--red); /* fresh accent wainscot */
}
.ba__label {
  position: relative; z-index: 1; background: var(--black); color: var(--white);
  padding: 0.4rem 0.8rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; border-radius: 3px;
}
.ba__after .ba__label { justify-self: end; background: var(--white); color: var(--black); }
.ba__after { place-items: end end; }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: var(--white);
  transform: translateX(-50%); pointer-events: none; z-index: 2;
}
.ba__handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: var(--white);
  display: grid; place-items: center; font-weight: 900; font-size: 1.2rem; letter-spacing: 0.1em;
  box-shadow: 0 0 0 6px rgba(255,255,255,0.35);
}
.ba input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 3; margin: 0;
}

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review {
  background: var(--white); border-radius: 6px; padding: 2rem; position: relative;
  border: 1px solid var(--stone);
}
.review::before {
  content: "\201C"; position: absolute; top: -0.6rem; right: 1.25rem;
  font-family: var(--font-script); font-size: 6rem; line-height: 1; color: var(--red); opacity: 0.18;
}
.stars { color: var(--red); letter-spacing: 0.15em; font-size: 1.05rem; margin-bottom: 0.9rem; }
.review p { font-size: 1rem; }
.review footer { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: var(--white);
  display: grid; place-items: center; font-weight: 800;
}
.review cite { font-style: normal; font-weight: 700; display: block; line-height: 1.2; }
.review small { color: var(--muted); font-size: 0.85rem; }

/* ---------- Areas ---------- */
.areas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.areas li {
  padding: 0.7rem 1.2rem; border: 2px solid var(--black); border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.areas li:hover { background: var(--red); border-color: var(--red); color: var(--white); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--stone); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.4rem 3rem 1.4rem 0; position: relative;
  font-weight: 700; font-size: 1.12rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; background: var(--black); color: var(--white);
  display: grid; place-items: center; font-weight: 400; font-size: 1.4rem; transition: transform 0.3s var(--ease), background 0.3s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--red); }
.faq details p { color: var(--muted); padding: 0 3rem 1.4rem 0; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; background: var(--red); color: var(--white);
  padding: clamp(4rem, 8vw, 6rem) 0;
}
.cta-band::before {
  content: ""; position: absolute; width: 70%; height: 140%; right: -15%; top: -20%; background: var(--black);
  -webkit-mask: var(--brush) center / 100% 100% no-repeat; mask: var(--brush) center / 100% 100% no-repeat;
  transform: rotate(-8deg); opacity: 0.9;
}
.cta-band .wrap { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin: 0; max-width: 16ch; }
.cta-band h2 .script { color: var(--white); display: block; font-size: 0.7em; opacity: 0.9; }
.cta-band__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-band .btn { --bg: var(--white); --fg: var(--black); }
.cta-band .btn::after { background: var(--black); }
.cta-band .btn:hover { color: var(--white); }
.cta-band .btn--ghost { --bg: transparent; --fg: var(--white); border-color: rgba(255,255,255,0.7); }
.cta-band .btn--ghost::after { background: var(--white); }
.cta-band .btn--ghost:hover { color: var(--black); }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 2.5rem; }
.filters button {
  font: 700 0.85rem var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.7rem 1.2rem; border-radius: 999px; border: 2px solid var(--black); background: transparent; cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.filters button:hover { border-color: var(--red); color: var(--red); }
.filters button.is-active { background: var(--black); color: var(--white); border-color: var(--black); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 1rem; }
.gallery figure { margin: 0; position: relative; border-radius: 6px; overflow: hidden; }
.gallery figure.tall { grid-row: span 2; }
.gallery figure.wide { grid-column: span 2; }
.gallery .photo { aspect-ratio: auto; height: 100%; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.25rem 1.1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85)); color: var(--white);
  font-weight: 700; transform: translateY(30%); opacity: 0; transition: all 0.4s var(--ease);
}
.gallery figcaption small { display: block; font-weight: 500; color: #c9c9ce; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.gallery figure:hover figcaption, .gallery figure:focus-within figcaption { transform: none; opacity: 1; }
.gallery figure.is-hidden { display: none; }

/* ---------- Team / values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value { padding: 2rem; border-left: 4px solid var(--red); background: var(--white); }
.value h3 { font-size: 1.25rem; }
.value p { color: var(--muted); margin: 0; }

/* ---------- Services detail ---------- */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(3rem, 6vw, 5rem) 0; border-bottom: 1px solid var(--stone); }
.service-detail:last-child { border-bottom: 0; }
.service-detail:nth-child(even) > :first-child { order: 2; }
.service-detail h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.service-detail .photo { aspect-ratio: 5 / 4; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.5rem; margin: 1.5rem 0 2rem; }
.checklist li { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 500; font-size: 0.98rem; }
.checklist li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 0.3rem; background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.service-jump { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.service-jump a {
  color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.88rem;
  padding: 0.55rem 1rem; border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; transition: all 0.25s;
}
.service-jump a:hover { background: var(--red); border-color: var(--red); }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-card { background: var(--ink); color: var(--white); padding: 2.5rem; border-radius: 6px; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.contact-card h2 { font-size: 1.9rem; }
.contact-card ul { display: grid; gap: 1.4rem; margin: 2rem 0; }
.contact-card li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: center; }
.contact-card .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.contact-card .ico svg { width: 20px; height: 20px; }
.contact-card small { display: block; color: var(--muted-light); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-card a { text-decoration: none; font-weight: 700; }
.contact-card a:hover { color: var(--red); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form .full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.45rem; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 0.95rem 1rem; border: 2px solid var(--stone); border-radius: var(--radius); background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 4px rgba(210,18,50,0.15); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--red); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips label { margin: 0; font-weight: 600; font-size: 0.9rem; }
.chips label { position: relative; }
.field .chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: 0.6rem 1rem; border: 2px solid var(--stone); border-radius: 999px; cursor: pointer;
  transition: all 0.2s;
}
.chips input:checked + span { background: var(--black); border-color: var(--black); color: var(--white); }
.chips input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0; }
.form-status { grid-column: 1 / -1; padding: 1rem 1.2rem; border-radius: var(--radius); font-weight: 600; display: none; }
.form-status.is-success { display: block; background: #eaf7ee; color: #1b6b35; border-left: 4px solid #1b6b35; }
.form-status.is-error { display: block; background: #fdecef; color: var(--red-dark); border-left: 4px solid var(--red); }

/* Mini estimate form on the home page */
.quote-panel { background: var(--white); color: var(--ink); padding: 2.25rem; border-radius: 6px; box-shadow: 0 40px 80px -40px rgba(0,0,0,0.6); border-top: 5px solid var(--red); }
.quote-panel h3 { font-size: 1.6rem; }
.quote-panel .form { grid-template-columns: 1fr; gap: 0.9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #b0b0b5; padding: 5rem 0 2rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid #222; }
.footer-logo img { height: 74px; width: auto; margin-bottom: 1.25rem; }
.site-footer h4 { color: var(--white); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.25rem; }
.site-footer ul { display: grid; gap: 0.6rem; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--red); }
.site-footer .script { font-size: 1.5rem; display: block; margin-top: 0.5rem; }
.socials { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #333; display: grid; place-items: center; color: var(--white); }
.socials a:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 2rem; font-size: 0.85rem; color: #77777c; }

/* Mobile sticky call bar */
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__phone { display: none; }
  .services-grid, .reviews, .values { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .process li::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .topbar { display: none; }
  .logo img { height: 48px; }
  .menu-toggle { display: block; }
  /* backdrop-filter would make the header the containing block for the fixed menu */
  .site-header { backdrop-filter: none; background: var(--white); }
  .nav {
    visibility: hidden; transition: transform 0.4s var(--ease), visibility 0s 0.4s;
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--white);
    flex-direction: column; align-items: stretch; gap: 0; padding: 1.5rem 1.25rem 2rem;
    transform: translateX(100%); overflow-y: auto;
  }
  .menu-open .nav { transform: none; visibility: visible; transition: transform 0.4s var(--ease); }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; font-size: 1.6rem; font-weight: 800; padding: 0.9rem 0; border-bottom: 1px solid var(--stone); }
  .nav__links a::after { display: none; }
  .nav__links a[aria-current="page"] { color: var(--red); }
  .nav__phone { display: flex; margin: 1.5rem 0 1rem; }
  .nav .btn { padding: 1.1rem; font-size: 0.95rem; }
  .menu-open { overflow: hidden; }

  .hero .wrap, .split, .contact-grid, .service-detail, .section-head { grid-template-columns: minmax(0, 1fr); }
  .service-detail:nth-child(even) > :first-child, .split--flip > :first-child { order: 0; }
  .hero__art { display: none; }
  .stats ul { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(2) { border-right: 0; }
  .stats li:nth-child(-n+2) { border-bottom: 1px solid var(--stone); }
  .photo-stack { margin: 0 6% 12% 0; }
  .contact-card { position: static; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery figcaption { transform: none; opacity: 1; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    box-shadow: 0 -10px 30px -10px rgba(0,0,0,0.3);
  }
  .mobile-bar a { padding: 1rem; text-align: center; font-weight: 800; text-decoration: none; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.06em; }
  .mobile-bar a:first-child { background: var(--black); color: var(--white); }
  .mobile-bar a:last-child { background: var(--red); color: var(--white); }
  body { padding-bottom: 54px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .services-grid, .reviews, .values, .process, .form, .checklist { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure.wide { grid-column: auto; }
  .gallery figure.tall { grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .ba { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Late additions */
ol.process { list-style: none; margin: 0; padding: 0; }
.section--dark .areas li { border-color: rgba(255,255,255,0.55); }
.section--dark .areas li:hover { border-color: var(--red); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.contact-card a, .site-footer a { overflow-wrap: anywhere; }
