/* =========================================================
   Taubans Painters — website demo
   Mobile-first. Brand: navy #071a2e · orange #f36b21
   ========================================================= */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/fraunces-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/dmsans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --ink-950: #04111f;
  --ink-900: #071a2e;
  --ink-850: #0a2038;
  --ink-800: #0d2a47;
  --ink-700: #143a62;

  --text: #f3f6fa;
  --text-dim: rgba(243, 246, 250, 0.74);
  --text-mute: rgba(243, 246, 250, 0.54);
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.3);

  --orange: #f36b21;
  --orange-hi: #ff8447;
  --orange-ink: #c2410c; /* accessible orange on cream */

  --cream: #f5f0e8;
  --cream-ink: #0b1d33;
  --cream-dim: rgba(11, 29, 51, 0.7);
  --cream-line: rgba(11, 29, 51, 0.16);

  --wa: #25d366;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --sec: clamp(4.5rem, 10vw, 9rem);
  --r-card: 18px;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
html.no-scroll { overflow: hidden; }
body {
  margin: 0;
  background: var(--ink-950);
  color: var(--text);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: var(--ink-900); }

.skip {
  position: absolute; left: -999px; top: 10px; z-index: 300;
  background: var(--orange); color: var(--ink-900);
  padding: 0.65rem 1.1rem; border-radius: 10px; font-weight: 600; text-decoration: none;
}
.skip:focus { left: 10px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--fill { fill: currentColor; stroke: none; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.9rem;
  font: 600 0.72rem/1 var(--sans); letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }

.h2 {
  font: 300 clamp(2.15rem, 5.4vw + 0.2rem, 4.5rem) / 1.04 var(--serif);
  letter-spacing: -0.018em;
  margin-top: 1.1rem;
}
.h2 em, .cap__title em { font-style: normal; color: var(--orange); }

.lead { font-size: clamp(1rem, 0.94rem + 0.3vw, 1.18rem); color: var(--text-dim); max-width: 56ch; }

/* word-mask reveal (JS wraps each word) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.08em 0 0.16em; margin: -0.08em 0 -0.16em; }
.w > span { display: inline-block; will-change: transform; }
/* scroll reveals ([data-split], [data-reveal]) are driven by GSAP ScrollTrigger in main.js */

/* Lenis smooth scroll (same rules our other builds use) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* global film grain, same recipe as the Ekhaya build: fixed SVG noise that jitters in 5 steps */
.film-grain {
  position: fixed; inset: -50%; z-index: 9998; pointer-events: none; opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 1s steps(5, end) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -2%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 50px; padding: 0.85rem 1.6rem; border-radius: 999px;
  font: 600 0.95rem/1 var(--sans); letter-spacing: 0.01em; text-decoration: none;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.35s;
}
.btn .ic { width: 18px; height: 18px; }
.btn--orange { background: var(--orange); color: var(--ink-900); }
.btn--orange:hover { background: var(--orange-hi); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(243, 107, 33, 0.85); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.04); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #04210f; }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(37, 211, 102, 0.8); }
.btn--sm { min-height: 40px; padding: 0.6rem 1.15rem; font-size: 0.86rem; }
.btn--lg { min-height: 56px; padding-inline: 2rem; font-size: 1rem; width: 100%; }

/* =========================================================
   Header
   ========================================================= */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: calc(14px + env(safe-area-inset-top)) var(--gutter) 14px;
  pointer-events: none;
}
.hdr > * { pointer-events: auto; }
/* frosted bar that fades in once the header sits over regular page content */
.hdr::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(4, 17, 31, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--line);
  transition: opacity 0.35s, background 0.35s, border-color 0.35s;
}
.hdr.is-bar::before { opacity: 1; pointer-events: auto; }
.hdr.is-bar.is-light::before { background: rgba(245, 240, 232, 0.86); border-bottom-color: var(--cream-line); }
.hdr.menu-open::before { opacity: 0; }
.hdr__brand { display: grid; align-items: center; text-decoration: none; }
.logo { grid-area: 1 / 1; height: 30px; width: auto; transition: opacity 0.35s; }
.logo--navy { opacity: 0; height: 34px; }
.hdr.is-light .logo--white { opacity: 0; }
.hdr.is-light .logo--navy { opacity: 1; }

