:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #71717a;
  --accent: #e5163c;
  --accent-soft: #fef1f3;
  --border: #f0eeec;
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 14px;
  --font: "Plus Jakarta Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Grain ── */
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ── Progress ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), #ff6b6b, #c084fc);
  z-index: 10000; border-radius: 0 4px 4px 0;
}

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 7vw;
  z-index: 100;
  transition: padding .4s cubic-bezier(.2,.8,.2,1), background .4s, box-shadow .4s;
}
.nav.is-scrolled {
  padding: 14px 7vw;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  flex-shrink: 0;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-text { font-weight: 800; font-size: 18px; letter-spacing: -.03em; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav nav { display: flex; gap: 4px; }
.nav nav a {
  position: relative;
  padding: 8px 14px;
  font-size: 14px; font-weight: 600; color: var(--muted);
  transition: color .25s;
}
.nav nav a::after {
  content: '';
  position: absolute; bottom: 2px; left: 14px; right: 14px;
  height: 2px; border-radius: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.nav nav a:hover,
.nav nav a.is-active { color: var(--text); }
.nav nav a:hover::after,
.nav nav a.is-active::after { transform: scaleX(1); }
.nav-divider { width: 1px; height: 24px; background: var(--border); margin: 0 8px; }
.nav-socials { display: flex; gap: 2px; }
.nav-socials a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; color: var(--muted);
  transition: color .2s, transform .2s;
}
.nav-socials a:hover { color: var(--accent); transform: translateY(-2px); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 7vw 100px;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: ''; position: absolute; border-radius: 50%;
  pointer-events: none; z-index: 0;
}
.hero::before {
  width: 50vw; height: 50vw; max-width: 650px; max-height: 650px;
  background: radial-gradient(circle, rgba(229, 22, 60, .08) 0%, transparent 70%);
  top: -10%; right: -5%;
  filter: blur(80px);
  animation: mesh-float 22s ease-in-out infinite;
}
.hero::after {
  width: 40vw; height: 40vw; max-width: 500px; max-height: 500px;
  background: radial-gradient(circle, rgba(192, 132, 252, .06) 0%, transparent 70%);
  bottom: 0; left: -10%;
  filter: blur(80px);
  animation: mesh-float 17s ease-in-out infinite reverse;
}
.hero-inner {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 1000px; width: 100%;
}

/* Pill */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 999px;
  background: var(--accent-soft);
  font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .3px;
  animation: pill-glow 3s ease-in-out infinite;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); animation: pulse 2s ease-in-out infinite;
}

/* H1 */
h1 {
  margin-top: 32px;
  font-size: clamp(48px, 7vw, 88px); font-weight: 800;
  line-height: 1.06; letter-spacing: -.04em;
}
.h1-line { display: block; }
h1 em {
  font-style: italic; font-weight: 600;
  background: linear-gradient(135deg, var(--accent), #ff6b6b, #c084fc, var(--accent));
  background-size: 300% 300%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradient-shift 6s ease infinite;
}
h2 em { font-style: italic; font-weight: 600; color: var(--accent); }

/* Inline photo */
.h1-photo {
  display: inline-block;
  width: clamp(100px, 13vw, 170px);
  height: clamp(44px, 5.5vw, 72px);
  border-radius: 999px;
  overflow: hidden;
  vertical-align: middle;
  margin: 0 6px;
  position: relative; top: -2px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
  border: 2px solid rgba(255, 255, 255, .8);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.h1-photo:hover { transform: scale(1.1) rotate(-3deg); }
.h1-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Hero sub */
.hero-sub {
  margin: 28px auto 0; max-width: 520px;
  font-size: 17px; line-height: 1.7; color: var(--muted);
}

/* Hero social links */
.hero-links {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 12px;
  margin-top: 40px;
}
.hero-links a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  border: 1.5px solid var(--border);
  font-size: 14px; font-weight: 600; color: var(--muted);
  transition: .3s cubic-bezier(.2,.8,.2,1);
}
.hero-links a svg { flex-shrink: 0; }
.hero-links a:hover {
  border-color: var(--accent); color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 22, 60, .1);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--muted);
  transition: opacity .3s;
}
.hero-scroll span {
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 48px;
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-move 2s ease-in-out infinite;
}

