/* ==========================================================================
   Les Ramblas — Stylesheet
   Palette inspired by the building: deep midnight blue, ivory, brass,
   ash grey. Editorial serif + clean sans for body.
   ========================================================================== */

:root {
  --bg: #f5f1ea;          /* ivoire chaud */
  --bg-2: #efe9df;        /* ivoire un peu plus sombre */
  --bg-dark: #0c1c2e;     /* bleu nuit profond */
  --bg-dark-2: #0a1828;
  --ink: #14202e;         /* texte principal */
  --ink-soft: #4a5563;
  --ink-mute: #8a8f96;
  --line: rgba(20,32,46,0.12);
  --line-soft: rgba(20,32,46,0.07);
  --line-dark: rgba(245,241,234,0.15);
  --accent: #c9a86a;      /* laiton */
  --accent-hover: #b9975a;
  --blue: #6f93b8;        /* le bleu pâle des chambres */
  --blue-deep: #2b4c70;
  --carmin: #8a2424;

  --serif: "Cormorant Garamond", "Noto Serif SC", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --cn: "Noto Serif SC", "Cormorant Garamond", serif;

  --container: 1320px;
  --gutter: 32px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --r: 2px; /* rounded corners — minimal */
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html[lang="zh"] body { font-family: var(--cn); }

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

::selection { background: var(--bg-dark); color: var(--bg); }

/* ==========================================================================
   Loader
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .8s var(--ease), visibility 0s .8s;
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--bg);
}
.loader-text { display: flex; flex-direction: column; }
.loader-overline {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.loader-mark {
  font-family: var(--serif);
  font-size: 42px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
}
.loader-line {
  width: 0;
  height: 1px;
  background: var(--accent);
  animation: loader-grow 1.6s var(--ease-out) forwards;
}
@keyframes loader-grow {
  0% { width: 0; }
  100% { width: 180px; }
}

/* ==========================================================================
   Container & grid
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}
@media (max-width: 960px) {
  .grid-12 { grid-template-columns: 1fr; gap: 40px; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: all .5s var(--ease);
}
.header.is-scrolled {
  background: rgba(245,241,234,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--bg);
  transition: color .5s var(--ease);
}
.header.is-scrolled .brand { color: var(--ink); }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.brand-mark.large { width: 54px; height: 54px; font-size: 30px; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-overline {
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 4px;
  font-weight: 500;
}
.brand-line-1 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.005em;
  line-height: 1;
}
.brand-line-2 {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 5px;
  opacity: 0.7;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 36px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--bg);
  transition: color .5s var(--ease);
}
.header.is-scrolled .nav { color: var(--ink); }
.nav a {
  position: relative;
  padding: 6px 0;
  transition: opacity .3s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--bg);
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: color .5s var(--ease);
}
.header.is-scrolled .lang-switcher { color: var(--ink); }
.lang-switcher button {
  padding: 4px 2px;
  opacity: 0.55;
  transition: opacity .25s ease;
  font-weight: 400;
}
.lang-switcher button.active,
.lang-switcher button:hover { opacity: 1; }
.lang-switcher button.active {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
.lang-sep { opacity: 0.4; }

/* Compact language pill (mobile) */
.lang-pill { display: none; position: relative; }
.lang-pill-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(245,241,234,0.35);
  border-radius: 999px;
  color: var(--bg);
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  min-height: 36px;
  transition: border-color .25s ease, background .25s ease, color .5s var(--ease);
}
.header.is-scrolled .lang-pill-toggle {
  color: var(--ink);
  border-color: rgba(12,28,46,0.25);
}
.lang-pill-toggle:hover { background: rgba(245,241,234,0.08); }
.header.is-scrolled .lang-pill-toggle:hover { background: rgba(12,28,46,0.05); }
.lang-pill-caret {
  width: 9px;
  height: 5px;
  transition: transform .25s ease;
}
.lang-pill-toggle[aria-expanded="true"] .lang-pill-caret { transform: rotate(180deg); }
.lang-pill-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 18px 40px rgba(12,28,46,0.18);
  display: none;
  z-index: 95;
}
.lang-pill.is-open .lang-pill-menu { display: block; }
.lang-pill-menu button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  text-align: left;
  font-size: 14px;
  transition: background .2s ease;
}
.lang-pill-menu button:hover { background: rgba(12,28,46,0.05); }
.lang-pill-menu .lp-code {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  min-width: 28px;
}
.lang-pill-menu .lp-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
}
.lang-pill-menu button.active {
  background: rgba(201,168,106,0.10);
}
.lang-pill-menu button.active .lp-name { font-style: italic; }