.hdr__right { display: flex; align-items: center; gap: 0.5rem; }
.pill {
  display: flex; align-items: center; gap: 0.2rem;
  padding: 5px; border-radius: 999px;
  background: rgba(7, 26, 46, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
  transition: background 0.35s, border-color 0.35s;
}
.pill ul { display: none; align-items: center; gap: 0.1rem; margin-right: 0.35rem; }
.pill ul a {
  display: block; padding: 0.55rem 0.95rem; border-radius: 999px;
  font-size: 0.88rem; font-weight: 500; text-decoration: none; color: rgba(255, 255, 255, 0.82);
  transition: background 0.25s, color 0.25s;
}
.pill ul a:hover, .pill ul a.is-active { color: #fff; background: rgba(255, 255, 255, 0.12); }
.hdr.is-solid .pill { background: rgba(7, 26, 46, 0.8); }
.hdr.is-light .pill { background: rgba(255, 255, 255, 0.78); border-color: var(--cream-line); }
.hdr.is-light .pill ul a { color: rgba(11, 29, 51, 0.8); }
.hdr.is-light .pill ul a:hover, .hdr.is-light .pill ul a.is-active { color: var(--cream-ink); background: rgba(11, 29, 51, 0.08); }

.burger {
  width: 46px; height: 46px; border-radius: 50%; position: relative;
  background: rgba(7, 26, 46, 0.55); border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.burger span {
  position: absolute; left: 14px; right: 14px; height: 1.5px; background: #fff;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease), background 0.3s;
}
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 22.5px; transform: rotate(-45deg); }
.hdr.is-light .burger { background: rgba(255, 255, 255, 0.85); border-color: var(--cream-line); }
.hdr.is-light .burger span { background: var(--cream-ink); }
.hdr.menu-open .logo--white { opacity: 1; }
.hdr.menu-open .logo--navy { opacity: 0; }
.hdr.menu-open .burger { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }
.hdr.menu-open .burger span { background: #fff; }

@media (min-width: 900px) {
  .logo { height: 36px; }
  .logo--navy { height: 40px; }
  .pill ul { display: flex; }
  .burger { display: none; }
}

/* mobile menu overlay */
.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(96px + env(safe-area-inset-top)) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: var(--ink-950);
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), visibility 0s linear 0.5s;
}
.menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.menu__nav { display: grid; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 1rem; padding: 0.9rem 0;
  border-bottom: 1px solid var(--line); text-decoration: none;
  font: 300 clamp(2rem, 9vw, 2.8rem) / 1.1 var(--serif);
}
.menu__nav a span { font: 600 0.7rem/1 var(--sans); letter-spacing: 0.2em; color: var(--orange); }
.menu__foot { display: grid; gap: 1rem; }
.menu__foot p { color: var(--text-mute); font-size: 0.9rem; }
@media (min-width: 900px) { .menu { display: none; } }

/* =========================================================
   Hero (pinned, scroll-driven)
   ========================================================= */
.hero { position: relative; background: var(--ink-950); --run: 380vh; --run: 380svh; }
@media (min-width: 760px) { .hero { --run: 540vh; --run: 540svh; } }
.js .hero { height: calc(100vh + var(--run)); height: calc(100svh + var(--run)); }

.hero__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; background: var(--ink-950); }
.js .hero__pin { position: sticky; top: 0; }

