/* ==========================================================================
   SOBRIO · ORGÁNICO · COLLAGE VINTAGE (2026-11-14)
   Loaded last. A calmer, less "digital" look:
   - opening: soft halo photo, white elegant lettering, no orange sun
   - vintage plates of solar ideas (engraved sun, golden spiral, seed of life,
     moon phases, stamp) drifting slowly over the photo
   - quieter gold, cream buttons, no shimmer, no ~ marks
   Delete this file + its <link> + js/collage.js to go back.
   ========================================================================== */
:root {
  --cream: #f3ece0;
  --soft-gold: #dcc59b;
  --ink: #1b1613;
}

/* ── opening ───────────────────────────────────────────── */
.hero {
  background: #3a3027 url("../assets/img/hero-halo.jpg") center 22% / cover no-repeat;
}
.hero__sky, .hero__scene, .hero__media, .flyers { display: none !important; }
.hero__shade {
  background:
    radial-gradient(120% 70% at 50% 30%, transparent 40%, rgba(20, 16, 13, .35) 100%),
    linear-gradient(180deg, rgba(20, 16, 13, .38) 0, rgba(20, 16, 13, 0) 22%, rgba(20, 16, 13, 0) 48%, rgba(24, 19, 15, .72) 68%, #16120f 100%) !important;
}
/* paper grain over the photo so it feels printed, not digital */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); background-size: 180px 180px; opacity: .35; mix-blend-mode: multiply;
}
.hero__top { text-shadow: 0 1px 30px rgba(40, 30, 20, .35); }
.wordmark { color: #fff; font-weight: 400; letter-spacing: .34em; padding-left: .34em; font-size: clamp(2.8rem, 13.5vw, 6.6rem); }
.hero__line { color: #fff; font-style: italic; letter-spacing: .02em; opacity: .95; }
.hero__eyebrow { color: rgba(255, 255, 255, .82); letter-spacing: .34em; }
.hero__cta .eyebrow--gold { color: rgba(255, 255, 255, .78); }
.display--hero { color: #fff; letter-spacing: .14em; font-size: clamp(1.45rem, 6.8vw, 3rem); }
.hero__cta .lede { color: rgba(255, 255, 255, .8); }

/* ── quieter everywhere ───────────────────────────────────── */
.key, .s-title em, .codes-mega em {
  animation: none !important; background: none !important;
  -webkit-text-fill-color: currentColor; color: var(--soft-gold) !important; font-style: normal;
}
.hero .key { color: #fff !important; }
.key::before, .key::after { content: none !important; }
.eyebrow--gold, .s-eyebrow { color: var(--soft-gold); }
body::after { opacity: .1; }
.statement::after, .work::after, .yt::after, .circle::after, .s-pieces::after, .app::after { opacity: .35; filter: none; }
.statement { background-blend-mode: normal, saturation, normal; }

.btn { background: var(--cream); color: var(--ink); box-shadow: none; }
.btn:hover { background: #fff; box-shadow: none; }
.btn--ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px rgba(243, 236, 224, .55); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--cream); color: var(--ink); box-shadow: none; }
.circle {
  background:
    radial-gradient(110% 46% at 50% 115%, rgba(232, 196, 140, .55) 0%, rgba(170, 110, 70, .3) 30%, transparent 62%),
    linear-gradient(180deg, var(--deep) 0, #211a1a 50%, #2b2020 100%) !important;
}
.circle::before { display: none; }

/* ── the collage ─────────────────────────────────────────── */
.collage { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; color: rgba(255, 255, 255, .78); }
.cl { position: absolute; margin: 0; will-change: transform; transform: translate3d(0, calc(var(--sy, 0px) * var(--k, 0)), 0); }

/* torn sepia paper disc, like a page cut from an old astronomy book */
.cl-paper {
  width: min(64vw, 380px); aspect-ratio: 1; right: -14vw; top: 9vh; border-radius: 50%;
  background:
    radial-gradient(circle at 40% 35%, rgba(255, 244, 222, .5), transparent 60%),
    var(--grain) 0 0 / 120px 120px,
    #b49a76;
  mix-blend-mode: multiply; opacity: .5;
  filter: url(#torn);
}
.cl-engraved { width: min(64vw, 380px); aspect-ratio: 1; right: -14vw; top: 9vh; color: rgba(255, 255, 255, .85); }
.cl-engraved .turn { transform-origin: 0 0; animation: cl-spin 240s linear infinite; }
.cl-spiral { width: min(46vw, 270px); aspect-ratio: 1; left: -10vw; top: 44vh; opacity: .7; }
.cl-spiral .turn { transform-origin: 0 0; animation: cl-spin 180s linear infinite reverse; }
.cl-seed { width: min(26vw, 150px); aspect-ratio: 1; left: 5vw; top: 13vh; opacity: .55; animation: cl-breathe 14s ease-in-out infinite; }
.cl-stamp { width: min(22vw, 130px); aspect-ratio: 1; right: 6vw; top: 52vh; opacity: .6; animation: cl-spin 120s linear infinite; }
.cl-moons { left: 50%; top: 4.2vh; display: flex; gap: 12px; transform: translate3d(-50%, calc(var(--sy, 0px) * var(--k, 0)), 0); opacity: .6; }
.cl-moons .m { width: 9px; height: 9px; border-radius: 50%; border: 1px solid currentColor; }
.cl-moons .m2 { background: linear-gradient(90deg, transparent 50%, currentColor 50%); }
.cl-moons .m3 { background: currentColor; }
.cl-moons .m4 { background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.cl-label { font: italic 400 .72rem/1 var(--quote); letter-spacing: .08em; color: rgba(255, 255, 255, .72); white-space: nowrap; }
.cl-label--a { right: 6vw; top: calc(9vh + min(64vw, 380px) - 6px); }
.cl-label--b { left: 6vw; top: 41vh; font-style: normal; font-family: var(--sans); font-size: .55rem; letter-spacing: .3em; text-transform: uppercase; }

/* desktop: room to spread out */
@media (min-width: 900px) {
  .cl-paper, .cl-engraved { right: 6vw; top: 14vh; }
  .cl-label--a { right: 9vw; }
  .cl-spiral { left: 5vw; top: 38vh; }
  .cl-seed { left: 18vw; top: 14vh; }
  .cl-stamp { right: 24vw; top: 58vh; }
}

@keyframes cl-spin { to { transform: rotate(360deg); } }
@keyframes cl-breathe { 0%, 100% { transform: translate3d(0, calc(var(--sy, 0px) * var(--k, 0)), 0) scale(1); } 50% { transform: translate3d(0, calc(var(--sy, 0px) * var(--k, 0)), 0) scale(1.06); } }
/* the collage fades in after the letters */
.js:not(.is-entered) .collage { opacity: 0; }
.js.is-entered .collage { animation: rise-in 2.4s var(--ease) .9s both; }

@media (prefers-reduced-motion: reduce) {
  .cl, .cl .turn, .cl-seed, .cl-stamp { animation: none !important; }
}

/* round 2: pieces never sit on the words; softer gold everywhere */
:root { --gold: #d6be8e; }
.hero__eyebrow { letter-spacing: .22em; font-size: .58rem; }
.cl-paper, .cl-engraved { width: min(56vw, 360px); top: 27vh; right: -12vw; }
.cl-label--a { top: calc(27vh - 22px); right: 5vw; }
.cl-label--b { top: auto; bottom: 46vh; }
.cl-moons { left: 5vw; top: 30vh; flex-direction: column; gap: 10px; transform: translate3d(0, calc(var(--sy, 0px) * var(--k, 0)), 0); }
.cl-spiral { opacity: .5; top: 50vh; }
.cl-stamp { top: 58vh; opacity: .5; }
@media (max-width: 899px) { .cl-seed { display: none; } }
@media (min-width: 900px) {
  .cl-paper, .cl-engraved { right: 7vw; top: 18vh; width: min(30vw, 400px); }
  .cl-label--a { right: 9vw; top: calc(18vh - 24px); }
  .cl-moons { left: 4vw; top: 22vh; }
}
/* round 3 (phone): disc ends above "Entra al círculo"; small labels in free space */
@media (max-width: 899px) {
  .cl-paper, .cl-engraved { width: 50vw; top: 21vh; right: -10vw; }
  .cl-label--a { top: calc(21vh + 50vw + 4px); right: 6vw; }
  .cl-label--b { top: 25.5vh; bottom: auto; left: 5vw; }
}
@media (max-width: 899px) { .cl-label--a { top: calc(21vh + 50vw - 16px); } }

/* ── round 4 (2026-11-14): golden sand behind "What is SOLAR", timeless serif for sentences ── */
@font-face { font-family: "Cormorant Garamond"; src: url("../assets/fonts/cormorant-garamond-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../assets/fonts/cormorant-garamond-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../assets/fonts/cormorant-garamond-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
:root { --quote: "Cormorant Garamond", "Marcellus", Georgia, serif; }
/* sentences: old-book serif, a touch bigger because Cormorant runs small */
.beat-t { font-family: var(--quote); font-weight: 500; font-size: clamp(26px, 3.5vw, 48px); line-height: 1.25; letter-spacing: .005em; }
.philo-statement p { font-family: var(--quote); font-style: italic; font-size: clamp(27px, 3.8vw, 60px); line-height: 1.18; }
.ro-line, .arrives__sub, .cl-label { font-family: var(--quote); }
.ro-line { font-size: clamp(16px, 1.9vw, 21px); font-style: italic; }
.portal-sub { font-family: var(--quote); font-style: italic; font-size: clamp(26px, 3.6vw, 52px); }
.hero__line { font-family: var(--quote); font-size: clamp(1.45rem, 6.2vw, 2.1rem); font-weight: 400; }
.cl-label--a { font-size: .9rem; }

/* What is SOLAR: golden sand ripples, a dark veil, warm low light */
.statement {
  background:
    linear-gradient(180deg, rgba(19, 15, 23, .96) 0%, rgba(19, 15, 23, .55) 22%, rgba(19, 15, 23, .5) 75%, rgba(19, 15, 23, .97) 100%),
    radial-gradient(90% 60% at 80% 40%, rgba(255, 210, 140, .16), transparent 70%),
    linear-gradient(90deg, rgba(19, 13, 9, .6) 0%, rgba(19, 13, 9, .25) 60%, rgba(19, 13, 9, .45) 100%),
    url("../assets/img/tex/sand-ripple.jpg") center / cover no-repeat !important;
  background-blend-mode: normal !important;
}

/* YouTube: calm background, no orange glow (the arch photo is swapped to her halo photo) */
.yt {
  background:
    radial-gradient(70% 40% at 30% 45%, rgba(230, 220, 205, .08), transparent 70%),
    linear-gradient(180deg, #130f17 0%, #1c1719 50%, #130f17 100%) !important;
}
.yt .arch__rays { opacity: .35; }
/* light photo in the arch: the play button needs a soft dark disc to be seen */
.arch__play { background: rgba(30, 22, 16, .38); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* YouTube (round 5): Marss's light photo fills the whole section; the arch becomes
   just a play button sitting on the light. Text side is veiled so white words read. */
.yt {
  background:
    linear-gradient(180deg, rgba(19, 15, 23, .15) 0%, rgba(19, 15, 23, .25) 30%, rgba(19, 15, 23, .78) 58%, rgba(19, 15, 23, .95) 100%),
    url("../assets/img/yt-light.jpg") center 20% / cover no-repeat !important;
  min-height: 100svh; display: flex; align-items: flex-end;
}
.yt > .wrap { width: 100%; }
.yt::after { opacity: .2; }
.yt .flyers, .yt .arch__rays, .yt .arch__frame, .yt .arch__img { display: none; }
.yt .arch { width: auto; aspect-ratio: auto; margin: 0 auto 4vh; }
.yt .arch__window { position: static; overflow: visible; border-radius: 0; box-shadow: none; display: grid; place-items: center; }
.yt .arch__play { position: static; transform: none; width: 74px; height: 74px; margin: 0; background: rgba(30, 22, 16, .3); border: 1px solid rgba(255, 255, 255, .75); color: #fff; }
.yt .arch__play svg { width: 22px; height: 22px; }
@media (min-width: 900px) {
  .yt {
    align-items: center;
    background:
      linear-gradient(90deg, rgba(19, 15, 23, .05) 0%, rgba(19, 15, 23, .2) 38%, rgba(19, 15, 23, .78) 62%, rgba(19, 15, 23, .92) 100%),
      linear-gradient(180deg, rgba(19, 15, 23, .55) 0%, transparent 18%, transparent 82%, rgba(19, 15, 23, .7) 100%),
      url("../assets/img/yt-light.jpg") 18% 40% / cover no-repeat !important;
  }
  .yt .yt__inner { max-width: 1100px; grid-template-columns: 1fr 1fr; gap: 6vw; }
  .yt .arch { margin: 0 auto; }
}
/* desktop: show the whole photo at full height on the left, melting into the dark (a portrait photo can't stretch wide without losing the hands) */
@media (min-width: 900px) {
  .yt {
    background:
      linear-gradient(90deg, rgba(19, 15, 23, 0) 0%, rgba(19, 15, 23, 0) 30%, rgba(19, 15, 23, .7) 48%, #130f17 60%),
      linear-gradient(180deg, rgba(19, 15, 23, .5) 0%, transparent 14%, transparent 86%, rgba(19, 15, 23, .6) 100%),
      #130f17 url("../assets/img/yt-light.jpg") left center / auto 108% no-repeat !important;
  }
  .yt .yt__inner { grid-template-columns: 1fr 1fr; max-width: 1180px; }
}
@media (min-width: 900px) {
  .yt {
    background:
      linear-gradient(90deg, rgba(19, 15, 23, 0) 0%, rgba(19, 15, 23, 0) 22%, rgba(19, 15, 23, .55) 38%, rgba(19, 15, 23, .92) 48%, #130f17 54%),
      linear-gradient(180deg, rgba(19, 15, 23, .5) 0%, transparent 14%, transparent 86%, rgba(19, 15, 23, .6) 100%),
      #130f17 url("../assets/img/yt-light.jpg") left center / auto 108% no-repeat !important;
  }
  .yt .yt__inner { align-items: center; }
  .yt .arch { align-self: center; justify-self: center; transform: translate(-12%, 14%); }
}

/* YouTube on computers (round 6): like the phone — the photo covers everything, no side fade.
   The photo is light, so the words turn to warm dark ink, centered, with sizes that play:
   small spaced capitals + one big italic word. */
@media (min-width: 900px) {
  .yt {
    min-height: 100vh; align-items: center;
    background:
      radial-gradient(46% 52% at 50% 56%, rgba(255, 248, 236, .38), transparent 75%),
      linear-gradient(180deg, rgba(19, 15, 23, .6) 0%, transparent 12%, transparent 90%, rgba(19, 15, 23, .55) 100%),
      #e9ddca url("../assets/img/yt-light.jpg") center 42% / cover no-repeat !important;
  }
  .yt::after { display: none; }
  .yt > .melt { display: none; }
  .yt .yt__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; max-width: 760px; gap: 26px; }
  .yt .arch { transform: none; order: 0; }
  .yt .yt__copy { justify-items: center; gap: 14px; }
  .yt .yt__copy .lede { margin-inline: auto; }
  .yt .arch__play { width: 64px; height: 64px; background: rgba(255, 250, 242, .35); border-color: rgba(58, 42, 30, .55); color: #3a2a1e; }
  .yt .eyebrow { color: #6b513a; font-size: .66rem; letter-spacing: .4em; }
  .yt .display {
    color: #2e2219; text-shadow: none;
    font-size: clamp(1.1rem, 1.7vw, 1.5rem); letter-spacing: .42em; line-height: 1.5;
  }
  .yt .display .key {
    display: block; margin: .05em 0 .1em;
    font: italic 400 clamp(4.2rem, 7.6vw, 7.4rem)/1 var(--quote);
    letter-spacing: 0; text-transform: lowercase; color: #3b2a1c !important;
  }
  .yt .lede { color: #4a3a2c; font-size: 1rem; max-width: 30ch; }
  .yt .btn--ghost { color: #2e2219; box-shadow: inset 0 0 0 1px rgba(46, 34, 25, .55); background: rgba(255, 250, 242, .18); }
  .yt .btn--ghost:hover { background: #2e2219; color: var(--cream); }
}
@media (min-width: 900px) {
  .yt {
    background:
      radial-gradient(46% 52% at 50% 56%, rgba(255, 248, 236, .38), transparent 75%),
      linear-gradient(180deg, rgba(19, 15, 23, .45) 0%, rgba(19, 15, 23, 0) 22%, rgba(19, 15, 23, 0) 80%, rgba(19, 15, 23, .45) 100%),
      #e9ddca url("../assets/img/yt-light.jpg") center 42% / cover no-repeat !important;
  }
}

/* SOLAR is the name: it always stands big in "Enter the SOLAR frequency" */
.yt .display .sw { display: block; font-family: var(--display); font-size: 1.55em; letter-spacing: .3em; padding-left: .3em; line-height: 1.15; margin: .08em 0; }
@media (min-width: 900px) {
  .yt .display .sw { font-size: clamp(3.4rem, 5.8vw, 5.6rem); letter-spacing: .32em; padding-left: .32em; color: #2e2219; margin: .1em 0 0; }
}
/* SOLAR: more air between letters, a bit smaller */
.yt .display .sw { font-size: 1.3em; letter-spacing: .55em; padding-left: .55em; }
@media (min-width: 900px) { .yt .display .sw { font-size: clamp(2.5rem, 4vw, 3.8rem); letter-spacing: .6em; padding-left: .6em; } }
