/* cult-community / initiation  (own skeleton: variants/initiation.html + .js)

   Full-screen rites. The page is black and lit only by candles; every screen holds one
   line. The threshold is a sigil cut out of the mascot (the pfp shows only through the
   sigil's lines and its keyhole), flanked by candles, the creed on one line beneath.
   Every section is a rite with a roman numeral; lore paragraphs, commandments and
   testimonies each take a screen of their own; joining is always the last rite.
   Scroll snaps screen to screen (proximity, so nothing is ever out of reach).

   Polarity: black. Type: an old-style book serif, small letterspaced capitals for the
   chrome. Shape: arches, hairlines, candle flames; no cards, no radii.
   Motion: candles flicker, the glow breathes, each screen's line kindles as it arrives;
   all of it stops under reduced motion (the engine's rule + WLV2.motionAllowed). */

:root {
  --in-black: #070504;
  --in-wax: #efe4ce;
  --in-flame: #ffc46b;
  --in-ember: #ff8a2b;
  --in-gold: #d9a75a;
  --in-top: 60px;
  --in-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 560'%3E%3Cg fill='none' stroke='white' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath stroke-width='10' d='M28 548V214C28 110 110 30 200 8C290 30 372 110 372 214V548Z'/%3E%3Cpath stroke-width='4' d='M52 548V222C52 132 118 64 200 40C282 64 348 132 348 222V548'/%3E%3Cpath stroke-width='6' d='M76 150H324L200 470Z'/%3E%3Cpath stroke-width='5' d='M28 508H372'/%3E%3Ccircle stroke-width='6' cx='200' cy='246' r='128'/%3E%3C/g%3E%3Cg fill='white'%3E%3Ccircle cx='200' cy='246' r='104'/%3E%3Cpath d='M168 330H232L262 480H138Z'/%3E%3Ccircle cx='200' cy='10' r='10'/%3E%3Ccircle cx='76' cy='150' r='9'/%3E%3Ccircle cx='324' cy='150' r='9'/%3E%3Ccircle cx='200' cy='508' r='9'/%3E%3Ccircle cx='28' cy='508' r='8'/%3E%3Ccircle cx='372' cy='508' r='8'/%3E%3Ccircle cx='200' cy='118' r='6'/%3E%3Ccircle cx='89' cy='310' r='6'/%3E%3Ccircle cx='311' cy='310' r='6'/%3E%3C/g%3E%3C/svg%3E");

  --v-bg: var(--in-black);
  --v-fg: var(--in-wax);
  --v-soft: color-mix(in srgb, var(--in-wax) 74%, var(--in-black));
  --v-faint: color-mix(in srgb, var(--in-wax) 48%, var(--in-black));
  --v-line: rgb(217 167 90 / 0.18);
  --v-line-strong: rgb(217 167 90 / 0.42);
  --v-surface: #0e0b08;
  --v-surface-2: #17120c;
  --v-card-bg: transparent;
  --v-accent: var(--in-gold);
  --v-accent-text: var(--in-gold);
  --v-on-accent: #140d05;
  --v-secondary: var(--wl-accent-on-dark);
  --v-seg-1: var(--in-gold);
  --v-seg-2: var(--wl-accent-on-dark);
  --v-seg-3: #9b7640;
  --v-seg-4: #6a5234;
  --v-seg-5: #cdb489;
  --v-seg-6: #3d3024;
  --v-font-body: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "Bitstream Charter", Charter, Georgia, serif;
  --v-font-display: var(--v-font-body);
  --v-font-mono: "Courier 10 Pitch", "Courier New", ui-monospace, monospace;
  --v-display-weight: 400;
  --v-display-tracking: 0.01em;
  --v-display-case: none;
  --v-display-lh: 1.1;
  --v-title-size: clamp(2rem, 4.2vw, 3.5rem);
  --v-body-size: clamp(1.02rem, 0.3vw + 0.96rem, 1.16rem);
  --v-radius: 2px;
  --v-radius-sm: 2px;
  --v-radius-lg: 2px;
  --v-border: 1px solid var(--v-line);
  --v-shadow: none;
  --v-card-pad: 22px;
  --v-maxw: 980px;
  --v-pad-x: clamp(22px, 6vw, 96px);
  --v-sec-gap: 0px;
  --v-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --wl-label-lore: "The telling";
  --wl-label-features: "The gifts";
  --wl-label-supply: "The offering";
  --wl-label-flow: "The path";
  --wl-label-timeline: "The rites so far";
  --wl-label-comparison: "The weighing";
  --wl-label-stats: "The count";
  --wl-label-tweet: "The word";
  --wl-label-gallery: "Relics";
  --wl-label-facts: "The vows";
  --wl-label-quotes: "Testimony";
  --wl-label-faq: "Asked at the door";
  --wl-label-access: "The last rite";
}

