/* ==========================================================================
   ONE BACKGROUND (2026-11-24) — every section after the opening sits on the same
   golden-sun sea photo that "Made by hand" had (assets/img/full/gold-sun.jpg), with
   one warm veil and white letters. The app is said big ("The SOLAR app") with a real
   phone screen. The Solar Philosophy sun is an engraved line sun that turns as it crosses.
   Loaded last. Remove this file + its <link> to go back.
   ========================================================================== */

/* the one background, fixed behind the page */
html { background: #2a1a10 !important; }
body { background: transparent !important; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 10, 8, .42) 0%, rgba(14, 10, 8, .3) 40%, rgba(14, 10, 8, .55) 100%),
    url("../assets/img/full/gold-sun.jpg") center 30% / cover no-repeat;
}
#app, #within, #philosophy, #work, #now, #youtube, .gold-run, #pieces, #circle, #portal, #portal.s-sec, .foot {
  background: transparent !important;
}
#app::before, #app::after, #within::before, #within::after, #work::before, #work::after, #youtube::before, #youtube::after,
#pieces::after, #circle::before, #circle::after, #now::before, #now::after, #portal::before, #portal::after, .foot::before, .foot::after { display: none !important; }
.melt { display: none !important; }

/* white letters everywhere on it */
#app, #within, #work, #now, #youtube, #pieces, #circle, #portal, .foot {
  --ivory: #fff6e8; --muted: rgba(255, 246, 232, .82); --gold: #f0d9a8;
  --ink: #fff6e8; --ink-soft: rgba(255, 246, 232, .86); --antique: #f0d9a8;
  color: #fff6e8;
}
#app *, #within *, #work *, #now *, #youtube *, #pieces *, #circle *, #portal *, .foot * { text-shadow: 0 1px 18px rgba(20, 12, 6, .35); }
#within .statement__body p, #now .now-copy, #now .now-sub, #work .lede, #work .offer__text, #circle .micro, #circle .lede { color: rgba(255, 246, 232, .88) !important; }
#youtube h2, #youtube h2 *, #youtube p { color: #fff6e8 !important; -webkit-text-fill-color: #fff6e8; }

/* cards and buttons readable on the photo */
#work .offer { background: rgba(20, 12, 8, .3) !important; border: 1px solid rgba(255, 246, 232, .28) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
#app .btn, #work .btn, #circle .btn, #pieces .ring-btn, #pieces .ring-tag { background: #f3ece0 !important; color: #2e2219 !important; text-shadow: none !important; }
#app .btn *, #work .btn *, #circle .btn * { color: #2e2219 !important; text-shadow: none !important; }
#work .btn--ghost, #portal .s-cta, #youtube .btn { background: rgba(255, 255, 255, .06) !important; color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65) !important; border-color: rgba(255, 255, 255, .65) !important; }
#work .btn--ghost *, #youtube .btn * { color: #fff !important; }
#circle .form__field input { background: rgba(255, 255, 255, .14) !important; color: #fff !important; border-color: rgba(255, 255, 255, .55) !important; }
#circle .form__field input::placeholder { color: rgba(255, 255, 255, .7); }

/* ── THE APP: said big, with the real phone screen ── */
.app-big {
  margin: 0 0 18px;
  font: 400 clamp(3rem, 7.4vw, 6.6rem)/.98 Cinzel, serif; letter-spacing: .04em; text-transform: uppercase;
  color: #fff6e8;
}
.app-sub { margin-bottom: 26px !important; }
#app .display { font-size: clamp(1.6rem, 2.6vw, 2.3rem) !important; }
#app .app__btn { font-size: 15px !important; padding: 20px 34px !important; }
.app__phone {
  position: relative; justify-self: center; width: min(300px, 70vw); aspect-ratio: 640 / 1391;
  border-radius: 46px; padding: 10px; background: #15100c;
  box-shadow: 0 0 0 1px rgba(255, 246, 232, .28), 0 40px 90px rgba(10, 6, 3, .55), 0 0 120px rgba(242, 185, 89, .25);
  transform: rotate(-3deg);
}
.app__phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 30%; height: 22px; margin-left: -15%; border-radius: 20px; background: #15100c; z-index: 2; }
.app__shot { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 37px; }
.app__shot--es { display: none; }
html[lang="es"] .app__shot--es { display: block; }
html[lang="es"] .app__shot--en { display: none; }

/* ── THE SOLAR PHILOSOPHY: an engraved sun crossing the golden sky ── */
.philo-stage { background: transparent !important; }
.philo-sky, .philo-day, .philo-glow, .philo-dunes, .philo-dunes-shade, .philo-stars, .philo-stage::after { display: none !important; }
.philo-sun {
  width: 42vmin !important; height: 42vmin !important;
  background: none !important; box-shadow: none !important; border-radius: 0 !important;
  color: #fff3dc; opacity: .9;
}
.philo-engrave {
  width: 100%; height: 100%; display: block; overflow: visible;
  transform: rotate(calc(var(--p) * 180deg));
  filter: drop-shadow(0 0 18px rgba(255, 236, 196, .55));
}
.philo-copy::before { background: radial-gradient(closest-side, rgba(30, 18, 10, .4), rgba(30, 18, 10, 0)) !important; }
@media (max-width: 640px) { .philo-sun { width: 60vmin !important; height: 60vmin !important; } }

