@import url("fonts.css");

/* ============================================================
   Plumbing only. Nothing here is a design decision — no colour,
   no typeface, no layout. Each site writes its own visual system
   on top; this file only carries the things that must be right
   on every site and are invisible when they are.
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* A sideways-scrollable page drags position:fixed elements out of view on
     phones. Clip rather than scroll. (clip, not hidden: hidden would make html
     a scroll container and break scroll-padding and sticky.) */
  overflow-x: clip;
}

body { margin: 0; }
/* Lock scrolling on the ROOT, not on body. html already has overflow-x:clip,
   so overflow:hidden on body turns body into its own scroll container — a
   position:sticky header then sticks to body and is thrown off-screen (with
   its close button) when the menu opens after scrolling. site.js puts
   .is-locked on <html> directly; a :has() selector was tried first and its
   style invalidation visibly lagged behind the menu opening. */
html.is-locked { overflow: hidden; }
/* [hidden] must win. A rule like `.gallery-more { display:flex }` outranks the
   browser's own `[hidden] { display:none }`, which left an empty "Show 0 more"
   button on screen whenever a gallery had nothing further to reveal. */
[hidden] { display: none !important; }

img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
/* A <button> inherits the user agent's grey `buttonface` unless something says
   otherwise. An outline/ghost button that sets only border-color and color then
   renders as light-grey with (often white) text on it — invisible. Reset here;
   any variant that wants a fill sets one and wins on specificity. */
button { background: transparent; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

.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;
}

