/* Layout and type follow the Awoken Labs dashboard; the red comes from the B logo so it reads as its own brand. */
:root {
  --bg: #0a0a0d;
  --card: #121217;
  --card-2: #18181f;
  --border: rgba(255, 255, 255, 0.08);
  --border-hi: rgba(255, 43, 58, 0.45);
  --text: #f6f6f8;
  --text-2: #a3a3ad;
  --text-3: #6b6b76;
  --accent: #ff2b3a;
  --accent-dim: rgba(255, 43, 58, 0.12);
  --live: #9146ff;
  --radius: 18px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.mono { font-family: var(--mono); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.glow {
  position: absolute; inset: 0 0 auto; height: 900px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(700px 500px at 78% 10%, rgba(255, 43, 58, 0.18), transparent 70%),
    radial-gradient(600px 400px at 0% 0%, rgba(255, 43, 58, 0.07), transparent 70%);
}

.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 12px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 15px;
  transition: transform 160ms, box-shadow 160ms, background 160ms;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 43, 58, 0.3); }
.btn-ghost { background: var(--card); border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--border-hi); box-shadow: none; }
.btn-small { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-live { height: 38px; padding: 0 14px; font-size: 13px; border-radius: 10px; background: var(--live); }
.btn-live:hover { box-shadow: 0 10px 26px rgba(145, 70, 255, 0.35); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(10, 10, 13, 0.72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; margin-right: auto; }
.brand img { border-radius: 9px; }
.nav-links { display: flex; gap: 4px; margin-right: 8px; }
.nav-links a { padding: 8px 12px; border-radius: 8px; color: var(--text-2); font-weight: 500; font-size: 14px; transition: color 160ms, background 160ms; }
.nav-links a:hover { color: var(--text); background: var(--card); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 72px; }
.eyebrow { font-size: 13px; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; }
.sep { color: var(--text-3); }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; margin: 16px 0 22px; text-wrap: balance; }
.lede { color: var(--text-2); font-size: 18px; max-width: 54ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.stats { display: flex; gap: 40px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dd { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.stats dt { color: var(--text-3); font-size: 13px; }

.hero-art { display: grid; place-items: center; }
.avatar-card { position: relative; width: min(100%, 380px); aspect-ratio: 1; border-radius: 40px; padding: 10px; background: linear-gradient(160deg, rgba(255, 43, 58, 0.5), rgba(255, 255, 255, 0.04) 50%, rgba(255, 43, 58, 0.2)); box-shadow: 0 40px 120px rgba(255, 43, 58, 0.22); transform: rotate(2deg); }
.avatar-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; }
.live-tag { position: absolute; left: 24px; bottom: -14px; background: var(--live); color: #fff; font: 700 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; padding: 9px 12px; border-radius: 99px; border: 3px solid var(--bg); transform: rotate(-2deg); }

/* Sections */
.section { padding-block: 72px; }
.section-head { margin-bottom: 36px; }
.kicker { color: var(--accent); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; }
.sub-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 56px 0 20px; }
.sub-head h3 { font-size: 20px; letter-spacing: -0.02em; }
.more { color: var(--text-2); font-size: 13px; }
.more::after { content: ' \2192'; }
.more:hover { color: var(--accent); }
.meta { color: var(--text-3); font-size: 12px; }
.tag { display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); background: var(--accent-dim); padding: 4px 9px; border-radius: 99px; }

.venture, .script, .video, .platform, .product {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: border-color 180ms, transform 180ms;
}
.venture:hover, .script:hover, .video:hover, .platform:hover, .product:hover { border-color: var(--border-hi); transform: translateY(-3px); }

/* Work */
.ventures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.venture { position: relative; display: block; aspect-ratio: 16 / 10; }
.venture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms; }
.venture:hover img { transform: scale(1.04); }
.venture-body { position: absolute; inset: auto 0 0; padding: 28px; background: linear-gradient(transparent, rgba(10, 10, 13, 0.92) 45%); }
.venture h3 { font-size: 28px; letter-spacing: -0.03em; margin: 10px 0 4px; }
.venture p { color: var(--text-2); max-width: 44ch; }

.scripts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.script { display: flex; flex-direction: column; }
.script img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--card-2); }
.script-name { padding: 14px 16px 2px; font-weight: 700; }
.script-blurb { padding: 0 16px 16px; color: var(--text-3); font-size: 13px; line-height: 1.45; }
.script-all { justify-content: flex-end; background: radial-gradient(300px 200px at 100% 0%, rgba(255, 43, 58, 0.22), transparent 70%), var(--card); }
.script-all .script-name { font-size: 20px; }
.script-all .script-name::after { content: ' \2197'; color: var(--accent); }