@media (max-width: 899px) {
  .app-big { font-size: clamp(2.6rem, 12vw, 4rem); }
  .app__phone { margin-top: 40px; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .philo-engrave { transform: none; } }
#within .ln, #within .ln--b, #within .field__list li, #now .now-name, #pieces .ring-name { color: #fff6e8 !important; }
#within .ln--b .key, #within .key { color: #f0d9a8 !important; -webkit-text-fill-color: #f0d9a8; }
#app .display, #app .display *, #work .display, #work .display *, #circle .display, #circle .display *, #app .key, #work .key, #circle .key, #youtube .key { color: #fff6e8 !important; -webkit-text-fill-color: #fff6e8; background: none !important; }
#app .key, #work .key, #circle .key, #youtube .key { color: #f0d9a8 !important; -webkit-text-fill-color: #f0d9a8; }
.philo-sun { opacity: .55 !important; width: 36vmin !important; height: 36vmin !important; }

/* 2026-11-24 b: light Transmissions title, footer sun without the dotted ring, no "in the field" list, soft fade from the opening into the gold */
#now .s-title, #pieces .s-title { color: #fff6e8 !important; -webkit-text-fill-color: #fff6e8; }
.sunmark__outer { display: none; }
#within .field { display: none !important; }
#within .statement__grid { grid-template-columns: 1fr !important; }
.hero { position: relative; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 38vh; z-index: 5; pointer-events: none;
  background: linear-gradient(to bottom, rgba(42, 26, 16, 0) 0%, rgba(58, 36, 18, .55) 55%, rgba(92, 58, 24, .92) 100%);
}
#app { margin-top: 0 !important; }

/* top bar over the gold: no cream band, just a soft warm shade that melts into the photo, light letters */
.nav.is-scrolled::before { background: linear-gradient(to bottom, rgba(30, 18, 8, .55) 0, rgba(30, 18, 8, .28) 55%, rgba(30, 18, 8, 0) 100%) !important; }
.nav.is-scrolled { color: #fff6e8 !important; }
.nav.is-scrolled .nav__links .nav__pill { border-color: rgba(255, 246, 232, .6) !important; color: #fff6e8 !important; }
.nav.is-scrolled .nav__links .nav__pill:hover { background: #f3ece0 !important; color: #2e2219 !important; }

/* "What is SOLAR?" spread across the width: big lines on the left, the two sentences on the right (desktop) */
@media (min-width: 900px) {
  #within .statement__grid { max-width: 1240px !important; }
  #within { padding-bottom: clamp(120px, 16vh, 200px) !important; }
  #within .statement__grid > div:first-child {
    display: grid; grid-template-columns: 1.15fr .85fr; column-gap: clamp(60px, 8vw, 140px); align-items: end;
  }
  #within .statement__grid > div:first-child > .eyebrow { grid-column: 1 / -1; }
  #within .statement__lines { grid-column: 1; margin: 0 !important; }
  #within .ln, #within .ln--b { max-width: none !important; }
  #within .statement__body { grid-column: 2; margin: 0 !important; max-width: 30em; padding-bottom: .6em; }
  #within .statement__body p { font-size: clamp(1rem, 1.25vw, 1.2rem) !important; }
}
/* Philosophy sun = simple circle with a dot in the middle, like the footer mark */
.philo-sun { opacity: .92 !important; }
.philo-engrave { transform: none !important; }
.philo-sun { width: 24vmin !important; height: 24vmin !important; }

/* SOLAR opening: a soft dark layer so the letters read better, and no engraved sun disc */
.hero .cl-paper, .hero .cl-engraved, .hero .cl-label--a { display: none !important; }
.hero__shade {
  background:
    linear-gradient(rgba(14, 9, 5, .36), rgba(14, 9, 5, .36)),
    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;
}

/* opening melts into the gold below (like the marsseia.com home): the photo and its shade fade out at the bottom */
.hero { background: transparent !important; }
.hero::after { display: none !important; }
.hero .hero__sky {
  display: block !important; position: absolute; inset: 0; z-index: -3;
  background: #3a3027 url("../assets/img/hero-halo.jpg") center 22% / cover no-repeat !important;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 22%, rgba(0,0,0,.75) 45%, rgba(0,0,0,.4) 68%, rgba(0,0,0,.12) 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 22%, rgba(0,0,0,.75) 45%, rgba(0,0,0,.4) 68%, rgba(0,0,0,.12) 86%, transparent 100%);
}
.hero__shade {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 20%, rgba(0,0,0,.7) 45%, rgba(0,0,0,.35) 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 20%, rgba(0,0,0,.7) 45%, rgba(0,0,0,.35) 70%, transparent 100%);
}

/* part 10 had room left for its old sun photo (now gone): close the gap after part 9 */
#portal { min-height: 0 !important; padding-top: clamp(70px, 10vh, 120px) !important; }
#portal .portal-copy { padding-top: 0 !important; }
#portal .portal-mega { margin-top: 2vh !important; }
@media (max-width: 899px) { #portal .portal-copy { padding-top: 0 !important; } }