/* ── Marquee ── */
.marquee {
  overflow: hidden; padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee-track {
  display: flex; align-items: center; gap: 28px;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-track span {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--muted); white-space: nowrap;
}
.marquee-track .sep { color: var(--accent); font-size: 10px; }

/* ── Typography ── */
.label {
  display: inline-block; margin-bottom: 14px;
  font-size: 12px; font-weight: 700; color: var(--accent);
  letter-spacing: 1.2px; text-transform: uppercase;
}
h2 {
  font-size: clamp(32px, 3.8vw, 48px); font-weight: 800;
  line-height: 1.12; letter-spacing: -.025em;
}
.section-header { text-align: center; max-width: 540px; margin: 0 auto 56px; }

/* ── Bento About ── */
.bento { padding: 80px 7vw 120px; }
.bento-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  grid-template-rows: repeat(3, 130px);
  gap: 16px;
}
.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: transform .3s, box-shadow .3s;
}
.bento-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0, 0, 0, .06); }
.bento-intro {
  grid-column: 1; grid-row: 1 / 4;
  display: flex; flex-direction: column; justify-content: center;
}
.bento-intro .lead { margin-top: 18px; font-size: 18px; line-height: 1.6; font-weight: 500; }
.bento-intro .sub { margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.bento-stat { display: flex; flex-direction: column; justify-content: center; }
.bento-stat strong { font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.bento-stat span { margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.bento-accent { background: var(--text); color: #fff; border-color: transparent; }
.bento-accent span { color: rgba(255, 255, 255, .5); }
.bento-accent:hover { box-shadow: 0 12px 40px rgba(0, 0, 0, .15); }
.bento-photo {
  grid-column: 3; grid-row: 1 / 4;
  padding: 0; overflow: hidden;
}
.bento-photo:hover { transform: none; }
.bento-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ── Companies ── */
.companies { padding: 120px 7vw; }
.company-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}
.card {
  position: relative; padding: 32px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); display: flex; flex-direction: column;
  transition: .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0, 0, 0, .06); border-color: transparent; }
.card-featured { grid-row: 1 / 3; }
.card-icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: var(--radius-sm); background: var(--accent-soft);
  color: var(--accent); font-size: 20px; font-weight: 700;
}
.card h3 { margin-top: 28px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.card p { margin-top: 10px; font-size: 14px; line-height: 1.65; color: var(--muted); flex: 1; }
.card small { display: block; margin-top: 24px; font-size: 11px; font-weight: 700; letter-spacing: .6px; color: var(--muted); text-transform: uppercase; }
.card-arrow {
  position: absolute; top: 28px; right: 28px;
  font-size: 20px; color: var(--muted); transition: transform .3s;
}
.card:hover .card-arrow { transform: translate(3px, -3px); }

/* ── Content Grid ── */
.content-section { padding: 120px 7vw; }
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  grid-template-rows: 220px 220px;
  gap: 16px;
}
.content-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius); transition: transform .3s;
}
.content-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.content-card:hover { transform: translateY(-3px); }
.content-card:hover img { transform: scale(1.03); }
.content-lg { grid-column: 2; grid-row: 1 / 3; }
.content-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 16px;
}
.play {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 13px;
  align-self: flex-end;
  box-shadow: 0 4px 16px rgba(229, 22, 60, .3);
}
.content-overlay small {
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px);
  font-size: 11px; font-weight: 700; align-self: flex-start;
}

