/* =====================================================
   ALLEY by FLAT06. — "Gang Kayu"
   Greige walls, oak battens, charcoal steel.
   Type: Instrument Serif (display) + Figtree (text and labels).
   ===================================================== */

:root {
    --wall: #efe9e0;
    --paper: #faf7f2;
    --white: #ffffff;
    --ink: #26221e;
    --muted: #6d645a;
    --steel: #2a2b2d;
    --steel-deep: #1c1d1f;
    --on-steel: #f1ebe1;
    --on-steel-muted: #b8afa2;
    --oak: #a9743f;
    --oak-light: #cb9a62;
    --oak-deep: #8a5a2e;
    --oak-btn: #96622d;
    --line: rgba(38, 34, 30, .13);
    --line-steel: rgba(241, 235, 225, .16);
    --shadow: 0 1px 2px rgba(38, 34, 30, .05), 0 18px 44px -18px rgba(38, 34, 30, .28);
    --shadow-lift: 0 2px 4px rgba(38, 34, 30, .06), 0 30px 60px -22px rgba(38, 34, 30, .38);
    --font-display: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
    --font-text: "Figtree", "Segoe UI", system-ui, sans-serif;
    --gutter: clamp(20px, 4vw, 48px);
    --section: clamp(72px, 10vw, 136px);
    --nav-h: 78px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    /* oak battens in front of a dark wall, each one lit from the left */
    --slats: repeating-linear-gradient(90deg,
        #c08d55 0, #b17b45 3px, #a9743f 10px, #8d5c2f 15px, #1c1d1f 15px, #1c1d1f 22px);
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--wall);
    color: var(--ink);
    font-family: var(--font-text);
    font-size: 1.0625rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }

::selection { background: var(--oak); color: #fff; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: 1.08; letter-spacing: -0.005em; text-wrap: balance; }
em { font-style: italic; }

:focus-visible { outline: 2px solid var(--oak-light); outline-offset: 3px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.container {
    max-width: 1220px;
    margin-inline: auto;
    padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.section { padding-block: var(--section); }
.section-paper { background: var(--paper); }
.section-steel { background: var(--steel); color: var(--on-steel); }

/* Small caps label with a three-batten mark: the site's recurring signature */
.section-label {
    display: inline-flex; align-items: center; gap: 14px;
    font: 600 0.74rem/1 var(--font-text); letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--oak-deep);
}
.section-label::before {
    content: ""; width: 20px; height: 16px; flex: none;
    background: repeating-linear-gradient(90deg, var(--oak) 0 3px, transparent 3px 8.5px);
}
.on-dark .section-label, .section-steel .section-label { color: var(--oak-light); }
.on-dark .section-label::before, .section-steel .section-label::before { background: repeating-linear-gradient(90deg, var(--oak-light) 0 3px, transparent 3px 8.5px); }

.section-title { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
.section-title em { color: var(--oak-deep); }
.on-dark .section-title em, .section-steel .section-title em { color: var(--oak-light); }
.section-description { max-width: 58ch; color: var(--muted); font-size: 1.08rem; }
.on-dark .section-description, .section-steel .section-description { color: var(--on-steel-muted); }

.section-head { display: grid; gap: 20px; justify-items: center; text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .section-description { margin-inline: auto; }

.slats { height: 34px; background: var(--slats); box-shadow: inset 0 6px 10px -6px rgba(0, 0, 0, .55), inset 0 -6px 10px -6px rgba(0, 0, 0, .45); }

/* ---------- Buttons ---------- */
.btn {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    min-height: 52px; padding: 0 30px;
    border: 1px solid var(--oak-btn); border-radius: 0;
    background: var(--oak-btn); color: #fff;
    font: 600 0.78rem/1 var(--font-text); letter-spacing: 0.2em; text-transform: uppercase;
    text-decoration: none; cursor: pointer;
    transition: color .35s var(--ease), border-color .35s var(--ease);
}
.btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: var(--steel-deep);
    transform: scaleX(0); transform-origin: right center;
    transition: transform .45s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left center; }
.btn:hover { border-color: var(--steel-deep); color: #fff; }
.btn .icon { width: 18px; height: 18px; }

.btn-secondary, .btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary::before, .btn-outline::before { background: var(--ink); }
.btn-secondary:hover, .btn-outline:hover { color: var(--paper); border-color: var(--ink); }

.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn[disabled]::before { display: none; }

.on-dark .btn::before { background: var(--paper); }
.on-dark .btn:hover { color: var(--ink); border-color: var(--paper); }
.on-dark .btn-secondary, .on-dark .btn-outline { color: var(--paper); border-color: rgba(250, 247, 242, .7); }

.text-link {
    display: inline-flex; align-items: center; gap: 12px;
    font: 600 0.76rem/1 var(--font-text); letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--oak-deep); text-decoration: none;
}
.text-link .icon { width: 26px; height: 18px; transition: transform .4s var(--ease); }
.text-link:hover .icon { transform: translateX(6px); }
.on-dark .text-link { color: var(--oak-light); }

/* ---------- Navigation ---------- */
.navbar {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    height: var(--nav-h);
    background: rgba(28, 29, 31, .94);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    color: var(--on-steel);
    border-bottom: 1px solid var(--line-steel);
    transition: background-color .4s var(--ease), border-color .4s var(--ease), height .4s var(--ease);
}
.nav-container {
    height: 100%; max-width: 1340px; margin-inline: auto;
    padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
    display: flex; align-items: center; gap: 36px;
}
.nav-logo { display: grid; gap: 5px; justify-items: start; text-decoration: none; margin-right: auto; }
.logo-mark {
    display: block; width: 96px; aspect-ratio: 900 / 314;
    background: currentColor;
    -webkit-mask: url("../assets/images/alley-logo.png") center / contain no-repeat;
    mask: url("../assets/images/alley-logo.png") center / contain no-repeat;
}
.logo-subtext { font: 600 0.58rem/1 var(--font-text); letter-spacing: 0.3em; text-transform: uppercase; color: var(--oak-light); white-space: nowrap; }
.nav-menu { display: flex; gap: 34px; }
.nav-link { position: relative; text-decoration: none; font: 600 0.74rem/1 var(--font-text); letter-spacing: 0.2em; text-transform: uppercase; padding: 10px 0; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--oak-light); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { min-height: 44px; padding: 0 22px; }
.navbar .nav-cta::before { background: var(--paper); }
.navbar .nav-cta:hover { color: var(--ink); border-color: var(--paper); }
.hamburger { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.hamburger span { display: block; width: 26px; height: 1.5px; margin: 7px auto; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.hamburger.active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* Home only: the bar floats on the hero until the page scrolls */
.navbar.over-hero:not(.scrolled):not(.menu-open) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; height: 96px; }

@media (max-width: 960px) {
    .hamburger { display: block; }
    .nav-cta { display: none; }
    .nav-menu {
        /* The bar's backdrop-filter makes the bar, not the screen, the containing block of this fixed panel, so
           "bottom: 0" left it with no height (the menu opened as a thin strip). Size it from the viewport. */
        position: fixed; top: var(--nav-h); left: 0; right: 0;
        height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h));
        display: none; flex-direction: column; gap: 0;
        padding: 20px var(--gutter) 40px;
        background: var(--steel-deep); color: var(--on-steel);
        overflow-y: auto;
    }
    .nav-menu.active { display: flex; }
    .nav-menu .nav-link { display: block; padding: 20px 0; border-bottom: 1px solid var(--line-steel); font: 400 2rem/1.1 var(--font-display); letter-spacing: 0; text-transform: none; }
    .nav-menu .nav-link::after { display: none; }
    .nav-menu .nav-link.active { color: var(--oak-light); }
    .nav-menu .nav-menu-cta { margin-top: 32px; }
    .nav-menu .nav-menu-cta .btn { width: 100%; }
    .navbar.over-hero:not(.scrolled):not(.menu-open) { height: var(--nav-h); }
}
@media (min-width: 961px) { .nav-menu .nav-menu-cta { display: none; } }

/* ---------- Home hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; max-height: 1100px; display: grid; place-items: center; color: #fbf7f0; background: var(--steel-deep); overflow: hidden; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.8s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero-slide.active img { animation: hero-drift 9s ease-out forwards; }
@keyframes hero-drift { from { transform: scale(1.02); } to { transform: scale(1.12); } }
/* A slide can play a short clip over its photo. The photo stays underneath as the poster and as the
   fallback: the clip only fades in once it is really playing (main.js adds .playing). */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.hero-video.playing { opacity: 1; }
/* The garden walk clip has a figure in a white shirt walking through the centre, right behind the logo
   and the tagline, so that slide gets a little more shade there. */
.hero-slide.extra-shade::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 46%, rgba(20, 16, 12, .42) 0, rgba(20, 16, 12, .16) 48%, rgba(20, 16, 12, 0) 74%); }
.hero-overlay { position: absolute; inset: 0; background:
    radial-gradient(ellipse at 50% 46%, rgba(20, 16, 12, .5) 0, rgba(20, 16, 12, .2) 46%, rgba(20, 16, 12, 0) 72%),
    linear-gradient(180deg, rgba(20, 16, 12, .6) 0, rgba(20, 16, 12, .1) 30%, rgba(20, 16, 12, .2) 62%, rgba(20, 16, 12, .78) 100%); }
