/* Homepage styles are scoped so the rest of the site keeps its own design. */
.home-page { --home-ink: #f2eee8; --home-muted: #c4bfce; --home-lilac: #c6b7e8; --home-line: #38333f; color: var(--home-ink); background: radial-gradient(ellipse at 95% 5%, #2c253840, transparent 36%), #101016; }
.home-wrap { max-width: 1220px; margin: 0 auto; padding: 0 32px; }
.home-page a { color: inherit; }
.home-page a:focus-visible, .home-header a:focus-visible, .home-header summary:focus-visible { outline: 3px solid #dacaff; outline-offset: 6px; }
.home-page p { line-height: 1.75; }
.home-page h1, .home-page h2, .home-page h3 { font-weight: 400; line-height: 1.12; }
.home-page h2 { font-size: clamp(2rem, 3.5vw, 3.1rem); letter-spacing: -.035em; }
.home-page h3 { font-size: 1.8rem; }
.home-page .home-eyebrow { font: 600 .7rem/1.5 Arial, sans-serif; text-transform: uppercase; letter-spacing: .19em; color: var(--home-lilac); margin-bottom: 20px; }
.home-announcement { background: #282333; border-bottom: 1px solid #42374f; }
.home-announcement a { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 13px 24px; text-decoration: none; font: .85rem/1.6 Arial, sans-serif; }
.home-announcement strong { color: #e1d4f5; font-weight: 500; }
.home-status-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #d2bfaa; }
.home-hero { display: grid; grid-template-columns: 1.45fr 1fr; gap: 70px; align-items: center; padding: 74px 0 70px; }
.home-hero h1 { font-size: clamp(2.7rem, 4.5vw, 4.4rem); letter-spacing: -.045em; margin-bottom: 25px; }
.home-hero h1 em { color: var(--home-lilac); font-weight: 400; }
.home-lead { color: var(--home-muted); font-size: 1.08rem; max-width: 550px; }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.home-page .home-button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 14px 21px; min-height: 48px; background: #d2c2eb; color: #17131e; border: 1px solid #d2c2eb; text-decoration: none; font: 600 .85rem/1.4 Arial, sans-serif; border-radius: 3px; transition: background .18s ease; }
.home-page .home-button:hover { background: #e2d7f2; }
.home-page .home-button-outline { color: var(--home-ink); background: transparent; border-color: #6f617f; }
.home-page .home-button-outline:hover { background: #2b2436; }
.home-page .home-text-link { display: inline-block; color: #e0d4ee; font: 500 .85rem/1.6 Arial, sans-serif; text-decoration: underline; text-decoration-color: #70617d; text-underline-offset: 6px; padding: 6px 0; }
.home-page .home-text-link:hover { color: #fff; text-decoration-color: #fff; }
.home-hero-more { margin-top: 19px; }
.home-portrait { max-width: 380px; width: 100%; margin-left: auto; padding: 12px; background: #1b1921; border: 1px solid var(--home-line); transform: rotate(2deg); }
.home-portrait img { display: block; width: 100%; height: 355px; object-fit: cover; object-position: center 36%; filter: saturate(.7); }
.home-portrait figcaption { padding: 16px 7px 7px; display: flex; flex-direction: column; gap: 3px; font-size: .88rem; }
.home-portrait figcaption a { color: var(--home-lilac); text-underline-offset: 4px; font: .75rem/1.8 Arial, sans-serif; }
.home-section { padding: 62px 0; border-top: 1px solid var(--home-line); scroll-margin-top: 115px; }
.home-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.home-section-heading .home-eyebrow { margin-bottom: 13px; }
.home-section-intro { max-width: 730px; color: var(--home-muted); margin-bottom: 32px; }
.home-books { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.home-book { display: grid; grid-template-columns: 135px minmax(0,1fr); align-items: start; gap: 25px; padding: 30px; border: 1px solid var(--home-line); background: #18171f; border-radius: 5px; }
.home-book-update { background: linear-gradient(130deg, #292333, #1a1822); border-color: #645071; scroll-margin-top: 130px; }
.home-book-art { display: block; text-decoration: none; }
.home-book-art img { display: block; width: 100%; height: auto; box-shadow: 0 12px 28px #0007; }
.home-book-art span { display: block; margin-top: 12px; color: var(--home-muted); font: .65rem/1.5 Arial, sans-serif; }
.home-page .home-badge { font: 600 .62rem/1.5 Arial, sans-serif; letter-spacing: .11em; text-transform: uppercase; color: #e2c5a3; margin-bottom: 15px; }
.home-page .home-badge-muted { color: #bfcaba; }
.home-book h3 { margin-bottom: 8px; font-size: 2.15rem; }
.home-page .home-book-subtitle { color: var(--home-lilac); font: .76rem/1.5 Arial, sans-serif; margin-bottom: 20px; }
.home-book-copy > p { font-size: .96rem; color: var(--home-muted); margin-bottom: 16px; }
.home-book-copy > .home-text-link { display: block; margin-top: 9px; font-size: .78rem; }
.home-page .home-small { font-size: .82rem; line-height: 1.6; color: var(--home-muted); }
.home-page .home-button-small { font-size: .77rem; padding: 12px 14px; gap: 13px; }
.home-music { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 70px; margin-top: 36px; }
.home-music-art { padding: 24px; background: radial-gradient(ellipse at center, #4d393c, #211d2b 67%); border: 1px solid var(--home-line); }
.home-music-art img { display: block; width: 100%; height: auto; box-shadow: 0 10px 26px #0008; }
.home-music-copy h2 { font-size: clamp(2.5rem, 4vw, 3.6rem); margin-bottom: 23px; }
.home-music-copy > p:not(.home-eyebrow) { color: var(--home-muted); }
.home-music-copy > .home-small { margin-top: 20px; }
.home-heading-note { color: var(--home-muted); font-size: .92rem; }
.home-directory { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid var(--home-line); border-bottom: 1px solid var(--home-line); margin-top: 32px; }
.home-directory-card { display: flex; flex-direction: column; padding: 30px 24px; text-decoration: none; border-right: 1px solid var(--home-line); transition: background .18s ease; }
.home-directory-card:first-child { padding-left: 0; }
.home-directory-card:last-child { border-right: none; }
.home-directory-card:hover { background: #211c2a; }
.home-card-kicker { display: flex; justify-content: space-between; gap: 10px; font: .66rem/1.5 Arial,sans-serif; color: var(--home-lilac); margin-bottom: 24px; }
.home-directory-card h3 { font-size: 1.55rem; margin-bottom: 16px; }
.home-directory-card p { color: var(--home-muted); font-size: .94rem; margin-bottom: 25px; }
.home-card-link { color: #e0d4ee; font: 500 .78rem/1.6 Arial,sans-serif; margin-top: auto; }
.home-directory-card .home-small { font: .68rem/1.6 Arial,sans-serif; margin-top: 14px; }
.home-posts { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 36px; }
.home-post time { font: .68rem/1.6 Arial,sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--home-lilac); }
.home-post h3 { margin: 13px 0 17px; font-size: 1.7rem; }
.home-post h3 a { text-decoration: none; }
.home-post h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.home-post p { color: var(--home-muted); margin-bottom: 18px; }
.home-connect { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 44px; margin: 10px 0 65px; border: 1px solid #504459; background: linear-gradient(110deg,#302739,#201c2a); border-radius: 5px; }
.home-connect h2 { font-size: 2.5rem; margin-bottom: 17px; }
.home-connect p:not(.home-eyebrow) { max-width: 620px; color: var(--home-muted); }
.home-connect .home-eyebrow { margin-bottom: 15px; }
.home-connect-actions { display: flex; flex-direction: column; gap: 14px; align-items: center; flex-shrink: 0; }
.home-skip { position: fixed; top: 8px; left: 12px; z-index: 200; transform: translateY(-200%); background: #17131e; padding: 12px 20px; }
.home-skip:focus { transform: translateY(0); }
.home-visitor-note { margin: 0 0 52px; padding: clamp(28px, 5vw, 52px) clamp(24px, 6vw, 70px); border-top: 1px solid var(--home-line); border-bottom: 1px solid var(--home-line); text-align: center; }
.home-visitor-note blockquote { max-width: 820px; margin: 0 auto; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-style: italic; }
.home-visitor-note blockquote span { color: var(--home-lilac); overflow-wrap: anywhere; }
.home-visitor-note figcaption { margin-top: 23px; color: var(--home-lilac); font: .65rem/1.7 Arial, sans-serif; text-transform: uppercase; letter-spacing: .16em; }
/* A compact navigation on the homepage, with every section still reachable. */
.home-header { padding: 22px 0; }
.home-header .nav { gap: 28px; }
.home-header .nav a { font: .82rem/1.8 Arial,sans-serif; }
.home-header .logo { font-size: 1.5rem; }
.home-mobile-menu { display: none; }
@media (max-width: 1050px) {
  .home-hero { gap: 40px; }
  .home-books { grid-template-columns: 1fr; }
  .home-book { grid-template-columns: 155px minmax(0,1fr); padding: 30px; }
  .home-directory { grid-template-columns: 1fr 1fr; }
  .home-directory-card { padding: 28px; }
  .home-directory-card:first-child { padding-left: 28px; }
  .home-directory-card:nth-child(2) { border-right: 0; }
  .home-directory-card:nth-child(-n+2) { border-bottom: 1px solid var(--home-line); }
  .home-music { gap: 40px; }
}
@media (max-width: 768px) {
  .home-header .nav-container { flex-direction: row; gap: 12px; }
  .home-header .nav { display: none; }
  .home-mobile-menu { display: block; position: relative; font: .9rem/1.6 Arial,sans-serif; }
  .home-mobile-menu summary { cursor: pointer; padding: 12px; color: #e5d6f6; }
  .home-mobile-menu nav { position: absolute; top: 52px; right: 0; width: 230px; max-height: 70vh; overflow: auto; background: #1d1925; border: 1px solid #665575; padding: 12px; box-shadow: 0 12px 30px #0007; }
  .home-mobile-menu nav a { display: block; padding: 12px; color: #f2eee8; text-decoration: none; }
  .home-mobile-menu nav a:hover { background: #393042; }
  .home-wrap { padding: 0 24px; }
  .home-hero { grid-template-columns: 1fr; padding: 44px 0; gap: 35px; }
  .home-hero h1 { font-size: clamp(2.6rem,7.7vw,3.8rem); }
  .home-portrait { display: none; }
  .home-section { padding: 42px 0; }
  .home-section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .home-book { gap: 24px; }
  .home-music { grid-template-columns: 1fr; gap: 30px; margin-top: 0; }
  .home-music-art { max-width: 350px; }
  .home-connect { flex-direction: column; align-items: flex-start; padding: 30px; margin-bottom: 40px; gap: 26px; }
  .home-connect-actions { align-items: flex-start; }
  .home-posts { gap: 30px; }
}
@media (max-width: 480px) {
  .home-announcement a { padding: 12px 20px; font-size: .75rem; gap: 10px; }
  .home-announcement strong { display: block; }
  .home-page .home-eyebrow { font-size: .63rem; }
  .home-lead { font-size: 1rem; }
  .home-actions { gap: 12px; }
  .home-page .home-button { font-size: .78rem; gap: 12px; padding: 13px 16px; }
  .home-book { grid-template-columns: 1fr; padding: 25px; gap: 24px; }
  .home-book-art { max-width: 130px; }
  .home-directory, .home-posts { grid-template-columns: 1fr; }
  .home-directory-card { border-right: 0; border-bottom: 1px solid var(--home-line); padding: 28px 12px; }
  .home-directory-card:first-child { padding-left: 12px; }
  .home-directory-card:last-child { border-bottom: 0; }
  .home-card-kicker { margin-bottom: 16px; }
  .home-post + .home-post { border-top: 1px solid var(--home-line); padding-top: 28px; }
  .home-connect { padding: 26px; }
  .home-connect h2 { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .home-page *, .home-header * { transition: none !important; } }
