/* ============================================================
   金沢ヴィラズ — Kanazawa Villas
   styles.css
   Theme: refined minimalism · monochrome · aizumi accent
   ============================================================ */

:root {
  /* Ink — cool blue-black, single source of truth for text */
  --ink: #0e1217;
  --ink-soft: #1a1f26;
  --ink-mute: #444a52;

  /* Paper — neutral cool greys, no warmth */
  --paper: #f0f1f3;
  --paper-warm: #e8eaec;
  --paper-deep: #d6d9dc;

  /* Lines & dividers */
  --line: rgba(14, 18, 23, 0.10);
  --line-strong: rgba(14, 18, 23, 0.22);

  /* Muted text */
  --muted: #6b7178;
  --muted-soft: #9aa0a6;

  /* Accent — aizumi (indigo-grey) — the only chromatic note */
  --accent: #3a4a52;
  --accent-deep: #28343b;
  --accent-cool: #3a4a52;
  --highlight: #3a4a52;

  /* Typography — Helvetica-style sans, modernist */
  --f-display: "Inter", "Noto Sans JP", "Helvetica Neue", "Helvetica", "Arial", system-ui, sans-serif;
  --f-jp-display: "Noto Sans JP", "Inter", "Helvetica Neue", system-ui, sans-serif;
  --f-body: "Inter", "Noto Sans JP", "Helvetica Neue", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", "Inter", ui-monospace, monospace;

  --page-x: clamp(20px, 4vw, 64px);
  --section-y: clamp(80px, 10vw, 160px);
}

/* ── Reset / Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-feature-settings: "palt";
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: 0.01em; }
p { margin: 0; }

/* Visually hidden — for SEO/accessibility H1 etc., not shown to sighted users */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* SEO/Crawler fallback: discoverable links for crawlers, AI search,
   and Stripe review even when JS is disabled. Hidden from sighted users
   because the visible footer (JS-injected) carries the same links. */
.seo-fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Typography helpers ─────────────────────────────────────── */
.display { font-family: var(--f-display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; }
.jp-display { font-family: var(--f-jp-display); font-weight: 400; letter-spacing: 0.04em; }
.eyebrow { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px var(--page-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
}
.site-header .brand-mark {
  font-family: var(--f-jp-display);
  font-size: 18px;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.site-header .brand-sub {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.header-drawer {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  justify-content: flex-end;
}
.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink);
  opacity: 0.75;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.site-nav a:hover { opacity: 1; }

.lang-switch {
  display: flex;
  gap: 2px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px;
  flex-shrink: 0;
}
.lang-switch button,
.lang-switch a {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  opacity: 0.55;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
  line-height: 1.4;
}
.lang-switch button.active,
.lang-switch a.active,
.lang-switch a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
  opacity: 1;
}
/* The drawer copy of the switcher is shown only on mobile;
   the desktop copy is hidden inside the drawer media query below. */
.lang-switch-desktop { display: flex; }
.header-drawer .lang-switch { display: none; }

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  position: relative;
  flex-shrink: 0;
}
.menu-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s;
}
.menu-toggle span:nth-child(1) { transform: translate(-50%, -4px); }
.menu-toggle span:nth-child(2) { transform: translate(-50%, 3px); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translate(-50%, 0) rotate(-45deg); }

