:root {
  color-scheme: dark;
  --bg: #070a0e;
  --bg-2: #0b1016;
  --panel: #10151d;
  --panel-2: #151a24;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f6f4ef;
  --muted: #a9adb7;
  --soft: #727884;
  --orange: #f26522;
  --orange-2: #ff8a3d;
  --purple: #9a65ff;
  --magenta: #d54ec8;
  --blue: #5966f0;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
  --radius: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  font-family:
    "Satoshi", "Geist", "Noto Sans Thai", "Noto Sans", ui-sans-serif,
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    var(--bg);
  background-size: 82px 82px;
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

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

.site-shell {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.progress-line {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 6;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--purple));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.ambient-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient-grid span {
  position: absolute;
  width: 32vw;
  aspect-ratio: 1;
  border: 1px solid rgba(242, 101, 34, 0.12);
  opacity: 0.32;
  transform: translate3d(0, 0, 0) rotate(0deg);
  animation: drift-panel 18s var(--ease) infinite alternate;
}

.ambient-grid span:nth-child(1) {
  top: 11%;
  right: -11vw;
}

.ambient-grid span:nth-child(2) {
  bottom: 14%;
  left: -15vw;
  border-color: rgba(154, 101, 255, 0.12);
  animation-duration: 22s;
}

.ambient-grid span:nth-child(3) {
  top: 42%;
  left: 48%;
  width: 16vw;
  border-color: rgba(255, 255, 255, 0.08);
  animation-duration: 16s;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  width: min(100% - 48px, 1840px);
  margin: 0 auto;
  padding: 28px 0 18px;
  background: linear-gradient(180deg, rgba(7, 10, 14, 0.94), rgba(7, 10, 14, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: clamp(1rem, 1.6vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.4vw, 58px);
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 600;
}

.nav-links a,
.site-footer nav a {
  color: rgba(246, 244, 239, 0.82);
  transition:
    color 0.28s var(--ease),
    transform 0.28s var(--ease);
}

.nav-links a:hover,
.site-footer nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0 24px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 0.28s var(--ease),
    border-color 0.28s var(--ease),
    background 0.28s var(--ease);
}

.nav-cta {
  justify-self: end;
  min-height: 54px;
  background: rgba(255, 255, 255, 0.02);
}

.nav-cta svg,
.button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.38);
}

.button:active,
.nav-cta:active,
.timeline-item:active {
  transform: translateY(-1px) scale(0.98);
}

.button-primary {
  border-color: rgba(242, 101, 34, 0.86);
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  box-shadow: 0 16px 34px rgba(242, 101, 34, 0.2);
  position: relative;
  overflow: hidden;
}

.button-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: translateX(-120%);
  animation: shimmer-button 4.6s var(--ease) infinite;
  pointer-events: none;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.025);
}

.hero {
  display: grid;
  min-height: 100dvh;
  grid-template-columns: minmax(320px, 0.82fr) minmax(480px, 1.18fr);
  grid-template-rows: 1fr auto;
  column-gap: clamp(20px, 5vw, 86px);
  row-gap: 38px;
  width: min(100% - 48px, 1840px);
  margin: 0 auto;
  padding: clamp(112px, 11vh, 150px) 0 0;
}

.hero-copy {
  align-self: start;
  padding-left: clamp(12px, 4vw, 64px);
}

@media (min-width: 821px) {
  .hero-copy {
    margin-top: clamp(44px, 3.6vw, 64px);
  }
}

.hero-copy h1,
.section-heading h2,
.tools-copy h2,
.join-copy h2 {
  margin: 0;
  max-width: 16ch;
  color: var(--text);
  font-size: clamp(3.5rem, 4.85vw, 6.9rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero-copy h1 .accent,
.hero-bottom p span,
.section-heading h2 span {
  color: var(--orange);
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.hero-copy p {
  max-width: 620px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.28vw, 1.45rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.profile-strip {
  display: grid;
  grid-template-columns: 102px 1fr;
  gap: 22px;
  max-width: 560px;
  margin-top: 26px;
  align-items: center;
}

.profile-strip img {
  width: 102px;
  aspect-ratio: 1;
  border: 2px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(145deg, var(--orange), var(--magenta), var(--purple)) border-box;
}

.profile-strip strong {
  display: block;
  color: var(--text);
  font-size: 1.14rem;
  font-weight: 900;
}

.profile-strip p {
  margin: 8px 0 0;
  color: rgba(246, 244, 239, 0.86);
  font-size: 0.96rem;
  line-height: 1.45;
}

.profile-strip dl {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 10px 0 0;
}

.profile-strip div div,
.profile-strip dl div {
  display: flex;
  gap: 6px;
}

.profile-strip dt,
.profile-strip dd {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
}

.profile-strip dd {
  color: var(--muted);
  font-weight: 700;
}

.hero-media {
  position: relative;
  min-height: 600px;
  align-self: start;
  margin-top: 16px;
}

.reel-card {
  position: absolute;
  overflow: hidden;
  width: clamp(230px, 16vw, 320px);
  aspect-ratio: 9 / 13.2;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: #05070a;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 0.42s var(--ease),
    border-color 0.42s var(--ease),
    filter 0.42s var(--ease);
}

.reel-card img {
  width: 100%;
  height: 100%;
  background: #05070a;
  object-fit: contain;
}

.reel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.14), transparent 32%, rgba(0, 0, 0, 0.36));
  pointer-events: none;
}

.reel-card:hover {
  border-color: rgba(255, 255, 255, 0.34);
  filter: saturate(1.12);
}

.reel-card.is-tilting {
  animation-play-state: paused;
}

.reel-left.is-tilting {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) rotate(-7deg) scale(1.025);
}