.stages { position: absolute; inset: 0; z-index: 0; }
.stage { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.stage__img, .stage__edge { position: absolute; inset: 0; }
.stage__edge { background: var(--orange); }
.stage:first-child { background: var(--ink-900); }
.stage:first-child .stage__edge { display: none; }
.stage__img img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: var(--pm, 50% 50%);
  transform: scale(1.15); transform-origin: 50% 50%;
  will-change: transform;
}
.stage[data-fx="top"] .stage__img img { transform-origin: 50% 0%; }
@media (min-width: 760px) { .stage__img img { object-position: var(--pd, 50% 50%); } }
.js .stage:not(:first-child) .stage__img,
.js .stage:not(:first-child) .stage__edge { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
html:not(.js) .stage:not(:first-child) { display: none; }
.stage.is-fade { transition: opacity 0.6s ease; }

.hero__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 17, 31, 0.7) 0, rgba(4, 17, 31, 0) 24%),
    linear-gradient(0deg, rgba(4, 17, 31, 0.96) 0, rgba(4, 17, 31, 0.7) 38%, rgba(4, 17, 31, 0) 74%);
}
@media (min-width: 900px) {
  /* the photographs are bright and airy: shade only the text column and the nav strip, leave the room itself luminous */
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(4, 17, 31, 0.52) 0, rgba(4, 17, 31, 0) 20%),
      linear-gradient(90deg, rgba(4, 17, 31, 0.84) 0, rgba(4, 17, 31, 0.6) 27%, rgba(4, 17, 31, 0.24) 48%, rgba(4, 17, 31, 0) 66%),
      linear-gradient(0deg, rgba(4, 17, 31, 0.55) 0, rgba(4, 17, 31, 0) 32%);
  }
}
.hero__grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.2; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* real-time 3D room (Three.js): fades in over the image stages once the scene is ready */
.room {
  position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%;
  opacity: 0; transition: opacity 1.1s ease;
}
.room.is-ready { opacity: 1; }
.has-3d .stages { visibility: hidden; transition: visibility 0s linear 1.3s; }
/* photoreal reel: a scroll-scrubbed video (assets/hero/hero.json); fades in over the image stages once it can be scrubbed */
.reel, .stills {
  position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%; background: var(--ink-950);
  opacity: 0; transition: opacity 0.9s ease; pointer-events: none; will-change: transform;
}
.reel.is-ready, .stills.is-ready { opacity: 1; }
@media (max-width: 759px) {
  /* phones: the picture takes the top of the pinned screen (the caption sits below it) and melts into the dark base.
     The still stages share the frame, so the first paint and the WebGL flow line up exactly. */
  .stages, .reel, .stills {
    bottom: auto; height: 66%;
    -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
  }
}
.has-media .stages { visibility: hidden; transition: visibility 0s linear 1.1s; }
.has-media .room { display: none; }
.has-media .cap__eyebrow, .has-media .cap__title, .has-media .cap__text { text-shadow: 0 2px 20px rgba(4, 17, 31, 0.6); }
.hero__vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 95% at 50% 45%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.36) 100%);
}
.has-3d .cap__eyebrow, .has-3d .cap__title, .has-3d .cap__text { text-shadow: 0 2px 20px rgba(4, 17, 31, 0.6); }
.hero__dims { position: absolute; inset: 0; z-index: 2; display: none; overflow: hidden; pointer-events: none; }
.has-3d .hero__dims { display: block; }
.dim {
  position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap; will-change: transform, opacity;
  padding: 0.38rem 0.6rem; border: 1px solid rgba(243, 107, 33, 0.7); border-radius: 3px;
  background: rgba(4, 17, 31, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font: 500 0.66rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  letter-spacing: 0.14em; text-transform: uppercase; color: #ffd6bd;
}

/* captions */
.caps { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.cap {
  position: absolute; left: 0; right: 0; bottom: 0; margin-inline: auto;
  width: min(100% - 2 * var(--gutter), var(--maxw));
  padding-bottom: calc(clamp(88px, 14vh, 150px) + env(safe-area-inset-bottom));
  visibility: hidden; transition: visibility 0s linear 0.5s;
}
.cap.is-active { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.cap__eyebrow { margin-bottom: 1.2rem; line-height: 1.55; align-items: flex-start; }
.cap__eyebrow::before { margin-top: 0.42em; flex: none; }
.cap__title {
  font: 300 clamp(2.7rem, 11.2vw, 3.9rem) / 1.02 var(--serif); letter-spacing: -0.022em;
  max-width: 11ch; text-wrap: balance;
}
.cap__text {
  margin-top: 1.3rem; max-width: 44ch;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.15rem); color: rgba(255, 255, 255, 0.84);
}
.cap__cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.7rem; }
@media (min-width: 760px) {
  .cap__title { font-size: clamp(3.5rem, 6.4vw, 6.3rem); max-width: 12ch; }
}

.cap__eyebrow, .cap__text, .cap__cta {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cap.is-active .cap__eyebrow, .cap.is-active .cap__text, .cap.is-active .cap__cta {
  opacity: 1; transform: none;
  transition: opacity 0.9s var(--ease) 0.2s, transform 0.9s var(--ease) 0.2s;
}
.cap.is-active .cap__text { transition-delay: 0.5s; }
.cap.is-active .cap__cta { transition-delay: 0.65s; }
.cap .w > span { transform: translateY(115%); transition: transform 0.4s var(--ease); }
.cap.is-active .w > span { transform: none; transition: transform 1s var(--ease) calc(0.15s + var(--i, 0) * 70ms); }
/* one-off entrance for the opening chapter (pure CSS: no flash, no dependency on the script) */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.js .cap:first-child .cap__eyebrow { animation: rise 0.9s var(--ease) 0.15s backwards; }
.js .cap:first-child .cap__title { animation: rise 1.1s var(--ease) 0.25s backwards; }
.js .cap:first-child .cap__text { animation: rise 0.9s var(--ease) 0.55s backwards; }
.js .cap:first-child .cap__cta { animation: rise 0.9s var(--ease) 0.7s backwards; }
html:not(.js) .cap__eyebrow, html:not(.js) .cap__text, html:not(.js) .cap__cta { opacity: 1; transform: none; }
html:not(.js) .cap:not(:first-child) { display: none; }
html:not(.js) .cap { visibility: visible; }

/* chapter rail (desktop) */
.rail {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 4;
  display: none; flex-direction: column; gap: 1.1rem; align-items: flex-end;
}
@media (min-width: 900px) { .rail { display: flex; } }
.rail button {
  display: flex; align-items: center; gap: 0.9rem; padding: 0.2rem 0;
  font: 600 0.68rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5); transition: color 0.3s;
}
.rail button:hover { color: #fff; }
.rail__l { opacity: 0; transform: translateX(10px); transition: opacity 0.35s, transform 0.45s var(--ease); }
.rail__dot { width: 26px; height: 1px; background: currentColor; transition: width 0.5s var(--ease), background 0.3s; }
.rail li.is-active button { color: #fff; }
.rail li.is-active .rail__dot { width: 58px; background: var(--orange); }
.rail li.is-active .rail__l, .rail:hover .rail__l { opacity: 1; transform: none; }

.hero__meta {
  position: absolute; left: 0; right: 0; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 4; margin-inline: auto;
  width: min(100% - 2 * var(--gutter), var(--maxw)); padding-right: 76px;
  display: flex; align-items: center; gap: 1rem;
  font: 600 0.72rem/1 var(--sans); letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.78);
}
.hero__meta .bar { position: relative; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.24); }
.hero__meta .bar b { position: absolute; inset: 0; background: var(--orange); transform-origin: left; transform: scaleX(0); }
.hero__hint { display: inline-flex; align-items: center; gap: 0.5rem; text-transform: uppercase; text-decoration: none; transition: opacity 0.4s; }
.hero__hint .ic { width: 14px; height: 14px; animation: nudge 1.8s var(--ease) infinite; }
.hero__hint.is-hidden { opacity: 0; pointer-events: none; }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* =========================================================
   About
   ========================================================= */
.about { position: relative; z-index: 1; background: var(--ink-900); padding: var(--sec) 0; }
.about__grid { display: grid; gap: 3.4rem; align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 1.1fr 0.9fr; gap: 5.5rem; } }
.about .lead { margin-top: 1.6rem; }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 1rem; margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--line); }
@media (min-width: 560px) { .stats { justify-content: start; gap: 4rem; } }
.stat { display: flex; flex-direction: column-reverse; gap: 0.5rem; }
.stat dd { display: flex; align-items: baseline; gap: 0.1rem; font: 300 clamp(2.2rem, 7vw, 3.6rem) / 1 var(--serif); color: var(--orange); }
.stat dd .ic { width: 0.5em; height: 0.5em; margin-left: 0.15em; align-self: center; }
.stat dt { font-size: 0.78rem; line-height: 1.35; color: var(--text-mute); max-width: 13ch; }

