/* =========================================================
   A&A Waterproofing and Cleaning Service
   Editorial / minimal design system
   ========================================================= */

:root {
  /* Color */
  --bg: #F2F1ED;
  --ink: #0E0E0E;
  --grey: #8A8A85;
  --stone: #E3E1DA;
  --accent: #2F45FF;
  --line: rgba(14, 14, 14, 0.14);
  --line-strong: rgba(14, 14, 14, 0.28);
  --on-ink: #F2F1ED;
  --on-ink-muted: rgba(242, 241, 237, 0.55);
  --line-on-ink: rgba(242, 241, 237, 0.16);
  --error: #D93025;

  /* Type */
  --font-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --fs-hero: clamp(3.5rem, 11vw, 9rem);
  --fs-h2: clamp(2.4rem, 6vw, 5.5rem);
  --fs-h3: clamp(1.25rem, 1.8vw, 1.6rem);
  --fs-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --fs-label: 0.75rem;
  --tracking-tight: -0.04em;

  /* Space */
  --gutter: clamp(16px, 2vw, 28px);
  --pad-x: clamp(20px, 4vw, 56px);
  --section-y: clamp(96px, 13vw, 200px);
  --header-h: 72px;
  --max: 1600px;
  --radius: 4px;

  /* Motion */
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-loading, body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: 0; border-radius: 0; }
button { cursor: pointer; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

section[id] { scroll-margin-top: var(--header-h); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.section { padding: var(--section-y) 0; border-top: 1px solid var(--line); }
.section.alt { background: var(--stone); }

/* ---------- Type ---------- */
.mono { font-family: var(--font-mono); font-weight: 400; letter-spacing: 0; }
.label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--grey);
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: var(--tracking-tight); line-height: 0.95; }
.section-title { font-size: var(--fs-h2); }
.section-note { color: var(--grey); max-width: 38ch; }

.section-head { row-gap: 28px; margin-bottom: clamp(56px, 8vw, 120px); align-items: start; }
.section-head .label { grid-column: 1 / 4; padding-top: 0.6em; }
.section-head .section-title { grid-column: 4 / 13; }
.section-head .section-note { grid-column: 4 / 9; }

/* split-text helpers */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
  border-radius: 100px;
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease), background-color 0.5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.6s var(--ease);
  z-index: -1;
}
.btn:hover::before { transform: translateY(0); }
.btn .arrow { display: inline-block; transition: transform 0.5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 0.875rem; }
.btn-lg { height: 60px; padding: 0 34px; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary::before { background: var(--ink); }

.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: var(--bg); border-color: var(--ink); }

.magnetic { will-change: transform; }

/* =========================================================
   PRELOADER
   ========================================================= */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  color: var(--on-ink);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--pad-x);
}
.preloader-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.preloader-logo { font-family: var(--font-display); font-weight: 600; letter-spacing: var(--tracking-tight); font-size: clamp(3rem, 12vw, 10rem); line-height: 0.85; }
.preloader-count { font-size: clamp(1rem, 2vw, 1.5rem); color: var(--on-ink-muted); }
.preloader-bar { margin-top: 24px; height: 1px; background: var(--line-on-ink); }
.preloader-bar span { display: block; height: 100%; width: 0; background: var(--on-ink); }

