/* Hallmark · macrostructure: Split Studio · tone: soft technical editorial · anchor hue: RF deep blue */
/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V5
 * genre: editorial · theme: studied-DNA (RF homepage/news center)
 * audience: public site visitors · use: scan dates, browse exhibitions, read public details
 * tone: soft technical editorial · enrichment: public invitation imagery only · motion: state changes only
 * contrast: pass (40–41) · nav/footer: existing site chrome · honest: pass (46) · tokens: pass (48)
 * responsive: pass (34, 49–57) · icons: pass (30) · slop: pass (42–45, existing chrome preserved)
 */

:root {
  --expo-surface: var(--paper);
  --expo-surface-soft: color-mix(in oklch, var(--paper) 72%, var(--bg));
  --expo-surface-quiet: color-mix(in oklch, var(--paper) 42%, var(--bg));
  --expo-rule-soft: color-mix(in oklch, var(--line) 70%, var(--paper));
  --expo-focus: var(--accent);
  --expo-space-3xs: 0.125rem;
  --expo-space-2xs: 0.25rem;
  --expo-space-xs: 0.5rem;
  --expo-space-sm: 0.75rem;
  --expo-space-md: 1rem;
  --expo-space-lg: 1.5rem;
  --expo-space-xl: 2.5rem;
  --expo-space-2xl: 4rem;
  --expo-space-3xl: 6rem;
  --expo-space-section: 4.5rem;
  --expo-radius-sm: 0;
  --expo-radius-md: 0;
  --expo-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --expo-duration-short: 180ms;
}

html,
body {
  overflow-x: clip;
}

button {
  color: inherit;
}

.expo-list-section [hidden] {
  display: none !important;
}

.expo-hero {
  padding-block: var(--expo-space-2xl) var(--expo-space-3xl);
}

.expo-hero .hero-h1 {
  min-width: 0;
  overflow-wrap: anywhere;
}

.expo-calendar-section,
.expo-list-section,
.expo-detail-section {
  padding-block: var(--expo-space-section);
}

.expo-calendar-section {
  background: var(--expo-surface-soft);
  border-block-end: 1px solid var(--line);
}

.expo-list-section {
  background: var(--bg);
}

.expo-detail-section {
  padding-block: var(--expo-space-2xl) var(--expo-space-3xl);
  background: var(--expo-surface);
  border-block-start: 1px solid var(--line);
}

.expo-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--expo-space-lg);
  align-items: end;
  margin-block-end: var(--expo-space-xl);
}

.expo-section-head h2 {
  min-width: 0;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.expo-section-head p {
  max-width: 65ch;
  margin-block-start: var(--expo-space-xs);
  color: var(--muted);
  font-size: 0.875rem;
}

.expo-month-switch {
  display: flex;
  align-items: center;
  gap: var(--expo-space-xs);
}

.expo-icon-button,
.expo-text-button,
.expo-event-card {
  cursor: pointer;
}

.expo-icon-button {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  padding: 0;
  background: var(--expo-surface);
  border: 1px solid var(--line);
  border-radius: var(--expo-radius-sm);
  transition:
    background-color var(--expo-duration-short) var(--expo-ease-out),
    border-color var(--expo-duration-short) var(--expo-ease-out),
    transform 100ms var(--expo-ease-out);
}

.expo-icon-button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.expo-month-label {
  min-width: 8.5rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.expo-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  background: var(--line);
  border-block-start: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
}

.expo-weekday,
.expo-calendar-day {
  min-width: 0;
  border: 0;
  border-inline-end: 1px solid var(--line);
  border-block-end: 1px solid var(--line);
}

.expo-weekday {
  padding: var(--expo-space-xs) var(--expo-space-2xs);
  background: var(--expo-surface-quiet);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.625rem;
  text-align: center;
}

.expo-calendar-day {
  min-height: 4.75rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--expo-space-2xs);
  padding: var(--expo-space-xs) var(--expo-space-2xs);
  background: var(--expo-surface);
  text-align: start;
  transition:
    background-color var(--expo-duration-short) var(--expo-ease-out),
    color var(--expo-duration-short) var(--expo-ease-out),
    transform 100ms var(--expo-ease-out);
}

button.expo-calendar-day {
  color: var(--ink);
}

.expo-calendar-day.is-outside {
  background: var(--expo-surface-soft);
  color: var(--muted);
}

.expo-calendar-day.is-selected {
  background: var(--ink);
  color: var(--bg);
}

