/* Criko Peinture
   Black and white system with teal accents. Pink is reserved for the dino. */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #0b0b0c;
  --text: #0b0b0c;
  --muted: #565b61;
  --faint: #6f747a;
  --line: rgba(11, 11, 12, 0.09);
  --line-strong: rgba(11, 11, 12, 0.16);
  --surface-2: #f4f5f6;
  --teal: #0b8576;
  --teal-bright: #3ddcc6;
  --teal-soft: rgba(11, 133, 118, 0.1);
  --on-dark-muted: rgba(255, 255, 255, 0.72);
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 24px 60px -28px rgba(11, 11, 12, 0.28);
  --shadow-sm: 0 10px 30px -18px rgba(11, 11, 12, 0.3);
  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Animated solid background: a slow drift between white tones */
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  animation: bg-drift 24s ease-in-out infinite;
}
@keyframes bg-drift {
  0%, 100% { background-color: #ffffff; }
  33% { background-color: #eef7f5; }
  66% { background-color: #f5f5f6; }
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}
.skip-link:focus { top: 16px; }

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

/* ---------- Typography helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.accent { color: var(--teal); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }

.display { font-size: clamp(44px, 7.4vw, 96px); }
.h2 { font-size: clamp(34px, 4.6vw, 58px); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg.i-arrow { transform: translateX(3px); }
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 30px -14px rgba(11, 11, 12, 0.7);
}
.btn-primary svg { color: var(--teal-bright); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 18px 36px -14px rgba(11, 133, 118, 0.55); }
.btn-teal {
  background: var(--teal-bright);
  color: #052420;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 10px 30px -12px rgba(61, 220, 198, 0.6);
}
.btn-teal:hover { transform: translateY(-2px); background: #5ae6d3; }
.btn-glass {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--line-strong);
  color: var(--ink);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}
.btn-glass svg { color: var(--teal); }
.btn-glass:hover { background: #fff; border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}
.btn-ghost-light svg { color: var(--teal-bright); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: 14.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex;
  flex: none;
  white-space: nowrap;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 2px solid var(--teal-bright);
  padding-bottom: 2px;
}
.link-arrow svg { width: 16px; height: 16px; color: var(--teal); transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Glass surfaces ---------- */

.glass {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
          backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 #fff, var(--shadow);
}
.glass-dark {
  position: relative;
  background: linear-gradient(160deg, #1a1b1e, #0b0b0c);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 70px -30px rgba(11, 11, 12, 0.6);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  margin-top: 14px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  -webkit-backdrop-filter: blur(20px) saturate(150%);
          backdrop-filter: blur(20px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 40px -18px rgba(11, 11, 12, 0.6);
}
.brand { flex: none; display: flex; align-items: center; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--on-dark-muted);
  transition: color 0.2s, background-color 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.12); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fff;
  transition: background-color 0.2s;
}
.lang:hover { background: rgba(255, 255, 255, 0.1); }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  color: #fff;
}
.nav-phone svg { width: 16px; height: 16px; color: var(--teal-bright); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .i-x { display: none; }
.menu-open .menu-toggle .i-x { display: block; }
.menu-open .menu-toggle .i-menu { display: none; }

.mobile-menu {
  display: none;
  margin-top: 10px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(11, 11, 12, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: var(--shadow);
}
.mobile-menu a.m-link {
  display: block;
  padding: 13px 14px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
}
.mobile-menu a.m-link[aria-current="page"] { background: rgba(255, 255, 255, 0.1); }
.mobile-menu .btn-row { margin-top: 10px; }
.mobile-menu .btn { flex: 1 1 100%; }
.menu-open .mobile-menu { display: block; }

@media (max-width: 1080px) {
  .nav-phone span { display: none; }
}
@media (max-width: 960px) {
  .nav-links, .nav-phone, .nav-actions .btn-teal { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav { justify-content: space-between; padding-left: 14px; }
  .brand img { height: 34px; }
}

/* ---------- Sections ---------- */

main { display: block; }
.section { padding-block: clamp(72px, 10vw, 130px); position: relative; }
.section-tight { padding-block: clamp(48px, 7vw, 90px); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head .lead { margin: 18px 0 0; }
@media (max-width: 760px) {
  .section-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Hero (home) ---------- */

.hero { padding-top: clamp(64px, 9vw, 120px); text-align: center; }
.hero .display { max-width: 15ch; margin-inline: auto; }
.hero .lead { margin: 28px auto 34px; text-align: center; }
.hero .btn-row { justify-content: center; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 26px;
  font-size: 14.5px;
  color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--teal); }

/* Showcase: the brag video in a floating frame */
.showcase {
  position: relative;
  max-width: 980px;
  margin: clamp(56px, 8vw, 90px) auto 0;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: 0 50px 100px -40px rgba(11, 11, 12, 0.55), 0 0 0 1px var(--line-strong), 0 0 0 8px rgba(255, 255, 255, 0.8);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
}
.vbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  min-width: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(11, 11, 12, 0.55);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}
.vbtn:hover { background: rgba(11, 11, 12, 0.85); }
.vbtn svg { width: 16px; height: 16px; flex: none; }
.vbtn .state-b { display: none; }
.vbtn[aria-pressed="true"] .state-a { display: none; }
.vbtn[aria-pressed="true"] .state-b { display: inline-flex; }
.vbtn .state-a { display: inline-flex; }
.vbtn .state-a, .vbtn .state-b { align-items: center; gap: 8px; }
@media (max-width: 760px) {
  .video-controls { right: 10px; bottom: 10px; gap: 6px; }
  .vbtn { min-height: 36px; min-width: 36px; padding: 0; }
  .vbtn .txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}
.vbtn.icon-only { padding: 0; }

.float-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px -18px rgba(11, 11, 12, 0.35);
  text-align: left;
  animation: bob 6s ease-in-out infinite;
}
.float-chip strong { display: block; font-size: 14.5px; line-height: 1.25; }
.float-chip small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.chip-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--teal-bright);
}
.chip-icon svg { width: 19px; height: 19px; }
.fc-1 { left: -7%; top: 9%; }
.fc-2 { right: -6%; top: 4%; animation-delay: -2s; }
.fc-3 { left: -4%; bottom: 14%; animation-delay: -4s; }
.fc-4 { right: -5%; bottom: 26%; animation-delay: -1s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 1140px) {
  .fc-1 { left: -2%; } .fc-2 { right: -2%; } .fc-3 { left: -2%; } .fc-4 { right: -2%; }
}
@media (max-width: 860px) {
  .showcase { display: grid; gap: 10px; }
  .float-chip { position: static; animation: none; padding: 10px; gap: 10px; }
  .showcase .chips-mobile { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .chip-icon { width: 34px; height: 34px; }
  .video-frame { box-shadow: 0 30px 60px -30px rgba(11, 11, 12, 0.55); }
}
@media (min-width: 861px) { .showcase .chips-mobile { display: contents; } }

/* ---------- Statement (scroll highlighted words) ---------- */

.statement p {
  max-width: 24ch;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.statement .w { color: rgba(11, 11, 12, 0.14); transition: color 0.3s; }
.statement .w.on { color: var(--ink); }
.statement .w.on.hl { color: var(--teal); }

/* ---------- Service cards (bento) ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.bento .card { min-height: 0; aspect-ratio: 16 / 10; }
@media (max-width: 700px) {
  .bento { grid-template-columns: 1fr; }
  .bento .card { aspect-ratio: 4 / 3; }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 250px;
  padding: 14px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  isolation: isolate;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .art { position: absolute; inset: 0; z-index: -1; transition: transform 0.8s var(--ease); }
.card:hover .art { transform: scale(1.04); }
.card-caption {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 16px 16px 20px;
  border-radius: 18px;
  background: rgba(11, 11, 12, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  -webkit-backdrop-filter: blur(18px) saturate(140%);
          backdrop-filter: blur(18px) saturate(140%);
}
.card-caption h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; }
.card-caption p { margin: 4px 0 0; font-size: 14.5px; color: rgba(255, 255, 255, 0.82); line-height: 1.45; }
.card-caption .go {
  flex: none;
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal-bright);
  color: #052420;
  transition: transform 0.3s var(--ease);
}
.card:hover .go { transform: rotate(-45deg); }
.card-caption .go svg { width: 18px; height: 18px; }

/* Photos fill their card; a soft fade keeps captions readable */
.art { background-size: cover; background-position: center; overflow: hidden; }
.art > img { display: block; width: 100%; height: 100%; object-fit: cover; }
picture.art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 12, 0) 45%, rgba(11, 11, 12, 0.5) 100%); }

/* Painted panels, kept for cards without a photo */
.art-interior {
  background:
    radial-gradient(70% 60% at 75% 15%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(90deg, transparent 0 58%, rgba(255, 255, 255, 0.06) 58% 58.6%, transparent 58.6%),
    linear-gradient(160deg, #3a3d42 0%, #1a1b1e 45%, #0b0b0c 100%);
}
.art-exterior {
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0 3px, transparent 3px 34px),
    radial-gradient(80% 70% at 80% 0%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(170deg, #5fe8d6 0%, #13a08e 45%, #0a4f47 100%);
}
.art-ceiling {
  background:
    radial-gradient(60% 50% at 50% 0%, #fff, transparent 70%),
    linear-gradient(180deg, #f6f7f8 0%, #dcdfe2 55%, #9aa0a6 100%);
}
.art-detail {
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, 0.12) 18% 19%, transparent 19% 39%, rgba(255, 255, 255, 0.12) 39% 40%, transparent 40%),
    radial-gradient(70% 90% at 90% 10%, rgba(61, 220, 198, 0.35), transparent 60%),
    linear-gradient(120deg, #1d2022 0%, #0b0b0c 60%, #08302b 100%);
}
.art .stroke { position: absolute; width: 78%; right: -6%; top: 8%; opacity: 0.9; }
.art-ceiling .stroke path { fill: #0b0b0c; fill-opacity: 0.06; stroke: #0b0b0c; }
.art .art-icon {
  position: absolute;
  right: 26px;
  top: 24px;
  width: 64px;
  height: 64px;
  color: rgba(255, 255, 255, 0.85);
  stroke-width: 1.4;
}
.art-ceiling .art-icon { color: rgba(11, 11, 12, 0.55); }

/* ---------- Steps (sticky estimate) ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.tracker {
  display: flex;
  align-items: center;
  margin: 8px 0 34px;
  max-width: 360px;
}
.tracker li { display: flex; align-items: center; flex: 1; }
.tracker li:last-child { flex: none; }
.dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  background: #fff;
  transition: all 0.35s var(--ease);
}
.dot svg { width: 16px; height: 16px; display: none; }
.bar { flex: 1; height: 2px; margin: 0 6px; background: var(--line-strong); position: relative; overflow: hidden; border-radius: 2px; }
.bar::after { content: ""; position: absolute; inset: 0; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.tracker li.done .dot { background: var(--teal); border-color: var(--teal); color: #fff; }
.tracker li.done .dot span { display: none; }
.tracker li.done .dot svg { display: block; }
.tracker li.done .bar::after { transform: scaleX(1); }
.tracker li.active .dot { border-color: var(--teal); color: var(--teal); box-shadow: 0 0 0 6px var(--teal-soft); }

/* Pinned scroll: the track is tall, the pin stays on screen while the steps advance */
.how-track { position: relative; height: 380vh; }
.how-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
}
.how-pin .steps-grid { align-items: center; }
.step-stack { display: grid; }
.step {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.step.active { opacity: 1; transform: none; }
.step h3 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 16px; }
.step p { color: var(--muted); max-width: 44ch; }
.step-num {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.estimate { padding: 26px; }
.estimate-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.estimate-head .eyebrow { margin: 0; font-size: 11.5px; }
.glass-dark .eyebrow { color: var(--teal-bright); }
.tag-example {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--on-dark-muted);
}
.est-rows { display: grid; gap: 8px; }
.est-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 15px;
  transition: all 0.45s var(--ease);
}
.est-row .lbl { color: var(--on-dark-muted); }
.est-row .val { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.est-row .ok {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal-bright);
  color: #052420;
  transform: scale(0);
  transition: transform 0.35s var(--ease);
}
.est-row .ok svg { width: 12px; height: 12px; stroke-width: 3; }
.est-row.on { border-color: rgba(61, 220, 198, 0.35); background: rgba(61, 220, 198, 0.07); }
.est-row.on .lbl { color: #fff; }
.est-row.on .ok { transform: scale(1); }
.est-foot { margin-top: 16px; }
.est-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border-radius: 999px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.22);
  color: var(--on-dark-muted);
  transition: all 0.45s var(--ease);
}
.est-status svg { width: 18px; height: 18px; }
.est-status.ready { background: var(--teal-bright); color: #052420; border: 1px solid transparent; box-shadow: 0 10px 30px -12px rgba(61, 220, 198, 0.6); }
.est-note { margin: 14px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.6); text-align: center; }

@media (max-width: 860px) {
  .how { padding-block: clamp(72px, 10vw, 130px); }
  .how-track { height: auto; }
  .how-pin { position: static; height: auto; display: block; padding-top: 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-visual { order: -1; }
  .step { grid-area: auto; opacity: 1; transform: none; padding-block: 22px; border-top: 1px solid var(--line); }
}
@media (min-width: 861px) and (max-height: 760px) {
  .how-pin .h2 { font-size: 42px; }
  .how-pin .tracker { margin: 4px 0 20px; }
  .how-pin .estimate { padding: 20px; }
  .how-pin .est-row { padding: 10px 12px; }
}

/* ---------- Why list ---------- */

.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }
.feature-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list h3 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 6px; }
.feature-list p { margin: 0; color: var(--muted); font-size: 16px; }
.ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--teal-bright);
}
.ico svg { width: 22px; height: 22px; }

