/* ==========================================================================
   Revolve Room · 21 Days at Revolve — V6 (simplified)
   Black dominant, cinematic photography, Anton + Proxima Nova (Montserrat
   fallback), sand #D0B48F accents, one cream section. Mobile-first.
   The only gradients are dark scrims that keep text readable on photos.
   ========================================================================== */

@font-face { font-family: "Anton"; src: url("../fonts/anton-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --black: #000;
  --ink: #121010;
  --white: #fff;
  --cream: #efe7d6;
  --sand: #d0b48f;            /* revolveroom.com accent */
  --sand-hover: #dcc3a2;
  --sand-light: #e3cbaa;
  --sand-deep: #8a7350;       /* sand text on cream (readable) */
  --btn-text: #2d2d2d;
  --w80: rgba(255,255,255,.82);
  --w60: rgba(255,255,255,.62);
  --w45: rgba(255,255,255,.45);

  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --sans: "proxima-nova", "Proxima Nova", "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --gutter: 20px;
  --space: 56px;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--sans); font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
p, h1, h2, ul, figure, blockquote { margin: 0; }
ul[role="list"] { list-style: none; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1; text-wrap: balance; }
.eyebrow { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); }
.eyebrow--ink { color: var(--sand-deep); }
.rule { display: block; width: 56px; height: 2px; background: var(--sand); }
.show-sm { display: inline; }
.hide-sm { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 5px;
  font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 7px; height: 12px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sand { background: var(--sand); color: var(--btn-text); }
.btn--sand:hover { background: var(--sand-hover); }
.btn--nav { min-height: 34px; padding: 0 14px; font-size: .66rem; letter-spacing: .1em; border-radius: 3px; background: var(--sand-light); color: #000; }
.btn--nav svg { width: 6px; height: 10px; }
.btn--block { width: 100%; }

.offer { display: flex; align-items: baseline; gap: 10px; font-size: 1.75rem; font-weight: 500; letter-spacing: -.01em; line-height: 1; }
.offer__dot { color: var(--sand); }
.offer__tax { font-size: .8rem; letter-spacing: .06em; color: var(--w80); }
.micro { font-size: .76rem; color: var(--w60); }

/* ==========================================================================
   1 · HERO
   ========================================================================== */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: max(100svh, 640px); display: flex; flex-direction: column; }
.hero__img { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__img img, .hero__img video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__img video { position: absolute; inset: 0; }
.hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 12%, rgba(0,0,0,0) 36%, rgba(0,0,0,.65) 54%, rgba(0,0,0,.94) 70%, #000 88%); }
.js .hero__img img { animation: settle 1.6s var(--ease) both; }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; max-width: 1240px; margin-inline: auto; padding: calc(12px + env(safe-area-inset-top, 0px)) var(--gutter) 0; }
.bar__logo img { height: 34px; width: auto; }

.hero__body { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
.hero__title { font-size: clamp(2.8rem, 13vw, 3.6rem); line-height: .96; }
.hero__lede { font-size: .9rem; line-height: 1.5; color: var(--w80); max-width: 34ch; }
.hero .offer { margin-top: 4px; }
.hero .btn { margin-top: 4px; }
.hero .micro { text-align: center; }
.js .hero__body > * { animation: rise .9s var(--ease) both; }
.js .hero__body > *:nth-child(n+4) { animation-delay: .15s; }

/* ==========================================================================
   2 · WHAT YOU GET
   ========================================================================== */
.ways { padding-block: var(--space); border-top: 1px solid rgba(255,255,255,.08); }
.ways__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.ways__title { font-size: clamp(2.5rem, 11.4vw, 3.4rem); line-height: .98; }
.ways__title span { display: block; white-space: nowrap; }
.ways__sub { font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); line-height: 1.6; }
.ways__list { display: grid; gap: 10px; }
.way { display: grid; grid-template-columns: 52% 1fr; align-items: center; gap: 16px; }
.way img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.way__text { display: flex; flex-direction: column; gap: 4px; }
.way__name { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); }
.way__word { font-size: clamp(2.4rem, 11vw, 3.2rem); line-height: .92; }

/* ==========================================================================
   3 · WHY 21 DAYS? — cream
   ========================================================================== */
