/* ==========================================================================
   De Chateauroux — site styles
   Tokens follow the Chateauroux Design System ("Classic Amsterdam, modernized"):
   canal-house green, brick, Delft blue, polished brass, warm cream.
   ========================================================================== */

:root {
  color-scheme: light;

  /* — Canal green (primary) — */
  --canal-950: #081E1A;
  --canal-900: #0C2925;
  --canal-800: #123B34;
  --canal-700: #1A4F45;
  --canal-600: #256458;
  --canal-500: #337A6C;
  --canal-300: #7FAEA2;
  --canal-100: #D8E6E1;
  --canal-50:  #EDF4F1;

  /* — Brick (action accent) — */
  --brick-700: #8A3B26;
  --brick-600: #A5462E;
  --brick-500: #BC5637;
  --brick-300: #DCA089;
  --brick-100: #F3E0D7;

  /* — Delft (secondary) — */
  --delft-700: #1F3A5F;
  --delft-600: #274C77;
  --delft-500: #33608F;
  --delft-300: #8FA9C4;
  --delft-100: #DDE6EF;

  /* — Brass (fine details) — */
  --brass-600: #9C7430;
  --brass-500: #B98A3C;
  --brass-300: #D9BC85;
  --brass-100: #F2E8D3;

  /* — Cream & ink — */
  --cream-50:  #FBF8F1;
  --cream-100: #F6F1E6;
  --cream-200: #EFE7D6;
  --cream-300: #E3D8C2;
  --ink-900:   #1C1B16;
  --ink-700:   #3A382F;
  --ink-500:   #6A6657;
  --ink-300:   #A39E8C;
  --white:     #FFFFFF;

  /* — Semantic aliases — */
  --surface-page:    var(--cream-50);
  --surface-card:    #FFFDF8;
  --surface-sunken:  var(--cream-100);
  --surface-inverse: var(--canal-900);
  --text-heading:    var(--canal-900);
  --text-body:       var(--ink-700);
  --text-muted:      var(--ink-500);
  --text-inverse:    var(--cream-50);
  --text-accent:     var(--brick-600);
  --border-subtle:   #E8E0CC;
  --border-strong:   #C9BFA5;
  --border-inverse:  rgba(251, 248, 241, 0.18);

  /* — Type — */
  --font-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --font-serif:   "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --font-sans:    "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --text-hero:    clamp(42px, 5.5vw, 84px);
  --text-h2:      clamp(30px, 3.4vw, 42px);
  --text-h3:      22px;
  --text-lead:    19px;
  --text-body:    16px;
  --text-small:   14px;
  --text-caption: 12.5px;
  --text-eyebrow: 12px;

  --leading-display: 1.08;
  --leading-heading: 1.18;
  --leading-body:    1.65;
  --tracking-caps:   0.14em;
  --tracking-wide:   0.04em;

  /* — Shape, elevation, motion — */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   14px;
  --shadow-sm:   0 1px 2px rgba(28, 27, 22, 0.07);
  --shadow-md:   0 2px 8px rgba(28, 27, 22, 0.08), 0 1px 2px rgba(28, 27, 22, 0.05);
  --shadow-lg:   0 12px 32px rgba(28, 27, 22, 0.14), 0 2px 8px rgba(28, 27, 22, 0.07);
  --ease-out:    cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast:    140ms;
  --dur-base:    260ms;
  --dur-slow:    420ms;

  /* — Layout — */
  --container: 1200px;
  --gutter:    24px;
  --header-h:  76px;
  --section-y: clamp(64px, 9vw, 112px);

  /* — Stacking — */
  --z-header:  60;
  --z-overlay: 90;
  --z-skip:    100;

  /* — Texture: a faint grain for the deep-green bands — */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text-heading);
  text-wrap: balance;
}
h1 { font-size: var(--text-hero); line-height: var(--leading-display); letter-spacing: -0.005em; }
h2 { font-size: var(--text-h2); line-height: var(--leading-display); }
h3 { font-size: var(--text-h3); line-height: var(--leading-heading); }

