/* ============================================
   CALX Studio — Design System
   Lime putty · terracotta · charcoal steel · pigment splash
   ============================================ */

:root {
  --putty: #F5F0E8;
  --lime: #E8DFD0;
  --sand: #D4C4A8;
  --terracotta: #C45C3E;
  --terracotta-soft: #E07A5A;
  --ochre: #D4A054;
  --copper: #B87333;
  --cobalt: #3B6FA0;
  --verde: #5A8F7B;
  --ink: #1C1917;
  --charcoal: #2A2420;
  --stone: #5A5048;
  --mist: #B8A99A;
  --white: #FFFFFF;
  --danger: #C45C3E;

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-height: 80px;
  --section-padding: clamp(80px, 12vw, 140px);
  --container: min(1280px, 92vw);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-soft: 0 20px 60px rgba(28, 25, 23, 0.1);
  --shadow-glow: 0 0 40px rgba(196, 92, 62, 0.28);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--putty);
  overflow-x: hidden;
  cursor: none;
}

body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: none; }
ul[role="list"] { list-style: none; }
.container { width: var(--container); margin-inline: auto; }

/* Cursor — phase 1 simple (pre-scroll) / phase 2 full (after first scroll) */
.cursor {
  position: fixed; inset: 0;
  /* Above cookie notice (10050) so custom cursor stays visible over the bar */
  z-index: 10060;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: difference;
}
.cursor.cursor--boot { opacity: 0; }
.cursor.cursor--live { opacity: 1; }
.cursor-dot,
.cursor-ring,
.cursor-label {
  position: fixed;
  top: 0; left: 0;
  margin: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--white); border-radius: 50%;
  /* Only size transitions — never position (position via left/top in JS) */
  transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo);
}
.cursor-ring {
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,0.85); border-radius: 50%;
  transition: width 0.4s var(--ease-out-expo), height 0.4s var(--ease-out-expo), border-color 0.3s, opacity 0.3s;
}
.cursor.cursor--simple .cursor-ring {
  width: 28px; height: 28px;
  opacity: 0.75;
}
.cursor.cursor--full .cursor-ring {
  width: 42px; height: 42px;
  opacity: 1;
}
.cursor-label {
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); background: var(--ochre);
  padding: 0.35rem 0.55rem; border-radius: var(--radius-pill);
  opacity: 0; white-space: nowrap;
  transition: opacity 0.3s, width 0.35s var(--ease-out-expo);
  transform: translate(-50%, -50%) scale(0.6);
}
.cursor.is-hovering .cursor-dot { width: 0; height: 0; }
.cursor.is-hovering .cursor-ring { width: 64px; height: 64px; }
.cursor.is-view .cursor-label {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.cursor.is-view .cursor-ring { width: 72px; height: 72px; border-color: var(--terracotta); }

@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor { display: none; }
  button { cursor: pointer; }
}

/* Loader */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink);
  transition: opacity 0.9s var(--ease-out-expo), visibility 0.9s;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content { text-align: center; color: var(--putty); }
.loader-trowel {
  width: 72px; height: 72px; margin: 0 auto 1.5rem;
  color: var(--terracotta); animation: trowelFloat 1.6s ease-in-out infinite;
}
.loader-trowel-blade {
  stroke-dasharray: 200; stroke-dashoffset: 200;
  animation: drawBlade 1.4s var(--ease-out-expo) forwards;
}
.loader-line {
  width: 120px; height: 2px; margin: 0 auto 1rem;
  background: rgba(245,240,232,0.15); border-radius: 2px; overflow: hidden;
}
.loader-line span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--terracotta), var(--ochre));
  animation: loadLine 2s var(--ease-out-expo) forwards;
}
.loader-text {
  font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(245,240,232,0.65); font-weight: 500;
}
@keyframes trowelFloat {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-8px) rotate(4deg); }
}
@keyframes drawBlade {
  to { stroke-dashoffset: 0; }
}
@keyframes loadLine {
  to { width: 100%; }
}

/* Splash canvas */
#splash-canvas {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none; opacity: 0.55;
  mix-blend-mode: multiply;
}

/* Progress */
.progress-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 10001;
  background: transparent; pointer-events: none;
}
.progress-bar span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--terracotta), var(--ochre), var(--copper));
  box-shadow: 0 0 12px rgba(196,92,62,0.5);
}

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-height);
  transition: transform 0.5s var(--ease-out-expo), background 0.4s, box-shadow 0.4s;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled {
  background: rgba(245, 240, 232, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(28,25,23,0.06);
}
.nav {
  height: 100%; width: var(--container); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.65rem;
  font-weight: 600; z-index: 2;
}
.logo-mark {
  width: 36px; height: 36px; color: var(--terracotta);
  display: grid; place-items: center;
}
.logo-mark svg { width: 100%; height: 100%; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.45rem; letter-spacing: 0.02em; color: var(--ink);
}
.logo-text span {
  font-family: var(--font-body); font-weight: 400;
  font-size: 0.72em; opacity: 0.55; margin-left: 0.2em;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.nav-links {
  display: flex; align-items: center; gap: 1.75rem;
}
.nav-links a {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--stone);
  position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1.5px; background: var(--terracotta);
  transition: width 0.35s var(--ease-out-expo);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--ink); color: var(--putty);
  padding: 0.7rem 1.15rem; border-radius: var(--radius-pill);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(196,92,62,0.4);
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}
.nav-cta:hover {
  background: var(--terracotta);
  box-shadow: var(--shadow-glow);
}
.nav-toggle {
  display: none; width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  z-index: 2;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--ink);
  transition: transform 0.35s, opacity 0.3s;
}
.nav-toggle.is-active span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle.is-active span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: var(--ink); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.45s, visibility 0.45s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.mobile-menu a {
  font-family: var(--font-display); font-size: clamp(2rem, 8vw, 3rem);
  color: var(--putty); opacity: 0;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.95rem 1.5rem; border-radius: var(--radius-pill);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; transition: all 0.35s var(--ease-out-expo);
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--terracotta); color: var(--white);
  box-shadow: 0 8px 28px rgba(196,92,62,0.3);
}
.btn-primary:hover {
  background: var(--terracotta-soft);
  box-shadow: 0 12px 36px rgba(196,92,62,0.4);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: rgba(28,25,23,0.18);
}
.btn-ghost:hover {
  border-color: var(--terracotta); color: var(--terracotta);
  background: rgba(196,92,62,0.06);
}
.btn-sm { padding: 0.7rem 1.15rem; font-size: 0.75rem; }
.btn-lg { padding: 1.1rem 1.85rem; font-size: 0.9rem; }
.btn-full { width: 100%; }