/* =========================================================
   CURSOR
   ========================================================= */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 9000;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
  display: none;
  align-items: center; justify-content: center;
  transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), background-color 0.3s ease, opacity 0.3s ease;
}
.has-cursor .cursor { display: flex; }
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(47, 69, 255, 0.14); }
.cursor.is-view { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--accent); }
.cursor.is-hidden { opacity: 0; }
.cursor-label {
  font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em;
  color: #fff; opacity: 0; transition: opacity 0.3s ease;
}
.cursor.is-view .cursor-label { opacity: 1; }
.on-dark .cursor:not(.is-view):not(.is-link) { background: var(--on-ink); }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--header-h);
  background: rgba(242, 241, 237, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: transform 0.6s var(--ease);
}
.header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.logo-mark { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: var(--tracking-tight); line-height: 1; }
.logo-name {
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.nav ul { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav-link {
  position: relative;
  font-size: 0.9rem;
  color: var(--grey);
  transition: color 0.3s ease;
  padding: 6px 0;
}
.nav-link::after {
  content: "";
  position: absolute; left: 50%; bottom: -2px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%) scale(0);
  transition: transform 0.4s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link.is-active { color: var(--ink); }
.nav-link.is-active::after { transform: translateX(-50%) scale(1); }
.header-cta { justify-self: end; }

.menu-toggle { display: none; justify-self: end; align-items: center; gap: 12px; height: 42px; font-size: 0.8rem; text-transform: uppercase; z-index: 2; }
.menu-lines { position: relative; width: 24px; height: 10px; }
.menu-lines i { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.menu-lines i:first-child { top: 0; }
.menu-lines i:last-child { top: 8px; }
.menu-open .menu-lines i:first-child { top: 4px; transform: rotate(45deg); }
.menu-open .menu-lines i:last-child { top: 4px; transform: rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 400;
  background: var(--bg);
  padding-top: var(--header-h);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease-io);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu-inner { height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: 32px; padding-bottom: 40px; }
.mobile-menu li { overflow: hidden; border-bottom: 1px solid var(--line); }
.mobile-menu li a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 12px 0;
  font-family: var(--font-display); font-weight: 600; letter-spacing: var(--tracking-tight);
  font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1;
  transform: translateY(105%);
  transition: transform 0.8s var(--ease);
}
.mobile-menu li a .mono { font-size: 0.75rem; color: var(--grey); letter-spacing: 0; font-weight: 400; }
.menu-open .mobile-menu li a { transform: translateY(0); }
.menu-open .mobile-menu li:nth-child(1) a { transition-delay: 0.20s; }
.menu-open .mobile-menu li:nth-child(2) a { transition-delay: 0.25s; }
.menu-open .mobile-menu li:nth-child(3) a { transition-delay: 0.30s; }
.menu-open .mobile-menu li:nth-child(4) a { transition-delay: 0.35s; }
.menu-open .mobile-menu li:nth-child(5) a { transition-delay: 0.40s; }
.menu-open .mobile-menu li:nth-child(6) a { transition-delay: 0.45s; }
.menu-open .mobile-menu li:nth-child(7) a { transition-delay: 0.50s; }
.mobile-menu-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; opacity: 0; transition: opacity 0.5s ease 0.5s; }
.menu-open .mobile-menu-foot { opacity: 1; }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding-top: calc(var(--header-h) + clamp(48px, 8vw, 120px)); }
.hero-top { row-gap: 24px; }
.hero-label { grid-column: 1 / -1; }
.hero-title { grid-column: 1 / -1; font-size: var(--fs-hero); line-height: 0.9; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero-title .word { display: inline-block; will-change: transform; }
.hero-title em { font-style: normal; color: var(--accent); }

.hero-bottom { margin-top: clamp(40px, 5vw, 72px); align-items: end; row-gap: 28px; }
.hero-sub { grid-column: 1 / 6; color: var(--ink); max-width: 40ch; }
.hero-actions { grid-column: 8 / 13; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }

.hero-media {
  position: relative;
  margin-top: clamp(48px, 6vw, 96px);
  height: clamp(420px, 82vh, 900px);
  overflow: hidden;
}
.hero-media-inner { position: absolute; inset: -12% 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2) contrast(1.02); }
.scroll-cue {
  position: absolute; right: var(--pad-x); bottom: 28px;
  display: flex; align-items: center; gap: 12px;
  font-size: 0.72rem; text-transform: uppercase;
  color: #fff;
  mix-blend-mode: difference;
}
.scroll-cue-line { width: 1px; height: 44px; background: rgba(255, 255, 255, 0.35); position: relative; overflow: hidden; }
.scroll-cue-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff; animation: cue 2s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 500; letter-spacing: -0.02em; padding-right: 0.3em; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-33.333%); } }

/* =========================================================
   INTRO
   ========================================================= */
