/* Homepage (index.html and its /en/ /es/ /fr/ copies). Self-contained: the
   homepage does not load css/style.css, and no other page loads this file.
   Palette: marès limestone, Mediterranean sea, terracotta, olive.
   Every texture is an inline SVG data URI: no extra requests, no bitmaps.
   Dark mode follows the site's rule: system dark unless the visitor chose
   light, or an explicit [data-theme="dark"] set by js/theme-init.js. */

:root {
  --sand: #f5ecdf;
  --sand-deep: #eadcc6;
  --paper: #fcf8f1;
  --card: #fffdf9;
  --ink: #1f2a30;
  --ink-soft: #55626a;
  --sea: #0f4a5a;
  --sea-deep: #0a3440;
  --sea-ink: #0f4a5a;
  --sun: #b4532a;          /* button fill, white text 5.0:1 */
  --sun-hover: #97441f;
  --sun-ink: #9a4622;      /* text on paper 5.6:1 */
  --olive: #5f6b3a;
  --on-dark-accent: #ffd6bf;
  --line: rgba(31, 42, 48, 0.13);
  --shadow: 0 22px 44px -24px rgba(15, 40, 50, 0.45);
  --shadow-sm: 0 8px 20px -12px rgba(15, 40, 50, 0.4);
  --radius: 18px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --texture-strength: 1;
  --wave-fill: #f0e8de; /* paper after the grain overlay has been multiplied in */

  /* Paper grain: fractal noise, warm brown, tiled. */
  --tex-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .22 0 0 0 0 .12 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* Marès: the soft Mallorcan sandstone of the facade - cloudy patches plus pores. */
  --tex-mares: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.011' numOctaves='4' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .62 0 0 0 0 .46 0 0 0 0 .27 1.1 0 0 0 -.48'/%3E%3C/filter%3E%3Cfilter id='p'%3E%3CfeTurbulence type='turbulence' baseFrequency='.55' numOctaves='1' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .33 0 0 0 0 .2 7 0 0 0 -4.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)' opacity='.45'/%3E%3Crect width='100%25' height='100%25' filter='url(%23p)' opacity='.5'/%3E%3C/svg%3E");
  /* Rajola: a Mallorcan hydraulic floor tile. */
  --tex-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Crect width='48' height='48' fill='%23efe2cc'/%3E%3Cg fill='%230f4a5a'%3E%3Ccircle r='9'/%3E%3Ccircle cx='48' r='9'/%3E%3Ccircle cy='48' r='9'/%3E%3Ccircle cx='48' cy='48' r='9'/%3E%3C/g%3E%3Cg fill='%23efe2cc'%3E%3Ccircle r='4'/%3E%3Ccircle cx='48' r='4'/%3E%3Ccircle cy='48' r='4'/%3E%3Ccircle cx='48' cy='48' r='4'/%3E%3C/g%3E%3Cg fill='%23b4532a'%3E%3Cpath id='l' d='M24 5c6 7 6 13 0 19-6-6-6-12 0-19Z'/%3E%3Cuse href='%23l' transform='rotate(90 24 24)'/%3E%3Cuse href='%23l' transform='rotate(180 24 24)'/%3E%3Cuse href='%23l' transform='rotate(270 24 24)'/%3E%3C/g%3E%3Cg fill='%235f6b3a'%3E%3Cpath id='d' d='M24 24l7-3 3 3-3 3Z' transform='rotate(45 24 24)'/%3E%3Cuse href='%23d' transform='rotate(90 24 24)'/%3E%3Cuse href='%23d' transform='rotate(180 24 24)'/%3E%3Cuse href='%23d' transform='rotate(270 24 24)'/%3E%3C/g%3E%3Ccircle cx='24' cy='24' r='3' fill='%23efe2cc'/%3E%3Cpath d='M.5.5h47v47H.5Z' fill='none' stroke='%23000' stroke-opacity='.08'/%3E%3C/svg%3E");
  /* Cenefa: the border tile laid along the edge of a rajola floor - one row, closed top and bottom,
     drawn at its display size (44px) so nothing is resampled. */
  --tex-frieze: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='44'%20height='44'%3E%3Crect%20width='44'%20height='44'%20fill='%23efe2cc'/%3E%3Cpath%20d='M0%201.5H44M0%2042.5H44'%20stroke='%230f4a5a'%20stroke-width='3'/%3E%3Cpath%20d='M0%205.5H44M0%2038.5H44'%20stroke='%230f4a5a'%20stroke-width='1'%20stroke-opacity='.55'/%3E%3Cg%20fill='%230f4a5a'%3E%3Ccircle%20cy='22'%20r='5'/%3E%3Ccircle%20cx='44'%20cy='22'%20r='5'/%3E%3C/g%3E%3Cg%20fill='%23efe2cc'%3E%3Ccircle%20cy='22'%20r='2'/%3E%3Ccircle%20cx='44'%20cy='22'%20r='2'/%3E%3C/g%3E%3Cg%20fill='%23b4532a'%3E%3Cpath%20id='p'%20d='M22%208.5c4.2%204.6%204.2%208.8%200%2013.5-4.2-4.7-4.2-8.9%200-13.5Z'/%3E%3Cuse%20href='%23p'%20transform='rotate%2890%2022%2022%29'/%3E%3Cuse%20href='%23p'%20transform='rotate%28180%2022%2022%29'/%3E%3Cuse%20href='%23p'%20transform='rotate%28270%2022%2022%29'/%3E%3C/g%3E%3Cg%20fill='%235f6b3a'%3E%3Cpath%20id='l'%20d='M22%2022l5.5-2.2%202.2%202.2-2.2%202.2Z'%20transform='rotate%2845%2022%2022%29'/%3E%3Cuse%20href='%23l'%20transform='rotate%2890%2022%2022%29'/%3E%3Cuse%20href='%23l'%20transform='rotate%28180%2022%2022%29'/%3E%3Cuse%20href='%23l'%20transform='rotate%28270%2022%2022%29'/%3E%3C/g%3E%3Ccircle%20cx='22'%20cy='22'%20r='2.4'%20fill='%23efe2cc'/%3E%3C/svg%3E");
  --tex-frieze-dark: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='44'%20height='44'%3E%3Crect%20width='44'%20height='44'%20fill='%23123039'/%3E%3Cpath%20d='M0%201.5H44M0%2042.5H44'%20stroke='%23c9a878'%20stroke-width='3'/%3E%3Cpath%20d='M0%205.5H44M0%2038.5H44'%20stroke='%23c9a878'%20stroke-width='1'%20stroke-opacity='.55'/%3E%3Cg%20fill='%23c9a878'%3E%3Ccircle%20cy='22'%20r='5'/%3E%3Ccircle%20cx='44'%20cy='22'%20r='5'/%3E%3C/g%3E%3Cg%20fill='%23123039'%3E%3Ccircle%20cy='22'%20r='2'/%3E%3Ccircle%20cx='44'%20cy='22'%20r='2'/%3E%3C/g%3E%3Cg%20fill='%23cf6c40'%3E%3Cpath%20id='p'%20d='M22%208.5c4.2%204.6%204.2%208.8%200%2013.5-4.2-4.7-4.2-8.9%200-13.5Z'/%3E%3Cuse%20href='%23p'%20transform='rotate%2890%2022%2022%29'/%3E%3Cuse%20href='%23p'%20transform='rotate%28180%2022%2022%29'/%3E%3Cuse%20href='%23p'%20transform='rotate%28270%2022%2022%29'/%3E%3C/g%3E%3Cg%20fill='%239aa35f'%3E%3Cpath%20id='l'%20d='M22%2022l5.5-2.2%202.2%202.2-2.2%202.2Z'%20transform='rotate%2845%2022%2022%29'/%3E%3Cuse%20href='%23l'%20transform='rotate%2890%2022%2022%29'/%3E%3Cuse%20href='%23l'%20transform='rotate%28180%2022%2022%29'/%3E%3Cuse%20href='%23l'%20transform='rotate%28270%2022%2022%29'/%3E%3C/g%3E%3Ccircle%20cx='22'%20cy='22'%20r='2.4'%20fill='%23123039'/%3E%3C/svg%3E");
  /* The key-pattern mosaic that edges the pool in the hero photograph. */
  --tex-meander: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cg fill='none' stroke='%230f4a5a' stroke-width='2.2' stroke-linecap='square'%3E%3Cpath d='M0 3H28M0 25H28'/%3E%3Cpath d='M4 25V8H22V20H10V13H16'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --sand: #1b2327;
    --sand-deep: #232d32;
    --paper: #13191c;
    --card: #1a2226;
    --ink: #eef1f2;
    --ink-soft: #aab6bc;
    --sea-ink: #7cc3d4;
    --sun-ink: #f0a57f;
    --line: rgba(255, 255, 255, 0.12);
    --shadow: 0 22px 44px -24px rgba(0, 0, 0, 0.85);
    --shadow-sm: 0 8px 20px -12px rgba(0, 0, 0, 0.8);
    --texture-strength: .35;
    --wave-fill: var(--paper);
    color-scheme: dark; }
}
:root[data-theme="dark"] { --sand: #1b2327;
    --sand-deep: #232d32;
    --paper: #13191c;
    --card: #1a2226;
    --ink: #eef1f2;
    --ink-soft: #aab6bc;
    --sea-ink: #7cc3d4;
    --sun-ink: #f0a57f;
    --line: rgba(255, 255, 255, 0.12);
    --shadow: 0 22px 44px -24px rgba(0, 0, 0, 0.85);
    --shadow-sm: 0 8px 20px -12px rgba(0, 0, 0, 0.8);
    --texture-strength: .35;
    --wave-fill: var(--paper);
    color-scheme: dark; }

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: var(--sea-ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
::selection { background: var(--sun); color: #fff; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.22em; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--sun); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.proposal-banner { position: relative; z-index: 51; background: var(--sea-deep); color: #e8f1f3; font-size: 13px; text-align: center; padding: 6px 16px; }
.proposal-banner a { color: var(--on-dark-accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--sun-ink); margin-bottom: 1em;
}
.section-head .eyebrow::before, .section-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }

/* ---------- 3D tour teaser, right under the hero ---------- */
.hero-tour { margin: 1.1em 0 0; font-size: 15px; font-weight: 500; }
.hero-tour a { display: inline-block; padding: 7px 0; color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; text-shadow: 0 1px 12px rgba(0, 0, 0, .55); }
.hero-tour a::after { content: " →"; }
.hero-tour a:hover { color: var(--on-dark-accent); }
.tour-teaser { padding: clamp(48px, 7vw, 96px) 0; }
.tour-teaser-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.tour-teaser-media { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sea-deep); }
.tour-teaser-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .1, 1); }
.tour-teaser-media:hover img { transform: scale(1.04); }
.tour-teaser-play { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: .55em; padding: .55em 1.1em .55em .8em; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #1f2a30; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-sm); }
.tour-teaser-play .ico { color: var(--sun-ink); }
.tour-teaser-text h2 { margin-bottom: .4em; }
.tour-teaser-lead { color: var(--ink-soft); font-size: 1.12rem; line-height: 1.6; margin: 0 0 1.1em; }
.tour-teaser-points { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 1.6em; padding: 0; }
.tour-teaser-points li { font-size: 14px; font-weight: 500; padding: .35em .95em; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
@media (max-width: 860px) {
  .tour-teaser-grid { grid-template-columns: 1fr; }
  .tour-teaser-lead { font-size: 1.05rem; }
}

/* ---------- Textures ---------- */
.paper { position: relative; background-color: var(--paper); isolation: isolate; }
.paper::before, .mares::before, .grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
}
.paper::before { background-image: var(--tex-grain); opacity: calc(.28 * var(--texture-strength)); mix-blend-mode: multiply; }
.mares { position: relative; background-color: var(--sand); isolation: isolate; }
.mares::before { background-image: var(--tex-mares), var(--tex-grain); opacity: calc(.9 * var(--texture-strength)); mix-blend-mode: multiply; }
.grain { isolation: isolate; }
.grain::after { z-index: 3; background-image: var(--tex-grain); opacity: .22; mix-blend-mode: overlay; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .paper::before, :root:not([data-theme="light"]) .mares::before { mix-blend-mode: screen; }
}
:root[data-theme="dark"] .paper::before, :root[data-theme="dark"] .mares::before { mix-blend-mode: screen; }

.band { height: 44px; background-image: var(--tex-frieze); background-size: 44px 44px; background-repeat: repeat-x; background-position: center top; }
.band-meander { height: 26px; background-color: #eef4f3; background-image: var(--tex-meander); background-size: 26px 26px; background-repeat: repeat-x; }
/* Dark surfaces get their own glaze rather than a brightness filter, which only turned the cream grey. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .band-tiles { background-image: var(--tex-frieze-dark); }
}
:root[data-theme="dark"] .band-tiles { background-image: var(--tex-frieze-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.7em; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: .01em;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background .25s, transform .25s, box-shadow .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid #f0a57f; outline-offset: 3px; }
.btn-sun { background: var(--sun); color: #fff; }
.btn-sun:hover { background: var(--sun-hover); }
.btn-sea { background: var(--sea); color: #fff; }
.btn-sea:hover { background: var(--sea-deep); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: 70px;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .35s, border-color .35s, color .35s;
}
/* Over the hero the bar is transparent and white; js adds .at-top. */
.nav.at-top { background: transparent; backdrop-filter: none; border-color: transparent; }
.nav.at-top .brand, .nav.at-top .nav-links a, .nav.at-top .nav-toggle { color: #fff; }
.nav.at-top .brand img { filter: drop-shadow(0 1px 6px rgba(0,0,0,.4)); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; white-space: nowrap; font-family: var(--serif); font-size: 1.4rem; color: var(--ink); text-decoration: none; margin: 0; transition: color .35s; }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 4px 0; white-space: nowrap; transition: color .35s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { padding: .6em 1.3em; }
.nav-toggle { display: none; }

/* 1180, not 900: the menu carries seven items since the site became homepage +
   detail pages, and in French they overflowed the bar up to ~1100px. */
@media (max-width: 1180px) {
  .nav-cta { display: none; }
  .nav-toggle {
    display: grid; gap: 6px; margin-left: auto; width: 44px; height: 44px; place-content: center;
    background: none; border: 0; color: var(--ink); cursor: pointer;
  }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .25s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav nav { position: absolute; inset: 70px 0 auto 0; margin: 0; }
  .nav-links {
    display: none; flex-direction: column; gap: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav.at-top .nav-links.open a { color: var(--ink); }
  .nav-links a { display: block; padding: 13px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100vh, 940px); margin-top: -71px;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: drift 26s ease-out both; }
@keyframes drift { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 30, 38, .55) 0%, rgba(8, 30, 38, 0) 22%),
    linear-gradient(90deg, rgba(8, 30, 38, .6) 0%, rgba(8, 30, 38, 0) 62%),
    /* the third headline line runs onto the bright stone facade: a soft pool of shade right behind it */
    radial-gradient(ellipse 60% 32% at 38% 41%, rgba(8, 30, 38, .6) 0%, rgba(8, 30, 38, 0) 100%),
    linear-gradient(180deg, rgba(8, 30, 38, 0) 45%, rgba(8, 30, 38, .9) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 150px; }
/* The small type over the photo needs help where the facade is bright. */
.hero .eyebrow, .hero-lead { text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
/* On a phone the text spans the full width, past the reach of the side shade. */
@media (max-width: 640px) {
  .hero-shade { background: linear-gradient(180deg, rgba(8, 30, 38, .6) 0%, rgba(8, 30, 38, .38) 32%, rgba(8, 30, 38, .55) 62%, rgba(8, 30, 38, .92) 100%); }
}
/* Phones held sideways (844 x 390): the full-height hero left only the
   headline in view. Let the content set the height instead. */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 0; }
  .hero-content { padding-top: 96px; }
  .hero h1 { font-size: 2.3rem; }
}
.hero .eyebrow { color: var(--on-dark-accent); }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 5rem); margin-bottom: .4em; text-shadow: 0 2px 30px rgba(0, 0, 0, .3); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > * { display: inline-block; }
.hero h1 em { font-style: italic; color: var(--on-dark-accent); text-shadow: 0 1px 3px rgba(0, 0, 0, .5), 0 2px 28px rgba(0, 0, 0, .55); }
.js .hero h1 .line > * { animation: rise 1s cubic-bezier(.2, .7, .1, 1) both; }
.js .hero h1 .line:nth-child(2) > * { animation-delay: .12s; }
.js .hero h1 .line:nth-child(3) > * { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 40ch; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8em; }

.seal { position: absolute; z-index: 2; right: max(16px, calc((100vw - 1180px) / 2)); top: 34%; width: 150px; height: 150px; color: #fff; border-radius: 50%; background: rgba(10, 52, 64, .55); backdrop-filter: blur(6px); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.seal > svg:first-child { padding: 4px; }
.seal > svg:first-child { width: 100%; height: 100%; animation: spin 40s linear infinite; }
.seal text { font: 600 8.5px/1 var(--sans); letter-spacing: .14em; fill: currentColor; }
.seal-sun { position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; fill: none; stroke: var(--on-dark-accent); stroke-width: 1.6; }
.seal::before { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .seal { display: none; } }

.facts {
  position: relative; z-index: 2; list-style: none; padding: 0; margin: 64px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .3);
}
.facts li { padding: 22px 0 30px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.facts li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .2); }
.facts .ico { grid-row: span 2; width: 34px; height: 34px; stroke-width: 1.3; color: var(--on-dark-accent); }
.facts strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.1; }
.facts span { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .facts li + li { padding-left: 0; border-left: 0; }
  .facts li:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .2); }
  .facts li { padding: 14px 0; }
  .facts .ico { width: 26px; height: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-img, .seal > svg:first-child, .js .hero h1 .line > * { animation: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 136px) 0; }
