/* Never white on gold - use --gold-text. */

/* Content-hashed; opsz 20 body / 55 h1/h2. */
@font-face {
  font-family: 'SourceSerif';
  src: url('../f/sourceserif-76d77e76.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceSerifDisplay';
  src: url('../f/sourceserifdisplay-0ed8a680.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DMSans';
  src: url('../f/dmsans-699e755c.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #08213E;
  --navy: #021B3B;
  --navy-deep: #01142B;
  --gold: #E9B450;
  --gold-text: #8F6410;
  --gold-soft: #EFE0C2;
  --cream: #FBF9F4;
  --cream-2: #F5F1E8;
  --white: #FFFFFF;
  --body: #48566B;
  --muted: #616B7B;
  --line: #E6E1D6;
  /* The palette's one error colour - never alone (WCAG 1.4.1). */
  --err: #A4332A;

  --serif: 'SourceSerif', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  /* h1/h2: falls back to SourceSerif, not Georgia. */
  --serif-display: 'SourceSerifDisplay', 'SourceSerif', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'DMSans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --wrap: 1180px;
  --r: 3px;
  --nav-h: 78px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* .mbar's reserve under 900px; one calc() reused, not repeated. */
  --mbar-clear: calc(84px + env(safe-area-inset-bottom, 0px));
  /* px padding/border plus rem text, never a fixed number. */
  --est-bar-h: calc(26px + 1.3776rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.014em;
  margin: 0;
}
/* Only the family changes here. */
h1, h2 { font-family: var(--serif-display); }
h1 { font-size: clamp(2.15rem, 5.1vw, 3.45rem); line-height: 1.13; }
h2 { font-size: clamp(1.62rem, 3.1vw, 2.3rem); }
h3 { font-size: clamp(1.1rem, 1.55vw, 1.28rem); }
p { margin: 0 0 1.05em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

/* [hidden] is low-priority; any author `display` rule beats it. */
[hidden] { display: none !important; }

.wrap { width: min(100% - 44px, var(--wrap)); margin-inline: auto; }
.wrap-wide { width: min(100% - 44px, 1360px); margin-inline: auto; }

section { position: relative; }
.pad { padding: clamp(70px, 9vw, 118px) 0; }
.pad-s { padding: clamp(52px, 6vw, 78px) 0; }

.bg-white { background: var(--white); }
.bg-cream2 { background: var(--cream-2); }

/* ---------- shared bits ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .705rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 14px;
}
.rule {
  width: 44px; height: 1px; background: var(--gold);
  border: 0; margin: 18px 0 0;
}
.rule-c { margin-inline: auto; }
.lead { font-size: 1.03rem; color: var(--body); max-width: 56ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.sec-head { max-width: 640px; }
.sec-head.center { margin-inline: auto; }
.sec-head h2 + .rule { margin-top: 16px; }
.sec-head .rule + p { margin-top: 20px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-size: .845rem; font-weight: 500;
  letter-spacing: .055em; text-transform: uppercase;
  padding: 15px 26px; border-radius: var(--r);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #D9A23C; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

.btn-ghost-l { background: transparent; color: #fff; border-color: rgba(255,255,255,.72); }
.btn-ghost-l:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }

.btn-sm { padding: 11px 19px; font-size: .78rem; }

.arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- wordmark ---------- */
.mark { display: flex; align-items: center; gap: 11px; text-decoration: none; }
/* a.mark's box is 36px; an overlaid hit region brings it to 44. */
a.mark { position: relative; }
a.mark::before { content: ''; position: absolute; inset: -4px 0; }
.mark-tree { flex: none; }
.mark-txt { display: block; }
/* Stacked like her own logo. */
.mark-sub {
  font-family: var(--serif); font-size: .6rem; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-text); display: block; margin-bottom: 3px;
}
.mark-name {
  font-family: var(--serif); font-weight: 500; font-size: 1.02rem;
  line-height: 1.02; color: var(--ink); display: block;
  text-transform: uppercase; letter-spacing: .045em;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background .34s var(--ease), box-shadow .34s var(--ease),
              height .34s var(--ease);
}
.nav-in { display: flex; align-items: center; gap: 26px; width: min(100% - 44px, 1360px); margin-inline: auto; }
.nav-links { display: flex; gap: 27px; margin-left: auto; }
.nl {
  font-size: .845rem; font-weight: 400; letter-spacing: .015em;
  text-decoration: none; color: #fff; position: relative; padding: 5px 0;
  transition: color .25s var(--ease);
}
.nl::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nl:hover::after, .nl.on::after { transform: scaleX(1); }

/* over the hero photo the wordmark and links are white */
.nav:not(.stuck) .mark-name { color: #fff; }
.nav:not(.stuck) .mark-sub { color: rgba(255,255,255,.82); }

.nav.stuck {
  background: rgba(251,249,244,.94);
  backdrop-filter: saturate(1.4) blur(9px);
  box-shadow: 0 1px 0 var(--line), 0 10px 28px -22px rgba(2,27,59,.4);
  height: 68px;
}
.nav.stuck .nl { color: var(--ink); }
.nav.stuck .nl.on { color: var(--gold-text); }

.nav-cta { margin-left: 4px; }

/* 44x44, no visual chrome; its three bars stay a centred 22px. */
.burger {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.burger span {
  display: block; width: 22px; height: 1.5px; background: #fff; position: relative;
  transition: background .3s var(--ease);
}
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 22px; height: 1.5px;
  background: inherit; transition: transform .3s var(--ease);
}
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.nav.stuck .burger span, .nav.stuck .burger span::before, .nav.stuck .burger span::after { background: var(--ink); }
.burger[aria-expanded="true"] span { background: transparent !important; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); background: var(--ink); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); background: var(--ink); }

/* ---------- drawer ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 55; background: var(--cream);
  padding: calc(var(--nav-h) + 26px) 26px 34px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%); transition: transform .38s var(--ease);
  overflow-y: auto;
}
.drawer.open { transform: none; }
.drawer a.dl {
  font-family: var(--serif); font-size: 1.5rem; color: var(--ink);
  text-decoration: none; padding: 11px 0; border-bottom: 1px solid var(--line);
}
.drawer .btn { margin-top: 22px; }
.drawer-foot { margin-top: auto; padding-top: 26px; font-size: .875rem; }
/* Foot links sit flush; each region grows into its free side. */
.drawer-foot a { color: var(--gold-text); text-decoration: none; display: block; padding: 4px 0; }
.drawer-foot a:first-of-type { position: relative; }
.drawer-foot a:first-of-type::before { content: ''; position: absolute; inset: -13px 0 0; }
.drawer-foot a:last-of-type { position: relative; }
.drawer-foot a:last-of-type::before { content: ''; position: absolute; inset: 0 0 -13px; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: min(94vh, 860px);
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 60px) 0 clamp(48px, 6vw, 84px);
  isolation: isolate; overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  /* Deepened for the brighter photo (was ~3:1, under WCAG AA). */
  background:
    linear-gradient(180deg, rgba(11,33,32,.66) 0%, rgba(11,33,32,.42) 34%, rgba(11,33,32,.46) 62%, rgba(11,33,32,.82) 100%),
    linear-gradient(96deg, rgba(11,33,32,.60) 0%, rgba(11,33,32,.32) 58%);
}
.hero-in { color: #fff; max-width: 700px; }
.hero h1 { color: #fff; text-shadow: 0 2px 26px rgba(9,26,25,.42); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub {
  margin-top: 22px; font-size: 1.045rem; line-height: 1.66;
  color: rgba(255,255,255,.93); max-width: 44ch;
  text-shadow: 0 1px 14px rgba(9,26,25,.5);
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }

.hero-proof {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.24);
}
.proof { display: flex; align-items: center; gap: 10px; color: #fff; }
.proof svg { flex: none; }
.proof b {
  font-family: var(--serif); font-size: 1.22rem; font-weight: 600;
  line-height: 1.05; display: block; letter-spacing: -.01em;
}
.proof span { font-size: .795rem; color: rgba(255,255,255,.82); line-height: 1.35; display: block; }
.proof-div { width: 1px; height: 34px; background: rgba(255,255,255,.26); }

/* ---------- amenity strip under the hero ---------- */
.strip { background: var(--white); border-bottom: 1px solid var(--line); }
.strip-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 4px; padding: 26px 0;
}
.strip-i { display: flex; align-items: center; gap: 12px; padding: 4px 10px; }
.strip-i svg { flex: none; color: var(--gold-text); }
.strip-i b { display: block; font-size: .875rem; font-weight: 500; color: var(--ink); line-height: 1.3; }
.strip-i span { display: block; font-size: .765rem; color: var(--muted); line-height: 1.3; }

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(38px, 6vw, 82px);
  align-items: center;
}
.about-img { position: relative; }
.about-img img { border-radius: var(--r); }
.about-img::after {
  content: ''; position: absolute; inset: auto -14px -14px auto;
  width: 46%; height: 52%; border: 1px solid var(--gold-soft);
  border-radius: var(--r); z-index: -1;
}
.about-notes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line);
}
.note { display: flex; gap: 12px; align-items: flex-start; }
.note svg { flex: none; color: var(--gold-text); margin-top: 3px; }
.note b { display: block; font-size: .9rem; color: var(--ink); font-weight: 500; line-height: 1.35; }
.note span { display: block; font-size: .81rem; color: var(--muted); line-height: 1.45; }

