:root {
  --bg: #f2f0f1;
  --ink: #1a1a1a;
  --muted: #6d6a68;
  --line: rgba(26, 26, 26, .18);
  --pad: clamp(12px, 1.6vw, 24px);
  --c2: 33.333%;   /* second column start */
  --c3: 66.666%;   /* third column start  */
  --serif: 'Newsreader', 'Times New Roman', serif;
  --word: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.65, .05, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 12px; line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased;
  opacity: 0; transition: opacity .8s;
  overflow-x: hidden;
}
body.ready { opacity: 1; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
h2 { font-weight: 400; font-size: 12px; }
.muted { color: var(--muted); }
.u-link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; display: inline-block; margin-top: 28px; }
.u-link:hover { color: var(--muted); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: #cfcccb; }
.hero-img { position: absolute; inset: 0; transform: scale(1.06); animation: settle 2.4s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,.28)); }
.wordmark {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--word); font-weight: 300; color: #fff; white-space: nowrap;
  font-size: clamp(40px, 6.6vw, 112px); letter-spacing: -.01em; line-height: 1;
  text-shadow: 0 2px 30px rgba(0,0,0,.18);
  opacity: 0; animation: fade 1.6s var(--ease) .3s forwards;
}
@keyframes fade { to { opacity: 1; } }

/* ---------- nav bar (sits on hero, sticks on scroll) ---------- */
.bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: calc(var(--c2) - var(--pad)) calc(var(--c3) - var(--c2)) 1fr; align-items: center;
  padding: 14px var(--pad); color: #fff; font-size: 11.5px;
  transition: background .4s, color .4s;
}
.bar a { opacity: .95; transition: opacity .3s; }
.bar a:hover, .bar a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.bar-back { position: absolute; left: var(--pad); font-size: 16px; line-height: 1; }
.bar-mark { display: none; }
.bar-left, .bar-right { display: flex; gap: 18px; }
.bar-left { grid-column: 2; }
.bar-right { grid-column: 3; grid-row: 1; }
.bar-end { grid-column: 3; grid-row: 1; justify-self: end; display: flex; gap: 18px; }
.bar-menu { display: none; }

body.stuck .bar {
  position: fixed; top: 0; bottom: auto;
  background: rgba(242, 240, 241, .92); color: var(--ink);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  animation: drop .5s var(--ease);
}
body.stuck .bar-back { display: none; }
body.stuck .bar-mark {
  display: flex; position: absolute; left: var(--pad);
  font-family: 'Bodoni Moda', serif; font-size: 17px; line-height: 1;
}
body.stuck .bar-mark span + span { margin-left: -.2em; }
body.stuck .bar-mark:hover { text-decoration: none; }
@keyframes drop { from { transform: translateY(-100%); } }

/* ---------- rows ---------- */
main { position: relative; }
.row { position: relative; padding: clamp(60px, 8vw, 120px) var(--pad); }
.col-text { width: calc(var(--c2) - 3 * var(--pad)); max-width: 300px; }
.col-text h2 { margin-bottom: 26px; }
.col-text p { color: var(--ink); }

