/* =============================================================
   JAKUB PIASECKI — Usługi Wykończeniowe
   "Material & Craft" design system
   Palette: lime-plaster bone · warm graphite ink · terracotta clay · pine teal
   Type: Fraunces (display) · Hanken Grotesk (body) · Space Mono (spec labels)
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* surfaces */
  --bone:        #f3efe5;
  --bone-2:      #ece5d6;
  --bone-3:      #e3dac6;
  --paper:       #faf8f2;
  --ink:         #17130d;
  --ink-2:       #201b13;
  --graphite:    #1b1610;
  --graphite-2:  #241d15;

  /* brand accents */
  --clay:        #c25a2c;   /* terracotta — finishing / microcement */
  --clay-deep:   #9c421c;
  --clay-soft:   #d98a5f;
  --pine:        #2f4a44;   /* deep teal — waterproofing / insulation */
  --pine-2:      #3c5d55;
  --pine-soft:   #6d918a;
  --sand:        #c9bba0;

  /* text */
  --text:        #211a11;
  --text-soft:   #5c5343;
  --text-mute:   #857a67;
  --on-dark:     #f1ebdd;
  --on-dark-soft:#b7ad99;

  /* lines */
  --line:        #ddd4c1;
  --line-2:      #cabfa6;
  --line-dark:   rgba(241,235,221,.14);
  --line-dark-2: rgba(241,235,221,.28);

  /* type */
  --display: "Fraunces", "Times New Roman", serif;
  --body:    "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --mono:    "Space Mono", "SFMono-Regular", ui-monospace, monospace;

  /* metrics */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 68px);
  --radius: 3px;
  --radius-lg: 6px;

  /* motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur: .6s;

  --z-cursor: 90;
  --z-nav: 60;
  --z-overlay: 70;
  --z-banner: 80;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body);
  background: var(--bone);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2.5px solid var(--clay); outline-offset: 3px; border-radius: 2px; }

/* grain / paper texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 430;
  line-height: 1.02;
  letter-spacing: -.02em;
  font-optical-sizing: auto;
  color: var(--ink);
}
.h-display {
  font-size: clamp(2.9rem, 8.2vw, 7rem);
  line-height: .95;
  letter-spacing: -.03em;
}
h2, .h2 { font-size: clamp(2rem, 4.6vw, 3.7rem); }
h3, .h3 { font-size: clamp(1.45rem, 2.4vw, 2.1rem); }
h4, .h4 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
em, .italic { font-style: italic; }
p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--clay-deep);
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  display: inline-block;
  opacity: .7;
}
.eyebrow.no-dash::before { display: none; }

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 56ch;
}
.mono { font-family: var(--mono); }
.serif { font-family: var(--display); }
.text-clay { color: var(--clay); }
.text-pine { color: var(--pine); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 2;
}
.container-wide { max-width: 1480px; }
.section { padding-block: clamp(72px, 11vw, 160px); position: relative; }
.section-sm { padding-block: clamp(52px, 7vw, 96px); }
main { position: relative; z-index: 2; }

.grid { display: grid; gap: clamp(24px, 3vw, 48px); }
.split { grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.stack-sm > * + * { margin-top: .9rem; }
.stack > * + * { margin-top: 1.6rem; }
.divider { height: 1px; background: var(--line); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink);
  --fg: var(--bone);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .7em;
  padding: 1.02em 1.7em;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--ease), transform .4s var(--ease);
  will-change: transform;
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--clay);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
  z-index: -1;
}
.btn:hover::after { transform: translateY(0); }
.btn:hover { color: #fff; }
.btn .arw { transition: transform .4s var(--ease); }
.btn:hover .arw { transform: translate(4px, -4px); }

.btn-outline {
  --bg: transparent;
  --fg: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline::after { background: var(--ink); }
.btn-outline:hover { color: var(--bone); }

.btn-clay { --bg: var(--clay); --fg: #fff; }
.btn-clay::after { background: var(--ink); }

.btn-ghost-dark {
  --bg: transparent; --fg: var(--on-dark);
  border: 1.5px solid var(--line-dark-2);
}
.btn-ghost-dark::after { background: var(--clay); }
.btn-ghost-dark:hover { color: #fff; border-color: var(--clay); }

.link-underline {
  position: relative;
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding-bottom: 3px;
}
.link-underline::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }
.link-underline .arw { transition: transform .4s var(--ease); }
.link-underline:hover .arw { transform: translate(3px,-3px); }

/* =============================================================
   HEADER / NAV
   ============================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding: 18px 0;
  transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: color-mix(in srgb, var(--bone) 82%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { padding: 11px 0; }
.site-header.scrolled::before { opacity: 1; border-bottom-color: var(--line); }
.site-header.hide { transform: translateY(-105%); }
.header-inner {
  position: relative; z-index: 2;
  max-width: var(--container-wide, 1480px);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.12rem;
  letter-spacing: -.01em;
  color: var(--ink);
}
.brand-sub {
  font-family: var(--mono);
  font-size: .56rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 4px;
}
.nav-main { display: flex; align-items: center; gap: 6px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  padding: 9px 15px;
  font-size: .93rem;
  color: var(--text-soft);
  border-radius: 2px;
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute; left: 15px; right: 15px; bottom: 4px;
  height: 1.5px; background: var(--clay);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

/* dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 320px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -24px rgba(23,19,13,.34);
  padding: 10px;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  z-index: 5;
}
/* invisible hover-bridge so the pointer can cross the gap without closing */
.dropdown::before {
  content: "";
  position: absolute;
  left: -12px; right: -12px; top: -16px;
  height: 20px;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
/* small grace period before it closes */
.dropdown { transition-delay: .12s; }
.dropdown a {
  display: flex; align-items: baseline; gap: 12px;
  padding: 11px 13px; border-radius: var(--radius);
  transition: background .25s var(--ease);
}
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--bone-2); }
.dropdown a .num { font-family: var(--mono); font-size: .68rem; color: var(--clay); flex: none; }
.dropdown a .d-title { font-size: .95rem; color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 14px; }

