@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("../assets/fonts/jost-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --quartz-white: #fbf7f5;
  --ink: #362b3a;
  --ink-soft: rgba(54, 43, 58, 0.62);
  --ink-body: rgba(54, 43, 58, 0.78);
  --milky-amethyst: #b79bd1;
  --amethyst-text: #9270af;
  --antique-gold: #be9b4f;
  --plum: #3a2b42;
  --cream: #fdf1ea;
  --powder: #f0d9e8;
  --lilac: #d4c4ee;
  --radius: 12px;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ui: Jost, "Avenir Next", Futura, "Century Gothic", sans-serif;
  --page-pad: clamp(22px, 4vw, 64px);
  --content: 1380px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--plum);
  color: var(--ink);
  font-family: var(--ui);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--plum);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page-canvas {
  background: var(--quartz-white);
  display: flow-root;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 12px;
  transform: translateY(calc(-100% - 8px));
  border: 1px solid rgba(54, 43, 58, 0.18);
  border-radius: 999px;
  background: var(--quartz-white);
  color: var(--ink);
  padding: 12px 18px;
  font-size: 0.82rem;
  text-decoration: none;
  transition: transform 180ms ease-out;
}

.skip-link:focus {
  transform: translateY(12px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--page-pad);
  color: var(--quartz-white);
}

.wordmark {
  font-size: clamp(0.72rem, 0.9vw, 0.86rem);
  font-weight: 500;
  letter-spacing: 0.38em;
  text-decoration: none;
}

.launch-note {
  color: var(--quartz-white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-shadow: 0 1px 12px rgba(25, 15, 31, 0.72);
  text-transform: uppercase;
}

.hero--motion {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--plum);
  color: var(--quartz-white);
}

.hero__copy {
  position: absolute;
  z-index: 3;
  right: var(--page-pad);
  bottom: max(64px, calc(env(safe-area-inset-bottom) + 48px));
  left: var(--page-pad);
  max-width: 46rem;
}

.hero h1,
.section-intro h2,
.closing h2,
.principles__lead {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero h1 {
  min-height: 1.08em;
  color: var(--quartz-white);
  font-size: clamp(4.2rem, 8.4vw, 6rem);
  line-height: 1.04;
}

.hero-words {
  position: relative;
  display: block;
  height: 1.08em;
}

.hero-word {
  position: absolute;
  inset: 0 auto auto 0;
  opacity: 0;
  filter: blur(6px);
  animation: word-dissolve 10s linear infinite;
}

.hero-word:nth-child(2) {
  animation-delay: -6.666s;
}

.hero-word:nth-child(3) {
  animation-delay: -3.333s;
}

@keyframes word-dissolve {
  0%, 22% {
    opacity: 1;
    filter: blur(0);
  }
  33%, 93% {
    opacity: 0;
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

.hero__copy > p {
  max-width: 38ch;
  margin: clamp(18px, 2.4vh, 26px) 0 0;
  color: rgba(255, 252, 250, 0.88);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  font-weight: 400;
  line-height: 1.72;
}

.primary-action {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: clamp(24px, 3.5vh, 38px);
  border: 1px solid var(--plum);
  border-radius: 999px;
  background: var(--plum);
  color: var(--quartz-white);
  padding: 13px 24px 12px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 320ms var(--ease-out), background-color 320ms var(--ease-out), color 320ms var(--ease-out);
}

.primary-action:hover {
  transform: translateY(-2px);
  background: var(--quartz-white);
  color: var(--plum);
}

.primary-action:active {
  transform: translateY(0) scale(0.98);
}

.hero__stage {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  background: var(--plum);
}

.hero__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(25, 15, 31, 0.24) 0%, rgba(25, 15, 31, 0.03) 42%, rgba(25, 15, 31, 0.66) 100%);
  pointer-events: none;
}

.hero__video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 48%;
}

.hero .primary-action {
  border-color: var(--quartz-white);
  background: var(--quartz-white);
  color: var(--plum);
}

.hero .primary-action:hover {
  background: var(--powder);
  color: var(--plum);
}

.site-header :focus-visible,
.hero :focus-visible {
  outline-color: var(--quartz-white);
}

.section-shell {
  width: min(calc(100% - (2 * var(--page-pad))), var(--content));
  margin-inline: auto;
}

.motion-stories {
  padding-block: clamp(110px, 13vw, 190px);
}

.section-intro {
  max-width: 52rem;
  margin-bottom: clamp(42px, 6vw, 76px);
}

.section-intro h2,
.closing h2 {
  font-size: clamp(3rem, 5.8vw, 5.7rem);
  line-height: 0.96;
}

.section-intro > p,
.closing p {
  max-width: 43ch;
  margin: clamp(22px, 3vw, 32px) 0 0;
  color: var(--ink-body);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  font-weight: 400;
  line-height: 1.72;
}

.motion-stories__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: clamp(24px, 4vw, 64px);
}

.motion-card {
  position: relative;
  margin: 0;
}

.motion-card--wide {
  grid-column: 3 / span 10;
}

.motion-card__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--plum);
  box-shadow: 0 34px 90px rgba(58, 43, 66, 0.16);
}

.motion-card--wide .motion-card__frame {
  aspect-ratio: 16 / 9;
}