.included { padding: clamp(24px, 3vw, 34px); }
.included .dino-badge { width: 120px; height: auto; margin-bottom: 18px; filter: drop-shadow(0 12px 18px rgba(11, 11, 12, 0.25)); }
.included h3 { font-size: 26px; margin-bottom: 10px; }
.check-list { display: grid; gap: 12px; margin-top: 18px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.check-list .c {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
}
.check-list .c svg { width: 13px; height: 13px; stroke-width: 3; }

/* ---------- Area chips marquee ---------- */

.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 38s linear infinite; padding-block: 6px; }
.marquee-track.rev { animation-direction: reverse; animation-duration: 46s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.area-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px 12px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-strong);
  font-weight: 600;
  white-space: nowrap;
}
.area-chip svg { width: 16px; height: 16px; color: var(--teal); }
.area-chip.city { background: var(--ink); border-color: var(--ink); color: #fff; }
.area-chip.city svg { color: var(--teal-bright); }

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 10px; }
.faq-item {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm {
  flex: none;
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.faq-item summary .pm svg { width: 16px; height: 16px; }
.faq-item[open] summary .pm { transform: rotate(180deg); background: var(--ink); color: var(--teal-bright); border-color: var(--ink); }
.faq-answer { padding: 0 22px 22px; color: var(--muted); max-width: 72ch; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-cat { margin: 56px 0 18px; font-size: clamp(24px, 2.6vw, 32px); }
.faq-cat:first-child { margin-top: 0; }
.faq-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-nav { position: sticky; top: 120px; display: grid; gap: 4px; }
.faq-nav a { padding: 10px 14px; border-radius: 12px; color: var(--muted); font-weight: 500; }
.faq-nav a:hover { background: var(--surface-2); color: var(--ink); }
@media (max-width: 860px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .faq-nav a { border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px; font-size: 14.5px; background: #fff; }
}

/* ---------- CTA band ---------- */

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 84px) clamp(24px, 5vw, 64px);
  border-radius: 32px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(45% 90% at 90% 100%, rgba(61, 220, 198, 0.32), transparent 65%),
    radial-gradient(40% 70% at 5% 0%, rgba(255, 255, 255, 0.08), transparent 60%),
    linear-gradient(135deg, #1a1b1e, #0b0b0c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 40px 80px -40px rgba(11, 11, 12, 0.7);
}
.cta h2 { font-size: clamp(36px, 5.2vw, 64px); }
.cta .accent { color: var(--teal-bright); }
.cta .lead { margin: 18px auto 30px; text-align: center; color: var(--on-dark-muted); }
.cta .btn-row { justify-content: center; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero { padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(36px, 5vw, 64px); }
.page-hero .display { font-size: clamp(42px, 6.4vw, 84px); max-width: 16ch; }
.page-hero .lead { margin-top: 24px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--faint); margin-bottom: 22px; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Services page ---------- */

.svc-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.svc-split.flip .svc-media { order: 2; }
@media (max-width: 880px) { .svc-split { grid-template-columns: 1fr; } .svc-split.flip .svc-media { order: 0; } }
.svc-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  isolation: isolate;
  box-shadow: var(--shadow);
}
.svc-media .art { position: absolute; inset: 0; z-index: -1; }
.contact-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.contact-photo .art { position: absolute; inset: 0; }
.svc-media .media-badge { position: absolute; left: 16px; bottom: 16px; right: 16px; animation: none; }
.svc-body h2 { margin-bottom: 18px; }
.surface-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.surface-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 500;
  font-size: 15.5px;
}
.surface-grid svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
@media (max-width: 480px) { .surface-grid { grid-template-columns: 1fr; } }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }
.tile { padding: 26px; border-radius: var(--radius); }
.tile .ico { margin-bottom: 20px; }
.tile h3 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 8px; }
.tile p { margin: 0; color: var(--muted); font-size: 16px; }
.tile .num { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.14em; color: var(--teal); margin-bottom: 14px; display: block; }