/* Reveal-on-scroll. The JS failsafe shows everything if the observer
   never runs, so content can never be stranded invisible. */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease, ease), transform .7s var(--ease, ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

@media print {
  .site-header, .lightbox, .skip-link, .gallery-more, .filters, .map-consent, .callbar { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { background: #fff !important; color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .75em; color: #555; }
}

/* ============================================================
   Vague Summer House — "garden postcard"
   ------------------------------------------------------------
   A house you write home about: warm paper, the blue of the wave
   logo, lawn green, roof-tile terracotta. Postcards overlap the
   photos, ratings are postage stamps, distances are a route line.
   Lora (headings) + Onest (text).
   Contrast (measured on build): see README.
   ============================================================ */

:root {
  --paper: #fbf8f1;
  --paper-2: #f2ede1;
  --white: #fff;
  --ink: #1f2a24;
  --muted: #52605a;
  --line: #e2dccd;
  --blue: #1b5f9e;
  --blue-d: #154b7d;
  --sky: #e4eef6;
  --grass: #3d6a2a;
  --leaf: #e6eedb;
  --clay: #a84a22;
  --sand: #efe2c8;
  --night: #15241d;
  --night-2: #1d3128;
  --moon: #f3e9cf;
  --r: 18px;
  --ease: cubic-bezier(.2,.75,.25,1);
  --wrap: 1200px;
  --serif: "Lora", "Iowan Old Style", Georgia, serif;
  --sans: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow: 0 1px 2px rgba(31,42,36,.06), 0 18px 40px -22px rgba(31,42,36,.35);
}

html { background: var(--paper); scroll-padding-top: 90px; }
body { background: var(--paper); color: var(--ink); font: 400 clamp(1rem, .96rem + .18vw, 1.09rem)/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.14; letter-spacing: -.012em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 1.5rem + 3.2vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 1.35rem + 1.9vw, 2.9rem); margin-bottom: .9rem; }
h3 { font-size: clamp(1.25rem, 1.1rem + .45vw, 1.5rem); margin-bottom: .45rem; }
h1 em, h2 em { font-style: italic; color: var(--blue); }
a { color: var(--blue); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-d); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.section--leaf { background: var(--leaf); }
.section--sand { background: var(--paper-2); }
.skip-link { position: absolute; left: 1rem; top: -80px; z-index: 300; background: var(--blue); color: #fff; padding: .7rem 1.1rem; border-radius: 10px; }
.skip-link:focus { top: 1rem; color: #fff; }
.ico { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -.2em; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: .9rem; font: 500 .8rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--grass); }
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.lede { font-size: clamp(1.1rem, 1.02rem + .35vw, 1.3rem); line-height: 1.6; color: var(--ink); }
.muted { color: var(--muted); }
.fine { font-size: .9rem; color: var(--muted); }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p:not(.kicker) { color: var(--muted); }
.section-head--center { margin-inline: auto; text-align: center; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .05rem; }
.text-link .ico { transition: transform .3s var(--ease); }
.text-link:hover .ico { transform: translateX(3px); }

/* ---------- Buttons ------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .8rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent; font: 500 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .3s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .3s; }
.btn:hover { transform: translateY(-2px); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 12px 24px -14px rgba(27,95,158,.9); }
.btn--blue:hover { background: var(--blue-d); color: #fff; }
.btn--line { border-color: rgba(31,42,36,.3); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); color: var(--ink); background: var(--white); }
.btn--moon { background: var(--moon); color: var(--night); }
.btn--moon:hover { background: #fff; color: var(--night); }

/* ---------- Header ------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(31,42,36,.6); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 80px; }
.brand img { width: clamp(118px, 11vw, 150px); height: auto; }
.nav { display: flex; align-items: center; gap: .3rem; }
.nav a { position: relative; padding: .6rem .95rem; border-radius: 999px; color: var(--ink); font-weight: 500; text-decoration: none; transition: background .2s, color .2s; }
.nav a:hover { background: var(--sky); color: var(--blue-d); }
.nav a[aria-current="page"] { color: var(--blue); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: .2rem; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--clay); }
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .header-inner { min-height: 68px; }
  .brand img { width: 112px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: .55rem; height: 44px; padding: 0 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font: 500 .95rem/1 var(--sans); cursor: pointer; }
  .nav-toggle span, .nav-toggle span::before { content: ""; display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--ease); }
  .nav-toggle span::before { position: absolute; top: 6px; }
  .nav-toggle span { top: -3px; }
  .site-header.is-open .nav-toggle span { transform: translateY(3px) rotate(45deg); }
  .site-header.is-open .nav-toggle span::before { transform: translateY(-6px) rotate(-90deg); }
  .nav { position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: .6rem 1.25rem 1.5rem; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(31,42,36,.45);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
  .site-header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 1rem .3rem; border-radius: 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.55rem; font-weight: 500; }
  .nav a:hover { background: transparent; }
  .nav a[aria-current="page"]::after { left: auto; right: .5rem; top: 50%; bottom: auto; width: 8px; height: 8px; margin: -4px 0 0; }
}

/* ---------- Hero: photo with a postcard ------------------------------------- */
.hero { position: relative; padding: clamp(.8rem, 2vw, 1.4rem) 0 0; }
.hero-frame { position: relative; width: min(100% - 2rem, 1440px); margin-inline: auto; height: clamp(520px, 78svh, 820px); border-radius: calc(var(--r) + 8px); overflow: hidden; background: var(--leaf); }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 9s ease-out; }
.hero-slide.is-active img { transform: none; }
.hero-card { position: absolute; left: clamp(1rem, 4vw, 3.5rem); bottom: clamp(1rem, 4vw, 3.5rem); width: min(560px, calc(100% - 2rem)); padding: clamp(1.4rem, 3vw, 2.4rem); background: var(--paper); border-radius: var(--r); box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }
.hero-card::after { content: ""; position: absolute; top: 1rem; right: 1rem; width: 58px; height: 64px; background: url("../img/misc/icon-stamp.png") center / 100% 100% no-repeat; transform: rotate(6deg); opacity: .95; }
.hero-card h1 { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.2rem); margin-bottom: 1rem; padding-right: 3.5rem; }
.hero-card p:not(.kicker) { color: var(--muted); margin-bottom: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-dots { position: absolute; right: clamp(1rem, 3vw, 2.5rem); bottom: clamp(1rem, 3vw, 2.5rem); display: flex; gap: .45rem; padding: .55rem .7rem; border-radius: 999px; background: rgba(21,36,29,.45); }
.hero-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.55); cursor: pointer; transition: width .35s var(--ease), background .3s; }
.hero-dots button[aria-current="true"] { width: 26px; background: #fff; }
@media (max-width: 760px) {
  .hero-frame { height: 62svh; min-height: 380px; border-radius: var(--r); }
  .hero-card { position: relative; left: auto; bottom: auto; width: auto; margin: -4.5rem 1.6rem 0; }
  .hero-dots { top: 1rem; bottom: auto; right: 1rem; }
}

/* ---------- At a glance ------------------------------------------------------- */
.glance { padding: clamp(2.2rem, 5vw, 3.4rem) 0 0; }
.glance ul { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid var(--line); }
.glance li { display: flex; align-items: center; gap: .65rem; padding: 1.1rem .8rem; }
.glance li + li { border-left: 1px solid var(--line); }
.glance .ico { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--sky); color: var(--blue); }
.glance b { display: block; white-space: nowrap; font: 500 1.2rem/1.15 var(--serif); color: var(--ink); }
.glance small { color: var(--muted); font-size: .85rem; }
@media (max-width: 980px) { .glance ul { grid-template-columns: repeat(2, 1fr); } .glance li + li { border-left: 0; } .glance li { border-bottom: 1px solid var(--line); } .glance li:last-child { grid-column: span 2; border-bottom: 0; } }

