:root {
  --cream: #FFF4E6; --paper: #FFFBF5; --ink: #1F2544; --ink-soft: #565C86;
  --coral: #FF6B6B; --sun: #FFD166; --mint: #06D6A0; --sky: #4CC9F0; --lav: #9B8CFF;
  --radius: 28px; --shadow: 0 24px 60px rgba(31, 37, 68, .10);
  --head: 'Poppins', system-ui, sans-serif; --body: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; letter-spacing: -.02em; line-height: 1.1; }
img, video { display: block; max-width: 100%; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 64px); background: rgba(255, 244, 230, .82); backdrop-filter: blur(12px); }
.brand { font: 700 20px var(--head); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--coral); box-shadow: 10px 0 0 -2px var(--sun); margin-right: 8px; }
.nav nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 30px); }
.nav nav a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--ink-soft); }
.nav nav a:not(.btn):hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--coral); color: #fff; font: 600 17px var(--head); padding: 15px 28px; border-radius: 999px;
  box-shadow: 0 12px 28px rgba(255, 107, 107, .35); transition: transform .2s cubic-bezier(.2,.8,.2,1.4), box-shadow .2s; }
.btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 16px 34px rgba(255, 107, 107, .45); }
.btn-small { padding: 10px 20px; font-size: 15px; }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: 0 8px 22px rgba(31, 37, 68, .08); }
.btn-ghost:hover { box-shadow: 0 12px 28px rgba(31, 37, 68, .14); }
.btn-dark { background: var(--ink); box-shadow: 0 12px 28px rgba(31, 37, 68, .25); }

/* Hero */
.hero { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(40px, 7vw, 96px) clamp(20px, 5vw, 64px) clamp(48px, 7vw, 90px); max-width: 1320px; margin: 0 auto; }
.shapes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.s { transform-box: fill-box; transform-origin: center; animation: float 7s ease-in-out infinite; }
.s2 { animation-delay: -2s; } .s3 { animation-delay: -4s; } .s4 { animation-delay: -1s; } .s5 { animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-14px) rotate(12deg); } }
.hero-copy, .hero-media { position: relative; z-index: 1; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: #fff; padding: 8px 18px; border-radius: 999px;
  font-weight: 600; font-size: 15px; box-shadow: 0 8px 22px rgba(31, 37, 68, .07); }
