/* Aylesva Global Estates — design system
   Tokens come from the live aylesva.com/pages/globalestates page:
   ink #050508, navy #020617, gold #C5A47E, Cormorant Garamond + Manrope, ✦ ◈ ornaments. */

:root {
  --ink: #050508;
  --navy: #020617;
  --navy-2: #0b1430;
  --gold: #c5a47e;
  --gold-deep: #9c7c55;   /* gold for text on light backgrounds (passes AA at 18px+) */
  --gold-soft: #efe5d8;
  --crimson: #ad2337;     /* logo colour */
  --paper: #ffffff;
  --sand: #f7f3ee;
  --sand-2: #efe8df;
  --text: #15151a;
  --muted: #5d5a57;
  --line: rgba(5, 5, 8, .09);
  --line-strong: rgba(5, 5, 8, .16);
  --ok: #2f7a4f;
  --warn: #b26b00;
  --wa: #25d366;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-1: 0 1px 2px rgba(5,5,8,.06), 0 4px 14px rgba(5,5,8,.05);
  --shadow-2: 0 2px 6px rgba(5,5,8,.06), 0 18px 48px rgba(5,5,8,.12);
  --shadow-gold: 0 10px 30px rgba(197,164,126,.35);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.display, h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; line-height: 1.04; margin: 0; }
