/* Hikari Skript — homepage.
 * Editorial layout: spotlight carousel, ticker, ListBoard history, category
 * strips, the records panel and the closing CTA. Tokens (--hs-*) come from
 * site-chrome.css; Playfair Display from fonts-article.css. */

.hs-home { padding-top: 32px; font-family: var(--hs-sans); font-size: 16px; line-height: 1.6; }
/* custom.min.css forces every heading to Mulish 500 with !important; the
   editorial layout wants Playfair at 400 (500 only for the hero and the
   category names), so these have to out-rank it. */
.hs-home h2, .hs-home h3 { font-family: var(--hs-serif); font-weight: 400 !important; }
.hs-home .hs-hero__text h2, .hs-home .hs-category__heading h2 { font-weight: 500 !important; }
.hs-home img { display: block; }

/* ── Section furniture ─────────────────────────────────────────────── */
.hs-section { padding-top: 65px; }
.hs-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.hs-section__head h2 { font: 400 36px/1.2 var(--hs-serif); letter-spacing: -1px; margin: 6px 0 0; }
.hs-eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 11px; font-weight: 650; color: var(--hs-accent); }
.hs-section--divider { border-top: 1px solid var(--hs-line); padding-top: 38px; margin-top: 58px; }

/* ── Spotlight carousel ────────────────────────────────────────────── */
.hs-hero { position: relative; height: 560px; overflow: hidden; border-radius: 3px; background: #1a342d; color: #fff; }
.hs-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.hs-hero__slide.is-active { opacity: 1; visibility: visible; }
.hs-hero__backdrop { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(28px) brightness(.8); transform: scale(1.12); }
.hs-hero__img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.hs-hero__slide::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(9, 21, 22, .77), rgba(9, 21, 22, .12) 88%), linear-gradient(0deg, rgba(9, 21, 22, .78), transparent 75%); }
.hs-hero__text { position: absolute; z-index: 2; left: 48px; right: 48px; bottom: 83px; max-width: 630px; }
.hs-hero__pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .11); font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hs-hero__text h2 { font: 500 clamp(34px, 3.4vw, 51px)/1.15 var(--hs-serif); letter-spacing: -1px; margin: 0 0 26px; max-width: 620px; color: #fff; }
.hs-hero__pill + h2 { margin-top: 19px; }
.hs-hero__text h2 a { color: #fff !important; }
.hs-hero__link { display: inline-flex; align-items: center; gap: 25px; padding: 0 0 7px; border-bottom: 1px solid rgba(255, 255, 255, .47); font-size: 14px; color: #fff !important; }
.hs-hero__link .hs-icon { width: 18px; height: 18px; }
.hs-hero__top { position: absolute; top: 29px; left: 34px; right: 34px; z-index: 2; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.hs-hero__controls { position: absolute; bottom: 24px; left: 48px; right: 33px; z-index: 3; display: flex; align-items: center; gap: 12px; }
.hs-hero__arrows { margin-left: auto; display: flex; gap: 8px; }
.hs-hero__controls .hs-iconbutton { width: 34px; height: 34px; border-color: rgba(255, 255, 255, .31); color: #fff; }
.hs-hero__controls .hs-iconbutton:hover { background: rgba(255, 255, 255, .125); }
.hs-dot { position: relative; width: 34px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; flex-shrink: 0; }
.hs-dot::after { content: ''; position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: rgba(255, 255, 255, .31); }
.hs-dot.is-active::after { background: #fff; }
.hs-hero__count { margin-left: 8px; font-size: 12px; color: #e1e2d9; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hs-hero a:focus-visible, .hs-hero button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* ── Ticker ────────────────────────────────────────────────────────── */
.hs-marquee { display: flex; align-items: center; height: 52px; margin-top: 29px; overflow: hidden; border-top: 1px solid var(--hs-line); border-bottom: 1px solid var(--hs-line); }
.hs-marquee__label { padding-right: 24px; white-space: nowrap; font-size: 11px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--hs-accent); }
.hs-ticker { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.hs-ticker__track { display: flex; width: max-content; font-size: 13px; letter-spacing: .2px; animation: hs-marquee var(--hs-ticker-duration, 45s) linear infinite; }
.hs-ticker__track > span { white-space: nowrap; }
.hs-ticker__track i { font-style: normal; margin: 0 22px; color: var(--hs-accent); }
.hs-marquee:hover .hs-ticker__track, .hs-marquee:focus-within .hs-ticker__track, .hs-marquee.is-paused .hs-ticker__track { animation-play-state: paused; }
.hs-ticker__pause { width: 36px; padding: 0; border: 0; background: none; font-size: 15px; color: var(--hs-ink); cursor: pointer; }
@keyframes hs-marquee { to { transform: translateX(-50%); } }

/* ── ListBoard history ─────────────────────────────────────────────── */
.hs-history-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hs-history-card { display: block; position: relative; overflow: hidden; aspect-ratio: 1 / .98; border-radius: 2px; background: #26312b; color: #fff !important; }
.hs-history-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.hs-history-card:hover img { transform: scale(1.045); }
.hs-history-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .13), transparent 20%, rgba(7, 17, 13, .91)); }
.hs-rank { position: absolute; top: 16px; left: 17px; z-index: 1; font: 400 29px/1 var(--hs-serif); text-shadow: 0 1px 15px #000; }
.hs-rank small { margin-left: 5px; font: 500 10px var(--hs-sans); letter-spacing: 1.2px; text-transform: uppercase; }
.hs-history-card__caption { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 1; }
.hs-history-card__caption span { display: block; padding-right: 30px; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: #d7d9cf; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-history-card__caption h3 { font: 400 23px/1.25 var(--hs-serif); margin: 7px 0 0; color: #fff; }
.hs-history-card__caption .hs-icon { position: absolute; right: 0; top: -26px; width: 22px; height: 22px; }

/* ── Category strips ───────────────────────────────────────────────── */
.hs-category__heading { display: flex; align-items: center; gap: 15px; }
.hs-category__heading h2 { margin: 0; font-size: 38px; letter-spacing: -.8px; }
.hs-category__accent { display: block; flex: 0 0 4px; width: 4px; height: 29px; border-radius: 2px; background: var(--hs-section-color, var(--hs-accent)); }
.hs-category[data-category="anime"] { --hs-section-color: #bd9250; }
.hs-category[data-category="games"] { --hs-section-color: #9280c8; }
.hs-category[data-category="finance"] { --hs-section-color: #57a282; }
.hs-category[data-category="technology"] { --hs-section-color: #629cc6; }
.hs-category[data-category="unskripted"] { --hs-section-color: #c47d85; }

.hs-blog-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; }
.hs-featured { display: block; color: var(--hs-ink) !important; }
.hs-featured__media { position: relative; overflow: hidden; aspect-ratio: 1.8; background: var(--hs-panel); }
.hs-featured__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.hs-featured:hover img { transform: scale(1.035); }
.hs-featured__label { position: absolute; top: 17px; left: 17px; padding: 5px 10px; background: var(--hs-bg); font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--hs-ink); }
.hs-featured h3 { font: 400 29px/1.3 var(--hs-serif); letter-spacing: -.4px; margin: 0; max-width: 540px; }
.hs-featured__excerpt { margin: 11px 0 0; max-width: 510px; font-size: 14px; line-height: 1.6; color: var(--hs-muted); }
.hs-byline { display: flex; gap: 8px; align-items: center; margin-top: 17px; font-size: 12px; color: var(--hs-muted); }
.hs-byline b { font-weight: 500; color: var(--hs-ink); }
.hs-byline__initial { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid var(--hs-line); border-radius: 50%; font: 12px var(--hs-serif); color: var(--hs-ink); }

.hs-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0 8px; font-size: 12px; color: var(--hs-muted); }
.hs-meta__type { font-size: 11px; font-weight: 650; letter-spacing: .8px; text-transform: uppercase; color: var(--hs-accent); }
.hs-meta__sep { width: 3px; height: 3px; border-radius: 100%; background: var(--hs-muted); }

.hs-article-list { display: flex; flex-direction: column; }
/* No dividers or padding between category stories — each row is just its
   min-height, which is how the reference renders (only the Records list
   below draws lines between items). */
.hs-small-story { display: grid; grid-template-columns: 1fr 132px; gap: 20px; min-height: 128px; color: var(--hs-ink) !important; }
.hs-small-story img { width: 100%; height: 96px; align-self: center; object-fit: cover; border-radius: 2px; background: var(--hs-panel); transition: filter .3s; }
.hs-small-story:hover img { filter: brightness(1.08); }
.hs-small-story .hs-meta { margin: 0 0 6px; gap: 8px; font-size: 11px; }
.hs-small-story h3 { font: 400 21px/1.3 var(--hs-serif); letter-spacing: -.2px; margin: 0; }

.hs-compact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 23px; }
.hs-compact-story { display: block; color: var(--hs-ink) !important; }
.hs-compact-story__media { overflow: hidden; aspect-ratio: 1.5; background: var(--hs-panel); }
.hs-compact-story img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.hs-compact-story:hover img { transform: scale(1.04); }
.hs-compact-story h3 { font: 400 24px/1.3 var(--hs-serif); margin: 0; }

/* ── Records panel (always dark) ───────────────────────────────────── */
.hs-records { margin-top: 65px; padding: 39px 36px 36px; border-radius: 2px; background: #1e2b25; color: #f3f2e9; }
.hs-records .hs-section__head { margin-bottom: 29px; }
.hs-records .hs-section__head h2 { color: #f3f2e9; }
.hs-records .hs-eyebrow { color: #d0b878; }
.hs-records .hs-textlink { border-color: #728075; color: #e7e8e0 !important; }
.hs-records .hs-textlink:hover { border-color: #d0b878; color: #d0b878 !important; }
.hs-records__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 33px; }
.hs-record-main { display: block; position: relative; min-height: 355px; overflow: hidden; background: #142019; color: #fff !important; }
.hs-record-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 37%; }
.hs-record-main::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 19, 16, .91), rgba(7, 19, 16, 0) 90%); }
.hs-record-main__content { position: absolute; left: 27px; right: 27px; bottom: 25px; z-index: 1; }
.hs-record-main__content .hs-eyebrow { font-size: 10px; color: #e1d2a7; }
.hs-record-main__content h3 { font: 400 32px/1.2 var(--hs-serif); margin: 10px 0; color: #fff; }
.hs-record-main__content .hs-meta { margin: 0; color: #d1d8cf; }
.hs-record-main__content .hs-meta > span:last-child { display: inline-flex; align-items: center; gap: 6px; }
.hs-record-main__content .hs-meta .hs-icon { width: 14px; height: 14px; }
.hs-record-list .hs-small-story { grid-template-columns: 1fr 109px; padding: 20px 0; border-bottom: 1px solid #48544b; color: #f3f2e9 !important; }
.hs-record-list > .hs-small-story:first-child { padding-top: 0; }
.hs-record-list > .hs-small-story:last-child { border-bottom: 0; padding-bottom: 0; }
.hs-record-list .hs-small-story h3 { font-size: 23px; color: #f3f2e9; }
.hs-record-list .hs-small-story img { height: 97px; background: #142019; }
.hs-record-list .hs-meta { color: #aebaae; }
.hs-record-list .hs-meta__type { color: #d0b878; }

/* ── Closing CTA ───────────────────────────────────────────────────── */
.hs-closing { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin: 70px 0 0; padding: 38px 0; border-top: 1px solid var(--hs-line); border-bottom: 1px solid var(--hs-line); }
.hs-closing h2 { font: 400 35px/1.2 var(--hs-serif); letter-spacing: -1px; margin: 0 0 10px; }
.hs-closing p { margin: 0; font-size: 14px; color: var(--hs-muted); }
.hs-solidlink { display: flex; align-items: center; gap: 35px; padding: 13px 22px; background: var(--hs-ink); font-size: 13px; white-space: nowrap; color: var(--hs-bg) !important; transition: background .2s; }
.hs-solidlink:hover { background: var(--hs-accent); color: #fff !important; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (min-width: 1600px) {
  .hs-hero { height: 610px; }
}
@media (max-width: 1200px) {
  .hs-hero { height: 520px; }
  .hs-hero__text h2 { font-size: 46px; }
  .hs-small-story { grid-template-columns: 1fr 110px; gap: 15px; }
  .hs-history-card__caption h3 { font-size: 21px; }
}
@media (max-width: 960px) {
  .hs-hero { height: 510px; }
  .hs-hero__text { left: 32px; right: 32px; }
  .hs-hero__text h2 { font-size: 43px; max-width: 520px; }
  .hs-hero__controls { left: 32px; }
  .hs-history-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .hs-history-card { aspect-ratio: 1.3; }
  .hs-history-card__caption h3 { font-size: 26px; }
  .hs-blog-grid { gap: 25px; }
  .hs-small-story { grid-template-columns: 1fr 88px; gap: 12px; }
  .hs-small-story img { height: 83px; }
  .hs-small-story h3 { font-size: 19px; }
  .hs-compact-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; }
  .hs-records__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hs-record-list .hs-small-story { grid-template-columns: 1fr 75px; }
  .hs-record-list .hs-small-story h3 { font-size: 20px; }
  .hs-record-main__content h3 { font-size: 29px; }
}
@media (max-width: 700px) {
  .hs-home { padding-top: 18px; }
  .hs-hero { height: min(525px, 78vh); }
  .hs-hero__slide::after { background: linear-gradient(0deg, rgba(9, 21, 22, .94), rgba(9, 21, 22, .27) 100%); }
  .hs-hero__top { top: 22px; left: 22px; right: 22px; font-size: 10px; }
  .hs-hero__text { left: 23px; right: 23px; bottom: 79px; }
  .hs-hero__text h2 { font-size: 35px; letter-spacing: -.6px; margin-bottom: 23px; }
  .hs-hero__controls { left: 23px; right: 21px; }
  .hs-marquee { height: 45px; margin-top: 22px; }
  .hs-marquee__label { padding-right: 10px; font-size: 9px; letter-spacing: 1px; }
  .hs-ticker__track { font-size: 12px; }
  .hs-section { padding-top: 42px; }
  .hs-section__head { gap: 12px; margin-bottom: 21px; }
  .hs-section__head h2 { font-size: 29px; }
  .hs-eyebrow { font-size: 9px; letter-spacing: 1.3px; }
  .hs-textlink { gap: 9px; font-size: 11px; }
  .hs-history-grid { gap: 12px; }
  .hs-history-card { aspect-ratio: .85; }
  .hs-history-card__caption { left: 13px; right: 12px; bottom: 15px; }
  .hs-history-card__caption h3 { font-size: 20px; }
  .hs-history-card__caption span { font-size: 8px; letter-spacing: 1px; padding-right: 0; }
  .hs-history-card__caption .hs-icon { display: none; }
  .hs-rank { top: 12px; left: 13px; font-size: 24px; }
  .hs-rank small { font-size: 8px; }
  .hs-section--divider { margin-top: 42px; padding-top: 28px; }
  .hs-category__heading { gap: 12px; }
  .hs-category__heading h2 { font-size: 31px; }
  .hs-category__accent { flex-basis: 3px; width: 3px; height: 24px; }
  .hs-blog-grid { grid-template-columns: 1fr; gap: 25px; }
  .hs-featured h3 { font-size: 28px; }
  .hs-featured__media { aspect-ratio: 1.6; }
  .hs-small-story { grid-template-columns: 1fr 108px; gap: 17px; min-height: 122px; }
  .hs-hero__text h2 { margin-top: 16px; }
  .hs-small-story h3 { font-size: 21px; }
  .hs-small-story img { height: 90px; }
  .hs-compact-grid { gap: 26px 15px; }
  .hs-compact-story h3 { font-size: 21px; }
  .hs-compact-story .hs-meta { gap: 6px; font-size: 10px; }
  .hs-records { margin-top: 42px; padding: 26px 19px; }
  .hs-records .hs-section__head h2 { font-size: 28px; }
  .hs-records__grid { grid-template-columns: 1fr; gap: 25px; }
  .hs-record-main { min-height: 330px; }
  .hs-record-main__content { left: 20px; right: 20px; bottom: 19px; }
  .hs-record-main__content h3 { font-size: 30px; }
  .hs-record-list .hs-small-story { grid-template-columns: 1fr 100px; }
  .hs-record-list .hs-small-story h3 { font-size: 23px; }
  .hs-closing { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 43px; padding: 28px 0; }
  .hs-closing h2 { font-size: 31px; }
}
@media (max-width: 380px) {
  .hs-hero__controls { gap: 8px; }
  .hs-dot { width: 25px; }
  .hs-hero__count { margin-left: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-hero__slide, .hs-history-card img, .hs-featured img, .hs-compact-story img { transition: none; }
  .hs-ticker__track { animation: none; }
}
