:root {
  --black: #0a0a0a;
  --ink: #111111;
  --panel: #161616;
  --line: #2a2a2a;
  --yellow: #ffd400;
  --yellow-2: #ffe55c;
  --white: #f6f2e8;
  --muted: #a3a09a;
  --red: #ff5a4e;
  --green: #4ade80;
  --display: "Anton", "Impact", sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--white); font-family: var(--body); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.hl { color: var(--yellow); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 16px 26px; border-radius: 6px; transition: transform .2s, background .2s, box-shadow .2s; cursor: pointer; border: 0; }
.btn-yellow { background: var(--yellow); color: var(--black); box-shadow: 5px 5px 0 #000, 5px 5px 0 1px var(--yellow); }
.btn-yellow:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 #000, 8px 8px 0 1px var(--yellow); }
.btn-ghost { border: 1.5px solid var(--white); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--black); }
.btn-outline { border: 1.5px solid var(--yellow); color: var(--yellow); }
.btn-outline:hover { background: var(--yellow); color: var(--black); }
.btn-link { color: var(--yellow); padding-inline: 8px; }
.btn-link:hover { text-decoration: underline; }
.btn-sm { padding: 10px 16px; font-size: 12px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(18px, 4vw, 48px); transition: background .3s, padding .3s; }
body.scrolled .nav { background: rgba(10,10,10,.85); backdrop-filter: blur(10px); padding-block: 12px; border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 38px; height: 38px; background: var(--yellow); color: var(--black); font-family: var(--display); font-size: 24px; display: grid; place-items: center; border-radius: 6px; transform: rotate(-6deg); }
.logo-text { font-family: var(--display); font-size: 22px; letter-spacing: .04em; }
.logo-text b { color: var(--yellow); font-weight: 400; }
.nav-links { display: flex; gap: 30px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav-links a:hover { color: var(--yellow); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; padding: 120px 20px 90px; }
#world { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
#world:active { cursor: grabbing; }
.hero-fade { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(ellipse 60% 55% at 50% 50%, rgba(10,10,10,.82) 0%, rgba(10,10,10,.45) 60%, rgba(10,10,10,0) 100%),
  linear-gradient(to bottom, rgba(10,10,10,.6), transparent 25%, transparent 75%, var(--black)); }
.hero-content { position: relative; z-index: 2; max-width: 980px; text-align: center; pointer-events: none; }
.hero-content a, .hero-content button { pointer-events: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; color: var(--yellow); font-size: 12px; font-weight: 700; letter-spacing: .22em; margin-bottom: 22px; }
.dash { width: 34px; height: 2px; background: var(--yellow); }
.hero-title { font-family: var(--display); font-weight: 400; line-height: .92; font-size: clamp(54px, 10.5vw, 150px); letter-spacing: .005em; text-transform: uppercase; }
.hero-title .line { display: block; animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.hero-title .line + .line { animation-delay: .12s; }
.hero-title .yellow { color: var(--yellow); }
.hero-title .dot { color: var(--white); }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.hero-sub { font-size: clamp(18px, 2vw, 22px); font-weight: 700; margin-top: 26px; }
.hero-body { color: var(--muted); max-width: 680px; margin: 12px auto 0; font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px 0 34px; }
.chips span { border: 1px solid var(--line); background: rgba(20,20,20,.7); padding: 8px 14px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--white); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.hero-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .2em; color: var(--muted); font-weight: 600; pointer-events: none; white-space: nowrap; }
.mouse { width: 16px; height: 24px; border: 1.5px solid var(--muted); border-radius: 10px; position: relative; }
.mouse::after { content: ""; position: absolute; left: 50%; top: 5px; width: 2px; height: 5px; background: var(--yellow); transform: translateX(-50%); animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 1; top: 5px; } 100% { opacity: 0; top: 13px; } }

