/* Yates Media — site styles */
:root {
  --bg: #0b0b0f;
  --bg-2: #111117;
  --surface: #16161d;
  --surface-2: #1c1c25;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f4f6;
  --muted: #a3a3b2;
  --lime: #d4ff3a;
  --lime-ink: #10120a;
  --violet: #7b5cff;
  --cyan: #3ad6ff;
  --light: #f1efec;
  --light-2: #e7e4df;
  --ink: #0b0b0f;
  --ink-muted: #55545c;
  --radius: 28px;
  --radius-sm: 16px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--lime-ink); padding: 10px 16px; border-radius: 999px; font-weight: 600;
}
.skip:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: 0.02em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-lime { background: var(--lime); color: var(--lime-ink); box-shadow: 0 10px 40px -12px rgba(212, 255, 58, 0.55); }
.btn-lime:hover { box-shadow: 0 14px 50px -10px rgba(212, 255, 58, 0.75); }
.btn-outline { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn-outline:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.08); }
.btn-ghost { color: var(--text); border-color: transparent; }
.btn-ghost:hover { border-color: var(--line-strong); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color 0.3s, backdrop-filter 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(11, 11, 15, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.header-inner { max-width: 1400px; margin: 0 auto; padding: 18px var(--gutter); display: flex; align-items: center; gap: 24px; }
.brand img { height: 32px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(244, 244, 246, 0.8); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }
.header-cta { min-height: 42px; padding: 0 20px; font-size: 13px; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
.mobile-menu { display: flex; flex-direction: column; gap: 6px; padding: 8px var(--gutter) 28px; background: rgba(11, 11, 15, 0.96); border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { font-family: var(--font-display); font-size: 26px; font-weight: 600; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 18px; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 120px var(--gutter) 110px; text-align: center; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; background: #0b0b0f url("/assets/img/hero-poster.jpg") center / cover no-repeat; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background:
  radial-gradient(ellipse 70% 60% at 50% 50%, rgba(11, 11, 15, 0.55), rgba(11, 11, 15, 0.82) 70%),
  linear-gradient(180deg, rgba(11, 11, 15, 0.55) 0%, rgba(11, 11, 15, 0.2) 35%, rgba(11, 11, 15, 0.92) 100%); }
.hero-content { max-width: 980px; }
.hero-title { font-size: clamp(46px, 9vw, 116px); font-weight: 800; line-height: 0.98; letter-spacing: -0.035em; }
.hero-title .line { display: block; opacity: 0; transform: translateY(30px); animation: rise 0.9s var(--ease) forwards; }
.hero-title .line:nth-child(2) { animation-delay: 0.12s; }
.hero-title .line:nth-child(3) { animation-delay: 0.24s; }
.pill {
  display: inline-block; vertical-align: baseline; background: var(--text); color: var(--ink); border-radius: 0.28em;
  padding: 0.02em 0.22em 0.1em; margin: 0.06em 0; white-space: nowrap; overflow: hidden;
  transition: width 0.45s var(--ease);
}
.pill-text { display: inline-block; transition: opacity 0.3s, transform 0.3s var(--ease); }
.pill.swap .pill-text { opacity: 0; transform: translateY(0.25em); }
.hero-sub { max-width: 640px; margin: 28px auto 0; color: rgba(244, 244, 246, 0.82); font-size: clamp(16px, 1.6vw, 19px); opacity: 0; animation: rise 0.9s var(--ease) 0.4s forwards; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; opacity: 0; animation: rise 0.9s var(--ease) 0.52s forwards; }
.hero-channels { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 34px 0 0; opacity: 0; animation: rise 0.9s var(--ease) 0.64s forwards; }
.hero-channels li { font-size: 13px; font-weight: 500; color: rgba(244, 244, 246, 0.75); padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(11, 11, 15, 0.35); backdrop-filter: blur(6px); }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244, 244, 246, 0.65); white-space: nowrap; }
.mouse { width: 18px; height: 28px; border: 1.5px solid currentColor; border-radius: 10px; position: relative; }
.mouse span { position: absolute; left: 50%; top: 5px; width: 2px; height: 6px; margin-left: -1px; background: var(--lime); border-radius: 2px; animation: wheel 1.8s ease-in-out infinite; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { opacity: 0; } }

/* Sections */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.panel { background: var(--bg-2); border-radius: var(--radius) var(--radius) 0 0; margin-top: -28px; z-index: 2; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 70px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 14px currentColor; }
.section h2 { font-size: clamp(36px, 5.6vw, 72px); font-weight: 800; letter-spacing: -0.03em; }
.lead { margin-top: 20px; color: var(--muted); font-size: clamp(17px, 1.5vw, 19px); max-width: 620px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; justify-content: space-between; min-height: 230px; position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(123, 92, 255, 0.28), transparent 70%); pointer-events: none; }
.stat:nth-child(2)::after { background: radial-gradient(circle, rgba(212, 255, 58, 0.2), transparent 70%); }
.stat:nth-child(3)::after { background: radial-gradient(circle, rgba(58, 214, 255, 0.2), transparent 70%); }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(64px, 8vw, 112px); line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat-num em { font-style: normal; color: var(--lime); font-size: 0.5em; margin-left: 0.06em; letter-spacing: -0.02em; }
.stat-label { margin-top: 28px; color: var(--muted); font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; }
.stat-visual { grid-column: 1 / -1; padding: 0; min-height: 0; aspect-ratio: 3 / 1; }
.stat-visual img { width: 100%; height: 100%; object-fit: cover; }
.stat-visual::after { display: none; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { --mx: 50%; --my: 0%; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px 36px; overflow: hidden; isolation: isolate; transition: border-color 0.3s, transform 0.4s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--glow) 26%, transparent), transparent 60%); opacity: 0.55; transition: opacity 0.4s; }
.card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--glow) 14%, transparent); border: 1px solid color-mix(in srgb, var(--glow) 35%, transparent); margin-bottom: 34px; }
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--glow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 16px; }