/* ---------- FEATURE CARDS ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 52px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card:hover {
  border-color: var(--gold-soft); transform: translateY(-3px);
  box-shadow: 0 22px 44px -34px rgba(2,27,59,.45);
}
.card-img { overflow: hidden; }
.card-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card-b { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-b h3 { margin-bottom: 10px; }
.card-b p { font-size: .91rem; color: var(--body); }
.card-link {
  margin-top: auto; padding-top: 16px; font-size: .8rem; font-weight: 500;
  letter-spacing: .05em; text-transform: uppercase; color: var(--gold-text);
  text-decoration: none; display: inline-flex; align-items: center; gap: 7px;
  align-self: flex-start; position: relative;
}
/* Link is ~37.5px; region eats into margin/padding to reach 44. */
.card-link::after { content: ''; position: absolute; inset: -3px 0 -4px; }
.card-link:hover { color: var(--ink); }
.card-link:hover .arrow { transform: translateX(3px); }

/* ---------- SUITES ---------- */
.suites { display: grid; gap: 26px; margin-top: 52px; }
.suite {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden;
}
/* .ph (badge wrapper) is the grid item now, not .suite-img itself - see
   the breakfast badge below. */
.suite:nth-child(even) .ph { order: 2; }
.suite .ph { height: 100%; }
.suite-img { display: block; height: 100%; }
.suite-img img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.suite-b { padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; }
.suite-b .eyebrow { margin-bottom: 9px; }
.suite-b h3 { font-size: clamp(1.28rem, 1.95vw, 1.58rem); }
.suite-b > p { margin-top: 14px; font-size: .94rem; }
.suite-specs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px;
}
.spec {
  font-size: .775rem; color: var(--body); background: var(--cream-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px;
}
.suite-foot {
  margin-top: auto; padding-top: 26px; display: flex; align-items: center;
  justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.price-note { font-size: .8rem; color: var(--muted); }
.price-note b { color: var(--ink); font-weight: 500; }

/* Smaller than .suite: a simpler product, same 4:3 crop. */
.units-head { margin-top: 64px; max-width: 62ch; }
.units-head h3 { font-size: clamp(1.18rem, 1.7vw, 1.42rem); }
.units-head p { margin-top: 12px; font-size: .92rem; }

.units {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-top: 32px;
}
.unit {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
}
.unit-img { display: block; overflow: hidden; }
.unit-img img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
  transition: transform .7s var(--ease);
}
.unit-img:hover img { transform: scale(1.04); }
.unit-b { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.unit-b .eyebrow { margin-bottom: 7px; }
.unit-b h4 { font-size: 1.06rem; }
.unit-b > p { margin-top: 9px; font-size: .875rem; }
.unit-foot {
  margin-top: auto; padding-top: 18px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
/* Visible button stays ~38px; hit region fills the gap to 44. */
.btn-xs { padding: 8px 15px; font-size: .74rem; position: relative; }
.btn-xs::before { content: ''; position: absolute; inset: -4px 0; }
/* The 7th of nine would sit alone - centred, only >=901px. */
@media (min-width: 901px) {
  .units > .unit:last-child:nth-child(3n+1) { grid-column: 2; }
}

.units-note {
  margin-top: 30px; font-size: .845rem; color: var(--muted);
  max-width: 68ch;
}

/* ---------- breakfast badge ----------
   OUTSIDE the photo <a> on purpose: that link's aria-label would hide a
   badge nested inside it from assistive tech. .ph just holds the two
   siblings; pointer-events:none lets a click still reach the gallery link
   underneath. */
.ph { position: relative; }
.badge-bf {
  position: absolute; top: 10px; left: 10px; z-index: 1; margin: 0;
  background: var(--gold); color: var(--ink); font-family: var(--sans);
  font-size: .66rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; line-height: 1.3; padding: 5px 10px;
  border-radius: 999px; box-shadow: 0 2px 6px rgba(2, 27, 59, .28);
  pointer-events: none;
}

.detail-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 26px; }
.detail { position: relative; border-radius: var(--r); overflow: hidden; }
.detail img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.detail figcaption {
  position: absolute; inset: auto 0 0; padding: 26px 22px 16px;
  background: linear-gradient(180deg, transparent, rgba(11,33,32,.78));
  color: #fff; font-size: .845rem; font-weight: 500;
}

/* ---------- GALLERY ---------- */
.gal {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 176px; gap: 14px; margin-top: 48px;
}
.gal a { display: block; overflow: hidden; border-radius: var(--r); position: relative; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal a:hover img { transform: scale(1.05); }
.gal .t1 { grid-column: span 2; grid-row: span 2; }
.gal .t2 { grid-row: span 2; }
.gal .t5, .gal .t6 { grid-column: span 2; }

/* ---------- LOCATION ---------- */
.loc-grid { display: grid; grid-template-columns: .95fr 1.25fr; gap: clamp(34px, 5vw, 68px); align-items: center; }
.loc-list { margin: 30px 0 0; padding: 0; list-style: none; }
.loc-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .91rem;
}
.loc-list li:first-child { border-top: 1px solid var(--line); }
.loc-list b { color: var(--ink); font-weight: 500; }
.loc-list span { color: var(--muted); font-size: .845rem; white-space: nowrap; }
.map-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden;
}
/* Drawn by build-map.mjs; pin/labels are HTML, outside the SVG. */
.map-fig { position: relative; }
.map-img { display: block; width: 100%; height: auto; }
.map-lbl {
  position: absolute; white-space: nowrap; pointer-events: none;
  font-family: 'DMSans', sans-serif; font-size: .74rem; font-weight: 500; line-height: 1.2;
  color: var(--ink);
  text-shadow: 0 0 2px var(--cream-2), 0 0 3px var(--cream-2), 0 0 6px var(--cream-2), 0 0 10px var(--cream-2);
}
/* Google Maps point of the property, -19.99244, 57.59466 */
.map-pin {
  position: absolute; left: 69.84%; top: 47.89%;
  width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--cream);
  box-shadow: 0 0 0 1px rgba(2, 27, 59, .22), 0 0 0 7px rgba(233, 180, 80, .22), 0 2px 6px rgba(2, 27, 59, .28);
}
.map-lbl-home {
  left: 69.84%; top: 47.89%; transform: translate(17px, -50%);
  font-family: 'SourceSerif', Georgia, serif; font-size: .98rem; font-weight: 600;
}
/* centroid of OSM way 199494068, "Pereybere Public Beach" */
.map-lbl-beach {
  left: 37.27%; top: 70.37%; transform: translate(calc(-100% - 8px), -50%);
  text-align: right;
}
/* on the B13's straight stretch; -48.3deg is its chord */
.map-lbl-road {
  left: 63.52%; top: 28.71%; transform: translate(-50%, -50%) rotate(-48.3deg) translateY(-11px);
  font-size: .68rem; color: var(--body); letter-spacing: .02em;
}
/* the B13 leaves the view at the bottom-left, toward Grand Baie */
.map-lbl-gb { left: 10px; bottom: 10px; font-size: .7rem; color: var(--body); }
.map-attr {
  position: absolute; right: 0; bottom: 0; padding: 2px 7px;
  font-size: .66rem; line-height: 1.4; color: var(--muted);
  background: rgba(251, 249, 244, .88); border-top-left-radius: 6px;
}
.map-attr a { color: inherit; }
.map-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; border-top: 1px solid var(--line); flex-wrap: wrap;
}
.map-foot p { font-size: .865rem; margin: 0; }
.map-foot b { color: var(--ink); font-weight: 500; }