/* Typography */
.section { padding: var(--section-padding) 0; position: relative; }
.section-eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 1rem;
}
.section-eyebrow--light { color: var(--ochre); }
.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem); line-height: 1.1;
  color: var(--ink); margin-bottom: 1.25rem; letter-spacing: -0.02em;
}
.section-title em {
  font-style: italic; color: var(--terracotta);
}
.section-title--light { color: var(--putty); }
.section-title--light em { color: var(--ochre); }
.section-text {
  font-size: 1.05rem; color: var(--stone); max-width: 48ch; line-height: 1.75;
}
.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header--center { text-align: center; }
.section-header--center .section-text { margin-inline: auto; }

/* Section CTAs — high-converting quote buttons throughout the funnel */
.section-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem;
  margin-top: 1.5rem;
}
.section-header--center .section-cta,
.section-cta--center {
  justify-content: center;
}
.section-cta--after {
  margin-top: 2.25rem;
  padding-top: 0.5rem;
}
.section-cta--light .btn-ghost {
  color: var(--putty);
  border-color: rgba(245,240,232,0.28);
}
.section-cta--light .btn-ghost:hover {
  border-color: var(--ochre);
  color: var(--ochre);
  background: rgba(212,160,84,0.08);
}
.about-sticky .section-cta { margin-top: 1.75rem; }
.transform-copy .section-cta { margin-top: 1.25rem; }
.finishes-heading .section-cta { margin-top: 1.25rem; }
.faq-intro .section-cta { margin-top: 1.5rem; }
.stories .section-cta { margin-top: 2rem; }
.team .section-cta,
.projects .section-cta,
.process .section-header .section-cta { margin-top: 1.5rem; }

[data-reveal] { opacity: 0; transform: translateY(28px); }
[data-about-card] { opacity: 0; transform: translateY(32px); }
[data-team-card] { opacity: 0; transform: translateY(32px); }
[data-project-card] { opacity: 0; transform: translateY(28px); }

/* Hero */
.hero {
  position: relative;
  min-height: 108vh;
  min-height: 108dvh;
  display: flex; align-items: center;
  /* Extra bottom room so scroll cue never collides with stats */
  padding: calc(var(--header-height) + 2rem) 0 7.5rem;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-wall { position: absolute; inset: 0; overflow: hidden; }
.wall-layer {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(232,223,208,0.9), transparent 70%),
    linear-gradient(145deg, #EDE6DA 0%, #D9CFC0 40%, #C8B8A4 100%);
}
.wall-layer--raw {
  background:
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(0,0,0,0.03) 40px, rgba(0,0,0,0.03) 41px),
    linear-gradient(160deg, #C4B5A0, #A89880);
  opacity: 0.35;
}
.wall-layer--skim {
  clip-path: inset(0 100% 0 0);
  background:
    linear-gradient(135deg, #F7F2EA 0%, #E8DFD0 50%, #DCCFBB 100%);
}
.wall-layer--polish {
  clip-path: inset(0 100% 0 0);
  background:
    radial-gradient(circle at 60% 30%, rgba(196,92,62,0.18), transparent 50%),
    linear-gradient(145deg, #F5EDE2, #E8D5C4 40%, #D4A05433 100%);
  opacity: 0;
}
.wall-grain, .hero-grain {
  position: absolute; inset: 0; opacity: 0.04; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.hero-orb--1 {
  width: 50vw; height: 50vw; top: -10%; right: -10%;
  background: rgba(196,92,62,0.22); animation: orbDrift 14s ease-in-out infinite;
}
.hero-orb--2 {
  width: 35vw; height: 35vw; bottom: 5%; left: -5%;
  background: rgba(212,160,84,0.18); animation: orbDrift 18s ease-in-out infinite reverse;
}
.hero-orb--3 {
  width: 25vw; height: 25vw; top: 40%; left: 40%;
  background: rgba(59,111,160,0.1); animation: orbDrift 20s ease-in-out infinite;
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
}

/* Float frames live inside .trowel-stage so they orbit the equipment evenly */
.float-card {
  position: absolute; z-index: 4;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px); border: 1px solid rgba(28,25,23,0.06);
  border-radius: var(--radius-md); padding: 0.85rem 1rem;
  box-shadow: var(--shadow-soft); opacity: 0;
  display: flex; align-items: center; gap: 0.75rem;
  pointer-events: none;
  width: max-content;
  max-width: min(200px, 46%);
}
/* ~120° spacing around the trowel: top, lower-left, lower-right (no transform so GSAP y works) */
.float-card--pigment {
  top: 0; left: 0; right: 0;
  margin-inline: auto;
  flex-direction: row;
}
.float-card--smooth {
  bottom: 4%; left: 0;
  flex-direction: column; align-items: flex-start; gap: 0.35rem; min-width: 138px;
}
.float-card--quote {
  bottom: 4%; right: 0; left: auto;
  flex-direction: column; align-items: flex-start; gap: 0.2rem;
}
.float-label {
  display: block; font-size: 0.65rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--stone); font-weight: 600;
}
.float-card strong { font-size: 0.95rem; color: var(--ink); font-weight: 600; }
.float-card em { font-size: 0.7rem; color: var(--mist); font-style: normal; }
.float-swatches { display: flex; gap: 4px; }
.float-swatches i {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--c); box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.smooth-meter {
  width: 100%; height: 4px; background: rgba(28,25,23,0.08);
  border-radius: 4px; overflow: hidden;
}
.smooth-meter span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--ochre), var(--terracotta));
  border-radius: 4px;
}

