/* © 2026 SiteRevive. Unpaid preview. Unauthorized use, reproduction, or distribution prohibited. */
/* Psychic Readings by Kimberly: shared chrome, type, buttons, frames and the minor graphics layer.
   Imported on every page after tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 400 var(--t-body)/1.65 var(--f-body);
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--violet); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.on-night :focus-visible, .foot :focus-visible { outline-color: var(--gold); }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--card); padding: 12px 18px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- Display type ---------- */
h1, h2, h3 { font-family: var(--f-display); color: var(--ink); font-weight: 700; margin: 0; letter-spacing: .01em; }
h2 { font-size: var(--t-h2); line-height: 1.12; text-shadow: var(--extrude); }
h3 { font-size: var(--t-h3); line-height: 1.2; }
.voice { font-family: var(--f-voice); font-style: italic; font-weight: 500; }
p { margin: 0 0 1em; }
.lead { font-size: 1.125rem; color: var(--body); max-width: 60ch; }

/* Kicker: a tracked gold line with a drawn star (minor graphic: star bullet). */
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 600 .8rem/1 var(--f-display); letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-ink); margin: 0 0 1rem;
}
.kicker svg { width: 34px; height: 12px; flex: none; color: var(--gold-deep); }
.on-night .kicker { color: var(--gold); }
.on-night .kicker svg { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--violet); --fg: var(--card);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.45rem; border-radius: var(--r-pill);
  background: var(--bg); color: var(--fg); border: 1px solid transparent;
  font: 600 1rem/1.1 var(--f-body); letter-spacing: .01em; text-decoration: none;
  overflow: hidden; isolation: isolate; cursor: pointer;
  box-shadow: 0 10px 26px -12px rgb(50 4 95 / .65);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgb(50 4 95 / .7); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn::after {
  content: ""; position: absolute; inset: 0 auto 0 -60%; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / .28), transparent);
  transform: skewX(-18deg); opacity: 0;
}
.btn:hover::after { animation: shine .9s var(--ease); }
@keyframes shine { 0% { left: -60%; opacity: 1; } 100% { left: 120%; opacity: 1; } }
.btn--gold { --bg: var(--gold); --fg: var(--night); box-shadow: 0 10px 26px -12px rgb(122 90 0 / .7); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--lilac); box-shadow: none; }
.btn--ghost:hover { background: var(--card); box-shadow: none; }
.on-night .btn--ghost { --fg: var(--on-night); border-color: rgb(240 236 251 / .45); }
.on-night .btn--ghost:hover { background: rgb(240 236 251 / .08); }

/* ---------- Header: floating pill bar ---------- */
.bar {
  position: sticky; top: 12px; z-index: 40;
  width: min(var(--wrap), 100% - 24px); margin: 12px auto 0;
  display: flex; align-items: center; gap: 1rem;
  min-height: 64px; padding: 8px 8px 8px 12px;
  border-radius: var(--r-pill);
  background: rgb(254 253 255 / .78);
  border: 1px solid rgb(193 166 249 / .5);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 12px 34px -20px rgb(50 4 95 / .5);
}
.bar__brand {
  display: flex; align-items: center; gap: .7rem; min-height: 48px;
  text-decoration: none; color: var(--ink); flex: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.bar__brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 1px var(--gold), 0 4px 12px -4px rgb(50 4 95 / .5); }
.bar__name { font: 700 .95rem/1.05 var(--f-display); letter-spacing: .04em; }
.bar__name i { display: block; font: italic 500 1.05rem/1 var(--f-voice); color: var(--gold-ink); letter-spacing: 0; }
/* Hidden state exists only when JS has set it (site.js). No JS: the brand stays visible. */
.bar__brand[data-hidden="true"] { opacity: 0; transform: translateY(-4px); pointer-events: none; }
.bar__brand[data-hidden="true"]:focus-visible { opacity: 1; transform: none; pointer-events: auto; }
.bar__nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.bar__nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem; border-radius: var(--r-pill);
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem;
  transition: background-color .2s;
}
.bar__nav a:hover { background: var(--paper-2); }
.bar__nav a[aria-current="page"] { background: var(--haze); font-weight: 600; }
.bar__call { flex: none; }
.bar__menu { display: none; }

@media (max-width: 900px) {
  .bar { top: 8px; margin-top: 8px; padding-left: 8px; }
  .bar__nav, .bar__call { display: none; }
  .bar__menu { display: block; margin-left: auto; position: relative; }
  .bar__menu summary {
    list-style: none; display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: 0 1.1rem;
    border-radius: var(--r-pill); background: var(--violet); color: var(--card); font-weight: 600; cursor: pointer;
  }
  .bar__menu summary::-webkit-details-marker { display: none; }
  .bar__menu summary svg { width: 18px; height: 18px; }
  .bar__menu[open] .bar__sheet { display: grid; }
  .bar__sheet {
    display: none; position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; padding: 8px;
    background: var(--card); border: 1px solid var(--haze); border-radius: 18px; box-shadow: 0 24px 40px -20px rgb(50 4 95 / .5);
  }
  .bar__sheet a { display: flex; align-items: center; min-height: 48px; padding: 0 1rem; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
  .bar__sheet a:hover { background: var(--paper-2); }
}
@media (max-width: 400px) { .bar__name { font-size: .82rem; } .bar__name i { font-size: .95rem; } }

/* Mobile action bar: Call / Book / Email */
.dock { display: none; }
@media (max-width: 900px) {
  .dock {
    position: fixed; z-index: 45; left: 10px; right: 10px; bottom: 10px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px;
    border-radius: 20px; background: rgb(43 0 86 / .92);
    -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
    box-shadow: 0 14px 30px -14px rgb(50 4 95 / .8);
  }
  .dock a { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; border-radius: 14px; color: var(--on-night); text-decoration: none; font-weight: 600; font-size: .95rem; }
  .dock a:nth-child(2) { background: var(--gold); color: var(--night); }
  .dock svg { width: 18px; height: 18px; }
}

/* ---------- Section shell ---------- */
.sec { position: relative; padding-block: var(--pad-section); isolation: isolate; }
.sec > .motif { position: absolute; z-index: -1; pointer-events: none; background: currentColor; }
.on-night { background: var(--night); color: var(--on-night-mute); }
.on-night h2, .on-night h3 { color: var(--on-night); }
.on-night h2 { text-shadow: 1px 1px 0 var(--night-2), 2px 3px 0 rgb(0 0 0 / .35); }

/* Motif masks: the shape comes from img/motifs, the colour from a palette token. */
.motif { background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }

/* ---------- Minor graphics ---------- */
/* Broken hairline around a crescent */
.rule { display: flex; align-items: center; gap: .9rem; color: var(--gold-deep); margin: 1.6rem 0; max-width: 360px; }
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .65; }
.rule svg { width: 22px; height: 22px; flex: none; }
.on-night .rule { color: var(--gold); }

