/* itsolutionscy.com - main stylesheet
   Tones: ink (dark), paper (light), copper (accent band).
   The body background follows the section in view, so sections wash into each other. */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage.woff2") format("woff2-variations"), url("../fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Instrument";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Mono";
  src: url("../fonts/jetbrains-mono.woff2") format("woff2-variations"), url("../fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --ink: #0a0c0f;
  --ink-2: #12161b;
  --ink-3: #1b2028;
  --paper: #efebe3;
  --paper-2: #e3ddd1;
  --copper: #ff6a2c;
  --copper-soft: #ffa06b;
  --copper-deep: #b93d0b;
  --patina: #37e2b8;

  --bg: var(--ink);
  --fg: #f2efe8;
  --muted: #8d949d;
  --line: rgba(242, 239, 232, .12);
  --card: rgba(255, 255, 255, .025);
  --accent-text: var(--copper);

  --f-display: "Bricolage", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument", ui-serif, Georgia, serif;
  --f-mono: "Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.77, 0, .18, 1);
  color-scheme: dark;
}
html[data-tone="paper"] {
  --bg: var(--paper);
  --fg: #0a0c0f;
  --muted: #5d6168;
  --line: rgba(10, 12, 15, .14);
  --card: rgba(10, 12, 15, .03);
  --accent-text: var(--copper-deep);
  color-scheme: light;
}
html[data-tone="copper"] {
  --bg: var(--copper);
  --fg: #0a0c0f;
  --muted: rgba(10, 12, 15, .66);
  --line: rgba(10, 12, 15, .2);
  --accent-text: #0a0c0f;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-display);
  font-size: clamp(16px, 1.05vw + 10px, 18px);
  line-height: 1.55;
  font-variation-settings: "opsz" 16;
  overflow-x: clip;
  transition: background-color .9s var(--ease), color .9s var(--ease);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--copper); color: var(--ink); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--copper); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }

/* Placeholder marker: anything Antreas still has to fill in */
.ph {
  font-family: var(--f-mono);
  font-size: .82em;
  letter-spacing: 0;
  padding: .05em .4em;
  border: 1px dashed currentColor;
  border-radius: 6px;
  opacity: .85;
  white-space: nowrap;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; font-variation-settings: normal; }
.accent { color: var(--accent-text); }

/* Grain overlay: generated noise, no image files */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
html[data-tone="paper"] .grain { opacity: .09; filter: invert(1); }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; transform-origin: 0 50%; transform: scaleX(0); background: var(--copper); }

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  transition: transform .6s var(--ease), background-color .4s, backdrop-filter .4s;
}
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.03em; font-variation-settings: "opsz" 24, "wdth" 88; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand .tag { font-family: var(--f-mono); font-size: 10px; font-weight: 600; letter-spacing: .06em; padding: 3px 6px 2px; border-radius: 5px; background: var(--copper); color: var(--ink); transform: translateY(-6px); }
.nav-links { display: none; gap: 4px; align-items: center; }
.nav-links a { position: relative; padding: 8px 14px; font-size: 15px; border-radius: 999px; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav .nav-cta { display: none; }
.burger { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; cursor: pointer; }
.burger span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.burger > i { display: grid; gap: 6px; }
body.menu-open .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
body.menu-open .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 95; background: var(--ink); color: #f2efe8;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 110px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 40px) 40px); visibility: hidden;
  transition: clip-path .8s var(--ease-in-out), visibility 0s .8s;
}
body.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; transition: clip-path .8s var(--ease-in-out), visibility 0s; }
.menu nav { display: grid; gap: 2px; }
.menu nav a { font-size: clamp(44px, 13vw, 90px); font-weight: 700; line-height: 1; letter-spacing: -.028em; font-variation-settings: "opsz" 96, "wdth" 78; display: flex; align-items: baseline; gap: 14px; }
.menu nav a small { font-family: var(--f-mono); font-size: 11px; color: var(--copper); letter-spacing: .08em; font-weight: 400; }
.menu .menu-foot { margin-top: 40px; display: grid; gap: 6px; color: var(--muted); }
body.menu-open .nav { background: transparent; border-color: transparent; backdrop-filter: none; color: #f2efe8; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav .nav-cta { display: inline-flex; }
  .burger, .menu { display: none; }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  --b-bg: var(--copper); --b-fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 22px 16px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--b-bg); color: var(--b-fg); font-weight: 600; font-size: 16px; letter-spacing: -.01em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--fg); transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--bg); }