.hero-content {
  position: relative; z-index: 3;
  width: var(--container); margin-inline: auto;
  max-width: 580px;
  margin-left: max(4vw, calc((100vw - min(1280px, 92vw)) / 2));
  margin-right: auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.45rem 0.9rem; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.7); border: 1px solid rgba(196,92,62,0.2);
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em;
  color: var(--stone); margin-bottom: 1.5rem;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 0 rgba(196,92,62,0.5);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196,92,62,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(196,92,62,0); }
}
.hero-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 1.05;
  color: var(--ink);
  /* Tighter gap under heading → subtitle */
  margin-bottom: 0.85rem;
  letter-spacing: -0.03em;
  overflow: visible;
  padding-bottom: 0;
}
/* First row: compact (no descenders) */
.hero-title .title-line {
  display: block;
  overflow: visible;
  line-height: 1.05;
  padding-bottom: 0;
  margin-bottom: 0;
}
/* Second row only: room for descenders (g in “light”) without inflating row gap */
.hero-title .title-line.title-italic,
.hero-title .title-line:nth-child(2) {
  line-height: 1.22;
  padding-bottom: 0.14em;
  margin-top: 0.02em;
}
.hero-title .title-italic { font-style: italic; color: var(--terracotta); }
.hero-title .word {
  display: inline-block; white-space: nowrap;
  margin-right: 0.28em;
  overflow: visible;
  line-height: inherit;
  padding-bottom: 0;
}
.hero-title .title-line.title-italic .word,
.hero-title .title-line:nth-child(2) .word {
  padding-bottom: 0.06em;
}
.hero-title .word:last-child { margin-right: 0; }
.hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em);
  line-height: inherit;
  padding-bottom: 0;
}
.hero-title .title-line.title-italic .char,
.hero-title .title-line:nth-child(2) .char {
  padding-bottom: 0.05em;
}
.hero-subtitle {
  font-size: 1.1rem; color: var(--stone); max-width: 42ch;
  margin-bottom: 2rem; line-height: 1.7;
  margin-top: 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.25rem; }
.hero-stats {
  display: flex; align-items: center;
  /* Tight cluster — rooms / rating / quote time almost adjacent */
  gap: 0.2rem;
  flex-wrap: nowrap;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 0.5rem;
}
.stat {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.05rem 0.08rem;
  min-width: 0;
  padding-inline: 0.15rem;
}
.stat-number {
  font-family: var(--font-display); font-size: 1.85rem; color: var(--ink); line-height: 1;
}
.stat-suffix {
  font-family: var(--font-display); font-size: 1.1rem; color: var(--terracotta);
}
.stat-label {
  width: 100%; font-size: 0.65rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--mist); font-weight: 500; margin-top: 0.15rem;
}
.stat-divider {
  width: 1px; height: 28px;
  background: rgba(28,25,23,0.12);
  flex-shrink: 0;
  margin: 0 0.05rem;
}

.hero-visual {
  position: absolute; right: 3%; top: 50%; transform: translateY(-50%);
  z-index: 2; width: min(42vw, 460px); aspect-ratio: 1;
  pointer-events: none;
}
.trowel-stage {
  position: relative; width: 100%; height: 100%;
  display: grid; place-items: center;
}
.trowel-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(196,92,62,0.2);
}
.trowel-ring--outer {
  width: 100%; height: 100%;
  animation: ringSpin 28s linear infinite;
  border-style: dashed;
}
.trowel-ring--mid {
  width: 72%; height: 72%;
  border-color: rgba(212,160,84,0.3);
  animation: ringSpin 20s linear infinite reverse;
}
@keyframes ringSpin { to { transform: rotate(360deg); } }
.trowel-core {
  width: 55%; height: 55%;
  display: grid; place-items: center;
  animation: trowelBob 4s ease-in-out infinite;
}
@keyframes trowelBob {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-12px) rotate(4deg); }
}
.trowel-hero { width: 100%; height: 100%; filter: drop-shadow(0 20px 40px rgba(196,92,62,0.25)); }
.splash-burst {
  position: absolute; inset: 10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,92,62,0.3) 0%, transparent 70%);
  animation: splashPulse 3s ease-in-out infinite;
  opacity: 0.6;
}
@keyframes splashPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.4; }
  50% { transform: scale(1.15); opacity: 0.7; }
}

.hero-scroll {
  position: absolute;
  bottom: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  /* Extra top padding so cue sits clear of stats above */
  padding-top: 2.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  pointer-events: none;
}
.scroll-line {
  width: 1px; height: 48px; background: rgba(28,25,23,0.12); overflow: hidden;
}
.scroll-line span {
  display: block; width: 100%; height: 40%;
  background: var(--terracotta);
  animation: scrollDrop 1.6s ease-in-out infinite;
}
@keyframes scrollDrop {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}

/* Marquee */
.marquee-section {
  background: var(--ink); color: var(--putty);
  padding: 1.1rem 0; overflow: hidden; border-block: 1px solid rgba(196,92,62,0.25);
}
.marquee-track {
  display: flex; gap: 1.5rem; width: max-content;
  animation: marquee 32s linear infinite;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
}
.marquee-dot { color: var(--terracotta); opacity: 0.8; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* About */
.about-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.about-sticky { position: sticky; top: 120px; }
.about-pills { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.75rem; }
.pill {
  padding: 0.45rem 0.9rem; border-radius: var(--radius-pill);
  background: rgba(196,92,62,0.08); border: 1px solid rgba(196,92,62,0.18);
  font-size: 0.78rem; font-weight: 500; color: var(--charcoal);
}
.about-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.about-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 1.75rem; border: 1px solid rgba(28,25,23,0.06);
  box-shadow: var(--shadow-soft); transition: transform 0.4s var(--ease-out-expo);
}
.about-card:hover { transform: translateY(-4px); }
.about-card-num {
  font-family: var(--font-display); font-size: 0.9rem;
  color: var(--terracotta); margin-bottom: 0.5rem;
}
.about-card h3 {
  font-family: var(--font-display); font-size: 1.45rem;
  font-weight: 400; margin-bottom: 0.5rem; color: var(--ink);
}
.about-card p { font-size: 0.95rem; color: var(--stone); margin-bottom: 1rem; }
.about-card-visual { height: 48px; display: flex; align-items: flex-end; gap: 6px; }
.av-bar {
  flex: 1; height: var(--p); border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--terracotta), var(--ochre));
  opacity: 0.85;
}
.av-pigment { align-items: center; gap: 10px; }
.av-blob {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--c); box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  animation: blobPulse 2.5s ease-in-out infinite;
}
.av-blob:nth-child(2) { animation-delay: 0.3s; width: 36px; height: 36px; }
.av-blob:nth-child(3) { animation-delay: 0.6s; }
@keyframes blobPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
.av-convert { position: relative; align-items: center; justify-content: center; }
.av-ring {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--terracotta); animation: ringPulse 2s ease-in-out infinite;
}
.av-dot {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--ochre);
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.5; }
}