.section-head { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.section-head p:last-child { color: var(--ink-soft); font-size: 1.1rem; }

/* Scroll reveal: only hides anything once js has confirmed it will un-hide it. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .1, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .units .reveal:nth-child(2) { transition-delay: .1s; }
.js .units .reveal:nth-child(3) { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Intro ---------- */
.intro { padding-bottom: 0; }
.intro-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 7vw, 96px); align-items: center; }
.intro-text p.dropcap { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.7; }
.dropcap::first-letter {
  float: left; font-family: var(--serif); font-size: 4.6em; line-height: .82; padding: .06em .1em 0 0; color: var(--sun-ink);
}
.pull { margin: 0; padding: 8px 0 8px 32px; border-left: 2px solid var(--sun); }
.pull p { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.4; margin: 0; }
.olive { color: var(--olive); display: block; width: 180px; height: 66px; margin: 0 0 12px -8px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .olive { color: #a9b57a; }
}
:root[data-theme="dark"] .olive { color: #a9b57a; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Units ---------- */
.units { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 26px; align-items: stretch; }
@media (max-width: 980px) { .units { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.unit {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .4s, box-shadow .4s;
}
.unit:hover { transform: translateY(-4px); }
.unit-media { position: relative; padding: 14px 14px 0; }
/* The Mediterranean arch: round-topped windows and doorways. */
.unit-media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 50% 50% 10px 10px / 30% 30% 10px 10px; }
.unit-body { padding: 22px 26px 0; display: flex; flex-direction: column; flex: 1; }
.unit-body h3 { margin-bottom: .25em; }
.unit-guests { display: flex; align-items: center; gap: .5em; color: var(--ink-soft); font-size: 15px; }
.unit ul { list-style: none; padding: 0; margin: 0 0 1.4em; }
.unit li { padding: 6px 0 6px 26px; position: relative; font-size: 15.5px; }
.unit li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 6px; border-left: 2px solid var(--sun-ink); border-bottom: 2px solid var(--sun-ink); transform: rotate(-45deg); }
/* Price as a tear-off ticket: dashed perforation, notches cut into the card edge. */
.ticket { position: relative; margin: auto -26px 0; padding: 20px 26px 24px; border-top: 2px dashed var(--line); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); }
.ticket::before { left: -12px; clip-path: inset(0 0 0 50%); }
.ticket::after { right: -12px; clip-path: inset(0 50% 0 0); }
.unit-price { margin: 0; font-size: 15px; color: var(--ink-soft); }
.unit-price strong { font-family: var(--serif); font-weight: 500; font-size: 2.1rem; color: var(--ink); }
.unit-week { font-size: 14px; color: var(--ink-soft); margin: 0; }
.unit-featured { border: 2px solid var(--sun); }
.tag { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); margin: 0; white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: .06em; background: var(--sun); color: #fff; padding: 5px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.unit-featured .unit-body { padding-top: 30px; }

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 7vw, 96px); align-items: center; margin-bottom: clamp(72px, 10vw, 120px); }
.story-flip .story-img { order: 2; }
.story-img { position: relative; margin: 0 0 40px; }
.story-img .main { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
/* A detail shot pinned over the corner like a print on a pinboard. */
.story-img .detail {
  position: absolute; right: -22px; bottom: -40px; width: 34%; aspect-ratio: 1; object-fit: cover;
  border: 8px solid var(--card); border-radius: 6px; box-shadow: var(--shadow); transform: rotate(3deg);
}
.story-flip .story-img .detail { right: auto; left: -22px; transform: rotate(-3deg); }
.story-img figcaption { font-family: var(--serif); font-style: italic; color: var(--ink-soft); margin-top: 14px; max-width: 60%; }
.story-flip .story-img figcaption { margin-left: auto; text-align: right; }
.story-num { font-family: var(--serif); font-size: 4rem; line-height: 1; color: var(--sun-ink); opacity: .5; margin-bottom: .1em; }
.story-text > p:not(.story-num) { color: var(--ink-soft); font-size: 1.05rem; }
.mini { list-style: none; padding: 0; margin: 1.2em 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.mini li { display: flex; align-items: center; gap: .5em; font-weight: 500; color: var(--sea-ink); }
@media (max-width: 820px) {
  .story { grid-template-columns: 1fr; }
  .story-flip .story-img { order: 0; }
  .story-img .detail { right: 10px; width: 38%; }
  .story-flip .story-img .detail { left: 10px; }
}

.amenities { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.amenities li { padding: 8px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 15px; box-shadow: 0 1px 0 rgba(0,0,0,.03); }

/* ---------- A day ---------- */
.day-track { position: relative; padding-top: 150px; }
.sun-arc { position: absolute; top: 0; left: 0; width: 100%; height: 170px; overflow: visible; }
.sun-arc path { fill: none; stroke: var(--sun-ink); stroke-width: 1.5; stroke-dasharray: 2 8; stroke-linecap: round; opacity: .6; vector-effect: non-scaling-stroke; }
.sun-dot {
  position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  background: radial-gradient(circle, #f6c28b 0 38%, rgba(246, 194, 139, .35) 39% 60%, transparent 61%);
  left: 4%; top: 94%; transition: left .15s linear, top .15s linear;
}
.day-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: d; }
.day-list li { position: relative; padding-top: 22px; border-top: 1px solid var(--line); }
.day-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); color: var(--sun-ink); margin: -48px 0 14px; box-shadow: var(--shadow-sm); }
.day-icon .ico { width: 26px; height: 26px; }
.day-time { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sea-ink); margin-bottom: .3em; }
.day-list h3 { font-size: 1.35rem; }
.day-list p:last-child { color: var(--ink-soft); font-size: 15.5px; }
@media (max-width: 860px) {
  .day-track { padding-top: 0; }
  .sun-arc, .sun-dot { display: none; }
  .day-list { grid-template-columns: 1fr 1fr; row-gap: 56px; padding-top: 30px; }
}
@media (max-width: 520px) { .day-list { grid-template-columns: 1fr; } }