.btn .ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--copper); transition: transform .6s var(--ease), background .3s, color .3s; }
.btn .ico svg { width: 16px; height: 16px; }
.btn:hover .ico { transform: rotate(45deg); background: var(--copper); color: var(--ink); }
.btn-ghost { --b-bg: transparent; --b-fg: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost .ico { background: transparent; color: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.btn-sm { padding: 10px 12px 10px 18px; font-size: 15px; }
.btn-sm .ico { width: 26px; height: 26px; }
.btn-label { position: relative; display: inline-block; }
[data-magnetic] { will-change: transform; }

/* ---------------------------------------------------------------- section chrome */
section { position: relative; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--muted); margin-bottom: clamp(24px, 4vw, 48px); }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--copper); border-radius: 2px; }
html[data-tone="copper"] .eyebrow::before { background: var(--ink); }
.h2 {
  font-size: clamp(42px, 8.4vw, 132px); line-height: .92; font-weight: 700; letter-spacing: -.028em; margin: 0;
  font-variation-settings: "opsz" 96, "wdth" 84; text-wrap: balance;
}
.h2 .serif { font-size: 1.08em; letter-spacing: -.03em; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--muted); max-width: 46ch; }

/* word mask reveal (JS splits headings into .w > .wi) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em .1em .2em; margin: -.04em -.1em -.2em; }
.wi { display: inline-block; }
html.js.motion [data-split] .wi { transform: translateY(108%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
html.js.motion [data-split].is-in .wi { transform: none; }

html.js.motion [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
html.js.motion [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- hero */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 96px 0 0; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 70% 42%, rgba(255, 106, 44, .13), transparent 70%),
    radial-gradient(40% 40% at 20% 80%, rgba(55, 226, 184, .06), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px; background-position: -1px -1px;
  mask-image: radial-gradient(70% 60% at 60% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 60% 45%, #000 20%, transparent 75%);
}
#net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
#net.on { opacity: 1; }
.hero-coords { position: absolute; top: 96px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.hero-coords b { color: var(--fg); font-weight: 500; }
.hero-inner { position: relative; padding-bottom: clamp(20px, 3vw, 36px); pointer-events: none; }
.hero-inner a, .hero-inner button { pointer-events: auto; }
.hero h1 {
  margin: 0; font-weight: 750; letter-spacing: -.03em; line-height: .86;
  font-size: clamp(64px, 23vw, 230px);
  font-variation-settings: "opsz" 96, "wdth" 76;
}
.hero h1 .line { display: block; overflow: hidden; padding: 0 .04em .16em; margin: 0 -.04em -.16em; }
.hero h1 .ch { display: inline-block; font-variation-settings: "opsz" 96, "wdth" var(--wd, 76), "wght" var(--wg, 750); }
.hero h1 .serif { font-weight: 400; letter-spacing: -.035em; color: var(--copper); padding-right: .06em; }
html.js.motion .hero h1 .ch { transform: translateY(120%); }
html.js.motion .hero.is-in h1 .ch { transform: none; transition: transform 1.2s var(--ease); transition-delay: calc(200ms + var(--i) * 28ms); }
.hero-row { display: grid; gap: 28px; margin-top: clamp(22px, 3vw, 40px); align-items: end; }
.hero-row p { margin: 0; max-width: 44ch; color: var(--muted); font-size: clamp(17px, 1.35vw, 20px); }
.hero-row p strong { color: var(--fg); font-weight: 500; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-bar { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0 18px; margin-top: clamp(24px, 4vw, 48px); border-top: 1px solid var(--line); color: var(--muted); }
.hero-bar .live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--patina); margin-right: 8px; box-shadow: 0 0 0 0 rgba(55, 226, 184, .6); animation: ping 2s infinite; vertical-align: 1px; }
.hero-bar .scroll { display: none; align-items: center; gap: 10px; }
.hero-bar .scroll i { position: relative; width: 44px; height: 1px; background: var(--line); overflow: hidden; }
.hero-bar .scroll i::after { content: ""; position: absolute; inset: 0; background: var(--copper); animation: scan 2.2s var(--ease-in-out) infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(55, 226, 184, 0); } 100% { box-shadow: 0 0 0 0 rgba(55, 226, 184, 0); } }
@keyframes scan { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@media (min-width: 760px) {
  .hero-row { grid-template-columns: 1fr auto; }
  .hero-bar .scroll { display: inline-flex; }
}
@media (max-width: 759px) {
  .hero-coords .hide-sm { display: none; }
  .hero { justify-content: flex-start; padding-top: calc(84px + 58vw); }
  .hero h1 { font-size: 21vw; }
  .hero-row { gap: 22px; }
  .hero-row p { font-size: 16.5px; }
  .hero-ctas .btn-ghost { display: none; }
}

/* ---------------------------------------------------------------- marquee */
.marquee { padding: clamp(28px, 5vw, 60px) 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-set { display: flex; align-items: center; flex: none; }
.marquee-set span {
  font-size: clamp(48px, 9vw, 140px); font-weight: 700; letter-spacing: -.03em; line-height: 1;
  font-variation-settings: "opsz" 96, "wdth" 80; padding: 0 .28em; white-space: nowrap;
}
.marquee-set span:nth-child(4n+3) { color: color-mix(in srgb, var(--fg) 22%, transparent); }
.marquee-set span.serif { font-weight: 400; color: var(--copper); letter-spacing: -.01em; }
.marquee-set i { width: .5em; height: .5em; flex: none; font-size: clamp(28px, 5vw, 70px); background: var(--copper); border-radius: 22%; transform: rotate(45deg); }

/* ---------------------------------------------------------------- manifesto */
.manifesto { padding: clamp(100px, 14vw, 200px) 0; }
.manifesto .fill {
  margin: 0; font-size: clamp(30px, 5.2vw, 78px); line-height: 1.06; letter-spacing: -.022em; font-weight: 600;
  font-variation-settings: "opsz" 72, "wdth" 86; max-width: 22ch; text-wrap: pretty;
}
.manifesto .fill .fw { opacity: var(--o, 1); transition: opacity .2s linear; }
html.js.motion .manifesto .fill .fw { --o: .14; }
.manifesto .fill .serif { font-weight: 400; }
.manifesto-foot { display: grid; gap: 20px; margin-top: clamp(40px, 6vw, 80px); padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
@media (min-width: 760px) { .manifesto-foot { grid-template-columns: repeat(3, 1fr); } }
.manifesto-foot b { display: block; color: var(--fg); font-weight: 600; margin-bottom: 4px; }

/* ---------------------------------------------------------------- services */
.services { padding: clamp(90px, 12vw, 180px) 0 clamp(60px, 8vw, 120px); }
.sec-head { display: grid; gap: 28px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
@media (min-width: 960px) { .sec-head { grid-template-columns: 1.4fr 1fr; } }
.grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; min-height: 320px; padding: 26px;
  border-radius: 22px; background: var(--card); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .7s var(--ease), border-color .4s;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 106, 44, .16), transparent 45%);
}
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .5s;
  background: radial-gradient(260px circle at var(--mx) var(--my), var(--copper), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover::before, .card:hover::after { opacity: 1; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.card .num { color: var(--muted); }
.card .icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 106, 44, .1); color: var(--copper); }
.card .icon svg { width: 28px; height: 28px; stroke-dasharray: 90; stroke-dashoffset: 0; }
.card:hover .icon svg { animation: draw 1.2s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 90; } to { stroke-dashoffset: 0; } }
.card-top { margin-bottom: clamp(40px, 5vw, 72px); }
.card .tags { margin-top: auto; }
.card h3 { margin: 0 0 10px; font-size: clamp(24px, 2.1vw, 30px); line-height: 1.02; letter-spacing: -.018em; font-weight: 650; font-variation-settings: "opsz" 48, "wdth" 88; }
.card p { margin: 0 0 18px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
/* AI card: a slow copper and patina glow drifting behind it, a soft outline and a "New" badge */
.card-ai { border-color: rgba(55, 226, 184, .28); background: linear-gradient(160deg, rgba(55, 226, 184, .07), rgba(255, 106, 44, .05) 55%, var(--card)); }
.card-ai .icon { background: rgba(55, 226, 184, .12); color: var(--patina); }
.ai-glow { position: absolute; inset: 0; z-index: -2; overflow: hidden; border-radius: inherit; pointer-events: none; }
.ai-glow i { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; filter: blur(42px); opacity: .32; }
.ai-glow i:nth-child(1) { background: var(--patina); top: -30%; right: -25%; animation: ai-drift 11s ease-in-out infinite alternate; }
.ai-glow i:nth-child(2) { background: var(--copper); bottom: -35%; left: -25%; animation: ai-drift 13s ease-in-out infinite alternate-reverse; }
@keyframes ai-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-28%, 34%) scale(1.15); } }
.card-ai .num { display: flex; align-items: center; gap: 8px; }
.badge { font-style: normal; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; color: #0a0c0f; background: var(--patina); }
@media (prefers-reduced-motion: reduce) { .ai-glow i { animation: none; } }
.card-wide { grid-column: 1 / -1; min-height: 0; padding: clamp(26px, 4vw, 48px); background: linear-gradient(120deg, rgba(255, 106, 44, .14), rgba(55, 226, 184, .05) 60%, transparent), var(--card); }
.card-wide .wide-in { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .card-wide .wide-in { grid-template-columns: 1.2fr 1fr auto; } }
.card-wide h3 { margin: 0 0 10px; padding: 0; font-size: clamp(30px, 3.6vw, 52px); }
.card-wide ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.card-wide li { display: flex; gap: 10px; align-items: center; }
.card-wide li svg { width: 18px; height: 18px; color: var(--patina); flex: none; }

/* ---------------------------------------------------------------- stats band */
.stats { padding: clamp(80px, 10vw, 140px) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
@media (min-width: 960px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stat { padding: 28px 16px 8px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 960px) { .stat { border-bottom: 0; padding-right: 28px; } .stat + .stat { border-left: 1px solid var(--line); padding-left: 28px; } }
.stat .big { display: flex; align-items: flex-end; min-height: .85em; font-size: clamp(64px, 11vw, 168px); line-height: .85; font-weight: 750; letter-spacing: -.035em; font-variation-settings: "opsz" 96, "wdth" 76; font-variant-numeric: tabular-nums; }
.stat .big .ph { font-size: max(15px, .16em); letter-spacing: 0; line-height: 1.4; margin-bottom: .2em; }
.stat p { margin: 14px 0 20px; font-weight: 500; max-width: 24ch; }
.stats-title { font-size: clamp(34px, 5vw, 72px); line-height: .95; letter-spacing: -.025em; font-weight: 700; font-variation-settings: "opsz" 96, "wdth" 86; margin: 0 0 clamp(40px, 6vw, 70px); max-width: 16ch; }

/* ---------------------------------------------------------------- why us */
.why { padding: clamp(90px, 11vw, 170px) 0; }
.why-list { list-style: none; margin: clamp(40px, 6vw, 90px) 0 0; padding: 0; counter-reset: why; }
.why-item { position: relative; display: grid; gap: 12px 40px; padding: clamp(24px, 3.4vw, 44px) 0; border-top: 1px solid var(--line); }
.why-item::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--fg); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s var(--ease); }
.why-item.is-in::before { transform: scaleX(1); }
html:not(.motion) .why-item::before { transform: scaleX(1); }
.why-item:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 960px) { .why-item { grid-template-columns: 120px 1.1fr 1fr; align-items: baseline; } }
.why-item .mono { color: var(--accent-text); }
.why-item h3 { margin: 0; font-size: clamp(34px, 4.6vw, 70px); line-height: .95; letter-spacing: -.028em; font-weight: 700; font-variation-settings: "opsz" 96, "wdth" 80; transition: font-variation-settings .6s var(--ease), transform .6s var(--ease); }
.why-item:hover h3 { font-variation-settings: "opsz" 96, "wdth" 100; transform: translateX(8px); }
.why-item p { margin: 0; color: var(--muted); max-width: 42ch; }

