@font-face { font-family: "Cormorant Garamond"; src: url(fonts/CormorantGaramond-600.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Lora"; src: url(fonts/Lora-var.woff2) format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url(fonts/Atkinson-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url(fonts/Atkinson-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
:root {
  --bg: #fbf6ef;
  --bg2: #efe6d8;
  --ink: #1f2e33;
  --muted: #5b6a6c;
  --teal: #6f8fbf;
  --teal-d: #2f4a78;
  --orange: #d4af6a;
  --orange-d: #b8924d;
  --sage: #8fb0d0;
  --sage-d: #5f7a5a;
  --night: #0f2a2e;
  --card: #fffdf9;
  --line: #e6dccb;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(15, 42, 46, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
body.night { background: var(--night); color: #e6f1ee; }
body.night .topbar { background: rgba(15, 42, 46, .92); border-color: #234a4c; }
body.night .brand, body.night .nav a { color: #e6f1ee; }
body.night .card { background: #173b3e; border-color: #2a5558; color: #e6f1ee; }
body.night a { color: #e3c381; }
body.night .nav a.nav-help { color: #fff; }
body.night .muted, body.night .footer { color: #a9c3bf; }
body.night .footer { border-color: #234a4c; }
a { color: var(--teal-d); }
h1, h2, h3 { font-family: "Cormorant Garamond", "Lora", Georgia, serif; font-weight: 400; line-height: 1.2; margin: 0 0 .5em; letter-spacing: .02em; }
h1, h2 { font-weight: 400; text-shadow: 0 0 .5px currentColor; }
h3 { font-family: "Atkinson Hyperlegible", sans-serif; font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: .14em; color: var(--teal-d); }
body.night h3 { color: #e3c381; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }

p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 10; }

.topbar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: .8rem clamp(1rem, 4vw, 3rem);
  background: rgba(251, 246, 239, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); font-family: "Cormorant Garamond", "Lora", Georgia, serif; font-size: 1.5rem; font-weight: 400; letter-spacing: .06em; text-shadow: 0 0 .5px currentColor; }
.logo { flex: none; width: 40px; height: 40px; background: url(img/logo.svg?v=2) center / contain no-repeat; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name small { font-family: "Atkinson Hyperlegible", system-ui, sans-serif; font-size: .66rem; color: var(--orange); letter-spacing: .16em; text-transform: uppercase; text-shadow: none; margin-top: .2rem; }
body.night .brand-name small { color: #a9c3bf; }
.nav { display: flex; flex-wrap: wrap; gap: .3rem; }
.nav a { text-decoration: none; color: var(--ink); padding: .45rem .8rem .35rem; border-radius: 2px; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { border-bottom-color: var(--teal); }
.nav a.nav-help { background: var(--orange); color: #fff; font-weight: 700; }
.nav a.nav-help:hover { background: var(--orange-d); }

main { max-width: 1040px; margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem) 3rem; outline: none; }
.section { margin-bottom: 3rem; }
.grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
a.card { display: block; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15, 42, 46, .12); border-color: var(--teal); }
.card .icon { font-size: 1.8rem; margin-bottom: .4rem; display: block; }

.hero {
  border-radius: 4px; padding: clamp(2rem, 6vw, 4rem);
  outline: 1px solid var(--teal); outline-offset: -12px;
  background: linear-gradient(135deg, #d6efec 0%, #e7eee2 50%, #f8e2d2 100%);
  margin-bottom: 2.5rem; position: relative; overflow: hidden;
}
.hero > * { position: relative; z-index: 1; }
.hero::before { content: ""; position: absolute; inset: 17px; border: 1px solid rgba(212, 175, 106, .45); pointer-events: none; z-index: 1; }
.hero-mandala {
  position: absolute; z-index: 0; right: -110px; top: 50%; width: min(520px, 90vw); margin-top: calc(min(520px, 90vw) / -2);
  opacity: .55; animation: spin 140s linear infinite; pointer-events: none;
}
@media (max-width: 700px) { .hero-mandala { opacity: .18; right: -40%; } }
@keyframes spin { to { transform: rotate(360deg); } }
.divider { display: block; width: 100%; height: 26px; margin: 2.5rem 0; background: url(img/mandala.svg) center / 26px no-repeat; position: relative; }
.divider::before, .divider::after { content: ""; position: absolute; top: 50%; width: calc(50% - 30px); border-top: 1px solid var(--line); }
.divider::before { left: 0; } .divider::after { right: 0; }
.hero p { font-size: 1.15rem; max-width: 36rem; }

.btn {
  display: inline-flex; align-items: center; gap: .4rem; cursor: pointer;
  border: 0; border-radius: 2px; padding: .85rem 1.6rem .75rem; font: inherit; font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .16em;
  outline: 1px solid rgba(255, 255, 255, .45); outline-offset: -5px;
  background: var(--teal-d); color: #fff; text-decoration: none; transition: background .2s;
}
.btn:hover { background: #26406a; }
.btn.warm { background: var(--orange); }
.btn.warm:hover { background: var(--orange-d); }
.btn.ghost { background: transparent; color: inherit; border: 1px solid currentColor; outline-color: currentColor; padding: calc(.85rem - 1px) calc(1.6rem - 1px) calc(.75rem - 1px); }
.btn.ghost:hover { background: rgba(111, 143, 191, .1); }
.btn.soft { background: rgba(143, 176, 208, .22); color: var(--sage-d); }
body.night .btn.soft { color: #d3e3cf; }
.btn:disabled { opacity: .45; cursor: default; }
.row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.chip { border: 1px solid var(--line); background: var(--card); border-radius: 2px; letter-spacing: .04em; padding: .5rem 1rem; cursor: pointer; font: inherit; color: inherit; }
.chip:hover { border-color: var(--teal); }
.chip.on { background: var(--teal-d); color: #fff; border-color: var(--teal-d); }

/* Grounding stepper */
.stepper { text-align: center; padding: 2.5rem 1.5rem; }
.stepper .big { font-size: clamp(3.5rem, 11vw, 6rem); font-family: "Cormorant Garamond", "Lora", Georgia, serif; color: var(--orange); line-height: 1; }
.dots { display: flex; justify-content: center; gap: .5rem; margin: 1.2rem 0; }
.dots span { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--teal); }
.dots span.on { background: var(--teal); }
.progress { height: 6px; background: var(--bg2); border-radius: 99px; overflow: hidden; margin: 1rem 0; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--sage), var(--orange)); transition: width .4s; }

/* Breathing */
.breath-wrap { display: grid; place-items: center; padding: 2rem 0; }
.breath {
  width: min(320px, 70vw); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: url(img/mandala.svg) center / 112% no-repeat, radial-gradient(circle, rgba(111, 143, 191, .95) 0 30%, rgba(111, 143, 191, .75) 60%, rgba(143, 176, 208, .6));
  box-shadow: 0 0 0 18px rgba(111, 143, 191, .12), 0 0 0 40px rgba(212, 175, 106, .07);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
  transform: scale(.6); transition-property: transform; transition-timing-function: ease-in-out;
  color: #fff; font-size: 1rem; font-family: "Atkinson Hyperlegible", sans-serif; text-transform: uppercase; letter-spacing: .18em; font-weight: 600;
}
.breath small { display: block; font-size: 2.6rem; font-family: "Cormorant Garamond", "Lora", Georgia, serif; letter-spacing: 0; }

/* Sleep */
.story-text { font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; line-height: 1.9; max-width: 40rem; }
.story-text p { margin-bottom: 1.3em; }

/* Journal */
textarea, input[type=text] {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 2px; padding: 1rem;
}
textarea { min-height: 200px; resize: vertical; line-height: 1.7; }
textarea:focus, input:focus { outline: 3px solid rgba(111, 143, 191, .3); border-color: var(--teal); }
.prompt { font-family: "Cormorant Garamond", "Lora", Georgia, serif; font-size: 1.6rem; line-height: 1.35; margin: .5rem 0 1rem; text-shadow: 0 0 .5px currentColor; }
.entry { border-top: 1px solid var(--line); padding: 1rem 0; }
.entry:first-child { border-top: 0; }
.entry .meta { font-size: .85rem; color: var(--muted); }
.entry .body { white-space: pre-wrap; }
.tag { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; padding: .2rem .6rem .1rem; border-radius: 2px; background: rgba(143, 176, 208, .25); margin-right: .4rem; }

.affirm {
  font-family: "Cormorant Garamond", "Lora", Georgia, serif; font-size: clamp(1.7rem, 4.4vw, 2.6rem); text-align: center; text-shadow: 0 0 .5px currentColor;
  padding: 3rem 2rem; border-radius: 4px; outline: 1px solid var(--orange); outline-offset: -12px;
  background: url(img/mandala.svg) center / 300px no-repeat, linear-gradient(135deg, #d6efec, #f8e2d2); min-height: 260px; display: grid; place-items: center;
  background-blend-mode: soft-light, normal;
}
.help-box { background: #fbe8dc; border: 2px solid var(--orange); }
.list { padding-left: 1.2rem; }
.list li { margin-bottom: .5rem; }

.footer { max-width: 1040px; margin: 0 auto; padding: 2rem clamp(1rem, 4vw, 2rem) 3rem; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }

.fade { animation: fade .5s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
.hero h1, .hero > p { max-width: 34rem; }
@media (max-width: 640px) {
  .topbar { padding-top: .6rem; padding-bottom: .5rem; }
  .brand { font-size: 1.3rem; }
  .brand-name small { font-size: .56rem; letter-spacing: .1em; }
  .nav { width: 100%; justify-content: space-between; gap: .2rem .1rem; }
  .nav a { font-size: .66rem; letter-spacing: .06em; padding: .4rem .2rem .3rem; }
  .nav a.nav-help { width: 100%; text-align: center; margin-top: .2rem; padding: .5rem; }
  .hero { padding: 2.2rem 1.6rem; }
  .hero p { font-size: 1.05rem; }
}

/* Art deco details */
.card { position: relative; }
.card::before {
  content: ""; position: absolute; inset: 6px; pointer-events: none; border: 1px solid rgba(111, 143, 191, .22);
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);
}
.card.help-box::before { border-color: rgba(212, 175, 106, .35); }
.deco-rule { display: flex; align-items: center; gap: .8rem; color: var(--orange); margin: .2rem 0 1.2rem; }
.deco-rule::before, .deco-rule::after { content: ""; height: 1px; flex: 1; max-width: 90px; background: linear-gradient(90deg, transparent, currentColor); }
.deco-rule::after { background: linear-gradient(90deg, currentColor, transparent); }
.deco-rule i { width: 9px; height: 9px; border: 1px solid currentColor; transform: rotate(45deg); }
.hero .eyebrow { font-size: .78rem; text-transform: uppercase; letter-spacing: .2em; color: var(--orange-d); font-weight: 600; }
.icon { filter: saturate(.85); }

/* Prompt cards */
.spread { display: flex; justify-content: center; align-items: flex-end; min-height: 300px; padding: 1rem 0 0; }
.tcard {
  --w: clamp(96px, 18vw, 170px);
  width: var(--w); aspect-ratio: 5 / 8; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: inherit;
  margin: 0 calc(var(--w) * -0.18); perspective: 1000px;
  transform: rotate(calc(var(--n) * 7deg)) translateY(calc(var(--n) * var(--n) * 6px));
  transition: transform .5s ease, opacity .4s, width .5s, margin .5s;
}
.tcard:hover, .tcard:focus-visible { transform: rotate(calc(var(--n) * 7deg)) translateY(calc(var(--n) * var(--n) * 6px - 16px)); outline: none; }
.tcard-inner { position: relative; display: block; width: 100%; height: 100%; transition: transform .8s cubic-bezier(.3, .7, .3, 1); transform-style: preserve-3d; }
.tcard-face {
  position: absolute; inset: 0; border-radius: 8px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 10px 24px rgba(15, 42, 46, .22);
}
.tcard-back {
  background: url(img/mandala.svg) center / 88% no-repeat, linear-gradient(160deg, #2f4a78, #0f2a2e);
  outline: 1px solid rgba(242, 201, 143, .7); outline-offset: -7px;
}
.tcard-back::after { content: ""; position: absolute; inset: 11px; border: 1px solid rgba(212, 175, 106, .7); border-radius: 3px; }
.tcard-front {
  transform: rotateY(180deg); background: var(--card); display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  text-align: center; padding: 1.2rem 1rem; outline: 1px solid var(--teal); outline-offset: -7px;
  background-image: radial-gradient(circle at 50% 120%, rgba(143, 176, 208, .25), transparent 60%);
}
.tcard-front small { font-size: .62rem; text-transform: uppercase; letter-spacing: .16em; color: var(--orange); }
.tcard-text { font-family: "Cormorant Garamond", "Lora", Georgia, serif; font-size: clamp(1.05rem, 2.6vw, 1.45rem); line-height: 1.3; text-shadow: 0 0 .5px currentColor; color: var(--ink); }
.spread.picked .tcard:not(.chosen) { opacity: 0; pointer-events: none; width: 0; margin: 0; }
.tcard.chosen { --w: min(300px, 78vw); transform: none; margin: 0; cursor: default; }
.tcard.flipped .tcard-inner { transform: rotateY(180deg); }

/* One Thing I Did Today */
.eyebrow { font-size: .78rem; text-transform: uppercase; letter-spacing: .2em; color: var(--orange-d); font-weight: 600; margin-bottom: .4rem; }
body.night .eyebrow { color: #e3c381; }
.days { display: grid; grid-template-columns: repeat(10, 1fr); gap: .4rem; max-width: 520px; margin: 1rem 0 0; }
.day {
  aspect-ratio: 1; display: grid; place-items: center; text-decoration: none; font-size: .85rem; font-weight: 600;
  color: var(--teal-d); border: 1px solid rgba(111, 143, 191, .4); border-radius: 2px; background: var(--card);
}
.day:hover { border-color: var(--teal); }
.day.done { background: var(--teal-d); color: #fff; border-color: var(--teal-d); }
.day.current { outline: 2px solid var(--orange); outline-offset: 2px; }
.ritual { font-size: 1.1rem; padding: 1rem 1.2rem; border-left: 3px solid var(--orange); background: rgba(212, 175, 106, .06); }
.card h3 { margin-top: 1.4rem; }
a.card.feature { margin: 1rem 0 .5rem; border-color: var(--orange); background: linear-gradient(135deg, #fffdf9, #f8e9dd); }

.preview-note { display: inline-block; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; padding: .4rem .8rem .3rem; border: 1px dashed var(--orange); color: #e3c381; border-radius: 2px; }

.narration { width: 100%; max-width: 520px; margin: -.8rem 0 1rem; display: block; }

/* Sound and filter buttons on the dark Sleep screen (were light text on a light button) */
body.night .chip { background: #173b3e; border-color: #2f5f62; color: #e6f1ee; }
body.night .chip:hover { border-color: var(--teal); }
body.night .chip.on { background: var(--teal); border-color: var(--teal); color: #fff; }

/* Plus */
.nav a.nav-plus { color: var(--orange-d); }
body.night .nav a.nav-plus { color: #e3c381; }
.plus-badge { float: right; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #fff; background: var(--orange); padding: .25rem .55rem .15rem; border-radius: 2px; }
.chip.locked { opacity: .78; }
.chip.locked::first-letter { color: var(--orange); }
body.night .chip.locked { color: #cfe3df; }
.day.locked { opacity: .45; }
.plus-panel { border-color: var(--orange); text-align: center; }
.plus-panel::before { border-color: rgba(212, 175, 106, .35); }
body.night .plus-panel { border-color: var(--orange); }
.story-tease { position: relative; max-height: 22rem; overflow: hidden; }
.story-tease::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8rem; background: linear-gradient(transparent, var(--night)); }
.prices .price { text-align: center; }
.price .amount { font-family: "Cormorant Garamond", "Lora", Georgia, serif; font-size: 2rem; margin: .2rem 0 .3rem; text-shadow: 0 0 .5px currentColor; }
.price.best { border-color: var(--orange); box-shadow: 0 14px 34px rgba(212, 175, 106, .18); }
.price .btn { margin-top: .6rem; }
span.btn[aria-disabled] { cursor: default; }

/* Colouring */
.colour-card img, .colour-tease { display: block; width: 100%; height: auto; border: 1px solid var(--line); background: #fff; margin-bottom: .6rem; }
.colour-tease { max-width: 380px; margin: 1rem auto; opacity: .85; }
.print-first { border-color: var(--orange); }
.palette { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0 .4rem; }
.swatch { width: 42px; height: 42px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .15); cursor: pointer; padding: 0; display: grid; place-items: center; }
.swatch span { font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); font-size: 1rem; }
.swatch.on { outline: 3px solid var(--ink); outline-offset: 2px; }
.colour-canvas { background: #fff; border: 1px solid var(--line); max-width: 620px; margin: 0 auto; touch-action: manipulation; }
.colour-canvas svg { display: block; width: 100%; height: auto; }
.colour-canvas .f { cursor: pointer; transition: fill .2s; }
.colour-canvas .nums text { fill: #6b6b6b; font-family: Arial, Helvetica, sans-serif; pointer-events: none; }
.colour-canvas .nums text.done { display: none; }
.colour-canvas .f.nudge { animation: nudge .35s; }
@keyframes nudge { 30% { opacity: .55; } }
.print-key { display: none; }
.key-item { display: inline-flex; align-items: center; gap: .35rem; margin: 0 .9rem .3rem 0; font-family: Arial, Helvetica, sans-serif; font-size: 11pt; }
.key-item i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; border: 1px solid #999; }
@media print {
  @page { size: A4 portrait; margin: 10mm; }
  body.colouring-page .topbar, body.colouring-page .footer, body.colouring-page .no-print, body.colouring-page .skip { display: none !important; }
  body.colouring-page main { padding: 0; max-width: none; }
  body.colouring-page .colour-canvas { border: 0; max-width: 100%; }
  body.colouring-page.print-blank .colour-canvas .f, body.colouring-page.print-numbers .colour-canvas .f { fill: #fff !important; }
  body.colouring-page.print-blank .colour-canvas .nums { display: none; }
  body.colouring-page.print-numbers .colour-canvas .nums text { display: inline !important; }
  body.colouring-page.print-numbers .colour-canvas svg { max-height: 245mm; }
  body.colouring-page.print-numbers .print-key { display: block; text-align: center; margin-top: 2mm; }
}

/* Colouring collections */
.colour-collection h2 { font-size: 1.6rem; }
.pack-sheets { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.pack-sheets .colour-canvas { pointer-events: none; }
.pack-sheets .nums { display: none; }
@media print {
  body.colouring-page .pack-sheets { display: block; }
  body.colouring-page .print-sheet { page-break-after: always; break-after: page; }
  body.colouring-page .print-sheet:last-child { page-break-after: auto; break-after: auto; }
  body.colouring-page.print-numbers .pack-sheets .nums { display: inline; }
  body.colouring-page.print-numbers .print-sheet .colour-canvas svg { max-height: 245mm; }
}

/* Palette promo */
.palette-promo { border-color: var(--orange); }
.palette-promo h2 { font-size: 1.5rem; }
.palette-dots { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 .8rem; }
.palette-dots span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .85rem; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }

/* Front cover (splash): Deco Pop */
html.splash-on, html.splash-on body { overflow: hidden; }
#splash {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden; cursor: pointer; color: #fbf6ef;
  background: repeating-conic-gradient(from -3deg at 50% 38%, #6f8fbf 0 6deg, #7b9ac6 6deg 12deg);
  transition: opacity .7s ease, visibility .7s;
}
#splash.leaving { opacity: 0; visibility: hidden; }
.splash-inner { position: relative; z-index: 1; text-align: center; padding: 1.5rem 1.4rem 3rem; max-width: 34rem; display: flex; flex-direction: column; align-items: center; }
.cover-mandala { width: min(46vw, 230px); height: min(46vw, 230px); margin: 0 0 1.3rem; }
.cover-mandala img { width: 100%; height: 100%; filter: brightness(0) invert(96%) sepia(8%) saturate(300%); animation: mandalaspin 120s linear infinite; }
@keyframes mandalaspin { to { transform: rotate(360deg); } }
.lockup { margin: 0; font-weight: 400; display: flex; flex-direction: column; align-items: center; }
.lk-small { font-family: "Atkinson Hyperlegible", sans-serif; font-weight: 700; font-size: .9rem; letter-spacing: .5em; padding-left: .5em; text-transform: uppercase; margin: .25rem 0; }
.lk-main { font-family: "Cormorant Garamond", "Lora", Georgia, serif; font-size: clamp(3rem, 15vw, 5rem); line-height: .95; text-transform: uppercase; color: #fbf6ef; text-shadow: 5px 5px 0 #d4af6a; margin: .2rem 0; }
.splash-tag { background: #fbf6ef; color: #2f4a78; font-weight: 700; font-size: clamp(1rem, 4.3vw, 1.2rem); padding: .6rem 1.1rem .5rem; margin: 1.6rem 0 1.6rem; }
#splash-go {
  font: inherit; font-weight: 700; font-size: .95rem; letter-spacing: .22em; text-transform: uppercase; cursor: pointer;
  color: #fff; background: #d4af6a; border: 0; border-radius: 0; padding: 1.05rem 2.8rem .95rem; box-shadow: 5px 5px 0 #2f4a78;
}
#splash-go:hover, #splash-go:focus-visible { background: #b8924d; outline: 2px solid #fbf6ef; outline-offset: 3px; }
.pop-stripes { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; background: repeating-linear-gradient(90deg, #d4af6a 0 30px, #8fb0d0 30px 60px, #fbf6ef 60px 90px); }
@media (max-height: 740px) {
  .cover-mandala { width: 140px; height: 140px; margin-bottom: .8rem; }
  .lk-main { font-size: clamp(2.6rem, 13vw, 3.6rem); }
  .splash-tag { margin: 1.1rem 0; }
  .pop-stripes { height: 20px; }
}
@media (max-height: 600px) { .cover-mandala { display: none; } }
@media (prefers-reduced-motion: reduce) { .cover-mandala img { animation: none; } }
@media print { #splash { display: none !important; } }

/* ===== Dark theme (owner, 2026-10-07): deep charcoal, not dark green. Cover stays Deco Pop turquoise. ===== */
:root {
  --bg: #0f1626; --bg2: #141d31; --ink: #eef2ef; --muted: #a9b5b3; --card: #162036; --line: #27324c;
  --night: #0e1113; --shadow: 0 10px 30px rgba(0, 0, 0, .35); --teal-l: #e3c381; --orange-l: #e3c381;
}
body { background: var(--bg); color: var(--ink); }
a { color: var(--teal-l); }
h3 { color: var(--teal-l); }
.topbar { background: rgba(15, 22, 38, .94); border-color: var(--line); }
.brand, .nav a { color: var(--ink); }
.brand-name small { color: var(--orange-l); }
.nav a.nav-plus { color: var(--orange-l); }
.eyebrow, .hero .eyebrow { color: var(--orange-l); }
.hero { background: linear-gradient(135deg, #152038 0%, #141d31 55%, #1e2638 100%); }
.hero::before { border-color: rgba(212, 175, 106, .5); }
.hero-mandala { opacity: .35; }
.card { background: var(--card); border-color: var(--line); color: var(--ink); }
.card::before { border-color: rgba(227, 195, 129, .18); }
a.card:hover { box-shadow: 0 16px 36px rgba(0, 0, 0, .45); }
.btn.soft { background: rgba(227, 195, 129, .14); color: var(--teal-l); }
.btn.ghost { color: var(--ink); }
.chip { background: var(--card); border-color: #2c3854; color: var(--ink); }
.chip.on { background: var(--teal-d); border-color: var(--teal); color: #fff; }
textarea, input[type=text], input[type=email] { background: #0f1315; color: var(--ink); border-color: #2c3854; }
textarea::placeholder, input::placeholder { color: #75817f; }
.ritual { background: rgba(212, 175, 106, .12); }
.help-box { background: #1e2638; }
.affirm { background: url(img/mandala.svg) center / 300px no-repeat, linear-gradient(135deg, #152038, #1e2638); background-blend-mode: soft-light, normal; color: var(--ink); }
a.card.feature { background: linear-gradient(135deg, #162036, #1e2638); }
.day { background: var(--card); color: var(--teal-l); border-color: rgba(227, 195, 129, .35); }
.day.done { background: var(--teal-d); color: #fff; }
.tag { background: rgba(143, 176, 208, .22); color: var(--ink); }
.progress { background: #222c44; }
.stepper .big { color: var(--orange-l); }
.footer { border-color: var(--line); color: var(--muted); }
.skip:focus { background: var(--card); color: var(--ink); }
.deco-rule { color: var(--orange-l); }
.colour-card img, .colour-tease { border-color: var(--line); }
.palette-promo, .print-first, .plus-panel { border-color: var(--orange); }
.swatch.on { outline-color: var(--ink); }
/* sleep "night" mode: a touch darker still */
body.night { background: var(--night); color: var(--ink); }
body.night .topbar { background: rgba(14, 17, 19, .94); border-color: #1c2640; }
body.night .card { background: #131c30; border-color: #222c44; }
body.night .muted, body.night .footer { color: var(--muted); }
/* printing stays like paper */
@media print {
  body, body.night { background: #fff !important; color: #222 !important; }
  .card { background: #fff !important; color: #222 !important; }
}

/* ===== Deco Pop interior (owner, 2026-10-07): match the cover ===== */
h1, h2 { font-family: "Cormorant Garamond", "Lora", Georgia, serif; font-weight: 400; letter-spacing: .01em; color: #fbf6ef; text-shadow: 3px 3px 0 #d4af6a; }
h1 { font-size: clamp(2.1rem, 7vw, 3.2rem); line-height: 1.05; }
h2 { font-size: clamp(1.5rem, 5vw, 2.1rem); text-shadow: 2px 2px 0 #d4af6a; }
.card h2, .section.card h2 { font-size: clamp(1.4rem, 4.6vw, 1.9rem); }
.prompt { font-family: "Atkinson Hyperlegible", sans-serif; font-weight: 600; font-size: 1.35rem; text-shadow: none; }
.affirm { font-family: "Cormorant Garamond", "Lora", Georgia, serif; text-shadow: 2px 2px 0 #d4af6a; }
.brand { font-family: "Cormorant Garamond", "Lora", Georgia, serif; font-size: 1.35rem; letter-spacing: .02em; text-shadow: 2px 2px 0 #d4af6a; color: #fbf6ef; }
.brand-name small { font-family: "Atkinson Hyperlegible", sans-serif; text-shadow: none; }
/* chunky square buttons with offset shadow */
.btn { border-radius: 0; outline: none; font-weight: 700; letter-spacing: .18em; box-shadow: 4px 4px 0 #d4af6a; background: var(--teal-d); }
.btn:hover { background: #26406a; transform: translate(1px, 1px); box-shadow: 3px 3px 0 #d4af6a; }
.btn.warm { background: var(--orange); box-shadow: 4px 4px 0 var(--teal-d); }
.btn.warm:hover { background: var(--orange-d); box-shadow: 3px 3px 0 var(--teal-d); }
.btn.soft { box-shadow: none; border: 1px solid rgba(227, 195, 129, .5); }
.btn.ghost { box-shadow: none; border: 2px solid currentColor; }
.chip { border-radius: 0; }
/* home banner = mini cover: turquoise sunburst */
.hero {
  background: repeating-conic-gradient(from -3deg at 78% 50%, #6f8fbf 0 6deg, #7b9ac6 6deg 12deg); color: #fbf6ef;
  border-radius: 0; outline: none; padding-bottom: calc(clamp(2rem, 6vw, 4rem) + 22px);
}
.hero::before { display: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; z-index: 1; background: repeating-linear-gradient(90deg, #d4af6a 0 26px, #8fb0d0 26px 52px, #fbf6ef 52px 78px); }
.hero .eyebrow { color: #fbf6ef; letter-spacing: .4em; }
.hero h1 { text-shadow: 4px 4px 0 #d4af6a; }
.hero p { color: #fbf6ef; }
.hero .deco-rule { color: #fbf6ef; }
.hero-mandala { opacity: .9; filter: brightness(0) invert(96%) sepia(8%) saturate(300%); }
@media (max-width: 700px) { .hero-mandala { opacity: .25; } }
.hero .btn { background: #fbf6ef; color: #2f4a78; box-shadow: 4px 4px 0 #d4af6a; }
.hero .btn.warm { background: #d4af6a; color: #fff; box-shadow: 4px 4px 0 #2f4a78; }
/* stripes above the footer */
.footer { border-top: 0; position: relative; padding-top: 3rem; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: repeating-linear-gradient(90deg, #d4af6a 0 26px, #8fb0d0 26px 52px, #fbf6ef 52px 78px); opacity: .85; }
/* deco sunburst badges instead of emoji */
.deco-badge { display: block; width: 46px; height: 46px; border-radius: 50%; margin-bottom: .8rem; position: relative;
  background: repeating-conic-gradient(var(--c1) 0 15deg, var(--c2) 15deg 30deg); box-shadow: 3px 3px 0 rgba(0, 0, 0, .35); }
.deco-badge::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: #fbf6ef; }
.deco-badge.b0 { --c1: #6f8fbf; --c2: #7b9ac6; }
.deco-badge.b1 { --c1: #d4af6a; --c2: #c9a45c; }
.deco-badge.b2 { --c1: #8fb0d0; --c2: #a3bfdc; }
/* cards: cleaner deco edge */
.card::before { display: none; }
.card { border-left: 3px solid #6f8fbf; border-radius: 0; }
a.card:hover { border-left-color: #d4af6a; transform: translateY(-3px); }
.plus-badge { border-radius: 0; box-shadow: 2px 2px 0 #2f4a78; }

/* ===== Uncrowded menu (owner, 2026-10-07): slim top bar + 5-tab bottom bar ===== */
.topbar { flex-wrap: nowrap; padding-top: .6rem; padding-bottom: .6rem; }
.top-actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.top-plus { color: var(--orange-l); text-decoration: none; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding: .45rem .5rem .35rem; }
.top-help { background: var(--orange); color: #fff; text-decoration: none; font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; padding: .55rem .8rem .45rem; box-shadow: 3px 3px 0 var(--teal-d); white-space: nowrap; }
.top-help:hover { background: var(--orange-d); }
@media (max-width: 480px) { .brand-name small { display: none; } .brand { font-size: 1.1rem; gap: .5rem; } .logo { width: 32px; height: 32px; } .top-plus { display: none; } }
/* ===== Top button menu (owner, 2026-10-07): every section one tap away at the top, no hunting ===== */
/* Side menu down the right-hand side (owner, 2026-10-07) */
.menu { position: fixed; z-index: 4; right: 0; top: var(--topbar-h, 66px); bottom: 0; width: 76px; display: flex; flex-direction: column; gap: .35rem; padding: .5rem .4rem calc(.5rem + env(safe-area-inset-bottom)); background: #0c1220; border-left: 1px solid #222c44; overflow-y: auto; }
.menu a { flex: 1 0 auto; min-height: 56px; max-height: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; padding: .4rem .1rem; text-decoration: none; color: #d9dfdd; background: #162036; border: 1px solid #27324c; font-size: .58rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.menu svg { width: 22px; height: 22px; fill: none; stroke: var(--teal-l); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu a:hover { border-color: var(--teal-l); }
.menu a.active { background: #1d2b48; border-color: var(--teal-l); color: #fbf6ef; }
body { padding-right: 76px; }
.topbar { margin-right: -76px; }
@media (min-width: 900px) { .menu { width: 104px; } .menu a { font-size: .66rem; } body { padding-right: 104px; } .topbar { margin-right: -104px; } }
@media print { .menu { display: none !important; } body { padding-right: 0 !important; } .topbar { margin-right: 0; } }
body.colouring-page { padding-right: 0; }
body.colouring-page .topbar { margin-right: 0; }
html.splash-on body { padding-right: 0; }
html.splash-on .menu { display: none; }
body.colouring-page .menu { display: none; }
/* calmer interior (owner: "not very calming"): no heavy double shadows, softer banner */
h1, h2, .hero h1, .affirm, .brand { text-shadow: none; }
h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); }
.hero { background: linear-gradient(160deg, #6f8fbf 0%, #2c3f66 100%); padding-bottom: clamp(2rem, 6vw, 4rem); }
.hero::after { display: none; }
.hero-mandala { opacity: .35; }
@media (max-width: 700px) { .hero-mandala { opacity: .15; } }
.hero .btn { box-shadow: none; }
.hero .btn.warm { box-shadow: none; }
.btn, .btn.warm { box-shadow: none; }
.btn:hover, .btn.warm:hover { box-shadow: none; transform: none; }
.top-help { box-shadow: none; }
.footer::before { height: 6px; opacity: .6; }
/* compact section cards: badge beside the text, less scrolling */
a.card-row { display: grid; grid-template-columns: 38px 1fr; column-gap: .9rem; align-items: start; padding: 1rem 1.1rem; }
a.card-row .deco-badge { width: 38px; height: 38px; margin: 0; grid-row: span 2; box-shadow: none; }
a.card-row .deco-badge::after { inset: 12px; }
a.card-row h3 { margin: .1rem 0 .2rem; }
a.card-row p { margin: 0; }
a.card:hover { transform: none; }
.grid { gap: .8rem; }

.splash-age { margin: 1.2rem 0 0; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fbf6ef; opacity: .9; }

/* Reflection cards: theme colours */
.th-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .45rem; vertical-align: 1px; }
.chip.soon { opacity: .5; cursor: default; }
.tcard-back { background: url(img/mandala.svg) center / 80% no-repeat, linear-gradient(160deg, var(--th, #6f8fbf), #0f1626 120%) !important; }
.tcard-front { gap: .4rem; }
.tc-theme { font-size: .55rem !important; letter-spacing: .12em; color: var(--th, #d4af6a) !important; line-height: 1.3; }
.tc-title { font-family: "Cormorant Garamond", "Lora", Georgia, serif; font-size: clamp(1.05rem, 2.6vw, 1.3rem); color: #1f2e33; line-height: 1.1; }
.tcard-text { font-family: "Atkinson Hyperlegible", sans-serif !important; font-weight: 600; font-size: clamp(.9rem, 2.2vw, 1.05rem) !important; line-height: 1.35 !important; text-shadow: none !important; }
.tcard-back { background: url(img/mandala.svg) center / 78% no-repeat, var(--th, #6f8fbf) !important; }
.tcard-front { border-top: 8px solid var(--th, #6f8fbf); }

/* Voice journal */
.voice-box { margin: .9rem 0 .2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; }
.mic-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; margin-right: .2rem; }
.voice-hint { font-size: .9rem; }
#t-rec { flex-basis: 100%; }
.rec-live { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; padding: .8rem 1rem; border: 1px solid var(--orange); background: rgba(212, 175, 106, .1); }
.rec-dot { width: 14px; height: 14px; border-radius: 50%; background: #e2463a; animation: recpulse 1.2s ease-in-out infinite; }
@keyframes recpulse { 50% { opacity: .3; } }
#v-time { font-weight: 700; font-size: 1.2rem; min-width: 3.2rem; }
.rec-review audio, .voice-entry audio { width: 100%; max-width: 420px; margin: .4rem 0; display: block; }
.voice-entry { margin-top: .3rem; }

/* Printable Reflection Journal */
.pj-book { display: grid; gap: 1.2rem; justify-items: center; }
.pj-page { width: min(100%, 560px); aspect-ratio: 210 / 297; background: #fff; color: #1f2e33; padding: 7% 8%; position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); font-family: "Atkinson Hyperlegible", sans-serif; font-size: clamp(.6rem, 1.9vw, .95rem); }
.pj-page h3 { color: #2f4a78; font-family: "Atkinson Hyperlegible", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 .5em; font-size: 1.05em; text-shadow: none; }
.pj-cover, .pj-divider { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #6f8fbf; color: #fbf6ef; }
.pj-divider { background: var(--th); }
.pj-cover img, .pj-divider img { width: 45%; filter: brightness(0) invert(96%) sepia(8%) saturate(300%); margin-bottom: 6%; }
.pj-title { font-family: "Cormorant Garamond", "Lora", Georgia, serif; font-weight: 400; font-size: 3.4em; line-height: .95; text-transform: uppercase; color: #fbf6ef; text-shadow: .08em .08em 0 #d4af6a; margin: .1em 0; }
.pj-theme { font-size: 2.1em; text-transform: none; line-height: 1.1; }
.pj-small { font-weight: 700; letter-spacing: .5em; text-transform: uppercase; margin: .3em 0; font-size: .9em; }
.pj-sub { margin: 1.4em 0 .3em; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: 1.05em; }
.pj-tag { background: #fbf6ef; color: #2f4a78; font-weight: 700; padding: .4em .8em; margin-top: .8em; }
.pj-intro p { line-height: 1.6; margin: 0 0 .9em; }
.pj-sign { font-family: "Cormorant Garamond", "Lora", Georgia, serif; color: #d4af6a; }
.pj-prompts { display: flex; flex-direction: column; gap: 4%; border-top: 1.4em solid var(--th); }
.pj-q { flex: 1; display: flex; flex-direction: column; }
.pj-qtheme { color: var(--th); filter: brightness(.75); font-size: .7em; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .2em; font-weight: 700; }
.pj-q h3 { font-family: "Cormorant Garamond", "Lora", Georgia, serif; text-transform: none; letter-spacing: 0; color: #1f2e33; font-weight: 400; font-size: 1.4em; margin: 0 0 .2em; }
.pj-qtext { margin: 0 0 .6em; line-height: 1.4; font-weight: 600; }
.pj-line { border-bottom: 1px solid #b8c2c0; height: 1.65em; flex: none; }
.pj-notes .pj-line { height: 1.75em; }
.pj-foot { position: absolute; bottom: 3%; left: 0; right: 0; text-align: center; font-size: .65em; letter-spacing: .3em; text-transform: uppercase; color: #9aa5a3; margin: 0; }
@media print {
  @page { size: A4 portrait; margin: 0; }
  body.pj-printing { background: #fff !important; padding: 0 !important; }
  body.pj-printing .topbar, body.pj-printing .footer, body.pj-printing .tabbar, body.pj-printing .no-print, body.pj-printing .skip { display: none !important; }
  body.pj-printing main { padding: 0 !important; max-width: none !important; }
  body.pj-printing .pj-book { display: block; }
  body.pj-printing .pj-page { width: 210mm; height: 297mm; aspect-ratio: auto; box-shadow: none; font-size: 12pt; page-break-after: always; break-after: page; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.pj-printing .pj-page:last-child { page-break-after: auto; break-after: auto; }
}

/* Meditate */
.med-mins { font-size: .7rem; letter-spacing: .12em; color: var(--orange-l); margin-left: .3rem; white-space: nowrap; }
.med-player { text-align: center; padding: 2rem 1.4rem; }
.med-bar { height: 4px; background: #27324c; margin: 0 0 1.6rem; }
.med-bar i { display: block; height: 100%; width: 0; background: var(--teal-l); transition: width 1s linear; }
.med-line { font-size: clamp(1.2rem, 4.2vw, 1.6rem); line-height: 1.5; min-height: 7.5em; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; max-width: 30rem; color: #fbf6ef; }
.med-line.in { animation: medin 1.2s ease; }
@keyframes medin { from { opacity: 0; } to { opacity: 1; } }
#m-ctl { justify-content: center; }

/* ===== Navy and gold calm theme (owner, 2026-10-07): no 1920s glamour, calm safe space ===== */
:root { --bg: #0f1626; --card: #162036; --line: #27324c; --gold: #d4af6a; --gold-l: #e3c381; --blue: #8fb0d0; --teal-l: #e3c381; --orange-l: #e3c381; --muted: #a7b0c0; }
body { background: #0f1626; color: #ece6da; font-size: 18px; }
h1, h2 { font-family: "Cormorant Garamond", "Lora", Georgia, serif; font-weight: 500; letter-spacing: 0; text-shadow: none; color: #f6efe3; }
h3 { letter-spacing: .06em; }
.brand { font-family: "Cormorant Garamond", "Lora", Georgia, serif; font-weight: 500; text-shadow: none; }
.deco-rule { color: var(--gold); }
.deco-rule i { display: none; }
.deco-rule::before { max-width: 60px; background: currentColor; opacity: .7; }
.deco-rule::after { display: none; }
.footer::before { display: none; }
.footer { border-top: 1px solid #27324c; padding-top: 2rem; }
.hero { background: radial-gradient(circle at 85% 30%, #24345a 0%, #18233d 55%, #141d33 100%); border: 1px solid #27324c; }
.hero .eyebrow { color: var(--gold-l); letter-spacing: .25em; }
.hero h1 { color: #f6efe3; }
.hero-mandala { opacity: .14; filter: none; }
.hero .btn { background: #f6efe3; color: #0f1626; }
.btn { background: #2f4a78; color: #f6efe3; letter-spacing: .12em; }
.btn:hover { background: #3a5890; }
.btn.warm, .hero .btn.warm, #splash-go, .top-help { background: var(--gold); color: #0f1626; }
.btn.warm:hover, .top-help:hover { background: var(--gold-l); }
.btn.soft { background: transparent; color: var(--gold-l); border: 1px solid rgba(227, 195, 129, .45); }
.btn.ghost { color: #ece6da; }
.card { border-left-color: var(--gold); }
.menu a.active { border-color: var(--gold); }
.deco-badge { background: var(--c1); }
.deco-badge.b0 { --c1: #6f8fbf; } .deco-badge.b1 { --c1: #d4af6a; } .deco-badge.b2 { --c1: #8fb0d0; }
.deco-badge::after { background: #0f1626; inset: 13px; }
a { color: var(--gold-l); }
/* front cover: same calm navy as the inside */
#splash { background: radial-gradient(circle at 50% 35%, #1d2a48 0%, #0f1626 65%); }
.pop-stripes { display: none; }
.cover-mandala img { filter: none; opacity: 0; }
.cover-mandala { background: var(--gold); -webkit-mask: url(img/mandala.svg) center / contain no-repeat; mask: url(img/mandala.svg) center / contain no-repeat; opacity: .85; animation: mandalaspin 160s linear infinite; }
@media (prefers-reduced-motion: reduce) { .cover-mandala { animation: none; } }
.lk-small { color: var(--gold-l); letter-spacing: .4em; }
.lk-main { font-family: "Cormorant Garamond", "Lora", Georgia, serif; font-weight: 500; text-transform: none; text-shadow: none; color: #f6efe3; font-size: clamp(2.8rem, 13vw, 4.4rem); line-height: 1.02; }
.splash-tag { background: transparent; color: #f6efe3; font-weight: 400; border-top: 1px solid rgba(212, 175, 106, .6); border-bottom: 1px solid rgba(212, 175, 106, .6); }
#splash-go { box-shadow: none; letter-spacing: .16em; border-radius: 2px; }
#splash-go:hover, #splash-go:focus-visible { background: var(--gold-l); outline-color: #f6efe3; }

/* lotus motif (owner: "focus on lotus shapes") */
.deco-rule { gap: .6rem; }
.deco-rule i { display: block; width: 30px; height: 20px; border: 0; transform: none; background: var(--gold); -webkit-mask: url(img/lotus.svg) center / contain no-repeat; mask: url(img/lotus.svg) center / contain no-repeat; }
.deco-rule::after { display: block; max-width: 60px; background: currentColor; opacity: .7; }
.deco-badge, a.card-row .deco-badge { border-radius: 0; box-shadow: none; background: var(--c1); -webkit-mask: url(img/lotus.svg) center / contain no-repeat; mask: url(img/lotus.svg) center / contain no-repeat; }
.deco-badge::after, a.card-row .deco-badge::after { display: none; }
.hero-mandala { display: none; }
.hero::before { display: block; content: ""; position: absolute; width: 170px; height: 115px; border: 0; inset: 14px 14px auto auto; background: var(--gold); opacity: .18; -webkit-mask: url(img/lotus.svg) center / contain no-repeat; mask: url(img/lotus.svg) center / contain no-repeat; z-index: 0; }

/* age note: small, at the very bottom of the cover (owner) */
.splash-age { position: absolute; left: 0; right: 0; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 1; margin: 0; text-align: center; font-size: .72rem; font-weight: 400; letter-spacing: .04em; text-transform: none; color: #a7b0c0; opacity: 1; }

/* Headings: Cormorant Garamond (owner chose option 5). It is fine-boned, so a little bigger and bolder */
h1, h2, h3, .brand, .lk-main, .affirm, .tc-title, .pj-title, .pj-q h3 { font-weight: 600; }
h1 { font-size: clamp(2.2rem, 7vw, 3.2rem); letter-spacing: .005em; }
h2 { font-size: clamp(1.7rem, 5.4vw, 2.3rem); }
.brand { font-size: 1.5rem; }
.lk-main { font-size: clamp(3.1rem, 14.5vw, 4.9rem); }

/* small mandalas scattered on the cover (owner: less bare, not busy) */
.cover-minis { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.cover-minis img { position: absolute; display: block; background: var(--gold); -webkit-mask: url(img/mandala.svg) center / contain no-repeat; mask: url(img/mandala.svg) center / contain no-repeat; animation: mandalaspin 200s linear infinite; }
.cover-minis img:nth-child(1) { width: 120px; height: 120px; left: -34px; top: 7%; opacity: 0.42; }
.cover-minis img:nth-child(2) { width: 70px; height: 70px; right: 9%; top: 5%; opacity: 0.44; animation-direction: reverse; }
.cover-minis img:nth-child(3) { width: 46px; height: 46px; left: 14%; top: 31%; opacity: 0.38; }
.cover-minis img:nth-child(4) { width: 100px; height: 100px; right: -30px; top: 40%; opacity: 0.4; animation-direction: reverse; }
.cover-minis img:nth-child(5) { width: 54px; height: 54px; left: 6%; bottom: 25%; opacity: 0.42; }
.cover-minis img:nth-child(6) { width: 130px; height: 130px; right: -26px; bottom: 6%; opacity: 0.38; }
.cover-minis img:nth-child(7) { width: 40px; height: 40px; left: 24%; bottom: 9%; opacity: 0.42; animation-direction: reverse; }
@media (min-width: 700px) { .cover-minis img { transform: scale(1.4); } }
@media (prefers-reduced-motion: reduce) { .cover-minis img { animation: none; } }

/* cover mandalas as plain gold images (works in every in-app browser, no CSS masks) */
.cover-mandala { background: none !important; -webkit-mask: none !important; mask: none !important; opacity: 1; animation: none; }
.cover-mandala img { filter: none !important; opacity: .9 !important; animation: mandalaspin 160s linear infinite; }
.cover-minis img { -webkit-mask: none; mask: none; background: none; }

/* breathing circle: fit inside the card next to the side menu so it and the Start/Stop button share one centre line (owner) */
.breath-wrap { width: 100%; padding: 2.8rem 0; }
@media (max-width: 899px) { .breath { box-shadow: 0 0 0 14px rgba(111, 143, 191, .12), 0 0 0 28px rgba(212, 175, 106, .07); } }
.breath { width: min(300px, 52vw); height: min(300px, 52vw); }
@media (min-width: 900px) { .breath { width: 300px; height: 300px; } }
#b-start { margin: 0 auto; }

/* Community kind words */
.kind-wall { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.kind-note { margin: 0; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 1rem 1.1rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.25rem; line-height: 1.4; color: #f6efe3; }