.hero-content { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; padding-top: 40px; }
.hero-title { display: grid; justify-items: center; gap: 18px; }
.hero-title .logo-mark { width: clamp(230px, 34vw, 470px); filter: drop-shadow(0 2px 8px rgba(20, 16, 12, .4)) drop-shadow(0 4px 30px rgba(0, 0, 0, .35)); }
.hero-by { font: 600 clamp(0.72rem, 1vw, 0.86rem)/1 var(--font-text); letter-spacing: 0.46em; text-transform: uppercase; padding-left: 0.46em; text-shadow: 0 1px 10px rgba(20, 16, 12, .7); }
.hero-rule { width: 64px; height: 18px; margin-block: 30px 26px; background: repeating-linear-gradient(90deg, var(--oak-light) 0 3px, transparent 3px 8.7px); }
.hero-tagline { font: 400 clamp(1.7rem, 3.3vw, 2.7rem)/1.15 var(--font-display); font-style: italic; text-shadow: 0 1px 16px rgba(20, 16, 12, .6); }
.hero-text { margin-top: 14px; max-width: 44ch; font-size: clamp(1rem, 1.3vw, 1.12rem); color: #ece3d6; text-shadow: 0 1px 12px rgba(20, 16, 12, .7); }
.hero-buttons, .cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-buttons { justify-content: center; }
.hero-foot { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; }
.hero-foot .container { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 30px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 34px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.hero-dot::before { content: ""; height: 2px; background: rgba(251, 247, 240, .38); transition: background-color .4s; }
.hero-dot.active::before { background: var(--oak-light); }
.scroll-indicator { display: grid; justify-items: center; gap: 10px; font: 600 0.62rem/1 var(--font-text); letter-spacing: 0.3em; text-transform: uppercase; color: #ece3d6; text-decoration: none; }
.scroll-indicator::after { content: ""; width: 1px; height: 46px; background: linear-gradient(180deg, var(--oak-light), rgba(203, 154, 98, 0)); animation: scroll-cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes scroll-cue { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero-caption { font: 500 0.7rem/1 var(--font-text); letter-spacing: 0.18em; text-transform: uppercase; color: #ece3d6; }
@media (max-width: 700px) { .hero-caption { display: none; } .hero-foot .container { justify-content: center; } .hero-dots { display: none; } }

/* ---------- Location (home) ---------- */
.location-highlight .container { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.collage { position: relative; padding: 0 16% 13% 0; }
.collage-main { aspect-ratio: 4 / 5; overflow: hidden; box-shadow: var(--shadow); }
.collage-main img, .collage-inset img { width: 100%; height: 100%; object-fit: cover; }
.collage-inset { position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 1 / 1; overflow: hidden; border: 10px solid var(--wall); box-shadow: var(--shadow); }
.collage::before { content: ""; position: absolute; left: -22px; bottom: 5%; width: 44px; height: 38%; background: var(--slats); z-index: 1; box-shadow: var(--shadow); }
.location-text { display: grid; gap: 24px; justify-items: start; }
.location-fact { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-block: 1px solid var(--line); width: 100%; text-decoration: none; font-weight: 500; transition: color .3s; }
.location-fact .icon { width: 30px; height: 30px; color: var(--oak); }
.location-fact:hover { color: var(--oak-deep); }
@media (max-width: 860px) {
    .location-highlight .container { grid-template-columns: 1fr; }
    .collage { max-width: 520px; }
    .collage::before { left: -10px; width: 30px; }
}

/* ---------- Feature cards (home) ---------- */
.features-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); padding-bottom: var(--section); }
.feature-card { position: relative; display: block; aspect-ratio: 5 / 4; overflow: hidden; color: #fbf7f0; text-decoration: none; background: var(--steel-deep); box-shadow: var(--shadow); }
.feature-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.feature-card:hover img { transform: scale(1.06); }
.feature-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 16, 12, 0) 24%, rgba(20, 16, 12, .66) 58%, rgba(20, 16, 12, .9) 100%); }
.feature-content { position: absolute; z-index: 1; inset: auto 0 0 0; padding: clamp(22px, 3.4vw, 44px); display: grid; gap: 10px; justify-items: start; }
.feature-content h3 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); }
.feature-content p { max-width: 40ch; color: #ece3d6; }
.feature-content .text-link { margin-top: 8px; color: var(--oak-light); }
.feature-card:hover .text-link .icon { transform: translateX(6px); }
@media (max-width: 760px) { .features-grid { grid-template-columns: 1fr; } .feature-card { aspect-ratio: 4 / 3; } }

/* ---------- Amenities ---------- */
.amenities-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.amenity-item { display: grid; justify-items: center; align-content: start; gap: 8px; text-align: center; padding: 8px clamp(10px, 1.6vw, 24px); border-left: 1px solid var(--line); }
.amenity-item:first-child { border-left: 0; }
.amenity-item .icon { width: 64px; height: 64px; color: var(--oak); margin-bottom: 14px; }
.amenity-item h4 { font-size: 1.6rem; }
.amenity-item p { color: var(--muted); font-size: 0.96rem; line-height: 1.55; max-width: 22ch; }
.amenity-item a { text-underline-offset: 4px; text-decoration-color: var(--oak); }
@media (max-width: 1060px) {
    .amenities-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
    .amenity-item:nth-child(3n + 1) { border-left: 0; }
}
@media (max-width: 600px) {
    .amenities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
    .amenity-item, .amenity-item:nth-child(3n + 1) { border-left: 1px solid var(--line); }
    .amenity-item:nth-child(2n + 1) { border-left: 0; }
}

/* ---------- Signature facility (home): photo with an overlapping panel ---------- */
.signature { position: relative; padding-bottom: clamp(48px, 7vw, 96px); background: var(--wall); }
.signature-photo { height: clamp(380px, 56vw, 700px); overflow: hidden; }
.signature-photo img { width: 100%; height: 100%; object-fit: cover; }
.signature-panel { position: relative; margin-top: clamp(-200px, -15vw, -80px); margin-left: auto; width: min(560px, 100%); background: var(--steel); color: var(--on-steel); padding: clamp(32px, 4.6vw, 64px); display: grid; gap: 20px; justify-items: start; box-shadow: var(--shadow-lift); }
.signature-panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--slats); }
.signature-panel h2 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); }
.signature-panel p { color: var(--on-steel-muted); }
.hours { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; color: var(--on-steel) !important; }
.hours .icon { width: 24px; height: 24px; color: var(--oak-light); }

