:root {
  --bg: #080706;
  --surface: #120f0c;
  --surface-2: #1a1511;
  --line: rgba(255, 240, 225, .09);
  --line-2: rgba(255, 240, 225, .16);
  --text: #fffaf5;
  --muted: #aaa19a;
  --orange: #ff850f;
  --orange-deep: #ff5c00;
  --orange-soft: #ffb25f;
  --accent: var(--orange);
  --radius: 22px;
  --wrap: 1240px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.05; }
em { font-style: normal; background: linear-gradient(95deg, var(--orange-soft), var(--orange) 45%, var(--orange-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
[hidden] { display: none !important; }

/* Progress + header */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--orange-deep), var(--orange-soft)); transform-origin: left; transform: scaleX(0); }
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 18px max(20px, calc((100% - var(--wrap)) / 2)); transition: background .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.scrolled .site-header { background: rgba(8, 7, 6, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding-block: 12px; border-color: var(--line); }
.wordmark img { height: 34px; width: auto; }
.header-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 600; color: var(--muted); }
.header-nav a:not(.btn):hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep)); color: #140800; font-weight: 800; font-size: 16px;
  box-shadow: 0 10px 34px -10px rgba(255, 106, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(255, 106, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn span { transition: transform .2s; }
.btn:hover span { transform: translateX(4px); }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 170, 90, .5); }
.btn small { font-weight: 500; font-size: 12px; color: var(--muted); }
.btn-small { padding: 10px 18px; font-size: 14px; color: #140800 !important; }

/* Hero */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero-light {
  position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none;
  background: radial-gradient(50% 45% at 72% 30%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%),
              radial-gradient(35% 35% at 12% 10%, rgba(255, 92, 0, .12), transparent 70%);
  filter: blur(10px);
}
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 75%); }
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 56px; align-items: center; }
.hero-home { padding-bottom: 40px; }
.hero-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-center .hero-lead { margin-inline: auto; }
.hero-center .hero-stats { justify-content: center; }
.prehead { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; color: var(--orange-soft); text-transform: uppercase; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); flex: none; }
.hero h1 { font-size: clamp(38px, 4.4vw, 64px); font-weight: 900; }
.hero-lead { margin: 26px 0 0; font-size: clamp(17px, 1.5vw, 20px); color: #d9cfc6; max-width: 620px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; gap: 40px; margin: 46px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-stats div { margin: 0; }
.hero-stats dt { font-size: 38px; font-weight: 900; letter-spacing: -.03em; }
.hero-stats dd { margin: 0; color: var(--muted); font-size: 14px; }

.product-glow { position: absolute; inset: 8% 6%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 55%, transparent), transparent); filter: blur(50px); opacity: .55; z-index: -1; }
.hero-reel { position: relative; display: block; border-radius: var(--radius); isolation: isolate; transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.hero-reel:hover { transform: perspective(1400px) rotateY(0) rotateX(0) scale(1.01); }
.hero-reel video { width: 100%; aspect-ratio: 1280 / 534; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line-2); box-shadow: 0 40px 90px -30px rgba(0,0,0,.9); }
.reel-label { position: absolute; left: 16px; bottom: 16px; padding: 9px 14px; border-radius: 999px; background: rgba(8,7,6,.72); backdrop-filter: blur(10px); font-size: 13px; color: #e8ded5; border: 1px solid var(--line-2); }

/* Sections */
.section { padding: 100px 0; position: relative; }
.section-tight { padding: 40px 0 80px; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255, 133, 15, .035) 30%, rgba(255, 133, 15, .035) 70%, transparent); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 44px; max-width: 820px; }
.eyebrow { margin: 0 0 14px; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.section h2, .cta-band h2 { font-size: clamp(32px, 4vw, 54px); font-weight: 900; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; padding: 10px 16px; border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.03); border: 1px solid var(--line-2); transition: .2s; }
.chip span { margin-left: 6px; font-size: 12px; opacity: .7; }
.chip:hover { color: var(--text); border-color: rgba(255,170,90,.45); }
.chip.is-active { color: #140800; background: linear-gradient(135deg, var(--orange), var(--orange-deep)); border-color: transparent; }

/* Case cards */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s, box-shadow .35s;
}
.case-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(60% 40% at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
.case-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--accent) 60%, transparent); }
.case-card:hover::before { opacity: 1; }
.case-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0d0b09; border-bottom: 1px solid var(--line); }
.case-media .cover-img, .case-media .hover-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.case-card:hover .cover-img { transform: scale(1.04); }
.hover-video { opacity: 0; object-position: center !important; }
.case-card.playing .hover-video { opacity: 1; }
.case-badges { position: absolute; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; background: rgba(8,7,6,.78); backdrop-filter: blur(8px); border: 1px solid var(--line-2); color: #efe6dd; }
.badge-video { background: var(--accent); color: #fff; border-color: transparent; }
.case-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.case-kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.case-body h3 { font-size: 22px; font-weight: 800; line-height: 1.18; letter-spacing: -.02em; }
.case-app { display: block; margin-bottom: 6px; font-size: 14px; letter-spacing: .02em; color: var(--accent); font-weight: 900; text-transform: uppercase; }
.case-lead { margin: 12px 0 18px; color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.case-more { margin-top: auto; font-weight: 800; font-size: 15px; color: var(--text); }
.case-more span { display: inline-block; transition: transform .2s; color: var(--accent); }
.case-card:hover .case-more span { transform: translateX(5px); }

/* Generated covers */
.cover-art {
  position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(80% 90% at 20% 10%, color-mix(in srgb, var(--accent) 55%, #000), transparent 70%),
              radial-gradient(70% 80% at 90% 100%, color-mix(in srgb, var(--accent) 30%, #000), transparent 70%), #0c0a08;
}
.cover-art i { position: absolute; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 50%; width: 70%; aspect-ratio: 1; animation: orbit 18s linear infinite; }
.cover-art i:nth-of-type(2) { width: 105%; animation-duration: 28s; animation-direction: reverse; border-style: dashed; opacity: .6; }
.cover-art i:nth-of-type(3) { width: 140%; opacity: .3; }
.cover-mono { position: relative; z-index: 1; font-size: clamp(64px, 9vw, 120px); font-weight: 900; letter-spacing: -.06em; color: #fff; text-shadow: 0 10px 60px color-mix(in srgb, var(--accent) 80%, transparent); }
.cover-name { position: absolute; bottom: 14px; right: 18px; z-index: 1; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); }
@keyframes orbit { to { transform: rotate(360deg); } }

/* Partner */
.partner-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.partner-cards { display: grid; gap: 16px; }
.partner-cards article { padding: 26px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.partner-cards h3 { font-size: 20px; margin-bottom: 8px; }
.partner-cards p { margin: 0; color: var(--muted); }

/* CTA */
.cta-band { padding: 110px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 20% 20% -40%; background: radial-gradient(closest-side, rgba(255, 106, 0, .28), transparent); filter: blur(30px); }
.cta-inner { position: relative; max-width: 760px; }
.cta-inner p { color: #d9cfc6; font-size: 19px; margin: 18px 0 32px; }

/* Case page */
.hero-case { padding-bottom: 60px; }
.back { display: inline-block; margin-bottom: 34px; font-weight: 700; font-size: 14.5px; color: var(--muted); }
.back:hover { color: var(--text); }
.case-hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.app-name { margin: 0 0 12px; font-size: 18px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.hero-case h1 { font-size: clamp(36px, 4.4vw, 62px); }
.hero-media { position: relative; isolation: isolate; }
.video-stage, .shot-stage { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 90px -30px rgba(0,0,0,.9); background: #0d0b09; }
.video-stage video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.shot-stage { aspect-ratio: 16 / 10; }
.shot-stage .cover-img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.play-button {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  border: 0; cursor: pointer; color: #fff; font: 700 16px Inter, sans-serif; background: linear-gradient(180deg, rgba(8,7,6,.1), rgba(8,7,6,.55));
}
.play-button i { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; font-style: normal; font-size: 28px; padding-left: 6px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep)); box-shadow: 0 0 0 12px rgba(255, 106, 0, .18), 0 20px 50px -10px rgba(255, 106, 0, .8); transition: transform .25s; }
.play-button:hover i { transform: scale(1.08); }
.play-button span { padding: 8px 14px; border-radius: 999px; background: rgba(8,7,6,.6); backdrop-filter: blur(8px); }
.video-stage.started .play-button { display: none; }

.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ps { padding: 38px 40px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.ps p:last-child { margin: 0; font-size: 20px; line-height: 1.55; color: #e4dad1; }
.ps-problem .eyebrow { color: #ff6b6b; }
.ps-solution { background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 16%, var(--surface)), var(--surface) 60%); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .3s; }
.feature:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); transform: translateY(-3px); }
.feature-num { font-size: 13px; font-weight: 900; color: var(--accent); letter-spacing: .1em; }
.feature h3 { font-size: 20px; margin: 12px 0 8px; line-height: 1.2; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }

.loop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.loop { margin: 0; }
.loop video { width: 100%; border-radius: 18px; border: 1px solid var(--line-2); aspect-ratio: 16 / 10; object-fit: cover; background: #0d0b09; }
.loop figcaption, .shot figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

.gallery { display: grid; gap: 18px; }
.gallery-2 { grid-template-columns: 1.6fr 1fr; }
.gallery-3 { grid-template-columns: repeat(2, 1fr); }
.gallery-3 .shot:first-child { grid-column: span 2; }
.shot { margin: 0; }
.zoom { display: block; width: 100%; padding: 0; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; cursor: zoom-in; background: #0d0b09; }
.zoom img { width: 100%; max-height: 720px; object-fit: cover; object-position: top left; transition: transform .5s; }
.zoom:hover img { transform: scale(1.02); }

.meta-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.meta-text { margin: 0; font-size: 19px; color: #e4dad1; }
.stack { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stack li { padding: 7px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 700; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); }
.link-list { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.link-list .btn { padding: 12px 18px; font-size: 14.5px; }

.case-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 70px 0 10px; }
.case-nav a { padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: border-color .3s; }
.case-nav a:hover { border-color: rgba(255,170,90,.45); }
.case-nav small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.case-nav b { font-size: 24px; letter-spacing: -.02em; }
.case-nav .next { text-align: right; }

/* Lightbox */
.lightbox { max-width: min(1400px, 94vw); padding: 0; border: 1px solid var(--line-2); border-radius: 18px; background: #0d0b09; color: var(--text); }
.lightbox::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(6px); }
.lightbox img { max-height: 84vh; width: auto; margin: auto; }
.lightbox p { margin: 0; padding: 12px 18px; color: var(--muted); font-size: 14px; }
.lightbox-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; font-size: 24px; color: #fff; background: rgba(8,7,6,.75); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 50px 0 30px; color: var(--muted); font-size: 15px; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-grid img { height: 30px; width: auto; margin-bottom: 12px; }
.footer-grid p { margin: 0; max-width: 420px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a:hover { color: var(--text); }
.copyright { margin-top: 36px; font-size: 13px; opacity: .75; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 60ms); }
.reveal.in { opacity: 1; transform: none; }
.hero-reel.reveal.in { transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); }
.hero-reel.reveal.in:hover { transform: perspective(1400px) rotateY(0) rotateX(0) scale(1.01); }

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid, .case-hero-grid, .partner-grid { grid-template-columns: 1fr; }
  .case-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .meta-grid { grid-template-columns: 1fr 1fr; }
  .hero-reel, .hero-reel.reveal.in { transform: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .header-nav a:not(.btn) { display: none; }
  .hero { padding: 120px 0 60px; }
  .hero-stats { gap: 22px; }
  .hero-stats dt { font-size: 30px; }
  .case-grid, .feature-grid, .ps-grid, .loop-grid, .gallery-2, .gallery-3, .meta-grid, .case-nav { grid-template-columns: 1fr; }
  .case-card:first-child, .gallery-3 .shot:first-child { grid-column: auto; }
  .case-card:first-child .case-media { aspect-ratio: 16 / 10; }
  .case-card:first-child h3 { font-size: 22px; }
  .section { padding: 70px 0; }
  .ps { padding: 28px; }
  .ps p:last-child { font-size: 18px; }
  .case-nav .next { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
