/* Coyote Motion style file: the brand, once, for every scene.
   Taken from coyote-concepts/static/css/tokens.css (dusk theme). Frames are 1080x1350 (4:5) and scale to fit. */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;1,9..144,500&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --void: #0b0b0d;
  --dusk: #100f12;
  --surface: #18171b;
  --stage: #121115;
  --line: rgba(236, 233, 226, 0.08);
  --bone: #ece9e2;
  --ash: #a3a19a;
  --ash-dim: #6f6d68;
  --moon: #c9d6de;
  --ember: #e0883e;
  --ember-bright: #f2a35e;
  --rust: #b8551a;
  --gold: #e8b04a;
  --rose: #d9776b;
  --slate: #4c6a80;
  --indigo: #232a40;
  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: #060607; overflow: hidden; }
body { font-family: var(--font-body); color: var(--bone); }

.frame {
  width: 1080px; height: 1350px; position: absolute; left: 50%; top: 50%;
  background: radial-gradient(120% 70% at 50% 0%, #17151a 0%, var(--void) 60%);
  transform-origin: 0 0; padding: 64px 60px 56px; display: flex; flex-direction: column; overflow: hidden;
}
.frame::before { /* faint grain */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.head { display: flex; flex-direction: column; gap: 14px; }
.kicker { font-family: var(--font-mono); font-size: 20px; color: var(--ash-dim); letter-spacing: .04em; display: flex; gap: 14px; align-items: center; }
.kicker i { width: 10px; height: 10px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 14px var(--ember); }
h1 { font-family: var(--font-display); font-weight: 600; font-size: 92px; line-height: 1; letter-spacing: -.02em; }
h1 .arrow { color: var(--ash-dim); font-weight: 400; margin: 0 .12em; }
h1 .verb { font-style: italic; font-weight: 500; color: var(--ember); }
.sub { font-size: 28px; color: var(--ash); }

.stage {
  margin-top: 40px; flex: 1; position: relative; border-radius: 34px; overflow: hidden;
  background: var(--stage); border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.04);
}
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage .grid { position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); }

.how { margin-top: 26px; font-family: var(--font-mono); font-size: 19px; line-height: 1.5; color: var(--ash-dim); min-height: 58px; }
.how b { color: var(--ash); font-weight: 500; }
.foot { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 18px; color: var(--ash-dim); }
.foot .brand { display: flex; align-items: center; gap: 14px; color: var(--bone); font-family: var(--font-body); font-weight: 700; font-size: 20px; letter-spacing: .06em; }
.foot .brand img { width: 34px; height: 34px; }
.foot .brand em { font-style: normal; color: var(--ember); }

.frame--embed { width: 960px; height: 860px; padding: 0; background: var(--stage); }
.frame--embed::before { display: none; }
.frame--embed .stage { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
html:has(.frame--embed), body:has(.frame--embed) { background: var(--stage); }

@media (prefers-reduced-motion: reduce) { * { animation-duration: 0s !important; } }
