/* Homepage only: a bright glass landscape and a matching night option. */
.tm-home-page {
 --home-ink:#f4efe6; --home-muted:#d5c9b7; --home-accent:#e8d5a3;
 --home-surface:linear-gradient(135deg,#241e16b8,#17130e85); --home-solid:#251f18;
 --home-border:#e8d5a34d; --home-header:#17130ed6; --home-overlay:linear-gradient(110deg,#090805cc,#14100bb8);
 --home-shadow:0 12px 32px #00000029; --home-button-bg:linear-gradient(170deg,#f2e5c8,#d9bc83); --home-button-ink:#302719;
 isolation:isolate; background:#16120d; color:var(--home-ink);
}
html[data-home-theme="day"] .tm-home-page {
 --home-ink:#302c27; --home-muted:#5f5343; --home-accent:#7b6340;
 --home-surface:linear-gradient(135deg,#fffdf17a,#fffaf13d); --home-solid:#fff9ed;
 --home-border:#ffffffa8; --home-header:#fff9edc9; --home-overlay:linear-gradient(110deg,#fffbf140,#fffbf11f);
 --home-shadow:0 12px 32px #43341c0d; --home-button-bg:linear-gradient(170deg,#444449,#232326); --home-button-ink:#fff;
 background:#d8c8ac;
}
body.tm-home-page::before { content:""; position:fixed; inset:0; z-index:-1; pointer-events:none; background:var(--home-overlay),url('../img/destiny-landscape-hd.jpg') center/cover no-repeat; }
.tm-home-page :is(.tm-header,.tm-header.is-compact) { background:var(--home-header); border-bottom:1px solid var(--home-border); -webkit-backdrop-filter:blur(22px) saturate(120%); backdrop-filter:blur(22px) saturate(120%); }
.tm-home-page :is(.tm-brand-name,.tm-nav a,.tm-nav-label,.tm-auth-link,.tm-auth-name,.tm-member-btn,.tm-mobile-nav a) { color:var(--home-ink); }
.tm-home-page :is(.tm-brand-sub,.tm-menu-btn) { color:var(--home-accent); }
.tm-home-page :is(.tm-nav-sub,.tm-member-menu,.tm-mobile-nav) { background:var(--home-solid); border-color:var(--home-border); }
.tm-home-page .tm-member-menu a { color:var(--home-ink); }
.tm-home-page .tm-home-theme-bar { display:flex; justify-content:flex-end; max-width:1280px; margin:0 auto; padding:12px 24px 0; }
.tm-home-page .tm-home-theme { display:inline-flex; gap:4px; padding:4px; border:1px solid var(--home-border); border-radius:30px; background:var(--home-surface); -webkit-backdrop-filter:blur(20px); backdrop-filter:blur(20px); box-shadow:var(--home-shadow),inset 0 1px 0 #ffffff30; }
.tm-home-page .tm-home-theme[hidden] { display:none; }
.tm-home-page .tm-home-theme button { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-width:86px; min-height:40px; border:1px solid transparent; padding:8px 15px; border-radius:25px; background:transparent; color:var(--home-muted); cursor:pointer; font:500 13px/1.4 -apple-system,BlinkMacSystemFont,sans-serif; }
.tm-home-page .tm-home-theme button[aria-pressed="true"] { background:var(--home-button-bg); color:var(--home-button-ink); border-color:#ffffff30; box-shadow:inset 0 1px 0 #ffffff30,0 2px 7px #0000000d; }
.tm-home-page .tm-home-theme button:focus-visible { outline:3px solid var(--home-accent); outline-offset:3px; }
.tm-home-page :is(.tm-services,.tm-omamori,.tm-reel,.tm-journal,.tm-topics,.tm-destiny,.tm-flow,.tm-voices,.tm-knowledge,.tm-cta,.tm-faq) { background:transparent; color:var(--home-ink); }
.tm-home-page :is(.tm-hero-copy,.tm-service,.tm-omamori-card,.tm-reel-card,.tm-journal-grid a,.tm-topic-grid article,.tm-destiny-copy,.tm-flow>.tm-lower-inner,.tm-voice,.tm-know,.tm-cta-copy,.tm-faq>.tm-lower-inner) {
 border:1px solid var(--home-border); border-radius:24px; background:var(--home-surface); color:var(--home-ink);
 -webkit-backdrop-filter:blur(20px) saturate(120%); backdrop-filter:blur(20px) saturate(120%);
 box-shadow:inset 0 1px 0 #ffffff40,var(--home-shadow);
}
.tm-home-page .tm-hero { display:flex; align-items:center; min-height:480px; padding:24px max(24px,calc((100vw - 1232px)/2)) 32px; }
.tm-home-page .tm-hero-copy { max-width:680px; width:min(680px,100%); padding:36px; margin:0; }
.tm-home-page .tm-hero-copy h1 { color:var(--home-ink); font-size:clamp(29px,3.6vw,46px); letter-spacing:.06em; line-height:1.55; text-shadow:none; }
.tm-home-page :is(.tm-hero-kicker,.tm-hero-lead,.tm-hero-verse) { color:var(--home-muted); text-shadow:none; }
.tm-home-page .tm-hero-photo { opacity:.6; }
.tm-home-page .tm-hero-shade { background:linear-gradient(90deg,#09080573,transparent); }
html[data-home-theme="day"] .tm-home-page .tm-hero-photo { opacity:.88; filter:brightness(1.18) saturate(.9); }
html[data-home-theme="day"] .tm-home-page :is(.tm-sun-glow,.tm-hero-mist,.tm-hero-dust) { display:none; }
.tm-home-page .tm-services { margin-top:0; padding:0 24px 20px; }
.tm-home-page .tm-services-grid { max-width:1232px; margin:0 auto; }
.tm-home-page .tm-service { padding:24px 16px; }
.tm-home-page .tm-service::before,.tm-home-page .tm-service::after { display:none; }
.tm-home-page .tm-service:hover { border-color:var(--home-accent); box-shadow:var(--home-shadow); }
.tm-home-page :is(.tm-icon-wrap,.tm-flow-ring,.tm-voice-ava) { border-color:var(--home-border); background:var(--home-surface); box-shadow:inset 0 1px 0 #ffffff40; }
.tm-home-page :is(.tm-service-title,.tm-service p,.tm-sec-title,.tm-sec-title-light,.tm-omamori-card h2,.tm-journal-grid h3,.tm-topic-grid h3,.tm-destiny-copy h2,.tm-flow-steps h3,.tm-voice h3,.tm-know h3,.tm-cta-copy h2,.tm-faq h2,.tm-faq h3) { color:var(--home-ink); text-shadow:none; }
.tm-home-page :is(.tm-sec-sub,.tm-sec-sub-light,.tm-omamori-kicker,.tm-omamori-card p,.tm-journal-grid p,.tm-journal-grid time,.tm-topic-grid p,.tm-destiny-copy p,.tm-flow-steps p,.tm-voice>p,.tm-know p,.tm-cta-copy p,.tm-faq p) { color:var(--home-muted); }
.tm-home-page :is(.tm-journal-grid span,.tm-journal-more a,.tm-topic-grid a,.tm-know span,.tm-faq a,.tm-stars,.tm-reel-kicker) { color:var(--home-accent); }
.tm-home-page :is(.tm-consult,.tm-calc,.tm-more,.tm-reel-buy a,.tm-omamori-card span) { background:var(--home-button-bg); color:var(--home-button-ink); border:1px solid #ffffff30; border-radius:26px; text-shadow:none; box-shadow:inset 0 1px 0 #ffffff30,0 4px 12px #00000012; animation:none; }
.tm-home-page .tm-omamori-card { max-width:1000px; }
.tm-home-page .tm-reel-scene { background:transparent; }
.tm-home-page .tm-reel-card span { background:var(--home-header); color:var(--home-ink); }
.tm-home-page .tm-destiny { max-width:1232px; width:calc(100% - 48px); margin:28px auto; border-radius:26px; overflow:hidden; }
.tm-home-page .tm-destiny-photo { opacity:.25; }
.tm-home-page .tm-destiny-copy { padding:30px; margin:24px; }
.tm-home-page .tm-destiny-verse { color:var(--home-muted); text-shadow:none; }
.tm-home-page .tm-flow>.tm-lower-inner { padding:30px; width:calc(100% - 48px); max-width:1232px; }
.tm-home-page :is(.tm-flow-photo,.tm-flow-shade,.tm-voices-art,.tm-side-verse) { display:none; }
.tm-home-page .tm-flow .tm-lantern { opacity:.45; }
.tm-home-page .tm-voice { padding:24px; }
.tm-home-page .tm-know { overflow:hidden; }
.tm-home-page .tm-cta { padding:28px 24px; }
.tm-home-page .tm-cta-photo { opacity:.2; }
.tm-home-page .tm-cta-shade { background:transparent; }
.tm-home-page .tm-cta-copy { width:100%; max-width:1000px; padding:32px; }
.tm-home-page .tm-faq>.tm-lower-inner { padding:30px; width:calc(100% - 48px); max-width:1232px; }
.tm-home-page .tm-faq article { background:transparent; border-color:var(--home-border); }
.tm-home-page .tm-sitefoot { background:var(--home-header); border-top:1px solid var(--home-border); -webkit-backdrop-filter:blur(20px); backdrop-filter:blur(20px); color:var(--home-ink); }
.tm-home-page :is(.tm-foot-nav a,.tm-foot-aside,.tm-foot-mail,.tm-sitefoot-bar p,.tm-sitefoot-bar a,.tm-nap,.tm-nap a) { color:var(--home-muted); }
.tm-home-page .tm-sitefoot-bar { border-color:var(--home-border); }
html[data-home-theme="day"] .tm-home-page :is(.tm-icon-wrap,.tm-flow-ring) [stroke] { stroke:#806a46; }
@media(max-width:767px) {
 body.tm-home-page::before { background-position:center,56% center; }
 .tm-home-page .tm-home-theme-bar { padding:10px 16px 0; }
 .tm-home-page .tm-home-theme button { min-width:78px; min-height:40px; padding:8px 12px; }
 .tm-home-page .tm-hero { padding:20px 16px 24px; min-height:0; }
 .tm-home-page .tm-hero-copy { padding:28px 22px; border-radius:24px; }
 .tm-home-page .tm-hero-copy h1 { font-size:30px; }
 .tm-home-page .tm-hero-kicker { font-size:17px; }
 .tm-home-page .tm-hero-lead { font-size:14px; }
 .tm-home-page .tm-services { padding:0 16px 18px; }
 .tm-home-page .tm-service { padding:20px 12px; }
 .tm-home-page :is(.tm-destiny,.tm-flow>.tm-lower-inner,.tm-faq>.tm-lower-inner) { width:calc(100% - 32px); }
 .tm-home-page .tm-destiny-copy { margin:16px; padding:24px 20px; }
 .tm-home-page :is(.tm-flow>.tm-lower-inner,.tm-faq>.tm-lower-inner) { padding:24px 20px; }
 .tm-home-page .tm-cta { padding:20px 16px; }
 .tm-home-page .tm-cta-copy { padding:26px 20px; }
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
 .tm-home-page :is(.tm-hero-copy,.tm-service,.tm-omamori-card,.tm-journal-grid a,.tm-topic-grid article,.tm-destiny-copy,.tm-flow>.tm-lower-inner,.tm-voice,.tm-know,.tm-cta-copy,.tm-faq>.tm-lower-inner,.tm-header) { background:var(--home-solid); }
}
@media(prefers-reduced-transparency:reduce) {
 .tm-home-page :is(.tm-hero-copy,.tm-service,.tm-omamori-card,.tm-journal-grid a,.tm-topic-grid article,.tm-destiny-copy,.tm-flow>.tm-lower-inner,.tm-voice,.tm-know,.tm-cta-copy,.tm-faq>.tm-lower-inner,.tm-header) { background:var(--home-solid); -webkit-backdrop-filter:none; backdrop-filter:none; }
}
@media(prefers-reduced-motion:reduce) { .tm-home-page * { transition:none!important; } }
/* Keep the main message readable immediately, including after a theme change. */
.tm-home-page :is(.tm-hero-copy h1,.tm-hero-kicker,.tm-hero-lead) { animation:none; opacity:1; transform:none; }
.tm-home-page .tm-hero-verse { padding:14px 10px; border:1px solid var(--home-border); border-radius:16px; background:var(--home-surface); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); }
.tm-home-page :is(.tm-more-articles,.tm-flow-arrow) { color:var(--home-accent); }

html[data-home-theme="day"] .tm-home-page .tm-hero-shade { display:block; background:linear-gradient(90deg,#fff8e652,transparent 68%); }
