/* ritafigueira.tours — holding page.
   No inline styles or scripts anywhere: the vhost ships a report-only CSP of
   default-src 'self', and this page must not be the thing that violates it. */

:root {
  --sky-top:    #d6e6f0;
  --sky-bottom: #f7dfca;
  --sun:        #ffd6a2;
  --ridge-far:  #b8c9d4;
  --cone:       #6a7f8e;
  --peak:       #56697a;
  --sea:        #46596b;
  --swell:      #8ea2b1;
  --ink:        #22303a;
  --ink-soft:   #55697a;
  --rule:       rgba(34, 48, 58, .16);
  --foot-ink:   #ccdae5;
}

@media (prefers-color-scheme: dark) {
  :root {
    --sky-top:    #0b131c;
    --sky-bottom: #2a3746;
    --sun:        #e9c084;
    --ridge-far:  #1d2a36;
    --cone:       #121c26;
    --peak:       #0b141c;
    --sea:        #070d14;
    --swell:      #24313d;
    --ink:        #eaf1f6;
    --ink-soft:   #9db0be;
    --rule:       rgba(234, 241, 246, .14);
    --foot-ink:   #93a7b6;
  }
}

* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 100%);
  color: var(--ink);
  font: 400 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

/* Night sky. Two layers so the twinkle is staggered rather than the whole
   field pulsing at once. Hidden entirely in light mode; painted before .scene
   in the DOM so the mountain always occludes them. */
.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background-repeat: no-repeat;
}

.stars {
  background-image:
    radial-gradient(1.6px 1.6px at  7% 12%, rgba(255,255,255,.95), transparent),
    radial-gradient(1.2px 1.2px at 19% 27%, rgba(255,255,255,.70), transparent),
    radial-gradient(1.8px 1.8px at 31%  8%, rgba(255,255,255,.90), transparent),
    radial-gradient(1.1px 1.1px at 44% 21%, rgba(255,255,255,.60), transparent),
    radial-gradient(1.5px 1.5px at 57%  6%, rgba(255,255,255,.85), transparent),
    radial-gradient(1.2px 1.2px at 68% 18%, rgba(255,255,255,.65), transparent),
    radial-gradient(1.7px 1.7px at 81% 10%, rgba(255,255,255,.92), transparent),
    radial-gradient(1.1px 1.1px at 92% 24%, rgba(255,255,255,.58), transparent),
    radial-gradient(1.4px 1.4px at 12% 41%, rgba(255,255,255,.72), transparent),
    radial-gradient(1.2px 1.2px at 74% 38%, rgba(255,255,255,.66), transparent),
    radial-gradient(1.3px 1.3px at 96% 45%, rgba(255,255,255,.62), transparent);
}

.stars-b {
  background-image:
    radial-gradient(1.1px 1.1px at 14% 19%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.5px 1.5px at 25% 34%, rgba(255,255,255,.80), transparent),
    radial-gradient(1.0px 1.0px at 38% 14%, rgba(255,255,255,.50), transparent),
    radial-gradient(1.6px 1.6px at 50% 30%, rgba(255,255,255,.88), transparent),
    radial-gradient(1.1px 1.1px at 63% 25%, rgba(255,255,255,.56), transparent),
    radial-gradient(1.4px 1.4px at 76% 47%, rgba(255,255,255,.74), transparent),
    radial-gradient(1.2px 1.2px at 87% 33%, rgba(255,255,255,.64), transparent),
    radial-gradient(1.0px 1.0px at 4%  52%, rgba(255,255,255,.48), transparent),
    radial-gradient(1.3px 1.3px at 34% 49%, rgba(255,255,255,.68), transparent);
}

/* A handful of brighter stars, each paired with a wide low-alpha halo so it
   reads as glow rather than a hard dot. Kept clear of the copy block. */
.stars-c {
  background-image:
    radial-gradient(2.6px 2.6px at 15% 20%, rgba(255,255,255,1),   transparent),
    radial-gradient(7px   7px   at 15% 20%, rgba(255,255,255,.16), transparent),
    radial-gradient(2.3px 2.3px at 86% 14%, rgba(255,255,255,.95), transparent),
    radial-gradient(6px   6px   at 86% 14%, rgba(255,255,255,.14), transparent),
    radial-gradient(2.5px 2.5px at  8% 37%, rgba(255,255,255,.92), transparent),
    radial-gradient(6.5px 6.5px at  8% 37%, rgba(255,255,255,.13), transparent),
    radial-gradient(2.2px 2.2px at 91% 41%, rgba(255,255,255,.88), transparent),
    radial-gradient(6px   6px   at 91% 41%, rgba(255,255,255,.12), transparent),
    radial-gradient(2.4px 2.4px at 47%  7%, rgba(255,255,255,.94), transparent),
    radial-gradient(6.5px 6.5px at 47%  7%, rgba(255,255,255,.13), transparent);
}

@media (prefers-color-scheme: dark) {
  .stars { opacity: 1; }

  @media (prefers-reduced-motion: no-preference) {
    .stars   { animation: twinkle 7s ease-in-out infinite; }
    .stars-b { animation: twinkle 9s ease-in-out infinite 2.5s; }
    /* Gentler range on the bright ones — a deep pulse on a large star reads
       as a flicker rather than a twinkle. */
    .stars-c { animation: twinkle-soft 11s ease-in-out infinite 1.2s; }
  }
}

@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50%      { opacity: .55; }
}

@keyframes twinkle-soft {
  0%, 100% { opacity: 1; }
  50%      { opacity: .78; }
}

/* Copy owns the upper half; the scene is pinned to the bottom behind it. */
.stage {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem;
  padding-bottom: clamp(10rem, 32vh, 20rem);
}

.copy {
  text-align: center;
  max-width: 40rem;
}

.eyebrow {
  margin: 0 0 .8rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.06;
}

h1 span {
  display: block;
  font-weight: 600;
  letter-spacing: .05em;
}

.lead {
  margin: 0 0 .3rem;
  font-size: clamp(.98rem, 2.2vw, 1.15rem);
}

.sub {
  margin: 0;
  font-size: .9rem;
  color: var(--ink-soft);
}

/* The viewBox is 4:1, and width:100% + height:auto keeps it exactly that, so
   the summit is never cropped. min-height only bites on very narrow screens,
   where `slice` then trims the sides rather than the peak. */
.scene {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  min-height: 10rem;
  display: block;
  z-index: 0;
}

.sun       { fill: var(--sun); opacity: .9; }
.ridge-far { fill: var(--ridge-far); opacity: .6; }
.cone      { fill: var(--cone); }
/* Same fill as the cone: the summit spine belongs to the same silhouette, and
   a darker tone here reads as a detached hat rather than a peak. */
.peak      { fill: var(--cone); }
.sea       { fill: var(--sea); }

/* The footer takes the sea's colour so the two read as one band at the
   waterline instead of the strip competing with it. */
.foot {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  padding: .85rem 1.5rem calc(.85rem + env(safe-area-inset-bottom));
  background: var(--sea);
  text-align: center;
}

.foot p {
  margin: 0;
  font-size: .78rem;
  letter-spacing: .12em;
  color: var(--foot-ink);
}

@media (prefers-reduced-motion: no-preference) {
  .copy { animation: rise .8s ease-out both; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
  }
}