/* ---------- Mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; margin-bottom: 40px; }
.mosaic a { position: relative; display: block; overflow: hidden; border-radius: 12px; cursor: zoom-in; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .1, 1); }
.mosaic a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 30, 38, .75)); opacity: 0; transition: opacity .4s; }
.mosaic span { position: absolute; z-index: 1; left: 12px; bottom: 10px; padding: 2px 10px; border-radius: 6px; background: rgba(8, 30, 38, .96); color: #fff; font-family: var(--serif); font-style: italic; font-size: 1.1rem; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.mosaic a:hover img, .mosaic a:focus-visible img { transform: scale(1.06); }
.mosaic a:hover::after, .mosaic a:hover span, .mosaic a:focus-visible::after, .mosaic a:focus-visible span { opacity: 1; transform: none; }
.m-big { grid-column: span 2; grid-row: span 2; }
.m-wide { grid-column: span 2; }
@media (hover: none) { .mosaic a::after, .mosaic span { opacity: 1; transform: none; } }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; }
.link-arrow .ico { transition: transform .3s; }
.link-arrow:hover .ico { transform: translateX(4px); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(6, 18, 22, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 82vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-caption { position: absolute; bottom: 3vh; left: 0; right: 0; text-align: center; color: #e8eef0; font-family: var(--serif); font-style: italic; font-size: 1.15rem; margin: 0; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Lage ---------- */
.section-sea { position: relative; background: var(--sea); color: #eaf3f5; padding-block: clamp(120px, 13vw, 176px); }
.section-sea .eyebrow { color: var(--on-dark-accent); }
.section-sea a:not(.btn) { color: var(--on-dark-accent); }
.wave-top, .wave-bottom { position: absolute; left: 0; width: 100%; height: 60px; fill: var(--wave-fill, var(--paper)); z-index: 1; }
.wave-top { top: -1px; }
.wave-bottom { bottom: -1px; }
.lage { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.lage-list { list-style: none; padding: 0; margin: 1.5em 0 2em; }
.lage-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.lage-list li > span:first-child { display: flex; gap: .7em; align-items: center; }
.lage-list .ico { color: var(--on-dark-accent); }
.lage-list li > span:last-child { opacity: .85; text-align: right; }

.island { margin: 0; }
.island svg { width: 100%; height: auto; overflow: visible; }
.island .land { fill: #f3e6cf; stroke: #fff; stroke-width: 1.5; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .3)); }
.island .mountains { fill: none; stroke: #b9a585; stroke-width: 1.3; stroke-linejoin: round; }
.island .sea-lines path { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1.2; }
.island .place circle { fill: var(--sea); }
.island text { font: 500 11px var(--sans); fill: var(--sea-deep); }
.island .route { fill: none; stroke: var(--sun); stroke-width: 1.6; stroke-dasharray: 3 4; }
.island .home circle { fill: var(--sun); }
.island .home text { font: 600 13px var(--serif); fill: var(--sea-deep); }
.island .home text.sub { font: 500 10px var(--sans); letter-spacing: .08em; fill: #6a5a40; }
.island .pulse { fill: var(--sun); opacity: .5; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(.8); opacity: .6; } to { transform: scale(3.2); opacity: 0; } }
.island .compass circle { fill: none; stroke: rgba(255,255,255,.4); }
.island .compass path { fill: var(--on-dark-accent); }
.island .compass text { fill: #fff; font-size: 10px; }
.island figcaption { font-size: 12.5px; opacity: .7; text-align: center; margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .island .pulse { animation: none; } }
@media (max-width: 860px) { .lage { grid-template-columns: 1fr; } }

/* ---------- Prices ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.prices { width: 100%; border-collapse: collapse; min-width: 600px; font-size: 16px; }
.prices th, .prices td { padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--line); }
.prices thead th { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; background: var(--sand); vertical-align: bottom; }
.prices small { display: block; font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--ink-soft); }
.prices tbody th { font-weight: 500; color: var(--ink-soft); }
.prices td { font-variant-numeric: tabular-nums; font-weight: 600; }
.prices tr:last-child > * { border-bottom: 0; }
.prices tbody tr { transition: background .2s; }
.prices tbody tr:hover { background: color-mix(in srgb, var(--sand) 60%, transparent); }
/* On a phone the three units must be side by side without scrolling: narrower cells, smaller type, labels that wrap.
   This block has to come after the base rules above: it has the same specificity, so the later padding would win. */
@media (max-width: 640px) {
  .prices { min-width: 0; font-size: 14px; table-layout: fixed; }
  .prices th, .prices td { padding: 12px 6px; }
  .prices thead th { font-size: clamp(.74rem, 3.3vw, 1rem); line-height: 1.2; hyphens: none; overflow-wrap: normal; vertical-align: bottom; }
  .prices thead th:first-child, .prices tbody th { width: 27%; }
  .prices tbody th { hyphens: auto; }
  .prices td { white-space: nowrap; }
  .prices small { font-size: 11.5px; line-height: 1.25; }
  .row-hl td { font-size: 1rem; }
}
@media (max-width: 359px) {
  .prices thead th { font-size: .7rem; }
  .prices small { font-size: 10.5px; }
  .prices th, .prices td { padding-inline: 4px; }
  .prices thead th:first-child, .prices tbody th { width: 24%; }
  .prices td { font-size: 13px; }
  .row-hl td { font-size: .94rem; }
}
.row-hl { background: color-mix(in srgb, var(--sun) 10%, transparent); }
.row-hl th { color: var(--ink) !important; }
.row-hl td { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }

/* ---------- Planner: availability, indicative price, prepared e-mail ---------- */
.plan { margin-top: 32px; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius); background: var(--sand) var(--tex-mares); background-size: 520px; border: 1px solid var(--line); }
.plan-head { display: flex; gap: 18px 22px; align-items: center; margin-bottom: 26px; }
.plan-head h3 { margin-bottom: .2em; }
.plan-head p { margin: 0; color: var(--ink-soft); max-width: 62ch; }
.cal-ico { width: 48px; height: 48px; flex: none; color: var(--sun-ink); stroke-width: 1.3; }
@media (max-width: 560px) { .cal-ico { display: none; } }
.plan-body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(22px, 3vw, 40px); align-items: start; }
.plan-cal, .plan-form { background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) - 4px); padding: clamp(16px, 2vw, 24px); position: relative; }
.plan-label { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sea-ink); }
.plan-free { margin-bottom: 18px; }
.plan-free-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.plan-free-item { font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; min-height: 40px; cursor: pointer; transition: border-color .2s, background .2s; }
/* the smallest phones: seven columns of 38 px do not fit, so the days give up their square shape */
@media (max-width: 359px) { .plan-day { aspect-ratio: auto; min-height: 36px; font-size: 14px; } }
.plan-for { margin: 0 0 .7em; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.plan-free-item small { display: block; font-size: 12.5px; font-weight: 400; color: var(--ink-soft); line-height: 1.25; }
.plan-free-item:hover { border-color: var(--sea-ink); }
.plan-nav { position: absolute; top: clamp(16px, 2vw, 24px); right: clamp(16px, 2vw, 24px); display: flex; gap: 6px; z-index: 1; }
.plan-free:not([hidden]) ~ .plan-nav { position: static; justify-content: flex-end; margin: -6px 0 6px; }
.plan-prev, .plan-next { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.plan-prev:hover:not(:disabled), .plan-next:hover:not(:disabled) { border-color: var(--sea-ink); }
.plan-prev:disabled, .plan-next:disabled { opacity: .4; cursor: default; }
.plan-months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px clamp(18px, 3vw, 36px); min-height: 280px; }
@media (max-width: 979px) { .plan-body { grid-template-columns: 1fr; } .plan-months { grid-template-columns: 1fr; min-height: 0; } }
.plan-month-title { margin: 0 0 8px; font-family: var(--serif); font-size: 1.25rem; }
.plan-month-title::first-letter { text-transform: uppercase; }
.plan-weekdays, .plan-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.plan-weekdays span { text-align: center; font-size: 12px; font-weight: 600; color: var(--ink-soft); padding-bottom: 4px; text-transform: uppercase; }
.plan-day { font: inherit; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; aspect-ratio: 1; min-height: 38px; border: 1px solid transparent; border-radius: 10px; background: color-mix(in srgb, var(--sea) 9%, var(--card)); color: var(--ink); cursor: pointer; padding: 0; transition: background .15s, border-color .15s; }
.plan-day:hover:not([aria-disabled="true"]) { border-color: var(--sea-ink); }
.plan-day[aria-disabled="true"] { cursor: default; }
.plan-day.is-past { background: transparent; color: var(--ink-soft); }
.plan-day.is-busy { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--sun) 24%, var(--card)) 0 5px, color-mix(in srgb, var(--sun) 12%, var(--card)) 5px 10px); color: var(--ink); }
.plan-day.is-busy.is-reachable { cursor: pointer; border-color: var(--sea-ink); }
.plan-day.is-today { box-shadow: inset 0 0 0 1.5px var(--ink-soft); }
.plan-day.is-range { background: color-mix(in srgb, var(--sea) 30%, var(--card)); border-radius: 0; }
.plan-day.is-arrival, .plan-day.is-departure { background: var(--sea); color: #fff; border-color: var(--sea); }
.plan-day.is-reachable:not(.is-busy) { border-color: color-mix(in srgb, var(--sea-ink) 55%, transparent); }
.plan-day:focus-visible, .plan-free-item:focus-visible, .plan-prev:focus-visible, .plan-next:focus-visible, .plan-reset:focus-visible { outline: 3px solid var(--sea-ink); outline-offset: 2px; }
.plan-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 16px 0 0; padding: 0; font-size: 13px; color: var(--ink-soft); }
.plan-legend li { display: inline-flex; align-items: center; gap: 7px; }
.plan-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.lg-free { background: color-mix(in srgb, var(--sea) 9%, var(--card)); border: 1px solid var(--line); }
.lg-busy { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--sun) 24%, var(--card)) 0 4px, color-mix(in srgb, var(--sun) 12%, var(--card)) 4px 8px); }
.lg-pick { background: var(--sea); }
.plan-status { margin: 14px 0 0; font-weight: 600; min-height: 1.5em; }
.plan-status.is-notice { padding: 10px 14px; border-left: 4px solid var(--sun); border-radius: 8px; background: color-mix(in srgb, var(--sun) 12%, var(--card, var(--paper))); }
.plan-reset { font: inherit; font-size: 14px; color: var(--sea-ink); background: none; border: 0; padding: 10px 0; min-height: 40px; margin-top: 2px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 32px; }
.plan-hint { margin: 10px 0 0; font-size: 13.5px; color: var(--ink-soft); }
.plan-form { display: grid; gap: 16px; }
.plan-units { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.plan-units legend, .plan-guests-label > span { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sea-ink); padding: 0; margin-bottom: 8px; }
.plan-units label { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; font-weight: 500; min-height: 44px; }
.plan-units label:has(input:checked) { border-color: var(--sea-ink); box-shadow: inset 0 0 0 1px var(--sea-ink); }
.plan-units input { accent-color: var(--sea); width: 18px; height: 18px; }
.plan-guests-label { display: grid; gap: 0; }
.plan-guests { font: inherit; font-size: 16px; padding: 10px 12px; min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.plan-sum { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; font-size: 14.5px; }
.plan-sum dt { color: var(--ink-soft); }
.plan-sum dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.plan-sum .is-total { color: var(--ink); font-family: var(--serif); font-size: 1.3rem; font-weight: 500; padding-top: 8px; border-top: 1px solid var(--line); }
.plan-fine, .plan-empty { margin: 8px 0 0; font-size: 13.5px; color: var(--ink-soft); }
.plan-empty { margin: 0; }
.plan-result:not(:empty) ~ .plan-empty { display: none; }
.plan-tip { margin: 10px 0 0; padding: 10px 12px; font-size: 14px; border-radius: 10px; background: color-mix(in srgb, var(--sea) 8%, var(--card)); }
.plan-tip-take { font: inherit; font-size: 14px; font-weight: 600; color: var(--sea-ink); background: none; border: 0; padding: 10px 0; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 32px; }
.plan-warn { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--ink); padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--sun) 16%, var(--card)); }
.plan-mail { justify-self: stretch; text-align: center; }
.plan-full { justify-self: start; font-size: 14.5px; color: var(--sea-ink); text-underline-offset: 3px; padding: 8px 0; display: inline-block; }
.plan.is-error .plan-months, .plan.is-error .plan-nav, .plan.is-error .plan-legend, .plan.is-error .plan-hint, .plan.is-error .plan-empty { display: none; }