.intro { border-top: 0; }
.intro .label { grid-column: 1 / 4; padding-top: 0.9em; }
.intro-text {
  grid-column: 4 / 13;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.9rem, 4.4vw, 4.2rem);
  line-height: 1.08; letter-spacing: -0.035em;
}
.intro-text .iw { color: #C4C3BD; }
.no-js .intro-text .iw { color: var(--ink); }

/* =========================================================
   SERVICES
   ========================================================= */
.svc-list { border-top: 1px solid var(--line-strong); }
.svc-row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
  align-items: center;
  padding: clamp(28px, 3.4vw, 48px) 0;
  border-bottom: 1px solid var(--line-strong);
  position: relative;
}
.svc-num { grid-column: 1 / 2; font-size: 0.85rem; color: var(--grey); }
.svc-main { grid-column: 2 / 8; transition: transform 0.7s var(--ease); }
.svc-img {
  grid-column: 8 / 11;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background: #D6D4CC;
}
.svc-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3); transition: transform 1s var(--ease), filter 0.6s ease; }
.svc-row:hover .svc-img img { transform: scale(1.06); filter: grayscale(0); }
.svc-title { font-size: clamp(2rem, 5.2vw, 4.8rem); transition: color 0.4s ease; }
.svc-desc { margin-top: 12px; color: var(--grey); max-width: 52ch; }
.svc-link { grid-column: 11 / 13; justify-self: end; font-size: 0.8rem; text-transform: uppercase; display: inline-flex; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--ink); transition: color 0.3s ease, border-color 0.3s ease; }
.svc-link .arrow { transition: transform 0.4s var(--ease); }
.svc-link:hover { color: var(--accent); border-color: var(--accent); }
.svc-link:hover .arrow { transform: translateX(4px); }
.svc-row:hover .svc-main { transform: translateX(clamp(12px, 2vw, 32px)); }
.svc-list:hover .svc-row:not(:hover) .svc-title { color: #B9B8B2; }


/* =========================================================
   CONCRETE
   ========================================================= */
/* All five cards: identical width and image size */
.cc-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(40px, 4vw, 56px) var(--gutter); }
.cc-img { overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 4; background: #D6D4CC; }
.cc-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25); transition: transform 1.2s var(--ease), filter 0.8s ease; }
.cc-card:hover .cc-img img { transform: scale(1.06); filter: grayscale(0); }
.cc-body { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; padding-top: 18px; }
.cc-num { font-size: 0.8rem; color: var(--grey); grid-row: 1 / 3; padding-top: 4px; }
.cc-body h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.025em; }
.cc-body p { color: var(--grey); margin-top: 6px; font-size: 0.95rem; }

/* =========================================================
   PROCESS
   ========================================================= */
.process-inner { align-items: start; }
.process-head { grid-column: 1 / 6; }
.process-head .label { margin-bottom: 28px; }
.process-progress { margin-top: 48px; width: 100%; max-width: 320px; height: 1px; background: var(--line-strong); }
.process-progress span { display: block; height: 100%; width: 0; background: var(--accent); }
.process-steps { grid-column: 7 / 13; border-top: 1px solid var(--line-strong); }
.step { display: grid; grid-template-columns: 64px 1fr; gap: var(--gutter); padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line-strong); }
/* desktop pinned layout: fit the whole process in one viewport */
.process-pinned .process { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-h) + 32px) 0 40px; }
.process-pinned .process .container { width: 100%; }
.process-pinned .step { padding: 24px 0; }
.step-num { font-size: 0.85rem; color: var(--accent); padding-top: 8px; }
.step h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); margin-bottom: 10px; }
.step p { color: var(--grey); max-width: 46ch; }

/* =========================================================
   PROJECTS (horizontal)
   ========================================================= */