/* language switch */
.lang-switch { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 100px; overflow: hidden; background: var(--paper); flex: none; }
.lang-switch button { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; padding: 7px 11px; color: var(--text-mute); transition: color .3s var(--ease), background .3s var(--ease); }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--bone); }
.lang-switch button:hover { color: var(--ink); }
.lang-switch button[aria-pressed="true"]:hover { color: var(--bone); }
.mobile-foot .lang-switch { background: transparent; border-color: var(--line-dark-2); margin-top: 18px; }
.mobile-foot .lang-switch button { color: var(--on-dark-soft); }
.mobile-foot .lang-switch button:hover { color: #fff; }
.mobile-foot .lang-switch button[aria-pressed="true"] { background: var(--clay); color: #fff; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.6px;
  background: var(--ink);
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 29px; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile drawer */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: var(--z-overlay);
  background: var(--graphite);
  color: var(--on-dark);
  padding: 96px var(--gutter) 40px;
  display: flex; flex-direction: column;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease);
  overflow-y: auto;
}
body.menu-open .mobile-menu { clip-path: inset(0 0 0 0); }
.mobile-menu a { color: var(--on-dark); }
.mobile-nav { display: flex; flex-direction: column; margin-top: 10px; }
.mobile-nav a {
  font-family: var(--display);
  font-size: clamp(1.8rem, 8vw, 2.8rem);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; align-items: center;
  opacity: 0; transform: translateY(20px);
}
body.menu-open .mobile-nav a { animation: mnav .6s var(--ease) forwards; animation-delay: calc(.18s + var(--i,0) * .06s); }
@keyframes mnav { to { opacity: 1; transform: translateY(0); } }
.mobile-nav a .idx { font-family: var(--mono); font-size: .8rem; color: var(--clay-soft); }
.mobile-foot { margin-top: auto; padding-top: 32px; font-family: var(--mono); font-size: .78rem; color: var(--on-dark-soft); letter-spacing: .04em; }
.mobile-foot a { color: var(--clay-soft); }

/* =============================================================
   HERO (home)
   ============================================================= */