/* ---------- Split sections (facilities) ---------- */
.rooftop-section { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); background: var(--steel); color: var(--on-steel); }
.rooftop-section + .rooftop-section { border-top: 1px solid var(--line-steel); }
.rooftop-images { min-height: 420px; overflow: hidden; background: var(--steel-deep); }
.rooftop-images img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.rooftop-section:hover .rooftop-images img { transform: scale(1.04); }
.rooftop-content { padding: clamp(44px, 7vw, 110px) clamp(24px, 6vw, 96px); display: grid; gap: 20px; align-content: center; justify-items: start; }
.rooftop-content h2 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); }
.rooftop-content p { color: var(--on-steel-muted); max-width: 48ch; }
.rooftop-section.reverse .rooftop-images { order: 2; }
@media (max-width: 860px) {
    .rooftop-section { grid-template-columns: 1fr; }
    .rooftop-section.reverse .rooftop-images { order: 0; }
    .rooftop-images { aspect-ratio: 4 / 3; min-height: 0; }
}

/* ---------- CTA band ---------- */
.cta-section { position: relative; background: var(--steel-deep); color: var(--on-steel); padding-block: clamp(80px, 11vw, 150px); text-align: center; overflow: hidden; }
.cta-section::before, .cta-section::after { content: ""; position: absolute; top: 0; bottom: 0; width: min(24vw, 330px); background: var(--slats); }
.cta-section::before { left: 0; -webkit-mask-image: linear-gradient(90deg, #000 20%, transparent); mask-image: linear-gradient(90deg, #000 20%, transparent); }
.cta-section::after { right: 0; -webkit-mask-image: linear-gradient(270deg, #000 20%, transparent); mask-image: linear-gradient(270deg, #000 20%, transparent); }
.cta-section .container { position: relative; z-index: 1; display: grid; justify-items: center; gap: 18px; }
.cta-section h2 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); max-width: 16ch; }
.cta-section h2 em { color: var(--oak-light); }
.cta-section p:not(.section-label) { color: var(--on-steel-muted); max-width: 48ch; font-size: 1.08rem; }
.cta-buttons { justify-content: center; margin-top: 18px; }
@media (max-width: 700px) { .cta-section::before, .cta-section::after { width: 22px; -webkit-mask-image: none; mask-image: none; } }

/* ---------- Page header (inner pages) ---------- */
.page-header { position: relative; height: clamp(360px, 52vh, 540px); display: grid; align-items: end; color: #fbf7f0; background: var(--steel-deep); overflow: hidden; }
.page-header-media { position: absolute; inset: 0; }
.page-header-media img { width: 100%; height: 100%; object-fit: cover; animation: hero-drift 14s ease-out forwards; }
.page-header::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 16, 12, .66) 0, rgba(20, 16, 12, .3) 34%, rgba(20, 16, 12, .62) 66%, rgba(20, 16, 12, .9) 100%); }
.page-header-text { position: relative; z-index: 1; width: 100%; display: grid; gap: 18px; justify-items: center; text-align: center; padding-bottom: clamp(40px, 6vw, 72px); }
.page-header h1 { font-size: clamp(3.4rem, 9vw, 7rem); line-height: 0.95; }
.page-header .section-label { color: var(--oak-light); }
.page-header .section-label::before { background: repeating-linear-gradient(90deg, var(--oak-light) 0 3px, transparent 3px 8.5px); }

