/* Discover SLC's own stylesheet (design/specs/discover-slc.md; Rod 11/27: "its own brand, its own chrome, own theme").
   Linked only by its own root layout (src/zones/slc/SlcLayout.tsx); the personal site's site.css never loads here.
   The brand tokens are a local prototype until the design system's `slc` brand ships (Designer folds these in). */
[data-brand="slc"] {
  --md-sys-color-primary: light-dark(#2b3f8f, #9db4ff);
  --md-sys-color-surface-tint: light-dark(#2b3f8f, #9db4ff);
  --md-sys-color-on-primary: light-dark(#ffffff, #10183f);
  --md-sys-color-primary-container: light-dark(#dde1ff, #1f2f6e);
  --md-sys-color-on-primary-container: light-dark(#10183f, #dde1ff);
  --md-sys-color-background: light-dark(#f8f9fc, #101216);
  --md-sys-color-surface: light-dark(#f8f9fc, #101216);
  --slc-amber: #f0a24a;
  --gutter: 16px;
}
@media (min-width: 600px) { [data-brand="slc"] { --gutter: 24px; } }
body.slc { margin: 0; background: var(--md-sys-color-surface); color: var(--md-sys-color-on-surface); }
.slc-skip { position: absolute; left: -9999px; }
.slc-skip:focus { left: var(--space-4); top: var(--space-4); z-index: 10; }
.slc-col { max-width: 72rem; margin: 0 auto; padding: var(--space-8) var(--gutter) 0; }
.slc main a { color: var(--md-sys-color-primary); text-underline-offset: 3px; }
.slc main section { padding: var(--space-12) 0 0; }
.project-title { margin: 0 0 var(--space-4); }

/* Header: 64px, mark + wordmark, section links from 840px, Menu below it, the language menu at the right. */
.slc-bar { position: relative; display: flex; align-items: center; gap: var(--space-6); min-height: 64px; padding: 0 var(--gutter);
  border-bottom: 1px solid var(--md-sys-color-outline-variant); background: var(--md-sys-color-surface); }
.slc-brand { display: inline-flex; align-items: center; gap: var(--space-3); min-height: 48px; margin-right: auto; text-decoration: none;
  color: var(--md-sys-color-on-surface); font: 700 var(--md-sys-typescale-title-large-size, 1.375rem)/1 var(--md-ref-typeface-brand); }
.slc-brand img { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.slc-links { display: none; gap: var(--space-2); }
.slc-links a, .slc-sheet-links a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-3); text-decoration: none;
  color: var(--md-sys-color-on-surface-variant); font-weight: 500; border-bottom: 3px solid transparent; }
.slc-links a:hover { color: var(--md-sys-color-on-surface); }
.slc-links a[aria-current="page"] { color: var(--md-sys-color-on-surface); border-bottom-color: var(--slc-amber); }
.slc-menu { display: none; gap: var(--space-2); min-height: 48px; }
@media (min-width: 840px) { .slc-links { display: flex; } }
@media (max-width: 839.98px) {
  [data-js] .slc-menu { display: inline-flex; }
  [data-js] .slc-bar > .slc-lang { display: none; }
}
.slc-sheet { width: 100%; max-width: 28rem; height: 100%; max-height: 100%; margin: 0 0 0 auto; padding: var(--space-4) 0; }
.slc-close { min-width: 48px; min-height: 48px; }
.slc-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--space-4) var(--space-4); }
.slc-sheet-links { display: flex; flex-direction: column; }
.slc-sheet-links a { min-height: 56px; padding: 0 var(--space-6); border-bottom: 0; border-left: 3px solid transparent; }
.slc-sheet-links a[aria-current="page"] { border-left-color: var(--slc-amber); color: var(--md-sys-color-on-surface); }
.slc-sheet .slc-lang { padding: var(--space-6); }

/* Footer: one block, the mark and name, the freshness line, Privacy. No personal-site links. */
.slc-foot { max-width: 72rem; margin: var(--space-16) auto 0; padding: var(--space-8) var(--gutter); border-top: 1px solid var(--md-sys-color-outline-variant); }
.slc-foot p { margin: 0 0 var(--space-2); }
.slc-foot-brand { display: flex; align-items: center; gap: var(--space-2); }
.slc-foot-brand img { border-radius: 6px; }
.slc-foot a { display: inline-flex; align-items: center; min-height: 48px; color: var(--md-sys-color-primary); }

/* The page (design/specs/discover-slc.md "image-forward and fun"; prototype design/specs/slc-prototype/): the season's
   plate full-bleed, then the AI label, title and lede on the surface; a quiet filter bar; image-led cards. */
.slc-wrap { box-sizing: border-box; max-width: 70rem; margin: 0 auto; padding: 0 var(--gutter); }
.slc-hero { height: clamp(240px, 42vw, 460px); overflow: hidden; }
.slc-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; display: block; }
.slc-top { padding: var(--space-6) 0 var(--space-4); }
.slc-ai { margin: 0 0 var(--space-4); font-size: 14px; line-height: 1.43; color: var(--md-sys-color-on-surface-variant); }
.slc-h1 { margin: 0 0 var(--space-3); font: 700 clamp(2.25rem, 6vw, 4rem)/1.02 var(--md-ref-typeface-brand); letter-spacing: -0.02em; }
.slc-lede { margin: 0; font-size: 1.25rem; line-height: 1.5; color: var(--md-sys-color-on-surface-variant); max-width: 34rem; }

/* The filter bar: no card, one row between hairlines; on phones one "Filters" button and the count. */
.slc-filterbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); padding: var(--space-3) 0;
  border-top: 1px solid var(--md-sys-color-outline-variant); border-bottom: 1px solid var(--md-sys-color-outline-variant); margin: var(--space-4) 0 var(--space-8); }
.slc-bar-chips { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.slc-chips { display: flex; flex-wrap: wrap; gap: 0 var(--space-2); }
.slc-sep { width: 1px; height: 24px; background: var(--md-sys-color-outline-variant); }
.slc-count { margin: 0 0 0 auto; color: var(--md-sys-color-on-surface-variant); font-size: 14px; }
.slc-count:focus { outline: none; }
.slc-clear.is-idle { visibility: hidden; }
.slc-filters-btn { display: none; }
@media (max-width: 699.98px) {
  .slc-bar-chips { display: none; }
  [data-js] .slc-filters-btn { display: inline-flex; }
}
html:not([data-js]) .ev-js { display: none; }
.slc-filter-sheet { width: 100%; max-width: 32rem; margin: auto auto 0; padding: var(--space-6); display: grid; gap: var(--space-4); }
.slc-filter-sheet:not([open]) { display: none; }
.slc-filter-sheet h2 { margin: 0; }
.slc-sheet-chips { display: grid; gap: var(--space-3); }
.slc-sheet-chips .slc-sep { display: none; }
.slc-sheet-actions { display: flex; justify-content: space-between; gap: var(--space-3); }

/* Chips: the system's filter chip with a 48px hit area (look unchanged). */
.ds .discover-page .ds-chip:not(.status) { --look-r: var(--md-sys-shape-corner-small);
  height: 48px; border: 0; border-block: 8px solid transparent; background-clip: padding-box;
  border-radius: var(--look-r) / calc(var(--look-r) + 8px); }
.ds .discover-page .ds-chip:not(.status)::after { border-radius: var(--look-r); }
.ds .discover-page .ds-chip:not(.status):focus-visible { outline-offset: -6px; }
.ds .discover-page .ds-btn::before { content: ""; position: absolute; inset: -4px 0; }

/* Groups and headings: bigger, with one small amber icon. */
.slc-group { margin: 0 0 var(--space-12); }
.slc-h2 { display: flex; align-items: center; gap: var(--space-3); margin: 0 0 var(--space-4); font: 700 clamp(1.5rem, 3vw, 2rem)/1.15 var(--md-ref-typeface-brand); }
.slc-h2-icon { width: 28px; height: 28px; fill: var(--slc-amber); flex: none; }

/* Cards: picture first (4:3), the date tile over its lower-left corner, then label, title (the only link), place, tags. */
.slc-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .slc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .slc-grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slc-grid.c3.center-last { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .slc-grid.c3.center-last > li { grid-column: span 2; }
  .slc-grid.c3.center-last > li:nth-last-child(2) { grid-column: 2 / span 2; }
}
.slc-grid > li, .slc-weekly-list > li { display: flex; min-width: 0; }
.slc-card { position: relative; display: flex; flex-direction: column; width: 100%; background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant); border-radius: 16px; }
.slc-art { aspect-ratio: 4 / 3; border-radius: 16px 16px 0 0; overflow: hidden; background: var(--md-sys-color-surface-container-high); }
.slc-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slc-art-tile { display: grid; place-items: center; color: var(--md-sys-color-on-surface-variant); font: 700 3rem/1 var(--md-ref-typeface-brand); }
.slc-date { position: relative; z-index: 1; width: 60px; margin: -30px 0 0 var(--space-4); padding: 6px 0 8px; text-align: center;
  background: var(--md-sys-color-surface-container); border: 1px solid var(--md-sys-color-outline-variant); border-radius: 12px;
  box-shadow: 0 2px 10px rgb(0 0 0 / .35); }
.slc-date.today { border-color: var(--slc-amber); }
.slc-date b { display: block; font: 700 1.5rem/1.05 var(--md-ref-typeface-brand); }
.slc-date span { font: 600 11px/1 var(--md-ref-typeface-plain); letter-spacing: .08em; text-transform: uppercase; color: var(--md-sys-color-on-surface-variant); }
.slc-body { display: flex; flex-direction: column; gap: 6px; padding: var(--space-2) var(--space-4) var(--space-4); }
.slc-label { margin: 0; font: 600 12px/1.4 var(--md-ref-typeface-plain); letter-spacing: .06em; text-transform: uppercase; color: var(--md-sys-color-on-surface-variant); }
.slc-label.now { color: var(--slc-amber); }
.slc-title { margin: 0; font: 600 1.25rem/1.2 var(--md-ref-typeface-brand); overflow-wrap: anywhere; }
.slc .slc-title a { display: inline-flex; align-items: center; gap: var(--space-1); min-height: 48px; color: var(--md-sys-color-on-surface); text-decoration: none; }
.slc-title a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.slc-title a:focus-visible { outline: none; }
.slc-card:has(.slc-title a:focus-visible) { outline: 3px solid var(--md-sys-color-primary); outline-offset: 2px; }
.slc-place { margin: 0; font-size: 15px; }
.slc-tags { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-top: var(--space-1); font-size: 14px; color: var(--md-sys-color-on-surface-variant); }
.slc-pill { border: 1px solid var(--md-sys-color-outline-variant); border-radius: 999px; padding: 4px 10px; font-size: 13px; }
.slc-pill.sold { border-color: var(--md-sys-color-error); color: var(--md-sys-color-error); }
@media (prefers-reduced-motion: no-preference) {
  .slc-card { transition: transform 150ms, box-shadow 150ms; }
  .slc-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgb(0 0 0 / .35); }
}

