/* /isaac: Isaac 0.5 on Dreamscale, after /praxis. Black, the launch video full screen. */
@font-face { font-family: DSL; src: url("/assets/fonts/Mluvka-Regular-web.woff2") format("woff2"); font-display: block; }
@font-face { font-family: Unbounded; src: url("/assets/fonts/Unbounded-Latin-Variable.woff2") format("woff2"); font-weight: 200 900; font-display: block; }

* { box-sizing: border-box; }
html { background: #000; }
body { margin: 0; background: #000; color: #f3f4f5; font-family: DSL, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .8; }
a:focus-visible, button:focus-visible { outline: 3px solid #8fb0ff; outline-offset: 4px; }

/* The wordmark is drawn black on white: inverted and screened, it reads white on black. */
.wordmark { display: block; width: 172px; height: auto; filter: invert(1); mix-blend-mode: screen; }

.hero { position: relative; min-height: max(640px, 100svh); overflow: hidden; isolation: isolate; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero .shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.3) 40%, rgba(0,0,0,.92) 100%); }
.hero header { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 96px; padding: 0 48px; }
.hero nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.hero-body { position: absolute; left: 0; right: 0; bottom: 88px; display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 0 24px; text-align: center; }
.maker { height: 30px; width: auto; }
h1 { margin: 0; font-family: Unbounded, DSL, sans-serif; font-size: clamp(76px, 12vw, 168px); font-weight: 500; letter-spacing: -.07em; line-height: .9; }
.sub { margin: 0; font-size: 22px; color: #c9ccd0; }
.actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; padding-top: 4px; }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 18px 30px; border-radius: 6px; font-size: 17px; }
.btn-primary { background: #fff; color: #000; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.stills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 96px; }
.stills figure { margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 13px; color: #8d9296; }
.stills img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.credit { margin: 32px 0 0; font-size: 12px; color: #5f6468; }

.run { max-width: 820px; margin: 0 auto; padding: 120px 48px; display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
h2 { margin: 0; font-family: Unbounded, DSL, sans-serif; font-size: 46px; font-weight: 450; letter-spacing: -.05em; line-height: 1.12; }
.term { width: 100%; margin: 0; padding: 26px 28px; border-radius: 8px; background: #111315; box-shadow: inset 0 0 0 1px #24272a; text-align: left; font: 16px/2 ui-monospace, SFMono-Regular, Menlo, monospace; color: #e8eaec; overflow-x: auto; }
.term span { color: #5f6468; user-select: none; }
.plain { margin: -12px 0 0; max-width: 620px; font-size: 18px; line-height: 1.6; color: #b7bbbf; }
.norobot { margin: 0; font-size: 16px; color: #8d9296; }
.norobot code { font: 15px ui-monospace, SFMono-Regular, Menlo, monospace; color: #c9ccd0; }

.close { border-top: 1px solid #1d2023; padding: 72px 0; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.facts { display: flex; gap: 56px; flex-wrap: wrap; }
.facts strong { display: block; font-size: 36px; font-weight: 400; letter-spacing: -.045em; }
.facts span { font-size: 14px; color: #8d9296; }
footer { padding: 24px 0 40px; display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: #5f6468; }

@media (max-width: 760px) {
  .hero header { padding: 0 22px; height: 80px; }
  .wordmark { width: 136px; }
  .hero nav { gap: 18px; font-size: 14px; }
  .hero-body { bottom: 56px; gap: 22px; }
  .sub { font-size: 18px; }
  .actions, .actions .btn { width: 100%; justify-content: center; }
  .plain { font-size: 16px; }
  .wrap { padding: 0 22px; }
  .stills { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 64px; }
  .run { padding: 80px 22px; }
  h2 { font-size: 32px; }
  .term { font-size: 12.5px; padding: 18px 16px; }
  .facts { gap: 32px; }
  .facts strong { font-size: 30px; }
  .close .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero video { display: none; }
  .hero { background: #000 url("/assets/isaac/hero-poster.webp") center / cover no-repeat; }
}