.intro { padding-block: clamp(64px, 9vw, 120px) clamp(48px, 6vw, 80px); text-align: center; }
.intro .container { display: grid; justify-items: center; gap: 24px; }
.intro-text { font: 400 clamp(1.6rem, 2.9vw, 2.4rem)/1.28 var(--font-display); max-width: 40ch; text-wrap: balance; }
.intro-text em { color: var(--oak-deep); }
.intro-note { color: var(--muted); max-width: 56ch; }

/* ---------- Carousel ---------- */
.room-carousel { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--steel-deep); }
.carousel-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.carousel-slide.active { opacity: 1; visibility: visible; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-btn {
    position: absolute; top: 50%; translate: 0 -50%; z-index: 2;
    width: 46px; height: 46px; border: 1px solid rgba(251, 247, 240, .6); border-radius: 50%;
    background: rgba(28, 29, 31, .4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    color: #fff; cursor: pointer; display: grid; place-items: center;
    transition: background-color .3s, border-color .3s;
}
.carousel-btn:hover { background: var(--oak-btn); border-color: var(--oak-btn); }
.carousel-btn::before { content: ""; width: 9px; height: 9px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; }
.carousel-btn.prev { left: 16px; }
.carousel-btn.prev::before { rotate: -135deg; translate: 2px 0; }
.carousel-btn.next { right: 16px; }
.carousel-btn.next::before { rotate: 45deg; translate: -2px 0; }
.carousel-dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; display: flex; justify-content: center; gap: 2px; }
.carousel-dot { width: 30px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.carousel-dot::before { content: ""; height: 2px; margin-inline: 3px; background: rgba(255, 255, 255, .5); transition: background-color .3s; }
.carousel-dot.active::before { background: #fff; }

/* A room type the CMO has not photographed yet */
.room-photo-pending { position: relative; aspect-ratio: 4 / 3; background: var(--slats); display: grid; place-items: center; box-shadow: inset 0 0 80px rgba(0, 0, 0, .4); }
.room-photo-pending span { padding: 14px 22px; background: var(--steel-deep); color: var(--on-steel); font: 600 0.72rem/1 var(--font-text); letter-spacing: 0.22em; text-transform: uppercase; }

/* ---------- Room cards (hotel) ---------- */
.rooms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 44px); padding-bottom: var(--section); }
.room-card { display: grid; align-content: start; background: var(--white); box-shadow: var(--shadow); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.room-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.room-card-content { padding: clamp(24px, 3.2vw, 44px); display: grid; gap: 18px; justify-items: start; }
.room-card-content h3, .longstay-content h3 { font-size: clamp(2.1rem, 3.2vw, 2.9rem); }
.room-size { display: inline-flex; align-items: center; gap: 10px; font: 600 0.74rem/1.4 var(--font-text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--oak-deep); }
.room-size .icon { width: 20px; height: 20px; }
.room-features { display: grid; width: 100%; }
.room-features li { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.98rem; }
.room-features li:last-child { border-bottom: 1px solid var(--line); }
.room-features .icon { width: 24px; height: 24px; color: var(--oak); }
.room-card-wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.room-card-wide .room-photo-pending { aspect-ratio: auto; min-height: 360px; }
.room-card-wide .room-card-content { align-content: center; }
@media (max-width: 800px) {
    .rooms-grid { grid-template-columns: 1fr; }
    .room-card-wide { grid-template-columns: 1fr; }
    .room-card-wide .room-photo-pending { aspect-ratio: 4 / 3; min-height: 0; }
}

/* ---------- Long stay cards ---------- */
.longstay-list { display: grid; gap: clamp(36px, 5vw, 64px); padding-bottom: var(--section); }
.longstay-card { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); background: var(--white); box-shadow: var(--shadow); }
.longstay-card:nth-child(even) .longstay-image { order: 2; }
.longstay-image .room-carousel, .longstay-image .room-photo-pending { height: 100%; aspect-ratio: auto; min-height: 420px; }
.longstay-content { padding: clamp(28px, 4.4vw, 64px); display: grid; gap: 18px; justify-items: start; align-content: center; }
.room-tagline { font: 400 1.35rem/1.3 var(--font-display); font-style: italic; color: var(--muted); max-width: 30ch; }
.mamikos-note { font-size: 0.88rem; color: var(--muted); }
.longstay-content .btn { min-width: 220px; }
@media (max-width: 860px) {
    .longstay-card { grid-template-columns: 1fr; }
    .longstay-card:nth-child(even) .longstay-image { order: 0; }
    .longstay-image .room-carousel, .longstay-image .room-photo-pending { aspect-ratio: 4 / 3; min-height: 0; }
}

/* ---------- Facilities ---------- */
.facilities-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); padding-bottom: var(--section); }
.facility-card { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--steel-deep); color: #fbf7f0; box-shadow: var(--shadow); }
.facility-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.facility-card:hover img { transform: scale(1.06); }
.facility-card-overlay { position: absolute; inset: auto 0 0 0; padding: 90px 28px 28px; background: linear-gradient(180deg, rgba(20, 16, 12, 0), rgba(20, 16, 12, .86)); display: grid; gap: 10px; }
.facility-card-overlay .icon { width: 36px; height: 36px; color: var(--oak-light); }
.facility-card-overlay h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
@media (max-width: 760px) {
    .facilities-grid { grid-template-columns: 1fr; }
    .facility-card { aspect-ratio: 4 / 3; }
}

