/* =========================================================
   Rithwin Painter's and Decorators — shared stylesheet
   ========================================================= */

/* =========================================================
   1. VARIABLES
========================================================= */
:root {
  /* Neutrals — a primed-wall canvas, not pure black/white */
  --canvas:      #FAF7F1;
  --canvas-dim:  #F1EBDD;
  --ink:         #211F1B;
  --ink-soft:    #55504A;
  --ink-faint:   #837C71;
  --white:       #FFFFFF;
  --line:        rgba(33, 31, 27, .14);
  --line-dark:   rgba(255, 255, 255, .16);

  /* The three service colors — one per page, used as literal paint chips */
  --ochre:       #E08F0F;   /* Wall Painting */
  --ochre-deep:  #B4720A;
  --wood:        #8C5A28;   /* Wood Polish */
  --wood-deep:   #6E4620;
  --petrol:      #135951;   /* False Ceiling */
  --petrol-deep: #0C3E38;

  --danger:      #B3261E;
  --whatsapp:    #25D366;

  --font-display: 'Bricolage Grotesque', 'Arial Black', sans-serif;
  --font-body: 'Work Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3.75rem, 7vw, 6rem);
  --header-h: 76px;
  --topbar-h: 40px;
  --radius: 10px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* =========================================================
   2. RESET
========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
[hidden] { display: none !important; }
.no-scroll { overflow: hidden; }

:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 300;
  background: var(--ochre); color: var(--ink);
  padding: .6rem 1rem; border-radius: 4px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* =========================================================
   3. TYPOGRAPHY
========================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; line-height: 1.03; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { text-wrap: pretty; }
.lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 56ch; }

.on-dark { color: rgba(255, 255, 255, .78); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark .lede { color: rgba(255, 255, 255, .74); }

/* =========================================================
   4. LAYOUT
========================================================= */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); overflow-x: clip; }
.section-alt { background: var(--canvas-dim); }
.section-dark { background: var(--ink); }

.section-head { max-width: 42rem; margin-bottom: clamp(2rem, 4.5vw, 3.25rem); }
.eyebrow-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .8rem .35rem .5rem; border-radius: 999px;
  background: var(--canvas-dim); border: 1px solid var(--line);
  font-size: .85rem; font-weight: 600; color: var(--ink-soft);
  margin-bottom: 1rem;
}
.on-dark .eyebrow-chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .82); }
.eyebrow-dot { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.section-head .lede { margin-top: 1rem; }

/* Swatch strip — the recurring structural device: one chip per real service */
.swatch-strip { display: flex; gap: .5rem; }
.swatch-strip a, .swatch-strip span {
  width: 34px; height: 34px; border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
  transition: transform .3s var(--ease);
}
.swatch-strip a:hover { transform: translateY(-4px); }
.swatch-strip .sw-paint { background: var(--ochre); }
.swatch-strip .sw-wood  { background: var(--wood); }
.swatch-strip .sw-ceil  { background: var(--petrol); }

/* =========================================================
   5. COMPONENTS
========================================================= */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: 6px; border: 1px solid transparent;
  font-size: .96rem; font-weight: 600; line-height: 1.2; font-family: var(--font-body);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn-lg { padding: 1.05rem 2rem; font-size: 1.02rem; }
.btn-sm { padding: .6rem 1.2rem; font-size: .88rem; }

.btn-ochre { background: var(--ochre); color: var(--ink); }
.btn-ochre:hover { background: var(--ochre-deep); transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(224, 143, 15, .55); }

.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #363129; transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(33, 31, 27, .6); }

.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }

.btn-ghost-light { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); transform: translateY(-2px); }

.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: #1EBE59; transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(37, 211, 102, .6); }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--ink); color: rgba(255, 255, 255, .82);
  font-size: .86rem;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: var(--topbar-h);
}
.topbar-links { display: flex; align-items: center; gap: 1.5rem; }
.topbar a:hover { color: var(--ochre); }
.topbar i { margin-right: .4rem; color: var(--ochre); }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--canvas);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s var(--ease), border-color .35s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(33, 31, 27, .1); border-color: var(--line); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-block: 1.1rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.brand-sub { margin-top: .2rem; font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-faint); }