/* Services locked — dynamic frame height (active panel only in layout) */
.services { position: relative; }
.services-pin {
  height: 100vh; height: 100dvh;
  background: var(--ink); color: var(--putty);
  overflow: hidden; position: relative;
}
.services-bg { position: absolute; inset: 0; }
.services-glow {
  position: absolute; width: 60vw; height: 60vw;
  top: -20%; right: -10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,92,62,0.25), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.services-texture {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.services-pin-inner {
  position: relative; z-index: 1;
  height: 100%;
  max-height: 100%;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  width: var(--container);
  margin-inline: auto;
  padding-block: 2rem;
  overflow: hidden;
  box-sizing: border-box;
}
.services-hint {
  font-size: 0.8rem; color: rgba(245,240,232,0.45);
  letter-spacing: 0.08em; margin: 1rem 0 1.5rem;
}
.services-progress-track {
  height: 3px; background: rgba(245,240,232,0.12);
  border-radius: 3px; overflow: hidden; margin-bottom: 1rem;
}
.services-progress-track span {
  display: block; height: 100%; width: 16.66%;
  background: linear-gradient(90deg, var(--terracotta), var(--ochre));
  transition: width 0.4s var(--ease-out-expo);
}
.services-progress-labels {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
}
.services-progress-labels button {
  font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.55rem 0.85rem; min-height: 40px;
  border-radius: var(--radius-pill);
  color: rgba(245,240,232,0.5); border: 1px solid rgba(245,240,232,0.12);
  background: rgba(255,255,255,0.03);
  cursor: none; transition: all 0.3s;
  line-height: 1.2;
}
.services-progress-labels button:hover {
  color: var(--putty);
  border-color: rgba(212,160,84,0.4);
  background: rgba(212,160,84,0.1);
}
.services-progress-labels button.is-active {
  color: var(--ink); background: var(--ochre); border-color: var(--ochre);
}

/* Stage height = active panel content only (no fixed absolute frame) */
.services-stage {
  position: relative;
  width: 100%;
  min-height: 0;
  max-height: min(72vh, 640px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 160, 84, 0.35) transparent;
}
.services-stage::-webkit-scrollbar { width: 6px; }
.services-stage::-webkit-scrollbar-thumb {
  background: rgba(212, 160, 84, 0.35);
  border-radius: 99px;
}

.service-panel {
  /* Only the active panel is in layout → height tracks its content */
  display: none;
  position: relative;
  width: 100%;
  height: auto;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(245,240,232,0.12);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0;
  box-sizing: border-box;
  animation: servicePanelIn 0.45s var(--ease-out-expo) both;
}
.service-panel.is-active {
  display: flex;
}
@keyframes servicePanelIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.service-panel-num {
  font-family: var(--font-display); font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: var(--ochre); margin-bottom: 0.85rem;
}
.service-panel-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  color: var(--terracotta-soft);
  margin-bottom: 0.85rem;
}
.service-panel.is-active .service-panel-icon {
  animation: iconPop 0.7s var(--ease-spring);
}
@keyframes iconPop {
  0% { transform: scale(0.6) rotate(-10deg); }
  100% { transform: scale(1) rotate(0); }
}
.service-panel-icon svg { width: 100%; height: 100%; }
.service-panel h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--putty);
  line-height: 1.15;
}
.service-panel p {
  color: rgba(245,240,232,0.7);
  margin-bottom: 1.15rem;
  max-width: 44ch;
  line-height: 1.65;
}
.service-meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none;
  margin-bottom: 1.35rem;
}
.service-meta li {
  font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.4rem 0.75rem; border-radius: var(--radius-pill);
  background: rgba(196,92,62,0.15); color: var(--ochre);
  border: 1px solid rgba(212,160,84,0.25);
}
.service-panel .btn-primary {
  align-self: flex-start;
  flex-shrink: 0;
  margin-top: 0.15rem;
  margin-bottom: 0;
  min-height: 48px;
}

