/*
 * Vector - Creative Agency. Dark premium theme.
 * Design tokens on :root; one bright accent; responsive 360-1440px;
 * motion guarded by prefers-reduced-motion.
 */

/* ---- Tokens ------------------------------------------------------------- */
:root {
  --bg: #09090b;
  --bg-1: #101013;
  --bg-2: #17171b;
  --bg-3: #202027;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --fg: #f4f4f5;
  --fg-soft: #d4d4d8;
  --muted: #9b9ba4;
  --accent: #c6ff3d;
  --accent-ink: #10210a;
  --accent-2: #8b5cf6;
  --danger: #fb7185;

  --wrap: 1180px;
  --gutter: clamp(16px, 5vw, 40px);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-accent: 0 18px 50px -18px rgba(198, 255, 61, 0.35);

  --step: clamp(64px, 9vw, 128px);
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---- Layout primitives -------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--step); position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }

.section__head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__title {
  font-family: var(--font-display); font-weight: 600; line-height: 1.05;
  letter-spacing: -0.02em; font-size: clamp(30px, 5vw, 52px); margin-top: 14px;
}
.section__sub { color: var(--muted); font-size: clamp(16px, 2vw, 19px); margin-top: 16px; max-width: 60ch; }

.hl { color: var(--accent); }
.note {
  font-size: 13px; color: var(--muted); font-style: italic;
  border-left: 2px solid var(--line-strong); padding-left: 12px; margin-top: 20px;
}

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600;
  font-family: var(--font-display); letter-spacing: -0.01em; line-height: 1;
  border: 1px solid transparent; transition: transform .18s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
  will-change: transform;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-accent); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 60px -16px rgba(198, 255, 61, 0.5); }
.btn--ghost { border-color: var(--line-strong); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn__ico { width: 18px; height: 18px; }

/* ---- Header / nav ------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(9, 9, 11, 0.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { position: relative; display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 9px; }
.brand__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent); flex: none; }
.brand { align-items: center; }
.brand__text { display: inline-flex; flex-direction: column; line-height: 1; }
.brand__tag { font-family: var(--font-body); font-weight: 500; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-inline: auto; }
.nav-links a { position: relative; padding-bottom: 4px; font-size: 15px; color: var(--fg-soft); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover, .nav-links a.active { color: var(--fg); }

.nav__right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.lang__btn { padding: 5px 11px; font-size: 13px; font-weight: 600; border-radius: 999px; color: var(--muted); transition: background .2s, color .2s; }
.lang__btn.is-active { background: var(--fg); color: var(--bg); }

.burger { display: none; flex-direction: column; gap: 5px; padding: 10px; margin-left: auto; }
.burger span { width: 24px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero --------------------------------------------------------------- */
.hero { position: relative; padding-top: clamp(14px, 3vw, 46px); padding-bottom: clamp(52px, 8vw, 96px); overflow: hidden; }
.hero__ghost {
  position: absolute; left: -2%; bottom: -6%; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(120px, 32vw, 460px); line-height: .8;
  letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05); white-space: nowrap;
}
.hero__fruit-wrap {
  position: absolute; z-index: 0; pointer-events: none;
  top: clamp(-14px, 1vw, 26px); right: clamp(-26px, 2vw, 48px);
  width: clamp(136px, 22vw, 306px);
  will-change: transform;
}
.hero__fruit { display: block; width: 100%; height: auto; pointer-events: auto; cursor: pointer; filter: drop-shadow(0 26px 60px rgba(150, 190, 60, 0.16)); transition: filter 0.4s ease; }
.hero__fruit-wrap.caught .hero__fruit { filter: drop-shadow(0 0 34px rgba(198, 255, 61, 0.6)); cursor: default; }
.hero__catch { margin-top: 12px; font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.hero__catch[hidden] { display: none; }
.hero__catch::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); flex: none; }
.hero__catch--win { color: var(--accent); font-weight: 600; display: block; }
.hero__catch--win::before { display: none; }
.hero__catch-note { display: block; margin-top: 6px; color: var(--muted); font-weight: 400; font-size: 12.5px; max-width: 44ch; }
.hero__catch--win code { background: rgba(198, 255, 61, 0.14); border: 1px solid var(--line-strong); border-radius: 6px; padding: 1px 8px; font-family: var(--font-display); }
.hero__catch-code { cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease; }
.hero__catch-code:hover { background: rgba(198, 255, 61, 0.26); border-color: var(--accent); }
.hero__catch-copied { margin-left: 8px; color: var(--accent); font-weight: 600; font-size: 12.5px; }
.hero__catch-copied[hidden] { display: none; }
.hero__fruit-code {
  position: absolute; inset: 0; display: none; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(15px, 2.2vw, 26px);
  color: var(--accent-ink); letter-spacing: 0.02em; transform: rotate(-10deg); pointer-events: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}
