/* ==========================================================================
   Juan José Henao · portfolio
   One accent (tungsten orange) on warm black; mono type only for timecode UI.
   ========================================================================== */
:root {
  --bg: #0a0a0b;
  --bg-2: #121214;
  --bg-3: #1a1a1d;
  --line: rgba(243, 239, 231, 0.1);
  --line-2: rgba(243, 239, 231, 0.18);
  --ink: #f3efe7;
  --mute: #a09b92;
  --dim: #6d6962;
  --accent: #ff5a2b;
  --accent-2: #ff8a4c;
  --on-accent: #120703;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --pad: clamp(16px, 4.2vw, 64px);
  --top-h: 68px;
  --r: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -0.01em; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  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%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- view cut (tab change) ---------- */
.cut {
  position: fixed; inset: 0; z-index: 90; background: var(--accent); pointer-events: none;
  transform: scaleX(0); transform-origin: left center;
}
.cut.is-in { transform: scaleX(1); transition: transform 0.26s var(--ease-io); }
.cut.is-out { transform: scaleX(0); transform-origin: right center; transition: transform 0.34s var(--ease-io); }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--top-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 0 var(--pad);
  background: linear-gradient(rgba(10, 10, 11, 0.86), rgba(10, 10, 11, 0.62));
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1 var(--display); letter-spacing: -0.01em; justify-self: start; }
.brand__mark {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: var(--on-accent);
  transition: transform 0.5s var(--ease), border-radius 0.5s var(--ease);
}
.brand__mark svg { fill: currentColor; stroke: none; font-size: 15px; margin-left: 1px; }
.brand:hover .brand__mark { transform: rotate(-90deg); border-radius: 50%; }

.tabs { position: relative; display: flex; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.tabs__tab { position: relative; z-index: 1; padding: 9px 20px; border-radius: 999px; font: 500 14px/1 var(--body); color: var(--mute); transition: color 0.25s; }
.tabs__tab.is-on { color: var(--on-accent); }
.tabs__tab:not(.is-on):hover { color: var(--ink); }
.tabs__pill { position: absolute; top: 4px; left: 0; height: calc(100% - 8px); width: 0; border-radius: 999px; background: var(--ink); transition: transform 0.45s var(--ease), width 0.45s var(--ease); }

.top__right { display: flex; align-items: center; gap: 14px; justify-self: end; }
.tc { display: inline-flex; align-items: center; gap: 8px; font: 400 12px/1 var(--mono); color: var(--mute); font-variant-numeric: tabular-nums; }
.tc__dot, .rec { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: blink 1.6s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); font: 600 11px/1 var(--mono); letter-spacing: 0.06em; }
.lang span { padding: 6px 8px; border-radius: 999px; color: var(--dim); transition: background 0.25s, color 0.25s; }
.lang span.is-on { background: var(--bg-3); color: var(--ink); }
.top__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.top__progress i { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* ---------- buttons ---------- */
.btn {
  --h: 46px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px; white-space: nowrap; isolation: isolate; overflow: hidden;
  font: 600 15px/1 var(--body); letter-spacing: -0.005em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.25s, border-color 0.25s;
  will-change: transform;
}
.btn > * { position: relative; z-index: 1; }
.btn svg { font-size: 1.15em; transition: transform 0.35s var(--ease); }
.btn::before { /* fill that rises from the pointer's side */
  content: ""; position: absolute; z-index: 0; left: var(--mx, 50%); top: var(--my, 50%);
  width: 0; height: 0; border-radius: 50%; transform: translate(-50%, -50%);
  transition: width 0.5s var(--ease), padding-bottom 0.5s var(--ease);
}
.btn:hover::before { width: 260%; padding-bottom: 260%; }
.btn--sm { --h: 38px; padding: 0 16px; font-size: 13.5px; }
.btn--lg { --h: 54px; padding: 0 26px; font-size: 16px; }
.btn--xl { --h: 64px; padding: 0 32px; font-size: 18px; }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent::before { background: var(--ink); }
.btn--accent:hover { box-shadow: 0 10px 34px -10px rgba(255, 90, 43, 0.7); }
.btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--bg); }
.btn:hover svg { transform: translateX(3px); }
.btn[data-goto="work"]:hover svg { transform: translateY(3px); }
.btn:active { transform: scale(0.97); }

