/* Tito · Vilaflor de Chasna — styles */
:root {
  --basalt: #1B1714;
  --pumice: #F4EEE3;
  --ash: #E6DCCB;
  --pine: #1F3B2D;
  --pine-2: #2F5A43;
  --terracotta: #B5532F;
  --terracotta-d: #9A4324;
  --tito-red: #C8232B;
  --sun: #E9A93A;
  --atlantic: #1D5E8C;
  --ink-soft: #5B5148;
  --paper: #FBF7EF;

  --ff-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --ff-text: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --ff-cyr: 'Lora', Georgia, serif;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --header-h: 68px;
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(27, 23, 20, .06), 0 12px 32px -12px rgba(27, 23, 20, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: var(--header-h); }
html { scroll-behavior: smooth; }
html.no-scroll { overflow: hidden; }
body {
  margin: 0;
  background: var(--pumice);
  color: var(--basalt);
  font-family: var(--ff-text);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
em { font-style: italic; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--basalt); color: var(--pumice); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
section { position: relative; scroll-margin-top: var(--header-h); }

/* ---------- type ---------- */
.h2 {
  font-family: var(--ff-display);
  font-weight: 560;
  font-variation-settings: 'SOFT' 60, 'opsz' 144;
  font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: .15em 0 .35em;
  text-wrap: balance;
}
.h2 em, .hero-title em { font-style: italic; font-weight: 500; color: var(--terracotta); font-variation-settings: 'SOFT' 100, 'opsz' 144; }
.h2-xl { font-size: clamp(2.4rem, 1.2rem + 5vw, 5.6rem); }
.h3 { font-family: var(--ff-display); font-weight: 600; font-variation-settings: 'SOFT' 60, 'opsz' 72; font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
.lead { font-size: clamp(1.08rem, 1rem + .45vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); max-width: 40em; margin: 0 0 1.2em; }
.eyebrow { display: inline-flex; align-items: center; gap: .55em; margin: 0; font-weight: 800; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta-d); }
.eyebrow .ico { width: 1.4em; height: 1.4em; }
.eyebrow-light { color: var(--sun); }
.kicker { font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta); margin: 0 0 .5em; }
.small { font-size: .85rem; color: var(--ink-soft); }
.note { background: var(--ash); padding: 1rem 1.2rem; border-radius: 14px; }

/* split words */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; }

/* progressive reveal: hidden only when JS + motion are active */
.motion [data-split] { visibility: hidden; }
.motion [data-reveal] { opacity: 0; transform: translateY(26px); }
.motion .hero-wordmark, .motion .hero-sub, .motion .hero-ctas .btn, .motion .hero-more, .motion .altimeter, .motion .scroll-cue { opacity: 0; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--terracotta); --fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; gap: .6em;
  min-height: 50px; padding: .8em 1.35em;
  border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--basalt); transform: translateY(101%); transition: transform .45s var(--ease); border-radius: inherit; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(27, 23, 20, .5); }
.btn:hover::before { transform: translateY(0); }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { --bg: var(--terracotta); }
.btn-ghost { --bg: rgba(244, 238, 227, .92); --fg: var(--basalt); border-color: rgba(27, 23, 20, .35); }
.btn-ghost-light { --bg: transparent; --fg: var(--pumice); border-color: rgba(244, 238, 227, .55); }
.btn-ghost-light:hover { --bg: var(--pumice); color: var(--basalt); border-color: var(--pumice); }
.btn-ghost:hover { color: var(--pumice); }
.btn-ghost-dark { --bg: transparent; --fg: var(--basalt); border-color: rgba(27, 23, 20, .4); }
.btn-ghost-dark:hover { color: var(--pumice); }
.btn-small { min-height: 44px; padding: .6em 1.1em; font-size: .92rem; --bg: var(--pine); }
.btn-ghost-light::before { background: var(--pumice); }
.btn-light { --bg: var(--pumice); --fg: var(--basalt); }
.btn-light::before { background: var(--sun); }
.btn-wa { --bg: #1D7A45; --fg: #fff; }
.btn-wa::before { background: #14552F; }
.btn-head { min-height: 40px; padding: .5em 1em; font-size: .9rem; gap: .45em; flex: none; }
.btn-head .ico { width: 1.05em; height: 1.05em; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; color: var(--terracotta-d); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow .ico { transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
.link-light { color: #F7C878; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); transition: background-color .35s, box-shadow .35s; }
.site-header.is-scrolled { background: var(--pumice); box-shadow: 0 1px 0 rgba(27, 23, 20, .08); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1rem; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--basalt); margin-right: auto; }
.brand-mark { height: 40px; width: auto; aspect-ratio: 150 / 64; }
.brand-sub { font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); padding-left: .6rem; border-left: 1px solid rgba(27, 23, 20, .2); line-height: 1.2; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; }
.nav a { display: block; padding: .5em .75em; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .93rem; transition: background-color .25s; }
.nav a:hover { background: rgba(27, 23, 20, .07); }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(27, 23, 20, .07); }
.lang button { border: 0; background: transparent; cursor: pointer; padding: .4em .62em; border-radius: 999px; font-weight: 800; font-size: .76rem; letter-spacing: .06em; min-width: 38px; min-height: 32px; transition: background-color .25s, color .25s; }
.lang button[aria-pressed="true"] { background: var(--basalt); color: var(--pumice); }
.lang button:not([aria-pressed="true"]):hover { background: rgba(27, 23, 20, .1); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; position: relative; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--basalt); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; content: ""; }
.nav-toggle .bars { top: 21px; }
.nav-toggle .bars::before { left: 0; top: -7px; }
.nav-toggle .bars::after { left: 0; top: 7px; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { transform: translateY(7px) rotate(45deg); background: var(--basalt); }
.nav-open .nav-toggle .bars::after { transform: translateY(-7px) rotate(-45deg); background: var(--basalt); }

/* header while it sits on the dark hero photo: light text + dark scrim */
.site-header:not(.is-scrolled):not(.nav-open) { background-image: linear-gradient(180deg, rgba(20, 17, 14, .85), rgba(20, 17, 14, .35) 70%, rgba(20, 17, 14, 0)); }
.site-header:not(.is-scrolled):not(.nav-open) .brand { color: var(--pumice); }
.site-header:not(.is-scrolled):not(.nav-open) .brand-sub { color: rgba(244, 238, 227, .85); border-left-color: rgba(244, 238, 227, .35); }
.site-header:not(.is-scrolled):not(.nav-open) .nav a { color: var(--pumice); text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.site-header:not(.is-scrolled):not(.nav-open) .nav a:hover { background: rgba(244, 238, 227, .16); }
.site-header:not(.is-scrolled):not(.nav-open) .lang { background: rgba(20, 17, 14, .45); }
.site-header:not(.is-scrolled):not(.nav-open) .lang button { color: var(--pumice); }
.site-header:not(.is-scrolled):not(.nav-open) .lang button[aria-pressed="true"] { background: var(--pumice); color: var(--basalt); }
.site-header:not(.is-scrolled):not(.nav-open) .lang button:not([aria-pressed="true"]):hover { background: rgba(244, 238, 227, .18); }
.site-header:not(.is-scrolled):not(.nav-open) .nav-toggle .bars,
.site-header:not(.is-scrolled):not(.nav-open) .nav-toggle .bars::before,
.site-header:not(.is-scrolled):not(.nav-open) .nav-toggle .bars::after { background: var(--pumice); }

@media (max-width: 1439px) { .brand-sub { display: none; } }
@media (max-width: 1279px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--pumice); padding: 1rem var(--gutter) 2rem; box-shadow: 0 20px 40px -20px rgba(27, 23, 20, .35); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .35s var(--ease), visibility 0s .35s; max-height: calc(100svh - var(--header-h)); overflow: auto; }
  .nav ul { flex-direction: column; gap: 0; }
  .site-header .nav a { color: var(--basalt); text-shadow: none; }
  .nav a { font-family: var(--ff-display); font-size: 1.6rem; font-weight: 500; padding: .45em 0; border-radius: 0; border-bottom: 1px solid rgba(27, 23, 20, .1); }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; transition: opacity .3s, transform .35s var(--ease); }
  .nav-open { background: var(--pumice); }
}
@media (max-width: 1099px) { .btn-head { display: none; } }
@media (max-width: 520px) {
  .brand-mark { height: 36px; }
  .lang button { min-width: 34px; padding: .4em .45em; }
  .header-inner { gap: .5rem; }
}