.nav-links { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 1.9rem); }
.nav-link {
  position: relative; padding: .4rem .1rem; font-size: .95rem; font-weight: 600; color: var(--ink-soft);
  transition: color .25s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.15rem; height: 2px;
  background: var(--ochre); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 8px; position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink);
  transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.menu-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0; z-index: 90; background: rgba(33, 31, 27, .5);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.nav-backdrop.is-visible { opacity: 1; visibility: visible; }

/* ---------- Intro / preloader animation (paint bucket pour) ----------
   Plays once per browser session, on whichever page is opened first.
   html.intro-skip (set by an inline script in <head>, before this
   stylesheet or the overlay markup even paint) hides it instantly on
   every page after that, with no flash.

   Sequence: a big, shaded paint bucket tips over -> three brand-colour
   streams pour from it -> the streams land and burst into three gooey
   blobs that merge and swell to swallow the screen -> the brand name
   wipes on, brush-stroke style, over the mixed colour -> the whole
   overlay dissolves to reveal the site. */
.intro-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: var(--canvas-dim); overflow: hidden;
}
html.intro-skip .intro-overlay { display: none !important; }

.intro-skip-btn {
  position: absolute; right: 1.5rem; bottom: 1.5rem; z-index: 6;
  padding: .5rem 1.1rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: .82rem; font-weight: 600; color: var(--ink-soft); background: rgba(255, 255, 255, .75);
  opacity: 0; animation: intro-skip-in .4s ease .9s forwards;
}
.intro-skip-btn:hover { color: var(--ink); border-color: var(--ochre-deep); }
@keyframes intro-skip-in { to { opacity: 1; } }

/* -- Bucket stage -- */
.intro-stage {
  position: absolute; left: 50%; top: 12vh; z-index: 2;
  width: clamp(210px, 27vw, 340px); height: clamp(230px, 29vw, 370px);
  transform: translateX(-50%) translateY(14px) scale(.92); opacity: 0;
}
.intro-overlay.is-enter .intro-stage,
.intro-overlay.is-tip .intro-stage { animation: intro-stage-in .5s var(--ease) forwards; }
@keyframes intro-stage-in { to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } }
/* fill-mode "both" + an explicit "from" keeps the stage visible (opacity 1,
   settled position) through the .15s delay -- without "both" here, this
   later (equal-specificity) rule would win the cascade the instant
   is-splash is added and the stage would snap invisible immediately,
   before its own fade-out even starts. */
.intro-overlay.is-splash .intro-stage { animation: intro-stage-out .55s ease-in .15s both; }
@keyframes intro-stage-out {
  from { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
  to   { opacity: 0; transform: translateX(-50%) translateY(-6px) scale(1.03); }
}

.intro-bucket { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.intro-bucket-shadow { transform-origin: 50% 50%; }
.intro-bucket-body { transform-box: fill-box; transform-origin: 50% 100%; }
/* The can now stays upright the whole time (matching a real paint-can photo
   overflowing at the rim) instead of tipping over -- a bottom-anchored
   squash-and-stretch "thump" reads as it settling into place, rather than
   the earlier full rotation, which pulled the pour point away from the
   fixed drips below and looked disconnected. */
.intro-overlay.is-tip .intro-bucket-body,
.intro-overlay.is-splash .intro-bucket-body { animation: intro-bucket-settle .6s cubic-bezier(.34, 1.56, .64, 1) .05s both; }
@keyframes intro-bucket-settle {
  0%   { transform: scale(1, 1); }
  40%  { transform: scale(1.05, .93); }
  70%  { transform: scale(.97, 1.04); }
  100% { transform: scale(1, 1); }
}
.intro-overlay.is-tip .intro-bucket-shadow,
.intro-overlay.is-splash .intro-bucket-shadow { animation: intro-shadow-pulse .6s cubic-bezier(.34, 1.56, .64, 1) .05s both; }
@keyframes intro-shadow-pulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.1, .88); }
  100% { transform: scale(1); }
}

