/* ==========================================================================
   LIGHT · INK · VINTAGE (2026-11-14) — the whole page in the style of
   "Enter the Solar frequency": soft light like her halo photos, warm-paper
   grounds, dark-brown ink, titles that play with size (small spaced capitals
   + one big italic word). The opening keeps its photo; the pinned sun keeps its sky.
   Loaded last. Remove this file + its <link> to go back.
   ========================================================================== */
:root {
  --paper: #ece3d5;
  --ink: #2e2219;
  --ink-soft: #5b4a3b;
  --antique: #8a6a3e;
  /* soft iridescent light, like the halo photos */
  --bloom-a:
    radial-gradient(55% 45% at 18% 22%, rgba(255, 251, 243, .95), transparent 70%),
    radial-gradient(45% 40% at 85% 55%, rgba(236, 198, 172, .55), transparent 70%),
    radial-gradient(50% 40% at 55% 100%, rgba(203, 211, 224, .55), transparent 70%);
  --bloom-b:
    radial-gradient(50% 45% at 82% 18%, rgba(255, 250, 240, .95), transparent 70%),
    radial-gradient(45% 40% at 12% 70%, rgba(214, 205, 222, .55), transparent 70%),
    radial-gradient(40% 35% at 60% 55%, rgba(241, 214, 180, .45), transparent 70%);
  --bloom-c:
    radial-gradient(60% 55% at 50% 45%, rgba(255, 249, 238, .95), transparent 72%),
    radial-gradient(40% 40% at 10% 15%, rgba(232, 196, 170, .45), transparent 70%),
    radial-gradient(40% 40% at 92% 85%, rgba(200, 212, 222, .5), transparent 70%);
}

/* ── which sections turn light ─────────────────────────────── */
#app, #within, #light-codes, #work, #now, #pieces, #circle, #portal, .foot {
  --ivory: var(--ink); --muted: var(--ink-soft); --gold: var(--antique);
  --sun-core: #3b2a1c;
  color: var(--ink);
}
#app        { background: var(--bloom-a), var(--paper) !important; }
#light-codes{ background: var(--bloom-c), var(--paper) !important; }
#work       { background: var(--bloom-b), var(--paper) !important; }
#now        { background: var(--bloom-a), #e9e0d2 !important; }
#pieces     { background: var(--bloom-c), var(--paper) !important; }
#circle     { background: var(--bloom-b), var(--paper) !important; }
#portal     { background: var(--bloom-a), var(--paper) !important; }
.foot       { background: #e6dccd !important; }
/* golden sand stays, but lit: no dark veil */
#within {
  background:
    linear-gradient(180deg, rgba(236, 227, 213, .92) 0%, rgba(236, 227, 213, .55) 18%, rgba(236, 227, 213, .5) 82%, rgba(236, 227, 213, .95) 100%),
    radial-gradient(70% 60% at 30% 40%, rgba(255, 249, 238, .75), transparent 75%),
    url("../assets/img/tex/sand-ripple.jpg") center / cover no-repeat !important;
}
/* no gold dust, no dark seams on paper */
#app::after, #within::after, #work::after, #pieces::after, #circle::after { display: none !important; }
#app .melt, #within .melt, #light-codes .melt, #work .melt, #now .melt, #pieces .melt, #circle .melt, #portal .melt { display: none; }
#light-codes .s-stars, #portal .s-stars, #circle .circle__dunes, .s-codes .codes-stars { display: none; }
/* the opening is dark at its foot: let the paper rise out of it */
#app::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: clamp(90px, 14vh, 150px); z-index: 1; pointer-events: none; background: linear-gradient(180deg, #16120f, rgba(22, 18, 15, 0)); }
/* the pinned sun keeps its sky but melts into paper at both ends */
.s-philo { --deep: var(--paper); }