/* ---------- stats ---------- */
.stats { border-block: 1px solid var(--line); background: var(--yellow); color: var(--black); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1280px; margin: 0 auto; }
.stat { padding: 34px 24px; text-align: center; border-right: 1px solid rgba(0,0,0,.15); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(36px, 4.5vw, 58px); line-height: 1; }
.stat span { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) clamp(18px, 4vw, 48px); max-width: 1280px; margin: 0 auto; }
.section-dark { max-width: none; background: var(--ink); border-block: 1px solid var(--line); }
.section-dark > * { max-width: 1184px; margin-inline: auto; }
.section-dark > .section-head { max-width: 1184px; }
.section-dark > .section-head h2 { max-width: 760px; }
.section-head { margin-bottom: 56px; max-width: 760px; }
.kicker { color: var(--yellow); font-size: 12px; font-weight: 800; letter-spacing: .24em; margin-bottom: 14px; }
h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 6vw, 80px); line-height: .98; }
.lead { color: var(--muted); font-size: 17px; margin-top: 18px; max-width: 620px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; position: relative; overflow: hidden; transition: border-color .3s, transform .3s; }
.service::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.service:hover { border-color: #444; transform: translateY(-6px); }
.service:hover::before { transform: scaleX(1); }
.service-num { font-family: var(--display); font-size: 64px; color: transparent; -webkit-text-stroke: 1.5px var(--yellow); line-height: 1; }
.service h3 { font-size: 22px; margin: 18px 0 10px; line-height: 1.2; }
.service p { color: var(--muted); font-size: 15px; }
.service ul { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.funnel { display: grid; gap: 6px; margin-top: 22px; }
.funnel-step { display: flex; align-items: center; gap: 12px; margin-inline: calc(var(--i) * 14px); background: rgba(255,212,0,calc(.08 + var(--i) * .1)); border: 1px solid rgba(255,212,0,.35); border-radius: 8px; padding: 9px 12px; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 8px 100%); }
.funnel-step b { font-family: var(--display); font-weight: 400; font-size: 18px; color: var(--yellow); min-width: 46px; }
.funnel-step span { font-size: 12px; color: var(--muted); line-height: 1.35; }
.funnel-step strong { display: block; color: var(--white); font-size: 13px; }
.service li { font-size: 14px; font-weight: 600; padding-left: 26px; position: relative; }
.service li::before { content: "→"; position: absolute; left: 0; color: var(--yellow); }

/* brands */
.section-dark > .marquee { max-width: none; }
.marquee { overflow: hidden; padding: 8px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; padding-right: 18px; animation: marquee 60s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .brand-card { width: clamp(120px, 12vw, 150px); flex: none; }
.brands .marquee-track { gap: 28px; padding-right: 28px; animation-duration: 45s; }
.brands .marquee { padding: 14px 0 6px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* a logo tile: the cropped square, corners clipped so the source background never shows */
.logo-tile { aspect-ratio: 1; border-radius: 24%; overflow: hidden; flex: none; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.45); transition: transform .3s, box-shadow .3s; }
.logo-tile img { width: 110%; height: 110%; max-width: none; margin: -5%; object-fit: cover; user-select: none; }
.logo-tile:hover { transform: translateY(-4px) rotate(-2deg); box-shadow: 0 0 0 3px var(--yellow), 0 14px 30px rgba(0,0,0,.5); }

.brand-sub { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--yellow); margin: 64px auto 24px; }
.brand-top { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 22px; }
.brand-card { display: grid; gap: 12px; justify-items: center; text-align: center; width: clamp(120px, 13vw, 150px); }
.brand-card .logo-tile { width: 100%; }
.brand-card span { font-size: 13px; font-weight: 700; color: var(--muted); }
.brand-rest { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.brand-rest { gap: 26px 20px; }
.brand-card.small { width: clamp(92px, 10vw, 116px); }
.brand-card.small span { font-size: 12px; }

/* results */
.results-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.result { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s; }
.result:hover { border-color: var(--yellow); }
.shot { display: block; width: 100%; aspect-ratio: 16/10; background: #0d0d0d; border: 0; border-bottom: 1px solid var(--line); cursor: zoom-in; overflow: hidden; padding: 0; }
.shot[disabled] { cursor: default; background: repeating-linear-gradient(45deg, #121212 0 14px, #161616 14px 28px); }
.shot img, .lightbox img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.shot:hover img { transform: scale(1.04); }
.shot-ph { display: grid; place-items: center; height: 100%; color: #555; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; font-size: 12px; }
.result-body { padding: 24px 26px 28px; }
.tag { display: inline-block; background: var(--yellow); color: var(--black); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; }
.result h3 { font-size: 20px; margin-top: 14px; }
.metric { display: block; font-family: var(--display); font-weight: 400; font-size: 42px; color: var(--yellow); line-height: 1.1; margin: 6px 0; }
.result p { color: var(--muted); font-size: 15px; }
.result.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.15fr; border-color: rgba(255,212,0,.45); background: linear-gradient(135deg, #1a1700, var(--panel) 55%); }
.result.featured .result-body { padding: clamp(26px, 3.5vw, 44px); align-self: center; }
.result.featured .metric { font-size: clamp(48px, 6vw, 84px); line-height: 1; margin: 10px 0 14px; }
.result.featured .shot { aspect-ratio: auto; height: 100%; min-height: 320px; border-bottom: 0; border-left: 1px solid var(--line); background: #fafafa; position: relative; }
.result.featured .shot img { object-fit: contain; object-position: center; padding: 18px; }
.result.featured .shot img.focus { position: absolute; inset: 0; object-fit: cover; padding: 0; }
.result.featured:nth-child(even) .shot { order: -1; border-left: 0; border-right: 1px solid var(--line); }
.shot-cta { position: absolute; right: 14px; bottom: 14px; background: var(--yellow); color: var(--black); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; border-radius: 6px; }
.highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
.highlights div { background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.highlights b { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; }
.highlights span { font-size: 12px; color: var(--muted); font-weight: 600; }
.highlights em { float: right; font-style: normal; font-size: 12px; font-weight: 800; color: var(--green); }
@media (max-width: 860px) {
  .result.featured { grid-template-columns: 1fr; }
  .result.featured .shot { border-left: 0; border-top: 1px solid var(--line); min-height: 220px; }
}

/* process */
.process { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.process li { border-top: 2px solid var(--yellow); padding-top: 22px; }
.process span { font-family: var(--display); font-size: 18px; color: var(--yellow); }
.process h3 { font-family: var(--display); font-weight: 400; font-size: 34px; text-transform: uppercase; margin: 6px 0 8px; }
.process p { color: var(--muted); font-size: 15px; }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1.05fr; gap: 26px; align-items: start; }
.calc-inputs { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 26px; }
.calc-group h3 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); margin-bottom: 12px; }
.calc-group label { display: grid; grid-template-columns: 1fr auto 130px; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.calc-group label:last-child { border-bottom: 0; }
.unit { color: var(--muted); font-size: 12px; font-weight: 700; }
.calc input { width: 100%; background: var(--black); border: 1.5px solid var(--line); color: var(--white); font: 700 16px var(--body); padding: 10px 12px; border-radius: 8px; text-align: right; outline: none; transition: border-color .2s; }
.calc input:focus { border-color: var(--yellow); }
.calc-out { position: sticky; top: 90px; display: grid; gap: 14px; }
.out-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.out-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.out-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.out-card p { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.out-card strong { display: block; font-family: var(--display); font-weight: 400; font-size: 30px; margin-top: 4px; }
.out-card.big strong { font-size: clamp(48px, 5vw, 68px); line-height: 1.05; }
.out-card.big span { font-size: 13px; color: var(--muted); }
.out-card.yellow { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.out-card.yellow p, .out-card.yellow span { color: rgba(0,0,0,.7); }
.verdict { border-radius: var(--radius); padding: 16px 20px; font-weight: 600; font-size: 15px; border: 1px solid; }
.verdict.bad { background: rgba(255,90,78,.1); border-color: rgba(255,90,78,.5); color: #ffb3ad; }
.verdict.mid { background: rgba(255,212,0,.08); border-color: rgba(255,212,0,.4); color: var(--yellow-2); }
.verdict.good { background: rgba(74,222,128,.1); border-color: rgba(74,222,128,.5); color: #a7f3c4; }
.meter { padding: 30px 4px 0; }
.meter-bar { position: relative; height: 14px; border-radius: 999px; background: var(--yellow); }
.meter-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px 0 0 999px; transition: width .4s; }
#mT { background: #8a7a2a; z-index: 1; }
#mBe { background: var(--red); z-index: 2; }
#mCur { position: absolute; top: -8px; width: 4px; height: 30px; background: var(--white); border-radius: 2px; z-index: 3; transform: translateX(-50%); transition: left .4s; }
#mCur::after { content: attr(data-v); position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 800; background: var(--white); color: var(--black); padding: 2px 8px; border-radius: 4px; white-space: nowrap; }
.meter-legend { display: flex; gap: 18px; margin-top: 12px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.meter-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.lg-r { background: var(--red); } .lg-g { background: #8a7a2a; } .lg-y { background: var(--yellow); }
.formula { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; font-size: 14px; color: var(--muted); }
.formula summary { cursor: pointer; font-weight: 700; color: var(--white); }
.formula ul { margin: 12px 0 0 18px; display: grid; gap: 8px; }
.formula b { color: var(--white); }

/* contact */
.contact { text-align: center; }
.contact .lead { margin-inline: auto; }
.contact-title { font-size: clamp(52px, 9vw, 130px); }
.hero-ctas.center { margin-top: 38px; }
.footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px clamp(18px, 4vw, 48px); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer a:hover { color: var(--yellow); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 40px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 8px; box-shadow: 0 20px 80px rgba(0,0,0,.6); }
.lightbox button { position: absolute; top: 20px; right: 26px; background: none; border: 0; color: var(--white); font-size: 40px; cursor: pointer; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .services-grid, .calc { grid-template-columns: 1fr; }
  .calc-out { position: static; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(0,0,0,.15); }
}
@media (max-width: 640px) {
  .results-grid, .process { grid-template-columns: 1fr; }
  .calc-group label { grid-template-columns: 1fr auto 110px; font-size: 13px; }
  .out-hero, .out-row { grid-template-columns: 1fr; }
  .chips span:nth-child(n+2) { display: none; }
  .hero-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