/* -- Three streams overflowing the rim and running down the can's front,
   into the puddle below -- the can no longer tips, so these sit at fixed
   points across the rim's front edge (cx=100,rx=58 in the 200x220
   viewBox), same spot the two permanent drip accents hang from. */
.intro-stream {
  position: absolute; top: 33%; width: 12px; height: 0; border-radius: 3px 3px 50% 50% / 3px 3px 65% 65%;
  opacity: 0; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .12));
}
.intro-stream-1 { left: 35%; background: linear-gradient(180deg, var(--ochre), var(--ochre-deep)); }
.intro-stream-2 { left: 50%; background: linear-gradient(180deg, var(--wood), var(--wood-deep)); }
.intro-stream-3 { left: 65%; background: linear-gradient(180deg, var(--petrol), var(--petrol-deep)); }
.intro-overlay.is-tip .intro-stream,
.intro-overlay.is-splash .intro-stream { animation-name: intro-stream-grow; animation-duration: .6s; animation-timing-function: ease-in; animation-fill-mode: forwards; }
.intro-overlay.is-tip .intro-stream-1, .intro-overlay.is-splash .intro-stream-1 { animation-delay: .28s; }
.intro-overlay.is-tip .intro-stream-2, .intro-overlay.is-splash .intro-stream-2 { animation-delay: .36s; }
.intro-overlay.is-tip .intro-stream-3, .intro-overlay.is-splash .intro-stream-3 { animation-delay: .44s; }
@keyframes intro-stream-grow {
  0%   { height: 0; opacity: 0; }
  8%   { opacity: 1; }
  100% { height: 44vh; opacity: 1; }
}

/* -- Splash: three gooey blobs that merge and swell to cover the screen -- */
.intro-splash {
  position: absolute; left: 50%; top: 64vh; z-index: 1;
  width: 1px; height: 1px;
  filter: url(#intro-goo);
}
.intro-blob {
  position: absolute; top: 0; border-radius: 50%;
  width: 30vmin; height: 30vmin; transform: translate(-50%, -50%) scale(0);
}
/* Each blob is fully opaque and stacks in paint order (paint -> wood -> ceil),
   so as they swell, colours genuinely swallow one another the way wet paint
   does when poured in sequence, settling into a single flat petrol backdrop
   once the last (biggest, on-top) colour has covered the screen -- a clean
   brand-colour stage for the wipe-on brand name, rather than a mix-blend
   result, which (tried and rejected) crushes three saturated colours down
   to a muddy near-black once they fully overlap. */
.intro-blob-paint { left: -9vmin; background: var(--ochre); mix-blend-mode: multiply; }
.intro-blob-wood  { left: 6vmin;  background: var(--wood); mix-blend-mode: multiply; }
.intro-blob-ceil  { left: 21vmin; background: var(--petrol); } /* normal blend: cleanly covers the mix once fully grown */
.intro-overlay.is-splash .intro-blob { animation-name: intro-blob-grow; animation-duration: 1.1s; animation-timing-function: cubic-bezier(.36, 0, .3, 1); animation-fill-mode: forwards; }
.intro-overlay.is-splash .intro-blob-paint { animation-delay: 0s; }
.intro-overlay.is-splash .intro-blob-wood  { animation-delay: .1s; }
.intro-overlay.is-splash .intro-blob-ceil  { animation-delay: .2s; }
@keyframes intro-blob-grow {
  0%   { transform: translate(-50%, -50%) scale(0); }
  22%  { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-50%, -50%) scale(16); }
}