h1, .h1 { font-size: clamp(44px, 7vw, 92px); }
h2, .h2 { font-size: clamp(34px, 4.6vw, 60px); }
h3, .h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--gold-deep); }
.on-dark h1 em, .on-dark h2 em, .on-dark h3 em { color: var(--gold); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 60ch; }
.on-dark .lead { color: rgba(255,255,255,.74); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before { content: "✦"; letter-spacing: 0; font-size: 11px; }
.on-dark .eyebrow { color: var(--gold); }
.small { font-size: 13px; color: var(--muted); }
.fine { font-size: 12px; line-height: 1.55; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.on-dark { background: var(--navy); color: #fff; }
.on-sand { background: var(--sand); }
.stack > * + * { margin-top: var(--s, 16px); }
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 56px); }
.head .lead { margin: 14px 0 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); cursor: pointer;
  font: 700 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  transition: transform .4s var(--spring), box-shadow .3s var(--ease), background .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.gold { --bg: var(--gold); --fg: var(--ink); }
.btn.gold:hover { box-shadow: var(--shadow-gold); }
.btn.ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-strong); }
.on-dark .btn.ghost, .btn.ghost.light { --fg: #fff; border-color: rgba(255,255,255,.35); }
.btn.wa { --bg: var(--wa); --fg: #fff; }
.btn.sm { min-height: 40px; padding: 0 18px; font-size: 12px; }
.btn.block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link { font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link:hover { color: var(--gold-deep); }

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255,255,255,.9); color: var(--ink); backdrop-filter: blur(8px);
}
.chip.dark { background: rgba(2,6,23,.82); color: #fff; }
.chip.gold { background: var(--gold); color: var(--ink); }
.chip.line { background: transparent; border: 1px solid var(--line-strong); }
.chip.pronto { background: var(--gold-soft); color: var(--gold-deep); }
.chip.demo { background: #fff4e0; color: var(--warn); }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; transition: background .4s var(--ease), box-shadow .4s, color .4s;
  color: #fff;
}
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.hdr.solid, body.light-hdr .hdr { background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 30px; width: auto; transition: filter .4s; }
.hdr:not(.solid) .brand img { filter: brightness(0) invert(1); }
body.light-hdr .hdr .brand img { filter: none; }
.hdr.solid.dark { background: rgba(2,6,23,.78); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.hdr.solid.dark .brand img { filter: brightness(0) invert(1); }
.hdr.dark .lang button[aria-pressed="true"] span { color: var(--ink); }
.brand .sub { font: 700 10px/1.1 var(--sans); letter-spacing: .28em; text-transform: uppercase; opacity: .8; border-left: 1px solid currentColor; padding-left: 12px; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; opacity: .9; transition: background .3s, opacity .3s; }
.nav a:hover, .nav a[aria-current] { background: rgba(127,127,127,.14); opacity: 1; }
.hdr-actions { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; border: 1px solid currentColor; border-radius: 999px; padding: 3px; opacity: .85; }
.lang button { background: none; border: 0; padding: 5px 10px; border-radius: 999px; font: 700 11px/1 var(--sans); letter-spacing: .12em; cursor: pointer; }
.lang button[aria-pressed="true"] { background: currentColor; }
.lang button[aria-pressed="true"] span { color: var(--paper); mix-blend-mode: normal; }
.hdr:not(.solid) .lang button[aria-pressed="true"] span { color: var(--ink); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; border-radius: 2px; transition: transform .4s var(--ease); }
@media (max-width: 980px) {
  .nav, .hdr-actions .btn { display: none; }
  .burger { display: block; }
  .brand .sub { display: none; }
}
.drawer {
  position: fixed; inset: 0; z-index: 60; background: var(--navy); color: #fff;
  display: flex; flex-direction: column; padding: 96px var(--gutter) 32px; gap: 6px;
  transform: translateY(-100%); transition: transform .6s var(--ease); visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer a.big { font: 600 38px/1.2 var(--serif); padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.drawer .close { position: absolute; top: 14px; right: var(--gutter); background: none; border: 0; color: #fff; font-size: 30px; width: 48px; height: 48px; cursor: pointer; }

/* Preview ribbon (removed at launch) */
.preview-bar { position: fixed; z-index: 70; left: 14px; bottom: 14px; opacity: .85; background: var(--ink); color: #fff; font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow-2); display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.preview-bar b { color: var(--gold); }

/* ---------- Floating help ---------- */
.help-fab { position: fixed; z-index: 55; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 10px; align-items: end; }
.help-fab a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--wa); color: #fff; width: 56px; height: 56px; padding: 0; border-radius: 999px; box-shadow: var(--shadow-2); font-weight: 700; font-size: 14px; transition: transform .4s var(--spring); }
.help-fab a:hover { transform: translateY(-3px); }
.help-fab a.human { display: none; }
.help-fab svg { width: 28px; height: 28px; }
.help-fab a span { display: none; }
@media (max-width: 640px) { .help-fab a.human { display: none; } .preview-bar { font-size: 10px; padding: 8px 12px; } .help-fab a span { display: none; } .help-fab a { width: 52px; padding: 0; justify-content: center; } }

/* ---------- Cards ---------- */
.card { background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow-1); overflow: hidden; border: 1px solid var(--line); }
.prop {
  position: relative; display: block; border-radius: var(--r); overflow: hidden; background: var(--paper);
  box-shadow: var(--shadow-1); border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.prop:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.prop .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-2); }
.prop .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.prop:hover .ph img { transform: scale(1.06); }
.prop .tags { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.prop .save { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; cursor: pointer; transition: transform .4s var(--spring); }
.prop .save:hover { transform: scale(1.1); }
.prop .save[aria-pressed="true"] svg { fill: var(--crimson); stroke: var(--crimson); }
.prop .body { padding: 18px 20px 20px; }
.prop .loc { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.prop .ttl { font: 600 26px/1.1 var(--serif); margin: 6px 0 10px; }
.prop .row { display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.prop .price { font-weight: 800; font-size: 19px; }
.prop .mo { font-size: 13px; color: var(--muted); }
.prop .facts { display: flex; gap: 14px; font-size: 13px; color: var(--muted); margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }

/* ---------- Seal (Sello Aylesva) ---------- */
.seal { display: inline-flex; align-items: center; gap: 8px; }
.seal svg { width: 34px; height: 34px; }
.seal .lbl { font: 700 11px/1.15 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.seal .lbl small { display: block; font-weight: 600; letter-spacing: .04em; text-transform: none; font-size: 11px; opacity: .75; }
.seal-ring .seg { fill: none; stroke-width: 5; stroke-linecap: round; }
.seal-ring .seg.off { stroke: rgba(127,127,127,.25); }
.seal-ring .seg.on { stroke: var(--gold); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 13px; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: #fff; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(197,164,126,.22); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.check input { width: 20px; height: 20px; accent-color: var(--ink); margin-top: 1px; flex: none; }
.choice-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.choice {
  position: relative; display: flex; flex-direction: column; gap: 6px; text-align: left;
  padding: 18px; border-radius: var(--r); border: 1px solid var(--line-strong); background: #fff; cursor: pointer;
  transition: border-color .25s, transform .4s var(--spring), box-shadow .3s;
}
.choice:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); }
.choice[aria-pressed="true"], .choice:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.choice .ic { font-size: 22px; }
.choice b { font-size: 15px; }
.choice span { font-size: 13px; color: var(--muted); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: rgba(255,255,255,.72); padding: 72px 0 120px; font-size: 14px; }
.ftr .cols { display: grid; gap: 32px; grid-template-columns: 1.4fr repeat(3, 1fr); }
@media (max-width: 860px) { .ftr .cols { grid-template-columns: 1fr 1fr; } .ftr .cols > :first-child { grid-column: 1 / -1; } }
.ftr h4 { margin: 0 0 14px; color: #fff; font: 700 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ftr a:hover { color: var(--gold); }
.ftr .legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: 12px; font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.62); }
.ftr .legal .row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.eho { display: inline-flex; align-items: center; gap: 8px; }
.eho svg { width: 26px; height: 26px; }

/* ---------- Motion ---------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- Sheets / dialogs ---------- */
.sheet-bg { position: fixed; inset: 0; z-index: 80; background: rgba(2,6,23,.55); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.sheet-bg.open { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; z-index: 81; left: 50%; bottom: 0; width: min(640px, 100%); max-height: 92vh; overflow: auto;
  background: #fff; border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 28px clamp(20px, 4vw, 40px) 32px;
  transform: translate(-50%, 105%); transition: transform .6s var(--ease); box-shadow: var(--shadow-2);
}
.sheet.open { transform: translate(-50%, 0); }
@media (min-width: 720px) { .sheet { bottom: auto; top: 50%; border-radius: var(--r-lg); transform: translate(-50%, -40%) scale(.96); opacity: 0; transition: transform .6s var(--ease), opacity .4s; } .sheet.open { transform: translate(-50%, -50%); opacity: 1; } }
.sheet .grab { width: 44px; height: 5px; border-radius: 3px; background: var(--line-strong); margin: -12px auto 18px; }
@media (min-width: 720px) { .sheet .grab { display: none; } }
.sheet .x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sand); cursor: pointer; font-size: 20px; }
.progress { height: 4px; background: var(--sand-2); border-radius: 4px; overflow: hidden; }
.progress i { display: block; height: 100%; width: var(--p, 0%); background: linear-gradient(90deg, var(--gold), var(--gold-deep)); transition: width .6s var(--ease); }

/* Toast */
.toast { position: fixed; z-index: 90; left: 50%; top: 18px; transform: translate(-50%, -140%); background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 14px; box-shadow: var(--shadow-2); font-weight: 600; font-size: 14px; transition: transform .6s var(--spring); max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); }
.toast b { color: var(--gold); }

/* Legend box for coming-soon securities */
.legend { border: 1px solid var(--line-strong); border-left: 3px solid var(--gold); border-radius: 12px; padding: 16px 18px; background: #fffdf9; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.on-dark .legend { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); border-left-color: var(--gold); color: rgba(255,255,255,.7); }

/* Coast art */
.coast-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.coast-art .sw { fill: none; stroke: rgba(197,164,126,.13); stroke-width: 1; animation: swell 9s ease-in-out infinite alternate; animation-delay: calc(var(--k) * -.8s); }
@keyframes swell { from { transform: translateX(-18px); } to { transform: translateX(18px); } }
.coast-art .cl { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 3.2s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.coast-art .pulse { transform-origin: 562px 430px; animation: pulse 2.6s infinite var(--ease); }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }

/* ================= Wow layer ================= */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .45s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); filter: blur(4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }
::view-transition-group(*) { animation-duration: .7s; animation-timing-function: var(--ease); }

.grain { position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } }

.intro { position: fixed; inset: 0; z-index: 300; background: var(--navy); display: grid; place-items: center; transition: clip-path 1s var(--ease); clip-path: inset(0 0 0 0); }
.intro.out { clip-path: inset(0 0 100% 0); }
.intro .in { display: grid; justify-items: center; gap: 14px; }
.intro img { height: 46px; width: auto; filter: brightness(0) invert(1); opacity: 0; animation: introFade .8s .1s var(--ease) forwards; }
.intro i { display: block; height: 1px; width: 0; background: var(--gold); animation: introLine .9s .3s var(--ease) forwards; }
.intro span { font: 700 11px/1 var(--sans); letter-spacing: .5em; color: var(--gold); opacity: 0; animation: introFade .8s .55s var(--ease) forwards; }
@keyframes introFade { to { opacity: 1; } }
@keyframes introLine { to { width: 180px; } }

.cur { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; width: 0; height: 0; opacity: 0; transition: opacity .3s; }
.cur.on { opacity: 1; }
.cur span { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--gold); display: grid; place-items: center;
  font: 800 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); transition: all .45s var(--spring); backdrop-filter: blur(2px); }
.cur.act span { left: -22px; top: -22px; width: 44px; height: 44px; background: rgba(197,164,126,.14); }
.cur.view span { left: -40px; top: -40px; width: 80px; height: 80px; background: var(--gold); border-color: var(--gold); }
@media (pointer: fine) { .btn { transition: transform .35s var(--ease), box-shadow .3s, background .3s; } }

.prop { transform-style: preserve-3d; will-change: transform; transition: transform .5s var(--ease), box-shadow .6s var(--ease); }
.prop::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.35), transparent 45%); mix-blend-mode: soft-light; }
.prop:hover::after { opacity: 1; }

