/*
Theme Name: The Core Alchemy Company
Description: WordPress migration of The Core Alchemy Company.
Version: 1.0.1
*/
* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; }
summary.button { cursor: pointer; }
/* Core Alchemy brand: rich purple, gold, iridescence. Kids: lavender, yellow, silver. */
:root {
  --ca-ink: oklch(0.33 0.11 305);
  --ca-cream: oklch(0.98 0.01 305);
  --ca-gold: oklch(0.55 0.11 80);
  --ca-gold-light: oklch(0.85 0.11 85);
  --ca-line: oklch(0.88 0.03 305);
  --ca-muted: oklch(0.52 0.06 305);
  --ca-purple: oklch(0.42 0.14 305);
  --ca-purple-deep: oklch(0.28 0.1 305);
  --ca-iridescent: linear-gradient(115deg, #fff4c5 0%, #d9c0f1 28%, #f7e7ff 48%, #dce5f2 68%, #f4d98a 100%);
  --kid-lavender: oklch(0.92 0.04 300);
  --kid-yellow: oklch(0.95 0.08 95);
  --kid-silver: oklch(0.9 0.01 290);
  --kid-ink: oklch(0.38 0.1 300);
}

.site { min-height: 100vh; color: var(--ca-ink); font-family: Arial, sans-serif;
  background: radial-gradient(ellipse at 95% 0%, #e7d9f980, transparent 45%), var(--ca-cream); }
.site a { color: inherit; text-decoration: none; }
.site button { font: inherit; cursor: pointer; }
.site a:focus-visible, .site button:focus-visible { outline: 3px solid var(--ca-gold); outline-offset: 5px; }
.site-header { padding: 25px 5%; display: flex; align-items: center; justify-content: space-between; gap: 25px;
  border-bottom: 1px solid var(--ca-line); background: linear-gradient(105deg, #faf7ff, #f2eafb 65%, #fcf4d9); }
.brand { font: 22px Georgia, serif; letter-spacing: -.7px; display: flex; align-items: center; gap: 12px; }
.brand .mark { font-size: 36px; color: var(--ca-gold); }
.brand .logo { height: 46px; width: auto; display: block; }
.footer-logo { height: 42px; width: auto; display: block; margin-bottom: 10px; }
.brand small { display: block; font: 9px Arial; letter-spacing: 3px; margin-top: 3px; }
.site nav { display: flex; align-items: center; gap: 25px; font-size: 12px; flex-wrap: wrap; }
.site nav a:hover { text-decoration: underline; }
.launch-announcement { padding: 14px 5%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 20px; text-align: center; background: var(--ca-iridescent); border-bottom: 1px solid var(--ca-line); color: var(--ca-ink); }
.launch-announcement strong { font: bold 16px Georgia, serif; }
.launch-announcement span { font-size: 12px; line-height: 1.6; }
.site nav a[data-status="active"]:not(.pill) { text-decoration: underline; text-underline-offset: 4px; }
.pill, .button { border: 1px solid currentColor; border-radius: 30px; padding: 12px 22px; display: inline-block; font-size: 12px; background: transparent; color: inherit; }
.button.solid { background: linear-gradient(110deg, #512776, #693a90); color: var(--ca-cream); border-color: #663688; }
.button.spaced { margin-top: 25px; }
.eyebrow { text-transform: uppercase; letter-spacing: 2.5px; font-size: 10px; font-weight: bold; }
.intro { text-align: center; padding: 48px 20px 35px; }
.intro h1, .mainhead { font: clamp(40px, 5.5vw, 72px)/1.06 Georgia, serif; letter-spacing: -2px; margin: 16px 0; }
.intro h1 em, .page h1 em, .page h2 em { font-weight: normal; background: linear-gradient(105deg, #886017, #be963b, #86601d);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro .subhead { font: italic 24px Georgia, serif; color: var(--ca-purple); margin: 0 0 10px; }
.intro p { font-size: 14px; line-height: 1.7; color: var(--ca-muted); }
.subtitle { font: clamp(28px, 3.5vw, 42px)/1.15 Georgia, serif; margin: 10px 0 20px; }

.worlds { max-width: 1240px; margin: 0 auto; padding: 0 35px 42px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.world { overflow: hidden; border-radius: 180px 180px 12px 12px; position: relative; min-height: 480px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.adult { background: linear-gradient(135deg, #64318b, #391952 70%); color: #fff5d8; box-shadow: inset 0 0 0 1px #b8904780; }
.kids { background: linear-gradient(145deg, #eee5fb, #e0d0f4); color: #513775; box-shadow: inset 0 0 0 2px #e1dce9; }
.art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.adult .art { background: radial-gradient(ellipse at 50% 35%, #c2a1ec55, transparent 65%); }
.halo { position: absolute; border: 1px solid #e5c77690; border-radius: 50%; width: 275px; height: 275px; left: 50%; top: 32px; transform: translateX(-50%); }
.halo::after { content: ""; position: absolute; inset: 28px; border: 1px solid #d8c4f580; border-radius: 50%; }
.arch { position: absolute; width: 155px; height: 242px; border-radius: 100px 100px 0 0; top: 75px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(125deg, #e2bd64 0%, #c1a2df 32%, #eef0fb 45%, #9c74bf 58%, #58306f 84%); box-shadow: 0 0 0 13px #f1d58918, 0 0 0 14px #e6c57190; }
.arch::before { content: "✧"; position: absolute; top: 35px; left: 54px; font: 56px Georgia; color: #fff1bf; }
.steps { position: absolute; top: 295px; left: 50%; transform: translateX(-50%); width: 210px; height: 30px;
  border-top: 8px solid #d9b458; border-bottom: 8px solid #9c7630; background: linear-gradient(90deg, #dbc282, #e3d9f1, #b6b7cc, #e0bf69); }
.orbit { position: absolute; width: 340px; height: 120px; left: 50%; top: 120px; border: 1px solid #dfd3ee80; border-radius: 50%; transform: translateX(-50%) rotate(-30deg); }
.spark { position: absolute; font: 30px Georgia; left: 21%; top: 85px; color: #f5d582; }
.spark.two { left: 77%; top: 210px; font-size: 20px; }
.kids .spark { color: #fff9da; }
.worldcopy { padding: 26px 38px; }
.adult .worldcopy { background: linear-gradient(transparent, #391952 22%); }
.kids .worldcopy { background: linear-gradient(transparent, #e9ddfa 22%); }
.worldcopy .eyebrow { opacity: .8; }
.worldcopy h2 { font: 36px Georgia; margin: 11px 0; }
.worldcopy p { font-size: 13px; line-height: 1.6; max-width: 350px; opacity: .9; margin: 0 0 19px; }
.worldcopy .button { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.adult .worldcopy .button { border-color: #d4b563; color: #fff3c9; background: linear-gradient(110deg, #ffffff09, #c6a0e31a, #ffffff09); }
.kids .worldcopy .button { background: #fff3bf; border-color: #9982b5; }
.city { position: absolute; left: 12%; right: 12%; top: 80px; height: 240px; display: flex; align-items: end; gap: 7px; transform: rotate(-5deg); }
.building { flex: 1; border: 3px solid #84699f; border-radius: 12px 12px 0 0; height: 65%; box-shadow: 6px 6px 0 #9e8cab33;
  background-image: repeating-linear-gradient(0deg, transparent 0 23px, #fff0b3 24px 35px, transparent 36px 48px); background-size: 15px 100%; background-repeat: repeat-x; }
.building:nth-child(1) { background-color: #bfa6de; }
.building:nth-child(2) { height: 95%; background-color: #f4dfa1; }
.building:nth-child(3) { height: 77%; background-color: #dad8e6; }
.building:nth-child(4) { height: 110%; background-color: #c1b2e7; border-radius: 45px 45px 0 0; }
.building:nth-child(5) { height: 57%; background-color: #e6d1f2; }
.planet { position: absolute; top: 30px; right: 22%; width: 55px; height: 55px; border-radius: 50%; background: linear-gradient(135deg, #fff6cd, #f1d880); border: 2px solid #ad95be; }
.cloud { position: absolute; left: 17%; top: 39px; font-size: 60px; color: #fffdf7; }
.tag { position: absolute; top: 225px; left: 50%; transform: translateX(-50%) rotate(6deg); background: linear-gradient(120deg, #fffdf5, #e3e2ed 48%, #fff9dc);
  border: 2px solid #9b86b3; border-radius: 14px; padding: 13px 19px; white-space: nowrap; font-weight: 900; font-size: 17px; box-shadow: 5px 5px 0 #a59bb655; color: #654681; }
.note { text-align: center; font-size: 11px; letter-spacing: .5px; padding-bottom: 35px; color: var(--ca-muted); }
.ticker { padding: 19px; border-top: 1px solid var(--ca-line); border-bottom: 1px solid var(--ca-line); display: flex; justify-content: center; gap: 40px; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; background: var(--ca-iridescent); }

.page { max-width: 1200px; margin: auto; padding: 65px 6%; }
.page h1 { font: clamp(43px, 6vw, 76px)/1.05 Georgia; margin: 20px 0; max-width: 900px; }
.page .lead { font-size: 17px; line-height: 1.8; max-width: 650px; color: var(--ca-muted); }
.sectiontitle { font: 36px Georgia; margin: 60px 0 24px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
/* Four branch cards read best as a clean pair of rows. */
.branch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { border: 1px solid var(--ca-line); padding: 28px; border-radius: 12px; background: #ffffff70; }
.card h2, .card h3 { font: 26px Georgia; }
.card p { font-size: 14px; line-height: 1.8; }
.card > a:not(.button) { font-size: 12px; border-bottom: 1px solid; }
.span2 { grid-column: span 2; }
.book { height: 230px; margin-bottom: 25px; display: grid; place-content: center; text-align: center; padding: 30px; border-radius: 5px 15px 15px 5px;
  box-shadow: inset 8px 0 #ffffff18; font: 29px Georgia; background: linear-gradient(130deg, #65428b, #3e1d5e); color: #ffedb0; }
.book.purple { background: linear-gradient(135deg, #9062b0, #553078); }
.book.gold { background: linear-gradient(130deg, #dec279, #8b6a25); color: #fff9e5; }
.book.tall { height: 360px; }
.book small { display: block; font: 12px Arial; margin-top: 25px; }
.status { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: #88621c; }

/* Reference-inspired luxury treatments, scoped to products and entrance doors. */
:root {
  --lux-plum: oklch(0.27 0.11 310);
  --lux-plum-light: oklch(0.43 0.16 315);
  --lux-amber: oklch(0.49 0.12 65);
  --lux-gold: oklch(0.76 0.15 85);
  --lux-champagne: oklch(0.94 0.09 90);
  --lux-cream: oklch(0.98 0.03 85);
  --lux-cream-deep: oklch(0.93 0.04 70);
  --lux-text: oklch(0.22 0.04 310);
  --lux-metal: linear-gradient(125deg, var(--lux-amber), var(--lux-gold) 18%, var(--lux-champagne) 30%, var(--lux-gold) 43%, var(--lux-amber) 65%, var(--lux-champagne) 80%, var(--lux-gold));
  --lux-paper: linear-gradient(150deg, var(--lux-cream), var(--lux-cream-deep));
  --lux-button: linear-gradient(155deg, var(--lux-plum-light), var(--lux-plum) 55%, var(--lux-plum-light));
  --lux-shadow: 0 16px 28px -12px color-mix(in oklab, var(--lux-plum) 45%, transparent);
  --lux-shadow-raised: 0 22px 38px -12px color-mix(in oklab, var(--lux-plum) 55%, transparent);
  --lux-sheen: linear-gradient(110deg, transparent 40%, color-mix(in oklab, var(--lux-champagne) 42%, transparent) 50%, transparent 60%);
}
.product-card { position: relative; border-radius: 28px; padding: 3px; min-width: 0;
  background: var(--lux-metal); background-size: 250% 250%; box-shadow: var(--lux-shadow); }
.pc-link { display: flex; flex-direction: column; height: 100%; box-sizing: border-box; border-radius: 25px;
  background: var(--lux-paper); overflow: hidden; user-select: text; }
.pc-link:focus-visible { outline: 3px solid var(--ca-purple); outline-offset: 6px; }
.pc-art { position: relative; overflow: hidden; aspect-ratio: 4 / 3; flex-shrink: 0; }
.pc-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pc-art::after { content: ""; position: absolute; inset: 0; background: var(--lux-sheen); transform: translateX(-110%); pointer-events: none; }
.pc-copy { position: relative; display: flex; flex-direction: column; flex: 1; text-align: center; padding: 25px 22px 26px;
  border-top: 3px solid var(--lux-gold); border-radius: 50% 8% 0 0 / 18px 8px 0 0; margin-top: -16px; background: var(--lux-paper); }
.product-card .status { color: var(--lux-text); font-size: 10px; line-height: 1.7; letter-spacing: 0; font-weight: 700; }
.product-card h3 { font: bold 27px/1.12 Georgia, serif; letter-spacing: 0; margin: 12px 0 8px; color: var(--lux-plum); overflow-wrap: anywhere; }
.pc-divider { display: flex; align-items: center; justify-content: center; gap: 5px; color: var(--lux-amber); font-size: 14px; margin: 0 0 8px; }
.pc-divider::before, .pc-divider::after { content: ""; height: 1px; width: 42px; background: var(--lux-metal); }
.product-card p { font: 16px/1.5 Georgia, serif; color: var(--lux-text); margin: 0 0 20px; flex: 1; }
.pc-button { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  padding: 12px 10px; border-radius: 999px; font: bold 18px/1.25 Georgia, serif; letter-spacing: 0;
  color: var(--lux-champagne); background: var(--lux-button); border: 2px solid var(--lux-gold);
  box-shadow: var(--lux-shadow), inset 0 1px 0 var(--lux-champagne); }
.product-card-menopause .pc-button { background: linear-gradient(160deg, var(--lux-gold), var(--lux-amber) 45%, var(--lux-text)); }
.pc-button::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--lux-sheen); transform: translateX(-110%); }
.worlds .world { border: 2px solid var(--lux-gold); border-radius: 50% 50% 28px 28px / 40% 40% 28px 28px; min-height: 570px; box-shadow: var(--lux-shadow); }
.worlds .adult { background: var(--lux-button); color: var(--lux-champagne); }
.worlds .kids { background: linear-gradient(140deg, var(--kid-lavender), var(--kid-silver), var(--kid-lavender)); }
.worlds .worldcopy { text-align: center; padding: 30px 30px 25px; }
.worlds .adult .worldcopy { background: linear-gradient(transparent, var(--lux-plum) 18%); }
.worlds .kids .worldcopy { background: linear-gradient(transparent, var(--kid-lavender) 18%); }
.worlds .worldcopy .eyebrow { letter-spacing: 0; opacity: 1; }
.worlds .worldcopy h2 { font: bold 34px/1.1 Georgia, serif; letter-spacing: 0; }
.worlds .worldcopy p { font: 16px/1.5 Georgia, serif; max-width: 360px; margin: 0 auto 20px; opacity: 1; }
.worlds .worldcopy .button { border: 2px solid var(--lux-gold); box-shadow: var(--lux-shadow), inset 0 1px var(--lux-champagne); font: bold 18px Georgia, serif; }
.worlds .adult .worldcopy .button { background: var(--lux-button); color: var(--lux-champagne); }
.worlds .kids .worldcopy .button { background: linear-gradient(130deg, var(--lux-champagne), var(--kid-yellow)); color: var(--kid-ink); }
.worlds .arch { height: 190px; top: 60px; background: linear-gradient(125deg, var(--lux-gold), var(--kid-lavender) 35%, var(--lux-cream) 48%, var(--ca-purple) 80%); border: 10px solid var(--lux-gold); box-shadow: inset 0 0 0 2px var(--lux-champagne); }
.worlds .halo { top: 24px; width: 240px; height: 240px; border-color: var(--lux-gold); }
.worlds .orbit { top: 110px; border-color: var(--lux-champagne); }
.worlds .steps { top: 250px; }
.worlds .city { top: 70px; height: 180px; }
.worlds .tag { top: 215px; border-color: var(--lux-gold); color: var(--kid-ink); }
.company-door-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; container-type: size; }
.company-door-frames { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: max(100cqw, 98.0315cqh); height: max(100cqh, 102.008cqw); background-size: 600% 100%; background-position: 0% 0%; background-repeat: no-repeat; }
.worlds .adult .worldcopy { position: relative; background: linear-gradient(transparent, color-mix(in oklab, var(--lux-plum) 85%, transparent) 25%, color-mix(in oklab, var(--lux-plum) 96%, transparent)); }
.kids-door-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; container-type: size; }
.kids-door-frames { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: max(100cqw, 100cqh); height: max(100cqh, 100cqw); background-size: 800% 100%; background-position: 0% 0%; background-repeat: no-repeat; }
.worlds .kids .worldcopy { position: relative; background: linear-gradient(transparent, color-mix(in oklab, var(--kid-lavender) 88%, transparent) 25%, color-mix(in oklab, var(--kid-lavender) 97%, transparent)); }
.world.kids:is(:hover, :focus-visible) .kids-door-frames { background-position: 100% 0%; }
@media (prefers-reduced-motion: no-preference) {
  .world.kids:is(:hover, :focus-visible) .kids-door-frames { animation: kids-door-open 1.6s steps(7, end) forwards; }
}
@keyframes kids-door-open { from { background-position: 0% 0%; } to { background-position: 100% 0%; } }
.world.adult:is(:hover, :focus-visible) .company-door-frames { background-position: 100% 0%; }
@media (prefers-reduced-motion: no-preference) {
  .world.adult:is(:hover, :focus-visible) .company-door-frames { animation: company-door-open 1.2s steps(5, end) forwards; }
}
@keyframes company-door-open { from { background-position: 0% 0%; } to { background-position: 100% 0%; } }
@media (prefers-reduced-motion: no-preference) {
  .product-card { animation: pc-shimmer 14s linear infinite; transition: transform .3s ease, box-shadow .3s ease; }
  .product-card:hover, .product-card:focus-within { transform: translateY(-5px); box-shadow: var(--lux-shadow-raised); }
  .pc-art img { transition: transform .4s ease; }
  .product-card:hover .pc-art img { transform: scale(1.025); }
  .product-card:hover .pc-art::after, .product-card:focus-within .pc-art::after,
  .product-card:hover .pc-button::before, .pc-link:focus-visible .pc-button::before { transform: translateX(110%); transition: transform .4s ease; }
  .pc-button { transition: transform .25s ease, filter .3s ease; }
  .pc-link:active .pc-button { transform: scale(.97); }
  .worlds .world { transition: transform .3s ease, box-shadow .3s ease; }
  .worlds .world:hover { box-shadow: var(--lux-shadow-raised); }
}
@keyframes pc-shimmer { 0% { background-position: 0% 50%; } 100% { background-position: 250% 50%; } }
@media (max-width: 1100px) and (min-width: 581px) {
  .grid:has(> .product-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .worlds .worldcopy { padding: 26px 20px; }
  .worlds .worldcopy h2 { font-size: 29px; }
  .worlds .worldcopy .button { font-size: 16px; padding: 12px; }
}
.feature { padding: 45px; border-radius: 15px; margin-top: 40px; border: 1px solid #d8c8e7; background: linear-gradient(115deg, #f1e7fa, #eeecf7 65%, #faf1d7); }
.feature h2 { font: 36px Georgia; }
.feature p { line-height: 1.8; max-width: 700px; }
.article { max-width: 730px; }
.article p { font-size: 17px; line-height: 1.9; }
/* Fused creator profile: sits inside the About us page, separated by a gold rule. */
.creator-section { margin-top: 46px; padding-top: 38px; border-top: 1px solid var(--ca-line); }
.creator-section h2 { font: 34px Georgia; margin: 6px 0 10px; }
.back { font-size: 12px; text-decoration: underline !important; }
.empty { border-top: 1px solid var(--ca-line); padding-top: 25px; line-height: 1.8; margin-top: 30px; }
.site-footer { --ft-parch: oklch(0.96 0.025 85); --ft-parch2: oklch(0.93 0.04 80); --ft-gold: oklch(0.72 0.12 80); --ft-ink: oklch(0.3 0.08 320); --ft-soft: oklch(0.45 0.05 320);
  margin-top: 25px; padding: 28px 5%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  background: linear-gradient(115deg, var(--ft-parch), var(--ft-parch2)); border-top: 2px solid var(--ft-gold); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--ft-gold) 40%, transparent);
  color: var(--ft-ink); font-family: Georgia, serif; font-size: 13px; line-height: 1.6; }
.site-footer .footer-brand { display: flex; align-items: center; gap: 14px; }
.site-footer .footer-brand div { display: flex; flex-direction: column; }
.site-footer .footer-brand strong { font-size: 15px; }
.site-footer .footer-brand span, .site-footer .footer-meta { color: var(--ft-soft); font-size: 12px; }
.site-footer .footer-logo { width: 52px; height: auto; margin: 0; }
.site-footer .footer-links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.site-footer .footer-links a { color: var(--ft-ink); padding: 4px 2px; border-bottom: 1px solid transparent; transition: border-color .25s, color .25s; }
.site-footer .footer-links a:hover, .site-footer .footer-links a:focus-visible { border-color: var(--ft-gold); }
.site-footer .footer-meta { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }

/* Kids world */
.kidsmode { color: var(--kid-ink); background: radial-gradient(ellipse at 100% 0%, #fff3c580, transparent 50%), #fcf9ff; }
.kidsmode .site-header { background: linear-gradient(115deg, #eee6fb, #f3edfa 70%, #fff5d4); border-color: #d6cbea; }
.kidsmode .brand .mark { color: #8b6caa; }
.kidsmode .page h1, .kidsmode .sectiontitle { font-family: Arial, sans-serif; font-weight: 900; letter-spacing: -2px; }
.kidsmode .card { border: 2px solid #d5cce2; background: #fff; }
.kidsmode .feature { background: linear-gradient(115deg, #fff2ba, #fff7d7); border-color: #d3cfdb; }
.kidsmode .button { border-color: #a395b6; background: linear-gradient(110deg, #fefcff, #e4e2ed, #faf6ff); }
.kidsmode .button.solid { background: #76539e; color: #fff; border-color: #76539e; }
.kidsmode .book.purple { background: linear-gradient(130deg, #c9b6e7, #a18ac4); color: #3e285c; border: 2px solid #d6d4df; }

@media (prefers-reduced-motion: no-preference) {
  .world { transition: transform .25s; }
  .world:hover { transform: translateY(-5px); }
}
@media (max-width: 850px) {
  .site-header { flex-wrap: wrap; }
  .site nav { gap: 14px; }
  .grid { grid-template-columns: 1fr; }
  .span2 { grid-column: auto; }
  .worlds { padding: 0 18px 25px; gap: 16px; }
  .worldcopy { padding: 24px; }
  .worldcopy h2 { font-size: 29px; }
  .ticker { gap: 15px; flex-wrap: wrap; }
}
.site-footer { }
@media (max-width: 860px) { .site-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; } .site-footer .footer-meta { align-items: center; text-align: center; } }
@media (max-width: 580px) {
  .site-header { padding: 20px; }
  .brand { font-size: 20px; }
  .intro h1 { font-size: 42px; }
  .worlds { grid-template-columns: 1fr; }
  .world { min-height: 490px; }
  .page { padding: 40px 22px; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .site-footer .footer-meta { align-items: center; text-align: center; }
  .feature { padding: 26px; }
}

/* Reflective Alchemy editorial refinement (scoped) */
.reflective-page { --rx-paper: oklch(0.965 0.018 85); --rx-gold: oklch(0.68 0.1 80); --rx-plum: oklch(0.33 0.11 305); --rx-lav: oklch(0.9 0.04 305);
  max-width: 1120px; padding-top: 72px; position: relative;
  background-color: oklch(0.94 0.025 310);
  background-image: radial-gradient(color-mix(in oklab, var(--rx-plum) 5%, transparent) 1px, transparent 1px); background-size: 6px 6px; }
.reflective-page::before, .reflective-page::after { content: ""; position: absolute; width: 190px; height: 250px; pointer-events: none; opacity: .6;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='250' viewBox='0 0 190 250'%3E%3Cg fill='none' stroke='%23a8843c' stroke-width='1.4'%3E%3Cpath d='M182 242 C146 176 116 118 58 36'/%3E%3Cpath d='M146 168 q-30 -8 -44 -34 q34 2 44 34'/%3E%3Cpath d='M118 108 q-28 -12 -36 -40 q32 8 36 40'/%3E%3Cpath d='M94 68 q-24 -14 -28 -42 q30 10 28 42'/%3E%3Cpath d='M160 200 q-26 -16 -30 -44 q30 12 30 44'/%3E%3C/g%3E%3Cg fill='%23a8843c'%3E%3Ccircle cx='60' cy='34' r='3'/%3E%3Ccircle cx='150' cy='186' r='2.5'/%3E%3Ccircle cx='118' cy='66' r='2'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain; }
.reflective-page::before { top: 8px; right: 0; }
.reflective-page::after { bottom: 8px; left: 0; transform: scale(-1, -1); }
.reflective-page h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.06; margin: 18px 0 22px; color: var(--rx-plum); }
.reflective-page .lead { font-family: Georgia, serif; font-size: 18px; padding-bottom: 38px; margin-bottom: 48px; position: relative; max-width: 640px; }
.reflective-page .lead::after { content: ""; position: absolute; left: 0; bottom: 0; width: 220px; height: 1px;
  background: linear-gradient(90deg, var(--rx-gold), color-mix(in oklab, var(--rx-gold) 35%, transparent)); }
.reflective-page .lead::before { content: ""; position: absolute; left: 104px; bottom: -4px; width: 9px; height: 9px; transform: rotate(45deg);
  border: 1.5px solid var(--rx-gold); background: oklch(0.94 0.025 310); }
.rx-card { display: flex; flex-direction: column; padding: 0 0 28px; overflow: hidden; background: var(--rx-paper);
  border: 1px solid color-mix(in oklab, var(--rx-gold) 65%, transparent); border-radius: 18px;
  box-shadow: 0 10px 24px -14px color-mix(in oklab, var(--rx-plum) 40%, transparent); }
.rx-card .eyebrow, .rx-card h2 { padding: 0 28px; }
.rx-card .eyebrow { margin-top: 24px; color: var(--rx-gold); letter-spacing: .18em; }
.rx-card h2 { font-size: 26px; line-height: 1.25; margin: 10px 0 0; color: var(--rx-plum); }
.rx-visual { height: 200px; position: relative; border-bottom: 1px solid color-mix(in oklab, var(--rx-gold) 55%, transparent); }
/* 01 — plum book cover with gold sunburst */
.rx-card-1 .rx-visual { background: linear-gradient(105deg, color-mix(in oklab, var(--rx-plum) 80%, black) 0 16px, color-mix(in oklab, var(--rx-gold) 55%, var(--rx-plum)) 16px 18px, var(--rx-plum) 18px); }
.rx-card-1 .rx-visual::before { content: ""; position: absolute; inset: 18px 18px 18px 34px; border: 1px solid color-mix(in oklab, var(--rx-gold) 70%, transparent); border-radius: 3px; }
.rx-card-1 .rx-visual::after { content: ""; position: absolute; left: 50%; top: 58%; width: 150px; height: 75px; transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 50% 100%, var(--rx-gold) 0 16px, transparent 17px),
    repeating-conic-gradient(from -90deg at 50% 100%, var(--rx-gold) 0deg 2.5deg, transparent 2.5deg 16deg);
  -webkit-mask: linear-gradient(to top, black 0 72px, transparent 72px); mask: linear-gradient(to top, black 0 72px, transparent 72px);
  border-bottom: 1.5px solid var(--rx-gold); }
/* 02 — journal page with fountain pen */
.rx-card-2 .rx-visual { background: repeating-linear-gradient(transparent 0 23px, color-mix(in oklab, var(--rx-plum) 16%, transparent) 23px 24px), var(--rx-paper);
  box-shadow: inset 36px 0 0 -35px oklch(0.65 0.12 20); }
.rx-card-2 .rx-visual::before { content: ""; position: absolute; right: 26px; bottom: 18px; width: 130px; height: 16px; transform: rotate(-24deg); border-radius: 8px;
  background:
    linear-gradient(105deg, transparent 0 14px, var(--rx-gold) 14px 26px, transparent 26px),
    linear-gradient(90deg, color-mix(in oklab, var(--rx-plum) 85%, black), var(--rx-plum) 55%, color-mix(in oklab, var(--rx-plum) 70%, black));
  box-shadow: 0 3px 6px -2px color-mix(in oklab, var(--rx-plum) 50%, transparent); }
.rx-card-2 .rx-visual::after { content: "make sense of it…"; position: absolute; left: 48px; top: 62px; font: italic 24px Georgia, serif; color: var(--rx-plum); transform: rotate(-3deg); opacity: .8; }
/* 03 — lavender with envelope and "Ha." card */
.rx-card-3 .rx-visual { background: linear-gradient(160deg, var(--rx-lav), color-mix(in oklab, var(--rx-lav) 80%, var(--rx-plum))); }
.rx-card-3 .rx-visual::before { content: ""; position: absolute; left: 50%; top: 54%; width: 120px; height: 88px; transform: translate(-62%, -50%) rotate(-7deg);
  background:
    linear-gradient(to bottom right, transparent 49.5%, color-mix(in oklab, var(--rx-plum) 22%, transparent) 50%) bottom / 100% 46% no-repeat,
    linear-gradient(to bottom left, transparent 49.5%, color-mix(in oklab, var(--rx-plum) 22%, transparent) 50%) bottom / 100% 46% no-repeat,
    color-mix(in oklab, var(--rx-lav) 70%, var(--rx-paper));
  border: 1px solid color-mix(in oklab, var(--rx-plum) 30%, transparent); border-radius: 3px;
  box-shadow: 0 6px 12px -6px color-mix(in oklab, var(--rx-plum) 40%, transparent); }
.rx-card-3 .rx-visual::after { content: "Ha."; position: absolute; left: 50%; top: 46%; width: 96px; height: 118px; display: grid; place-items: center; transform: translate(-38%, -50%) rotate(5deg);
  font: bold 30px Georgia, serif; color: var(--rx-plum); background: var(--rx-paper); border: 1px solid var(--rx-gold); border-radius: 4px;
  box-shadow: 0 8px 14px -6px color-mix(in oklab, var(--rx-plum) 45%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  .rx-card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
  .rx-card:hover { transform: translateY(-4px); border-color: var(--rx-gold); box-shadow: 0 16px 28px -14px color-mix(in oklab, var(--rx-plum) 50%, transparent); }
}
.reflective-page .feature { margin-top: 56px; padding: 52px 48px; text-align: center; background: var(--rx-paper); border: 1px solid var(--rx-gold); border-radius: 8px;
  outline: 1px solid color-mix(in oklab, var(--rx-gold) 45%, transparent); outline-offset: -8px; position: relative; }
.reflective-page .feature .status { font-size: 11px; font-weight: bold; letter-spacing: .22em; color: oklch(0.45 0.09 75); }
.reflective-page .feature h2 { color: var(--rx-plum); margin: 12px 0; font-size: clamp(28px, 4vw, 40px); }
.reflective-page .feature p { margin: 0 auto 26px; color: oklch(0.38 0.06 305); }
.reflective-page .feature .button { background: var(--rx-plum); color: var(--rx-paper); border-color: var(--rx-plum); font: bold 15px Georgia, serif; padding: 14px 28px; border-radius: 999px; }
@media (max-width: 580px) { .reflective-page .feature { padding: 32px 20px; } .rx-visual { height: 170px; }
  .reflective-page::before, .reflective-page::after { width: 110px; height: 150px; opacity: .4; } }

/* Restorative Alchemy page — calm, clinical-warm treatment in brand plum/gold. */
.restorative-page .ra-hero { text-align: center; max-width: 820px; margin: 0 auto 10px; }
.restorative-page .ra-hero h1 { margin: 14px 0 10px; }
.restorative-page .ra-hero .status { display: inline-block; font-size: 11px; font-weight: bold; letter-spacing: .22em; color: oklch(0.45 0.09 75); }
.restorative-page .ra-tagline { font: italic clamp(20px, 2.6vw, 27px) Georgia, serif; color: var(--ca-purple); margin: 18px 0 8px; }
.restorative-page .ra-hero .lead { margin: 0 auto; text-align: center; }
.ra-section { margin-top: 64px; }
.ra-section .sectiontitle { margin: 0 0 22px; }
.ra-section > p { font-size: 15px; line-height: 1.85; max-width: 760px; color: var(--ca-muted); margin: 0 0 16px; }
.ra-emphasis { font: italic 18px Georgia, serif; color: var(--ca-purple) !important; }
.ra-principle { font: italic clamp(20px, 2.6vw, 26px) Georgia, serif; color: var(--ca-ink) !important; max-width: 640px !important;
  border-left: 3px solid var(--ca-gold); padding-left: 20px; }
.ra-paths .ra-path h3, .ra-care-card h3 { font: 26px Georgia, serif; color: var(--ca-purple-deep); margin: 10px 0 12px; }
.ra-path p, .ra-care-card p { font-size: 14px; line-height: 1.8; color: var(--ca-muted); margin: 0 0 12px; }
.ra-path p:last-child, .ra-care-card p:last-child { margin-bottom: 0; }
.ra-intro { font-size: 15px; line-height: 1.85; max-width: 760px; color: var(--ca-muted); margin: 0 0 26px; }
.ra-care { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ra-care-card { display: flex; flex-direction: column; }
.ra-list-label { font-weight: bold; color: var(--ca-ink) !important; }
.ra-care-card ul { margin: 0 0 12px; padding-left: 22px; list-style: disc; font-size: 14px; line-height: 1.8; color: var(--ca-muted); }
.ra-care-card li::marker { color: var(--ca-gold); }
.ra-philosophy, .ra-coming { background: #ffffff70; border: 1px solid var(--ca-line); border-radius: 12px; padding: 40px 44px; }
.ra-coming { text-align: center; border-color: var(--ca-gold); }
.ra-coming .status { font-size: 11px; font-weight: bold; letter-spacing: .22em; color: oklch(0.45 0.09 75); }
.ra-coming h2 { font: 36px Georgia, serif; margin: 12px 0 18px; }
.ra-coming p { max-width: 680px; margin-left: auto; margin-right: auto; }
.ra-signoff { font: 18px Georgia, serif; color: var(--ca-ink) !important; margin-top: 26px !important; }
.ra-signoff em { background: linear-gradient(105deg, #886017, #be963b, #86601d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ra-disclaimer { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--ca-line); font-size: 11.5px; line-height: 1.7; color: var(--ca-muted); }
@media (max-width: 860px) { .ra-care { grid-template-columns: 1fr; } .ra-philosophy, .ra-coming { padding: 30px 22px; } }
@media (max-width: 860px) { .ra-paths { grid-template-columns: 1fr; } }