.intro-reviews { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 8px; padding-top: 28px; border-top: 1px solid var(--line); }
.intro-reviews-lead { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.intro-reviews-list { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; margin: 0; padding: 0; }
.intro-reviews-list li { display: inline-flex; align-items: center; gap: .55em; padding: .45em 1em .45em .8em; font-size: 15px; font-weight: 500; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.intro-reviews-list li::before { content: ""; width: 1.05em; height: 1.05em; flex: none; background: var(--olive); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .intro-reviews-list li::before { background: #a9b57a; } }
:root[data-theme="dark"] .intro-reviews-list li::before { background: #a9b57a; }
.unit-for { margin: 6px 0 12px; font-size: 14.5px; color: var(--ink-soft); }
.tours-bike { margin-top: .6em; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 840px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 24px 48px 24px 0; position: relative;
  font-family: var(--serif); font-size: 1.35rem; transition: color .2s;
}
.faq summary:hover { color: var(--sun-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  border: 1px solid var(--line); background:
    linear-gradient(var(--sun-ink), var(--sun-ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--sun-ink), var(--sun-ink)) center / 1.5px 12px no-repeat;
  transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { color: var(--ink-soft); padding-right: 48px; }

/* ---------- Anfrage ---------- */
.anfrage { position: relative; overflow: hidden; }
.anfrage-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 20%; }
.anfrage::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 30, 38, .35), rgba(8, 30, 38, .7)); z-index: 1; }
.anfrage .wrap { position: relative; z-index: 2; display: flex; justify-content: flex-end; }
/* A letter on paper, with a tile as its postage stamp. */
.letter {
  position: relative; max-width: 560px; padding: 48px 44px 40px; color: var(--ink);
  background: var(--card) var(--tex-grain); background-blend-mode: multiply; border-radius: 6px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); transform: rotate(-1deg);
}
.letter::after {
  content: ""; position: absolute; top: 22px; right: 22px; width: 64px; height: 76px;
  background: var(--tex-tile) center / 32px; border: 5px solid #fff; outline: 1px dashed rgba(0,0,0,.18); outline-offset: -1px;
  transform: rotate(4deg); box-shadow: var(--shadow-sm);
}
.letter h2 { padding-right: 70px; }
.letter > p:not(.eyebrow):not(.signature) { color: var(--ink-soft); }
.letter-actions { display: grid; gap: 12px; margin: 24px 0; }
.contact {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 12px;
  border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--paper);
  transition: border-color .2s, transform .2s; overflow-wrap: anywhere;
}
.contact:hover { border-color: var(--sun); transform: translateX(4px); }
.contact .ico { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--sun); color: #fff; stroke-width: 1.8; }
.contact small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.contact span { font-weight: 600; overflow-wrap: normal; word-break: normal; min-width: 0; }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--sun-ink); margin: 0; transform: rotate(-2deg); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .letter { background-blend-mode: normal; }
}
:root[data-theme="dark"] .letter { background-blend-mode: normal; }
@media (max-width: 700px) {
  .anfrage .wrap { justify-content: center; }
  .letter { padding: 40px 24px 32px; transform: none; }
  .letter::after { width: 48px; height: 58px; top: 16px; right: 16px; }
}