/* -- Brand name, wiped on like a roller stroke over the mixed colour -- */
.intro-reveal {
  position: fixed; inset: 0; z-index: 4;
  display: flex; align-items: center; justify-content: center; padding-inline: 1.5rem;
}
.intro-brand {
  font-family: var(--font-display); font-weight: 800; color: var(--white);
  font-size: clamp(1.7rem, 5.6vw, 3.4rem); letter-spacing: -.01em; text-align: center;
  text-shadow: 0 10px 30px rgba(0, 0, 0, .22);
  clip-path: inset(0 100% 0 0);
}
.intro-overlay.is-reveal .intro-brand { animation: intro-brand-wipe .85s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes intro-brand-wipe { to { clip-path: inset(0 0 0 0); } }

/* -- Exit: the whole overlay dissolves away -- */
.intro-overlay.is-exit { animation: intro-exit .55s ease-in forwards; }
@keyframes intro-exit { to { opacity: 0; } }

.intro-overlay.is-skip { transition: opacity .35s ease; opacity: 0; }
.intro-overlay.is-skip * { animation: none !important; }

@media (prefers-reduced-motion: reduce) {
  .intro-overlay { display: none !important; }
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 120;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--whatsapp); color: var(--white);
  font-size: 1.5rem; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .4);
  transition: transform .3s var(--ease);
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--whatsapp); animation: wa-pulse 2.4s ease-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3rem, 7vw, 5rem);
  background: var(--canvas-dim);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero-copy .eyebrow-chip { margin-bottom: 1.25rem; }

.hero-title { position: relative; display: inline-block; overflow: hidden; }
.hero-title span { display: block; }
.hero-title::after {
  content: ""; position: absolute; inset: 0; background: var(--ochre);
  transform-origin: left; animation: roller-sweep 1.1s var(--ease) .15s both;
}
@keyframes roller-sweep {
  0%   { transform: scaleX(0); }
  55%  { transform: scaleX(1); }
  100% { transform: scaleX(1); opacity: 0; }
}
.hero-copy .lede { margin-top: 1.5rem; font-size: 1.15rem; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 2.75rem);
  margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--line);
}
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--ink); }
.hero-stat span { font-size: .88rem; color: var(--ink-faint); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }

.hero-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media-badge {
  position: absolute; left: 1.25rem; bottom: 1.25rem; right: 1.25rem;
  background: rgba(33, 31, 27, .82); backdrop-filter: blur(3px);
  color: var(--white); padding: 1rem 1.15rem; border-radius: 8px;
  display: flex; align-items: center; gap: .85rem; font-size: .92rem;
}
.hero-media-badge i { color: var(--ochre); font-size: 1.3rem; }

