/* The homepage (owner, Oct. 5, 2026). Loads after
   styles.css, and every rule here is scoped to the homepage's own blocks, so
   no other page changes. Top to bottom: the news front, the Insider, the
   week, the Concierge doors, the guides, the livestreams, TN Trusted and the
   partner split, the leaderboard, the Insider again. */

/* ---------- shared: the small label over a board's name ---------- */
.hm-k {
    margin: 0; font-family: var(--label); font-weight: var(--label-w); font-size: 11px;
    line-height: 1.3; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
/* The boards' names a step down from the Concierge size, so the front page
   reads as one paper rather than six posters. */
[data-page="home"] .sec-head h2 { font-size: clamp(28px, 3.3vw, 42px); }
[data-page="home"] .sec-head-title { gap: 8px; }
[data-page="home"] { --home-gap: clamp(56px, 7vw, 88px); }

/* The homepage's night (owner, Oct. 7, 2026): worked out here through a
   day of steps, then taken site-wide in base.css as a soft, muted black
   (#0D111A, #0F141F), so the tokens now come from there. */
/* All the homepage's night bands on one value: the livestreams band drew
   --bg, a step off the news front, the Insider and the footer around it. */
[data-page="home"] .hm-watch::before { background: var(--deep); }

/* ---------- 1. the news front ---------- */
.nf { background: var(--deep); color: var(--on-ink); }
.nf-in { max-width: var(--max); margin: 0 auto; padding: clamp(10px, 1.4vw, 16px) var(--gut) clamp(24px, 3vw, 36px); }
.nf-top {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding-bottom: 10px; margin-bottom: 16px; border-bottom: 1px solid rgba(var(--hl), .12);
}
.nf-now {
    margin: 0; display: flex; align-items: center; gap: 8px;
    font-family: var(--label); font-weight: var(--label-w); font-size: 11px;
    letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink-mute);
}
/* HAPPENING NOW in capitals here by the owner's call (Oct. 5, 2026). */
.nf-now { color: var(--live); font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 14px; letter-spacing: .08em; }
/* A touch lower, nearer the rule under it (owner, Oct. 8, 2026). */
.nf-now { position: relative; top: 5px; }

.nf-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); }

/* The lead: one big picture with the headline over its foot. */
.nf-lead {
    position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r);
    display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px;
    color: #fff; text-decoration: none; border: 1px solid var(--ink-hair);
}
.nf-lead-ph { position: absolute; inset: 0; z-index: -2; }
.nf-lead-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .8s var(--ease); }
.nf-lead:hover .nf-lead-ph img { transform: scale(1.03); }
.nf-lead::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(0deg, rgba(13, 17, 26, .96) 8%, rgba(13, 17, 26, .55) 45%, rgba(13, 17, 26, 0) 75%);
}
.nf-lead-b { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 3vw, 36px); max-width: 720px; }
.nf-lead-t {
    font-family: var(--display); font-weight: 900; font-stretch: 108%;
    font-size: clamp(24px, 2.6vw, 35px); line-height: 1.05; letter-spacing: -.03em; text-wrap: balance;
}
.nf-lead-d { font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .82); max-width: 58ch; }
.nf-lead-go { font-weight: 600; font-size: 15px; color: var(--go); }

.nf-k {
    font-family: var(--label); font-weight: var(--label-w); font-size: 10.5px;
    letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink-mute);
}
.nf-k.is-hot { align-self: flex-start; background: var(--go); color: var(--on-go); padding: 5px 9px; border-radius: 4px; }
/* Partner labels blend in: gray, never green. */
.nf-partner { color: var(--on-ink-mute); margin-left: 4px; }
.nf-partner::before { content: "· "; color: var(--on-ink-mute); }

/* The side: four stories, picture left, headline right. */
.nf-side { display: flex; flex-direction: column; min-width: 0; }
.nf-item {
    display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: center;
    padding: 14px 0; text-decoration: none; color: var(--on-ink);
    border-bottom: 1px solid rgba(var(--hl), .09);
}
.nf-item:first-child { padding-top: 0; }
.nf-item-ph { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-sm); }
.nf-item-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.nf-item:hover .nf-item-ph img { transform: scale(1.05); }
.nf-item-b { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nf-item-t { font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1.2; letter-spacing: -.01em; }
.nf-item:hover .nf-item-t { color: var(--go); }
.nf-more { margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--link); text-decoration: none; }

