/* Inner pages: builds on tokens, buttons, nav and footer from styles.css */

/* ---------- Page hero (dark) ---------- */
.page-hero { position: relative; overflow: hidden; color: var(--gold-3); padding: 170px 0 110px;
  background: radial-gradient(ellipse 70% 70% at 80% 30%, rgba(110, 44, 94, .9), transparent 70%), radial-gradient(ellipse 50% 60% at 0% 100%, rgba(194, 111, 125, .3), transparent 70%), var(--night); }
.page-hero .hero__mandala { width: min(760px, 110vw); right: -14%; opacity: .18; }
.page-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: end; }
.page-hero__inner--solo { grid-template-columns: 1fr; }
.page-hero__inner--solo > div { max-width: 900px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(246, 235, 211, .55); margin-bottom: 26px; }
.crumbs a { color: var(--gold-2); }
.crumbs a:hover { color: var(--ivory); }
.crumbs span[aria-hidden] { opacity: .5; }
.page-hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); font-weight: 300; color: var(--ivory); line-height: 1; }
.page-hero h1 em { color: var(--gold-2); font-weight: 300; }
.page-hero .line { display: block; overflow: hidden; padding: .02em 0 .1em; }
.page-hero__lead { font-size: 1.12rem; color: rgba(246, 235, 211, .75); max-width: 600px; margin-top: 26px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.page-hero__aside { justify-self: end; }
.js-anim .page-hero .c { opacity: 0; transform: translateY(70%) rotate(6deg); filter: blur(10px); }

/* Emblem for program pages */
.emblem { width: min(320px, 100%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; position: relative; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(201, 161, 90, .55), 0 0 0 14px rgba(201, 161, 90, .06); animation: breathe 7s ease-in-out infinite; }
.emblem img { width: 100%; height: 100%; object-fit: cover; }
.emblem--icon { display: grid; place-items: center; background: radial-gradient(circle, var(--plum-2), var(--night-2)); color: var(--gold-2); font-family: var(--serif); font-size: 6rem; }

/* ---------- Content blocks ---------- */
.section--tight { padding: clamp(70px, 9vw, 120px) 0; }
.section--ivory { background: var(--ivory); }
.section--dark { background: var(--night); color: var(--gold-3); }
.section--dark h2 { color: var(--ivory); }
.section--dark h2 em { color: var(--gold-2); }
.prose { max-width: 720px; font-size: 1.06rem; }
.prose p { color: var(--muted); }
.prose h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 0 0 22px; }
.prose h3 { font-size: 1.6rem; margin: 40px 0 12px; color: var(--night-2); }
.prose ul { padding-left: 0; list-style: none; display: grid; gap: 10px; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 28px; color: var(--muted); }
.prose ul li::before { content: "✦"; position: absolute; left: 0; top: 1px; color: var(--gold); font-size: .85rem; }
.prose strong { color: var(--night-2); }
.prose a { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }
.lede { font-family: var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.3; color: var(--plum); margin-bottom: 28px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.split--wide { grid-template-columns: 1.35fr 1fr; }

/* ---------- Program detail ---------- */
.program { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 70px; align-items: start; }
.buy { position: sticky; top: 110px; background: var(--ivory); border: 1px solid var(--line); border-radius: 30px; padding: 32px; box-shadow: var(--shadow); }
.buy__label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--rose); font-weight: 700; }
.buy__price { font-family: var(--serif); font-size: 3rem; color: var(--plum); line-height: 1; margin: 10px 0 4px; font-variant-numeric: lining-nums; }
.buy__price s { font-size: 1.4rem; opacity: .5; margin-right: 6px; }
.buy__note { font-size: .86rem; color: var(--muted); margin: 0 0 22px; }
.buy .btn { width: 100%; }
.buy__alt { display: block; text-align: center; margin-top: 14px; font-size: .88rem; font-weight: 600; color: var(--plum); }
.buy__list { list-style: none; padding: 22px 0 0; margin: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .88rem; color: var(--muted); }
.buy__list li { display: flex; gap: 10px; }
.buy__list li::before { content: "✦"; color: var(--gold); font-size: .75rem; margin-top: 3px; }
.buy--soon .buy__price { font-size: 2rem; font-style: italic; }

