/* =========================================================
   HOTEL ROYAL COSENZA — design system
   ========================================================= */
:root {
  --ink: #12110f;
  --ink-2: #1b1a17;
  --ink-3: #262420;
  --cream: #f4eee4;
  --cream-2: #e9e0d1;
  --muted: #a39d92;
  --gold: #d9a35b;
  --gold-2: #f0c27f;
  --line: rgba(244, 238, 228, .14);
  --line-dark: rgba(18, 17, 15, .12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.77, 0, .175, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(16px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--sans); background: var(--ink); color: var(--cream); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--ink); }

.wrap { padding-inline: var(--pad); max-width: 1600px; margin-inline: auto; }
.serif { font-family: var(--serif); }
.it { font-style: italic; }
.gold { color: var(--gold); }

.label { font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; font-weight: 600; color: var(--gold); display: inline-flex; align-items: center; gap: .9rem; }
.label::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.display { font-family: var(--serif); font-weight: 400; line-height: .95; letter-spacing: -.02em; }
.h-xl { font-size: clamp(3.2rem, 9vw, 9rem); }
.h-lg { font-size: clamp(2.6rem, 6vw, 5.6rem); }
.h-md { font-size: clamp(2rem, 3.8vw, 3.4rem); }
.lead { font-size: clamp(1.02rem, 1.2vw, 1.15rem); color: var(--muted); max-width: 54ch; }