.hero .swatch-strip { margin-top: 2.5rem; }
.hero-swatch-label { font-size: .82rem; color: var(--ink-faint); margin-bottom: .6rem; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner { position: relative; padding-block: clamp(2.75rem, 6vw, 4.5rem); overflow: hidden; }
.page-banner-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .88rem; color: var(--ink-faint); margin-bottom: 1rem; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.page-banner-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; background: var(--ink); }
.page-banner-media img { width: 100%; height: 100%; object-fit: cover; }
.page-banner .lede { margin-top: 1.25rem; }
.page-banner-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Colored banner variants keyed to each service */
.banner-paint { background: linear-gradient(155deg, #FCF1DC 0%, var(--canvas-dim) 65%); }
.banner-paint .eyebrow-dot { background: var(--ochre); }
.banner-wood  { background: linear-gradient(155deg, #F3E7D6 0%, var(--canvas-dim) 65%); }
.banner-wood .eyebrow-dot { background: var(--wood); }
.banner-ceil  { background: linear-gradient(155deg, #DEEDEA 0%, var(--canvas-dim) 65%); }
.banner-ceil .eyebrow-dot { background: var(--petrol); }

/* ---------- Swatch service cards ---------- */
.swatch-cards { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.swatch-card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding-top: 1.5rem; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.swatch-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -28px rgba(33, 31, 27, .35); }
.swatch-chip {
  height: 64px; margin: 0 1.5rem 1.35rem; border-radius: 8px; position: relative;
  display: flex; align-items: flex-end; padding: .6rem .9rem;
}
.swatch-chip::before {
  content: ""; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 18px; border-radius: 50%; background: var(--white);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .18);
}
.swatch-chip i { color: rgba(255, 255, 255, .92); font-size: 1.1rem; }
.chip-paint { background: linear-gradient(135deg, var(--ochre), var(--ochre-deep)); }
.chip-wood  { background: linear-gradient(135deg, var(--wood), var(--wood-deep)); }
.chip-ceil  { background: linear-gradient(135deg, var(--petrol), var(--petrol-deep)); }

.swatch-card-body { padding: 0 1.5rem 1.75rem; }
.swatch-card-body h3 { margin-bottom: .6rem; }
.swatch-card-body p { font-size: .96rem; }
.swatch-card-body .btn { margin-top: 1.25rem; }
.swatch-card ul.mini-list { margin-top: 1rem; display: grid; gap: .5rem; font-size: .93rem; }
.swatch-card ul.mini-list li { display: flex; gap: .55rem; align-items: flex-start; }
.swatch-card ul.mini-list i { margin-top: .3rem; font-size: .8rem; }

/* ---------- Process steps (a real sequence — numbers are earned here) ---------- */
.process-list { display: grid; gap: 0; counter-reset: step; }
.process-step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem;
  padding-block: 1.5rem; border-top: 1px solid var(--line);
}
.process-list > :last-child { border-bottom: 1px solid var(--line); }
.step-num {
  counter-increment: step; font-family: var(--font-display); font-size: 1.6rem; font-weight: 800;
  color: var(--ochre); width: 2.5rem;
}
.step-num::before { content: counter(step, decimal-leading-zero); }
.process-step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.process-step p { font-size: .95rem; }

/* ---------- Why choose us / feature grid ---------- */
.feature-grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.feature-item { display: flex; gap: 1.1rem; }
.feature-icon {
  flex: none; width: 52px; height: 52px; border-radius: 10px;
  display: grid; place-items: center; font-size: 1.15rem;
  background: var(--canvas-dim); color: var(--ochre); border: 1px solid var(--line);
}
.on-dark .feature-icon { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: var(--ochre); }
.feature-item h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.feature-item p { font-size: .93rem; }

/* ---------- Stat band ---------- */
.stat-band { display: flex; flex-wrap: wrap; gap: clamp(2rem, 6vw, 4rem); }
.stat-block strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3rem); color: var(--white); }
.stat-block span { font-size: .92rem; color: rgba(255, 255, 255, .68); }

/* ---------- Service-area chip list ---------- */
.area-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.area-chip {
  padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line);
  font-size: .88rem; font-weight: 500; color: var(--ink-soft); background: var(--white);
}

/* ---------- Video showcase ---------- */
.video-grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.video-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video-frame { position: relative; aspect-ratio: 16 / 10; background: var(--ink); }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-card-body { padding: 1.1rem 1.25rem 1.3rem; }
.video-card-body h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.video-card-body p { font-size: .88rem; color: var(--ink-faint); }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.testimonial-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.testimonial-mark { width: 12px; height: 12px; border-radius: 3px; background: var(--ochre); margin-bottom: 1rem; }
.testimonial-card p { font-size: .98rem; color: var(--ink-soft); }
.testimonial-name { margin-top: 1.1rem; font-weight: 700; color: var(--ink); font-size: .95rem; }
.testimonial-loc { font-size: .85rem; color: var(--ink-faint); }
.stars { color: var(--ochre); font-size: .85rem; margin-bottom: .75rem; }

/* ---------- Gallery ---------- */
/* .gallery-wrap holds the sticky jump-nav plus all three category
   sections as DIRECT children -- position:sticky can only stay pinned for
   as long as its own parent box is on screen, so the filters bar's parent
   here spans the full wall+wood+ceiling scroll range. It un-sticks once
   you scroll past the false-ceiling section, which is the point: it stays
   put while you're browsing the gallery, not forever. */
.gallery-wrap { padding-top: clamp(2rem, 5vw, 3.5rem); }
.gallery-filters {
  position: sticky; top: var(--header-h); z-index: 90;
  display: flex; flex-wrap: wrap; gap: .6rem;
  padding-block: 1rem; margin-bottom: 1.5rem;
  background: var(--canvas);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.gallery-filters.is-stuck { border-color: var(--line); box-shadow: 0 8px 20px rgba(33, 31, 27, .08); }
.chip {
  display: inline-block; text-decoration: none;
  padding: .55rem 1.2rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--ink-soft); font-size: .9rem; font-weight: 600;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.chip:hover { border-color: var(--ochre-deep); color: var(--ink); transform: translateY(-2px); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip-count { opacity: .6; font-weight: 500; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 19vw, 230px); gap: 12px; }
.gallery-item {
  position: relative; padding: 0; overflow: hidden; border-radius: 8px; background: var(--ink); cursor: zoom-in;
}
/* Photo only -- no tag chip or caption overlay on the card itself. */
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.07); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: rgba(24, 22, 19, .95); opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lb-stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 4.5rem 1rem 5rem; }
.lb-figure { max-width: min(1100px, 100%); transform: scale(.96); transition: transform .5s var(--ease); }
.lightbox.is-open .lb-figure { transform: none; }
.lb-figure img { max-width: 100%; max-height: 72vh; margin-inline: auto; border-radius: 4px; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.lb-figure figcaption { margin-top: 1rem; text-align: center; color: rgba(255, 255, 255, .85); font-size: .95rem; }
.lb-count { display: block; margin-top: .2rem; font-size: .8rem; color: var(--ochre); }
.lb-btn {
  position: absolute; z-index: 2; width: 50px; height: 50px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(224, 143, 15, .7); border-radius: 50%;
  color: var(--ochre); font-size: 1rem; transition: background-color .3s, color .3s;
}
.lb-btn:hover { background: var(--ochre); color: var(--ink); }
.lb-close { top: 1.25rem; right: 1.25rem; }
.lb-prev, .lb-next { top: 50%; margin-top: -25px; }
.lb-prev { left: 1.25rem; }
.lb-next { right: 1.25rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; border-top: 1px solid var(--line); }
.faq-list details { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--ink);
  cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font-size: 1.6rem; color: var(--ochre-deep); transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin-top: .85rem; max-width: 62ch; font-size: .96rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--white); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem 3rem; }
