/* The opening is a staged fashion composition, not a live generation session. */
.hero {
  min-height: 900px;
  height: max(900px, calc(100svh - 28px));
  max-height: 1100px;
  padding-top: 140px;
  background:
    radial-gradient(ellipse at 80% 24%, #ba7d6460, transparent 57%), #512535;
}
.hero-inner {
  padding-bottom: 185px;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
}
.hero-copy {
  align-self: center;
  padding-bottom: 15px;
}
.hero h1 {
  font-size: clamp(94px, 9.6vw, 144px);
}
.hero-copy > .eyebrow {
  letter-spacing: 0.18em;
  font-size: 10px;
}
.hero-description {
  font-size: 16px;
  margin-top: 32px;
  max-width: 380px;
}
.hero-composition {
  min-height: 570px;
  max-height: 680px;
  align-self: center;
}
.hero-halo {
  width: 94%;
  height: 92%;
  left: 4%;
  top: 4%;
  border-radius: 47% 47% 8% 8%;
  transform: rotate(8deg);
  background: radial-gradient(ellipse at 50% 30%, #f5d4b1, #ca967e);
  transition:
    transform 1.3s,
    border-radius 1.3s;
}
.hero-halo:after {
  border-radius: inherit;
}
.hero-muse {
  height: 97%;
  width: 94%;
  left: 9%;
  bottom: 6%;
  transition:
    opacity 1.1s,
    transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  transform-origin: 50% 85%;
}
.hero-script {
  top: 0;
  right: -3%;
  font-size: 29px;
  z-index: 7;
}
.hero-ghost-word,
.hero-caption {
  display: none;
}
.hero-pairing {
  left: -7%;
  top: 38%;
  width: 145px;
  z-index: 6;
  transition:
    opacity 0.7s,
    transform 1s;
}
.hero-earrings {
  width: 115px;
  height: 140px;
  right: -4%;
  top: 22%;
  transition:
    top 1.4s,
    right 1.4s,
    transform 0.4s;
}
.hero-bag {
  width: 165px;
  height: 165px;
  left: -5%;
  bottom: 13%;
  transition:
    left 1.4s,
    bottom 1.4s,
    opacity 1s;
}
.hero-item > span {
  font-size: 19px;
  color: #5b3440;
  background: #f4e4cdde;
  border-radius: 3px;
  padding: 2px 6px;
}
.hero-item img {
  height: 83%;
}
.image-note {
  bottom: -41px;
  right: 0;
  left: auto;
  font-size: 8px;
  letter-spacing: 0.07em;
}
.atelier-word {
  position: absolute;
  top: 6%;
  left: -9%;
  color: #f4d4b9;
  opacity: 0.2;
  font: italic clamp(60px, 8vw, 122px)/1 var(--serif);
  white-space: nowrap;
  transform: rotate(-10deg);
  z-index: -1;
}
.atelier-thread {
  position: absolute;
  inset: -6% -7%;
  width: 114%;
  height: 112%;
  fill: none;
  stroke: #ffe6ba;
  stroke-width: 1;
  opacity: 0.42;
  pointer-events: none;
}
.atelier-thread path {
  stroke-dasharray: 9 10;
  animation: atelier-stitch 18s linear infinite;
}
.atelier-thread path + path {
  stroke-dasharray: 160 1000;
  stroke-width: 2;
  animation-duration: 12s;
  opacity: 0.7;
}
.atelier-piece {
  position: absolute;
  z-index: 5;
  transition:
    transform 1.4s cubic-bezier(0.22, 0.7, 0.16, 1),
    left 1.4s,
    top 1.4s,
    width 1.4s,
    opacity 1s;
  pointer-events: none;
}
.atelier-piece img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 18px #34121f38);
}
.atelier-piece > span {
  position: absolute;
  bottom: -13px;
  left: 0;
  right: 0;
  text-align: center;
  font: italic 21px var(--serif);
  color: #603942;
  white-space: nowrap;
}
.atelier-saree {
  width: 53%;
  height: 65%;
  left: 1%;
  top: 23%;
  transform: rotate(-16deg);
}
.atelier-blouse {
  width: 47%;
  height: 38%;
  left: 44%;
  top: 13%;
  transform: rotate(12deg);
}
.atelier-stamp {
  position: absolute;
  right: -1%;
  bottom: 13%;
  width: 105px;
  height: 105px;
  padding-top: 24px;
  border: 1px solid #f0cfa275;
  border-radius: 50%;
  color: #f0cfa2;
  text-align: center;
  font: 8px/1.7 var(--sans);
  letter-spacing: 0.13em;
  transform: rotate(15deg);
  transition: opacity 0.7s;
  opacity: 0.35;
}
.atelier-stamp b {
  display: block;
  font-size: 29px;
  font-weight: 400;
  line-height: 1.2;
}
.atelier-caption {
  position: absolute;
  bottom: -24px;
  left: -9%;
  z-index: 8;
  width: 110%;
  color: #f5dfc2;
  pointer-events: none;
}
.atelier-caption > span {
  font-size: 9px;
  letter-spacing: 0.18em;
}
.atelier-caption p {
  font: 36px/1.15 var(--serif);
  margin-top: 9px;
}
.atelier-caption em {
  color: #e9bc9b;
}
.hero[data-hero-scene="0"] .hero-muse {
  opacity: 0;
  transform: translateY(32px) scale(0.91);
}
.hero[data-hero-scene="0"] .hero-pairing {
  left: -9%;
  top: 3%;
  transform: rotate(-8deg) scale(0.85);
}
.hero[data-hero-scene="0"] .hero-bag {
  left: 47%;
  bottom: 2%;
}
.hero[data-hero-scene="0"] .hero-earrings {
  right: -3%;
  top: 54%;
}
.hero[data-hero-scene="1"] .hero-muse {
  opacity: 0;
  transform: translateY(25px) scale(0.95);
}
.hero[data-hero-scene="1"] .atelier-saree {
  left: 2%;
  top: 12%;
  transform: rotate(-6deg) scale(0.9);
}
.hero[data-hero-scene="1"] .atelier-blouse {
  left: 48%;
  top: 9%;
  transform: rotate(4deg) scale(0.95);
}
.hero[data-hero-scene="1"] .hero-pairing {
  left: 39%;
  top: 50%;
  transform: rotate(-5deg);
}
.hero[data-hero-scene="1"] .hero-bag {
  left: 0;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
}
.hero[data-hero-scene="1"] .hero-earrings {
  right: -5%;
  top: 42%;
}
.hero[data-hero-scene="1"] .atelier-stamp {
  opacity: 0;
}
.hero[data-hero-scene="1"] .hero-halo {
  transform: rotate(-7deg);
  border-radius: 40% 7% 40% 7%;
}
.hero[data-hero-scene="2"] .atelier-saree {
  left: -22%;
  top: 23%;
  transform: rotate(-12deg) scale(0.42);
  opacity: 0.65;
}
.hero[data-hero-scene="2"] .atelier-blouse {
  left: -20%;
  top: 51%;
  transform: rotate(7deg) scale(0.4);
  opacity: 0.65;
}
.hero[data-hero-scene="2"] .atelier-piece > span {
  opacity: 0;
}
.hero[data-hero-scene="2"] .hero-pairing {
  left: -8%;
  top: 9%;
  transform: rotate(-7deg) scale(0.85);
}
.hero[data-hero-scene="2"] .hero-bag {
  left: -7%;
  bottom: 13%;
}
.hero[data-hero-scene="2"] .atelier-stamp {
  opacity: 0;
}
.atelier-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid #e4bd9633;
  padding-top: 17px;
}
.atelier-disclosure {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #e3c2aa;
  max-width: 210px;
  line-height: 1.7;
}
.atelier-disclosure > span {
  display: block;
  opacity: 0.72;
  font-size: 8px;
}
.atelier-steps {
  display: flex;
  gap: 26px;
}
.atelier-steps button {
  position: relative;
  min-height: 44px;
  padding: 6px 0 12px;
  color: #e1bca7;
  font-size: 12px;
  transition: color 0.3s;
}
.atelier-steps button > span {
  font-size: 9px;
  margin-right: 9px;
  opacity: 0.6;
}
.atelier-steps button[aria-pressed="true"] {
  color: #fff0d5;
}
.atelier-steps i {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #e9bf8c;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.5s;
}
.atelier-steps [aria-pressed="true"] i {
  transform: scaleX(1);
}
#atelier-play {
  min-height: 44px;
  min-width: 105px;
  font-size: 11px;
  color: #efd3b5;
  border: 1px solid #dfba9755;
  border-radius: 30px;
  padding: 8px 14px;
}
.hero-bottom {
  bottom: 15px;
}
.hero-bottom > span {
  font-size: 8px;
}
.story-stage:before {
  content: attr(data-scene-number);
  position: absolute;
  left: 2%;
  top: 14%;
  font: 450px/1 var(--serif);
  color: #792e4609;
  z-index: -1;
  pointer-events: none;
}
.story-orbit {
  background: radial-gradient(circle, #edc3a45c, transparent 66%);
  border-color: #a17a5740;
}
.outfit-thread path {
  stroke-width: 2;
  stroke-dasharray: 12 7;
}
.scene-controls button {
  transition:
    background 0.3s,
    color 0.3s;
}
.scene-controls button[aria-current="step"] {
  background: #e6d6bc66;
}
.look-image-wrap,
.sample-app,
.journal {
  transition:
    transform 0.65s cubic-bezier(0.2, 0.75, 0.2, 1),
    box-shadow 0.65s;
}
@media (hover: hover) {
  .look-card:hover .look-image-wrap {
    transform: translateY(-9px) rotate(-1deg);
    box-shadow: 0 24px 40px #43212f22;
  }
  .playroom-art:hover .sample-app {
    transform: rotate(0deg) translateY(-8px);
  }
}
@keyframes atelier-stitch {
  to {
    stroke-dashoffset: -1200;
  }
}
@keyframes atelier-arrive {
  from {
    opacity: 0.15;
    translate: 0 20px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
.js .hero-copy {
  animation: atelier-arrive 0.9s ease-out both;
}
.motion-paused .atelier-piece,
.motion-paused .hero-muse,
.motion-paused .hero-halo {
  transition: none;
}
@media (min-width: 851px) and (max-width: 1100px) {
  .hero {
    min-height: 850px;
    height: 100svh;
  }
  .hero-inner {
    gap: 12px;
  }
  .hero h1 {
    font-size: 100px;
  }
  .hero-composition {
    min-height: 500px;
  }
  .atelier-caption p {
    font-size: 30px;
  }
  .atelier-controls {
    gap: 15px;
  }
  .atelier-steps {
    gap: 18px;
  }
  .atelier-disclosure {
    max-width: 160px;
  }
}
@media (max-width: 850px) {
  .hero {
    padding-top: 125px;
    min-height: 0;
    max-height: none;
    height: auto;
  }
  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 175px;
  }
  .hero-copy {
    width: 100%;
    align-self: stretch;
    padding-bottom: 0;
  }
  .hero h1 {
    font-size: clamp(68px, 13vw, 108px);
    line-height: 0.92;
    margin-top: 15px;
  }
  .hero h1 br:first-of-type {
    display: none;
  }
  .hero h1 em {
    font-size: 1.07em;
  }
  .hero h1 br:nth-of-type(2) {
    display: none;
  }
  .hero-description {
    font-size: 14px;
    margin-top: 20px;
    max-width: 360px;
  }
  .hero-description br {
    display: none;
  }
  .hero-actions {
    margin-top: 18px;
    gap: 18px;
  }
  .hero-byline {
    display: none;
  }
  .hero-composition {
    width: 100%;
    height: 560px;
    min-height: 0;
    max-width: 540px;
    margin: 38px auto 20px;
  }
  .atelier-caption {
    left: 1%;
    bottom: -30px;
    width: 99%;
  }
  .atelier-caption p {
    font-size: 32px;
  }
  .atelier-controls {
    bottom: 55px;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 10px;
  }
  .atelier-disclosure {
    width: 100%;
    max-width: none;
    font-size: 8px;
  }
  .atelier-disclosure > span {
    display: inline;
  }
  .atelier-steps {
    gap: 25px;
  }
  .atelier-controls #atelier-play {
    font-size: 10px;
    min-width: 92px;
  }
  .hero-bottom > span {
    display: none;
  }
  .hero-bottom {
    bottom: 8px;
  }
  .image-note {
    display: none;
  }
}
@media (max-width: 600px) {
  .hero {
    padding-top: 116px;
  }
  .hero-inner {
    padding-bottom: 158px;
  }
  .hero-copy > .eyebrow {
    font-size: 8px;
    letter-spacing: 0.11em;
  }
  .hero h1 {
    font-size: clamp(58px, 14.5vw, 86px);
    margin-top: 10px;
    max-width: 100%;
  }
  .hero h1 br:first-of-type {
    display: block;
  }
  .hero h1 br:nth-of-type(2) {
    display: none;
  }
  .you-swoosh {
    width: 52%;
    left: 42%;
    bottom: -6px;
  }
  .hero-description {
    font-size: 13px;
    line-height: 1.55;
    margin-top: 13px;
    max-width: 310px;
  }
  .hero-actions {
    gap: 13px;
    margin-top: 14px;
  }
  .hero-actions .button {
    min-height: 44px;
    font-size: 11px;
    padding: 11px 15px;
    gap: 13px;
  }
  .hero-actions .round-link {
    font-size: 11px;
    gap: 7px;
    min-height: 44px;
  }
  .hero-actions .round-link > span {
    width: 32px;
    height: 32px;
  }
  .hero-composition {
    height: 360px;
    margin-top: 22px;
    margin-bottom: 26px;
    width: 95%;
  }
  .hero-halo {
    top: 4%;
    height: 97%;
  }
  .hero-script {
    font-size: 20px;
    right: -3%;
    top: -4%;
  }
  .hero-script svg {
    height: 55px;
    width: 45px;
  }
  .atelier-word {
    font-size: 61px;
    left: -2%;
    top: 3%;
  }
  .atelier-piece > span {
    font-size: 16px;
    bottom: -7px;
  }
  .atelier-saree {
    height: 62%;
    left: -2%;
    top: 25%;
    width: 57%;
  }
  .atelier-blouse {
    width: 50%;
    left: 43%;
    top: 18%;
  }
  .hero-earrings {
    width: 70px;
    height: 100px;
  }
  .hero-item > span {
    font-size: 15px;
  }
  .hero-earrings > span {
    width: 90px;
    margin-left: -8px;
  }
  .hero-bag {
    width: 110px;
    height: 110px;
  }
  .hero-pairing {
    width: 108px;
    padding: 10px;
  }
  .hero-pairing > span:last-child {
    font-size: 20px;
  }
  .pairing-caption {
    font-size: 6px;
  }
  .atelier-stamp {
    width: 72px;
    height: 72px;
    padding-top: 14px;
    font-size: 6px;
    bottom: 13%;
  }
  .atelier-stamp b {
    font-size: 22px;
  }
  .atelier-caption {
    bottom: -44px;
  }
  .atelier-caption > span {
    font-size: 8px;
  }
  .atelier-caption p {
    font-size: 26px;
    margin-top: 5px;
  }
  .atelier-controls {
    bottom: 51px;
    gap: 3px;
  }
  .atelier-steps {
    gap: 15px;
  }
  .atelier-steps button {
    font-size: 10px;
    min-width: 64px;
  }
  .atelier-steps button > span {
    display: block;
    margin: 0 0 4px;
    font-size: 8px;
  }
  .atelier-controls #atelier-play {
    font-size: 9px;
    min-width: 86px;
    padding: 6px 10px;
  }
  .hero-bottom > a {
    font-size: 9px;
  }
  .hero-bottom #motion-toggle {
    font-size: 9px;
  }
  .hero[data-hero-scene="2"] .atelier-saree {
    left: -19%;
  }
  .hero[data-hero-scene="2"] .hero-pairing {
    top: 7%;
    left: -3%;
  }
  .hero[data-hero-scene="1"] .hero-pairing {
    top: 53%;
    left: 38%;
  }
  .story-stage:before {
    font-size: 300px;
    top: 5%;
  }
}
@media (max-width: 360px) {
  .hero h1 {
    font-size: 53px;
  }
  .hero-composition {
    height: 315px;
  }
  .hero-actions .round-link {
    font-size: 10px;
  }
  .atelier-caption p {
    font-size: 23px;
  }
  .atelier-steps {
    gap: 5px;
  }
  .atelier-steps button {
    min-width: 59px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-muse,
  .atelier-piece,
  .hero-halo,
  .hero-item,
  .hero-pairing {
    transition: none;
  }
}
