/* READABILITY: index-only home shell/toolbar/canvas. Glass→lux-tokens soft-chrome — not here.
 * SECTIONS: tokens | shell | toolbar | canvas | a11y-utils | atmosphere
 */
/* --- tokens --- */
body.lux-route-home {
  --home-bp-sm: 560px;
  --home-bp-md: 900px;
  --home-bp-lg: 1200px;
}
#page-home #lux-home-shell {
  &, * { box-sizing: border-box; }
  :where(h1, h2, h3, p) { margin: 0; }
  .page-hero-title {
    margin: 8px 0 0;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--lux-text);
  }
  .page-hero-copy {
    margin: 10px 0 0;
    max-width: 56ch;
    font-size: 14px;
    line-height: 1.55;
    color: var(--lux-text-muted);
  }
  .lux-hero-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.85fr);
    gap: 18px;
    align-items: stretch;
  }
  .lux-hero-main { min-width: 0; }
}
/* --- shell --- */
#page-home.page-section {
  max-width: none;
  width: 100%;
  margin: 0;
}
#page-home.page-section :is(#lux-home-shell, .lux-home-page, .lux-home-grid) {
  max-width: none;
  width: 100%;
}
#page-home.page-section > #lux-home-shell {
  margin-bottom: 24px;
  display: grid;
  gap: 18px;
}
#page-home > :not(#lux-home-shell) { display: none; }
#page-home .lux-home-grid { display: grid; gap: 18px; }
/* --- static home merged shell (no customize / no inter-panel gutters) --- */
#page-home #lux-home-shell .lux-home-page {
  display: grid;
  gap: 16px;
  width: 100%;
  min-width: 0;
}
#page-home #lux-home-shell .lux-home-merged {
  display: grid;
  gap: 0;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--lux-panel-radius, 22px);
}
#page-home #lux-home-shell .lux-home-band {
  min-width: 0;
}
#page-home #lux-home-shell .lux-home-band + .lux-home-band {
  border-top: 1px solid var(--lux-soft-chrome-border, var(--lux-panel-border));
}
#page-home #lux-home-shell .lux-home-band--full {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
#page-home #lux-home-shell .lux-home-band--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}
#page-home #lux-home-shell .lux-home-band--split > .lux-home-cell {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
#page-home #lux-home-shell .lux-home-band--split > .lux-home-cell + .lux-home-cell {
  border-left: 1px solid var(--lux-soft-chrome-border, var(--lux-panel-border));
}
#page-home #lux-home-shell .lux-home-band--full > *,
#page-home #lux-home-shell .lux-home-cell > * {
  min-width: 0;
  flex: 1 1 auto;
  height: auto;
}
/* --- toolbar --- */
#page-home .lux-home-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 4px 4px 2px;
}
#page-home .lux-home-toolbar strong {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  line-height: 1.02;
  color: var(--lux-text);
}
#page-home .lux-home-toolbar p {
  margin: 8px 0 0;
  max-width: 720px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--lux-text-muted);
}
@media (max-width: 900px) {
  #page-home #lux-home-shell .lux-hero-stage { grid-template-columns: 1fr; }
    #page-home #lux-home-shell .lux-home-band--split {
    grid-template-columns: minmax(0, 1fr);
  }
  #page-home #lux-home-shell .lux-home-band--split > .lux-home-cell + .lux-home-cell {
    border-left: 0;
    border-top: 1px solid var(--lux-soft-chrome-border, var(--lux-panel-border));
  }
}
#page-home #lux-home-shell {
  .lux-builder-card.lux-soft-chrome {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px 18px;
    min-height: 0;
    height: auto;
    overflow: visible;
  }
  .lux-builder-card-foot { flex: 0 0 auto; }
  .lux-builder-card .lux-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
  }
  .lux-builder-card .lux-card-title { font-size: 15px; font-weight: 700; color: var(--lux-text); }
  .lux-builder-card .lux-card-meta {
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lux-text-soft, var(--lux-text-muted));
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .lux-builder-card-foot {
    margin-top: auto;
    padding-top: 4px;
    display: flex;
    justify-content: flex-start;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
}
body.lux-route-home > header, body.lux-route-home > #prof-nav, body.lux-route-home > #admin-nav {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%) !important;
  white-space: nowrap;
  border: 0;
}
body.lux-route-home #faculty-select,
body.lux-route-home #role-switcher-select,
body.lux-route-home .faculty-switcher,
body.lux-route-home .role-switcher {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none !important;
}
body.lux-route-home:not([data-lux-background-animation="on"]) #lux-bg-overlay {
  opacity: var(--lux-overlay-opacity);
  background: radial-gradient(circle at 18% 12%, rgba(var(--lux-bg-glow-rgb), 0.22), transparent 28%), radial-gradient(circle at 82% 78%, rgba(var(--lux-bg-haze-rgb), 0.14), transparent 34%), linear-gradient(180deg, rgba(6, 8, 14, 0), rgba(6, 8, 14, 0.04));
}
/* Atmosphere on/off presentation lives in lux-fouc-ht.css (shared full-paint). */