p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }

a { color: var(--text-accent); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
a:hover { color: var(--brick-700); text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--brass-500);
  outline-offset: 3px;
  border-radius: 2px;
}

ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
strong { font-weight: 600; }

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}
/* Wide container: header, hero, photo grids and footer use the whole screen,
   with gutters that grow with the viewport. */
.container-wide {
  width: min(calc(100% - clamp(24px, 4vw, 128px) * 2), 2400px);
  margin-inline: auto;
}

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: var(--z-skip);
  padding: 10px 14px; background: var(--brass-500); color: var(--ink-900);
  border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; text-decoration: none; }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-sm { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  margin: 0 0 14px;
  font: 600 var(--text-eyebrow) / 1.2 var(--font-sans);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-accent);
}
.on-dark .eyebrow { color: var(--brass-300); }

.lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-lead);
  line-height: 1.6;
  color: var(--text-body);
}
.on-dark .lead { color: rgba(251, 248, 241, 0.82); }

.muted { color: var(--text-muted); }
.small { font-size: var(--text-small); }

.section-intro { max-width: 62ch; }
.section-intro h2 { margin-bottom: 18px; }
.section-intro.center { margin-inline: auto; text-align: center; }
.section-intro.center .eyebrow { text-align: center; }

.on-dark { color: rgba(251, 248, 241, 0.86); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--text-inverse); }
.on-dark a { color: var(--brass-300); }
.on-dark a:hover { color: var(--brass-100); }

/* Grain: breaks the digital flatness of the deep-green bands without
   reading as a texture. Content sits above the overlay. */
.grain { position: relative; isolation: isolate; }
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--grain); background-size: 220px 220px;
  opacity: 0.07; mix-blend-mode: soft-light;
}
.grain > * { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   XXX divider — Amsterdam's three saltires, drawn in a brass hairline
   -------------------------------------------------------------------------- */
.xxx {
  display: flex; align-items: center; gap: 18px;
  width: min(360px, 100%);
  margin: 0 auto;
  color: var(--brass-500);
}
.xxx::before, .xxx::after {
  content: ""; flex: 1; height: 1px;
  background: currentColor; opacity: 0.55;
}
.xxx svg { width: 54px; height: 12px; stroke: currentColor; stroke-width: 1.2; fill: none; }
.xxx.on-cream { color: var(--brass-500); }
.xxx.on-dark  { color: var(--brass-300); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font: 600 13px / 1 var(--font-sans);
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 16px; height: 16px; }

/* Quiet secondary action: a letterspaced text link with an arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 0;
  font: 600 13px / 1 var(--font-sans); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cream-50);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--dur-base) var(--ease-out); }
.link-arrow:hover { color: var(--brass-300); text-decoration: none; }
.link-arrow:hover .icon { transform: translateY(3px); }

.btn-accent { background: var(--brick-600); color: var(--cream-50); }
.btn-accent:hover { background: var(--brick-700); color: var(--cream-50); }
.btn-accent:active { background: #733120; }

.btn-primary { background: var(--canal-800); color: var(--cream-50); }
.btn-primary:hover { background: var(--canal-900); color: var(--cream-50); }
.btn-primary:active { background: var(--canal-950); }

.btn-brass { background: var(--brass-500); color: var(--ink-900); }
.btn-brass:hover { background: var(--brass-600); color: var(--ink-900); }
.btn-brass:active { background: #7F5D25; }

.btn-inverse {
  background: rgba(251, 248, 241, 0.12); color: var(--cream-50);
  border-color: rgba(251, 248, 241, 0.3);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn-inverse:hover { background: rgba(251, 248, 241, 0.2); border-color: rgba(251, 248, 241, 0.5); color: var(--cream-50); }

.btn-ghost { color: var(--canal-900); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--cream-100); color: var(--canal-900); }

.btn-small { min-height: 40px; padding: 0 20px; font-size: 11.5px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: var(--text-small); letter-spacing: var(--tracking-wide);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  height: var(--header-h);
  color: var(--cream-50);
  background: linear-gradient(to bottom, rgba(8, 30, 26, 0.55), rgba(8, 30, 26, 0));
  transition: background-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(8, 30, 26, 0.86);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--border-inverse);
}
/* While the menu is open the header must not carry a filter: a backdrop-filter
   would become the containing block for the fixed-position menu panel. */
.site-header.menu-open {
  background: var(--canal-950);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 100%;
}

/* Wordmark: letterspaced serif caps over a brass-ruled tagline */
.wordmark { display: inline-flex; flex-direction: column; color: var(--cream-50); text-decoration: none; }
.wordmark:hover { text-decoration: none; color: var(--cream-50); }
.wordmark-name {
  font-family: var(--font-display);
  font-size: 22px; line-height: 1;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding-left: 0.1em;
}
.wordmark-tag {
  display: flex; align-items: center; gap: 8px;
  margin-top: 6px;
  font: 500 8.5px / 1 var(--font-sans);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass-300); white-space: nowrap;
}
.wordmark-tag::before, .wordmark-tag::after {
  content: ""; flex: 1; height: 1px; background: var(--brass-500); opacity: 0.85;
}
.wordmark-lg .wordmark-name { font-size: 30px; }
.wordmark-lg .wordmark-tag { font-size: 10px; margin-top: 8px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font: 600 12px / 1 var(--font-sans);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(251, 248, 241, 0.82);
  padding: 8px 0; position: relative;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--brass-300);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.site-nav a:hover, .site-nav a.is-active { color: var(--cream-50); text-decoration: none; }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }

.site-nav .nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; }

/* Language switch: EN / NL */
.lang-switch {
  display: flex; align-items: center; gap: 10px;
  font: 600 11px / 1 var(--font-sans);
  letter-spacing: var(--tracking-caps); text-transform: uppercase;
}
.lang-switch a, .lang-switch span { padding: 6px 0; color: rgba(251, 248, 241, 0.55); text-decoration: none; }
.lang-switch a:hover { color: var(--cream-50); text-decoration: none; }
.lang-switch [aria-current] { color: var(--cream-50); box-shadow: inset 0 -1px 0 var(--brass-300); }
.lang-switch .lang-sep { width: 1px; height: 12px; padding: 0; background: rgba(251, 248, 241, 0.3); }

.menu-toggle {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--cream-50);
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }
.menu-open .menu-toggle .icon-menu { display: none; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 clamp(40px, 6vh, 96px);
  color: var(--cream-50);
  background: var(--canal-950);
  overflow: hidden;
}
.hero-inner { display: flex; flex-direction: column; gap: clamp(28px, 4vh, 60px); }
.hero-media {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 45%;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(8, 30, 26, 0.72) 0%, rgba(8, 30, 26, 0.18) 45%, rgba(8, 30, 26, 0.25) 100%),
    linear-gradient(to right, rgba(8, 30, 26, 0.62) 0%, rgba(8, 30, 26, 0.28) 48%, rgba(8, 30, 26, 0) 80%);
}
.hero-content { max-width: clamp(780px, 44vw, 1160px); }
.hero .eyebrow { color: var(--brass-300); }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero .lead { color: rgba(251, 248, 241, 0.86); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: 32px; }
.hero-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(251, 248, 241, 0.22);
}
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center;
  font-size: var(--text-small); color: rgba(251, 248, 241, 0.8);
  font-variant-numeric: tabular-nums;
}
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .icon { width: 16px; height: 16px; color: var(--brass-300); }
.hero-facts .star { fill: var(--brass-300); stroke: var(--brass-300); }
.hero-facts a { color: var(--cream-50); }
.tag-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px 8px 10px;
  border: 1px solid rgba(217, 188, 133, 0.55); border-radius: var(--radius-sm);
  font: 600 11px / 1 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brass-300);
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.tag-link:hover { background: rgba(217, 188, 133, 0.12); text-decoration: none; color: var(--brass-100); }
.tag-link .icon { width: 14px; height: 14px; }