.live { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(6, 214, 160, .5); } 100% { box-shadow: 0 0 0 12px rgba(6, 214, 160, 0); } }
h1 { font-size: clamp(42px, 5.6vw, 76px); font-weight: 800; margin: 22px 0 18px; }
.hl { background: linear-gradient(transparent 62%, var(--sun) 62%, var(--sun) 92%, transparent 92%); padding: 0 .08em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-soft); max-width: 34em; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-row.center { justify-content: center; }
.facts { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 14px 34px; }
.facts li { display: flex; flex-direction: column; }
.facts b { font: 700 17px var(--head); }
.facts span { color: var(--ink-soft); font-size: 14px; }
.reel-card { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 16/9;
  box-shadow: 0 40px 90px rgba(31, 37, 68, .22); transform: rotate(1.2deg); transition: transform .35s cubic-bezier(.2,.8,.2,1.2); background: #fff; }
.reel-card:hover { transform: rotate(0) scale(1.015); }
.reel-card video { width: 100%; height: 100%; object-fit: cover; }
.sound-chip { position: absolute; left: 18px; bottom: 18px; display: inline-flex; gap: 8px; align-items: center;
  background: rgba(31, 37, 68, .86); color: #fff; font: 600 15px var(--head); padding: 10px 18px; border-radius: 999px; backdrop-filter: blur(6px); }

/* Sections */
.section { max-width: 1320px; margin: 0 auto; padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 64px) 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.eyebrow { font: 700 14px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin: 0 0 10px; }
h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; }
.muted { color: var(--ink-soft); margin: 14px 0 0; }

/* Work cards */
.work { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: pointer;
  transition: transform .3s cubic-bezier(.2,.8,.2,1.2), box-shadow .3s; outline: none; }
.work:hover, .work:focus-visible { transform: translateY(-6px); box-shadow: 0 34px 70px rgba(31, 37, 68, .16); }
.work .media { position: relative; aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.work .media video.wide { width: 100%; height: 100%; object-fit: cover; }
.work .media video.square { height: 86%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; box-shadow: 0 20px 44px rgba(59, 36, 24, .3); }
.work-copy { padding: 26px 30px 30px; }
.work h3 { font-size: 24px; font-weight: 700; margin: 12px 0 8px; }
.work p { color: var(--ink-soft); margin: 0; font-size: 16px; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge { font: 600 13px var(--head); background: var(--ink); color: #fff; padding: 4px 12px; border-radius: 999px; }
.badge.soft { background: rgba(31, 37, 68, .08); color: var(--ink-soft); }
.tags { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(155, 140, 255, .16); color: #5B4FE0; }
.watch { display: inline-block; margin-top: 20px; font: 700 16px var(--head); color: var(--coral); }
.featured { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 28px; }
.featured .media { aspect-ratio: auto; min-height: 560px; }
.featured .work-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 56px); }
.featured h3 { font-size: clamp(26px, 2.6vw, 36px); }
.featured p { font-size: 17px; }
.phone { height: 480px; aspect-ratio: 9/16; border-radius: 34px; border: 9px solid #0E1030; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); transform: rotate(-3deg); }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.bg-night { background: radial-gradient(circle at 50% 30%, #3B40A0, #1B1F4B 70%); }
.bg-mint { background: #E3F7EE; } .bg-espresso { background: #2A1810; } .bg-orange { background: linear-gradient(135deg, #FFB067, #FF8A3D); } .bg-peach { background: #F4E3D7; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc { background: var(--paper); border-radius: 22px; padding: 26px; box-shadow: 0 10px 30px rgba(31, 37, 68, .06); transition: transform .25s; }
.svc:hover { transform: translateY(-4px); }
.svc i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: color-mix(in srgb, var(--c) 22%, white); margin-bottom: 16px; }
.svc svg { width: 28px; height: 28px; fill: none; stroke: var(--c); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: brightness(.85); }
.svc svg .fill { fill: var(--c); stroke: none; }
.svc h4 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.svc p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; background: var(--paper); border-radius: 22px; padding: 28px 26px; box-shadow: 0 10px 30px rgba(31, 37, 68, .06); }
.steps span { font: 800 15px var(--head); color: #fff; background: var(--ink); border-radius: 999px; padding: 4px 12px; }
.steps h4 { font-size: 21px; margin: 18px 0 8px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.toolkit { color: var(--ink-soft); font-size: 15px; margin: 26px 0 0; }

/* Contact */
.contact-card { position: relative; overflow: hidden; text-align: center; background: var(--ink); color: #fff; border-radius: 36px;
  padding: clamp(48px, 7vw, 90px) 24px; }
.contact-card h2, .contact-card p, .contact-card .cta-row { position: relative; z-index: 1; }
.contact-card p { color: #C9CBF0; font-size: 19px; margin: 14px 0 30px; }
.contact-card .btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; border: 2px solid rgba(255, 255, 255, .25); }
.footer { display: flex; justify-content: space-between; max-width: 1320px; margin: 0 auto; padding: 40px clamp(20px, 5vw, 64px) 48px; color: var(--ink-soft); font-size: 15px; }

/* Player */
dialog { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 94vh; overflow: visible; }
dialog::backdrop { background: rgba(14, 16, 40, .86); backdrop-filter: blur(6px); }
.player-inner { position: relative; }
dialog video { max-width: min(1200px, 94vw); max-height: 84vh; border-radius: 18px; background: #000; margin: 0 auto; }
.player-title { color: #fff; text-align: center; font: 600 16px var(--head); margin: 14px 0 0; }
.close { position: absolute; top: -18px; right: -18px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--ink); font-size: 28px; line-height: 1; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }

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

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr; }
  .featured .media { min-height: 520px; }
  .services, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav nav a:not(.btn) { display: none; }
  .grid2, .services, .steps { grid-template-columns: 1fr; }
  .featured .media { min-height: 460px; }
  .phone { height: 400px; }
  .close { top: -52px; right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
