/* ==========================================================================
   Homepage only (src/pages/index.html). Loaded after site.css.
   Source: Concept-Beacon-Digital mockup. Tokens and components come from
   site.css; this file only places layers and sets section backgrounds.
   No raw hex here: var(--token) only.
   ========================================================================== */

/* 1. Hero ----------------------------------------------------------------- */
.home-hero{min-height:760px}
.home-hero__beam{right:22%;top:230px;width:78%}
.home-hero__orb{right:6%;top:60px;width:560px;height:560px}
.home-hero__fog-a{left:-15%;top:380px;width:90%;height:360px}
.home-hero__fog-b{right:-20%;top:470px;width:80%;height:320px}

/* Frosted "Today in The Beacon" card. Static: no reveal, no transition. */
.home-today{
  position:absolute;z-index:3;
  right:max(4%, calc((100% - var(--wrap)) / 2 + var(--gutter)));
  top:400px;width:380px;max-width:90%;
  padding:22px 24px;display:flex;flex-direction:column;gap:6px;
}
.home-today__meta{display:flex;justify-content:space-between;gap:12px;font-weight:500;font-size:.8125rem;color:var(--text-muted);padding-bottom:6px}
.home-today__story{display:flex;flex-direction:column;gap:4px;padding:10px 0;text-decoration:none;min-height:44px}
.home-today__story + .home-today__story{border-top:1px solid var(--line)}
.home-today__story:hover .home-today__title{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.home-today__tag{font-weight:500;font-size:.8125rem;color:var(--accent-text-sm)}
.home-today__title{font-size:1rem;font-weight:500;line-height:1.4}
.home-today__more{display:inline-flex;align-items:center;align-self:flex-start;min-height:44px;font-size:.9375rem;font-weight:500;text-decoration:underline;text-decoration-color:color-mix(in srgb, currentColor 35%, transparent);text-underline-offset:6px}
.home-today__more:hover{text-decoration-color:currentColor}

/* 2. Ticker sits on the deep fog band between hero and verify */
.home-ticker{padding-block:6px}
.home-ticker .ticker__text{display:inline-flex;align-items:center;min-height:44px}

/* 3. Others guess. We verify. You move first. ----------------------------- */
.home-verify{background:var(--fog-deep)}
.home-verify__inner{padding-top:clamp(3.5rem, 7vw, 5rem);padding-bottom:clamp(5rem, 10vw, 8.75rem);display:flex;flex-direction:column;gap:6px}
.home-verify__line{font-weight:300;font-size:clamp(2.75rem, 6vw, 5.25rem);line-height:1.08;letter-spacing:-.02em}
.home-verify__line--1{color:var(--muted-faint)}
.home-verify__line--2{color:var(--muted)}
.home-verify__line--3{font-weight:600;color:var(--text)}
.home-channels{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:44px}
.home-channels__intro{font-size:1rem;font-weight:500;color:var(--text-muted);margin-right:8px}
.home-channels__list{display:flex;flex-wrap:wrap;gap:10px;list-style:none}

/* 4. Four things you keep ------------------------------------------------- */
.home-keeps{position:relative;overflow:hidden;background:linear-gradient(180deg, var(--fog-deep) 0%, var(--mist) 100%)}
.home-keeps__fog{left:40%;top:-80px;width:70%;height:300px}
.home-keeps__inner{position:relative;padding-top:clamp(2rem, 4vw, 2.5rem);padding-bottom:clamp(4.5rem, 9vw, 7.5rem)}
.home-keeps__copy{--stack-gap:1.625rem}
.home-keeps .photo{max-width:560px;width:100%}
/* Until the photo file is delivered, the slot shows only the gradient.
   ::after renders only on a broken <img> (never on a loaded one), so it hides
   the broken-image glyph and alt text; the alt text stays in the DOM. */
.photo > img{position:relative;color:transparent}
.photo > img::after{content:"";position:absolute;inset:0;background:linear-gradient(170deg, var(--photo-a), var(--photo-b))}

/* 5. Six ways in ---------------------------------------------------------- */
.home-ways{background:var(--mist);padding-top:clamp(2rem, 4vw, 2.5rem);padding-bottom:clamp(4.5rem, 9vw, 7.5rem)}
.home-ways .section-head{gap:.5rem}
.home-ways__link{align-self:flex-start}
.home-ways .bento__name{margin:0}

/* 6. Closing band continues the mist-to-fog fade */
.page-home .band{background:linear-gradient(180deg, var(--mist) 0%, var(--fog-deep) 100%)}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 980px){
  .home-hero{min-height:0}
  .home-hero__beam{display:none} /* would cross the lead text once the column narrows */
  .home-today{max-width:none}
}
@media (max-width: 719.98px){
  .home-hero__orb{right:-30%;top:20px;width:420px;height:420px}
  .home-channels{margin-top:32px}
}
