/* ==========================================================================
   Design tokens. Font: Gotham if installed, otherwise Inter (the settled substitute).
   Light page with a deep indigo hero band and warm gold accents.
   ========================================================================== */
:root {
  --ink: #17142e;
  --ink-2: #2a2650;
  --muted: #6a6785;
  --line: #e7e4f0;
  --paper: #ffffff;
  --wash: #f7f6fb;
  --accent: #5b3fa0;
  --accent-deep: #3f2a78;
  --accent-soft: #efeaf9;
  --gold: #c09a5b;
  --gold-soft: #f6efe2;
  --danger: #a4262c;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(23, 20, 46, 0.06), 0 8px 24px rgba(23, 20, 46, 0.06);
  --font: "Gotham", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); font-size: 0.95em; }
.hint { display: block; color: var(--muted); font-size: 0.85em; text-align: right; }

/* Eyebrow label used above section headings */
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 20px; padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 10px;
}
.brand::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f3e2b8, var(--gold));
  box-shadow: 0 0 0 4px var(--gold-soft);
}
.site-nav nav { display: flex; flex-wrap: wrap; gap: 6px; }
.site-nav nav a {
  color: var(--ink-2); text-decoration: none; font-size: 0.95rem; font-weight: 500;
  padding: 7px 12px; border-radius: 999px; transition: background 0.2s, color 0.2s;
}
.site-nav nav a:hover { background: var(--accent-soft); color: var(--accent-deep); }
.site-nav nav a[aria-current="page"] { background: var(--ink); color: #fff; }

main { max-width: 1040px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

/* ---------- Hero (dark indigo band) ---------- */
.hero {
  position: relative; overflow: hidden;
  margin: 0 calc(50% - 50vw); padding: clamp(56px, 9vw, 104px) clamp(20px, 6vw, 64px);
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(192, 154, 91, 0.28), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(91, 63, 160, 0.55), transparent 60%),
    linear-gradient(160deg, #1d1840 0%, #130f2b 100%);
  color: #f5f2fb;
  display: grid; gap: clamp(28px, 5vw, 56px); align-items: center;
}
.hero::before {
  /* faint starfield */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 33% 68%, #fff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 58% 18%, #f3e2b8 50%, transparent 52%),
    radial-gradient(1px 1px at 74% 74%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 91% 36%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 44% 86%, #f3e2b8 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 22% 48%, #fff 50%, transparent 52%);
}
.hero > * { position: relative; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: #e6cf9c; }
.hero-art {
  border-radius: var(--radius-lg); overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(230, 207, 156, 0.28);
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.hero-art { width: 100%; max-width: 560px; margin: 0 auto; }
.hero-art img { width: 100%; height: 100%; object-fit: contain; }
.hero-art img.missing { display: none; }
.hero-art::before {
  content: "Your drawing goes here\A assets/hero.png";
  white-space: pre; text-align: center; color: rgba(245, 242, 251, 0.6);
  font-size: 0.9rem; line-height: 1.5; padding: 16px;
}
.hero-art:has(img:not(.missing))::before { content: none; }
.tagline { font-size: clamp(1.1rem, 2vw, 1.3rem); color: rgba(245, 242, 251, 0.82); max-width: 34ch; margin-bottom: 0; }

.tool-hero { padding-block: clamp(44px, 7vw, 76px); grid-template-columns: 1fr; }
.tool-hero .tagline { max-width: 52ch; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-size: 0.98rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(180deg, #2a2352, var(--ink)); color: #fff;
  box-shadow: 0 6px 16px -6px rgba(23, 20, 46, 0.5);
}
.btn-primary:hover { background: var(--accent-deep); box-shadow: 0 10px 22px -8px rgba(63, 42, 120, 0.6); }
.btn-gold { background: linear-gradient(180deg, #d2b06f, var(--gold)); color: #1b1530; }
.btn-gold:hover { box-shadow: 0 10px 22px -8px rgba(192, 154, 91, 0.7); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.block .btn-ghost { color: var(--ink); border-color: #cfcadf; }
.block .btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn-paypal { background: #003087; color: #fff; }
.btn-venmo { background: #3d95ce; color: #fff; }

/* ---------- Sections ---------- */
.block { padding: clamp(48px, 7vw, 80px) 0; border-top: 1px solid var(--line); }
.block:first-of-type { border-top: 0; }
.section-head { max-width: 60ch; margin-bottom: 28px; }
.section-head p { color: var(--muted); margin: 0; }
.prose p { max-width: 66ch; font-size: 1.05rem; }
.prose p:first-child::first-letter {
  font-size: 3.4em; float: left; line-height: 0.9; padding: 6px 10px 0 0; color: var(--accent);
  font-weight: 700;
}

/* Horary guidance card */
.guide {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--accent-soft), #fff 85%);
  border: 1px solid #e3ddf3; border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 36px); margin-bottom: 32px; box-shadow: var(--shadow);
}
.guide h3 { font-size: 1.35rem; margin-bottom: 18px; }
.guide ol { list-style: none; counter-reset: q; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; }
.guide li { counter-increment: q; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.guide li::before {
  content: counter(q); width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 0.95rem;
  background: var(--ink); color: #f3e2b8;
}
.guide li strong { display: block; margin-bottom: 2px; }
.note {
  font-size: 0.95rem; margin: 0; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--gold-soft); border-left: 3px solid var(--gold);
}

/* ---------- Form ---------- */
.question-form {
  display: grid; gap: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow);
}
.question-form label { display: grid; gap: 7px; font-weight: 600; font-size: 0.95rem; color: var(--ink-2); }
.question-form input[type="text"],
.question-form input[type="email"],
.question-form input[type="datetime-local"],
.question-form select,
.question-form textarea {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid #d6d1e6; border-radius: var(--radius-sm);
  background: var(--wash); width: 100%; transition: border-color 0.2s, background 0.2s;
}
.question-form input:focus, .question-form select:focus, .question-form textarea:focus {
  outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft);
}
.question-form textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* Tier picker */
.tiers { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.tiers legend { font-weight: 700; font-size: 1rem; margin-bottom: 10px; padding: 0; color: var(--ink); }
#tier-options { display: grid; gap: 12px; }
@media (min-width: 760px) { #tier-options { grid-template-columns: repeat(3, 1fr); } }
.tier {
  position: relative; display: grid !important; grid-template-columns: 1fr; gap: 6px; align-items: start;
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px 18px 18px 46px;
  cursor: pointer; font-weight: 400 !important; background: #fff; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.tier:hover { border-color: #c9c1e0; }
.tier:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 4px rgba(91, 63, 160, 0.08); }
.tier input { position: absolute; left: 18px; top: 22px; accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.tier-body { display: grid; gap: 4px; }
.tier-body strong { font-size: 1.02rem; color: var(--ink); }
.tier-body span:not(.muted) { font-size: 0.95rem; color: var(--ink-2); }
.tier-price { font-size: 1.6rem; font-weight: 700; color: var(--accent-deep); letter-spacing: -0.01em; }
.tier-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }

.consent { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; font-size: 0.93em; color: var(--muted) !important; }
.consent input { margin-top: 4px; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.question-form > .btn-primary { justify-self: start; min-width: 240px; }
.error { color: var(--danger); font-weight: 600; margin: 0; }

/* ---------- Results ---------- */
.result { margin-top: 28px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 34px);
  background: #fff; box-shadow: var(--shadow);
}
.card h3 { font-size: 1.4rem; }
.card .pay-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.ref-code {
  display: inline-block; font-size: 1.5rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--accent-deep); background: var(--gold-soft); border: 1px dashed var(--gold);
  padding: 8px 16px; border-radius: var(--radius-sm); margin: 6px 0 16px;
}

/* Magic 8 Ball: black sphere with a blue window reading "Ask again later" */
.eight-ball {
  width: 170px; height: 170px; border-radius: 50%; margin: 4px auto 22px;
  background: radial-gradient(circle at 34% 28%, #5a5a64 0%, #161618 40%, #000 100%);
  box-shadow: inset -12px -14px 26px rgba(0, 0, 0, 0.7), inset 6px 8px 14px rgba(255, 255, 255, 0.08), 0 14px 26px -8px rgba(23, 20, 46, 0.45);
  display: flex; align-items: center; justify-content: center;
}
.eight-ball-window {
  width: 96px; height: 96px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #3b4fb0 0%, #14215e 70%, #0b1438 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  color: #fff; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 10px;
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.18);
}
.eight-ball-window span { margin-top: 6px; line-height: 1.15; }
.eight-ball-triangle {
  width: 0; height: 0; border-left: 15px solid transparent; border-right: 15px solid transparent;
  border-bottom: 26px solid #fff; opacity: 0.92;
}
.vocreturn { text-align: center; max-width: 620px; margin: 0 auto; }
.vocreturn h3 { font-size: 1.6rem; }

/* ---------- Rates ---------- */
.rates { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .rates { grid-template-columns: repeat(3, 1fr); } }
.rates li {
  display: grid; gap: 6px; padding: 24px; border-radius: var(--radius-lg);
  background: var(--wash); border: 1px solid var(--line);
}
.rate-name { font-weight: 700; color: var(--ink); }
.rate-price { font-size: 1.9rem; font-weight: 700; color: var(--accent-deep); letter-spacing: -0.02em; }
.rate-note { color: var(--muted); font-size: 0.95em; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; gap: 18px; }
@media (min-width: 760px) { .testimonials { grid-template-columns: 1fr 1fr; } }
.testimonial {
  margin: 0; padding: 28px; border-radius: var(--radius-lg); background: var(--gold-soft);
  position: relative; border: 1px solid #efe3c8;
}
.testimonial::before {
  content: "\201C"; position: absolute; top: 4px; left: 20px; font-size: 4.5rem; line-height: 1;
  color: var(--gold); opacity: 0.45; font-family: Georgia, serif;
}
.testimonial blockquote { margin: 18px 0 14px; font-size: 1.08rem; color: var(--ink-2); font-style: italic; }
.testimonial figcaption { color: var(--muted); font-size: 0.92rem; font-weight: 600; }

/* ---------- Connect ---------- */
.connect {
  text-align: center; background: var(--wash); border-radius: var(--radius-lg);
  margin-top: 40px; padding: clamp(36px, 6vw, 60px) clamp(20px, 4vw, 40px); border: 0;
}
.connect .actions { justify-content: center; margin-top: 22px; }
.connect .muted { margin: 18px 0 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px clamp(16px, 4vw, 40px); text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 16px; }

/* ==========================================================================
   Ephemeris tool
   ========================================================================== */
.eph-form { max-width: 880px; margin: 0 auto; }
.eph-form .actions { margin-top: 0; }
#eph-result { max-width: 880px; margin: 0 auto; }
#eph-result .muted { margin-bottom: 14px; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); }
.eph-table { width: 100%; border-collapse: collapse; font-size: 0.97rem; min-width: 520px; }
.eph-table thead th {
  text-align: left; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); background: var(--wash); padding: 14px 18px; border-bottom: 1px solid var(--line);
}
.eph-table td, .eph-table th.body { padding: 15px 18px; border-bottom: 1px solid var(--line); }
.eph-table tbody tr:last-child td, .eph-table tbody tr:last-child th { border-bottom: 0; }
.eph-table tbody tr:hover { background: #fcfbfe; }
.eph-table th.body { font-weight: 700; text-align: left; }
.eph-table td.num { font-variant-numeric: tabular-nums; color: var(--muted); }
.eph-table tr.retro td:last-child { color: var(--danger); font-weight: 700; }
.voc-card { margin-top: 22px; max-width: 880px; margin-left: auto; margin-right: auto; border-left: 4px solid var(--gold); }
.voc-card h3 { margin-bottom: 8px; }
.notes { padding-left: 20px; margin: 0 0 18px; max-width: 70ch; }
.notes li { margin-bottom: 10px; color: var(--ink-2); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 820px) {
  .hero { grid-template-columns: 1.05fr 0.95fr; }
  .hero .hero-art { order: 2; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-nav nav a { padding: 6px 9px; font-size: 0.9rem; }
  .question-form > .btn-primary { width: 100%; min-width: 0; }
  .actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ==========================================================================
   Poster direction: rubylith buttons, condensed poster headings, quiet body text.
   Rubylith = flat red film with hard edges and a slight offset, like old print masks.
   ========================================================================== */
:root {
  --rubylith: #c8102e;
  --rubylith-deep: #8f0b20;
  --poster-ink: #111111;
  --display: "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0.02em; text-transform: uppercase; }
h1 { font-size: clamp(3rem, 9vw, 6rem); line-height: 0.95; }
h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1; }
h3 { font-size: 1.6rem; }

/* Rubylith buttons: flat red, a hard black offset, condensed white capitals */
.btn {
  font-family: var(--display); font-size: 1.25rem; letter-spacing: 0.08em;
  text-transform: uppercase; border-radius: 0; padding: 12px 26px; border: 2px solid var(--poster-ink);
  box-shadow: 4px 4px 0 var(--poster-ink);
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--poster-ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--poster-ink); }
.btn-primary, .btn-gold, .btn-paypal, .btn-venmo {
  background: var(--rubylith); color: #fff;
}
.btn-primary:hover, .btn-gold:hover { background: var(--rubylith-deep); }
.btn-ghost {
  background: #fff; color: var(--poster-ink); border-color: var(--poster-ink);
}
.btn-ghost:hover { background: #fff; color: var(--rubylith); }

/* Body copy stays minimal */
body { font-family: var(--font); font-weight: 400; }
.tagline, .prose p, .muted { font-weight: 400; }

/* ==========================================================================
   Rubylith direction: red hand-cut lettering on white paper.
   The edges are roughened with the #handcut filter in index.html.
   ========================================================================== */
:root {
  --rubylith: #d1162c;
  --rubylith-deep: #a10f22;
}

.hero {
  background: #fff; color: var(--ink);
  border-bottom: 2px solid var(--ink);
}
.hero::before { content: none; }
.hero .eyebrow { color: var(--rubylith); }
.hero h1 { color: var(--rubylith); filter: url(#handcut); }
.hero .tagline { color: var(--ink-2); }
.hero-art {
  background: #fff; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink);
}
.hero-art::before { color: var(--muted); }

h1, h2 { color: var(--rubylith); filter: url(#handcut); }
h3 { color: var(--ink); font-family: var(--display); letter-spacing: 0.04em; }
.eyebrow { color: var(--rubylith); }

.btn { filter: url(#handcut); }
.btn-primary, .btn-gold, .btn-paypal, .btn-venmo {
  background: var(--rubylith); color: #fff; border-color: var(--ink);
}
.btn-ghost { background: #fff; color: var(--rubylith); border-color: var(--rubylith); box-shadow: 4px 4px 0 var(--rubylith); }
.btn-ghost:hover { color: var(--rubylith-deep); }
.btn-ghost { color: var(--rubylith); }
.block .btn-ghost { color: var(--rubylith); border-color: var(--rubylith); }
.block .btn-ghost:hover { background: #fff; color: var(--rubylith-deep); }

.guide li::before { background: var(--rubylith); color: #fff; }
.guide { background: #fff; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.rate-price, .tier-price { color: var(--rubylith); }
.testimonial { background: #fff; border: 2px solid var(--ink); }
.testimonial::before { color: var(--rubylith); opacity: 1; }
.connect { background: #fff; border: 2px solid var(--ink); }

/* ==========================================================================
   CMYK palette: process colors as they print.
   Cyan, magenta, yellow, and rich black. Red is magenta + yellow (rubylith).
   ========================================================================== */
:root {
  --cmyk-cyan: #00AEEF;
  --cmyk-cyan-deep: #0076B6;
  --cmyk-magenta: #EC008C;
  --cmyk-yellow: #FFF200;
  --cmyk-black: #231F20;
  --cmyk-red: #ED1C24;      /* magenta + yellow */
  --cmyk-red-deep: #B0141A;

  --ink: var(--cmyk-black);
  --ink-2: #3A3536;
  --muted: #6D6869;
  --line: #E3E1E2;
  --accent: var(--cmyk-cyan-deep);
  --accent-deep: var(--cmyk-black);
  --accent-soft: #E5F6FD;
  --gold: var(--cmyk-yellow);
  --gold-soft: #FFFBC4;
  --rubylith: var(--cmyk-red);
  --rubylith-deep: var(--cmyk-red-deep);
  --danger: var(--cmyk-red-deep);
}

a { color: var(--cmyk-cyan-deep); }
.eyebrow { color: var(--cmyk-magenta); }
.hero .eyebrow { color: var(--cmyk-magenta); }
.hero h1, h1, h2 { color: var(--cmyk-red); }
.hero-art, .guide, .testimonial, .connect, .card, .question-form {
  border-color: var(--cmyk-black);
}
.testimonial { background: var(--cmyk-yellow); }
.testimonial blockquote { color: var(--cmyk-black); }
.testimonial figcaption { color: var(--cmyk-black); }
.testimonial::before { color: var(--cmyk-magenta); }
.connect { background: #fff; }
.guide li::before { background: var(--cmyk-cyan); color: var(--cmyk-black); }
.btn-primary, .btn-gold, .btn-paypal, .btn-venmo { background: var(--cmyk-red); color: #fff; }
.btn-venmo { background: var(--cmyk-cyan); color: var(--cmyk-black); }
.btn-paypal { background: var(--cmyk-magenta); color: #fff; }
.btn-ghost { color: var(--cmyk-black); border-color: var(--cmyk-black); box-shadow: 4px 4px 0 var(--cmyk-magenta); }
.block .btn-ghost { color: var(--cmyk-black); border-color: var(--cmyk-black); }
.block .btn-ghost:hover { background: var(--cmyk-yellow); }
.tier:has(input:checked) { background: var(--cmyk-yellow); border-color: var(--cmyk-black); }
.rate-price, .tier-price { color: var(--cmyk-magenta); }
.ref-code { background: var(--cmyk-yellow); border-color: var(--cmyk-black); color: var(--cmyk-black); }
.site-nav nav a:hover, .site-nav nav a[aria-current="page"] { background: var(--cmyk-cyan); color: var(--cmyk-black); }
.site-nav nav a[aria-current="page"] { background: var(--cmyk-black); color: #fff; }

/* Headings stay crisp: the hand-cut filter only roughens the buttons, where it reads as cut film. */
h1, h2, .hero h1 { filter: none; }

/* Clean, rounded buttons: no hand-cut roughness, no hard offset shadows. */
.btn {
  filter: none;
  border-radius: 999px;
  box-shadow: none;
  border-width: 1.5px;
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  padding: 13px 24px;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px -6px rgba(35, 31, 32, 0.35); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-ghost { box-shadow: none; }
.btn-ghost:hover { box-shadow: none; }

/* ==========================================================================
   Dark paper direction: charcoal stock with a paper-tooth grain, light type,
   light paper cards, and slight CMYK misregistration on headings and frames.
   ========================================================================== */
:root {
  --paper-dark: #1d1b1c;
  --paper-light: #f5efe1;
  --paper-text: #efe9da;
  --paper-muted: #bcb5a6;
}

body {
  background-color: var(--paper-dark);
  color: var(--paper-text);
}
/* Paper-tooth grain across the whole page */
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 60;
  opacity: 0.55; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Nav and sections sit on the dark stock */
.site-nav { background: rgba(29, 27, 28, 0.9); border-bottom-color: rgba(255, 255, 255, 0.1); }
.site-nav nav a { color: var(--paper-text); }
.site-nav nav a:hover { background: var(--cmyk-cyan); color: var(--cmyk-black); }
.brand { color: var(--paper-text); }
.hero { background: transparent; color: var(--paper-text); border-bottom: 0; }
.block { border-top-color: rgba(255, 255, 255, 0.12); }
.section-head p, .muted, .prose p, .notes li, .tagline { color: var(--paper-muted); }
.hero .tagline { color: var(--paper-muted); }

/* Misregistered CMYK: a cyan and magenta plate sitting slightly off the black */
h1, h2 {
  text-shadow: 3px 2px 0 rgba(0, 174, 239, 0.85), -2px -1px 0 rgba(236, 0, 140, 0.8);
}
.hero h1 { color: var(--cmyk-red); text-shadow: 3px 2px 0 rgba(0, 174, 239, 0.85), -2px -1px 0 rgba(236, 0, 140, 0.8); }

/* Light paper cards on the dark stock */
.guide, .question-form, .card, .rates li, .tier, .testimonial, .connect, .table-wrap, .voc-card {
  background: var(--paper-light);
  color: var(--cmyk-black);
  border: 2px solid var(--cmyk-black);
  box-shadow: 6px 5px 0 var(--cmyk-magenta);
}
.guide li, .guide p, .guide h3, .tier-body strong, .tier-body span:not(.muted),
.question-form label, .question-form legend, .tiers legend, .rate-name, .testimonial blockquote,
.testimonial figcaption, .card h3, .card p, .connect h2, .connect p, .notes li, .voc-card p, .voc-card h3 {
  color: var(--cmyk-black);
}
.guide h3, .connect h2 { color: var(--cmyk-red); }
.guide .note, .note { background: var(--cmyk-yellow); border-left-color: var(--cmyk-black); color: var(--cmyk-black); }
.guide li::before { background: var(--cmyk-red); color: #fff; }
.question-form input[type="text"], .question-form input[type="email"],
.question-form input[type="datetime-local"], .question-form select, .question-form textarea {
  background: #fff; color: var(--cmyk-black); border-color: var(--cmyk-black);
}
.muted, .hint { color: #5d5858; }
.connect .muted, .card .muted, .tier-body .muted, .rate-note { color: #5d5858; }
.eph-table thead th { background: var(--cmyk-yellow); color: var(--cmyk-black); }
.eph-table td, .eph-table th.body { color: var(--cmyk-black); border-bottom-color: #d9d2c0; }
.eph-table tbody tr:hover { background: #fffbe0; }
.site-footer { color: var(--paper-muted); border-top-color: rgba(255, 255, 255, 0.12); }
.site-footer a { color: var(--cmyk-cyan); }
.hero-art { background: var(--paper-light); border-color: var(--cmyk-black); box-shadow: 8px 6px 0 var(--cmyk-cyan); }
.hero-art::before { color: #5d5858; }
.error { color: var(--cmyk-yellow); }
.card .error, .question-form .error { color: var(--cmyk-red-deep); }

/* Softer misregistration on letters: a hint of the offset, not a double image. */
h1, h2, .hero h1 {
  text-shadow: 1px 1px 0 rgba(0, 174, 239, 0.45), -1px 0 0 rgba(236, 0, 140, 0.4);
}

/* The star artwork is square, so the hero frame is square too. */
.hero-art { aspect-ratio: 1 / 1; max-width: 520px; }

/* Vintage paper across the whole page: a warmer dark stock, a stronger tooth grain,
   and a cream paper mat around the hero artwork so it doesn't dissolve into the page. */
:root { --paper-dark: #221f1e; }
body { background-color: var(--paper-dark); }
body::before {
  opacity: 0.85;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 0.96  0 0 0 0 0.86  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero-art {
  padding: 16px;
  background: var(--paper-light);
  border: 2px solid var(--cmyk-black);
  box-shadow: 8px 6px 0 var(--cmyk-cyan);
  overflow: visible;
}
.hero-art img {
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(35, 31, 32, 0.35);
}

/* Seamless page: the background is sampled from the hero artwork (#2e2c2a),
   so the star sits directly on the page with no frame, mat, or edge. */
:root { --paper-dark: #2e2c2a; }
body { background-color: #2e2c2a; }
.site-nav { background: rgba(46, 44, 42, 0.92); }
.hero-art {
  padding: 0; border: 0; box-shadow: none; background: transparent;
  border-radius: 0; max-width: 520px;
}
.hero-art img { border-radius: 0; box-shadow: none; }
body::before { opacity: 0.4; }

/* Paper texture: a seamless tile cut from the hero's own background (assets/paper-tile.jpg),
   so the page grain matches the artwork. The overlay grain is switched off. */
body {
  background-color: #2e2c2a;
  background-image: url("assets/paper-tile.jpg");
  background-repeat: repeat;
  background-size: 512px 512px;
}
body::before { content: none; }

/* Seams: the hero artwork fades into the page at its edges, so there's no boundary. */
.hero-art img {
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%);
}

/* Bold type printed with the paper tooth: red ink, with the grain showing through. */
h1, h2, .hero h1 {
  color: transparent;
  background-color: var(--cmyk-red);
  background-image: url("assets/paper-tooth.jpg");
  background-size: 512px 512px;
  background-blend-mode: overlay;
  -webkit-background-clip: text;
          background-clip: text;
  text-shadow: none;
}

/* No divider between the hero artwork and the Bio section, so the page reads as one surface. */
#bio { border-top: 0; }

/* ==========================================================================
   Star palette only: every color on the page comes from the star artwork.
   cyan, pink, yellow, royal blue, orange, green, cream, and the charcoal ground.
   ========================================================================== */
:root {
  --star-cyan: #1BB5E8;
  --star-pink: #E8207F;
  --star-yellow: #FFE600;
  --star-blue: #2B3FA8;
  --star-orange: #F26B1D;
  --star-orange-deep: #C4500F;
  --star-green: #2E9E4A;
  --star-cream: #F3EBD8;
  --star-charcoal: #2E2C2A;

  --cmyk-cyan: var(--star-cyan);
  --cmyk-cyan-deep: var(--star-blue);
  --cmyk-magenta: var(--star-pink);
  --cmyk-yellow: var(--star-yellow);
  --cmyk-black: var(--star-charcoal);
  --cmyk-red: var(--star-orange);
  --cmyk-red-deep: var(--star-orange-deep);

  --ink: var(--star-charcoal);
  --ink-2: var(--star-charcoal);
  --paper-light: var(--star-cream);
  --paper-dark: var(--star-charcoal);
  --paper-text: var(--star-cream);
  --paper-muted: #D9CFBB;
  --gold: var(--star-yellow);
  --gold-soft: var(--star-cream);
  --accent: var(--star-blue);
  --accent-soft: var(--star-cream);
  --rubylith: var(--star-orange);
  --rubylith-deep: var(--star-orange-deep);
  --danger: var(--star-orange-deep);
}
body { background-color: var(--star-charcoal); }
h1, h2, .hero h1 { background-color: var(--star-orange); }
h1, h2 { text-shadow: 1px 1px 0 rgba(27, 181, 232, 0.5), -1px 0 0 rgba(232, 32, 127, 0.45); }
.guide li::before { background: var(--star-green); color: var(--star-cream); }
.testimonial { background: var(--star-yellow); }
.testimonial::before { color: var(--star-pink); }
.btn-venmo { background: var(--star-cyan); color: var(--star-charcoal); }
.btn-paypal { background: var(--star-blue); color: var(--star-cream); }
.btn-ghost { color: var(--star-charcoal); border-color: var(--star-charcoal); box-shadow: 4px 4px 0 var(--star-pink); }
.tier:has(input:checked) { background: var(--star-yellow); }
.rate-price, .tier-price { color: var(--star-pink); }
.eph-table thead th { background: var(--star-yellow); color: var(--star-charcoal); }
.eph-table tbody tr:hover { background: var(--star-cream); }
.question-form input[type="text"], .question-form input[type="email"],
.question-form input[type="datetime-local"], .question-form select, .question-form textarea {
  background: var(--star-cream);
}
.hero-art, .guide, .card, .question-form, .connect, .rates li, .tier, .testimonial, .voc-card, .table-wrap {
  box-shadow: 6px 5px 0 var(--star-pink);
}
.hero-art { box-shadow: none; }
.site-footer a, .site-nav nav a:hover { color: var(--star-charcoal); }
.site-footer a { color: var(--star-cyan); }
.site-nav nav a:hover { background: var(--star-cyan); }
.site-nav nav a[aria-current="page"] { background: var(--star-charcoal); color: var(--star-cream); }

/* ==========================================================================
   Centered hero: the star in the middle, title and buttons beneath, a few
   palette-colored sparkles in the open space around it.
   ========================================================================== */
.hero {
  display: block; text-align: center; position: relative; overflow: hidden;
  padding: clamp(40px, 7vw, 80px) clamp(16px, 4vw, 40px) clamp(28px, 4vw, 48px);
  margin: 0;
}
.hero-text { position: relative; z-index: 1; }
.hero-art { margin: 0 auto clamp(20px, 3vw, 36px); max-width: 520px; position: relative; z-index: 1; }
.hero .actions { justify-content: center; }
.hero .tagline { margin: 0 auto; max-width: 40ch; }
.hero-sparks { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.spark { position: absolute; transform: translate(-50%, -50%); opacity: 0.9; }
@media (min-width: 820px) {
  .hero { grid-template-columns: none; }
  .hero .hero-art { order: 0; }
}

/* Headings: solid orange with a light grain multiplied in, so they stay orange, not grey. */
h1, h2, .hero h1 {
  background-color: var(--star-orange);
  background-image: url("assets/paper-tooth-light.jpg");
  background-size: 512px 512px;
  background-blend-mode: multiply;
}

/* Cosmic composition (desktop): star on the left, open space and text on the right. */
@media (min-width: 820px) {
  .hero {
    display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 40px;
    text-align: left; min-height: 78vh; padding: 72px clamp(40px, 6vw, 96px);
  }
  .hero-art { margin: 0 0 0 -4%; max-width: 620px; }
  .hero .actions { justify-content: flex-start; }
  .hero .tagline { margin: 0; max-width: 36ch; }
  .hero-text { padding-left: 2%; }
}

/* Headings: no text shadow, so the orange stays clean. */
h1, h2, .hero h1 { text-shadow: none; }

/* Headings: solid orange. The grain blend was graying the letters, so it's off for now. */
h1, h2, .hero h1 {
  background-image: none;
  background-color: var(--star-orange);
  background-blend-mode: normal;
}

/* Booking buttons: cyan, with charcoal lettering. */
.btn-gold, .btn-gold:hover {
  background: var(--star-cyan);
  color: var(--star-charcoal);
  border-color: var(--star-charcoal);
}
.btn-gold:hover { background: var(--star-cyan); filter: brightness(1.05); }

/* Today's weather box, above the ephemeris form */
.weather { max-width: 880px; margin: 0 auto 22px; padding: 18px 22px; }
.weather-line { font-family: var(--display); font-size: 1.9rem; letter-spacing: 0.02em; margin: 4px 0 2px; color: var(--cmyk-black); }
.weather .muted { margin: 0; font-size: 0.9rem; }

/* All main buttons: cyan (the orange primary buttons become cyan) */
.btn-primary, .btn-primary:hover {
  background: var(--star-cyan); color: var(--star-charcoal); border-color: var(--star-charcoal);
}
.btn-primary:hover { filter: brightness(1.05); }
h1, h2, .hero h1 { background-color: var(--star-cyan); }

/* All buttons on the page: cyan, with the paper grain printed over them. */
.btn, .btn-primary, .btn-gold, .btn-ghost, .btn-paypal, .btn-venmo {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--star-cyan); color: var(--star-charcoal); border: 1.5px solid var(--star-charcoal);
  box-shadow: none;
}
.btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background-image: url("assets/paper-tooth-light.jpg");
  background-size: 512px 512px;
  mix-blend-mode: multiply; opacity: 0.55; z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover, .btn-ghost:hover, .block .btn-ghost:hover { background: var(--star-cyan); color: var(--star-charcoal); filter: brightness(1.06); }

/* Light cyan star accents, and the hero artwork with its background removed:
   no square edge, the page paper shows through around the star. */
:root { --star-light-cyan: #A8EEF9; }
.hero-art img { -webkit-mask-image: none; mask-image: none; }
.hero-art { background: transparent; }

/* Buttons: cyan, a touch translucent. */
.btn, .btn-primary, .btn-gold, .btn-ghost, .btn-paypal, .btn-venmo {
  background: rgba(27, 181, 232, 0.88);
}
.btn:hover, .btn-ghost:hover, .block .btn-ghost:hover { background: rgba(27, 181, 232, 0.94); }

/* Subtitle text: the earlier orange. */
.eyebrow, .hero .eyebrow, .tagline, .hero .tagline, .section-head p, .prose .lede {
  color: var(--star-orange);
}

/* Buttons: a softer, less saturated cyan, closer to the reference. */
.btn, .btn-primary, .btn-gold, .btn-ghost, .btn-paypal, .btn-venmo {
  background: rgba(86, 168, 210, 0.92);
}
.btn:hover, .btn-ghost:hover, .block .btn-ghost:hover { background: rgba(86, 168, 210, 0.98); }

/* Section headings (h2) in the earlier orange. The hero title stays as it is. */
h2 { color: var(--star-orange); background-color: var(--star-orange); }

/* Subtitle text in dark sections: light enough to read on the charcoal ground. */
.block > .muted, .block > p.muted, .section-head p { color: var(--paper-muted); }

/* Lettering: the star's royal blue instead of black, so the type belongs to the artwork.
   Applies to the body text on cream cards and to button labels. Headings stay orange. */
:root { --ink-blue: #2B3FA8; }
.guide li, .guide p, .guide h3, .tier-body strong, .tier-body span:not(.muted),
.question-form label, .question-form legend, .tiers legend, .rate-name, .testimonial blockquote,
.testimonial figcaption, .card h3, .card p, .connect p, .notes li, .voc-card p, .voc-card h3,
.weather-line, .rate-note, .muted, .hint, .connect .muted, .card .muted, .tier-body .muted {
  color: var(--ink-blue);
}
.guide h3, .connect h2, .card h3 { color: var(--star-orange); }
.question-form input[type="text"], .question-form input[type="email"],
.question-form input[type="datetime-local"], .question-form select, .question-form textarea {
  color: var(--ink-blue);
}
.btn, .btn-primary, .btn-gold, .btn-ghost, .btn-paypal, .btn-venmo, .btn > * {
  color: var(--ink-blue);
}
.btn { font-weight: 600; }

/* Bio: no drop cap. A small star from the artwork sits above the first paragraph instead. */
.prose p:first-child::first-letter { font-size: inherit; float: none; line-height: inherit; padding: 0; color: inherit; font-weight: 400; }
.prose p:first-child::before {
  content: ""; display: block; width: 44px; height: 44px; margin: 0 0 14px;
  background: var(--star-pink);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 0 L14.2 9.8 L24 12 L14.2 14.2 L12 24 L9.8 14.2 L0 12 L9.8 9.8 Z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 0 L14.2 9.8 L24 12 L14.2 14.2 L12 24 L9.8 14.2 L0 12 L9.8 9.8 Z'/></svg>") center / contain no-repeat;
}

/* Page-wide starfield (placed by app.js in open space only). */
#starfield { position: absolute; }
#starfield .spark { position: absolute; transform: none; }
body { position: relative; }

/* ==========================================================================
   Typographic specs (from the type review):
   headline 0.92 leading, -0.025em tracking; eyebrow +0.16em; body 22px / 1.25;
   navigation 16px with +0.025em; button labels 17px with +0.005em.
   ========================================================================== */
h1, .hero h1 { line-height: 0.92; letter-spacing: -0.025em; }
.eyebrow, .hero .eyebrow { letter-spacing: 0.16em; line-height: 1.2; }
.hero .tagline, .tagline { font-size: 22px; line-height: 1.25; letter-spacing: 0; }
body, .prose p { font-size: 22px; line-height: 1.25; }
.prose p { font-size: 20px; line-height: 1.3; }
.site-nav nav a { font-size: 16px; line-height: 1.2; letter-spacing: 0.025em; }
.btn { font-size: 17px; line-height: 1.15; letter-spacing: 0.005em; }

/* Textured hero stars: a printed grain cut into the star surface. */
.spark-tex { filter: url(#grain-star); opacity: 1; }

/* ==========================================================================
   Simplified boxes: cream cards, royal blue text, cyan for anything you can click.
   Orange stays on headings and subtitles. No pink shadows, yellow, or green in the boxes.
   ========================================================================== */
.guide, .card, .rates li, .tier, .testimonial, .connect, .question-form, .table-wrap, .voc-card {
  background: var(--star-cream);
  box-shadow: none;
  border: 1.5px solid var(--star-charcoal);
}
.testimonial { background: var(--star-cream); }
.testimonial::before { color: var(--star-cyan); opacity: 1; }
.guide li::before { background: var(--star-cyan); color: var(--star-charcoal); }
.guide .note, .note { background: var(--star-cream); border-left: 3px solid var(--star-cyan); }
.rate-price, .tier-price { color: var(--ink-blue); }
.tier:has(input:checked) { background: #DDF2FA; border-color: var(--star-cyan); }
.eph-table thead th { background: var(--star-cream); color: var(--ink-blue); }
.eph-table tbody tr:hover { background: #F7F1E2; }
.ref-code { background: var(--star-cream); border: 1.5px dashed var(--star-cyan); color: var(--ink-blue); }
.site-nav nav a[aria-current="page"] { background: var(--star-cyan); color: var(--star-charcoal); }

/* Restored: magenta drop shadows on the boxes, and green numbered steps in the horary guide. */
.guide, .card, .rates li, .tier, .testimonial, .connect, .question-form, .table-wrap, .voc-card {
  box-shadow: 6px 5px 0 var(--star-pink);
}
.guide li::before { background: var(--star-green); color: var(--star-cream); }

/* Hero title: tighter leading and spacing, optical kerning on, and less space below it. */
.hero h1 {
  line-height: 0.88;
  letter-spacing: -0.035em;
  font-kerning: normal;
  font-feature-settings: "kern" 1;
  margin-bottom: 0.3em;
}
.hero .tagline { margin-top: 0.4rem; }

/* One cyan everywhere, solid. No pastel tints or translucent cyan. */
:root { --star-cyan: #1BB5E8; --star-light-cyan: #1BB5E8; }
.btn, .btn-primary, .btn-gold, .btn-ghost, .btn-paypal, .btn-venmo,
.btn:hover, .btn-ghost:hover, .block .btn-ghost:hover, .btn-primary:hover, .btn-gold:hover {
  background: var(--star-cyan);
}
h1, h2, .hero h1 { background-color: var(--star-orange); }
.hero h1 { color: transparent; }
.tier:has(input:checked) { background: var(--star-cream); border-color: var(--star-cyan); }
.site-nav nav a[aria-current="page"] { background: var(--star-cyan); }

/* Hero title stays cyan (the same solid cyan). Section headings stay orange. */
h1, .hero h1 { background-color: var(--star-cyan); }
h2 { background-color: var(--star-orange); }

/* Price-change notice on a tier card */
.tier-notice { display: block; margin-top: 6px; font-size: 0.9rem; font-weight: 600; color: var(--ink-blue); }

/* Bio: the text is indented, and a deep indigo star sits in the left margin where the drop cap was. */
.prose { padding-left: 64px; position: relative; }
.prose p:first-child { position: relative; }
.prose p:first-child::before {
  position: absolute; left: -64px; top: 2px; margin: 0;
  width: 44px; height: 44px;
  background: var(--star-blue);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 0 L14.2 9.8 L24 12 L14.2 14.2 L12 24 L9.8 14.2 L0 12 L9.8 9.8 Z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 0 L14.2 9.8 L24 12 L14.2 14.2 L12 24 L9.8 14.2 L0 12 L9.8 9.8 Z'/></svg>");
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
@media (max-width: 560px) {
  .prose { padding-left: 52px; }
  .prose p:first-child::before { left: -52px; width: 34px; height: 34px; }
}

/* Ephemeris summary line sits on the dark page, so it uses the cream text color. */
#eph-summary, #eph-result > .muted { color: var(--paper-text); }

/* Hero breathing room (desktop): a bigger star, more space across, and side margins. */
@media (min-width: 820px) {
  .hero {
    grid-template-columns: 1.3fr 1fr;
    gap: 6vw;
    padding: 96px clamp(56px, 8vw, 150px);
    min-height: 86vh;
  }
  .hero-art { max-width: 780px; margin: 0 0 0 -3%; }
  .hero-text { max-width: 520px; }
}

/* The star artwork is now cropped to the star itself, so the star fills its frame. */
@media (min-width: 820px) {
  .hero-art { max-width: 640px; }
}

/* Title clipping: the text is clipped to its glyphs, so give the headline room on the right and below. */
.hero h1 { padding-right: 0.14em; padding-bottom: 0.06em; }

/* Star-led hero (desktop): the star is the main element, with generous space around it.
   The artwork is scaled up inside its frame, and the text column sits to the right with clear margins. */
@media (min-width: 820px) {
  .hero {
    grid-template-columns: 1.45fr 1fr;
    gap: 5vw;
    padding: 110px clamp(48px, 7vw, 130px);
    min-height: 92vh;
    align-items: center;
  }
  .hero-art { max-width: 880px; margin: 0 0 0 -4%; }
  .hero-art img { transform: scale(1.22); transform-origin: 50% 50%; }
  .hero-text { max-width: 520px; justify-self: end; padding-right: 2%; }
}

/* Ephemeris section: one left edge for the heading, the weather card, the form, and the results.
   More room between blocks so it breathes. */
#ephemeris .weather,
#ephemeris .eph-form,
#ephemeris #eph-result,
#ephemeris .voc-card,
#ephemeris .table-wrap {
  max-width: none; margin-left: 0; margin-right: 0;
}
#ephemeris .weather { margin-bottom: 28px; }
#ephemeris .eph-form { margin-bottom: 0; }
#ephemeris #eph-result { margin-top: 28px; }
#ephemeris #eph-summary { margin: 0 0 18px; }
#ephemeris .notes { margin-top: 32px; }
#ephemeris .field-row { gap: 28px; }
#ephemeris .eph-form .actions { margin-top: 4px; }

/* Hero scale-up (desktop): bigger star, title, tagline, and buttons, all in proportion. */
@media (min-width: 820px) {
  .hero-art { max-width: 1000px; }
  .hero-art img { transform: scale(1.3); }
  .hero h1 { font-size: clamp(6rem, 9.5vw, 9.5rem); line-height: 0.88; }
  .hero .tagline, .hero .tagline { font-size: 28px; line-height: 1.3; max-width: 30ch; }
  .hero .btn { font-size: 20px; padding: 16px 32px; }
  .hero .actions { gap: 16px; margin-top: 34px; }
  .hero-text { max-width: 620px; }
}

/* Top bar: no repeated name (the title already says it). A small star mark instead,
   and the bar sits on the page with no box, border, or separate tint. */
.site-nav {
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: 0;
  padding-top: 22px; padding-bottom: 14px;
}
.site-nav .brand { font-size: 0; line-height: 0; gap: 0; }
.site-nav .brand::before {
  content: ""; display: block; width: 30px; height: 30px;
  background: var(--star-cyan);
  box-shadow: none;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 0 L14.2 9.8 L24 12 L14.2 14.2 L12 24 L9.8 14.2 L0 12 L9.8 9.8 Z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 0 L14.2 9.8 L24 12 L14.2 14.2 L12 24 L9.8 14.2 L0 12 L9.8 9.8 Z'/></svg>") center / contain no-repeat;
}
.site-nav nav a { color: var(--star-cream); font-weight: 500; }
.site-nav nav a:hover { background: var(--star-cyan); color: var(--star-charcoal); }
.site-nav nav a[aria-current="page"] { background: var(--star-cyan); color: var(--star-charcoal); }

/* Top bar spacing: the star sits left, and the links sit together on the right with even gaps. */
.site-nav { justify-content: space-between; padding-left: clamp(24px, 4vw, 56px); padding-right: clamp(24px, 4vw, 56px); }
.site-nav nav { gap: 26px; flex-wrap: nowrap; }
.site-nav nav a { padding: 6px 4px; white-space: nowrap; }

/* Small labels (ABOUT, HORARY, and similar): a touch larger, in cyan. Headings keep their scale. */
.eyebrow, .hero .eyebrow, #ephemeris .eyebrow, .weather .eyebrow {
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: 0.14em;
  color: var(--star-cyan);
}

/* Star first (desktop): the star is the main element; the text supports it at a smaller scale. */
@media (min-width: 820px) {
  .hero { grid-template-columns: 1.6fr 1fr; }
  .hero-art { max-width: 1120px; margin-left: -6%; }
  .hero-art img { transform: scale(1.42); }
  .hero h1 { font-size: clamp(4.4rem, 6.2vw, 6.2rem); line-height: 0.9; }
  .hero .tagline { font-size: 21px; line-height: 1.3; max-width: 30ch; }
  .hero .btn { font-size: 17px; padding: 13px 26px; }
  .hero .actions { margin-top: 26px; gap: 12px; }
  .hero-text { max-width: 500px; }
}

/* Breathing room between the star and the text (desktop): a wider gutter, the star a touch smaller and further left. */
@media (min-width: 820px) {
  .hero { grid-template-columns: 1.5fr 1fr; gap: 9vw; }
  .hero-art { margin-left: -8%; }
  .hero-art img { transform: scale(1.34); }
  .hero-text { padding-left: 2vw; }
}

/* Star-first hero (desktop), free of the grid: the star is large and sits left,
   and the text sits on the right in its own space. */
@media (min-width: 820px) {
  .hero { display: block; min-height: 100vh; padding: 0; overflow: hidden; }
  .hero-art {
    position: absolute; left: -7vw; top: 50%; transform: translateY(-50%);
    width: 66vw; max-width: none; margin: 0; padding: 0;
  }
  .hero-art img { width: 100%; height: auto; transform: scale(1.12); }
  .hero-text {
    position: relative; z-index: 1;
    margin-left: 60vw; width: 34vw; max-width: none;
    padding: 140px 0 120px; text-align: left;
  }
  .hero .actions { justify-content: flex-start; }
}

/* Star: about 25% smaller than the last version, fully on screen, no clipped points.
   The text sits in its own column to the right, so the two never overlap. */
@media (min-width: 820px) {
  .hero { min-height: 100vh; }
  .hero-art {
    position: absolute; left: 2vw; top: 50%; transform: translateY(-50%);
    width: 52vw; max-width: none; margin: 0; padding: 0;
  }
  .hero-art img { width: 100%; height: auto; transform: none; }
  .hero-text {
    position: relative; z-index: 1;
    margin-left: 60vw; width: 34vw; padding: 140px 0 120px;
  }
}

/* Measured layout (desktop): star on the left, text fully to the right, no overlap. */
@media (min-width: 820px) {
  .hero-art { left: -3vw; width: 46vw; }
  .hero-text { margin-left: 64vw; width: 32vw; }
}

/* Use the whole page (desktop): the star takes the left side, the text the right side. */
@media (min-width: 820px) {
  .hero-art { left: -2vw; width: 58vw; }
  .hero-text { margin-left: 66vw; width: 30vw; }
}

/* ==========================================================================
   HERO (desktop), one authoritative block. This overrides the earlier hero rules.
   Star: left side of the page. Text: right side. Nothing overlaps.
   ========================================================================== */
@media (min-width: 820px) {
  .hero {
    display: block !important;
    grid-template-columns: none !important;
    min-height: 100vh !important;
    padding: 0 !important;
    gap: 0 !important;
    overflow: hidden;
    position: relative;
  }
  .hero-art {
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 56vw !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  .hero-art img {
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    -webkit-mask-image: none !important;
            mask-image: none !important;
  }
  .hero-text {
    position: relative !important;
    z-index: 1;
    margin-left: 62vw !important;
    width: 32vw !important;
    max-width: none !important;
    padding: 140px 0 120px !important;
  }
}

/* The hero spans the full screen width (it sits inside a centered column by default). */
@media (min-width: 820px) {
  .hero {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
  }
}

/* Text column pulled in from the right edge, with a clear gutter from the star. */
@media (min-width: 820px) {
  .hero-text { margin-left: 60vw !important; width: 28vw !important; }
}

/* Hero stacked top to bottom (desktop): the star centered on top, the text centered beneath it. */
@media (min-width: 820px) {
  .hero {
    display: block !important;
    min-height: 0 !important;
    padding: 56px 24px 96px !important;
    text-align: center;
  }
  .hero-art {
    position: relative !important;
    left: auto !important; top: auto !important; transform: none !important;
    width: min(62vh, 640px) !important;
    margin: 0 auto !important;
  }
  .hero-text {
    position: relative !important;
    margin: 56px auto 0 !important;
    width: min(760px, 90vw) !important;
    padding: 0 !important;
  }
  .hero .tagline { margin-left: auto; margin-right: auto; }
  .hero .actions { justify-content: center; }
}

/* Star 15% smaller, and the title 15% larger. */
@media (min-width: 820px) {
  .hero-art { width: min(52.7vh, 544px) !important; }
  .hero h1 { font-size: clamp(5.06rem, 7.13vw, 7.13rem) !important; }
}

/* Laptop fit (desktop widths): size the star and the title by screen height as well as width,
   so the stacked hero fits a laptop screen without scrolling. */
@media (min-width: 820px) {
  .hero { padding: 40px 24px 64px !important; }
  .hero-art { width: min(44vh, 46vw, 544px) !important; }
  .hero h1 { font-size: clamp(3.6rem, 8.6vh, 7.13rem) !important; }
  .hero-text { margin-top: 32px !important; }
  .hero .tagline { font-size: clamp(18px, 2.4vh, 24px) !important; }
  .hero .btn { padding: clamp(10px, 1.5vh, 13px) 24px !important; }
}

/* ==========================================================================
   FINAL DESKTOP LAYOUT (overrides all earlier hero and top-bar rules, desktop only):
   star centered on top, title, tagline and buttons centered beneath, the whole page
   fitting a laptop screen, and the top bar fitting the width without running off.
   ========================================================================== */
@media (min-width: 820px) {
  .site-nav {
    padding: 22px 24px 14px !important;
  }
  .site-nav nav {
    flex-wrap: wrap !important; justify-content: flex-end !important;
    gap: 14px 26px !important;
  }
  .hero {
    display: block !important;
    position: relative !important;
    width: 100vw !important; max-width: none !important;
    margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important;
    min-height: 0 !important;
    padding: 36px 24px 64px !important;
    text-align: center !important;
    overflow: hidden;
  }
  .hero-art {
    position: relative !important;
    left: auto !important; right: auto !important; top: auto !important;
    transform: none !important;
    width: min(44vh, 46vw, 544px) !important;
    margin: 0 auto !important;
    padding: 0 !important; border: 0 !important; box-shadow: none !important;
  }
  .hero-art img { width: 100% !important; height: auto !important; transform: none !important; }
  .hero-text {
    position: relative !important;
    left: auto !important;
    width: min(760px, 90vw) !important; max-width: none !important;
    margin: 30px auto 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }
  .hero h1 {
    font-size: clamp(3.6rem, 8.6vh, 7.13rem) !important;
    margin: 0 auto 0.3em !important;
  }
  .hero .tagline { margin: 0 auto !important; text-align: center; }
  .hero .actions { justify-content: center !important; margin-left: 0 !important; margin-right: 0 !important; }
}

/* Clear title: the name reads cleanly. Solid cyan, no offset or grain on the letters,
   open space around it, and no stars or textures crowding it. */
.hero h1, h1 {
  text-shadow: none !important;
  background-image: none !important;
  filter: none !important;
  letter-spacing: 0;
}
.hero h1 { margin: 0 auto 0.4em !important; }
@media (min-width: 820px) {
  .hero-text { padding-top: 16px !important; }
  .hero h1 { padding: 0.04em 0 0.1em; }
}

/* ==========================================================================
   DESKTOP (wide screens): the star on the left, the name and buttons on the right, in two
   clean columns on a grid so they cannot overlap. Phone keeps the stacked layout.
   ========================================================================== */
@media (min-width: 900px) {
  .hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) !important;
    column-gap: 6vw !important;
    align-items: center !important;
    width: 100vw !important; max-width: none !important;
    margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important;
    min-height: 88vh !important;
    padding: 48px clamp(40px, 6vw, 120px) 56px !important;
    text-align: left !important;
  }
  .hero-art {
    position: relative !important; left: auto !important; top: auto !important; transform: none !important;
    width: min(74vh, 100%) !important; max-width: 720px !important;
    margin: 0 0 0 auto !important;
    grid-column: 1; grid-row: 1;
  }
  .hero-art img { width: 100% !important; height: auto !important; transform: none !important; }
  .hero-text {
    position: relative !important; left: auto !important;
    margin: 0 !important; width: 100% !important; max-width: 560px !important;
    padding: 0 !important; text-align: left !important;
    grid-column: 2; grid-row: 1;
  }
  .hero h1 { font-size: clamp(3.6rem, 7.4vw, 7.13rem) !important; margin: 0 0 0.4em !important; text-align: left; }
  .hero .tagline { margin: 0 0 0 0 !important; text-align: left; }
  .hero .actions { justify-content: flex-start !important; }
}

/* Three tiny hero stars in the open dark space. */
.hero-sparks { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-sparks .spark { position: absolute; transform: translate(-50%, -50%); opacity: 0.9; }


/* Connect: Contact me sits alone at the bottom, centered. */
.contact-bottom { justify-content: center; margin-top: 18px; }

/* Top bar aligned to the hero (desktop): the star mark lines up with the artwork's left edge,
   and the links end on the same right margin as the text. */
@media (min-width: 900px) {
  .site-nav {
    padding-left: clamp(40px, 6vw, 120px) !important;
    padding-right: clamp(40px, 6vw, 120px) !important;
  }
}

/* Title lines are blocks so each can be sized. */

/* Each title line is only as wide as its letters, so the two lines can be compared and matched. */
@media (min-width: 900px) { .title-line { display: block; width: max-content; } }

/* Tagline: left-aligned, sized to the button row beneath it. */
@media (min-width: 900px) { .hero .tagline { text-align: left; max-width: none; } }

/* Text column moved right by 15% of its own width (desktop). */
@media (min-width: 900px) {
  .hero-text { transform: translateX(15%) !important; }
}

/* Phone: the name reads as one line. Sized so "CLEAR SKY ASTROLOGY" fits the width of the screen. */
@media (max-width: 899px) {
  .hero h1 {
    font-size: clamp(1.9rem, 9.6vw, 3.2rem);
    white-space: nowrap;
    line-height: 1;
  }
}

/* Text column moved back toward center by 8% of its width (desktop): 15% right, less 8%. */
@media (min-width: 900px) {
  .hero-text { transform: translateX(7%) !important; }
}

/* The tagline breaks where the text says so: "for clarity and direction" starts the second line. */
.hero .tagline { white-space: pre-line; }

/* Tighter space between the Ephemeris notes and the Connect box. */
#ephemeris { padding-bottom: 48px !important; }
#connect { margin-top: 0 !important; padding-top: 0 !important; }

/* Phone: the top-bar links wrap onto more than one line, so the page never runs wider than the screen. */
@media (max-width: 899px) {
  .site-nav { padding-left: 16px !important; padding-right: 16px !important; }
  .site-nav nav {
    flex-wrap: wrap !important;
    justify-content: flex-end;
    gap: 8px 14px !important;
    max-width: 100%;
  }
  .site-nav nav a { white-space: nowrap; font-size: 15px; }
}

/* Phone top bar: the links start right beside the blue star and spread evenly across the rest of the row. */
@media (max-width: 899px) {
  .site-nav { justify-content: flex-start !important; align-items: flex-start !important; gap: 14px !important; }
  .site-nav .brand { flex: 0 0 auto; }
  .site-nav nav {
    flex: 1 1 0 !important;
    justify-content: space-between !important;
    align-items: center;
    padding-top: 4px;
    gap: 6px 10px !important;
  }
}

/* Phone top bar: three columns, so the links sit in two even rows of three. */
@media (max-width: 899px) {
  .site-nav nav {
    display: grid !important;
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
    width: 100%;
    gap: 10px 8px !important;
    text-align: left;
  }
  .site-nav nav a { justify-self: start; }
}

/* Phone top bar: the grid sits beside the star, not beneath it. */
@media (max-width: 899px) {
  .site-nav nav { width: auto !important; flex: 1 1 0 !important; min-width: 0; }
}

/* Phone hero buttons: smaller, side by side, centered. */
@media (max-width: 899px) {
  .hero .actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .hero .actions .btn {
    width: auto !important;
    font-size: 15px;
    padding: 12px 14px;
    white-space: nowrap;
  }
}

/* Phone top bar: three equal columns, links centered in each, so the spacing is even. */
@media (max-width: 899px) {
  .site-nav nav {
    grid-template-columns: repeat(3, 1fr) !important;
    justify-content: stretch !important;
    justify-items: center !important;
    text-align: center;
  }
  .site-nav nav a { justify-self: center !important; }
}

/* Menu button: shown on phones only. The links open below the bar when it's tapped. */
.menu-toggle { display: none; }
@media (max-width: 899px) {
  .menu-toggle {
    display: inline-block;
    margin-left: auto;
    background: var(--star-cyan);
    color: var(--star-charcoal);
    border: 1.5px solid var(--star-charcoal);
    border-radius: 999px;
    padding: 8px 18px;
    font: inherit; font-size: 15px; font-weight: 600;
    cursor: pointer;
  }
  .site-nav { flex-wrap: wrap; align-items: center !important; }
  .site-nav nav { display: none !important; }
  .site-nav.menu-open nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start;
    width: 100% !important;
    gap: 12px !important;
    padding: 8px 0 4px;
  }
  .site-nav.menu-open nav a { font-size: 17px; }
}
@media (min-width: 900px) {
  .menu-toggle { display: none !important; }
}

/* Phone: the text inside the boxes is a touch smaller. Desktop is unchanged. */
@media (max-width: 899px) {
  .guide, .card, .rates li, .testimonial, .tier, .voc-card, .question-form, .connect, .notes {
    font-size: 16px;
    line-height: 1.4;
  }
  .guide li, .guide p, .question-form label, .tier-body span, .rate-note, .card p, .connect p { font-size: inherit; line-height: inherit; }
}

/* Every button label is the darker blue, on desktop and phone, in every state. */
.btn, .btn:hover, .btn:focus, .btn:visited, .btn:active,
.btn-primary, .btn-gold, .btn-ghost, .btn-paypal, .btn-venmo,
.menu-toggle, .menu-toggle:hover, .menu-toggle:focus,
.btn *, .menu-toggle * {
  color: var(--ink-blue) !important;
}

/* The horary note under the heading: answers come by email, not in a meeting. */
.horary-note { margin: 0 0 22px; max-width: 60ch; color: var(--paper-text); }
