@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/cormorant-garamond.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/cormorant-garamond-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/fonts/source-serif-4.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/fonts/source-serif-4-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
:root {
  --indigo: #16173d;
  --indigo-2: #20225a;
  --indigo-3: #2c2f72;
  --ivory: #fbf8f2;
  --paper: #ffffff;
  --ink: #23213a;
  --muted: #5b566a;
  --line: #e6dfd0;
  --gold: #b8862b;
  --gold-hover: #8f6618;
  --gold-on-dark: #e3b65a;
  --on-dark: #f4efe4;
  --on-dark-muted: #c9c4d8;
  --bg: var(--ivory);
  --surface: var(--paper);
  --text: var(--ink);
  --link: #7a5512;
  --display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --body: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --measure: 40rem;
  --wide: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 6px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1030;
    --surface: #17184a;
    --text: #ece7dc;
    --muted: #b9b3c9;
    --line: #2d2f66;
    --link: var(--gold-on-dark);
    --gold: #d6a548;
    --gold-hover: #e9c27a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --bg: #0f1030;
    --surface: #17184a;
    --text: #ece7dc;
    --muted: #b9b3c9;
    --line: #2d2f66;
    --link: var(--gold-on-dark);
    --gold: #d6a548;
    --gold-hover: #e9c27a;
    color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1.125rem/1.7 var(--body); font-optical-sizing: auto; }
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold-on-dark); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 1.6em 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 500; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.45rem, 2.6vw, 1.8rem); }
p, ul, ol, blockquote { margin: 0 0 1.1em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--paper); color: var(--ink); padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wide)); margin-inline: auto; }
.measure { width: min(100% - 2 * var(--gutter), var(--measure)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { background: var(--indigo); color: var(--on-dark); border-bottom: 1px solid rgba(227, 182, 90, 0.25); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-size: 1.75rem; font-weight: 500; letter-spacing: 0.06em; color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 0.55rem; padding-block: 0.6rem; }
.wordmark .star { color: var(--gold-on-dark); font-size: 1.05rem; transform: translateY(-0.35em); }
.wordmark:hover { color: #fff; }
.nav-toggle { display: none; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.6rem; margin: 0; padding: 0; }
.site-nav a { color: var(--on-dark); text-decoration: none; font-size: 1.02rem; padding: 0.4rem 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-on-dark); border-bottom-color: var(--gold-on-dark); }
@media (max-width: 47.99rem) {
  .site-header .wrap { min-height: 4rem; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.5rem; background: none; border: 1px solid rgba(244, 239, 228, 0.35); color: var(--on-dark); font: inherit; font-size: 1rem; padding: 0.35rem 0.8rem; border-radius: var(--radius); cursor: pointer; }
  .site-nav { flex-basis: 100%; display: none; padding-bottom: 1rem; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 0.7rem 0; border-bottom: 1px solid rgba(244, 239, 228, 0.12); }
  .no-js .site-nav { display: block; }
  .no-js .nav-toggle { display: none; }
}
.page-head { background: var(--indigo); color: var(--on-dark); text-align: center; padding-block: clamp(2.8rem, 7vw, 4.5rem); background-image: radial-gradient(1px 1px at 12% 30%, rgba(255, 255, 255, 0.55) 50%, transparent 51%), radial-gradient(1px 1px at 78% 22%, rgba(255, 255, 255, 0.45) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 64% 70%, rgba(227, 182, 90, 0.7) 50%, transparent 51%), radial-gradient(1px 1px at 30% 80%, rgba(255, 255, 255, 0.4) 50%, transparent 51%), radial-gradient(1px 1px at 90% 60%, rgba(255, 255, 255, 0.5) 50%, transparent 51%), radial-gradient(ellipse at 50% 120%, var(--indigo-3), var(--indigo) 70%); }
.page-head h1 { margin: 0; color: #fff; }
.page-head .kicker { font-family: var(--display); font-style: italic; color: var(--gold-on-dark); font-size: 1.25rem; margin: 0 0 0.4rem; }
.page-head .meta { color: var(--on-dark-muted); margin: 0.8rem 0 0; font-size: 1rem; }
.section { padding-block: clamp(3rem, 8vw, 5.5rem); }
.section + .section { border-top: 1px solid var(--line); }
.section > .wrap > h2:first-child, .section > .measure > h2:first-child, .section-title { margin-top: 0; text-align: center; }
.section-title::after { content: ""; display: block; width: 3rem; height: 1px; background: var(--gold); margin: 0.9rem auto 0; }
.lede { font-size: 1.25rem; }
.center { text-align: center; }
.button { display: inline-block; background: var(--gold); color: #fff; font-family: var(--body); font-size: 1.02rem; font-weight: 600; letter-spacing: 0.02em; text-decoration: none; padding: 0.8rem 1.6rem; border-radius: 999px; border: 0; cursor: pointer; transition: background-color 0.15s; }
.button:hover { background: var(--gold-hover); color: #fff; }
.button.ghost { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1px currentColor; }
.button.ghost:hover { background: var(--gold); color: #fff; box-shadow: none; }
.portrait img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 1px var(--line), 0 0 0 10px var(--bg), 0 0 0 11px var(--gold); width: min(70%, 22rem); margin-inline: auto; }
@media (min-width: 48rem) { .portrait img { width: min(100%, 22rem); } }
.kicker { font-family: var(--display); font-style: italic; font-size: 1.3rem; color: var(--gold); margin: 0 0 0.2rem; }
.book-panel { background: #fff; border-radius: var(--radius); padding: clamp(0.5rem, 3vw, 1.5rem); }
.cards { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); list-style: none; padding: 0; margin: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card-body { padding: 1.2rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin: 0 0 0.3rem; font-size: 1.55rem; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--link); }
.card time, .date { color: var(--muted); font-size: 0.95rem; }
.card p { margin: 0.6rem 0 0; }
.card .more { margin-top: auto; padding-top: 1rem; }
.latest { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 48rem) { .latest { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.latest img { width: 100%; height: 100%; object-fit: cover; min-height: 16rem; }
.latest .card-body { padding: clamp(1.4rem, 4vw, 2.5rem); justify-content: center; }
.latest h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.latest blockquote { font-family: var(--display); font-style: italic; font-size: 1.35rem; line-height: 1.4; margin: 1rem 0 0; color: var(--text); }
.reading { padding-block: clamp(2.5rem, 7vw, 4.5rem); }
.reading .prose { width: min(100% - 2 * var(--gutter), var(--measure)); margin-inline: auto; }
.prose > :first-child { margin-top: 0; }
.prose img, .prose picture { border-radius: var(--radius); }
.prose figure { margin: 2rem 0; }
.prose .float { float: right; width: min(45%, 15rem); margin: 0.3rem 0 1rem 1.5rem; }
.prose .float.left { float: left; margin: 0.3rem 1.5rem 1rem 0; }
.prose::after { content: ""; display: table; clear: both; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.35em; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.pullquote { margin: 0 auto clamp(2rem, 5vw, 3rem); width: min(100% - 2 * var(--gutter), 46rem); text-align: center; }
.pullquote blockquote { margin: 0; font-family: var(--display); font-style: italic; font-size: clamp(1.6rem, 3.6vw, 2.3rem); line-height: 1.3; color: var(--text); }
.pullquote blockquote::before { content: "\201C"; display: block; font-size: 4rem; line-height: 0.6; color: var(--gold); margin-bottom: 0.6rem; font-style: normal; }
.pullquote figcaption { margin-top: 0.9rem; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.95rem; }
.feature-image { width: min(100% - 2 * var(--gutter), 60rem); margin: 0 auto clamp(2rem, 5vw, 3rem); }
.feature-image img { border-radius: var(--radius); width: 100%; }
.channeling p.quote:first-of-type::first-letter { font-family: var(--display); float: left; font-size: 4.1em; line-height: 0.8; padding: 0.08em 0.1em 0 0; color: var(--gold); }
.inline-book { clear: both; margin: 2.5rem 0; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: center; }
.inline-book h2 { margin: 0; font-size: 1.7rem; }
.inline-book .kicker { margin: 0; }
.inline-book picture { margin: 1rem auto; max-width: 30rem; background: #fff; border-radius: var(--radius); }
.post-nav { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 2rem; }
.post-nav h2 { font-size: 1.6rem; margin-top: 0; }
.post-nav ul { list-style: none; padding: 0; margin: 0; }
.post-nav li { padding: 0.5rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.post-nav li a { font-family: var(--display); font-size: 1.3rem; font-weight: 600; text-decoration: none; }
.photo-row { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 2rem 0; }
.photo-row img { border-radius: var(--radius); width: 100%; }
.photo-row figcaption { font-size: 0.95rem; color: var(--muted); font-style: italic; margin-top: 0.4rem; }
.products { list-style: none; padding: 0; margin: 0; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.product-card { text-align: center; }
.product-card img { border-radius: var(--radius); margin-bottom: 1rem; }
.product-card h2 { font-size: 1.7rem; margin: 0 0 0.2rem; }
.product-card h2 a { color: var(--text); text-decoration: none; }
.price { font-size: 1.3rem; color: var(--gold); font-weight: 600; margin: 0.2rem 0 1rem; }
.product { display: grid; gap: clamp(1.5rem, 5vw, 4rem); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 48rem) { .product { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.product img { border-radius: var(--radius); }
.product h2:first-child, .product h3:first-child { margin-top: 0; }
.buy { margin: 1.5rem 0; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.buy p { margin: 0.6rem 0 0; font-size: 1rem; color: var(--muted); }
.notice { padding: 1rem 1.2rem; border-left: 3px solid var(--gold); background: var(--surface); }
.site-footer { background: var(--indigo); color: var(--on-dark-muted); padding-block: 3rem 2.5rem; font-size: 1rem; }
.site-footer .wrap { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48rem) { .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer .wordmark { font-size: 1.6rem; padding: 0; }
.site-footer p { margin: 0.6rem 0 0; }
.site-footer h2 { font-family: var(--body); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-on-dark); margin: 0 0 0.6rem; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold-on-dark); text-decoration: underline; }
.site-footer .copy { grid-column: 1 / -1; border-top: 1px solid rgba(244, 239, 228, 0.12); padding-top: 1.5rem; font-size: 0.92rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); }
.sky { position: relative; isolation: isolate; color: var(--on-dark); background: var(--indigo); display: flex; align-items: flex-end; padding: clamp(8rem, 40vw, 16rem) var(--gutter) var(--gutter); }
.sky-bg { position: absolute; inset: 0; z-index: -2; }
.sky-bg picture, .sky-bg img { width: 100%; height: 100%; object-fit: cover; }
.sky::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22, 23, 61, 0) 30%, rgba(22, 23, 61, 0.75) 100%); }
.sky-card { background: rgba(22, 23, 61, 0.86); border: 1px solid rgba(227, 182, 90, 0.4); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 1.8rem); display: grid; gap: 1.2rem; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; max-width: 34rem; }
.sky-card-img img { border-radius: var(--radius); }
.sky-card h2 { margin: 0 0 0.4em; color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.sky-card .kicker { color: var(--gold-on-dark); font-size: 1.1rem; }
.sky-card p { font-size: 1rem; }
.sky-card p:last-child { margin: 0; }
.sky-card .button { background: var(--gold-on-dark); color: var(--indigo); }
.sky-card .button:hover { background: #f0cd86; color: var(--indigo); }
@media (max-width: 29.99rem) { .sky { padding-top: 7rem; } .sky-card { grid-template-columns: 6.5rem minmax(0, 1fr); align-items: start; gap: 1rem; } .sky-card h2 { font-size: 1.5rem; } }
.column { padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) clamp(3rem, 8vw, 5rem); max-width: 40rem; width: 100%; margin-inline: auto; }
.column-head h1 { margin: 0; font-size: clamp(2.8rem, 6vw, 4.2rem); }
.column-head .tagline { font-family: var(--display); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.5rem); color: var(--muted); margin: 0.2rem 0 0; }
.column-part { padding-top: clamp(2rem, 5vw, 2.8rem); margin-top: clamp(2rem, 5vw, 2.8rem); border-top: 1px solid var(--line); }
.column-head + .column-part { border-top: 0; margin-top: 0; }
.column-part h2 { margin-top: 0; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.column-part img { border-radius: var(--radius); }
.column-part > a > picture img { width: 100%; margin-bottom: 1rem; }
.column-part .portrait { float: right; width: min(42%, 13rem); margin: 0.3rem 0 1rem 1.5rem; }
.column-part .portrait img { width: 100%; }
.column-part::after { content: ""; display: block; clear: both; }
.column-part h3 { margin: 0.1em 0 0.6em; }
.column-book { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
.column-book .book-panel { max-width: 30rem; }
.column-book .book-panel { border: 1px solid var(--line); }
.column-book p:last-child { margin: 0; }
.pull { margin: 0 0 1.2rem; padding-left: 1.2rem; border-left: 2px solid var(--gold); font-family: var(--display); font-style: italic; font-size: 1.35rem; line-height: 1.45; }
.pull p { margin: 0 0 0.3rem; }
.pull footer { font-family: var(--body); font-style: normal; font-size: 0.95rem; color: var(--muted); }
.praise { list-style: none; padding: 0; margin: 0; }
.praise li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.praise li:first-child { padding-top: 0; }
.praise li:last-child { border-bottom: 0; }
.praise blockquote { margin: 0; font-family: var(--display); font-style: italic; font-size: 1.4rem; line-height: 1.4; }
.praise blockquote p { margin: 0; }
.praise .from { margin: 0.4rem 0 0; color: var(--gold); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
@media (min-width: 64rem) {
  .split { grid-template-columns: minmax(0, 9fr) minmax(0, 11fr); align-items: start; }
  .sky { position: sticky; top: 0; height: 100vh; height: 100svh; padding: clamp(2rem, 3vw, 3rem); }
  .column { margin-inline: 0; max-width: 42rem; padding-inline: clamp(2.5rem, 5vw, 4.5rem); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .post-nav, .buy { display: none; } body { background: #fff; color: #000; } .page-head { background: none; color: #000; } .page-head h1 { color: #000; } }
.year-nav ul { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; font-family: var(--display); font-size: 1.3rem; }
.archive h2 { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.archive-list { list-style: none; padding: 0; margin: 0; }
.archive-list li { padding: 0.5rem 0; line-height: 1.4; }
.archive-list > li > a { display: block; }
.archive-list .date { color: var(--muted); font-size: 0.9rem; }
.shop-nav ul { list-style: none; padding: 0; margin: 1.5rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.6rem; font-family: var(--display); font-size: 1.35rem; }
.shop-group + .shop-group { border-top: 1px solid var(--line); }
.product-card h3 { font-size: 1.45rem; margin: 0 0 0.2rem; }
.product-card h3 a { color: var(--text); text-decoration: none; }
.product-card h3 a:hover { text-decoration: underline; }
.product-card.unavailable img { opacity: 0.6; }
.price del { color: var(--muted); font-weight: 400; font-size: 0.9em; margin-left: 0.3rem; }
.price.muted { color: var(--muted); font-size: 1rem; font-weight: 400; }
.page-head .subtitle { font-family: var(--display); font-style: italic; font-size: 1.3rem; margin: 0.4rem 0 0; color: var(--on-dark-muted); }
.options { border: 0; padding: 0; margin: 0 0 1rem; }
.options legend { font-weight: 600; margin-bottom: 0.4rem; }
.options label { display: block; padding: 0.3rem 0; cursor: pointer; }
.included-title { font-size: 1.5rem; }
.included { padding-left: 1.4rem; }
.back { margin-top: 2rem; font-size: 1rem; }
.buy .price { font-size: 1.35rem; color: var(--gold); font-weight: 600; margin: 0 0 0.8rem; }
.prose h5, .prose h6 { font-family: var(--body); font-size: 1.05rem; font-weight: 600; line-height: 1.6; margin: 1.2em 0 0.6em; }
.page-head .kicker a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.page-head .kicker a:hover { text-decoration: underline; }
.page-head .meta a { color: var(--gold-on-dark); }
.archive-box { margin: 2.5rem 0 0; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); background: var(--surface); }
.archive-box p { margin: 0; line-height: 1.9; }
.to-top { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1.25rem, env(safe-area-inset-bottom)); z-index: 5; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--indigo); color: var(--gold-on-dark); border: 1px solid rgba(227, 182, 90, 0.5); box-shadow: 0 4px 14px rgba(22, 23, 61, 0.25); text-decoration: none; transition: opacity 0.2s, visibility 0.2s; }
.to-top:hover { background: var(--indigo-3); }
.to-top:not(.show) { opacity: 0; visibility: hidden; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .to-top { display: none; } }
.theme-toggle { position: relative; display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; padding: 0; border-radius: 50%; border: 1px solid rgba(244, 239, 228, 0.3); background: transparent; color: var(--gold-on-dark); cursor: pointer; transition: background-color 0.2s, border-color 0.2s; }
.theme-toggle:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--gold-on-dark); }
.no-js .theme-toggle { display: none; }
.theme-toggle svg { width: 1.35rem; height: 1.35rem; overflow: visible; }
.theme-toggle .core { transform-origin: 12px 12px; transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.theme-toggle .bite { transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.theme-toggle .rays { transform-origin: 12px 12px; transition: transform 0.5s ease, opacity 0.35s ease; }
.theme-toggle .rays { opacity: 0; transform: rotate(-90deg) scale(0.4); }
:root[data-theme="dark"] .theme-toggle .core { transform: scale(0.55); }
:root[data-theme="dark"] .theme-toggle .bite { transform: translate(9px, -9px); }
:root[data-theme="dark"] .theme-toggle .rays { opacity: 1; transform: rotate(0) scale(1); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .core { transform: scale(0.55); }
  :root:not([data-theme="light"]) .theme-toggle .bite { transform: translate(9px, -9px); }
  :root:not([data-theme="light"]) .theme-toggle .rays { opacity: 1; transform: rotate(0) scale(1); }
}
.theme-toggle .spark { position: absolute; color: var(--gold-on-dark); font-size: 0.6rem; line-height: 1; opacity: 0; pointer-events: none; }
.theme-toggle .spark:nth-of-type(1) { top: -0.35rem; left: -0.2rem; }
.theme-toggle .spark:nth-of-type(2) { top: 0.1rem; right: -0.55rem; font-size: 0.45rem; }
.theme-toggle .spark:nth-of-type(3) { bottom: -0.4rem; left: 0.9rem; font-size: 0.5rem; }
.theme-toggle.twinkle .spark { animation: spark 0.9s ease-out both; }
.theme-toggle.twinkle .spark:nth-of-type(2) { animation-delay: 0.12s; }
.theme-toggle.twinkle .spark:nth-of-type(3) { animation-delay: 0.24s; }
@keyframes spark { 0% { opacity: 0; transform: scale(0.2) rotate(0); } 40% { opacity: 1; transform: scale(1.25) rotate(45deg); } 100% { opacity: 0; transform: scale(0.6) rotate(90deg) translateY(-0.3rem); } }
.glint .wordmark .star { animation: glint 0.9s ease-out; }
@keyframes glint { 0%, 100% { transform: translateY(-0.35em) scale(1) rotate(0); } 45% { transform: translateY(-0.35em) scale(1.6) rotate(72deg); text-shadow: 0 0 10px rgba(227, 182, 90, 0.9); } }
.theme-fade, .theme-fade *, .theme-fade *::before, .theme-fade *::after { transition: background-color 0.45s ease, color 0.45s ease, border-color 0.45s ease, fill 0.45s ease !important; }
@media (prefers-reduced-motion: reduce) {
  .theme-toggle .core, .theme-toggle .bite, .theme-toggle .rays { transition: none; }
  .theme-toggle.twinkle .spark, .glint .wordmark .star { animation: none; }
}
.site-nav { margin-left: auto; }
@media (max-width: 47.99rem) {
  .site-nav { margin-left: 0; order: 3; }
  .theme-toggle { order: 1; margin-left: auto; width: 2.4rem; height: 2.4rem; }
  .site-header .wrap { column-gap: 0.6rem; }
  .wordmark { font-size: 1.5rem; gap: 0.4rem; }
}
@media (max-width: 22.5rem) {
  .wordmark { font-size: 1.3rem; letter-spacing: 0.04em; }
  .theme-toggle { width: 2.2rem; height: 2.2rem; }
  .nav-toggle { padding: 0.3rem 0.6rem; }
  .nav-toggle { order: 2; }
}
