/* Liminality Hospitality · Heritage Luxury Architecture */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Space+Grotesk:wght@500;600&display=swap');

:root {
  --bg: #F8F7F4;
  --surface: #FAF9F5;
  --surface-subtle: #F1EFEA;
  --ink: #11100D;
  --muted: #423E36;
  --gold: #8A5E22;
  --gold-tint: rgba(138, 94, 34, 0.08);
  --border: rgba(17, 16, 13, 0.08);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-text: 'Instrument Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-brand: 'Space Grotesk', -apple-system, sans-serif;

  --step-small: 13px;
  --step-body: clamp(16px, 1rem + 0.15vw, 18px);
  --step-lead: clamp(19px, 1.15rem + 0.3vw, 22px);
  --step-head: clamp(30px, 2rem + 1.2vw, 46px);
  --step-display: clamp(42px, 3rem + 2.8vw, 76px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E0D0B;
    --surface: #171613;
    --surface-subtle: #201E1A;
    --ink: #FAF9F6;
    --muted: #C5BFB2;
    --gold: #D6A85B;
    --gold-tint: rgba(214, 168, 91, 0.12);
    --border: rgba(250, 249, 246, 0.08);
  }
}

html[data-theme="dark"] {
  --bg: #0E0D0B;
  --surface: #171613;
  --surface-subtle: #201E1A;
  --ink: #FAF9F6;
  --muted: #C5BFB2;
  --gold: #D6A85B;
  --gold-tint: rgba(214, 168, 91, 0.12);
  --border: rgba(250, 249, 246, 0.08);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.72;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.container-narrow { width: min(820px, calc(100% - 48px)); margin-inline: auto; }

/* 1. Header */
.site-header { padding: 32px 0 28px; background: var(--bg); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-brand); font-size: 14px; font-weight: 600;
  letter-spacing: 0.12em;
}
.brand img {
  width: 32px; height: 32px; object-fit: contain;
  transition: filter 0.25s ease;
}
html[data-theme="dark"] .brand img { filter: invert(1); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand img { filter: invert(1); }
}
.brand-small { font-size: 13px; }
.brand-small img { width: 24px; height: 24px; }
.brand-sub {
  font-family: var(--font-brand); font-size: 13px; font-weight: 400;
  letter-spacing: 0.16em; color: var(--muted); margin-left: 2px;
}
.header-actions { display: flex; align-items: center; gap: 24px; font-size: var(--step-small); }
.lang-nav { font-size: 13px; color: var(--muted); }
.lang-nav a.active { color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--ink); }
.btn-contact {
  padding: 9px 20px; background: transparent; color: var(--ink);
  font-size: 13px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; border: 1px solid var(--border);
  border-radius: 0; transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.btn-contact:hover { border-color: var(--ink); background: var(--surface-subtle); }
.btn-contact:active, .btn-primary:active, .btn-secondary:active, .btn-reserve:active { transform: scale(0.97); transition-duration: 80ms; }

/* 2. Hero: High-Readability Editorial */
.hero { padding: 48px 0 80px; }
.hero-title {
  font-family: var(--font-display);
  font-size: var(--step-display); font-weight: 500; line-height: 1.08;
  letter-spacing: -0.025em; max-width: 32ch; margin-bottom: 24px;
  text-wrap: balance;
}
.hero-desc {
  font-size: var(--step-lead); color: var(--muted); line-height: 1.68;
  max-width: 54ch; margin-bottom: 36px;
}
.hero-cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 56px; }
.btn-primary {
  display: inline-block;
  padding: 16px 34px; background: var(--ink); color: var(--bg);
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; border: 1px solid var(--ink);
  border-radius: 0; transition: background 0.25s, color 0.25s;
}
.btn-primary:hover { background: transparent; color: var(--ink); }
.btn-secondary {
  display: inline-block;
  padding: 16px 34px; background: transparent; color: var(--ink);
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; border: 1px solid var(--border);
  border-radius: 0; transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.btn-secondary:hover { border-color: var(--ink); background: var(--surface-subtle); }

/* Motion Layer */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-title { animation: revealUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero-desc { animation: revealUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both; }
.hero-cta-row { animation: revealUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both; }
.panorama { animation: revealUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.45s both; }
.diptych { animation: revealUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.concierge-plate { animation: revealUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.manifesto-wrap { animation: revealUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }

/* Full-Bleed Panorama */
.panorama { border-radius: 0; overflow: hidden; position: relative; background: var(--surface-subtle); }
.panorama img,
.panorama video {
  width: 100%; height: clamp(480px, 58vh, 720px); object-fit: cover; display: block;
}
@media (prefers-reduced-motion: reduce) {
  .panorama video { display: none; }
}
.panorama-caption {
  position: absolute; bottom: 20px; left: 24px;
  font-family: var(--font-text); font-size: 13px; font-weight: 500;
  color: #FAF9F6; letter-spacing: 0.02em;
  background: rgba(14, 13, 11, 0.72); padding: 7px 16px; border-radius: 0;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

/* 3. Narrative Diptych Sections */
.section { padding: 110px 0; }
.section-subtle { background: var(--surface-subtle); }
.diptych { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.diptych-media { border-radius: 0; overflow: hidden; height: 500px; }
.diptych-media img { width: 100%; height: 100%; object-fit: cover; }
.section-title {
  font-family: var(--font-display);
  font-size: var(--step-head); font-weight: 500; line-height: 1.15;
  letter-spacing: -0.02em; margin-bottom: 22px; max-width: 26ch;
  text-wrap: balance;
}
.section-body { color: var(--muted); font-size: var(--step-body); line-height: 1.75; margin-bottom: 28px; }
.quote-passage {
  font-family: var(--font-display); font-size: var(--step-lead); font-style: italic; color: var(--ink);
  line-height: 1.6; margin-bottom: 28px;
}
.proof-pillars { display: flex; flex-direction: column; gap: 16px; }
.pillar-item { font-size: var(--step-body); line-height: 1.65; color: var(--muted); }
.pillar-item strong { color: var(--ink); font-weight: 600; }

/* 4. Tactile Booking Plate */
.concierge-plate {
  background: var(--surface); border-radius: 0; padding: 40px;
  position: relative;
}
.plate-room-tag {
  font-family: var(--font-text); font-size: 13px; letter-spacing: 0.02em;
  color: var(--gold); margin-bottom: 8px; font-weight: 500;
}
.plate-room-name {
  font-family: var(--font-display); font-size: var(--step-lead);
  font-weight: 600; margin-bottom: 4px; letter-spacing: -0.01em;
}
.plate-room-rate { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.btn-reserve {
  display: block; width: 100%; padding: 16px; text-align: center;
  background: var(--ink); color: var(--bg); font-family: var(--font-text);
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 0; border: 1px solid var(--ink); cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.btn-reserve:hover { background: transparent; color: var(--ink); }
.reserve-status {
  text-align: center; font-size: 13px; color: var(--gold);
  margin-top: 12px; min-height: 20px;
}

/* 5. Manifesto & Authors */
.manifesto-wrap { text-align: left; padding: 40px 0; }
.manifesto-title {
  font-family: var(--font-display);
  font-size: var(--step-head); font-weight: 500; line-height: 1.15;
  letter-spacing: -0.02em; margin-bottom: 24px; max-width: 26ch;
  text-wrap: balance;
}
.manifesto-text {
  font-size: var(--step-lead); color: var(--muted); line-height: 1.75;
  margin-bottom: 36px; max-width: 58ch;
}
.manifesto-founders { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.founder-avatars { display: flex; align-items: center; gap: 8px; }
.founder-img { width: 44px; height: 44px; border-radius: 0; border: 1px solid var(--border); object-fit: cover; }
.manifesto-author {
  font-size: 14px; letter-spacing: 0.02em;
  font-weight: 600; color: var(--ink); margin-bottom: 0;
}

/* 6. Editorial Footer */
.site-footer { padding: 48px 0; background: var(--bg); font-size: 13px; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transform: none !important;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .panorama-caption {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #0E0D0B !important;
  }
}
@media (prefers-contrast: more) {
  :root, html[data-theme="dark"] {
    --border: var(--ink);
    --muted: var(--ink);
  }
}

@media (max-width: 900px) {
  .hero-title { font-size: clamp(28px, 5vw, 42px); line-height: 1.15; max-width: 32ch; }
  .diptych { grid-template-columns: 1fr; gap: 40px; }
  .diptych-media { height: 380px; }
  .section { padding: 80px 0; }
  .panorama img, .panorama video { height: clamp(340px, 45vh, 580px); }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 40px); }
  .site-header { padding: 24px 0 20px; }
  .header-actions { gap: 16px; }
  .btn-contact { display: none; }
  .hero { padding: 40px 0 60px; }
  .section { padding: 60px 0; }
  .hero-title { font-size: 24px; line-height: 1.15; width: 100%; max-width: 100%; }
  .hero-desc { font-size: 16px; width: 100%; max-width: 100%; }
  .section-title { font-size: 23px; line-height: 1.2; width: 100%; max-width: 100%; }
  .manifesto-title { font-size: 23px; line-height: 1.2; width: 100%; max-width: 100%; }
  .quote-passage { font-size: 17px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { text-align: center; }
  .panorama img, .panorama video { height: 260px; }
  .concierge-plate { padding: 28px 20px; }
  .diptych-reverse .diptych-text { order: -1; }
}
@media (max-width: 480px) {
  .footer-row { flex-direction: column; align-items: flex-start; }
}