.cta-band h2 { color: var(--white); max-width: 26ch; }
.cta-band p { margin-top: .6rem; color: rgba(255, 255, 255, .7); max-width: 44ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Enquiry form ---------- */
.enquiry-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list { display: grid; gap: 1.3rem; margin-top: 2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ico {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px;
  background: var(--canvas-dim); color: var(--ochre-deep); border: 1px solid var(--line);
}
.contact-list strong { display: block; color: var(--ink); font-weight: 700; font-size: .95rem; }
.contact-list a:hover { color: var(--ochre-deep); }
.map-embed { margin-top: 2rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/11; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 2.5rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.2rem; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; padding: 1.45rem 1rem .55rem; border: 1px solid rgba(33, 31, 27, .22); border-radius: 8px;
  background-color: var(--canvas-dim); color: var(--ink); outline: none;
  transition: border-color .3s, box-shadow .35s, background-color .3s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%23B4720A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.1rem center;
}
.field label { position: absolute; left: 1rem; top: 1rem; color: var(--ink-faint); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ochre); background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(224, 143, 15, .15), 0 0 26px rgba(224, 143, 15, .3);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { transform: translateY(-.68rem) scale(.78); color: var(--ochre-deep); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { display: block; margin-top: .4rem; font-size: .8rem; color: var(--danger); }
.field-error:empty { display: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; margin-top: 1.75rem; }
.form-foot small { flex: 1 1 220px; color: var(--ink-faint); font-size: .82rem; }
.btn-submit:disabled { opacity: .7; cursor: progress; transform: none; }
.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; outline: none; }
.form-success .tick { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--ochre); color: var(--ink); font-size: 1.4rem; }
.link-btn { color: var(--ochre-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .68); padding-top: clamp(3.5rem, 6vw, 5rem); font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(2rem, 4vw, 3.5rem); }
.site-footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 1.1rem; }
.footer-about p { margin-top: 1.1rem; max-width: 32ch; }
.footer-links { display: grid; gap: .65rem; }
.footer-links a { transition: color .25s, padding-left .25s var(--ease); }
.footer-links a:hover { color: var(--ochre); padding-left: .3rem; }
.footer-address { margin-top: 1.1rem; display: grid; gap: .5rem; font-size: .92rem; }
.footer-address i { width: 1.3rem; color: var(--ochre); }
.socials { display: flex; gap: .6rem; margin-top: 1.4rem; }
.socials a {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(224, 143, 15, .45); color: var(--ochre);
  transition: background-color .25s, color .25s, transform .3s var(--ease);
}
.socials a:hover { background: var(--ochre); color: var(--ink); transform: translateY(-3px); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-block: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .84rem;
}
.credit { padding: .45rem 1rem; border-radius: 999px; border: 1px solid rgba(224, 143, 15, .4); }
.credit a { color: var(--ochre); font-weight: 700; }
.credit a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