/* split text helpers */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; }
.split-line > span { display: inline-block; will-change: transform; }
.char { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: .8rem; padding: 1.05rem 1.9rem; border-radius: 100px; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; overflow: hidden; isolation: isolate; transition: color .5s var(--ease-out); white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--cream); transform: translateY(101%); transition: transform .6s var(--ease-out); z-index: -1; }
.btn:hover::before { transform: none; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-line { border: 1px solid var(--line); color: var(--cream); }
.btn-line:hover { color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark::before { background: var(--gold); }
.btn-dark:hover { color: var(--ink); }
.btn .arrow { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px) rotate(-45deg); }

.link-u { position: relative; display: inline-block; }
.link-u::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out); }
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: transform .7s var(--ease-out), background .5s, backdrop-filter .5s; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 92px; transition: height .5s var(--ease-out); }
.header.scrolled { background: rgba(18, 17, 15, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header.scrolled .wrap { height: 72px; }
.header.hide { transform: translateY(-100%); }
.header .logo img { height: 52px; width: auto; transition: height .5s var(--ease-out); }
.header.scrolled .logo img { height: 42px; }
.header-right { display: flex; align-items: center; gap: 1.4rem; }
.header .tel { font-size: .82rem; letter-spacing: .08em; color: var(--muted); }
.header .tel:hover { color: var(--cream); }
.menu-btn { display: flex; align-items: center; gap: .8rem; font-size: .78rem; letter-spacing: .25em; text-transform: uppercase; font-weight: 700; }
.menu-btn .bars { width: 34px; height: 12px; position: relative; }
.menu-btn .bars i { position: absolute; left: 0; height: 1.5px; background: var(--cream); width: 100%; transition: transform .6s var(--ease-out), width .6s var(--ease-out); }
.menu-btn .bars i:first-child { top: 0; }
.menu-btn .bars i:last-child { bottom: 0; width: 60%; }
.menu-btn:hover .bars i:last-child { width: 100%; }
body.menu-open .menu-btn .bars i:first-child { transform: translateY(5px) rotate(45deg); }
body.menu-open .menu-btn .bars i:last-child { width: 100%; transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 760px) {
  .header .tel, .header .btn { display: none; }
  .header .wrap { height: 72px; }
  .header .logo img { height: 40px; }
}

/* ---------- Fullscreen menu ---------- */
.menu { position: fixed; inset: 0; z-index: 90; background: var(--ink-2); display: grid; grid-template-columns: 1.2fr 1fr; clip-path: inset(0 0 100% 0); visibility: hidden; }
.menu-links { display: flex; flex-direction: column; justify-content: center; padding: 120px var(--pad) 60px; gap: .2rem; counter-reset: m; }
.menu-links a { font-family: var(--serif); font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 1.05; display: flex; align-items: baseline; gap: 1.2rem; overflow: hidden; color: rgba(244, 238, 228, .9); transition: color .4s; }
.menu-links a span { display: inline-block; }
.menu-links a::before { counter-increment: m; content: "0" counter(m); font-family: var(--sans); font-size: .75rem; letter-spacing: .2em; color: var(--gold); transform: translateY(-1.6em); }
.menu-links:hover a { color: rgba(244, 238, 228, .25); }
.menu-links a:hover { color: var(--cream); font-style: italic; }
.menu-media { position: relative; overflow: hidden; }
.menu-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity .8s var(--ease-out), transform 1.4s var(--ease-out); }
.menu-media img.on { opacity: 1; transform: scale(1); }
.menu-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink-2), transparent 40%); }
.menu-foot { position: absolute; left: var(--pad); bottom: 32px; display: flex; gap: 2rem; flex-wrap: wrap; font-size: .82rem; color: var(--muted); z-index: 2; }
.menu-foot a:hover { color: var(--gold); }
@media (max-width: 860px) {
  .menu { grid-template-columns: 1fr; }
  .menu-media { display: none; }
  .menu-foot { flex-direction: column; gap: .4rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; will-change: transform, clip-path; }
.hero-media .slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.15); transition: opacity 1.8s var(--ease-out), transform 9s linear; }
.hero-media .slide.on { opacity: 1; transform: scale(1); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 60%, rgba(18,17,15,.25), rgba(18,17,15,.75)), linear-gradient(180deg, rgba(18,17,15,.5) 0%, transparent 30%, rgba(18,17,15,.85) 100%); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 210px; }
.hero-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--cream-2); }
.hero-top .stars { color: var(--gold); letter-spacing: .25em; }
.hero h1 { font-size: min(19vw, 23svh, 20rem); line-height: .82; letter-spacing: -.04em; font-weight: 400; }
.hero h1 .it { color: var(--gold); }
.hero-sub { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-sub p { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.8rem); font-style: italic; max-width: 26ch; line-height: 1.25; }
.hero-scroll { position: absolute; right: var(--pad); bottom: 40px; z-index: 3; display: flex; align-items: center; gap: 1rem; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; }
.hero-scroll::after { content: ""; width: 1px; height: 70px; background: linear-gradient(var(--gold), transparent); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero-progress { position: absolute; left: var(--pad); bottom: 40px; z-index: 3; display: flex; gap: 8px; }
.hero-progress button { width: 44px; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.hero-progress button i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero-progress button.on i { animation: fill 6s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }

/* booking pill */
.booking { position: absolute; z-index: 4; left: 0; right: 0; margin-inline: auto; bottom: 96px; width: min(980px, calc(100% - 2 * var(--pad))); }
.booking form { display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: center; background: rgba(244, 238, 228, .08); border: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-radius: 100px; padding: 8px 8px 8px 12px; }
.booking label { display: flex; flex-direction: column; padding: .4rem 1.3rem; border-right: 1px solid var(--line); font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.booking label:nth-child(4) { border: 0; }
.booking input, .booking select { background: transparent; border: 0; outline: 0; color: var(--cream); font: 600 .98rem var(--sans); padding-top: .2rem; color-scheme: dark; width: 100%; }
.booking select option { background: var(--ink-2); }
@media (max-width: 900px) {
  .booking { position: relative; bottom: 0; width: auto; margin: 0 var(--pad); }
  .booking form { grid-template-columns: 1fr 1fr; border-radius: 22px; padding: 10px; gap: 4px; }
  .booking label { border: 0; padding: .7rem .9rem; background: rgba(244,238,228,.04); border-radius: 14px; }
  .booking .btn { grid-column: 1 / -1; justify-content: center; }
  .hero-content { padding-bottom: 110px; }
  .hero-scroll { display: none; }
}
.booking-mobile { display: none; background: var(--ink); padding: 24px 0 8px; }
@media (max-width: 900px) { .booking-mobile { display: block; } .hero .booking { display: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(90px, 14vw, 200px) 0; position: relative; }
.light { background: var(--cream); color: var(--ink); }
.light .lead { color: #6b655b; }
.light .label { color: #a8743a; }
.light .btn-line { border-color: var(--line-dark); color: var(--ink); }
.light .btn-line::before { background: var(--ink); }
.light .btn-line:hover { color: var(--cream); }

/* manifesto */
.manifesto { text-align: left; }
.manifesto .label { margin-bottom: 3rem; }
.manifesto p.big { font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 4.4rem); line-height: 1.12; letter-spacing: -.01em; max-width: 22ch; }
.manifesto .word { display: inline-block; opacity: .14; transition: none; }
.manifesto .row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 5rem; align-items: end; }
.manifesto .row p { color: var(--muted); max-width: 52ch; }
@media (max-width: 860px) { .manifesto .row { grid-template-columns: 1fr; gap: 2rem; } }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 2.2rem 0; white-space: nowrap; background: var(--ink); }
.marquee-track { display: inline-flex; gap: 3rem; animation: marquee 38s linear infinite; will-change: transform; }
.marquee span { font-family: var(--serif); font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: 1; display: inline-flex; align-items: center; gap: 3rem; }
.marquee span.out { color: transparent; -webkit-text-stroke: 1px rgba(244,238,228,.45); font-style: italic; }
.marquee span::after { content: "✦"; font-size: .4em; color: var(--gold); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* about */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 8rem); align-items: center; }
.about-media { position: relative; height: clamp(520px, 70vw, 820px); }
.about-media figure { position: absolute; overflow: hidden; border-radius: 4px; }
.about-media figure img { width: 100%; height: 120%; object-fit: cover; }
.about-media .f1 { inset: 0 25% 18% 0; }
.about-media .f2 { width: 46%; height: 46%; right: 0; bottom: 0; border: 10px solid var(--cream); }
.about-media .badge { position: absolute; left: 62%; top: 8%; width: 132px; height: 132px; z-index: 2; }
.about-media .badge svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.about-media .badge text { font: 700 10.5px var(--sans); letter-spacing: .32em; fill: var(--ink); text-transform: uppercase; }
.about-media .badge b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 2.6rem; color: #a8743a; font-weight: 400; }
@keyframes spin { to { transform: rotate(360deg); } }
.about h2 { margin: 1.5rem 0 2rem; }
.about p + p { margin-top: 1.2rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 3rem 0; padding-top: 2.5rem; border-top: 1px solid var(--line-dark); }
.stats strong { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 3.8rem); font-weight: 400; line-height: 1; }
.stats span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #8a8378; }
@media (max-width: 960px) { .about { grid-template-columns: 1fr; } .about-media { height: 120vw; max-height: 640px; } }

/* rooms horizontal */
.rooms { overflow: hidden; }
.rooms-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 4rem; }
.rooms-head .counter { font-family: var(--serif); font-size: 1.4rem; color: var(--muted); }
.rooms-head .counter b { color: var(--cream); font-weight: 400; font-size: 2.4rem; }
.rooms-track { display: flex; gap: clamp(16px, 2.4vw, 36px); padding-inline: var(--pad); width: max-content; will-change: transform; }
.room { position: relative; width: clamp(300px, 34vw, 560px); flex: none; display: block; }
.room .ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.room .ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.4s var(--ease-out), filter 1s; filter: saturate(.85); }
.room:hover .ph img { transform: scale(1.02); filter: saturate(1.05); }
.room .num { position: absolute; top: 18px; left: 20px; font-size: .75rem; letter-spacing: .2em; color: var(--cream); z-index: 2; }
.room .tour-tag { position: absolute; top: 14px; right: 14px; z-index: 2; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; background: var(--gold); color: var(--ink); padding: .45rem .8rem; border-radius: 100px; }
.room .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: 1.4rem; }
.room h3 { font-family: var(--serif); font-size: clamp(1.7rem, 2.4vw, 2.4rem); font-weight: 400; line-height: 1.05; }
.room .meta small { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.room-end { width: clamp(260px, 26vw, 420px); flex: none; display: flex; flex-direction: column; justify-content: center; gap: 1.6rem; padding: 0 2rem; }
.rooms-bar { margin: 4rem var(--pad) 0; height: 1px; background: var(--line); position: relative; }
.rooms-bar i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
@media (max-width: 860px) {
  .rooms-track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: none; }
  .rooms-track::-webkit-scrollbar { display: none; }
  .room { width: 78vw; scroll-snap-align: start; }
  .rooms-bar { display: none; }
}

