:root {
  --cream: #fff7f2;
  --peach: #f2a57e;
  --accent: #c2490f;
  --accent-hot: #e0581a;
  --bg: #231a16;
  --bg-2: #2b201b;
  --text: rgba(255, 247, 242, .82);
  --soft: rgba(255, 247, 242, .42);
  --line: rgba(255, 247, 242, .14);
  --glass: rgba(255, 247, 242, .06);
  --serif: "Cormorant Garamond", "Playfair Display", Lora, Georgia, "Times New Roman", serif;
  --sans: Poppins, "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --edge: clamp(20px, 5vw, 72px);
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--edge) * 2); margin: 0 auto; padding: 0 var(--edge); }
.skip { position: absolute; left: -999px; top: 0; background: var(--cream); color: var(--bg); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; }

/* floating pill nav */
.pill { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 30px; padding: 10px 12px 10px 26px; border-radius: 999px; background: rgba(35, 26, 22, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); max-width: calc(100% - 24px); }
.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 46px; width: auto; max-width: none; }
.links { display: flex; gap: 24px; }
.links a { white-space: nowrap; font-size: 12.5px; text-decoration: none; color: var(--text); background: linear-gradient(var(--peach), var(--peach)) 0 100% / 0 1px no-repeat; transition: background-size .25s, color .2s; padding-bottom: 3px; }
.links a:hover, .links a:focus-visible { background-size: 100% 1px; color: var(--cream); }
.pill-cta { padding: 12px 20px; font-size: 11px; white-space: nowrap; }

/* buttons */
.btn { display: inline-block; font: 500 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: 17px 26px; border: 1px solid transparent; border-radius: 999px; transition: background-color .2s, color .2s, border-color .2s, transform .15s; min-height: 44px; text-align: center; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover, .btn-solid:focus-visible { background: var(--accent-hot); }
.btn-line { border-color: rgba(255, 247, 242, .4); color: var(--cream); }
.btn-line:hover, .btn-line:focus-visible { background: var(--cream); color: var(--bg); border-color: var(--cream); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* type */
.eyebrow { font: 500 11px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--peach); margin: 0 0 18px; }
h1, h2 { font-family: var(--serif); font-weight: 500; color: var(--cream); line-height: 1.04; letter-spacing: -.01em; margin: 0 0 22px; }
h1 { font-size: clamp(42px, 5.4vw, 80px); }
h2 { font-size: clamp(34px, 4.2vw, 60px); }
.soft { display: block; font-style: italic; color: var(--soft); }
h3 { font: 500 17px/1.3 var(--sans); color: var(--cream); margin: 0 0 8px; }
p { margin: 0 0 18px; max-width: 54ch; }
.lede { font-size: 17px; max-width: 40ch; }
.note { font-size: 13px; color: var(--soft); margin-top: 20px; }

/* scroll-driven hero: one sticky stage, layers and headlines cross-fade with scroll */
.seq { position: relative; height: 480vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.layer { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.layer:first-child { opacity: 1; }
.layer video, video.layer, canvas.layer { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.layer img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.shade { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(35, 26, 22, .72) 0%, rgba(35, 26, 22, .4) 34%, rgba(35, 26, 22, 0) 62%); }
.phases { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; pointer-events: none; }
.phase { position: absolute; width: min(520px, 44vw); right: var(--edge); text-align: right; opacity: 0; transform: translateY(12px); will-change: opacity, transform; }
.phase:first-child { opacity: 1; transform: none; }
.phase p { margin-left: auto; }
.phase .actions { justify-content: flex-end; pointer-events: auto; }
.phase-end { width: min(620px, 50vw); }
.phases { z-index: 2; }
.cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; margin: 0; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--cream); opacity: .7; }
.cue::after { content: ""; display: block; width: 1px; height: 26px; margin: 8px auto 0; background: linear-gradient(var(--cream), transparent); }

/* fixed backdrop: once the smile has faded out, the looping treatment video takes over behind everything and stays while the page scrolls */
.backdrop { position: fixed; inset: 0; z-index: 0; background: var(--bg); }
.backdrop .bd { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.backdrop .bd:first-child { opacity: 1; }
.backdrop::after { content: ""; position: absolute; inset: 0; background: rgba(35, 26, 22, .72); }
.seq, .foot { position: relative; z-index: 1; }

/* dark sections with glass cards */
.sec { position: relative; z-index: 1; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 80px; overflow: hidden; }
.sec > .wrap { position: relative; }
.head { max-width: 620px; margin-bottom: 36px; }
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: 22px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.card { padding: 28px; transition: transform .25s, border-color .25s, background-color .25s; }
.card:hover { transform: translateY(-2px); border-color: rgba(242, 165, 126, .5); background: rgba(255, 247, 242, .09); }
.card p { font-size: 14px; color: var(--soft); margin-bottom: 18px; }
.amt { font: 500 30px/1 var(--serif); color: var(--peach); }
.tags { list-style: none; margin: 14px 0 0; padding: 0; }
.tags li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--cream); }
.tags li:last-child { border-bottom: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.copy { max-width: 520px; }
.pic { display: block; overflow: hidden; transition: transform .25s, border-color .25s; }
.pic img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.pic:hover { transform: translateY(-2px); border-color: rgba(242, 165, 126, .5); }
.pic:hover img, .pic:focus-visible img { transform: scale(1.025); }

.rows { list-style: none; padding: 0; margin: 26px 0 8px; border-top: 1px solid var(--line); }
.rows li { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); }
.rows b { font-weight: 500; color: var(--cream); }
.rows em { font: 500 22px/1 var(--serif); font-style: normal; color: var(--peach); white-space: nowrap; }
.price { display: flex; align-items: baseline; gap: 12px; margin-top: 24px; }
.price small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.price strong { font: 500 76px/1 var(--serif); color: var(--peach); }


.concierge { padding: clamp(24px, 4vw, 48px); }
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; }
.facts div { border-top: 1px solid var(--line); padding-top: 14px; }
.facts dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--peach); margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--cream); }
.facts a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s; }
.facts a:hover { background-size: 100% 1px; }

.foot { background: var(--cream); color: #413f3c; font-size: 13px; padding: 24px 0; }
.foot-row { display: flex; gap: 28px; flex-wrap: wrap; }
.foot-row span { margin-right: auto; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand img { height: 30px; width: auto; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--accent); }

@media (max-width: 960px) {
  .links { display: none; }
  .pill { gap: 18px; }
  .g3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .flip .pic { order: -1; }
  .facts { grid-template-columns: 1fr; }
  .sec { padding: 96px 0 64px; }
  .layer img, video.layer { object-position: 22% 50%; }
  .shade { background: linear-gradient(0deg, rgba(35, 26, 22, .92) 0%, rgba(35, 26, 22, .6) 42%, rgba(35, 26, 22, 0) 70%); }
  .phases { align-items: flex-end; padding-bottom: 80px; }
  .phase, .phase-end { width: auto; left: var(--edge); right: var(--edge); text-align: left; }
  .phase p, .phase .actions { margin-left: 0; justify-content: flex-start; }
}
@media (max-width: 560px) {
  .pill { padding: 8px 8px 8px 18px; top: 10px; }
  .pill-cta { padding: 11px 14px; letter-spacing: .08em; }
  .brand img { height: 34px; }
  .actions .btn { width: 100%; }
  h1 { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .seq { height: auto; }
  .stage { position: relative; height: 100svh; }
  .phase { transform: none; }
  .card, .pic, .pic img, .btn { transition: none; }
}