.menu-toggle { display: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .header { padding: 14px 0; }
  .header.is-scrolled { padding: 10px 0; }
  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 0 20px;
  }
  /* Compact brand: keep only monogram + name, drop overline + tagline */
  .brand-overline,
  .brand-line-2 { display: none; }
  .brand-mark { width: 34px; height: 34px; font-size: 19px; }
  .brand-line-1 { font-size: 18px; }
  /* Hide desktop lang switcher; show compact pill instead */
  .header .lang-switcher { display: none; }
  .lang-pill { display: inline-flex; }
  .header-actions { gap: 10px; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
  }
  .menu-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--bg);
    transition: all .3s var(--ease);
  }
  .header.is-scrolled .menu-toggle span { background: var(--ink); }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  color: var(--bg);
  padding: 92px 28px 32px;
  z-index: 90;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 24px;
  padding-top: 4px;
}
.mobile-nav a {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 300;
  padding: 10px 0;
  color: var(--bg);
  transition: color .25s ease;
}
.mobile-nav a:active { color: var(--accent); }
.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 0 24px;
  border-bottom: 1px solid var(--line-dark);
}
.btn-block {
  width: 100%;
  justify-content: center;
  padding: 18px 24px;
}
.mobile-menu-lang {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 4px;
}
.mobile-menu-lang button {
  flex: 1;
  padding: 14px 6px;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: rgba(245,241,234,0.55);
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}
.mobile-menu-lang button.active {
  color: var(--bg);
  border-bottom-color: var(--accent);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all .4s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-sm { padding: 10px 20px; font-size: 11px; letter-spacing: 0.14em; }
.btn-lg { padding: 18px 36px; font-size: 13px; }
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-dark);
  transform: translateY(-1px);
}
.btn-primary svg { transition: transform .4s var(--ease); }
.btn-primary:hover svg { transform: translate(3px, -3px); }
.btn-ghost {
  border-color: rgba(245,241,234,0.4);
  color: var(--bg);
}
.btn-ghost:hover {
  border-color: var(--bg);
  background: rgba(245,241,234,0.08);
}
.btn-ghost-light {
  border-color: rgba(245,241,234,0.55);
  color: var(--bg);
  background: transparent;
}
.btn-ghost-light:hover {
  border-color: var(--bg);
  background: rgba(245,241,234,0.08);
}
.header.is-scrolled .btn-ghost-light {
  border-color: rgba(20,32,46,0.35);
  color: var(--ink);
}
.header.is-scrolled .btn-ghost-light:hover {
  border-color: var(--ink);
  background: rgba(20,32,46,0.04);
}
.hide-on-mobile { display: inline-flex; }
@media (max-width: 960px) { .hide-on-mobile { display: none; } }

.header.is-scrolled .btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  width: 100%;
  overflow: hidden;
  color: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 20s ease-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  0%   { transform: scale(1.08) translate(0, 0); }
  100% { transform: scale(1.18) translate(-2%, -1%); }
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,28,46,0.55) 0%, rgba(12,28,46,0.15) 35%, rgba(12,28,46,0.85) 100%),
    linear-gradient(90deg, rgba(12,28,46,0.45) 0%, rgba(12,28,46,0) 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.2s forwards;
}
.hero-eyebrow .line {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--accent);
}