/* ---------- Intro & stamps --------------------------------------------------------- */
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.intro-text p:not(.kicker):not(.lede) { color: var(--muted); }
.signature { margin-top: 1.4rem; font: italic 500 1.3rem/1.3 var(--serif); color: var(--blue); }
.stamps { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
/* Perforated edge: a grid of holes, with a solid rectangle covering all but the rim. */
.stamp { --r: 6px; position: relative; display: grid; place-items: center; text-align: center; padding: calc(var(--r) * 3); background: var(--white); color: var(--ink);
  -webkit-mask: radial-gradient(var(--r), #0000 98%, #000) round calc(var(--r) * -1.5) calc(var(--r) * -1.5) / calc(var(--r) * 3) calc(var(--r) * 3), linear-gradient(#000 0 0) no-repeat 50% / calc(100% - var(--r) * 3) calc(100% - var(--r) * 3);
  mask: radial-gradient(var(--r), #0000 98%, #000) round calc(var(--r) * -1.5) calc(var(--r) * -1.5) / calc(var(--r) * 3) calc(var(--r) * 3), linear-gradient(#000 0 0) no-repeat 50% / calc(100% - var(--r) * 3) calc(100% - var(--r) * 3); }
.stamps { filter: drop-shadow(0 12px 16px rgba(31,42,36,.16)); }
.stamp-inner { width: 100%; padding: 1.1rem .6rem; border: 1.5px dashed var(--line); }
.stamp b { display: block; font: 500 2.5rem/1 var(--serif); color: var(--blue); }
.stamp span { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .4rem; }
.stamp small { display: block; font-size: .85rem; color: var(--ink); margin-top: .2rem; }
.stamp:nth-child(1) { transform: rotate(-3deg); }
.stamp:nth-child(2) { transform: rotate(2.5deg) translateY(1.4rem); }
.stamp--wide { grid-column: span 2; transform: rotate(-1deg) translateY(.6rem); }
.stamp--wide b { font-size: 1.8rem; color: var(--clay); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Garden ---------------------------------------------------------------- */
.panorama { position: relative; margin: 0 0 clamp(1.4rem, 3vw, 2rem); border-radius: var(--r); overflow: hidden; }
.panorama .tile { aspect-ratio: 21 / 9; border-radius: var(--r); }
.panorama figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: .45rem .85rem; border-radius: 999px; background: rgba(251,248,241,.94); color: var(--ink); font-size: .9rem; pointer-events: none; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.8rem); }
.feature { background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.feature .tile { aspect-ratio: 4 / 3; border-radius: 0; }
.feature-body { padding: 1.3rem 1.4rem 1.5rem; }
.feature-body p { color: var(--muted); }
.feature:nth-child(2) { transform: translateY(1.5rem); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } .feature:nth-child(2) { transform: none; } .panorama .tile { aspect-ratio: 16 / 10; } }

/* ---------- Rooms ------------------------------------------------------------------- */
.rooms { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
.room { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.room:nth-child(even) .room-photos { order: 2; }
.room-photos { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: .8rem; height: clamp(320px, 38vw, 480px); }
.room-photos .tile:first-child { grid-row: span 2; }
.room-photos--single { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.room-text .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--clay); color: var(--clay); font: 500 1.05rem/1 var(--serif); margin-bottom: 1rem; }
.room-text p { color: var(--muted); }
.specs { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }
.specs li { padding: .38rem .8rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .88rem; color: var(--ink); }
@media (max-width: 860px) { .room { grid-template-columns: 1fr; } .room:nth-child(even) .room-photos { order: 0; } .room-photos { height: 72vw; } }

/* ---------- Tiles (lightbox triggers) ---------------------------------------------------- */
.tile { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; overflow: hidden; border-radius: 12px; background: var(--paper-2); cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; right: .7rem; bottom: .7rem; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2a24' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 4h5v5M9 20H4v-5M20 4l-6 6M4 20l6-6'/%3E%3C/svg%3E") center / 16px no-repeat; opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s var(--ease); pointer-events: none; }
.tile:hover::after, .tile:focus-visible::after { opacity: 1; transform: none; }
.tile.is-entering { animation: rise .45s var(--ease) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Evenings ----------------------------------------------------------------------- */
.evening { background: radial-gradient(60% 80% at 80% 20%, rgba(243,233,207,.12), transparent 60%), var(--night); color: #d8e0da; }
.evening h2 { color: var(--moon); }
.evening h2 em { color: #9fc6e8; }
.evening .kicker { color: #b9d59f; }
.evening-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.evening-photos { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.evening-photos .tile { aspect-ratio: 4 / 5; border-radius: var(--r); }
.evening-photos .tile:nth-child(2) { transform: translateY(2.5rem); }
.evening p { color: #c9d3cc; }
@media (max-width: 860px) { .evening-grid { grid-template-columns: 1fr; } .evening-photos .tile:nth-child(2) { transform: none; } }

/* ---------- Facilities --------------------------------------------------------------------------- */
.facility-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.facility { padding: 1.4rem 1.4rem 1.5rem; background: var(--white); border-radius: var(--r); border: 1px solid var(--line); }
.facility h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; }
.facility h3 .ico { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--leaf); color: var(--grass); }
.facility ul { list-style: none; margin-top: .6rem; }
.facility li { position: relative; padding: .28rem 0 .28rem 1.4rem; color: var(--ink); font-size: .96rem; }
.facility li::before { content: ""; position: absolute; left: .15rem; top: .8rem; width: 8px; height: 5px; border-left: 2px solid var(--grass); border-bottom: 2px solid var(--grass); transform: rotate(-45deg); }

/* ---------- Reviews ------------------------------------------------------------------------------ */
.reviews-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.score-card { padding: clamp(1.5rem, 3vw, 2.2rem); background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); }
.score-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.score-top b { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 18px 18px 18px 4px; background: var(--blue); color: #fff; font: 500 1.9rem/1 var(--serif); }
.score-top span { display: block; font: 500 1.35rem/1.2 var(--serif); }
.score-top small { color: var(--muted); }
.bars { display: grid; gap: .7rem; }
.bar { display: grid; grid-template-columns: 7.5rem 1fr 2.4rem; align-items: center; gap: .8rem; font-size: .92rem; }
.bar progress { appearance: none; width: 100%; height: 8px; border: 0; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.bar progress::-webkit-progress-bar { background: var(--paper-2); border-radius: 999px; }
.bar progress::-webkit-progress-value { background: var(--grass); border-radius: 999px; }
.bar progress::-moz-progress-bar { background: var(--grass); border-radius: 999px; }
.bar b { text-align: right; font-weight: 500; }
.also { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.also span { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .8rem; border-radius: 999px; background: var(--paper); font-size: .9rem; }
.also b { color: var(--clay); font-weight: 700; }
.quotes { list-style: none; columns: 2 260px; column-gap: 1rem; }
.quote { break-inside: avoid; margin-bottom: 1rem; padding: 1.4rem 1.4rem 1.2rem; background: var(--white); border-radius: var(--r); border: 1px solid var(--line); }
.quote blockquote { margin: 0 0 .9rem; font: 500 1.2rem/1.4 var(--serif); color: var(--ink); }
.quote blockquote::before { content: "\201C"; display: block; height: .5em; font-size: 2.6rem; line-height: 1; color: var(--clay); }
.quote p { margin: 0; color: var(--muted); font-size: .88rem; }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ---------- Area: the route --------------------------------------------------------------------- */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.route { list-style: none; position: relative; margin: .5rem 0 0; }
.route::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; border-left: 2px dashed var(--line); }
.route li { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: baseline; padding: .75rem 0 .75rem 2.4rem; border-bottom: 1px solid var(--line); }
.route li::before { content: ""; position: absolute; left: 5px; top: 1.15rem; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--blue); }
.route li.is-beach::before { background: var(--sky); }
.route li.is-food::before { border-color: var(--clay); }
.route li.is-travel::before { border-color: var(--grass); }
.route span small { display: block; color: var(--muted); font-size: .85rem; }
.route b { font: 500 1.1rem/1 var(--serif); color: var(--blue); white-space: nowrap; }
.route--dark li { border-color: var(--line); }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1rem; font-size: .85rem; color: var(--muted); }
.area-photo { position: relative; }
.area-photo .tile { aspect-ratio: 4 / 5; border-radius: var(--r); }
.postmark { position: absolute; left: -1rem; top: 1.5rem; width: 128px; height: 128px; display: grid; place-items: center; text-align: center; border-radius: 50%; border: 2px solid var(--blue); color: var(--blue); background: rgba(251,248,241,.92); transform: rotate(-12deg); font: 500 .72rem/1.35 var(--sans); letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
.postmark b { display: block; font: italic 500 1.25rem/1.1 var(--serif); letter-spacing: 0; text-transform: none; }
@media (max-width: 860px) { .area-grid { grid-template-columns: 1fr; } .postmark { left: .8rem; } }

/* ---------- Map ------------------------------------------------------------------------------------ */
.map-frame { position: relative; min-height: 400px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, var(--leaf), var(--sky)); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; padding: 1.5rem; text-align: center; }
.map-consent p { max-width: 26rem; margin: 0; color: var(--ink); }

/* ---------- Call to action ------------------------------------------------------------------------------ */
.cta { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.cta-card { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; padding: clamp(2rem, 5vw, 3.6rem); border-radius: calc(var(--r) + 6px); background: var(--blue); color: #fff; overflow: hidden; }
.cta-card::before { content: ""; position: absolute; right: -60px; bottom: -80px; width: 380px; height: 380px; background: url("../img/misc/waves-white.png") center / contain no-repeat; opacity: .14; pointer-events: none; }
.cta-card h2 { color: #fff; }
.cta-card h2 em { color: var(--moon); }
.cta-card p { color: #e3edf6; }
.cta-actions { position: relative; display: grid; gap: .7rem; justify-items: stretch; }
.cta-actions .btn { width: 100%; }
.btn--white { background: #fff; color: var(--blue-d); }
.btn--white:hover { background: var(--moon); color: var(--night); }
.btn--ghost-white { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost-white:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
@media (max-width: 760px) { .cta-card { grid-template-columns: 1fr; } }

/* ---------- Inner page head ------------------------------------------------------------------------------- */
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.page-head-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.page-head .lede { color: var(--muted); max-width: 38rem; }
.head-strip { display: grid; grid-template-columns: 1.2fr 1fr; gap: .7rem; height: clamp(220px, 26vw, 320px); }
.head-strip img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.head-strip img:last-child { transform: translateY(1.5rem); }
@media (max-width: 760px) { .page-head-grid { grid-template-columns: 1fr; } .head-strip { height: 50vw; margin-bottom: 1.5rem; } }

/* ---------- Photos page ------------------------------------------------------------------------------------------ */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.filter { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font: 500 .95rem/1 var(--sans); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.filter small { color: var(--muted); font-size: .8rem; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter[aria-pressed="true"] small { color: #d5dcd8; }
.grid { columns: 3 280px; column-gap: .9rem; }
.grid .tile { height: auto; margin-bottom: .9rem; break-inside: avoid; }
.grid .tile img { height: auto; }
.gallery-more { display: flex; justify-content: center; margin-top: 2rem; }

/* ---------- Location page --------------------------------------------------------------------------------------------- */
.travel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.travel-card { padding: 1.5rem; background: var(--white); border-radius: var(--r); border: 1px solid var(--line); }
.travel-card .ico { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--sky); color: var(--blue); margin-bottom: .9rem; }
.travel-card p { color: var(--muted); }
.travel-card b { color: var(--ink); font-weight: 500; }
@media (max-width: 860px) { .travel { grid-template-columns: 1fr; } }
.beaches { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1rem; }
.beach { padding: 1.3rem 1.4rem; border-radius: var(--r); background: var(--sky); }
.beach b { display: block; font: 500 1.8rem/1 var(--serif); color: var(--blue-d); }
.beach h3 { margin: .5rem 0 .3rem; font-size: 1.4rem; }
.beach p { color: var(--ink); font-size: .95rem; }

/* ---------- Contact page ------------------------------------------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.contact-card { display: flex; flex-direction: column; gap: .5rem; padding: 1.7rem; background: var(--white); border-radius: var(--r); border: 1px solid var(--line); }
.contact-card .ico { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--leaf); color: var(--grass); }
.contact-card h2 { font-size: 1.5rem; margin: .4rem 0 0; }
.contact-card p { color: var(--muted); margin: 0; }
.contact-card .big { font: 500 1.35rem/1.25 var(--serif); color: var(--blue); text-decoration: none; word-break: break-word; }
.contact-card .big:hover { color: var(--blue-d); text-decoration: underline; }
.contact-card .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.rules { list-style: none; border-top: 1px solid var(--line); }
.rules li { display: grid; grid-template-columns: 2.2rem 1fr; gap: .6rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.rules .ico { width: 1.5rem; height: 1.5rem; color: var(--clay); margin-top: .15rem; }
.rules b { display: block; font-weight: 500; }
.rules span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .rules-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ------------------------------------------------------------------------------------------------------- */
.site-footer { background: var(--night); color: #c9d3cc; padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand img { width: 150px; height: auto; margin-bottom: 1rem; background: #fff; padding: .6rem .8rem; border-radius: 12px; }
.site-footer h2 { font-size: 1.2rem; color: var(--moon); margin: 0 0 .8rem; }
.site-footer p { margin: 0 0 .45rem; color: #c9d3cc; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--moon); }
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.socials a { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); text-decoration: none; font-size: .92rem; }
.socials a:hover { border-color: var(--moon); }
.colophon { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: #a9b6ae; }
.footer-grid > * { min-width: 0; }
.site-footer a { overflow-wrap: anywhere; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand { grid-column: auto; } }

/* ---------- Lightbox --------------------------------------------------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 400; display: none; padding: clamp(1rem, 4vw, 3rem); background: rgba(21,36,29,.96); opacity: 0; transition: opacity .26s; }
.lightbox.is-open { display: grid; grid-template-rows: 1fr auto; }
.lightbox.is-visible { opacity: 1; }
.lb-stage { display: grid; place-items: center; min-height: 0; }
.lb-figure { margin: 0; display: grid; place-items: center; gap: .9rem; max-height: 100%; }
.lb-img { max-width: 100%; max-height: 80vh; width: auto; height: auto; object-fit: contain; border-radius: 10px; background: var(--night-2); transition: opacity .2s; }
.lb-img.is-loading { opacity: .35; }
.lb-caption { max-width: 60ch; text-align: center; color: var(--moon); font: italic 500 1.1rem/1.4 var(--serif); }
.lb-counter { margin: .6rem 0 0; text-align: center; color: #b9c6be; font-size: .9rem; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); cursor: pointer; transition: transform .2s, background .2s; }
.lb-btn:hover:not(:disabled) { background: #fff; transform: scale(1.06); }
.lb-btn:disabled { opacity: .35; cursor: default; }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-prev { left: clamp(.5rem, 2vw, 1.5rem); top: 50%; margin-top: -26px; }
.lb-next { right: clamp(.5rem, 2vw, 1.5rem); top: 50%; margin-top: -26px; }
.lb-close { right: clamp(.5rem, 2vw, 1.5rem); top: clamp(.5rem, 2vw, 1.5rem); }

@media (prefers-reduced-motion: reduce) {
  .hero-slide img { transform: none !important; transition: none !important; }
  .btn:hover { transform: none; }
}