.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 16px); }
.gallery-item { aspect-ratio: 3 / 4; overflow: hidden; background: var(--steel-deep); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-grid.gallery-six { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.gallery-grid.gallery-six .gallery-item { aspect-ratio: auto; height: clamp(180px, 26vw, 380px); grid-column: span 4; }
.gallery-grid.gallery-six .gallery-item:nth-child(1), .gallery-grid.gallery-six .gallery-item:nth-child(6) { grid-column: span 5; }
.gallery-grid.gallery-six .gallery-item:nth-child(3), .gallery-grid.gallery-six .gallery-item:nth-child(4) { grid-column: span 3; }
@media (max-width: 760px) {
    .gallery-grid, .gallery-grid.gallery-six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery-grid.gallery-six .gallery-item { grid-column: auto !important; height: auto; aspect-ratio: 1 / 1; }
}

/* ---------- Contact ---------- */
.contact-brand { background: var(--paper); padding-block: clamp(64px, 9vw, 120px); text-align: center; }
.contact-brand .container { display: grid; justify-items: center; }
.contact-brand .logo-mark { width: clamp(210px, 30vw, 360px); color: var(--ink); }
.contact-brand-by { margin-top: 16px; font: 600 0.74rem/1 var(--font-text); letter-spacing: 0.44em; text-transform: uppercase; padding-left: 0.44em; color: var(--oak-deep); }
.contact-brand-tagline { margin-top: 30px; font: 400 clamp(1.7rem, 3.2vw, 2.5rem)/1.2 var(--font-display); font-style: italic; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: stretch; }
.contact-info { display: grid; align-content: start; }
.contact-info h2 { font-size: clamp(2.3rem, 4.2vw, 3.4rem); margin-block: 18px 30px; }
.contact-item { border-top: 1px solid var(--line); padding-block: 18px; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 18px; align-items: start; }
.contact-item:last-of-type { border-bottom: 1px solid var(--line); }
.contact-item .icon { width: 30px; height: 30px; color: var(--oak); margin-top: 2px; }
.contact-item h4 { font: 600 0.7rem/1.6 var(--font-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--oak-deep); margin-bottom: 2px; }
.contact-item a { text-decoration: none; overflow-wrap: anywhere; transition: color .3s; }
.contact-item a:hover { color: var(--oak-deep); }
.contact-info .btn { margin-top: 30px; justify-self: start; }
.contact-map { min-height: 460px; background: var(--steel-deep); box-shadow: var(--shadow); }
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; filter: grayscale(.25) sepia(.12); }
.map-pending { height: 100%; min-height: 460px; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 24px; text-align: center; color: var(--on-steel-muted); }
.map-pending .text-link { color: var(--oak-light); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- House rules ---------- */
.rules-section { max-width: 900px; margin-inline: auto; padding: clamp(48px, 7vw, 88px) max(var(--gutter), env(safe-area-inset-right, 0px)) var(--section) max(var(--gutter), env(safe-area-inset-left, 0px)); }
.back-link { margin-bottom: 40px; }
.back-link .icon { transform: scaleX(-1); }
.back-link:hover .icon { transform: scaleX(-1) translateX(6px); }
.rules-intro { margin-bottom: 48px; display: grid; gap: 16px; }
.rules-intro h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.rules-intro p { color: var(--muted); max-width: 62ch; }
.rule-category { background: var(--white); box-shadow: var(--shadow); padding: clamp(22px, 3.4vw, 40px); margin-bottom: 20px; border-top: 6px solid transparent; border-image: var(--slats) 1; }
.rule-category h3 { font-size: 1.9rem; margin-bottom: 12px; }
.rule-item { padding-block: 14px; border-top: 1px solid var(--line); }
.rule-text-id { font-weight: 500; }
.rule-id { color: var(--oak-deep); font-weight: 600; margin-right: 6px; }
.rule-text-en { color: var(--muted); padding-left: 1.75em; font-style: italic; }
.rule-highlight, .price-info, .penalty-note { margin: 12px 0 2px 1.75em; padding: 14px 18px; background: var(--paper); border-left: 3px solid var(--oak); font-size: 0.98rem; }
.penalty-note { border-left-color: var(--steel); }
.rule-highlight li, .price-info li { padding-block: 2px; }
.contact-box { padding: clamp(28px, 4.4vw, 52px); background: var(--steel); color: var(--on-steel); display: grid; gap: 16px; justify-items: start; }
.contact-box h3 { font-size: 2rem; }
.contact-box p { color: var(--on-steel-muted); }

/* ---------- House rules agreement (long stay) ---------- */
.rules-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(20, 16, 12, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); overflow-y: auto; animation: modal-fade .3s ease; }
@keyframes modal-fade { from { opacity: 0; } }
.rules-modal-content { position: relative; width: min(660px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; background: var(--paper); padding: clamp(26px, 4.4vw, 48px); border-top: 12px solid transparent; border-image: var(--slats) 1; box-shadow: var(--shadow-lift); animation: modal-rise .45s var(--ease); }
@keyframes modal-rise { from { transform: translateY(24px); opacity: 0; } }
.rules-modal-close { position: absolute; top: 8px; right: 8px; width: 48px; height: 48px; border: 0; background: none; font: 300 2rem/1 var(--font-text); color: var(--ink); cursor: pointer; }
.rules-modal-content h2 { font-size: clamp(2rem, 4vw, 2.6rem); padding-right: 40px; }
.modal-subtitle { margin-top: 10px; color: var(--muted); }
.rules-summary { margin-top: 22px; }
.rules-summary h4 { font: 600 0.7rem/1.6 var(--font-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--oak-deep); margin-bottom: 8px; }
.rules-summary li { padding-block: 9px; border-top: 1px solid var(--line); font-size: 0.96rem; }
.rules-full-link { margin-top: 20px; }
.rules-agreement { margin-top: 22px; padding: 16px 18px; background: var(--wall); }
.checkbox-container { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; cursor: pointer; }
.checkbox-container input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--oak-btn); }
.agreement-text a { text-underline-offset: 3px; }
.modal-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 24px; }

