/* ViralMedia25 – one-page theme */
:root {
	--ink: #25262b;
	--head: #8c8c8c;
	--text: #7a7a7a;
	--line: #e3e5ea;
	--bg: #ffffff;
	--accent: #6b6ee6;
	--grad: linear-gradient(135deg, #8f5ce9 0%, #5f86e2 48%, #1ec3d7 100%);
	--header-h: 76px;
	--radius: 10px;
	--wrap: 1240px;
	--font: "Hind", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html.smooth { scroll-behavior: smooth; }
html { scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.75; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0; }
p { margin: 0 0 .8em; }
ul { list-style: none; margin: 0; padding: 0; }
.icon { width: 1em; height: 1em; flex: none; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 760px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid #3f7be6; outline-offset: 3px; }
.gradient :focus-visible { outline-color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 14px/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 17px 30px; border: 1px solid transparent; cursor: pointer; transition: transform .2s, background-color .2s, color .2s, box-shadow .2s; }
.btn-primary { background: var(--grad); color: #fff; border-radius: 999px; box-shadow: 0 10px 24px -10px rgba(90, 90, 230, .6); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.85); color: #fff; border-radius: 999px; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: rgba(255,255,255,.9); color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: #4f6ee0; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); background: #fff; transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(20, 20, 60, .25); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 56px; height: 56px; }
.site-nav ul { display: flex; gap: 34px; }
.site-nav a { font: 600 12px/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: 8px 0; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad); transform: scaleX(0); transition: transform .25s; }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; font-size: 26px; color: var(--ink); cursor: pointer; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.site-nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; box-shadow: 0 16px 30px -18px rgba(20,20,60,.35); max-height: 0; overflow: hidden; transition: max-height .3s ease; }
	.site-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 18px; }
	.site-nav a { display: block; padding: 16px 0; font-size: 13px; border-bottom: 1px solid var(--line); }
	.site-nav a::after { display: none; }
	.nav-open .site-nav { max-height: 420px; }
	.nav-open .nav-toggle .icon-open { display: none; }
	.nav-open .nav-toggle .icon-close { display: block; }
}

/* Hero */
.hero { position: relative; min-height: clamp(560px, 92vh, 920px); margin-top: var(--header-h); display: grid; place-items: center; overflow: hidden; background: #1c1545 url("../img/hero-poster.jpg") center / cover no-repeat; color: #fff; text-align: center; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 12, 60, .35) 0%, rgba(80, 50, 190, .42) 60%, rgba(40, 20, 120, .7) 100%); }
.hero-copy { position: relative; padding: 0 24px; }
.hero h1 { color: #fff; display: flex; flex-direction: column; align-items: center; text-shadow: 0 4px 30px rgba(0,0,0,.25); margin-bottom: 36px; }
.hero-line-1 { font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 9.6vw, 118px); letter-spacing: -.03em; line-height: 1; }
.hero-line-2 { font-weight: 300; font-size: clamp(32px, 8.6vw, 104px); letter-spacing: -.02em; line-height: 1.05; }
.hero-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.8); border-radius: 14px; }
.hero-scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollcue 1.8s infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Sections */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-head { text-align: center; max-width: 1000px; margin: 0 auto clamp(44px, 6vw, 80px); }
.section-head h2 { font-size: clamp(30px, 3.4vw, 48px); font-weight: 700; text-transform: uppercase; letter-spacing: -.03em; color: var(--head); margin-bottom: 22px; }
.lead, .lead p { color: var(--text); font-size: 17px; }
.lead p:last-child { margin-bottom: 0; }