/* ---------- 1 hero: the restaurant ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: grid; background: var(--basalt); color: var(--pumice); }
.hero-media { position: absolute; inset: 0; }
.hero-media picture, .hero-img { display: block; width: 100%; height: 100%; }
/* façade centred in the photo (sign ≈ 42–57 % x / 40–51 % y): anchor left so the house moves right, text sits bottom-left */
.hero-img { object-fit: cover; object-position: 0% 50%; }
/* left + bottom scrim for the text only — the brown sign and the door stay bright */
.hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(20, 17, 14, .9) 0%, rgba(20, 17, 14, .84) 24%, rgba(20, 17, 14, .55) 35%, rgba(20, 17, 14, .14) 42%, rgba(20, 17, 14, 0) 46%),
    linear-gradient(0deg, rgba(20, 17, 14, .72) 0%, rgba(20, 17, 14, .3) 14%, rgba(20, 17, 14, 0) 30%),
    linear-gradient(180deg, rgba(20, 17, 14, .5) 0%, rgba(20, 17, 14, 0) 16%); }
.hero-content { position: relative; z-index: 2; align-self: end; justify-self: start;
  width: min(34rem, 35vw); margin-left: clamp(var(--gutter), 4vw, 96px);
  padding-block: calc(var(--header-h) + 32px) clamp(60px, 9vh, 96px); }