.reel-main.is-tilting {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) rotate(1.4deg) scale(1.025);
}

.reel-right.is-tilting {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) rotate(7deg) scale(1.025);
}

.reel-left {
  top: 56px;
  left: 7%;
  transform: translate3d(0, 0, 0) rotate(-7deg);
  animation: float-left 7.5s var(--ease) infinite alternate;
}

.reel-main {
  top: 18px;
  left: 36%;
  z-index: 2;
  width: clamp(260px, 18.8vw, 376px);
  transform: translate3d(0, 0, 0) rotate(1.4deg);
  animation: float-main 6.8s var(--ease) infinite alternate;
}

.reel-right {
  top: 76px;
  right: 3%;
  transform: translate3d(0, 0, 0) rotate(7deg);
  animation: float-right 8.2s var(--ease) infinite alternate;
}

.reel-chrome {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reel-chrome span:first-child {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background:
    linear-gradient(90deg, transparent 40%, #fff 40% 50%, transparent 50%),
    linear-gradient(#fff, #fff);
  background-size: 100% 6px, 100% 100%;
  background-position: center 3px, center;
  background-repeat: no-repeat;
}

.reel-chrome span:nth-child(2),
.reel-chrome span:nth-child(3) {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 9px 0 0 rgba(255, 255, 255, 0.92), 18px 0 0 rgba(255, 255, 255, 0.92);
}

.reel-chrome span:nth-child(2) {
  opacity: 0;
}

.reel-card footer {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  gap: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 800;
}

.reel-card footer span::before {
  content: "";
  display: inline-block;
  width: 17px;
  height: 17px;
  margin-right: 9px;
  border: 2px solid currentColor;
  border-radius: 999px;
  vertical-align: -3px;
  animation: pulse-ring 2.8s var(--ease) infinite;
}

.hero-bottom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.82fr 1.7fr;
  gap: clamp(30px, 5vw, 90px);
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 48px clamp(12px, 4vw, 64px) 44px;
}

.hero-bottom p {
  margin: 0;
  max-width: 420px;
  font-size: clamp(1.65rem, 2.15vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
}

.hero-bottom ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 4vw, 70px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-bottom li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0 18px;
  align-items: start;
}

.hero-bottom li strong {
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 900;
}

.hero-bottom li small {
  grid-column: 2;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.line-icon {
  position: relative;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(154, 101, 255, 0.48);
  border-radius: 6px;
}

.calendar-icon::before,
.brain-icon::before,
.duo-icon::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 4px;
}

.brain-icon::before {
  border-radius: 999px 999px 999px 5px;
  transform: rotate(45deg);
}

.duo-icon::before {
  left: 5px;
  right: auto;
  width: 10px;
  border-radius: 999px;
  box-shadow: 14px 0 0 -1px rgba(255, 255, 255, 0.78);
}

.build-log,
.motion-feed,
.episodes,
.tools,
.join {
  width: min(100% - 48px, 1680px);
  margin: 0 auto;
  padding: clamp(96px, 11vw, 170px) clamp(12px, 4vw, 64px);
  border-top: 1px solid var(--line);
}

.motion-feed {
  position: relative;
  padding-left: 0;
  padding-right: 0;
}

.motion-track {
  display: flex;
  gap: 18px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.motion-set {
  display: flex;
  min-width: max-content;
  gap: 18px;
  animation: asset-marquee 34s linear infinite;
}

.motion-set img {
  width: clamp(220px, 18vw, 360px);
  height: clamp(220px, 18vw, 360px);
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
  transform: translateZ(0);
}

.motion-set img:nth-child(3),
.motion-set img:nth-child(4) {
  width: clamp(340px, 31vw, 560px);
}

.motion-caption {
  display: grid;
  grid-template-columns: 180px minmax(280px, 0.75fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: start;
  margin: 34px clamp(12px, 4vw, 64px) 0;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.motion-caption span {
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
}

.motion-caption strong {
  color: rgba(246, 244, 239, 0.94);
  font-size: clamp(1.45rem, 2.2vw, 2.7rem);
  line-height: 1.05;
}

.motion-caption p {
  margin: 0;
  color: rgba(169, 173, 183, 0.92);
  font-size: 1rem;
  line-height: 1.6;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(260px, 0.7fr);
  gap: clamp(30px, 7vw, 120px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 96px);
}

.section-heading h2,
.tools-copy h2,
.join-copy h2 {
  max-width: 13ch;
  font-size: clamp(3rem, 5vw, 6.8rem);
  line-height: 0.98;
}

.section-heading p,
.tools-copy p,
.join-copy p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 1.18vw, 1.28rem);
  line-height: 1.65;
}

.log-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(440px, 1.22fr);
  gap: clamp(28px, 5vw, 90px);
  align-items: stretch;
}

.timeline {
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  width: 100%;
  grid-template-columns: 92px 1fr;
  gap: 10px 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
  padding: 26px 0;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.28s var(--ease),
    color 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.timeline-item:hover,
.timeline-item.active {
  border-color: rgba(242, 101, 34, 0.5);
}

.timeline-item span {
  color: var(--orange);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline-item strong {
  color: var(--text);
  font-size: 1.28rem;
  line-height: 1.1;
}

.timeline-item small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.log-feature {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(260px, 0.9fr);
  gap: 34px;
  min-height: 520px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(154, 101, 255, 0.08), transparent 36%),
    var(--panel);
  padding: clamp(20px, 2.5vw, 38px);
  box-shadow: var(--shadow);
}

.log-feature img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
}

.log-feature span,
.prompt-block small {
  display: inline-flex;
  width: fit-content;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.log-feature h3 {
  margin: 18px 0 0;
  font-size: clamp(2rem, 3vw, 4.1rem);
  line-height: 0.98;
}

.log-feature p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.62;
}

.episode-rail {
  display: grid;
  grid-template-columns: 1fr 0.88fr 1.22fr;
  gap: 22px;
  align-items: end;
}

.episode-card {
  display: grid;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.episode-card img {
  width: 100%;
  height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.episode-card.tall img {
  height: 580px;
}

.episode-card.wide img {
  height: 430px;
}

.episode-card h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.35rem, 2vw, 2.35rem);
  line-height: 1.05;
}

.episode-card p {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.tools,
.join {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(420px, 1fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: center;
}

.tools-copy .button,
.join-actions {
  margin-top: 34px;
}

.lab-panel,
.join-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(242, 101, 34, 0.11), transparent 32%),
    var(--panel);
  box-shadow: var(--shadow);
}

.lab-panel {
  padding: 22px;
}

.lab-topbar {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 0 18px;
  color: var(--soft);
  font-size: 0.88rem;
  font-weight: 900;
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 22px 0;
}

.prompt-block {
  min-height: 142px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.prompt-block::after {
  content: "";
  position: absolute;
  inset: auto 18px 16px 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
  transform: scaleX(0.24);
  transform-origin: left center;
  animation: prompt-meter 3.2s var(--ease) infinite alternate;
}

.prompt-block strong {
  display: block;
  margin-top: 18px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.38;
}

pre {
  overflow: auto;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #080b10;
  padding: 22px;
  color: rgba(246, 244, 239, 0.86);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: clamp(0.82rem, 1vw, 1rem);
  line-height: 1.55;
}

pre code::after {
  content: "";
  display: inline-block;
  width: 9px;
  height: 1.1em;
  margin-left: 5px;
  background: var(--orange);
  vertical-align: -0.18em;
  animation: cursor-blink 1s steps(2, end) infinite;
}

.lab-assets {
  display: grid;
  grid-template-columns: 1.2fr 0.72fr;
  gap: 14px;
  margin-top: 14px;
}

.lab-assets img {
  width: 100%;
  height: 210px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
}

.lab-assets img:nth-child(2) {
  aspect-ratio: 1;
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.join-form {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3vw, 44px);
}

.join-form label {
  display: grid;
  gap: 9px;
}

.join-form label span {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 900;
}

.join-form input,
.join-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text);
  outline: none;
  padding: 16px 18px;
  font-size: 1rem;
  line-height: 1.4;
  transition:
    border-color 0.28s var(--ease),
    background 0.28s var(--ease);
}

.join-form textarea {
  resize: vertical;
  min-height: 132px;
}

.join-form input:focus,
.join-form textarea:focus {
  border-color: rgba(242, 101, 34, 0.74);
  background: rgba(0, 0, 0, 0.32);
}

.join-form .button {
  width: 100%;
  cursor: pointer;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--orange-2);
  font-size: 0.94rem;
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: min(100% - 48px, 1680px);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 34px clamp(12px, 4vw, 64px) 56px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.site-footer p {
  justify-self: end;
  margin: 0;
  color: var(--soft);
  font-size: 0.95rem;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift-panel {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  to {
    transform: translate3d(-32px, 24px, 0) rotate(7deg);
  }
}

@keyframes shimmer-button {
  0%,
  62% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes float-left {
  from {
    transform: translate3d(0, 0, 0) rotate(-7deg);
  }
  to {
    transform: translate3d(-6px, 16px, 0) rotate(-5.5deg);
  }
}

@keyframes float-main {
  from {
    transform: translate3d(0, 0, 0) rotate(1.4deg);
  }
  to {
    transform: translate3d(8px, -14px, 0) rotate(0.5deg);
  }
}

@keyframes float-right {
  from {
    transform: translate3d(0, 0, 0) rotate(7deg);
  }
  to {
    transform: translate3d(10px, 13px, 0) rotate(5.8deg);
  }
}

@keyframes pulse-ring {
  0%,
  100% {
    opacity: 0.78;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes asset-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-100% - 18px), 0, 0);
  }
}

@keyframes prompt-meter {
  from {
    transform: scaleX(0.16);
    opacity: 0.45;
  }
  to {
    transform: scaleX(1);
    opacity: 0.9;
  }
}

@keyframes cursor-blink {
  0%,
  45% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .motion-set {
    animation: none;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 126px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-media {
    min-height: 560px;
  }

  .reel-card {
    width: min(31vw, 330px);
  }

  .reel-main {
    width: min(36vw, 390px);
  }

  .hero-bottom,
  .motion-caption,
  .section-heading,
  .log-layout,
  .tools,
  .join {
    grid-template-columns: 1fr;
  }

  .hero-bottom {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 820px) {
  .site-header,
  .hero,
  .build-log,
  .motion-feed,
  .episodes,
  .tools,
  .join,
  .site-footer {
    width: min(100% - 32px, 1680px);
  }

  .site-header {
    padding-top: 20px;
  }

  .nav-cta {
    display: none;
  }

  .hero-copy h1,
  .section-heading h2,
  .tools-copy h2,
  .join-copy h2 {
    max-width: 10ch;
    font-size: clamp(3.25rem, 15vw, 5.4rem);
  }

  .hero-line {
    white-space: normal;
  }

  .hero-actions,
  .join-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .profile-strip {
    grid-template-columns: 86px 1fr;
  }

  .profile-strip img {
    width: 86px;
  }

  .hero-media {
    min-height: 680px;
  }

  .reel-card,
  .reel-main {
    width: min(70vw, 340px);
  }

  .reel-left {
    top: 0;
    left: 0;
  }

  .reel-main {
    top: 148px;
    left: 16%;
  }

  .reel-right {
    top: 322px;
    right: 0;
  }

  .hero-bottom ul,
  .episode-rail,
  .lab-grid,
  .lab-assets {
    grid-template-columns: 1fr;
  }

  .motion-feed {
    padding-left: 0;
    padding-right: 0;
  }

  .motion-caption {
    margin-left: 16px;
    margin-right: 16px;
  }

  .hero-bottom li,
  .timeline-item,
  .log-feature,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-bottom li small,
  .timeline-item small {
    grid-column: 1;
  }

  .episode-card img,
  .episode-card.tall img,
  .episode-card.wide img {
    height: auto;
    aspect-ratio: 1;
  }

  .site-footer {
    justify-items: start;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .site-footer p {
    justify-self: start;
  }
}

@media (max-width: 480px) {
  .site-header,
  .hero,
  .build-log,
  .motion-feed,
  .episodes,
  .tools,
  .join,
  .site-footer {
    width: min(100% - 24px, 1680px);
  }

  .hero {
    row-gap: 36px;
  }

  .hero-media {
    min-height: 600px;
  }

  .reel-card,
  .reel-main {
    width: min(76vw, 300px);
  }

  .reel-main {
    left: 11%;
  }

  .reel-right {
    top: 292px;
  }
}
