@font-face {
  font-family: "Playfair Display";
  src: url("./assets/fonts/PlayfairDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("./assets/fonts/PlayfairDisplay-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("./assets/fonts/PlayfairDisplay-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("./assets/fonts/SourceSans3-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("./assets/fonts/SourceSans3-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("./assets/fonts/SourceSans3-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Crimson Text";
  src: url("./assets/fonts/CrimsonText-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --ivory: #f9f6ef;
  --sand: #e8dccb;
  --terracotta: #c76f50;
  --olive: #687058;
  --stone: #8d8a7e;
  --slate: #4f6b7a;
  --chocolate: #5a3e2b;
  --ink: #2c1c12;
  --cream: #fdfaf4;
  --nav-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
}

html.lenis,
html.lenis body {
  height: auto;
}

body {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-weight: 300;
  color: var(--chocolate);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ——— Nav ——— */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  color: #fff;
  background: transparent;
  pointer-events: none;
  transition: color 0.35s ease, background 0.35s ease, backdrop-filter 0.35s ease;
}

.nav a,
.nav button {
  pointer-events: auto;
}

.nav__links {
  display: flex;
  gap: clamp(0.85rem, 2vw, 1.6rem);
  list-style: none;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
}

.nav__links--right {
  justify-content: flex-end;
}

.nav__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.nav__logo-img {
  height: clamp(1.35rem, 2.2vw, 1.7rem);
  width: auto;
}

.nav__logo-img--dark {
  display: none;
}

.nav__logo-img--light {
  display: block;
}

/* Over light sections: dark wordmark + soft bar */
.nav.is-solid {
  color: var(--chocolate);
  background: rgba(249, 246, 239, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav.is-solid .nav__logo-img--light {
  display: none;
}

.nav.is-solid .nav__logo-img--dark {
  display: block;
}

.nav__bag {
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .nav {
    grid-template-columns: auto 1fr;
  }
  .nav__links--left {
    display: none;
  }
  .nav__logo {
    justify-self: start;
  }
  .nav__links--right {
    justify-self: end;
  }
}

/* ——— Progress ——— */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--terracotta);
  z-index: 60;
  transform-origin: left;
}

/* ——— Shared ——— */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 400;
}

.headline {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.lede {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: var(--stone);
  max-width: 34rem;
}

.script {
  font-family: "Crimson Text", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  color: var(--terracotta);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--chocolate);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, gap 0.3s ease;
}

.link-arrow:hover {
  border-color: var(--chocolate);
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.5rem;
  border: 1px solid currentColor;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background: var(--chocolate);
  color: var(--ivory);
  border-color: var(--chocolate);
}

.btn--light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--light:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.section-pad {
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 4vw, 4rem);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #1a120e;
}

.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* scale so parallax translate never reveals edges */
  transform: scale(1.12);
  transform-origin: center center;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 12, 8, 0.35) 0%, rgba(20, 12, 8, 0.15) 40%, rgba(20, 12, 8, 0.55) 100%),
    radial-gradient(60% 50% at 50% 40%, transparent 20%, rgba(20, 12, 8, 0.35) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.hero__mark {
  width: min(16rem, 52vw);
  height: auto;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.25));
}

.hero__tag {
  font-family: "Crimson Text", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  color: rgba(249, 246, 239, 0.92);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.hero__scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.hero__scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), transparent);
  transform-origin: top;
  animation: pulse-line 2.2s ease-in-out infinite;
}

@keyframes pulse-line {
  0%,
  100% {
    transform: scaleY(0.55);
    opacity: 0.5;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* ——— Thread ——— */
.thread {
  position: relative;
  background: var(--ivory);
  overflow: hidden;
}

.thread__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  max-width: 72rem;
  margin: 0 auto;
}

.thread__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 0;
}

.thread__visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}

.thread__copy .headline {
  margin: 0.85rem 0 1.25rem;
}

@media (max-width: 900px) {
  .thread__grid {
    grid-template-columns: 1fr;
  }
  .thread__visual {
    aspect-ratio: 16 / 10;
    order: -1;
  }
}

/* ——— Destinations (horizontal) ——— */
.destinations {
  background: var(--ink);
  color: var(--cream);
  position: relative;
}

.destinations__intro {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.destinations__intro .eyebrow {
  color: var(--sand);
}

.destinations__intro .headline {
  color: var(--cream);
  margin: 0.75rem 0 1rem;
}

.destinations__intro .lede {
  color: rgba(249, 246, 239, 0.72);
}

.dest-pin {
  overflow: hidden;
}

.dest-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  padding-bottom: 1rem;
}

.dest-card {
  position: relative;
  width: min(72vw, 28rem);
  height: min(70dvh, 36rem);
  flex: 0 0 auto;
  overflow: hidden;
  background: #1a120e;
}

.dest-card__media {
  position: absolute;
  inset: 0;
}

.dest-card__media video,
.dest-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}

