/* Madison — Manhattan Rose · single page */
:root {
  --black: #0a0909;
  --black-2: #121010;
  --ivory: #efe7e1;
  --ivory-70: rgba(239, 231, 225, 0.7);
  --ivory-45: rgba(239, 231, 225, 0.45);
  --line: rgba(239, 231, 225, 0.12);
  --rose-gold: #d4a08a;
  --rose-gold-soft: rgba(212, 160, 138, 0.35);
  --rose: #e39aa8;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --roman: "Cormorant Garamond", "Cinzel", "Times New Roman", serif;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 1px solid var(--rose-gold); outline-offset: 4px; }

/* masked line reveals (spans are added by the script) */
.line { display: block; overflow: hidden; padding-block: 0.08em; margin-block: -0.08em; }
.line > span { display: block; }

/* type */
.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 1.4rem;
}
.title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.005em;
  color: var(--ivory);
}
.lede {
  max-width: 34rem;
  font-size: 1.1rem;
  color: var(--ivory-70);
  margin-top: 1.6rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 2.4rem;
  border: 1px solid var(--ivory-45);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ivory);
  white-space: nowrap;
  transition: background-color 500ms var(--ease), color 500ms var(--ease), border-color 500ms var(--ease);
}
.btn:hover { background: var(--rose-gold); border-color: var(--rose-gold); color: var(--black); }
.btn--fill { background: var(--ivory); border-color: var(--ivory); color: var(--black); }
.btn--fill:hover { background: var(--rose-gold); border-color: var(--rose-gold); }
.link {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ivory-70);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--line);
  transition: color 400ms var(--ease), border-color 400ms var(--ease);
}
.link:hover { color: var(--ivory); border-color: var(--rose-gold); }

/* the wordmark: one font, one weight, brushed platinum with the I in rose gold */
.wm, .i {
  background-size: 260% auto;
  background-position: 0% center;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: sheen 4.5s ease-in-out infinite alternate;
}
.wm { background-image: linear-gradient(100deg, #6f6a66 0%, #dcd5cf 14%, #ffffff 28%, #cfc7c1 40%, #ffffff 52%, #a39b95 64%, #f7f2ee 78%, #8f8883 90%, #ece6e1 100%); filter: drop-shadow(0 0 14px rgba(255, 250, 245, 0.22)); }
.i  { background-image: linear-gradient(100deg, #8a5641 0%, #d9a58e 16%, #ffe6d6 30%, #c98d74 44%, #fff4ec 56%, #b5765d 70%, #ffd9c6 84%, #9c6650 100%); }
@keyframes sheen { to { background-position: 100% center; } }
@media (prefers-reduced-motion: reduce) { .wm, .i { animation: none; } }

/* intro curtain */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--black);
}
.intro__word {
  font-family: var(--roman);
  font-weight: 300;
  font-size: clamp(3rem, 9vw, 7.5rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0;
  padding-inline-start: 0.3em;
}

/* cursor (fine pointers only) */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid transparent;
  mix-blend-mode: difference;
  pointer-events: none;
  display: none;
  transition: width 350ms var(--ease), height 350ms var(--ease), background-color 350ms var(--ease), border-color 350ms var(--ease);
}
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cursor.is-link { width: 56px; height: 56px; background: transparent; border-color: var(--ivory); }

/* nav */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.5rem var(--gutter);
  transition: background-color 600ms var(--ease), padding 600ms var(--ease);
}
.nav.is-scrolled {
  padding-block: 1rem;
  background: rgba(10, 9, 9, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__logo {
  font-family: var(--roman);
  font-weight: 300;
  font-size: 1.35rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  padding-inline-start: 0.38em;
}
.nav__side {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ivory-70);
  white-space: nowrap;
  transition: color 400ms var(--ease);
}
.nav__side:hover { color: var(--rose-gold); }
.nav__side--r { justify-self: end; }

/* hero */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  will-change: transform;
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 9, 9, 0.82) 0%, rgba(10, 9, 9, 0.5) 38%, rgba(10, 9, 9, 0) 70%),
    linear-gradient(0deg, rgba(10, 9, 9, 0.9) 0%, rgba(10, 9, 9, 0) 40%);
}
.hero__rose {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 62% 48%, #eaa6b1 0%, #b95c70 38%, #4a1f29 78%, #1a0b0f 100%);
  opacity: 0;
  pointer-events: none;
}
.hero__dim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--black);
  opacity: 0;
  pointer-events: none;
}
.hero__brand {
  position: absolute;
  top: clamp(4.5rem, 11vh, 7rem);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--roman);
  font-weight: 300;
  font-size: clamp(3.3rem, 12.5vw, 12rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ivory);
  white-space: nowrap;
  padding-inline-start: 0.3em;
  pointer-events: none;
  z-index: 1;
}
.hero__content {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(3.5rem, 12vh, 8rem);
  max-width: 44rem;
  z-index: 1;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.hero__sub {
  margin-top: 1.6rem;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--ivory-70);
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
}
.hero__stamp {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.6rem, 13vw, 12rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: #1a0b0f;
  opacity: 0;
  pointer-events: none;
}
.hero__stamp span { display: block; }
.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 2.5rem;
  z-index: 1;
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ivory-45);
  writing-mode: vertical-rl;
}
.hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 3rem;
  margin: 0.8rem auto 0;
  background: linear-gradient(180deg, var(--ivory-45), transparent);
}

/* strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; z-index: 1; background: var(--black); }
.strip__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 80rem;
  margin: 0 auto;
}
.strip__list li { padding: 1.8rem var(--gutter); border-left: 1px solid var(--line); }
.strip__list li:first-child { border-left: 0; }
.strip__list span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ivory-45);
  margin-bottom: 0.4rem;
}
.strip__list strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }

/* ticker */
.ticker { overflow: hidden; border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.ticker__track { display: flex; width: max-content; white-space: nowrap; will-change: transform; }
.ticker__track span {
  font-size: 0.68rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ivory-45);
  padding-right: 0.42em;
}

/* the pair */
.pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  padding: clamp(5rem, 10vw, 9rem) var(--gutter);
  max-width: 90rem;
  margin: 0 auto;
}
.pair__media { overflow: hidden; }
.pair__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; will-change: transform; }
.specs { margin-top: 2.8rem; border-top: 1px solid var(--line); }
.specs > div {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}
.specs dt { font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivory-45); padding-top: 0.2rem; }
.specs dd { font-size: 1rem; color: var(--ivory); }

/* gallery — pinned horizontal */
.gallery { height: 100svh; min-height: 600px; overflow: hidden; background: var(--black); }
.gallery__track { display: flex; height: 100%; width: 300vw; will-change: transform; }
.panel { position: relative; flex: none; width: 100vw; height: 100%; overflow: hidden; }
.panel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; will-change: transform; }
.panel--alt .panel__img { object-position: 50% 35%; }
.panel--img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 9, 9, 0.7) 0%, rgba(10, 9, 9, 0.25) 50%, rgba(10, 9, 9, 0.05) 100%),
    linear-gradient(0deg, rgba(10, 9, 9, 0.85) 0%, rgba(10, 9, 9, 0) 55%);
}
.panel__cap {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(3rem, 10vh, 7rem);
  max-width: 40rem;
  z-index: 1;
}
.panel--text {
  display: grid;
  place-content: center;
  padding: var(--gutter);
  text-align: center;
  background: var(--black-2);
}
.panel--text .title { max-width: 22ch; margin-inline: auto; }
.panel--text .lede { margin-inline: auto; }
.panel--text .eyebrow { margin-bottom: 1.6rem; }

/* story */
.story { padding: clamp(6rem, 12vw, 11rem) var(--gutter); }
.story__inner { max-width: 44rem; margin: 0 auto; text-align: center; }
.story__inner::before {
  content: "";
  display: block;
  width: 1px;
  height: 4rem;
  margin: 0 auto 2.5rem;
  background: linear-gradient(180deg, transparent, var(--rose-gold));
}
.story__inner p { margin-top: 1.8rem; color: var(--ivory-70); font-size: 1.1rem; }
.story__inner .eyebrow { margin-bottom: 1.6rem; }

/* reserve */
.reserve { padding: 0 var(--gutter) clamp(6rem, 12vw, 11rem); }
.reserve__frame {
  position: relative;
  max-width: 62rem;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 6vw, 5rem);
  text-align: center;
  background: var(--black-2);
}
.ln { position: absolute; background: var(--rose-gold-soft); display: block; }
.ln--t { top: 0; left: 0; right: 0; height: 1px; transform-origin: left center; }
.ln--b { bottom: 0; left: 0; right: 0; height: 1px; transform-origin: right center; }
.ln--l { top: 0; bottom: 0; left: 0; width: 1px; transform-origin: center bottom; }
.ln--r { top: 0; bottom: 0; right: 0; width: 1px; transform-origin: center top; }
.reserve__frame .lede { margin-inline: auto; }
.reserve__actions { margin-top: 2.6rem; display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }
.reserve__note { margin-top: 1.8rem; font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivory-45); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 3.5rem var(--gutter) calc(3rem + env(safe-area-inset-bottom)); text-align: center; }
.foot__logo { display: inline-block; font-family: var(--roman); font-weight: 300; font-size: 1.6rem; letter-spacing: 0.5em; text-transform: uppercase; padding-inline-start: 0.5em; }
.foot p { margin-top: 1.2rem; font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ivory-45); }

/* responsive */
@media (max-width: 60rem) {
  .pair { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip__list li:nth-child(3) { border-left: 0; }
  .strip__list li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 40rem) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__side--l { display: none; }
  .nav__logo { justify-self: start; padding-inline-start: 0; }
  .hero__img { object-position: 64% 50%; }
  .hero__veil { background: linear-gradient(0deg, rgba(10, 9, 9, 0.95) 0%, rgba(10, 9, 9, 0.55) 45%, rgba(10, 9, 9, 0.05) 80%); }
  .hero__content { bottom: 3.5rem; }
  .hero__brand { top: 5.5rem; }
  .hero__scroll { display: none; }
  .specs > div { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .btn { width: 100%; }
  .hero__actions { gap: 1.4rem; }
  .panel__cap { bottom: 3.5rem; }
}