/* Transform scrub */
.transform-section { position: relative; background: var(--putty); }
.transform-pin {
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; padding: 2rem 0;
}
.transform-pin-inner {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: center;
}
.transform-case {
  margin-top: 1.5rem; padding: 1.25rem;
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid rgba(28,25,23,0.06);
}
.case-tag {
  display: inline-block; font-size: 0.65rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--terracotta); font-weight: 600;
  margin-bottom: 0.4rem;
}
.transform-case strong { display: block; font-size: 1rem; margin-bottom: 0.35rem; }
.transform-case p { font-size: 0.9rem; color: var(--stone); }
.transform-meter { margin-top: 1.5rem; }
.transform-meter > span {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mist); display: block; margin-bottom: 0.4rem;
}
.transform-meter-bar {
  height: 4px; background: rgba(28,25,23,0.08); border-radius: 4px; overflow: hidden;
}
.transform-meter-bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--stone), var(--terracotta), var(--ochre));
}
.compare-frame {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-soft);
  border: 1px solid rgba(28,25,23,0.08);
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}
.compare-frame.is-dragging {
  cursor: grabbing;
}
.compare-before, .compare-after { position: absolute; inset: 0; }
.compare-after { clip-path: inset(0 100% 0 0); }
.wall-face { width: 100%; height: 100%; position: relative; }
.wall-face--before {
  background:
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(0,0,0,0.04) 28px 29px),
    linear-gradient(160deg, #B5A48E, #8F7E68 60%, #7A6A56);
}
.wall-crack {
  position: absolute; top: 20%; left: 30%; width: 2px; height: 40%;
  background: rgba(0,0,0,0.25); transform: rotate(12deg);
  box-shadow: 8px 20px 0 -0.5px rgba(0,0,0,0.15);
}
.wall-patch {
  position: absolute; bottom: 25%; right: 20%; width: 18%; height: 15%;
  background: rgba(200,180,150,0.5); border-radius: 4px;
}
.wall-mess {
  position: absolute; top: 40%; left: 15%; width: 12%; height: 8%;
  background: rgba(100,80,60,0.3); border-radius: 50%; filter: blur(4px);
}
.wall-face--after {
  background:
    radial-gradient(ellipse at 40% 30%, rgba(255,255,255,0.35), transparent 50%),
    linear-gradient(145deg, #F2E8DC 0%, #E0C8B0 35%, #C45C3E55 70%, #D4A05444 100%);
}
.wall-polish {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  animation: polishShine 4s ease-in-out infinite;
}
@keyframes polishShine {
  0%, 100% { opacity: 0.3; transform: translateX(-10%); }
  50% { opacity: 0.7; transform: translateX(10%); }
}
.wall-vein {
  position: absolute; inset: 15% 20%;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(196,92,62,0.2), transparent 40%),
    radial-gradient(ellipse at 70% 60%, rgba(212,160,84,0.15), transparent 35%);
}
.pigment-splash {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 70% 30%, rgba(196,92,62,0.35) 0%, transparent 25%),
    radial-gradient(circle at 30% 70%, rgba(59,111,160,0.25) 0%, transparent 22%),
    radial-gradient(circle at 55% 55%, rgba(212,160,84,0.3) 0%, transparent 20%);
  opacity: 0; transition: opacity 0.3s;
}
.compare-label {
  position: absolute; bottom: 1rem; left: 1rem;
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(28,25,23,0.7); color: var(--putty);
  padding: 0.35rem 0.7rem; border-radius: var(--radius-pill);
  z-index: 2;
}
.compare-after .compare-label { left: auto; right: 1rem; background: rgba(196,92,62,0.85); }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 44px; /* large hit area */
  margin-left: -22px;
  background: transparent; z-index: 5;
  transform: none;
  cursor: ew-resize;
  touch-action: none;
  outline: none;
}
.compare-handle::before {
  content: '';
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; margin-left: -1.5px;
  background: var(--white);
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
  pointer-events: none;
}
.compare-handle-knob,
.compare-handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--terracotta);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  pointer-events: none;
  transition: transform 0.2s var(--ease-out-expo), box-shadow 0.2s;
}
.compare-handle:hover .compare-handle-knob,
.compare-handle:focus-visible .compare-handle-knob,
.compare-handle.is-dragging .compare-handle-knob {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 6px 22px rgba(196,92,62,0.35);
}
.compare-handle-knob::before,
.compare-handle-knob::after,
.compare-handle span::before,
.compare-handle span::after {
  content: ''; position: absolute; top: 50%; width: 7px; height: 7px;
  border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink);
}
.compare-handle-knob::before,
.compare-handle span::before { left: 12px; transform: translateY(-50%) rotate(-135deg); }
.compare-handle-knob::after,
.compare-handle span::after { right: 12px; transform: translateY(-50%) rotate(45deg); }
.compare-hint {
  margin-top: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  text-align: center;
}