.hero-overline {
  display: block;
  font-size: 13px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin: 28px 0 6px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.2s forwards;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(64px, 12vw, 184px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
}
.hero-title .reveal-word {
  display: block;
  overflow: hidden;
}
.hero-title .reveal-word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: revealUp 1.2s var(--ease-out) forwards;
}
.hero-title .reveal-word:nth-child(1) > span { animation-delay: 1.3s; }
.hero-title .reveal-word:nth-child(2) > span { animation-delay: 1.5s; }
.hero-title .italic { font-style: italic; }
@keyframes revealUp {
  0% { transform: translateY(110%); }
  100% { transform: translateY(0); }
}

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 300;
  font-style: italic;
  max-width: 540px;
  line-height: 1.45;
  margin: 0 0 40px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.9s forwards;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 2.1s forwards;
}

.hero-meta {
  position: absolute;
  left: 0; right: 0;
  bottom: 80px;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  gap: 40px;
  align-items: flex-end;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 2.4s forwards;
}
.meta-item { display: flex; flex-direction: column; gap: 6px; }
.meta-num {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.02em;
  position: relative;
}
.meta-tag {
  font-size: 14px;
  letter-spacing: 0.05em;
  margin-left: 4px;
  vertical-align: super;
  font-family: var(--sans);
}
.meta-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}
.meta-divider {
  width: 1px;
  height: 40px;
  background: rgba(245,241,234,0.25);
  margin-bottom: 4px;
}

.scroll-indicator {
  position: absolute;
  right: var(--gutter);
  bottom: 60px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 2.6s forwards;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  background-size: 100% 200%;
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0% { background-position: 0% 100%; }
  100% { background-position: 0% -100%; }
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 80px;
    padding-bottom: 32px;
    justify-content: flex-start;
  }
  .hero-content { padding: 0 20px; }
  .hero-eyebrow { font-size: 10px; letter-spacing: 0.28em; gap: 12px; }
  .hero-eyebrow .line { width: 40px; }
  .hero-overline { font-size: 11px; letter-spacing: 0.42em; margin: 20px 0 4px; }
  .hero-title { font-size: clamp(56px, 16vw, 110px); margin: 0 0 24px; }
  .hero-sub {
    font-size: 17px;
    max-width: none;
    margin: 0 0 28px;
  }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { padding: 14px 22px; font-size: 11px; }
  /* Hide the absolute meta band: it overlaps content on small screens.
     The same numbers reappear in the trust stats section. */
  .hero-meta { display: none; }
  .scroll-indicator { display: none; }
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  background: var(--bg-dark);
  color: var(--bg);
  padding: 24px 0;
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.02em;
}
@media (max-width: 700px) {
  .marquee { padding: 16px 0; }
  .marquee-track { font-size: 20px; gap: 36px; animation-duration: 38s; }
}
.marquee-track .dot {
  color: var(--accent);
  font-size: 12px;
  font-style: normal;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Sections — common
   ========================================================================== */
.section {
  padding: 140px 0;
  position: relative;
}
@media (max-width: 960px) {
  .section { padding: 90px 0; }
}
@media (max-width: 700px) {
  .section { padding: 64px 0; }
  :root { --gutter: 20px; }
}

.section-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.section-tag {
  display: block;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.section-head {
  max-width: 880px;
  margin: 0 auto 80px;
  text-align: center;
}
.section-head .section-num { display: block; }
.section-head .display { margin-top: 16px; }
.section-head .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.45;
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--ink-soft);
}
@media (max-width: 700px) {
  .section-head { margin-bottom: 48px; }
  .section-head .lede { font-size: 17px; line-height: 1.5; margin-top: 18px; }
}

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5.2vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}
@media (max-width: 700px) {
  .display { font-size: clamp(34px, 8vw, 44px); line-height: 1.08; }
}
.display em {
  font-style: italic;
  font-weight: 300;
}
html[lang="zh"] .display { letter-spacing: 0; line-height: 1.15; }

/* ==========================================================================
   Section: Intro / Residence + District columns
   ========================================================================== */
.section-intro .col-num,
.section-district .col-num,
.section-contact .col-num { grid-column: span 2; padding-top: 8px; }
.section-intro .col-text,
.section-district .col-text,
.section-contact .col-text { grid-column: span 6; }
.section-intro .col-image,
.section-district .col-image { grid-column: span 4; }