.block { margin-bottom: 64px; }
.block:last-child { margin-bottom: 0; }
.block h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 22px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; list-style: none; padding: 0; margin: 0; }
.feature-list li { background: var(--ivory); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; color: var(--muted); font-size: .95rem; position: relative; padding-left: 50px; }
.feature-list li::before { content: "✦"; position: absolute; left: 22px; top: 20px; color: var(--gold); }
.feature-list li b { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--night-2); margin-bottom: 4px; line-height: 1.2; }
.shifts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.shifts li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; border-radius: 16px; background: linear-gradient(120deg, var(--blush), var(--ivory)); font-weight: 600; font-size: .92rem; }
.shifts li span:first-child { white-space: nowrap; color: var(--muted); font-weight: 500; text-decoration: line-through; text-decoration-color: rgba(194, 111, 125, .5); }
.shifts li i { font-style: normal; color: var(--gold); }
.shifts li span:last-child { color: var(--plum); font-family: var(--serif); font-size: 1.2rem; }
.pillars-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pillars-4 div { text-align: center; padding: 22px 12px; border-radius: 20px; border: 1px solid var(--line); background: var(--ivory); }
.pillars-4 b { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--plum); font-weight: 500; }
.pillars-4 span { font-size: .82rem; color: var(--muted); }
.how { counter-reset: how; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how li { counter-increment: how; padding: 24px; border-radius: 20px; background: var(--night-2); color: rgba(246, 235, 211, .8); font-size: .92rem; }
.how li::before { content: counter(how); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-2); font-family: var(--serif); font-size: 1.3rem; margin-bottom: 14px; font-variant-numeric: lining-nums; }
.how li b { display: block; color: var(--ivory); font-family: var(--serif); font-size: 1.25rem; font-weight: 500; margin-bottom: 4px; }

/* Related programs + overview grid */
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prog-card { position: relative; display: flex; flex-direction: column; background: var(--ivory); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.prog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--gold); }
.prog-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--night); }
.prog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.prog-card:hover .prog-card__img img { transform: scale(1.06) rotate(2deg); }
.prog-card__img--icon { display: grid; place-items: center; color: var(--gold-2); font-family: var(--serif); font-size: 4rem; background: radial-gradient(circle, var(--plum-2), var(--night-2)); }
.prog-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.prog-card__tag { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); font-weight: 700; }
.prog-card h3 { font-size: 1.75rem; color: var(--night-2); margin: 8px 0 6px; }
.prog-card p { color: var(--muted); font-size: .92rem; }
.prog-card__foot { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; }
.prog-card__price { font-family: var(--serif); font-size: 1.5rem; color: var(--plum); font-variant-numeric: lining-nums; }
.prog-card__price s { font-size: 1rem; opacity: .5; }
.prog-card__go { font-size: .86rem; font-weight: 700; color: var(--plum); }
.badge { position: absolute; top: 16px; left: 16px; z-index: 1; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: var(--night); }
.badge--soft { background: rgba(255, 252, 247, .9); color: var(--plum); }

.compare { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--ivory); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); background: var(--cream); }
.compare td:first-child a { font-family: var(--serif); font-size: 1.3rem; color: var(--night-2); font-weight: 600; }
.compare td:last-child { font-family: var(--serif); font-size: 1.2rem; color: var(--plum); white-space: nowrap; font-variant-numeric: lining-nums; }
.compare tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; border-radius: 24px; }