/* ── type: small spaced capitals + one big italic word ─────────── */
#app .eyebrow, #within .eyebrow, #work .eyebrow, #circle .eyebrow,
#light-codes .s-eyebrow, #now .s-eyebrow, #pieces .s-eyebrow, #portal .s-eyebrow {
  color: var(--antique); font-size: .62rem; letter-spacing: .4em;
}
#app .display, #work .display, #circle .display {
  color: var(--ink); text-shadow: none;
  font-size: clamp(.95rem, 1.5vw, 1.3rem); letter-spacing: .4em; line-height: 1.6;
}
#app .display .key, #work .display .key, #circle .display .key {
  display: block; margin: .02em 0 .06em;
  font: italic 400 clamp(3.4rem, 7vw, 6.4rem)/1 var(--quote);
  letter-spacing: 0; text-transform: lowercase; color: #3b2a1c !important;
}
#light-codes .s-title, #now .s-title, #pieces .s-title {
  font: italic 400 clamp(3.2rem, 7vw, 6.2rem)/1 var(--quote); letter-spacing: 0; text-transform: none; color: #3b2a1c; text-shadow: none;
}
.codes-sub { color: var(--antique); letter-spacing: .4em; font-size: clamp(.8rem, 1.2vw, 1rem); }
.codes-mega { color: var(--ink); }
.codes-mega em { color: var(--antique) !important; font-family: var(--quote); }

/* What is SOLAR: first line small, second big italic */
#within .statement__lines { text-shadow: none; }
#within .ln { display: block; color: var(--ink); font: 400 clamp(.95rem, 1.6vw, 1.3rem)/1.7 var(--display); letter-spacing: .4em; max-width: 26ch; }
#within .ln--b { margin-top: .2em; font: italic 400 clamp(2.8rem, 5.6vw, 5rem)/1.02 var(--quote); letter-spacing: 0; text-transform: none; color: #3b2a1c; max-width: 14ch; }
#within .ln--b .key { color: var(--antique) !important; }
#within .statement__body p { color: var(--ink-soft); text-shadow: none; }
#within .field__list { border-color: rgba(46, 34, 25, .2); }
#within .field__list li { color: var(--ink); border-color: rgba(46, 34, 25, .16); }

/* App */
#app .app__list { border-color: rgba(46, 34, 25, .18); }
#app .app__list li { color: var(--ink); border-color: rgba(46, 34, 25, .14); }
#app .app__list li::before { background: var(--antique); box-shadow: none; }
#app .app__note { color: var(--antique); }
#app .app__flower svg { color: var(--antique); }

/* Work cards: paper cut-outs */
#work .lede, #work .offer__text { color: var(--ink-soft); }
#work .offer { background: rgba(255, 252, 246, .5) !important; border: 1px solid rgba(46, 34, 25, .16) !important; box-shadow: 0 12px 40px rgba(90, 64, 40, .08) !important; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
#work .offer__title { color: var(--ink); }
#work .offer__tag { color: var(--antique); }

/* Transmissions */
#now .now-copy, #now .now-sub { color: var(--ink-soft); }
#now .now-name { color: var(--ink); }
#now .now-tag, #now .s-link { color: var(--antique); }

/* Solar pieces */
#pieces .ring { border-color: rgba(46, 34, 25, .2); }
#pieces .ring-name { color: var(--ink); }
#pieces .ring-see, #pieces .ring-intro { color: var(--antique); }
#pieces .ring-quote { color: var(--ink); font-family: var(--quote); font-style: italic; }
#pieces .ring-tag { background: var(--ink); color: var(--cream); }

/* Solar Circle */
#circle .arrives { color: var(--ink); }
#circle .arrives__sub { color: var(--antique); font-style: italic; font-size: 1.35rem; }
#circle .micro, #circle .lede { color: var(--ink-soft); }

/* Portal + footer */
#portal .portal-mega { color: var(--ink); text-shadow: none; font-family: var(--quote); font-style: italic; text-transform: none; letter-spacing: 0; }
#portal .portal-sub { color: var(--antique); text-shadow: none; }
#portal .portal-links a, .foot a, .foot { color: var(--ink); }
.foot__base { border-color: rgba(46, 34, 25, .16); }

/* Light Codes on paper: the mirror stays, words turn to ink */
#light-codes .ro-name { color: var(--ink); text-shadow: none; }
#light-codes .ro-line { color: var(--ink-soft); text-shadow: none; }
#light-codes .code { color: var(--ink); }

