/* ==========================================================
   MARE — Adriatic Residences
   Palette: deep sea, ivory, sand, soft gold
   ========================================================== */
:root {
  --ink: #071820;
  --deep: #0b2430;
  --sea: #10394a;
  --ivory: #f6f1e8;
  --sand: #e9dfcf;
  --stone: #cbbca5;
  --gold: #c8a464;
  --gold-2: #e3c98f;
  --text: #13252e;
  --muted: #5d6e76;
  --serif: "Cormorant", "Times New Roman", serif;
  --sans: "Manrope", system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 80px);
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--gold); color: var(--ink); }

em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); }
[data-theme="dark"] em { color: var(--gold-2); }

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.2vw, 6rem);
  line-height: .98;
  letter-spacing: -.02em;
  margin: 0;
}
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; font-weight: 500;
  margin: 0 0 26px; color: var(--muted);
}
[data-theme="dark"] .eyebrow { color: rgba(246, 241, 232, .72); }
.eyebrow .line { width: 44px; height: 1px; background: currentColor; display: inline-block; opacity: .7; }
.section { padding: clamp(100px, 16vw, 220px) var(--pad); }

.split-line { display: block; overflow: hidden; padding-bottom: .06em; }
.split-line > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 30px; border-radius: 999px; overflow: hidden;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  isolation: isolate;
}
.btn span { position: relative; z-index: 2; transition: color .4s var(--ease); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(200, 164, 100, .7); }
.btn--gold::before { background: var(--ivory); }
.btn--line { border: 1px solid rgba(246, 241, 232, .5); color: var(--ivory); }
.btn--line::before { background: var(--ivory); }
.btn--line:hover span { color: var(--ink); }
.btn--sm { height: 44px; padding: 0 22px; font-size: .72rem; }
.btn--full { width: 100%; }

