/* Salbei 2.0: the portrait leads; color marks content rather than page furniture. */
[data-design="typewriter"] {
  --event-inset: clamp(20px, 3vw, 32px);
}

/* Give the photograph more room and let identity and navigation breathe separately. */
[data-design="typewriter"] .type-home {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: stretch; gap: clamp(40px, 6vw, 80px);
  padding-top: 32px; padding-bottom: 120px;
}
[data-design="typewriter"] .profile-portrait { align-self: start; }
[data-design="typewriter"] .profile-copy {
  display: flex; flex-direction: column; justify-content: space-between;
  padding-block: clamp(24px, 4vw, 56px);
}
[data-design="typewriter"] .profile-copy h1 { font-size: clamp(72px, 8vw, 108px); }
[data-design="typewriter"] .profile-voice { margin-top: 32px; }
[data-design="typewriter"] .profile-intro { margin-top: 16px; }
[data-design="typewriter"] .profile-links { margin-top: 64px; gap: 12px 32px; }
[data-design="typewriter"] .profile-links a { padding-block: 6px; }
[data-design="typewriter"] .profile-links a:hover,
[data-design="typewriter"] .profile-links a:focus-visible { color: var(--accent); }

/* A small section heading beside the dates; one shared grid inside the event list. */
[data-design="typewriter"] .home-events {
  display: grid; grid-template-columns: 170px minmax(0, 1fr);
  align-items: start; gap: 48px; margin-bottom: 120px;
}
[data-design="typewriter"] .home-events .section-heading {
  flex-direction: column; align-items: flex-start; gap: 20px;
  margin-bottom: 0; padding-top: 28px;
}
[data-design="typewriter"] .home-event-list { min-width: 0; }
[data-design="typewriter"] .event-row {
  grid-template-columns: 140px minmax(0, 1fr);
  border: 0; padding: 16px var(--event-inset); row-gap: 12px;
}
[data-design="typewriter"] .event-body {
  display: grid; grid-template-columns: minmax(0, 1fr) 220px;
  align-items: start; gap: 6px 32px;
}
[data-design="typewriter"] .event-body > * { min-width: 0; }
[data-design="typewriter"] .event-title h3 { margin-bottom: 0; }
[data-design="typewriter"] .event-title p { margin-top: 4px; }
[data-design="typewriter"] .event-place { grid-column: auto; }
[data-design="typewriter"] .event-row--spotlight {
  background: var(--accent-soft); border-radius: 6px; padding-block: 32px; margin-bottom: 12px;
}
[data-design="typewriter"] .event-row--spotlight .event-date { color: var(--accent); }
[data-design="typewriter"] .home-events .event-row { grid-template-columns: 116px minmax(0, 1fr); }
[data-design="typewriter"] .home-events .event-body { display: block; }
[data-design="typewriter"] .home-events .event-place { margin-top: 6px; }
[data-design="typewriter"] .home-events .event-row:not(.event-row--spotlight) .event-title p,
[data-design="typewriter"] .home-events .event-row:not(.event-row--spotlight) .event-place--with-city span { display: none; }

/* Plain page titles, comfortably separated from filters and content. */
[data-design="typewriter"] .page-heading { padding-block: 52px 60px; }
[data-design="typewriter"] .page-body { padding-bottom: 120px; }
[data-design="typewriter"] .filter-bar { align-items: center; row-gap: 16px; margin-bottom: 28px; }
[data-design="typewriter"] .tabs a { display: inline-flex; align-items: center; min-height: 44px; }
[data-design="typewriter"] .tabs [aria-current] { color: var(--accent); }

/* Repertoire keeps the same type sizes and manual order; spacing replaces rules. */
[data-design="typewriter"] .repertoire-row { border: 0; padding-block: 22px; }
[data-design="typewriter"] .repertoire-composer { color: var(--accent); }

/* Let the biography's two columns start at different heights, without overlapping. */
[data-design="typewriter"] .biography-grid {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 7vw, 96px);
}
[data-design="typewriter"] .biography-picture { margin-top: 48px; }
[data-design="typewriter"] .biography-copy .reading-copy > p:first-child {
  font-size: 20px; line-height: 1.6;
}
[data-design="typewriter"] .press-list { max-width: none; }
[data-design="typewriter"] .press-item { max-width: 850px; border: 0; padding-block: 0 64px; }
[data-design="typewriter"] .press-item:first-child blockquote { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.5; }
[data-design="typewriter"] .press-item > a { color: var(--accent); }

/* Direct paths to media and contact; no additional panels around the content. */
[data-design="typewriter"] .type-category-index a,
[data-design="typewriter"] .type-record-row { border: 0; padding-block: 24px; }
[data-design="typewriter"] .type-category-index a > span,
[data-design="typewriter"] .type-record-row > span:last-child { color: var(--accent); }
[data-design="typewriter"] .contact-address > a { color: var(--accent); font-size: clamp(19px, 2vw, 24px); }
[data-design="typewriter"] .contact-copy:not(:has(*)) { display: none; }
[data-design="typewriter"] .contact-grid:not(:has(.contact-copy > *)) { grid-template-columns: minmax(0, 680px); }
[data-design="typewriter"] .event-facts > time { display: block; color: var(--accent); font-size: 20px; }
[data-design="typewriter"] .site-footer { border-top: 0; padding-block: 32px 48px; }

@media (max-width: 900px) {
  [data-design="typewriter"] .type-home { gap: 32px; padding-bottom: 88px; }
  [data-design="typewriter"] .profile-copy { padding-block: 0; }
  [data-design="typewriter"] .profile-copy h1 { font-size: 64px; }
  [data-design="typewriter"] .profile-voice { margin-top: 24px; }
  [data-design="typewriter"] .profile-links { margin-top: 32px; gap: 4px 20px; }
  [data-design="typewriter"] .home-events { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 88px; }
  [data-design="typewriter"] .home-events .section-heading { flex-direction: row; align-items: baseline; padding-top: 0; }
  [data-design="typewriter"] .event-row { grid-template-columns: 125px minmax(0, 1fr); }
  [data-design="typewriter"] .event-body { grid-template-columns: minmax(0, 1fr); }
  [data-design="typewriter"] .biography-grid { gap: 40px; }
}
@media (max-width: 640px) {
  [data-design="typewriter"] .type-home { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 12px; }
  [data-design="typewriter"] .profile-copy h1 { font-size: clamp(42px, 14vw, 60px); }
  [data-design="typewriter"] .profile-voice { margin-top: 18px; }
  [data-design="typewriter"] .profile-links { margin-top: 36px; gap: 8px 32px; }
  [data-design="typewriter"] .home-events .section-heading { flex-wrap: wrap; row-gap: 12px; }
  [data-design="typewriter"] .home-events .event-row,
  [data-design="typewriter"] .event-row { grid-template-columns: minmax(0, 1fr); }
  [data-design="typewriter"] .event-row--spotlight { padding-block: 28px; }
  [data-design="typewriter"] .page-heading { padding-block: 36px 40px; }
  [data-design="typewriter"] .page-body { padding-bottom: 80px; }
  [data-design="typewriter"] .biography-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  [data-design="typewriter"] .biography-picture { margin-top: 0; }
  [data-design="typewriter"] .biography-copy .reading-copy > p:first-child { font-size: 19px; }
  [data-design="typewriter"] .press-item { padding-bottom: 48px; }
}