/* feature (restaurant / meeting) */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(3rem, 7vw, 8rem); align-items: center; }
.feature.flip > :first-child { order: 2; }
.feature-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.feature-media img { width: 100%; height: 125%; object-fit: cover; }
.feature-media .tag { position: absolute; left: 20px; bottom: 20px; background: var(--cream); color: var(--ink); padding: .6rem 1rem; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; border-radius: 100px; }
.feature h2 { margin: 1.5rem 0 2rem; }
.feature p + p { margin-top: 1.1rem; }
.feature .btn { margin-top: 2.6rem; }
.feature-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.feature-mini img { aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 2rem; margin-top: 2rem; }
.checks li { padding: .85rem 0; border-bottom: 1px solid var(--line); display: flex; gap: .8rem; align-items: center; font-size: .95rem; }
.light .checks li { border-color: var(--line-dark); }
.checks li::before { content: "✦"; color: var(--gold); font-size: .7rem; }
@media (max-width: 960px) { .feature { grid-template-columns: 1fr; } .feature.flip > :first-child { order: 0; } .checks { grid-template-columns: 1fr; } }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); margin-top: 4rem; }
.service { position: relative; padding: 2.6rem 2rem; border-bottom: 1px solid var(--line-dark); border-right: 1px solid var(--line-dark); overflow: hidden; isolation: isolate; transition: color .5s var(--ease-out); }
.service:nth-child(3n) { border-right: 0; }
.service::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease-out); z-index: -1; }
.service:hover { color: var(--cream); }
.service:hover::before { transform: none; }
.service svg { width: 44px; height: 44px; stroke: #a8743a; fill: none; stroke-width: 1.2; margin-bottom: 2.2rem; transition: transform .7s var(--ease-out), stroke .5s; }
.service:hover svg { transform: translateY(-6px) rotate(-6deg); stroke: var(--gold); }
.service h3 { font-family: var(--serif); font-size: 1.8rem; font-weight: 400; line-height: 1.1; }
.service .n { position: absolute; top: 2rem; right: 2rem; font-size: .72rem; letter-spacing: .2em; color: #a39d92; }
@media (max-width: 860px) { .services { grid-template-columns: 1fr 1fr; } .service:nth-child(3n) { border-right: 1px solid var(--line-dark); } .service:nth-child(2n) { border-right: 0; } }
@media (max-width: 520px) { .services { grid-template-columns: 1fr; } .service { border-right: 0 !important; } }

/* offer */
.offer-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.offer { perspective: 1200px; }
.offer-card { position: relative; border-radius: 24px; padding: clamp(2rem, 4vw, 3.4rem); background: linear-gradient(145deg, #2a2722, #15140f); border: 1px solid var(--line); transform-style: preserve-3d; transition: transform .2s ease-out; overflow: hidden; }
.offer-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(217,163,91,.28), transparent 60%); pointer-events: none; }
.offer-card .top { display: flex; justify-content: space-between; align-items: center; font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.offer-card .price { font-family: var(--serif); font-size: clamp(7rem, 14vw, 12rem); line-height: .9; margin: 2rem 0 .5rem; transform: translateZ(40px); }
.offer-card .price sup { font-size: .32em; vertical-align: top; color: var(--gold); margin-right: .1em; }
.offer-card .per { color: var(--muted); }
.offer-card .offer-title { font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4.4rem); line-height: 1; margin: 2.2rem 0 1rem; transform: translateZ(40px); }
.offer-card ul { list-style: none; margin: 2rem 0; border-top: 1px solid var(--line); }
.offer-card li { padding: 1rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.offer-card li::after { content: "✓"; color: var(--gold); }
@media (max-width: 960px) { .offer-wrap { grid-template-columns: 1fr; } }

/* tour circle */
.tour { position: relative; height: 100svh; min-height: 600px; overflow: hidden; display: grid; place-items: center; text-align: center; }
.tour-media { position: absolute; inset: 0; clip-path: circle(18% at 50% 50%); will-change: clip-path; }
.tour-media img { width: 100%; height: 100%; object-fit: cover; }
.tour-media::after { content: ""; position: absolute; inset: 0; background: rgba(18,17,15,.45); }
.tour-content { position: relative; z-index: 2; }
.tour-content h2 { margin: 1.4rem 0 2rem; }
.tour-play { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto; background: var(--gold); color: var(--ink); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; position: relative; }
.tour-play::before, .tour-play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold); animation: ping 2.4s var(--ease-out) infinite; }
.tour-play::after { animation-delay: 1.2s; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }

/* gallery strip */
.strip { overflow: hidden; display: flex; flex-direction: column; gap: 16px; padding: 0 0 clamp(90px, 12vw, 160px); }
.strip-row { display: flex; gap: 16px; width: max-content; animation: marquee 60s linear infinite; }
.strip-row.rev { animation-direction: reverse; animation-duration: 70s; }
.strip:hover .strip-row { animation-play-state: paused; }
.strip-row a { width: clamp(220px, 24vw, 380px); aspect-ratio: 3 / 2; flex: none; overflow: hidden; border-radius: 4px; }
.strip-row img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.strip-row a:hover img { transform: scale(1.08); }

/* ---------- Footer ---------- */
.cta-final { text-align: center; padding: clamp(110px, 16vw, 220px) 0; position: relative; overflow: hidden; }
.cta-final .bg { position: absolute; inset: -10% 0; background-size: cover; background-position: center; opacity: .22; }
.cta-final .wrap { position: relative; }
.cta-final h2 { margin: 1.6rem auto 2.6rem; max-width: 14ch; }
.cta-final p { color: var(--muted); max-width: 52ch; margin: -1rem auto 2.6rem; }
.footer { background: var(--ink-2); padding-top: 90px; overflow: hidden; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 70px; border-bottom: 1px solid var(--line); }
.footer img.flogo { height: 64px; width: auto; margin-bottom: 1.4rem; }
.footer h4 { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.4rem; font-weight: 700; }
.footer ul { list-style: none; display: grid; gap: .55rem; }
.footer p, .footer li { color: var(--muted); font-size: .95rem; }
.footer a:hover { color: var(--cream); }
.footer .giant { font-family: var(--serif); font-size: clamp(6rem, 27vw, 30rem); line-height: .78; letter-spacing: -.05em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(244,238,228,.16); padding-top: 3rem; user-select: none; white-space: nowrap; }
.footer .giant .char { transition: color .6s, -webkit-text-stroke .6s; }
.footer .giant .char:hover { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.footer .legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.6rem 0; font-size: .78rem; color: #6f6a61; border-top: 1px solid var(--line); }
@media (max-width: 960px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer .cols { grid-template-columns: 1fr; } }

.wa { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .4s var(--ease-out); }
.wa:hover { transform: scale(1.1) rotate(-8deg); }
.wa svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; height: 92svh; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 115%; object-fit: cover; }
.page-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,17,15,.45), rgba(18,17,15,.2) 40%, rgba(18,17,15,.92)); }
.page-hero .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(50px, 9vh, 100px); display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.page-hero h1 { margin-top: 1.4rem; }
.page-hero p { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.8vw, 1.6rem); max-width: 30ch; color: var(--cream-2); }