/* The featured card: wide, picture left, a big date and title, one "See details" button (the title stays the link). */
.slc-feature { display: grid; grid-template-columns: 1.25fr 1fr; border-radius: 20px; margin-bottom: var(--space-6); overflow: hidden; }
.slc-feature .slc-art { aspect-ratio: auto; min-height: 320px; border-radius: 0; }
.slc-feature .slc-body { padding: var(--space-8); justify-content: center; gap: var(--space-3); }
.slc-feature .slc-date { margin: 0; display: inline-block; width: auto; padding: 8px 14px; text-align: left; align-self: flex-start; box-shadow: none; }
.slc-feature .slc-title { font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.08; }
.slc-btn { align-self: flex-start; margin-top: var(--space-2); pointer-events: none; }
@media (max-width: 839.98px) {
  .slc-feature { grid-template-columns: 1fr; }
  .slc-feature .slc-art { min-height: 0; aspect-ratio: 3 / 2; }
  .slc-feature .slc-body { padding: var(--space-6); }
}

/* Every week: horizontal on desktop (picture left 42%), stacked on phones. */
.slc-weekly-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
@media (min-width: 840px) {
  .slc-weekly { flex-direction: row; overflow: hidden; }
  .slc-weekly .slc-art { aspect-ratio: auto; width: 42%; min-height: 170px; border-radius: 0; flex: none; }
  .slc-weekly .slc-body { justify-content: center; padding: var(--space-4); }
  .slc-weekly .slc-title { font-size: 1.125rem; }
}

/* Playing SLC Soon. */
.slc-play { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6); padding: var(--space-6); border-radius: 20px;
  background: var(--md-sys-color-surface-container); border: 1px solid var(--md-sys-color-outline-variant); }
.slc-play p { margin: 0; max-width: 36rem; color: var(--md-sys-color-on-surface-variant); }
.slc-play-btn { margin-left: auto; gap: var(--space-2); }
.slc-empty { display: grid; gap: var(--space-2); justify-items: start; padding: var(--space-6) 0; }
.ds-banner { margin: var(--space-4) 0; }