.expo-day-number {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.expo-day-labels {
  min-width: 0;
  display: grid;
  gap: var(--expo-space-2xs);
  margin-block-start: auto;
}

.expo-day-label {
  min-width: 0;
  display: block;
  overflow: hidden;
  color: var(--brand);
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.is-selected .expo-day-label {
  color: var(--bg);
}

.expo-day-more {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.625rem;
}

.expo-calendar-note {
  display: flex;
  align-items: center;
  gap: var(--expo-space-xs);
  max-width: 65ch;
  margin-block-start: var(--expo-space-md);
  color: var(--muted);
  font-size: 0.75rem;
}

.expo-calendar-note > span {
  width: 0.375rem;
  height: 0.375rem;
  flex: 0 0 0.375rem;
  background: var(--accent);
  border-radius: 50%;
}

.expo-list-head {
  margin-block-end: var(--expo-space-lg);
}

.expo-text-button {
  width: fit-content;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: var(--expo-space-md);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--expo-radius-sm);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background-color var(--expo-duration-short) var(--expo-ease-out),
    border-color var(--expo-duration-short) var(--expo-ease-out),
    color var(--expo-duration-short) var(--expo-ease-out),
    transform 100ms var(--expo-ease-out);
}

.expo-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--expo-space-md);
}

.expo-event-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: clip;
  padding: 0;
  background: var(--expo-surface);
  border: 1px solid var(--line);
  border-radius: var(--expo-radius-md);
  color: var(--ink);
  text-align: start;
  transition:
    background-color var(--expo-duration-short) var(--expo-ease-out),
    border-color var(--expo-duration-short) var(--expo-ease-out),
    color var(--expo-duration-short) var(--expo-ease-out),
    transform 100ms var(--expo-ease-out);
}

.expo-event-card.is-selected {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}

.expo-card-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: clip;
  background: var(--expo-surface-soft);
}

.expo-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expo-card-text-visual {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--expo-space-lg);
  padding: var(--expo-space-lg);
}

.expo-card-date-large {
  display: grid;
  gap: var(--expo-space-2xs);
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.expo-card-date-large strong {
  font-size: clamp(2.5rem, 10vw, 4rem);
  font-weight: 500;
  line-height: 0.95;
}

.expo-card-date-large span {
  color: var(--muted);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
}

.expo-card-keyword {
  max-width: 14ch;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.expo-card-badge {
  position: absolute;
  inset-block-start: var(--expo-space-sm);
  inset-inline-start: var(--expo-space-sm);
  z-index: 1;
  padding: var(--expo-space-2xs) var(--expo-space-xs);
  background: var(--ink);
  color: var(--bg);
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.4;
}

.expo-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--expo-space-sm);
  padding: var(--expo-space-lg);
}

.expo-card-title {
  min-width: 0;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.expo-card-summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.expo-card-meta {
  display: grid;
  gap: var(--expo-space-2xs);
  margin-block-start: auto;
  padding-block-start: var(--expo-space-sm);
  border-block-start: 1px solid var(--expo-rule-soft);
  color: var(--ink-2);
  font-size: 0.75rem;
}

.expo-card-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--expo-space-xs);
  padding-block-start: var(--expo-space-xs);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 600;
}

.expo-card-state span:last-child {
  white-space: nowrap;
}

.expo-loading,
.expo-error,
.expo-empty-list {
  min-height: 12rem;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: var(--expo-space-xs);
  padding: var(--expo-space-xl);
  background: var(--expo-surface);
  border: 1px solid var(--line);
  color: var(--muted);
}

.expo-error strong,
.expo-empty-list strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.expo-detail-empty {
  margin: 0;
  color: var(--muted);
}

.expo-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--expo-space-xl);
  align-items: start;
}

.expo-detail-visual {
  min-width: 0;
  overflow: clip;
  background: var(--expo-surface-soft);
  border: 1px solid var(--line);
}

.expo-detail-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--expo-surface-quiet);
}

.expo-detail-text-visual {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--expo-space-xl);
}

.expo-detail-text-visual strong {
  max-width: 13ch;
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.expo-detail-label {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
}

.expo-detail-copy {
  min-width: 0;
}

.expo-detail-status {
  display: inline-flex;
  align-items: center;
  gap: var(--expo-space-xs);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
}

.expo-detail-status::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  flex: 0 0 0.375rem;
  background: currentColor;
  border-radius: 50%;
}

.expo-detail-title {
  min-width: 0;
  margin: var(--expo-space-sm) 0 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.expo-detail-summary {
  max-width: 65ch;
  margin-block-start: var(--expo-space-md);
  color: var(--ink-2);
}

.expo-detail-facts {
  display: grid;
  gap: 0;
  margin: var(--expo-space-xl) 0 0;
  border-block-start: 1px solid var(--line);
}

.expo-detail-fact {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: var(--expo-space-md);
  padding-block: var(--expo-space-sm);
  border-block-end: 1px solid var(--expo-rule-soft);
}

.expo-detail-fact dt {
  color: var(--muted);
  font-size: 0.75rem;
}

.expo-detail-fact dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.expo-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--expo-space-sm);
  margin-block-start: var(--expo-space-lg);
}