/* Star bullets */
.stars-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.stars-list li { position: relative; padding-left: 1.75rem; }
.stars-list svg { position: absolute; left: 0; top: .32em; width: 15px; height: 15px; color: var(--gold-deep); }
.on-night .stars-list svg { color: var(--gold); }

/* Card-corner pips around an image frame */
.pips { position: relative; }
.pips > .pip { position: absolute; width: 16px; height: 16px; color: var(--gold-deep); z-index: 2; pointer-events: none; }
.pip--tl { left: -8px; top: -8px; } .pip--tr { right: -8px; top: -8px; }
.pip--bl { left: -8px; bottom: -8px; } .pip--br { right: -8px; bottom: -8px; }

/* Index numeral in a drawn card tab */
.numtab { position: relative; display: inline-grid; place-items: center; width: 34px; height: 46px; color: var(--gold-ink); font: 700 .78rem/1 var(--f-display); letter-spacing: .02em; }
.numtab svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.numtab span { position: relative; padding-top: 6px; }

/* Seal stamp around a proof point */
.seal { width: 132px; height: 132px; color: var(--gold-ink); }
.seal text { font: 700 10px var(--f-display); letter-spacing: 1.2px; fill: currentColor; }

/* Card-shaped price tag with notched corners (minor graphic). */
.tag {
  display: inline-grid; place-items: center; min-width: 72px; padding: .5rem .8rem;
  background: var(--gold); color: var(--night); font: 700 1.02rem/1 var(--f-display);
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}

/* ---------- Reveal (hidden only when JS has run) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Footer ---------- */
.foot { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--on-night-mute); padding: 4.5rem 0 1.5rem; }
.foot a { color: var(--on-night); }
.foot a:hover { color: var(--gold); }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
.foot__brand { display: flex; gap: 1rem; align-items: center; }
.foot__brand img { width: 84px; height: 84px; border-radius: 50%; box-shadow: 0 0 0 1px var(--gold); }
.foot__name { font: 700 1.15rem/1.15 var(--f-display); color: var(--on-night); letter-spacing: .03em; }
.foot__name i { display: block; font: italic 500 1.3rem/1.1 var(--f-voice); color: var(--gold); letter-spacing: 0; }
.foot__line { margin: 1rem 0 0; font: 600 .78rem/1.4 var(--f-display); letter-spacing: .22em; color: var(--gold); }
.foot h3 { color: var(--gold); font-size: .8rem; letter-spacing: .26em; text-transform: uppercase; margin-bottom: .8rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.foot li a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; }
.foot__lotus { display: flex; align-items: center; gap: 1rem; color: var(--gold); margin: 2.4rem auto 1.2rem; max-width: 520px; }
.foot__lotus::before, .foot__lotus::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .5; }
.foot__lotus svg { width: 44px; height: 26px; }
.foot__copy { text-align: center; font-size: var(--t-small); margin: 0; }
.foot__credit { text-align: center; font-size: var(--t-small); margin: .5rem 0 0; padding-top: .6rem; }
.foot__credit a { display: inline-flex; align-items: center; min-height: 44px; }
.foot__pendulum { position: absolute; z-index: -1; right: 6%; top: 0; width: 90px; height: 300px; color: var(--gold); opacity: .4; transform-origin: 50% 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .foot__pendulum { animation: swing 7s ease-in-out infinite alternate; } }
.is-offscreen { animation-play-state: paused !important; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes swing { from { transform: rotate(7deg); } to { transform: rotate(-7deg); } }
@media (max-width: 800px) { .foot__grid { grid-template-columns: 1fr; gap: 1.6rem; } .foot__pendulum { right: -10px; opacity: .25; } }

/* ---------- Pendulum cursor companion (fine pointers only; js/site.js) ---------- */
.pcur { position: fixed; left: 0; top: 0; z-index: 90; width: 22px; height: 44px; pointer-events: none; color: var(--gold-deep); transform-origin: 11px 0; opacity: 0; transition: opacity .3s; }
.pcur.is-on { opacity: .9; }

/* ---------- Preview badge ---------- */
/* Turned on its side in the right-hand gutter at every width, so it never covers text. */
#sr-preview-badge {
  position: fixed; right: 0; top: 50%; z-index: 60;
  writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
  font: 600 9px/1 var(--f-body); letter-spacing: .06em; color: var(--card);
  background: var(--night); padding: 9px 3px; border-radius: 0 8px 8px 0; pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Room under the footer for the mobile action bar, painted in the footer colour. */
@media (max-width: 900px) { .foot { padding-bottom: calc(1.5rem + 80px); } }