/* gold shimmer for accent words */
.shimmer { background: linear-gradient(100deg, var(--gold) 20%, #fff3dc 40%, var(--gold) 60%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: shim 5s 1.6s var(--ease) infinite; }
@keyframes shim { 0% { background-position: 120% 0; } 45%, 100% { background-position: -120% 0; } }

/* editorial marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; background: var(--paper); }
.marquee .tr { display: flex; width: max-content; animation: mq 38s linear infinite; }
.marquee span { font: 500 italic clamp(40px, 6vw, 84px)/1 var(--serif); padding-right: 48px; white-space: nowrap; color: var(--ink); }
.marquee span.o { color: transparent; -webkit-text-stroke: 1px var(--gold-deep); font-style: normal; }
.marquee span::after { content: "✦"; font-style: normal; font-size: .4em; color: var(--gold); vertical-align: middle; margin-left: 48px; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Map tiles (OpenStreetMap, no key): soften to the brand palette */
.leaflet-tile-pane { filter: grayscale(1) sepia(.18) contrast(.92) brightness(1.04); }
.leaflet-container { background: #f1ede7; font-family: var(--sans); }

/* Cookie banner */
.cookie { position: fixed; z-index: 120; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 760px; background: var(--ink); color: rgba(255,255,255,.85); border-radius: 18px; padding: 16px 18px; display: flex; gap: 16px; align-items: center; box-shadow: var(--shadow-2); font-size: 13.5px; animation: pop .7s var(--spring); }
.cookie p { margin: 0; flex: 1; } .cookie b { color: #fff; } .cookie a { color: var(--gold); text-decoration: underline; }
.cookie > div { display: flex; gap: 8px; flex: none; }
@media (max-width: 640px) { .cookie { flex-direction: column; align-items: stretch; } .cookie > div > * { flex: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
/* Mobile header: language switch lives in the menu */
@media (max-width: 640px) { .hdr .lang { display: none; } }
.drawer .lang { display: inline-flex; margin-top: 18px; color: #fff; align-self: start; }
.has-ic { color: var(--gold-deep); }
.on-dark .has-ic, .proof .has-ic, .unlock .has-ic { color: var(--gold); }
.ic-svg { display: inline-block; vertical-align: middle; flex: none; }
.cookie .btn.ghost { --fg: #fff; border-color: rgba(255,255,255,.35); }
