/*
 * Lumen Component Primitives
 * Small reusable utilities shared by Markdown pages and custom overrides.
 */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  gap: var(--grid-gutter);
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.text-hero,
.text-h1,
.text-h2,
.text-h3,
.text-body,
.text-caption,
.text-micro {
  letter-spacing: 0;
}

.text-hero {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  line-height: var(--leading-hero);
  font-weight: 750;
}

.text-h1 {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  line-height: var(--leading-h1);
  font-weight: 720;
}

.text-h2 {
  font-family: var(--font-body);
  font-size: var(--text-h2);
  line-height: var(--leading-h2);
  font-weight: 680;
}

.text-h3 {
  font-family: var(--font-body);
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  font-weight: 650;
}

.text-body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  font-weight: 400;
}

.text-caption,
.text-micro {
  font-family: var(--font-mono);
  line-height: var(--leading-caption);
  font-weight: 600;
  text-transform: uppercase;
}

.text-caption {
  font-size: var(--text-caption);
}

.text-micro {
  font-size: var(--text-micro);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-width: 44px;
  min-height: 44px;
  padding: var(--space-3) var(--space-4);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--stone);
  border-radius: var(--radius-soft);
  cursor: pointer;
  transition:
    background-color var(--dur-swift) var(--ease-swift),
    border-color var(--dur-swift) var(--ease-swift),
    color var(--dur-swift) var(--ease-swift),
    transform var(--dur-swift) var(--ease-swift);
}

.btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--accent-contrast);
  background: var(--accent);
  border-color: var(--accent);
}

.btn-primary:hover {
  color: var(--accent-contrast);
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.card-exhibition {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface-muted);
  border: 1px solid var(--stone);
  border-radius: var(--radius-sharp);
}