.hero__fruit-wrap.caught .hero__fruit-code { display: flex; }
.hero__fruit-wrap.armed, .hero__fruit-wrap.caught { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero__fruit-wrap.armed { animation: fruitInvite 1s ease-in-out infinite; }
}
@keyframes fruitInvite { 0%, 100% { filter: drop-shadow(0 0 12px rgba(198, 255, 61, 0.35)); } 50% { filter: drop-shadow(0 0 32px rgba(198, 255, 61, 0.8)); } }
.hero__fruit-ring { position: absolute; left: 3%; top: 3%; width: 94%; height: 94%; transform: rotate(-90deg); opacity: 0; transition: opacity 0.2s ease; pointer-events: none; overflow: visible; }
.hero__fruit-ring circle { fill: none; }
.hero__fruit-ring__track { stroke: rgba(255, 255, 255, 0.14); stroke-width: 4; }
.hero__fruit-ring__bar { stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px rgba(198, 255, 61, 0.7)); }

/* Ambient peeker: the lemon shyly peeks from a screen edge as you scroll */
.fruit-peek { position: fixed; width: clamp(90px, 10vw, 150px); opacity: 0.5; z-index: 40; pointer-events: none; transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }
.fruit-peek svg { width: 100%; height: auto; display: block; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero__fruit { animation: fruitFloat 7s ease-in-out infinite; }
  .hero__fruit__inner { animation: fruitSpin 15s ease-in-out infinite; transform-origin: 110px 116px; }
}
@keyframes fruitFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes fruitSpin { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@media (max-width: 760px) { .hero__fruit-wrap { width: 112px; opacity: 0.45; top: -8px; right: -18px; } }
.hero__glow {
  position: absolute; inset: -20% -10% auto -10%; height: 620px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 20% 10%, rgba(198, 255, 61, 0.16), transparent 60%),
    radial-gradient(50% 50% at 85% 0%, rgba(139, 92, 246, 0.22), transparent 60%);
  filter: blur(10px);
}
.hero .wrap { position: relative; z-index: 3; }
.hero .eyebrow, .hero__title, .hero__sub, .hero__cta, .hero__trust { position: relative; z-index: 3; }
.hero__title {
  font-family: var(--font-display); font-weight: 700; line-height: 0.98; letter-spacing: -0.035em;
  font-size: clamp(44px, 9.5vw, 104px); max-width: 16ch; margin-top: 22px; text-wrap: balance;
}
.hero__for { color: var(--muted); }
.rotator { position: relative; display: inline-grid; vertical-align: bottom; }
.rotator__w {
  grid-area: 1 / 1; color: var(--accent); white-space: nowrap;
  background: linear-gradient(100deg, var(--accent) 20%, #eaffb0 45%, var(--accent) 70%); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
  .rotator__w { opacity: 0; transform: translateY(0.4em) rotate(2deg); transition: opacity .5s ease, transform .5s ease; }
  .rotator__w.is-active { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .rotator__w { opacity: 0; } .rotator__w.is-active { opacity: 1; } }
.hero__sub { color: var(--fg-soft); font-size: clamp(17px, 2.2vw, 21px); max-width: 56ch; margin-top: clamp(24px, 3.4vw, 44px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(28px, 4.2vw, 52px); }
.hero__trust { margin-top: clamp(18px, 2.6vw, 32px); font-size: 14px; color: var(--muted); }

/* ---- Stats -------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg-1); padding: 26px 22px; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em; color: var(--fg); }
.stat__num .hl { color: var(--accent); }
.stat__label { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ---- Services ----------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--bg-2); box-shadow: var(--shadow-accent); }
.card__ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(198, 255, 61, 0.18), rgba(139, 92, 246, 0.18));
  border: 1px solid var(--line-strong); margin-bottom: 20px;
}
.card__ico svg { width: 26px; height: 26px; color: var(--accent); }
.card__title { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
.card__text { color: var(--muted); margin-top: 12px; font-size: 15.5px; }
.card__list { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 8px; }
.card__list li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--fg-soft); }
.card__list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

/* ---- Portfolio ---------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 14px; font-weight: 500; color: var(--fg-soft); transition: all .18s ease;
}
.filter:hover { border-color: var(--accent); color: var(--fg); }
.filter.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }

.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work__item {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--bg-1); transition: transform .22s ease, border-color .22s ease;
}
.work__item:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.work__thumb { aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative; }
.work__thumb span { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: rgba(255,255,255,0.92); letter-spacing: -0.01em; z-index: 1; padding: 0 16px; text-align: center; }
.work__body { padding: 20px 22px 24px; }
.work__tag { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.work__title { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-top: 8px; }
.work__result { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.work__sample { display: inline-block; margin-top: 12px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 999px; padding: 3px 10px; }
.work__empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.is-hidden { display: none !important; }

/* thumb gradients per niche */
.g-dev { background: linear-gradient(135deg, #1e3a8a, #0ea5e9); }
.g-reno { background: linear-gradient(135deg, #7c2d12, #f59e0b); }
.g-beauty { background: linear-gradient(135deg, #831843, #ec4899); }
.g-tattoo { background: linear-gradient(135deg, #111827, #6b7280); }
.g-brand { background: linear-gradient(135deg, #4c1d95, #8b5cf6); }
.g-brand2 { background: linear-gradient(135deg, #064e3b, #10b981); }
.g-brand3 { background: linear-gradient(135deg, #0f172a, #334155); }

/* ---- Process ------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step { padding: 24px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); }
.step__n { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--accent-ink); background: var(--accent); width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.step__title { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin-top: 16px; }
.step__text { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* ---- Formats ------------------------------------------------------------ */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.format { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--bg-1); }
.format--feature { border-color: var(--accent); background: linear-gradient(180deg, rgba(198,255,61,0.06), transparent); }
.format__name { font-family: var(--font-display); font-weight: 600; font-size: 22px; }
.format__text { color: var(--muted); margin-top: 12px; font-size: 15.5px; }
.format__meta { margin-top: 18px; font-size: 13px; color: var(--fg-soft); font-weight: 600; letter-spacing: .04em; }

/* ---- Why us ------------------------------------------------------------- */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.why__item { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); }
.why__mark { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(198,255,61,0.12); color: var(--accent); border: 1px solid var(--line-strong); }
.why__mark svg { width: 20px; height: 20px; }
.why__title { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.why__text { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* ---- Testimonials ------------------------------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--bg-1); position: relative; }
.review__quote { font-size: 16px; color: var(--fg-soft); }
.review__mark { font-family: var(--font-display); font-size: 54px; line-height: 1; color: var(--accent); opacity: .5; }
.review__author { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); flex: none; }
.review__name { font-weight: 600; font-size: 15px; }
.review__role { color: var(--muted); font-size: 13px; }

/* ---- FAQ ---------------------------------------------------------------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-1); overflow: hidden; }
.faq__item[open] { border-color: var(--line-strong); }
.faq__q { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; font-size: 24px; color: var(--accent); flex: none; transition: transform .2s; }
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }

/* ---- Final CTA + form --------------------------------------------------- */
.cta { position: relative; overflow: hidden; }
.cta__panel {
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  background: radial-gradient(80% 120% at 100% 0%, rgba(139, 92, 246, 0.16), transparent 55%), var(--bg-1);
  padding: clamp(30px, 5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 56px);
}
.cta__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4.5vw, 46px); letter-spacing: -0.02em; line-height: 1.05; }
.cta__sub { color: var(--fg-soft); margin-top: 16px; font-size: 17px; max-width: 46ch; }
.cta__direct { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.contact-btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 600; font-size: 15px; transition: border-color .2s, transform .2s; }
.contact-btn:hover { border-color: var(--accent); transform: translateY(-2px); }
.contact-btn svg { width: 20px; height: 20px; color: var(--accent); }

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; color: var(--fg-soft); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--fg); transition: border-color .18s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #6b6b73; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none; cursor: pointer; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6ff3d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.field select:hover { border-color: var(--line-strong); }
.field select option { background: var(--bg-2); color: var(--fg); }
.field--invalid input, .field--invalid textarea, .field--invalid select { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 13px; min-height: 0; }
.field__error:empty { display: none; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__status { margin-top: 4px; padding: 12px 15px; border-radius: var(--radius-sm); background: var(--bg-3); font-size: 14.5px; }
.form .btn--primary { width: 100%; }
.form__fine { font-size: 12.5px; color: var(--muted); }

/* ---- Footer ------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding-block: 56px 40px; }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.footer__brand { max-width: 320px; }
.footer__tag { color: var(--muted); font-size: 15px; margin-top: 12px; }
.footer__col h4 { font-family: var(--font-display); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer__col a, .footer__col p { display: block; color: var(--fg-soft); font-size: 15px; margin-bottom: 10px; }
.footer__col a:hover { color: var(--accent); }
.footer__cta { margin-top: 22px; }
.footer__bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); font-size: 13.5px; }

/* ---- Back to top -------------------------------------------------------- */
.to-top {
  position: fixed; right: 20px; bottom: 24px; z-index: 65; width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: var(--shadow-accent);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ---- Reveal animation --------------------------------------------------- */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---- Sketch arrows (shared system) ------------------------------------- */
.arrow-wrap { position: relative; }
.sketch-arrow { position: absolute; pointer-events: none; }
.sketch-arrow__shaft, .sketch-arrow__head { stroke-dasharray: 1; stroke-dashoffset: 1; }
.sketch-arrow.is-drawn .sketch-arrow__shaft { animation: arrow-draw 0.7s ease forwards; }
.sketch-arrow.is-drawn .sketch-arrow__head { animation: arrow-draw 0.25s ease 0.62s forwards; }
@keyframes arrow-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .sketch-arrow__shaft, .sketch-arrow__head { stroke-dashoffset: 0; animation: none; }
}
/* instances */
.cta__arrow { display: none; }
@media (min-width: 900px) {
  .cta__arrow { display: block; left: 37%; bottom: 104px; width: 158px; height: auto; color: var(--accent); opacity: .92; transform: rotate(-3deg); }
}

/* ---- Bento (services) --------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bento .card { margin: 0; }
.bento__lg { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.bento__wide { grid-column: span 2; }
.bento__lg .card__ico { width: 60px; height: 60px; }
.bento__lg .card__title { font-size: 27px; }
.bento__mock { margin-top: auto; padding-top: 22px; }

/* ---- Browser mockup thumbnails ----------------------------------------- */
.mock { position: absolute; inset: 0; display: flex; flex-direction: column; }
.mock__chrome { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: rgba(0,0,0,0.28); }
.mock__chrome b { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); }
.mock__chrome em { margin-left: 10px; font-style: normal; font-size: 11px; color: rgba(255,255,255,0.72); background: rgba(255,255,255,0.14); border-radius: 6px; padding: 2px 10px; letter-spacing: .02em; min-width: 0; max-width: 64%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work__item--link { text-decoration: none; color: inherit; }
.work__item--link { cursor: pointer; }
.work__item--link .work__thumb::after { content: "\2197"; position: absolute; top: 10px; right: 12px; z-index: 3; color: #fff; opacity: 0.85; font-size: 16px; font-weight: 700; }

/* Real screenshot under a brand-colour tint that fades on hover */
.work__thumb.has-shot { background: var(--bg-2); }
.work__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; z-index: 0; }
.work__tint { position: absolute; inset: 0; z-index: 1; opacity: 0.82; mix-blend-mode: multiply; transition: opacity 0.35s ease; }
.work__item--link:hover .work__tint, .work__item--link:focus-visible .work__tint { opacity: 0.14; }
.work__thumb.has-shot .mock { z-index: 2; }
.work__thumb.has-shot .mock__screen { justify-content: flex-start; padding-top: 22px; }
.work__thumb.has-shot .mock__screen span { text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65); transition: opacity 0.35s ease; }
.work__item--link:hover .mock__screen span { opacity: 0; }

/* Project preview modal (in-page iframe, no external navigation) */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: clamp(12px, 3vw, 40px); }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(4px); }
.modal__panel { position: relative; z-index: 1; width: min(1100px, 100%); height: min(82vh, 920px); background: var(--bg-1); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.modal__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.modal__title { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.modal__close { width: 34px; height: 34px; border-radius: 9px; font-size: 22px; line-height: 1; color: var(--fg-soft); border: 1px solid var(--line-strong); }
.modal__close:hover { color: var(--accent); border-color: var(--accent); }
.modal__body { flex: 1; background: #fff; overflow: hidden; }
.modal__scroll { width: 100%; height: 100%; overflow: auto; -webkit-overflow-scrolling: touch; background: #fff; }
.modal__img { display: block; width: 100%; height: auto; }
.work__more-wrap { text-align: center; margin-top: 28px; }
.mock__screen { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 20px 22px; }
.mock__screen span { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: #fff; letter-spacing: -0.01em; text-shadow: 0 2px 20px rgba(0,0,0,0.35); }
.mock__screen i { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,0.34); }
.mock__screen i:nth-of-type(1) { width: 78%; }
.mock__screen i:nth-of-type(2) { width: 52%; }
.mock__screen u { width: 84px; height: 22px; border-radius: 999px; background: var(--accent); margin-top: 4px; }
.work__item:hover .mock__screen span { transform: none; }

/* ---- Scroll progress bar ------------------------------------------------ */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 80;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 14px rgba(198, 255, 61, 0.55); transition: width .08s linear;
}

/* ---- Film grain overlay ------------------------------------------------- */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='120' height='120' filter='url(%23n)'/></svg>");
}

/* ---- Cursor spotlight (hero) ------------------------------------------- */
.spotlight {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(150px 150px at var(--mx, 50%) var(--my, 30%), rgba(198, 255, 61, 0.12), transparent 70%);
}
@media (hover: hover) and (pointer: fine) { .hero:hover .spotlight { opacity: 1; } }

/* ---- Hero highlight shimmer -------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__title .hl {
    background: linear-gradient(100deg, var(--accent) 20%, #eaffb0 40%, var(--accent) 60%);
    background-size: 200% auto; -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent; animation: shimmer 5s linear infinite;
  }
}
@keyframes shimmer { to { background-position: 200% center; } }

/* ---- Marquee ribbon ----------------------------------------------------- */
.ribbon { border-block: 1px solid var(--line); padding-block: 20px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee { display: flex; width: max-content; gap: 0; animation: marquee 34s linear infinite; }
.ribbon:hover .marquee { animation-play-state: paused; }
.marquee__group { display: flex; gap: 0; }
.marquee__item { display: inline-flex; align-items: center; gap: 18px; padding: 0 26px; font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 2.4vw, 26px); color: var(--fg-soft); white-space: nowrap; }
.marquee__item::after { content: "*"; color: var(--accent); font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }

/* ---- Count-up ----------------------------------------------------------- */
.stat__num .num { font-variant-numeric: tabular-nums; }

/* ---- Interactive polish (magnetic / tilt) ------------------------------ */
.work__item { transform-style: preserve-3d; will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .btn, .work__item { transition: none !important; }
}

/* ---- Section divider (subtle) ------------------------------------------ */
.divider { padding-block: 0; }
.divider hr { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, var(--line-strong) 25%, var(--line-strong) 75%, transparent); }

/* ---- Hero ambient drift (mega-light background motion) ------------------ */
@media (prefers-reduced-motion: no-preference) {
  .hero__glow { animation: heroDrift 16s ease-in-out infinite alternate; }
}
@keyframes heroDrift {
  from { transform: translate3d(-2%, 0, 0) scale(1); opacity: .85; }
  to { transform: translate3d(3%, -2%, 0) scale(1.08); opacity: 1; }
}

/* ---- Micro-details (restrained: one motif per zone) -------------------- */
/* Editorial section numerals in the eyebrow */
body { counter-reset: sec; }
.section__head { counter-increment: sec; }
.section__head .eyebrow::after { content: " / " counter(sec, decimal-leading-zero); color: var(--muted); opacity: 0.6; font-weight: 500; letter-spacing: 0.1em; }

/* Blueprint grid behind the Process section */
#process { isolation: isolate; overflow: hidden; }
#process::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse 92% 72% at 50% 42%, #000 52%, transparent);
          mask-image: radial-gradient(ellipse 92% 72% at 50% 42%, #000 52%, transparent);
}
#process > .wrap { position: relative; z-index: 1; }

/* Corner glow in the footer */
.footer { position: relative; isolation: isolate; overflow: hidden; }
.footer::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(42% 62% at 92% 0%, rgba(198, 255, 61, 0.06), transparent 70%);
}
.footer .wrap { position: relative; z-index: 1; }

/* Shimmer sweep on the niche filter chips (hover) */
.filter { position: relative; overflow: hidden; }
.filter::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-130%);
  background: linear-gradient(100deg, transparent, rgba(198, 255, 61, 0.22), transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .filter:hover::after { animation: chip-shimmer 0.8s ease; }
}
@keyframes chip-shimmer { to { transform: translateX(130%); } }

/* One background motif per section (restrained, all behind content) */
.section > .wrap { position: relative; z-index: 1; }

/* Stats: floating particles */
#stats { isolation: isolate; overflow: hidden; }
#stats::before {
  content: ""; position: absolute; inset: -10px; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 15% 30%, rgba(198, 255, 61, 0.30), transparent),
    radial-gradient(2px 2px at 70% 22%, rgba(255, 255, 255, 0.16), transparent),
    radial-gradient(1.5px 1.5px at 40% 72%, rgba(198, 255, 61, 0.22), transparent),
    radial-gradient(1.5px 1.5px at 85% 60%, rgba(255, 255, 255, 0.14), transparent),
    radial-gradient(2px 2px at 55% 45%, rgba(198, 255, 61, 0.18), transparent);
}
@media (prefers-reduced-motion: no-preference) { #stats::before { animation: particles-float 18s ease-in-out infinite alternate; } }
@keyframes particles-float { from { transform: translateY(6px); } to { transform: translateY(-6px); } }

/* Formats: radial glow */
#formats { isolation: isolate; overflow: hidden; }
#formats::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none; top: -30%; right: -8%; width: 60%; height: 130%;
  background: radial-gradient(45% 45% at 60% 40%, rgba(198, 255, 61, 0.10), transparent 72%);
}

/* Why us: conic beam */
#why { isolation: isolate; overflow: hidden; }
#why::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none; top: -40%; left: 50%; width: 140%; height: 92%; transform: translateX(-50%);
  background: conic-gradient(from 205deg at 50% 0%, transparent 0deg, rgba(198, 255, 61, 0.08) 24deg, transparent 52deg);
}

/* Reviews: diagonal hairlines (masked fade) */
#reviews { isolation: isolate; overflow: hidden; }
#reviews::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background-image: repeating-linear-gradient(135deg, var(--line) 0 1px, transparent 1px 16px);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 45%, transparent);
          mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 45%, transparent);
}

/* FAQ: dot grid (masked fade) */
#faq { isolation: isolate; overflow: hidden; }
#faq::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 85% 60% at 50% 0%, #000 35%, transparent 100%);
          mask-image: radial-gradient(ellipse 85% 60% at 50% 0%, #000 35%, transparent 100%);
}

/* CTA panel: cursor spotlight */
.cta__panel > div, .cta__panel > form { position: relative; z-index: 1; }
.cta__panel::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(260px 260px at var(--mx, 75%) var(--my, 30%), rgba(198, 255, 61, 0.10), transparent 70%);
  opacity: 0; transition: opacity 0.3s ease;
}
.cta__panel.is-spot::after { opacity: 1; }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 1024px) {
  .cards, .work, .formats, .reviews { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__lg { grid-column: span 2; grid-row: auto; }
  .bento__wide { grid-column: span 1; }
}
@media (max-width: 900px) {
  .burger { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    gap: 4px; display: none; background: var(--bg-1); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px; margin: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 0; }
  .nav__right .nav-cta { display: none; }
  .cta__panel { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards, .work, .formats, .reviews, .why, .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento__lg, .bento__wide { grid-column: auto; grid-row: auto; }
  .field--row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}