/* ---------- Footer ---------- */
.footer { background: var(--steel-deep); color: var(--on-steel); }
.footer a { text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--oak-light); }
.footer-container { max-width: 1220px; margin-inline: auto; padding: clamp(56px, 8vw, 104px) max(var(--gutter), env(safe-area-inset-right, 0px)) clamp(40px, 5vw, 64px) max(var(--gutter), env(safe-area-inset-left, 0px)); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1.5fr) minmax(0, .9fr); gap: 44px clamp(24px, 4vw, 64px); }
.footer-brand .logo-mark { width: 168px; color: var(--on-steel); }
.footer-tagline { margin-top: 12px; font: 600 0.62rem/1 var(--font-text); letter-spacing: 0.34em; text-transform: uppercase; color: var(--oak-light); }
.footer-description { margin-top: 22px; font: 400 1.4rem/1.3 var(--font-display); font-style: italic; color: var(--on-steel-muted); max-width: 18ch; }
.footer h4 { font: 600 0.7rem/1 var(--font-text); letter-spacing: 0.24em; text-transform: uppercase; color: var(--oak-light); margin-bottom: 22px; }
.footer-links li, .footer-social li { padding-block: 5px; color: var(--on-steel-muted); }
.footer-contact p { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding-block: 6px; color: var(--on-steel-muted); line-height: 1.55; }
.footer-contact .icon, .footer-social .icon { width: 22px; height: 22px; color: var(--oak-light); margin-top: 1px; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-social a { display: inline-flex; align-items: center; gap: 12px; }
.footer-managed-by { max-width: 1220px; margin-inline: auto; padding: 0 max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px)); }
.footer-managed-inner { border-top: 1px solid var(--line-steel); padding-block: 36px; display: grid; justify-items: center; gap: 16px; font: 600 0.66rem/1 var(--font-text); letter-spacing: 0.28em; text-transform: uppercase; color: var(--on-steel-muted); }
.managed-by-logo { width: 68px; height: 68px; transition: transform .4s var(--ease); }
.footer-managed-inner a:hover .managed-by-logo { transform: scale(1.05); }
.footer-bottom { max-width: 1220px; margin-inline: auto; padding: 0 max(var(--gutter), env(safe-area-inset-right, 0px)) 36px max(var(--gutter), env(safe-area-inset-left, 0px)); text-align: center; color: var(--on-steel-muted); font-size: 0.84rem; }
@media (max-width: 900px) { .footer-container { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-container { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal (only when JavaScript is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
    .hero-slide img, .hero-slide.active img, .page-header-media img { animation: none; transform: none; }
}

/* Short notice (email address copied) */
.site-note { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 300; width: max-content; max-width: calc(100% - 32px); padding: 14px 20px; background: var(--paper); color: var(--ink); border-left: 3px solid var(--oak); font-size: 0.92rem; letter-spacing: 0.01em; box-shadow: 0 12px 32px rgba(0,0,0,.35); overflow-wrap: anywhere; }
