/* brainy.ae — dark editorial studio site */
:root {
  --bg: #0b0b0d;
  --bg-2: #111114;
  --surface: #16161a;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #ededea;
  --muted: #9c9ca4;
  --faint: #6b6b73;
  --brand: #c8f560;
  --brand-ink: #10140a;
  --ok: #4ade80;
  --warn: #fbbf24;
  --down: #f87171;
  --accent: var(--brand);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
}

* { 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 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: var(--brand-ink); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--brand); color: var(--brand-ink); padding: 8px 12px; border-radius: 8px; }

.display { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.02; margin: 0; }
.display em, .hero-title em { font-style: italic; color: var(--brand); }
.eyebrow {
  font: 500 12px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 18px;
}
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 640px; margin: 22px 0 0; }

/* ---------- nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font: 600 22px/1 var(--sans); letter-spacing: -0.04em; text-decoration: none; }
.logo-dot { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-ask {
  background: transparent; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 7px 14px; font-size: 13px; transition: border-color .2s, background .2s;
}
.nav-ask:hover { border-color: var(--brand); background: rgba(200, 245, 96, .08); }
@media (max-width: 720px) {
  .nav-links a { display: none; }
}

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 13px 22px;
  font: 500 15px/1 var(--sans); text-decoration: none;
  border: 1px solid transparent; transition: transform .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: #d6ff7a; }
.btn-ghost { background: transparent; border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--text); }
.btn-small { padding: 10px 16px; font-size: 14px; background: var(--text); color: var(--bg); }
.link-arrow { font-size: 14px; color: var(--muted); text-decoration: none; }
.link-arrow:hover { color: var(--text); }

/* ---------- hero */
.hero { position: relative; padding: clamp(72px, 12vw, 150px) 0 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(200, 245, 96, .10), transparent 70%);
  pointer-events: none;
}
.hero.short { padding-bottom: 120px; }
.hero-title { font-size: clamp(46px, 8.4vw, 118px); max-width: 1100px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.ticker {
  margin-top: clamp(64px, 9vw, 110px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: inline-flex; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 28px; font: 400 15px/1 var(--mono); color: var(--muted); text-decoration: none;
}
.ticker-item:hover { color: var(--text); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* status dot */
.dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none; display: inline-block;
  background: var(--faint); box-shadow: 0 0 0 3px rgba(255, 255, 255, .04);
}
.dot.ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(74, 222, 128, .15); }
.dot.down { background: var(--down); box-shadow: 0 0 0 3px rgba(248, 113, 113, .15); }

/* ---------- stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  padding-top: 56px; padding-bottom: 56px;
}
.stat { padding: 8px 24px 8px 0; border-left: 1px solid var(--line); padding-left: 24px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-n { font: 400 clamp(38px, 5vw, 60px)/1 var(--serif); }
.stat-l { font-size: 14px; color: var(--muted); margin-top: 10px; max-width: 220px; }
@media (max-width: 820px) {
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- sections */
.work, .how { padding: clamp(80px, 10vw, 140px) 0; }
.how { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: clamp(48px, 7vw, 88px); }
.section-head.small { margin: clamp(80px, 10vw, 120px) 0 32px; }
.section-head .display { font-size: clamp(40px, 6vw, 80px); }
.section-sub { color: var(--muted); max-width: 620px; margin: 20px 0 0; }

/* ---------- featured rows */
.feature {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
}
.feature.flip .feature-media { order: 2; }
.feature-media { position: relative; display: block; padding-bottom: 28px; text-decoration: none; }
.browser {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0,0,0,.4);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s;
}
.feature-media:hover .browser { transform: translateY(-4px); box-shadow: 0 40px 90px -30px color-mix(in srgb, var(--accent) 35%, transparent); }
.browser-bar {
  display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px;
  border-bottom: 1px solid var(--line); background: #1b1b20;
}
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #34343b; }
.browser-bar span {
  margin-left: 10px; font: 12px/1 var(--mono); color: var(--faint);
  background: #121215; padding: 5px 12px; border-radius: 6px; flex: 1; max-width: 260px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.browser img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; object-position: top; background: #0f0f12; }
.phone {
  position: absolute; right: -14px; bottom: 0; width: 22%; min-width: 92px;
  aspect-ratio: 390 / 844; object-fit: cover; object-position: top;
  border-radius: 18px; border: 4px solid #1d1d22; box-shadow: 0 24px 50px -10px rgba(0,0,0,.85);
  background: #0f0f12;
}
.feature.flip .phone { right: auto; left: -14px; }
.kicker {
  display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted);
}
.feature-name { font: 400 clamp(38px, 4.4vw, 58px)/1.02 var(--serif); margin: 0; }
.feature-tag { font-size: 19px; margin: 12px 0 0; color: var(--text); }
.feature-sum { color: var(--muted); margin: 14px 0 0; }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.facts li { position: relative; padding-left: 22px; font-size: 15px; color: var(--text); }
.facts li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 1px; background: var(--accent);
}
.feature-links { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-media { order: 0; }
  .phone { right: -6px; width: 26%; }
  .feature.flip .phone { left: auto; right: -6px; }
}
@media (max-width: 560px) {
  .phone { display: none; }
  .feature-media { padding-bottom: 0; }
}