@media (max-width: 960px) {
  .section-intro .col-num,
  .section-district .col-num,
  .section-contact .col-num,
  .section-intro .col-text,
  .section-district .col-text,
  .section-contact .col-text,
  .section-intro .col-image,
  .section-district .col-image { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .section-intro .col-num,
  .section-district .col-num,
  .section-contact .col-num {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding-top: 0;
    margin-bottom: -8px;
  }
  .col-num .section-num { margin-bottom: 0; }
  .col-num .section-tag { letter-spacing: 0.24em; }
}

.rich-text {
  margin-top: 32px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 56ch;
}
.rich-text p + p { margin-top: 18px; }

.key-points {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
}
.key-points li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.kp-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-size: 16px;
}
@media (max-width: 600px) {
  .key-points { grid-template-columns: 1fr; }
}

.frame {
  position: relative;
  margin: 0;
  overflow: hidden;
}
.frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.frame:hover img { transform: scale(1.04); }
.frame figcaption {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.frame-tall img { aspect-ratio: 3/4.4; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.section-gallery {
  background: var(--bg-2);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  grid-auto-flow: dense;
}
.g-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--bg-dark);
}
.g-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter .6s ease;
}
.g-card:hover img {
  transform: scale(1.05);
}
.g-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px;
  color: var(--bg);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  background: linear-gradient(180deg, rgba(12,28,46,0) 0%, rgba(12,28,46,0.85) 100%);
  transform: translateY(8px);
  opacity: 0.92;
  transition: all .4s var(--ease);
}
.g-card:hover figcaption { transform: translateY(0); opacity: 1; }
.g-name {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 300;
}
.g-no-caption figcaption { display: none; }

/* Asymmetric layout — magazine style */
.g-1 { grid-column: span 7; aspect-ratio: 4/3; }
.g-2 { grid-column: span 5; aspect-ratio: 5/4; }
.g-3 { grid-column: span 5; aspect-ratio: 4/5; }
.g-4 { grid-column: span 4; aspect-ratio: 1/1; }
.g-5 { grid-column: span 3; aspect-ratio: 3/4; }
.g-6 { grid-column: span 6; aspect-ratio: 3/2; }
.g-7 { grid-column: span 6; aspect-ratio: 3/2; }
.g-8 { grid-column: span 4; aspect-ratio: 4/5; }
.g-9 { grid-column: span 8; aspect-ratio: 16/9; }

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .g-1, .g-2, .g-3, .g-4, .g-5, .g-6, .g-7, .g-8, .g-9 {
    grid-column: span 1;
    aspect-ratio: 4/5;
  }
  .g-1, .g-9 { grid-column: span 2; aspect-ratio: 3/2; }
}

/* ==========================================================================
   District list
   ========================================================================== */
.district-list {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.dl-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.dl-item:nth-child(odd) { padding-right: 24px; }
.dl-item:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.dl-time {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
  min-width: 70px;
}
.dl-place {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
@media (max-width: 600px) {
  .district-list { grid-template-columns: 1fr; }
  .dl-item:nth-child(even) { padding-left: 0; border-left: 0; }
  .dl-item:nth-child(odd) { padding-right: 0; }
}

.wide-strip {
  margin-top: 100px;
  position: relative;
  overflow: hidden;
}
.wide-strip img {
  width: 100%;
  height: 60vh;
  max-height: 560px;
  object-fit: cover;
}
.wide-strip-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 32px var(--gutter);
  background: linear-gradient(180deg, transparent, rgba(12,28,46,0.8));
  color: var(--bg);
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 300;
  text-align: center;
  letter-spacing: 0.04em;
}
@media (max-width: 700px) {
  .wide-strip { margin-top: 56px; }
  .wide-strip img { height: 38vh; max-height: 320px; }
  .wide-strip-caption { font-size: 16px; padding: 22px var(--gutter); }
}

/* ==========================================================================
   Services
   ========================================================================== */
.section-services {
  background: var(--bg-dark);
  color: var(--bg);
}
.section-services .section-tag { color: rgba(245,241,234,0.5); }
.section-services .section-num { color: var(--accent); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-dark);
}
.service {
  padding: 56px 32px;
  border-bottom: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
  transition: background .4s var(--ease);
}
.service:nth-child(3n) { border-right: 0; }
.service:hover { background: rgba(201,168,106,0.06); }
.service svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin-bottom: 28px;
}
.service h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.service p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(245,241,234,0.7);
  margin: 0;
  max-width: 36ch;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(3n) { border-right: 1px solid var(--line-dark); }
  .service:nth-child(2n) { border-right: 0; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .service { border-right: 0; padding: 40px 0; }
}