.expo-detail-gallery {
  margin-block-start: var(--expo-space-2xl);
  padding-block-start: var(--expo-space-xl);
  border-block-start: 1px solid var(--line);
}

.expo-detail-gallery h3 {
  margin: 0 0 var(--expo-space-lg);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 600;
}

.expo-detail-photos {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.expo-detail-photo {
  min-width: 0;
  margin: 0;
  background: var(--expo-surface);
}

.expo-detail-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 32rem;
  object-fit: contain;
}

.expo-detail-photo figcaption {
  padding: var(--expo-space-sm);
  color: var(--muted);
  font-size: 0.75rem;
}

.expo-detail-link {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: var(--expo-space-xs);
  padding-inline: var(--expo-space-md);
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background-color var(--expo-duration-short) var(--expo-ease-out),
    color var(--expo-duration-short) var(--expo-ease-out),
    transform 100ms var(--expo-ease-out);
}

.expo-detail-link[data-primary="true"] {
  background: var(--ink);
  color: var(--bg);
}

.expo-icon-button:focus-visible,
.expo-text-button:focus-visible,
.expo-event-card:focus-visible,
.expo-calendar-day:focus-visible,
.expo-detail-link:focus-visible {
  outline: 3px solid var(--expo-focus);
  outline-offset: 2px;
}

.expo-icon-button:active,
.expo-text-button:active,
.expo-event-card:active,
.expo-calendar-day:active,
.expo-detail-link:active {
  transform: translateY(1px);
}

.expo-icon-button:disabled,
.expo-text-button:disabled,
.expo-event-card:disabled,
.expo-calendar-day:disabled,
.expo-detail-link[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.expo-icon-button[data-state="loading"],
.expo-text-button[data-state="loading"],
.expo-event-card[data-state="loading"] {
  opacity: 0.72;
  cursor: progress;
}

.expo-icon-button[data-state="error"],
.expo-text-button[data-state="error"],
.expo-event-card[data-state="error"] {
  border-color: var(--accent);
}

.expo-icon-button[data-state="success"],
.expo-text-button[data-state="success"],
.expo-event-card[data-state="success"] {
  color: var(--brand);
}

@media (hover: hover) and (pointer: fine) {
  .expo-icon-button:hover,
  .expo-text-button:hover {
    border-color: var(--ink);
    background: var(--expo-surface-soft);
  }

  .expo-calendar-day:hover,
  .expo-event-card:hover {
    background: var(--expo-surface-soft);
  }

  .expo-event-card:hover {
    border-color: var(--ink-2);
  }

  .expo-detail-link:hover {
    background: var(--ink);
    color: var(--bg);
  }

  .expo-detail-link[data-primary="true"]:hover {
    background: var(--brand);
  }
}

@media (min-width: 40rem) {
  .expo-section-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .expo-calendar-day {
    min-height: 6.5rem;
    padding: var(--expo-space-sm);
  }

  .expo-day-label {
    font-size: 0.6875rem;
  }

  .expo-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--expo-space-lg);
  }

  .expo-detail-layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }

  .expo-detail-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 60rem) {
  .expo-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }


  .expo-detail-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 39.99rem) {
  .expo-hero {
    padding-block: var(--expo-space-xl) var(--expo-space-2xl);
  }

  .expo-calendar-section,
  .expo-list-section,
  .expo-detail-section {
    padding-block: var(--expo-space-xl);
  }

  .expo-month-switch {
    justify-content: space-between;
  }

  .expo-calendar-note {
    align-items: flex-start;
  }

  .expo-day-labels {
    gap: var(--expo-space-3xs);
  }

  .expo-card-body {
    padding: var(--expo-space-md);
  }

  .expo-detail-fact {
    grid-template-columns: 4rem minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .expo-icon-button,
  .expo-text-button,
  .expo-event-card,
  .expo-calendar-day,
  .expo-detail-link {
    transition-duration: 0.01ms;
  }
}

/* ── Compact calendar + master/detail browser ─────────────────── */
.expo-page-head {
  padding-block: var(--expo-space-xl) var(--expo-space-lg);
  background: var(--bg);
}

.expo-page-head h1 {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-style: normal;
  font-weight: 600;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.expo-calendar-section {
  padding-block: 0 var(--expo-space-xl);
  background: var(--bg);
  border-block-end: 0;
}

.expo-calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-block-end: var(--expo-space-sm);
}

.expo-calendar-day {
  min-height: 3.75rem;
  gap: var(--expo-space-3xs);
  padding: var(--expo-space-xs);
}

.expo-day-labels {
  gap: var(--expo-space-3xs);
}

.expo-browser-section {
  padding-block: var(--expo-space-2xl) var(--expo-space-3xl);
  background: var(--expo-surface-soft);
  border-block-start: 1px solid var(--line);
}

.expo-browser-section [hidden] {
  display: none !important;
}

.expo-browser-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--expo-space-md);
  margin-block-end: var(--expo-space-lg);
}

