/* =========================================================
   Ivan Vincent — Portfolio
   Black & white, motion-heavy, no frameworks.
   ========================================================= */

:root {
  --bg: #f3f3f1;
  --bg-2: #eaeae7;
  --card: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #3d3d3d;
  --muted: #8a8a87;
  --line: rgba(10, 10, 10, .09);
  --line-2: rgba(10, 10, 10, .16);
  --inv-bg: #0a0a0a;
  --inv-ink: #f3f3f1;
  --shadow: 0 30px 60px -20px rgba(0,0,0,.18), 0 8px 20px -8px rgba(0,0,0,.08);
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --pad: clamp(20px, 4vw, 56px);
}

[data-theme="dark"] {
  --bg: #0b0b0b;
  --bg-2: #141414;
  --card: #151515;
  --ink: #f2f2ef;
  --ink-2: #c4c4c0;
  --muted: #7d7d7a;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.16);
  --inv-bg: #f2f2ef;
  --inv-ink: #0b0b0b;
  --shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 8px 20px -8px rgba(0,0,0,.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .6s var(--ease), color .6s var(--ease);
}
body.loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--bg); }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: -.01em; }
em { font-style: italic; font-weight: 400; font-family: Georgia, "Times New Roman", serif; }

/* ============ PRELOADER ============ */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: #0a0a0a; color: #f3f3f1;
  display: grid; place-items: center;
  transition: clip-path 1.1s var(--ease);
  clip-path: inset(0 0 0 0);
}
.loader.done { clip-path: inset(0 0 100% 0); }
.loader__inner { width: min(420px, 80vw); }
.loader__bar { height: 1px; background: #2a2a2a; margin: 22px 0 12px; overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 0; background: #f3f3f1; transition: width .2s linear; }
.loader__count { text-align: right; color: #888; }
@keyframes rise { to { transform: translateY(0); } }

/* ============ GLOBAL LAYERS ============ */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  background: var(--ink); transform-origin: 0 50%; transform: scaleX(0);
  z-index: 200;
}
.grain {
  position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: .05;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-5%,4%); }
  40% { transform: translate(4%,-6%); } 60% { transform: translate(-3%,6%); } 80% { transform: translate(6%,-3%); }
}

/* Custom cursor */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 950; mix-blend-mode: difference; }
.cursor {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  border: 1px solid #fff; display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s var(--ease);
}
.cursor span { font-family: var(--mono); font-size: 11px; color: #000; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-label { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: #fff; }
.cursor.is-label span { opacity: 1; }
.cursor.is-hover { width: 60px; height: 60px; margin: -30px 0 0 -30px; background: #fff; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }
@media (hover: hover) and (pointer: fine) { body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; } }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: grid; grid-template-columns: auto auto 1fr auto; align-items: center;
  height: 60px; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  transition: transform .5s var(--ease), background .6s;
}
.nav.hide { transform: translateY(-100%); }
.nav > * { height: 100%; display: flex; align-items: center; }
.nav__brand { gap: 10px; padding: 0 22px; font-weight: 500; font-size: .95rem; border-right: 1px solid var(--line); }
.avatar { position: relative; width: 30px; height: 30px; border-radius: 8px; overflow: hidden; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: .7rem; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.nav__status { gap: 8px; padding: 0 22px; font-size: .88rem; border-right: 1px solid var(--line); }
.hatch { background-image: repeating-linear-gradient(135deg, var(--line) 0 1px, transparent 1px 7px); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #ff5a1f; position: relative; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #ff5a1f; animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.nav__links { gap: 26px; padding: 0 24px; font-size: .9rem; }
.nav__links a { color: var(--muted); position: relative; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover, .nav__links a.active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav__right { gap: 16px; padding: 0 22px; }
.nav__clock { font-size: .85rem; }
.theme-btn { width: 40px; height: 22px; border-radius: 99px; border: 1px solid var(--line-2); background: transparent; position: relative; cursor: pointer; }
.theme-btn span { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); transition: transform .5s var(--ease); }
[data-theme="dark"] .theme-btn span { transform: translateX(18px); }
.menu-btn { display: none; width: 34px; height: 34px; border: 0; background: none; flex-direction: column; justify-content: center; gap: 6px; cursor: pointer; }
.menu-btn i { display: block; height: 1.5px; width: 22px; background: var(--ink); transition: transform .4s var(--ease); }
.menu-btn.open i:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-btn.open i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 60px 0 0 0; z-index: 99; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; padding: var(--pad); gap: 8px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease);
}
.mobile-menu.open { clip-path: inset(0 0 0 0); }
.mobile-menu a { font-size: clamp(2.2rem, 10vw, 3.4rem); font-weight: 600; letter-spacing: -.04em; border-bottom: 1px solid var(--line); padding: 6px 0; }