/* ---------- Footer ---------- */
.footer { background: #0b1418; color: #b9c4c9; padding: 0 0 96px; font-size: 14px; }
.band-dark { background-image: var(--tex-frieze-dark); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; padding-top: 36px; }
.footer p { margin: 0; }
.footer .brand { color: #fff; }
.footer a { color: var(--on-dark-accent); }
@media (min-width: 1181px) { .footer { padding-bottom: 40px; } }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45);
  transform: translateY(160%); transition: transform .35s;
}
.sticky-cta.show { transform: none; }
@media (min-width: 1181px) { .sticky-cta { display: none; } }   /* same breakpoint as the menu: below it the bar hides its CTA */

/* ---------- USP ---------- */
/* Four cards on one set of rows (subgrid): the icons, the headings, the texts and the links line up
   across the cards however many lines a heading needs. */
.usp-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 22px; }
.usp-list li {
  display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0;
  padding: 30px 28px 26px; background: var(--card);
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  margin-bottom: 22px; transition: transform .35s, box-shadow .35s;
}
.usp-list li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--sea); }
.usp-list li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.usp-ico {
  display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 20px; border-radius: 16px;
  color: var(--sea-ink); background: color-mix(in srgb, var(--sea) 11%, var(--card));
}
.usp-ico .ico { width: 30px; height: 30px; stroke-width: 1.4; }
.usp-list h3 { font-size: 1.5rem; line-height: 1.15; margin: 0 0 .45em; align-self: start; }
.usp-list p { color: var(--ink-soft); margin: 0 0 1.3em; font-size: 16.5px; line-height: 1.6; }
.usp-link { display: inline-flex; align-items: center; gap: .5em; align-self: end; justify-self: start; min-height: 44px; font-weight: 600; font-size: 15px; color: var(--sea-ink); text-decoration: none; border-bottom: 1.5px solid color-mix(in srgb, var(--sea-ink) 35%, transparent); padding-bottom: 2px; align-content: center; }
.usp-link:hover { border-bottom-color: var(--sea-ink); }
.usp-link .ico { width: 1.1em; height: 1.1em; transition: transform .25s; }
.usp-link:hover .ico { transform: translateX(3px); }
@media (max-width: 1100px) { .usp-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .usp-list { grid-template-columns: 1fr; } .usp-list li { padding: 24px 22px 20px; } }
@media (prefers-reduced-motion: reduce) { .usp-list li, .usp-link .ico { transition: none; } }