/* Marquee */
.marquee-wrap { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--bg); }
.marquee { 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 + .marquee { margin-top: 10px; }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-reverse .marquee-track { animation-direction: reverse; animation-duration: 46s; }
.marquee span { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 7vw, 96px); letter-spacing: -0.03em; line-height: 1.1; white-space: nowrap; }
.marquee-reverse span { color: rgba(244, 244, 246, 0.16); }
.marquee i { font-style: normal; color: var(--lime); font-size: clamp(22px, 3vw, 40px); }
.marquee-reverse i { color: var(--violet); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Light panel */
.light { background: var(--light); color: var(--ink); border-radius: var(--radius); margin: 0 clamp(0px, 1.2vw, 16px); }
.light .eyebrow { color: #5a3fe0; }
.light .lead { color: var(--ink-muted); }
.how-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(11, 11, 15, 0.12); }
.step { display: flex; gap: 26px; padding: 28px 0; border-bottom: 1px solid rgba(11, 11, 15, 0.12); }
.step-num { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #5a3fe0; padding-top: 6px; min-width: 28px; }
.step h3 { font-size: 26px; margin-bottom: 8px; }
.step p { color: var(--ink-muted); }
.how-visual { position: sticky; top: 110px; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.how-visual img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.how-visual figcaption { display: flex; flex-direction: column; gap: 6px; padding: 26px 28px 30px; color: var(--text); }
.how-visual figcaption strong { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.how-visual figcaption span { color: var(--muted); }

/* Creative */
.creative-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.ticks li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310120a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.creative-media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.frame img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.8s var(--ease); }
.frame:hover img { transform: scale(1.04); }
.frame-b { margin-top: 70px; }

/* About */
.about { padding-top: 0; }
.about-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; isolation: isolate; }
.about-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.about-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 11, 15, 0) 20%, rgba(11, 11, 15, 0.92) 85%), linear-gradient(90deg, rgba(11, 11, 15, 0.6), rgba(11, 11, 15, 0) 70%); }
.about-overlay { padding: clamp(28px, 5vw, 64px); max-width: 760px; }
.about-overlay h2 { font-size: clamp(34px, 5vw, 64px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 20px; }
.about-overlay p:not(.eyebrow) { color: rgba(244, 244, 246, 0.85); font-size: clamp(16px, 1.5vw, 19px); }

/* Partner CTA cards */
.cta-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cta-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 30px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.cta-card:first-child { background: linear-gradient(160deg, rgba(212, 255, 58, 0.14), rgba(123, 92, 255, 0.12) 60%, var(--surface)); border-color: rgba(212, 255, 58, 0.25); }
.cta-card h3 { font-size: 30px; font-weight: 800; }
.cta-card p { color: var(--muted); flex: 1; }
.cta-card .btn { align-self: flex-start; margin-top: 12px; }

/* Contact */
.contact { background: radial-gradient(ellipse 60% 70% at 85% 30%, rgba(123, 92, 255, 0.18), transparent 70%), radial-gradient(ellipse 50% 60% at 10% 90%, rgba(212, 255, 58, 0.08), transparent 70%), var(--bg-2); border-radius: var(--radius) var(--radius) 0 0; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-email { display: inline-block; margin-top: 30px; font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.2vw, 28px); border-bottom: 2px solid var(--lime); padding-bottom: 4px; word-break: break-all; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: rgba(22, 22, 29, 0.8); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 14px; padding: 13px 15px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3a3b2' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(212, 255, 58, 0.18); }
.field input[aria-invalid="true"] { border-color: #ff6b6b; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.form-note { color: var(--muted); font-size: 14px; }
.form-note.error { color: #ff8a8a; }

/* Footer */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 34px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--muted); max-width: 400px; font-size: 15px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; align-content: start; }
.footer-links a, .footer-base a { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(244, 244, 246, 0.75); }
.footer-links a:hover, .footer-base a:hover { color: var(--lime); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer-contact a:not(.btn) { font-family: var(--font-display); font-weight: 700; font-size: 18px; word-break: break-all; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { grid-column: 1 / -1; }
  .stat-visual { aspect-ratio: 16 / 9; }
  .cards, .cta-cards { grid-template-columns: 1fr 1fr; }
  .how-grid, .creative-grid, .contact-grid { grid-template-columns: 1fr; }
  .how-visual { position: relative; top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .brand img { height: 28px; }
  .hero { padding-top: 110px; padding-bottom: 96px; }
  .after-pill { display: block; }
  .hero-actions .btn { width: 100%; }
  .scroll-hint span:last-child { display: none; }
  .stats, .cards, .cta-cards { grid-template-columns: 1fr; }
  .stat { min-height: 190px; }
  .stat:nth-child(3) { grid-column: auto; }
  .card { padding: 28px 24px 30px; }
  .light { margin: 0; border-radius: 22px; }
  .step { gap: 16px; }
  .creative-media { gap: 10px; }
  .frame-b { margin-top: 40px; }
  .about-card { min-height: 620px; }
  .contact-form { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line, .hero-sub, .hero-actions, .hero-channels { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
