:root {
  color-scheme: light dark;
  --page: #f3f4f1;
  --paper: #e9ebe7;
  --surface: #fafbf8;
  --ink: #202622;
  --muted: #626b66;
  --line: #cbd0cb;
  --accent: #244fca;
  --accent-ink: #fff;
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --radius: 3px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-header { height: 76px; padding: 0 6.25vw; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.wordmark { width: fit-content; font-size: 30px; line-height: 1; letter-spacing: -.095em; font-weight: 650; }
.wordmark-mark { color: var(--accent); }
.site-header nav { display: flex; gap: 34px; justify-content: center; font-size: 13px; }
.site-header nav a, .header-link, .site-footer a { transition: color .2s ease; }
.site-header nav a:hover, .site-footer a:hover { color: var(--accent); }
.header-link { justify-self: end; font-size: 13px; font-weight: 600; }
.header-link span, .hero-link span, .text-button span { color: var(--accent); margin-left: 8px; }
.hero { max-width: 1440px; min-height: 560px; padding: 38px 9.3% 64px 12.4%; margin: auto; display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; gap: 7%; position: relative; }
.hero-copy { padding: 0 0 8px; animation: rise .65s both; }
.eyebrow { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 22px; }
h1, h2, h3, p, figure { margin-top: 0; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(62px, 7vw, 97px); line-height: .94; letter-spacing: -.065em; margin: 0 0 24px -5px; }
h1 em, h2 em { color: var(--accent); font-weight: 400; }
.hero-description { max-width: 340px; color: var(--muted); line-height: 1.7; font-size: 15px; margin-bottom: 28px; }
.hero-link { display: inline-block; padding-bottom: 7px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 600; }
.hero-link:hover { color: var(--accent); border-color: var(--accent); }
.hero-image { height: 400px; margin: 0; position: relative; animation: appear .8s .08s both; }
.hero-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-image figcaption { position: absolute; right: 0; bottom: -27px; color: var(--muted); font-family: var(--serif); font-size: 13px; font-style: italic; }
.hero-side-note { position: absolute; right: 3.3%; top: 50%; writing-mode: vertical-rl; font-size: 9px; letter-spacing: .16em; color: var(--muted); }
.workshops { padding: 78px 8.4% 104px; background: var(--paper); }
.section-heading { max-width: 1200px; margin: 0 auto 45px; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: 1.04; font-size: clamp(38px, 4vw, 56px); margin: 0; }
.section-note { width: 260px; color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0 2% 3px 0; }
.browse-tools { max-width: 1200px; margin: 0 auto 25px; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.browse-label { font-family: var(--serif); font-size: 18px; }
.browse-count { color: var(--accent); font-family: var(--sans); font-size: 11px; margin-right: 5px; }
.filters { display: flex; align-items: center; gap: 10px; }
.search-field, .select-field { height: 40px; display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.search-field { width: 190px; padding: 0 10px; gap: 7px; }
.search-icon { color: var(--muted); font-size: 21px; line-height: 1; }
.search-field input { border: 0; outline: 0; min-width: 0; width: 100%; background: transparent; color: var(--ink); font-size: 12px; }
.search-field input::placeholder { color: var(--muted); opacity: 1; }
.search-field:focus-within, .select-field:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.search-field:focus-within input:focus-visible { outline: 0; }
.select-field select { border: 0; height: 100%; min-width: 132px; background: transparent; color: var(--ink); padding: 0 29px 0 11px; font-size: 12px; cursor: pointer; }
.saved-filter { height: 40px; padding: 0 13px; border: 1px solid var(--line); background: transparent; border-radius: var(--radius); font-size: 12px; cursor: pointer; transition: background .2s, color .2s, border .2s; }
.saved-filter span:first-child { color: var(--accent); font-size: 17px; vertical-align: -1px; margin-right: 4px; }
.saved-filter[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.saved-filter[aria-pressed="true"] span:first-child { color: var(--accent-ink); }
.workshop-grid { max-width: 1200px; margin: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 24px; }
.workshop-card { min-width: 0; animation: rise .38s both; }
.card-image { width: 100%; height: 228px; display: block; overflow: hidden; background: var(--line); }
.card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.workshop-card:hover .card-image img { transform: scale(1.035); }
.card-meta { margin: 17px 0 9px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; letter-spacing: .065em; text-transform: uppercase; }
.category-name { color: var(--accent); font-weight: 700; }
.card-title { font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -.035em; margin: 0 0 8px; }
.card-description { min-height: 42px; color: var(--muted); font-size: 12px; line-height: 1.65; margin: 0 0 15px; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); }
.card-date { font-size: 11px; color: var(--ink); }
.card-price { font-family: var(--serif); font-size: 21px; }
.open-item { display: inline-block; color: var(--accent); font-size: 11px; font-weight: 700; padding: 5px 0 5px 12px; }
.open-item:hover { text-decoration: underline; text-underline-offset: 4px; }
.empty-state { max-width: 480px; min-height: 280px; margin: 28px auto 0; text-align: center; display: grid; place-content: center; justify-items: center; }
.empty-state[hidden] { display: none; }
.empty-mark { color: var(--accent); font-size: 25px; margin-bottom: 8px; }
.empty-state h3 { font: 400 28px var(--serif); margin: 0 0 8px; }
.empty-state > p:not(.empty-mark) { color: var(--muted); font-size: 13px; line-height: 1.6; }
.text-button { border: 0; border-bottom: 1px solid var(--ink); background: none; padding: 7px 0; font-size: 12px; font-weight: 700; cursor: pointer; }
.closing { padding: 80px 14% 75px; background: var(--accent); color: white; }
.closing .eyebrow { color: #d5e0ff; margin-bottom: 22px; }
.closing-inner { display: flex; justify-content: space-between; align-items: end; gap: 50px; max-width: 1050px; }
.closing h2 { font: 400 clamp(52px, 6vw, 78px)/.95 var(--serif); letter-spacing: -.055em; margin: 0; }
.closing h2 em { color: #cddaff; }
.closing-inner > p { max-width: 340px; color: #e1e8ff; font-size: 14px; line-height: 1.8; margin: 0 3% 5px 0; }
.closing-link { display: inline-block; margin-top: 33px; font-size: 12px; font-weight: 650; padding-bottom: 6px; border-bottom: 1px solid #cddaff; }
.site-footer { min-height: 88px; padding: 20px 6.25vw; display: flex; align-items: center; justify-content: space-between; }
.site-footer .wordmark { font-size: 25px; }
.site-footer > span, .site-footer > a:last-child { color: var(--muted); font-size: 11px; }
.detail-dialog { width: min(900px, calc(100% - 36px)); max-width: none; max-height: min(760px, calc(100% - 36px)); padding: 0; border: 0; border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: 0 24px 80px rgb(12 21 38 / .25); overflow: auto; }
.detail-dialog::backdrop { background: rgb(16 24 27 / .62); backdrop-filter: blur(3px); }
.detail-shell { min-height: 530px; display: grid; grid-template-columns: .88fr 1fr; position: relative; }
.dialog-close { position: absolute; top: 15px; right: 15px; width: 38px; height: 38px; z-index: 1; border: 1px solid var(--line); background: var(--surface); border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; }
.detail-photo { min-height: 530px; background: var(--paper); }
.detail-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.detail-photo { position: relative; overflow: hidden; }
.detail-content { padding: 55px 48px 40px; }
.detail-category { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 14px; }
.detail-content h2 { max-width: 350px; font: 400 49px/1 var(--serif); letter-spacing: -.045em; margin: 0 0 17px; }
.detail-body { color: var(--muted); font-size: 14px; line-height: 1.75; margin-bottom: 25px; }
.detail-facts { margin: 0; border-top: 1px solid var(--line); }
.detail-facts div { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.detail-facts dt { color: var(--muted); font-size: 11px; }
.detail-facts dd { font-size: 12px; margin: 0; }
.detail-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 23px; }
.detail-price { font: 30px var(--serif); }
.save-button { min-height: 45px; border: 1px solid var(--accent); border-radius: var(--radius); padding: 0 19px; color: var(--accent-ink); background: var(--accent); font-size: 12px; font-weight: 650; cursor: pointer; transition: transform .18s, background .18s, color .18s; }
.save-button:active, .saved-filter:active { transform: translateY(1px); }
.save-button[aria-pressed="true"] { background: transparent; color: var(--accent); }
.detail-footnote { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 12px; margin: 16px 0 0; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media (prefers-color-scheme: dark) {
  :root { --page: #191e1b; --paper: #212824; --surface: #252c28; --ink: #edf0eb; --muted: #b0bbb3; --line: #414c45; --accent: #91aaff; --accent-ink: #151c31; }
  .search-field, .select-field { background: #202723; }
  .closing { background: #263d88; color: #f7f8fc; }
  .closing .eyebrow { color: #d7e0ff; }
  .closing-inner > p { color: #e2e8ff; }
  .closing h2 em { color: #d0dcff; }
  .closing-link { border-color: #d0dcff; }
  .detail-dialog { box-shadow: 0 24px 80px rgb(0 0 0 / .55); }
}
@media (max-width: 900px) {
  .site-header { padding-inline: 5%; }
  .hero { padding: 30px 7% 60px 9%; gap: 5%; min-height: 490px; }
  .hero-image { height: 340px; }
  .hero-side-note { display: none; }
  .workshops { padding-inline: 6%; }
  .workshop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-image { height: 245px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 12px; }
  .site-header { height: 64px; padding-inline: 20px; grid-template-columns: auto 1fr auto; }
  .wordmark { font-size: 27px; }
  .site-header nav { gap: 15px; font-size: 11px; }
  .header-link { font-size: 0; }
  .header-link span { font-size: 17px; margin: 0; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 28px; padding: 51px 22px 51px; min-height: auto; }
  .hero-copy { order: 0; }
  .hero .eyebrow { margin-bottom: 17px; }
  .hero h1 { font-size: clamp(64px, 17vw, 76px); margin-left: -3px; margin-bottom: 17px; }
  .hero-description { font-size: 14px; margin-bottom: 18px; }
  .hero-image { order: 1; height: 250px; margin-right: 15px; }
  .hero-image figcaption { font-size: 11px; bottom: -22px; }
  .workshops { padding: 57px 21px 68px; }
  .section-heading { display: block; margin-bottom: 26px; }
  .section-heading h2 { max-width: 370px; font-size: 42px; }
  .section-note { width: auto; max-width: 340px; margin: 13px 0 0; font-size: 12px; }
  .browse-tools { align-items: flex-start; flex-direction: column; gap: 14px; padding-bottom: 15px; margin-bottom: 19px; }
  .filters { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .search-field { grid-column: 1 / -1; width: 100%; }
  .select-field { width: 100%; }
  .select-field select { width: 100%; }
  .saved-filter { padding-inline: 11px; white-space: nowrap; }
  .workshop-grid { grid-template-columns: 1fr; gap: 34px; }
  .card-image { height: clamp(215px, 64vw, 310px); }
  .card-title { font-size: 27px; }
  .card-description { min-height: 0; max-width: 400px; }
  .closing { padding: 57px 24px 54px; }
  .closing-inner { display: block; }
  .closing h2 { font-size: 60px; }
  .closing-inner > p { margin: 20px 0 0; max-width: 350px; font-size: 13px; }
  .site-footer { padding: 21px; min-height: 75px; }
  .site-footer > span { display: none; }
  .detail-dialog { width: calc(100% - 24px); max-height: calc(100% - 24px); }
  .detail-shell { display: block; min-height: 0; }
  .detail-photo { height: 225px; min-height: 0; }
  .detail-content { padding: 28px 24px 25px; }
  .detail-content h2 { font-size: 42px; }
  .detail-body { font-size: 13px; }
  .dialog-close { top: 12px; right: 12px; width: 36px; height: 36px; }
}