/* ---------- Taste: a menu card ---------- */
.menu { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.menu-card {
  position: relative; padding: 44px clamp(24px, 4vw, 52px) 36px; background: var(--card);
  border-radius: 4px; box-shadow: var(--shadow);
}
/* Double rule, like a printed restaurant menu. */
.menu-card::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--line); outline: 1px solid var(--line); outline-offset: -5px; pointer-events: none; }
.menu-head { text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--sun-ink); margin-bottom: 1.2em; }
.menu-head::before, .menu-head::after { content: "✦"; font-size: .6em; vertical-align: .3em; margin: 0 .8em; opacity: .7; font-style: normal; }
.dishes { margin: 0; }
.dishes > div { padding: 14px 0; border-bottom: 1px dotted var(--line); }
.dishes > div:last-child { border-bottom: 0; }
.dishes dt { font-family: var(--serif); font-size: 1.3rem; }
.dishes dd { margin: 2px 0 0; color: var(--ink-soft); font-size: 15px; }
.dishes dd span { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sea-ink); }
.menu-img { margin: 0; }
.menu-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 50% 50% var(--radius) var(--radius) / 32% 32% var(--radius) var(--radius); box-shadow: var(--shadow); }
.menu-img figcaption { font-family: var(--serif); font-style: italic; color: var(--ink-soft); text-align: center; margin-top: 14px; }
@media (max-width: 860px) { .menu { grid-template-columns: 1fr; } .menu-img img { aspect-ratio: 3 / 2; } }