@media (prefers-reduced-motion: no-preference) {
  /* One slow settle on the hero photo, then still. */
  .hero-media { animation: hero-settle 14s var(--ease-out) both; }
  @keyframes hero-settle { from { transform: scale(1.06); } to { transform: scale(1); } }
  .hero-content > *, .hero-foot { animation: rise var(--dur-slow) var(--ease-out) both; }
  .hero-content > :nth-child(2) { animation-delay: 60ms; }
  .hero-content > :nth-child(3) { animation-delay: 120ms; }
  .hero-content > :nth-child(4) { animation-delay: 180ms; }
  .hero-foot { animation-delay: 280ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
/* Bottom padding runs a touch longer than top: optically even. */
.section { padding-block: var(--section-y) calc(var(--section-y) * 1.08); }
.section-sunken { background: var(--surface-sunken); }
.section-inverse { background: var(--canal-950); }
.section-divider { padding-top: 40px; }
.section-divider .xxx { margin-bottom: 40px; }

.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px; align-items: center;
}
.split > * { min-width: 0; }

/* Photo stack: one main image with a smaller inset over the corner */
.photo-stack { position: relative; padding: 0 0 56px 56px; }
.photo-stack .main {
  aspect-ratio: 4 / 3; width: 100%; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.photo-stack .inset {
  position: absolute; left: 0; bottom: 0; width: 44%;
  aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-md);
  border: 6px solid var(--cream-50);
  box-shadow: var(--shadow-lg);
}
.section-sunken .photo-stack .inset { border-color: var(--cream-100); }

.amenities {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  margin-top: 32px;
}
.amenity {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  font-size: var(--text-small); font-weight: 500; color: var(--text-heading);
}
.amenity .icon { color: var(--canal-600); }

.history {
  margin-top: 28px; padding: 18px 22px;
  border-left: 2px solid var(--brass-500);
  background: var(--brass-100);
  font-family: var(--font-serif); font-style: italic; font-size: 16px; line-height: 1.6;
  color: var(--ink-700); border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Quote band */
.quote-band { background: var(--canal-900); color: var(--cream-50); text-align: center; padding-block: clamp(56px, 8vw, 96px); }
.quote-band blockquote { margin: 28px auto 0; max-width: 760px; }
.quote-band p {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(26px, 3.4vw, 40px); line-height: 1.25; color: var(--cream-50);
  text-wrap: balance;
}
.quote-band cite {
  display: block; margin-top: 22px;
  font: 600 var(--text-eyebrow) / 1.2 var(--font-sans);
  letter-spacing: var(--tracking-caps); text-transform: uppercase; font-style: normal;
  color: var(--brass-300);
}

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  display: flex; flex-direction: column;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); transform: translateY(-2px); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-200); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.card:hover .card-media img { transform: scale(1.03); }
.card-media.wide { aspect-ratio: 3 / 2; }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.card-body h3 { font-size: 22px; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card-body p { font-size: 15px; line-height: 1.6; }
/* Cabins: two sleeping-cabin cards, then the shared common room as one wide card */
.cabin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-wide { grid-column: 1 / -1; flex-direction: row; }
.card-wide .card-media { flex: 0 0 46%; aspect-ratio: auto; min-height: 280px; }
.card-wide .card-body { justify-content: center; gap: 12px; padding: 32px 40px; }

/* Experience: one tall feature beside two horizontal cards */
.experience-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.experience-grid > .card:first-child { grid-row: span 2; }
.experience-grid > .card:first-child .card-media { aspect-ratio: auto; flex: 1 1 auto; min-height: 360px; }
.card-row { flex-direction: row; }
.card-row .card-media { flex: 0 0 44%; aspect-ratio: auto; }
.card-row .card-body { justify-content: center; }

.card-tag {
  position: absolute; left: 14px; top: 14px;
  padding: 7px 10px; border-radius: var(--radius-sm);
  background: rgba(8, 30, 26, 0.72); color: var(--brass-300);
  font: 600 11px / 1 var(--font-sans); letter-spacing: 0.12em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}

.badge {
  display: inline-block; padding: 5px 9px; border-radius: var(--radius-sm);
  background: var(--brick-100); color: var(--brick-700);
  font: 600 11px / 1 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
}
.badge-green { background: var(--canal-100); color: var(--canal-700); }

.facilities-note {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 28px; padding: 16px 18px;
  background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  font-size: 15px;
}
.facilities-note .icon { color: var(--canal-600); margin-top: 2px; }

/* Seasons */
.season-meta {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 var(--text-eyebrow) / 1.2 var(--font-sans); letter-spacing: var(--tracking-caps); text-transform: uppercase;
  color: var(--canal-600);
}
.season-meta .icon { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.gallery {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px; grid-auto-flow: dense; gap: 12px;
  margin-top: 44px;
}
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius-md); background: var(--cream-200);
  width: 100%; height: 100%;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 30, 26, 0.55), transparent 55%);
  opacity: 0; transition: opacity var(--dur-base) var(--ease-out);
}
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
.gallery-item span {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1;
  font-family: var(--font-serif); font-style: italic; font-size: 14px; color: var(--cream-50);
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  text-align: left;
}
.gallery-item:hover span, .gallery-item:focus-visible span { opacity: 1; transform: none; }
.gallery-item.feature { grid-column: span 2; grid-row: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-note { margin-top: 18px; text-align: center; font-size: var(--text-small); color: var(--text-muted); }

/* From the logbook: the ship's own album, shown as archive prints that
   regain their colour on hover */
.logbook-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.logbook-strip figure { margin: 0; }
.logbook-strip img {
  aspect-ratio: 4 / 3; width: 100%; object-fit: cover;
  padding: 4px; background: var(--surface-card);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  filter: sepia(0.3) saturate(0.8) contrast(1.04);
  transition: filter var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.logbook-strip figure:hover img { filter: none; transform: translateY(-2px); }
.logbook-strip figcaption { margin-top: 8px; font-family: var(--font-serif); font-style: italic; font-size: 13px; line-height: 1.4; color: var(--text-muted); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-overlay);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(8, 30, 26, 0.94);
}
.lightbox.is-open { display: flex; }
.lightbox-figure { margin: 0; max-width: min(1200px, 100%); width: 100%; text-align: center; }
.lightbox-figure img {
  margin: 0 auto; max-width: 100%; max-height: calc(100vh - 140px);
  width: auto; height: auto; object-fit: contain;
  border-radius: var(--radius-md); box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}
.lightbox-figure figcaption {
  margin-top: 16px; font-family: var(--font-serif); font-style: italic; font-size: 16px; color: rgba(251, 248, 241, 0.85);
}
.lightbox-btn {
  position: absolute; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px; color: var(--cream-50);
  background: rgba(251, 248, 241, 0.1); border: 1px solid rgba(251, 248, 241, 0.2);
  transition: background-color var(--dur-fast) var(--ease-out);
}
.lightbox-btn:hover { background: rgba(251, 248, 241, 0.22); }
.lightbox-btn .icon { width: 22px; height: 22px; }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-count {
  position: absolute; top: 32px; left: 50%; transform: translateX(-50%);
  font: 600 12px / 1 var(--font-sans); letter-spacing: 0.12em; color: rgba(251, 248, 241, 0.7);
}
body.no-scroll { overflow: hidden; }

/* --------------------------------------------------------------------------
   For sale
   -------------------------------------------------------------------------- */
.sale { background: var(--canal-950); color: rgba(251, 248, 241, 0.86); }
.sale .xxx { margin-bottom: 48px; }
.sale .split { align-items: start; gap: 72px; }
.sale h2 { color: var(--cream-50); margin-bottom: 18px; }
.sale .lead { color: var(--brass-100); margin-bottom: 18px; }
.sale-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.sale-actions .btn-inverse { border-color: rgba(251, 248, 241, 0.3); }

.specs { margin: 0; }
.specs-title {
  margin: 0 0 6px;
  font: 600 var(--text-eyebrow) / 1.2 var(--font-sans); letter-spacing: var(--tracking-caps); text-transform: uppercase;
  color: var(--brass-300);
}
.spec {
  display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 16px; align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid rgba(217, 188, 133, 0.22);
}
.spec:last-child { border-bottom: 0; }
.spec dt { font: 500 12.5px / 1.4 var(--font-sans); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: rgba(251, 248, 241, 0.6); }
.spec dd { margin: 0; font-family: var(--font-serif); font-size: 17px; line-height: 1.45; color: var(--cream-50); font-variant-numeric: tabular-nums; }
.spec dd small { display: block; font-family: var(--font-sans); font-size: 13px; color: rgba(251, 248, 241, 0.62); margin-top: 2px; }

.income {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  margin-top: 32px;
}
.income-item {
  padding: 16px 18px;
  border: 1px solid rgba(251, 248, 241, 0.14); border-radius: var(--radius-md);
  background: rgba(251, 248, 241, 0.04);
}
.income-item strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.1; color: var(--brass-300); font-variant-numeric: tabular-nums; }
.income-item span { display: block; margin-top: 6px; font-size: 13px; color: rgba(251, 248, 241, 0.7); }