/* ---------- grid cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.card:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); transform: translateY(-3px); }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); background: #0f0f12; }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 20px 22px 24px; }
.card-body .kicker { margin-bottom: 10px; font-size: 11px; }
.card-body h3 { font: 400 30px/1.05 var(--serif); margin: 0; }
.card-body p:last-child { color: var(--muted); font-size: 15px; margin: 8px 0 0; }

/* ---------- principles */
.principles {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border-top: 1px solid var(--line);
}
.principles li { padding: 36px 40px 40px 0; border-bottom: 1px solid var(--line); }
.principles li:nth-child(even) { padding-left: 40px; border-left: 1px solid var(--line); }
.principles .num { font: 500 12px var(--mono); color: var(--brand); }
.principles h3 { font: 400 32px/1.1 var(--serif); margin: 12px 0 10px; }
.principles p { color: var(--muted); margin: 0; max-width: 520px; }
@media (max-width: 760px) {
  .principles { grid-template-columns: 1fr; }
  .principles li, .principles li:nth-child(even) { padding: 28px 0; border-left: 0; }
}

/* ---------- case study */
.case-head { padding-top: clamp(48px, 7vw, 88px); }
.back { display: inline-block; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 40px; }
.back:hover { color: var(--text); }
.case-title { font-size: clamp(54px, 9vw, 128px); }
.case-head .btn { margin-top: 32px; }
.case-media { margin-top: clamp(48px, 6vw, 80px); }
.browser.big { box-shadow: 0 50px 120px -40px color-mix(in srgb, var(--accent) 30%, rgba(0,0,0,.9)); }
.case-body {
  display: grid; grid-template-columns: 1fr 320px; gap: clamp(40px, 6vw, 96px);
  padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px);
}
.case-main .eyebrow { margin-top: 40px; }
.case-main .eyebrow:first-child { margin-top: 0; }
.case-sum { font: 400 clamp(24px, 2.6vw, 32px)/1.3 var(--serif); margin: 0 0 20px; }
.case-main p { color: var(--muted); max-width: 680px; }
.facts.big li { font-size: 17px; padding-left: 26px; }
.case-side dl { margin: 0; position: sticky; top: 96px; }
.case-side dt { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-top: 22px; }
.case-side dt:first-child { margin-top: 0; }
.case-side dd { margin: 8px 0 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; }
.case-side dd a { text-decoration: none; border-bottom: 1px solid var(--line-2); }
.case-side dd a:hover { border-color: var(--text); }
.chips span { font: 12px var(--mono); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 10px; color: var(--muted); }
@media (max-width: 860px) {
  .case-body { grid-template-columns: 1fr; }
  .case-side dl { position: static; }
}
.next { border-top: 1px solid var(--line); padding-top: 48px; padding-bottom: 96px; }
.next a { text-decoration: none; display: block; }
.next .eyebrow { display: block; }
.next-name { font-size: clamp(40px, 6vw, 84px); transition: color .2s; }
.next a:hover .next-name { color: var(--accent); }