/* ---------- REVIEWS (no logos: trademarks) ---------- */
.rev-top {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 28px 40px; flex-wrap: wrap;
}
.rev-top .sec-head { margin: 0; }

.scores { display: flex; align-items: center; gap: 26px; }
.score { text-align: left; }
.score-p {
  display: block; font-family: var(--sans); font-size: .8rem; font-weight: 600;
  color: var(--gold-text); margin-bottom: 4px;
}
.score b {
  display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500;
  color: var(--ink); line-height: 1;
}
.score b span { font-size: .9rem; color: var(--muted); font-weight: 400; }
.score-n { display: block; margin-top: 5px; font-size: .8rem; color: var(--muted); }
.score-div { width: 1px; height: 52px; background: var(--line); }
.score-sub { margin-top: 6px; }
.score-sub summary {
  font-size: .78rem; color: var(--muted); cursor: pointer;
  text-decoration: underline; text-underline-offset: 2px; position: relative;
}
/* Text is only ~21px; hit region avoids extra padding. */
.score-sub summary::before { content: ''; position: absolute; inset: -12px -8px; }
.score-sub summary:hover { color: var(--ink); }
.score-sub p { margin: 8px 0 0; font-size: .78rem; color: var(--muted); line-height: 1.6; max-width: 30ch; }

/* Lead spans two rows; the last two land in a full third row. */
.revs {
  display: grid; grid-template-columns: 1.08fr 1fr; gap: 20px 24px;
  margin-top: 48px;
}
.rev {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 26px; display: flex; flex-direction: column; min-width: 0;
}
.rev-lead {
  grid-column: 1; grid-row: 1 / span 2;
  background: var(--cream-2); border: 0; padding: 36px 34px;
}
.rev-score { display: flex; gap: 2px; color: var(--gold); margin-bottom: 16px; }
.rev-score .star { flex: none; }
.rev-q {
  font-family: var(--serif); font-size: 1.06rem; line-height: 1.55; color: var(--ink);
  font-weight: 400;
}
.rev-lead .rev-q { font-size: 1.22rem; line-height: 1.5; }
.rev-f {
  margin-top: auto; padding-top: 22px; display: flex; align-items: center;
  gap: 12px;
}
.rev-av {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold-text);
  font-family: var(--serif); font-size: .95rem; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
}
.rev-who { font-size: .84rem; color: var(--muted); }
.rev-who b { display: block; color: var(--ink); font-weight: 500; font-size: .89rem; }