.glass {
  background: rgba(246, 241, 232, .1);
  border: 1px solid rgba(246, 241, 232, .22);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

/* ---------- Preloader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--ink); color: var(--ivory); }
.loader__inner { text-align: center; }
.loader__word { display: flex; gap: .06em; font-family: var(--serif); font-size: clamp(4rem, 14vw, 11rem); line-height: 1; letter-spacing: .08em; overflow: hidden; }
.loader__word span { display: inline-block; transform: translateY(110%); }
.loader__count { margin-top: 18px; font-size: .75rem; letter-spacing: .4em; color: var(--gold-2); }
.loader__curtain { position: absolute; inset: 0; background: var(--ivory); transform: scaleY(0); transform-origin: bottom; }

.grain {
  position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); } }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 160; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--gold); pointer-events: none; opacity: 0; display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s; }
.cursor__label { opacity: 0; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); font-weight: 600; transition: opacity .3s; }
.cursor.is-live { opacity: 1; }
.cursor.is-big { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: rgba(227, 201, 143, .92); }
.cursor.is-big .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: 84px; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; color: var(--ivory);
  transition: background .5s var(--ease), color .5s var(--ease), height .5s var(--ease), transform .6s var(--ease);
}
.nav::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(7, 24, 32, .55), rgba(7, 24, 32, 0)); transition: opacity .5s var(--ease); }
.nav.is-solid::before { opacity: 0; }
.nav.is-solid { background: rgba(246, 241, 232, .82); color: var(--text); height: 70px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 rgba(19, 37, 46, .08); }
.nav.is-solid.on-dark { background: rgba(7, 24, 32, .72); color: var(--ivory); box-shadow: none; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.6rem; letter-spacing: .28em; font-weight: 500; }
.nav__logo svg { width: 30px; height: 30px; color: var(--gold); }
.nav__links { display: flex; gap: 36px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 18px; }
/* Language picker (8 languages) */
.lang { position: relative; }
.lang__current { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px; border: 1px solid currentColor; border-radius: 999px; font-size: .72rem; letter-spacing: .14em; font-weight: 600; opacity: .9; transition: opacity .3s, background .3s; }
.lang__current:hover, .lang.is-open .lang__current { opacity: 1; background: rgba(200, 164, 100, .16); }
.lang__current svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.lang__current i { width: 6px; height: 6px; border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .4s var(--ease); }
.lang.is-open .lang__current i { transform: translateY(1px) rotate(225deg); }
.lang__list { position: absolute; right: 0; top: calc(100% + 12px); z-index: 120; width: 230px; margin: 0; padding: 8px; list-style: none; border-radius: 18px; background: var(--ivory); color: var(--text); box-shadow: 0 30px 70px -20px rgba(7, 24, 32, .45), 0 0 0 1px rgba(19, 37, 46, .06); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .45s; }
.lang.is-open .lang__list { opacity: 1; visibility: visible; transform: none; }
.lang__list button { width: 100%; display: flex; align-items: center; gap: 14px; padding: 9px 12px; border-radius: 12px; text-align: left; font-size: .9rem; transition: background .25s; }
.lang__list button b { width: 26px; font-size: .68rem; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.lang__list button:hover { background: var(--sand); }
.lang__list button.is-active { background: var(--ink); color: var(--ivory); }
.lang__list button.is-active b { color: var(--gold-2); }
.menu__langs { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 40px; max-width: 360px; }
.menu__langs button, .footer__langs button { padding: 9px 0; border: 1px solid rgba(246, 241, 232, .25); border-radius: 999px; font-size: .72rem; letter-spacing: .14em; font-weight: 600; transition: background .3s, color .3s, border-color .3s; }
.menu__langs button.is-active, .footer__langs button.is-active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.footer__langs { display: flex !important; flex-wrap: wrap; gap: 6px; }
.footer__langs button { padding: 5px 10px; color: rgba(246, 241, 232, .75); }
.footer__langs button:hover { color: var(--ivory); border-color: var(--gold-2); }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 26px; }
.menu-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--ivory); display: flex; flex-direction: column; justify-content: center; padding: 100px var(--pad) 40px; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); }
.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu nav { display: flex; flex-direction: column; gap: 6px; position: relative; z-index: 2; }
.menu a { font-family: var(--serif); font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1.1; }
.menu a em { font-family: var(--sans); font-style: normal; font-size: .75rem; letter-spacing: .2em; vertical-align: top; margin-right: 14px; }
.menu img { position: absolute; inset: auto 0 0 0; height: 40%; width: 100%; object-fit: cover; opacity: .35; mask-image: linear-gradient(transparent, #000); -webkit-mask-image: linear-gradient(transparent, #000); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; color: var(--ivory); overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; will-change: clip-path, transform; }
.hero__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 24, 32, .55) 0%, rgba(7, 24, 32, .1) 35%, rgba(7, 24, 32, .25) 60%, rgba(7, 24, 32, .85) 100%); }
.letterbox { position: absolute; left: 0; right: 0; height: 9vh; background: var(--ink); z-index: 3; pointer-events: none; }
.letterbox--top { top: 0; transform-origin: top; }
.letterbox--bottom { bottom: 0; transform-origin: bottom; }
.hero__content { position: absolute; z-index: 4; left: var(--pad); right: var(--pad); bottom: calc(150px + 6vh); }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, min(9.4vw, 14vh), 11rem); line-height: .88; letter-spacing: -.035em; margin: 0 0 28px; }
.hero__title em { color: var(--gold-2); }
@media (min-width: 761px) and (max-height: 820px) {
  .hero__content { bottom: calc(138px + 3vh); }
  .hero__title { margin-bottom: 18px; }
  .hero__eyebrow { margin-bottom: 16px; }
  .hero__sub { font-size: .92rem; }
  .search { bottom: 50px; }
  .hero__meta { bottom: 14px; }
}
@media (max-width: 760px) and (max-height: 720px) {
  .hero__sub { display: none; }
  .hero__content { bottom: 268px; }
}
@media (min-width: 761px) and (max-height: 640px) {
  .hero__sub { display: none; }
}
.hero__sub { max-width: 460px; margin: 0; font-size: 1rem; color: rgba(246, 241, 232, .88); font-weight: 400; text-shadow: 0 1px 18px rgba(7, 24, 32, .7); }
.hero__eyebrow { color: rgba(246, 241, 232, .8); }
.search { position: absolute; z-index: 5; right: var(--pad); bottom: 70px; display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)) auto; gap: 6px; padding: 8px; border-radius: 999px; width: min(780px, calc(100% - 2 * var(--pad))); }
.search label { display: flex; flex-direction: column; justify-content: center; padding: 6px 22px; border-radius: 999px; transition: background .3s; }
.search label:hover { background: rgba(246, 241, 232, .1); }
.search span, .book__form label > span { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; opacity: .75; }
.search input, .search select { background: none; border: 0; color: var(--ivory); font: inherit; font-size: .95rem; padding: 2px 0; outline: none; color-scheme: dark; width: 100%; }
.search select option { color: var(--text); }
.hero__meta { position: absolute; z-index: 5; left: var(--pad); right: var(--pad); bottom: 22px; display: flex; justify-content: space-between; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(246, 241, 232, .6); }
.scroll-hint { display: flex; align-items: center; gap: 10px; }
.scroll-hint i { width: 1px; height: 26px; background: linear-gradient(var(--gold-2), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Story ---------- */
.story { position: relative; background: var(--ivory); }
.story__grid { display: grid; grid-template-columns: 1fr 2.4fr; gap: 40px; align-items: start; max-width: 1400px; margin: 0 auto; }
.story__statement { font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 3.4rem); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
.story__statement .w { opacity: .14; transition: none; }
.story__collage { position: relative; max-width: 1400px; height: clamp(520px, 62vw, 900px); margin: clamp(80px, 10vw, 140px) auto 0; }
.story__img { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 40px 80px -40px rgba(7, 24, 32, .45); }
.story__img img { width: 100%; height: 115%; object-fit: cover; }
.story__img--a { left: 0; top: 6%; width: 36%; height: 78%; }
.story__img--b { left: 32%; top: 0; width: 44%; height: 58%; z-index: 2; }
.story__img--c { right: 0; bottom: 0; width: 34%; height: 52%; }
.story__stamp { position: absolute; left: 41%; bottom: 4%; width: 170px; height: 170px; z-index: 3; display: grid; place-items: center; color: var(--text); }
.story__stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.story__stamp text { font-size: 13.2px; letter-spacing: 3px; fill: currentColor; font-family: var(--sans); }
.story__stamp span { font-size: 1.6rem; color: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
.numbers { max-width: 1400px; margin: clamp(80px, 10vw, 140px) auto 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(19, 37, 46, .14); }
.numbers div { padding: 34px 20px 0 0; }
.numbers strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 6vw, 5.4rem); line-height: 1; }
.numbers span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Residences ---------- */
.residences { position: relative; background: var(--ink); color: var(--ivory); overflow: hidden; height: 100vh; height: 100svh; min-height: 640px; display: flex; flex-direction: column; justify-content: center; padding: 70px 0 0; }
.residences__head { width: clamp(300px, 30vw, 460px); flex: none; align-self: center; padding-right: 2vw; }
.residences__intro { margin: 26px 0 0; color: rgba(246, 241, 232, .66); max-width: 340px; }
.residences__track { display: flex; gap: clamp(20px, 3vw, 44px); padding: 0 var(--pad); width: max-content; will-change: transform; }
.res-card { width: clamp(260px, min(30vw, calc((100vh - 330px) * .8)), 470px); flex: none; transform-style: preserve-3d; perspective: 1000px; }
.res-card__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; transform: translateZ(0); }
.res-card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease), filter 1.2s var(--ease); filter: saturate(.92); }
.res-card:hover .res-card__media img { transform: scale(1.16); filter: saturate(1.1); }
.res-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(7, 24, 32, .55)); }
.res-card__no { position: absolute; z-index: 2; top: 18px; left: 22px; font-size: .75rem; letter-spacing: .3em; }
.res-card__body { padding: 26px 4px 0; }
.res-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 3.4vw, 3.4rem); line-height: 1; margin: 0 0 6px; }
.res-card p { margin: 0; color: rgba(246, 241, 232, .66); font-size: .92rem; }
.res-card ul { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 18px 0; }
.res-card li { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; border: 1px solid rgba(246, 241, 232, .22); border-radius: 999px; padding: 6px 12px; }
.res-card__price { font-size: .9rem; color: rgba(246, 241, 232, .7); }
.res-card__price strong { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; color: var(--gold-2); margin: 0 4px; }
.res-end { width: clamp(280px, 26vw, 380px); flex: none; align-self: center; padding: 40px; border: 1px solid rgba(246, 241, 232, .16); border-radius: var(--radius); }
.res-end p { font-family: var(--serif); font-size: 2rem; line-height: 1.1; margin: 0 0 18px; }
.res-end ul { list-style: none; padding: 0; margin: 0 0 28px; columns: 2; font-size: .86rem; color: rgba(246, 241, 232, .74); }
.res-end li { padding: 5px 0; }
.residences__progress { margin: 40px var(--pad) 0; height: 1px; background: rgba(246, 241, 232, .14); }
.residences__progress span { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

/* ---------- Film ---------- */
.film { position: relative; height: 100vh; height: 100svh; background: var(--ink); color: var(--ivory); overflow: hidden; }
.film__stage { position: absolute; inset: 0; }
.film__frames { position: absolute; inset: 0; }
.film__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1.2s var(--ease), transform 6s linear; }
.film__v.is-on { opacity: 1; transform: scale(1); }
.film__stage::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 40%, rgba(7, 24, 32, .7) 100%), linear-gradient(90deg, rgba(7, 24, 32, .65), transparent 60%); pointer-events: none; }
.film .letterbox { height: 11vh; }
.film__ui { position: absolute; inset: 0; z-index: 4; padding: calc(11vh + 40px) var(--pad); display: flex; flex-direction: column; justify-content: center; }
.film__chapters { position: relative; height: clamp(220px, 30vh, 300px); max-width: 640px; }
.film__ch { position: absolute; inset: 0; opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.film__ch.is-on { opacity: 1; transform: none; }
.film__ch .tc { font-size: .75rem; letter-spacing: .35em; color: var(--gold-2); }
.film__ch h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 7vw, 6.4rem); line-height: .95; margin: 10px 0 14px; letter-spacing: -.02em; }
.film__ch p { margin: 0; color: rgba(246, 241, 232, .8); max-width: 380px; }
.film__rec { position: absolute; z-index: 5; top: calc(11vh + 22px); right: var(--pad); font-size: .7rem; letter-spacing: .3em; display: flex; align-items: center; gap: 10px; color: rgba(246, 241, 232, .85); font-variant-numeric: tabular-nums; }
.film__rec i { width: 8px; height: 8px; border-radius: 50%; background: #e0563f; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.film__bar { position: absolute; z-index: 5; left: var(--pad); right: var(--pad); bottom: calc(11vh + 26px); height: 1px; background: rgba(246, 241, 232, .2); }
.film__bar span { display: block; height: 100%; background: var(--gold-2); transform: scaleX(0); transform-origin: left; }

/* ---------- 3D Sea ---------- */
.sea { position: relative; height: 130vh; background: var(--ink); color: var(--ivory); overflow: hidden; }
.sea__canvas { position: sticky; top: 0; width: 100%; height: 100vh; display: block; }
.sea__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad); pointer-events: none; }
.sea__title { font-size: clamp(3rem, 8vw, 8.4rem); max-width: 1100px; }
.sea__stats { display: flex; gap: clamp(30px, 6vw, 90px); margin-top: 50px; }
.sea__stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; color: var(--gold-2); }
.sea__stats small { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(246, 241, 232, .7); }