/* ============ BUTTONS / CHIPS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 99px; font-weight: 500; font-size: .92rem;
  border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s, color .4s;
  isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn--dark { background: var(--ink); color: var(--bg); box-shadow: 0 10px 24px -10px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.15); }
.btn--dark::before { background: #444; }
[data-theme="dark"] .btn--dark::before { background: #bbb; }
.btn--ghost { border-color: var(--line-2); background: var(--card); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--bg); }
.btn:hover::before { transform: translateY(0); }
.btn--block { width: 100%; border-radius: 10px; }
.chip { display: inline-flex; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line); }
.chip b { font-weight: 500; color: var(--ink); }
.link-arrow { font-size: .92rem; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color .3s; white-space: nowrap; }
.link-arrow:hover { border-color: var(--ink); }
.ul { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); border-bottom: 1px solid var(--line-2); }
.ul:hover { background-size: 100% 1px; }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: clamp(640px, 100vh, 1000px); padding: 120px var(--pad) 80px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--line-2) 1px, transparent 1.2px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse at 70% 45%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 45%, #000 20%, transparent 70%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.orb--1 { width: 520px; height: 520px; right: -120px; top: 10%; background: radial-gradient(circle, rgba(0,0,0,.12), transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.orb--2 { width: 380px; height: 380px; left: 30%; bottom: -120px; background: radial-gradient(circle, rgba(255,255,255,.9), transparent 65%); animation: drift 14s ease-in-out infinite alternate-reverse; }
[data-theme="dark"] .orb--1 { background: radial-gradient(circle, rgba(255,255,255,.08), transparent 65%); }
[data-theme="dark"] .orb--2 { background: radial-gradient(circle, rgba(255,255,255,.05), transparent 65%); }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.1); } }

.hero__title { font-size: clamp(2.6rem, 5.6vw, 5.2rem); line-height: .98; letter-spacing: -.055em; font-weight: 600; margin: 22px 0 22px; }
.hero__title em { letter-spacing: -.03em; }
.hero__sub { max-width: 500px; color: var(--ink-2); font-size: 1.06rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; max-width: 520px; }
.tags .tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; cursor: pointer;
  background: var(--card); border: 1px dashed var(--line-2); font-size: .86rem; color: var(--ink-2);
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s;
}
.tags .tag span { font-size: .8rem; opacity: .6; }
.tags .tag:hover, .tags .tag:focus-visible { transform: translateY(-3px); background: var(--ink); color: var(--bg); border-color: var(--ink); border-style: solid; }
.tags .tag:active { transform: translateY(-1px) scale(.97); }

/* Floating cards */
.hero__right { position: relative; height: min(600px, 70vh); perspective: 1200px; }
.float-card {
  position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px; will-change: transform;
  transition: transform .9s var(--ease);
}
.card-chart { width: 78%; left: 6%; top: 12%; color: var(--ink); animation: bob 7s ease-in-out infinite; }
.fc-head { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.badge { font-family: var(--mono); font-size: .7rem; padding: 3px 8px; border-radius: 99px; background: var(--ink); color: var(--bg); }
.fc-big { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 600; letter-spacing: -.04em; margin: 6px 0 4px; }
.fc-big sup { font-size: .45em; color: var(--muted); }
.chart { width: 100%; height: 110px; display: block; }
.chart-line { stroke-dasharray: 600; stroke-dashoffset: 600; }
.in .chart-line, .chart-line.draw { animation: draw 2.4s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.fc-bars { display: flex; gap: 6px; align-items: flex-end; height: 50px; margin-top: 10px; }
.fc-bars i { flex: 1; height: var(--h); background: var(--bg-2); border-radius: 4px; transform-origin: bottom; animation: grow 1.2s var(--ease) both; }
.fc-bars i:nth-child(6) { background: var(--ink); }
.fc-bars i:nth-child(n) { animation-delay: calc(var(--i, 0) * 80ms + .8s); }
@keyframes grow { from { transform: scaleY(0); } }

.card-roas { right: 0; top: 0; width: 170px; display: grid; gap: 2px; animation: bob 6s ease-in-out -2s infinite; }
.card-roas span { color: var(--muted); }
.card-roas strong { font-size: 2rem; letter-spacing: -.04em; font-weight: 600; }
.ring { position: absolute; right: 16px; top: 16px; width: 42px; height: 42px; }
.ring svg { transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 0 100; stroke-linecap: round; animation: ring 2.2s var(--ease) 1s forwards; }
@keyframes ring { to { stroke-dasharray: 78 100; } }

.card-order { left: 0; bottom: 14%; display: flex; gap: 12px; align-items: center; padding: 12px 18px 12px 12px; animation: bob 8s ease-in-out -4s infinite; }
.card-order.swap { animation: pop .7s var(--ease), bob 8s ease-in-out -4s infinite; }
.order-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; font-size: 1rem; filter: grayscale(1); }
.card-order b { display: block; font-size: .9rem; font-weight: 600; }
.card-order small { color: var(--muted); }
@keyframes pop { 0% { opacity: 0; scale: .85; } 100% { opacity: 1; scale: 1; } }

.card-task { right: 2%; bottom: 4%; width: 230px; animation: bob 9s ease-in-out -1s infinite; }
.card-task span { color: var(--muted); }
.card-task ul { margin-top: 8px; display: grid; gap: 8px; font-size: .86rem; }
.card-task li { display: flex; gap: 8px; align-items: center; }
.card-task li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line-2); flex: none; }
.card-task li.done { color: var(--muted); text-decoration: line-through; }
.card-task li.done::before { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 3px var(--card); }

@keyframes bob { 50% { translate: 0 -12px; } }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); }
.scroll-hint i { width: 1px; height: 46px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--ink); animation: drop 1.8s var(--ease) infinite; }
@keyframes drop { to { top: 100%; } }