.about__media { position: relative; padding: 0 20px 20px 0; max-width: 520px; width: 100%; margin-inline: auto; }
.about__media::before {
  content: ""; position: absolute; inset: 20px 0 0 20px;
  background: var(--orange);
  clip-path: polygon(0 16%, 50% 0, 100% 16%, 100% 100%, 0 100%);
}
.house {
  position: relative; aspect-ratio: 4 / 5; background: var(--ink-800);
  clip-path: polygon(0 16%, 50% 0, 100% 16%, 100% 100%, 0 100%);
}
.house img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.house::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 17, 31, 0.55), transparent 45%); }
.house__tag {
  position: absolute; left: 1.4rem; bottom: 1.3rem; z-index: 2; display: grid; gap: 0.2rem;
  font: 600 0.7rem/1.2 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: #fff;
}
.house__tag b { font: 300 1.4rem/1.1 var(--serif); letter-spacing: 0; text-transform: none; }

/* =========================================================
   Marquee
   ========================================================= */
.marquee { position: relative; z-index: 1; overflow: hidden; background: var(--orange); color: var(--ink-900); }
.marquee__track { display: flex; width: max-content; animation: marquee 52s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; flex: none; }
.marquee__group li {
  display: flex; align-items: center; gap: 1.6rem; padding: 1.05rem 0 1.05rem 1.6rem;
  font: 600 0.8rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap;
}
.marquee__group li::after { content: ""; width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); opacity: 0.5; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Promise (light interlude)
   ========================================================= */
.promise { position: relative; z-index: 1; background: var(--cream); color: var(--cream-ink); padding: var(--sec) 0; }
.promise .eyebrow { color: var(--orange-ink); }
.promise .h2 em { color: var(--orange-ink); }
.promise__grid { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 900px) { .promise__grid { grid-template-columns: 1.3fr 0.7fr; gap: 5rem; } }
.promise .h2 { font-size: clamp(2.4rem, 6.4vw, 5.6rem); }
.promise__lead { color: var(--cream-dim); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); max-width: 42ch; }
.checks { display: grid; margin-top: clamp(3rem, 7vw, 5.5rem); border-top: 1px solid var(--cream-line); }
@media (min-width: 700px) { .checks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .checks { grid-template-columns: repeat(4, 1fr); } }
.checks li { padding: 1.7rem 1.6rem 1.9rem 0; border-bottom: 1px solid var(--cream-line); }
@media (min-width: 1100px) { .checks li { border-bottom: 0; } .checks li + li { padding-left: 1.6rem; border-left: 1px solid var(--cream-line); } }
.checks .ic { width: 30px; height: 30px; color: var(--orange); --check: var(--cream); }
.checks h3 { margin-top: 1.1rem; font: 400 1.4rem/1.2 var(--serif); }
.checks p { margin-top: 0.5rem; color: var(--cream-dim); font-size: 0.95rem; max-width: 30ch; }

