@font-face {
  font-family: "DM Sans";
  src: url("./dm-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #1d1a35;
  --subtle: #494360;
  --paper: #fbfaff;
  --purple: #4b2d91;
  --line: #d9cef0;
  --mint: #aafce2;
  --lavender: #e8defe;
  --curve: cubic-bezier(.16, 1, .3, 1);
  font-family: "DM Sans", Arial, sans-serif;
}

*, *::after, *::before { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
[hidden] { display: none !important; }
a { color: var(--purple); text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #6942bf; outline-offset: 4px; }
::selection { background: #d5c3ff; color: #231846; }
.wrap { width: min(100% - 4rem, 79rem); margin-inline: auto; }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 5; top: .8rem; left: .8rem; width: auto; height: auto; padding: .8rem 1rem; background: #fff; clip-path: none; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 800; line-height: 1.03; letter-spacing: -.039em; text-wrap: balance; }
h2 { font-size: clamp(1.95rem, 4.35vw, 4rem); }
h3 { font-size: clamp(1.22rem, 2.4vw, 1.9rem); line-height: 1.14; letter-spacing: -.02em; }
p, li { line-height: 1.58; }
section[id], article[id] { scroll-margin-top: 1.35rem; }

.site-header, .site-footer { background: #f0eaff; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.header-inner { min-block-size: 5rem; padding-block: .45rem; }
.header-inner nav, .footer-inner nav { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem clamp(.65rem, 2.7vw, 2rem); }
.header-inner nav a, .footer-inner a { display: inline-flex; align-items: center; min-block-size: 2.75rem; color: inherit; font-weight: 740; text-decoration: none; }
.header-inner nav a:hover, .footer-inner a:hover { text-decoration: underline; }
.header-inner .nav-buy { color: #4a2586; }
.wordmark { display: block; flex: none; }
.wordmark img { display: block; width: 5.85rem; height: auto; }
.footer-inner { padding-block: .8rem; }

.studio-hero {
  overflow: clip;
  position: relative;
  isolation: isolate;
  color: #faf6ff;
  background: #181333 radial-gradient(ellipse at 93% 102%, #532d87 0%, #301e5c 33%, transparent 66%);
  padding-block: clamp(2.6rem, 5.6vw, 5.6rem);
}
.studio-hero::before, .studio-hero::after { content: ""; position: absolute; pointer-events: none; z-index: -1; }
.studio-hero::before {
  width: clamp(22rem, 55vw, 66rem);
  height: 25rem;
  top: -9.5rem;
  right: -6rem;
  border-radius: 65% 35% 60% 40%;
  background: radial-gradient(ellipse at 65% 25%, #7849e9 0%, #703ec6 37%, transparent 72%);
  transform: rotate(-14deg);
}
.studio-hero::after {
  width: clamp(14rem, 40vw, 39rem);
  height: clamp(14rem, 40vw, 39rem);
  right: -7.25rem;
  bottom: -21rem;
  border: clamp(1.7rem, 4vw, 4.4rem) solid #e9a398;
  border-radius: 50%;
  opacity: .86;
}
.hero-layout {
  display: grid;
  grid-template: "title photo" 1fr "copy photo" 1fr / minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 1rem clamp(1.35rem, 5vw, 5.5rem);
}
.hero-layout h1 { grid-area: title; align-self: end; max-width: 14ch; font-size: clamp(2.65rem, 4.9vw, 5.1rem); hyphens: manual; }
.hero-copy { grid-area: copy; }
.hero-layout p { max-width: 41ch; color: #e6d9fb; font-size: clamp(.99rem, 1.46vw, 1.16rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .65rem; margin-top: 1.25rem; }
.button, .model-controls button {
  min-height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem .9rem;
  border: 1px solid transparent;
  border-radius: .55rem;
  font: inherit;
  font-weight: 770;
  line-height: 1.2;
  text-decoration: none;
}
.primary { background: var(--mint); color: #142939; }
.primary:hover { background: #d2ffef; }
.hero-secondary { border-color: #cbb6f7; color: #fff; background: #291d4d; }
.hero-secondary:hover { background: #3f2a6a; }
.text-link { display: inline-flex; align-items: center; min-height: 2.75rem; padding-block: .55rem; font-weight: 750; }
.hero-actions .text-link { color: #e9ddff; }
.studio-hero a:focus-visible { outline-color: var(--mint); }
.hero-photo {
  grid-area: photo;
  align-self: center;
  min-width: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 4px solid #c3b7f4;
  border-radius: 1.1rem 3.6rem 1.1rem 1.1rem;
  background: #241942;
}
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-photo figcaption { padding: .55rem .9rem; color: #ebdefe; font-size: .91rem; }
.hero-photo a { display: inline-block; margin-left: .2rem; padding-block: .4rem; color: #c9fbee; }

.introduction, .models-section, .guides, .function-section, .purchase { padding-block: clamp(3.1rem, 6.8vw, 6rem); }
.intro-copy, .section-intro { max-width: 65ch; }
.intro-copy p, .section-intro, .guide-row p, .guide-grid p, .purchase p { margin-top: .8rem; color: var(--subtle); font-size: 1.03rem; }
.studio-facts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 1.35rem 0 1.4rem;
  overflow: hidden;
  border: 1px solid #c0abef;
  border-radius: 1.1rem 3.8rem 1.1rem 1.1rem;
  background: #bba8e4;
}
.studio-facts div { display: flex; flex-direction: column; padding: clamp(.8rem, 2.5vw, 1.6rem); background: var(--lavender); }
.studio-facts div:nth-child(even) { background: #f0e7ff; }
.studio-facts dt { margin-top: .32rem; font-weight: 730; line-height: 1.24; overflow-wrap: anywhere; }
.studio-facts dd { order: -1; margin: 0; color: #4d288d; font-size: clamp(2.3rem, 6vw, 4.45rem); font-weight: 800; line-height: .95; letter-spacing: -.038em; font-variant-numeric: tabular-nums; }
.studio-facts::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: .22rem;
  background: linear-gradient(90deg, #663ac8 0%, #9869f0 48%, #009484);
  transform-origin: left;
  pointer-events: none;
}

.models-section { position: relative; isolation: isolate; overflow: clip; background: #ffe1d3; }
.models-section::before {
  content: "";
  z-index: -1;
  position: absolute;
  width: 31rem;
  height: 27rem;
  top: -15rem;
  right: -7rem;
  transform: rotate(-19deg);
  border-radius: 45% 54% 35% 65%;
  background: #f5b39f;
}
.model-gallery { margin-top: 1.35rem; }
.model-controls { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: .48rem; align-items: center; margin-bottom: .72rem; }
.model-controls button { border-color: #754951; background: #fff3ea; color: #372640; cursor: pointer; }
.model-controls button:hover { background: #fffaf6; }
.model-position { justify-self: center; text-align: center; line-height: 1.2; font-weight: 760; }
.model-list { display: grid; gap: .9rem; }
[data-gallery-ready] .model { grid-area: 1 / 1; }
[data-gallery-ready] .model[inert] { visibility: hidden; }
.model {
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  align-items: center;
  border-radius: .9rem 2.35rem .9rem .9rem;
  background: #fff5ed;
}
.model img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #cbc5bc; }
.model-copy { padding: clamp(.95rem, 4.1vw, 3.1rem); min-width: 0; }
.model-family { margin-bottom: .24rem; font-size: .84rem; font-weight: 720; color: #654651; }
.model h3 { font-size: clamp(1.58rem, 3.45vw, 3.1rem); line-height: 1.06; letter-spacing: -.035em; }
.model ul { display: grid; gap: .2rem; margin: .65rem 0 .85rem; padding-left: 1.15rem; }
.model-link { background: #4c2a88; color: #fff; }
.model-link:hover { background: #603cab; }
.model-caption, .photo-note { color: #5d3c43; font-size: .88rem; }
.model-caption { margin-top: .7rem; }
.photo-note { margin: 0 0 .7rem; }
.model[data-arriving] img { animation: model-reveal 360ms var(--curve) both; }
@keyframes model-reveal { from { opacity: .82; transform: translateX(.45rem) scale(1.016); } to { opacity: 1; transform: translateX(0) scale(1); } }

.guide-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: clamp(1rem, 5vw, 4rem); margin-top: 1.5rem; }
.guide-row img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: .85rem; }
.guide-row ol { margin: .75rem 0 .4rem; padding-left: 1.25rem; }
.guide-row ol li { padding-block: .22rem; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.25rem, 5vw, 4rem); margin-top: 1.8rem; }
.guide-grid > section { padding-block: 1.15rem; border-top: 1px solid var(--line); }
.manual-links { display: flex; flex-wrap: wrap; gap: .3rem .85rem; margin: .45rem 0; padding: 0; list-style: none; }
.manual-links a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 720; }

.function-section { background: #eee8fe; }
.topic-nav { margin: 1.15rem 0; }
.topic-nav ul { display: flex; flex-wrap: wrap; gap: .35rem .48rem; margin: 0; padding: 0; list-style: none; }
.topic-nav a { min-height: 2.75rem; display: inline-flex; align-items: center; padding: .35rem .68rem; border-radius: .43rem; color: #422779; background: #fbf8ff; font-weight: 720; text-decoration: none; }
.topic-nav a:hover { text-decoration: underline; }
.topic-list { display: grid; gap: .55rem; }
.topic {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1fr);
  align-items: start;
  gap: .4rem 1.3rem;
  padding: .7rem 1.05rem;
  border-radius: .64rem;
  background: #faf8ff;
}
.topic:target { background: #e2f7ed; }
.topic h3 { padding-block: .55rem; font-size: clamp(1.08rem, 2vw, 1.48rem); }
.topic summary { min-height: 2.75rem; padding: .55rem 0; color: #492e80; cursor: pointer; font-weight: 760; }
.topic-context { padding-block: .2rem .6rem; color: var(--subtle); font-size: .94rem; }
.feature-entries { margin: 0 0 .35rem; padding: 0; list-style: none; }
.feature-entries li { display: grid; gap: .16rem; padding: .65rem 0; border-top: 1px solid var(--line); }
.feature-entries span { color: var(--subtle); }
.function-section .text-link { margin-top: .75rem; }
.purchase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, .65fr); align-items: center; gap: 1.2rem 3rem; }
.purchase-links { display: grid; gap: .4rem; justify-items: start; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .studio-facts { view-timeline-name: --studio-facts; }
    .models-section { view-timeline-name: --studio-models; }
    html[data-scroll-motion="true"] .studio-facts::after {
      animation: facts-line both linear;
      animation-timeline: --studio-facts;
      animation-range: entry 0% cover 44%;
    }
    html[data-scroll-motion="true"] .models-section::before {
      animation: model-arc both linear;
      animation-timeline: --studio-models;
      animation-range: entry 0% cover 40%;
    }
    html[data-scroll-motion="true"] .hero-photo {
      animation: photo-frame both linear;
      animation-timeline: view(block);
      animation-range: exit 0% exit 100%;
    }
    @keyframes facts-line { from { transform: scaleX(.18); } to { transform: scaleX(1); } }
    @keyframes model-arc { from { transform: translateX(3rem) rotate(-26deg); } to { transform: translateX(0) rotate(-19deg); } }
    @keyframes photo-frame { from { transform: translateY(0); } to { transform: translateY(-.65rem); } }
  }
}

@media (max-width: 62rem) {
  .wrap { width: min(100% - 2.5rem, 79rem); }
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 1.25rem; }
  .studio-hero::before { right: -7rem; top: -11rem; }
}
@media (max-width: 44rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-block-size: 4rem; }
  .wordmark img { width: 4.4rem; }
  .header-inner .nav-prepare { display: none; }
  .header-inner nav { justify-content: flex-end; }
  .header-inner nav a { font-size: .84rem; }
  .studio-hero { padding-block: 1.65rem 2.25rem; }
  .studio-hero::before { right: -10rem; top: -10.5rem; height: 20rem; }
  .studio-hero::after { bottom: -9rem; right: -6.5rem; }
  .hero-layout { grid-template: "title" "photo" "copy" / minmax(0, 1fr); gap: .72rem; }
  .guide-row, .guide-grid, .purchase { grid-template-columns: 1fr; gap: .85rem; }
  .hero-layout h1 { font-size: clamp(2.11rem, 8.8vw, 3.4rem); }
  .hero-layout p { font-size: .97rem; }
  .hero-photo { border-width: 3px; border-top-right-radius: 1.75rem; }
  .hero-photo figcaption { padding-inline: .72rem; font-size: .84rem; }
  .hero-actions { margin-top: .65rem; }
  .hero-actions .button, .hero-actions .text-link { font-size: .88rem; }
  .hero-actions .button { padding-inline: .63rem; }
  .studio-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top-right-radius: 2.25rem; }
  .studio-facts dt { font-size: .9rem; }
  .models-section::before { width: 18rem; height: 16rem; top: -9.5rem; right: -8rem; }
  .model { grid-template-columns: 1fr; border-top-right-radius: 1.65rem; }
  .model-copy { padding: .9rem; }
  .model-controls { grid-template-columns: auto minmax(0, 1fr) auto; }
  .gallery-playback { grid-column: 1/-1; justify-self: center; }
  .model-controls button, .model-position { font-size: .83rem; }
  .model-position { min-block-size: 3lh; display: grid; align-content: center; }
  .guide-row img { margin-block: .15rem .25rem; }
  .topic-nav { margin-block: .8rem; }
  .topic-nav a { font-size: .86rem; }
  .topic { grid-template-columns: 1fr; gap: .04rem; padding-inline: .8rem; }
  .topic h3 { padding-block: .25rem; }
  .footer-inner a { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .model[data-arriving] img { animation: none; }
}