/* ---------- 2. the Insider: a card on the news front's night ---------- */
.ins { background: var(--deep); color: var(--on-ink); padding: 0 var(--gut) clamp(48px, 6vw, 72px); scroll-margin-top: calc(var(--hdr) + 16px); }
.ins-card {
    max-width: calc(var(--max) - 2 * var(--gut)); margin: 0 auto;
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(28px, 4vw, 64px); align-items: center;
    padding: clamp(26px, 4vw, 48px);
    border-radius: var(--r-lg); border: 1px solid rgba(var(--hl), .09);
    background:
        radial-gradient(70% 120% at 0% 0%, rgba(var(--site-rgb), .11), transparent 55%),
        linear-gradient(180deg, #181D28, #12161F);
}
.ins-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ins-k {
    margin: 0; display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--label); font-weight: var(--label-w); font-size: 11px;
    letter-spacing: .18em; text-transform: uppercase; color: var(--go);
}
.ins-k .ic { width: 18px; height: 18px; }
.ins-h {
    margin: 0; font-family: var(--display); font-weight: 900; font-stretch: 112%;
    font-size: clamp(32px, 3.8vw, 50px); line-height: .98; letter-spacing: -.03em; color: var(--on-ink); text-wrap: balance;
}
.ins-h em { font-style: normal; color: var(--go); }
.ins-lede { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--on-ink-body); max-width: 48ch; }
.ins-act { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ins-form { width: 100%; }
.ins .nl-row, .ins-end .nl-row { background: rgba(255, 255, 255, .06); border-color: rgba(var(--hl), .16); padding: 6px; }
.ins .nl-row .input, .ins-end .nl-row .input { min-height: 48px; font-size: 16px; color: var(--on-ink); }
.ins .nl-row .btn, .ins-end .nl-row .btn { min-height: 48px; padding: 0 26px; }
.ins-proof {
    list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0;
    font-size: 13.5px; color: var(--on-ink-mute);
}
.ins-proof li + li::before { content: "·"; margin: 0 10px; color: rgba(var(--hl), .3); }
.ins-proof b { color: var(--on-ink); font-weight: 700; }

/* ---------- 3. the week ---------- */
.hm-events .spot-ask { gap: 8px; padding: 22px; text-align: center; }
.hm-events .spot-ask-d { max-width: 30ch; }

.wk3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; margin-top: 16px; }
/* Ongoing Events is a short card at the top of its column; it doesn't
   stretch to the bottom of This Week (owner, Oct. 6, 2026). */