.quarters { margin-top: 64px; }
.quarters-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.quarters-head h3 { color: var(--cream-50); font-size: 26px; }
.quarters-head p { max-width: 52ch; font-size: 15px; color: rgba(251, 248, 241, 0.72); }
.quarters-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.quarters-grid figure { margin: 0; }
.quarters-grid img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: var(--radius-md); border: 1px solid rgba(251, 248, 241, 0.1); }
.quarters-grid figcaption { margin-top: 10px; font-family: var(--font-serif); font-style: italic; font-size: 14px; color: rgba(251, 248, 241, 0.72); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-aside h2 { margin-bottom: 14px; }
.faq-aside p { max-width: 36ch; }
.faq-help { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border-subtle); font-size: 15px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.faq[open] { border-color: var(--border-strong); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 19px; line-height: 1.3; color: var(--text-heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--brick-600); transition: transform var(--dur-base) var(--ease-out); }
.faq[open] summary .icon { transform: rotate(45deg); }
.faq-body { padding: 0 22px 22px; font-size: 15.5px; max-width: 70ch; }
.faq-body p + p { margin-top: 0.6em; }

/* --------------------------------------------------------------------------
   Reservations / contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 44px; align-items: stretch; }

.contact-card {
  background: var(--canal-900); color: rgba(251, 248, 241, 0.86);
  border-radius: var(--radius-md); padding: 30px 30px 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.contact-card h3 { color: var(--cream-50); font-size: 26px; }
.contact-card > p { font-size: 15.5px; line-height: 1.6; }
.contact-rows { display: flex; flex-direction: column; gap: 14px; }
.contact-row { display: flex; align-items: flex-start; gap: 14px; font-size: 15.5px; line-height: 1.5; }
.contact-row .icon { color: var(--brass-300); margin-top: 3px; }
.contact-row a { color: var(--cream-50); }
.contact-row a:hover { color: var(--brass-100); }
.contact-card .btn { align-self: flex-start; margin-top: auto; }
.contact-card .rating { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(251, 248, 241, 0.72); font-variant-numeric: tabular-nums; }
.contact-card .rating .star { width: 15px; height: 15px; fill: var(--brass-300); stroke: var(--brass-300); }

.contact-panel { display: flex; flex-direction: column; gap: 18px; padding: 30px 30px 32px; }
.contact-panel h3 { font-size: 26px; margin-bottom: 0; }
.contact-panel .contact-row .icon { color: var(--canal-600); }
.contact-panel .contact-row a { color: var(--text-heading); }
.contact-panel .contact-row a:hover { color: var(--brick-700); }
.contact-panel .contact-email { font-family: var(--font-display); font-size: 22px; line-height: 1.2; }
.contact-panel > p { margin-top: auto; }

.practical-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 24px; }
.panel {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  padding: 26px 28px 28px;
}
.panel h3 { font-size: 22px; margin-bottom: 14px; }
.check-list { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--canal-600); margin-top: 3px; width: 18px; height: 18px; }
.travel-list { display: flex; flex-direction: column; gap: 16px; font-size: 15px; }
.travel-list li { display: flex; gap: 14px; align-items: flex-start; }
.travel-list .icon { color: var(--brick-600); margin-top: 3px; }
.travel-list strong { display: block; color: var(--text-heading); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--canal-950); color: rgba(251, 248, 241, 0.72); padding: 56px 0 28px; font-size: var(--text-small); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-top: 44px; }
.footer-grid p { max-width: 40ch; margin-top: 18px; line-height: 1.65; }
.footer-title { margin: 0 0 14px; font: 600 var(--text-eyebrow) / 1.2 var(--font-sans); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--brass-300); }
.footer-list { display: flex; flex-direction: column; gap: 9px; }
.footer-list a, .site-footer address a { color: rgba(251, 248, 241, 0.86); }
.footer-list a:hover, .site-footer address a:hover { color: var(--brass-100); }
.site-footer address { line-height: 1.7; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 28px;
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid var(--border-inverse);
  font-size: 13px; color: rgba(251, 248, 241, 0.55);
}
.footer-bottom a { color: rgba(251, 248, 241, 0.8); }
.footer-privacy { flex: 1 1 320px; text-align: center; }

/* 404 */
.notfound {
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center;
  padding: 80px 0; background: var(--canal-950); color: rgba(251, 248, 241, 0.86);
}
.notfound .wordmark { margin-bottom: 56px; }
.notfound h1 { color: var(--white); margin: 16px 0 20px; max-width: 14ch; }
.notfound .lead { color: rgba(251, 248, 241, 0.82); max-width: 44ch; }
.notfound .eyebrow { color: var(--brass-300); }
.notfound .hero-actions { margin-top: 28px; }
.notfound .alt-lang { margin-top: 40px; font-size: var(--text-small); color: rgba(251, 248, 241, 0.6); }
.notfound .alt-lang a { color: var(--brass-300); }

/* --------------------------------------------------------------------------
   Scroll reveal (applied by JS only to elements below the first viewport)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-pending { opacity: 0; transform: translateY(14px); }
  .reveal-in { opacity: 1; transform: none; transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
  /* Children of a revealed group cascade in, 60ms apart */
  .reveal-pending > * { opacity: 0; transform: translateY(10px); }
  .reveal-in > * { opacity: 1; transform: none; transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
  .reveal-in > :nth-child(2) { transition-delay: 60ms; }
  .reveal-in > :nth-child(3) { transition-delay: 120ms; }
  .reveal-in > :nth-child(4) { transition-delay: 180ms; }
  .reveal-in > :nth-child(5) { transition-delay: 240ms; }
  .reveal-in > :nth-child(6) { transition-delay: 300ms; }
  .reveal-in > :nth-child(7) { transition-delay: 360ms; }
  .reveal-in > :nth-child(n + 8) { transition-delay: 420ms; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* --------------------------------------------------------------------------
   Large screens (1600px and up): the page scales with the monitor
   -------------------------------------------------------------------------- */
@media (min-width: 1600px) {
  :root {
    --container: 1560px;
    --gutter: 64px;
    --header-h: 88px;
    --section-y: clamp(96px, 7.5vw, 168px);
    --text-body: 17px;
    --text-lead: 21px;
    --text-small: 15px;
    --text-h3: 26px;
    --text-eyebrow: 13px;
  }
  h2 { font-size: clamp(44px, 3vw, 60px); }
  .hero h1 { font-size: clamp(80px, 5vw, 118px); }
  .hero .lead { font-size: clamp(21px, 1.3vw, 27px); }
  .hero-actions { margin-top: 40px; }
  .wordmark-name { font-size: 26px; }
  .wordmark-tag { font-size: 9.5px; }
  .site-nav { gap: 34px; }
  .site-nav a { font-size: 13px; }
  .btn { min-height: 54px; padding: 0 34px; font-size: 14px; }
  .btn-small { min-height: 44px; padding: 0 24px; font-size: 12px; }
  .link-arrow { font-size: 14px; }
  .section-intro { max-width: 66ch; }
  .amenity { font-size: 15px; padding: 18px 20px; }
  .photo-stack { padding: 0 0 64px 64px; }
  .card-body { padding: 28px 30px 32px; gap: 12px; }
  .card-body h3 { font-size: 27px; }
  .card-body p { font-size: 16.5px; }
  .card-wide .card-media { min-height: 380px; }
  .experience-grid > .card:first-child .card-media { min-height: 460px; }
  .facilities-note { font-size: 16px; padding: 20px 22px; }
  .quote-band blockquote { max-width: 1040px; }
  .quote-band p { font-size: clamp(40px, 2.8vw, 60px); }
  .gallery { grid-auto-rows: clamp(210px, 12.5vw, 340px); gap: 16px; }
  .gallery-item span { font-size: 16px; }
  .logbook-strip { gap: 20px; }
  .logbook-strip figcaption { font-size: 14.5px; }
  .spec dd { font-size: 19px; }
  .spec dt { font-size: 13px; }
  .income-item strong { font-size: 34px; }
  .quarters-head h3 { font-size: 30px; }
  .quarters-grid { gap: 20px; }
  .faq summary { font-size: 21px; padding: 20px 24px; }
  .faq-body { font-size: 16.5px; padding: 0 24px 24px; }
  .contact-card, .panel, .contact-panel { padding: 36px 38px 38px; }
  .contact-card h3, .contact-panel h3 { font-size: 28px; }
  .footer-grid p { max-width: 44ch; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .site-nav { gap: 20px; }
}

@media (max-width: 960px) {
  .split, .sale .split { grid-template-columns: 1fr; gap: 40px; }
  .split .photo-stack { order: -1; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-grid > .card:first-child { grid-row: auto; }
  .experience-grid > .card:first-child .card-media { aspect-ratio: 3 / 2; min-height: 0; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-aside { position: static; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 180px; }
  .logbook-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid, .practical-grid, .footer-grid { grid-template-columns: 1fr; }
  .quarters-grid, .income { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  :root { --header-h: 68px; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px;
    padding: 28px var(--gutter) 40px;
    background: var(--canal-950);
    transform: translateX(100%); visibility: hidden;
    transition: transform var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base);
    overflow-y: auto;
  }
  .menu-open .site-nav { transform: none; visibility: visible; transition: transform var(--dur-base) var(--ease-out); }
  .site-nav a { font-family: var(--font-display); font-size: 28px; letter-spacing: 0.02em; text-transform: none; padding: 10px 0; color: var(--cream-50); }
  .site-nav a::after { display: none; }
  .site-nav .nav-cta { display: inline-flex; margin-top: 18px; font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; padding: 0 24px; }
  .menu-toggle { display: inline-flex; }
  .header-actions { gap: 10px; }
  .header-actions .btn { display: none; }
  .wordmark-name { font-size: 19px; }
  .hero { padding-bottom: 48px; }
  .hero-media { object-position: 58% 50%; }
}

@media (max-width: 640px) {
  .card-grid, .card-grid.two, .cabin-grid, .quarters-grid, .income { grid-template-columns: 1fr; }
  .card-wide, .card-row { flex-direction: column; }
  .card-wide .card-media, .card-row .card-media { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .card-wide .card-body { padding: 22px 24px 26px; }
  .hero-foot { justify-content: flex-start; }
  .amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .gallery-item.feature { grid-column: span 2; grid-row: span 2; }
  .logbook-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .photo-stack { padding: 0 0 40px 28px; }
  .photo-stack .inset { width: 48%; }
  .contact-card, .panel { padding: 24px 22px 26px; }
  .spec { grid-template-columns: 1fr; gap: 4px; }
  .hero-facts { gap: 10px 18px; }
  .btn { padding: 0 22px; }
  .hero-actions .btn { flex: 1 1 auto; }
}