/* ---------- About ---------- */
.portrait-arch { border-radius: 999px 999px 30px 30px; overflow: hidden; aspect-ratio: 4 / 5.2; box-shadow: var(--shadow); background: linear-gradient(170deg, #B0798E, var(--plum)); }
.portrait-arch img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.creds-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.creds-grid div { padding: 20px; border-radius: 20px; background: var(--ivory); border: 1px solid var(--line); }
.creds-grid b { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--plum); font-weight: 600; }
.creds-grid span { font-size: .85rem; color: var(--muted); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.stat-row div { padding: 34px 10px; text-align: center; border-right: 1px solid var(--line-light); }
.stat-row div:last-child { border-right: 0; }
.stat-row strong { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 4.4vw, 3.6rem); color: var(--gold-2); font-weight: 400; line-height: 1; }
.stat-row strong::after { content: "+"; color: var(--gold); }
.stat-row span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(246, 235, 211, .6); font-weight: 700; }
.big-quote { font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.15; font-weight: 300; color: var(--ivory); text-align: center; max-width: 980px; margin: 0 auto; }
.big-quote em { color: var(--gold-2); }

/* ---------- Galleries ---------- */
.masonry { columns: 3 260px; column-gap: 18px; }
.masonry figure { margin: 0 0 18px; break-inside: avoid; border-radius: 22px; overflow: hidden; position: relative; cursor: zoom-in; }
.masonry img { width: 100%; transition: transform 1.2s var(--ease); }
.masonry figure:hover img { transform: scale(1.05); }
.masonry figure::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(201, 161, 90, .25); pointer-events: none; }
.masonry--dense { columns: 4 220px; }

/* ---------- Nine moons ---------- */
.month { display: grid; grid-template-columns: 200px 1fr 1fr; gap: 50px; align-items: start; padding: 60px 0; border-bottom: 1px solid var(--line-light); }
.month:last-child { border-bottom: 0; }
.month .moon-card { all: unset; display: grid; justify-items: center; gap: 10px; text-align: center; }
.month .moon { width: 120px; height: 120px; margin: 0; }
.month__m { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.month h2 { font-size: clamp(2.2rem, 3.6vw, 3rem); color: var(--ivory); }
.month__theme { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--gold-2); margin: 6px 0 16px; }
.month p { color: rgba(246, 235, 211, .75); }
.month ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.month ul li { padding: 16px 18px 16px 46px; border-radius: 16px; border: 1px solid var(--line-light); background: rgba(255, 252, 247, .04); color: rgba(246, 235, 211, .85); font-size: .93rem; position: relative; }
.month ul li::before { content: "✦"; position: absolute; left: 18px; top: 16px; color: var(--gold); }
.month__label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(246, 235, 211, .5); font-weight: 700; margin-bottom: 12px; }
.moons-nav { position: sticky; top: 0; z-index: 5; display: flex; justify-content: center; gap: 6px; padding: 14px 0; background: rgba(30, 10, 25, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-light); }
.moons-nav a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-light); color: var(--gold-2); font-family: var(--serif); font-size: 1.1rem; transition: background .3s, color .3s; font-variant-numeric: lining-nums; }
.moons-nav a:hover { background: var(--gold); color: var(--night); }

.callout { border-radius: 24px; padding: 26px 30px; background: var(--blush); color: var(--plum); font-size: .95rem; display: flex; gap: 16px; align-items: flex-start; }
.callout::before { content: "✦"; color: var(--gold); font-size: 1.2rem; }
.callout--dark { background: rgba(255, 252, 247, .06); color: rgba(246, 235, 211, .8); border: 1px solid var(--line-light); }

