/* A single scrolling homepage, with shared section and placeholder styling. */
html { scroll-behavior: smooth; }
.header { position: sticky; top: 0; display: grid; grid-template-columns: minmax(154px, 1fr) auto minmax(154px, 1fr); align-items: center; width: 100%; margin: 0; padding: 0 var(--gutter); gap: clamp(20px, 2.8vw, 44px); background: var(--paper); }
.header .wordmark { justify-self: start; }
.header nav { display: flex; justify-self: center; align-items: center; gap: clamp(24px, 2.2vw, 36px); margin: 0; }
.header .language-switch { justify-self: end; }
.site-links { display: contents; }
.site-nav-link, .header .nav-link { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0; font-size: .8125rem; font-weight: 600; line-height: 1.3; white-space: nowrap; transition: transform .22s ease; }
.header .nav-link::after { bottom: 4px; background: var(--accent); }
.site-nav-link[aria-current=location]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--accent); }
.hero[hidden], .site-page[hidden], #site-pages [hidden], .site-media-footer [hidden] { display: none !important; }
.hero, .site-page { scroll-margin-top: calc(var(--header) + 20px); }
.site-page { width: calc(100% - var(--gutter) - var(--gutter)); max-width: 1320px; margin: 0 auto; padding: 80px 0 84px; }
.page-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 42px; }
.page-back, .page-theme, .text-action { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: .8125rem; font-weight: 500; line-height: 1.5; }
.page-back, .page-theme { color: var(--muted); }
.page-heading { margin-bottom: 32px; }
.page-kicker { margin: 0 0 13px; color: var(--accent); font-size: 11px; letter-spacing: .15em; }
.page-heading h2 { margin: 0 0 14px; font-size: clamp(2rem, 3.6vw, 3.25rem); font-weight: 700; letter-spacing: var(--heading-tracking); line-height: 1.2; text-wrap: balance; }
.page-lead { margin: 0; color: var(--muted); font-size: var(--text-body); line-height: var(--body-leading); max-width: 54ch; text-wrap: pretty; }
.text-action { width: fit-content; border-bottom: 1px solid var(--line); color: var(--ink); transition: transform .22s ease; text-align: left; }
.text-action > :last-child, .page-back > :first-child, .site-arrow { display: inline-block; transition: transform .22s ease; }
.overview-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 4.5vw, 64px); align-items: start; }
.profile-column { padding: 0; border: 0; }
.profile-name { display: flex; align-items: center; gap: 12px; }
.profile-name img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.profile-name h3 { margin: 0; font-size: 1.125rem; font-weight: 650; line-height: 1.4; }
.profile-name small { display: block; margin-top: 5px; color: var(--muted); font-size: var(--text-caption); font-variant-numeric: tabular-nums; }
.profile-description { margin: 20px 0 24px; font-size: var(--text-label); line-height: var(--body-leading); color: var(--muted); }
.profile-socials { display: grid; justify-items: start; gap: 6px; }
.section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-heading h3 { margin: 0; font-size: 1.25rem; font-weight: 650; line-height: 1.35; }
.section-heading a { display: inline-flex; align-items: center; font-size: .8125rem; color: var(--muted); min-height: 44px; }
.video-feature, .video-card { display: block; width: 100%; text-align: left; }
.video-poster { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: var(--line); }
.video-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play { position: absolute; left: 20px; bottom: 20px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #faf9f5ed; color: #222321; font: 20px/1 Arial, sans-serif; padding-left: 2px; }
.video-duration { position: absolute; right: 12px; bottom: 12px; padding: 4px 7px; background: #080b12b3; color: #fff; font-size: var(--text-caption); line-height: 1.4; font-variant-numeric: tabular-nums; }
.video-title { display: block; margin-top: 14px; font-size: 1.125rem; font-weight: 600; line-height: 1.5; }
.video-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; color: var(--muted); font-size: var(--text-caption); line-height: 1.5; font-variant-numeric: tabular-nums; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 32px; }
.video-card .video-title { font-size: .9375rem; margin-top: 12px; }
.video-card .video-play { left: 10px; bottom: 10px; width: 30px; height: 30px; font-size: 13px; }
.source-credit { margin: 24px 0 0; color: var(--muted); font-size: var(--text-caption); line-height: var(--body-leading); max-width: 66ch; }
.page-notice { margin: -12px 0 24px; padding: 0; color: var(--muted); font-size: var(--text-label); line-height: var(--body-leading); max-width: 72ch; }
.page-filters { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0 0 24px; }
.page-filters button { position: relative; min-height: 44px; padding: 0 0 7px; color: var(--muted); font-size: .8125rem; font-weight: 550; }
.page-filters button[aria-pressed=true] { color: var(--ink); }
.page-filters button[aria-pressed=true]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: var(--accent); }
.merch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
.merch-primary { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); grid-column: 1 / -1; gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.merch-image { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; }
.merch-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.merch-tag { margin: 0 0 12px; color: var(--muted); font-size: var(--text-caption); line-height: 1.5; }
.merch-copy h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); font-weight: 650; letter-spacing: var(--heading-tracking); line-height: 1.3; margin: 0 0 16px; text-wrap: balance; }
.merch-copy > p:not(.merch-tag) { color: var(--muted); font-size: var(--text-body); line-height: var(--body-leading); margin: 0 0 22px; max-width: 34ch; }
.merch-item .merch-copy { padding-top: 22px; }
.merch-item h3 { font-size: 1.25rem; margin-bottom: 10px; }
.merch-item .merch-tag { margin-bottom: 8px; }
.merch-item .merch-copy > p:not(.merch-tag) { max-width: 48ch; margin-bottom: 12px; }
.merch-grid[data-filtered=true] .merch-item { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 48px; }
.site-page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: clamp(12px,2svh,24px) var(--chapter-gutter,var(--gutter)) clamp(16px,2.6svh,30px);
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.site-page-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer-actions { display: flex; align-items: center; gap: 24px; }
.site-page-footer a { display: flex; align-items: center; min-height: 44px; transition: transform .22s ease; }
.placeholder-art { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: #f1f1ee; }
.placeholder-art img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.placeholder-label { position: absolute; inset: 0; display: grid; place-items: center; color: #6d6d68; font-family: var(--ui); font-size: 14px; line-height: 1.5; letter-spacing: .1em; white-space: nowrap; transition: transform .22s ease; }
.site-placeholder-preview { width: 100%; aspect-ratio: 3 / 2; max-height: 62svh; }
.site-media-dialog { width: min(1000px, calc(100vw - 32px)); max-height: calc(100svh - 32px); margin: auto; overflow-y: auto; border-radius: 4px; }
.site-media-dialog[open] { display: block; }
.site-media-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-media-header h2 { margin: 0; font-size: var(--text-body); font-weight: 650; line-height: 1.45; }
.site-media-header .icon-button { flex-shrink: 0; width: 44px; height: 44px; }
.site-media-content { background: #080b12; }
.site-media-content iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.site-media-content img { width: 100%; max-height: 68svh; object-fit: contain; display: block; }
.site-media-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; padding: 18px 24px; font-size: 12px; line-height: 1.8; }
.site-media-footer p { margin: 0; color: var(--muted); }
.site-media-footer a { text-decoration: underline; text-underline-offset: 5px; min-height: 44px; display: inline-flex; align-items: center; }
@media (hover: hover) and (pointer: fine) {
  .site-nav-link:hover, .text-action:hover, .site-page-footer a:hover { transform: translateY(-2px); }
  .header .nav-link:hover { transform: translateY(-2px); }
  .text-action:hover > :last-child { transform: translateX(3px); }
  .page-back:hover > :first-child { transform: translateX(-3px); }
  .video-feature:hover .video-play, .video-card:hover .video-play { transform: translateX(3px); }
  .merch-image:hover .placeholder-label { transform: translateY(-2px); }
}
.video-play { transition: transform .25s ease; }
@media (min-width: 701px) and (min-height: 850px) {
  .profile-column { position: sticky; top: calc(var(--header) + 28px); }
}
@media (min-width: 701px) and (max-width: 1200px) {
  .header { gap: 22px; }
  .header nav { gap: 22px; }
  .overview-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 32px; }
  .profile-column { padding-right: 0; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 701px) and (max-width: 950px) {
  .header .nav-link { display: none; }
  .header nav { gap: 17px; }
}
@media (max-width: 700px) {
  .header .nav-link { display: none; }
  .site-nav-link[aria-current=location]::after { bottom: 0; }
  .site-page { padding: 56px 0 52px; }
  .page-topline { margin-bottom: 26px; }
  .page-heading { margin-bottom: 28px; }
  .page-heading h2 { font-size: clamp(1.875rem, 8.5vw, 2.5rem); }
  .overview-layout { grid-template-columns: 1fr; gap: 32px; }
  .profile-column { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .profile-name { gap: 8px; }
  .profile-name img { width: 30px; height: 30px; }
  .profile-description { margin: 12px 0 0; }
  .profile-socials { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 18px; }
  .video-title { font-size: var(--text-body); }
  .video-grid { grid-template-columns: 1fr; gap: 22px; }
  .video-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; align-items: start; }
  .video-card .video-poster { grid-row: 1 / 3; }
  .video-card .video-title { margin: 0; font-size: var(--text-label); }
  .video-card .video-meta { margin: 0; gap: 8px; }
  .video-card .video-play { width: 26px; height: 26px; left: 8px; bottom: 8px; }
  .video-card .video-duration { right: 5px; bottom: 5px; padding: 3px 4px; }
  .page-filters { gap: 8px 22px; }
  .merch-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .merch-primary, .merch-grid[data-filtered=true] .merch-item { display: block; grid-column: auto; }
  .merch-copy, .merch-item .merch-copy { padding-top: 20px; }
  .merch-copy > p:not(.merch-tag) { max-width: none; margin-bottom: 16px; }
  .site-page-footer { flex-direction: column; align-items: stretch; }
  .site-page-footer nav { gap: 18px; }
  .site-footer-actions { justify-content: space-between; gap: 16px; }
  .site-media-header { padding: 12px 16px; gap: 12px; }
  .site-media-footer { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #site-pages *, .site-nav-link, .site-page-footer a, .placeholder-label { transition: none !important; }
}