/* rooms page: stacked cards */
.room-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; padding-bottom: 5rem; }
.room-nav { display: flex; flex-wrap: wrap; gap: .5rem; }
.room-nav a { border: 1px solid var(--line); border-radius: 100px; padding: .55rem 1.1rem; font-size: .82rem; transition: background .4s, color .4s, border-color .4s; }
.room-nav a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
@media (max-width: 860px) { .room-intro { grid-template-columns: 1fr; gap: 2rem; } }
.stack { position: relative; }
.stack-card { position: sticky; top: 90px; min-height: calc(100svh - 120px); margin-bottom: 4vh; border-radius: 20px; overflow: hidden; display: grid; grid-template-columns: 1.25fr 1fr; background: var(--ink-2); border: 1px solid var(--line); transform-origin: center top; will-change: transform; }
.stack-card:nth-child(even) { background: var(--cream); color: var(--ink); border-color: transparent; }
.stack-card:nth-child(even) .lead { color: #6b655b; }
.stack-card:nth-child(even) .amen li { border-color: var(--line-dark); }
.stack-card:nth-child(even) .btn-line { border-color: var(--line-dark); color: var(--ink); }
.stack-card:nth-child(even) .btn-line::before { background: var(--ink); }
.stack-card:nth-child(even) .btn-line:hover { color: var(--cream); }
.stack-card:nth-child(even) .label { color: #a8743a; }
.sc-media { position: relative; overflow: hidden; min-height: 360px; }
.sc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.1s var(--ease-out), transform 2.2s var(--ease-out); cursor: zoom-in; }
.sc-media img.on { opacity: 1; transform: scale(1); }
.sc-dots { position: absolute; left: 24px; bottom: 24px; display: flex; gap: 8px; z-index: 2; }
.sc-dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); transition: width .4s var(--ease-out), background .4s; }
.sc-dots button.on { width: 30px; border-radius: 10px; background: var(--gold); }
.sc-arrows { position: absolute; right: 20px; bottom: 20px; display: flex; gap: 8px; z-index: 2; }
.sc-arrows button { width: 48px; height: 48px; border-radius: 50%; background: rgba(18,17,15,.5); backdrop-filter: blur(8px); color: #fff; display: grid; place-items: center; font-size: 1.1rem; transition: background .3s; }
.sc-arrows button:hover { background: var(--gold); color: var(--ink); }
.sc-body { padding: clamp(2rem, 4vw, 4rem); display: flex; flex-direction: column; justify-content: center; }
.sc-body .big-n { font-family: var(--serif); font-size: clamp(4rem, 8vw, 7rem); line-height: .8; color: var(--gold); opacity: .4; }
.sc-body h2 { margin: 1rem 0 1.4rem; }
.amen { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.6rem; margin: 2rem 0 2.4rem; }
.amen li { padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; display: flex; gap: .6rem; align-items: center; }
.amen li::before { content: "✦"; color: var(--gold); font-size: .6rem; }
.sc-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
@media (max-width: 960px) {
  .stack-card { grid-template-columns: 1fr; position: relative; top: 0; min-height: 0; }
  .sc-media { aspect-ratio: 4 / 3; }
  .amen { grid-template-columns: 1fr; }
}

/* gallery page */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 3rem; }
.filters button { border: 1px solid var(--line); border-radius: 100px; padding: .7rem 1.3rem; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; transition: background .4s, color .4s, border-color .4s; }
.filters button sup { color: var(--gold); margin-left: .3em; }
.filters button.active, .filters button:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.filters button.active sup { color: #a8743a; }
.g-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(120px, 12vw, 200px); grid-auto-flow: dense; gap: 14px; }
.g-item { position: relative; overflow: hidden; border-radius: 4px; grid-column: span 4; grid-row: span 2; cursor: zoom-in; }
.g-item:nth-child(7n+1) { grid-column: span 6; grid-row: span 3; }
.g-item:nth-child(7n+4) { grid-column: span 4; grid-row: span 3; }
.g-item:nth-child(7n+6) { grid-column: span 8; grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .8s; }
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption { position: absolute; left: 16px; bottom: 14px; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; background: rgba(18,17,15,.6); backdrop-filter: blur(8px); padding: .4rem .8rem; border-radius: 100px; transform: translateY(150%); transition: transform .6s var(--ease-out); }
.g-item:hover figcaption { transform: none; }
.g-item.hidden { display: none; }
@media (max-width: 760px) {
  .g-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; }
  .g-item, .g-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .g-item:nth-child(5n+1) { grid-column: span 2; }
}