/* ---------- Gallery cylinder ---------- */
.gallery { position: relative; background: var(--sand); padding: clamp(110px, 13vw, 180px) 0 clamp(60px, 8vw, 120px); overflow: hidden; }
.gallery__head { padding: 0 var(--pad); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; }
.gallery__head .eyebrow { grid-column: 1 / -1; }
.gallery__hint { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0; }
.cyl { position: relative; height: clamp(420px, 52vw, 640px); perspective: 1800px; margin-top: 40px; cursor: grab; touch-action: pan-y; }
.cyl:active { cursor: grabbing; }
.cyl__ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.cyl figure { position: absolute; margin: 0; width: clamp(220px, 24vw, 340px); aspect-ratio: 3 / 4; left: calc(clamp(220px, 24vw, 340px) / -2); top: calc(clamp(220px, 24vw, 340px) * -2 / 3); border-radius: 18px; overflow: hidden; backface-visibility: hidden; box-shadow: 0 30px 60px -30px rgba(7, 24, 32, .5); }
.cyl figure img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.cyl figcaption { position: absolute; left: 16px; bottom: 14px; color: var(--ivory); font-family: var(--serif); font-size: 1.6rem; text-shadow: 0 2px 16px rgba(0, 0, 0, .5); }

/* ---------- Bento ---------- */
.bento { background: var(--ivory); }
.bento__head { max-width: 1400px; margin: 0 auto 60px; }
.bento__grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(220px, 22vw, 330px); gap: 18px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); color: var(--ivory); cursor: pointer; }
.tile--xl { grid-column: span 2; grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.tile:hover img, .tile:hover video { transform: scale(1.12); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7, 24, 32, .8)); transition: opacity .6s; }
.tile > div { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; }
.tile span { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-2); }
.tile h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3vw, 3rem); line-height: 1; margin: 6px 0 0; }
.tile p { margin: 0; max-height: 0; opacity: 0; font-size: .9rem; color: rgba(246, 241, 232, .85); transition: max-height .6s var(--ease), opacity .6s var(--ease), margin .6s var(--ease); }
.tile:hover p { max-height: 60px; opacity: 1; margin-top: 8px; }