.hero {
  position: relative;
  padding-top: clamp(130px, 20vh, 210px);
  padding-bottom: clamp(60px, 9vw, 120px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-top: 22px; }
.hero .accent-word { color: var(--clay); font-style: italic; font-weight: 380; }
.hero-meta {
  margin-top: 34px;
  display: flex; flex-wrap: wrap; gap: 14px 30px;
  align-items: center;
}
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-stats {
  margin-top: 54px;
  display: grid; grid-template-columns: repeat(3, auto);
  gap: clamp(20px, 4vw, 54px);
  justify-content: start;
}
@media (max-width: 520px){ .hero-stats { grid-template-columns: repeat(2, 1fr); } }
.stat .n { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--ink); }
.stat .n small { font-size: .5em; }
.stat .l { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); margin-top: 8px; }

.hero-art { position: relative; }
.hero-art .art-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 120% at 78% 12%, var(--paper), var(--bone-2) 70%);
  overflow: hidden;
}
.art-frame .corner-tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--text-mute);
}
.art-frame .corner-tag.tr { left: auto; right: 14px; }
.art-frame .corner-tag.br { top: auto; bottom: 14px; left: auto; right: 14px; }
.art-frame .corner-tag.bl { top: auto; bottom: 14px; }

/* =============================================================
   DECORATIVE ANIMATED ELEMENTS
   ============================================================= */
/* blueprint dotted grid */
.deco-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--line-2) 1px, transparent 1.4px);
  background-size: 26px 26px;
  opacity: .5;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 40%, transparent 100%);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 40%, transparent 100%);
}
/* floating material chips */
.chip {
  position: absolute;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: var(--paper);
  border: 1px solid var(--line-2);
  padding: 7px 12px;
  border-radius: 100px;
  display: inline-flex; align-items: center; gap: 7px;
  box-shadow: 0 12px 30px -18px rgba(23,19,13,.5);
  animation: floaty 7s ease-in-out infinite;
  z-index: 3;
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); }
.chip .dot.pine { background: var(--pine); }
.chip.delay-1 { animation-delay: -2.2s; }
.chip.delay-2 { animation-delay: -4.4s; }
@keyframes floaty {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50%     { transform: translateY(-14px) rotate(1.5deg); }
}
/* rotating spec mark */
.spinmark { animation: spin 26s linear infinite; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
/* drifting water drop */
.drift { animation: drift 9s ease-in-out infinite; }
@keyframes drift { 0%,100%{ transform: translate(0,0);} 50%{ transform: translate(10px,-16px);} }
/* dashed measurement line draw */
.measure line, .measure path { stroke-dasharray: 6 6; }

/* section index label (blueprint style) */
.sec-index {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--text-mute);
  display: flex; align-items: center; gap: 12px; margin-bottom: 28px;
}
.sec-index b { color: var(--clay-deep); font-weight: 400; }
.sec-index .rule { flex: 1; height: 1px; background: var(--line); }