.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(12,11,10,.96); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 20px var(--pad); font-size: .78rem; letter-spacing: .2em; color: var(--muted); }
.lb-close { font-size: .78rem; letter-spacing: .25em; text-transform: uppercase; font-weight: 700; display: flex; align-items: center; gap: .8rem; }
.lb-close i { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 1.1rem; transition: background .3s, transform .5s var(--ease-out); }
.lb-close:hover i { background: var(--gold); color: var(--ink); transform: rotate(90deg); }
.lb-stage { position: relative; display: grid; place-items: center; overflow: hidden; padding: 0 var(--pad); }
.lb-stage img { max-width: 100%; max-height: 76svh; object-fit: contain; border-radius: 4px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.3rem; transition: background .3s, color .3s; z-index: 2; background: rgba(18,17,15,.4); }
.lb-nav:hover { background: var(--gold); color: var(--ink); }
.lb-prev { left: var(--pad); } .lb-next { right: var(--pad); }
.lb-thumbs { display: flex; gap: 8px; padding: 16px var(--pad) 24px; overflow-x: auto; scrollbar-width: none; justify-content: safe center; }
.lb-thumbs img { width: 76px; height: 52px; object-fit: cover; border-radius: 3px; opacity: .35; transition: opacity .3s; cursor: pointer; flex: none; }
.lb-thumbs img.on { opacity: 1; outline: 1px solid var(--gold); outline-offset: 2px; }