/* =========================================================
   Section heads
   ========================================================= */
.sec-head { display: grid; gap: 1.4rem; margin-bottom: clamp(2.6rem, 6vw, 4.6rem); }
@media (min-width: 900px) { .sec-head { grid-template-columns: 1.15fr 0.85fr; align-items: end; gap: 4rem; } }
.sec-head .lead { margin: 0; }

/* =========================================================
   Services
   ========================================================= */
.services { position: relative; z-index: 1; background: var(--ink-950); padding: var(--sec) 0; }
.svc {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
}
@media (min-width: 640px) { .svc { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc { grid-template-columns: repeat(3, 1fr); } }
.svc li { background: var(--ink-950); }
.svc__item {
  position: relative; display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; row-gap: 0.7rem; align-content: start;
  height: 100%; padding: 1.6rem 1.5rem 1.9rem; text-decoration: none;
  transition: background 0.4s var(--ease), color 0.4s;
}
.svc__n { grid-column: 1; font: 600 0.72rem/1 var(--sans); letter-spacing: 0.22em; color: var(--orange); transition: color 0.3s; }
.svc__ic { grid-column: 2; grid-row: 1 / span 2; width: 34px; height: 34px; color: var(--text); opacity: 0.9; transition: color 0.3s, transform 0.5s var(--ease); }
.svc__item h3 { grid-column: 1; font: 400 1.55rem/1.15 var(--serif); letter-spacing: -0.01em; }
.svc__item p { grid-column: 1 / -1; color: var(--text-dim); font-size: 0.95rem; max-width: 36ch; transition: color 0.3s; }
.svc__go { position: absolute; right: 1.4rem; bottom: 1.5rem; width: 20px; height: 20px; opacity: 0; transform: translate(-6px, 6px); transition: opacity 0.3s, transform 0.4s var(--ease); }
@media (hover: hover) {
  .svc__item:hover { background: var(--orange); color: var(--ink-900); }
  .svc__item:hover .svc__n, .svc__item:hover .svc__ic { color: var(--ink-900); }
  .svc__item:hover .svc__ic { transform: translateY(-3px) rotate(-4deg); }
  .svc__item:hover p { color: rgba(7, 26, 46, 0.82); }
  .svc__item:hover .svc__go { opacity: 1; transform: none; }
}
.svc__item:focus-visible { outline-offset: -3px; }

/* =========================================================
   Process
   ========================================================= */
.process { position: relative; z-index: 1; background: var(--ink-900); padding: var(--sec) 0; overflow: hidden; }
.steps { display: grid; gap: 2.4rem; counter-reset: step; }
@media (max-width: 759px) {
  .steps { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 1rem; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 78%; scroll-snap-align: start; }
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 1.6rem; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step figure { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--ink-800); }
.step figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.step figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 17, 31, 0.45), transparent 50%); }
.step:hover figure img { transform: scale(1.06); }
.step__n { display: block; margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line-strong); font: 300 clamp(2.6rem, 5vw, 3.8rem) / 1 var(--serif); color: var(--orange); }
.step h3 { margin-top: 0.7rem; font: 400 1.5rem/1.2 var(--serif); }
.step p { margin-top: 0.5rem; color: var(--text-dim); font-size: 0.97rem; max-width: 30ch; }

/* =========================================================
   Work / gallery
   ========================================================= */
.work { position: relative; z-index: 1; background: var(--ink-950); padding: var(--sec) 0; }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.8rem; }
.chip {
  padding: 0.6rem 1.15rem; border-radius: 999px; border: 1px solid var(--line-strong);
  font: 500 0.85rem/1 var(--sans); color: var(--text-dim); transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.chip:hover { border-color: #fff; color: #fff; }
.chip.is-on { background: var(--orange); border-color: var(--orange); color: var(--ink-900); font-weight: 600; }

.gal { display: grid; gap: clamp(2.4rem, 5vw, 4rem); }
.gal__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-bottom: 0.9rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--line-strong); }
.gal__head h3 { font: 400 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.15 var(--serif); }
.gal__head p { color: var(--text-dim); font-size: 0.9rem; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(var(--cols, 4), 1fr); } }
.tile { break-inside: avoid; }
.tile img { aspect-ratio: 4 / 5; object-fit: cover; }
.tile[hidden] { display: none; }
.tile button { position: relative; display: block; width: 100%; border-radius: 12px; overflow: hidden; background: var(--ink-800); text-align: left; }
.tile img { width: 100%; height: 100%; transition: scale 1.1s var(--ease), filter 0.4s; }
.tile button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 17, 31, 0.78) 0, rgba(4, 17, 31, 0) 46%); opacity: 0.9; transition: opacity 0.4s; }
.tile__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0.9rem 0.9rem 0.8rem;
  font: 500 0.78rem/1.3 var(--sans); color: #fff; letter-spacing: 0.01em;
}
.tile__plus {
  position: absolute; top: 0.7rem; right: 0.7rem; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(7, 26, 46, 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25); opacity: 0; transform: scale(0.8); transition: opacity 0.3s, transform 0.4s var(--ease);
}
.tile__plus .ic { width: 16px; height: 16px; }
@media (hover: hover) {
  .tile button:hover img { scale: 1.05; }
  .tile button:hover .tile__plus { opacity: 1; transform: none; }
}

