@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --forest: #25382f;
  --forest-deep: #17271f;
  --ivory: #f7f1e7;
  --paper: #fffdf9;
  --sand: #ddcbb4;
  --gold: #b69368;
  --ink: #192019;
  --muted: #6f736d;
  --line: rgba(37, 56, 47, .16);
  --glass: rgba(28, 49, 39, .76);
  --shadow: 0 24px 70px rgba(16, 29, 23, .22);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--forest-deep); }
body {
  margin: 0;
  color: var(--ink);
  background: #d9d4c9;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.ambient {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(21,38,30,.76), rgba(21,38,30,.08)),
    url("images/facade.jpg") center/cover;
  filter: saturate(.65) blur(7px);
  transform: scale(1.04);
}

.app {
  position: relative;
  width: min(100%, 560px);
  min-height: 100dvh;
  margin: 0 auto;
  overflow-x: hidden;
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.topbar {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 50%;
  width: min(100%, 560px);
  height: calc(82px + env(safe-area-inset-top));
  padding: calc(12px + env(safe-area-inset-top)) 18px 10px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  background: rgba(249,244,235,.94);
  border-bottom: 1px solid rgba(37,56,47,.14);
  backdrop-filter: blur(18px);
}
.brand { position: absolute; left: 50%; transform: translateX(-50%); width: 58px; height: 58px; }
.brand img { width: 100%; height: 100%; object-fit: cover; }
.round-button, .help-button {
  border: 1px solid rgba(37,56,47,.32);
  color: var(--forest);
  background: rgba(255,255,255,.48);
}
.round-button {
  width: 44px; height: 44px; border-radius: 50%; padding: 10px; cursor: pointer;
  opacity: 0; pointer-events: none;
}
.round-button.visible { opacity: 1; pointer-events: auto; }
.round-button svg { width: 22px; height: 22px; }
.help-button {
  display: flex; align-items: center; gap: 7px; min-height: 43px;
  padding: 0 12px; font-size: 12px; font-weight: 700; letter-spacing: -.02em;
}
.help-button svg { width: 19px; height: 19px; }
.header-actions { display: flex; align-items: center; gap: 7px; justify-self: end; }
.language-toggle {
  min-width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid rgba(37,56,47,.28); border-radius: 999px;
  color: var(--forest); background: rgba(255,255,255,.42);
  font-size: 10px; font-weight: 800; letter-spacing: .11em;
}
.language-toggle:active { background: var(--forest); color: white; }

main { min-height: 100dvh; }
.screen { display: none; min-height: 100dvh; padding-top: calc(82px + env(safe-area-inset-top)); }
.screen.active { display: block; animation: enter .34s ease both; }
@keyframes enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

.photo-screen {
  position: relative;
  color: white;
  background: var(--screen-image) center/cover fixed;
}
.photo-screen::before {
  content: ""; position: fixed; z-index: 0;
  top: calc(82px + env(safe-area-inset-top)); bottom: 0;
  left: max(0px, calc(50vw - 280px)); right: max(0px, calc(50vw - 280px));
  background: var(--screen-image) center/cover;
}
.screen-overlay {
  position: fixed; z-index: 1;
  top: calc(82px + env(safe-area-inset-top)); bottom: 0;
  left: max(0px, calc(50vw - 280px)); right: max(0px, calc(50vw - 280px));
  background: linear-gradient(180deg, rgba(11,24,17,.16), rgba(11,24,17,.52) 42%, rgba(11,24,17,.88));
}
.home-inner, .module-inner { position: relative; z-index: 2; padding: 30px 24px calc(36px + env(safe-area-inset-bottom)); }
.home-inner { min-height: calc(100dvh - 82px); display: flex; flex-direction: column; justify-content: flex-end; }
.editorial-title { margin: 8px 0 24px; text-shadow: 0 3px 24px rgba(0,0,0,.38); }
.editorial-title p, .module-title p, .content-hero p, .directory-head p {
  margin: 0 0 7px; text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 700;
}
.editorial-title h1, .module-title h1, .content-hero h1, .directory-head h1 {
  margin: 0; font-family: var(--serif); line-height: .99; letter-spacing: -.045em;
}
.editorial-title h1 { font-size: clamp(43px, 12vw, 66px); }
.editorial-title span, .module-title span { display: block; margin-top: 12px; font-size: 13px; letter-spacing: .06em; }

.main-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.main-menu a {
  min-height: 112px; padding: 14px 14px 13px; position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto; align-items: start;
  border: 1px solid rgba(255,255,255,.38); border-radius: 20px; color: white; background: var(--forest);
  box-shadow: 0 14px 34px rgba(0,0,0,.22); transition: transform .2s ease, box-shadow .2s ease;
}
.main-menu a > img {
  position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center; filter: saturate(.92) contrast(1.04);
}
.main-menu a::after {
  content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12,31,22,.10), rgba(13,32,23,.42) 50%, rgba(11,27,20,.88)),
    linear-gradient(115deg, rgba(24,52,39,.24), transparent 62%);
}
.main-menu a:active { transform: scale(.975); box-shadow: 0 7px 18px rgba(0,0,0,.22); }
.main-menu small { position: relative; z-index: 2; font-size: 10px; letter-spacing: .12em; opacity: .84; text-shadow: 0 2px 10px rgba(0,0,0,.72); }
.main-menu svg { position: relative; z-index: 2; width: 29px; height: 29px; filter: drop-shadow(0 2px 7px rgba(0,0,0,.58)); }
.main-menu b { position: relative; z-index: 2; grid-column: 1 / -1; font-family: var(--serif); font-size: 17px; line-height: 1.08; text-shadow: 0 2px 12px rgba(0,0,0,.78); }
.main-menu .history-menu-card { grid-column: 1 / -1; min-height: 126px; }
.main-menu .history-menu-card > img { object-position: center 40%; }
.main-menu .history-menu-card b { font-size: 20px; }
.direct-booking {
  margin-top: 16px; padding: 16px 17px; display: flex; justify-content: space-between; align-items: end; gap: 16px;
  border-radius: 19px; color: var(--forest); background: var(--ivory); box-shadow: 0 16px 36px rgba(0,0,0,.18);
}
.direct-booking span { display: grid; gap: 2px; }
.direct-booking small { font-size: 10px; text-transform: uppercase; letter-spacing: .11em; color: #77756f; }
.direct-booking b { font-family: var(--serif); font-size: 22px; }
.direct-booking i { flex: none; font-size: 11px; font-style: normal; font-weight: 700; color: var(--gold); }
.whatsapp-home { margin: 14px auto 0; color: white; font-size: 12px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.5); }
.welcome-note {
  margin-top: 16px; padding: 18px 18px 19px; color: white;
  border: 1px solid rgba(255,255,255,.3); border-radius: 19px; background: rgba(20,43,32,.72);
  box-shadow: 0 14px 34px rgba(0,0,0,.15); backdrop-filter: blur(9px);
}
.welcome-note small { color: var(--sand); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; font-weight: 800; }
.welcome-note p { margin: 8px 0 0; color: rgba(255,255,255,.9); font-family: var(--serif); font-size: 15px; line-height: 1.5; }