html { background: var(--in-black); color-scheme: dark; scroll-snap-type: y proximity; }
body { background: transparent; letter-spacing: 0.005em; }
::selection { background: var(--in-gold); color: var(--in-black); }

/* ---------------------------------------------------------------- the dark */
.in-dark { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: radial-gradient(120% 70% at 50% 112%, #221306 0%, #0b0705 48%, var(--in-black) 70%); }
.in-dark__glow { position: absolute; left: -15%; right: -15%; bottom: -34%; height: 82%;
  background: radial-gradient(closest-side, rgb(255 150 60 / 0.2), rgb(255 110 30 / 0.07) 58%, transparent);
  animation: in-flicker 7s linear infinite; }

/* ---------------------------------------------------------------- chrome */
.in-top {
  position: fixed; z-index: 30; top: 0; left: 0; right: 0; height: var(--in-top);
  display: flex; align-items: center; gap: 16px; padding: 0 var(--v-pad-x);
  background: linear-gradient(var(--in-black) 30%, rgb(7 5 4 / 0));
  font-size: 0.7rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--v-faint);
}
.in-top a { text-decoration: none; }
.in-top__name { color: var(--in-wax); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.in-top__tick { white-space: nowrap; }
.in-top__vow { margin-left: auto; flex: none; color: var(--in-gold); padding-bottom: 3px; border-bottom: 1px solid var(--v-line-strong); transition: color 0.3s, border-color 0.3s; }
.in-top__vow:hover { color: var(--in-flame); border-color: var(--in-flame); }

.in-rites { position: fixed; z-index: 30; right: clamp(12px, 2.2vw, 30px); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 9px; }
.in-rites a { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 44px;
  font-size: 0.64rem; letter-spacing: 0.16em; color: var(--v-faint); text-decoration: none; transition: color 0.4s; }
.in-rites a::after { content: ""; width: 12px; height: 1px; background: currentColor; opacity: 0.7; transition: width 0.5s var(--v-ease), box-shadow 0.5s; }
.in-rites a:hover { color: var(--in-wax); }
.in-rites a.is-active { color: var(--in-flame); }
.in-rites a.is-active::after { width: 26px; box-shadow: 0 0 10px var(--in-flame); }

/* ---------------------------------------------------------------- screens */
.in-screen { position: relative; min-height: 100vh; min-height: 100svh; scroll-snap-align: start; }

/* the threshold: kicker, the sigil, the creed on one line, candles either side */
.in-threshold {
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; justify-items: center; align-items: center;
  row-gap: clamp(8px, 1.8vh, 20px);
  padding: calc(var(--in-top) + 0.5vh) var(--v-pad-x) clamp(70px, 10vh, 96px);
  overflow: hidden; text-align: center;
}
.in-threshold__kicker { margin: 0; font-size: 0.72rem; letter-spacing: 0.46em; text-transform: uppercase; color: var(--in-gold); }

.in-sigil { position: relative; margin: 0; height: min(58vh, 540px); aspect-ratio: 400 / 560; max-width: 76vw; }
.in-sigil__halo { position: absolute; inset: -16% -46%; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 176 88 / 0.3), rgb(255 124 40 / 0.1) 55%, transparent 76%);
  animation: in-breathe 6.5s ease-in-out infinite; }
.in-sigil__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  fill: none; stroke: var(--in-gold); stroke-width: 1.3; opacity: 0.5; }
.in-sigil__glow { position: absolute; inset: 0; display: block;
  filter: drop-shadow(0 0 10px rgb(255 176 88 / 0.55)) drop-shadow(0 0 34px rgb(255 124 40 / 0.3)); }