/* ---------- Prices ---------- */
.prices { background: var(--ivory); padding-top: 40px; }
.prices__head { max-width: 1400px; margin: 0 auto 60px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; }
.prices__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.seg { position: relative; display: flex; padding: 5px; border-radius: 999px; background: var(--sand); }
.seg button { position: relative; z-index: 2; padding: 10px 20px; border-radius: 999px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; transition: color .4s; }
.seg button.is-active { color: var(--ivory); }
.seg__pill { position: absolute; z-index: 1; top: 5px; bottom: 5px; left: 5px; width: 0; border-radius: 999px; background: var(--ink); transition: transform .6s var(--ease), width .6s var(--ease); }
.prices__grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-card { position: relative; padding: 18px 18px 30px; border-radius: var(--radius); background: #fff; box-shadow: 0 30px 60px -45px rgba(7, 24, 32, .35); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.price-card:hover { transform: translateY(-10px); box-shadow: 0 50px 80px -50px rgba(7, 24, 32, .5); }
.price-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; margin-bottom: 24px; }
.price-card > p, .price-card ul { padding: 0 12px; }
.price-card__season { font-family: var(--serif); font-size: 2rem; margin: 0; line-height: 1; }
.price-card__dates { margin: 6px 0 18px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.price-card__amount { font-family: var(--serif); font-size: 4rem; line-height: 1; margin: 0 0 20px; }
.price-card__amount small { font-family: var(--sans); font-size: .85rem; color: var(--muted); margin-left: 6px; }
.price-card ul { list-style: none; margin: 0; border-top: 1px solid rgba(19, 37, 46, .1); padding-top: 16px; }
.price-card li { padding: 4px 0 4px 22px; position: relative; font-size: .9rem; color: var(--muted); }
.price-card li::before { content: ""; position: absolute; left: 0; top: 13px; width: 10px; height: 1px; background: var(--gold); }
.price-card--hot { background: var(--ink); color: var(--ivory); }
.price-card--hot li, .price-card--hot .price-card__dates, .price-card--hot small { color: rgba(246, 241, 232, .7); }
.price-card--hot ul { border-color: rgba(246, 241, 232, .14); }
.price-card__tag { position: absolute; z-index: 2; top: 30px; right: 30px; padding: 6px 14px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.prices__note { max-width: 1400px; margin: 30px auto 0; font-size: .82rem; color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews { background: var(--deep); color: var(--ivory); padding: clamp(110px, 12vw, 170px) 0; overflow: hidden; }
.reviews__head { padding: 0 var(--pad); margin-bottom: 60px; }
.reviews__head .h2 em { font-size: 1.15em; }
.reviews__note { margin: 18px 0 0; font-size: .78rem; color: rgba(246, 241, 232, .55); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__row { display: flex; gap: 22px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee blockquote { margin: 0; width: clamp(280px, 30vw, 420px); padding: 36px; border-radius: var(--radius); border: 1px solid rgba(246, 241, 232, .14); background: rgba(246, 241, 232, .03); transition: background .5s, border-color .5s, transform .5s var(--ease); }
.marquee blockquote:hover { background: rgba(246, 241, 232, .07); border-color: var(--gold); transform: translateY(-6px); }
.marquee blockquote p { font-family: var(--serif); font-size: 1.7rem; line-height: 1.2; margin: 0 0 22px; }
.marquee cite { font-style: normal; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }

/* ---------- Book ---------- */
.book { position: relative; min-height: 100vh; color: var(--ivory); overflow: hidden; display: flex; align-items: center; background: var(--ink); }
.book__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.book__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 24, 32, .88) 0%, rgba(7, 24, 32, .5) 60%, rgba(7, 24, 32, .7) 100%); }
.book__inner { position: relative; z-index: 2; width: 100%; max-width: 1400px; margin: 0 auto; padding: 140px var(--pad); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.book__contact { list-style: none; padding: 0; margin: 50px 0 0; display: grid; gap: 18px; }
.book__contact li { display: grid; grid-template-columns: 120px 1fr; font-size: 1.05rem; border-top: 1px solid rgba(246, 241, 232, .16); padding-top: 16px; }
.book__contact span { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(246, 241, 232, .6); padding-top: 5px; }
.book__form { border-radius: 28px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 14px; }
.book__form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.book__form label { display: grid; gap: 6px; }
.book__form input, .book__form select { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(246, 241, 232, .25); background: rgba(7, 24, 32, .35); color: var(--ivory); font: inherit; outline: none; color-scheme: dark; transition: border-color .3s, background .3s; }
.book__form input:focus, .book__form select:focus { border-color: var(--gold-2); background: rgba(7, 24, 32, .55); }
.book__form input::placeholder { color: rgba(246, 241, 232, .45); }
.book__total { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 2px; border-top: 1px solid rgba(246, 241, 232, .16); }
.book__total span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.book__total strong { font-family: var(--serif); font-weight: 500; font-size: 2rem; color: var(--gold-2); text-align: right; line-height: 1.1; }
.book__total small { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(246, 241, 232, .6); }
.book__fine { margin: 0; font-size: .74rem; color: rgba(246, 241, 232, .55); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--ivory); padding: 80px var(--pad) 30px; overflow: hidden; }
.footer__big { font-family: var(--serif); font-size: clamp(6rem, 30vw, 30rem); line-height: .8; letter-spacing: .04em; text-align: center; background: linear-gradient(180deg, var(--gold-2), rgba(200, 164, 100, .1)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(246, 241, 232, .14); font-size: .9rem; }
.footer__cols strong { display: block; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 14px; font-weight: 500; }
.footer__cols a, .footer__cols p { display: block; margin: 0 0 6px; color: rgba(246, 241, 232, .72); }
.footer__cols a:hover { color: var(--ivory); }
.footer__base { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; font-size: .74rem; color: rgba(246, 241, 232, .5); }
.footer__base details { max-width: 640px; text-align: right; }
.footer__base summary { cursor: pointer; }
.footer__base details p { text-align: left; margin-top: 10px; }

.toast { position: fixed; z-index: 180; left: 50%; bottom: 30px; transform: translate(-50%, 160%); opacity: 0; visibility: hidden; padding: 16px 26px; border-radius: 999px; background: var(--ink); color: var(--ivory); font-size: .9rem; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .4); transition: transform .6s var(--ease), opacity .4s, visibility .6s; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .story__grid { grid-template-columns: 1fr; gap: 0; }
  .bento__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .nav { height: 68px; }
  .nav .btn--sm, .nav .lang { display: none; }
  .hero { min-height: 600px; }
  .hero__content { bottom: 292px; }
  .hero__sub { font-size: .9rem; max-width: 34ch; }
  .hero__title { font-size: clamp(2.5rem, min(14vw, 7.6vh), 4.6rem); }
  .hero__sub br { display: none; }
  .search { left: var(--pad); right: var(--pad); width: auto; bottom: 58px; grid-template-columns: 1fr 1fr; border-radius: 24px; }
  .search label:nth-child(3) { grid-column: span 2; }
  .search .btn { grid-column: span 2; height: 50px; }
  .search label { padding: 8px 14px; border-radius: 14px; }
  .hero__meta span:first-child, .hero__meta span:last-child { display: none; }
  .hero__meta { justify-content: center; bottom: 16px; }
  .letterbox { height: 5vh; }
  .story__collage { height: 560px; }
  .story__img--a { width: 58%; height: 52%; top: 0; }
  .story__img--b { left: 34%; top: 30%; width: 66%; height: 40%; }
  .story__img--c { left: 0; right: auto; bottom: 0; width: 56%; height: 34%; }
  .story__stamp { left: auto; right: 6%; bottom: 6%; width: 120px; height: 120px; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .residences { height: auto; min-height: 0; padding: 110px 0 70px; }
  .residences__head { width: 80vw; padding-right: 0; }
  .residences__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .residences__track::-webkit-scrollbar { display: none; }
  .res-card { width: 80vw; scroll-snap-align: center; }
  .res-end { width: 80vw; scroll-snap-align: center; padding: 30px; }
  .residences__progress { display: none; }
  .film .letterbox { height: 6vh; }
  .film__ui { padding: calc(6vh + 30px) var(--pad); justify-content: flex-end; padding-bottom: calc(6vh + 70px); }
  .film__rec { top: calc(6vh + 16px); }
  .film__bar { bottom: calc(6vh + 30px); }
  .sea { height: 110vh; }
  .sea__stats { flex-wrap: wrap; gap: 24px 36px; }
  .gallery__head { grid-template-columns: 1fr; }
  .cyl { height: 440px; perspective: 1100px; }
  .bento__grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .tile--xl, .tile--wide { grid-column: auto; grid-row: auto; }
  .tile p { max-height: 60px; opacity: 1; margin-top: 6px; }
  .prices__head { grid-template-columns: 1fr; }
  .seg { overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .seg button { padding: 10px 14px; font-size: .7rem; flex: none; }
  .prices__grid { grid-template-columns: 1fr; }
  .book__inner { grid-template-columns: 1fr; padding: 110px var(--pad); }
  .book__contact li { grid-template-columns: 1fr; gap: 2px; }
  .book__form .row { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; }
  .footer__base details { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .grain { display: none; }
  .story__stamp svg, .scroll-hint i, .film__rec i { animation: none; }
  .marquee__row { animation-duration: 120s; }
}