.projects { border-top: 1px solid var(--line); background: var(--bg); overflow: hidden; }
.projects-pin { height: 100vh; display: flex; align-items: center; }
.projects-track {
  display: flex; align-items: center;
  gap: clamp(24px, 3vw, 48px);
  padding: 0 var(--pad-x);
  padding-top: var(--header-h);
  will-change: transform;
}
.proj-intro { flex: 0 0 clamp(280px, 28vw, 440px); align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.proj-intro .section-title { font-size: clamp(3rem, 7vw, 7rem); }
.drag-hint { display: block; margin-top: 16px; color: var(--ink); font-size: 0.8rem; text-transform: uppercase; }

/* Every project (and the before/after) uses the same frame size */
.proj { flex: 0 0 auto; width: clamp(300px, 34vw, 560px); align-self: flex-start; }
.proj-img { overflow: hidden; border-radius: var(--radius); height: clamp(300px, 58vh, 600px); background: #D6D4CC; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25); transform: scale(1.08); transition: transform 1.2s var(--ease), filter 0.8s ease; }
.proj:hover .proj-img img { transform: scale(1); filter: grayscale(0); }
.proj figcaption, .proj-ba-cap { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; }
.proj figcaption .mono, .proj-ba-cap .mono { font-size: 0.72rem; text-transform: uppercase; color: var(--grey); }
.proj figcaption strong, .proj-ba-cap strong { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; font-size: var(--fs-h3); }
.proj-ba-cap p { color: var(--grey); font-size: 0.9rem; }

/* Before / After */
.ba {
  --pos: 50%;
  position: relative;
  height: clamp(300px, 58vh, 600px);
  overflow: hidden;
  border-radius: var(--radius);
  cursor: ew-resize;
  user-select: none; -webkit-user-select: none;
  touch-action: pan-y;
  background: #D6D4CC;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before .ba-img { filter: grayscale(0.4); }
.ba-tag { position: absolute; top: 16px; padding: 6px 10px; font-size: 0.7rem; text-transform: uppercase; background: var(--bg); color: var(--ink); border-radius: 2px; pointer-events: none; }
.ba-tag-l { left: 16px; }
.ba-tag-r { right: 16px; background: var(--accent); color: #fff; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: #fff; transform: translateX(-50%); }
.ba-knob {
  position: absolute; top: 50%; left: 50%;
  width: 52px; height: 52px; border-radius: 50%;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  background: var(--bg); color: var(--ink);
  font-size: 0.85rem;
  transition: transform 0.4s var(--ease), background-color 0.3s ease, color 0.3s ease;
}
.ba:hover .ba-knob, .ba.is-dragging .ba-knob { transform: translate(-50%, -50%) scale(1.1); background: var(--accent); color: #fff; }

/* =========================================================
   STATS
   ========================================================= */
.stats-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.stat { padding: clamp(28px, 3vw, 44px) var(--gutter) 0 0; display: flex; flex-direction: column; gap: 10px; }
.stat + .stat { border-left: 1px solid var(--line-strong); padding-left: var(--gutter); }
.stat-num { font-size: clamp(3rem, 7vw, 6.5rem); line-height: 1; letter-spacing: -0.05em; font-weight: 500; }
.stat-label { color: var(--grey); }

/* =========================================================
   ABOUT
   ========================================================= */
.about .grid { align-items: center; row-gap: 48px; }
.about-media { grid-column: 1 / 7; position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: #D6D4CC; }
.about-media > div { position: absolute; inset: -10% 0; }
.about-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3); }
.about-text { grid-column: 8 / 13; }
.about-text .label { margin-bottom: 28px; }
.about-text .section-title { font-size: clamp(2.2rem, 4.4vw, 4.2rem); }
.about-lead { margin: 32px 0 40px; color: var(--ink); max-width: 46ch; }
.about-points { border-top: 1px solid var(--line-strong); }
.about-points li { display: flex; gap: 24px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line-strong); font-weight: 500; }
.about-points .mono { font-size: 0.78rem; color: var(--accent); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.t-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(40px, 5vw, 72px); }
.t-count { font-size: 0.85rem; }
.t-slides { display: grid; }
.t-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0.6s; }
.t-slide.is-active { opacity: 1; visibility: visible; }
.t-slide p {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.8rem, 4.6vw, 4.4rem);
  line-height: 1.06; letter-spacing: -0.035em;
  max-width: 22ch;
}
.t-slide footer { margin-top: clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.t-stars { color: var(--accent); letter-spacing: 3px; font-size: 0.95rem; }
.t-slide cite { font-style: normal; font-weight: 500; }
.t-slide footer .mono { font-size: 0.78rem; color: var(--grey); text-transform: uppercase; }
.t-controls { margin-top: clamp(48px, 6vw, 80px); display: flex; align-items: center; gap: 32px; }
.t-progress { flex: 1; height: 1px; background: var(--line-strong); position: relative; overflow: hidden; }
.t-progress span { position: absolute; left: 0; top: 0; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.t-arrows { display: flex; gap: 10px; }
.t-arrow {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 1.1rem;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.t-arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-head { grid-column: 1 / 5; }
.faq-head .label { margin-bottom: 28px; }
.accordion { grid-column: 5 / 13; border-top: 1px solid var(--line-strong); }
.acc-item { border-bottom: 1px solid var(--line-strong); }
.acc-btn {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: clamp(22px, 2.4vw, 32px) 0;
  text-align: left;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.15rem, 1.8vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.25;
  transition: color 0.3s ease;
}
.acc-btn:hover { color: var(--accent); }
.acc-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 100%; height: 1.5px; background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.5s var(--ease);
}
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.is-open .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { color: var(--grey); max-width: 62ch; padding-bottom: 28px; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact .grid { row-gap: 56px; }
.contact-left { grid-column: 1 / 7; }
.contact-left .label { margin-bottom: 28px; }
.contact-title { font-size: clamp(3rem, 7.4vw, 7.6rem); line-height: 0.92; }
.contact-details { margin-top: clamp(40px, 5vw, 72px); display: grid; gap: 22px; }
.contact-details li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; align-items: baseline; }
.contact-details .mono { font-size: 0.75rem; text-transform: uppercase; color: var(--grey); }
.contact-details a { font-size: clamp(1rem, 1.3vw, 1.2rem); background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: background-size 0.5s var(--ease), color 0.3s ease; }
.contact-details a:hover { color: var(--accent); background-size: 100% 1px; }

.contact-form { grid-column: 8 / 13; align-self: end; display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.field { position: relative; padding-top: 18px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-strong);
  font-size: 1.05rem;
  transition: border-color 0.3s ease;
  outline: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field label {
  position: absolute; left: 0; top: 30px;
  color: var(--grey);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.4s var(--ease), color 0.3s ease;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-22px) scale(0.78);
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field-select select {
  appearance: none; -webkit-appearance: none;
  cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%230E0E0E' stroke-width='1.4' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 4px center;
  padding-right: 28px;
}
.field.has-error input, .field.has-error select { border-color: var(--error); }
.field-error { display: block; min-height: 1.2em; margin-top: 6px; font-size: 0.78rem; color: var(--error); }
.contact-form .btn { justify-self: start; margin-top: 24px; }
.form-success { min-height: 1.6em; margin-top: 12px; color: var(--accent); font-weight: 500; }

.map { margin-top: clamp(72px, 8vw, 128px); overflow: hidden; border-radius: var(--radius); line-height: 0; background: #D6D4CC; }
.map iframe { display: block; filter: grayscale(1) contrast(1.05); transition: filter 0.8s ease; }
.map:hover iframe { filter: grayscale(0); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: var(--on-ink); padding-top: clamp(80px, 10vw, 140px); overflow: hidden; }
.footer .label { color: var(--on-ink-muted); }
.footer-top { row-gap: 56px; padding-bottom: clamp(56px, 7vw, 96px); }
.footer-cta { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 20px; padding-bottom: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line-on-ink); }
.footer-big-link {
  font-family: var(--font-display); font-weight: 600; letter-spacing: var(--tracking-tight);
  font-size: clamp(2.4rem, 6vw, 5.6rem); line-height: 1;
  transition: color 0.4s ease;
}
.footer-big-link .arrow { display: inline-block; transition: transform 0.6s var(--ease); }
.footer-big-link:hover { color: var(--accent); }
.footer-big-link:hover .arrow { transform: translateX(12px); }
.footer-col { grid-column: span 3; }
.footer-col h4 { font-size: 0.72rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.04em; color: var(--on-ink-muted); margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 10px; font-size: 0.95rem; }
.footer-col a { transition: color 0.3s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-addr { display: flex; gap: 10px; align-items: baseline; }
.footer-addr i { color: var(--accent); }
.socials { display: flex; gap: 8px; margin-top: 24px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-on-ink); border-radius: 50%; font-size: 0.85rem; transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.footer-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid var(--line-on-ink); font-size: 0.75rem; color: var(--on-ink-muted); text-transform: uppercase; }
.to-top { font-size: 0.75rem; text-transform: uppercase; color: var(--on-ink); transition: color 0.3s ease; }
.to-top:hover { color: var(--accent); }

.wordmark {
  font-family: var(--font-display); font-weight: 600;
  font-size: 37vw; line-height: 0.75;
  letter-spacing: -0.06em;
  text-align: center;
  white-space: nowrap;
  margin-top: 2vw;
  margin-bottom: -4.5vw;
  color: var(--on-ink);
}

/* Mobile floating contact */
.mobile-cta { display: none; }

/* =========================================================
   RESPONSIVE — 1200
   ========================================================= */
@media (max-width: 1200px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .nav ul { justify-content: center; gap: 20px; }
  .hero-sub { grid-column: 1 / 7; }
  .hero-actions { grid-column: 7 / 13; }
  .svc-title { font-size: clamp(2rem, 4.4vw, 4rem); }
}

/* =========================================================
   RESPONSIVE — 1024
   ========================================================= */
@media (max-width: 1024px) {
  .nav, .header-cta { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-toggle { display: inline-flex; }

  .section-head .label { grid-column: 1 / -1; }
  .section-head .section-title { grid-column: 1 / -1; }
  .section-head .section-note { grid-column: 1 / 9; }
  .intro .label { grid-column: 1 / -1; margin-bottom: 24px; }
  .intro-text { grid-column: 1 / -1; }

  .cc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .process-head { grid-column: 1 / -1; margin-bottom: 48px; }
  .process-steps { grid-column: 1 / -1; }

  .about-media { grid-column: 1 / 7; }
  .about-text { grid-column: 7 / 13; }
  .faq-head { grid-column: 1 / -1; margin-bottom: 40px; }
  .accordion { grid-column: 1 / -1; }
  .contact-left { grid-column: 1 / -1; }
  .contact-form { grid-column: 1 / -1; }
  .footer-col { grid-column: span 6; }
}

/* =========================================================
   RESPONSIVE — 768
   ========================================================= */
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  body { padding-bottom: 64px; }

  .hero-sub, .hero-actions { grid-column: 1 / -1; }
  .hero-actions { justify-content: flex-start; }
  .hero-media { height: 70vh; }

  .svc-row { row-gap: 18px; }
  .svc-img { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 9; }
  .svc-num { grid-column: 1 / -1; }
  .svc-main { grid-column: 1 / -1; }
  .svc-link { grid-column: 1 / -1; justify-self: start; }

  .cc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Projects: native horizontal scroll on small screens */
  .projects-pin { height: auto; display: block; padding: var(--section-y) 0 calc(var(--section-y) * 0.7); }
  .projects-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-top: 0; flex-wrap: nowrap; align-items: flex-start; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .projects-track::-webkit-scrollbar { display: none; }
  .projects-track { scroll-padding-left: var(--pad-x); }
  .proj-intro { flex-basis: 78vw; align-self: auto; scroll-snap-align: start; }
  .menu-open .mobile-cta { display: none; }
  .proj, .proj-tall, .proj-ba { width: 80vw; scroll-snap-align: start; }
  .proj-img, .proj-tall .proj-img, .ba { height: 58vh; max-height: 520px; }
  .proj-img img { transform: none; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-strong); margin-top: 28px; }

  .about-media, .about-text { grid-column: 1 / -1; }
  .about-media { aspect-ratio: 4 / 3; }

  .field-row { grid-template-columns: 1fr; gap: 8px; }
  .map iframe { height: 300px; }

  .t-controls { gap: 20px; }

  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 450;
    display: grid; grid-template-columns: repeat(3, 1fr);
    height: 64px;
    background: var(--ink);
    border-top: 1px solid var(--line-on-ink);
  }
  .mobile-cta a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    color: var(--on-ink); font-size: 0.9rem; font-weight: 500;
  }
  .mobile-cta a + a { border-left: 1px solid var(--line-on-ink); }
  .mobile-cta a:last-child { background: var(--accent); color: #fff; }
}

/* =========================================================
   RESPONSIVE — 480
   ========================================================= */
@media (max-width: 480px) {
  .hero-title { font-size: clamp(3rem, 15vw, 4.2rem); }
  .hero-actions .btn { width: 100%; }
  .hero-media { height: 60vh; margin-top: 40px; }
  .cc-grid { grid-template-columns: 1fr; }
  .cc-img { aspect-ratio: 4 / 3; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-strong); margin-top: 28px; }
  .contact-details li { grid-template-columns: 1fr; gap: 4px; }
  .footer-col { grid-column: 1 / -1; }
  .t-arrow { width: 48px; height: 48px; }
  .proj, .proj-tall, .proj-ba { width: 86vw; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; }
  .intro-text .iw { color: var(--ink); }
  .projects-pin { height: auto; display: block; padding: var(--section-y) 0; }
  .projects-track { overflow-x: auto; padding-top: 0; }
}

/* Footer brand (full business name) */
.footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 12px; align-items: end; }
.footer-brand-name {
  grid-column: 1 / 8;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  letter-spacing: -0.03em; line-height: 1.05;
}
.footer-brand-desc { grid-column: 9 / 13; color: var(--on-ink-muted); font-size: 0.95rem; }
@media (max-width: 768px) {
  .footer-brand-name, .footer-brand-desc { grid-column: 1 / -1; }
}
