/* =========================================================
   Shore House — stylesheet
   1. Fonts           6. Buttons & links
   2. Tokens          7. Site header / footer / cookie banner
   3. Base            8. Shared components
   4. Layout          9. Page sections
   5. Typography     10. Motion
   ========================================================= */

/* ---------- 1. Fonts (self-hosted, SIL Open Font License — see assets/fonts) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- 2. Tokens ---------- */
:root {
  --background: 60 17% 98%;
  --foreground: 0 0% 4%;
  --card: 37 29% 95%;
  --primary: 0 0% 10%;
  --secondary: 30 50% 45%;
  --muted: 38 21% 93%;
  --muted-foreground: 27 5% 40%;
  --accent: 39 29% 69%;
  --border: 35 21% 89%;
  --danger: 0 72% 45%;

  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: "Cormorant Garamond", Georgia, serif;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 400; }

/* ---------- 4. Layout ---------- */
.container { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 56rem; text-align: center; }
.container--text { max-width: 48rem; }
@media (min-width: 768px) { .container { padding: 0 2.5rem; } }

/* Section spacing (top & bottom) */
.section          { padding: 5rem 0; }
.section--story   { padding: 6rem 0; }
.section--sm      { padding: 4rem 0; }
.section--md      { padding: 4rem 0; }
.section--gallery { padding: 3rem 0; }
.section--flat    { padding: 5rem 0; }
@media (min-width: 768px) {
  .section          { padding: 7rem 0; }
  .section--story   { padding: 9rem 0; }
  .section--sm      { padding: 5rem 0; }
  .section--md      { padding: 6rem 0; }
  .section--gallery { padding: 4rem 0; }
}
.page-intro { padding: 9rem 0 4rem; }
@media (min-width: 768px) { .page-intro { padding: 11rem 0 5rem; } }

/* Section backgrounds */
.bg-muted  { background: hsl(var(--muted)); }
.bg-dark   { background: hsl(var(--foreground)); }
.bg-accent { background: hsl(var(--accent)); }
.ruled     { border-top: 1px solid hsl(var(--border)); }
.center    { text-align: center; }
.measure   { max-width: 48rem; }

/* Grid */
.grid { display: grid; grid-template-columns: 1fr; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gap-4  { gap: 1rem; }
.gap-6  { gap: 1.5rem; }
.gap-8  { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.items-start  { align-items: start; }
.items-center { align-items: center; }
@media (min-width: 640px) {
  .sm-cols-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .md-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md-gap-8  { gap: 2rem; }
  .md-gap-20 { gap: 5rem; }
  .md-gap-24 { gap: 6rem; }
}
@media (min-width: 1024px) {
  .lg-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg-gap-20 { gap: 5rem; }
}

/* Vertical rhythm between siblings */
.stack-3  > * + * { margin-top: .75rem; }
.stack-4  > * + * { margin-top: 1rem; }
.stack-5  > * + * { margin-top: 1.25rem; }
.stack-6  > * + * { margin-top: 1.5rem; }
.stack-8  > * + * { margin-top: 2rem; }

/* Margin-bottom helpers */
.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

/* ---------- 5. Typography ---------- */
/* Small uppercase label; .eyebrow is the accent-coloured variant */
.label, .eyebrow {
  font-size: .75rem; line-height: 1rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}
.eyebrow { color: hsl(var(--accent)); }
.label--on-dark { color: rgb(255 255 255 / .4); }

.display {
  font-family: var(--font-heading);
  font-size: 3rem; line-height: 1.25;
}
@media (min-width: 768px) { .display { font-size: 4.5rem; } }

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem; line-height: 1.25;
}
@media (min-width: 768px) { .section-title { font-size: 3rem; line-height: 1.15; } }

.sub-title {
  font-family: var(--font-heading);
  font-size: 1.875rem; line-height: 2.25rem;
}
@media (min-width: 768px) { .sub-title { font-size: 2.25rem; line-height: 2.5rem; } }

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.875rem; line-height: 1.25;
}
@media (min-width: 768px) { .feature-title { font-size: 3rem; } }