/* Finishes horizontal */
.finishes-section { position: relative; }
.finishes-pin {
  height: 100vh; height: 100dvh;
  background: linear-gradient(160deg, #1C1917 0%, #2A2420 50%, #3D2E28 100%);
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; position: relative;
}
.finishes-heading {
  width: var(--container); margin: 0 auto 2rem; position: relative; z-index: 1;
}
.finishes-hint {
  color: rgba(245,240,232,0.4); font-size: 0.85rem; margin-top: 0.5rem;
}
.finishes-track {
  display: flex; gap: 1.5rem; padding-left: max(4vw, calc((100vw - 1280px) / 2));
  padding-right: 4vw; width: max-content; will-change: transform;
}
.finish-card {
  width: min(320px, 70vw); flex-shrink: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(245,240,232,0.1);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.4s, border-color 0.3s;
}
.finish-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212,160,84,0.4);
}
.finish-swatch {
  height: 200px; background: var(--finish);
  position: relative; overflow: hidden;
}
.finish-texture {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(255,255,255,0.2), transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(0,0,0,0.12), transparent 40%);
}
.ft-lime { background: linear-gradient(145deg, #F5F0E8, #E8DFD0 50%, #D4C4A8); }
.ft-oxide {
  background:
    radial-gradient(circle at 40% 30%, #E07A5A, transparent 50%),
    linear-gradient(160deg, #C45C3E, #8B3A28);
}
.ft-ochre { background: linear-gradient(145deg, #E8C078, #D4A054 40%, #A67C30); }
.ft-cobalt {
  background:
    radial-gradient(circle at 60% 40%, #6A9BC4, transparent 50%),
    linear-gradient(160deg, #3B6FA0, #1E4060);
}
.ft-verde { background: linear-gradient(145deg, #7AB89A, #5A8F7B 40%, #3D6A58); }
.ft-ink {
  background:
    radial-gradient(circle at 50% 30%, #5A5048, transparent 50%),
    linear-gradient(160deg, #2A2420, #0D0B0A);
}
.ft-copper {
  background:
    radial-gradient(circle at 40% 40%, #D4A06A, transparent 45%),
    linear-gradient(145deg, #B87333, #7A4A1A);
}
.finish-card h3 {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 400;
  color: var(--putty); padding: 1.25rem 1.25rem 0.4rem;
}
.finish-card p {
  color: rgba(245,240,232,0.6); font-size: 0.9rem;
  padding: 0 1.25rem; margin-bottom: 0.75rem;
}
.finish-code {
  display: block; padding: 0 1.25rem 1.25rem;
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ochre);
}

/* Process */
.process-pin {
  min-height: 70vh; display: flex; align-items: center; padding: 2rem 0 4rem;
}
.process-inner {
  display: grid; grid-template-columns: 80px 1fr; gap: 3rem; align-items: center;
  min-height: 420px;
}
.process-rail {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: space-between; height: 360px;
}
.process-line {
  position: absolute; top: 0; bottom: 0; width: 2px;
  background: rgba(28,25,23,0.1); border-radius: 2px;
}
.process-line span {
  display: block; width: 100%; height: 20%;
  background: linear-gradient(180deg, var(--terracotta), var(--ochre));
  border-radius: 2px; transition: height 0.4s var(--ease-out-expo);
}
.process-dot {
  position: relative; z-index: 1; width: 44px; height: 44px;
  border-radius: 50%; background: var(--white);
  border: 2px solid rgba(28,25,23,0.1);
  display: grid; place-items: center;
  font-size: 0.7rem; font-weight: 600; color: var(--mist);
  transition: all 0.35s; cursor: none;
}
.process-dot.is-active {
  background: var(--terracotta); color: var(--white);
  border-color: var(--terracotta);
  box-shadow: 0 0 0 6px rgba(196,92,62,0.15);
}
.process-panels { position: relative; min-height: 360px; }
.process-panel {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: center;
  opacity: 0; visibility: hidden; transform: translateX(20px);
  transition: opacity 0.45s, transform 0.5s var(--ease-out-expo), visibility 0.45s;
}
.process-panel.is-active {
  opacity: 1; visibility: visible; transform: translateX(0);
}
.pp-visual {
  aspect-ratio: 1; max-width: 280px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid rgba(28,25,23,0.06);
  display: grid; place-items: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.pp-core {
  font-family: var(--font-display); font-size: 1.4rem; color: var(--terracotta);
  z-index: 1;
}
.pp-grid {
  position: absolute; inset: 15%;
  background-image:
    linear-gradient(rgba(196,92,62,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,92,62,0.15) 1px, transparent 1px);
  background-size: 20% 20%;
  animation: gridPulse 3s ease-in-out infinite;
}
@keyframes gridPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.pp-boards { display: flex; gap: 8px; }
.pp-boards span {
  width: 36px; height: 80px; border-radius: 6px;
  background: linear-gradient(180deg, var(--lime), var(--sand));
  animation: boardRise 2s ease-in-out infinite;
}
.pp-boards span:nth-child(2) {
  background: linear-gradient(180deg, var(--terracotta-soft), var(--terracotta));
  animation-delay: 0.2s; height: 100px;
}
.pp-boards span:nth-child(3) {
  background: linear-gradient(180deg, var(--ochre), var(--copper));
  animation-delay: 0.4s;
}
@keyframes boardRise {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.pp-tape {
  width: 70%; height: 8px; background: var(--ochre); border-radius: 2px;
  box-shadow: 0 20px 0 var(--sand), 0 40px 0 rgba(196,92,62,0.4);
  animation: tapeSlide 2.5s ease-in-out infinite;
}
@keyframes tapeSlide {
  0%, 100% { transform: translateX(-10%); }
  50% { transform: translateX(10%); }
}
.pp-trowel-anim {
  width: 60%; height: 40%;
  background: linear-gradient(135deg, var(--lime), var(--terracotta));
  clip-path: polygon(0 60%, 70% 0, 100% 30%, 30% 100%);
  animation: trowelSwipe 2s ease-in-out infinite;
}
@keyframes trowelSwipe {
  0%, 100% { transform: translate(-10%, 10%) rotate(-5deg); }
  50% { transform: translate(10%, -10%) rotate(5deg); }
}
.pp-spark {
  width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(circle, var(--ochre), transparent 70%);
  animation: sparkGlow 2s ease-in-out infinite;
}
@keyframes sparkGlow {
  0%, 100% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 1; }
}
.pp-copy h3 {
  font-family: var(--font-display); font-size: 2rem; font-weight: 400;
  margin-bottom: 0.75rem; color: var(--ink);
}
.pp-copy p { color: var(--stone); max-width: 40ch; font-size: 1.05rem; }

/* Projects */
.projects-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.25rem;
}
.project-card {
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative; min-height: 280px;
  transition: transform 0.45s var(--ease-out-expo);
}
.project-card--wide { grid-column: span 1; }
.project-card:hover { transform: translateY(-6px); }
.project-visual { position: absolute; inset: 0; }
.project-texture { width: 100%; height: 100%; }
.pt-venetian {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(255,255,255,0.3), transparent 50%),
    linear-gradient(145deg, #E8D5C4, #C45C3E88, #D4A05466);
}
.pt-cobalt {
  background: linear-gradient(160deg, #6A9BC4, #3B6FA0 50%, #1E4060);
}
.pt-skim {
  background: linear-gradient(145deg, #F5F0E8, #E8DFD0 40%, #D4C4A8);
}
.pt-render {
  background:
    repeating-linear-gradient(90deg, transparent 0 20px, rgba(0,0,0,0.04) 20px 21px),
    linear-gradient(160deg, #A8C4B0, #5A8F7B 60%, #3D6A58);
}
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,25,23,0.75) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem; color: var(--putty);
}
.project-tag {
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ochre); font-weight: 600; margin-bottom: 0.35rem;
}
.project-overlay h3 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 400;
  margin-bottom: 0.25rem;
}
.project-overlay p { font-size: 0.9rem; opacity: 0.75; }

/* Funnel CTA */
.funnel-cta {
  position: relative; padding: clamp(4rem, 8vw, 6rem) 0;
  background: linear-gradient(145deg, var(--ink) 0%, #3D2E28 100%);
  overflow: hidden;
}
.funnel-cta::before {
  content: ''; position: absolute; width: 50vw; height: 50vw;
  top: -20%; right: -10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,92,62,0.3), transparent 70%);
  filter: blur(50px);
}
.funnel-inner { position: relative; z-index: 1; text-align: center; }
.funnel-copy { max-width: 640px; margin: 0 auto 2rem; }
.funnel-copy p { color: rgba(245,240,232,0.65); font-size: 1.05rem; }
.funnel-actions {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 2.5rem;
}
.funnel-cta .btn-ghost {
  color: var(--putty); border-color: rgba(245,240,232,0.25);
}
.funnel-cta .btn-ghost:hover {
  border-color: var(--ochre); color: var(--ochre); background: rgba(212,160,84,0.08);
}
.funnel-trust {
  display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
}
.trust-item strong {
  font-family: var(--font-display); font-size: 1.5rem; color: var(--ochre);
}
.trust-item span {
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245,240,232,0.5);
}

/* Team */
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.team-card {
  background: var(--white); border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid rgba(28,25,23,0.06); box-shadow: var(--shadow-soft);
  transform-style: preserve-3d; transition: box-shadow 0.3s;
}
.team-card:hover { box-shadow: 0 24px 50px rgba(28,25,23,0.12); }
.team-photo {
  aspect-ratio: 1; position: relative; overflow: hidden;
  background: hsl(var(--hue), 35%, 75%);
}
.team-photo-inner {
  position: absolute; inset: 10%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 35%, hsl(var(--hue), 40%, 88%), hsl(var(--hue), 30%, 60%));
  opacity: 0.9;
}
.team-badge {
  position: absolute; bottom: 0.75rem; left: 0.75rem;
  font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--ink); color: var(--putty);
  padding: 0.3rem 0.65rem; border-radius: var(--radius-pill);
}
.team-info { padding: 1.15rem; }
.team-info h3 {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 400;
  margin-bottom: 0.25rem;
}
.team-info p { font-size: 0.85rem; color: var(--stone); margin-bottom: 0.75rem; }
.team-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.team-tags span {
  font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.55rem; border-radius: var(--radius-pill);
  background: rgba(196,92,62,0.08); color: var(--terracotta);
}

/* Stories */
.stories-slider { max-width: 720px; margin: 0 auto; text-align: center; }
.stories-track { position: relative; min-height: 240px; }
.story-card {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 0.5s, transform 0.5s, visibility 0.5s;
}
.story-card.is-active {
  opacity: 1; visibility: visible; transform: translateY(0); position: relative;
}
.story-stars { color: var(--ochre); letter-spacing: 0.15em; margin-bottom: 1rem; }
.story-card p {
  font-family: var(--font-display); font-size: clamp(1.25rem, 3vw, 1.65rem);
  line-height: 1.45; color: var(--ink); margin-bottom: 1.5rem;
}
.story-card cite {
  font-style: normal; font-weight: 600; display: block; color: var(--ink);
}
.story-card footer span {
  font-size: 0.8rem; color: var(--mist);
}
.stories-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-top: 2rem;
}
.story-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(28,25,23,0.12); display: grid; place-items: center;
  color: var(--ink); transition: all 0.3s; cursor: none;
}
.story-btn:hover { background: var(--ink); color: var(--putty); }
.story-dots { display: flex; gap: 0.5rem; }
.story-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(28,25,23,0.15); cursor: none; transition: all 0.3s;
}
.story-dot.is-active {
  background: var(--terracotta); width: 24px; border-radius: 4px;
}

/* FAQ */
.faq-layout {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start;
}
.faq-item {
  border-bottom: 1px solid rgba(28,25,23,0.08);
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.25rem 0; text-align: left;
  font-size: 1.05rem; font-weight: 500; color: var(--ink); cursor: none;
}
.faq-icon {
  width: 24px; height: 24px; flex-shrink: 0; position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  background: var(--terracotta); transition: transform 0.3s;
}
.faq-icon::before {
  width: 14px; height: 1.5px; transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 1.5px; height: 14px; transform: translate(-50%, -50%);
}
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out-expo);
}
.faq-item.is-open .faq-a { max-height: 200px; }
.faq-a p {
  padding: 0 0 1.25rem; color: var(--stone); font-size: 0.95rem;
}

/* Contact */
.contact { position: relative; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; pointer-events: none; }
.contact-orb {
  position: absolute; width: 50vw; height: 50vw; bottom: -20%; right: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,92,62,0.15), transparent 70%);
  filter: blur(40px);
}
.contact-splash {
  position: absolute; width: 30vw; height: 30vw; top: 10%; left: -5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,160,84,0.12), transparent 70%);
  filter: blur(50px);
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start;
  position: relative; z-index: 1;
}
.contact-details { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 1.5rem; }
.contact-detail {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.85rem 1rem; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.6); border: 1px solid rgba(28,25,23,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
a.contact-detail:hover {
  transform: translateX(4px); box-shadow: var(--shadow-soft);
}
.detail-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(196,92,62,0.1); color: var(--terracotta);
  display: grid; place-items: center; flex-shrink: 0;
}
.detail-icon svg { width: 18px; height: 18px; }
.detail-label {
  display: block; font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--mist); font-weight: 600;
}
.detail-value { font-size: 0.95rem; color: var(--ink); font-weight: 500; }
.contact-demo-note {
  font-size: 0.8rem; color: var(--mist); margin-top: 0.5rem; font-style: italic;
}
.contact-form {
  position: relative; background: var(--white);
  border-radius: var(--radius-lg); padding: 2rem;
  border: 1px solid rgba(28,25,23,0.06); box-shadow: var(--shadow-soft);
}
.form-glow {
  position: absolute; top: -1px; left: 20%; right: 20%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--terracotta), var(--ochre), transparent);
}
.hp-field {
  position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden;
}
.form-row { margin-bottom: 1rem; }
.form-row--2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.form-group label {
  display: block; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--stone); margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.85rem 1rem;
  border: 1px solid rgba(28,25,23,0.1); border-radius: var(--radius-sm);
  background: var(--putty); color: var(--ink);
  font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(196,92,62,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-success, .form-error {
  margin-top: 1rem; padding: 0.85rem 1rem; border-radius: var(--radius-sm);
  font-size: 0.9rem; display: none;
}
.form-success {
  background: rgba(90,143,123,0.12); color: var(--verde); border: 1px solid rgba(90,143,123,0.25);
}
.form-success.is-visible { display: block; }
.form-error {
  display: block; background: rgba(196,92,62,0.1); color: var(--terracotta);
  border: 1px solid rgba(196,92,62,0.25);
}
.form-error[hidden] { display: none !important; }

/* Footer */
.site-footer {
  background: var(--ink); color: var(--putty); padding: 3.5rem 0 2rem;
}
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem;
  border-bottom: 1px solid rgba(245,240,232,0.1);
}
.footer-brand .logo-text { color: var(--putty); }
.footer-tagline {
  display: block; font-size: 0.8rem; color: rgba(245,240,232,0.45); margin-top: 0.35rem;
}
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(245,240,232,0.55); transition: color 0.3s;
}
.footer-links a:hover { color: var(--ochre); }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(245,240,232,0.15);
  display: grid; place-items: center; color: rgba(245,240,232,0.6);
  transition: all 0.3s;
}
.footer-social a:hover {
  border-color: var(--terracotta); color: var(--ochre); background: rgba(196,92,62,0.1);
}
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 1rem; padding-top: 1.5rem;
  font-size: 0.8rem; color: rgba(245,240,232,0.4);
}
.footer-agency-link {
  color: var(--ochre); font-weight: 500; transition: color 0.3s;
}
.footer-agency-link:hover { color: var(--terracotta-soft); }