/* ==========================================================================
   CTA section
   ========================================================================== */
.section-cta {
  background: var(--bg-2);
  text-align: center;
}
.cta-card {
  max-width: 760px;
  margin: 0 auto;
}
.cta-card .section-num { display: block; margin-bottom: 24px; }
.cta-card p {
  margin: 28px auto 36px;
  max-width: 540px;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.cta-note {
  margin-top: 32px !important;
  font-size: 13px !important;
  font-style: italic;
  color: var(--ink-mute) !important;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-block { margin-top: 48px; }
.contact-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.contact-row:last-child { border-bottom: 1px solid var(--line); }
.contact-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact-value {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
}
.contact-value a {
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color .3s ease;
}
.contact-value a:hover { color: var(--accent); }
@media (max-width: 600px) {
  .contact-row { grid-template-columns: 1fr; gap: 8px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg-dark);
  color: var(--bg);
  padding: 100px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-overline {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.footer-name {
  font-family: var(--serif);
  font-size: 30px;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}
.footer-tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-top: 10px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.footer-links a { transition: color .3s; }
.footer-links a:hover { color: var(--accent); }
.footer-meta {
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.75;
  text-align: right;
}
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}
@media (max-width: 800px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-meta { text-align: left; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

/* ==========================================================================
   Reveal animations
   ========================================================================== */
.reveal, .reveal-img {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
}
.reveal.is-visible, .reveal-img.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-img {
  transform: translateY(50px);
  position: relative;
}
.reveal-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-2);
  transform-origin: right;
  transition: transform 1.4s var(--ease-out);
  z-index: 2;
  pointer-events: none;
}
.reveal-img.is-visible::after { transform: scaleX(0); }
.section-services .reveal-img::after,
.section-services .g-card::after { background: var(--bg-dark); }

/* ==========================================================================
   Emplacement / metro map section
   ========================================================================== */
.section-map {
  background: var(--bg);
  position: relative;
}
.section-map::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.map-wrap {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .map-wrap { grid-template-columns: 1fr; gap: 40px; }
}

.metro-map {
  width: 100%;
  height: auto;
  background: linear-gradient(135deg, #ffffff 0%, #f5f1ea 100%);
  border: 1px solid var(--line);
  display: block;
}
.metro-map .line-a,
.metro-map .line-b {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawLine 2.6s var(--ease-out) forwards;
}
.metro-map .line-b { animation-delay: 0.6s; }
.is-visible .metro-map .line-a,
.is-visible .metro-map .line-b { /* keep */ }
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
.metro-map .stations circle {
  fill: var(--bg-dark);
  stroke: var(--bg);
  stroke-width: 2;
}
.metro-map .stations text {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  fill: var(--ink-soft);
  font-weight: 400;
}
.metro-map .river-label {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  fill: var(--blue-deep);
  opacity: 0.6;
}
.metro-map .jj-station circle:first-child {
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}
.metro-map .jj-station {
  transform-origin: 400px 300px;
}
.metro-map .jj-label {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  fill: var(--ink);
  letter-spacing: 0.01em;
}
.metro-map .jj-sub {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  fill: var(--ink-mute);
}
.metro-map .residence-marker .marker-label-1 {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  fill: var(--accent);
  font-weight: 600;
}
.metro-map .residence-marker .marker-label-2 {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  fill: var(--ink);
}
.metro-map .residence-marker .marker-label-3 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  fill: var(--ink-soft);
}
.metro-map .residence-marker circle:nth-child(2) {
  animation: markerPulse 2.4s ease-in-out infinite;
  transform-origin: center;
}
@keyframes markerPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}
.metro-map .legend text {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  fill: var(--ink-soft);
}

.map-side { display: flex; flex-direction: column; gap: 32px; }
.map-points {
  list-style: none;
  padding: 0;
  margin: 0;
}
.map-points li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.map-points li:first-child { border-top: 1px solid var(--line); }
.mp-key {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.mp-val {
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.4;
}
.btn-ghost.btn-dark {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost.btn-dark:hover {
  background: var(--ink);
  color: var(--bg);
}
.map-cta { align-self: flex-start; }

@media (max-width: 600px) {
  .map-points li { grid-template-columns: 1fr; gap: 6px; }
}

/* ==========================================================================
   Trust band — chiffres clés
   ========================================================================== */
.section-stats {
  background: var(--bg-dark);
  color: var(--bg);
  padding: 90px 0;
  position: relative;
}
.stats-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.stats-head .section-tag {
  display: block;
  color: var(--accent);
  margin-bottom: 14px;
}
.stats-title {
  color: var(--bg);
  font-size: clamp(34px, 4.2vw, 56px);
}
.stats-title em { font-style: italic; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.stat {
  padding: 44px 24px;
  text-align: center;
  border-right: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--bg);
}
.stat-sym {
  display: inline-block;
  margin-left: 2px;
  font-size: 0.55em;
  color: var(--accent);
  vertical-align: super;
  font-style: italic;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,241,234,0.65);
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-dark); }
}
@media (max-width: 500px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line-dark); padding: 28px 16px; }
  .stat:last-child { border-bottom: 0; }
}