.why { display: grid; grid-template-columns: minmax(0, 1fr) 36%; background: var(--cream); color: var(--black); }
.why__text { display: flex; flex-direction: column; gap: 16px; padding: 48px 16px 44px var(--gutter); }
.why__title { display: flex; flex-direction: column; gap: 16px; font-weight: 400; }
.why__one { font-size: clamp(1.9rem, 8.6vw, 2.6rem); color: rgba(0,0,0,.55); }
.why__two { font-size: clamp(1.9rem, 8.6vw, 2.6rem); }
.why__body { font-size: .9rem; line-height: 1.55; color: rgba(0,0,0,.75); }
.why .btn { margin-top: 6px; padding-inline: 12px; font-size: .72rem; letter-spacing: .08em; }
.why__img { position: relative; overflow: hidden; }
.why__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   4 · NEW HERE?
   ========================================================================== */
.new { padding-bottom: var(--space); }
.new__img { position: relative; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; background: var(--ink); }
.new__img img { width: 100%; height: 100%; object-fit: cover; }
.new__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.9) 92%, #000 100%); }
.new__text { position: relative; z-index: 1; margin-top: -132px; display: flex; flex-direction: column; gap: 10px; }
.new__title { font-size: clamp(3rem, 14vw, 4rem); line-height: .95; }
.new__list { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.new__list li { position: relative; padding-left: 24px; font-size: .95rem; line-height: 1.45; color: var(--w80); }
.new__list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 12px; height: 2px; background: var(--sand); }
.new__list li:first-child { color: var(--white); font-weight: 600; }

/* ==========================================================================
   5 · THE REVOLVE EXPERIENCE
   ========================================================================== */
.exp { padding-bottom: var(--space); }
.exp__head { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; margin-bottom: 20px; }
.exp__title { font-size: clamp(2.5rem, 11.4vw, 3.4rem); line-height: .98; }
.exp__tags { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); line-height: 1.7; }
.exp__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.exp__photos figure { overflow: hidden; aspect-ratio: 1; }
.exp__photos .exp__main { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.exp__photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.exp__photos figure:hover img { transform: scale(1.04); }
.exp .exp__list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; padding: 24px var(--gutter) 36px; }
.exp__list li { padding-top: 10px; border-top: 2px solid var(--sand); font-size: .9rem; font-weight: 500; line-height: 1.35; }

.review { display: grid; grid-template-columns: 42% 1fr; align-items: center; gap: 18px; padding-right: var(--gutter); }
.review__img { grid-row: span 2; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.review__quote { font-size: .92rem; font-style: italic; line-height: 1.55; color: var(--w80); align-self: end; }
.review__by { font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); align-self: start; }

/* ==========================================================================
   6 · FINAL CLOSE
   ========================================================================== */
.final { position: relative; isolation: isolate; min-height: max(100svh, 660px); display: flex; flex-direction: column; justify-content: flex-end; }
.final__img { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.final__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.final__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,.55) 42%, rgba(0,0,0,.92) 64%, #000 90%); }
.final__body { display: flex; flex-direction: column; gap: 14px; padding-bottom: 40px; }
.final__title { font-size: clamp(2.5rem, 11.4vw, 3.3rem); line-height: .98; }
.final__title span { display: block; margin-top: 10px; color: var(--sand); }
.incl { font-size: .84rem; color: var(--w80); }
.final .btn { margin-top: 4px; }
.final .micro { text-align: center; }

/* ---------- Footer ---------- */
.foot { padding-block: 32px calc(36px + env(safe-area-inset-bottom, 0px)); font-size: .72rem; line-height: 1.6; color: var(--w45); border-top: 1px solid rgba(255,255,255,.08); }
.foot__inner { display: flex; flex-direction: column; gap: 10px; }
.foot__logo { height: 32px; width: auto; align-self: flex-start; margin-bottom: 6px; opacity: .9; }
.foot a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 3px; }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(0,0,0,.94); border-top: 1px solid rgba(208,180,143,.3); transform: translateY(105%); transition: transform .4s var(--ease); }
.sticky.is-visible { transform: none; }
.sticky .btn { min-height: 48px; }