/* lightbox */
.lb { border: 0; padding: 0; background: transparent; width: 100%; max-width: none; height: 100%; max-height: none; color: #fff; }
.lb::backdrop { background: rgba(4, 17, 31, 0.95); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lb[open] { display: grid; place-items: center; }
.lb__fig { display: grid; gap: 0.9rem; justify-items: center; max-width: min(94vw, 1100px); padding: 0 0.5rem; }
.lb__fig img { max-height: 78vh; max-height: 78dvh; width: auto; max-width: 100%; border-radius: 10px; background: var(--ink-800); }
.lb__fig figcaption { font: 500 0.9rem/1.4 var(--sans); color: var(--text-dim); text-align: center; }
.lb__btn {
  position: absolute; z-index: 2; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); transition: background 0.25s;
}
.lb__btn:hover { background: var(--orange); color: var(--ink-900); border-color: var(--orange); }
.lb__btn .ic { width: 22px; height: 22px; }
.lb__close { top: calc(16px + env(safe-area-inset-top)); right: 16px; }
.lb__prev, .lb__next { top: 50%; transform: translateY(-50%); }
.lb__prev { left: 12px; }
.lb__next { right: 12px; }
@media (max-width: 759px) { .lb__prev, .lb__next { top: auto; bottom: calc(18px + env(safe-area-inset-bottom)); transform: none; } .lb__prev { left: calc(50% - 60px); } .lb__next { right: calc(50% - 60px); } }

/* =========================================================
   Areas
   ========================================================= */
.areas { position: relative; z-index: 1; background: var(--ink-900); padding: var(--sec) 0; }
.areas__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .areas__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.areas .lead { margin-top: 1.5rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 2rem; }
.tags li { padding: 0.6rem 1.05rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.9rem; color: var(--text); background: rgba(255, 255, 255, 0.03); }
.tags li:first-child { background: var(--orange); border-color: var(--orange); color: var(--ink-900); font-weight: 600; }
.areas__note { margin-top: 1.4rem; font-size: 0.9rem; color: var(--text-mute); }

.areas__media { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r-card); overflow: hidden; background: var(--ink-800); }
.areas__media img { width: 100%; height: 100%; object-fit: cover; }
.areas__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 17, 31, 0.7), transparent 55%); }
.areas__badge { position: absolute; left: 1.4rem; bottom: 1.3rem; z-index: 2; display: grid; gap: 0.25rem; }
.areas__badge b { font: 300 1.7rem/1.1 var(--serif); }
.areas__badge span { font: 600 0.7rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange-hi); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { position: relative; z-index: 1; background: var(--ink-950); padding: var(--sec) 0; }
.faq__grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: 0.8fr 1.2fr; gap: 5rem; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1.4rem 0; cursor: pointer; list-style: none;
  font: 400 clamp(1.15rem, 2.4vw, 1.45rem) / 1.3 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 22px; height: 22px; color: var(--orange); transition: transform 0.45s var(--ease); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 2.6rem 1.5rem 0; color: var(--text-dim); max-width: 60ch; }

/* =========================================================
   Contact
   ========================================================= */