/* buttons + fields on paper */
#app .btn, #work .btn, #circle .btn, #pieces .ring-btn { background: var(--ink); color: var(--cream); box-shadow: none; }
#app .btn:hover, #work .btn:hover, #circle .btn:hover { background: #4a3828; }
#work .btn--ghost, #portal .s-cta { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(46, 34, 25, .5); border-color: rgba(46, 34, 25, .5); }
#work .btn--ghost:hover, #portal .s-cta:hover { background: var(--ink); color: var(--cream); }
#circle .form__field input { background: rgba(255, 252, 246, .55); color: var(--ink); border-color: rgba(46, 34, 25, .35); }
#circle .form__field input::placeholder { color: rgba(46, 34, 25, .5); }

/* nav: a soft paper bar once you scroll */
.nav.is-scrolled::before { background: linear-gradient(to bottom, rgba(236, 227, 213, .94) 0, rgba(236, 227, 213, .9) 60%, rgba(236, 227, 213, 0) 100%); }
.nav.is-scrolled { color: var(--ink); }
.nav.is-scrolled .nav__links .nav__pill { border-color: rgba(46, 34, 25, .5); }
.nav.is-scrolled .nav__links .nav__pill:hover { background: var(--ink); color: var(--cream); }

@media (max-width: 899px) {
  #app .display, #work .display, #circle .display { font-size: .92rem; letter-spacing: .3em; }
  #app .display .key, #work .display .key, #circle .display .key { font-size: 3.4rem; }
  #within .ln--b { font-size: 2.7rem; }
}

/* round 2 */
/* Light Codes: the names around the ring in ink; the words inside the mirror stay light on the image */
#light-codes .code-name { color: var(--ink) !important; text-shadow: none !important; }
#light-codes .ro-name { color: #fff3dc; text-shadow: 0 2px 20px rgba(0, 0, 0, .85); }
#light-codes .ro-line { color: #f6efe2; text-shadow: 0 1px 14px rgba(0, 0, 0, .95); }
/* "remembering, / the divine channel that we are": small capitals + big italic */
.codes-mega { font: 400 clamp(.95rem, 1.6vw, 1.3rem)/1.7 var(--display); letter-spacing: .4em; text-transform: uppercase; color: var(--ink); }
.codes-mega em { display: block; margin-top: .25em; font: italic 400 clamp(2.6rem, 5.4vw, 5rem)/1.05 var(--quote); letter-spacing: 0; text-transform: none; color: #3b2a1c !important; text-shadow: none !important; }
/* closing arch: Marss's own photo; its fade melts into paper, words sit below it */
#portal .p-arch { box-shadow: 0 0 0 1px rgba(138, 106, 62, .35); -webkit-mask-image: none; mask-image: none; }
#portal .portal-mega { margin-top: 5vh; }
#portal .p-arch-wrap { width: min(78vw, 440px); }
/* the dark foot of the opening melts gently into the paper */
#app::before { height: clamp(140px, 22vh, 240px); background: linear-gradient(180deg, #16120f 0%, rgba(22, 18, 15, .55) 35%, rgba(22, 18, 15, 0) 100%); }

/* round 3 (2026-11-14): soft light photographs behind each section — Marss's own
   sunsets and skies, blurred into pure light (like the "WEBSITE SOLAR" photo).
   A thin paper veil keeps the ink readable. */
#app    { background: linear-gradient(rgba(240, 232, 220, .28), rgba(240, 232, 220, .38)), url("../assets/img/light/gold.jpg") center / cover no-repeat !important; }
#work   { background: linear-gradient(rgba(242, 234, 224, .3), rgba(242, 234, 224, .42)), url("../assets/img/light/rose.jpg") center / cover no-repeat !important; }
#now    { background: linear-gradient(rgba(243, 237, 228, .5), rgba(243, 237, 228, .58)), url("../assets/img/light/sky.jpg") center / cover no-repeat !important; }
#pieces { background: linear-gradient(rgba(243, 236, 226, .3), rgba(243, 236, 226, .4)), url("../assets/img/light/gold.jpg") center / cover no-repeat !important; }
#circle { background: linear-gradient(rgba(243, 236, 226, .36), rgba(243, 236, 226, .5)), url("../assets/img/light/dusk.jpg") center / cover no-repeat !important; }
#portal { background: linear-gradient(rgba(243, 236, 226, .3), rgba(243, 236, 226, .5)), url("../assets/img/light/rose.jpg") center / cover no-repeat !important; }
/* cards and the ring read like paper laid on the light */
#work .offer { background: rgba(255, 252, 246, .62) !important; }