.lead { color: hsl(var(--muted-foreground)); font-size: 1.125rem; line-height: 1.75rem; max-width: 36rem; }
.body-muted { color: hsl(var(--muted-foreground)); line-height: 1.625; }
.small-muted { color: hsl(var(--muted-foreground)); font-size: .875rem; line-height: 1.625; }
.note { color: hsl(var(--muted-foreground)); font-size: .875rem; }
.fine-print { color: hsl(var(--muted-foreground)); font-size: .75rem; line-height: 1rem; }
.on-dark { color: #fff; }
.on-dark-muted { color: rgb(255 255 255 / .6); }
.center-copy { max-width: 28rem; margin: 0 auto 2rem; }
.item-title { font-weight: 500; color: hsl(var(--foreground)); margin-bottom: .25rem; }

/* ---------- 6. Buttons & links ---------- */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: .875rem; line-height: 1.25rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  transition: all .5s var(--ease);
}
.btn--lg      { padding: 1.25rem 2.5rem; }
.btn--compact { padding: 1rem 2rem; }
.btn--icon    { display: inline-flex; align-items: center; gap: .625rem; }

.btn--outline-light { border: 1px solid #fff; color: #fff; }
.btn--outline-light:hover { background: #fff; color: hsl(var(--foreground)); }

.btn--dark { background: hsl(var(--foreground)); color: #fff; }
.btn--dark:hover { background: #fff; color: hsl(var(--foreground)); }
.btn--dark.btn--accent-hover:hover { background: hsl(var(--accent)); color: #fff; }

.btn--light { background: #fff; color: hsl(var(--foreground)); }
.btn--light:hover { background: hsl(var(--accent)); color: #fff; }

/* Ink button: dark fill, warm hover (Airbnb + inquiry submit) */
.btn--ink { background: hsl(var(--foreground)); color: hsl(var(--background)); }
.btn--ink:hover { background: hsl(var(--secondary)); }
.btn--ink svg { transition: transform .3s var(--ease); }
.btn--ink:hover svg { transform: translate(2px, -2px); }
.btn--ink:disabled { opacity: .5; cursor: not-allowed; }

.text-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .875rem; font-weight: 500; color: hsl(var(--foreground));
  border-bottom: 1px solid hsl(var(--foreground)); padding-bottom: .125rem;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.text-link:hover { color: hsl(var(--secondary)); border-color: hsl(var(--secondary)); }

/* ---------- 7a. Site header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease), backdrop-filter .5s var(--ease);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
@media (min-width: 768px) { .header-inner { height: 5rem; } }

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: auto; width: auto; max-height: 2rem; max-width: 100%; object-fit: contain; }
@media (min-width: 768px) { .logo img { max-height: 2.5rem; } }

.main-nav { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .main-nav { display: flex; } }

.nav-link, .nav-cta {
  font-size: .875rem; line-height: 1.25rem; font-weight: 500; letter-spacing: .025em;
  color: #fff;
}
.nav-link { position: relative; transition: color .3s var(--ease); }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  height: 1px; width: 0; background: hsl(var(--accent));
  transition: width .5s var(--ease);
}
.nav-link:hover::after { width: 100%; }
.nav-cta {
  margin-left: 1rem; padding: .5rem 1.25rem;
  border: 1px solid #fff;
  transition: all .3s var(--ease);
}
.nav-cta:hover { background: #fff; color: hsl(var(--foreground)); }

.menu-toggle { display: inline-flex; padding: .5rem; color: #fff; transition: color .3s; }
.menu-toggle .icon-close { display: none; }
@media (min-width: 768px) { .menu-toggle { display: none; } }

/* Solid state: after scrolling, with the menu open, or on pages without a hero photo */
.site-header.is-solid {
  background: hsl(var(--background) / .95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 hsl(var(--border));
}
.site-header.is-solid .nav-link,
.site-header.is-solid .menu-toggle { color: hsl(var(--foreground)); }
.site-header.is-solid .nav-cta { border-color: hsl(var(--foreground)); color: hsl(var(--foreground)); }
.site-header.is-solid .nav-cta:hover { background: hsl(var(--foreground)); color: #fff; }

.mobile-menu {
  display: none; flex-direction: column;
  padding: .5rem 1.5rem 1.5rem;
  background: hsl(var(--background));
  border-top: 1px solid hsl(var(--border));
}
.mobile-menu a {
  padding: .875rem 0;
  font-size: 1rem; font-weight: 500; letter-spacing: .025em;
  border-bottom: 1px solid hsl(var(--border));
}
.mobile-menu .mobile-cta {
  margin-top: 1.25rem; padding: .75rem 1rem;
  border: 1px solid hsl(var(--foreground));
  text-align: center; font-size: .875rem;
}
.site-header.menu-open .mobile-menu { display: flex; }
.site-header.menu-open .icon-menu { display: none; }
.site-header.menu-open .icon-close { display: block; }
@media (min-width: 768px) { .site-header.menu-open .mobile-menu { display: none; } }

/* ---------- 7b. Site footer ---------- */
.site-footer { background: hsl(var(--foreground)); color: #fff; }
.footer-inner { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .footer-inner { padding-top: 5rem; padding-bottom: 5rem; } }
.footer-logo { height: auto; width: auto; max-height: 2rem; object-fit: contain; margin-bottom: 1rem; }
.footer-about { color: rgb(255 255 255 / .6); font-size: .875rem; line-height: 1.625; max-width: 20rem; }
.footer-col { display: flex; flex-direction: column; gap: .75rem; }
.footer-col a { color: rgb(255 255 255 / .7); font-size: .875rem; line-height: 1.25rem; transition: color .3s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-heading {
  color: rgb(255 255 255 / .4);
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: .25rem;
}
.social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-col .social a { color: rgb(255 255 255 / .5); }
.footer-col .social a:hover { color: hsl(var(--accent)); }
.footer-bottom {
  margin-top: 4rem; padding-top: 2rem;
  border-top: 1px solid rgb(255 255 255 / .1);
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  font-size: .75rem; color: rgb(255 255 255 / .3);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgb(255 255 255 / .3); transition: color .3s var(--ease); }
.footer-legal a:hover { color: rgb(255 255 255 / .6); }

/* ---------- 7c. Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: #fff; border-top: 1px solid #e5e7eb;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
}
.cookie-banner[hidden] { display: none; }
.cookie-inner {
  max-width: 80rem; margin: 0 auto; padding: 1rem;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1rem;
}
@media (min-width: 640px)  { .cookie-inner { flex-direction: row; align-items: center; padding: 1rem 1.5rem; } }
@media (min-width: 1024px) { .cookie-inner { padding: 1rem 2rem; } }
.cookie-text { flex: 1; }
.cookie-text h3 { font-size: .875rem; font-weight: 600; color: #111827; margin-bottom: .25rem; }
.cookie-text p { font-size: .875rem; line-height: 1.25rem; color: #4b5563; }
.cookie-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.cookie-btn {
  height: 2.25rem; padding: 0 .75rem;
  border-radius: calc(.5rem - 2px);
  font-size: .875rem; font-weight: 500; white-space: nowrap; color: #fff;
  transition: background-color .15s var(--ease);
}
.cookie-btn--decline { background: hsl(var(--secondary)); }
.cookie-btn--decline:hover { background: hsl(var(--secondary) / .8); }
.cookie-btn--accept { background: hsl(var(--primary)); }
.cookie-btn--accept:hover { background: hsl(var(--primary) / .9); }

/* ---------- 8. Shared components ---------- */
/* Full-width photo band */
.photo-band { overflow: hidden; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; }
.photo-band--location     { height: 55vh; }
.photo-band--reservations { height: 50vh; }
@media (min-width: 768px) {
  .photo-band--location     { height: 70vh; }
  .photo-band--reservations { height: 60vh; }
}

/* Column heading with rule underneath */
.list-heading {
  margin-bottom: 1.25rem; padding-bottom: .75rem;
  border-bottom: 1px solid hsl(var(--border));
}

/* Card with an icon beside its text */
.icon-card { display: flex; gap: 1rem; padding: 1.5rem; }
.icon-card svg { flex-shrink: 0; margin-top: .125rem; }
.icon-card--outlined { border: 1px solid hsl(var(--border)); }
.icon-card--filled { gap: 1.25rem; background: hsl(var(--background)); }
.icon-card--filled svg { color: hsl(var(--secondary)); }

/* Checklist */
.check-list li {
  display: flex; align-items: flex-start; gap: .625rem;
  font-size: .875rem; line-height: 1.25rem;
}
.check-list svg { flex-shrink: 0; margin-top: .125rem; color: hsl(var(--secondary)); }

/* Two-column "name … value" rows */
.pair-list > * { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.pair-name { font-size: .875rem; line-height: 1.25rem; font-weight: 500; }
.pair-value { font-size: .75rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); flex-shrink: 0; text-align: right; }

/* Dark centred call-to-action band */
.dark-cta .section-title { color: #fff; }

/* ---------- 9a. Home ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 600px;
  display: flex; align-items: flex-end;
  padding-bottom: 6rem;
}
@media (min-width: 768px) { .hero { padding-bottom: 8rem; } }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgb(0 0 0 / .6), rgb(0 0 0 / .2), transparent);
}
.hero-content { position: relative; z-index: 10; }
.hero-text { max-width: 42rem; }
.hero-title { color: #fff; margin-bottom: 1.5rem; }
.hero-sub {
  color: rgb(255 255 255 / .8);
  font-size: 1.125rem; line-height: 1.625;
  margin-bottom: 2.5rem; max-width: 32rem;
}
@media (min-width: 768px) { .hero-sub { font-size: 1.25rem; } }

.story-text {
  font-family: var(--font-heading);
  font-size: 1.875rem; line-height: 1.375;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .story-text { font-size: 3rem; } }
.story-sign { color: hsl(var(--muted-foreground)); font-size: .875rem; font-style: italic; margin-top: 2.5rem; }

.property-media { position: relative; }
.property-media img { position: relative; z-index: 1; width: 100%; height: 500px; object-fit: cover; }
@media (min-width: 768px) { .property-media img { height: 640px; } }
.property-accent {
  display: none; position: absolute; right: -1.5rem; bottom: -1.5rem;
  width: 8rem; height: 8rem; background: hsl(var(--accent));
}
@media (min-width: 1024px) { .property-accent { display: block; } }

.stat { border-left: 2px solid hsl(var(--accent)); padding-left: 1rem; }
.stat-num { font-family: var(--font-heading); font-size: 2.25rem; line-height: 2.5rem; }
.stat-label { color: hsl(var(--muted-foreground)); font-size: .875rem; line-height: 1.25rem; margin-top: .25rem; }

.strip { display: grid; grid-template-columns: repeat(3, 1fr); height: 16rem; }
@media (min-width: 768px) { .strip { height: 24rem; } }
.strip-cell { overflow: hidden; }
.strip-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.strip-cell:hover img { transform: scale(1.05); }

.amenity {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 2rem;
  border: 1px solid hsl(var(--border));
}
.amenity--featured { background: hsl(var(--card)); }
.amenity svg { color: hsl(var(--accent)); flex-shrink: 0; }
.amenity-title { font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.75rem; margin-bottom: .5rem; }

.reviews { overflow: hidden; }
.review-track {
  display: flex; gap: 1.5rem;
  overflow-x: auto; padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.review-track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 auto; min-width: 320px; max-width: 320px;
  scroll-snap-align: start;
  background: hsl(var(--background));
  padding: 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
@media (min-width: 768px) { .review { min-width: 420px; max-width: 420px; } }
.review-quote { font-family: var(--font-heading); font-size: 1.5rem; line-height: 1.375; margin-bottom: 2rem; }
@media (min-width: 768px) { .review-quote { font-size: 1.875rem; } }
.review-name { font-size: .875rem; font-weight: 500; }
.review-place { font-size: .75rem; color: hsl(var(--muted-foreground)); margin-top: .25rem; }

.banner { position: relative; height: 18rem; }
@media (min-width: 768px) { .banner { height: 24rem; } }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-overlay { position: absolute; inset: 0; background: rgb(0 0 0 / .3); pointer-events: none; }

.cta-inner { display: flex; flex-direction: column; gap: 2.5rem; }
@media (min-width: 768px) { .cta-inner { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.cta-text { max-width: 36rem; }
.cta-title { font-family: var(--font-heading); font-size: 2.25rem; line-height: 1.25; color: #fff; margin-bottom: 1rem; }
@media (min-width: 768px) { .cta-title { font-size: 3.75rem; } }
.cta-sub { color: rgb(255 255 255 / .8); font-size: 1.125rem; line-height: 1.75rem; }

/* ---------- 9b. Gallery ---------- */
.filter-bar {
  position: sticky; top: 4rem; z-index: 30;
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
}
@media (min-width: 768px) { .filter-bar { top: 5rem; } }
.filters {
  display: flex; gap: .25rem;
  overflow-x: auto; padding: .75rem 0;
  scrollbar-width: none; -ms-overflow-style: none;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
  padding: .5rem 1.25rem;
  font-size: .875rem; line-height: 1.25rem; font-weight: 500; white-space: nowrap;
  color: hsl(var(--muted-foreground));
  transition: all .3s var(--ease);
}
.filter:hover { color: hsl(var(--foreground)); }
.filter.is-active { background: hsl(var(--foreground)); color: #fff; }

.tile {
  position: relative; display: block; overflow: hidden;
  align-self: start;
  cursor: zoom-in; text-align: left; padding: 0;
}
.tile[hidden] { display: none; }
@media (min-width: 768px) { .tile--wide { grid-column: span 2; } }
.tile img { width: 100%; height: 16rem; object-fit: cover; transition: transform .7s var(--ease); }
.tile--wide img { height: 18rem; }
@media (min-width: 768px) {
  .tile img { height: 18rem; }
  .tile--wide img { height: 24rem; }
}
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile:focus-visible { outline: 2px solid hsl(var(--accent)); outline-offset: 3px; }
.tile-shade {
  position: absolute; inset: 0; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  background: rgb(0 0 0 / 0);
  transition: background-color .5s var(--ease);
}
.tile-shade svg { color: #fff; opacity: 0; transition: opacity .3s var(--ease); }
.tile:hover .tile-shade, .tile:focus-visible .tile-shade { background: rgb(0 0 0 / .3); }
.tile:hover .tile-shade svg, .tile:focus-visible .tile-shade svg { opacity: 1; }
.tile-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem; pointer-events: none;
  color: #fff; font-size: .875rem; line-height: 1.25rem;
  background: linear-gradient(to top, rgb(0 0 0 / .6), transparent);
  transform: translateY(100%);
  transition: transform .5s var(--ease);
}
.tile:hover .tile-caption, .tile:focus-visible .tile-caption { transform: none; }
.tile-enter { animation: tileIn .5s var(--ease-out) both; }
@keyframes tileIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 4rem 1rem;
  background: rgb(10 10 10 / .95);
  opacity: 0; transition: opacity .25s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lb-figure { max-width: min(1200px, 100%); display: flex; flex-direction: column; align-items: center; }
.lb-img { max-width: 100%; max-height: calc(100vh - 10rem); object-fit: contain; cursor: default; }
.lb-caption {
  margin-top: 1rem; width: 100%;
  display: flex; justify-content: space-between; gap: 1rem;
  color: rgb(255 255 255 / .8); font-size: .875rem;
}
.lb-count { color: rgb(255 255 255 / .4); letter-spacing: .1em; white-space: nowrap; }
.lb-btn { position: absolute; padding: .75rem; color: rgb(255 255 255 / .7); transition: color .3s var(--ease); }
.lb-btn:hover, .lb-btn:focus-visible { color: #fff; }
.lb-btn:focus-visible { outline: 1px solid hsl(var(--accent)); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: .5rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .5rem; top: 50%; transform: translateY(-50%); }
@media (min-width: 768px) { .lb-prev { left: 1.5rem; } .lb-next { right: 1.5rem; } }

/* ---------- 9c. Amenities ---------- */
.arrival-card { background: hsl(var(--background)); padding: 1.5rem; }
.arrival-card svg { color: hsl(var(--secondary)); margin-bottom: 1rem; }
.arrival-value { font-family: var(--font-heading); font-size: 1.5rem; line-height: 2rem; margin-bottom: .5rem; }

.faq-item + .faq-item { border-top: 1px solid hsl(var(--border)); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0; text-align: left;
}
.faq-q-text { font-weight: 500; transition: color .15s var(--ease); }
.faq-q:hover .faq-q-text { color: hsl(var(--secondary)); }
.faq-q:focus-visible { outline: 2px solid hsl(var(--accent)); outline-offset: 2px; }
.faq-icon {
  flex-shrink: 0; color: hsl(var(--muted-foreground));
  font-size: 1.25rem; line-height: 1;
  transition: transform .3s var(--ease);
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-a { overflow: hidden; transition: max-height .4s var(--ease); }
.js .faq-a { max-height: 0; }                /* collapsed only when the script can open it */
.faq-a p { padding-bottom: 1.25rem; }

/* ---------- 9d. Location ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: hsl(var(--border)); }
.stat-cell { background: hsl(var(--background)); padding: 1.5rem; }
.stat-cell-num { font-family: var(--font-heading); font-size: 1.875rem; line-height: 2.25rem; margin-bottom: .25rem; }
@media (min-width: 768px) { .stat-cell-num { font-size: 2.25rem; line-height: 2.5rem; } }
@media (min-width: 1024px) { .offset-top { padding-top: 4rem; } }

.hood-text { line-height: 1.625; margin-bottom: 1.25rem; }
.hood-media { height: 20rem; overflow: hidden; }
@media (min-width: 768px) { .hood-media { height: 480px; } }
.hood-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 9e. Reservations ---------- */
.res-left { display: flex; flex-direction: column; gap: 3rem; }

.airbnb-card { background: hsl(var(--muted)); padding: 2rem; }
@media (min-width: 768px) { .airbnb-card { padding: 2.5rem; } }

.facts-heading { margin-bottom: 1.5rem; }
.facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; font-size: .875rem; line-height: 1.25rem; }
.facts dt { color: hsl(var(--muted-foreground)); }
.facts dd { font-weight: 500; }
.facts-link { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid hsl(var(--border)); }

.inquiry-form { position: relative; }
.inquiry-form > .hp + * { margin-top: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field label { display: block; margin-bottom: .5rem; }
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid hsl(var(--border)); border-radius: 0;
  padding: .75rem 0;
  font: inherit; font-size: .875rem; line-height: 1.25rem;
  color: hsl(var(--foreground));
  transition: border-color .3s var(--ease);
}
.field select { cursor: pointer; }
.field textarea { resize: none; }
.field ::placeholder { color: hsl(var(--muted-foreground)); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: hsl(var(--foreground)); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: hsl(var(--danger)); }
.field-error { margin-top: .5rem; font-size: .75rem; color: hsl(0 72% 40%); }
.form-status {
  padding: .875rem 1rem;
  border-left: 2px solid hsl(var(--danger));
  background: hsl(var(--danger) / .06);
  font-size: .875rem;
}
.btn-submit { width: 100%; }
@media (min-width: 640px) { .btn-submit { width: auto; } }
.inquiry-success { padding: 2rem; background: hsl(var(--muted)); border-left: 2px solid hsl(var(--accent)); }
.inquiry-success:focus { outline: none; }

/* ---------- 10. Motion ---------- */
.load-in { animation: fadeUp .9s var(--ease-out) both; animation-delay: var(--d, 0s); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

/* Scroll reveals — only hidden once the page script is running */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal-sm    { transform: translateY(20px); }
.js .reveal-xs    { transform: translateY(16px); }
.js .reveal-left  { transform: translateX(-30px); }
.js .reveal-right { transform: translateX(20px); }
.js .reveal-fade  { transform: none; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .load-in, .tile-enter { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .strip-cell img, .tile img { transition: none; }
}