.contact { position: relative; z-index: 1; background: var(--ink-900); padding: var(--sec) 0; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; right: -10%; top: -20%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, rgba(243, 107, 33, 0.14), transparent); pointer-events: none;
}
.contact__grid { position: relative; display: grid; gap: 3rem; align-items: start; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 1fr 0.9fr; gap: 5rem; } }
.contact .lead { margin-top: 1.5rem; }
.contact__list { margin: 2.2rem 0; display: grid; border-top: 1px solid var(--line); }
.contact__list li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact__list span { font: 600 0.7rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-mute); }
.contact__list a, .contact__list b { font: 400 1.1rem/1.4 var(--sans); font-weight: 500; text-decoration: none; }
.contact__list a:hover { color: var(--orange); }
.contact__cta { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.quote {
  position: relative; padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid var(--line-strong); border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.quote__tag { font: 600 0.7rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange); }
.quote__title { margin-top: 0.8rem; font: 300 clamp(1.8rem, 4vw, 2.3rem) / 1.1 var(--serif); }
.quote__incl { margin: 1.4rem 0 1.6rem; display: grid; gap: 0.55rem; }
.quote__incl li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.93rem; color: var(--text-dim); }
.quote__incl .ic { width: 18px; height: 18px; color: var(--orange); --check: var(--ink-900); }
.field { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.field label { font: 600 0.72rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mute); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.9rem 1rem; border-radius: 12px; border: 1px solid var(--line-strong);
  background: rgba(4, 17, 31, 0.55); color: var(--text); font: 400 1rem/1.4 var(--sans);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f36b21' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.field select option { color: #04111f; }
.field input::placeholder, .field textarea::placeholder { color: rgba(243, 246, 250, 0.36); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243, 107, 33, 0.22); background: rgba(4, 17, 31, 0.8); }
.field [aria-invalid="true"] { border-color: #ff6b6b; }
.field__err { font-size: 0.82rem; color: #ff9a9a; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.quote__fine { margin-top: 1rem; font-size: 0.85rem; color: var(--text-mute); text-align: center; }
.quote__fine a { color: var(--text); }
.quote__status { margin-top: 0.8rem; text-align: center; font-weight: 500; color: var(--orange-hi); min-height: 1.4em; }

.map { position: relative; margin-top: clamp(3rem, 7vw, 5rem); height: clamp(260px, 38vw, 400px); border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: var(--ink-800); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.35) contrast(1.05) brightness(0.92); }
.map__link { position: absolute; left: 1rem; bottom: 1rem; }

/* =========================================================
   Footer
   ========================================================= */
.foot { position: relative; z-index: 1; background: var(--ink-950); border-top: 1px solid var(--line); padding: clamp(3.5rem, 8vw, 6rem) 0 6rem; }
.foot__grid { display: grid; gap: 2.6rem; }
@media (min-width: 800px) { .foot__grid { grid-template-columns: 1fr 1fr; gap: 2.6rem 3rem; } }
@media (min-width: 1100px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 0.8fr; gap: 3rem; } }
.foot__brand img { height: 46px; width: auto; }
.foot__brand p { margin-top: 1.2rem; max-width: 38ch; color: var(--text-dim); font-size: 0.95rem; }
.foot h3 { font: 600 0.7rem/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--orange); margin-bottom: 1.1rem; }
.foot nav, .foot__contact { display: grid; gap: 0.6rem; font-size: 0.97rem; }
.foot a { text-decoration: none; color: var(--text-dim); transition: color 0.25s; }
.foot a:hover { color: #fff; }
.foot__contact span { color: var(--text-dim); }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem; margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--text-mute); }
.foot__base a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   WhatsApp float
   ========================================================= */
.wa {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80;
  display: flex; align-items: center; gap: 0.6rem; height: 58px; min-width: 58px; padding: 0 1rem; justify-content: center;
  border-radius: 999px; background: var(--wa); color: #04210f; text-decoration: none; font: 600 0.92rem/1 var(--sans);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.7), 0 0 0 0 rgba(37, 211, 102, 0.5); animation: ping 3.2s ease-out infinite;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.wa:hover { transform: translateY(-3px); }
.wa.is-away { opacity: 0; transform: translateY(12px) scale(0.9); pointer-events: none; }
.wa .ic { width: 28px; height: 28px; }
.wa span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width 0.5s var(--ease); }
@media (min-width: 760px) { .wa:hover span, .wa:focus-visible span { max-width: 180px; } }
@keyframes ping { 0% { box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.7), 0 0 0 0 rgba(37, 211, 102, 0.5); } 70%, 100% { box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.7), 0 0 0 18px rgba(37, 211, 102, 0); } }

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .film-grain { animation: none; inset: 0; }
  .wa { animation: none; }
  .hero__hint .ic { animation: none; }
  .js [data-reveal], .js [data-split] .w > span, .cap .w > span { transition-duration: 0.01s; transition-delay: 0s; }
  .cap__eyebrow, .cap__text, .cap__cta { transition-duration: 0.01s !important; transition-delay: 0s !important; }
  .cap__eyebrow, .cap__title, .cap__text, .cap__cta { animation: none !important; }
}