.wk3-stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; align-self: start; }
.wk3-stack > .wk3-col { flex: none; }
.wk3 li { break-inside: avoid; }
.wk3-col {
    display: flex; flex-direction: column; min-width: 0;
    padding: 18px 20px 16px; border-radius: var(--r);
    background: var(--surface); border: 1px solid var(--line);
}
.wk3-h {
    display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
    margin: 0 0 2px; padding-bottom: 12px; border-bottom: 2px solid var(--text);
}
.wk3-h .n {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: 22px; line-height: 1.1; letter-spacing: -.02em;
}
.wk3-h .d {
    font-family: var(--label); font-weight: var(--label-w); font-size: 10.5px;
    letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); white-space: nowrap;
}
.wk3 ul { list-style: none; margin: 0; padding: 0; flex: 1; }
.wk3-row {
    display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; align-items: baseline;
    padding: 11px 0; border-bottom: 1px solid var(--row-div); color: var(--text);
}
.wk3 li:last-child .wk3-row { border-bottom: 0; }
.wk3-w {
    font-family: var(--label); font-weight: 800; font-size: 12.5px;
    letter-spacing: .1em; text-transform: uppercase; color: var(--text); white-space: nowrap;
}
.wk3-w.is-today { color: var(--gold); }
.wk3-w.is-last { color: var(--gold); }
.wk3-b { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
/* The events page's title face (styles.css .evt-title; owner, Oct. 8, 2026; was the body face at 600). */
.wk3-t { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 17px; line-height: 1.2; letter-spacing: -.02em; transition: color .15s; }
.wk3-row:hover .wk3-t { color: var(--gold); }
.wk3-s { font-size: 14px; line-height: 1.4; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk3-more {
    align-self: flex-start; margin-top: 12px; padding-bottom: 2px;
    font-weight: 600; font-size: 14px; color: var(--text); border-bottom: 1px solid var(--line-2);
}
.wk3-more:hover { border-color: var(--gold); }

/* "let us" in the Concierge line goes to nashvilletnconcierge.com. */
.hm-concierge-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hm-concierge-link strong { font-weight: 700; color: var(--text); }
.hm-concierge-link:hover { text-decoration-color: var(--gold); }

/* ---------- 4. the Concierge doors ---------- */
.hm-visit .door { aspect-ratio: 5 / 6; }
.door-b { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.door-d { font-size: 13.5px; line-height: 1.4; color: rgba(243, 239, 229, .82); max-width: 24ch; }

/* ---------- 5. guides: the newest one big, three beside it ---------- */
.hm-guides .gcards { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: repeat(3, auto); gap: 16px; }
.hm-guides .gcard:first-child { grid-row: span 3; }
.hm-guides .gcard:first-child .gcard-media { aspect-ratio: auto; flex: 1; min-height: 280px; }
.hm-guides .gcard:first-child .gcard-body { flex: none; padding: 22px 24px 26px; }
.hm-guides .gcard:first-child .gcard-t { font-size: clamp(26px, 2.6vw, 34px); }
.hm-guides .gcard:not(:first-child) { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); }
.hm-guides .gcard:not(:first-child) .gcard-media { aspect-ratio: auto; height: 100%; min-height: 150px; }
.hm-guides .gcard:not(:first-child) .gcard-body { padding: 16px 20px; gap: 6px; justify-content: center; }
.hm-guides .gcard:not(:first-child) .gcard-t { font-size: clamp(19px, 1.6vw, 22px); }
.hm-guides .gcard:not(:first-child) .gcard-d {
    font-size: 14px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}

/* ---------- 6. livestreams ---------- */
.hm-ig { gap: 8px; }
.hm-ig .ic { width: 17px; height: 17px; }

/* ---------- 7. the trip planner and TN Trusted, side by side (Oct. 8, 2026;
   was TN Trusted and the home-promo sponsor slot) ---------- */
.hm-biz { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
/* The trip planner leaves the site: the guide card's outlined arrow circle
   (base.css .gcard-out) sits in the photo's top corner, on a white disc so
   it reads on the night photo. */
.hm-biz .promo { position: relative; }
.hm-biz .gcard-out { top: 16px; right: 16px; width: 42px; height: 42px; background: rgba(255, 255, 255, .92); }
.hm-biz .promo:hover .gcard-out { transform: translate(2px, -2px); }
.hm-biz .promo { grid-template-columns: 1fr; grid-template-rows: auto 1fr; width: 100%; border-radius: var(--r-lg); }
.hm-biz .promo-media { min-height: 0; aspect-ratio: 16 / 9; }
.hm-biz .promo-media::after { background: linear-gradient(to top, var(--surface), transparent 45%); }
.hm-biz .promo-body { justify-content: flex-start; padding: 8px clamp(24px, 3vw, 36px) clamp(26px, 3vw, 36px); gap: 14px; }
.hm-biz .promo-t { font-size: clamp(24px, 2.3vw, 32px); }
.hm-biz .promo-d { font-size: 15px; }
/* Light cards on the cream page (owner, Oct. 5, 2026): the photo fades into
   white, the type is ink, and the tags stay neutral. */
.hm-biz .promo {
    --surface: #FFFFFF; --text: #15191F; --text-2: #4A515C; --line-2: rgba(21, 25, 31, .22);
    --accent: #15191F; border-color: rgba(21, 25, 31, .1);
}
.hm-biz .promo-tag { color: #4A515C; border-color: rgba(21, 25, 31, .2); }

/* ---------- 8. the leaderboard sits on the night that closes the page ---------- */
[data-page="home"] main > .sec + .adslot { margin-top: clamp(40px, 5vw, 56px); }

/* ---------- 9. the Insider, short ---------- */
.ins-end { margin-top: clamp(40px, 5vw, 56px); border-top: 1px solid rgba(var(--hl), .08); background: var(--deep); }
.ins-end-in {
    max-width: var(--max); margin: 0 auto; padding: clamp(32px, 4vw, 48px) var(--gut);
    display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
}
.ins-end-copy { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ins-end-h {
    margin: 0; font-family: var(--display); font-weight: 900; font-stretch: 112%;
    font-size: clamp(22px, 2.4vw, 30px); line-height: 1.08; letter-spacing: -.02em; color: var(--on-ink);
}
.ins-end-form { width: 100%; max-width: 480px; }

/* ---------- narrower screens ---------- */
@media (max-width: 1080px) {
    .wk3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
    .nf-grid, .ins-card, .hm-biz { grid-template-columns: 1fr; }
    .nf-lead { min-height: 420px; }
    .hm-guides .gcards { grid-template-columns: 1fr; }
    .hm-guides .gcard:first-child { grid-row: auto; }
    .hm-guides .gcard:first-child .gcard-media { aspect-ratio: 16 / 10; flex: none; min-height: 0; }
}
@media (max-width: 700px) {
    /* The three columns become cards a thumb swipes through. */
    .wk3 {
        display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%;
        overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
        margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1);
        padding: 0 var(--gut) 4px; scroll-padding: 0 var(--gut);
        /* Each card keeps its own height, so Ongoing Events isn't a tall
           empty box beside This Week. */
        align-items: start;
    }
    .wk3::-webkit-scrollbar { display: none; }
    .wk3-col { scroll-snap-align: start; }
    .wk3-stack { display: contents; }
    .wk3-col ul, .wk3-col.is-wide ul { columns: 1; }
    .hm-visit .door { aspect-ratio: 1 / 1; }
    .door-d { display: none; }
}
@media (max-width: 520px) {
    .nf-wx .wx-place, .nf-wx .wx-place + .sep { display: none; }
    .nf-lead { min-height: 380px; }
    .nf-lead-d { display: none; }
    .nf-item { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
    .nf-item-t { font-size: 15.5px; }
    .ins-card { padding: 22px 18px; }
    .ins .nl-row, .ins-end .nl-row { flex-direction: column; align-items: stretch; border-radius: 18px; }
    .ins .nl-row .btn, .ins-end .nl-row .btn { width: 100%; }
    .hm-guides .gcard:not(:first-child) { grid-template-columns: 112px minmax(0, 1fr); }
    .hm-guides .gcard:not(:first-child) .gcard-media { min-height: 112px; }
    .hm-guides .gcard:not(:first-child) .gcard-d { display: none; }
}
.wk3-none { padding: 10px 0; font-size: 14px; color: var(--text-3); }