.rev-foot {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line);
}
.rev-foot-l {
  font-size: .845rem; color: var(--ink); text-decoration: underline;
  text-underline-offset: 3px; position: relative;
}
/* ~23px tall; invisible region, not padding, to avoid misalign. */
.rev-foot-l::before { content: ''; position: absolute; inset: -11px 0; }
.rev-foot-l:hover { color: var(--gold-text); }

/* ---------- BOOKING / CONTACT ---------- */
.book-grid { display: grid; grid-template-columns: 1.15fr .9fr; gap: clamp(34px, 5vw, 62px); align-items: start; margin-top: 48px; }
.form { display: grid; gap: 26px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f label {
  display: block; font-size: .765rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 7px;
}
.f input, .f select, .f textarea {
  width: 100%; font-family: var(--sans); font-size: .93rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 12px 14px; transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.f textarea { min-height: 108px; resize: vertical; }
/* Shift+Tab can land under the fixed nav. */
.f input, .f select, .f textarea, .step-btn, .form-actions .btn {
  scroll-margin-top: calc(var(--nav-h) + 8px);
}
/* --gold-text, not raw --gold (1.89:1 on white). */
.f input:focus, .f select:focus, .f textarea:focus {
  outline: 0; border-color: var(--gold-text); box-shadow: 0 0 0 3px rgba(233,180,80,.15);
}
.f select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236E7C77' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }

/* Readonly value between two 44x44 buttons; never takes focus. */
.stepper {
  display: flex; align-items: stretch; border: 1px solid var(--line);
  border-radius: var(--r); background: var(--white); overflow: hidden;
}
.stepper input {
  width: 100%; border: 0; background: none; text-align: center;
  font-family: var(--sans); font-size: .93rem; color: var(--ink); padding: 12px 4px;
}
.stepper input:focus { outline: 0; }
.step-btn {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; background: var(--cream-2); color: var(--ink); font-size: 1.05rem;
  line-height: 1; cursor: pointer; transition: background .18s var(--ease), color .18s var(--ease);
}
.step-btn:first-child { border-right: 1px solid var(--line); }
.step-btn:last-child { border-left: 1px solid var(--line); }
.step-btn:hover:not(:disabled) { background: var(--gold-soft); color: var(--gold-text); }
.step-btn:focus-visible { outline: 2px solid var(--gold-text); outline-offset: -2px; }
.step-btn:disabled { color: var(--muted); cursor: not-allowed; opacity: .5; }
/* --gold-text, hidden once the field error shows. */
.est {
  margin-top: 4px; padding: 16px 18px; background: var(--cream-2);
  border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: 8px;
}
.est-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .88rem; color: var(--body); }
.est-row span { color: var(--muted); }
.est-total { padding-top: 8px; border-top: 1px solid var(--line); font-size: 1rem; }
.est-total span, .est-total b { color: var(--ink); font-weight: 600; }
.est-note, .est-dep { font-size: .78rem; line-height: 1.5; color: var(--muted); margin: 0; }
.est-dep b { color: var(--body); font-weight: 600; }
.est-err, .est-hint { font-size: .84rem; line-height: 1.5; color: var(--gold-text); margin-top: 4px; }

/* aria-hidden: .est above is the only exposed source. */
.est-bar { display: none; }
@media (max-width: 700px) {
  .est-bar {
    display: block; position: sticky;
    bottom: var(--mbar-clear);
    margin: 4px 0 0; padding: 12px 16px;
    background: rgba(251,249,244,.96);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: 0 10px 26px -14px rgba(2,27,59,.32);
    font-size: .82rem; color: var(--ink); text-align: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .est-bar b { font-weight: 600; }
  /* WebKit scrolls to the caret; static while a keyboard shows. */
  #book-form:has(
    input[type="text"]:not([readonly]):focus,
    input[type="email"]:focus,
    input[type="tel"]:focus,
    textarea:focus
  ) .est-bar {
    position: static;
  }
}
/* Extra reserve while stuck; :has() can't nest, so restated. */
@media (max-width: 700px) and (min-height: 501px) {
  html:has(.est-bar:not([hidden])):not(:has(
    #book-form input[type="text"]:not([readonly]):focus,
    #book-form input[type="email"]:focus,
    #book-form input[type="tel"]:focus,
    #book-form textarea:focus
  )) {
    scroll-padding-bottom: calc(var(--mbar-clear) + var(--est-bar-h) + 8px);
  }
}
@media (max-height: 500px) {
  /* Too short for an extra bar over .mbar - static fallback. */
  .est-bar { position: static; }
}
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 4px; }
/* Honeypot: off-screen, not display:none. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }
/* :empty keeps the mount out of the flow until filled. */
.form-actions [data-turnstile]:empty { display: none; }
/* Colour only - role=status/aria-live already live. */
.form-status { font-size: .84rem; line-height: 1.5; color: var(--muted); flex-basis: 100%; margin: 0; }
.form-status.is-err { color: var(--err); }
.form-note { font-size: .795rem; color: var(--muted); margin-top: 4px; }
/* Only 17px tall; an invisible hit region brings it to 44. */
.form-note a { position: relative; }
.form-note a::before { content: ''; position: absolute; inset: -14px 0; }
/* Sits under a field, not the form. */
.f-hint { display: block; font-size: .78rem; line-height: 1.5; color: var(--muted); margin-top: 7px; }

/* Our own validation, not the native bubble. */
.f-err { display: block; font-size: .78rem; line-height: 1.5; color: var(--err); margin-top: 7px; }
.f input.is-err { border-color: var(--err); }
/* :focus alone reads almost the same errored or not. */
.f input.is-err:focus {
  border-color: var(--err); box-shadow: none;
  outline: 2px solid var(--err); outline-offset: 1px;
}