/* ---------- footer */
.footer { padding: clamp(96px, 12vw, 160px) 0 40px; }
.footer-cta .display { font-size: clamp(44px, 7vw, 96px); max-width: 900px; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.footer-alt { color: var(--muted); max-width: 620px; margin: 22px 0 0; font-size: 15px; }
.footer-alt .mail { font-size: inherit; margin: 0; padding-bottom: 1px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 0 rgba(239,68,68,.6); animation: pulse-red 1.8s infinite; }
.live-dot.dark { background: #b91c1c; }
@keyframes pulse-red { 70% { box-shadow: 0 0 0 7px rgba(239,68,68,0); } 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); } }
.mail {
  display: inline-block; margin-top: 32px; font: 400 clamp(20px, 2.4vw, 28px)/1.2 var(--sans);
  text-decoration: none; border-bottom: 1px solid var(--brand); padding-bottom: 4px;
}
.mail:hover { color: var(--brand); }
.footer-meta {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: clamp(80px, 10vw, 140px); padding-top: 24px; border-top: 1px solid var(--line);
  font: 13px var(--mono); color: var(--faint);
}

/* ---------- reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- chat */
.chat-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text); color: var(--bg); border: 0; border-radius: 999px;
  padding: 13px 18px; font-weight: 500; font-size: 14px;
  box-shadow: 0 12px 40px -8px rgba(0,0,0,.7); transition: transform .2s;
}
.chat-fab:hover { transform: translateY(-2px); }
.chat-fab .pulse { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22,163,74,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
.chat-open .chat-fab { display: none; }
.chat {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: min(400px, calc(100vw - 32px)); height: min(580px, calc(100dvh - 100px));
  display: flex; flex-direction: column;
  background: #141418; border: 1px solid var(--line-2); border-radius: 18px;
  box-shadow: 0 30px 80px -10px rgba(0,0,0,.85); overflow: hidden;
}
.chat[hidden] { display: none; }
@media (max-width: 520px) { .chat { right: 16px; bottom: 16px; } .chat-fab { right: 16px; bottom: 16px; } }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat-head strong { display: block; font-size: 15px; }
.chat-sub { font-size: 12px; color: var(--muted); }
.chat-close { background: none; border: 0; font-size: 24px; color: var(--muted); line-height: 1; padding: 4px 8px; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg a { color: var(--brand); }
.msg.bot { background: #1e1e24; border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.user { background: var(--brand); color: var(--brand-ink); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg.typing { color: var(--muted); }
.chat-suggest[hidden] { display: none; }
.chat-suggest { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 16px 12px; }
.chat-suggest button {
  background: transparent; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 6px 12px; font-size: 12.5px; color: var(--muted);
}
.chat-suggest button:hover { color: var(--text); border-color: var(--text); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input {
  flex: 1; min-width: 0; background: #0e0e11; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 11px 16px; color: var(--text); font: 16px var(--sans); outline: none;
}
.chat-form input:focus { border-color: var(--brand); }
.chat-form button { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; display: grid; place-items: center; }
.chat-form .send { background: var(--brand); color: var(--brand-ink); font-size: 18px; }
.chat-form .mic { background: #1e1e24; color: var(--text); border: 1px solid var(--line-2); transition: background .2s, color .2s, border-color .2s; }
.chat-form .mic:hover { border-color: var(--brand); color: var(--brand); }
.chat-form .mic.on { background: #f87171; border-color: #f87171; color: #1a0b0b; }
.chat-note { margin: 0; padding: 0 16px 10px; font-size: 11px; color: var(--faint); }
.msg.note { align-self: center; background: transparent; color: var(--muted); font-size: 12.5px; padding: 2px 8px; }

/* live voice */
.voice-bar {
  display: flex; align-items: center; gap: 14px; margin: 0 12px 10px; padding: 10px 12px 10px 14px;
  border: 1px solid var(--line-2); border-radius: 14px; background: #101013;
}
.voice-bar[hidden] { display: none; }
.orb {
  --lvl: 0; width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #e6ff9c, var(--brand) 45%, #6b8f1c);
  box-shadow: 0 0 calc(6px + 26px * var(--lvl)) calc(2px * var(--lvl)) rgba(200, 245, 96, .55);
  transform: scale(calc(.9 + .35 * var(--lvl))); transition: transform .08s linear, box-shadow .08s linear;
}
.voice-bar[data-mode="connecting"] .orb { animation: orbwait 1.2s ease-in-out infinite; }
.voice-bar[data-mode="speaking"] .orb { background: radial-gradient(circle at 35% 30%, #fff, #b7f0ff 40%, #3aa7c9); box-shadow: 0 0 calc(6px + 26px * var(--lvl)) rgba(120, 220, 255, .55); }
@keyframes orbwait { 50% { opacity: .45; transform: scale(.85); } }
.voice-meta { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.voice-meta strong { font-size: 14px; font-weight: 500; }
.voice-meta span { font: 12px var(--mono); color: var(--faint); }
.voice-end {
  background: transparent; border: 1px solid rgba(248, 113, 113, .6); color: #fca5a5;
  border-radius: 999px; padding: 7px 14px; font-size: 13px;
}
.voice-end:hover { background: rgba(248, 113, 113, .12); }

/* ---------- film */
.film { padding: clamp(48px, 7vw, 96px) 0 clamp(24px, 4vw, 48px); }
.film .section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.film .eyebrow a { color: inherit; }
.film-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: #000; border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -40px rgba(240, 138, 75, .25), 0 0 0 1px rgba(0,0,0,.4);
}
.film-frame video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.film-frame video::cue { font-family: var(--sans); font-size: 0.9em; background: rgba(0, 0, 0, .72); color: #fff; }
.film-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 14px;
  width: 100%; border: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.45));
  color: #fff; font: 500 16px/1 var(--sans); letter-spacing: .01em;
}
.film-play span:last-child { background: rgba(10,10,12,.62); backdrop-filter: blur(8px); padding: 12px 18px 12px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); }
.film-play-icon {
  width: 76px; height: 76px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 10px 40px -6px rgba(200, 245, 96, .55); position: relative; transition: transform .25s;
}
.film-play-icon::after {
  content: ""; position: absolute; left: 30px; top: 23px;
  border-left: 22px solid var(--brand-ink); border-top: 15px solid transparent; border-bottom: 15px solid transparent;
}
.film-play:hover .film-play-icon { transform: scale(1.06); }
.film-frame.playing .film-play { display: none; }
.film-end {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: clamp(24px, 6vw, 72px); background: rgba(8, 8, 10, .9); backdrop-filter: blur(6px);
}
.film-end[hidden] { display: none; }
.film-end .eyebrow { color: var(--brand); margin-bottom: 12px; }
.film-end-title { font-size: clamp(28px, 4.4vw, 60px); max-width: 760px; margin: 0; }
.film-end-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3vw, 32px); }
.film-note { font-size: 13px; color: var(--faint); margin: 14px 0 0; max-width: 820px; }
.case-main .film-frame { margin-top: 18px; }
@media (max-width: 560px) {
  .film-play span:last-child { display: none; }
  .film-play-icon { width: 62px; height: 62px; }
  .film-play-icon::after { left: 25px; top: 18px; border-left-width: 18px; border-top-width: 13px; border-bottom-width: 13px; }
  .film-end-actions .btn { padding: 11px 16px; font-size: 14px; }
}

/* product videos (feature rows + case pages) */
.film-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; pointer-events: none; }
.film-frame.playing .film-loop { display: none; }
.feature-media.is-video { padding-bottom: 0; }
.feature .film-frame { box-shadow: 0 40px 90px -40px color-mix(in srgb, var(--accent) 40%, transparent), 0 0 0 1px rgba(0,0,0,.4); }
.feature .film-play-icon { width: 64px; height: 64px; }
.feature .film-play-icon::after { left: 25px; top: 18px; border-left-width: 19px; border-top-width: 14px; border-bottom-width: 14px; }
.feature .film-end { padding: clamp(18px, 3vw, 36px); }
.feature .film-end-title { font-size: clamp(22px, 2.4vw, 34px); }
.feature .film-end .btn { padding: 10px 16px; font-size: 14px; }
.case-media .film-frame { box-shadow: 0 50px 120px -40px color-mix(in srgb, var(--accent) 30%, rgba(0,0,0,.9)); }
.feature .film-play span:last-child { display: none; }
