/* Motion-first Explore. All preview media is local and optional. */
.nav-links {
  min-width: 0;
  overflow-x: auto;
}
.nav-links a {
  white-space: nowrap;
}
.explore-main {
  padding-bottom: 48px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 700;
  margin: 0 0 10px;
  color: #acadb3;
}
.explore-intro {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 24px;
}
.explore-intro h1 {
  font: 900 clamp(40px, 4.3vw, 76px) / 0.95 var(--display);
  letter-spacing: -0.02em;
  margin: 0;
}
.explore-intro h1 em {
  font-style: normal;
  color: var(--accent);
}
.intro-aside {
  display: flex;
  align-items: center;
  gap: 26px;
}
.intro-aside p {
  font-size: 12px;
  color: #bbbcc0;
  line-height: 1.6;
  margin: 0;
}
.intro-aside button {
  font-size: 12px;
  white-space: nowrap;
}
.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 14px;
}
.feature {
  position: relative;
  min-width: 0;
  height: clamp(310px, 31vw, 490px);
  border-radius: 12px;
  overflow: hidden;
  background: #11161b;
  isolation: isolate;
}
.feature video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.feature:hover video {
  transform: scale(1.025);
}
.feature:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #000c, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.media-label {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 5px 8px;
  font-size: 9px;
  letter-spacing: 0.075em;
  font-weight: 600;
  color: white;
  background: #0008;
  border: 1px solid #ffffff25;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}