.pricing-card { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 48px); padding: clamp(28px, 4vw, 48px); align-items: center; }
@media (max-width: 860px) { .pricing-card { grid-template-columns: 1fr; } }
.pricing-card .included { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- Service areas page ---------- */

.areas-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 14px; align-items: start; }
@media (max-width: 960px) { .areas-grid { grid-template-columns: 1fr; } }
.map-card { padding: 22px; display: flex; flex-direction: column; position: sticky; top: 110px; }
@media (max-width: 960px) { .map-card { position: relative; top: 0; } }
.map-card .eyebrow { font-size: 11.5px; }
.map { aspect-ratio: 600 / 520; border-radius: 18px; overflow: hidden; background: #111214; border: 1px solid rgba(255, 255, 255, 0.08); }
.map svg { width: 100%; height: 100%; }
.map-note { margin: 12px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.city-list { display: grid; gap: 14px; }
.city {
  padding: 22px 24px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  align-items: start;
}
.city .ico { grid-row: span 2; }
.city h3 { font-size: 23px; letter-spacing: -0.02em; line-height: 1.2; }
.city p { margin: 4px 0 0; color: var(--muted); font-size: 15.5px; }
.hoods { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.hoods span { font-size: 13px; padding: 5px 11px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: #33363a; }

/* ---------- Contact page ---------- */

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 12px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
a.contact-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.contact-card small { display: block; font-size: 13px; color: var(--muted); }
.contact-card strong { display: block; font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }

.form-card { padding: clamp(22px, 3.4vw, 36px); }
.form-card h2 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; margin-bottom: 8px; font-size: 14.5px; font-weight: 600; }
.field .req { color: var(--teal); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  font-size: 16px;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23565b61' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px var(--teal-soft); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #c0392b; }
.field .err { display: none; margin-top: 6px; font-size: 13.5px; color: #b3261e; }
.field.invalid .err { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.pill span svg { width: 14px; height: 14px; display: none; stroke-width: 3; }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill input:checked + span svg { display: block; color: var(--teal-bright); }
.pill input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 22px; }
.form-actions p { margin: 0; font-size: 13.5px; color: var(--faint); max-width: 40ch; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 14px; display: none; font-size: 15px; }
.form-status.show { display: block; background: var(--teal-soft); border: 1px solid rgba(11, 133, 118, 0.3); }

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  margin-top: clamp(60px, 8vw, 100px);
  padding-top: 64px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand img { height: 44px; width: auto; margin-bottom: 18px; }
.foot-brand p { color: var(--on-dark-muted); font-size: 15.5px; max-width: 34ch; }
.foot-col h3 { font-family: var(--font-body); font-size: 15px; font-weight: 700; letter-spacing: 0; margin-bottom: 14px; }
.foot-col li { margin-bottom: 10px; }
.foot-col a, .foot-col span { color: var(--on-dark-muted); font-size: 15.5px; transition: color 0.2s; }
.foot-col a:hover { color: #fff; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact svg { width: 17px; height: 17px; margin-top: 4px; color: var(--teal-bright); flex: none; }
.wordmark {
  margin: 56px 0 -0.16em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(110px, 26vw, 380px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.4);
  background: linear-gradient(180deg, rgba(61, 220, 198, 0.22), rgba(255, 255, 255, 0) 80%);
  -webkit-background-clip: text;
          background-clip: text;
  user-select: none;
}
.foot-bottom-wrap { position: relative; background: var(--ink); }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Mobile call bar ---------- */

.callbar { display: none; }
@media (max-width: 700px) {
  .callbar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(11, 11, 12, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(18px);
            backdrop-filter: blur(18px);
  }
  .callbar .btn { min-height: 46px; padding: 10px 12px; font-size: 15px; }
  body { padding-bottom: 84px; }
}

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 600px) { .hero .eyebrow::before { display: none; } .hero .eyebrow { letter-spacing: 0.12em; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  body { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee-track .dup { display: none; }
}
