/* ==========================================================================
   BRASS & WOOD — V2 · modern editorial theme (homepage)
   White · ink · warm gray · gold micro-accents · Inter
   ========================================================================== */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { max-width: 100vw; overflow-x: clip; }
img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
ul[role="list"] { list-style: none; }
address { font-style: normal; }

:root {
  --ink: #141210;
  --gray: #6E675E;
  --faint: #A39B90;
  --line: #ECE7DF;
  --tint: #F7F5F2;
  --gold: #C4B69D;
  --gold-deep: #A8946F;
  --wa: #1EBE5D;
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 48px);
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 1.02rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

[lang="ar"] { font-family: 'Amiri', serif; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }

.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}

::selection { background: var(--gold); color: var(--ink); }

/* ---------- type ---------- */
.kicker {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px;
}
.kicker--light { color: var(--gold); }
.sec__title {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 800;
  letter-spacing: -0.025em; line-height: 1.08;
}
.sec__sub { color: var(--gray); max-width: 620px; margin-top: 16px; }

.sec { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.sec--tint { background: var(--tint); }
.sec__head { margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.sec__head--row {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 16px 40px;
}

/* ---------- buttons & links ---------- */
.btn {
  display: inline-block; padding: 15px 30px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--gold); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }

.tlink {
  display: inline-block; font-weight: 600; font-size: 0.95rem;
  padding-bottom: 3px; border-bottom: 2px solid var(--gold);
  transition: border-color .2s ease;
}
.tlink:hover { border-color: var(--ink); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 4px;
}

/* ---------- header ---------- */
.hd {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.hd__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 14px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.hd__logo img { height: 34px; width: auto; }
.hd:not(.is-solid) .hd__logo img { filter: brightness(0) invert(1); }
.hd__nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
.hd__link {
  font-weight: 500; font-size: 0.95rem; color: #fff;
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.hd__link:hover { border-color: var(--gold); }
.hd__wa {
  background: var(--wa); color: #fff; font-weight: 600; font-size: 0.9rem;
  padding: 9px 18px; border-radius: 999px; transition: filter .2s ease;
}
.hd__wa:hover { filter: brightness(1.08); }
.hd__menu { display: none; font-weight: 600; color: #fff; padding: 8px 4px; }

.hd.is-solid { background: rgba(255,255,255,.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.hd.is-solid .hd__link, .hd.is-solid .hd__menu { color: var(--ink); }

/* mobile menu */
.mnav {
  position: fixed; inset: 0; z-index: 90; background: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--pad) 40px;
}
.mnav[hidden] { display: none; }
.mnav__link {
  display: block; font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 800;
  letter-spacing: -0.02em; padding: 10px 0;
}
.mnav__link--small { font-size: 1.05rem; font-weight: 500; color: var(--gray); padding: 6px 0; }
.mnav__foot { display: grid; gap: 6px; color: var(--gray); font-size: 0.95rem; }
body.menu-open { overflow: hidden; }
body.menu-open .hd { background: #fff; box-shadow: none; }
body.menu-open .hd .hd__link, body.menu-open .hd .hd__menu { color: var(--ink); }
body.menu-open .hd .hd__logo img { filter: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; }
.hero__media { position: absolute; inset: 0; overflow: hidden; background: var(--ink); }
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1.6s ease;
}
.hero__img.is-on { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,6,.35) 0%, rgba(10,8,6,.05) 40%, rgba(10,8,6,.72) 100%);
}
.hero__content {
  position: relative; z-index: 2; width: 100%;
  max-width: var(--wrap); margin: 0 auto;
  padding: 0 var(--pad) clamp(4rem, 10vh, 7rem);
}
.hero__title {
  font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.04; max-width: 15ch;
}
.hero__title span { display: block; }
.hero__sub { max-width: 520px; margin-top: 20px; color: rgba(255,255,255,.86); }
.hero__ar { margin-top: 10px; font-size: 1.25rem; color: var(--gold); }
.hero .btn { margin-top: 28px; }
.hero__cue {
  position: absolute; bottom: 26px; right: var(--pad); z-index: 2;
  width: 1px; height: 56px; overflow: hidden;
}
.hero__cue span {
  display: block; width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent, #fff);
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue { 0% { transform: translateY(-100%);} 60%,100% { transform: translateY(100%);} }

/* ---------- collections: editorial rows ---------- */
.colrows { display: grid; gap: clamp(3.5rem, 7vw, 6rem); }
.colrow {
  display: grid; grid-template-columns: 7fr 5fr;
  gap: clamp(1.6rem, 4vw, 4rem); align-items: center;
}
.colrow:nth-child(even) { grid-template-columns: 5fr 7fr; }
.colrow:nth-child(even) .colrow__media { order: 2; }
.colrow__media { display: block; overflow: hidden; border-radius: 16px; background: var(--tint); }
.colrow__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.6,.2,1);
}
.colrow:hover .colrow__media img { transform: scale(1.04); }
.colrow__num { font-size: 0.85rem; font-weight: 600; color: var(--faint); letter-spacing: 0.1em; }
.colrow__name { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 10px; }
.colrow__name a:hover { color: var(--gold-deep); }
.colrow__line { color: var(--gray); max-width: 46ch; margin-bottom: 18px; }

/* ---------- atelier: dark film band ---------- */
.atelier { background: var(--ink); color: #fff; padding: clamp(4.5rem, 9vw, 8rem) 0; }
.atelier__grid {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.atelier .sec__title { color: #fff; }
.atelier__text { color: rgba(255,255,255,.78); margin-top: 18px; max-width: 46ch; }
.atelier__locs { margin-top: 28px; display: grid; gap: 14px; }
.atelier__locs li { display: grid; gap: 2px; padding-left: 16px; border-left: 2px solid var(--gold); }
.atelier__locs span { color: rgba(255,255,255,.65); font-size: 0.92rem; }
.atelier__film video { width: 100%; border-radius: 16px; background: #000; }
.atelier__film figcaption { margin-top: 12px; color: rgba(255,255,255,.6); font-size: 0.9rem; }

/* ---------- finishes ---------- */
.finish {
  display: grid; grid-template-columns: 6fr 6fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.finish__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.fchip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line);
  font-weight: 500; font-size: 0.95rem; background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.fchip:hover { border-color: var(--gold-deep); }
.fchip.is-on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.fchip__dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.fchip__dot--gold { background: radial-gradient(circle at 35% 30%, #F0DFAE, #C9A96A 70%); }
.fchip__dot--antique { background: radial-gradient(circle at 35% 30%, #B39969, #7A6547 70%); }
.fchip__dot--silver { background: radial-gradient(circle at 35% 30%, #F2F2F0, #B9B9B4 70%); }
.finish__spec { margin-top: 22px; color: var(--gray); font-size: 0.92rem; max-width: 52ch; }
.finish .tlink { margin-top: 18px; }
.finish__stage { border-radius: 16px; overflow: hidden; background: var(--tint); }
.finish__stage img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* ---------- rooms: horizontal gallery ---------- */
.rooms {
  display: flex; gap: clamp(14px, 2vw, 24px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px var(--pad) 28px;
  scrollbar-width: none; cursor: grab;
}
.rooms::-webkit-scrollbar { display: none; }
.rooms.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rooms:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: -2px; }
.rooms__hint { color: var(--faint); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.room {
  flex: 0 0 min(340px, 78vw); scroll-snap-align: start;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 22px rgba(20,18,16,.07);
  transition: transform .3s ease, box-shadow .3s ease;
}
.room:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(20,18,16,.11); }
.room__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.room__body { padding: 18px 20px 22px; }
.room__name { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
.room__line { color: var(--gray); font-size: 0.92rem; margin-top: 6px; }

/* ---------- materials ---------- */
.mats {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: clamp(14px, 2vw, 24px);
}
.mat { display: grid; gap: 8px; }
.mat img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.mat__name { font-size: 0.88rem; font-weight: 600; line-height: 1.3; }
.mat__ar { font-size: 0.95rem; color: var(--gray); text-align: left; }

/* ---------- reach ---------- */
.reach { padding: clamp(3.5rem, 7vw, 6rem) 0; text-align: center; border-top: 1px solid var(--line); }
.reach__title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; }
.reach__line { color: var(--gray); margin-top: 8px; }
.flags {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  max-width: 780px; margin: 26px auto 0;
}
.flag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: 999px; background: var(--tint);
  font-size: 0.9rem; font-weight: 500;
}
.flag img { width: 20px; height: 15px; object-fit: cover; border-radius: 2px; }
.flag--more { color: var(--faint); }

/* ---------- in real homes ---------- */
.homes { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.6vw, 18px); }
.home-tile { position: relative; border-radius: 12px; overflow: hidden; background: var(--tint); }
.home-tile img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  transition: transform .6s ease;
}
.home-tile:hover img { transform: scale(1.05); }
.home-tile__loc {
  position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px;
  font-size: 0.78rem; font-weight: 600; color: #fff; letter-spacing: 0.03em;
  background: linear-gradient(180deg, transparent, rgba(10,8,6,.7));
}

/* ---------- where to buy ---------- */
.buy { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 22px); }
.buy__item {
  display: grid; align-content: start; justify-items: center; gap: 6px;
  background: #fff; border-radius: 14px; padding: 28px 18px 24px;
  text-align: center; box-shadow: 0 3px 18px rgba(20,18,16,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.buy__item:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(20,18,16,.1); }
.buy__amazon { height: 26px; width: auto; margin-bottom: 6px; }
.buy__bw { height: 22px; width: auto; margin-bottom: 8px; }
.buy__wordmark { font-weight: 800; font-size: 1.15rem; color: #FF6A00; letter-spacing: -0.01em; margin-bottom: 4px; }
.buy__name { font-weight: 700; font-size: 0.98rem; }
.buy__note { color: var(--gray); font-size: 0.85rem; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: clamp(1.8rem, 3vw, 2.6rem); }
.spill {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 0.88rem; font-weight: 500;
  transition: border-color .2s ease;
}
.spill:hover { border-color: var(--gold-deep); }

/* ---------- closing ---------- */
.closing { padding: clamp(5rem, 10vw, 9rem) 0; text-align: center; }
.closing__title {
  font-size: clamp(2rem, 5.5vw, 3.6rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.1;
}
.closing__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
.closing__cred { margin-top: 26px; color: var(--faint); font-size: 0.88rem; }

/* ---------- footer ---------- */
.ft { border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.ft__grid {
  display: grid; grid-template-columns: 1.1fr 1.5fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.ft__logo { width: 130px; height: auto; }
.ft__tag { margin-top: 14px; color: var(--gray); font-size: 0.95rem; }
.ft__tag-ar { color: var(--gray); font-size: 1.05rem; text-align: left; }
.ft__head {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 14px;
}
.ft__list p {
  display: grid; grid-template-columns: 112px 1fr;
  gap: 0 14px; padding: 5px 0; font-size: 0.95rem; align-items: baseline;
}
.ft__list p > span { color: var(--faint); font-size: 0.85rem; white-space: nowrap; }
.ft__list a { overflow-wrap: anywhere; }
.ft__list a:hover { color: var(--gold-deep); }
nav.ft__list p { grid-template-columns: 1fr; }
.ft__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px;
  margin-top: clamp(2rem, 4vw, 3rem); padding: 16px 170px 0 0;
  border-top: 1px solid var(--line);
  color: var(--faint); font-size: 0.82rem;
}
.ft__legal a:hover { color: var(--ink); }

/* ---------- floating CTAs (catalog + WhatsApp via ui.js) ---------- */
.catalog-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 0.88rem;
  padding: 13px 20px; border-radius: 999px; box-shadow: 0 6px 20px rgba(20,18,16,.25);
  transition: transform .2s ease;
}
.catalog-fab:hover { transform: translateY(-2px); }
.wa-fab {
  position: fixed; right: 20px; bottom: 78px; z-index: 80;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(30,190,93,.4);
  transition: transform .2s ease;
}
.wa-fab:hover { transform: translateY(-2px); }
.wa-fab svg { width: 26px; height: 26px; }
.wa-fab--stacked { bottom: 78px; }
.link-icon { width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px; display: inline-block; }
@media print { .catalog-fab, .wa-fab, .hd, .hero__cue { display: none !important; } }

/* ---------- reveal on scroll (JS adds .rv / .rv-in) ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.rv-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .mats { grid-template-columns: repeat(4, 1fr); }
  .homes { grid-template-columns: repeat(3, 1fr); }
  .buy { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hd__nav { display: none; }
  .hd__menu { display: block; }
  .colrow, .colrow:nth-child(even) { grid-template-columns: 1fr; gap: 18px; }
  .colrow:nth-child(even) .colrow__media { order: 0; }
  .atelier__grid, .finish { grid-template-columns: 1fr; }
  .finish__stage { order: -1; }
  .ft__grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .ft__legal { padding-right: 0; padding-bottom: 120px; }
}
@media (max-width: 640px) {
  .mats { grid-template-columns: repeat(2, 1fr); }
  .homes { grid-template-columns: repeat(2, 1fr); }
  .buy { grid-template-columns: 1fr 1fr; }
  .hero__title { max-width: none; }
  h1, h2, h3, p, figcaption, li, a { overflow-wrap: anywhere; }
}
@media (max-width: 400px) {
  .buy { grid-template-columns: 1fr; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .hero__cue { display: none; }
}

/* ---------- flags as marquee ---------- */
.reach .wrap { overflow: hidden; }
.flags {
  flex-wrap: nowrap; justify-content: flex-start;
  width: max-content; max-width: none;
  animation: flagsloop 30s linear infinite;
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.flags:hover { animation-play-state: paused; }
@keyframes flagsloop { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.flag { white-space: nowrap; flex: none; }
@media (prefers-reduced-motion: reduce) {
  .flags { animation: none; flex-wrap: wrap; width: auto; justify-content: center;
    -webkit-mask: none; mask: none; }
  .flags .flag--dup { display: none; }
}

/* ---------- socials: 2 clean columns on mobile ---------- */
@media (max-width: 640px) {
  .socials { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .spill { display: flex; justify-content: center; text-align: center; }
}

/* ---------- footer mobile: stacked rows, no dead space ---------- */
@media (max-width: 860px) {
  .ft__list p { grid-template-columns: 1fr; gap: 1px; padding: 7px 0; }
  .ft__list p > span { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
  .ft__legal { padding-bottom: 78px; row-gap: 4px; }
  .ft { padding-bottom: 0.6rem; }
}

/* ---------- collections as horizontal cards ---------- */
.room__num { font-size: 0.78rem; font-weight: 600; color: var(--faint); letter-spacing: 0.1em; margin-bottom: 4px; }
.room--col { flex-basis: min(320px, 74vw); }
#collections .rooms { margin-top: -0.5rem; }
#collections .rooms__hint { margin-top: 10px; }

/* ---------- planner teaser ---------- */
.planner { text-align: center; }
.planner .sec__sub { margin-inline: auto; }
.planner .btn { margin-top: 26px; }

/* planner teaser: split with screenshot */
.planner--split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; text-align: left; }
.planner--split .sec__sub { margin-inline: 0; }
.planner__shot { display: block; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 34px rgba(20,18,16,.12); transition: transform .3s ease; }
.planner__shot:hover { transform: translateY(-4px); }
@media (max-width: 860px) { .planner--split { grid-template-columns: 1fr; } .planner__shot { order: 2; } }
.planner__soon { margin-top: 22px; font-weight: 600; color: var(--gold-deep); }
.planner__shot:hover { transform: none; }
.atelier__map { display: inline-block; margin-top: 4px; font-size: 0.85rem; font-weight: 600; color: var(--gold); border-bottom: 1px solid var(--gold); width: max-content; }
.atelier__map:hover { color: #fff; border-color: #fff; }

/* hero: subject right, text-side clarity */
.hero__img { object-position: 72% center; }
.hero__scrim {
  background:
    linear-gradient(90deg, rgba(10,8,6,.62) 0%, rgba(10,8,6,.28) 42%, rgba(10,8,6,0) 68%),
    linear-gradient(180deg, rgba(10,8,6,.18) 0%, rgba(10,8,6,0) 40%, rgba(10,8,6,.55) 100%);
}
@media (max-width: 640px) { .hero__img { object-position: 62% center; } }

/* ---------- HERO v2.1: split layout — sharp image at native scale ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; background: var(--ink); }
.hero__media { position: relative; order: 2; min-height: 100svh; }
.hero__img { object-position: center; }
.hero__scrim { background: linear-gradient(90deg, rgba(10,8,6,.30) 0%, rgba(10,8,6,0) 30%); }
.hero__content {
  position: relative; z-index: 2; order: 1; align-self: center;
  max-width: none; margin: 0; padding: clamp(90px, 14vh, 140px) clamp(24px, 4vw, 64px) clamp(48px, 8vh, 90px);
}
.hero__title { max-width: 13ch; }
.hero__cue { display: none; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero__media { order: 1; min-height: 54svh; }
  .hero__content { order: 2; padding-top: 34px; }
  .hero__scrim { display: none; }
}

/* room/collection scroller arrows */
.rooms-shell { position: relative; }
.rooms-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--ink); font-size: 26px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(20,18,16,.18);
  transition: background-color .2s ease, transform .2s ease;
}
.rooms-nav:hover { background: var(--ink); color: #fff; transform: translateY(-50%) scale(1.05); }
.rooms-nav--prev { left: 14px; }
.rooms-nav--next { right: 14px; }
@media (max-width: 640px) { .rooms-nav { display: none; } }

/* rooms: center the section head and the cards when they fit */
#rooms .sec__head { text-align: center; }
#rooms .sec__head .sec__sub { margin-inline: auto; }
.rooms > .room:first-child { margin-left: auto; }
.rooms > .room:last-child { margin-right: auto; }

/* hero manual controls */
.hero-ctrl__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--ink); font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: background-color .2s ease;
}
.hero-ctrl__btn:hover { background: #fff; }
.hero-ctrl__btn--prev { left: 16px; }
.hero-ctrl__btn--next { right: 16px; }
.hero-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 8px; }
.hero-dot { width: 22px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.45); transition: background-color .2s ease; }
.hero-dot.is-on { background: #fff; }
@media (max-width: 860px) { .hero-ctrl__btn { width: 38px; height: 38px; } }

/* split sections: button below the image */
.planner--split { grid-template-areas: "copy shot" "cta shot"; }
.planner__copy { grid-area: copy; }
.planner__shot { grid-area: shot; }
.planner__cta { grid-area: cta; align-self: start; }
@media (max-width: 860px) {
  .planner--split { grid-template-areas: "copy" "shot" "cta"; }
  .planner__cta { justify-self: stretch; }
  .planner__cta .btn { display: block; text-align: center; }
}

/* ---------- dark footer ---------- */
.ft { background: var(--ink); border-top: none; color: rgba(255,255,255,.82); }
.ft__logo { filter: brightness(0) invert(1); opacity: .92; }
.ft__head { color: rgba(255,255,255,.45); }
.ft__list p > span { color: rgba(255,255,255,.42); }
.ft a { color: rgba(255,255,255,.85); }
.ft a:hover, .ft .ft__list a:hover { color: var(--gold); }
.ft__legal { border-top-color: rgba(255,255,255,.14); color: rgba(255,255,255,.45); }
.ft__legal a { color: rgba(255,255,255,.6); }
.ft__legal a:hover { color: var(--gold); }

/* mobile menu: proper scroll lock, no corruption */
.mnav { height: 100dvh; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
body.menu-open { overflow: hidden; height: 100dvh; touch-action: none; }
body.menu-open .mnav { touch-action: pan-y; }

/* room cards: show the full image, no crop */
.room__media { background: var(--tint); }
.room__media img { object-fit: contain; }

/* rooms: big full-width cards, whole image visible */
#rooms .room:not(.room--col) { flex-basis: min(880px, 92vw); }
#rooms .room:not(.room--col) .room__media img { aspect-ratio: 3 / 2; object-fit: contain; }
