/* The PURPLE Foundation
   Sibling of the book site: the same twilight indigo and muted gold, but with
   light, quiet content sections for reading, forms, and legal text.
   Display: Cormorant Garamond. Text: Hanken Grotesk. */

@font-face { font-family: "Cormorant Garamond"; src: url(assets/fonts/cormorant-garamond.woff) format("woff"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(assets/fonts/cormorant-garamond-italic.woff) format("woff"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(assets/fonts/hanken-grotesk.woff) format("woff"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --night-950: #05071a;
  --night-900: #0a0c22;
  --night-800: #10112c;
  --night-700: #191a3d;

  --violet-900: #2a1850;
  --violet-700: #3c2370;
  --violet-600: #5b2a9a;
  --violet-300: #bb9ae3;
  --violet-200: #d8c6f0;

  --gold-500: #a88a62;
  --gold-400: #d7ba95;
  --gold-300: #e4cfae;

  --paper: #f8f6fb;
  --mist: #f0ecf5;
  --white: #ffffff;
  --ink: #1b1530;
  --ink-soft: #494160;
  --rule: #d9d0e4;

  --text: #e9e3f0;
  --text-soft: #b9b0cd;
  --heading-dark: #f8f4fb;

  --display: "Cormorant Garamond", Cormorant, Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(1.25rem, 5vw, 2.75rem);
  --focus: #5b2a9a;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; color: var(--violet-900); text-wrap: balance; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--heading-dark); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--gold-400); }

.skip { position: absolute; left: -999px; top: 0.5rem; z-index: 20; background: #fff; color: var(--ink); padding: 0.6rem 1rem; border-radius: 2px; }
.skip:focus { left: 0.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--gold-400), transparent); opacity: 0.55; }

/* Buttons */
.btn {
  display: inline-block; padding: 0.85rem 1.5rem; border: 1px solid transparent; border-radius: 2px;
  font: 600 1rem/1.2 var(--body); letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn--solid { background: var(--violet-900); color: #fff; }
.btn--solid:hover { background: var(--violet-700); }
.btn--gold { background: var(--gold-400); color: #1a1226; }
.btn--gold:hover { background: var(--gold-300); }
.btn--outline { border-color: #5b4a82; color: var(--violet-900); }
.btn--outline:hover { background: rgba(42, 24, 80, 0.07); }
.on-dark .btn--outline { border-color: var(--gold-400); color: var(--gold-300); }
.on-dark .btn--outline:hover { background: rgba(215, 186, 149, 0.12); }
.btn--text { padding-inline: 0.25rem; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; text-decoration-color: rgba(215, 186, 149, 0.55); color: var(--gold-300); }
.btn--text:hover { text-decoration-color: var(--gold-400); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.1rem; margin-top: 2rem; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.9rem; position: relative; }
.brand { text-decoration: none; display: inline-block; }
.logo { display: block; height: 58px; width: auto; }
@media (max-width: 560px) { .logo { height: 46px; } }
.site-nav ul { display: flex; align-items: center; gap: 0.5rem 1.7rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: 0.98rem; color: var(--ink); }
.site-nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.site-nav a[aria-current="page"]:not(.btn) { text-decoration: underline; text-underline-offset: 7px; text-decoration-color: var(--gold-500); }
.site-nav .btn { padding: 0.6rem 1.15rem; color: #fff; }

.nav-toggle { display: none; background: none; border: 1px solid #5b4a82; color: var(--violet-900); border-radius: 2px; padding: 0.5rem 0.9rem; font: 600 0.95rem var(--body); cursor: pointer; }

@media (max-width: 920px) {
  .js .nav-toggle { display: inline-block; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 10; background: #fff; border: 1px solid var(--rule); padding: 1.1rem 1.4rem 1.4rem; border-radius: 2px; box-shadow: 0 18px 30px -20px rgba(27, 21, 48, 0.45); }
  .js .site-nav[data-open] { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 1rem; }
  html:not(.js) .site-header .wrap { flex-direction: column; align-items: flex-start; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; flex-direction: row; gap: 0.5rem 1.25rem; }
}

/* Dark twilight surfaces: hero, page heroes, feature, call to action */
.hero, .page-hero {
  color: var(--text);
  background:
    radial-gradient(52% 80% at 70% -12%, rgba(174, 115, 130, 0.45) 0%, rgba(174, 115, 130, 0) 70%),
    radial-gradient(60% 70% at 6% 40%, rgba(74, 51, 102, 0.55) 0%, rgba(74, 51, 102, 0) 72%),
    radial-gradient(40% 50% at 95% 100%, rgba(179, 102, 173, 0.18) 0%, rgba(179, 102, 173, 0) 70%),
    var(--night-900);
}

.hero { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.hero .wrap { display: grid; gap: 3.5rem 4rem; align-items: end; }
@media (min-width: 940px) { .hero .wrap { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.hero h1 { font-weight: 500; font-size: clamp(3.3rem, 8vw, 6.2rem); line-height: 0.96; letter-spacing: -0.012em; max-width: 11ch; }
.hero .intro { margin-top: 1.9rem; max-width: 34rem; font-size: 1.18rem; color: var(--text-soft); }

.meaning-label { margin: 0 0 0.5rem; font-family: var(--display); font-style: italic; font-size: clamp(1.8rem, 2.6vw, 2.25rem); line-height: 1.1; color: var(--gold-400); }
/* Each line is a solid color (no background-clip on the list: Safari drops
   children that have opacity or animation inside a clipped parent). */
.meaning {
  margin: 0; padding: 0 0 0.1em; list-style: none; font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.08;
}
/* Single-column layouts: size the list so its longest line, "Unconditional"
   spans the full width of the text column (about 5.06em wide). */
@media (max-width: 939px) { .meaning { font-size: clamp(2.2rem, calc((100vw - 2.5rem) / 5.12), 5.2rem); } }
.meaning li:nth-child(1) { color: #ece1fa; --n: 0; }
.meaning li:nth-child(2) { color: #dccaf3; --n: 1; }
.meaning li:nth-child(3) { color: #cdb2ed; --n: 2; }
.meaning li:nth-child(4) { color: #bf9ce6; --n: 3; }
.meaning li:nth-child(5) { color: #b188dc; --n: 4; }
.meaning li:nth-child(6) { color: #a37ad3; --n: 5; }

/* Words arrive one after another. Without animation support, or with
   reduced motion, everything simply shows. */
@keyframes word-in { from { opacity: 0; transform: translateY(0.3em); } to { opacity: 1; transform: none; } }
.meaning-label { animation: word-in 0.9s ease-out 0.3s both; }
.meaning li { animation: word-in 1.1s cubic-bezier(0.2, 0.6, 0.2, 1) both; animation-delay: calc(0.7s + var(--n) * 0.85s); }
/* With JavaScript, the sequence waits until the list is on screen (see main.js). */
.js .meaning-block:not(.in-view) .meaning-label, .js .meaning-block:not(.in-view) .meaning li { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .meaning-label, .meaning li { animation: none; } }

.page-hero { padding-block: clamp(3.25rem, 7vw, 5.5rem); }
.page-hero h1 { font-weight: 500; font-size: clamp(3rem, 6.8vw, 5rem); line-height: 1; letter-spacing: -0.01em; }
.page-hero p { max-width: 36rem; font-size: 1.18rem; margin: 1.4rem 0 0; color: var(--text-soft); }

/* Light sections */
.band { padding-block: clamp(4rem, 8vw, 6.5rem); background: var(--paper); }
.band--white { background: var(--white); }
.band--lilac { background: var(--mist); }
.band--deep { background: var(--night-800); color: var(--text); }
.h-lg { font-size: clamp(2.4rem, 4.8vw, 3.6rem); line-height: 1.04; letter-spacing: -0.005em; }
.h-md { font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.1; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 40rem; }

.two-col { display: grid; gap: 2rem 4.5rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }

.mission { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.2; color: var(--violet-900); max-width: 26ch; margin: 0 0 1.6rem; }

/* Ruled rows (What we do) */
.rows { margin: 2.5rem 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--rule); }
.row { display: grid; gap: 0.4rem 3rem; padding: 1.9rem 0; border-top: 1px solid var(--rule); }
@media (min-width: 760px) { .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); } }
.row h3 { font-size: 1.75rem; line-height: 1.12; }
.row p { margin: 0; color: var(--ink-soft); }

/* Who we serve */
.serve { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.serve li { padding: 0.7rem 0 0.7rem 1.25rem; border-left: 2px solid var(--gold-500); margin-bottom: 0.55rem; }

/* Programs */
.programs { display: grid; gap: 3.25rem; margin-top: 2.75rem; }
@media (min-width: 900px) { .programs { grid-template-columns: 1fr 1fr; gap: 0; } .programs > article { padding-right: 3.5rem; } .programs > article + article { padding-right: 0; padding-left: 3.5rem; border-left: 1px solid var(--rule); } }
.programs h3 { margin-bottom: 1rem; }

/* Founder portrait */
.founder { margin: 2.25rem 0 0; max-width: 300px; }
.founder img { display: block; width: 100%; height: auto; border-radius: 2px; box-shadow: 0 26px 50px -30px rgba(27, 21, 48, 0.55); }
.founder figcaption { margin-top: 0.9rem; font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.3rem; color: var(--ink-soft); }

/* Book feature */
.book-feature .wrap { display: grid; gap: 2.5rem 4.5rem; align-items: center; }
@media (min-width: 800px) { .book-feature .wrap { grid-template-columns: 250px minmax(0, 1fr); } }
.feature-cover { display: block; width: min(250px, 64vw); height: auto; border-radius: 2px; box-shadow: 0 34px 60px -26px rgba(0, 0, 0, 0.8), 0 0 100px -14px rgba(155, 114, 207, 0.35); }
.book-feature h2 { margin-bottom: 1.25rem; }
.book-feature p { color: var(--text-soft); max-width: 38rem; }
.strong { font-weight: 600; color: var(--text) !important; }

/* Donate page */
.facts { margin: 0; padding: 1.3rem 1.5rem; background: var(--white); border: 1px solid var(--rule); border-left: 2px solid var(--gold-500); }
.facts dt { font-size: 0.92rem; color: var(--ink-soft); }
.facts dd { margin: 0 0 0.8rem; font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--violet-900); }
.facts dd:last-child { margin-bottom: 0; }

.give { display: grid; gap: 0.85rem; margin-top: 1.75rem; max-width: 34rem; }
.give .btn { text-align: center; padding-block: 1rem; }
.give .btn--primary { font-size: 1.15rem; padding-block: 1.15rem; }
.give-more { display: grid; gap: 0.75rem; }
@media (min-width: 560px) { .give-more { grid-template-columns: 1fr 1fr; } }
.route-note { margin: 1.1rem 0 0; font-size: 0.97rem; color: var(--ink-soft); max-width: 34rem; }
.alt-give { margin-top: 2rem; padding: 1.4rem 1.5rem; background: var(--white); border: 1px solid var(--rule); border-left: 2px solid var(--gold-500); max-width: 34rem; }
.alt-give h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.alt-give p { margin: 0 0 1rem; font-size: 1rem; color: var(--ink-soft); }

.legal { font-size: 0.95rem; color: var(--ink-soft); max-width: 46rem; }
.legal h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.legal .caps { font-size: 0.9rem; line-height: 1.55; }

/* Contact page */
.form { display: grid; gap: 1.25rem; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.field .hint { font-weight: 400; color: var(--ink-soft); font-size: 0.95rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field input[type="date"], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #a99bc0; border-radius: 2px; padding: 0.75rem 0.9rem;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .checks input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--violet-600); }
.field-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.js [data-org][hidden] { display: none; }
.trap { position: absolute; left: -9999px; }
.note { font-size: 0.95rem; color: var(--ink-soft); }
.panel { background: var(--white); border: 1px solid var(--rule); border-left: 2px solid var(--gold-500); padding: 1.3rem 1.5rem; margin-bottom: 1.25rem; }
.panel h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.panel p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* Call to action band + footer */
.cta-band { border-top: 1px solid rgba(215, 186, 149, 0.22); }
.cta-band .wrap { display: grid; gap: 1.5rem 3rem; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.cta-band h2 { font-weight: 500; font-style: italic; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.05; max-width: 20ch; }
.cta-band .actions { margin: 0; }

.site-footer { background: var(--night-950); color: var(--text-soft); padding-block: 3.25rem; font-size: 0.98rem; }
.site-footer .wrap { display: grid; gap: 2rem 3rem; }
@media (min-width: 860px) { .site-footer .wrap { grid-template-columns: 1.4fr 1fr; } }
.site-footer .brand { font-family: var(--display); font-weight: 600; font-size: 1.6rem; color: var(--heading-dark); margin-bottom: 0.6rem; }
.site-footer p { margin: 0 0 0.7rem; }
.site-footer strong { color: var(--text); font-weight: 600; }
.site-footer ul { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; }
.site-footer a:hover { color: var(--heading-dark); }
.site-footer small { display: block; font-size: 0.9rem; color: #8f86a6; }

/* Application form: groups and checkboxes */
.field fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.checks { display: grid; gap: 0.15rem 1.5rem; }
@media (min-width: 640px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks label, label.check { display: flex; gap: 0.65rem; align-items: flex-start; font-weight: 400; margin: 0; padding: 0.35rem 0; cursor: pointer; }
.checks input, label.check input { flex: none; width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--violet-600); }
.form-section { font-family: var(--display); font-size: 1.6rem; color: var(--deep, #2a1850); margin: 0.75rem 0 -0.25rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.form-section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.req { color: var(--violet-600); font-weight: 600; }
.invite-note { border-left-color: var(--violet-600); }

/* Individual Opportunity Grant application */
.apply-layout { gap: 2.5rem 4rem; }
@media (min-width: 900px) { .apply-layout { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); } .apply-side { position: sticky; top: 1.5rem; } }
.toc { display: none; margin-bottom: 1.5rem; }
@media (min-width: 900px) { .toc { display: block; } }
.toc-label { font-weight: 600; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 0.6rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.toc a { display: block; padding: 0.35rem 0 0.35rem 1rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink); text-decoration: none; font-size: 0.97rem; }
.toc a:hover, .toc a:focus-visible { border-left-color: var(--gold-500); color: var(--deep, #2a1850); }
.form-section, .apply-intro .form-section { scroll-margin-top: 1.5rem; }
.apply-intro { margin-bottom: 2.25rem; }
.apply-intro ol { padding-left: 1.3rem; }
.apply-intro li { margin-bottom: 0.45rem; }
@media (min-width: 900px) { .checks.checks--one { grid-template-columns: 1fr; } }
@media (min-width: 640px) { .field-row--3 { grid-template-columns: 1.5fr 0.8fr 1fr; } }
.js [data-show-when][hidden] { display: none; }
.other-field { margin-top: 0.6rem; }
.payee { background: var(--white); border: 1px solid var(--rule); padding: 1.1rem 1.25rem; }
.payee-grid { display: grid; gap: 1rem 1.25rem; }
@media (min-width: 640px) { .payee-grid { grid-template-columns: 1fr 1fr; } }
.agree-box { background: var(--white); border: 1px solid var(--rule); border-left: 2px solid var(--gold-500); padding: 1.2rem 1.5rem; }
.agree-box ol { margin: 0; padding-left: 1.2rem; }
.agree-box li { margin-bottom: 0.5rem; }
.agree-box li:last-child { margin-bottom: 0; }
.sub-h { font-family: var(--display); font-weight: 500; font-size: 1.5rem; color: var(--deep, #2a1850); margin: 1.75rem 0 0.5rem; }
.apply-intro .form-section { margin-bottom: 1rem; }
.uploads { display: grid; gap: 1rem; }
.field input[type="file"] { width: 100%; font: inherit; font-size: 0.95rem; color: var(--ink); background: #fff; border: 1px dashed #a99bc0; border-radius: 2px; padding: 0.6rem 0.75rem; }
.field input[type="file"]::file-selector-button { font: inherit; font-weight: 600; color: #fff; background: var(--deep, #2a1850); border: 0; border-radius: 2px; padding: 0.45rem 0.9rem; margin-right: 0.9rem; cursor: pointer; }
.field input[type="file"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.upload-error { margin: 0; padding: 0.8rem 1rem; border-left: 3px solid #a3262f; background: #fff; color: #7a1a22; font-weight: 600; }
.privacy { background: var(--white); border: 1px solid var(--rule); border-left: 2px solid var(--violet-600); padding: 1.1rem 1.4rem; }
.privacy h3 { font-family: var(--display); font-weight: 500; font-size: 1.35rem; color: var(--deep, #2a1850); margin: 0 0 0.4rem; }
.privacy p { margin: 0 0 0.6rem; font-size: 0.97rem; color: var(--ink-soft); }
.privacy p:last-child { margin-bottom: 0; }

/* Phones: center most content, and give section headers more presence
   (true small caps from Cormorant, a gold rule above). Forms, boxed notes and
   long numbered lists stay left-aligned so they remain easy to read and fill in. */
@media (max-width: 700px) {
  .hero .wrap, .page-hero .wrap, .band .wrap, .site-footer .wrap { text-align: center; }
  .form, .panel, .facts, .alt-give, .agree-box, .privacy, .payee, .apply-intro, .toc, .band .wrap.legal { text-align: left; }
  .hero h1 { margin-inline: auto; }
  .hero .intro, .page-hero p, .lead, .mission, .book-feature p, .route-note, .alt-give, .give, .cta-band h2 { margin-inline: auto; }
  .actions { justify-content: center; }
  h1, h2, h3, .lead, .intro, .mission { text-wrap: balance; }
  p { text-wrap: pretty; }

  .meaning-label { text-align: center; }
  .meaning { width: fit-content; margin-inline: auto; text-align: left; }

  .band .h-lg {
    font-variant-caps: small-caps; text-transform: capitalize; font-weight: 600;
    letter-spacing: 0.07em; line-height: 1.12; color: var(--violet-900);
    font-size: clamp(2.2rem, 9.2vw, 2.9rem);
  }
  .band .h-lg::before { content: ""; display: block; width: 3.25rem; height: 2px; margin: 0 auto 1.25rem; background: var(--gold-500); }
  .book-feature .h-lg { color: var(--heading-dark, #fff); }

  .row h3 { text-align: center; }
  .rows .row { justify-items: center; }

  .serve li { border-left: 0; border-top: 1px solid var(--rule); margin: 0; padding: 0.95rem 0.5rem; }
  .serve li:last-child { border-bottom: 1px solid var(--rule); }

  .founder, .feature-cover { margin-inline: auto; }
  .book-feature .wrap, .programs, .two-col { justify-items: center; }
  .programs > article { width: 100%; }

  .site-footer ul { justify-content: center; }
  .site-footer .brand { display: inline-block; }
}

/* Bold emphasis line on light sections was inheriting the pale text color of dark sections. */
.band:not(.band--deep) .strong { color: var(--ink) !important; }

/* Section headers: capitalized words (Our Mission, What We Do) on every screen size. */
.h-lg { text-transform: capitalize; }

/* Tax-deductible language near donations */
.page-hero .tax-note { font-size: 1.02rem; margin-top: 1rem; color: var(--gold-400); }
.tax-line { border-left: 2px solid var(--gold-500); background: #fff; padding: 0.8rem 1.1rem; margin: 1.25rem 0 1.5rem; font-size: 1rem; }
.cta-tax { grid-column: 1 / -1; margin: 0; font-size: 0.98rem; color: var(--text-soft); }
@media (max-width: 700px) {
  .meaning-label { font-size: 2.1rem; }
  .tax-line { text-align: left; }
  .cta-tax { margin-inline: auto; max-width: 30rem; }
}

/* Lotus section breaks: sit at the bottom of a section, colored to suit its background */
.has-break { padding-bottom: clamp(2.25rem, 4.5vw, 3.5rem); }
.lotus-break { display: flex; justify-content: center; margin-top: clamp(2.25rem, 4.5vw, 3.5rem); }
.lotus-break img { display: block; width: clamp(50px, 5vw, 64px); height: auto; }

/* Header: sticks to the top, tucks away on scroll down, returns on scroll up (see main.js) */
html { scroll-padding-top: calc(var(--header-h, 5.5rem) + 0.5rem); }
.site-header { position: sticky; top: 0; z-index: 50; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 24px -20px rgba(27, 21, 48, 0.55); }
.site-header.is-hidden { transform: translateY(-100%); }
@media (min-width: 900px) {
  .apply-side { top: calc(var(--header-h, 5.5rem) + 1rem); transition: top 0.3s ease; }
  html.header-hidden .apply-side { top: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .site-header, .apply-side { transition: none; } }