/* ── Social CTA ── */
.social-cta { padding: 0 7vw 120px; }
.social-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 150px 150px;
  gap: 16px;
}
.social-text {
  grid-row: 1 / 3;
  background: var(--text); color: #fff;
  border-radius: var(--radius); padding: 48px;
  display: flex; flex-direction: column; justify-content: center;
}
.social-text .label { color: rgba(255, 255, 255, .4); }
.social-text h2 { color: #fff; margin-bottom: 16px; }
.social-text h2 em { color: var(--accent); }
.social-text p { color: rgba(255, 255, 255, .55); font-size: 15px; line-height: 1.7; }
.social-card {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
  transition: transform .3s, box-shadow .3s;
}
.social-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0, 0, 0, .08); }
.social-card strong { font-size: 16px; font-weight: 800; }
.social-arrow { font-size: 20px; color: var(--muted); align-self: flex-end; transition: transform .3s; }
.social-card:hover .social-arrow { transform: translate(3px, -3px); }
.social-yt { background: #fef2f2; border-color: transparent; color: #dc2626; }
.social-ig { background: linear-gradient(135deg, #fdf2f8, #faf5ff); border-color: transparent; color: #c026d3; }
.social-tt {
  grid-column: 2 / 4;
  flex-direction: row; align-items: center; gap: 16px;
  background: #18181b; color: #fff; border-color: transparent;
}
.social-tt strong { margin: 0; }
.social-tt .social-arrow { margin-left: auto; color: rgba(255, 255, 255, .4); }

/* ── Footer ── */
.footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 40px 7vw; border-top: 1px solid var(--border);
  color: var(--muted); font-size: 12px; font-weight: 600;
}
.footer a { transition: .2s; }
.footer a:hover { color: var(--accent); }

/* ── Reveal ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Focus ── */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px;
}

/* ── Animations ── */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes pill-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229, 22, 60, .08); }
  50% { box-shadow: 0 0 24px 4px rgba(229, 22, 60, .06); }
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes mesh-float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -25px); }
  66% { transform: translate(-25px, 18px); }
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes scroll-move {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .nav { padding: 16px 6vw; }
  .nav.is-scrolled { padding: 12px 6vw; }
  .nav nav, .nav-divider { display: none; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-text { font-size: 16px; }
  .nav-socials a { width: 36px; height: 36px; }

  .hero { padding: 100px 6vw 70px; }
  .hero::before, .hero::after { display: none; }
  h1 { font-size: 40px; margin-top: 20px; letter-spacing: -.03em; }
  .h1-photo { width: 80px; height: 36px; margin: 0 4px; }
  .hero-sub { font-size: 15px; margin-top: 20px; }
  .hero-links { gap: 8px; margin-top: 28px; }
  .hero-links a { padding: 10px 18px; font-size: 13px; }
  .hero-scroll { display: none; }

  .marquee-track { gap: 20px; }
  .marquee-track span { font-size: 11px; letter-spacing: 1px; }

  .bento { padding: 40px 6vw 80px; }
  .bento-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .bento-intro { grid-column: 1 / -1; grid-row: auto; order: 1; }
  .bento-photo { grid-column: 1 / -1; grid-row: auto; height: 280px; order: 2; }
  .bento-stat { grid-row: auto; order: 3; }
  .bento-accent { grid-column: 1 / -1; order: 4; }
  .bento-card { padding: 24px; }
  .bento-stat strong { font-size: 26px; }
  h2 { font-size: 28px; }

  .companies, .content-section { padding: 80px 6vw; }
  .section-header { margin-bottom: 36px; }
  .company-grid { grid-template-columns: 1fr; }
  .card-featured { grid-row: auto; }
  .card { padding: 24px; }

  .content-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .content-lg { grid-column: auto; grid-row: auto; }
  .content-card { aspect-ratio: 16 / 9; }

  .social-cta { padding: 0 6vw 80px; }
  .social-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .social-text { grid-row: auto; padding: 36px; }
  .social-tt { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .social-tt strong { margin: 0; }
  .social-tt .social-arrow { margin-left: 0; align-self: flex-end; }

  .footer { flex-direction: column; gap: 6px; text-align: center; padding: 20px 6vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .grain { display: none; }
}