/* Newsletter-style small inline form (used in footer) */
.newsletter { display: flex; margin-top: .25rem; }
.newsletter input {
  flex: 1; min-width: 0; padding: .85rem 1rem; background: rgba(255, 255, 255, .06); color: var(--white);
  border: 1px solid rgba(255, 255, 255, .2); border-right: 0; border-radius: 6px 0 0 6px; outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.newsletter input::placeholder { color: rgba(255, 255, 255, .5); }
.newsletter input:focus { border-color: var(--ochre); box-shadow: 0 0 18px rgba(224, 143, 15, .3); }
.newsletter .btn { border-radius: 0 6px 6px 0; padding-inline: 1.2rem; }
.nl-msg { min-height: 1.3rem; margin-top: .7rem; font-size: .85rem; }
.nl-msg.is-ok { color: var(--ochre); }
.nl-msg.is-error { color: #F19A94; }

/* =========================================================
   6. MEDIA QUERIES
========================================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .enquiry-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .topbar { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .nav-menu {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 2; width: min(86vw, 380px);
    padding: calc(var(--header-h) + 1.25rem) 2rem 2rem;
    display: flex; flex-direction: column;
    background: var(--canvas); box-shadow: -20px 0 50px rgba(0, 0, 0, .25);
    transform: translateX(100%); visibility: hidden;
    transition: transform .5s var(--ease), visibility .5s;
    overflow-y: auto;
  }
  .menu-open .nav-menu { transform: none; visibility: visible; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .nav-link { display: block; width: 100%; padding: 1rem 0; font-family: var(--font-display); font-size: 1.4rem; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 2rem; }

  .hero-grid, .page-banner-grid { grid-template-columns: 1fr; }
  .page-banner-media { order: -1; max-width: 480px; }
}

@media (max-width: 800px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(150px, 34vw, 230px); }
  .lb-prev, .lb-next { top: auto; bottom: 1.25rem; margin-top: 0; }
  .lb-prev { left: calc(50% - 62px); }
  .lb-next { right: calc(50% - 62px); }
  .lb-stage { padding-bottom: 6.25rem; }
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-submit { width: 100%; }
  .hero-actions .btn, .page-banner-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .process-step { grid-template-columns: 1fr; gap: .5rem; }
  .wa-float { width: 52px; height: 52px; font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero-title::after { display: none; }
}