/* ---------- shared section bits ---------- */
html, body { overflow-x: clip; }
main { position: relative; z-index: 2; padding-top: var(--top-h); overflow-x: clip; }
.view { animation: viewIn 0.5s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } }
.sec-head { max-width: 900px; margin-bottom: clamp(24px, 4vw, 44px); }
.kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; font: 400 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.kicker span:first-child { color: var(--accent); }
.kicker span:first-child::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 12px; vertical-align: middle; background: var(--line-2); }
h2 { font: 700 clamp(34px, 6vw, 76px)/0.98 var(--display); letter-spacing: -0.035em; text-wrap: balance; }
.sec-sub { margin-top: 16px; max-width: 56ch; color: var(--mute); font-size: clamp(15px, 1.4vw, 18px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 400 12px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease) var(--d, 0s), transform 0.7s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* headline that arrives word by word, like captions */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 0.8s var(--ease); transition-delay: calc(var(--i) * 45ms + 70ms); }
[data-split].is-in .w > span { transform: none; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; gap: clamp(20px, 4vw, 60px);
  min-height: calc(100svh - var(--top-h)); padding: clamp(28px, 5vw, 64px) var(--pad) clamp(36px, 5vw, 72px);
}
.hero__h1, .phero__h1 { margin: 22px 0 22px; font: 700 clamp(44px, 7.4vw, 112px)/0.93 var(--display); letter-spacing: -0.045em; text-wrap: balance; }
.hero__h1 em, .phero__h1 em, .contact__h2 em { font-size: 1.06em; letter-spacing: -0.03em; }
.hero__sub { max-width: 50ch; color: var(--mute); font-size: clamp(16px, 1.45vw, 19px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__stage { position: relative; display: grid; justify-items: center; gap: 22px; perspective: 1400px; }
.fan { position: relative; width: min(100%, 520px); aspect-ratio: 1 / 1.02; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.5s var(--ease); }
.fan::before { content: ""; position: absolute; inset: 12% 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 90, 43, 0.34), transparent 70%); filter: blur(30px); }
.phone {
  position: absolute; top: 50%; left: 50%; width: 46%; aspect-ratio: 9 / 16; border-radius: clamp(18px, 2.4vw, 30px); overflow: hidden;
  background: #000 center / cover no-repeat; box-shadow: 0 0 0 1px var(--line-2), 0 0 0 5px #050505, 0 30px 60px -18px rgba(0, 0, 0, 0.9);
  transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), var(--z, 0)) rotate(var(--rot, 0deg)) scale(var(--s, 1));
  transition: transform 0.7s var(--ease), filter 0.5s, box-shadow 0.5s; cursor: pointer;
}
.phone video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone--l { --x: -62%; --y: 4%; --z: -60px; --rot: -9deg; --s: 0.86; filter: brightness(0.62) saturate(0.85); }
.phone--r { --x: 62%; --y: 4%; --z: -60px; --rot: 9deg; --s: 0.86; filter: brightness(0.62) saturate(0.85); }
.phone--c { z-index: 2; --z: 40px; }
.phone:hover, .phone:focus-visible { z-index: 3; --s: 1.04; --rot: 0deg; --z: 90px; filter: none; box-shadow: 0 0 0 1px var(--accent), 0 0 0 5px #050505, 0 40px 80px -20px rgba(255, 90, 43, 0.45); }
.fan:has(.phone--l:hover) .phone--c, .fan:has(.phone--r:hover) .phone--c { --s: 0.92; filter: brightness(0.6); }
.hero__hint { display: inline-flex; align-items: center; gap: 8px; font: 400 12px/1 var(--mono); letter-spacing: 0.04em; color: var(--dim); }
.hero__hint svg { font-size: 15px; color: var(--accent); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stat { padding: clamp(20px, 3vw, 38px) var(--pad); border-left: 1px solid var(--line); transition: background 0.4s, opacity 0.7s var(--ease) var(--d, 0s), transform 0.7s var(--ease) var(--d, 0s); }
.stat:first-child { border-left: 0; }
.stat:hover { background: var(--bg-2); }
.stat b { display: block; font: 700 clamp(34px, 5vw, 68px)/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat:hover b { color: var(--accent); }
.stat p { margin-top: 10px; max-width: 22ch; color: var(--mute); font-size: 14px; line-height: 1.4; }

/* ---------- work grid ---------- */
.work, .method, .exp, .contact, .phero, .plist, .early { padding: clamp(64px, 9vw, 132px) var(--pad) 0; }
.filters { display: flex; gap: 8px; margin-bottom: 26px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
.filters::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; white-space: nowrap; flex: none; font: 500 14px/1 var(--body); color: var(--mute); box-shadow: inset 0 0 0 1px var(--line); transition: color 0.25s, background 0.25s, box-shadow 0.25s, transform 0.3s var(--ease); }
.chip i { font: 400 11px/1 var(--mono); font-style: normal; color: var(--dim); transition: color 0.25s; }
.chip:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); transform: translateY(-2px); }
.chip.is-on { background: var(--ink); color: var(--bg); box-shadow: none; }
.chip.is-on i { color: var(--accent); }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 22px); }
.card { position: relative; perspective: 900px; transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.card.is-hiding { opacity: 0; transform: scale(0.94); }
.card__btn { display: block; width: 100%; text-align: left; cursor: pointer; }
.card__frame {
  position: relative; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: var(--bg-2) center / cover no-repeat;
  box-shadow: 0 0 0 1px var(--line); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform 0.45s var(--ease), box-shadow 0.4s;
}
.card__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.35s; }
.card.is-playing .card__frame video { opacity: 1; }
.card__frame::after { /* light that follows the pointer */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.16), transparent 55%);
}
.card__shade { position: absolute; inset: auto 0 0 0; height: 46%; background: linear-gradient(transparent, rgba(0, 0, 0, 0.82)); pointer-events: none; }
.card__top { position: absolute; inset: 10px 10px auto 10px; display: flex; justify-content: space-between; gap: 6px; pointer-events: none; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font: 600 10.5px/1 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); background: rgba(10, 10, 11, 0.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tag--spec { background: var(--ink); color: var(--bg); }
.card__meta { position: absolute; inset: auto 14px 14px 14px; pointer-events: none; }
.card__brand { font: 400 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); }
.card__title { margin-top: 7px; font: 600 clamp(15px, 1.35vw, 19px)/1.12 var(--display); letter-spacing: -0.015em; text-wrap: balance; }
.card__bar { position: absolute; inset: auto 0 0 0; height: 3px; background: rgba(255, 255, 255, 0.14); opacity: 0; transition: opacity 0.3s; }
.card__bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; }
.card__play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: var(--accent); color: var(--on-accent); transform: scale(0); transition: transform 0.4s var(--ease); pointer-events: none; }
.card__play svg { fill: currentColor; stroke: none; font-size: 22px; margin-left: 3px; }
@media (hover: hover) {
  .card:hover .card__frame { box-shadow: 0 0 0 1px var(--accent), 0 26px 60px -24px rgba(255, 90, 43, 0.55); }
  .card:hover .card__frame::after, .card:hover .card__bar { opacity: 1; }
  .grid:has(.card:hover) .card:not(:hover) { opacity: 0.45; }
}
@media (hover: none) { .card__play { transform: scale(0.72); top: auto; left: auto; right: 12px; bottom: 76px; margin: 0; width: 44px; height: 44px; } .card__play svg { font-size: 17px; } }