.module-inner { min-height: calc(100dvh - 82px); padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
.module-title { margin: 14px 0 20px; text-shadow: 0 3px 20px rgba(0,0,0,.45); }
.module-title h1 { font-size: clamp(42px, 11vw, 59px); }
.address-card {
  display: flex; align-items: center; gap: 12px; padding: 14px 15px; margin: 0 0 14px;
  color: var(--forest); background: rgba(255,253,249,.94); border-radius: 18px; box-shadow: 0 14px 30px rgba(0,0,0,.15);
}
.address-card svg { width: 29px; height: 29px; flex: none; }
.address-card span { display: grid; gap: 3px; }
.address-card b { font-size: 14px; }
.address-card small { font-size: 11px; color: var(--muted); }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
.choice-grid button, .choice-grid a {
  position: relative; min-height: 128px; overflow: hidden; border: 1px solid rgba(255,255,255,.27); border-radius: 20px;
  color: white; background: rgba(25,48,37,.8); padding: 16px; text-align: left; cursor: pointer;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; box-shadow: 0 14px 28px rgba(0,0,0,.13);
}
.choice-grid button:active, .choice-grid a:active { transform: scale(.98); }
.choice-grid svg { position: absolute; z-index: 2; top: 16px; right: 16px; width: 31px; height: 31px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
.choice-grid b { position: relative; z-index: 2; font-family: var(--serif); font-size: 18px; line-height: 1.08; }
.choice-grid small { position: relative; z-index: 2; font-size: 10px; opacity: .84; }
.choice-grid img { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.choice-grid img + b::before { content: ""; position: absolute; z-index: -1; inset: -74px -20px -45px; background: linear-gradient(transparent, rgba(8,22,15,.89)); }
.arrival-choices button { isolation: isolate; }
.arrival-choices button::after {
  content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,29,20,.10), rgba(10,29,20,.40) 48%, rgba(8,24,17,.91));
}
.arrival-choices b { text-shadow: 0 2px 12px rgba(0,0,0,.72); }
.reveal-card {
  margin-top: 13px; padding: 19px; color: var(--forest); background: rgba(255,253,249,.97); border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0,0,0,.18); animation: enter .25s ease both;
}
.reveal-card h2 { margin: 0 0 9px; font-family: var(--serif); font-size: 27px; }
.reveal-card p { margin: 0 0 10px; color: #565c56; font-size: 14px; line-height: 1.55; }
.reveal-card ul { margin: 10px 0 0; padding: 0; list-style: none; }
.reveal-card li { padding: 9px 0 9px 23px; position: relative; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.4; }
.reveal-card li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.reveal-card a { display: inline-flex; margin-top: 9px; padding: 11px 14px; color: white; background: var(--forest); border-radius: 999px; font-size: 12px; font-weight: 700; }
.reveal-media { height: 245px; margin: -7px -7px 18px; overflow: hidden; border-radius: 17px; background: #e4e1d9; }
.reveal-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.content-screen, .directory-screen { color: var(--ink); background: var(--ivory); padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
.content-hero { height: 310px; position: relative; overflow: hidden; color: white; }
.content-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 18%, rgba(12,24,18,.74)); }
.content-hero img { width: 100%; height: 100%; object-fit: cover; }
.content-hero > div { position: absolute; z-index: 2; left: 27px; right: 27px; bottom: 26px; }
.content-hero h1 { font-size: 52px; }
.content-body { padding: 24px; }
.wifi-card { padding: 22px; background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 15px 42px rgba(44,54,47,.08); }
.wifi-card > p { margin: 16px 0 6px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.wifi-card > p:first-child { margin-top: 0; }
.copy-button {
  width: 100%; min-height: 54px; padding: 0 7px 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1px solid rgba(37,56,47,.16); border-radius: 15px; color: var(--forest); background: #f5f3ee; cursor: pointer;
}
.copy-button strong { font-size: 16px; word-break: break-all; text-align: left; }
.copy-button span { padding: 8px 11px; border-radius: 10px; color: white; background: var(--forest); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.copy-button.copied span { background: var(--gold); }
.copy-feedback { min-height: 19px; padding-top: 7px; text-align: center; color: var(--gold); font-size: 11px; }
.note { margin-top: 15px; padding: 19px 19px 19px 23px; border-left: 4px solid var(--gold); background: rgba(255,255,255,.58); }
.note b { font-family: var(--serif); font-size: 21px; }
.note p { margin: 6px 0 0; color: var(--muted); line-height: 1.55; font-size: 13px; }
.numbered-steps { margin: 0; padding: 0; list-style: none; }
.numbered-steps li { display: grid; grid-template-columns: 46px 1fr; gap: 13px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.numbered-steps span { color: var(--gold); font-family: var(--serif); font-size: 20px; }
.numbered-steps b { font-family: var(--serif); font-size: 20px; }
.numbered-steps p { margin: 4px 0 0; color: var(--muted); line-height: 1.5; font-size: 13px; }
.spa-gallery { display: grid; grid-template-columns: 1.25fr .75fr; gap: 8px; }
.spa-gallery figure { margin: 0; position: relative; height: 205px; border-radius: 18px; overflow: hidden; }
.spa-gallery img { width: 100%; height: 100%; object-fit: cover; }
.spa-gallery figcaption { position: absolute; left: 10px; bottom: 9px; padding: 5px 8px; color: white; background: rgba(21,41,31,.75); border-radius: 8px; font-size: 10px; }
.spa-tabs, .apartment-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.spa-tabs { margin: 18px 0 0; }
.spa-tabs button { flex: 1; padding: 12px; border: 1px solid var(--forest); background: transparent; color: var(--forest); cursor: pointer; }
.spa-tabs button.active { color: white; background: var(--forest); }
.spa-panel { padding: 20px; border: 1px solid var(--line); border-top: none; background: white; }
.spa-panel h2 { margin: 0 0 9px; font-family: var(--serif); font-size: 27px; }
.spa-panel ul { margin: 0; padding-left: 19px; }
.spa-panel li { margin: 8px 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.spa-panel strong { color: #8a4b36; }
.departure-list { background: white; border: 1px solid var(--line); }
.departure-intro { margin: 0 0 16px; padding: 0 2px; color: var(--muted); font-size: 13px; line-height: 1.62; }
.departure-list label { display: grid; grid-template-columns: 34px 1fr; gap: 8px; align-items: start; padding: 17px 15px; border-bottom: 1px solid var(--line); cursor: pointer; }
.departure-list label:last-child { border-bottom: 0; }
.departure-list input { width: 23px; height: 23px; accent-color: var(--forest); }
.departure-list span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.departure-list b { display: block; color: var(--ink); font-family: var(--serif); font-size: 18px; }
.bins-card { margin-top: 17px; padding: 22px; color: white; background: var(--forest); border-radius: 21px; }
.bins-card > p:first-child { margin: 0; color: var(--sand); font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }
.bins-card h2 { margin: 6px 0 11px; font-family: var(--serif); font-size: 30px; }
.bins-card p { font-size: 13px; line-height: 1.6; }
.bins-card a { display: block; margin-top: 9px; padding: 11px; border: 1px solid rgba(255,255,255,.35); font-size: 11px; font-weight: 700; }
.primary-link { display: block; margin-top: 16px; padding: 15px; text-align: center; color: white; background: var(--gold); font-weight: 700; font-size: 12px; }
.experience-card { margin-top: 18px; padding: 22px; color: white; background: var(--forest); border-radius: 22px; }
.experience-card small { color: var(--sand); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; font-weight: 800; }
.experience-card h2 { margin: 7px 0 9px; font-family: var(--serif); font-size: 27px; line-height: 1.07; }
.experience-card p { margin: 0; color: rgba(255,255,255,.76); font-size: 12px; line-height: 1.62; }
.experience-card a { display: inline-flex; margin-top: 14px; padding-bottom: 3px; border-bottom: 1px solid rgba(255,255,255,.55); font-size: 11px; font-weight: 800; }

.history-screen { color: var(--ink); background: var(--ivory); padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
.history-hero { height: 500px; position: relative; overflow: hidden; color: white; background: var(--forest); }
.history-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,23,17,.06) 12%, rgba(10,23,17,.28) 52%, rgba(10,23,17,.91));
}
.history-hero > img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.history-hero > div { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 30px; }
.history-hero p, .eyebrow {
  margin: 0 0 8px; color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: 10px; font-weight: 800;
}
.history-hero p { color: var(--sand); }
.history-hero h1 { max-width: 500px; margin: 0; font-family: var(--serif); font-size: clamp(40px, 10vw, 58px); line-height: .98; letter-spacing: -.045em; }
.history-hero span { display: block; margin-top: 12px; color: rgba(255,255,255,.78); font-size: 12px; letter-spacing: .11em; }
.history-body { padding: 26px 20px 34px; }
.history-lead, .architect-card, .history-timeline { padding: 24px; border: 1px solid var(--line); background: var(--paper); }
.history-lead { border-radius: 24px 24px 0 0; }
.history-lead h2, .architect-card h2, .history-section-title h2, .history-timeline h2 {
  margin: 0 0 12px; font-family: var(--serif); font-size: 31px; line-height: 1.05; letter-spacing: -.035em;
}
.history-lead p:not(.eyebrow), .architect-card p:not(.eyebrow), .history-timeline p:not(.eyebrow) {
  margin: 0 0 12px; color: var(--muted); font-size: 13px; line-height: 1.68;
}
.history-lead p:last-child, .architect-card p:last-child, .history-timeline p:last-child { margin-bottom: 0; }
.history-portrait { margin: 0 0 20px; position: relative; height: 330px; overflow: hidden; border-radius: 0 0 24px 24px; }
.history-portrait::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(10,24,17,.91)); }
.history-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.history-portrait figcaption { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; display: grid; gap: 4px; color: white; }
.history-portrait small { color: var(--sand); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; font-weight: 800; }
.history-portrait b { max-width: 380px; font-family: var(--serif); font-size: 23px; line-height: 1.08; }
.architect-card { margin-bottom: 34px; color: white; background: var(--forest); border: 0; border-radius: 24px; box-shadow: 0 18px 46px rgba(28,45,35,.13); }
.architect-card .eyebrow { color: var(--sand); }
.architect-card h2 { margin-bottom: 2px; font-size: 36px; }
.architect-card > span { display: block; margin-bottom: 14px; color: var(--sand); font-family: var(--serif); font-size: 17px; letter-spacing: .08em; }
.architect-card p:not(.eyebrow) { color: rgba(255,255,255,.76); }
.history-section-title { margin: 0 3px 17px; }
.history-section-title h2 { font-size: 35px; }
.history-section-title > span { display: block; color: var(--muted); font-size: 12px; line-height: 1.55; }
.history-works { display: grid; gap: 17px; }
.history-work-card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); box-shadow: 0 16px 38px rgba(37,56,47,.08); }
.history-work-card > img { width: 100%; height: 245px; object-fit: cover; background: #e2ddd3; }
.history-work-card > div { padding: 19px; }
.history-work-card small { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: 9px; font-weight: 800; }
.history-work-card h3 { margin: 6px 0 8px; font-family: var(--serif); font-size: 28px; line-height: 1.05; }
.history-work-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.58; }
.history-work-card a { display: inline-flex; margin-top: 14px; padding: 10px 12px; border: 1px solid var(--forest); color: var(--forest); font-size: 10px; font-weight: 800; }
.history-timeline { margin-top: 20px; color: white; background: linear-gradient(135deg, var(--forest), #40594c); border: 0; border-radius: 24px; }
.history-timeline .eyebrow { color: var(--sand); }
.history-timeline p:not(.eyebrow) { color: rgba(255,255,255,.76); }
.history-sources { margin: 17px 6px 0; color: #858982; font-size: 9px; line-height: 1.5; }
.history-sources a { color: var(--forest); text-decoration: underline; text-underline-offset: 2px; }

/* V9 · editorial, access and photography refinements */
.home-screen::before { background-position: center 34%; }
.home-screen .screen-overlay {
  background:
    linear-gradient(180deg, rgba(9,30,20,.45), rgba(8,29,19,.70) 34%, rgba(6,24,16,.96)),
    linear-gradient(110deg, rgba(14,50,33,.55), rgba(5,22,14,.30));
}
.home-screen .editorial-title { padding: 22px 20px 20px; border-left: 3px solid var(--sand); border-radius: 0 18px 18px 0; background: rgba(8,38,24,.72); backdrop-filter: blur(4px); }
.home-screen .editorial-title span { max-width: 390px; margin-top: 18px; color: white; line-height: 1.3; text-shadow: 0 2px 14px rgba(0,0,0,.72); }
.home-screen .editorial-title span strong { display: block; font-family: var(--serif); font-size: clamp(20px, 5.8vw, 30px); font-weight: 600; letter-spacing: -.015em; }
.home-screen .editorial-title span small { display: block; margin-top: 7px; color: rgba(255,255,255,.86); font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.main-menu .history-menu-card > img { object-position: center 46%; }
#decouvrir::before { background-position: center 48%; }
.guingamp-history-title { margin-top: 36px; }
.guingamp-history-gallery { display: grid; gap: 14px; margin: 0 0 14px; }
.guingamp-history-gallery figure {
  height: 285px; margin: 0; position: relative; overflow: hidden; border-radius: 24px;
  box-shadow: 0 16px 38px rgba(37,56,47,.11); background: #d8d3c9;
}
.guingamp-history-gallery figure::after {
  content: ""; position: absolute; inset: 38% 0 0; background: linear-gradient(transparent, rgba(9,23,16,.88));
}
.guingamp-history-gallery img { width: 100%; height: 100%; object-fit: cover; }
.guingamp-history-gallery .guingamp-archive img { object-position: center 48%; }
.guingamp-history-gallery figcaption {
  position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; display: grid; gap: 4px; color: white;
}
.guingamp-history-gallery small { color: var(--sand); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; font-weight: 800; }
.guingamp-history-gallery b { max-width: 390px; font-family: var(--serif); font-size: 23px; line-height: 1.08; }
.heritage-walk {
  display: block; margin: 0 0 36px; padding: 14px 16px; text-align: center; color: white; background: var(--forest);
  border-radius: 16px; font-size: 11px; font-weight: 800;
}
.history-work-card > img.history-work-portrait { object-position: center 47%; }
.history-work-card > img.history-work-archive { object-fit: contain; padding: 14px; background: #eee9df; }

@media (min-width: 760px) {
  .guingamp-history-gallery { grid-template-columns: 1.15fr .85fr; }
  .guingamp-history-gallery figure { height: 350px; }
  .guingamp-history-gallery .guingamp-archive { grid-column: 1 / -1; height: 400px; }
}

.directory-head { padding: 36px 25px 25px; color: white; background: var(--forest); }
.directory-head p { color: var(--sand); }
.directory-head h1 { font-size: 44px; }
.directory-head span { display: block; max-width: 420px; margin-top: 11px; color: rgba(255,255,255,.73); font-size: 13px; line-height: 1.5; }
.directory-body { padding: 19px; }
.directory-card {
  margin-bottom: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 13px 34px rgba(37,56,47,.07);
}
.directory-card img { width: 100%; height: 235px; object-fit: cover; background: #e7e2d8; }
.directory-copy { padding: 18px; }
.directory-copy small { color: var(--gold); text-transform: uppercase; letter-spacing: .11em; font-weight: 700; }
.directory-copy h2 { margin: 6px 0 7px; font-family: var(--serif); font-size: 29px; line-height: 1.05; }
.directory-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.directory-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 15px; }
.directory-actions a { padding: 11px 8px; text-align: center; border: 1px solid var(--forest); font-size: 10px; font-weight: 700; }
.directory-actions a:first-child { color: white; background: var(--forest); }
.directory-actions a:only-child { grid-column: 1 / -1; }
.trail-note { margin: 4px 0 17px; padding: 17px; border-left: 4px solid var(--gold); background: white; color: var(--muted); font-size: 12px; line-height: 1.55; }
#regionMap { height: 425px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #dfe5dc; }
.map-status { margin: 0 0 10px; color: var(--muted); font-size: 11px; }
.map-directory { display: grid; gap: 8px; margin-top: 14px; }
.map-directory a { padding: 14px 15px; display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; background: white; border: 1px solid var(--line); }
.map-directory small { color: var(--gold); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.map-directory b { grid-column: 1; font-family: var(--serif); font-size: 17px; }
.map-directory em { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 10px; font-style: normal; color: var(--forest); }
.leaflet-popup-content { font-family: var(--sans); }
.leaflet-popup-content b { font-family: var(--serif); font-size: 15px; }
.leaflet-popup-content a { color: var(--forest); font-weight: 700; }
.host-contact { display: grid; padding: 22px; color: white; background: var(--forest); border-radius: 22px; }
.host-contact small { color: var(--sand); text-transform: uppercase; letter-spacing: .1em; }
.host-contact b { margin-top: 4px; font-family: var(--serif); font-size: 29px; }
.host-contact span { margin-top: 10px; font-size: 11px; }
.emergency-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 16px 0; }
.emergency-grid a { padding: 15px; display: grid; background: white; border: 1px solid var(--line); }
.emergency-grid b { font-family: var(--serif); font-size: 27px; }
.emergency-grid span { color: var(--muted); font-size: 10px; }
.faq details { background: white; border-bottom: 1px solid var(--line); }
.faq summary { padding: 16px; font-weight: 700; font-size: 13px; cursor: pointer; }
.faq p { margin: 0; padding: 0 16px 16px; color: var(--muted); font-size: 12px; line-height: 1.5; }

.booking-head { background: linear-gradient(125deg, var(--forest), #3d584a); }
.apartment-tabs { margin-bottom: 15px; padding-bottom: 4px; }
.apartment-tabs button { flex: 0 0 104px; min-height: 114px; padding: 0; overflow: hidden; position: relative; border: 2px solid transparent; border-radius: 17px; background: white; cursor: pointer; }
.apartment-tabs button.active { border-color: var(--gold); }
.apartment-tabs img { width: 100%; height: 100%; object-fit: cover; }
.apartment-tabs span { position: absolute; inset: auto 0 0; padding: 18px 6px 8px; color: white; background: linear-gradient(transparent, rgba(10,24,17,.85)); font-size: 10px; font-weight: 700; }
.apartment-detail { overflow: hidden; border: 1px solid var(--line); border-radius: 23px; background: white; }
.apartment-cover { position: relative; height: 365px; }
.apartment-cover > img { width: 100%; height: 100%; object-fit: cover; }
.apartment-copy { position: absolute; inset: 0; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; color: white; background: linear-gradient(transparent 15%, rgba(12,26,18,.86)); }
.apartment-copy small { color: var(--sand); text-transform: uppercase; letter-spacing: .1em; }
.apartment-copy h2 { margin: 5px 0; font-family: var(--serif); font-size: 33px; line-height: 1.02; }
.apartment-copy p { margin: 0; font-size: 12px; line-height: 1.45; }
.facts { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0; padding: 0; list-style: none; }
.facts li { padding: 5px 7px; border: 1px solid rgba(255,255,255,.4); font-size: 9px; }
.book-now { padding: 12px; text-align: center; color: var(--forest); background: var(--ivory); font-size: 11px; font-weight: 800; }
.suite-wellness { padding: 18px; background: #eef0ec; }
.suite-wellness h3 { margin: 4px 0; font-family: var(--serif); font-size: 25px; }
.suite-wellness > p { margin: 0 0 13px; color: var(--muted); font-size: 12px; }
.wellness-photos { display: grid; grid-template-columns: 1.1fr .9fr; gap: 7px; }
.wellness-photos figure { margin: 0; height: 190px; position: relative; overflow: hidden; border-radius: 14px; }
.wellness-photos img { width: 100%; height: 100%; object-fit: cover; }
.wellness-photos figcaption { position: absolute; bottom: 7px; left: 7px; padding: 4px 7px; color: white; background: rgba(25,50,37,.74); font-size: 9px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; }
.gallery img { width: 100%; height: 190px; object-fit: cover; }

.quick-actions {
  position: fixed; z-index: 900; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(100%,560px); height: calc(70px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  display: grid; grid-template-columns: repeat(3,1fr); background: rgba(255,253,249,.96); border-top: 1px solid var(--line); backdrop-filter: blur(16px);
}
.quick-actions[hidden] { display: none; }
.quick-actions a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #767b74; font-size: 9px; font-weight: 600; }
.quick-actions svg { width: 23px; height: 23px; }
.quick-actions a:nth-child(2) { color: var(--forest); background: var(--ivory); }

@media (max-width: 480px) {
  .help-button span { display: none; }
  .help-button { width: 43px; justify-content: center; padding: 0; }
}

@media (max-width: 380px) {
  .topbar { padding-left: 13px; padding-right: 13px; grid-template-columns: 45px 1fr auto; }
  .header-actions { gap: 5px; }
  .language-toggle { min-width: 31px; height: 31px; font-size: 9px; }
  .home-inner, .module-inner { padding-left: 17px; padding-right: 17px; }
  .main-menu a { min-height: 103px; padding: 12px; }
  .main-menu b, .choice-grid b { font-size: 15px; }
  .choice-grid button, .choice-grid a { min-height: 116px; padding: 13px; }
  .content-body { padding: 19px 16px; }
  .directory-body { padding: 14px; }
  .history-body { padding-left: 15px; padding-right: 15px; }
  .history-hero { height: 440px; }
  .history-work-card > img { height: 220px; }
}

@media (min-width: 561px) {
  body { padding: 18px 0; }
  .app { min-height: calc(100dvh - 36px); border-radius: 30px; }
  .topbar { top: 18px; border-radius: 30px 30px 0 0; }
  .quick-actions { bottom: 18px; border-radius: 0 0 30px 30px; }
  .photo-screen::before, .screen-overlay { top: calc(100px + env(safe-area-inset-top)); bottom: 18px; border-radius: 0 0 30px 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* V10 · Georges‑Robert Lefort heritage edition */
.welcome-note {
  position: relative; isolation: isolate; overflow: hidden; min-height: 190px;
  padding: 24px 22px; display: flex; flex-direction: column; justify-content: flex-end;
  border-color: rgba(231,210,178,.54); background: #173326;
}
.welcome-note::before {
  content: ""; position: absolute; z-index: -2; inset: 0;
  background: url('images/history-detail-library-v8.jpg') center 48% / cover no-repeat;
  filter: saturate(.78) contrast(1.08);
}
.welcome-note::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(180deg, rgba(10,31,20,.16), rgba(9,30,19,.93) 54%, rgba(7,25,16,.98));
}
.welcome-note small {
  font-family: var(--serif); font-size: 17px; line-height: 1.1; letter-spacing: .015em; text-transform: none;
}
.welcome-note p { max-width: 450px; font-family: var(--sans); font-size: 12.5px; line-height: 1.62; }
.architect-card {
  position: relative; overflow: hidden; padding: 28px 25px 26px;
  background: linear-gradient(145deg, #132f23, #29493a);
  box-shadow: 0 22px 55px rgba(19,47,35,.22);
}
.architect-card::before {
  content: "GRL"; position: absolute; right: -7px; top: -23px;
  color: rgba(231,210,178,.075); font-family: var(--serif); font-size: 112px; line-height: 1;
}
.architect-card h2 { position: relative; max-width: 340px; font-size: 39px; }
.architect-card p:not(.eyebrow) { position: relative; color: rgba(255,255,255,.84); font-size: 13px; }
.history-work-card > img.history-work-drawing {
  height: auto; max-height: 300px; object-fit: contain; padding: 15px;
  background: #eee6d6;
}
.history-timeline h2 { font-size: 33px; }

@media (min-width: 760px) {
  .welcome-note { min-height: 225px; }
  .history-work-card > img.history-work-drawing { max-height: 360px; }
}
