@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../assets/fonts/fraunces.woff2") format("woff2");
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/figtree.woff2") format("woff2");
}

@font-face {
  font-family: "Figtree";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/figtree-italic.woff2") format("woff2");
}

:root {
  --night: #0a1020;
  --night-2: #0e162c;
  --ink: #121a32;
  --cream: #e8e0d0;
  --cream-soft: #cfc6b4;
  --muted: #9a9488;
  --gold: #e0a030;
  --gold-hot: #f0b848;
  --gold-dim: rgba(224, 160, 48, 0.18);
  --line: rgba(232, 224, 208, 0.12);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  --sans: "Figtree", "Avenir Next", "Segoe UI", sans-serif;
  --display: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --pad: clamp(1.25rem, 4vw, 2.75rem);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  background: var(--night);
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--cream-soft);
  background:
    radial-gradient(ellipse 80% 50% at 80% -10%, rgba(224, 160, 48, 0.08), transparent 50%),
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(232, 224, 208, 0.07), transparent 46%),
    radial-gradient(circle at 90% 110%, rgba(224, 160, 48, 0.06), transparent 32%),
    var(--night);
  min-height: 100dvh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold-hot);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.6rem 0.9rem;
  background: var(--gold);
  color: var(--night);
  font-weight: 600;
}

.skip:focus {
  top: 1rem;
}

.frame {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--pad) 0.9rem;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--cream);
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  box-shadow: 0 0 0 1px var(--line);
}

.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  font-variation-settings: "opsz" 36, "SOFT" 40, "WONK" 1;
}

.header-note {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

main {
  padding-bottom: 3.5rem;
}

.layout {
  display: grid;
  gap: 2.25rem;
  padding-top: 1.25rem;
}

.intro {
  position: relative;
  isolation: isolate;
  padding-top: 0.4rem;
}

.intro::before {
  content: "";
  position: absolute;
  inset: auto -18% -12% -28%;
  height: 58%;
  background: url("../assets/x-banner.jpg") 88% 42% / 170% no-repeat;
  opacity: 0.16;
  -webkit-mask-image: linear-gradient(to top, black 0%, transparent 78%);
  mask-image: linear-gradient(to top, black 0%, transparent 78%);
  pointer-events: none;
  z-index: -1;
}

.kicker {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.intro h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 8vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--cream);
  font-variation-settings: "opsz" 96, "SOFT" 50, "WONK" 1;
}

.lede {
  margin: 1.05rem 0 0;
  max-width: 22ch;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.35;
  color: var(--cream-soft);
}

.founder {
  margin: 1.6rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  max-width: 18rem;
}

.founder dt {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.founder dd {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cream);
  font-variation-settings: "opsz" 28, "SOFT" 30;
}

.work {
  min-width: 0;
  display: grid;
  gap: 1.5rem;
}

.product {
  background:
    linear-gradient(180deg, rgba(18, 26, 50, 0.4), rgba(10, 16, 32, 0.2));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.still {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
}

.still img {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  background: var(--ink);
}

.still::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(10, 16, 32, 0.88), transparent);
  pointer-events: none;
}

.play-chip {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  background: var(--gold);
  color: var(--night);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  pointer-events: none;
}

.still:hover .play-chip,
.still:focus-visible .play-chip {
  background: var(--gold-hot);
}

.copy {
  padding: 1.25rem 1.2rem 1.4rem;
}

.lockup {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.15rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--cream);
  font-variation-settings: "opsz" 48, "SOFT" 20, "WONK" 0;
}

.deck {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.tagline {
  margin: 0.85rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.3;
  color: var(--cream);
  font-variation-settings: "opsz" 30, "SOFT" 60, "WONK" 1;
}

.loop {
  margin: 0.85rem 0 0;
  color: var(--cream-soft);
  font-size: 0.98rem;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1.2rem;
  padding: 0.95rem 1.1rem;
  background: var(--gold);
  color: var(--night);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 10px 28px rgba(224, 160, 48, 0.22);
}

.cta:hover {
  color: var(--night);
  background: var(--gold-hot);
}

.cta span {
  font-weight: 500;
  margin-left: 0.45rem;
  opacity: 0.75;
}

.modes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.15rem 0 0;
}

.mode {
  margin: 0;
  padding: 0.28rem 0.62rem;
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.mode[data-live] {
  color: var(--night);
  background: var(--gold);
  border-color: var(--gold);
}

.mode-note {
  margin: 0.7rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.mode-note strong {
  color: var(--cream-soft);
  font-weight: 600;
}

.easy-note {
  display: inline-block;
  margin-top: 0.2rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.15rem var(--pad) calc(1.4rem + env(safe-area-inset-bottom));
  width: min(var(--max), 100%);
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer p {
  margin: 0;
}

@media (min-width: 880px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
    min-height: 0;
    padding-top: 1rem;
  }

  .work {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
  }

  .intro {
    padding-right: 0.5rem;
  }

  .copy {
    padding: 1.45rem 1.45rem 1.6rem;
  }

  .cta {
    width: auto;
    display: inline-flex;
    min-width: 16.5rem;
    padding-left: 1.35rem;
    padding-right: 1.35rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .cta,
  .play-chip,
  .still img {
    transition: background 160ms ease, transform 220ms ease, filter 220ms ease;
  }

  .still:hover img {
    filter: brightness(1.06);
  }
}

.site-nav {
  display: flex;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: var(--cream);
}

.studio {
  padding-top: 2.75rem;
  padding-bottom: 1rem;
}

.studio h2 {
  margin: 0 0 1.15rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 600;
  color: var(--cream);
  font-variation-settings: "opsz" 40, "SOFT" 30;
}

.studio-grid {
  display: grid;
  gap: 1.4rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.studio-lead {
  margin: 0;
  max-width: 38rem;
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--cream);
}

.studio-points {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 36rem;
}

.studio-points li {
  margin: 0 0 0.85rem;
  color: var(--cream-soft);
}

.studio-points li:last-child {
  margin-bottom: 0;
}

.studio-points strong {
  color: var(--cream);
  font-weight: 600;
}

@media (min-width: 880px) {
  .studio-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}