/* ---------- method / timeline ---------- */
.method__body { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(22px, 4vw, 60px); align-items: start; }
.rule { border-top: 1px solid var(--line); }
.rule:last-child { border-bottom: 1px solid var(--line); }
.rule button { display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; width: 100%; padding: 20px 0; text-align: left; cursor: pointer; }
.rule__n { font: 400 12px/1.9 var(--mono); color: var(--dim); transition: color 0.3s; }
.rule__t { font: 600 clamp(19px, 2vw, 26px)/1.15 var(--display); letter-spacing: -0.02em; color: var(--mute); transition: color 0.3s, transform 0.4s var(--ease); }
.rule__d { grid-column: 2; max-height: 0; color: var(--mute); font-size: 15px; transition: max-height 0.5s var(--ease), margin 0.5s var(--ease), opacity 0.4s; opacity: 0; overflow: hidden; }
.rule.is-on .rule__d { max-height: 140px; margin-top: 10px; opacity: 1; }
.rule.is-on .rule__n { color: var(--accent); }
.rule.is-on .rule__t, .rule button:hover .rule__t { color: var(--ink); }
.rule button:hover .rule__t { transform: translateX(6px); }

.tl { position: sticky; top: calc(var(--top-h) + 20px); border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.tl__bar { display: flex; gap: 18px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 400 11px/1 var(--mono); color: var(--dim); }
.tl__tc { color: var(--accent); font-variant-numeric: tabular-nums; margin-right: auto; }
.tl__ruler { height: 18px; margin-left: 44px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 10%), repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 2%); background-size: 100% 100%, 100% 45%; background-repeat: no-repeat; background-position: 0 100%; }
.tl__tracks { position: relative; padding: 10px 0 14px; }
.tl__track { display: grid; grid-template-columns: 44px 1fr; align-items: center; height: clamp(34px, 5vw, 46px); }
.tl__track em { font: 400 10px/1 var(--mono); font-style: normal; color: var(--dim); text-align: center; letter-spacing: 0; }
.tl__lane { position: relative; height: 72%; }
.clip { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); transition: background 0.4s, box-shadow 0.4s, transform 0.5s var(--ease), opacity 0.4s; overflow: hidden; }
.clip.wave { background-image: repeating-linear-gradient(90deg, rgba(243, 239, 231, 0.22) 0 2px, transparent 2px 5px); background-size: 100% 60%; background-repeat: no-repeat; background-position: 0 50%; }
.clip.gap { opacity: 0.35; background: repeating-linear-gradient(135deg, transparent 0 4px, var(--line-2) 4px 5px); }
.clip.hot { background-color: var(--accent); box-shadow: 0 0 22px -4px rgba(255, 90, 43, 0.8); transform: scaleY(1.14); }
.clip.hot.wave { background-image: repeating-linear-gradient(90deg, rgba(18, 7, 3, 0.55) 0 2px, transparent 2px 5px); }
.clip.gap.hot { opacity: 0; transform: scaleX(0); }
.clip.cutmark::after { content: ""; position: absolute; right: 0; top: -4px; bottom: -4px; width: 2px; background: var(--ink); opacity: 0; transition: opacity 0.3s; }
.tl[data-rule-on="1"] .clip.cutmark::after { opacity: 1; }
.tl__head { position: absolute; top: 0; bottom: 0; left: calc(44px + (100% - 44px) * var(--hp, 0)); width: 1.5px; background: var(--accent); transition: left 0.9s var(--ease); }
.tl__head::before { content: ""; position: absolute; top: -8px; left: -5px; border: 6px solid transparent; border-top-color: var(--accent); }