/* =============================================================
   MARQUEE
   ============================================================= */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-block: 1px solid var(--line);
  padding: 22px 0;
  background: var(--bone-2);
}
.marquee.dark { background: var(--graphite); border-color: var(--line-dark); }
.marquee-track { display: inline-flex; gap: 48px; align-items: center; animation: marq 34s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.marquee-item {
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 48px;
}
.marquee.dark .marquee-item { color: var(--on-dark); }
.marquee-item .star { color: var(--clay); font-style: normal; }

/* =============================================================
   SERVICE CARDS
   ============================================================= */
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 60px); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.card {
  position: relative;
  display: flex; flex-direction: column;
  gap: 20px;
  padding: clamp(26px, 3vw, 40px);
  background: var(--bone);
  min-height: 340px;
  overflow: hidden;
  transition: background .5s var(--ease);
  isolation: isolate;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--graphite), var(--graphite-2));
  transform: translateY(100%);
  transition: transform .55s var(--ease);
  z-index: -1;
}
.card:hover::before { transform: translateY(0); }
.card:hover { color: var(--on-dark); }
.card:hover .card-num,
.card:hover .card-title,
.card:hover .card-desc { color: inherit; }
.card:hover .card-title { color: #fff; }
.card:hover .card-desc { color: var(--on-dark-soft); }
.card:hover .card-go { border-color: var(--clay); background: var(--clay); color:#fff; }
.card:hover .card-ico { border-color: var(--line-dark-2); }
.card:hover .card-ico .ln { stroke: var(--clay-soft); }
.card:hover .card-ico .fl { fill: var(--clay-soft); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.card-num { font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; color: var(--clay); transition: color .4s var(--ease); }
.card-ico {
  width: 62px; height: 62px; flex: none;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: border-color .4s var(--ease), transform .5s var(--ease);
}
.card:hover .card-ico { transform: rotate(-8deg); }
.card-ico svg { width: 30px; height: 30px; }
.card-ico .ln { stroke: var(--ink); stroke-width: 1.6; fill: none; transition: stroke .4s var(--ease); }
.card-ico .fl { fill: var(--clay); transition: fill .4s var(--ease); }
.card-body { margin-top: auto; }
.card-title {
  font-family: var(--display); font-size: 1.5rem; line-height: 1.05;
  letter-spacing: -.01em; color: var(--ink);
  transition: color .4s var(--ease);
}
.card-title small { display:block; font-family: var(--mono); font-size:.6rem; letter-spacing:.14em; text-transform:uppercase; color: var(--text-mute); margin-top:8px; font-weight:400; }
.card-desc { margin-top: 12px; font-size: .95rem; color: var(--text-soft); transition: color .4s var(--ease); }
.card-go {
  margin-top: 22px;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.card:hover .card-go { transform: translate(3px,-3px); }
.card-go svg { width: 17px; height: 17px; }
.card-link { position: absolute; inset: 0; z-index: 4; text-indent: -9999px; }

/* =============================================================
   FEATURE / SPLIT BLOCKS
   ============================================================= */
.feature-media {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 120% at 20% 10%, var(--paper), var(--bone-2));
  aspect-ratio: 4/3.4;
  overflow: hidden;
}
.tick-list { display: grid; gap: 2px; }
.tick-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 4px;
  border-top: 1px solid var(--line);
}
.tick-list li:last-child { border-bottom: 1px solid var(--line); }
.tick-list .tk {
  flex: none; width: 24px; height: 24px; margin-top: 2px;
  border-radius: 50%; background: var(--clay);
  display: grid; place-items: center;
}
.tick-list .tk svg { width: 12px; height: 12px; stroke: #fff; stroke-width: 2.4; fill: none; }
.tick-list .tk.pine { background: var(--pine); }
.tick-list h4 { font-family: var(--body); font-weight: 600; font-size: 1.02rem; color: var(--ink); letter-spacing: 0; }
.tick-list p { font-size: .92rem; color: var(--text-soft); margin-top: 3px; }

/* =============================================================
   PROCESS (dark band)
   ============================================================= */
.band-dark {
  background: var(--graphite);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.band-dark h2, .band-dark h3, .band-dark .h2 { color: var(--on-dark); }
.band-dark .lead { color: var(--on-dark-soft); }
.band-dark .sec-index { color: var(--on-dark-soft); }
.band-dark .sec-index .rule { background: var(--line-dark); }
.band-dark .sec-index b { color: var(--clay-soft); }
.band-dark .divider { background: var(--line-dark); }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; margin-top: 20px; }
@media (max-width: 860px){ .process { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px){ .process { grid-template-columns: 1fr; } }
.step { background: var(--graphite); padding: clamp(26px,3vw,38px); position: relative; transition: background .5s var(--ease); }
.step:hover { background: var(--graphite-2); }
.step .s-num { font-family: var(--mono); font-size: .74rem; letter-spacing: .2em; color: var(--clay-soft); }
.step h3 { font-size: 1.35rem; margin-top: 40px; color:#fff; }
.step p { margin-top: 12px; font-size: .92rem; color: var(--on-dark-soft); }
.step .s-line { position: absolute; top: 30px; right: 22px; width: 40px; height: 40px; opacity: .5; }

/* =============================================================
   STATS STRIP
   ============================================================= */
.stat-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (max-width: 780px){ .stat-strip { grid-template-columns: repeat(2,1fr);} }
.stat-cell { background: var(--bone); padding: clamp(28px,4vw,48px) clamp(20px,3vw,36px); text-align: left; }
.stat-cell .n { font-family: var(--display); font-size: clamp(2.4rem,5vw,3.6rem); line-height: 1; color: var(--ink); }
.stat-cell .n small { font-size: .45em; color: var(--clay); }
.stat-cell .l { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); margin-top: 14px; }

/* =============================================================
   TESTIMONIALS
   ============================================================= */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 900px){ .quotes { grid-template-columns: 1fr; } }
.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px,3vw,38px);
  display: flex; flex-direction: column; gap: 22px;
  position: relative;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.quote:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(23,19,13,.35); }
.quote .mark { font-family: var(--display); font-size: 4rem; line-height: .6; color: var(--clay); height: 30px; }
.quote p { font-family: var(--display); font-size: 1.18rem; line-height: 1.45; color: var(--ink); font-weight: 380; }
.quote .who { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 8px; }
.quote .who .av {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--bone-3); color: var(--ink);
  font-family: var(--display); font-size: 1rem; font-weight: 500;
  border: 1px solid var(--line-2);
}
.quote .who .nm { font-weight: 600; font-size: .95rem; color: var(--ink); }
.quote .who .loc { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute); margin-top: 2px; }
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 15px; height: 15px; fill: var(--clay); }