/* Content */
.live-block { margin-bottom: 28px; }
.frame { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--live); }
.frame iframe { width: 100%; height: 100%; border: 0; }
.live-block .meta { margin-top: 10px; }

.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.video { display: flex; flex-direction: column; }
.thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms; }
.video:hover .thumb img { transform: scale(1.04); }
.video-title { padding: 14px 16px 4px; font-weight: 600; font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video .meta { padding: 0 16px 16px; margin-top: auto; }

.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.platform { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 20px; align-items: center; }
.platform .icon { grid-row: span 2; width: 24px; height: 24px; background: var(--text); }
.platform-name { font-weight: 700; line-height: 1.3; }
.platform-handle { color: var(--text-3); font-size: 12px; }
.platform-blurb { grid-column: 1 / -1; color: var(--text-2); font-size: 14px; margin-top: 12px; }
.platform:hover .icon { background: var(--accent); }

/* Mask lets one simple-icons SVG take any colour. */
.icon { display: block; width: 20px; height: 20px; background: var(--text-2); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; transition: background 160ms; }

/* Merch */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.product { display: flex; flex-direction: column; }
.product img { aspect-ratio: 1; object-fit: cover; width: 100%; background: var(--card-2); }
.product-name { padding: 12px 14px 2px; font-weight: 600; font-size: 14px; }
.product .meta { padding: 0 14px 14px; color: var(--accent); }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 64px; }
.about .section-head { grid-row: span 2; }
.about-body p { color: var(--text-2); font-size: 17px; margin-bottom: 16px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 16px; }
.facts div { background: var(--card); padding: 18px 20px; }
.facts dt { color: var(--text-3); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.facts dd { font-weight: 600; margin-top: 4px; }

/* Contact */
.contact { text-align: center; padding: 72px 24px; border-radius: 28px; border: 1px solid var(--border-hi); background: radial-gradient(600px 300px at 50% 0%, rgba(255, 43, 58, 0.2), transparent 70%), var(--card); }
.contact h2 { max-width: 20ch; margin: 0 auto 14px; text-wrap: balance; }
.contact p { color: var(--text-2); font-size: 17px; margin-bottom: 28px; }

/* Footer */
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 32px 48px; color: var(--text-3); font-size: 14px; border-top: 1px solid var(--border); }
.foot-socials { display: flex; gap: 6px; }
.social { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; transition: background 160ms; }
.social .icon { width: 17px; height: 17px; }
.social:hover { background: var(--card); }
.social:hover .icon { background: var(--accent); }

@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 56px; gap: 48px; }
  .hero-art { order: -1; justify-items: start; }
  .avatar-card { width: 160px; border-radius: 30px; padding: 7px; }
  .avatar-card img { border-radius: 24px; }
  .scripts, .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .videos, .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .wrap, .nav-inner { padding-inline: 16px; }
  .nav-links { display: none; }
  .ventures, .videos, .platforms { grid-template-columns: minmax(0, 1fr); }
  .stats { gap: 24px; }
  .stats dd { font-size: 26px; }
  .section { padding-block: 56px; }
  .contact { padding: 48px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