/* text wordmark (replaces the old logo image) */
.wm { font: 400 1.5rem/1 var(--serif); letter-spacing: 0.01em; color: #fff; white-space: nowrap; align-self: center; }
.wm b { font-weight: 400; font-style: italic; color: var(--orange); }
.logo--navy.wm { color: var(--ink-900); height: auto; }
.logo.wm { height: auto; }
.wm--foot { display: inline-block; font-size: 1.9rem; }
@media (min-width: 760px) { .logo.wm { font-size: 1.7rem; } }

/* phones and touch screens: keep the GPU for the hero. No full-screen grain layers (the blended grain over a WebGL canvas and the
   oversized animated noise layer are the two costliest things on a phone), and no live blur behind the header over the moving picture. */
@media (max-width: 759px), (hover: none) {
  .film-grain, .hero__grain { display: none; }
  .hdr::before, .pill, .burger, .dim { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hdr::before { background: rgba(4, 17, 31, 0.92); }
  .pill { background: rgba(7, 26, 46, 0.78); }
}

/* touch polish: no grey tap flash, no rubber-band pull-to-refresh fighting the pinned hero, steadier text sizing when the phone rotates */
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (hover: none) { html, body { overscroll-behavior-y: none; } a, button { touch-action: manipulation; } }

@media (max-width: 400px) { .logo.wm { font-size: 1.2rem; } }

/* ---------- phone dock ---------- */
.dock { display: none; }
@media (max-width: 759px) {
  .wa { display: none; }
  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; display: grid; grid-template-columns: 1fr 1.25fr 1.5fr; gap: 8px;
    padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    background: rgba(4, 17, 31, 0.94); border-top: 1px solid var(--line-strong);
    transform: translateY(110%); transition: transform 0.45s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock__a {
    display: flex; align-items: center; justify-content: center; gap: 0.45rem; height: 48px; border-radius: 999px; text-decoration: none;
    border: 1px solid var(--line-strong); color: #fff; font: 600 0.9rem/1 var(--sans);
  }
  .dock__a .ic { width: 18px; height: 18px; }
  .dock__a--wa { background: var(--wa); border-color: transparent; color: #04210f; }
  .dock__a--q { background: var(--orange); border-color: transparent; color: var(--ink-900); }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

/* ---------- desktop pointer: label on photos, preview picture on services ---------- */
.ptr { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .ptr { display: block; position: fixed; left: 0; top: 0; z-index: 9990; pointer-events: none; opacity: 0; transition: opacity 0.25s; will-change: transform; }
  .ptr.is-on { opacity: 1; }
  .ptr__label {
    display: none; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; place-items: center;
    background: var(--orange); color: var(--ink-900); font: 600 0.82rem/1 var(--sans); letter-spacing: 0.04em;
  }
  .ptr.is-view .ptr__label { display: grid; }
  .ptr__img { display: none; width: 220px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; transform: translate(18px, -50%) rotate(2deg); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.7); }
  .ptr.is-preview .ptr__img { display: block; }
  .ptr.is-view ~ *, .tile button { cursor: none; }
}

/* ---------- Colour room ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.colour { position: relative; z-index: 1; background: var(--cream); color: var(--cream-ink); padding: var(--sec) 0; }
.colour .eyebrow { color: var(--orange-ink); }
.colour .h2 em { color: var(--orange-ink); }
.colour .lead { color: var(--cream-dim); }
.cr { display: grid; gap: 1.8rem; align-items: center; }
@media (min-width: 960px) { .cr { grid-template-columns: 1.75fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); } }
.cr__stage { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: var(--ink-900); aspect-ratio: 2000 / 1116; box-shadow: 0 36px 70px -36px rgba(11, 29, 51, 0.55); }
.cr__base, .cr__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.cr__canvas { opacity: 0; transition: opacity 0.4s; }
.colour.is-ready .cr__canvas { opacity: 1; }
.cr__tag { position: absolute; left: 12px; bottom: 12px; display: grid; gap: 0.15rem; padding: 0.55rem 0.9rem; border-radius: 10px; background: rgba(4, 17, 31, 0.72); color: #fff; font: 500 0.82rem/1.25 var(--sans); }
.cr__tag span { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
.cr__panel { display: grid; gap: 1.2rem; align-content: center; justify-items: start; }
.cr__label { font: 500 0.74rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-dim); }
.cr__sw { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.cr__s { width: 48px; aspect-ratio: 1; border-radius: 50%; background: var(--c); border: 2px solid rgba(11, 29, 51, 0.14); cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.cr__s:hover { transform: scale(1.07); }
.cr__s.is-on { outline: 2px solid var(--cream-ink); outline-offset: 3px; transform: scale(1.06); }
.cr__s:focus-visible { outline: 3px solid var(--orange-ink); outline-offset: 3px; }
.cr__note { color: var(--cream-dim); font-size: 0.88rem; max-width: 38ch; }

/* no lonely tile on the last row of a photo group: it becomes a wide banner instead */
.grid > .tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.grid > .tile:last-child:nth-child(odd) img { aspect-ratio: 16 / 9; }
@media (min-width: 760px) {
  .grid > .tile:last-child:nth-child(odd) { grid-column: auto; }
  .grid > .tile:last-child:nth-child(odd) img { aspect-ratio: 4 / 5; }
  .grid > .tile:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
  .grid > .tile:last-child:nth-child(3n + 1) img { aspect-ratio: 16 / 7; }
}
@media (min-width: 1100px) {
  .grid > .tile:last-child:nth-child(3n + 1) { grid-column: auto; }
  .grid > .tile:last-child:nth-child(3n + 1) img { aspect-ratio: 4 / 5; }
}