.arrivals { display: grid; grid-template-columns: calc(33.333vw - var(--pad)) 1fr; align-items: start; }
.arrivals .col-text { width: auto; padding-right: 3vw; }
.pieces { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2.2vw, 32px); }
.piece { display: block; }
.piece-img { aspect-ratio: 2 / 3; overflow: hidden; background: #e2dfdf; margin-bottom: 14px; }
.piece-img img { transition: transform 1.2s var(--ease); }
.piece:hover .piece-img img { transform: scale(1.04); }
.piece .price { margin-top: 12px; }

/* ---------- feature ---------- */
.feature {
  display: grid; grid-template-columns: 61% 1fr; gap: 0; align-items: start;
  padding: clamp(40px, 6vw, 90px) 0;
}
.feature-img { aspect-ratio: 1 / 1; overflow: hidden; background: #ddd; }
.feature-text { padding: clamp(18px, 2vw, 30px) var(--pad) 0 clamp(24px, 5.5vw, 80px); max-width: 520px; }
.statement { font-family: var(--serif); font-weight: 300; font-size: clamp(16px, 1.45vw, 22px); line-height: 1.35; margin-bottom: 34px; }
.small { font-size: 11.5px; line-height: 1.6; }

/* ---------- collection ---------- */
.collection { display: grid; grid-template-columns: var(--c2) calc(var(--c3) - var(--c2)) 1fr; align-items: start; padding-left: var(--pad); padding-right: 0; }
.collection .col-text { width: auto; padding-right: 15%; }
.col-large { margin-right: clamp(20px, 6vw, 80px); }
.col-large img { aspect-ratio: 4 / 5; }
.col-small { width: 50%; min-width: 180px; }
.col-small img { aspect-ratio: 4 / 5; }
figure figcaption { margin-top: 12px; }

/* ---------- sub-brand slider ---------- */
.houses { padding: clamp(40px, 6vw, 90px) 0 clamp(60px, 8vw, 120px); border-top: 1px solid rgba(0,0,0,.06); }
.houses-head { display: flex; justify-content: space-between; align-items: center; padding: 0 var(--pad) 24px; }
.houses-ctrl { display: flex; gap: 6px; }
.houses-ctrl button {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--ink); cursor: pointer; font-size: 13px;
  transition: background .3s, color .3s;
}
.houses-ctrl button:hover { background: var(--ink); color: var(--bg); }
.houses-track {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--pad); scroll-padding: 0 var(--pad); scrollbar-width: none;
}
.houses-track::-webkit-scrollbar { display: none; }
.house-card { flex: 0 0 clamp(220px, 24vw, 360px); scroll-snap-align: start; }
.house-img { aspect-ratio: 3 / 4; overflow: hidden; margin-bottom: 12px; background: #e2dfdf; }
.house-img img { transition: transform 1.2s var(--ease), filter .6s; filter: grayscale(.25); }
.house-card:hover .house-img img { transform: scale(1.04); filter: none; }

/* ---------- footer ---------- */
.footer {
  display: grid; grid-template-columns: var(--c2) calc(var(--c3) - var(--c2)) 1fr;
  padding: clamp(60px, 8vw, 110px) var(--pad) 40px; align-items: start;
}
.f-col p { margin-bottom: 14px; }
.f-col strong { font-weight: 500; }
.f-links a { display: block; width: fit-content; }
.f-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.f-col .hours { color: var(--muted); }
.signup { display: flex; border-bottom: 1px solid var(--line); margin: 10px 0 40px; max-width: 300px; position: relative; }
.signup input { flex: 1; border: 0; background: transparent; font: inherit; padding: 6px 0; color: var(--ink); outline: none; }
.signup input::placeholder { color: var(--muted); }
.signup button { position: absolute; right: 0; top: calc(100% + 6px); border: 0; background: none; font: inherit; color: var(--muted); cursor: pointer; }
.signup button:hover { color: var(--ink); }
.legal { color: var(--muted); font-size: 11px; }

.float-book {
  position: fixed; right: 18px; bottom: 18px; z-index: 30;
  background: var(--ink); color: var(--bg);
  padding: 12px 18px; border-radius: 999px; font-size: 11.5px; letter-spacing: .02em;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.4);
  transform: translateY(120px); transition: transform .6s var(--ease);
}
body.stuck .float-book { transform: none; }
.float-book:hover { background: #000; }

.drawer { display: none; }

/* ---------- tablet / mobile ---------- */
@media (max-width: 900px) {
  .bar { display: flex; justify-content: space-between; }
  .bar-left, .bar-right, .bar-end { display: none; }
  .bar-back { position: static; }
  body.stuck .bar-mark { position: static; }
  .bar-menu {
    display: grid; gap: 5px; width: 28px; height: 28px; place-content: center;
    background: none; border: 0; cursor: pointer; color: inherit;
  }
  .bar-menu i { display: block; width: 20px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
  body.menu-open .bar-menu i:first-child { transform: translateY(3px) rotate(45deg); }
  body.menu-open .bar-menu i:last-child { transform: translateY(-3px) rotate(-45deg); }
  body.menu-open .bar { position: fixed; top: 0; bottom: auto; color: var(--ink); background: var(--bg); }

  .drawer {
    display: flex; flex-direction: column; gap: 4px;
    position: fixed; inset: 0; z-index: 15; background: var(--bg);
    padding: 90px var(--pad) 40px;
    font-family: var(--word); font-size: 34px; font-weight: 300; line-height: 1.3;
    opacity: 0; pointer-events: none; transition: opacity .4s;
  }
  .drawer a[aria-current] { font-style: italic; }
  body.menu-open .drawer { opacity: 1; pointer-events: auto; }

  .row { padding: 56px var(--pad); }
  .arrivals { display: block; }
  .col-text { width: 100%; max-width: 440px; }
  .pieces {
    margin: 36px calc(-1 * var(--pad)) 0; padding: 0 var(--pad);
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .pieces::-webkit-scrollbar { display: none; }
  .piece { flex: 0 0 62vw; scroll-snap-align: start; }

  .feature { grid-template-columns: 1fr; padding: 24px 0 40px; }
  .feature-text { padding: 28px var(--pad) 0; }

  .collection { grid-template-columns: 1fr 1fr; gap: 28px 12px; padding-right: var(--pad); }
  .collection .col-text { grid-column: 1 / -1; padding-right: 0; }
  .col-large { margin-right: 0; }
  .col-small { width: 100%; min-width: 0; align-self: end; }

  .footer { grid-template-columns: 1fr; gap: 28px; }
  .house-card { flex-basis: 62vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