/* ============ MARQUEE ============ */
/* Static platform strip (no movement) */
.marquee { border-block: 1px solid var(--line); background: var(--inv-bg); color: var(--inv-ink); padding: 26px var(--pad); }
.marquee__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 26px; }
.marquee__row span { font-size: clamp(1.1rem, 2.2vw, 1.7rem); font-weight: 600; letter-spacing: -.03em; white-space: nowrap; opacity: .85; transition: opacity .3s; }
.marquee__row span:hover { opacity: 1; }
.marquee__row b { font-size: .7rem; opacity: .35; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ STATS ============ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.stat { padding: 46px var(--pad); border-right: 1px solid var(--line); display: grid; gap: 4px; }
.stat:last-child { border-right: 0; }
.stat strong { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.stat > span { color: var(--muted); font-size: .9rem; }

/* ============ SECTIONS ============ */
.section { padding: clamp(80px, 12vw, 150px) var(--pad); position: relative; }
.section--dark { background: var(--inv-bg); color: var(--inv-ink); --line: rgba(255,255,255,.1); --line-2: rgba(255,255,255,.2); --muted: #8b8b88; --card: #141414; --ink: #f3f3f1; }
[data-theme="dark"] .section--dark { --line: rgba(0,0,0,.1); --line-2: rgba(0,0,0,.2); --muted: #6a6a68; --card: #fff; --ink: #0a0a0a; }
.section--soft { background: var(--bg-2); }
.section__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 14px 40px; margin-bottom: clamp(40px, 6vw, 70px); }
.section__head .eyebrow { grid-column: 1 / -1; }
.section__head h2, .about h2, .contact h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.05em; font-weight: 600; max-width: 14ch; }
.eyebrow { color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }

/* ============ WORK ============ */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.work {
  position: relative; display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3;
  background: #0d0d0d; color: #fff; transform-style: preserve-3d;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.work:hover { box-shadow: 0 40px 80px -30px rgba(0,0,0,.45); }
.work__visual { position: absolute; inset: 0; display: grid; place-items: center; transition: transform 1s var(--ease), filter 1s; }
.work:hover .work__visual { transform: scale(1.05); }
.work__meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 22px 20px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.work__meta .mono { color: #bbb; }
.work__meta h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; letter-spacing: -.03em; }
.work__arrow { position: absolute; right: 22px; bottom: 22px; font-size: 1.4rem; transition: transform .5s var(--ease); }
.work:hover .work__arrow { transform: translate(4px, -4px) rotate(45deg); }

/* Card visuals (CSS-only mockups, all grayscale) */
.v-google { background: radial-gradient(circle at 20% 10%, #555, #111 60%); }
.mock-window { width: 70%; background: #f5f5f3; color: #111; border-radius: 14px; padding: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.5); transform: rotate(-3deg) translateY(-14px); }
.mw-bar { display: flex; gap: 5px; margin-bottom: 12px; }
.mw-bar i { width: 8px; height: 8px; border-radius: 50%; background: #cfcfcc; }
.mw-search { font-size: .75rem; color: #888; border: 1px solid #ddd; border-radius: 8px; padding: 7px 10px; margin-bottom: 12px; }
.mw-rows { display: grid; gap: 10px; }
.mw-rows div { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px; font-size: .72rem; }
.mw-rows em { height: 6px; border-radius: 9px; background: #e3e3e0; position: relative; overflow: hidden; }
.mw-rows em::after { content: ""; position: absolute; inset: 0; width: var(--w); background: #111; border-radius: inherit; transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .3s; }
.work.in .mw-rows em::after { transform: scaleX(1); }

.v-meta { background: conic-gradient(from 200deg at 70% 30%, #1a1a1a, #4a4a4a, #0e0e0e, #2c2c2c, #1a1a1a); gap: 0; }
.phone { width: 34%; aspect-ratio: 9/18; background: #050505; border-radius: 26px; padding: 8px; border: 1px solid #333; box-shadow: 0 30px 60px rgba(0,0,0,.6); transform: translateY(-14px) rotate(4deg); }
.phone__notch { width: 30%; height: 10px; background: #000; border-radius: 0 0 8px 8px; margin: 0 auto 6px; }
.phone__post { background: #fafafa; color: #111; border-radius: 18px; height: calc(100% - 16px); padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.pp-head { display: flex; align-items: center; gap: 5px; font-size: .55rem; font-weight: 600; }
.pp-head i { width: 14px; height: 14px; border-radius: 50%; background: #111; }
.pp-head small { margin-left: auto; color: #999; font-weight: 400; }
.pp-img { flex: 1; border-radius: 10px; background: linear-gradient(135deg, #222, #777); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1rem; text-align: center; line-height: .95; letter-spacing: -.04em; }
.pp-cta { font-size: .6rem; background: #111; color: #fff; padding: 5px; border-radius: 6px; text-align: center; }
.sched { position: absolute; top: 22px; right: 22px; display: flex; gap: 4px; }
.sched span { padding: 4px 7px; border-radius: 6px; background: rgba(255,255,255,.08); color: #aaa; font-size: .6rem; }
.sched span.on { background: #fff; color: #000; }

.v-shopify { background: linear-gradient(160deg, #e9e9e6, #9a9a97); }
.store { width: 74%; background: #fff; color: #111; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: translateY(-14px); }
.store__nav { display: flex; justify-content: space-between; padding: 8px 12px; font-size: .6rem; border-bottom: 1px solid #eee; }
.store__nav span { color: #888; }
.store__hero { height: 90px; background: linear-gradient(120deg, #111, #555); color: #fff; display: flex; align-items: center; padding: 0 16px; font-size: 1.2rem; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.store__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px; }
.store__grid i { aspect-ratio: 3/4; background: #ececea; border-radius: 6px; }
.store__grid i:nth-child(2) { background: #cfcfcc; }

.v-email { background: radial-gradient(circle at 80% 20%, #3a3a3a, #0b0b0b 70%); }
.flow { display: flex; flex-direction: column; align-items: center; transform: translateY(-20px); }
.node { font-size: .72rem; font-family: var(--mono); background: #1b1b1b; color: #ddd; border: 1px solid #333; padding: 8px 14px; border-radius: 10px; }
.node--dark { background: #fff; color: #000; border-color: #fff; }
.edge { width: 1px; height: 18px; background: repeating-linear-gradient(#666 0 3px, transparent 3px 6px); background-size: 1px 6px; animation: flowdash 1s linear infinite; }
@keyframes flowdash { to { background-position: 0 6px; } }

.v-amazon { background: linear-gradient(200deg, #2a2a2a, #0a0a0a); }
.listing { width: 74%; display: grid; grid-template-columns: 1fr 1.2fr; gap: 14px; background: #f7f7f5; color: #111; padding: 14px; border-radius: 14px; transform: translateY(-14px) rotate(-2deg); box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.listing__img { aspect-ratio: 1; border-radius: 10px; background: radial-gradient(circle at 50% 40%, #fff, #bbb); }
.listing__txt { display: flex; flex-direction: column; gap: 7px; }
.listing__txt i { height: 7px; background: #ddd; border-radius: 9px; }
.stars { font-size: .75rem; letter-spacing: 1px; }
.listing__txt b { font-size: .6rem; background: #111; color: #fff; padding: 3px 7px; border-radius: 4px; align-self: flex-start; }

.v-va { background: linear-gradient(140deg, #d8d8d5, #6d6d6a); }
.kanban { width: 78%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; transform: translateY(-16px); }
.kanban div { background: rgba(255,255,255,.85); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 6px; color: #111; min-height: 120px; }
.kanban i { height: 26px; border-radius: 6px; background: #fff; border: 1px solid #e4e4e1; }
.kanban div:last-child i { background: #111; border-color: #111; }

/* ============ ARCHIVE ============ */
.archive { margin-top: clamp(70px, 10vw, 120px); }
.archive__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.archive__head h3 { font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.archive__head sup { font-size: .9rem; color: var(--muted); vertical-align: super; margin-left: 4px; }
.search { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--card); min-width: min(320px, 100%); color: var(--muted); transition: border-color .3s, box-shadow .3s; }
.search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 8%, transparent); }
.search input { border: 0; outline: 0; background: none; width: 100%; color: var(--ink); font-size: .92rem; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; cursor: pointer;
  border: 1px solid var(--line-2); background: transparent; font-size: .86rem; color: var(--ink-2);
  transition: background .35s var(--ease), color .35s, border-color .35s, transform .35s var(--ease);
}
.filter small { font-family: var(--mono); font-size: .7rem; color: var(--muted); transition: color .35s; }
.filter:hover { transform: translateY(-2px); border-color: var(--ink); }
.filter.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter.on small { color: color-mix(in srgb, var(--bg) 60%, transparent); }

.rows { border-top: 1px solid var(--line-2); }
.row {
  display: grid; grid-template-columns: 56px 1fr 190px 170px 30px; align-items: center; gap: 16px;
  padding: 18px 10px; border-bottom: 1px solid var(--line); position: relative; isolation: isolate;
  animation: rowIn .6s var(--ease) both; animation-delay: calc(var(--k, 0) * 25ms);
}
.row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.row:hover::before { transform: scaleY(1); transform-origin: top; }
.row:hover { color: var(--bg); }
.row__n { font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.row__t { font-size: clamp(1rem, 1.5vw, 1.18rem); font-weight: 500; letter-spacing: -.02em; transition: transform .45s var(--ease); }
.row:hover .row__t { transform: translateX(8px); }
.row__c { justify-self: start; font-family: var(--mono); font-size: .72rem; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line-2); white-space: nowrap; }
.row__b { color: var(--muted); font-size: .9rem; }
.row:hover .row__n, .row:hover .row__b { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.row:hover .row__c { border-color: color-mix(in srgb, var(--bg) 40%, transparent); }
.row__a { justify-self: end; transition: transform .45s var(--ease); }
.row:hover .row__a { transform: rotate(45deg); }
@keyframes rowIn { from { opacity: 0; transform: translateY(14px); } }
.archive__foot { display: flex; justify-content: center; margin-top: 30px; }
.archive__empty { color: var(--muted); padding: 30px 0; }

/* ============ BRANDS STRIP ============ */
.brands { padding: 34px 0; border-block: 1px solid var(--line); overflow: hidden; position: relative; }
.brands__label { display: block; text-align: center; color: var(--muted); margin-bottom: 18px; }
.brands__track { display: flex; width: max-content; gap: 56px; animation: marquee 45s linear infinite reverse; }
.brands__track span { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -.03em; white-space: nowrap; color: var(--muted); transition: color .3s; }
.brands__track span:hover { color: var(--ink); }
.brands::before, .brands::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
.brands::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.brands::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

/* ============ BENTO ============ */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); gap: 14px; }
.tile {
  position: relative; overflow: hidden; border-radius: 20px; padding: 28px;
  background: var(--card); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  transition: transform .5s var(--ease), border-color .4s;
}
.tile:hover { transform: translateY(-4px); border-color: var(--line-2); }
.tile--lg { grid-column: span 2; grid-row: span 2; }
.tile--wide { grid-column: 1 / -1; }
.tile h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 500; letter-spacing: -.03em; position: relative; z-index: 1; }
.tile--lg h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.tile p { color: var(--muted); max-width: 40ch; position: relative; z-index: 1; }
.tile__n { position: absolute; top: 24px; left: 28px; color: var(--muted); }
/* spotlight that follows the mouse */
.spot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--ink) 10%, transparent), transparent 60%);
}
.spot:hover::before { opacity: 1; }
.tile__deco { position: absolute; inset: 0; pointer-events: none; }
.deco-grid {
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 75%);
  animation: gridmove 10s linear infinite;
}
@keyframes gridmove { to { background-position: 34px 34px; } }
.deco-lines {
  background: repeating-linear-gradient(135deg, var(--line) 0 1px, transparent 1px 10px);
  mask-image: linear-gradient(to left, #000, transparent 70%); -webkit-mask-image: linear-gradient(to left, #000, transparent 70%);
}

/* ============ PROCESS ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); counter-reset: s; }
.step { padding: 30px 24px 10px 0; position: relative; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--ink); transition: width 1.2s var(--ease); }
.step.in::before { width: 100%; }
.step__n { font-size: clamp(3rem, 6vw, 5rem); font-weight: 600; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-2); display: block; margin-bottom: 20px; transition: color .5s, -webkit-text-stroke-color .5s; }
.step:hover .step__n { color: var(--ink); -webkit-text-stroke-color: var(--ink); }
.step h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; margin-bottom: 6px; }
.step p { color: var(--muted); max-width: 30ch; }

/* ============ ABOUT ============ */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.about__photo { position: sticky; top: 100px; }
.photo-frame { position: relative; aspect-ratio: 4/5; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #2b2b2b, #0a0a0a); display: grid; place-items: center; }
.photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .8s, transform 1.2s var(--ease); z-index: 1; }
.photo-frame:hover img { filter: grayscale(0); transform: scale(1.04); }
.photo-fallback { font-size: 6rem; font-weight: 700; color: #f3f3f1; letter-spacing: -.06em; }
.corner { position: absolute; width: 18px; height: 18px; border: 1.5px solid #fff; z-index: 2; mix-blend-mode: difference; }
.corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.corner.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.about__loc { margin-top: 14px; color: var(--muted); }
.about__text h2 { margin: 16px 0 26px; max-width: 16ch; }
.about__text p { font-size: 1.12rem; color: var(--ink-2); max-width: 56ch; margin-bottom: 16px; }

.quote { margin-top: 44px; padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); position: relative; overflow: hidden; }
.quote::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, var(--line) 0 1px, transparent 1px 8px); mask-image: linear-gradient(to right, transparent 60%, #000); -webkit-mask-image: linear-gradient(to right, transparent 60%, #000); pointer-events: none; }
.quote__mark { font-family: Georgia, serif; font-size: 5rem; line-height: .6; height: 34px; color: var(--muted); }
.quote blockquote { font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: -.02em; line-height: 1.35; margin: 6px 0 22px; position: relative; z-index: 1; }
.quote figcaption { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.q-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: .8rem; font-weight: 600; }
.quote b { display: block; font-weight: 500; }
.quote small { color: var(--muted); }

/* ============ BLOG ============ */
.posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.post {
  display: flex; flex-direction: column; gap: 14px; padding: 24px; min-height: 250px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  transition: transform .5s var(--ease), background .4s, color .4s;
}
.post h3 { font-size: 1.15rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; flex: 1; }
.post__cat { align-self: flex-start; padding: 4px 9px; border-radius: 99px; border: 1px solid var(--line-2); }
.post__date { display: flex; justify-content: space-between; color: var(--muted); }
.post__date b { font-weight: 400; transition: transform .4s var(--ease); }
.post:hover { background: var(--ink); color: var(--bg); transform: translateY(-6px); }
.post:hover .post__cat { border-color: currentColor; }
.post:hover .post__date b { transform: translate(3px, -3px); }

/* ============ AD SLOT ============ */
.ad-slot[hidden] { display: none; }
.ad-slot { margin: 0 var(--pad); padding: 20px; min-height: 120px; border: 1px dashed var(--line-2); border-radius: 14px; display: grid; place-items: center; color: var(--muted); }

/* ============ CONTACT ============ */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; z-index: -1; }
.contact__bg .dots { mask-image: radial-gradient(ellipse at 75% 50%, #000 15%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 75% 50%, #000 15%, transparent 65%); }
.contact__left h2 { margin: 16px 0 18px; }
.contact__left > p { color: var(--ink-2); font-size: 1.1rem; max-width: 42ch; }
.contact__links { display: grid; gap: 22px; justify-items: start; margin-top: 30px; }
.mail { font-size: 1rem; }
.socials { display: flex; gap: 22px; font-size: .92rem; color: var(--muted); }
.socials a { transition: color .3s; }
.socials a:hover { color: var(--ink); }

.form { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-family: var(--mono); font-size: .74rem; color: var(--muted); }
.form input, .form textarea, .form select {
  font-family: var(--font); font-size: .92rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; outline: none; resize: vertical;
  transition: border-color .3s, box-shadow .3s;
}
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 8%, transparent); }
.form .invalid { border-color: #d33; }
.form__note { min-height: 1.2em; color: var(--muted); }

/* ============ FOOTER ============ */
.footer { background: var(--inv-bg); color: var(--inv-ink); padding: 60px var(--pad) 26px; overflow: hidden; }
.footer__big { display: flex; justify-content: space-between; font-size: clamp(4rem, 16vw, 15rem); font-weight: 700; letter-spacing: -.07em; line-height: .85; }
.footer__big span { display: inline-block; transform: translateY(40%); opacity: 0; transition: transform 1.4s var(--ease), opacity 1.4s; }
.footer__big span:nth-child(2) { -webkit-text-stroke: 1.5px currentColor; color: transparent; transition-delay: .12s; }
.footer.in .footer__big span { transform: none; opacity: 1; }
.footer__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(128,128,128,.25); opacity: .7; }
.to-top:hover { opacity: 1; text-decoration: underline; }

/* ============ REVEAL ANIMATIONS ============ */
.reveal { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(16px) scale(.96); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%) rotate(4deg); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split.in .w > span { transform: none; }
.work.reveal { transform: translateY(60px) scale(.97); }
.work.reveal.in { transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav__links { display: none; }
  .menu-btn { display: flex; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 100px; }
  .hero > * { min-width: 0; }
  .hero__title { font-size: clamp(2.3rem, 10vw, 3.4rem); }
  .hero__right { height: 460px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .work-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .about, .contact { grid-template-columns: 1fr; }
  .about__photo { position: relative; top: 0; max-width: 380px; }
  .row { grid-template-columns: 40px 1fr 24px; row-gap: 6px; }
  .row__c, .row__b { grid-column: 2; }
  .row__c { grid-row: 2; }
  .row__b { grid-row: 3; font-size: .82rem; }
  .row__a { grid-row: 1; grid-column: 3; }
  .section__head { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
}
@media (max-width: 600px) {
  .nav__status { display: none; }
  .nav__brand { border-right: 0; }
  .nav__clock { display: none; }
  .bento, .posts, .steps { grid-template-columns: 1fr; }
  .tile--lg, .tile--wide { grid-column: auto; grid-row: auto; }
  .form__row { grid-template-columns: 1fr; }
  .work { aspect-ratio: 4 / 4.6; }
  .work__visual { align-content: start; padding-top: 12%; }
  .card-order { bottom: 2%; }
  .hero__right { height: 400px; }
  .card-roas { width: 140px; }
  .card-task { width: 200px; }
  .footer__big { flex-direction: column; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > *, .split .w > span { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* =========================================================
   MULTI-PAGE ADDITIONS
   ========================================================= */

/* ---------- Skip link ---------- */
.skip { position: fixed; left: 12px; top: -60px; z-index: 400; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; transition: top .3s; }
.skip:focus { top: 12px; }

/* ---------- Page curtain transition ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 900; background: #0a0a0a; color: #f3f3f1;
  display: grid; place-items: center; pointer-events: none;
  transform: translateY(100%);
}
.curtain.is-covering { transform: none; }
.curtain.is-entering { transform: none; transition: transform .6s var(--ease); pointer-events: all; }
.curtain.is-leaving { transform: translateY(-100%); transition: transform .85s var(--ease); }
.curtain:not(.is-covering):not(.is-entering):not(.is-leaving) { visibility: hidden; }

/* ---------- Nav active state ---------- */
.nav.scrolled { box-shadow: 0 10px 30px -20px rgba(0,0,0,.25); }
.nav__links { gap: 22px; }
.mobile-menu a.active { color: var(--muted); }

/* ---------- Tools marquee (2 rows, opposite directions) ---------- */
.tools-sec { padding: clamp(70px, 10vw, 120px) 0; overflow: hidden; }
.tools-sec .section__head { padding: 0 var(--pad); }
.tools { display: grid; gap: 16px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tools__row { display: flex; width: max-content; }
.tools__track { display: flex; gap: 14px; padding-right: 14px; animation: marquee-x 55s linear infinite; }
.tools__row--rev .tools__track { animation-direction: reverse; animation-duration: 60s; }
.tools:hover .tools__track { animation-play-state: paused; }
@keyframes marquee-x { to { transform: translateX(-100%); } }
.tool {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 14px; border-radius: 99px;
  background: var(--card); border: 1px solid var(--line-2); font-weight: 500; font-size: 1.02rem; white-space: nowrap;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .3s;
}
.tool img { width: 22px; height: 22px; filter: grayscale(1) contrast(1.1); opacity: .85; transition: filter .4s, opacity .4s; }
[data-theme="dark"] .tool img { filter: grayscale(1) invert(1) brightness(1.4); }
.tool:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 12px 24px -14px rgba(0,0,0,.3); }
.tool:hover img { filter: none; opacity: 1; }
.tool__ltr { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: .72rem; font-weight: 700; }

/* ---------- Footer (new layout) ---------- */
.footer__cta { display: grid; gap: 14px; padding-bottom: 50px; border-bottom: 1px solid rgba(128,128,128,.25); }
.footer__cta .mono { opacity: .6; }
.footer__mail { font-size: clamp(2rem, 6vw, 4.6rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; display: inline-flex; align-items: center; gap: .3em; width: fit-content; }
.footer__mail i { font-style: normal; display: inline-block; transition: transform .6s var(--ease); }
.footer__mail:hover i { transform: translateX(16px) rotate(-45deg); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 40px 0; }
.footer__cols > div { display: grid; gap: 8px; align-content: start; }
.footer__cols .mono { opacity: .5; margin-bottom: 6px; }
.footer__cols a, .footer__cols p { opacity: .8; transition: opacity .3s; width: fit-content; }
.footer__cols a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 700px) { .footer__cols { grid-template-columns: 1fr; } }

/* ---------- Sub-page hero ---------- */
.page-hero { position: relative; padding: 150px var(--pad) 60px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero .dots { mask-image: radial-gradient(ellipse at 80% 30%, #000 10%, transparent 60%); -webkit-mask-image: radial-gradient(ellipse at 80% 30%, #000 10%, transparent 60%); z-index: -1; }
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 7rem); line-height: .92; letter-spacing: -.06em; font-weight: 600; margin: 18px 0 22px; max-width: 14ch; }
.page-hero p { color: var(--ink-2); font-size: 1.12rem; max-width: 56ch; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 36px; }
.page-hero__meta div { display: grid; }
.page-hero__meta strong { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.page-hero__meta div > span { color: var(--muted); font-size: .88rem; }

/* ---------- Fill text (scroll scrub) ---------- */
.fill-sec { padding: clamp(90px, 14vw, 180px) var(--pad); }
.fill-text { font-size: clamp(2rem, 5.2vw, 4.6rem); line-height: 1.05; letter-spacing: -.045em; font-weight: 600; max-width: 20ch; }
.fill-text span { opacity: .12; }

/* ---------- Analyzer promo band (home) ---------- */
.promo { margin: 0 var(--pad); border-radius: 28px; background: var(--inv-bg); color: var(--inv-ink); padding: clamp(36px, 6vw, 70px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.promo::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(128,128,128,.35) 1px, transparent 1.2px); background-size: 18px 18px; mask-image: radial-gradient(ellipse at 90% 50%, #000, transparent 60%); -webkit-mask-image: radial-gradient(ellipse at 90% 50%, #000, transparent 60%); pointer-events: none; }
.promo h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); letter-spacing: -.05em; line-height: 1; font-weight: 600; margin: 14px 0; }
.promo p { opacity: .7; max-width: 46ch; }
.promo .btn--dark { background: var(--inv-ink); color: var(--inv-bg); margin-top: 24px; }
.promo__gauge { position: relative; justify-self: center; width: min(280px, 70vw); aspect-ratio: 1; z-index: 1; }
.promo__gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.promo__gauge circle { fill: none; stroke-width: 2.6; }
.promo__gauge .bg { stroke: rgba(128,128,128,.25); }
.promo__gauge .fg { stroke: currentColor; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 2.2s var(--ease); }
.promo.in .promo__gauge .fg, .promo__gauge.in .fg { stroke-dasharray: 82 100; }
.promo__gauge b { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(3rem, 8vw, 5rem); font-weight: 600; letter-spacing: -.05em; }
.promo__gauge small { position: absolute; left: 0; right: 0; bottom: 28%; text-align: center; font-family: var(--mono); font-size: .75rem; opacity: .6; }
@media (max-width: 900px) { .promo { grid-template-columns: 1fr; } }

/* ---------- PROJECTS PAGE ---------- */
.pj-toolbar { position: sticky; top: 60px; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 16px var(--pad); border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.pj-toolbar__top { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.pj-toolbar .filters { margin: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.pj-toolbar .filters::-webkit-scrollbar { display: none; }
.pj-toolbar .filter { white-space: nowrap; }
.pj-controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.select { appearance: none; -webkit-appearance: none; padding: 10px 36px 10px 16px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238a8a87'/%3E%3C/svg%3E") no-repeat right 14px center; font-size: .9rem; color: var(--ink); cursor: pointer; }
.pj-count { color: var(--muted); }
.view-btns { display: inline-flex; border: 1px solid var(--line-2); border-radius: 99px; padding: 3px; background: var(--card); }
.view-btns button { border: 0; background: none; padding: 6px 12px; border-radius: 99px; cursor: pointer; font-size: .82rem; color: var(--muted); }
.view-btns button.on { background: var(--ink); color: var(--bg); }

.pj-wrap { padding: 40px var(--pad) 120px; }
.pj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.pj-grid.is-list { grid-template-columns: 1fr; gap: 0; }
.pj-card {
  text-align: left; border: 1px solid var(--line); background: var(--card); border-radius: 20px; overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column; font: inherit; color: inherit; padding: 0;
  animation: rowIn .6s var(--ease) both; animation-delay: calc(var(--k, 0) * 30ms);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.pj-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.pj-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #111; color: #f3f3f1; }
.pj-thumb__art { position: absolute; inset: 0; transition: transform 1s var(--ease), filter .6s; }
.pj-card:hover .pj-thumb__art { transform: scale(1.06); }
.pj-thumb__glyph { position: absolute; right: 16px; bottom: 6px; font-size: 5.5rem; font-weight: 700; letter-spacing: -.06em; line-height: 1; opacity: .14; }
.pj-thumb__cat { position: absolute; left: 14px; top: 14px; font-family: var(--mono); font-size: .7rem; padding: 4px 9px; border-radius: 99px; background: rgba(255,255,255,.12); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.18); }
.pj-thumb__ph { position: absolute; left: 14px; bottom: 12px; font-family: var(--mono); font-size: .66rem; opacity: .55; }
.pj-body { padding: 18px 18px 20px; display: grid; gap: 10px; flex: 1; align-content: start; }
.pj-body h3 { font-size: 1.08rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.3; }
.pj-brand { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .86rem; }
.pj-num { font-family: var(--mono); font-size: .7rem; color: var(--muted); }

/* list view */
.is-list .pj-card { flex-direction: row; align-items: center; border-radius: 0; border-width: 0 0 1px; background: transparent; animation-delay: calc(var(--k, 0) * 12ms); }
.is-list .pj-card:hover { transform: none; box-shadow: none; background: var(--card); }
.is-list .pj-thumb { width: 120px; flex: none; aspect-ratio: 16/10; border-radius: 10px; margin: 10px 0 10px 4px; }
.is-list .pj-thumb__glyph { font-size: 2.6rem; }
.is-list .pj-thumb__cat, .is-list .pj-thumb__ph { display: none; }
.is-list .pj-body { grid-template-columns: 1fr 200px; align-items: center; padding: 12px 18px; }
.is-list .pj-num { display: none; }
@media (max-width: 700px) { .is-list .pj-body { grid-template-columns: 1fr; } .is-list .pj-thumb { width: 84px; } }

/* category art (black & white patterns, one per category) */
.art-Shopify { background: radial-gradient(circle at 20% 20%, #5a5a5a, #0d0d0d 65%); }
.art-Amazon { background: linear-gradient(135deg, #1c1c1c, #3c3c3c 50%, #0f0f0f); }
.art-Amazon::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 26%; height: 2px; border-radius: 2px; background: #f3f3f1; opacity: .5; transform: rotate(-4deg); }
.art-DataAnalytics { background: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 22px), repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, transparent 1px 22px), #101010; }
.art-ProjectManagement { background: repeating-linear-gradient(0deg, rgba(255,255,255,.1) 0 10px, transparent 10px 26px), #151515; }
.art-Automations { background: conic-gradient(from 90deg at 70% 40%, #0c0c0c, #4a4a4a, #0c0c0c, #2a2a2a, #0c0c0c); }
.art-EmailMarketing { background: linear-gradient(160deg, #6b6b68, #1a1a1a 75%); }
.art-SocialMedia { background: radial-gradient(circle at 70% 30%, #777, transparent 40%), radial-gradient(circle at 25% 80%, #444, transparent 45%), #111; }
.art-GoogleAds { background: linear-gradient(200deg, #8a8a87, #222 65%); }
.art-MetaAds { background: radial-gradient(ellipse at 50% 120%, #6a6a6a, #0c0c0c 60%); }
.art-Optimizations { background: repeating-radial-gradient(circle at 80% 20%, rgba(255,255,255,.12) 0 1px, transparent 1px 18px), #121212; }
.art-SideProjects { background: repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 1px, transparent 1px 9px), #1a1a1a; }

/* ---------- NDA / redaction (blurred DECOY text — real names are never in the page) ---------- */
.redact { filter: blur(5px); user-select: none; -webkit-user-select: none; pointer-events: none; color: var(--ink); opacity: .7; }
.nda-badge { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: .66rem; padding: 3px 8px; border-radius: 99px; background: var(--ink); color: var(--bg); white-space: nowrap; }
.pj-card.is-nda .pj-thumb__art { filter: blur(3px) brightness(.8); }
.pj-thumb__lock { position: absolute; inset: 0; display: grid; place-items: center; }
.pj-thumb__lock span { display: inline-flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: .72rem; padding: 7px 12px; border-radius: 99px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px); color: #fff; }

/* ---------- Project modal ---------- */
.modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal__bg { position: absolute; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.modal.open .modal__bg { opacity: 1; }
.modal__panel { position: relative; width: min(760px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--bg); border-radius: 24px; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -20px rgba(0,0,0,.5); transform: translateY(30px) scale(.97); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.modal.open .modal__panel { transform: none; opacity: 1; }
.modal__close { position: absolute; right: 14px; top: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.45); color: #fff; font-size: 1.2rem; cursor: pointer; }
.modal .pj-thumb { aspect-ratio: 16/8; }
.modal__body { padding: 26px 28px 30px; display: grid; gap: 16px; }
.modal__body h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -.04em; line-height: 1.05; font-weight: 600; }
.modal__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.modal__facts div { background: var(--card); padding: 12px 14px; display: grid; gap: 4px; }
.modal__facts span { font-family: var(--mono); font-size: .68rem; color: var(--muted); }
.modal__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.modal__gallery i { aspect-ratio: 4/3; border-radius: 12px; border: 1px dashed var(--line-2); display: grid; place-items: center; font-style: normal; font-family: var(--mono); font-size: .66rem; color: var(--muted); background: repeating-linear-gradient(135deg, var(--line) 0 1px, transparent 1px 8px); }
.modal__gallery.is-nda i { filter: blur(2px); }
.modal__note { font-size: .92rem; color: var(--ink-2); padding: 14px 16px; border-radius: 12px; background: var(--bg-2); }
.modal__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 600px) { .modal__facts { grid-template-columns: 1fr; } }

/* ---------- SERVICES PAGE ---------- */
.svc-list { display: grid; gap: 18px; }
.svc {
  position: sticky; top: calc(90px + var(--n, 0) * 14px);
  display: grid; grid-template-columns: 80px 1.1fr 1fr; gap: 30px; align-items: start;
  padding: clamp(26px, 4vw, 44px); border-radius: 26px; background: var(--card); border: 1px solid var(--line-2);
  box-shadow: 0 -20px 40px -30px rgba(0,0,0,.25); min-height: 320px;
}
.svc:nth-child(even) { background: var(--inv-bg); color: var(--inv-ink); --muted: #8b8b88; --line-2: rgba(128,128,128,.3); }
.svc__n { font-family: var(--mono); color: var(--muted); }
.svc h3 { font-size: clamp(1.8rem, 3.6vw, 3rem); letter-spacing: -.05em; line-height: 1; font-weight: 600; }
.svc p { color: var(--muted); margin-top: 14px; max-width: 46ch; }
.svc ul { display: grid; gap: 10px; }
.svc li { display: flex; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.svc li::before { content: "↳"; color: var(--muted); }
.svc__link { margin-top: 18px; display: inline-block; font-size: .9rem; border-bottom: 1px solid currentColor; }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; position: relative; top: 0; gap: 16px; min-height: 0; } }

/* Horizontal pinned process */
.hscroll { position: relative; overflow: hidden; background: var(--bg-2); }
.hscroll__inner { height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 90px 0 40px; }
.hscroll__head { padding: 0 var(--pad); display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.hscroll__head h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.05em; font-weight: 600; }
.hscroll__bar { width: 200px; height: 2px; background: var(--line-2); position: relative; overflow: hidden; }
.hscroll__bar::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
.hscroll__track { display: flex; gap: 22px; padding: 0 var(--pad); width: max-content; will-change: transform; }
.hcard { width: min(440px, 80vw); flex: none; padding: 32px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; min-height: 340px; }
.hcard__n { font-size: 5rem; font-weight: 700; letter-spacing: -.07em; line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--ink); }
.hcard h3 { font-size: 1.6rem; letter-spacing: -.03em; font-weight: 600; }
.hcard p { color: var(--muted); }
.hcard__tag { justify-self: start; font-family: var(--mono); font-size: .72rem; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line-2); }
@media (max-width: 900px) {
  .hscroll__inner { height: auto; padding: 80px 0; }
  .hscroll__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .hcard { scroll-snap-align: start; }
  .hscroll__bar { display: none; }
}

/* Engagement packages */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pkg { padding: 30px; border-radius: 24px; border: 1px solid var(--line-2); background: var(--card); display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; }
.pkg--feat { background: var(--inv-bg); color: var(--inv-ink); --muted: #8b8b88; --line-2: rgba(128,128,128,.3); }
.pkg h3 { font-size: 1.5rem; letter-spacing: -.03em; font-weight: 600; }
.pkg__price { font-size: 2.4rem; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.pkg__price small { font-size: .9rem; color: var(--muted); letter-spacing: 0; font-weight: 400; }
.pkg p { color: var(--muted); }
.pkg ul { display: grid; gap: 8px; font-size: .94rem; }
.pkg li::before { content: "✓ "; color: var(--muted); }
.pkg .btn { margin-top: 10px; justify-self: start; }
.pkg--feat .btn--dark { background: var(--inv-ink); color: var(--inv-bg); }
@media (max-width: 900px) { .pkg-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line-2); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 500; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 0 22px; max-width: 70ch; animation: rowIn .5s var(--ease); }

/* ---------- ANALYZER PAGE ---------- */
.az-form { display: flex; gap: 10px; max-width: 640px; margin-top: 30px; padding: 8px; border-radius: 99px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.az-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 0 18px; font-size: 1.05rem; color: var(--ink); }
.az-form:focus-within { border-color: var(--ink); }
.az-hint { margin-top: 12px; color: var(--muted); }
.az-checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.az-checks span { font-size: .82rem; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--ink-2); }
.az-checks b { font-family: var(--mono); font-weight: 400; color: var(--muted); margin-left: 6px; font-size: .72rem; }

.az-out { padding: 50px var(--pad) 120px; }
.az-loading { max-width: 640px; display: grid; gap: 14px; }
.az-loading li { display: flex; align-items: center; gap: 12px; color: var(--muted); transition: color .3s; }
.az-loading li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; }
.az-loading li.on { color: var(--ink); }
.az-loading li.on::before { border-color: var(--ink); border-top-color: transparent; animation: spin .8s linear infinite; }
.az-loading li.done { color: var(--ink); }
.az-loading li.done::before { background: var(--ink); border-color: var(--ink); animation: none; box-shadow: inset 0 0 0 3px var(--bg); }
@keyframes spin { to { transform: rotate(360deg); } }
.az-error { max-width: 640px; padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--card); }
.az-error b { display: block; margin-bottom: 6px; }

.az-summary { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: center; padding: 30px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); }
.az-ring { position: relative; width: 240px; aspect-ratio: 1; justify-self: center; }
.az-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.az-ring circle { fill: none; stroke-width: 2.6; }
.az-ring .bg { stroke: var(--line-2); }
.az-ring .fg { stroke: var(--ink); stroke-linecap: round; stroke-dasharray: 0 100; }
.az-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 4.4rem; font-weight: 600; letter-spacing: -.06em; }
.az-ring small { position: absolute; left: 0; right: 0; bottom: 27%; text-align: center; font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.az-summary h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -.05em; line-height: 1; font-weight: 600; }
.az-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.az-meta span { font-family: var(--mono); font-size: .72rem; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line-2); }
.az-bars { display: grid; gap: 10px; }
.az-bar { display: grid; grid-template-columns: 170px 1fr 44px; gap: 12px; align-items: center; font-size: .9rem; }
.az-bar i { height: 8px; border-radius: 9px; background: var(--bg-2); overflow: hidden; position: relative; }
.az-bar i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--ink); border-radius: inherit; transform-origin: left; animation: grow-x 1.4s var(--ease) both; }
.az-bar.na { color: var(--muted); }
.az-bar b { font-family: var(--mono); font-weight: 400; text-align: right; font-size: .8rem; }
@keyframes grow-x { from { transform: scaleX(0); } }

.az-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; margin-top: 20px; align-items: start; }
.az-box { padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.az-box h3 { font-size: 1.3rem; letter-spacing: -.03em; font-weight: 600; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: baseline; }
.az-box h3 small { font-family: var(--mono); font-size: .72rem; color: var(--muted); font-weight: 400; }
.fix { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); animation: rowIn .5s var(--ease) both; animation-delay: calc(var(--k, 0) * 50ms); }
.fix__ico { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; background: var(--ink); color: var(--bg); }
.fix.pass .fix__ico { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.fix.unk .fix__ico { background: transparent; color: var(--muted); border: 1.5px dashed var(--muted); }
.fix b { font-weight: 500; display: block; }
.fix p { color: var(--ink-2); font-size: .9rem; margin-top: 2px; }
.fix small { font-family: var(--mono); font-size: .7rem; color: var(--muted); display: block; margin-top: 4px; }
.fix__cat { font-family: var(--mono); font-size: .66rem; color: var(--muted); }
.az-box details summary { cursor: pointer; color: var(--muted); font-size: .9rem; padding-top: 12px; }
.snap { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.snap div { background: var(--card); padding: 14px; display: grid; gap: 2px; }
.snap span { font-family: var(--mono); font-size: .68rem; color: var(--muted); }
.snap strong { font-size: 1.3rem; letter-spacing: -.03em; font-weight: 600; }
.az-cta { margin-top: 20px; padding: 30px; border-radius: 22px; background: var(--inv-bg); color: var(--inv-ink); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.az-cta h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.04em; font-weight: 600; }
.az-cta p { opacity: .7; }
.az-cta .btn--dark { background: var(--inv-ink); color: var(--inv-bg); }
.az-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 900px) { .az-summary, .az-cols { grid-template-columns: 1fr; } .az-bar { grid-template-columns: 120px 1fr 40px; } }

/* ---------- ABOUT PAGE ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { padding: 30px; border-radius: 22px; border: 1px solid var(--line); background: var(--card); display: grid; gap: 10px; align-content: start; min-height: 220px; }
.value b { font-size: 2.4rem; line-height: 1; }
.value h3 { font-size: 1.3rem; letter-spacing: -.03em; font-weight: 600; }
.value p { color: var(--muted); }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } }

/* ---------- print (analyzer report) ---------- */
@media print {
  .nav, .mobile-menu, .footer, .grain, .cursor, .cursor-dot, .progress, .curtain, .page-hero form, .az-actions, .az-cta, .az-checks { display: none !important; }
  body { background: #fff; color: #000; }
  .page-hero { padding-top: 20px; }
  .reveal, .split .w > span { opacity: 1 !important; transform: none !important; filter: none !important; }
}
@media (max-width: 1300px) and (min-width: 1101px) { .nav__status { display: none; } .nav__links { gap: 18px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.az-cta .btn--ghost, .promo .btn--ghost { color: var(--ink); }

/* =========================================================
   LOGO (images/logo-white.png used as a mask, so it takes the text color
   and works in light + dark mode)
   ========================================================= */
.logo-mark {
  display: block; aspect-ratio: 163 / 316; background: currentColor;
  -webkit-mask: url("../images/logo-white.png") center / contain no-repeat;
          mask: url("../images/logo-white.png") center / contain no-repeat;
}
.nav__logo { height: 34px; width: auto; transition: transform .6s var(--ease); }
.nav__brand:hover .nav__logo { transform: rotateY(360deg); }
.photo-fallback { height: 46%; width: auto; color: #f3f3f1; font-size: 0; }

/* ----- Loader: logo fills from bottom to top with the %, then flips ----- */
.loader__inner { display: grid; justify-items: center; }
.loader__logo { position: relative; height: clamp(120px, 22vh, 190px); aspect-ratio: 163 / 316; perspective: 600px; }
.loader__logo .logo-mark { position: absolute; inset: 0; height: 100%; width: 100%; color: #f3f3f1; }
.loader__logo .logo-mark:first-child { opacity: .14; }
.loader__fill { clip-path: inset(calc(100% - var(--p, 0) * 1%) 0 0 0); transition: clip-path .2s linear; }
.loader__logo { animation: logoIn .9s var(--ease) both; }
.loader.flip .loader__logo { animation: logoFlip .75s var(--ease) both; }
.loader__bar { width: min(320px, 70vw); }
.loader__count { width: min(320px, 70vw); display: flex; justify-content: space-between; }

/* ----- Page curtain: logo flips in, shine sweeps across, zooms out on arrival ----- */
.curtain__logo { position: relative; height: clamp(110px, 18vh, 170px); aspect-ratio: 163 / 316; perspective: 600px; opacity: 0; }
.curtain__logo .logo-mark { position: absolute; inset: 0; height: 100%; width: 100%; color: #e9e9e6; overflow: hidden; }
.curtain__logo .logo-mark:first-child { opacity: .14; }
.curtain__fill { clip-path: inset(calc(100% - var(--p, 0) * 1%) 0 0 0); }
.curtain__fill::after { /* shine, clipped to the logo shape by the mask */
  content: ""; position: absolute; inset: -20% -60%;
  background: linear-gradient(105deg, transparent 40%, #fff 50%, transparent 60%);
  transform: translateX(-60%); animation: shine 1.1s var(--ease) .25s infinite;
}
.curtain.is-entering .curtain__logo { animation: logoIn .6s var(--ease) .05s both; }
.curtain.is-covering .curtain__logo { opacity: 1; }
.curtain.is-covering.flip .curtain__logo { animation: logoFlip .7s var(--ease) both; }
.curtain.is-leaving .curtain__logo { animation: logoOut .7s var(--ease) both; }

@keyframes logoIn {
  from { opacity: 0; transform: rotateY(-100deg) scale(.6); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: none; }
}
@keyframes logoOut {
  from { opacity: 1; transform: none; }
  to   { opacity: 0; transform: scale(1.6) translateY(-10%); filter: blur(6px); }
}
@keyframes logoFlip {
  0%   { transform: rotateY(0) scale(1); }
  60%  { transform: rotateY(360deg) scale(1.08); }
  100% { transform: rotateY(360deg) scale(1); }
}
@keyframes logoPulse { 50% { transform: scale(1.05); } }
@keyframes shine { to { transform: translateX(60%); } }

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: 30px; border-radius: 22px; border: 1px solid var(--line); background: var(--card); min-height: 280px;
}
.review::after { /* dotted texture like the reference cards */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
.review__mark { font-family: Georgia, serif; font-size: 4.4rem; line-height: .6; height: 26px; color: var(--muted); position: relative; z-index: 1; }
.review blockquote { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.4; letter-spacing: -.02em; position: relative; z-index: 1; }
.review figcaption { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.review figcaption b { display: block; font-weight: 500; }
.review figcaption small { color: var(--muted); font-size: .9rem; }
.review__pics { display: flex; }
.review__pics i {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-style: normal;
  font-size: .72rem; font-weight: 600; background: var(--soft, #e6e6e3); color: var(--ink); border: 2px solid var(--card);
}
.review__pics .review__brand { margin-left: -12px; background: var(--ink); color: var(--bg); font-size: .62rem; }
.review:hover .review__pics .review__brand { transform: rotate(-12deg); }
.review__pics i { transition: transform .5s var(--ease); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } .review { min-height: 0; } }

/* =========================================================
   ANALYZER — info sections under the form
   ========================================================= */
.az-info { padding-top: 40px; }
.az-know { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: clamp(70px, 10vw, 120px); }
.az-know__card { position: relative; overflow: hidden; padding: 26px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--card); display: grid; gap: 8px; align-content: start; }
.az-know__card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ink); transform: scaleY(.25); transform-origin: top; transition: transform .6s var(--ease); }
.az-know__card:hover::before { transform: scaleY(1); }
.az-know__card span { color: var(--muted); font-size: .75rem; }
.az-know__card h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; }
.az-know__card p { color: var(--ink-2); }
.az-info__head { margin-bottom: 30px; }
.az-info__lead { grid-column: 1 / -1; color: var(--muted); }
.az-w { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: clamp(70px, 10vw, 120px); }
.az-w li { position: relative; overflow: hidden; padding: 20px 22px 24px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--card); transition: transform .4s var(--ease), border-color .3s; }
.az-w li:hover { transform: translateY(-3px); border-color: var(--ink); }
.az-w__top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.az-w__top b { font-weight: 600; letter-spacing: -.02em; }
.az-w__pct { font-size: .72rem; padding: 3px 9px; border-radius: 99px; background: var(--ink); color: var(--bg); }
.az-w p { color: var(--ink-2); font-size: .95rem; }
.az-w__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--w); background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.az-w li.in .az-w__bar, .az-w li.is-in .az-w__bar, .az-w li.visible .az-w__bar { transform: scaleX(1); }
.az-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: clamp(70px, 10vw, 120px); counter-reset: s; }
.az-steps li { padding: 26px; border-radius: 18px; border: 1px dashed var(--line-2); display: grid; gap: 8px; align-content: start; }
.az-steps li span { font-size: 2.2rem; letter-spacing: -.05em; color: var(--muted); }
.az-steps h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.az-steps p { color: var(--ink-2); }
.az-info__foot { margin-top: 40px; color: var(--muted); }
@media (max-width: 900px) { .az-know, .az-w, .az-steps { grid-template-columns: 1fr; } }