/* ---------------------------------------------------------------- process */
.process { padding-top: clamp(90px, 12vw, 180px); }
.process-pin { position: relative; }
.process-track { display: grid; gap: 14px; padding: 0 var(--gutter) clamp(80px, 10vw, 140px); }
.step {
  position: relative; border-radius: 26px; padding: clamp(24px, 3vw, 40px); min-height: 440px;
  display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--line); overflow: hidden;
}
.step .n { font-size: clamp(120px, 18vw, 260px); line-height: .8; font-weight: 800; letter-spacing: -.04em; font-variation-settings: "opsz" 96, "wdth" 75; color: rgba(242, 239, 232, .05); position: absolute; right: 18px; bottom: 6px; transition: color .6s; }
.step:hover .n { color: rgba(255, 106, 44, .28); }
.step h3 { margin: 18px 0 12px; font-size: clamp(36px, 4.4vw, 64px); line-height: .95; letter-spacing: -.028em; font-weight: 700; font-variation-settings: "opsz" 96, "wdth" 80; }
.step p { margin: 0; max-width: 34ch; color: var(--muted); position: relative; }
.step ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px; position: relative; }
.step ul li { font-family: var(--f-mono); font-size: 11px; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.step svg.glyph { width: 76px; height: 76px; color: var(--copper); }
.process-meter { display: none; }
@media (min-width: 960px) {
  .process-pin { height: var(--pin-h, 300vh); }
  .process-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
  .process-track { display: flex; gap: 18px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
  .step { width: min(520px, 38vw); height: min(560px, 64vh); min-height: 0; flex: none; }
  .step.intro { background: transparent; border: 0; width: min(560px, 40vw); justify-content: center; padding-left: 0; }
  .process-meter { display: flex; align-items: center; gap: 16px; padding: 34px var(--gutter) 0; color: var(--muted); }
  .process-meter i { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
  .process-meter i b { position: absolute; inset: 0; background: var(--copper); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
}
.step.intro { background: transparent; border: 0; padding-left: 0; min-height: 0; }

/* ---------------------------------------------------------------- sectors */
.sectors { padding: clamp(90px, 11vw, 170px) 0; }
.sector-list { list-style: none; margin: clamp(40px, 6vw, 80px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.sector {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate;
}
.sector::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .6s var(--ease); }
.sector h3 { margin: 0; font-size: clamp(30px, 5.6vw, 88px); line-height: 1; letter-spacing: -.028em; font-weight: 700; font-variation-settings: "opsz" 96, "wdth" 78; transition: color .4s, transform .6s var(--ease), font-variation-settings .6s var(--ease); }
.sector .needs { font-family: var(--f-mono); font-size: 12px; color: var(--muted); text-align: right; transition: color .4s; max-width: 22ch; }
.sector .idx { font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-right: 18px; }
.sector .lhs { display: flex; align-items: baseline; }
@media (hover: hover) {
  .sector:hover::before { transform: none; }
  .sector:hover h3 { color: var(--paper); transform: translateX(14px); font-variation-settings: "opsz" 96, "wdth" 100; }
  .sector:hover .needs, .sector:hover .idx { color: var(--copper); }
}
@media (max-width: 640px) { .sector { flex-direction: column; align-items: flex-start; } .sector .needs { text-align: left; } }
.sectors-note { margin-top: 24px; color: var(--muted); font-size: 15px; }

/* ---------------------------------------------------------------- testimonials (placeholders) */
.voices { padding: clamp(90px, 12vw, 180px) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.voices-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 24px; scrollbar-width: none; cursor: grab; }
.voices-row::-webkit-scrollbar { display: none; }
.voices-row.dragging { cursor: grabbing; scroll-snap-type: none; }
.voice {
  scroll-snap-align: start; flex: none; width: min(86vw, 520px); padding: 32px; border-radius: 24px;
  border: 1.5px dashed rgba(242, 239, 232, .28); display: flex; flex-direction: column; gap: 30px; min-height: 340px; user-select: none;
}
.voice .q { font-family: var(--f-serif); font-style: italic; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -.01em; }
.voice .q::before { content: "\201C"; display: block; font-size: 2.4em; line-height: .6; color: var(--copper); height: .4em; }
.voice .who { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.voice .who i { width: 44px; height: 44px; border-radius: 50%; border: 1.5px dashed var(--muted); flex: none; }
.voice .who span { color: var(--muted); font-size: 14px; }
.ph-banner { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; border: 1px dashed var(--copper); color: var(--copper); margin-top: 18px; }

/* ---------------------------------------------------------------- contact */
.contact { padding: clamp(90px, 12vw, 180px) 0 clamp(60px, 8vw, 100px); }
.contact .h2 { font-size: clamp(72px, 19vw, 300px); line-height: .82; font-variation-settings: "opsz" 96, "wdth" 75; letter-spacing: -.035em; }
.contact-grid { display: grid; gap: clamp(40px, 6vw, 90px); margin-top: clamp(40px, 6vw, 80px); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.3fr 1fr; } }
.form { display: grid; gap: 14px; }
.form .row { display: grid; gap: 14px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; padding: 26px 18px 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--card);
  outline: none; transition: border-color .3s, background .3s; font-size: 16px; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 160px; resize: vertical; }
.field select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 17px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--ink-2); color: #f2efe8; }
.field label { position: absolute; left: 19px; top: 18px; color: var(--muted); pointer-events: none; transition: transform .35s var(--ease), color .3s; transform-origin: 0 0; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--copper); background: rgba(255, 106, 44, .04); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-10px) scale(.74); color: var(--copper); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.form-foot small { color: var(--muted); max-width: 40ch; }
.form-status { min-height: 1.5em; font-weight: 500; }
.form-status.ok { color: var(--patina); }
.form-status.err { color: var(--copper); }
.details { display: grid; gap: 0; align-content: start; }
.detail { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); align-items: center; }
.detail:last-child { border-bottom: 1px solid var(--line); }
.detail .d-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--copper); transition: background .3s, color .3s; }
.detail .d-ico svg { width: 18px; height: 18px; }
.detail a:hover .d-ico, a.detail:hover .d-ico { background: var(--copper); color: var(--ink); }
.detail small { display: block; color: var(--muted); font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.detail strong { font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.015em; word-break: break-word; }

/* ---------------------------------------------------------------- footer */
.footer { padding: clamp(60px, 8vw, 100px) 0 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-top { display: grid; gap: 30px; grid-template-columns: 1fr 1fr; }
@media (min-width: 960px) { .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-top .f-intro { grid-column: 1 / -1; max-width: 36ch; color: var(--muted); }
@media (min-width: 960px) { .footer-top .f-intro { grid-column: auto; } }
.footer h4 { margin: 0 0 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer ul a { position: relative; }
.footer ul a:hover { color: var(--copper); }
.giant {
  display: block; margin: clamp(50px, 8vw, 110px) 0 0; padding-bottom: .12em; white-space: nowrap; user-select: none;
  font-size: clamp(50px, 15.2vw, 232px); line-height: .9; font-weight: 800; letter-spacing: -.03em; font-variation-settings: "opsz" 96, "wdth" 75;
  color: transparent;
  background: linear-gradient(90deg, var(--copper), var(--copper)) no-repeat 0 0 / 0% 100%, linear-gradient(var(--ink-3), var(--ink-3));
  -webkit-background-clip: text; background-clip: text;
  transition: background-size 1.4s var(--ease);
}
.giant.is-in { background-size: 100% 100%, auto; }
.giant .cy { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; padding-top: 18px; border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- cursor (desktop only) */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none; border-radius: 50%; display: none; }
@media (hover: hover) and (pointer: fine) {
  html.js.motion.has-cursor, html.js.motion.has-cursor * { cursor: none !important; }
  html.js.motion.has-cursor input, html.js.motion.has-cursor textarea { cursor: text !important; }
  html.js.motion.has-cursor .cursor, html.js.motion.has-cursor .cursor-dot { display: block; }
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--copper); }
.cursor {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(242, 239, 232, .5);
  display: grid; place-items: center; mix-blend-mode: difference;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, border-color .3s, opacity .3s;
}
.cursor span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .2s; }
.cursor.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: #f2efe8; border-color: #f2efe8; }
.cursor.is-label { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--copper); border-color: var(--copper); mix-blend-mode: normal; }
.cursor.is-label span { opacity: 1; }
.cursor.is-hidden { opacity: 0; }

/* ---------------------------------------------------------------- 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; }
.nf .big { font-size: clamp(140px, 36vw, 460px); line-height: .8; font-weight: 800; letter-spacing: -.04em; font-variation-settings: "opsz" 96, "wdth" 75; margin: 0; }
.nf .big .serif { color: var(--copper); font-weight: 400; }
.nf p { color: var(--muted); max-width: 38ch; margin: 24px auto 32px; }

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