.in-sigil__cut { width: 100%; height: 100%; object-fit: cover;
  -webkit-mask: var(--in-mask) center / 100% 100% no-repeat; mask: var(--in-mask) center / 100% 100% no-repeat;
  animation: in-kindle 2.6s var(--v-ease) both; }

.in-headline {
  margin: 0; max-width: 100%;
  font-family: var(--v-font-display); font-weight: 400;
  font-size: clamp(2rem, 5.4vw, 4.5rem); line-height: 1.04; letter-spacing: 0.015em;
  color: var(--in-wax); text-shadow: 0 0 30px rgb(255 160 70 / 0.35);
}

.in-altar { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 44vh; pointer-events: none;
  display: flex; justify-content: space-between; align-items: flex-end; padding: 0 clamp(18px, 6vw, 110px); }
.in-candles { display: flex; align-items: flex-end; gap: clamp(12px, 1.8vw, 26px); }
.in-candles i {
  position: relative; display: block; width: clamp(16px, 1.7vw, 25px); height: var(--h, 16vh);
  border-radius: 5px 5px 1px 1px;
  background: linear-gradient(90deg, #a8916c, #e8d9bb 34%, #fff5de 48%, #d6c4a0 68%, #8d7755);
  box-shadow: 0 -20px 60px rgb(255 150 60 / 0.16);
}
.in-candles i::before { /* the flame */
  content: ""; position: absolute; left: 50%; bottom: 100%; width: 14px; height: 27px; margin: 0 0 5px -7px;
  border-radius: 50% 50% 46% 46% / 64% 64% 36% 36%;
  background: radial-gradient(ellipse at 50% 74%, #fff 0 16%, #ffe8a6 28%, #ffb444 56%, rgb(255 122 32 / 0) 74%);
  box-shadow: 0 0 16px 6px rgb(255 164 64 / 0.42), 0 0 70px 26px rgb(255 128 40 / 0.16);
  transform-origin: 50% 92%;
  animation: in-flame 2.3s ease-in-out infinite;
}
.in-candles i::after { /* the wick */
  content: ""; position: absolute; left: 50%; top: -6px; width: 2px; height: 7px; margin-left: -1px; background: #2a1c0f; }
.in-candles--l i:nth-child(1) { --h: 13vh; } .in-candles--l i:nth-child(2) { --h: 22vh; } .in-candles--l i:nth-child(3) { --h: 17vh; }
.in-candles--r i:nth-child(1) { --h: 17vh; } .in-candles--r i:nth-child(2) { --h: 22vh; } .in-candles--r i:nth-child(3) { --h: 13vh; }
.in-candles i:nth-child(2)::before { animation-duration: 2.9s; animation-delay: -0.7s; }
.in-candles i:nth-child(3)::before { animation-duration: 2.1s; animation-delay: -1.3s; }
.in-candles--r i::before { animation-direction: reverse; }

.in-descend { position: absolute; left: 50%; bottom: 16px; width: 1px; height: 46px; margin-left: -0.5px;
  background: linear-gradient(var(--v-line-strong), transparent); }
.in-descend span { position: absolute; left: -2px; top: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--in-flame);
  box-shadow: 0 0 8px var(--in-flame); animation: in-drip 2.8s ease-in infinite; }

/* the summons: the subhead alone on a screen */
.in-summons { display: grid; place-items: center; padding: 16vh var(--v-pad-x) 12vh; text-align: center; }
.in-summons__line { margin: 0; max-width: 25ch; font-size: clamp(1.6rem, 3.3vw, 2.8rem); line-height: 1.32; font-style: italic; color: var(--in-wax); text-wrap: balance; }

/* ---------------------------------------------------------------- rites (sections) */
.in-flow { counter-reset: rite; }
.in-main .wl-sec { counter-increment: rite; padding: 0 var(--v-pad-x); }
.in-main .wl-sec__inner { max-width: var(--v-maxw); width: 100%; }
.in-main .wl-sec--gallery { display: none; } /* this variant consumes no images beyond the mascot */

.in-main .wl-sec__head { margin: 0 auto clamp(26px, 4.5vh, 48px); max-width: 44rem; text-align: center; }
.in-main .wl-kicker { justify-content: center; gap: 0.7em; margin-bottom: 1.3em; font-family: var(--v-font-body); font-size: 0.7rem; letter-spacing: 0.42em; color: var(--in-gold); }
.in-main .wl-kicker .wl-ord { display: none; }
.in-main .wl-kicker::before { content: "Rite " counter(rite, upper-roman) "  \00B7"; }
.in-main .wl-sec__title { color: var(--in-wax); text-wrap: balance; }

/* litanies: lore, vows, testimony, gifts. The heading rides the first screen; every
   paragraph / vow / testimony / gift is a screen of its own. */
.in-main :is(.wl-sec--lore, .wl-sec--facts, .wl-sec--quotes, .wl-sec--features) .wl-sec__head {
  position: absolute; z-index: 1; top: calc(var(--in-top) + 5vh); left: var(--v-pad-x); right: var(--v-pad-x); }
.in-main :is(.wl-lore__lead, .wl-lore__p, .wl-fact, .wl-quote, .wl-feature) {
  position: relative; min-height: 100vh; min-height: 100svh; scroll-snap-align: start;
  display: grid; place-content: center; justify-items: center; text-align: center;
  margin: 0 auto; padding: 18vh 0 12vh;
}
.in-main :is(.wl-sec--lore, .wl-sec--facts, .wl-sec--quotes, .wl-sec--features) .wl-sec__body > * > :first-child { padding-top: 34vh; }
.in-main .wl-in :is(.wl-fact, .wl-quote, .wl-feature, .wl-ms, .wl-node, .wl-bar) { animation: none; }

.in-main .wl-lore { max-width: none; }
.in-main .wl-lore__lead { max-width: 30ch; font-size: clamp(1.45rem, 2.7vw, 2.35rem); line-height: 1.38; font-weight: 400; color: var(--in-wax); }
.in-main .wl-lore__p { max-width: 31ch; font-size: clamp(1.3rem, 2.3vw, 2rem); line-height: 1.4; color: var(--v-soft); }

.in-main .wl-facts { display: block; max-width: none; counter-reset: vow; }
.in-main .wl-fact {
  counter-increment: vow; grid-template-columns: minmax(0, 1fr); gap: 0.7em; border: 0; border-radius: 0; background: none;
  font-size: clamp(1.55rem, 3.2vw, 2.8rem); line-height: 1.24; max-width: 30ch;
}
.in-main .wl-fact::before { content: counter(vow, upper-roman); font-size: 0.42em; letter-spacing: 0.34em; color: var(--in-gold); }
.in-main .wl-fact__mark { display: none; }
.in-main .wl-fact__text { text-wrap: balance; }

.in-main .wl-quotes { display: block; }
.in-main .wl-quote { border: 0; border-radius: 0; background: none; }
.in-main .wl-quote::before { content: ""; position: static; display: block; width: 1px; height: 70px; margin: 0 auto 30px; background: linear-gradient(transparent, var(--in-gold)); }
.in-main .wl-quote__text { max-width: 24ch; margin: 0 0 1em; font-size: clamp(1.55rem, 3.1vw, 2.7rem); line-height: 1.3; font-style: italic; font-weight: 400; text-wrap: balance; }
.in-main .wl-quote__who { font-family: var(--v-font-body); font-size: 0.7rem; letter-spacing: 0.36em; text-transform: uppercase; color: var(--in-gold); }
.in-main .wl-quote__who a { color: inherit; }

.in-main .wl-features { display: block; }
.in-main .wl-feature { border: 0; border-radius: 0; background: none; max-width: 34ch; }
.in-main .wl-feature:hover { transform: none; }
.in-main .wl-feature .wl-ord { display: none; }
.in-main .wl-feature__icon { width: 54px; height: 54px; margin: 0 0 22px; background: none; color: var(--in-flame); }
.in-main .wl-feature__icon--img { display: none; }
.in-main .wl-feature__title { font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 400; }
.in-main .wl-feature__text { margin-top: 0.7em; font-size: 1.15rem; color: var(--v-soft); }

/* one-screen rites: the offering, the rites so far, the door, the word */
.in-main .wl-sec:not(.wl-sec--lore):not(.wl-sec--facts):not(.wl-sec--quotes):not(.wl-sec--features):not(.wl-sec--access):not(.wl-sec--gallery) {
  min-height: 100vh; min-height: 100svh; display: grid; align-content: center; scroll-snap-align: start;
  padding-top: calc(var(--in-top) + 5vh); padding-bottom: 9vh;
}

/* the rites so far: a row of candles, one per rite */
.in-main .wl-milestones { max-width: none; display: grid; gap: 34px 22px; grid-template-columns: repeat(auto-fit, minmax(min(168px, 100%), 1fr)); align-items: start; }
.in-main .wl-milestones::before { top: auto; bottom: auto; left: 0; right: 0; width: auto; height: 1px; margin-top: 118px; background: linear-gradient(90deg, transparent, var(--v-line-strong), transparent); }
.in-main .wl-ms { grid-template-columns: none; justify-items: center; gap: 0; text-align: center; }
.in-main .wl-ms__dot { width: 13px; height: 25px; border-radius: 50% 50% 46% 46% / 64% 64% 36% 36%;
  background: radial-gradient(ellipse at 50% 74%, #fff 0 16%, #ffe8a6 28%, #ffb444 56%, rgb(255 122 32 / 0) 74%);
  box-shadow: 0 0 16px 6px rgb(255 164 64 / 0.4); transform-origin: 50% 92%; animation: in-flame 2.5s ease-in-out infinite; }
.in-main .wl-ms:nth-child(even) .wl-ms__dot { animation-duration: 3.1s; animation-direction: reverse; }
.in-main .wl-ms__dot * { display: none; }
.in-main .wl-ms__body::before { content: ""; display: block; width: 15px; height: 76px; margin: 5px auto 22px; border-radius: 4px 4px 1px 1px;
  background: linear-gradient(90deg, #a8916c, #e8d9bb 34%, #fff5de 48%, #d6c4a0 68%, #8d7755); }
.in-main .wl-ms__when { font-family: var(--v-font-body); font-size: 0.7rem; letter-spacing: 0.3em; color: var(--in-gold); }
.in-main .wl-ms--done .wl-ms__when { color: var(--in-flame); }
.in-main .wl-ms__title { font-size: 1.35rem; font-weight: 400; margin-top: 0.3em; }
.in-main .wl-ms__text { font-size: 0.98rem; color: var(--v-soft); max-width: 24ch; margin: 0.4em auto 0; }

/* the offering: hairline halo rings */
.in-main .wl-infographic { gap: clamp(22px, 3.5vh, 40px); }
.in-main .wl-donut { grid-template-columns: auto minmax(0, 360px); align-items: center; justify-content: center; column-gap: clamp(28px, 5vw, 72px); }
.in-main .wl-donut__chart { width: min(100%, 320px); }
.in-main .wl-donut__track { stroke: rgb(217 167 90 / 0.12); stroke-width: 2; }
.in-main .wl-donut__seg { stroke-width: 4; }
.in-main .wl-donut__ticks line { stroke: rgb(217 167 90 / 0.38); stroke-width: 1; }
.in-main .wl-donut__value { font-weight: 400; color: var(--in-wax); font-size: clamp(1.3rem, 2.6vw, 1.9rem); }
.in-main .wl-donut__label, .in-main .wl-ring__label, .in-main .wl-stat__label { font-family: var(--v-font-body); letter-spacing: 0.3em; color: var(--in-gold); }
.in-main .wl-legend__item { border-bottom-color: var(--v-line); }
.in-main .wl-legend__swatch { border-radius: 50%; width: 9px; height: 9px; }
.in-main .wl-legend__value, .in-main .wl-ring__value, .in-main .wl-stat__value, .in-main .wl-bar__value { font-weight: 400; }
.in-main .wl-ring__track { stroke: rgb(217 167 90 / 0.12); stroke-width: 3; }
.in-main .wl-ring__fill { stroke-width: 3; }
.in-main .wl-stats { background: none; border: 0; border-radius: 0; gap: 0; }
.in-main .wl-stat { background: none; border-top: 1px solid var(--v-line); align-items: center; text-align: center; padding: 20px 14px; }
.in-main .wl-caption { text-align: center; font-style: italic; }
.in-main .wl-node__card { background: none; border-color: var(--v-line-strong); border-radius: 0; text-align: center; }
.in-main .wl-node__card .wl-ord { background: none; border: 1px solid var(--in-gold); color: var(--in-gold); }
.in-main .wl-node__title { font-weight: 400; }
.in-main .wl-bar__track { height: 4px; }
.in-main .wl-table-wrap { border-color: var(--v-line); border-radius: 0; }

/* asked at the door */
.in-main .wl-faq { margin: 0 auto; max-width: 42rem; gap: 0; }
.in-main .wl-qa { border: 0; border-bottom: 1px solid var(--v-line); border-radius: 0; background: none; }
.in-main .wl-qa__q { font-weight: 400; font-size: 1.22rem; padding: 18px 4px; }
.in-main .wl-qa__a { padding: 0 4px 20px; }
.in-main .wl-qa__sign::before, .in-main .wl-qa__sign::after { background: var(--in-gold); height: 1px; }

.in-main .wl-post { margin: 0 auto; background: #0e0a07; border-color: var(--v-line-strong); border-radius: 4px; }

/* ---------------------------------------------------------------- the last rite */
.in-last { position: relative; min-height: 100vh; min-height: 100svh; scroll-snap-align: start;
  display: grid; align-content: center; justify-items: center; text-align: center;
  padding: calc(var(--in-top) + 6vh) var(--v-pad-x) 10vh;
  background: radial-gradient(60% 50% at 50% 60%, rgb(255 150 60 / 0.09), transparent 70%); }
.in-last__slot, .in-last .wl-sec { width: 100%; }
.in-last .wl-sec { padding: 0; }
.in-last .wl-sec__inner { max-width: 46rem; }
.in-last .wl-access { justify-items: center; gap: 26px; }
.in-last .wl-access__net { letter-spacing: 0.32em; font-family: var(--v-font-body); color: var(--v-faint); }
.in-last .wl-ca { width: 100%; background: none; border: 1px solid var(--v-line-strong); border-radius: 0; }
.in-last .wl-ca__label { font-family: var(--v-font-body); letter-spacing: 0.3em; color: var(--in-gold); }
.in-last .wl-ca__value { color: var(--in-wax); }
.in-main .wl-copy { border-radius: 999px; padding: 12px 20px; color: var(--wl-on-accent);
  background: radial-gradient(circle at 34% 30%, color-mix(in srgb, var(--wl-accent) 62%, white), var(--wl-accent) 58%, color-mix(in srgb, var(--wl-accent) 62%, black));
  box-shadow: 0 0 0 3px rgb(0 0 0 / 0.5), 0 0 24px color-mix(in srgb, var(--wl-accent) 45%, transparent); }
.in-main .wl-links { justify-content: center; gap: 6px 26px; }
.in-main .wl-link { padding: 6px 2px; border: 0; border-bottom: 1px solid var(--v-line); border-radius: 0; background: none;
  font-weight: 400; font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--v-soft); }
.in-main .wl-link:hover { transform: none; color: var(--in-flame); border-color: var(--in-flame); }
.in-last__vows { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }
.in-last__slot:not(:empty) ~ .in-last__vows .wl-btn--contract { display: none; }
.in-last .wl-btn { border-radius: 0; border: 1px solid var(--v-line-strong); background: rgb(255 180 90 / 0.04); color: var(--in-wax);
  font-weight: 400; font-size: 0.74rem; letter-spacing: 0.28em; text-transform: uppercase; padding: 1.05em 1.7em; }
.in-last .wl-btn:hover { transform: none; border-color: var(--in-flame); color: var(--in-flame); box-shadow: 0 0 30px rgb(255 160 70 / 0.25); }
.in-last .wl-btn .wl-glyph { color: var(--in-gold); }

.in-foot { padding: 34px var(--v-pad-x) 44px; scroll-snap-align: end; border-top: 1px solid var(--v-line); }
.in-foot .wl-foot { justify-content: center; text-align: center; }
.in-foot .wl-foot__name { font-weight: 400; font-size: 0.8rem; letter-spacing: 0.34em; text-transform: uppercase; }
.in-foot .wl-foot .wl-links { margin-left: 0; }
.in-foot .wl-link { padding: 4px 2px; border: 0; background: none; font-weight: 400; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--v-faint); }

/* ---------------------------------------------------------------- kindling
   Each screen kindles as it scrolls in: a scroll-driven animation over its ENTRY only,
   with no fill, so a screen is fully lit before and after that range (never stranded
   dark, whatever the scroll position; a browser without view timelines shows it lit). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html:not(.wl-still) .in-rs { animation: in-line 1ms linear none; animation-timeline: view(); animation-range: entry 6% entry 100%; }
  }
}
@keyframes in-line { from { opacity: 0; filter: blur(8px); transform: translateY(22px); } 45% { opacity: 0.1; } to { opacity: 1; filter: blur(0); transform: none; } }

/* every screen keeps a little of the candlelight at its foot */
.in-summons, .in-main :is(.wl-lore__lead, .wl-lore__p, .wl-fact, .wl-quote, .wl-feature) {
  background: radial-gradient(48% 30% at 50% 104%, rgb(255 140 50 / 0.09), transparent 72%); }

@keyframes in-flicker {
  0%, 100% { opacity: 0.92; } 6% { opacity: 1; } 11% { opacity: 0.8; } 19% { opacity: 0.96; } 31% { opacity: 0.86; }
  42% { opacity: 1; } 54% { opacity: 0.84; } 63% { opacity: 0.97; } 77% { opacity: 0.88; } 86% { opacity: 1; }
}
@keyframes in-breathe { 50% { transform: scale(1.06); opacity: 0.82; } }
@keyframes in-flame {
  0%, 100% { transform: scale(1, 1) rotate(-1deg); } 22% { transform: scale(0.93, 1.07) rotate(1.6deg); }
  47% { transform: scale(1.05, 0.94) rotate(-2.2deg); } 71% { transform: scale(0.97, 1.04) rotate(1deg); }
}
@keyframes in-kindle { from { opacity: 0; filter: brightness(0.3); } }
@keyframes in-drip { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(42px); opacity: 0; } }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 760px) {
  :root { --in-top: 52px; }
  .in-rites, .in-top__tick { display: none; }
  .in-sigil { height: min(50vh, 440px); }
  .in-headline { white-space: normal; font-size: clamp(1.9rem, 8.6vw, 2.7rem); text-wrap: balance; }
  .in-threshold { padding-bottom: 17vh; }
  .in-altar { height: 16vh; padding: 0 10px; }
  .in-candles { gap: 10px; }
  .in-candles i { width: 13px; }
  .in-candles i:nth-child(3) { display: none; }
  .in-candles--l i:nth-child(1), .in-candles--r i:nth-child(1) { --h: 6vh; }
  .in-candles--l i:nth-child(2), .in-candles--r i:nth-child(2) { --h: 10vh; }
  .in-main .wl-donut { grid-template-columns: minmax(0, 1fr); }
  .in-main :is(.wl-lore__lead, .wl-lore__p, .wl-fact, .wl-quote, .wl-feature) { padding: 14vh 0 10vh; }
  .in-main :is(.wl-sec--lore, .wl-sec--facts, .wl-sec--quotes, .wl-sec--features) .wl-sec__body > * > :first-child { padding-top: 30vh; }
  .in-main :is(.wl-sec--lore, .wl-sec--facts, .wl-sec--quotes, .wl-sec--features) .wl-sec__head { top: calc(var(--in-top) + 3vh); }
  .in-main .wl-milestones { grid-template-columns: 1fr 1fr; }
  .in-main .wl-milestones::before { display: none; }
  .in-main .wl-ms__body::before { height: 46px; margin-bottom: 14px; }
  .in-last .wl-ca { grid-template-columns: 1fr auto; }
}
@media (max-width: 380px) {
  .in-main .wl-milestones { grid-template-columns: 1fr; }
}
