/* The permanent public homepage. Tokens come from jl-auth.css (the public layout); the Featured
   carousel and the Article Reader use jl-content.css. Dark charcoal surfaces, red as an accent only. */

.hm-main { flex: 1; }
.hm-wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }

.btn-ghost { background: transparent; color: var(--ink); border-color: #8a8a96; }
.btn-ghost:hover { border-color: #fff; color: #fff; }

/* Hero: the permanent photography is not supplied yet, so the stage is built from restrained CSS light
   (never the temporary construction-page artwork). */
.hm-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background:
  radial-gradient(120% 90% at 85% 10%, rgba(208, 22, 28, 0.38), rgba(5, 5, 7, 0) 55%),
  radial-gradient(80% 70% at 100% 100%, rgba(255, 42, 42, 0.16), rgba(5, 5, 7, 0) 60%),
  linear-gradient(180deg, #0b0b10 0%, #050507 100%); }
.hm-hero-glow { position: absolute; inset: 0; pointer-events: none; background:
  repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 2px, rgba(255, 255, 255, 0) 2px 46px); mask-image: linear-gradient(90deg, transparent 20%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 100%); }
.hm-hero-inner { position: relative; padding-top: clamp(40px, 8vw, 96px); padding-bottom: clamp(36px, 6vw, 72px); }
.hm-hero h1 { margin: 0 0 14px; font-size: clamp(2.2rem, 6.4vw, 4.4rem); line-height: 1.04; letter-spacing: 0.01em; text-transform: uppercase; font-weight: 800; }
.hm-hero-lede { margin: 0 0 6px; font-size: clamp(1.15rem, 2.4vw, 1.6rem); }
.hm-hero-sub { margin: 0 0 24px; color: var(--ink-soft); max-width: 46ch; }
.hm-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hm-roles { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 0; padding: 0; }
.hm-roles li { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: var(--ink-soft); }
.hm-roles strong { color: var(--ink); }
.hm-role-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; font-size: 1.5rem; color: var(--accent-ink); }

/* Sections */
.hm-section { padding: clamp(28px, 4.5vw, 52px) 0; border-bottom: 1px solid var(--line); }
.hm-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.hm-head h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.9rem); white-space: nowrap; }
.hm-head::after { content: ""; order: 1; flex: 1; height: 1px; background: linear-gradient(90deg, var(--accent), rgba(208, 22, 28, 0.15)); }
.hm-more { order: 2; white-space: nowrap; color: var(--accent-ink); text-decoration: none; font-weight: 600; }
.hm-more:hover { color: #fff; text-decoration: underline; }

.hm-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.hm-events { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hm-artists { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hm-venues { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.hm-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color 150ms, transform 150ms; }
.hm-card:hover, .hm-card:focus-within { border-color: #555563; transform: translateY(-2px); }
.hm-card a { display: block; color: inherit; text-decoration: none; height: 100%; }
.hm-card-media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #15151c, #0b0b10); overflow: hidden; }
.hm-card-media-tall { aspect-ratio: 4 / 3; }
.hm-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-date { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; align-items: center; min-width: 46px; padding: 5px 8px; border-radius: 6px; background: var(--accent); color: #fff; line-height: 1.1; }
.hm-date span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; }
.hm-date strong { font-size: 1.35rem; }
.hm-card-body { padding: 12px 14px 14px; }
.hm-card-body h3 { margin: 0 0 4px; font-size: 1.05rem; line-height: 1.25; }
.hm-card-body p { margin: 0 0 3px; font-size: 0.92rem; color: var(--ink-soft); }
.hm-card-foot { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.hm-card-link { color: var(--accent-ink); font-weight: 600; white-space: nowrap; }
.hm-next { color: var(--ink-soft); }

/* About */
.hm-about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 36px; align-items: center; }
.hm-about h2 { margin: 0 0 14px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.hm-about p { margin: 0 0 18px; color: var(--ink-soft); max-width: 46ch; }
.hm-triad { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hm-triad li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; flex: 1; font-size: 0.9rem; color: var(--ink-soft); }
.hm-triad strong { color: var(--ink); letter-spacing: 0.06em; }
.hm-triad-ico { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border: 2px solid var(--accent); border-radius: 50%; font-size: 2rem; color: var(--accent-ink); margin-bottom: 8px; }
.hm-triad-sep { flex: 0 0 auto !important; color: var(--ink-faint) !important; font-size: 1.6rem !important; }

/* Find your place */
.hm-place { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hm-place-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.hm-place-card h3 { margin: 0; font-size: 1.25rem; }
.hm-place-card ul { margin: 0 0 6px; padding-left: 1.1em; color: var(--ink-soft); flex: 1; }
.hm-place-note { margin: 0; font-size: 0.88rem; color: var(--ink-faint); }

/* Follow */
.hm-follow-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hm-follow h2 { margin: 0; font-size: 1.15rem; }
.hm-follow ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; flex-wrap: wrap; }
.hm-follow a { color: var(--ink-soft); text-decoration: none; padding: 6px 2px; }
.hm-follow a:hover { color: #fff; text-decoration: underline; }

/* Full footer (HOME-10) */
.site-footer-full { display: grid; grid-template-columns: auto 1fr auto; gap: 14px 28px; align-items: center; }
.site-footer-full .logo img { display: block; height: 35px; width: auto; }
.site-footer-full .footer-nav, .site-footer-full .footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer-full .footer-copy { grid-column: 1 / -1; text-align: right; font-size: 0.85rem; }

/* Header: the signed-in swap (jl-home.js) */
.account-menu-wrap { margin-left: auto; }

@media (max-width: 1100px) {
  .hm-events { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-artists { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .hm-events { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .hm-events .hm-card { flex: 0 0 72%; scroll-snap-align: start; }
  .hm-about-grid, .hm-place { grid-template-columns: 1fr; }
  .hm-triad { flex-wrap: wrap; justify-content: center; }
  .hm-triad-sep { display: none !important; }
  .hm-head h2 { white-space: normal; }
  .site-footer-full { grid-template-columns: 1fr; }
  .site-footer-full .footer-copy { text-align: left; }
  .hm-hero-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .hm-artists { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hm-card { transition: none; }
  .hm-card:hover, .hm-card:focus-within { transform: none; }
}