.feature-copy {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 18px;
  z-index: 1;
}
.feature-copy .eyebrow {
  color: #e7dcca;
}
.feature h2 {
  font: 900 clamp(32px, 3vw, 51px) / 0.97 var(--display);
  margin: 8px 0 18px;
}
.feature-wide h2 {
  font-size: clamp(54px, 6vw, 102px);
}
.feature-link {
  font-size: 12px;
  border-bottom: 1px solid #ffffff70;
  padding-bottom: 4px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin: 38px 0 18px;
}
.section-heading h2 {
  font: 800 clamp(25px, 2.4vw, 38px) / 1.1 var(--display);
  margin: 0;
}
.section-heading > .muted {
  font-size: 12px;
}
.section-note {
  max-width: 410px;
  line-height: 1.6;
  margin: 0;
}
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.demo-card {
  display: block;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  width: 100%;
}
.demo-visual {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 10px;
  background: #101525;
  position: relative;
}
.demo-visual canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-copy {
  padding-top: 12px;
}
.card-copy h3 {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  margin: 0 0 5px;
}
.card-copy h3 span {
  color: var(--accent);
}
.card-copy p {
  font-size: 12px;
  color: #a3a3ab;
  margin: 0;
  line-height: 1.6;
}
.demo-card:hover h3 {
  color: var(--accent);
}
.web-preview {
  background: #e8e6df;
  color: #1e2525;
}
.browser-chrome {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 24px;
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 0 10px;
  background: #dddcd5;
  z-index: 2;
}
.browser-chrome i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #96978e;
}
.browser-chrome span {
  margin: auto;
  font-size: 7px;
  letter-spacing: 0.04em;
}
.web-preview .media-label {
  top: auto;
  bottom: 12px;
}
.mini-page {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  animation: site-scroll 12s ease-in-out infinite;
}
.mini-nav {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 1px solid #bbb9b0;
}
.mini-nav span {
  font-size: 6px;
  font-weight: 400;
}
.mini-hero {
  height: 280px;
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
  background: #e8e6df;
}
.mini-hero small {
  font-size: 6px;
  letter-spacing: 0.13em;
  display: block;
}
.mini-hero b {
  font:
    bold clamp(28px, 3.5vw, 60px) / 0.95 Georgia,
    serif;
  display: block;
  position: relative;
  z-index: 1;
  margin: 18px 0;
}
.mini-hero em {
  font-weight: 400;
}
.mini-hero > span {
  font-size: 7px;
}
.mini-orb {
  position: absolute;
  width: 44%;
  aspect-ratio: 1;
  right: -5%;
  top: 30%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fbd89f, #df592c 50%, #722c17);
  box-shadow: -16px 16px 20px #583b231c;
}
.mini-work {
  height: 170px;
  background: #d0d4c6;
  padding: 20px;
  color: #273831;
  font-family: Georgia, serif;
}
.mini-work > div {
  display: flex;
  gap: 9px;
  margin-top: 14px;
}
.mini-work i {
  display: block;
  height: 70px;
  flex: 1;
  background: #70908b;
  border-radius: 50% 50% 0 0;
}
.mini-work i:nth-child(2) {
  background: #b35d3a;
  border-radius: 0;
}
.mini-work i:nth-child(3) {
  background: #e9b559;
  border-radius: 40px;
}
.demo-cursor {
  position: absolute;
  z-index: 3;
  width: 19px;
  top: 55%;
  left: 68%;
  animation: cursor-tour 12s ease-in-out infinite;
  filter: drop-shadow(0 2px 2px #0005);
}
@keyframes site-scroll {
  0%,
  18%,
  100% {
    transform: translateY(0);
  }
  42%,
  72% {
    transform: translateY(-155px);
  }
}
@keyframes cursor-tour {
  0%,
  100% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(-90px, 12px);
  }
  45%,
  70% {
    transform: translate(-35px, 55px);
  }
  85% {
    transform: translate(30px, -55px);
  }
}
.filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 20px 0;
}
.filter {
  background: #161618;
  border: 1px solid #ffffff17;
  padding: 8px 16px;
  border-radius: 24px;
  white-space: nowrap;
  font-size: 12px;
}
.filter.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #15120b;
}
.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 16px;
}
.study {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  min-width: 0;
}
.study-visual {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 16/9;
  background: #15151c;
}
.study video,
.study img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.study .media-label {
  font-size: 8px;
}
.study-play {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff60;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: #0008;
}
.study h3 {
  font-size: 15px;
  margin: 10px 0 3px;
}
.study p {
  font-size: 12px;
  color: #9fa0a9;
  margin: 0;
}
.study:hover h3 {
  color: var(--accent);
}
.reference-note {
  max-width: 850px;
  color: #8c8d96;
  font-size: 12px;
  line-height: 1.7;
  margin-top: 22px;
}
.text-button {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.reference-note .text-button {
  color: #d7d7dc;
}
.tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.tool {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  min-height: 155px;
}
.tool svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tool strong {
  font-weight: 600;
  font-size: 15px;
  margin-top: auto;
  padding-top: 26px;
}
.tool span:not(.badge-new) {
  font-size: 12px;
  color: #9799a2;
  margin-top: 4px;
}
.tool:hover {
  border-color: #ffbf2f66;
  background: #1c1c20;
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  overflow: hidden;
}
.workflow-grid a {
  padding: 25px;
  border-right: 1px solid var(--line-2);
}
.workflow-grid a:last-child {
  border: 0;
}
.workflow-grid span {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.workflow-grid h3 {
  font: 800 32px var(--display);
  margin: 12px 0;
}
.workflow-grid p {
  font-size: 13px;
  color: #a3a4ac;
  max-width: 320px;
  margin: 0;
}
.game-sheet,
.reference-sheet {
  width: min(1000px, 94vw);
  max-width: none;
}
.game-sheet canvas {
  width: 100%;
  border-radius: 8px;
  touch-action: none;
}
.game-controls {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
}
.game-controls p {
  margin: 0;
  font-size: 13px;
}
.reference-sheet video {
  width: 100%;
  max-height: 65vh;
  background: #111;
}
.reference-sheet p {
  font-size: 13px;
}
.previews-paused .mini-page,
.previews-paused .demo-cursor {
  animation-play-state: paused;
}
.motion-off .mini-page,
.motion-off .demo-cursor {
  animation: none;
}
@media (min-width: 1800px) {
  .explore-main {
    max-width: 1920px;
    margin: auto;
  }
}
@media (max-width: 1100px) {
  .intro-aside p {
    display: none;
  }
  .feature-copy {
    left: 17px;
    bottom: 20px;
  }
  .feature h2 {
    font-size: 33px;
  }
  .feature-wide h2 {
    font-size: 66px;
  }
  .media-label {
    font-size: 8px;
    top: 10px;
    left: 10px;
  }
  .tools {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .tool {
    padding: 14px;
  }
  .tool strong {
    font-size: 14px;
  }
  .mini-hero {
    height: 230px;
  }
  .mini-hero b {
    font-size: 37px;
  }
}
@media (max-width: 700px) {
  .explore-intro {
    padding-top: 22px;
    padding-bottom: 20px;
    gap: 8px;
    align-items: flex-end;
  }
  .explore-intro h1 {
    font-size: 41px;
    max-width: 240px;
    line-height: 0.98;
  }
  .explore-intro .eyebrow {
    font-size: 8px;
    letter-spacing: 0.1em;
  }
  .intro-aside button {
    padding: 0 9px;
    min-height: 34px;
    font-size: 10px;
  }
  .featured-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .feature {
    height: 250px;
  }
  .feature-wide {
    grid-column: 1/-1;
    height: 310px;
  }
  .feature-wide h2 {
    font-size: 70px;
  }
  .feature h2 {
    font-size: 35px;
  }
  .feature-link {
    font-size: 11px;
  }
  .feature-copy {
    left: 16px;
    bottom: 19px;
  }
  .feature .media-label {
    font-size: 7px;
    padding: 4px 5px;
  }
  .section-heading {
    margin-top: 32px;
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .section-heading h2 {
    font-size: 29px;
  }
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .demo-visual {
    aspect-ratio: 16/9;
  }
  .mini-hero {
    height: 270px;
  }
  .mini-hero b {
    font-size: 50px;
  }
  .reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 10px;
  }
  .study .media-label {
    font-size: 6px;
    left: 7px;
    top: 7px;
    padding: 3px 5px;
  }
  .study h3 {
    font-size: 13px;
  }
  .study p {
    font-size: 10px;
  }
  .study-play {
    width: 25px;
    height: 25px;
    font-size: 10px;
    bottom: 8px;
    right: 8px;
  }
  .tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workflow-grid {
    grid-template-columns: 1fr;
  }
  .workflow-grid a {
    border-right: 0;
    border-bottom: 1px solid var(--line-2);
  }
  .nav-links a {
    padding: 6px;
    font-size: 12px;
  }
  .nav-logo {
    margin-right: 3px;
  }
  .foot {
    font-size: 11px;
  }
  .reference-note {
    font-size: 11px;
  }
}
@media (max-width: 700px) {
  .explore-intro {
    display: block;
    position: relative;
  }
  .explore-intro h1 {
    font-size: 44px;
    max-width: none;
  }
  .explore-intro h1 em {
    display: block;
  }
  .intro-aside {
    position: absolute;
    right: var(--pad);
    bottom: 20px;
  }
  .feature:not(.feature-wide) h2 {
    font-size: 28px;
  }
}
#character-reference {
  margin: 20px 0 0;
  display: flex;
  gap: 15px;
  align-items: center;
}
#character-reference img {
  width: 180px;
  height: auto;
  border-radius: 6px;
}
#character-reference figcaption {
  font-size: 12px;
  color: var(--muted);
}
.character-art {
  display: flex;
  align-items: center;
  gap: 25px;
  background: #171719;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 24px;
  overflow: hidden;
}
.character-art img {
  width: 38%;
  max-width: 380px;
  align-self: stretch;
  object-fit: cover;
}
.character-art > div {
  padding: 22px 22px 22px 0;
}
.character-art h3 {
  font: 800 30px var(--display);
  margin: 6px 0;
}
.character-art p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
}
.character-art span {
  font-size: 12px;
  color: var(--accent);
}
@media (max-width: 700px) {
  .character-art {
    gap: 15px;
  }
  .character-art h3 {
    font-size: 23px;
  }
  .character-art .eyebrow {
    font-size: 7px;
  }
  .character-art p:not(.eyebrow) {
    font-size: 11px;
  }
  .character-art > div {
    padding: 18px 12px 18px 0;
  }
}
/* Keep the character reference proportional instead of its original intrinsic height. */
.character-art img {
  height: 220px;
}