.dest-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(20, 12, 8, 0.8) 100%);
}

.dest-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.dest-card__name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.04em;
}

.dest-card__blurb {
  font-size: 0.95rem;
  color: rgba(249, 246, 239, 0.78);
  max-width: 18rem;
}

.dest-card__cta {
  margin-top: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
}

/* ——— Craft ——— */
.craft {
  background: var(--sand);
  position: relative;
  z-index: 1;
  margin: 0;
}

.craft__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 78rem;
  margin: 0 auto;
  align-items: stretch;
}

.craft__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 1rem;
}

.craft__copy .headline {
  margin: 0.75rem 0 1.1rem;
}

.craft__stack {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.craft__frame {
  position: relative;
  overflow: hidden;
  background: #ddd;
  min-height: 18rem;
}

.craft__frame--tall {
  grid-row: span 2;
  min-height: 28rem;
}

.craft__frame video,
.craft__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.craft__label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 960px) {
  .craft__layout {
    grid-template-columns: 1fr;
  }
  .craft__stack {
    grid-template-columns: 1fr 1fr;
  }
  .craft__frame--tall {
    grid-row: auto;
    min-height: 16rem;
  }
}

/* ——— Home / Shop the Room ——— */
.home {
  position: relative;
  background: var(--ivory);
}

.home__head {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.home__head .headline {
  margin: 0.7rem 0 1rem;
}

.home__head .lede {
  margin: 0 auto;
}

.room {
  position: relative;
  max-width: 78rem;
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #ccc;
}

.room video,
.room > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotspot {
  position: absolute;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(90, 62, 43, 0.35);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.35s ease, background 0.35s ease;
  z-index: 2;
}

.hotspot::after {
  content: "";
  position: absolute;
  inset: -0.45rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  animation: ring 2.4s ease-out infinite;
}

.hotspot:hover,
.hotspot.is-open {
  transform: scale(1.08);
  background: var(--terracotta);
}

@keyframes ring {
  0% {
    transform: scale(0.85);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

.hotspot__card {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.85rem);
  transform: translateX(-50%) translateY(6px);
  width: min(15rem, 70vw);
  padding: 0.9rem 1rem;
  background: var(--cream);
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 18px 40px rgba(44, 28, 18, 0.18);
  text-align: left;
}

.hotspot.is-open .hotspot__card {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.hotspot__card strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.hotspot__card span {
  display: block;
  font-size: 0.85rem;
  color: var(--stone);
  margin-bottom: 0.55rem;
}

.hotspot__card em {
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--terracotta);
}

.home__cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

@media (max-width: 700px) {
  .room {
    aspect-ratio: 4 / 5;
  }
}

/* ——— Shop grid ——— */
.shop {
  background: var(--cream);
}

.shop__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  max-width: 78rem;
  margin: 0 auto 2.5rem;
}

.shop__head .headline {
  margin-top: 0.6rem;
}

.shop__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 78rem;
  margin: 0 auto;
}

.product {
  position: relative;
  overflow: hidden;
  background: #eee;
  aspect-ratio: 4 / 5;
}

.product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.product:hover img {
  transform: scale(1.06);
}

.product__meta {
  position: absolute;
  inset: auto 0 0;
  padding: 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(20, 12, 8, 0.72));
  color: #fff;
}

.product__meta h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: 1.35rem;
}

.product__meta p {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 0.25rem;
}

@media (max-width: 960px) {
  .shop__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ——— Film banner ——— */
.film {
  position: relative;
  z-index: 2;
  min-height: min(70dvh, 34rem);
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
  background: #1a120e;
  /* overlap craft to hide any pin-spacer / subpixel gap above */
  margin: -48px 0 0;
  border: 0;
}

.film__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #1a120e;
}

.film__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transform-origin: center center;
}

.film__veil {
  position: absolute;
  inset: 0;
  background: rgba(20, 12, 8, 0.45);
}

.film__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.film__content .headline {
  color: #fff;
}

.play {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.75);
  display: grid;
  place-items: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.play:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.play svg {
  width: 1.1rem;
  margin-left: 0.15rem;
}

/* ——— Footer ——— */
.footer {
  background: var(--ink);
  color: rgba(249, 246, 239, 0.78);
  padding: 3.5rem clamp(1.25rem, 4vw, 4rem);
}

.footer__row {
  max-width: 78rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.footer__brand img {
  height: 1.85rem;
  width: auto;
}

/* Avoid grey pin-spacer artifacts from ScrollTrigger */
.pin-spacer {
  background: transparent !important;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer__note {
  width: 100%;
  max-width: 78rem;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(249, 246, 239, 0.12);
  font-size: 0.8rem;
  color: rgba(249, 246, 239, 0.45);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* ——— Modal film ——— */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(20, 12, 8, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 1.5rem;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__inner {
  width: min(960px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
}

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

.modal__close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line,
  .hotspot::after {
    animation: none;
  }
}