/* =============================================================
   CTA BAND
   ============================================================= */
.cta {
  position: relative;
  background: var(--clay);
  color: #fff;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.4px);
  background-size: 22px 22px;
  opacity: .5;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.cta h2 { color: #fff; }
.cta .lead { color: rgba(255,255,255,.86); }
.cta .container { position: relative; z-index: 2; }
.cta .btn { --bg: var(--ink); --fg: #fff; }
.cta .btn::after { background: #fff; }
.cta .btn:hover { color: var(--ink); }
.cta .btn-outline { --fg:#fff; border-color: rgba(255,255,255,.6); }
.cta .btn-outline::after { background:#fff; }
.cta .btn-outline:hover { color: var(--clay); }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
  background: var(--graphite);
  color: var(--on-dark);
  padding-top: clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: clamp(28px,3vw,48px); padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
@media (max-width: 900px){ .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-top { grid-template-columns: 1fr; } }
.f-brand .brand-name { color: #fff; font-size: 1.4rem; }
.f-brand .brand-sub { color: var(--on-dark-soft); }
.f-tagline { margin-top: 20px; color: var(--on-dark-soft); font-size: .98rem; max-width: 34ch; }
.f-col h5 { font-family: var(--mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--clay-soft); font-weight: 400; margin-bottom: 20px; }
.f-col ul { display: grid; gap: 12px; }
.f-col a { color: var(--on-dark-soft); font-size: .95rem; transition: color .3s var(--ease), padding .3s var(--ease); display: inline-flex; align-items:center; gap:8px; }
.f-col a:hover { color: #fff; }
.f-col a:hover .fx { transform: translateX(3px); }
.f-col .fx { transition: transform .3s var(--ease); color: var(--clay-soft); }
.f-contact li { color: var(--on-dark-soft); font-size: .95rem; display: flex; gap: 12px; margin-bottom: 14px; }
.f-contact svg { width: 17px; height: 17px; flex: none; margin-top: 3px; stroke: var(--clay-soft); fill: none; stroke-width: 1.6; }
.footer-mid { padding: 40px 0; border-bottom: 1px solid var(--line-dark); }
.footer-word { font-family: var(--display); font-size: clamp(2.6rem, 13vw, 12rem); line-height: .82; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px var(--line-dark-2); text-align: center; white-space: nowrap; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 28px 0 40px; }
.footer-bottom, .footer-bottom a { font-family: var(--mono); font-size: .74rem; letter-spacing: .05em; color: var(--on-dark-soft); }
.footer-bottom a:hover { color: var(--clay-soft); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* =============================================================
   PAGE HERO (interior pages)
   ============================================================= */
.page-hero { padding-top: clamp(130px, 18vh, 200px); padding-bottom: clamp(30px,4vw,50px); position: relative; overflow: hidden; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); }
.breadcrumb a:hover { color: var(--clay); }
.breadcrumb .sep { opacity: .5; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px,4vw,60px); align-items: center; margin-top: 34px; }
@media (max-width: 960px){ .page-hero-grid { grid-template-columns: 1fr; } }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); margin-top: 20px; }
.pl-name { font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pine); margin-top: 18px; }

/* service detail */
.svc-frame { position: relative; aspect-ratio: 1/1; border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: radial-gradient(120% 120% at 75% 15%, var(--paper), var(--bone-2) 72%); overflow: hidden; }
.spec-sheet { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
.spec-row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); }
.spec-row dd { font-size: .95rem; color: var(--ink); }
@media (max-width: 480px){ .spec-row { grid-template-columns: 1fr; gap: 4px; } }

.related-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 640px){ .related-cards { grid-template-columns: 1fr; } }
.rel {
  background: var(--bone); padding: clamp(24px,3vw,34px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transition: background .4s var(--ease); position: relative;
}
.rel:hover { background: var(--paper); }
.rel .r-num { font-family: var(--mono); font-size: .68rem; color: var(--clay); }
.rel h4 { font-family: var(--display); font-size: 1.4rem; color: var(--ink); margin-top: 10px; }
.rel .r-go { width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; flex: none; transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease); }
.rel:hover .r-go { background: var(--clay); color: #fff; border-color: var(--clay); transform: translate(3px,-3px); }
.rel .r-go svg { width: 18px; height: 18px; }

/* =============================================================
   CONTACT
   ============================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,4vw,64px); align-items: start; }
@media (max-width: 900px){ .contact-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); }
.field input, .field textarea, .field select {
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--clay);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--clay) 18%, transparent);
}
.info-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.info-row { display: flex; gap: 18px; padding: 22px 24px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.info-row:last-child { border-bottom: 0; }
.info-row .ic { width: 42px; height: 42px; flex: none; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; }
.info-row .ic svg { width: 19px; height: 19px; stroke: var(--clay); fill: none; stroke-width: 1.6; }
.info-row .k { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); }
.info-row .v { font-size: 1.02rem; color: var(--ink); margin-top: 4px; }
.info-row .v a:hover { color: var(--clay); }
.form-note { font-size: .82rem; color: var(--text-mute); margin-top: 8px; }
.form-status { font-family: var(--mono); font-size: .82rem; margin-top: 14px; color: var(--pine); display: none; }
.form-status.show { display: block; }

/* =============================================================
   LEGAL / PROSE
   ============================================================= */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 52px; margin-bottom: 14px; }
.prose h3 { font-size: 1.2rem; margin-top: 30px; margin-bottom: 10px; font-family: var(--body); font-weight: 700; color: var(--ink); letter-spacing: 0; }
.prose p { color: var(--text-soft); margin-bottom: 16px; }
.prose ul { display: grid; gap: 10px; margin: 0 0 20px; padding-left: 0; }
.prose ul li { position: relative; padding-left: 26px; color: var(--text-soft); }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; background: var(--clay); border-radius: 50%; }
.prose a { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.toc { position: sticky; top: 110px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: var(--paper); }
.toc h5 { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 16px; }
.toc ol { list-style: none; padding: 0; counter-reset: t; display: grid; gap: 4px; }
.toc a { display: block; padding: 8px 10px; border-radius: var(--radius); font-size: .9rem; color: var(--text-soft); counter-increment: t; transition: background .25s, color .25s; }
.toc a::before { content: counter(t, decimal-leading-zero) "  "; font-family: var(--mono); font-size: .7rem; color: var(--clay); }
.toc a:hover, .toc a.active { background: var(--bone-2); color: var(--ink); }
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(30px,4vw,60px); align-items: start; }
@media (max-width: 860px){ .legal-grid { grid-template-columns: 1fr; } .toc { position: static; } }

/* =============================================================
   COOKIE BANNER
   ============================================================= */
.cookie {
  position: fixed; left: 20px; bottom: 20px;
  max-width: 400px; width: calc(100% - 40px);
  background: var(--graphite); color: var(--on-dark);
  border: 1px solid var(--line-dark-2);
  border-radius: var(--radius-lg);
  padding: 24px;
  z-index: var(--z-banner);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.6);
  transform: translateY(140%);
  transition: transform .6s var(--ease);
}
.cookie.show { transform: translateY(0); }
.cookie h4 { color: #fff; font-family: var(--display); font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.cookie h4 svg { width: 22px; height: 22px; }
.cookie p { font-size: .88rem; color: var(--on-dark-soft); margin-top: 10px; }
.cookie p a { color: var(--clay-soft); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; margin-top: 18px; }
.cookie .btn { padding: .8em 1.2em; font-size: .7rem; flex: 1; justify-content: center; }

/* =============================================================
   REVEAL ANIMATIONS
   ============================================================= */
/* Hidden initial states apply ONLY when JS runs (.has-js on <html>), so if JS
   ever fails the content is fully visible instead of stuck invisible. */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); will-change: opacity, transform; }