/* Calendar (mouse/trackpad only). z-index 59 > .mbar (58). */
.dates { position: relative; }
#contact:has(.cal:not([hidden])) { position: relative; z-index: 59; }
.cal {
  /* top pinned to the opening field, not .dates. */
  position: absolute; z-index: 59; left: 0;
  width: max-content; max-width: calc(100vw - 34px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 22px 44px -22px rgba(2,27,59,.38); padding: 10px 14px 12px;
  /* scrollIntoView margin: clears the fixed nav plus a little air */
  scroll-margin: calc(var(--nav-h) + var(--cal-above, 0px) + 8px) 0 12px;
}
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cal-cap { margin: 0; font-size: .765rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; }
.cal-min { white-space: nowrap; }
.cal-nav {
  flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none;
  color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.cal-nav:hover { background: var(--cream-2); }
.cal-nav[aria-disabled="true"] { color: var(--muted); opacity: .45; cursor: default; background: none; }
.cal-months { display: flex; gap: 28px; align-items: flex-start; }
.cal-t { margin: 2px 0 6px; text-align: center; font-family: var(--serif); color: var(--ink); font-size: 1.02rem; }
.cal table { border-collapse: collapse; }
.cal th, .cal td { padding: 0; }
.cal th { height: 28px; font-size: .72rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.cal-d {
  position: relative; display: block; width: 44px; height: 44px; border: 0; border-radius: 0;
  font-family: var(--sans); font-size: .9rem; color: var(--ink); cursor: pointer;
  background: var(--white);
}
/* fetes nights fall in haute-saison months, plus the dot */
.cal-d.is-haute, .cal-d.is-fetes { background: var(--cream-2); }
.cal-d:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.cal-d[aria-current="date"] { box-shadow: inset 0 0 0 1px var(--muted); font-weight: 600; }
.cal-d.is-range { background: var(--gold-soft); box-shadow: inset 0 1px var(--gold-text), inset 0 -1px var(--gold-text); }
.cal-d.is-arrival, .cal-d.is-departure { background: var(--navy); color: var(--white); font-weight: 700; }
.cal-d.is-arrival { border-radius: 22px 0 0 22px; }
.cal-d.is-departure { border-radius: 0 22px 22px 0; }
.cal-d.is-open { border-radius: 22px; }
.cal-d.is-fetes::after, .cal-sw.is-fetes::after {
  content: ''; position: absolute; left: 50%; bottom: 6px; width: 5px; height: 5px;
  margin-left: -2.5px; border-radius: 50%; background: var(--gold-text);
}
.cal-d.is-arrival::after, .cal-d.is-departure::after { background: var(--gold); }
.cal-d[aria-disabled="true"] { color: var(--muted); text-decoration: line-through; cursor: not-allowed; box-shadow: none; }
.cal-d.is-arrival[aria-disabled="true"], .cal-d.is-departure[aria-disabled="true"] { color: var(--white); }
.cal-d.is-range[aria-disabled="true"] { background: var(--white); }
.cal-d.is-haute.is-range[aria-disabled="true"], .cal-d.is-fetes.is-range[aria-disabled="true"] { background: var(--cream-2); }
.cal-d:focus-visible, .cal-nav:focus-visible { outline: 2px solid var(--gold-text); outline-offset: -2px; }
.cal-leg { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 10px 0 0; padding: 8px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: .76rem; color: var(--muted); }
.cal-leg li { display: flex; align-items: center; gap: 6px; }
.cal-sw { position: relative; display: block; width: 16px; height: 16px; border: 1px solid var(--line); background: var(--white); }
.cal-sw.is-haute, .cal-sw.is-fetes { background: var(--cream-2); }
.cal-sw.is-fetes::after { bottom: 4.5px; }
/* Under 700px, one month; panel fills width, centred. */
@media (max-width: 700px) {
  .cal { left: 0; right: 0; width: auto; }
  .cal-months { justify-content: center; }
}
/* Under 370px the panel drops padding before cells drop 44px. */
@media (max-width: 370px) {
  .cal { padding-inline: 8px; }
  .cal-d { width: calc((100vw - 34px - 18px) / 7); }
}

/* <fieldset>s, not <div>s: legend announced once. */
.form-group { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; }
.form-group legend {
  display: flex; align-items: baseline; gap: 18px; width: 100%;
  padding: 0; margin: 0 0 4px; font-family: var(--serif); color: var(--ink);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem); font-weight: 400; letter-spacing: -.01em;
}
.form-group legend::after { content: ''; flex: 1 1 auto; height: 1px; background: var(--line); }

/* Collapsed by default; a closed <details> still submits. */
.form-more {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--white);
}
.form-more[open] { padding-bottom: 20px; }
.form-more summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; cursor: pointer; list-style: none;
}
.form-more summary::-webkit-details-marker { display: none; }
.form-more summary span {
  font-size: .93rem; color: var(--ink); font-weight: 500;
}
.form-more summary small { display: block; color: var(--muted); font-size: .78rem; font-weight: 400; margin-top: 2px; }
.form-more summary::after {
  content: '+'; flex: none; width: 22px; height: 22px; display: grid; place-items: center;
  color: var(--gold-text); font-size: 1.1rem; border: 1px solid var(--line); border-radius: 50%;
  transition: transform .22s var(--ease);
}
.form-more[open] summary::after { content: '−'; }
.form-more .f { padding: 0 18px; }
.form-more summary:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }

.book-rail {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(26px, 3vw, 36px); align-self: start;
}
.rail-unit { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.rail-unit picture { display: block; border-radius: var(--r); overflow: hidden; margin-bottom: 16px; }
.rail-unit img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.rail-unit .eyebrow { margin-bottom: 6px; }
.rail-unit h3 { margin-bottom: 4px; }
.rail-meta { color: var(--muted); font-size: .87rem; margin: 0; }
.ct { display: flex; gap: 14px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.ct:last-of-type { border-bottom: 0; }
.ct svg { flex: none; color: var(--gold-text); margin-top: 3px; }
.ct b { display: block; font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ct a, .ct p { color: var(--ink); font-size: .95rem; text-decoration: none; margin: 0; }
/* Rail lines are only 20px; hit region eats into .ct's padding. */
.ct a { position: relative; }
.ct a::before { content: ''; position: absolute; inset: -12px 0; }
.ct a:hover { color: var(--gold-text); }
.ct small { display: block; color: var(--muted); font-size: .81rem; }

.ph-hint {
  margin-top: 22px; padding: 16px 18px; background: var(--cream-2);
  border-left: 2px solid var(--gold); border-radius: 0 var(--r) var(--r) 0;
  font-size: .85rem; color: var(--body);
}

/* Above 1000px the rail tracks scroll; below, the columns stack. */
@media (min-width: 1001px) {
  .book-rail { position: sticky; top: calc(var(--nav-h) + 24px); }
}

/* ---------- CTA BAND ---------- */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(72px, 9vw, 116px) 0; text-align: center; color: #fff;
}
.cta-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(2,27,59,.56), rgba(2,27,59,.72));
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.9); max-width: 50ch; margin-inline: auto; margin-top: 18px; }
.cta .hero-btns { justify-content: center; }

