/* Layout: one vertical drone journey. Each band is a time of day (sky, day, sunset,
   night, luxe, stars); sky dividers blend one hour into the next. Single designed
   world on purpose: colors are set explicitly per band, not by the viewer's theme. */
:root {
  color-scheme: light;
  /* hours of the journey */
  --sky-top: #cfe0ec;
  --sky-low: #eef3f4;
  --ivory: #f6f2ea;
  --day: #fbf7ef;
  --sunset: #f3dcc2;
  --sunset2: #e9c6aa;
  --night: #121a2c;
  --luxe: #16120f;
  --stars: #0c0f19;
  --ink-bg: #1c1814;
  --ink-bg2: #221d18;
  /* text */
  --ink: #2c2520;
  --ink-soft: #66594f;
  --on-dark: #ece4d6;
  --on-dark-soft: #b9ad9c;
  /* brand */
  --gold: #dccaa0;
  --gold-deep: #7a6636;
  --gold-glow: #e6c98a;
  --pink: #e88fae;
  --blue: #76addb;
  --wa: #1f7a4c;
  /* type */
  --display: "Frank Ruhl Libre", "David Libre", "Times New Roman", serif;
  --body: "Assistant", "Segoe UI", "Arial Hebrew", Arial, sans-serif;
  --fs-h1: clamp(2.6rem, 6.6vw, 5.6rem);
  --fs-h2: clamp(2.1rem, 4.6vw, 3.8rem);
  --fs-h3: clamp(1.45rem, 2.2vw, 1.9rem);
  --fs-lead: clamp(1.1rem, 1.5vw, 1.3rem);
  /* layout */
  --maxw: 1240px;
  --radius: 24px;
  --band-pad: clamp(64px, 9vw, 128px);
  --header-h: 64px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html { overflow-x: clip; } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
  overflow-x: clip;
  overscroll-behavior-x: none;
}
/* paints the phone's top safe-area band above the sticky header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--sky-top); }
img, video { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; line-height: 1.08; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
section { scroll-margin-top: calc(var(--header-h) + 8px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; padding: 8px 14px; border-radius: 10px; background: var(--ink); color: var(--gold); }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 8px); }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 640px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
.band { position: relative; padding-block: var(--band-pad); background: var(--sec-bg); color: var(--sec-fg); }

/* hours: each band sets its own palette */
.t-sky    { --sec-bg: linear-gradient(180deg, var(--sky-top) 0%, #e2ecf1 55%, var(--sky-low) 100%); --sec-fg: var(--ink); --sec-soft: var(--ink-soft); --sec-line: rgba(44,37,32,.18); --sec-accent: var(--gold-deep); }
.t-ivory  { --sec-bg: var(--ivory); --sec-fg: var(--ink); --sec-soft: var(--ink-soft); --sec-line: rgba(44,37,32,.18); --sec-accent: var(--gold-deep); }
.t-day    { --sec-bg: var(--day); --sec-fg: var(--ink); --sec-soft: var(--ink-soft); --sec-line: rgba(44,37,32,.16); --sec-accent: var(--gold-deep); }
.t-sunset { --sec-bg: linear-gradient(180deg, var(--sunset) 0%, #f0d2b6 100%); --sec-fg: #2e241d; --sec-soft: #6a5444; --sec-line: rgba(46,36,29,.2); --sec-accent: #7a5a2e; }
.t-sunset2{ --sec-bg: linear-gradient(180deg, #f0d2b6 0%, var(--sunset2) 100%); --sec-fg: #2e241d; --sec-soft: #6a5444; --sec-line: rgba(46,36,29,.2); --sec-accent: #7a5a2e; }
.t-night  { --sec-bg: var(--night); --sec-fg: var(--on-dark); --sec-soft: var(--on-dark-soft); --sec-line: rgba(220,202,160,.24); --sec-accent: var(--gold); color-scheme: dark; }
.t-luxe   { --sec-bg: radial-gradient(70% 50% at 50% 0%, #2a2117 0%, var(--luxe) 70%); --sec-fg: var(--on-dark); --sec-soft: var(--on-dark-soft); --sec-line: rgba(220,202,160,.24); --sec-accent: var(--gold); color-scheme: dark; }
.t-stars  { --sec-bg: var(--stars); --sec-fg: var(--on-dark); --sec-soft: var(--on-dark-soft); --sec-line: rgba(220,202,160,.24); --sec-accent: var(--gold); color-scheme: dark; }
.t-ink    { --sec-bg: var(--ink-bg); --sec-fg: var(--on-dark); --sec-soft: var(--on-dark-soft); --sec-line: rgba(220,202,160,.22); --sec-accent: var(--gold); color-scheme: dark; }
.t-ink2   { --sec-bg: var(--ink-bg2); --sec-fg: var(--on-dark); --sec-soft: var(--on-dark-soft); --sec-line: rgba(220,202,160,.22); --sec-accent: var(--gold); color-scheme: dark; }

/* the hour change happens inside the clouds */
.sky-divider {
  position: relative;
  height: clamp(90px, 14vw, 180px);
  background: linear-gradient(180deg, var(--from) 0%, var(--to) 100%);
  overflow: hidden;
}
.sky-divider::before, .sky-divider::after {
  content: ""; position: absolute; inset: -40% 0;
  background-size: 140% 100%; background-repeat: no-repeat;
  background:
    radial-gradient(18% 34% at 12% 55%, rgba(255,255,255,.55), transparent 70%),
    radial-gradient(22% 40% at 34% 45%, rgba(255,255,255,.45), transparent 70%),
    radial-gradient(20% 36% at 58% 58%, rgba(255,255,255,.5), transparent 70%),
    radial-gradient(24% 42% at 82% 48%, rgba(255,255,255,.42), transparent 70%);
  filter: blur(6px);
  animation: drift 60s linear infinite;
  mix-blend-mode: soft-light;
}
.sky-divider::after { inset: -20% 0 -60% 0; opacity: .7; animation-duration: 90s; animation-direction: reverse; }
@keyframes drift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ---------- type ---------- */
h1 { font-size: var(--fs-h1); font-weight: 300; }
h1 b { display: block; font-weight: 700; }
h2 { font-size: var(--fs-h2); font-weight: 400; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
.lead { font-size: var(--fs-lead); max-width: 34em; color: var(--sec-fg); }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 600; font-size: .98rem; letter-spacing: .02em; color: var(--sec-accent); }
.hour { display: inline-block; padding: .15em .7em; border: 1px solid currentColor; border-radius: 999px; font-size: .82rem; letter-spacing: .06em; }
.small { font-size: .95rem; color: var(--sec-soft); }
.tbc { display: inline-block; padding: 0 .45em; border-radius: 6px; background: rgba(214, 160, 40, .2); color: inherit; font-weight: 700; font-size: .9em; white-space: nowrap; }
.sim-note { font-size: .9rem; color: var(--sec-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.6em;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 1.05rem var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.btn-solid:hover { background: transparent; color: var(--ink); }
.btn-gold { background: var(--gold); color: #1c1814; border-color: var(--gold); }
.btn-gold:hover { background: transparent; color: var(--gold); }
.btn-wa { background: var(--wa); color: #fff; border-color: var(--wa); }
.btn-wa::before { content: ""; width: 1.05em; height: 1.05em; flex: none; background: currentColor; -webkit-mask: var(--wa-icon) center/contain no-repeat; mask: var(--wa-icon) center/contain no-repeat; }
.btn-wa:hover { background: #17633d; border-color: #17633d; }
.btn-quiet { background: transparent; color: var(--sec-fg); border-color: var(--sec-fg); }
.btn-quiet:hover { background: var(--sec-fg); color: var(--sec-bg, var(--ivory)); }
.t-sunset .btn-quiet:hover, .t-sunset2 .btn-quiet:hover, .t-sky .btn-quiet:hover { color: var(--ivory); }
.btn-quiet-dark { background: transparent; color: var(--on-dark); border-color: rgba(236,228,214,.6); }
.btn-quiet-dark:hover { background: var(--on-dark); color: #1c1814; }
.btn-sm { min-height: 40px; padding: .4em 1.1em; font-size: .98rem; }
.btn-lg { min-height: 56px; padding: .8em 2em; font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.center { justify-content: center; }
:root { --wa-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.9c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.8 11.9 11.9 0 0 0 4.6 4c1.7.7 2.4.8 3.2.7.5-.1 1.5-.6 1.8-1.2.2-.6.2-1.1.1-1.2l-.4-.1Z'/%3E%3C/svg%3E"); }

.chip {
  min-height: 44px; padding: .4em 1.1em;
  border: 1px solid var(--sec-line, rgba(44,37,32,.25)); border-radius: 999px;
  background: transparent; color: var(--sec-fg, var(--ink));
  font: 600 1rem var(--body); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--sec-accent); }
.chip[aria-pressed="true"] { background: var(--sec-fg); color: var(--sec-bg-solid, var(--ivory)); border-color: var(--sec-fg); }
.t-night .chip[aria-pressed="true"], .t-luxe .chip[aria-pressed="true"], .t-ink .chip[aria-pressed="true"], .t-stars .chip[aria-pressed="true"], .film .chip[aria-pressed="true"], .lightbox .chip[aria-pressed="true"] { background: var(--gold); color: #1c1814; border-color: var(--gold); }
.chip-pink[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); color: #2c1820; }
.chip-blue[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #10202e; }
.link-btn { justify-self: start; padding: .3em 0; border: 0; background: none; color: var(--sec-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.link-btn::before { content: "▶ "; font-size: .8em; text-decoration: none; }
.switch, .filters { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(238, 243, 244, .78);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(44,37,32,.08);
  transition: background-color .4s, color .4s, border-color .4s;
}
.top.is-dark { background: rgba(18, 20, 28, .82); color: var(--on-dark); border-color: rgba(220,202,160,.16); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); max-width: var(--maxw); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.logo-slot { display: inline-flex; align-items: center; min-width: 120px; min-height: 40px; text-decoration: none; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: .22em; white-space: nowrap; }
/* rider-and-pulse mark from the brand film, after the name; takes the header text colour */
.logo-slot { gap: 10px; }
.brand-mark { flex: none; height: 30px; width: auto; aspect-ratio: 440 / 260; color: currentColor; }
.top.is-dark .brand-mark { color: var(--gold-glow); }
.nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.nav a { font-size: 1rem; text-decoration: none; padding-block: 6px; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: currentColor; }
.nav-label { display: none; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 12px; background: transparent; cursor: pointer; place-items: center; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: ""; transition: transform .2s; }
.menu-icon::before { position: absolute; top: -6px; }
.menu-icon::after { position: absolute; top: 6px; }
.menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- media frames ---------- */
.media {
  position: relative; overflow: hidden; width: 100%; max-width: 100%;
  border-radius: var(--radius);
  background: var(--ph, linear-gradient(160deg, #e9e2d6, #d9cfbf));
  isolation: isolate;
}
.r-9x16 { aspect-ratio: 9 / 16; }
.r-4x5 { aspect-ratio: 4 / 5; }
.r-3x2 { aspect-ratio: 3 / 2; }
.r-1x1 { aspect-ratio: 1 / 1; }
.media > img, .media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media[data-zoom] { cursor: zoom-in; }
.media[data-zoom]:focus-visible { outline-offset: 4px; }
.ph { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: clamp(14px, 3%, 22px); color: var(--ph-fg, rgba(44,37,32,.72)); }
.ph::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 40% at 30% 25%, rgba(255,255,255,.35), transparent 70%),
  radial-gradient(50% 35% at 75% 70%, rgba(255,255,255,.18), transparent 70%); }
.ph-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .08em; opacity: .8; }
.ph-label { font-family: var(--display); font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.25; }
.r-1x1 .ph-label { font-size: .98rem; }
.sim-badge, .media-badge { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2; padding: .1em .65em; border-radius: 999px; background: rgba(20,17,14,.62); color: #f3ead9; font-size: .78rem; font-weight: 600; letter-spacing: .04em; }
.play-badge { position: absolute; inset: 0; margin: auto; z-index: 2; width: 64px; height: 64px; border: 0; border-radius: 50%; background: rgba(20,17,14,.55); color: #fff; font-size: 1.3rem; cursor: pointer; }
.media.is-hidden { display: none; }

/* placeholder tint follows the hour */
.t-sky .media    { --ph: linear-gradient(170deg, #f7f4ec 0%, #dbe7ee 55%, #c3d6e3 100%); }
.t-ivory .media  { --ph: linear-gradient(160deg, #efe7da, #d8ccb8); }
.t-day .media    { --ph: linear-gradient(160deg, #fbeef2 0%, #f3ead9 50%, #e5eef6 100%); }
.t-sunset .media, .t-sunset2 .media { --ph: linear-gradient(170deg, #f6c9a0 0%, #e7a58a 55%, #9b7aa0 100%); --ph-fg: rgba(40,24,18,.78); }
.t-night .media  { --ph: linear-gradient(170deg, #26304a 0%, #18203a 60%, #3a2c1e 100%); --ph-fg: rgba(236,228,214,.82); }
.t-luxe .media, .t-ink .media, .t-stars .media { --ph: radial-gradient(70% 60% at 50% 30%, #3b2f22 0%, #1d1813 75%); --ph-fg: rgba(236,228,214,.8); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(36px, 7vw, 96px) clamp(48px, 8vw, 110px); overflow: hidden; }
.sky-clouds { position: absolute; inset: 0; pointer-events: none; opacity: .85; background:
  radial-gradient(26% 16% at 18% 22%, rgba(255,255,255,.85), transparent 70%),
  radial-gradient(30% 18% at 70% 14%, rgba(255,255,255,.75), transparent 70%),
  radial-gradient(34% 20% at 45% 70%, rgba(255,255,255,.6), transparent 70%),
  radial-gradient(28% 16% at 88% 62%, rgba(255,255,255,.65), transparent 70%);
  background-size: 140% 100%; background-repeat: no-repeat;
  filter: blur(8px); animation: drift 80s linear infinite alternate; }
/* hills + powder canvas (js/scenes.js); sits under the content, above the clouds */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.hero-media { justify-self: center; width: min(100%, 380px); }
/* Passe-partout frame: a thin glass mat with a gold hairline, the film set inside it */
.hero-frame {
  position: relative; padding: 9px; border-radius: 34px;
  background: linear-gradient(160deg, rgba(255,255,255,.55), rgba(255,255,255,.18));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow:
    0 0 0 1px rgba(196, 164, 104, .55),
    0 2px 0 rgba(255,255,255,.7) inset,
    0 40px 80px -24px rgba(24, 32, 44, .45),
    0 18px 36px -18px rgba(24, 32, 44, .35);
}
.hero-frame::after { /* inner gold hairline around the film */
  content: ""; position: absolute; inset: 8px; border-radius: 26px; pointer-events: none; z-index: 3;
  box-shadow: inset 0 0 0 1px rgba(230, 201, 138, .55);
}
.hero-frame .media { border-radius: 26px; background: #14110e; }
.hero-frame .media > video { transform: scale(1.002); }
/* soft vignette so the controls read on any frame; gold hairline on films outside the hero frame */
.media.has-sound::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,8,6,.22) 0%, transparent 18%, transparent 72%, rgba(10,8,6,.5) 100%);
}
.media.has-sound { box-shadow: inset 0 0 0 1px rgba(230, 201, 138, .5); }
.hero-frame .media.has-sound { box-shadow: none; }
.hero-frame .sim-badge { top: 14px; inset-inline-start: 14px; background: rgba(20,17,14,.38); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(243,234,217,.22); font-weight: 500; font-size: .72rem; letter-spacing: .08em; }

/* tap-for-sound */
.sound-hit { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 22px; border: 0; background: transparent; cursor: pointer; color: #f6f2ea; -webkit-tap-highlight-color: transparent; }
.sound-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 14px; border-radius: 999px;
  background: rgba(20,17,14,.42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(230,201,138,.45); font-size: .86rem; font-weight: 600; letter-spacing: .03em;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: background .25s, opacity .4s, transform .25s;
}
.sound-pill svg { width: 18px; height: 18px; flex: none; color: var(--gold-glow); }
.sound-hit:hover .sound-pill { background: rgba(20,17,14,.6); transform: translateY(-1px); }
.sound-hit:focus-visible { outline: none; }
.sound-hit:focus-visible .sound-pill { outline: 2px solid var(--gold-glow); outline-offset: 3px; }
.media:not(.sound-on) .sound-pill { animation: sound-breathe 2.8s ease-in-out infinite; }
@keyframes sound-breathe { 0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,.25), 0 0 0 0 rgba(230,201,138,.0); } 50% { box-shadow: 0 8px 24px rgba(0,0,0,.25), 0 0 0 6px rgba(230,201,138,.18); } }
/* once the sound is on, the pill shrinks to a quiet icon in the corner */
.sound-on .sound-hit { align-items: flex-start; justify-content: flex-end; padding: 14px; }
.sound-on .sound-pill { padding: 8px; gap: 0; opacity: .85; }
.sound-on .sound-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* thin gold progress line */
.film-progress { position: absolute; left: 18px; right: 18px; bottom: 10px; z-index: 2; height: 2px; border-radius: 2px; background: rgba(246,242,234,.22); overflow: hidden; pointer-events: none; }
.film-progress i { display: block; height: 100%; background: linear-gradient(90deg, #c9a86a, #efd9a6); transform-origin: left; transform: scaleX(0); transition: transform .3s linear; }
[dir="rtl"] .film-progress i { transform-origin: right; }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
}
@media (max-width: 639px) {
  .hero-media { width: min(86%, 330px); }
}

/* ---------- promise ---------- */
.promise-grid { display: grid; align-items: center; }
.promise-media { grid-area: 1 / 1; }
.promise-card { grid-area: 1 / 1; }
.card { background: var(--ink); color: #e9e3d9; border-radius: var(--radius); padding: clamp(26px, 4vw, 48px); }
.card h2, .card h3 { color: var(--gold); font-weight: 700; }
.promise-card { display: grid; gap: 16px; box-shadow: 0 24px 60px rgba(44,37,32,.28); }
.vows { display: grid; gap: 6px; font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.55rem); }
.vows li::before { content: "— "; color: var(--gold); }
@media (min-width: 1024px) {
  .promise-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  /* RTL: column 1 is the right edge. Photo takes the right 8 columns, card overlaps on the left. */
  .promise-media { grid-area: 1 / 1 / 2 / 9; }
  .promise-card { grid-area: 1 / 8 / 2 / 13; z-index: 1; }
}
@media (max-width: 1023px) {
  .promise-media { grid-area: 1 / 1; }
  .promise-card { grid-area: 2 / 1; margin: -48px 16px 0; position: relative; }
}

/* ---------- services ---------- */
.service-grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
.service-copy { display: grid; gap: 22px; min-width: 0; align-content: start; }
.service-media { display: grid; gap: 14px; min-width: 0; width: min(100%, 520px); justify-self: center; }
@media (min-width: 1024px) {
  .service-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .service.flip .service-copy { order: 2; }
  .service.flip .service-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
@media (max-width: 1023px) {
  .service-media { order: -1; }
}
.packages { display: grid; }
.package { display: grid; gap: 8px; padding-block: 22px; border-top: 1px solid var(--sec-line); }
.package:last-of-type { border-bottom: 1px solid var(--sec-line); }
.package .tag { font-size: .92rem; font-weight: 700; color: var(--sec-accent); }
.addon { justify-self: start; padding: .35em .9em; border-radius: 12px; background: rgba(44,37,32,.08); font-size: .98rem; }
.addons { display: flex; flex-wrap: wrap; gap: 8px; }
.t-night .addon, .t-luxe .addon { background: rgba(220,202,160,.12); }
.tbc-line { padding-top: 14px; font-size: .95rem; color: var(--sec-soft); }
.pkg-note { padding-top: 14px; font-size: .92rem; color: var(--sec-soft); }
.pkg-terms { display: grid; gap: 4px; margin: 0; padding-inline-start: 1.1em; font-size: .92rem; color: var(--sec-soft); }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.thumbs.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.thumbs .media { border-radius: 16px; }

/* gender reveal demo card (js/scenes.js) */
.rev-demo {
  display: grid; gap: 14px 24px; align-items: center; justify-items: center; text-align: center;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--sec-line); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(251,238,242,.75) 0%, rgba(255,255,255,.6) 50%, rgba(229,238,246,.75) 100%);
}
.wheel-canvas { display: block; width: min(100%, 260px); aspect-ratio: 1 / 1; }
.rev-demo-copy { display: grid; gap: 10px; justify-items: center; min-width: 0; }
.rev-demo h3 { font-size: 1.3rem; }
.rev-answer { min-height: 1.3em; font: 700 clamp(1.8rem, 3.4vw, 2.6rem)/1.2 var(--display); color: var(--sec-fg); }
.rev-answer.is-pink { color: #b03a6b; }
.rev-answer.is-blue { color: #2c6aa0; }
.rev-demo .btn:disabled { opacity: .6; cursor: progress; }
@media (min-width: 640px) {
  .rev-demo { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); justify-items: start; text-align: start; }
  .rev-demo-copy { justify-items: start; }
}

/* ---------- display ---------- */
.display .wrap { display: grid; gap: clamp(28px, 4vw, 48px); }
.display-head { display: grid; gap: 14px; justify-items: center; text-align: center; }
.display-head h2 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 300; color: var(--gold); letter-spacing: .01em; }
.display-sub { font-family: var(--display); font-size: clamp(1.25rem, 2.4vw, 1.8rem); max-width: 26em; }
.badge { display: inline-block; padding: .35em 1.1em; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold); font-weight: 700; letter-spacing: .04em; }
.display .filters { justify-content: center; }
.mosaic { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mosaic .big { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
@media (min-width: 1024px) {
  .mosaic { grid-template-columns: 2fr 1fr; width: 100%; max-width: 960px; margin-inline: auto; }
  .mosaic .big { grid-column: 1; grid-row: span 2; aspect-ratio: auto; }
}
.mosaic .media { box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.media.is-void { display: none; }
.mosaic[data-count="2"] .media:not(.big):not(.is-void) { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.mosaic[data-count="1"] .big { grid-column: 1 / -1; }
@media (min-width: 1024px) {
  /* two images: one row, the large one sets the height and the other stretches to match */
  .mosaic[data-count="2"] { grid-template-columns: 3fr 2fr; }
  .mosaic[data-count="2"] .big { grid-row: auto; aspect-ratio: 1 / 1; }
  .mosaic[data-count="2"] .media:not(.big):not(.is-void) { grid-column: 2; grid-row: auto; aspect-ratio: auto; }
  .mosaic[data-count="1"] .big { grid-row: auto; aspect-ratio: 16 / 9; }
}
.display-info { display: grid; gap: 28px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--sec-line); border-radius: var(--radius); }
@media (min-width: 768px) { .display-info { grid-template-columns: 1fr 1fr; } }
.display-info h3 { color: var(--gold); margin-bottom: 10px; }
.ticks { display: grid; gap: 8px; }
.ticks li { position: relative; padding-inline-start: 1.4em; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .62em; width: .55em; height: .55em; border-radius: 50%; border: 1.5px solid var(--sec-accent, var(--gold)); }

/* ---------- finale ---------- */
.finale { text-align: center; overflow: hidden; padding-block: clamp(80px, 12vw, 160px); }
.star-field { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(120% 60% at 50% 115%, rgba(230,201,138,.45) 0%, rgba(230,201,138,.08) 45%, transparent 70%),
  radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 42%, #fff 50%, transparent 51%),
  radial-gradient(1.5px 1.5px at 44% 12%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 61% 30%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 77% 16%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 88% 38%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 8% 52%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 53% 48%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 35% 25%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 70% 55%, #fff 50%, transparent 51%); }
.finale-in { position: relative; display: grid; gap: 18px; justify-items: center; }
.finale-logo { width: clamp(96px, 14vw, 168px); height: auto; aspect-ratio: 440 / 260; color: var(--gold-glow); filter: drop-shadow(0 0 18px rgba(230, 201, 138, .35)); margin-bottom: 4px; }
.finale-mark { max-width: 100%; overflow-wrap: anywhere; font-family: var(--display); font-weight: 300; font-size: clamp(1.9rem, 7vw, 5.2rem); letter-spacing: clamp(.06em, 1.2vw, .16em); color: var(--gold-glow); line-height: 1.1; }
.finale-slogan { font-family: var(--display); font-style: italic; font-size: clamp(1.1rem, 2.2vw, 1.6rem); color: var(--on-dark); }
.finale .actions { margin-top: 18px; }
/* finale WhatsApp: white button that sits quietly on the night sky; the icon keeps the WhatsApp green */
.finale .btn-wa { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.finale .btn-wa::before { background: var(--wa); }
.finale .btn-wa:hover { background: #fff; border-color: var(--gold-glow); }

/* ---------- gallery ---------- */
.gallery .wrap { display: grid; gap: 24px; }
.gallery-head { display: grid; gap: 8px; }
.grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid .media { border-radius: 16px; }

/* ---------- how + safety ---------- */
.how-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 1024px) { .how-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.how h2 { margin-bottom: 26px; }
.steps { counter-reset: step; display: grid; gap: 22px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: baseline; }
.steps li::before { content: counter(step); grid-row: span 2; font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--gold); }
.steps h3 { font-size: 1.3rem; color: var(--on-dark); }
.steps p { color: var(--sec-soft); }
.safety { background: rgba(255,255,255,.04); border: 1px solid var(--sec-line); display: grid; gap: 14px; }

/* ---------- faq ---------- */
.faq-in { display: grid; gap: 24px; max-width: 900px; }
.faq-list { display: grid; }
details { border-top: 1px solid var(--sec-line); }
details:last-child { border-bottom: 1px solid var(--sec-line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding-block: 12px; cursor: pointer; font-weight: 600; font-size: 1.1rem; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; color: var(--gold); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 16px; color: var(--sec-soft); max-width: 40em; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.contact-copy { display: grid; gap: 18px; justify-items: start; align-content: start; }
.contact h2 { color: var(--gold); }
.phone { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 1.15rem; }
.num { font-weight: 700; letter-spacing: .03em; user-select: all; }
a.num { text-decoration: none; border-bottom: 1px solid var(--sec-line); }
a.num:hover { color: var(--gold); border-bottom-color: currentColor; }
.copy-btn { min-height: 44px; padding: .2em .9em; border: 1px solid var(--sec-line); border-radius: 999px; background: transparent; color: var(--sec-fg); cursor: pointer; font-size: .92rem; }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
label { font-size: 1rem; }
input, select, textarea {
  width: 100%; min-height: 48px; padding: .65em .9em;
  border: 1px solid rgba(220,202,160,.45); border-radius: 12px;
  background: rgba(255,255,255,.06); color: #f6f2ea; font: 400 1.05rem var(--body);
}
textarea { min-height: 96px; resize: vertical; }
select { -webkit-appearance: none; appearance: none; padding-inline-end: 2.6em; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23dccaa0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left .95em center; background-size: 14px 9px; }
select option { color: var(--ink); background: #fff; }
.form-privacy { grid-column: 1 / -1; font-size: .9rem; color: var(--on-dark-soft); }
.form-privacy a { color: var(--gold); }
input[aria-invalid="true"] { border-color: #e7a08a; }
.contact form .btn { justify-self: start; }
.form-note { grid-column: 1 / -1; min-height: 1.4em; font-size: .98rem; color: var(--on-dark-soft); }
.form-note a { color: var(--gold); font-weight: 700; }
@media (max-width: 479px) { form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
.foot { background: #14110e; color: #b9ad9c; padding-block: 28px calc(28px + var(--mbar-space, 0px)); font-size: .95rem; }
.foot-in { display: grid; gap: 8px; justify-items: start; }
.foot .wordmark { color: var(--gold); font-size: .95rem; }
.foot .brand-mark { height: 22px; color: var(--gold); }
.foot .sim-note { color: #998d7d; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: #cdbf9f; text-underline-offset: 4px; }
.foot-copy { color: #9a8e7e; font-size: .85rem; }
.foot-tel { color: var(--gold); font-weight: 600; text-decoration: none; }
.foot-tel:hover { text-decoration: underline; }

/* ---------- mobile contact bar ---------- */
.mbar {
  position: fixed; inset: auto 0 0; z-index: 25;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(20,17,14,.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(220,202,160,.2);
}
.mbar .btn { min-height: 46px; padding-inline: .8em; }
@media (min-width: 1024px) { .mbar { display: none !important; } }

/* ---------- dialogs ---------- */
dialog { padding: 0; border: 0; background: transparent; color: var(--on-dark); max-width: 100vw; max-height: 100vh; }
dialog::backdrop { background: rgba(8, 8, 10, .86); }
.film { width: min(96vw, 560px); }
.film-in { display: grid; gap: 12px; padding: 14px; border-radius: 20px; background: #15120f; border: 1px solid rgba(220,202,160,.2); }
.film-bar { display: flex; align-items: center; gap: 10px; }
.film-title { flex: 1; font-size: 1.15rem; color: var(--gold); font-family: var(--display); }
.film .chip, .lightbox .chip { color: var(--on-dark); border-color: rgba(220,202,160,.35); min-height: 40px; }
.close-btn { width: 44px; height: 44px; flex: none; border: 1px solid rgba(220,202,160,.35); border-radius: 50%; background: transparent; color: var(--on-dark); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.film-stage { position: relative; aspect-ratio: 9 / 16; max-height: 72vh; width: 100%; margin-inline: auto; border-radius: 14px; overflow: hidden; background: #0c0b0a; }
.film-stage video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.film-empty { position: absolute; inset: 0; display: grid; place-content: center; gap: 8px; padding: 24px; text-align: center; color: var(--on-dark-soft); background: radial-gradient(70% 50% at 50% 30%, #2a2117, #0f0d0b); }
.film-empty strong { font-family: var(--display); font-size: 1.4rem; color: var(--gold); font-weight: 400; }
.film-end { display: grid; gap: 12px; text-align: center; padding: 8px 0 4px; }
.film-end p { font-family: var(--display); font-size: 1.3rem; }
.lightbox { width: min(96vw, 900px); }
.lb-in { position: relative; display: grid; gap: 12px; padding: 14px; border-radius: 20px; background: #15120f; }
.lb-in .close-btn { position: absolute; top: 20px; inset-inline-start: 20px; z-index: 3; background: rgba(20,17,14,.6); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lb-count { direction: ltr; unicode-bidi: isolate; font-size: .85rem; letter-spacing: .18em; color: rgba(220,202,160,.7); }
/* lightbox: show the whole photo at its own shape (never crop), centered */
.lb-stage { display: flex; justify-content: center; align-items: center; min-height: 200px; }
.lb-stage .media { width: auto; height: auto; max-width: 100%; aspect-ratio: auto; background: transparent; }
.lb-stage .media > img, .lb-stage .media > video { position: static; display: block; width: auto; height: auto; max-width: min(872px, calc(96vw - 28px)); max-height: 78vh; object-fit: contain; border-radius: inherit; }
/* badge on the far corner so it never sits under the close button */
.lb-stage .sim-badge, .lb-stage .media-badge { inset-inline-start: auto; inset-inline-end: 10px; }
.lb-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lb-cap { flex: 1; text-align: center; color: var(--on-dark-soft); font-size: .98rem; }

/* ---------- responsive header ---------- */
@media (max-width: 1023px) {
  .menu-btn { display: grid; }
  /* The header has backdrop-filter, which makes it the containing block even for position:fixed,
     so the panel hangs from the header's bottom edge and takes the rest of the screen height. */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 19;
    height: calc(100vh - var(--header-h) - env(safe-area-inset-top, 0px));
    height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px));
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px));
    background: #15120f; color: var(--on-dark);
    overflow-y: auto;
  }
  .nav:not(.open) { display: none; }
  .nav a { padding: 16px 4px; font-size: 1.3rem; font-family: var(--display); border-bottom: 1px solid rgba(220,202,160,.16); }
  .nav-label { display: block; margin: 8px 4px 2px; font-size: .9rem; font-weight: 700; letter-spacing: .04em; color: var(--gold); }
  .nav a.nav-event { font-size: 1.6rem; padding-block: 18px; }
  .nav a.nav-event::after { content: "←"; float: left; color: var(--gold); font-family: var(--body, inherit); }
  .nav a.nav-more { font-size: 1.1rem; padding-block: 13px; color: var(--on-dark-soft); }
  .nav a.nav-event + .nav-more { margin-top: 18px; }
}
@media (max-width: 479px) {
  /* icon-only WhatsApp in the header; the bottom bar carries the full button */
  .top-actions .btn-wa { width: 44px; min-height: 44px; padding: 0; font-size: 0; gap: 0; }
  .top-actions .btn-wa::before { width: 22px; height: 22px; }
  .logo-slot { min-width: 0; flex: 1 1 auto; overflow: hidden; }
  .wordmark { font-size: .9rem; letter-spacing: .12em; }
  .brand-mark { height: 21px; }
  .logo-slot { gap: 7px; }
}
@media (max-width: 399px) { .wordmark { font-size: .8rem; letter-spacing: .06em; } .brand-mark { height: 19px; } .logo-slot { gap: 6px; } }
@media (max-width: 359px) { .wordmark { font-size: .72rem; letter-spacing: .03em; } .brand-mark { height: 17px; } .logo-slot { gap: 5px; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- legal pages (privacy, accessibility, terms, 404) ---------- */
.legal-page { background: var(--ivory); color: var(--ink); }
.legal-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 820px; margin-inline: auto; padding: 18px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid rgba(44,37,32,.12); }
.legal-back { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold-deep); font-weight: 600; }
.legal { max-width: 820px; margin-inline: auto; padding: 32px 16px 56px; display: grid; gap: 14px; line-height: 1.75; font-size: 1.05rem; }
.legal h1 { font-family: var(--display); font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.15; }
.legal h2 { font-family: var(--display); font-size: 1.4rem; margin-top: 18px; }
.legal ul { display: grid; gap: 8px; padding-inline-start: 1.2em; list-style: disc; }
.legal a { color: var(--gold-deep); text-underline-offset: 3px; }
.legal .btn { color: var(--ink); text-decoration: none; }
.legal-updated { color: var(--ink-soft); font-size: .95rem; }
.legal-foot { max-width: 820px; margin-inline: auto; padding: 20px 16px 36px; border-top: 1px solid rgba(44,37,32,.12); color: var(--ink-soft); display: grid; gap: 6px; font-size: .95rem; }
.legal-foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.legal-foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold-deep); }

/* ---------- cookie consent (js/consent.js; off until a tracking tool is approved) ---------- */
.cc-banner {
  position: fixed; z-index: 40; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); inset-inline-start: 16px;
  width: min(480px, calc(100vw - 32px)); padding: 20px 22px 18px;
  border-radius: 20px; border: 1px solid rgba(220,202,160,.35);
  background: rgba(22,18,15,.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--on-dark); font-family: var(--body); box-shadow: 0 24px 60px rgba(0,0,0,.35);
  animation: cc-in .5s cubic-bezier(.22,1,.36,1) both;
}
@keyframes cc-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cc-banner { animation: none; } }
@media (max-width: 1023px) { body:has(.mbar) .cc-banner { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
.cc-title { margin: 0 0 6px; font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--gold); line-height: 1.3; }
.cc-text { margin: 0 0 14px; font-size: .95rem; line-height: 1.55; color: var(--on-dark-soft); }
.cc-text a { color: var(--gold); text-underline-offset: 3px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-btn {
  flex: 1 1 auto; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  font: 600 .95rem/1 var(--body); color: var(--on-dark);
  background: transparent; border: 1px solid rgba(220,202,160,.45);
}
.cc-btn:hover { border-color: var(--gold); }
.cc-btn:focus-visible { outline: 2px solid var(--gold-glow); outline-offset: 2px; }
.cc-primary { background: var(--gold); border-color: var(--gold); color: #1c1814; }
.cc-primary:hover { background: var(--gold-glow); }
.cc-link { flex: 0 1 auto; border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
.cc-panel {
  width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; overflow: auto;
  border-radius: 22px; border: 1px solid rgba(220,202,160,.35); background: #16120f; color: var(--on-dark);
}
.cc-panel::backdrop { background: rgba(10,8,6,.55); }
.cc-panel-in { padding: 24px 22px 20px; }
.cc-row { display: flex; align-items: flex-start; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(220,202,160,.15); }
.cc-row:last-of-type { margin-bottom: 14px; border-bottom: 1px solid rgba(220,202,160,.15); }
.cc-row-text { flex: 1; }
.cc-row-title { display: block; font-weight: 700; color: var(--on-dark); margin-bottom: 2px; }
.cc-row-text p { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--on-dark-soft); }
.cc-switch {
  appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 48px; height: 28px; margin: 2px 0 0;
  border-radius: 999px; background: rgba(236,228,214,.2); border: 1px solid rgba(220,202,160,.4); cursor: pointer; transition: background .2s;
}
.cc-switch::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--on-dark); transition: inset-inline-start .2s; }
.cc-switch:checked { background: var(--gold-deep); border-color: var(--gold); }
.cc-switch:checked::after { inset-inline-start: 23px; background: var(--gold); }
.cc-switch:disabled { opacity: .7; cursor: default; }
.cc-switch:focus-visible { outline: 2px solid var(--gold-glow); outline-offset: 2px; }
.foot-links button, .legal-foot button { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.foot-links button { color: #cdbf9f; }
.legal-foot button { color: var(--gold-deep); }
[data-privacy-settings][hidden] { display: none !important; }
@media (min-width: 1024px) { .cc-banner { inset-inline-start: auto; inset-inline-end: 24px; bottom: 24px; width: 440px; } }