.has-js .reveal { opacity: 0; transform: translateY(30px); }
.reveal.in { opacity: 1; transform: none; }
.reveal-l { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.has-js .reveal-l { opacity: 0; transform: translateX(-40px); }
.reveal-l.in { opacity: 1; transform: none; }
.reveal-r { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.has-js .reveal-r { opacity: 0; transform: translateX(40px); }
.reveal-r.in { opacity: 1; transform: none; }
.reveal-scale { transition: opacity 1s var(--ease), transform 1s var(--ease); }
.has-js .reveal-scale { opacity: 0; transform: scale(.94); }
.reveal-scale.in { opacity: 1; transform: none; }

/* mask line reveal for headings */
.line-mask { display: block; overflow: hidden; }
.line-mask > span { display: block; transition: transform 1s var(--ease); transition-delay: calc(var(--i,0) * 110ms); }
.has-js .line-mask > span { transform: translateY(105%); }
.line-mask.in > span { transform: translateY(0); }

/* hero load stagger */
.load-up { opacity: 0; transform: translateY(24px); animation: loadUp 1s var(--ease) forwards; animation-delay: calc(.15s + var(--d, 0) * .12s); }
@keyframes loadUp { to { opacity: 1; transform: none; } }

/* svg draw-on */
.draw { stroke-dasharray: var(--len, 400); }
.has-js .draw { stroke-dashoffset: var(--len, 400); }
.in-view .draw, .draw.play { animation: draw 2s var(--ease) forwards; animation-delay: calc(var(--dd, 0) * .18s); }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* custom cursor */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: var(--z-cursor); mix-blend-mode: multiply; }
.cursor-dot { width: 7px; height: 7px; background: var(--clay); transform: translate(-50%,-50%); }
.cursor-ring { width: 38px; height: 38px; border: 1.4px solid var(--clay); transform: translate(-50%,-50%); transition: width .3s var(--ease), height .3s var(--ease), background .3s var(--ease), opacity .3s; opacity: .6; }
.cursor-ring.hover { width: 58px; height: 58px; background: color-mix(in srgb, var(--clay) 12%, transparent); opacity: 1; }
body.has-cursor, body.has-cursor * { cursor: none !important; }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* scroll progress */
.scroll-prog { position: fixed; top: 0; left: 0; height: 3px; background: var(--clay); width: 0; z-index: var(--z-nav); transition: width .1s linear; }

/* utility */
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.maxw-56 { max-width: 56ch; }
.hidden-mob { display: initial; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pine); background: color-mix(in srgb, var(--pine) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--pine) 30%, transparent);
  padding: 7px 13px; border-radius: 100px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pine); }

@media (max-width: 1040px) {
  .nav-links, .header-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .footer-top { }
}
@media (max-width: 520px) {
  .hidden-mob { display: none; }
  body { font-size: 16px; }
}

/* reduced motion — this is an intentionally animation-forward marketing site,
   so entrance, scroll and ambient motion still play. We only suppress the
   trailing custom cursor, which relies on continuous pointer tracking. */
@media (prefers-reduced-motion: reduce) {
  .cursor-dot, .cursor-ring { display: none !important; }
}