/* ---------- Tours: real GPS traces ---------- */
.routes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 40px; }
.route { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s; }
.route:hover { transform: translateY(-4px); }
.route-map {
  display: block; width: 100%; aspect-ratio: 3 / 2; padding: 10px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 20px 20px,
    var(--sand);
  border-bottom: 1px solid var(--line);
}
.route-line { fill: none; stroke: var(--sun); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.js .route .route-line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s ease .2s; }
.js .route.in .route-line { stroke-dashoffset: 0; }
.route-start { fill: var(--sea); stroke: var(--card); stroke-width: 1.5; }
.route-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.route-tag { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-ink); margin-bottom: .4em; }
.route h3 { font-size: 1.3rem; margin-bottom: .35em; }
.route { position: relative; }
.route-link { color: inherit; text-decoration: none; }
.route-link::after { content: ""; position: absolute; inset: 0; }   /* the whole card is the link */
.route:hover { transform: translateY(-3px); }
.route:hover .route-link { color: var(--sea-ink); }
.route-link:focus-visible { outline: none; }
.route:has(.route-link:focus-visible) { outline: 3px solid #f0a57f; outline-offset: 3px; }
.route-body > p:not(.route-tag) { color: var(--ink-soft); font-size: 15px; }
.route-stats { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 10px; margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.route-stats dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.route-stats dd { margin: 0; font-weight: 600; font-size: 13.5px; }
@media (max-width: 1060px) { .routes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .routes { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .js .route .route-line { stroke-dasharray: none; transition: none; } }

/* ---------- Tips: a horizontal strip ---------- */
.tips-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 20px; margin-bottom: 24px;
  scrollbar-width: thin; scrollbar-color: var(--sun) transparent;
}
@media (min-width: 1100px) { .tips-row { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; } }
.tip {
  scroll-snap-align: start; position: relative; padding: 26px 24px 22px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
/* the coloured edge is a bar inside the card: a thick border-top on a rounded box curls into a crescent */
.tip::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--sea); }
.tip:nth-child(3n+2)::before { background: var(--sun); }
.tip:nth-child(3n)::before { background: var(--olive); }
.tip-dist { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; color: var(--sea-ink); margin-bottom: .5em; }
.tip h3 { font-size: 1.35rem; margin-bottom: .35em; }
.tip-link { color: inherit; text-decoration: none; }
.tip-link::after { content: ""; position: absolute; inset: 0; }   /* the whole card is the link */
.tip:hover .tip-link { color: var(--sea-ink); }
.tip-link:focus-visible { outline: none; }
.tip:has(.tip-link:focus-visible) { outline: 3px solid #f0a57f; outline-offset: 3px; }
.tip p { color: var(--ink-soft); font-size: 15px; }
.tip-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.tip-tags span { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--sand); color: var(--ink); }

/* ---------- Language switch (in the nav; inside the menu on phones) ---------- */
.nav-links .lang-item { display: flex; gap: 2px; margin-left: 8px; padding-left: 14px; border-left: 1px solid var(--line); }
.nav-links .lang-item a { font-size: 13px; font-weight: 600; letter-spacing: .06em; padding: 4px 6px; border-radius: 6px; }
.nav-links .lang-item a[aria-current="true"] { color: var(--sun-ink); }
.nav-links .lang-item a[aria-current="true"]::after { display: none; }
.nav.at-top .nav-links .lang-item { border-color: rgba(255,255,255,.35); }
.nav.at-top .nav-links .lang-item a[aria-current="true"] { color: var(--on-dark-accent); }
@media (max-width: 1180px) {
  .nav-links .lang-item { margin: 10px 0 0; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line); gap: 8px; }
  .nav-links .lang-item a { border-bottom: 0; padding: 8px 10px; font-size: 15px; }
  /* The open menu sits on paper even over the hero: back to the paper-safe ink. */
  .nav.at-top .nav-links.open .lang-item a[aria-current="true"] { color: var(--sun-ink); }
}

/* ---------- Footer links to the other pages ---------- */
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
/* 24px targets (WCAG 2.5.8): a bare line of 14px text is only 17px tall. */
.footer-nav a { display: inline-flex; align-items: center; min-height: 24px; }