/* Mobile header */
@media (max-width: 860px) {
  /* Remove backdrop-filter on mobile — it traps child fixed-position
     elements (the drawer) inside the header on iOS Safari. */
  .site-header {
    padding: 12px 18px;
    background: #f4f1ea;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-header .brand-sub { display: none; }
  /* Mobile: keep a short "Book" CTA visible at all times; hide the arrow icon */
  .header-cta .btn-book {
    display: inline-flex;
    padding: 9px 16px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  .header-cta .btn-book .btn-label-full { display: none; }
  .header-cta .btn-book .btn-label-short { display: inline; }
  .header-cta .btn-book .arrow { display: none; }
  .menu-toggle { display: block; position: relative; z-index: 60; }

  /* When menu is open, hamburger needs to stay tappable above drawer.
     Give it solid bg so the cross is clearly visible. */
  .menu-toggle[aria-expanded="true"] {
    background: #f4f1ea;
    border-color: var(--ink);
  }

  .header-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #f4f1ea;            /* solid paper, no transparency */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 80px 24px 32px;
    z-index: 55;                    /* below toggle (60), above page */
    opacity: 1;
    visibility: hidden;
  }
  .header-drawer[data-open="true"] {
    transform: translateX(0);
    visibility: visible;
  }

  .site-nav {
    flex-direction: column;
    gap: 24px;
  }
  .site-nav a {
    font-size: 22px;
    font-family: var(--f-display);
    font-weight: 400;
    letter-spacing: 0.04em;
    opacity: 1;
    color: var(--ink);
  }
  /* On mobile: show lang switch inside drawer, hide the desktop copy. */
  .header-drawer .lang-switch { display: flex; font-size: 12px; }
  .lang-switch-desktop { display: none; }
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-book {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px 11px 22px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.14em;
  transition: transform 0.2s, background 0.2s;
}
.btn-book:hover { background: var(--accent-deep, var(--ink-soft)); transform: translateY(-1px); }
.btn-book .arrow { width: 14px; height: 14px; display: inline-flex; align-items: center; justify-content: center; }
.btn-book .arrow svg { width: 100%; height: 100%; }
.btn-book .btn-label-short { display: none; }
.btn-book .btn-label-full { display: inline; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink);
  transition: all 0.2s;
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ── Placeholder pattern (used for missing images) ──────────── */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(45deg,
      color-mix(in oklab, var(--paper-deep) 80%, transparent) 0 12px,
      color-mix(in oklab, var(--paper-warm) 80%, transparent) 12px 24px),
    var(--paper-warm);
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.55;
  text-align: center;
  padding: 20px;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 var(--page-x);
  padding-top: 120px;
  padding-bottom: clamp(60px, 12vh, 120px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    color-mix(in oklab, var(--paper) 30%, transparent) 0%,
    transparent 30%,
    transparent 55%,
    color-mix(in oklab, var(--ink) 40%, transparent) 100%);
}
.hero-inner { position: relative; z-index: 1; color: var(--paper); max-width: 1400px; }
.hero-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--highlight); }
.hero-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(48px, 8.5vw, 132px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.hero-title em { font-style: normal; font-family: var(--f-display); color: var(--highlight); font-weight: 400; }
.hero-sub {
  font-family: var(--f-body);
  font-size: clamp(15px, 1.3vw, 19px);
  letter-spacing: -0.005em;
  opacity: 0.92;
  max-width: 540px;
  line-height: 1.55;
  margin-bottom: 48px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn-book { background: var(--paper); color: var(--ink); }
.hero-actions .btn-book.hero-secondary {
  background: var(--ink);
  color: var(--paper);
}
.hero-actions .btn-book.hero-secondary:hover {
  background: var(--ink-soft);
}
.hero-meta {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
  padding-top: 32px;
  margin-top: 48px;
  border-top: 1px solid rgba(244,241,234,0.2);
}
.hero-meta > div span { display: block; opacity: 0.6; margin-bottom: 4px; }

/* ── Section base ───────────────────────────────────────────── */
.section { padding: var(--section-y) var(--page-x); position: relative; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: end;
}
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}
.section-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.section-label .num { display: inline-block; color: var(--accent); margin-right: 12px; }
.section-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.section-title em { font-style: normal; color: var(--accent); font-weight: 400; }
.section-lede {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: -0.003em;
  color: var(--ink-mute, var(--muted));
  max-width: 520px;
  margin-top: 20px;
}

/* ── Concept ────────────────────────────────────────────────── */
.concept { background: var(--paper-warm); }
.concept-head { max-width: 1200px; margin: 0 auto 60px; }
.concept-body { max-width: 780px; margin: 0 auto; text-align: center; }
.concept-body p {
  font-family: var(--f-body);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.7;
  letter-spacing: -0.005em;
  margin-bottom: 28px;
  color: var(--ink-mute, var(--ink));
}
.concept-body em.serif-italic { font-family: var(--f-display); font-style: normal; font-weight: 500; color: var(--accent); }
.concept-body p.en {
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.005em;
  color: var(--accent);
  margin-top: 40px;
}

/* ── Stats ──────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 1200px;
  margin: 80px auto 0;
}
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}
.stat .num {
  font-family: var(--f-display);
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat .num .unit { font-size: 0.4em; margin-left: 6px; color: var(--muted); }
.stat .label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
}

/* ── Villa list ─────────────────────────────────────────────── */
.villa-list { display: flex; flex-direction: column; gap: 120px; }
.villa-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.villa-card.reverse { direction: rtl; }
.villa-card.reverse > * { direction: ltr; }
@media (max-width: 860px) {
  .villa-card,
  .villa-card.reverse { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
}
.villa-card .media { position: relative; aspect-ratio: 4/5; }
.villa-card .media .ph,
.villa-card .media img,
.villa-card .media .coming-soon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.villa-card .media img { object-fit: cover; }
.villa-card .media .coming-soon {
  background: var(--paper-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.villa-card .media .coming-soon .label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
}
.villa-card .media .coming-soon .date {
  font-family: var(--f-jp-display);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--muted-soft);
}
.villa-card .media .tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 12px;
  z-index: 2;
}
.villa-card .info .idx {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 24px;
}
.villa-card .info h3 {
  font-family: var(--f-display);
  font-size: clamp(42px, 4.5vw, 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.villa-card .info .jp-name {
  font-family: var(--f-jp-display);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin-bottom: 28px;
}
.villa-card .info .desc {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-soft, var(--ink));
  max-width: 480px;
  margin-bottom: 32px;
}
.villa-card .info .specs {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.villa-card .info .specs > div span {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.villa-card .info .specs > div strong {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.villa-card .info .booking-note {
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0.01em;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
}
.villa-card .info .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Reviews ────────────────────────────────────────────────── */
.reviews { background: var(--ink); color: var(--paper); }
.reviews .section-label { color: var(--muted-soft); }
.reviews .section-title { color: var(--paper); }
.reviews .section-title em { color: var(--highlight); }
.reviews .section-lede { color: color-mix(in oklab, var(--paper) 80%, transparent); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 860px) { .review-grid { grid-template-columns: 1fr; } }
.review { padding: 40px 0; border-top: 1px solid rgba(244,241,234,0.14); }
.review .rating { font-family: var(--f-display); font-size: 36px; font-weight: 400; margin-bottom: 16px; }
.review .rating em { font-size: 14px; font-style: normal; color: var(--muted-soft); margin-left: 8px; }
.review blockquote {
  font-family: var(--f-display);
  font-style: normal;
  font-size: 19px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  margin: 0 0 24px;
  font-weight: 400;
}
.review .who {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

/* ── Location / map ─────────────────────────────────────────── */
.location-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; }
@media (max-width: 860px) { .location-grid { grid-template-columns: 1fr; } }
.map-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  overflow: hidden;
}
.map-svg { width: 100%; height: 100%; display: block; }
.location-list { display: flex; flex-direction: column; }
.location-list .item {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: baseline;
}
.location-list .item:last-of-type { border-bottom: 1px solid var(--line); }
.location-list .item .pin {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent);
  min-width: 32px;
}
.location-list .item h4 { font-family: var(--f-display); font-size: 22px; font-weight: 400; margin-bottom: 4px; }
.location-list .item .meta {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.location-list .item .dist {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.location-access {
  margin-top: 40px;
  padding: 24px;
  background: var(--paper-warm);
  font-family: var(--f-jp-display);
  font-size: 14px;
  letter-spacing: 0.12em;
  line-height: 2;
}
.location-access .label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ── Neighborhood ───────────────────────────────────────────── */
.neighborhood { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1100px) { .neighborhood { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .neighborhood { grid-template-columns: repeat(2, 1fr); } }

/* Mobile (≤640px): horizontal scroller with snap behavior.
   Cards become a fixed width and the section scrolls sideways.
   This keeps the section tall ~1 card height instead of 7+. */
@media (max-width: 640px) {
  .neighborhood {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* Bleed to the screen edges — gives the "more to the right" peek */
    margin-left: calc(-1 * var(--page-x));
    margin-right: calc(-1 * var(--page-x));
    padding: 4px var(--page-x) 8px;
    /* Hide the scrollbar for a cleaner look */
    scrollbar-width: none;
  }
  .neighborhood::-webkit-scrollbar { display: none; }
  .neighborhood .nbh-card {
    flex: 0 0 78%;
    max-width: 280px;
    scroll-snap-align: start;
  }
  /* Last card gets a little right-margin so it ends comfortably */
  .neighborhood .nbh-card:last-child {
    margin-right: 4px;
  }
}
.nbh-card .media { aspect-ratio: 3/4; position: relative; margin-bottom: 16px; }
.nbh-card .media .ph { position: absolute; inset: 0; }
.nbh-card .num {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 6px;
}
.nbh-card h4 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.nbh-card .sub {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.nbh-card .desc { font-size: 13px; line-height: 1.7; color: var(--ink-soft, var(--ink)); }

/* ── Host ───────────────────────────────────────────────────── */
.host {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}
@media (max-width: 860px) { .host { grid-template-columns: 1fr; gap: 40px; } }
.host .photo { aspect-ratio: 3/4; }
.host .copy .label-row { margin-bottom: 24px; }
.host .copy h2 { margin-bottom: 30px; }
.host .copy .lead {
  font-family: var(--f-jp-display);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.host .copy .desc {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-soft, var(--ink));
  margin-bottom: 32px;
  max-width: 520px;
}
.host .stats-row {
  display: flex;
  gap: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.host .stats-row > div span {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.host .stats-row > div strong {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 400;
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-list { max-width: 960px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  gap: 24px;
  align-items: start;
  cursor: pointer;
  transition: opacity 0.2s;
}
.faq-list .faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item .num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  padding-top: 4px;
}
.faq-item .q {
  font-family: var(--f-jp-display);
  font-size: 18px;
  letter-spacing: 0.05em;
  line-height: 1.6;
}
.faq-item .a {
  grid-column: 2;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-soft, var(--ink));
  opacity: 0.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
}
.faq-item.open .a { max-height: 500px; margin-top: 16px; }
.faq-item .toggle {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  position: relative;
  transition: background 0.2s;
}
.faq-item .toggle::before,
.faq-item .toggle::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.3s;
}
.faq-item .toggle::before { width: 12px; height: 1px; }
.faq-item .toggle::after { width: 1px; height: 12px; }
.faq-item.open .toggle::after { transform: rotate(90deg); }

/* ── Booking preview ────────────────────────────────────────── */
.booking { background: var(--paper-warm); }
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1400px;
}
@media (max-width: 860px) { .booking-grid { grid-template-columns: 1fr; gap: 40px; } }
.booking-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.villa-picker { border: 1px solid var(--line); margin-bottom: 32px; }
.villa-picker .pick {
  width: 100%;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s;
}
.villa-picker .pick:last-child { border-bottom: none; }
.villa-picker .pick.active { background: var(--ink); color: var(--paper); }
.villa-picker .pick .name { font-family: var(--f-display); font-size: 22px; font-weight: 400; }
.villa-picker .pick .area-meta {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  opacity: 0.6;
  margin-top: 4px;
  text-transform: uppercase;
}
.villa-picker .pick .arrow-text {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-day {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
}
.cal-day.busy { opacity: 0.3; background: var(--paper-deep); }
.cal-day .dow { font-size: 9px; letter-spacing: 0.1em; color: var(--muted); }
.cal-day .num { font-size: 14px; }

.booking-summary {
  background: var(--paper);
  padding: 40px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
}
.booking-summary .stay-title {
  font-family: var(--f-display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 20px;
}
.booking-summary .stay-desc {
  font-family: var(--f-jp-display);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 30px;
}
.booking-summary .rate-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.booking-summary .rate-row.first { border-top: 1px solid var(--line); }
.booking-summary .continue {
  justify-content: space-between;
  width: 100%;
  margin-top: 24px;
  padding: 18px 28px;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 100px var(--page-x) 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(244,241,234,0.14);
}
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-top h5 {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 20px;
  font-weight: 400;
}
.footer-brand-mark {
  font-family: var(--f-display);
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.footer-brand-tag {
  font-family: var(--f-jp-display);
  font-size: 13px;
  letter-spacing: 0.22em;
  opacity: 0.7;
  margin-bottom: 20px;
}
.footer-brand-desc {
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.8;
  max-width: 320px;
}
.footer-top ul { list-style: none; padding: 0; margin: 0; }
.footer-top ul li { margin-bottom: 12px; font-size: 13px; opacity: 0.8; }
.footer-top ul li a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
/* ── Mobile fine-tuning ─────────────────────────────────────── */
.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 860px) {
  body.menu-open { overflow: hidden; }

  .hero { padding-top: 100px; padding-bottom: 40px; }
  .hero-meta { gap: 24px 32px; }
  .hero-meta > div { font-size: 10px; }

  .villa-card .info .specs { gap: 24px; }
  .stats { gap: 24px; padding: 40px 0; }
  .review-grid { gap: 24px; }

  .footer-top { gap: 32px; }
}

@media (max-width: 540px) {
  .villa-card .media { aspect-ratio: 4/4.2; }
  .booking-grid { gap: 32px; }
  .booking-summary { padding: 28px; }
  .booking-summary .stay-title { font-size: 28px; }
}

/* ============================================================
   Legal / sub pages — shared layout
   ============================================================ */
.subpage {
  padding-top: 100px;
  min-height: 100vh;
  min-height: 100dvh;
}
.subpage-hero {
  padding: 80px var(--page-x) 60px;
  border-bottom: 1px solid var(--line);
}
.subpage-hero .eyebrow-row {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.subpage-hero h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.subpage-hero .jp-title {
  font-family: var(--f-jp-display);
  font-size: 16px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.subpage-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px var(--page-x) 120px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink);
}
.subpage-body .lead {
  font-family: var(--f-jp-display);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.08em;
  color: var(--ink-soft, var(--ink));
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.subpage-body h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.005em;
  margin: 56px 0 16px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.subpage-body h2:first-of-type { padding-top: 0; border-top: none; margin-top: 0; }
.subpage-body h3 {
  font-family: var(--f-jp-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin: 32px 0 12px;
}
.subpage-body p { margin-bottom: 16px; }
.subpage-body ul, .subpage-body ol {
  margin: 12px 0 20px;
  padding-left: 24px;
}
.subpage-body li { margin-bottom: 8px; }
.subpage-body .info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 32px;
  font-size: 14px;
}
.subpage-body .info-table th,
.subpage-body .info-table td {
  text-align: left;
  vertical-align: top;
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
}
.subpage-body .info-table th {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  white-space: nowrap;
  width: 32%;
}
@media (max-width: 540px) {
  .subpage-body .info-table th,
  .subpage-body .info-table td {
    display: block;
    width: 100%;
    padding: 8px 0;
    border-bottom: none;
  }
  .subpage-body .info-table tr {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .subpage-body .info-table th { padding-bottom: 4px; }
}
.subpage-body .updated {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.subpage-body .lang-toggle {
  display: inline-flex;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px;
  margin-bottom: 32px;
}
.subpage-body .lang-toggle button {
  padding: 6px 16px;
  border-radius: 999px;
  opacity: 0.55;
  transition: all 0.2s;
}
.subpage-body .lang-toggle button.active {
  background: var(--ink);
  color: var(--paper);
  opacity: 1;
}
.lang-section { display: none; }
.lang-section.active { display: block; }

/* ── Contact form ───────────────────────────────────────────── */
.contact-form {
  display: grid;
  gap: 24px;
  max-width: 640px;
  margin-top: 40px;
}
.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  font-family: var(--f-body);
  font-size: 15px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--ink);
  transition: border-color 0.15s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--ink);
}
.contact-form textarea {
  min-height: 160px;
  resize: vertical;
  font-family: var(--f-body);
  line-height: 1.6;
}
.contact-form .submit {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  font-family: var(--f-body);
}
.contact-form .submit:hover { background: var(--accent-deep, var(--ink-soft)); }
.contact-form .note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.form-status {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 4px;
  font-size: 14px;
  display: none;
}
.form-status.success {
  display: block;
  background: color-mix(in oklab, var(--accent-cool) 12%, var(--paper));
  color: var(--ink);
  border-left: 3px solid var(--accent-cool);
}
.form-status.error {
  display: block;
  background: #fdecec;
  color: #8a2424;
  border-left: 3px solid #c44;
}

/* ── Footer legal links ─────────────────────────────────────── */
.footer-top ul.legal-links li { margin-bottom: 8px; }

/* ── Booking: Why book direct list ──────────────────────────── */
.direct-benefits {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
  border-top: 1px solid var(--line);
}
.direct-benefits li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-mute, var(--ink));
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.direct-benefits li .bullet {
  color: var(--accent);
  font-family: var(--f-mono);
  font-weight: 400;
  flex-shrink: 0;
}
.direct-benefits li.note {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  border-bottom: none;
  display: block;
  padding-top: 18px;
}

/* ── Host stats-row: handle longer Languages text ───────────── */
@media (max-width: 760px) {
  .host .stats-row {
    flex-direction: column;
    gap: 16px;
  }
}
.host .stats-row > div strong {
  word-wrap: break-word;
  max-width: 100%;
}