/* contact page */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(3rem, 7vw, 8rem); }
.c-items { margin-top: 3rem; border-top: 1px solid var(--line); }
.c-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 1rem; align-items: center; padding: 1.6rem 0; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; isolation: isolate; }
.c-item small { font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.c-item span { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.2; transition: transform .6s var(--ease-out); }
.c-item .go { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background .4s, transform .6s var(--ease-out), color .4s; }
a.c-item:hover span { transform: translateX(10px); }
a.c-item:hover .go { background: var(--gold); color: var(--ink); transform: rotate(-45deg); border-color: var(--gold); }
.c-form { background: var(--cream); color: var(--ink); border-radius: 24px; padding: clamp(1.8rem, 4vw, 3.4rem); }
.c-form h2 { margin: 1rem 0 .8rem; }
.c-form .lead { color: #6b655b; margin-bottom: 2rem; }
.c-form .label { color: #a8743a; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.4rem; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(18,17,15,.22); background: transparent; padding: 1.4rem 0 .6rem; font: 500 1rem var(--sans); color: var(--ink); outline: none; border-radius: 0; }
.field textarea { min-height: 110px; resize: vertical; }
.field label { position: absolute; left: 0; top: 1.3rem; font-size: .95rem; color: #8a8378; pointer-events: none; transition: transform .4s var(--ease-out), font-size .4s, color .4s; transform-origin: left; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field.date label { transform: translateY(-1.3rem); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: #a8743a; }
.field::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.field:focus-within::after { transform: scaleX(1); }
.consent { grid-column: 1 / -1; display: flex; gap: .7rem; align-items: flex-start; font-size: .85rem; color: #6b655b; }
.consent input { margin-top: .25rem; accent-color: #a8743a; }
.form-actions { grid-column: 1 / -1; margin-top: .6rem; }
.map { height: 70svh; min-height: 420px; position: relative; overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
.map .pin { position: absolute; left: var(--pad); bottom: var(--pad); background: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem 1.6rem; max-width: 340px; }
.map .pin strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; display: block; }
.map .pin p { color: var(--muted); font-size: .9rem; margin: .3rem 0 1rem; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } .fields { grid-template-columns: 1fr; } .c-item { grid-template-columns: 1fr auto; } .c-item small { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track, .strip-row { animation: none; }
}

/* pinned rooms must fit one viewport on desktop */
@media (min-width: 861px) {
  .rooms.section { padding: 110px 0 50px; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  .rooms .rooms-head { margin-bottom: 2.4rem; }
  .room .ph { aspect-ratio: auto; height: min(52vh, 620px); }
  .room { width: min(34vw, 52vh * .82); min-width: 320px; }
  .rooms-bar { margin-top: 2.4rem; }
}