/* The session film is itself the hero, with an explicit sound action. */
.feature-music {
  background: #0c1110;
}
.feature-music:after {
  display: none;
}
.music-watch {
  display: block;
  padding: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: white;
  text-align: left;
  cursor: pointer;
}
.music-watch video {
  object-fit: cover;
}
.music-play-label,
.music-create {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  font-size: 11px;
  background: #16221be8;
  border: 1px solid #ffffff38;
  border-radius: 24px;
  padding: 10px 13px;
}
.music-play-label {
  left: 16px;
  pointer-events: none;
}
.music-create {
  right: 16px;
  color: #ead393;
}
.music-watch:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -4px;
}
.mini-art {
  position: absolute;
  right: 14px;
  top: 22px;
  width: 43%;
  height: 83%;
  object-fit: cover;
  border-radius: 48% 48% 0 0;
}
.mini-hero b {
  font-size: clamp(28px, 3vw, 48px);
  max-width: 52%;
}
.mini-work > div > img {
  width: calc(50% - 5px);
  height: 85px;
  object-fit: cover;
}
@media (max-width: 600px) {
  .feature-music {
    height: 270px;
  }
  .music-play-label,
  .music-create {
    font-size: 9px;
    padding: 9px 10px;
    bottom: 12px;
  }
  .music-create {
    right: 10px;
  }
  .music-play-label {
    left: 10px;
  }
  .mini-hero b {
    font-size: 40px;
  }
}

.moss-feature {
  display: grid;
  grid-template-columns: minmax(200px, 0.7fr) 1.3fr;
  gap: 5vw;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 50px;
}
.moss-feature img {
  display: block;
  width: 100%;
  max-height: 650px;
  object-fit: contain;
  border-radius: 18px;
}
.moss-feature h2 {
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 76px);
  text-transform: uppercase;
  line-height: 1;
  margin: 20px 0;
}
.moss-feature p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}
.moss-feature .btn-accent,
.moss-feature .btn-ghost {
  display: inline-flex;
  margin: 15px 12px 10px 0;
}
@media (max-width: 650px) {
  .moss-feature {
    grid-template-columns: 1fr;
  }
  .moss-feature img {
    max-height: 530px;
  }
}

.workflow-concepts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding-bottom: 45px;
}
.workflow-concepts > a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #161618;
}
.workflow-concepts img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.6s;
}
.workflow-concepts a:hover img {
  transform: scale(1.025);
}
.workflow-concepts span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, #000);
  padding: 65px 25px 25px;
  font-family: var(--display);
  font-size: 36px;
  font-weight: 800;
}
.workflow-concepts small {
  display: block;
  font: 13px var(--ui);
  color: #ddd;
  margin-top: 7px;
}
@media (max-width: 650px) {
  .workflow-concepts {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .workflow-concepts img {
    transition: none;
  }
  .workflow-concepts a:hover img {
    transform: none;
  }
}