/* ---------- marquee ---------- */
.stack { margin-top: clamp(64px, 9vw, 132px); border-block: 1px solid var(--line); overflow: hidden; }
.marquee { display: flex; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__row { display: flex; flex: none; align-items: center; padding: 22px 0; animation: slide 46s linear infinite; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee__row span { display: inline-flex; align-items: center; font: 600 clamp(20px, 2.6vw, 34px)/1 var(--display); letter-spacing: -0.02em; color: var(--dim); white-space: nowrap; transition: color 0.3s; }
.marquee__row span:hover { color: var(--ink); }
.marquee__row span::after { content: ""; width: 8px; height: 8px; margin: 0 clamp(18px, 2.6vw, 36px); border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- experience ---------- */
.exp__list li { display: grid; grid-template-columns: minmax(120px, 0.3fr) 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); transition: padding 0.45s var(--ease), background 0.4s, opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.exp__list li:last-child { border-bottom: 1px solid var(--line); }
.exp__list li:hover { padding-left: 16px; background: linear-gradient(90deg, rgba(255, 90, 43, 0.07), transparent 60%); }
.exp__when { font: 400 13px/1.7 var(--mono); color: var(--mute); }
.exp__list h3 { font: 600 clamp(19px, 2vw, 26px)/1.2 var(--display); letter-spacing: -0.02em; }
.exp__list h3 i { font: italic 400 1.02em/1 var(--serif); color: var(--accent-2); margin-left: 6px; }
.exp__list p { margin-top: 6px; max-width: 62ch; color: var(--mute); font-size: 15px; }

/* ---------- projects view ---------- */
.phero { padding-top: clamp(40px, 7vw, 96px); }
.phero__h1 { max-width: 14ch; font-size: clamp(42px, 7vw, 104px); }
.plist { display: grid; gap: clamp(14px, 2vw, 26px); padding-top: clamp(36px, 5vw, 64px); }
.proj { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); border-radius: calc(var(--r) + 6px); overflow: hidden; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.4s, opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.proj:nth-child(even) .proj__media { order: 2; }
.proj:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.proj__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.proj__media img, .proj__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), opacity 0.45s; }
.proj__media video { object-fit: contain; background: #0d0d0f; opacity: 0; }
.proj.is-playing .proj__media video { opacity: 1; }
.proj:hover .proj__media img { transform: scale(1.04); }
.proj__live { position: absolute; left: 14px; top: 14px; z-index: 2; opacity: 0; transform: translateY(-6px); transition: opacity 0.3s, transform 0.4s var(--ease); }
.proj.is-playing .proj__live { opacity: 1; transform: none; }
.proj__body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(22px, 3.6vw, 54px); }
.proj__n { font: 400 12px/1 var(--mono); letter-spacing: 0.08em; color: var(--dim); }
.proj__n b { color: var(--accent); font-weight: 400; }
.proj__name { font: 700 clamp(30px, 4.2vw, 58px)/1 var(--display); letter-spacing: -0.04em; }
.proj__line { font: italic 400 clamp(19px, 2vw, 26px)/1.2 var(--serif); color: var(--accent-2); }
.proj__text { color: var(--mute); font-size: 15.5px; max-width: 52ch; }
.proj__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.proj__tags span, .early__chips a { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; font: 400 11.5px/1 var(--mono); color: var(--mute); box-shadow: inset 0 0 0 1px var(--line); transition: color 0.25s, box-shadow 0.25s, transform 0.3s var(--ease); }
.proj__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.proj__note { font: 400 12px/1 var(--mono); color: var(--dim); }

/* drawn art for the pipeline card */
.art { position: absolute; inset: 0; display: grid; align-content: center; gap: 9px; padding: 9% 8%; background: radial-gradient(120% 90% at 20% 0%, #23150f, #0d0d0f 60%); }
.art i { display: block; height: 16px; border-radius: 5px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); transform-origin: left; animation: grow 3.6s var(--ease) infinite alternate; animation-delay: calc(var(--i) * -0.5s); }
.art i:nth-child(3n + 1) { background: var(--accent); box-shadow: none; }
.art i:nth-child(4n + 2) { background: rgba(243, 239, 231, 0.75); box-shadow: none; }
@keyframes grow { from { transform: scaleX(0.35); } to { transform: scaleX(1); } }
.art b { position: absolute; top: 6%; bottom: 6%; left: 50%; width: 1.5px; background: var(--ink); animation: sweep 5s var(--ease-io) infinite alternate; }
@keyframes sweep { from { left: 12%; } to { left: 88%; } }

.early { display: grid; gap: 16px; justify-items: start; }
.early h3 { font: 600 clamp(18px, 2vw, 24px)/1.2 var(--display); letter-spacing: -0.02em; }
.early__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.early__chips a:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--accent); transform: translateY(-2px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; font-weight: 600; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1px no-repeat; transition: background-size 0.4s var(--ease), color 0.3s; }
.link-arrow svg { transition: transform 0.4s var(--ease); }
.link-arrow:hover { color: var(--accent); background-size: 0 1px; background-position: 100% 100%; }
.link-arrow:hover svg { transform: translate(3px, -3px); }

/* ---------- contact ---------- */
.contact { position: relative; padding-bottom: clamp(56px, 8vw, 110px); text-align: center; display: grid; justify-items: center; }
.contact::before { content: ""; position: absolute; left: 50%; bottom: -30%; width: min(900px, 120vw); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 90, 43, 0.2), transparent 70%); pointer-events: none; }
.contact__h2 { font-size: clamp(48px, 10vw, 150px); line-height: 0.9; letter-spacing: -0.05em; }
.contact__sub { margin-top: 24px; max-width: 54ch; color: var(--mute); font-size: clamp(16px, 1.5vw, 19px); }
.contact__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
#copy { min-width: 190px; }
#copy span { transition: transform 0.4s var(--ease), opacity 0.3s; }
#copy .copy__b { position: absolute; z-index: 1; opacity: 0; transform: translateY(120%); color: var(--accent); }
#copy.is-done .copy__a { opacity: 0; transform: translateY(-120%); }
#copy.is-done .copy__b { opacity: 1; transform: none; }
#copy.is-done:hover .copy__b { color: var(--bg); }
.socials { display: flex; gap: 26px; margin-top: 34px; font: 400 13px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.socials a { position: relative; padding: 8px 0; color: var(--mute); transition: color 0.25s; }
.socials a::after { content: ""; position: absolute; inset: auto 0 2px 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.socials a:hover { color: var(--ink); }
.socials a:hover::after { transform: scaleX(1); transform-origin: left; }
.contact__meta { margin-top: 22px; font: 400 12px/1.5 var(--mono); color: var(--dim); }

.foot { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 16px; padding: 22px var(--pad); border-top: 1px solid var(--line); font: 400 12px/1.4 var(--mono); color: var(--dim); }

/* ---------- mobile dock ---------- */
.dock { display: none; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.lb__bg { position: absolute; inset: 0; background: rgba(6, 6, 7, 0.9); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); opacity: 0; transition: opacity 0.35s; }
.lb.is-open .lb__bg { opacity: 1; }
.lb__inner { position: relative; display: grid; grid-template-columns: auto minmax(280px, 400px); align-items: center; gap: clamp(22px, 4vw, 60px); max-width: calc(100vw - 180px); opacity: 0; transform: scale(0.96) translateY(14px); transition: opacity 0.35s, transform 0.5s var(--ease); }
.lb.is-open .lb__inner { opacity: 1; transform: none; }
.lb.is-swap .lb__inner { opacity: 0; transform: translateX(calc(var(--dir, 1) * -28px)); transition-duration: 0.16s; }
.lb__player { position: relative; height: min(84svh, 860px); aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: #000 center / cover no-repeat; box-shadow: 0 0 0 1px var(--line-2), 0 50px 120px -30px #000; }
.lb__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb__tap { position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; }
.lb__big { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--accent); color: var(--on-accent); transform: scale(0); transition: transform 0.35s var(--ease); }
.lb__big svg { fill: currentColor; stroke: none; font-size: 28px; margin-left: 4px; }
.lb.is-paused .lb__big { transform: none; }
.lb__ctrl { position: absolute; inset: auto 0 0 0; display: flex; align-items: center; gap: 12px; padding: 46px 14px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.78)); }
.lb__ctrl button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: 17px; transition: background 0.25s, transform 0.3s var(--ease); }
.lb__ctrl button:hover { background: rgba(255, 255, 255, 0.16); transform: scale(1.08); }
.lb__pp svg { fill: currentColor; stroke: none; }
.lb__pp .i-play, .lb:not(.is-paused) .lb__pp .i-play { display: none; }
.lb.is-paused .lb__pp .i-play { display: block; }
.lb.is-paused .lb__pp .i-pause { display: none; }
.lb__mute .i-off, .lb.is-muted .lb__mute .i-on { display: none; }
.lb.is-muted .lb__mute .i-off { display: block; }
.lb__scrub { position: relative; flex: 1; height: 22px; cursor: pointer; touch-action: none; }
.lb__scrub::before, .lb__buf, .lb__fill { content: ""; position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; width: 100%; background: rgba(255, 255, 255, 0.22); transition: height 0.2s, margin 0.2s; }
.lb__buf { background: rgba(255, 255, 255, 0.3); transform-origin: left; transform: scaleX(var(--b, 0)); }
.lb__fill { background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.lb__knob { position: absolute; top: 50%; left: calc(var(--p, 0) * 100%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform 0.25s var(--ease); }
.lb__scrub:hover .lb__knob, .lb__scrub.is-drag .lb__knob { transform: none; }
.lb__scrub:hover::before, .lb__scrub:hover .lb__buf, .lb__scrub:hover .lb__fill { height: 5px; margin-top: -2.5px; }
.lb__time { font: 400 12px/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--ink); min-width: 78px; text-align: right; }

.lb__info { max-height: min(84svh, 860px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.lb__count { font: 400 12px/1 var(--mono); letter-spacing: 0.08em; color: var(--accent); }
.lb__title { margin-top: 14px; font: 700 clamp(26px, 3vw, 42px)/1.02 var(--display); letter-spacing: -0.035em; text-wrap: balance; }
.lb__kind { margin-top: 10px; font: italic 400 19px/1.25 var(--serif); color: var(--accent-2); }
.lb__block { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.lb__block h4 { margin-bottom: 10px; font: 400 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.lb__hook { font-size: 16px; }
.lb__did { display: grid; gap: 10px; color: var(--mute); font-size: 15px; }
.lb__did li { position: relative; padding-left: 20px; }
.lb__did li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 1.5px; background: var(--accent); }
.lb__tools { display: flex; flex-wrap: wrap; gap: 6px; }
.lb__tools span { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; font: 400 11.5px/1 var(--mono); color: var(--mute); box-shadow: inset 0 0 0 1px var(--line); }

.lb__close, .lb__nav { position: absolute; z-index: 3; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; font-size: 20px; color: var(--ink); background: rgba(243, 239, 231, 0.08); box-shadow: inset 0 0 0 1px var(--line); transition: background 0.25s, color 0.25s, transform 0.35s var(--ease); }
.lb__close:hover, .lb__nav:hover { background: var(--accent); color: var(--on-accent); }
.lb__close { top: 20px; right: 20px; }
.lb__close:hover { transform: rotate(90deg); }
.lb__nav { top: 50%; margin-top: -25px; }
.lb__nav--prev { left: 20px; } .lb__nav--prev:hover { transform: translateX(-4px); }
.lb__nav--next { right: 20px; } .lb__nav--next:hover { transform: translateX(4px); }
.lb__more { display: none; }

/* ==========================================================================
   Responsive. Phones get their own layout, not a squeezed desktop.
   ========================================================================== */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tc { display: none; }
}
@media (max-width: 900px) {
  :root { --top-h: 58px; }
  .top { grid-template-columns: 1fr auto; }
  .tabs, .top__right .btn { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 26px; gap: 34px; }
  .hero__stage { order: 2; }
  .fan { width: min(100%, 420px); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .method__body { grid-template-columns: 1fr; }
  .tl { position: relative; top: 0; order: -1; }
  .proj, .proj:nth-child(even) { grid-template-columns: 1fr; }
  .proj:nth-child(even) .proj__media { order: 0; }
  .exp__list li { grid-template-columns: 1fr; gap: 6px; }
  .exp__list li:hover { padding-left: 0; }

  .dock {
    position: fixed; z-index: 70; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); transform: translateX(-50%);
    display: flex; gap: 4px; padding: 5px; border-radius: 999px; width: min(420px, calc(100vw - 24px));
    background: rgba(18, 18, 20, 0.82); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px -12px #000;
    transition: transform 0.45s var(--ease);
  }
  .dock.is-away { transform: translate(-50%, 140%); }
  .dock__tab { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 46px; border-radius: 999px; font: 600 13.5px/1 var(--body); color: var(--mute); transition: background 0.3s, color 0.3s, transform 0.2s; }
  .dock__tab svg { font-size: 16px; }
  .dock__tab.is-on { background: var(--ink); color: var(--bg); }
  .dock__tab.is-on svg { fill: currentColor; stroke-width: 1.4; }
  .dock__tab--cta { background: var(--accent); color: var(--on-accent); }
  .dock__tab:active { transform: scale(0.95); }
  .foot { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }

  .lb__inner { display: block; max-width: none; width: 100%; height: 100%; }
  .lb__player { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
  .lb__video { object-fit: contain; }
  .lb__ctrl { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .lb__nav { display: none; }
  .lb__close { top: calc(12px + env(safe-area-inset-top)); right: 12px; width: 44px; height: 44px; background: rgba(10, 10, 11, 0.55); backdrop-filter: blur(10px); }
  .lb__more { position: absolute; z-index: 4; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; font: 600 14px/1 var(--body); background: var(--ink); color: var(--bg); transition: transform 0.2s; }
  .lb__more:active { transform: translateX(-50%) scale(0.96); }
  .lb__more svg { transition: transform 0.4s var(--ease); }
  .lb.is-sheet .lb__more svg { transform: rotate(180deg); }
  .lb__info { position: absolute; z-index: 3; inset: auto 0 0 0; max-height: 72svh; padding: 26px 20px calc(84px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: var(--bg-2); box-shadow: 0 -1px 0 var(--line-2), 0 -30px 60px #000; transform: translateY(102%); transition: transform 0.55s var(--ease); }
  .lb.is-sheet .lb__info { transform: none; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand__name { display: none; }
  .hero__cta .btn, .contact__row .btn { flex: 1 1 100%; }
  .card__title { font-size: 14.5px; }
  .card__meta { inset: auto 10px 12px 10px; }
  .tag { height: 22px; padding: 0 7px; font-size: 9.5px; }
  .socials { gap: 18px; }
  .foot { flex-direction: column; }
}
@media (max-width: 360px) {
  .hero__h1 { font-size: 40px; }
  .card__brand { font-size: 9.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .reveal, [data-split] .w > span { opacity: 1; transform: none; }
}


/* ==========================================================================
   v2: centred hero with the curved reel carousel, calmer and more premium.
   These rules come last on purpose so they win over the earlier hero block.
   ========================================================================== */
.hero {
  display: flex; flex-direction: column; align-items: center; gap: 0; text-align: center; min-height: 0;
  padding: clamp(44px, 6.5vw, 96px) var(--pad) clamp(26px, 4vw, 52px);
}
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px;
  font: 500 13px/1.2 var(--body); color: var(--mute); background: rgba(243, 239, 231, 0.04); box-shadow: inset 0 0 0 1px var(--line-2);
}
.hero__h1 { margin: 28px 0 24px; font-size: clamp(54px, 10vw, 156px); line-height: 0.92; letter-spacing: -0.05em; }
.hero__sub { max-width: 58ch; }
.hero__cta { justify-content: center; margin-top: 32px; }
.hero__hint { margin-top: 18px; }
h2 { letter-spacing: -0.04em; }

/* headline words rise out of a blur; nothing is clipped, so italics keep their overhang */
[data-split] .w { overflow: visible; padding: 0; margin: 0; }
[data-split] .w > span {
  transform: translateY(0.32em); opacity: 0; filter: blur(14px);
  transition: transform 0.9s var(--ease), opacity 0.7s ease, filter 0.9s ease; transition-delay: calc(var(--i) * 80ms + 70ms);
}
[data-split].is-in .w > span { transform: none; opacity: 1; filter: none; }
.hero__h1 em, .phero__h1 em, .contact__h2 em { padding-right: 0.06em; }

.arc {
  position: relative; align-self: stretch; height: calc(var(--u, 1px) * 400); margin: clamp(34px, 5vw, 64px) calc(var(--pad) * -1) 0;
  overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  animation: arcIn 1.2s var(--ease) 0.35s both;
}
@keyframes arcIn { from { opacity: 0; transform: translateY(48px); } }
.arc.is-drag { cursor: grabbing; }
.arc__card { position: absolute; left: 0; top: 0; background: #0e0e10 center / cover no-repeat; cursor: inherit; will-change: transform, clip-path; -webkit-tap-highlight-color: transparent; }
.arc__card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.arc__card.is-ready video { opacity: 1; }
.arc__card:focus-visible { outline: none; filter: brightness(1.25); }
.arc__play {
  position: absolute; left: calc(var(--u) * 12); bottom: calc(var(--pb, 0px) + var(--u) * 12); display: grid; place-items: center;
  width: clamp(24px, calc(var(--u) * 34), 40px); aspect-ratio: 1; border-radius: 50%; color: #fff;
  background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.arc__play svg { fill: currentColor; stroke: none; font-size: 0.8em; margin-left: 1px; width: 42%; height: 42%; }
@media (hover: hover) { .arc:not(.is-drag) .arc__card:hover .arc__play { background: var(--accent); color: var(--on-accent); transform: scale(1.14); } }

/* contact: the checklist offer */
.contact__h2 { max-width: 13ch; font-size: clamp(42px, 7.4vw, 112px); line-height: 0.95; }
.socials { flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 6px; }
.socials li { display: flex; }
.socials #copy { position: relative; min-width: 0; padding: 8px 0; overflow: hidden; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--mute); transition: color 0.25s; }
.socials #copy:hover { color: var(--ink); }
.socials #copy span { display: block; }
.socials #copy .copy__b { left: 0; top: 8px; }
.socials #copy.is-done:hover .copy__b { color: var(--accent); }

@media (max-width: 900px) {
  .hero { padding-top: 34px; gap: 0; }
  .pill { font-size: 12px; padding: 8px 13px; }
}
@media (max-width: 640px) {
  .hero__h1 { font-size: clamp(50px, 16.5vw, 84px); }
  .hero__cta { align-self: stretch; }
}
@media (prefers-reduced-motion: reduce) { .arc { animation: none; } }


/* ==========================================================================
   v3: tagline in the header, free tools, FAQ.
   ========================================================================== */
.brand__text { display: flex; align-items: baseline; gap: 14px; min-width: 0; white-space: nowrap; }
.brand__tag { font: 400 13px/1 var(--body); letter-spacing: 0; color: var(--mute); }
@media (max-width: 1360px) { .brand__tag2 { display: none; } }
@media (max-width: 1120px) and (min-width: 901px) { .brand__tag { display: none; } }
@media (max-width: 480px) { .brand__tag { font-size: 12px; } }

.faq { padding: clamp(64px, 9vw, 132px) var(--pad) 0; }
.faq__list { max-width: 980px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font: 600 clamp(18px, 2vw, 25px)/1.2 var(--display); letter-spacing: -0.02em; transition: color 0.25s, padding 0.4s var(--ease); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent-2); padding-left: 8px; }
.qa summary i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: background 0.3s, transform 0.5s var(--ease), box-shadow 0.3s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: currentColor; transition: transform 0.4s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i { background: var(--accent); color: var(--on-accent); box-shadow: none; transform: rotate(180deg); }
.qa[open] summary i::after { transform: rotate(0deg); }
.qa p { max-width: 68ch; padding: 0 0 26px; color: var(--mute); font-size: clamp(15px, 1.4vw, 17px); animation: qaIn 0.5s var(--ease); }
@keyframes qaIn { from { opacity: 0; transform: translateY(-8px); } }

.contact__h2 { max-width: 16ch; }
.magnets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); width: 100%; max-width: 1180px; margin-top: clamp(30px, 4vw, 52px); text-align: left; }
.magnet {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 280px; padding: clamp(20px, 2.2vw, 30px); border-radius: calc(var(--r) + 4px); overflow: hidden;
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.35s, background 0.35s, opacity 0.7s var(--ease) var(--d, 0s), transform 0.6s var(--ease) var(--d, 0s);
}
.magnet::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 90, 43, 0.18), transparent 60%); pointer-events: none; }
.magnet > * { position: relative; }
.magnet__top { display: flex; justify-content: space-between; align-items: center; font: 400 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.magnet__top b { font-weight: 400; color: var(--accent); }
.magnet__top i { font-style: normal; padding: 6px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--mute); }
.magnet h3 { margin-top: auto; font: 700 clamp(24px, 2.5vw, 34px)/1.05 var(--display); letter-spacing: -0.035em; text-wrap: balance; }
.magnet p { color: var(--mute); font-size: 15px; }
.magnet__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; font-size: 15px; color: var(--ink); }
.magnet__go svg { transition: transform 0.4s var(--ease); }
.magnet--hot { box-shadow: inset 0 0 0 1px rgba(255, 90, 43, 0.5); }
.magnet--hot .magnet__top i { background: var(--accent); color: var(--on-accent); box-shadow: none; }
@media (hover: hover) {
  .magnet.is-in:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--accent), 0 26px 50px -30px rgba(255, 90, 43, 0.6); transition-delay: 0s; }
  .magnet:hover::before { opacity: 1; }
  .magnet:hover .magnet__go { color: var(--accent-2); }
  .magnet:hover .magnet__go svg { transform: translateX(5px); }
}
.contact__or { margin-top: clamp(40px, 5vw, 64px); font: 400 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.contact__row { margin-top: 18px; }
@media (max-width: 900px) {
  .magnets { grid-template-columns: 1fr; }
  .magnet { min-height: 0; }
  .magnet h3 { margin-top: 18px; }
}

/* ============================== v4: three stats, contact push, icon links ============================== */
.stats { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { grid-column: 1 / -1; border-left: 0; }
}
.contact__push { margin-top: clamp(56px, 7vw, 96px); max-width: 18ch; font: 700 clamp(30px, 4.4vw, 62px)/1.02 var(--display); letter-spacing: -0.04em; text-wrap: balance; }
.contact__push em { font: italic 400 1.06em/1 var(--serif); letter-spacing: -0.03em; color: var(--accent); padding-right: 0.06em; }
.contact__row { margin-top: 28px; }
.icos { display: flex; justify-content: center; gap: clamp(12px, 1.6vw, 18px); margin-top: 26px; padding-bottom: 30px; }
.ico { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 50%; color: var(--mute); background: rgba(255, 255, 255, 0.02); overflow: visible; isolation: isolate; transition: color 0.3s, border-color 0.3s, transform 0.45s var(--ease); }
.ico::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform 0.45s var(--ease); }
.ico svg { width: 21px; height: 21px; fill: currentColor; stroke: none; transition: transform 0.45s var(--ease); }
.ico__l { position: absolute; top: calc(100% + 10px); left: 50%; font: 400 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; color: var(--ink); opacity: 0; transform: translate(-50%, -6px); transition: opacity 0.25s, transform 0.35s var(--ease); pointer-events: none; }
.ico:hover, .ico:focus-visible { color: #0b0a09; border-color: var(--accent); }
.ico:hover::before, .ico:focus-visible::before { transform: scale(1); }
.ico:hover svg, .ico:focus-visible svg { transform: scale(1.12) rotate(-6deg); }
.ico:hover .ico__l, .ico:focus-visible .ico__l { opacity: 1; transform: translate(-50%, 0); }
.ico:active { transform: scale(0.94); }
.contact__meta { margin-top: 8px; }
@media (hover: none) { .ico__l { display: none; } .icos { padding-bottom: 12px; } }
@media (prefers-reduced-motion: reduce) { .ico, .ico::before, .ico svg, .ico__l { transition: none; } }