/* Responsive */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-content {
    max-width: 100%;
    width: var(--container);
    margin-left: auto;
    margin-right: auto;
  }
  .hero-visual { opacity: 0.28; right: -5%; width: min(50vw, 300px); }
  .float-card--quote { display: none; }
  .float-card--pigment { top: -2%; }
  .float-card--smooth { bottom: 2%; left: 2%; }
  .about-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-sticky { position: static; }
  .services-pin-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-content: center;
    overflow-y: auto;
  }
  .services-left { text-align: center; }
  .services-left .section-title { font-size: 2rem; }
  .services-progress-labels { justify-content: center; }
  .services-stage { max-height: min(52vh, 480px); }
  .service-panel { padding: 1.5rem 1.35rem; }
  .transform-pin-inner { grid-template-columns: 1fr; gap: 2rem; }
  .process-inner { grid-template-columns: 1fr; gap: 2rem; }
  .process-rail {
    flex-direction: row; height: auto; width: 100%;
  }
  .process-line {
    top: 50%; left: 0; right: 0; bottom: auto; width: auto; height: 2px;
  }
  .process-line span { height: 100%; width: 20%; transition: width 0.4s var(--ease-out-expo); }
  .process-panels { min-height: 400px; }
  .process-panel { grid-template-columns: 1fr; text-align: center; }
  .pp-visual { margin: 0 auto; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .float-card { display: none !important; }
  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 1.25rem) 0 6.5rem;
    align-items: flex-start;
  }
  .hero-content {
    max-width: 100%;
    width: var(--container);
    margin-left: auto;
    margin-right: auto;
  }
  .hero-visual { opacity: 0.18; width: min(70vw, 260px); right: -8%; top: 42%; }
  .hero-subtitle { font-size: 0.98rem; }
  .hero-stats {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.15rem;
    width: fit-content;
    max-width: 100%;
    align-items: start;
    margin-bottom: 0.25rem;
  }
  .stat { min-width: 0; padding-inline: 0.1rem; }
  .stat-number { font-size: 1.45rem; }
  .stat-suffix { font-size: 0.95rem; }
  .stat-label { font-size: 0.56rem; letter-spacing: 0.04em; }
  .stat-divider { height: 24px; margin: 0; }
  .hero-scroll {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 1.75rem;
    margin-top: 0;
  }
  .hero-title { font-size: clamp(2.75rem, 11vw, 3.4rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .form-row--2 { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
  .service-panel h3 { font-size: 1.5rem; }
  .nav-cta span { display: none; }
  .nav-cta { padding: 0.7rem; }
  #gcw-chat-bubble.show-text,
  #gcw-chat-bubble:hover {
    width: 62px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    justify-content: center !important;
  }
  #gcw-chat-bubble.show-text .gcw-bubble-text,
  #gcw-chat-bubble:hover .gcw-bubble-text {
    max-width: 0 !important;
    margin-left: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #splash-canvas { display: none; }
}

/* ============================================
   Cookie notice — minimal bar (CALX palette)
   ============================================ */

.cookie-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  pointer-events: none;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.cookie-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-notice__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  width: 100%;
  padding: 0.75rem max(1rem, 4vw);
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(212, 160, 84, 0.22);
  background: rgba(28, 25, 23, 0.96);
  font-family: var(--font-body);
  backdrop-filter: blur(10px);
}

.cookie-notice__text {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(245, 240, 232, 0.72);
  text-align: center;
  max-width: 52ch;
}

.cookie-notice__text a {
  color: var(--ochre);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.cookie-notice__text a:hover {
  color: var(--putty);
}

/* Always show a system pointer on the banner (custom cursor also sits above at z 10060) */
.cookie-notice,
.cookie-notice * {
  cursor: pointer !important;
}

.cookie-notice a {
  cursor: pointer !important;
}

.cookie-notice__btn {
  appearance: none;
  flex-shrink: 0;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.48rem 1.05rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--terracotta);
  cursor: pointer !important;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(196, 92, 62, 0.28);
}

.cookie-notice__btn:hover {
  background: var(--terracotta-soft);
}

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

.footer-cookie-btn {
  appearance: none;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.4);
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
  cursor: pointer !important;
}

.footer-cookie-btn:hover {
  color: var(--ochre);
}

@media (max-width: 640px) {
  .cookie-notice__inner {
    /* Clear the chat bubble on mobile */
    padding-bottom: max(5rem, calc(env(safe-area-inset-bottom) + 4.25rem));
  }
}