.expo-browser-head > div {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: var(--expo-space-sm);
}

.expo-browser-head h2 {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.expo-browser-count {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.75rem;
}

.expo-browser-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--expo-space-lg);
  align-items: start;
}

.expo-index {
  min-width: 0;
  display: grid;
  border-block-start: 1px solid var(--line);
}

.expo-index-item {
  width: 100%;
  min-width: 0;
  min-height: 4.5rem;
  display: grid;
  gap: var(--expo-space-xs);
  padding: var(--expo-space-lg) var(--expo-space-md);
  background: transparent;
  border: 0;
  border-block-end: 1px solid var(--line);
  color: var(--ink);
  text-align: start;
  cursor: pointer;
  transition:
    background-color var(--expo-duration-short) var(--expo-ease-out),
    color var(--expo-duration-short) var(--expo-ease-out),
    transform 100ms var(--expo-ease-out);
}

.expo-index-item.is-selected {
  background: var(--expo-surface);
  box-shadow: inset 2px 0 0 var(--brand);
}

.expo-index-tag {
  min-width: 0;
  color: var(--brand);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.expo-index-name {
  min-width: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  transition: color var(--expo-duration-short) var(--expo-ease-out);
}

.expo-index-meta {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--expo-space-xs) var(--expo-space-sm);
  color: var(--ink-2);
  font-size: 0.6875rem;
  line-height: 1.5;
}

.expo-index-meta > * + *::before {
  content: "·";
  margin-inline-end: var(--expo-space-sm);
  color: var(--line);
}

.expo-current-panel {
  min-width: 0;
  scroll-margin-block-start: var(--expo-space-2xl);
}

.expo-selection-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.expo-feature-card {
  min-width: 0;
  overflow: clip;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--expo-surface);
  border: 1px solid var(--line);
}

.expo-feature-visual {
  min-width: 0;
  overflow: clip;
  background: var(--expo-surface-quiet);
  border-block-end: 1px solid var(--line);
}

.expo-feature-visual > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.expo-feature-visual .expo-detail-text-visual {
  aspect-ratio: 16 / 9;
}

.expo-feature-copy {
  min-width: 0;
  padding: var(--expo-space-xl);
}

.expo-feature-copy .expo-detail-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.expo-feature-copy .expo-detail-summary {
  font-size: 0.875rem;
  line-height: 1.7;
}

.expo-index-item:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid var(--expo-focus);
  outline-offset: -3px;
}

.expo-index-item:active {
  transform: translateY(1px);
}

.expo-index-item:disabled,
.expo-index-item[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.expo-index-item[data-state="loading"] {
  opacity: 0.72;
  cursor: progress;
}

.expo-index-item[data-state="error"] {
  box-shadow: inset 2px 0 0 var(--accent);
}

.expo-index-item[data-state="success"] {
  box-shadow: inset 2px 0 0 var(--brand);
}

@media (hover: hover) and (pointer: fine) {
  .expo-index-item:hover {
    background: var(--expo-surface);
  }

  .expo-index-item:hover .expo-index-name {
    color: var(--accent);
  }
}

@media (min-width: 40rem) {
  .expo-calendar-day {
    min-height: 4.25rem;
    padding: var(--expo-space-xs) var(--expo-space-sm);
  }
}

@media (min-width: 52rem) {
  .expo-browser-grid {
    grid-template-columns: minmax(15.625rem, 0.72fr) minmax(0, 1.7fr);
    gap: var(--expo-space-xl);
  }

  .expo-current-panel {
    position: sticky;
    top: calc(var(--header-h) + var(--expo-space-lg));
  }
}

@media (min-width: 72rem) {
  .expo-feature-card {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .expo-feature-visual {
    border-block-end: 0;
    border-inline-end: 1px solid var(--line);
  }

  .expo-feature-visual .expo-detail-text-visual {
    height: 100%;
    aspect-ratio: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .expo-index-item,
  .expo-index-name {
    transition-duration: 0.01ms;
  }
}
