/* Standalone Now home: one column on phones, two columns when content fits. */
#view-main > .page-container { max-width: 1280px; }
.now-hero { position: relative; isolation: isolate; display: grid; gap: 16px; padding-block: 28px 32px; overflow: hidden; }
.now-hero__background { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: #000; opacity: .6; mask-image: linear-gradient(to bottom, #000 80%, transparent); }
.now-hero__background video { display: block; width: 100%; height: 100%; object-fit: cover; }
.now-hero__copy { position: relative; z-index: 1; min-width: 0; }
.now-hero h1 { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 5vw, 48px); font-weight: 400; line-height: 1.08; letter-spacing: -.03em; text-transform: uppercase; text-wrap: balance; overflow-wrap: break-word; }
.now-intro { color: #b0b0b8; font-size: 14px; line-height: 1.6; margin: 20px 0 24px; }
.quick-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 474px; }
.quick-link { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-width: 0; min-height: 100px; padding: 12px; background: #171717; border: 1px solid #27272a; color: #fff; font-size: 12px; line-height: 1.5; text-decoration: none; }
.quick-link:hover { background: #27272a; }
.quick-link:last-child { grid-column: 1 / -1; min-height: 76px; }
.quick-link__icon { align-self: flex-start; width: 24px; height: 24px; object-fit: contain; }
.quick-link__arrow { position: absolute; right: 10px; top: 10px; width: 16px; height: 16px; }
.now-hero__art { position: relative; width: min(70%, 280px); justify-self: center; margin-bottom: -24px; pointer-events: none; }
.now-hero__art img { display: block; width: 100%; height: auto; mask-image: linear-gradient(to bottom, #000 72%, transparent); }
.now-schedule { padding-block: 24px 48px; scroll-margin-top: 80px; }
.now-schedule > .section__title { margin: 0 auto 24px; }
.day-toggle { display: flex; gap: 8px; margin: 0 0 32px; }
.day-toggle button { flex: 1; justify-content: center; min-width: 0; min-height: 48px; padding: 12px; border: 1px solid #27272a; background: #171717; font: inherit; font-size: 14px; cursor: pointer; }
.day-toggle button[aria-selected='true'] { background: #39ff14; border-color: #39ff14; color: #000; }
.now-schedule [hidden] { display: none; }
.hour-group { margin-bottom: 32px; scroll-margin-top: 80px; }
.hour-label { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-family: var(--font-display); font-size: 22px; font-weight: 400; }
.hour-label__end { color: #b0b0b8; font-size: 14px; font-family: var(--font-mono); }
.hour-events { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.event { position: relative; isolation: isolate; overflow: hidden; min-width: 0; border: 1px solid #27272a; background: #09090b; scroll-margin-top: 80px; }
.event__copy { position: relative; z-index: 1; min-width: 0; padding: 20px; }
.event__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-bottom: 20px; font-size: 12px; line-height: 1.5; }
.event__time { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.event h3 { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 700; text-transform: uppercase; overflow-wrap: anywhere; }
.event__description { margin: 16px 0 0; max-width: 65ch; font-size: 14px; line-height: 1.7; color: #c4c4c9; }
.event__speaker { margin-top: 16px; }
.event__speaker p { margin: 2px 0 0; font-size: 14px; line-height: 1.5; }
.event__speaker .event__role { color: #bdbdbd; font-size: 12px; }
.event__art { position: relative; height: 240px; overflow: hidden; }
.event__image { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.event--talk::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, #09090b 10%, transparent 65%), url('assets/now/opening-glow.webp') center bottom / cover no-repeat; }
.event--activity { background: #111113; }
.event__format { margin: 0 0 12px; color: #39ff14; font-size: 12px; line-height: 1.5; }
.event__details { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; color: #39ff14; font-size: 13px; text-underline-offset: 4px; }
.event__details:hover { text-decoration: underline; }
.schedule-end { border-top: 1px solid #27272a; margin-top: 32px; padding-top: 24px; }
.schedule-end h3 { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 400; }
.schedule-end p { max-width: 60ch; color: #bdbdbd; font-size: 14px; line-height: 1.7; }
.schedule-end .button { display: inline-flex; margin: 8px 8px 0 0; min-height: 44px; max-width: 100%; white-space: normal; text-align: center; }
#halls-section { scroll-margin-top: 80px; }
.hall-card, .activity-card, .stand-group, .timeline-row { min-width: 0; overflow-wrap: anywhere; }
.day-switch__btn, .hall-card__action, .hall-chip, .filter-chip, .group-switch__btn, .hall-tab, .embed-btn, .menu-toggle, .drawer-close { min-height: 44px; }
.hall-card__actions { flex-wrap: wrap; }
.section__header { flex-wrap: wrap; }
.hall-subbar { flex-wrap: wrap; gap: 12px; }
.site-footer__inner { flex-wrap: wrap; }
::selection { color: #000; background: #39ff14; }
:focus-visible { outline: 2px solid #39ff14; outline-offset: 4px; }
html { scrollbar-color: #555 #000; }
@media (min-width: 600px) and (max-width: 899px) {
  .now-hero { grid-template-columns: minmax(0, 1fr) 210px; gap: 20px; align-items: center; }
  .now-hero h1 { font-size: 32px; }
  .now-hero__art { width: 100%; margin: 0; }
  .now-intro br { display: none; }
  .event--talk { display: grid; grid-template-columns: minmax(0, 1fr) 34%; align-items: stretch; }
  .event--talk .event__art { height: auto; min-height: 280px; }
  .event--talk .event__image { position: absolute; inset: 0; }
}
@media (min-width: 900px) {
  .now-hero { grid-template-columns: minmax(0, 58%) minmax(0, 42%); gap: 0; padding-block: 48px; align-items: center; }
  .now-hero h1 { font-size: clamp(36px, 3.7vw, 48px); }
  .now-intro { font-size: 16px; }
  .quick-link { font-size: 14px; min-height: 88px; }
  .now-hero__art { width: 100%; margin: 0; }
  .hour-group { display: grid; grid-template-columns: 85px minmax(0, 1fr); gap: 40px; }
  .hour-label { position: relative; align-self: start; padding-top: 12px; margin: 0; font-size: 24px; }
  .hour-label__end { display: none; }
  .hour-label::after { content: ''; position: absolute; right: -24px; top: 27px; width: 24px; height: 2px; background: #dedede; }
  .hour-events { position: relative; }
  .hour-events::before { content: ''; position: absolute; left: -24px; top: 52px; bottom: -16px; width: 8px; background: url('assets/now/timeline-tick.svg') top right / 24px 28px repeat-y; pointer-events: none; }
  .hour-group:last-of-type .hour-events::before { bottom: 0; }
  .event--talk { display: grid; grid-template-columns: minmax(0, 1fr) 34%; min-height: 280px; }
  .event--talk::before { background: linear-gradient(90deg, rgb(9 9 11 / 65%), transparent 70%), url('assets/now/opening-glow.webp') center / cover no-repeat; }
  .event__copy { padding: 24px; }
  .event h3 { font-size: 20px; }
  .event__meta { font-size: 14px; }
  .event--talk .event__art { height: auto; min-height: 280px; }
  .event--talk .event__image { position: absolute; inset: 12px 0 0; height: calc(100% - 12px); }
  .day-toggle button { flex: 0 1 220px; }
  .schedule-end { margin-left: 125px; }
}
@media (max-width: 374px) { .event__copy { padding: 16px; } .event h3 { font-size: 16px; } .hall-card { padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .now-hero__background video { display: none; } html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Figma event illustrations keep their full square composition and pixel treatment. */
.event__art--activity { height: auto; aspect-ratio: 1; width: min(100%, 320px); justify-self: center; margin-inline: auto; }
.event__art--activity .event__image { width: 100%; height: 100%; object-fit: contain; }
.activity-card__art { width: min(100%, 240px); aspect-ratio: 1; align-self: center; }
.activity-card__art img, .timeline-row__art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.timeline-row__art { width: min(100%, 180px); aspect-ratio: 1; justify-self: center; }
@media (min-width: 600px) and (max-width: 899px) {
  .event--activity { display: grid; grid-template-columns: minmax(0, 1fr) 34%; align-items: center; }
}
@media (min-width: 900px) {
  .event--activity { display: grid; grid-template-columns: minmax(0, 1fr) 34%; align-items: center; }
}
@media (min-width: 720px) {
  .timeline-row { grid-template-columns: 140px minmax(0, 1fr) 128px; }
  .timeline-row__art { width: 128px; align-self: center; }
}
