/* Native scroll keeps the browser scrollbar, keyboard and touch gestures in sync. */
@keyframes cover-title-exit {
  to {
    translate: 0 20px;
  }
}
@keyframes cover-sample-exit {
  to {
    translate: var(--fan-x) 17px;
    rotate: var(--fan-turn);
  }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .wardrobe-cover {
      view-timeline-name: --cover;
    }
    .wardrobe-cover > div:first-child,
    .index-swatches img {
      animation: cover-title-exit 1s linear both;
      animation-timeline: --cover;
      animation-range: exit 0% exit 100%;
    }
    .index-swatches img {
      animation-name: cover-sample-exit;
      --fan-x: -14px;
      --fan-turn: -8deg;
    }
    .index-swatches img:nth-child(2) {
      --fan-x: -5px;
      --fan-turn: -3deg;
    }
    .index-swatches img:nth-child(3) {
      --fan-x: 5px;
      --fan-turn: 3deg;
    }
    .index-swatches img:nth-child(4) {
      --fan-x: 14px;
      --fan-turn: 8deg;
    }
  }
}
:root {
  --nav-height: 66px;
  --tools-height: 56px;
}
.lookbook-page > header,
.wardrobe-page > header {
  position: sticky;
  top: 0;
  z-index: 20;
}
.runway-scroll {
  position: relative;
  --runway-distance: clamp(590px, 118svh, 1320px);
  background: #c9b8d9;
}
.runway-scroll:after {
  content: "";
  display: block;
  height: var(--runway-distance);
  pointer-events: none;
}
.runway {
  position: sticky;
  top: var(--nav-height);
  isolation: isolate;
}
.runway .campaign-scene {
  height: max(340px, calc(100svh - var(--nav-height) - 74px));
}
.runway[data-simple="true"] .edition[aria-hidden="true"] {
  visibility: hidden;
}
.runway .scroll-cue {
  pointer-events: auto;
}
.scroll-cue span:last-child {
  font-size: 1rem;
  line-height: 1;
}
.runway .switchboard {
  position: relative;
}
.runway .switchboard:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--claret);
  transform-origin: left;
  transform: scaleX(var(--read, 0));
}
.runway .edition:not([aria-hidden="false"]) .hero-garment,
.runway .edition:not([aria-hidden="false"]) .charm {
  animation-play-state: paused;
}
.lookbook-page .ticker {
  position: relative;
  border-block: 1px solid #50142b;
}
.lookbook-page .ticker-move {
  translate: var(--travel, 0) 0;
}
.season-section {
  position: relative;
  background: var(--paper);
  scroll-margin-top: var(--nav-height);
  outline: none;
}
.season-folds {
  perspective: 1000px;
}
.textile-story {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: 250px;
  max-width: 1800px;
  margin: 0 auto 38px;
  padding: 0 4.2%;
  color: var(--claret);
}
.textile-copy {
  background: #f3e7d6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 32px clamp(22px, 4vw, 72px);
}
.textile-copy h2 {
  font: 400 clamp(35px, 4.8vw, 82px) / 1 var(--display);
  letter-spacing: -0.035em;
}
.textile-copy h2 span {
  color: #cf5976;
}
.fabric-name {
  font: 600 clamp(22px, 2.4vw, 42px) / 1.1 var(--hand);
  margin: 4px 0 11px;
}
.study-swatches {
  display: flex;
  gap: 7px;
}
.study-swatches button {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  padding: 3px;
  border: 1px solid #b59c96;
}
.study-swatches button[aria-pressed="true"] {
  border: 2px solid var(--claret);
  padding: 2px;
}
.study-swatches img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.study-buy {
  margin-top: 16px;
  padding-inline: 0;
}
.textile-window {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  background: #e4d2c5;
}
.textile-window img {
  position: absolute;
  width: 100%;
  height: 110%;
  top: -5%;
  object-fit: cover;
}
.textile-window span {
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 5px 12px;
  background: #fff7e7;
  transform: rotate(-3deg);
  font: 600 1.13rem var(--hand);
  box-shadow: 2px 3px 0 #50213525;
}
.wardrobe {
  color: var(--claret);
  max-width: 1800px;
  margin: auto;
  --edge: clamp(17px, 4.6vw, 85px);
  padding-bottom: 46px;
}
.wardrobe-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(22px, 3.2vw, 50px) var(--edge) clamp(17px, 2.5vw, 43px);
  background: #f2e7d6;
  border-bottom: 1px solid #c8b3a1;
}
.wardrobe-cover:before,
.plate:before,
.print-image:after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: url("/assets/atelier/grain.png");
  opacity: 0.12;
  mix-blend-mode: multiply;
}
.wardrobe-cover h1 {
  position: relative;
  font: 400 clamp(60px, 8.4vw, 147px) / 0.94 var(--display);
  letter-spacing: -0.045em;
}
.wardrobe-cover h1 span {
  color: #ca5271;
}
.wardrobe-cover p {
  margin-top: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.wardrobe-cover p i {
  display: inline-block;
  margin-left: 7px;
  font: 1.35rem/0.95 var(--hand);
  letter-spacing: -0.02em;
  text-transform: none;
  rotate: -4deg;
}
.index-swatches {
  display: flex;
  width: 32%;
  height: clamp(85px, 9vw, 154px);
  align-items: center;
  justify-content: center;
  transform: rotate(-5deg);
  margin-right: 1%;
}
.index-swatches img {
  width: 27%;
  height: 99%;
  object-fit: cover;
  border: 5px solid #fff8e7;
  border-bottom-width: 15px;
  box-shadow: 2px 4px 7px #4f2e3830;
  transform: rotate(-11deg);
  transition: 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.index-swatches img + img {
  margin-left: -9%;
  transform: rotate(1deg) translateY(3%);
}
.index-swatches img:nth-child(3) {
  transform: rotate(11deg) translateY(5%);
}
.index-swatches img:nth-child(4) {
  transform: rotate(22deg) translateY(12%);
}
.wardrobe-cover:hover .index-swatches img + img {
  margin-left: -6%;
}
.wardrobe-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: var(--nav-height);
  z-index: 9;
  background: var(--paper);
  padding: 11px var(--edge);
  border-bottom: 1px solid #cbb5ac;
}
.wardrobe-filters,
.wardrobe-views {
  display: flex;
  align-items: center;
  gap: 4px;
}
.wardrobe-tools button {
  font-weight: 650;
  font-size: 0.85rem;
  white-space: nowrap;
  border-radius: 22px;
  padding: 7px 14px;
}
.wardrobe-filters button[aria-pressed="true"] {
  background: var(--claret);
  color: var(--paper);
}
.wardrobe-filters button:hover {
  box-shadow: inset 0 0 0 1px #80576b;
}
.wardrobe-views {
  border: 1px solid #bb9f98;
  border-radius: 25px;
  padding: 2px;
  gap: 0;
}
.wardrobe-views button {
  font-size: 0.75rem;
  padding: 5px 12px;
}
.wardrobe-views button[aria-pressed="true"] {
  background: #ead7cc;
}
.wardrobe-spread {
  padding: clamp(18px, 2.5vw, 38px) var(--edge) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  gap: clamp(25px, 4vw, 74px);
  align-items: start;
}
.wardrobe-board {
  position: sticky;
  top: calc(var(--nav-height) + var(--tools-height) + 13px);
  min-width: 0;
}
.plate {
  --wash: #e6ccd8;
  --press: #55223c;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(
      ellipse at 43% 56%,
      color-mix(in srgb, var(--wash), white 38%),
      transparent 68%
    ),
    var(--wash);
  color: var(--press);
  box-shadow: 4px 5px 0 #6b46431b;
  transition:
    background-color 0.45s,
    color 0.45s;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: clamp(
    320px,
    calc(100svh - var(--nav-height) - var(--tools-height) - 82px),
    660px
  );
  overflow: hidden;
  border: 1px solid #75525d46;
}
.plate:after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed #6f424339;
  pointer-events: none;
}
.plate-top {
  display: flex;
  justify-content: space-between;
  font: 0.67rem var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 700;
  padding: 18px 20px 3px;
}
.plate-top span:first-child:before {
  content: "";
  display: inline-block;
  background: currentColor;
  width: 22px;
  height: 1px;
  vertical-align: middle;
  margin-right: 7px;
}
.plate-field {
  min-height: 0;
  position: relative;
}
.plate-letter {
  position: absolute;
  top: 0;
  left: 3%;
  right: 3%;
  font: 400 clamp(68px, 9.1vw, 165px) / 1 var(--display);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  opacity: 0.27;
  text-align: center;
}
.plate-product {
  position: absolute;
  left: 9%;
  top: 4%;
  height: 92%;
  width: 82%;
  object-fit: contain;
  filter: drop-shadow(7px 10px 6px #4d293632);
  transform-origin: 50% 20%;
}
.plate-ground {
  position: absolute;
  bottom: 0;
  left: 22%;
  width: 57%;
  height: 8%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #4c213935, transparent 68%);
  filter: blur(3px);
}
.plate-cut {
  position: absolute;
  right: 5%;
  bottom: 5%;
  width: clamp(56px, 6vw, 100px);
  aspect-ratio: 0.88;
  padding: 5px 5px 0;
  rotate: 0deg;
  transform: rotate(5deg);
  background: #fff7e7;
  box-shadow: 1px 3px 5px #4a203132;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.plate-cut:before {
  content: "";
  position: absolute;
  top: -4px;
  left: 30%;
  width: 40%;
  height: 8px;
  background: #ddbd899c;
  transform: rotate(-10deg);
}
.plate-cut img {
  width: 100%;
  min-height: 0;
  flex: 1;
  object-fit: cover;
}
.plate-cut i {
  font: 600 clamp(0.62rem, 1.1vw, 1.1rem) / 1.48 var(--hand);
  text-align: center;
  white-space: nowrap;
}
.plate-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px clamp(15px, 1.6vw, 29px) 17px;
}
.plate-bottom small,
.row-name small,
.index-heading span,
.plate-count,
.print-details small {
  font-size: 0.73rem;
  line-height: 1.3;
}
.plate-bottom h2 {
  font: 600 clamp(25px, 2.8vw, 49px) / 1 var(--hand);
  letter-spacing: -0.035em;
}
.plate-buy {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--press);
  color: var(--paper);
  border-radius: 50px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.78rem;
}
.plate-buy svg {
  width: 14px;
}
.plate-nav {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 10px 1px;
}
.plate-nav button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #ba9f98;
  border-radius: 50%;
}
.plate-nav button:disabled {
  opacity: 0.32;
}
.plate-nav svg {
  width: 15px;
}
.plate-ruler {
  height: 9px;
  position: relative;
  flex: 1;
  margin-right: 8px;
  background: repeating-linear-gradient(
    90deg,
    #b39990 0 1px,
    transparent 1px 8px
  );
  border-top: 1px solid #c1a9a1;
}
.plate-ruler:before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: var(--ruler);
  height: 3px;
  background: var(--claret);
  transition: width 0.28s;
}
.wardrobe-stream {
  min-width: 0;
  min-height: 100%;
}
.season-index {
  margin-bottom: 25px;
}
.index-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0 7px;
  border-bottom: 2px solid currentColor;
}
.index-heading h3 {
  font: 400 clamp(34px, 3.5vw, 62px) / 1.1 var(--display);
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.index-heading span {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.09em;
}
.wardrobe-row {
  position: relative;
  display: grid;
  grid-template-columns: 1.2rem clamp(42px, 4.4vw, 74px) 1fr auto;
  align-items: center;
  gap: clamp(8px, 1.2vw, 21px);
  width: 100%;
  text-align: left;
  border-bottom: 1px solid #c8ada7;
  padding: 10px 6px;
  color: var(--ink);
  transition: background 0.2s;
}
.wardrobe-row[data-active] {
  background: #f0e3d9;
}
.wardrobe-row[data-active]:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--claret);
}
.row-thumb {
  display: block;
  aspect-ratio: 1;
  background: var(--wash);
  padding: 4px;
}
.row-thumb img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.row-name b {
  display: block;
  font: 650 clamp(15px, 1.27vw, 23px) / 1.14 var(--sans);
  letter-spacing: -0.04em;
}
.row-no {
  font: 0.68rem var(--sans);
  text-align: center;
  color: #85696a;
  font-variant-numeric: tabular-nums;
}
.row-name small {
  display: block;
  margin-top: 4px;
  color: #6c5355;
}
.row-open svg {
  width: 15px;
  opacity: 0.65;
}
.wardrobe-row:is(:hover, :focus-visible) .row-open {
  transform: rotate(-33deg);
}
.row-open {
  transition: transform 0.25s;
}
.wardrobe-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px 15px;
  padding: 25px var(--edge);
}
.wardrobe-print {
  min-width: 0;
  text-align: left;
  padding: 0;
}
.print-image {
  position: relative;
  background: var(--wash);
  aspect-ratio: 0.9;
  overflow: hidden;
}
.print-image img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  padding: 10%;
  filter: drop-shadow(2px 6px 3px #4c26311e);
  transition: transform 0.45s;
}
.wardrobe-print:hover img {
  transform: rotate(-3deg) scale(1.06);
}
.print-image span {
  position: absolute;
  left: 9px;
  top: 9px;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.print-details {
  padding-top: 8px;
}
.print-details h2 {
  font: 650 clamp(17px, 1.45vw, 26px) / 1.08 var(--sans);
  letter-spacing: -0.045em;
}
@media (min-width: 721px) and (max-height: 600px) {
  .plate {
    height: clamp(230px, calc(100svh - 168px), 400px);
  }
  .plate-bottom h2 {
    font-size: 22px;
  }
  .runway .campaign-scene {
    height: max(220px, calc(100svh - var(--nav-height) - 74px));
  }
}
@media (max-width: 720px) {
  .wardrobe {
    --edge: 15px;
    padding-bottom: 17px;
  }
  .wardrobe-cover {
    padding-block: 20px;
  }
  .wardrobe-cover h1 {
    font-size: clamp(45px, 10.5vw, 71px);
  }
  .wardrobe-cover p {
    font-size: 0.6rem;
    margin-top: 7px;
  }
  .wardrobe-cover p i {
    font-size: 1.04rem;
  }
  .index-swatches {
    width: 28%;
    height: 60px;
    margin-right: 2%;
  }
  .index-swatches img {
    border-width: 3px;
    border-bottom-width: 8px;
  }
  .wardrobe-tools {
    padding: 7px 10px;
    gap: 3px;
  }
  .wardrobe-tools button {
    font-size: 0.7rem;
    padding: 5px 7px;
  }
  .wardrobe-filters {
    gap: 1px;
  }
  .wardrobe-views button {
    font-size: 0.66rem;
    padding: 3px 6px;
  }
  .wardrobe-spread {
    display: block;
    padding: 0 var(--edge);
  }
  .wardrobe-board {
    background: var(--paper);
    z-index: 4;
    top: calc(var(--nav-height) + var(--tools-height));
    padding-top: 7px;
  }
  .plate {
    height: clamp(177px, 32svh, 280px);
    grid-template-columns: 1.14fr 1fr;
    grid-template-rows: 25px 1fr;
  }
  .plate-top {
    grid-column: 1/-1;
    padding: 8px 15px 0;
    font-size: 0.57rem;
  }
  .plate-count {
    font-size: 0.64rem;
  }
  .plate-field {
    grid-column: 1;
    grid-row: 2;
  }
  .plate-letter {
    font-size: clamp(46px, 10.5vw, 75px);
    opacity: 0.22;
  }
  .plate-product {
    left: 4%;
    width: 93%;
    height: 93%;
    top: 1%;
  }
  .plate-bottom {
    grid-column: 2;
    grid-row: 2;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0 11px 16px 10px;
    gap: 7px;
  }
  .plate-bottom small {
    font-size: 0.63rem;
  }
  .plate-bottom h2 {
    font-size: clamp(24px, 6.3vw, 36px);
  }
  .plate-buy {
    font-size: 0.68rem;
    padding: 7px 10px;
  }
  .plate-cut {
    right: -29%;
    bottom: auto;
    top: 2%;
    width: clamp(36px, 8vw, 57px);
    padding: 3px;
  }
  .plate-cut i {
    font-size: 0.46rem;
  }
  .plate-nav {
    padding: 4px 0;
    gap: 4px;
  }
  .plate-nav button {
    width: 24px;
    height: 24px;
  }
  .plate-ruler {
    height: 5px;
  }
  .plate:after {
    inset: 4px;
  }
  .season-index {
    margin-bottom: 18px;
  }
  .index-heading {
    padding-top: 9px;
  }
  .index-heading h3 {
    font-size: 30px;
  }
  .index-heading span {
    font-size: 0.61rem;
  }
  .wardrobe-row {
    grid-template-columns: 1rem 42px 1fr auto;
    padding: 7px 5px;
    gap: 9px;
  }
  .row-name small,
  .print-details small {
    font-size: 0.66rem;
  }
  .wardrobe-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px 10px;
  }
  .textile-story {
    padding: 0 16px;
    grid-template-columns: 1fr 1fr;
    min-height: 0;
    margin-bottom: 24px;
  }
  .textile-copy {
    padding: 20px 13px;
  }
  .textile-copy h2 {
    font-size: clamp(25px, 6.1vw, 40px);
  }
  .fabric-name {
    font-size: 21px;
  }
  .textile-window {
    min-height: 156px;
  }
  .textile-window span {
    bottom: 9px;
    right: 6px;
    padding: 3px 6px;
    font-size: 0.75rem;
  }
  .study-swatches button {
    width: 26px;
    height: 26px;
  }
  .study-swatches {
    gap: 4px;
  }
  .study-buy {
    font-size: 0.73rem;
  }
}
@media (max-width: 620px) {
  .runway .campaign-scene {
    height: max(280px, calc(100svh - var(--nav-height) - 57px));
  }
  .runway-scroll {
    --runway-distance: clamp(460px, 90svh, 840px);
  }
  .scroll-cue span:last-child {
    font-size: 0.8rem;
  }
}
@media (max-height: 480px) and (max-width: 720px) {
  .wardrobe-board,
  .wardrobe-tools,
  .wardrobe-page > header {
    position: relative;
    top: 0;
  }
  .plate {
    height: 185px;
  }
  .runway .campaign-scene {
    min-height: 0;
    height: calc(100svh - var(--nav-height) - 74px);
  }
  .runway .piece-note p {
    display: none;
  }
  .runway .still-life {
    width: 72px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .runway-scroll {
    --runway-distance: clamp(420px, 76svh, 680px);
  }
  .study-swatches *,
  .plate *,
  .wardrobe * {
    transition-duration: 0s !important;
  }
}

.plate-macro {
  position: absolute;
  inset: 3% 5%;
  height: 94%;
  width: 90%;
  object-fit: cover;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.42s cubic-bezier(0.2, 0.78, 0.25, 1);
  pointer-events: none;
}
.plate[data-fabric="true"] .plate-macro {
  clip-path: inset(0);
}
.plate-cut {
  z-index: 1;
  color: var(--press);
  border: 0;
  cursor: zoom-in;
}
.plate-cut:after {
  content: "+";
  position: absolute;
  right: -5px;
  top: -5px;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--press);
  color: var(--paper);
  font: 600 14px/1 var(--sans);
}
.plate[data-fabric="true"] .plate-cut {
  cursor: zoom-out;
}
.plate[data-fabric="true"] .plate-cut:after {
  content: "−";
}
.plate[data-fabric="true"] .plate-cut img {
  object-fit: contain;
}
.print-image .print-sample {
  position: absolute;
  bottom: 6%;
  right: 6%;
  height: auto;
  width: 18%;
  max-width: 90px;
  aspect-ratio: 1;
  object-fit: cover;
  padding: 0;
  border: 4px solid var(--paper);
  border-bottom-width: 10px;
  box-shadow: 2px 3px 4px #4d343333;
  transform: rotate(7deg);
  filter: none;
}
.wardrobe-print:hover .print-sample {
  transform: rotate(3deg);
}
@media (min-width: 721px) {
  .wardrobe-board .plate {
    height: clamp(280px, calc(100svh - var(--plate-top, 33vh) - 55px), 660px);
  }
  .wardrobe-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 30px clamp(14px, 2.5vw, 43px);
  }
  .wardrobe-print {
    grid-column: span 2;
  }
  .wardrobe-print:nth-child(5n + 1),
  .wardrobe-print:nth-child(5n + 2) {
    grid-column: span 3;
  }
  .wardrobe-print:nth-child(5n + 1) .print-image,
  .wardrobe-print:nth-child(5n + 2) .print-image {
    aspect-ratio: 1.45;
  }
  .wardrobe-print:nth-child(5n + 2) .print-image {
    border-radius: 38% 38% 0 0;
  }
  .wardrobe-print:nth-child(5n + 2) .print-image span {
    left: 50%;
    transform: translateX(-50%);
  }
}
@media (max-width: 720px) {
  .plate-cut {
    width: clamp(43px, 10.5vw, 60px);
  }
  .plate-cut:after {
    width: 15px;
    height: 15px;
    font-size: 12px;
  }
  .print-image .print-sample {
    border-width: 2px;
    border-bottom-width: 5px;
  }
}