/* ---------- Motion ---------- */
@keyframes settle { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .hero__img img, .js .hero__body > * { animation: none; }
  .exp__photos img, .sticky, .btn, .btn svg { transition: none; }
}

@media (max-height: 700px) and (max-width: 899px) {
  .hero__body { gap: 9px; padding-bottom: 14px; }
  .hero__title { font-size: clamp(2.4rem, 11vw, 3rem); }
  .btn { min-height: 48px; }
}

/* ==========================================================================
   Desktop — same hierarchy, editorial split layouts
   ========================================================================== */
@media (min-width: 600px) { :root { --gutter: 32px; } }

@media (min-width: 900px) {
  :root { --gutter: 48px; --space: 112px; }
  .show-sm { display: none; }
  .hide-sm { display: inline; }
  .sticky { display: none; }
  .btn--block { width: auto; align-self: flex-start; padding-inline: 40px; }

  .bar { padding-top: 24px; }
  .bar__logo img { height: 50px; }
  .btn--nav { min-height: 38px; padding: 0 18px; }

  .hero { min-height: min(100vh, 900px); }
  .hero__img img { object-position: 50% 30%; }
  .hero__img::after { background: linear-gradient(90deg, rgba(0,0,0,.84) 0%, rgba(0,0,0,.5) 34%, rgba(0,0,0,0) 62%), linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,0) 72%, rgba(0,0,0,.6) 100%); }
  .hero__body { padding-bottom: 80px; gap: 16px; }
  .hero__body > * { max-width: 520px; }
  .hero__title { font-size: clamp(4.4rem, 6.6vw, 6.4rem); }
  .hero__lede { font-size: 1.05rem; }
  .offer { font-size: 2.2rem; }
  .hero .micro, .final .micro { text-align: left; }

  .ways .wrap { display: grid; grid-template-columns: 1fr 1.7fr; gap: 64px; align-items: start; }
  .ways__head { position: sticky; top: 48px; margin-bottom: 0; }
  .ways__title { font-size: clamp(3rem, 3.9vw, 4.2rem); }
  .ways__list { grid-template-columns: 1fr 1fr; gap: 32px 28px; }
  .way { grid-template-columns: 1fr; gap: 14px; }
  .way__word { font-size: clamp(3rem, 4.4vw, 4.4rem); }

  .why { grid-template-columns: 1.15fr 1fr; min-height: 720px; }
  .why__text { justify-content: center; padding: 96px 64px 96px max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); gap: 22px; }
  .why__title { gap: 22px; }
  .why__one, .why__two { font-size: clamp(3rem, 4.4vw, 4.4rem); }
  .why__body { font-size: 1.05rem; max-width: 44ch; }
  .why .btn { padding-inline: 40px; font-size: .8rem; letter-spacing: .12em; }

  .new { display: grid; grid-template-columns: 1fr 1fr; align-items: center; max-width: 1400px; margin-inline: auto; padding-block: var(--space); }
  .new__img { aspect-ratio: 4 / 5; }
  .new__img::after { display: none; }
  .new__text { margin-top: 0; padding: 0 64px; max-width: 600px; gap: 14px; }
  .new__title { font-size: clamp(4.4rem, 6vw, 6rem); }
  .new__list li { font-size: 1.08rem; }

  .exp__head { flex-direction: row; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
  .exp__title { font-size: clamp(3.6rem, 5vw, 5rem); }
  .exp__photos { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 6px; max-width: 1400px; margin-inline: auto; padding-inline: 6px; }
  .exp__photos .exp__main { grid-column: auto; aspect-ratio: auto; }
  .exp .exp__list { grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 36px var(--gutter) 72px; }
  .exp__list li { font-size: 1.05rem; }
  .review { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); grid-template-columns: 380px 1fr; gap: 0 64px; }
  .review__quote { font-size: 1.35rem; max-width: 36ch; }

  .final { min-height: min(100vh, 860px); justify-content: center; }
  .final__img::after { background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.6) 38%, rgba(0,0,0,.05) 70%); }
  .final__body { padding-block: 96px; gap: 16px; }
  .final__body > * { max-width: 620px; }
  .final__title { font-size: clamp(3.6rem, 5.2vw, 5.2rem); }

  .foot__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }
  .foot__logo { margin: 0; }
}