/* ---------- FAQ page ---------- */
.faq-group { margin-bottom: 60px; }
.faq-group h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 16px; }
.faq-layout { display: grid; grid-template-columns: 260px 1fr; gap: 70px; align-items: start; }
.faq-toc { position: sticky; top: 120px; display: grid; gap: 4px; }
.faq-toc a { padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: .92rem; color: var(--muted); transition: background .3s, color .3s; }
.faq-toc a:hover { background: var(--ivory); color: var(--plum); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 26px; background: var(--ivory); border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.contact-card__icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--plum); }
.contact-card__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-card__icon--wa { background: rgba(37, 211, 102, .14); }
.contact-card__icon--wa svg { fill: #25D366; stroke: none; }
.contact-card b { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--night-2); }
.contact-card span { color: var(--muted); font-size: .9rem; }
.contact-card i { font-style: normal; margin-top: auto; padding-top: 10px; font-weight: 700; font-size: .86rem; color: var(--plum); }
.form-card { background: var(--night-2); color: var(--gold-3); border-radius: 32px; padding: clamp(28px, 4vw, 48px); }
.form-card h2 { color: var(--ivory); font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 10px; }
.form-card h2 em { color: var(--gold-2); }
.form-card p { color: rgba(246, 235, 211, .7); }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.field input, .field select, .field textarea { width: 100%; border-radius: 16px; border: 1px solid var(--line-light); background: rgba(255, 252, 247, .05); color: var(--gold-3); font: 500 1rem var(--sans); padding: 15px 18px; outline: none; transition: border-color .3s; }
.field textarea { min-height: 110px; resize: vertical; }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.form-card small { display: block; margin-top: 12px; font-size: .78rem; opacity: .6; }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 70px; align-items: start; }
.legal__toc { position: sticky; top: 120px; display: grid; gap: 2px; font-size: .88rem; }
.legal__toc a { padding: 8px 14px; border-radius: 10px; color: var(--muted); }
.legal__toc a:hover { background: var(--ivory); color: var(--plum); }
.legal .prose h2 { font-size: 1.9rem; margin: 46px 0 14px; scroll-margin-top: 110px; }
.legal .prose h2:first-of-type { margin-top: 0; }
.draft-note { border: 1px dashed var(--rose); background: #FBEDEF; color: #8E2B3B; border-radius: 16px; padding: 16px 20px; font-size: .88rem; margin-bottom: 36px; }
.updated { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 26px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 18px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 30px; }
.cta-band__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 140px 24px 80px; }
.lost__code { font-family: var(--serif); font-weight: 300; font-size: clamp(7rem, 22vw, 16rem); line-height: .9; color: transparent; -webkit-text-stroke: 1px rgba(201, 161, 90, .7); }
.lost h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--ivory); font-weight: 300; margin: 10px 0 14px; }
.lost h1 em { color: var(--gold-2); }
.lost p { color: rgba(246, 235, 211, .7); max-width: 480px; margin: 0 auto 30px; }
.lost__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .program { grid-template-columns: 1fr; gap: 40px; }
  .buy { position: relative; top: 0; order: -1; }
  .prog-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .faq-layout, .legal { grid-template-columns: 1fr; gap: 30px; }
  .faq-toc, .legal__toc { position: static; display: flex; flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .page-hero { padding: 130px 0 80px; }
  .page-hero__inner, .split, .split--wide { grid-template-columns: 1fr; gap: 50px; }
  .page-hero__aside { justify-self: start; }
  .emblem { width: 220px; }
  .month { grid-template-columns: 1fr; gap: 24px; padding: 46px 0; }
  .month .moon-card { justify-items: start; text-align: left; grid-auto-flow: column; justify-content: start; align-items: center; gap: 16px; }
  .month .moon { width: 70px; height: 70px; }
  .how { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .prog-grid, .contact-grid, .feature-list, .creds-grid { grid-template-columns: 1fr; }
  .pillars-4 { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat-row div:nth-child(2) { border-right: 0; }
  .stat-row div:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
  .moons-nav { gap: 4px; overflow-x: auto; justify-content: flex-start; padding: 12px 16px; }
  .moons-nav a { flex: none; width: 36px; height: 36px; }
  .compare th, .compare td { padding: 14px; }
}