/* ==========================================================================
   Real Google Maps embed (Emplacement section)
   ========================================================================== */
.real-map {
  margin-top: 64px;
  border: 1px solid var(--line);
  background: #fff;
}
.real-map-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.real-map-tag {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.real-map-streetview {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 4px 0;
  border-bottom: 1px solid var(--accent);
  transition: color .25s ease, gap .25s ease;
}
.real-map-streetview:hover { color: var(--accent); gap: 12px; }
.real-map iframe {
  display: block;
  width: 100%;
  filter: grayscale(0.15) contrast(0.96);
}
@media (max-width: 700px) {
  .real-map { margin-top: 40px; }
  .real-map iframe { height: 280px; }
  .real-map-head { padding: 12px 16px; }
  .real-map-streetview { font-size: 10px; letter-spacing: 0.14em; }
}

/* ==========================================================================
   Booking / Contact form
   ========================================================================== */
.section-contact .col-text .display { margin-bottom: 8px; }

.booking-form {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 820px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-row:has(.field-narrow) {
  grid-template-columns: 1fr 1fr 0.7fr;
}
@media (max-width: 700px) {
  .form-row,
  .form-row:has(.field-narrow) { grid-template-columns: 1fr; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="date"],
.field input[type="number"],
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--line);
  border-radius: 0;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-mute);
  font-style: italic;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201,168,106,0.18);
}
.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(138,36,36,0.6);
}
.field textarea { resize: vertical; min-height: 120px; font-family: var(--sans); }
.field input[type="date"] {
  font-family: var(--sans);
  color: var(--ink);
}

.field-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
  padding: 8px 0;
}
.field-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  background: #fff;
  margin-top: 2px;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease;
}
.field-checkbox input[type="checkbox"]:checked {
  background: var(--ink);
  border-color: var(--ink);
}
.field-checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--accent);
}
.field-checkbox input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(201,168,106,0.25);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form-note {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  font-style: italic;
}

.form-status {
  min-height: 24px;
  font-size: 14px;
  margin-top: 6px;
  padding: 0;
}
.form-status.is-success {
  padding: 14px 18px;
  background: rgba(201,168,106,0.12);
  border-left: 2px solid var(--accent);
  color: var(--ink);
}
.form-status.is-error {
  padding: 14px 18px;
  background: rgba(138,36,36,0.08);
  border-left: 2px solid var(--carmin);
  color: var(--carmin);
}
.booking-form.is-submitting button[type="submit"] {
  opacity: 0.6;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-img { opacity: 1; transform: none; }
  .reveal-img::after { display: none; }
}