.motion-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection {
  padding-bottom: clamp(120px, 16vw, 220px);
}

.section-intro--collection {
  margin-left: clamp(0px, 8vw, 110px);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: clamp(18px, 3vw, 46px);
  align-items: start;
}

.gallery__item {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--cream);
}

.gallery__item picture,
.gallery__item img {
  width: 100%;
  height: 100%;
}

.gallery__item img {
  object-fit: cover;
  transition: transform 5.2s var(--ease-out);
}

.gallery__item:hover img {
  transform: scale(1.4);
}

.gallery__item--landscape {
  grid-column: 1 / span 8;
  grid-row: 1;
  aspect-ratio: 16 / 10;
}

.gallery__item--facets {
  grid-column: 9 / span 4;
  grid-row: 1;
  aspect-ratio: 1;
  margin-top: clamp(80px, 10vw, 150px);
}

.gallery__item--inclusions {
  grid-column: 4 / span 6;
  grid-row: 2;
  aspect-ratio: 4 / 5;
  margin-top: clamp(-40px, -3vw, -16px);
}

.principles {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: clamp(48px, 8vw, 132px);
  margin-top: clamp(90px, 12vw, 164px);
  border-top: 1px solid rgba(190, 155, 79, 0.5);
  padding-top: clamp(34px, 5vw, 62px);
}

.principles__lead {
  font-size: clamp(3rem, 5.4vw, 5.4rem);
  line-height: 0.96;
}

.principles__stack {
  display: grid;
}

.principles__stack p {
  margin: 0;
  border-bottom: 1px solid rgba(54, 43, 58, 0.16);
  padding-block: 19px;
  color: var(--ink-body);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.closing {
  margin: 0 var(--page-pad) clamp(34px, 5vw, 70px);
  border-radius: var(--radius);
  background: linear-gradient(120deg, #ffe9e0 0%, #f2c6d9 45%, #c4a8e8 100%);
  padding: clamp(76px, 10vw, 150px) var(--page-pad);
}

.closing__inner {
  width: min(100%, var(--content));
  margin-inline: auto;
}

.closing h2 {
  max-width: 11ch;
  color: var(--plum);
}

.closing p {
  color: rgba(54, 43, 58, 0.8);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: var(--page-pad);
  border-top: 1px solid rgba(54, 43, 58, 0.16);
  padding-block: 28px 40px;
  color: var(--ink-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer__brand {
  color: var(--ink);
  letter-spacing: 0.3em;
}

@media (max-width: 980px) and (min-width: 768px) {
  .hero h1 {
    font-size: clamp(4rem, 9vw, 5.5rem);
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 767px) {
  :root {
    --page-pad: 22px;
  }

  .site-header {
    min-height: 64px;
    padding-top: max(20px, env(safe-area-inset-top));
  }

  .launch-note {
    display: none;
  }

  .hero__copy {
    right: var(--page-pad);
    bottom: max(52px, calc(env(safe-area-inset-bottom) + 38px));
    left: var(--page-pad);
    max-width: 23rem;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 16vw, 5rem);
    line-height: 1.02;
  }

  .hero__copy > p {
    max-width: 32ch;
    margin-top: 18px;
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .primary-action {
    min-height: 48px;
    margin-top: 20px;
    padding-inline: 21px;
    font-size: 0.75rem;
  }

  .hero__video {
    object-position: 50% 50%;
  }

  .motion-stories {
    padding-block: 96px 112px;
  }

  .section-intro {
    margin-bottom: 38px;
  }

  .section-intro h2,
  .closing h2,
  .principles__lead {
    font-size: clamp(2.9rem, 14vw, 4rem);
  }

  .section-intro > p,
  .closing p {
    margin-top: 19px;
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .motion-stories__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .motion-card--wide {
    grid-column: 1;
    margin-top: 0;
    width: 100%;
  }

  .collection {
    padding-bottom: 80px;
  }

  .section-intro--collection {
    margin-left: 0;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 18px;
  }

  .gallery__item--landscape,
  .gallery__item--facets,
  .gallery__item--inclusions {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0;
  }

  .gallery__item--landscape {
    aspect-ratio: 4 / 5;
  }

  .gallery__image--cherry {
    object-position: 82% 50%;
  }

  .gallery__item--facets {
    width: 78%;
    aspect-ratio: 1;
    justify-self: end;
  }

  .gallery__item--inclusions {
    width: 88%;
    aspect-ratio: 4 / 5;
    justify-self: start;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 84px;
    padding-top: 32px;
  }

  .closing {
    margin-inline: 14px;
    padding: 72px 28px;
  }

  .site-footer {
    margin-inline: 22px;
  }
}

@media (max-width: 390px) and (max-height: 760px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero__copy > p {
    max-width: 30ch;
    font-size: 0.88rem;
  }

  .hero__copy {
    bottom: max(30px, calc(env(safe-area-inset-bottom) + 24px));
  }
}

@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;
  }

  .gallery__item:hover img,
  .primary-action:hover,
  .primary-action:active {
    transform: none;
  }

  .hero-word {
    opacity: 0;
    filter: none;
    animation: none !important;
  }

  .hero-word:first-child {
    opacity: 1;
  }
}