/* ---------- FOOTER ---------- */
.ft { background: var(--navy); color: rgba(255,255,255,.8); font-size: .89rem; }
.ft-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding: clamp(52px, 6vw, 74px) 0 44px; }
.ft .mark-name { color: #fff; }
.ft .mark-sub { color: rgba(255,255,255,.66); }
.ft-blurb { margin-top: 20px; max-width: 34ch; color: rgba(255,255,255,.74); font-size: .875rem; }
.ft h2 {
  font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .17em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 16px;
}
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ft a { color: rgba(255,255,255,.8); text-decoration: none; transition: color .22s var(--ease); }
.ft a:hover { color: #fff; }
/* .ft a otherwise wins specificity, white on light gold */
.ft a.btn-gold { color: var(--ink); }
.ft a.btn-gold:hover { color: var(--ink); }
/* .ft-bot grows to 44px; .ft-top gets 32px, or links overlap. */
/* A hit region on 2 lines covers one box; .ft-bot never wraps. */
.ft-bot ul a { position: relative; white-space: nowrap; }
.ft-bot ul a::before { content: ''; position: absolute; inset: -3px 0; }
.ft-top ul a { position: relative; }
.ft-top ul a::before { content: ''; position: absolute; inset: -7px 0; }
.ft-soc { display: flex; gap: 10px; margin-top: 18px; }
.ft-soc a {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%;
  display: grid; place-items: center; transition: background .24s var(--ease), border-color .24s var(--ease);
  position: relative;
}
/* Visible circle stays 36px; the region alone reaches 44x44. */
.ft-soc a::before { content: ''; position: absolute; inset: -4px; }
.ft-soc a:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.4); }
.ft-bot {
  border-top: 1px solid rgba(255,255,255,.14); padding: 22px 0 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap; font-size: .81rem; color: rgba(255,255,255,.62);
}
/* wrap moves whole links down, not their own text. */
.ft-bot ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ft-note {
  margin-top: 14px; font-size: .78rem; color: rgba(255,255,255,.52);
  max-width: 74ch; line-height: 1.6;
}

