:root {
  color-scheme: light;
  --paper: #f2eedf;
  --paper-deep: #e7e1ce;
  --ink: #18251d;
  --green: #354b39;
  --lime: #d9ef55;
  --tomato: #e86445;
  --blue: #5267d7;
  --line: rgba(24, 37, 29, .22);
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); 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; }

.masthead { height: 82px; padding: 0 6.25vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 26px; letter-spacing: -.07em; }
.mark { width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--lime); font-family: var(--serif); font-size: 23px; font-style: italic; line-height: 1; }
.mast-note { margin-left: 100px; color: #526050; font-size: 11px; line-height: 1.4; }
.mast-link { padding: 10px 0; font-size: 12px; text-decoration: none; border-bottom: 1px solid var(--ink); }
.mast-link span { margin-left: 12px; color: var(--tomato); font-size: 16px; }

.opening { position: relative; min-height: 556px; padding: 60px 12.5vw 67px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5vw; overflow: hidden; }
.opening-copy { z-index: 1; max-width: 470px; }
.season-label, .section-kicker { margin: 0 0 18px; font-size: 11px; font-weight: 650; letter-spacing: .035em; }
.season-label { display: flex; align-items: center; gap: 9px; }
.season-dot { width: 9px; height: 9px; background: var(--tomato); border-radius: 50%; }
h1 { margin: 0; font-family: var(--serif); font-size: clamp(82px, 9vw, 132px); font-weight: 400; letter-spacing: -.09em; line-height: .78; }
h1 span { color: var(--tomato); }
.intro { max-width: 330px; margin: 28px 0 22px; color: #485348; font-family: var(--serif); font-size: 19px; line-height: 1.42; }
.browse-link { display: inline-flex; align-items: center; gap: 18px; padding: 10px 0; font-size: 12px; text-decoration: none; border-bottom: 1px solid var(--ink); }
.browse-link span { color: var(--tomato); font-size: 17px; }
.opening-art { position: relative; width: 100%; max-width: 475px; height: 390px; justify-self: end; transform: rotate(1.4deg); }
.opening-art::before { position: absolute; z-index: -1; content: ""; inset: 13px -14px -13px 14px; background: var(--lime); transform: rotate(-3deg); }
.opening-art img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); }
.october-stamp { position: absolute; top: -27px; right: -22px; width: 112px; height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--tomato); border-radius: 50%; transform: rotate(8deg); }
.october-stamp span { font-size: 11px; letter-spacing: .13em; }
.october-stamp strong { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; }
.october-stamp i { position: absolute; right: 12px; bottom: 10px; font-size: 14px; font-style: normal; }
.art-caption { position: absolute; left: -35px; bottom: 23px; margin: 0; padding: 12px 16px; background: var(--paper); font-family: var(--serif); font-size: 16px; line-height: 1.12; transform: rotate(-4deg); }
.edge-note { position: absolute; right: 2.3vw; top: 50%; writing-mode: vertical-rl; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: #53604f; }

.program { padding: 58px 12.5vw 100px; background: #e8e3d2; }
.program-heading { max-width: 1080px; margin: 0 auto 27px; display: flex; justify-content: space-between; align-items: end; }
.section-kicker { margin-bottom: 9px; color: #526050; }
h2 { margin: 0; font-family: var(--serif); font-size: clamp(32px, 4vw, 48px); font-weight: 400; letter-spacing: -.055em; line-height: 1.06; }
.program-aside { margin: 0 0 4px; color: #526050; font-family: var(--serif); font-size: 14px; line-height: 1.4; }
.toolbar { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.search-wrap, .filter-wrap { height: 48px; display: flex; align-items: center; background: var(--paper); border: 1px solid rgba(24, 37, 29, .3); }
.search-wrap { flex: 1 1 360px; max-width: 440px; gap: 9px; padding: 0 13px; }
.search-icon { font-size: 23px; line-height: 1; transform: rotate(-20deg); }
.search-wrap input { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 13px; }
.search-wrap input::placeholder { color: #737a6f; opacity: 1; }
.filter-wrap { position: relative; min-width: 205px; }
.filter-wrap::after { position: absolute; right: 13px; content: "⌄"; pointer-events: none; font-size: 17px; }
.filter-wrap select { appearance: none; width: 100%; height: 100%; padding: 0 40px 0 13px; color: var(--ink); background: transparent; border: 0; font-size: 12px; cursor: pointer; }
.saved-toggle { min-height: 48px; margin-left: auto; display: inline-flex; align-items: center; gap: 9px; padding: 0 13px; color: var(--ink); background: transparent; border: 1px solid var(--ink); cursor: pointer; font-size: 12px; white-space: nowrap; }
.saved-toggle[aria-pressed="true"] { color: var(--paper); background: var(--ink); }
.saved-glyph { color: var(--tomato); font-size: 18px; line-height: 1; }
.saved-toggle[aria-pressed="true"] .saved-glyph { color: var(--lime); }
.saved-count { min-width: 20px; height: 20px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 10px; }
.result-note { max-width: 1080px; min-height: 25px; margin: 18px auto 6px; color: #596254; font-size: 11px; }

.workshop-list { max-width: 1080px; margin: 0 auto; border-top: 1px solid var(--line); }
.workshop-ticket { display: grid; grid-template-columns: 101px minmax(180px, 1.05fr) minmax(235px, 1.45fr) 48px; min-height: 172px; align-items: center; border-bottom: 1px solid var(--line); }
.date-rail { align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 8px; background: var(--lime); }
.date-rail .day-name { font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.date-rail .day-number { margin: 1px 0 -2px; font-family: var(--serif); font-size: 49px; letter-spacing: -.08em; line-height: 1; }
.date-rail .month-name { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.ticket-photo { height: 126px; width: calc(100% - 30px); margin: 0 15px; overflow: hidden; background: var(--paper-deep); }
.ticket-photo img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.workshop-ticket:hover .ticket-photo img { transform: scale(1.035); }
.ticket-copy { padding: 17px 20px 17px 0; }
.ticket-category { margin: 0 0 7px; color: var(--tomato); font-size: 10px; font-weight: 700; }
.ticket-title { display: inline; padding: 0; color: var(--ink); background: none; border: 0; text-align: left; font-family: var(--serif); font-size: 27px; letter-spacing: -.045em; line-height: 1.1; cursor: pointer; }
.ticket-title:hover { color: var(--blue); }
.ticket-desc { max-width: 405px; margin: 8px 0 0; color: #535d51; font-family: var(--serif); font-size: 13px; line-height: 1.38; }
.ticket-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; color: #39483a; font-size: 10px; }
.ticket-meta span + span::before { content: "·"; margin-right: 12px; color: var(--tomato); }
.open-arrow { width: 38px; height: 38px; display: grid; place-items: center; justify-self: center; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; font-size: 18px; transition: color .18s, background .18s, transform .18s; }
.open-arrow:hover { color: var(--paper); background: var(--ink); transform: rotate(-35deg); }
.empty-state { max-width: 1080px; margin: 0 auto; padding: 70px 25px 85px; text-align: center; border-bottom: 1px solid var(--line); }
.empty-doodle { color: var(--tomato); font-size: 39px; }
.empty-state h3 { margin: 12px auto 7px; font-family: var(--serif); font-size: 29px; font-weight: 400; }
.empty-state p { margin: 0 0 20px; color: #586054; font-family: var(--serif); font-size: 15px; }
.reset-button { padding: 10px 15px; background: var(--lime); border: 0; cursor: pointer; font-size: 12px; }

.footer { min-height: 106px; padding: 26px 6.25vw; display: flex; align-items: center; justify-content: space-between; }
.footer .wordmark { font-size: 22px; }
.footer .mark { width: 24px; height: 24px; font-size: 20px; }
.footer p, .footer > a:last-child { margin: 0; color: #596254; font-family: var(--serif); font-size: 13px; text-decoration: none; }

.detail-dialog { width: min(850px, calc(100% - 36px)); max-width: none; max-height: min(760px, calc(100% - 36px)); padding: 0; overflow: auto; color: var(--ink); background: var(--paper); border: 0; box-shadow: 0 24px 90px rgba(12, 22, 14, .32); }
.detail-dialog::backdrop { background: rgba(17, 28, 20, .67); backdrop-filter: blur(3px); }
.detail-panel { position: relative; min-height: 510px; display: grid; grid-template-columns: .95fr 1.05fr; }
.detail-close { position: absolute; z-index: 2; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink); background: var(--lime); border: 0; border-radius: 50%; cursor: pointer; font-size: 28px; line-height: 1; }
.detail-photo { min-height: 510px; background: var(--paper-deep); }
.detail-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.detail-content { align-self: center; padding: 58px 48px 48px; }
.detail-category { margin: 0 0 12px; color: var(--tomato); font-size: 11px; font-weight: 700; }
.detail-content h2 { max-width: 370px; font-size: clamp(38px, 4vw, 55px); }
.detail-body { margin: 19px 0 22px; color: #4d594d; font-family: var(--serif); font-size: 17px; line-height: 1.48; }
.detail-facts { margin: 0; padding: 15px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-facts div { display: grid; gap: 3px; }
.detail-facts dt { color: #667060; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.detail-facts dd { margin: 0; font-size: 12px; }
.save-item { width: 100%; min-height: 48px; margin-top: 19px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--ink); background: var(--lime); border: 0; cursor: pointer; font-size: 12px; font-weight: 650; }
.save-item span:first-child { color: var(--tomato); font-size: 20px; }
.save-item[aria-pressed="true"] { color: var(--paper); background: var(--ink); }
.save-item[aria-pressed="true"] span:first-child { color: var(--lime); }

@media (max-width: 760px) {
  .masthead { height: 67px; padding: 0 20px; }
  .wordmark { font-size: 23px; }
  .mast-note { display: none; }
  .mast-link { font-size: 11px; }
  .opening { min-height: auto; padding: 45px 23px 50px; grid-template-columns: 1fr; gap: 36px; }
  .opening-copy { max-width: none; }
  h1 { font-size: clamp(82px, 22vw, 112px); }
  .intro { margin-top: 23px; font-size: 17px; }
  .opening-art { width: calc(100% - 18px); height: 260px; justify-self: center; }
  .october-stamp { width: 88px; height: 88px; top: -18px; right: -14px; }
  .october-stamp strong { font-size: 27px; }
  .art-caption { left: -8px; bottom: 14px; font-size: 13px; }
  .edge-note { display: none; }
  .program { padding: 43px 18px 65px; }
  .program-heading { display: block; margin-bottom: 21px; }
  h2 { font-size: 36px; }
  .program-aside { margin-top: 12px; font-size: 13px; }
  .toolbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .search-wrap { grid-column: 1 / -1; max-width: none; }
  .filter-wrap { min-width: 0; }
  .saved-toggle { margin-left: 0; justify-content: center; padding: 0 8px; }
  .saved-toggle #saved-label { font-size: 11px; }
  .workshop-ticket { min-height: 0; grid-template-columns: 62px 95px minmax(0, 1fr) 34px; align-items: stretch; }
  .date-rail { padding: 10px 3px; }
  .date-rail .day-name { font-size: 8px; }
  .date-rail .day-number { font-size: 38px; }
  .date-rail .month-name { font-size: 8px; }
  .ticket-photo { width: 82px; height: 92px; margin: auto 7px; }
  .ticket-copy { align-self: center; padding: 13px 6px 13px 2px; }
  .ticket-category { margin-bottom: 5px; font-size: 9px; }
  .ticket-title { font-size: 19px; }
  .ticket-desc { display: none; }
  .ticket-meta { gap: 3px 7px; margin-top: 7px; font-size: 9px; }
  .ticket-meta span + span::before { margin-right: 7px; }
  .open-arrow { width: 30px; height: 30px; align-self: center; font-size: 15px; }
  .result-note { margin-top: 15px; }
  .footer { min-height: 90px; padding: 20px; flex-wrap: wrap; gap: 10px; }
  .footer p { order: 3; width: 100%; font-size: 12px; }
  .footer > a:last-child { font-size: 11px; }
  .detail-dialog { width: calc(100% - 22px); max-height: calc(100% - 22px); }
  .detail-panel { display: block; }
  .detail-close { position: fixed; top: max(20px, calc((100vh - min(760px, 100vh - 22px)) / 2 + 12px)); right: 23px; }
  .detail-photo { height: 230px; min-height: 0; }
  .detail-content { padding: 30px 24px 25px; }
  .detail-content h2 { font-size: 42px; }
  .detail-body { margin: 14px 0 17px; font-size: 16px; }
}

@media (max-width: 375px) {
  .workshop-ticket { grid-template-columns: 54px 77px minmax(0, 1fr) 30px; }
  .ticket-photo { width: 68px; }
  .ticket-title { font-size: 17px; }
  .ticket-meta { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