.gradient { background: var(--grad); color: rgba(255,255,255,.92); }
.gradient h2, .gradient h3, .gradient h4 { color: #fff; }
.gradient .lead { color: #fff; }

/* Who we are */
.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.point { text-align: center; }
.point p { margin: 0; }
.point-icon { display: flex; justify-content: center; align-items: flex-end; height: 100px; margin-bottom: 36px; }
.point-icon img { max-height: 100px; width: auto; }
@media (max-width: 960px) { .points { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; } }
@media (max-width: 560px) { .points { grid-template-columns: 1fr; } .point-icon { height: 84px; margin-bottom: 22px; } .point-icon img { max-height: 84px; } }

/* Icon hover: a small pop, and the text below darkens slightly */
.point-icon img, .service-icon img { transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.point:hover .point-icon img, .service:hover .service-icon img { transform: translateY(-4px) scale(1.06); }
.point p, .service p { transition: color .3s ease; }
.point:hover p, .service:hover p { color: #666873; }

.talent-stats .icon { transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.talent-stats a:hover .icon, .talent-stats a:focus-visible .icon { transform: translateY(-3px) scale(1.06); }
.brand-track li img { transition: opacity .3s ease, transform .35s ease; }
.brand-track li:hover img { opacity: 1; transform: scale(1.05); }

/* Influencers – full-width rows like the original site */
.influencers { padding-bottom: 0; }
.roster { border-top: 1px solid rgba(255,255,255,.4); }
.talent { position: relative; display: grid; grid-template-columns: minmax(260px, 30%) 1fr; border-bottom: 1px solid rgba(255,255,255,.4); }
.talent-photo { position: relative; min-height: 340px; overflow: hidden; clip-path: polygon(0 0, 86% 0, 100% 100%, 0 100%); background: rgba(0,0,0,.12); }
.talent-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .6s ease; }
.talent:hover .talent-photo img { transform: scale(1.03); }
.talent-body { padding: clamp(28px, 3.4vw, 48px) clamp(24px, 4vw, 64px) clamp(28px, 3.4vw, 48px) clamp(20px, 3vw, 44px); }
.talent-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.talent h3 { font-size: clamp(20px, 2.1vw, 30px); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; }
.talent-tags { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.9); margin: 6px 0 0; }
.talent-stats { display: flex; flex-wrap: wrap; gap: 18px 44px; margin-top: 34px; }
.talent-stats a, .talent-stats .stat { display: flex; flex-direction: column; align-items: center; min-width: 86px; color: #fff; text-decoration: none; line-height: 1.3; text-align: center; }
.talent-stats .icon { font-size: 46px; margin-bottom: 10px; }
.talent-stats strong { font-weight: 600; font-size: 16px; }
.talent-stats span { font-size: 15px; font-weight: 500; }

.more-btn { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.9); font: 600 13px/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background-color .2s, color .2s; }
.more-btn:hover { background: #fff; color: #4f6ee0; }
.more-btn .icon { font-size: 16px; transition: transform .25s; }
.more-btn .less-label, .more-btn[aria-expanded="true"] .more-label { display: none; }
.more-btn[aria-expanded="true"] .less-label { display: inline; }
.more-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }

.talent-more { overflow: hidden; }
.talent-more-inner { padding-top: 38px; max-width: 920px; }
.talent-bio { color: #fff; text-align: justify; hyphens: auto; }
.talent-more h4 { font-size: 26px; font-weight: 500; margin: 40px 0 26px; }
.tg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); grid-auto-flow: column; grid-template-rows: repeat(2, auto); gap: 22px 36px; }
.tg { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 10px; color: #fff; font: 500 14px/1.2 var(--font-head); }
.tg-val { font-size: 16px; }
.tg-bar { grid-column: 1 / -1; height: 5px; background: rgba(255,255,255,.22); }
.tg-bar span { display: block; height: 100%; background: #fff; transform-origin: left; }
.talent-more .btn { margin-top: 44px; }
.js .talent-more.is-opening .tg-bar span { animation: grow .9s ease both; }
@keyframes grow { from { transform: scaleX(0); } }

.talent--collab .talent-body p { max-width: 640px; }
.talent--collab .talent-top { margin-bottom: 14px; }
.talent--collab .btn { margin-top: 12px; }
.collab-plus { position: absolute; inset: 0; display: grid; place-items: center; font-size: 72px; color: #fff; background: rgba(60, 80, 210, .35); }
.collab-plus .icon { stroke-width: 1.6; }

@media (max-width: 760px) {
	.talent { grid-template-columns: 1fr; }
	.talent-photo { min-height: 0; aspect-ratio: 4 / 3; clip-path: none; }
	.talent-body { display: flex; flex-direction: column; }
	.talent-top { display: contents; }
	.talent-stats { order: 2; }
	.more-btn { order: 3; align-self: flex-start; margin-top: 26px; }
	.talent-more { order: 4; }
	.talent--collab .talent-body > * { order: 2; }
	.talent-stats { gap: 18px 26px; margin-top: 24px; }
	.talent-stats .icon { font-size: 36px; }
	.tg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; grid-template-rows: none; }
	.talent-bio { text-align: left; hyphens: manual; }
}

/* What we do */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.service { text-align: center; }
.service-icon { display: flex; justify-content: center; align-items: flex-end; height: 140px; margin: 0 auto 36px; }
.service-icon img { max-height: 140px; width: auto; }
.service p { margin: 0; }
@media (max-width: 900px) { .service-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 56px; } .service-icon { height: 120px; margin-bottom: 20px; } .service-icon img { max-height: 120px; } }

/* Brands – one-row slider */
.brands { overflow: hidden; }
.brands .section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.brand-slider { position: relative; display: flex; align-items: center; gap: 8px; max-width: 1240px; margin: 0 auto; padding: 0 12px; }
.brand-viewport { flex: 1; overflow: hidden; cursor: grab; touch-action: pan-y; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brand-viewport.is-dragging { cursor: grabbing; }
.brand-track { display: flex; width: max-content; will-change: transform; }
.brand-track li { flex: none; width: 210px; height: 110px; display: grid; place-items: center; padding: 0 22px; }
.brand-track img { max-height: 70px; width: auto; object-fit: contain; opacity: .92; pointer-events: none; user-select: none; }
.brand-nav { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 22px; cursor: pointer; transition: background-color .2s; }
.brand-nav:hover, .brand-nav.is-held { background: rgba(255,255,255,.18); }
@media (max-width: 560px) { .brand-track li { width: 150px; height: 90px; padding: 0 14px; } .brand-track img { max-height: 52px; } .brand-nav { width: 36px; height: 36px; } }

/* Contact */
.contact-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field span { display: block; font: 600 12px/1.4 var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: 400 16px/1.5 var(--font); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: #6b7fe8; box-shadow: 0 0 0 4px rgba(100, 110, 235, .14); }
.contact-form .btn { justify-self: center; margin-top: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: 14px 18px; border-radius: 8px; margin: 0 0 22px; font-size: 15px; text-align: center; }
.form-notice--ok { background: #e8f7ee; color: #17663a; }
.form-notice--err { background: #fdecec; color: #9b1c1c; }
.contact-form.is-sending { opacity: .6; pointer-events: none; }
.contact-form altcha-widget { justify-self: center; --altcha-max-width: 300px; --altcha-border-width: 1px; --altcha-border-radius: 8px; --altcha-color-base: #fff; --altcha-color-border: #e3e5ea; --altcha-color-text: #25262b; --altcha-color-border-focus: #6b7fe8; --altcha-color-active: #6b6ee6; --altcha-color-error-text: #9b1c1c; font-family: var(--font-head); font-size: 14px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #141618; color: #9aa0a6; font-size: 14px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; padding-bottom: 26px; }
.site-footer p { margin: 0; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #d6d9dd; font-size: 17px; background: rgba(255,255,255,.06); transition: background-color .2s, color .2s; }
.footer-social a:hover { background: var(--grad); color: #fff; }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	.hero-scroll span { animation: none; }
	.js .talent-more.is-opening .tg-bar span { animation: none; }
	.btn:hover, .talent:hover .talent-photo img { transform: none; }
	.point:hover .point-icon img, .service:hover .service-icon img, .talent-stats a:hover .icon, .brand-track li:hover img { transform: none; }
}
