/* together.css · v5. Loaded last on every page. It adds no new look. It takes the looks the site already has
 * and gives each object one treatment everywhere:
 *   a centre     one colour, from the home ladder to the rung to the Kingdom doors
 *   a label      one eyebrow
 *   a price      one face, in the colour of its centre
 *   an action    gold for the next step, an outlined pill for a door to another page, a text link for an address
 *   a card       a door is built like a teaching card: a face, a lit top edge, the colour of its centre
 *   a quote      one size, one voice
 *   a photograph a cartouche
 *   an ending    one threshold, on every page, dark in both reading modes
 * No word lives in this file: it has no generated text.
 */

/* the seven centres, the ladder's own values:
   root #C8242B #F27A7F · sacral #E8732A #F5A066 · solar #F2C230 #F7D46A · heart #3FA86A #7FD6A2
   throat #2C5FC4 #8FB0F0 · third eye #5A47C2 #AC9FF2 · crown #9B5FD0 #CFAAF2 */

/* on warm paper the light tints of a centre would vanish: the same colour, taken down to ink */
:root[data-theme="paper"] :is(.v4-step, #doors) { --ink-c: color-mix(in srgb, var(--c) 55%, #1B0C20); }

/* ---------------------------------------------------------------- the eyebrow --- */
.rv-eyebrow, .lo-kick, .v4-know__k, .v4-step__k, .rv-step__kind, .lb-tag, .v4-ch__n, .v4-more dt, .v4-step dt {
  font: 600 .8125rem/1.35 var(--kick); letter-spacing: .2em;
}
.lb-door .rv-step__kind { font-size: .8125rem; color: var(--t, #BFB1C7); }
.v4-ch--heart .v4-ch__n { color: #7FD6A2; } .v4-ch--heart .v4-ch__n span { border-color: rgba(127, 214, 162, .5); }
.v4-ch--root .v4-ch__n { color: #F27A7F; } .v4-ch--root .v4-ch__n span { border-color: rgba(242, 122, 127, .5); }
:root[data-theme="paper"] .lb-door .rv-step__kind, :root[data-theme="paper"] .v4-step__i, :root[data-theme="paper"] .v4-more dt { color: var(--ink-c); }
:root[data-theme="paper"] :is(.v4-step dt, .rv-subtitle) { color: var(--ink-c); }

/* ---------------------------------------------------------------- the price --- */
.v4-rung__t, .v4-offer__terms, .lb-door__terms {
  font: 600 1.0625rem/1.35 var(--kick); letter-spacing: .02em; text-transform: none; font-variant-numeric: lining-nums tabular-nums;
  color: color-mix(in srgb, var(--t) 62%, #fff); text-shadow: 0 0 16px color-mix(in srgb, var(--t) 55%, transparent);
}
.v4-rung__t.rv-first { font-size: .875rem; color: var(--t); letter-spacing: .04em; }
.lb-door__terms { text-wrap: balance; }
:root[data-theme="paper"] :is(.v4-offer__terms, .lb-door__terms, .rv-crown__terms) { color: var(--ink-c); text-shadow: none; }

/* the crown keeps its size and its box; its numbers take the colour of the crown, as they do on the home */
@media (forced-colors: none) {
  .rv-crown__terms b { background: linear-gradient(176deg, #fff 6%, color-mix(in srgb, var(--t) 62%, #fff) 50%, var(--t) 96%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  :root[data-theme="paper"] .rv-crown__terms b { background: linear-gradient(176deg, var(--c), var(--ink-c)); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.rv-crown__terms b { filter: drop-shadow(0 0 16px color-mix(in srgb, var(--t) 40%, transparent)); }
:root[data-theme="paper"] .rv-crown__terms b { filter: none; }

/* ---------------------------------------------------------------- the pills --- */
.rv-incl li { border-radius: 1.2rem; border-color: color-mix(in srgb, var(--t, #D9A648) 46%, transparent); }
.rv-wa__i { color: var(--t, #D9A648); border-color: color-mix(in srgb, var(--t, #D9A648) 70%, transparent); }
:root[data-theme="paper"] .rv-incl li { border-color: color-mix(in srgb, var(--c, #A57626) 50%, transparent); }
:root[data-theme="paper"] .rv-wa__i { color: var(--ink-c); border-color: var(--ink-c); }
/* what the doors include sits under the doors as it does on the road: left, not centred */
.rv-incl-wrap { text-align: left; }
.rv-incl-wrap .rv-incl { justify-content: flex-start; }

/* ---------------------------------------------------------------- the actions --- */
/* gold always carries dark ink: inside a section the page's link colour was turning it pale */
body.lo-site a.lo-btn, body.lo-site .lb-sec p a.lo-btn { color: #1B0C20; text-decoration: none; }
.lo-btn, .rv-btn, .lo-open, .lo-rise { letter-spacing: .12em; justify-content: center; max-width: 100%; }
.lo-btn, .rv-btn { white-space: nowrap; }
.lo-open { white-space: normal; line-height: 1.25; padding-block: .55rem; text-align: center; }
@media (max-width: 430px) { .lo-btn, .rv-btn, .lo-open, .lo-rise { letter-spacing: .1em; } }
@media (max-width: 359px) { .lo-btn, .rv-btn, .lo-open, .lo-rise { white-space: normal; line-height: 1.25; padding-block: .5rem; text-align: center; } }

/* an outlined pill on a page of its own colours */
.lb-sec .lo-open { --t: #D9A648; --c: #A57626; color: var(--mirror); text-decoration: none; }
body.lo-site .lb-sec p a.lo-open { color: var(--mirror); text-decoration: none; }
:root[data-theme="paper"] .lb-sec:not(.v3-threshold, .lb-sec--deep) .lo-open { background: none; border-color: rgba(122, 84, 16, .5); box-shadow: none; }
:root[data-theme="paper"] .lb-sec:not(.v3-threshold, .lb-sec--deep) .lo-open:hover { background: rgba(165, 118, 38, .12); }

.lb-door__acts { margin-top: .4rem; }
.lb-door__acts .lo-btn { margin: 0; }

/* the big steps had a box tight enough to fold their button in two on a phone */
@media (max-width: 760px) {
  .rv-step--crown .v4-step__body, .rv-step--first .v4-step__body { padding: 1.1rem 1rem; }
}

/* ---------------------------------------------------------------- a door is one object --- */
/* the Kingdom doors, on the road and on Christopher & Pixie, built like a teaching card */
.rv-doors--three .lb-door {
  position: relative;
  background: radial-gradient(ellipse 90% 45% at 50% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 75%), var(--gl-face);
  border-color: color-mix(in srgb, var(--t) 34%, transparent);
}
.rv-doors--three .lb-door::before { content: ""; position: absolute; left: 1.1rem; right: 1.1rem; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--t), transparent); }
:root[data-theme="paper"] .rv-doors--three .lb-door { background: radial-gradient(ellipse 90% 45% at 50% 0%, color-mix(in srgb, var(--c) 12%, transparent), transparent 75%), var(--gl-face); border-color: color-mix(in srgb, var(--c) 34%, transparent); }

/* ---------------------------------------------------------------- the pull quote --- */
body.lo-site .lb-quote p { font: italic 400 clamp(1.25rem, 1.12rem + .5vw, 1.55rem)/1.45 var(--serif); letter-spacing: 0; color: var(--mirror); }
body.lo-site .lb-quote figcaption { font: 600 .8125rem/1.5 var(--kick); letter-spacing: .2em; }
.rv-film figcaption blockquote p { font: italic 400 clamp(1.25rem, 1.12rem + .5vw, 1.55rem)/1.45 var(--serif); letter-spacing: 0; color: var(--mirror); }

/* ---------------------------------------------------------------- the rhythm --- */
.v4-ch, .pr { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.v4-offer, #ladder { scroll-margin-top: 88px; }

/* ---------------------------------------------------------------- the five teachings --- */
/* on a phone the glyph stood in the text column and left an empty column beside it */
@media (max-width: 1179px) {
  .v4-know__card > .rv-know__glyph { grid-column: 1; grid-row: 1 / span 2; margin: .1rem 0 0; }
}

/* ---------------------------------------------------------------- the photograph --- */
/* the hands were the last arch on the site. Now they stand in the same cartouche as every other photograph */
.lo-frame.lo-end__hands { height: min(38vh, 340px); width: auto; max-width: 78vw; margin: 0 0 1.8rem; aspect-ratio: 2 / 3; border-radius: 0; overflow: visible; box-shadow: none; align-self: center; }
.lo-end__hands .lo-frame__breath { animation-play-state: running; }
.lo-end__hands .lo-frame__img { width: 100%; height: 100%; }

/* ---------------------------------------------------------------- the threshold --- */
/* every page ends the way the home ends: the same dark, a line that stands alone, one way on, then the shared footer */
.rv-close.lb-sec { border-top: 0; padding-block: clamp(4.5rem, 12vh, 7.5rem); color: #E7E7E7; overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 30% 40%, rgba(155, 95, 208, .22), transparent 70%), radial-gradient(ellipse 60% 60% at 75% 60%, rgba(165, 118, 38, .14), transparent 70%), #0e0511; }
.rv-close > .lb-col { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; max-width: 46rem; margin-inline: auto; }
.rv-close > .lb-col > * { max-width: 100%; text-align: center; }
.rv-close.lb-sec > .lb-col > * + * { margin-top: 1.1rem; }
.rv-close__mark { width: 22px; height: 32px; color: #EBC67E; filter: drop-shadow(0 0 7px rgba(217, 166, 72, .6)); transform: none; }
.rv-close.lb-sec > .lb-col > .rv-close__mark + * { margin-top: 1.5rem; }
.rv-close :is(.lb-h2, .lb-statement) { margin: 0; font: 400 clamp(2rem, 1.3rem + 2.8vw, 3.6rem)/1.12 var(--serif); letter-spacing: 0; color: #F3EEF4; text-wrap: balance; max-width: 20ch; }
.rv-close .lb-statement { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); line-height: 1.2; max-width: 28ch; }
.rv-close .lb-lead { font: italic 400 clamp(1.2rem, 1.08rem + .4vw, 1.4rem)/1.45 var(--serif); color: rgba(243, 238, 244, .92); max-width: 30rem; }
.rv-close .lb-note { max-width: 34rem; color: #C9BECF; font-size: 1.0625rem; line-height: 1.7; }
.rv-close .lb-note .v4-lock { color: #D9A648; }
.rv-close .lb-note a { color: #D9A648; text-decoration-color: rgba(217, 166, 72, .55); }
.rv-close .lb-act { justify-content: center; gap: .7rem 1rem; }
.rv-close .lb-act .lo-btn { margin-right: 0; }
.lo-act--two { gap: .7rem 1rem; }
.v4-door__not { color: #C9BECF; font-size: 1.0625rem; }
:root[data-theme="paper"] .v4-door__not { color: var(--soft); }

/* the footer is the last step of the threshold: the way on stands out, the page you are on is marked */
.lb-foot__map a[aria-current="page"] { color: var(--gold-lit); }
.lb-foot__map a[href="work-with-me.html"]:not([aria-current]) { padding: 0 1rem; margin-inline: -.1rem; border: 1px solid rgba(217, 166, 72, .55); border-radius: 999px; color: var(--mirror); }
.lb-foot__map a[href="work-with-me.html"]:not([aria-current]):hover { border-color: var(--gold-lit); }
.lb-foot__map ul { align-items: center; }

/* ---------------------------------------------------------------- finding your place --- */
.v4-menu__list a[aria-current] { color: #E9C27A; }
.v4-menu__list a[aria-current] .rv-glyph { filter: drop-shadow(0 0 7px rgba(217, 166, 72, .7)); }

/* the rail: a full 44 pixels to land on, the same 34 pixel circle to look at */
.rv-rail { gap: calc(1.6rem - 10px); }
.rv-rail a, .rv-rail a.is-current, .rv-rail a:hover, .rv-rail a:focus-visible { width: 44px; height: 44px; background: none; border: 0; box-shadow: none; }
.rv-rail a::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: rgba(18, 12, 23, .85); border: 1px solid rgba(217, 166, 72, .28); transition: border-color .3s, box-shadow .3s; }
.rv-rail a:hover::before, .rv-rail a:focus-visible::before { border-color: rgba(233, 194, 122, .8); }
.rv-rail a.is-current::before { border-color: rgba(233, 194, 122, .85); box-shadow: 0 0 16px rgba(233, 194, 122, .32); }
.rv-rail .rv-glyph { position: relative; }

/* the road on Work with Christopher: the same rail, built by road.js from the seven steps, each holding its own lotus.
   It comes up while you are on the road and goes when you leave it. On anything narrower than the page plus the rail
   it lies down along the bottom edge, under the thumb. */
.rv-road { opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.rv-road.is-on { opacity: 1; visibility: visible; }
.rv-road::before { background: linear-gradient(to bottom, #C8242B, #E8732A, #F2C230, #3FA86A, #2C5FC4, #5A47C2, #9B5FD0); opacity: .75; }
.rv-road a::before { border-color: color-mix(in srgb, var(--t) 32%, transparent); }
.rv-road a .lotus { position: relative; display: block; width: 24px; height: 24px; opacity: .7; transform: scale(.84); transition: opacity .3s, transform .3s; }
.rv-road a:hover::before, .rv-road a:focus-visible::before { border-color: var(--t); }
.rv-road a.is-current::before { border-color: var(--t); box-shadow: 0 0 16px color-mix(in srgb, var(--t) 60%, transparent); }
.rv-road a.is-current .lotus { opacity: 1; transform: scale(1.08); }
@media (max-width: 1359px) {
  .rv-rail.rv-road {
    display: flex; flex-direction: row; justify-content: space-evenly; gap: 0; top: auto; right: 0; bottom: 0; left: 0; transform: none;
    padding: 0 .5rem env(safe-area-inset-bottom);
    background: rgba(14, 6, 18, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 -1px 0 rgba(246, 227, 176, .14), 0 -16px 30px -20px #000;
  }
  .rv-road::before { left: 8%; right: 8%; top: 28px; bottom: auto; width: auto; height: 1px; background: linear-gradient(to right, #C8242B, #E8732A, #F2C230, #3FA86A, #2C5FC4, #5A47C2, #9B5FD0); }
  .rv-rail.rv-road a { flex: 1 1 0; min-width: 44px; max-width: 72px; width: auto; height: 56px; }
  .rv-road a::before { inset: auto; left: 50%; top: 50%; width: 36px; height: 36px; translate: -50% -50%; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-road, .rv-road a .lotus, .rv-rail a::before { transition: none; }
}

/* ---------------------------------------------------------------- small repairs --- */
/* the crown's lotus floated to the middle of its long card; it stands at the top of its step like the other six */
.rv-mark--crown svg { width: 44px; height: 44px; }
@media (max-width: 760px) { .rv-mark--crown svg { width: 34px; height: 34px; } }
/* three doors side by side only where each can hold its label, its price and its button on one line */
@media (max-width: 1179px) { .rv-doors--three { grid-template-columns: minmax(0, 1fr); } }
.rv-doors--three .lb-door { padding-inline: 1rem; }
.lb-door .rv-step__kind { letter-spacing: .14em; }
.lb-door__terms { font-size: .9375rem; letter-spacing: 0; }
.lb-door .lo-btn { letter-spacing: .08em; padding-inline: .9rem; width: 100%; }
@media (max-width: 760px) { .lb-door .lo-btn { width: auto; } }
/* a full target at every width, not only on a phone */
.rv-incl li.rv-wa { min-height: 44px; }
.rv-in__go { padding-block: 8px; }
.rv-kin a { padding-block: 11px; }
.rv-note a, .rv-more a, .lb-note a { padding-block: 13px; }

/* a pill that opens a page: the same pill, a full target to land on */
.rv-incl a { display: inline-block; padding-block: .6rem; margin-block: -.6rem; color: inherit; text-decoration-color: var(--t, #D9A648); text-underline-offset: .28em; }

/* ---- Christopher's Nov 12 notes ---- */
/* My former life now sits behind the door as #story; My current story follows as #now, with the same quiet plate */
.v4-home #now .lo-veil img { display: none; }
.v4-home #now .lo-veil { background: url(../img/egyptian-plate.webp) center / cover; opacity: .16; mix-blend-mode: luminosity; filter: sepia(.4); }
/* The library: what is locked says so */
.v4-in__t .v4-lock { color: var(--gold-lit, #D9A648); }
.v4-in__h { margin: 1.8rem 0 0; width: 100%; text-align: left; font: 600 .75rem/1.2 var(--kick, sans-serif); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-lit, #D9A648); }
.v4-in__h .v4-lock { color: var(--gold-lit, #D9A648); }
.v4-in__h + .v4-in { margin-top: .4rem; }
.v4-shelf { min-height: auto; }
/* The Prayer Room */
.pr-room-sec .lb-col { text-align: center; }
.pr-room-sec .rv-eyebrow, .pr-room-sec .lb-lead, .pr-room-sec .v4-door__not { text-align: center; margin-inline: auto; justify-content: center; }
.pr-room { list-style: none; margin: 2.2rem 0 1.6rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: 2.2rem 1.4rem; text-align: center; }
.pr-room a { display: grid; gap: .55rem; color: inherit; text-decoration: none; }
.pr-room__c { display: grid; gap: .55rem; align-content: start; }
.pr-room__card { display: grid; place-items: center; width: 100%; aspect-ratio: 1136 / 1408; overflow: hidden; border: 1px solid rgba(217, 166, 72, .4); border-radius: 1.2rem 1.2rem .3rem .3rem; background: radial-gradient(ellipse at 50% 40%, #2a1650, #0b0516 75%); }
.pr-room__card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pr-room__card--tall img { object-fit: contain; }
@media (max-width: 30rem) { .pr-room { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem 1rem; } .pr-room__n { font-size: 1.1rem; } .pr-room__k { font-size: .8rem; } }
.pr-room__card .rv-glyph { width: 2.4rem; height: 2.4rem; opacity: .5; }
.pr-room__n { font: 400 1.3rem/1.2 var(--serif); color: var(--mirror); }
.pr-room__k { font-size: .9rem; line-height: 1.4; color: var(--dim); }
.pr-room a:hover .pr-room__n, .pr-room a:focus-visible .pr-room__n { color: var(--gold-lit, #D9A648); }
.pr-room a:focus-visible { outline: 2px solid var(--gold-lit, #D9A648); outline-offset: 4px; border-radius: 1.2rem; }