/* the header already carries the logo on desktop */
.hero-wordmark { display: none; height: auto; aspect-ratio: 300 / 104; color: var(--pumice); overflow: visible; }
.hero-title {
  font-family: var(--ff-display); font-weight: 580;
  font-variation-settings: 'SOFT' 50, 'opsz' 144;
  font-size: clamp(2.5rem, .9rem + 3.3vw, 4.6rem);
  line-height: 1.02; letter-spacing: -.025em;
  margin: 0 0 .4em; max-width: 9em; color: var(--pumice);
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.hero .hero-title em { color: #F7C878; }
.hero-sub { font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem); line-height: 1.6; max-width: 30em; margin: 0 0 1.6em; color: rgba(244, 238, 227, .92); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero .btn-ghost-light { --bg: rgba(20, 17, 14, .5); }
.hero-more { margin-top: 1.2rem; }
.altimeter {
  position: absolute; z-index: 3;
  /* top-right, over wall and pines: clear of the sign and the door */
  right: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); top: calc(var(--header-h) + clamp(14px, 3vh, 32px));
  width: clamp(116px, 9.2vw, 136px); aspect-ratio: 1;
  border-radius: 50%;
  container-type: inline-size; /* text scales with the dial, never with the viewport */
  background: radial-gradient(circle at 50% 35%, #FFFBF3, var(--pumice) 70%);
  box-shadow: 0 18px 40px -18px rgba(27, 23, 20, .55), inset 0 0 0 1px rgba(27, 23, 20, .08);
  display: grid; place-items: center; color: var(--basalt);
}
.altimeter svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.alt-ticks { fill: none; stroke: var(--basalt); stroke-width: 4; stroke-dasharray: .8 7.37; opacity: .35; }
.alt-track { fill: none; stroke: var(--ash); stroke-width: 6; }
.alt-arc { fill: none; stroke: var(--terracotta); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 62.31; }
.alt-read { position: relative; text-align: center; line-height: 1; width: 58cqw; display: flex; flex-direction: column; align-items: center; }
.alt-figure { display: flex; align-items: baseline; justify-content: center; white-space: nowrap; }
.alt-num { font-family: var(--ff-display); font-weight: 650; font-size: 16.5cqw; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.alt-unit { font-family: var(--ff-display); font-style: italic; font-size: 9cqw; margin-left: 1.2cqw; }
.alt-label { display: block; margin-top: 3cqw; font-size: 5.4cqw; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.25; text-wrap: balance; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .5em; color: var(--pumice); text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.scroll-cue .ico { animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* mobile + tablet: photo first, text below (stacked) */
@media (max-width: 1099px) {
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-media { position: relative; inset: auto; height: clamp(300px, 56vh, 620px); margin-top: var(--header-h); }
  .hero-img { object-position: 49% 50%; }
  .hero-media::after { background: linear-gradient(0deg, rgba(27, 23, 20, 1) 0%, rgba(27, 23, 20, 0) 22%); }
  .hero-content { width: auto; justify-self: auto; align-self: auto; margin: 0; padding: 4px var(--gutter) 56px; max-width: 42rem; }
  .hero-wordmark { display: block; width: 140px; margin-bottom: 16px; }
  .hero-title { font-size: clamp(2.4rem, 1.2rem + 5vw, 4rem); max-width: 9.5em; }
  .hero .btn-ghost-light { --bg: transparent; }
  .altimeter { right: var(--gutter); top: 14px; width: 108px; }
  .scroll-cue { display: none; }
}
@media (max-width: 400px) {
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* ---------- dividers: Guanche bands (pintaderas, petroglyph spirals, cup-marks) ---------- */
.divider { height: 52px; background: var(--pumice) url("../img/guanche/band.svg") repeat-x center / auto 32px; }
.divider-calado { background-image: url("../img/guanche/band.svg"); }
.divider-dark { background-color: var(--basalt); background-image: url("../img/guanche/band-gold.svg"); }
.divider-balcony { background-image: url("../img/guanche/band-pine.svg"); }

/* ---------- 2 road ---------- */
.road { background: var(--pine); color: var(--pumice); overflow: hidden; }
.road-inner { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding-block: calc(var(--header-h) + 24px) 48px; }
.road .lead { color: rgba(244, 238, 227, .82); }
.road .eyebrow { color: var(--sun); }
.road-stops { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 1rem; }
.stop { display: grid; gap: .2rem; padding: 1rem 1.2rem; border-left: 3px solid var(--sun); background: rgba(244, 238, 227, .06); border-radius: 0 14px 14px 0; }
.stop strong { font-family: var(--ff-display); font-weight: 600; font-size: 1.35rem; line-height: 1.15; }
.stop span:last-child { color: rgba(244, 238, 227, .78); font-size: .97rem; }
.stop-time { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); }
.stop[data-stop="2"] { border-left-color: var(--terracotta); }
.stop[data-stop="2"] .stop-time { color: #F7AE8E; }
.road-cta { margin: 1.6rem 0 0; }
.road-map { margin: 0; width: 100%; max-width: 560px; justify-self: center; }
.road-map svg { width: 100%; height: auto; max-height: calc(100svh - var(--header-h) - 60px); overflow: visible; }
.map-sea { fill: var(--atlantic); opacity: .55; }
.map-wave { fill: none; stroke: rgba(244, 238, 227, .45); stroke-width: 1.5; stroke-linecap: round; }
.map-pines { fill: #3E7055; }
.map-teide path { fill: #CDB89A; }
.map-teide .snow { fill: var(--pumice); }
.route { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.route-ghost { stroke: rgba(244, 238, 227, .2); stroke-width: 6; stroke-dasharray: 2 8; }
.route-a, .route-b, .route-c { stroke: var(--sun); stroke-width: 5; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.route-c { stroke: #F3C46F; }
.map-place circle { fill: var(--pumice); }
.map-place text, .map-tito text, .map-road-label text { font-family: var(--ff-text); font-weight: 700; font-size: 15px; fill: var(--pumice); }
.map-place text.alt, .map-tito .alt { fill: var(--sun); font-size: 13px; font-weight: 800; }
.map-road-label rect { fill: var(--basalt); opacity: .75; }
.map-road-label text { font-size: 11px; font-weight: 800; text-anchor: middle; letter-spacing: .04em; }
.map-tito .dot { fill: var(--terracotta); stroke: var(--pumice); stroke-width: 2.5; }
.map-tito .pulse { fill: var(--terracotta); opacity: .35; transform-origin: 320px 400px; animation: pulse 2.4s ease-out 3; } /* finite: SVG animations repaint every frame */
.map-tito .tito-cutlery { fill: var(--pumice); }
.map-tito .tito-name { font-family: var(--ff-display); font-style: italic; font-size: 21px; font-weight: 600; }
@keyframes pulse { from { transform: scale(.6); opacity: .5; } to { transform: scale(1.8); opacity: 0; } }
.map-car { fill: #fff; stroke: var(--basalt); stroke-width: 2; opacity: 0; }
.motion-ready .map-car { opacity: 1; }

@media (max-width: 959px) {
  .road-inner { grid-template-columns: 1fr; min-height: 0; padding-block: clamp(64px, 12vw, 110px); }
  .road-map { max-width: 460px; }
  .road-map svg { max-height: none; }
}


/* ---------- 3 story ---------- */
.story { padding-block: clamp(80px, 12vw, 160px) clamp(64px, 9vw, 120px); }
.story-head { max-width: 820px; }
.story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; margin-top: clamp(24px, 4vw, 48px); }
.host { margin: 0; position: relative; }
.host-frame { position: relative; border-radius: 999px 999px 24px 24px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); outline: 1.5px solid var(--terracotta); outline-offset: 10px; margin: 12px; }
.host-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transition: transform 1.2s var(--ease); }
.host:hover .host-frame img { transform: scale(1.04); }
.host figcaption { margin-top: 1.4rem; font-family: var(--ff-display); font-style: italic; font-size: 1.05rem; color: var(--ink-soft); max-width: 24em; }
.story-body .lead { color: var(--basalt); font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); font-family: var(--ff-display); font-variation-settings: 'opsz' 36; line-height: 1.45; }
.timeline { --line: 1; list-style: none; padding: 0; margin: 2rem 0 0; position: relative; display: grid; gap: 1.6rem; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--terracotta); transform-origin: top; transform: scaleY(var(--line)); }
.timeline li { position: relative; padding-left: 40px; display: grid; gap: .15rem; }
.timeline strong { font-family: var(--ff-display); font-weight: 600; font-size: 1.45rem; line-height: 1.15; }
.timeline li > span:last-child { color: var(--ink-soft); }
.tl-dot { position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--pumice); border: 2px solid var(--terracotta); }
.timeline li:last-child .tl-dot { background: var(--terracotta); box-shadow: 0 0 0 5px rgba(181, 83, 47, .18); }
.day { margin-top: clamp(56px, 8vw, 110px); }
.day-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.day-card { background: var(--paper); border: 1px solid var(--ash); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 32px); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.day-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.day-ico { width: 44px; height: 44px; fill: none; stroke: var(--terracotta); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.day-ico-wide { width: 51px; } /* 28x24 pictogram: same visual height as its 24x24 neighbours */
.day-when { margin: .7rem 0 .4rem; font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pine-2); }
.day-text { margin: 0; }
.day-text em { font-family: var(--ff-display); font-size: 1.08em; color: var(--terracotta-d); }

@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .host { max-width: 340px; margin-inline: auto; justify-self: center; width: calc(100% - 32px); }
  .host figcaption { text-align: center; margin-inline: auto; }
  .day-grid { grid-template-columns: 1fr; }
}

/* ---------- 3b cyclists' stop: the wall ---------- */
.cyclists {
  background-color: #2B1F18;
  color: var(--pumice); padding-block: clamp(80px, 11vw, 150px); overflow: hidden;
}
.cyc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.cyclists .h2 em { color: var(--sun); }
.cyclists .lead { color: rgba(244, 238, 227, .86); }
.cyclists .lead em, .cyc-wall em { color: #F7C878; font-family: var(--ff-display); }
.cyc-wall { color: rgba(244, 238, 227, .86); max-width: 34em; margin: 0 0 1.6rem; }
/* brass plaque: typographic, no photos of the riders */
.plaque {
  position: relative; max-width: 25rem; margin: 1.9rem 0 1.7rem; padding: 1.15rem 1.6rem 1.1rem;
  border-radius: 8px; color: #2B1F18; text-align: center;
  background: linear-gradient(135deg, #F4D78F 0%, #E3B864 45%, #CB9A4A 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4), inset 0 0 0 6px rgba(120, 80, 30, .28), 0 18px 34px -18px rgba(0, 0, 0, .85);
}
.plaque::before, .plaque::after { content: ""; position: absolute; top: 11px; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFF6D8, #8A6526 70%); }
.plaque::before { left: 11px; }
.plaque::after { right: 11px; }
.plaque-k { margin: 0; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.plaque-names { margin: .45rem 0 .25rem; display: grid; gap: .1rem; font-family: var(--ff-display); font-weight: 650; font-variation-settings: 'opsz' 72; font-size: clamp(1.45rem, 1.1rem + 1.1vw, 1.95rem); line-height: 1.15; }
.plaque-more { margin: 0; font-family: var(--ff-display); font-style: italic; font-size: 1rem; }
/* photo wall: polaroids with a static tilt (the frames themselves never animate) */
.photo-wall { list-style: none; margin: 0; padding: 14px 4px 8px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 36px 26px; align-items: start; }
.photo-wall li:nth-child(1) { grid-column: 1 / 4; --r: -2.4deg; }
.photo-wall li:nth-child(2) { grid-column: 4 / 7; --r: 2deg; margin-top: 44px; }
.photo-wall li:nth-child(3) { grid-column: 1 / 5; --r: 1.4deg; }
.photo-wall li:nth-child(4) { grid-column: 5 / 7; --r: -2.2deg; margin-top: 22px; }
.polaroid { position: relative; margin: 0; padding: 10px 10px 0; background: var(--paper); border-radius: 3px; transform: rotate(var(--r, 0deg)); box-shadow: 0 22px 36px -20px rgba(0, 0, 0, .85); }
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.polaroid-wide img { aspect-ratio: 3 / 2; }
.polaroid figcaption { padding: 10px 6px 14px; text-align: center; font-family: var(--ff-display); font-style: italic; font-weight: 500; font-size: 1.02rem; line-height: 1.25; color: var(--basalt); }
.polaroid::before { content: ""; position: absolute; z-index: 1; top: -11px; left: 50%; width: 76px; height: 22px; margin-left: -38px; background: rgba(233, 214, 170, .8); transform: rotate(-4deg); }
.excursions { margin-top: clamp(56px, 8vw, 110px); padding-top: clamp(32px, 4vw, 52px); border-top: 1px solid rgba(244, 238, 227, .18); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 3fr) minmax(0, 4fr); gap: clamp(14px, 2vw, 26px); align-items: center; }
.exc-photo { margin: 0; border-radius: 16px; overflow: hidden; background: #3A2C23; }
.exc-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.exc-copy { padding-left: clamp(0px, 1.5vw, 16px); }
.exc-copy p { color: rgba(244, 238, 227, .86); margin: 0 0 1.2rem; }
@media (max-width: 960px) {
  .cyc-grid { grid-template-columns: 1fr; }
  .photo-wall { max-width: 640px; }
  .excursions { grid-template-columns: 1fr 1fr; }
  .exc-copy { grid-column: 1 / -1; padding-left: 0; }
}
@media (max-width: 600px) {
  .photo-wall { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .photo-wall li:nth-child(1) { grid-column: 1; }
  .photo-wall li:nth-child(2) { grid-column: 2; margin-top: 28px; }
  .photo-wall li:nth-child(3) { grid-column: 1 / -1; }
  .photo-wall li:nth-child(4) { display: none; }
  .polaroid figcaption { font-size: .95rem; }
}

/* ---------- 4 classics ---------- */
.classics { padding-block: clamp(72px, 10vw, 140px); }
.section-head { max-width: 820px; margin-bottom: clamp(28px, 4vw, 52px); }
.dish-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: clamp(14px, 2vw, 22px); }
.dish {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--ash); border-radius: var(--radius);
  padding: 22px 22px 20px; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.dish::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(233, 169, 58, .25), transparent 70%); transition: transform .6s var(--ease); }
.dish:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow); border-color: #d9c9ae; }
.dish:hover::after { transform: scale(1.6); }
.dish-ill { width: 76px; height: 76px; fill: none; stroke: var(--pine); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; transition: transform .6s var(--ease); }
.dish-ill .acc { stroke: var(--terracotta); }
.dish-ill .acc-fill { fill: var(--terracotta); stroke: none; }
.dish:hover .dish-ill { transform: rotate(-6deg) scale(1.06); }
.dish-name { font-family: var(--ff-display); font-style: italic; font-weight: 600; font-variation-settings: 'SOFT' 100, 'opsz' 72; font-size: 1.55rem; line-height: 1.1; margin: 0; }
.dish-sub { margin: .55rem 0 0; font-weight: 700; font-size: .9rem; color: var(--pine-2); }
.dish-gloss { margin: .7rem 0 1rem; color: var(--ink-soft); font-size: .96rem; }
.dish-gloss em { color: var(--basalt); }
.dish-price { margin: auto 0 0; align-self: flex-start; font-weight: 800; font-variant-numeric: tabular-nums; background: var(--pumice); border: 1px solid var(--ash); border-radius: 999px; padding: .3em .8em; }

/* ---------- 5 menu ---------- */
.menu { background: var(--ash); padding-block: clamp(72px, 10vw, 140px); }
.menu-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; margin-bottom: 1.8rem; }
.menu-head > div:first-child { max-width: 640px; }
.menu-intro { margin-bottom: 0; }
.menu-tools { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.menu-lang { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.menu-lang-label { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-right: 4px; }
.menu-lang button { border: 1px solid rgba(27, 23, 20, .2); background: var(--pumice); border-radius: 999px; padding: .38em .85em; font-size: .85rem; font-weight: 600; cursor: pointer; min-height: 36px; transition: background-color .25s, color .25s; }
.menu-lang button[aria-pressed="true"] { background: var(--basalt); color: var(--pumice); border-color: var(--basalt); }
.menu-lang button[lang="ru"] { font-family: var(--ff-text); }
.menu-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 12px; margin-bottom: 8px; scroll-snap-type: x proximity; }
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tabs [role="tab"] { flex: none; scroll-snap-align: start; border: 1.5px solid var(--pine); background: transparent; color: var(--pine); border-radius: 999px; padding: .55em 1.1em; font-weight: 700; cursor: pointer; min-height: 44px; transition: background-color .25s, color .25s, transform .25s var(--ease); }
.menu-tabs [role="tab"]:hover { transform: translateY(-2px); }
.menu-tabs [role="tab"][aria-selected="true"] { background: var(--pine); color: var(--pumice); }
.menu-panel { background: var(--paper); border-radius: var(--radius); padding: clamp(18px, 3vw, 40px); box-shadow: var(--shadow); }
.mi-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: clamp(28px, 5vw, 72px); }
.mi { break-inside: avoid; display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 0 .5rem; padding: .62rem 0; border-bottom: 1px dashed rgba(27, 23, 20, .12); }
.mi-name { font-weight: 600; line-height: 1.35; }
.mi-dots { border-bottom: 2px dotted rgba(27, 23, 20, .28); transform: translateY(-.3em); min-width: 12px; }
.mi-price { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--terracotta-d); }
.mi-orig { grid-column: 1 / -1; font-family: var(--ff-display); font-style: italic; font-size: .9rem; color: var(--ink-soft); line-height: 1.3; }
.mi-sig { width: 1.05em; height: 1.05em; margin-left: .35em; vertical-align: -.15em; fill: none; stroke: var(--sun); stroke-width: 2.2; stroke-linecap: round; }
.mi.is-chasna .mi-name::after { content: " ◆"; color: var(--terracotta); font-size: .7em; vertical-align: .15em; }
.menu[data-mlang="ru"] .mi-name, .menu[data-mlang="ru"] .menu-tabs [role="tab"], .menu[data-mlang="ru"] .wine-title { font-family: var(--ff-cyr); }
.menu[data-mlang="ru"] .menu-intro { font-family: var(--ff-cyr); font-style: italic; }
.wine-group + .wine-group { margin-top: 1.6rem; }
.wine-title { display: flex; align-items: center; gap: .5em; font-family: var(--ff-display); font-weight: 600; font-size: 1.3rem; margin: 0 0 .4rem; color: var(--pine); }
.menu-notes { margin-top: 1.4rem; font-size: .92rem; color: var(--ink-soft); display: grid; gap: .65rem; }
.menu-notes p { margin: 0; }
@media (max-width: 760px) {
  .mi-list { columns: 1; }
}

/* ---------- 5b by pre-order ---------- */
.preorder { padding-block: clamp(72px, 10vw, 140px); }
.preorder-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.preorder-photo { margin: 0; width: 100%; max-width: 460px; justify-self: center; border-radius: 999px 999px 24px 24px; overflow: hidden; box-shadow: var(--shadow); outline: 1.5px solid var(--terracotta); outline-offset: 10px; }
.preorder-photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 0%; }
.preorder-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .7rem; max-width: 36rem; }
.preorder-list li { display: flex; gap: .8rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--ash); border-radius: 14px; padding: .85rem 1rem; }
.preorder-list .ico { color: var(--terracotta); width: 1.5em; height: 1.5em; margin-top: .05em; }
.preorder-note { color: var(--ink-soft); max-width: 34em; margin: 0 0 1.4rem; }
.preorder-note strong { color: var(--basalt); }
@media (max-width: 860px) {
  .preorder-grid { grid-template-columns: 1fr; }
  .preorder-photo { max-width: 340px; width: calc(100% - 24px); }
}

/* ---------- 5c plan your stop: WhatsApp mini forms ---------- */
.plan { background: var(--pine); color: var(--pumice); padding-block: clamp(72px, 10vw, 140px); }
.plan .lead { color: rgba(244, 238, 227, .86); }
.plan .h2 em { color: #F7C878; }
.plan-head { margin-bottom: clamp(24px, 3.5vw, 44px); }
.plan-steps { list-style: none; margin: .4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem 1.6rem; }
.plan-steps li { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; }
.ps-n { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--basalt); font-size: .85rem; font-weight: 800; }
.plan-nojs { background: rgba(244, 238, 227, .08); border: 1px solid rgba(244, 238, 227, .22); border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); display: grid; gap: 1rem; justify-items: start; }
.plan-nojs p { margin: 0; max-width: 40em; }
.plan-app { display: none; }
.js .plan-app { display: block; }
.js .plan-nojs { display: none; }
.plan-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.plan-tabs [role="tab"] {
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .8rem; row-gap: .1rem; align-items: center; text-align: left;
  min-height: 64px; padding: .9rem 1.1rem; border-radius: 16px; cursor: pointer;
  border: 1.5px solid rgba(244, 238, 227, .4); background: rgba(244, 238, 227, .06); color: var(--pumice);
  transition: background-color .25s, color .25s, border-color .25s;
}
.plan-tabs [role="tab"]:hover { border-color: var(--sun); }
.plan-tabs [role="tab"] .ico { grid-row: 1 / 3; width: 1.7em; height: 1.7em; color: var(--sun); }
.pt-t { font-weight: 800; font-size: 1.02rem; line-height: 1.2; }
.pt-s { font-size: .84rem; line-height: 1.3; color: rgba(244, 238, 227, .82); }
.plan-tabs [aria-selected="true"] { background: var(--paper); border-color: var(--paper); color: var(--basalt); }
.plan-tabs [aria-selected="true"] .pt-s { color: var(--ink-soft); }
.plan-tabs [aria-selected="true"] .ico { color: var(--terracotta); }
.plan-panel { background: var(--paper); color: var(--basalt); border-radius: var(--radius); padding: clamp(18px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 4vw, 56px); align-items: start; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); scroll-margin-top: calc(var(--header-h) + 90px); }
.plan-panel[hidden] { display: none; }
.plan-panel:focus { outline: none; }
.pp-aside p { color: var(--ink-soft); margin: 0; }
.pp-aside em { color: var(--terracotta-d); font-family: var(--ff-display); }
/* form fields */
.pf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pf-wide { grid-column: 1 / -1; }
.pf-field { display: grid; gap: 6px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.pf-field > label, .pf-field > legend { font-weight: 700; font-size: .92rem; line-height: 1.3; color: var(--basalt); padding: 0; }
.pf-opt { font-weight: 500; color: var(--ink-soft); }
.pf-field :is(input, select, textarea) {
  width: 100%; min-height: 50px; padding: .65rem .9rem; margin: 0;
  font: inherit; font-size: 1rem; color: var(--basalt); background: #fff;
  border: 1.5px solid rgba(27, 23, 20, .55); border-radius: 12px;
}
.pf-field textarea { min-height: 78px; resize: vertical; line-height: 1.45; }
.pf-field :is(input, select, textarea):focus-visible { outline: 3px solid var(--sun); outline-offset: 1px; border-color: var(--basalt); border-radius: 12px; }
.pform [aria-invalid="true"] { border-color: #B3202A; background-color: #FFF5F4; }
.pf-err { margin: 0; color: #A61E27; font-size: .88rem; font-weight: 700; line-height: 1.35; }
.pf-err-block { margin: 8px 0 0; }
.pf-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pf-chips > legend { float: left; width: 100%; margin-bottom: 4px; }
.pf-chips > .pf-err { flex-basis: 100%; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; margin: 0; }
.chip span { display: inline-flex; align-items: center; gap: .4em; min-height: 46px; padding: .5rem 1.05rem; border-radius: 999px; border: 1.5px solid rgba(27, 23, 20, .55); background: #fff; font-weight: 700; line-height: 1.2; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover span { border-color: var(--pine); }
.chip input:checked + span { background: var(--pine); border-color: var(--pine); color: var(--pumice); }
.chip input:checked + span::before { content: "\2713"; font-weight: 800; }
.chip input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.pf-chips[aria-invalid="true"] .chip span { border-color: #B3202A; }
/* picnic picker */
.pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; }
.pick > .note { grid-column: 1 / -1; margin: 0; }
.pick-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.pick-group > legend { padding: 0; margin-bottom: 4px; font-family: var(--ff-display); font-weight: 600; font-size: 1.3rem; line-height: 1.2; color: var(--pine); }
.pick-group > legend small { font-family: var(--ff-text); font-size: .8rem; font-weight: 700; color: var(--ink-soft); margin-left: .35em; }
.pick-list { list-style: none; margin: 0; padding: 0; }
.pick-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 7px 6px; border-bottom: 1px dashed rgba(27, 23, 20, .16); border-radius: 8px; }
.pick-row.has-qty { background: rgba(233, 169, 58, .16); }
.pick-name { display: block; font-weight: 700; line-height: 1.25; }
.pick-meta { display: block; margin-top: 2px; font-size: .86rem; line-height: 1.3; color: var(--ink-soft); }
.pick-meta i { font-family: var(--ff-display); }
.pick-meta b { color: var(--terracotta-d); font-weight: 800; font-variant-numeric: tabular-nums; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid rgba(27, 23, 20, .55); border-radius: 999px; background: #fff; }
.stepper button { width: 44px; height: 44px; border: 0; padding: 0; background: transparent; border-radius: 999px; cursor: pointer; display: grid; place-items: center; color: var(--pine); }
.stepper button:hover { background: rgba(31, 59, 45, .1); }
.stepper button .ico { width: 18px; height: 18px; stroke-width: 2.4; }
.stepper input { width: 2.2em; height: 44px; padding: 0; border: 0; text-align: center; font: inherit; font-weight: 800; color: var(--basalt); background: transparent; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pick-total { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .3rem 1rem; margin: 14px 0 22px; padding: 12px 16px; border-radius: 14px; background: var(--ash); font-weight: 700; }
.pick-total strong { font-family: var(--ff-display); font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.pf-price { margin: 16px 0 0; color: var(--ink-soft); }
.pf-price strong { color: var(--basalt); }
.pf-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.pf-hint { margin: 0; flex: 1 1 15em; max-width: 30em; font-size: .88rem; color: var(--ink-soft); }
.pf-preview { margin-top: 14px; }
.pf-preview summary { cursor: pointer; padding: .6rem 0; font-weight: 700; color: var(--pine-2); }
.pf-preview-text { margin: 4px 0 0; padding: 12px 14px; white-space: pre-wrap; overflow-wrap: anywhere; background: #E6F1E8; border-radius: 12px; font-size: .92rem; line-height: 1.5; color: var(--basalt); }
.pf-status { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #E6F1E8; font-weight: 700; color: var(--pine); }
.pf-status:empty { display: none; }
.pf-status a { color: var(--pine); }
@media (max-width: 900px) {
  .plan-panel { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .pick { grid-template-columns: 1fr; }
  .plan-tabs [role="tab"] { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: .35rem; padding: .75rem .35rem; }
  .plan-tabs [role="tab"] .ico { grid-row: auto; }
  .pt-s { display: none; }
  .pt-t { font-size: .9rem; }
  .plan-tabs { gap: 8px; }
}
@media (max-width: 420px) {
  .pf-grid { grid-template-columns: 1fr; }
  .plan-panel { padding: 18px 14px; }
}

/* ---------- 6 place ---------- */
.place { background: var(--pumice); padding-bottom: clamp(72px, 10vw, 140px); }
.place-hero { position: relative; height: clamp(420px, 78vh, 760px); overflow: hidden; display: flex; align-items: flex-end; color: var(--pumice); }
.place-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.place-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 23, 20, 0) 25%, rgba(27, 23, 20, .55) 60%, rgba(27, 23, 20, .85) 100%), linear-gradient(90deg, rgba(27, 23, 20, .7), rgba(27, 23, 20, .25) 55%, transparent 75%); }
.place-hero-text { position: relative; z-index: 2; padding-bottom: clamp(28px, 5vw, 64px); }
.place-hero .h2 { text-shadow: 0 2px 30px rgba(0, 0, 0, .3); max-width: 12em; }
.place-hero .h2 em { color: #F7C878; }
.place-lead { margin-top: clamp(36px, 5vw, 64px); color: var(--basalt); font-family: var(--ff-display); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.4; max-width: 34em; font-variation-settings: 'opsz' 48; }
.facts { list-style: none; padding: 0; margin: clamp(28px, 4vw, 52px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.fact { border-top: 2px solid var(--basalt); padding-top: 1.1rem; }
.fact-ico { width: 40px; height: 40px; fill: none; stroke: var(--pine-2); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.fact h3 { font-family: var(--ff-display); font-weight: 600; font-size: 1.35rem; line-height: 1.15; margin: .6rem 0 .4rem; }
.fact p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.fact em { color: var(--basalt); }
.chasna { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(56px, 8vw, 110px); }
.chasna-img { margin: 0; transform: rotate(-2deg); background: var(--paper); padding: 12px 12px 40px; box-shadow: var(--shadow); border-radius: 6px; transition: transform .6s var(--ease); }
.chasna-img:hover { transform: rotate(0); }
.chasna-img img { width: 100%; border-radius: 2px; }
.chasna-text p { color: var(--ink-soft); }
.chasna-text strong { color: var(--basalt); }
@media (max-width: 960px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .chasna { grid-template-columns: 1fr; } .chasna-img { max-width: 420px; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* ---------- 7 luck ---------- */
.luck { background: var(--basalt); color: var(--pumice); padding-bottom: clamp(72px, 10vw, 140px); overflow: hidden; }
.luck::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 75% 30%, rgba(29, 94, 140, .35), transparent 70%), radial-gradient(40% 40% at 15% 80%, rgba(233, 169, 58, .12), transparent 70%); pointer-events: none; }
.luck-pin { position: relative; }
.luck-inner { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: calc(var(--header-h) + 24px) 32px; }
.luck .lead { color: rgba(244, 238, 227, .82); }
.luck .lead em { color: var(--sun); font-family: var(--ff-display); }
.luck .h2 em { color: var(--sun); }
/* décimo in the look of the original 2018 Christmas ticket (no barcode, signature or official marks) */
.ticket {
  --gold: #B8941F; --gold-l: #E7D28A; --ink: #2E2B28;
  position: relative; width: min(100%, 620px); justify-self: center;
  border-radius: 6px;
  background: #FCF9EF; color: var(--ink);
  transform: rotate(-2deg);
  box-shadow: 0 30px 80px rgba(233, 169, 58, .3), 0 2px 0 rgba(0, 0, 0, .08);
  container-type: inline-size;
}
.t-grid { display: grid; grid-template-columns: 28% minmax(0, 1fr) 17%; gap: 3.2cqw; padding: 3.2cqw; }
.t-art { margin: 0; display: flex; flex-direction: column; gap: 1.4cqw; min-width: 0; }
.t-art img { width: 100%; height: auto; aspect-ratio: 433 / 631; object-fit: cover; border: 1px solid #C9B98A; }
.t-art figcaption { font-size: 2.1cqw; line-height: 1.3; color: #4A4540; }
.t-main { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0; text-align: center; }
.reels { display: flex; justify-content: center; gap: 0; margin: 0 0 1.6cqw; font-family: var(--ff-display); font-weight: 900; font-variation-settings: 'SOFT' 0, 'WONK' 0, 'opsz' 9; font-size: 12.4cqw; color: #3B3936; line-height: 1.1; letter-spacing: -.01em; }
.reel { display: inline-block; height: 1.1em; overflow: hidden; text-align: center; }
.strip { display: block; font-variant-numeric: tabular-nums lining-nums; }
.strip span { display: block; height: 1.1em; }
.t-title { margin: 0; font-family: var(--ff-text); font-weight: 800; font-size: 3.8cqw; line-height: 1.1; letter-spacing: .01em; text-transform: uppercase; color: var(--gold); }
.t-date { margin: 1.8cqw 0 0; font-weight: 700; font-size: 2.9cqw; color: var(--ink); }
.t-foot { margin: 2.6cqw 0 0; }
.ticket-prize { font-family: var(--ff-display); font-style: italic; font-weight: 600; font-size: 3cqw; color: #6B4E12; }
.ticket-sold { position: absolute; right: -1cqw; bottom: -1.5cqw; display: inline-block; font-size: 2.3cqw; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tito-red); border: 2px solid var(--tito-red); padding: .35em .6em; border-radius: 6px; transform: rotate(-8deg); background: rgba(252, 249, 239, .85); }
.t-side { display: flex; flex-direction: column; align-items: stretch; gap: 1.6cqw; min-width: 0; }
.t-box, .t-oval, .t-price { display: grid; place-items: center; border: 2px solid var(--gold-l); background: #FFFDF5; font-weight: 700; color: var(--ink); text-align: center; }
.t-box { border-radius: 1.4cqw; min-height: 7.5cqw; font-size: 2.5cqw; padding: .6cqw; }
.t-draw { font-size: 3.6cqw; font-weight: 600; }
.t-oval { border-radius: 50%; aspect-ratio: 1 / .82; font-size: 2.5cqw; align-content: end; padding-bottom: 2cqw; }
.t-price { border-radius: 2cqw; padding: 1.6cqw .6cqw; gap: .2cqw; background: radial-gradient(circle at 50% 45%, #FFF7D6, #F5E6B0); border-color: var(--gold); }
.t-price small { font-size: 2.4cqw; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.t-price b { font-family: var(--ff-text); font-size: 8.5cqw; font-weight: 800; line-height: 1; }
@container (max-width: 420px) { .t-art figcaption { display: none; } }

.luck-more { max-width: 760px; margin-top: clamp(40px, 6vw, 80px); }
.luck-more > p:first-child { font-family: var(--ff-display); font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.5; }
.luck-ask { display: flex; gap: .7rem; align-items: flex-start; background: rgba(233, 169, 58, .12); border: 1px solid rgba(233, 169, 58, .4); border-radius: 14px; padding: 1rem 1.2rem; }
.luck-ask .ico { color: var(--sun); width: 1.5em; height: 1.5em; margin-top: .05em; }
.luck .small { color: rgba(244, 238, 227, .8); }
.luck-gallery { list-style: none; padding: 0; margin: clamp(32px, 5vw, 56px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px); }
.luck-gallery figure { margin: 0; }
.luck-gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; transform: rotate(var(--r, -1.5deg)); transition: transform .5s var(--ease), box-shadow .5s; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .8); }
.luck-gallery li:nth-child(2n) img { --r: 1.5deg; }
.luck-gallery li:hover img { transform: rotate(0) scale(1.03); box-shadow: 0 22px 40px -18px rgba(233, 169, 58, .6); }
.luck-gallery figcaption { margin-top: .7rem; font-size: .85rem; font-weight: 700; color: rgba(244, 238, 227, .9); }
@media (max-width: 959px) {
  .luck-inner { grid-template-columns: 1fr; min-height: 0; padding-block: clamp(72px, 12vw, 120px) 24px; }
}
@media (max-width: 760px) { .luck-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 8 events ---------- */
.events { padding-block: clamp(80px, 11vw, 150px); overflow: hidden; }
.events-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.services { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.services li { display: flex; gap: .6rem; align-items: center; font-weight: 600; background: var(--paper); border: 1px solid var(--ash); border-radius: 14px; padding: .75rem .9rem; transition: transform .35s var(--ease), border-color .3s; }
.services li:hover { transform: translateX(4px); border-color: var(--terracotta); }
.services .ico { color: var(--terracotta); width: 1.4em; height: 1.4em; }
.speak { display: flex; flex-wrap: wrap; align-items: center; gap: .45em; font-weight: 700; margin: 0 0 1.4rem; }
.speak .ico { color: var(--pine-2); width: 1.4em; height: 1.4em; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.events-photos { position: relative; aspect-ratio: 1 / 1.02; }
.events-photos .ph { position: absolute; margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: var(--ash); }
.events-photos img { width: 100%; height: 100%; object-fit: cover; }
.ph-1 { left: 0; top: 0; width: 72%; height: 66%; z-index: 1; }
.ph-2 { right: 0; top: 30%; width: 50%; height: 40%; z-index: 2; border: 6px solid var(--pumice); }
.ph-3 { left: 14%; bottom: 0; width: 48%; height: 34%; z-index: 3; border: 6px solid var(--pumice); }
@media (max-width: 900px) {
  .events-grid { grid-template-columns: 1fr; }
  .events-photos { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .events-photos .ph { position: relative; inset: auto; width: auto; height: auto; border: 0; }
  .ph-1 { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .ph-2, .ph-3 { aspect-ratio: 4 / 3; }
}
@media (max-width: 420px) { .services { grid-template-columns: 1fr; } }

/* ---------- 9 visit ---------- */
.visit { padding-block: clamp(72px, 10vw, 140px); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(16px, 2.4vw, 28px); align-items: stretch; }
.visit-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 320px; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.visit .section-head .lead { margin-bottom: 0; }
.visit-cards { display: grid; gap: clamp(12px, 1.6vw, 18px); }
.vcard { margin: 0; font-style: normal; background: var(--paper); border: 1px solid var(--ash); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: .6rem; list-style: none; }
.vcard > .ico { width: 1.6em; height: 1.6em; color: var(--terracotta); }
.vcard-open { background: var(--pine); color: var(--pumice); border-color: var(--pine); grid-template-columns: auto 1fr; align-items: center; }
.vcard-open .ico { color: var(--sun); width: 2em; height: 2em; }
.vcard-big { margin: 0; font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); line-height: 1.15; }
.contact-list li { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.contact-list .ico { color: var(--terracotta); }
.contact-list a { font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(27, 23, 20, .25); overflow-wrap: anywhere; }
.contact-list a:hover { border-color: var(--terracotta); color: var(--terracotta-d); }
.tag { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--ash); padding: .2em .55em; border-radius: 999px; }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } .visit-photo { min-height: 0; aspect-ratio: 16 / 9; } }

/* ---------- 10 footer ---------- */
.site-footer { position: relative; background: var(--basalt); color: var(--pumice); padding: clamp(56px, 7vw, 96px) 0 calc(96px + env(safe-area-inset-bottom)); margin-top: clamp(110px, 15.3vw, 220px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 2rem; align-items: start; }
.footer-wordmark { width: min(300px, 80%); height: auto; aspect-ratio: 300 / 104; color: var(--pumice); --wm-accent: #E2373F; }
.footer-brand p { color: rgba(244, 238, 227, .7); margin: 1rem 0 0; font-family: var(--ff-display); font-style: italic; font-size: 1.1rem; }
.footer-nav { display: grid; gap: .5rem; }
.footer-nav a, .footer-legal a { text-decoration: none; font-weight: 600; }
.footer-nav a:hover, .footer-legal a:hover { color: var(--sun); }
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.footer-legal a { font-size: .9rem; color: rgba(244, 238, 227, .88); }
.footer-legal .small { flex-basis: 100%; color: rgba(244, 238, 227, .78); margin: .6rem 0 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 150;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: .55rem;
  height: 56px; min-width: 56px; padding: 0 18px 0 16px;
  border-radius: 999px; background: #1D7A45; color: #fff;
  text-decoration: none; font-weight: 800; font-size: .95rem;
  box-shadow: 0 14px 30px -10px rgba(16, 70, 40, .65);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #1D7A45; animation: ring 2.8s ease-out 4 1.5s; }
.wa-float .ico { width: 26px; height: 26px; stroke-width: 1.6; }
.wa-float:hover { transform: translateY(-3px) scale(1.03); background: #166338; }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.35); opacity: 0; } }
@media (max-width: 700px) {
  .wa-float { padding: 0; width: 56px; justify-content: center; }
  .wa-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- mobile + tablet: sticky action bar replaces the floating WhatsApp pill ---------- */
.action-bar { display: none; }
@media (max-width: 1099px) {
  .wa-float { display: none; }
  .action-bar {
    position: fixed; z-index: 150; left: 0; right: 0; bottom: 0;
    display: flex; justify-content: center; gap: 8px;
    padding: 8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    background: var(--basalt); border-top: 1px solid rgba(244, 238, 227, .14);
    transition: transform .35s var(--ease);
  }
  .action-bar.is-hidden { transform: translateY(110%); }
  .ab-btn { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; padding: 0 .8rem; border-radius: 999px; border: 1.5px solid rgba(244, 238, 227, .45); color: var(--pumice); text-decoration: none; font-weight: 800; font-size: .95rem; white-space: nowrap; }
  .ab-btn .ico { width: 1.25em; height: 1.25em; }
  .ab-primary { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
  .ab-wa { flex: 0 0 48px; padding: 0; background: #1D7A45; border-color: #1D7A45; color: #fff; }
  .ab-wa .ico { width: 24px; height: 24px; }
  html { scroll-padding-bottom: 80px; }
}
@media (min-width: 640px) and (max-width: 1099px) {
  .ab-btn { flex: 0 1 230px; }
  .ab-wa { flex: 0 0 48px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- lockup "since 1999" stamp + timeline years ---------- */
.wm .wm-since { font-family: var(--ff-text); font-weight: 800; font-size: 10.5px; letter-spacing: 2.2px; fill: currentColor; opacity: .75; }
.wm .wm-year { font-family: var(--ff-display); font-style: italic; font-weight: 600; font-size: 25px; fill: var(--terracotta); }
.footer-wordmark .wm-year { fill: var(--sun); }
.tl-year { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-d); }

/* performance: the few elements that move every scroll frame get their own compositor layer */
.motion-ready .place-img, .motion-ready [data-parallax], .motion-ready .strip, .motion-ready .ticket { will-change: transform; }

/* ---------- lottery reminders ---------- */
.hero-lotto { display: inline-flex; align-items: center; gap: .5em; margin: 0 0 1.1rem; padding: .45em .95em; border-radius: 999px; background: rgba(20, 17, 14, .62); border: 1px solid rgba(233, 169, 58, .65); color: #F7C878; font-size: .82rem; font-weight: 700; letter-spacing: .03em; text-decoration: none; transition: background-color .25s, color .25s; }
.hero-lotto:hover { background: var(--sun); color: var(--basalt); }
.hero-lotto .ico { width: 1.25em; height: 1.25em; }
.lotto-call { margin-top: 1.6rem; padding: 1.1rem 1.3rem 1rem; border-radius: 16px; background: rgba(233, 169, 58, .1); border: 1px solid rgba(233, 169, 58, .45); max-width: 34rem; }
.lotto-badge { display: inline-block; margin-bottom: .75rem; padding: .38em .75em; border-radius: 6px; background: var(--sun); color: var(--basalt); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.lotto-text { margin: 0; font-family: var(--ff-display); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.45; color: var(--pumice); }
.lotto-text em { color: var(--sun); }
.lotto-resp { margin: .6rem 0 0; font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: rgba(244, 238, 227, .82); }
.vcard-lotto { grid-template-columns: auto 1fr; align-items: start; border-color: rgba(233, 169, 58, .55); background: #FBF1DC; }
.vcard-lotto .ico { color: var(--terracotta-d); }
.vcard-lotto p { margin: 0; display: grid; gap: .25rem; }
.vcard-lotto strong { font-family: var(--ff-display); font-size: 1.15rem; line-height: 1.2; }
.footer-lotto { display: flex; align-items: center; gap: .5em; font-size: .88rem; color: rgba(244, 238, 227, .88); }
.footer-lotto .ico { color: var(--sun); flex: none; }
/* confetti: short-lived canvas, removed after the burst */
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 99; }
.ticket { cursor: pointer; }

/* ---------- 1b Google reviews ---------- */
.reviews { padding-block: clamp(64px, 9vw, 120px); background: var(--pumice); }
.reviews-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.rv-title { font-family: var(--ff-display); font-weight: 560; font-variation-settings: 'SOFT' 60, 'opsz' 144; font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); line-height: 1.08; letter-spacing: -.02em; margin: .3em 0 .45em; text-wrap: balance; }
.rv-title em { font-style: italic; color: var(--terracotta-d); }
.rv-stars { position: relative; display: block; width: 148px; height: 28px; margin-bottom: .9rem; }
.stars { position: absolute; top: 0; left: 0; height: 100%; display: flex; gap: 2px; overflow: hidden; }
.stars svg, .rv-card-stars svg { flex: none; fill: currentColor; stroke: none; }
.stars svg { width: 28px; height: 28px; }
.stars-bg { width: 100%; color: var(--ash); }
.stars-fg { width: 89.5%; color: var(--sun); } /* 4.5 of 5 */
.rv-note { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.rv-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.5rem; }
.rv-card { margin: 0; background: var(--paper); border: 1px solid var(--ash); border-radius: var(--radius); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: .8rem; }
.rv-card-stars { display: flex; gap: 2px; color: var(--sun); }
.rv-card-stars svg { width: 18px; height: 18px; }
.rv-card blockquote { margin: 0; display: grid; gap: .6rem; }
.rv-quote { margin: 0; font-family: var(--ff-display); font-size: 1.12rem; line-height: 1.45; }
.rv-orig { margin: 0; font-size: .8rem; line-height: 1.45; font-style: italic; color: var(--ink-soft); }
.rv-orig:empty { display: none; }
.rv-who { margin: auto 0 0; padding-top: .3rem; font-weight: 700; font-size: .9rem; }
.rv-who span { font-weight: 600; color: var(--ink-soft); }
.btn-review { --bg: var(--terracotta); }
@media (max-width: 1099px) {
  .reviews-inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  }

/* reviews ribbon: full width, moving left → right; pauses on hover/focus/button, off-screen and for reduced motion */
.reviews-inner { display: block; }
.rv-score { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(24px, 4vw, 64px); }
.rv-score > * { grid-column: 1; }
.rv-score > .rv-ctas { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin: 0 0 .9rem; }
.rv-marquee { position: relative; overflow: hidden; margin-top: clamp(28px, 4vw, 48px); padding-block: 6px 12px; }
.rv-marquee::before, .rv-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: clamp(24px, 6vw, 96px); z-index: 2; pointer-events: none; }
.rv-marquee::before { left: 0; background: linear-gradient(90deg, var(--pumice), rgba(244, 238, 227, 0)); }
.rv-marquee::after { right: 0; background: linear-gradient(270deg, var(--pumice), rgba(244, 238, 227, 0)); }
.rv-track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; }
.rv-track .rv-card { flex: none; width: clamp(270px, 26vw, 340px); margin: 0 9px; }
.rv-marquee.is-ready .rv-track { animation: rv-move var(--rv-dur, 60s) linear infinite; will-change: transform; }
@keyframes rv-move { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
.rv-marquee:hover .rv-track, .rv-marquee:focus-within .rv-track, .rv-marquee.is-paused .rv-track, .rv-marquee.is-offscreen .rv-track { animation-play-state: paused; }
.rv-controls { display: flex; justify-content: flex-end; margin-top: 8px; }
.rv-pause { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(27, 23, 20, .25); background: var(--paper); color: var(--basalt); display: grid; place-items: center; cursor: pointer; transition: background-color .25s, color .25s; }
.rv-pause:hover { background: var(--basalt); color: var(--pumice); }
.rv-pause .i-play, .rv-pause[aria-pressed="true"] .i-pause { display: none; }
.rv-pause[aria-pressed="true"] .i-play { display: block; }
.rv-pause .i-play { fill: currentColor; stroke: none; }
@media (prefers-reduced-motion: reduce) {
  .rv-marquee.is-ready .rv-track { animation: none; }
  .rv-marquee { overflow-x: auto; }
  .rv-controls { display: none; }
}
@media (max-width: 860px) {
  .rv-score { grid-template-columns: 1fr; }
  .rv-score > .rv-ctas { grid-column: 1; grid-row: auto; margin: 1.2rem 0 0; }
}

/* ---------- footer skyline: Teide + Pico Viejo, traced from the owner's sunset photo ---------- */
.footer-teide { position: absolute; left: 0; bottom: calc(100% - 1px); width: 100%; height: clamp(110px, 15.3vw, 220px); display: block; overflow: visible; pointer-events: none; }
.ft-back { fill: #3E3438; }
.ft-front { fill: var(--basalt); }
.ft-ridge { fill: none; stroke: var(--sun); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; opacity: .85; vector-effect: non-scaling-stroke; }
.ft-labels text { font-family: var(--ff-text); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; fill: var(--terracotta-d); }
@media (max-width: 760px) { .ft-labels { display: none; } }
/* review photo: full-bleed on top of its card */
.rv-card.has-photo { padding-top: 0; overflow: hidden; }
.rv-photo { align-self: stretch; margin: 0 -22px .3rem; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ash); }
.rv-photo img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