/* ---------- mobile action bar ---------- */
.mbar {
  position: fixed; z-index: 58; display: none;
  left: 14px; right: 14px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  gap: 8px; padding: 8px;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.5) blur(12px);
  -webkit-backdrop-filter: saturate(1.5) blur(12px);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 10px 30px -12px rgba(2,27,59,.34), 0 2px 6px -2px rgba(2,27,59,.12);
  transform: translateY(calc(100% + 22px));
  opacity: 0;
  transition: transform .34s var(--ease), opacity .28s var(--ease);
}
.mbar.up { transform: none; opacity: 1; }
.mbar a {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; border-radius: var(--r); text-decoration: none;
  font-size: .82rem; font-weight: 500; letter-spacing: .04em;
  transition: background .22s var(--ease);
}
/* the two secondary actions are icon-only squares */
.mbar a.ic {
  width: 46px; flex: none; color: var(--ink);
  border: 1px solid var(--line); background: var(--cream-2);
}
.mbar a.ic:active { background: var(--gold-soft, #EFE0C2); }
.mbar a.pri {
  flex: 1; background: var(--gold); color: var(--ink);
  text-transform: uppercase; font-size: .78rem; letter-spacing: .07em;
}
.mbar a.pri:active { background: #A87C3B; }
.mbar a.ic svg { color: var(--gold-text); }
@media (prefers-reduced-motion: reduce) {
  .mbar { transition: none; }
}

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); }
.rv.in {
  opacity: 1; transform: none;
  transition: opacity .78s var(--ease), transform .78s var(--ease);
  transition-delay: calc(var(--i, 0) * 85ms);
}
@media (prefers-reduced-motion: reduce) {
  .rv, .rv.in { opacity: 1; transform: none; transition: none; }
  .card:hover, .btn:hover { transform: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .strip-grid { grid-template-columns: repeat(3, 1fr); gap: 14px 4px; }
  .strip-i:nth-child(n+4) { grid-column: span 1; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img { order: -1; }
  .loc-grid { grid-template-columns: 1fr; }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  /* these two columns are now the full .wrap width, not a narrow half -
     the desktop-tuned measure left a third of the line empty */
  .about-grid .lead, .loc-grid .lead { max-width: 80ch; }
  .ft-blurb { max-width: none; }
}

@media (max-width: 1100px) {
  /* once the proofs wrap, a divider is just an orphan bar */
  .proof-div { display: none; }
  .hero-proof { gap: 14px 26px; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .cards { grid-template-columns: 1fr; }
  .suite { grid-template-columns: 1fr; }
  .suite:nth-child(even) .ph { order: 0; }
  .suite-img img { min-height: 232px; }
  .units { grid-template-columns: repeat(2, 1fr); }
  .book-grid { grid-template-columns: 1fr; }
  .rev-top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .revs { grid-template-columns: 1fr; }
  .rev-lead { grid-row: auto; grid-column: auto; padding: 30px 26px; }
  /* t1 and t6 run full width, everything else pairs up */
  .gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 164px; }
  .gal .t1 { grid-column: span 2; }
    .gal .t5 { grid-column: span 1; }
  .gal .t6 { grid-column: span 2; }
  .mbar { display: flex; }
  body { padding-bottom: var(--mbar-clear); }
  /* Same reserve, scroll side. */
  html { scroll-padding-bottom: var(--mbar-clear); }
  .hero { min-height: min(88vh, 780px); }
  /* the phone source is a portrait crop already composed for this */
  .hero-img { object-position: 50% 50%; }
}

@media (max-width: 620px) {
  .wrap, .wrap-wide { width: calc(100% - 34px); }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .about-notes { grid-template-columns: 1fr; gap: 16px; }
  .row2 { grid-template-columns: 1fr; }
  .detail-strip { grid-template-columns: 1fr; }
  .units { grid-template-columns: 1fr; }
  .badge-bf { font-size: .6rem; padding: 4px 8px; }
  .ft-top { grid-template-columns: 1fr; }
  .hero-btns .btn { flex: 1 1 100%; }
  .hero-proof { gap: 14px; }
  .proof-div { display: none; }
  /* ~340px wide here: house label moves left, beach label wraps. */
  .map-lbl-road, .map-lbl-gb { display: none; }
  .map-lbl-home { transform: translate(calc(-100% - 15px), -50%); font-size: .9rem; }
  .map-lbl-beach { white-space: normal; width: 6.6rem; font-size: .7rem; }
}

/* ---------- SKIP LINK ---------- visible only once tabbed to */
.skip {
  position: absolute; left: 14px; top: -60px; z-index: 90;
  background: var(--gold); color: var(--ink); text-decoration: none;
  padding: 12px 20px; border-radius: var(--r); font-size: .84rem; font-weight: 500;
  transition: top .2s var(--ease);
}
.skip:focus { top: 14px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- LANGUAGE SWITCH ---------- */
.lang {
  display: flex; align-items: center; gap: 2px; flex: none;
  border: 1px solid rgba(255,255,255,.34); border-radius: 999px; padding: 2px;
  transition: border-color .3s var(--ease);
}
.lang-o {
  font-size: .72rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase;
  text-decoration: none; color: rgba(255,255,255,.78);
  padding: 5px 11px; border-radius: 999px; line-height: 1;
  transition: background .22s var(--ease), color .22s var(--ease);
}
.lang-o:hover { color: #fff; }
.lang-o[aria-current="true"] { background: var(--gold); color: var(--ink); }
.nav.stuck .lang { border-color: var(--line); }
.nav.stuck .lang-o { color: var(--muted); }
.nav.stuck .lang-o:hover { color: var(--ink); }
.nav.stuck .lang-o[aria-current="true"] { background: var(--gold); color: var(--ink); }
.lang-o:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 2px; }

/* in the drawer it is full width and spells the languages out */
.lang-drawer {
  margin-top: 24px; border-color: var(--line); align-self: stretch;
  justify-content: center;
}
/* Visible pill stays ~30.5px; hit region fills the gap to 44. */
.lang-drawer .lang-o { color: var(--muted); padding: 9px 20px; font-size: .78rem; position: relative; }
.lang-drawer .lang-o::before { content: ''; position: absolute; inset: -7px 0; }
.lang-drawer .lang-o[aria-current="true"] { color: var(--ink); }

/* ---------- RATES: a table, not cards ---------- */
.seasons {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 52px;
}
.season {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  border-top: 2px solid var(--gold);
  padding: 22px 24px;
}
.season-k {
  display: block; font-size: .705rem; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px;
}
.season b {
  display: block; font-family: var(--serif); font-size: 1.06rem; font-weight: 500;
  color: var(--ink); line-height: 1.42;
}
.season-n { display: block; margin-top: 10px; font-size: .8rem; color: var(--muted); line-height: 1.45; }

.rate-wrap {
  margin-top: 24px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.rates { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 620px; }
.rates thead th {
  text-align: right; font-family: var(--sans); font-size: .7rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  padding: 18px 20px 14px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.rates thead th:first-child { text-align: left; }
.rates tbody th {
  text-align: left; font-family: var(--sans); font-weight: 400;
  padding: 15px 20px; border-bottom: 1px solid var(--line);
}
.rates tbody th b { display: block; font-family: var(--serif); font-size: 1.02rem; font-weight: 500; color: var(--ink); }
.rates tbody th span { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.rates td {
  text-align: right; padding: 15px 20px; border-bottom: 1px solid var(--line);
  color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums;
}
.rates tbody tr:last-child th, .rates tbody tr:last-child td { border-bottom: 0; }
.rates tbody tr:hover th, .rates tbody tr:hover td { background: var(--cream); }
/* the very-high column is the one that surprises people */
.rates td:nth-child(2) { font-weight: 500; }
.rates td:last-child { color: var(--muted); font-size: .82rem; }
/* the two renovated studios, as the section above puts forward */
.rates tbody tr:nth-child(-n+2) th b { color: var(--gold-text); }

/* Under 620px the table becomes stacked cards, not a horizontal scroll:
   scrolling sideways inside a modal that already scrolls vertically lost
   the row label the moment a price came into view. thead is sr-only, not
   display:none - screen readers still get the column names. */
@media (max-width: 620px) {
  /* .rate-wrap keeps its base overflow-x:auto (check.mjs's horizontal-
     scroll-trap check requires it) - once .rates itself no longer
     declares a wide min-width, there is nothing left for it to scroll. */
  .rates { min-width: 0; }
  .rates thead {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .rates, .rates tbody, .rates tr { display: block; width: 100%; }
  .rates tbody tr { padding: 16px; border-bottom: 1px solid var(--line); }
  .rates tbody tr:last-child { border-bottom: 0; }
  .rates tbody th { display: block; padding: 0 0 10px; border-bottom: 0; }
  .rates td {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 5px 0; border-bottom: 0; text-align: left; white-space: normal;
  }
  .rates td::before {
    content: attr(data-l); color: var(--muted); font-size: .78rem;
  }
}

.terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 34px; margin-top: 38px; }
.term b {
  display: block; font-family: var(--sans); font-size: .74rem; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px;
}
.term p { font-size: .875rem; color: var(--body); margin: 0; }

/* ---------- PHOTO VIEWER ---------- */
.unit-img, .suite-img { cursor: zoom-in; }
.unit-img, .suite-img, .gal a { position: relative; }
/* the count badge: more behind the one visible frame */
.gal a[data-gal-n]::after, .unit-img[data-gal-n]::after, .suite-img[data-gal-n]::after {
  content: attr(data-gal-n);
  position: absolute; right: 10px; bottom: 10px;
  padding: 4px 9px; border-radius: 999px;
  background: rgba(2,27,59,.62); color: #fff;
  font-size: .7rem; font-weight: 500; letter-spacing: .04em;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; transform: translateY(4px);
  transition: opacity .24s var(--ease), transform .24s var(--ease);
  pointer-events: none;
}
.gal a[data-gal-n]:hover::after, .unit-img[data-gal-n]:hover::after,
.suite-img[data-gal-n]:hover::after, .gal a[data-gal-n]:focus-visible::after,
.unit-img[data-gal-n]:focus-visible::after, .suite-img[data-gal-n]:focus-visible::after {
  opacity: 1; transform: none;
}
.gal a:focus-visible, .unit-img:focus-visible, .suite-img:focus-visible {
  outline: 2px solid var(--gold-text); outline-offset: 3px;
}

/* Opaque, not translucent: a photo wants a neutral ground. */
.lb {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: #061426;
}
.lb.on { display: grid; grid-template-rows: auto 1fr auto; }
.lb-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px clamp(16px, 3vw, 30px); color: rgba(255,255,255,.9);
}
.lb-title { font-family: var(--serif); font-size: 1.06rem; color: #fff; }
.lb-count { font-size: .8rem; color: rgba(255,255,255,.6); margin-left: 12px; font-variant-numeric: tabular-nums; }
.lb-x, .lb-nav {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; color: #fff; cursor: pointer; padding: 0;
  transition: background .2s var(--ease);
}
.lb-x:hover, .lb-nav:hover { background: rgba(255,255,255,.2); }
.lb-x:focus-visible, .lb-nav:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
/* .lb-nav sits over the photo, so it gets a dark halo. */
.lb-nav:focus-visible { box-shadow: 0 0 0 6px var(--navy-deep); }
.lb-stage {
  position: relative; min-height: 0; overflow: hidden;
  margin: 0 clamp(10px, 2vw, 22px);
}
/* Absolute + object-fit, not % max-height (never resolves). */
.lb-stage img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; border-radius: var(--r);
}
/* Explicit z-index, or the photo sits over the previous arrow. */
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb-prev { left: clamp(6px, 1.5vw, 18px); }
.lb-next { right: clamp(6px, 1.5vw, 18px); }
.lb-foot { padding: 14px clamp(16px, 3vw, 30px) calc(18px + env(safe-area-inset-bottom, 0px)); }
.lb-cap {
  color: rgba(255,255,255,.72); font-size: .84rem; text-align: center;
  max-width: 68ch; margin: 0 auto 12px; line-height: 1.5;
}
.lb-dots { display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; }
.lb-dots button {
  width: 8px; height: 8px; padding: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.3); border: 0; position: relative;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
/* Dot stays 8px, only the hit region grows (14x31, short of 44). */
.lb-dots button::before { content: ''; position: absolute; inset: -9px -3px -14px -3px; }
.lb-dots button[aria-current="true"] { background: var(--gold); transform: scale(1.35); }
.lb-dots button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- reglement interieur ---------- */
.ov {
  display: none; position: fixed; inset: 0; z-index: 100;
  align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  background: rgba(2, 27, 59, .72);
}
.ov:target, .ov.is-open { display: flex; }
/* Higher specificity than :target, which replaceState can't clear alone.
   No .js leaves :target as the only rule. */
.js .ov:not(.is-open) { display: none; }
.ov-box {
  position: relative; background: var(--cream); border-radius: var(--r);
  max-width: 620px; width: 100%; max-height: 70vh; overflow-y: auto;
  padding: clamp(30px, 4vw, 46px);
}
/* The rates table (620px min-width) needs more room than the règlement
   text; a modifier, not a change to .ov-box itself. */
.ov-box--wide { max-width: 960px; }
/* the 68ch measure was tuned for .units-note on the page; inside the wide
   popup it leaves a third of the box empty */
.ov .units-note { max-width: none; }
.ov-x {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 999px; color: var(--ink);
  text-decoration: none; font-size: 1.5rem; line-height: 1;
  transition: background .2s var(--ease);
}
.ov-x:hover { background: var(--cream-2); }
/* --gold-text, not raw --gold (1.80:1 on --cream, under 3:1). */
.ov-x:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 2px; }
.reg-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.reg-list li {
  position: relative; padding-left: 22px; color: var(--body); line-height: 1.6;
}
/* Decorative: raw --gold is fine as a 7px shape, never as text. */
.reg-list li::before {
  content: ''; position: absolute; left: 0; top: .6em;
  width: 7px; height: 7px; border-radius: 999px; background: var(--gold);
}
@media (prefers-reduced-motion: reduce) {
  .lb-dots button, .gal a::after, .unit-img::after, .suite-img::after { transition: none; }
}

/* ---------- FOOTER CREDIT ---------- */
.ft-by { color: rgba(255,255,255,.5); }
.ft-by a { color: rgba(255,255,255,.78); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.28); }
.ft-by a:hover { color: #fff; border-bottom-color: var(--gold); }

/* ---------- RESPONSIVE - the sections added above ---------- */
@media (max-width: 1080px) {
  .strip-grid { grid-template-columns: repeat(3, 1fr); }
  .seasons { grid-template-columns: 1fr; }
  .scores { gap: 14px 20px; }
}

@media (max-width: 900px) {
  /* the nav collapses: the language switch moves into the drawer */
  .nav .lang { display: none; }
  .gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 164px; }
  .gal .t1 { grid-column: span 2; grid-row: span 1; }
  .gal .t2 { grid-row: span 1; }
  .gal .t5 { grid-column: span 1; }
  .gal .t6 { grid-column: span 2; }
  .terms { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 620px) {
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .lb-cap { font-size: .8rem; }
  .scores { gap: 12px 18px; }
  .score-div { display: none; }
  .rev-foot { gap: 14px 22px; }
}

/* content-visibility:auto skips off-screen layout. */
#suites, #tarifs, #gallery, #location, #reviews, #contact, .cta, .ft {
  content-visibility: auto;
}
#suites   { contain-intrinsic-size: auto 3337px; }
#tarifs   { contain-intrinsic-size: auto 472px; }
#gallery  { contain-intrinsic-size: auto 1009px; }
#location { contain-intrinsic-size: auto 760px; }
#reviews  { contain-intrinsic-size: auto 1410px; }
#contact  { contain-intrinsic-size: auto 1230px; }
.cta      { contain-intrinsic-size: auto 532px; }
.ft       { contain-intrinsic-size: auto 435px; }

/* Sur telephone tout est empile, donc nettement plus haut. */
@media (max-width: 700px) {
  #suites   { contain-intrinsic-size: auto 5534px; }
  #tarifs   { contain-intrinsic-size: auto 427px; }
  #gallery  { contain-intrinsic-size: auto 1070px; }
  #location { contain-intrinsic-size: auto 1066px; }
  #reviews  { contain-intrinsic-size: auto 2761px; }
  #contact  { contain-intrinsic-size: auto 2243px; }
  .cta      { contain-intrinsic-size: auto 539px; }
  .ft       { contain-intrinsic-size: auto 1102px; }
}

/* Print: nothing skipped, or the page prints blank. */
@media print {
  #suites, #tarifs, #gallery, #location, #reviews, #contact, .cta, .ft {
    content-visibility: visible;
  }
}
