:root {
  color-scheme: light;
  --paper: #eef0eb;
  --ink: #171b16;
  --muted: #586057;
  --line: #c9cec5;
  --acid: #c9f344;
  --white: #fbfcf8;
  --radius: 4px;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
:focus-visible { outline: 3px solid #205a2c; 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; }
.topbar { height: 72px; max-width: 1440px; margin: auto; padding: 0 5.55%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; gap: 9px; align-items: center; text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: -.07em; }
.mark { display: grid; place-items: center; width: 28px; height: 28px; background: var(--acid); border: 1px solid var(--ink); border-radius: 50%; font-size: 14px; letter-spacing: -.08em; transform: rotate(-12deg); }
.top-note { margin: 0; font-size: 12px; color: var(--muted); letter-spacing: .03em; }
.top-link { font-size: 12px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--ink); padding: 6px 0; }
.top-link span { margin-left: 6px; }
.intro { position: relative; max-width: 1440px; min-height: 396px; margin: auto; padding: 48px 8.4% 46px 11.1%; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 3.8%; overflow: hidden; }
.intro-copy { position: relative; z-index: 1; padding: 0 0 12px; }
.intro-kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; }
.live-mark { width: 9px; height: 9px; background: var(--acid); border: 1px solid var(--ink); border-radius: 50%; }
h1 { margin: 0; font-size: clamp(58px, 6.8vw, 94px); line-height: .91; letter-spacing: -.085em; font-weight: 780; }
h1 span { display: inline-block; position: relative; z-index: 0; font-style: italic; padding: 0 .07em .09em 0; }
h1 span::after { content: ""; position: absolute; left: -.02em; right: -.1em; height: .22em; bottom: .07em; z-index: -1; background: var(--acid); transform: rotate(-2.5deg); }
.intro-deck { max-width: 340px; margin: 20px 0 0; font-size: 15px; line-height: 1.55; color: #434b42; }
.intro-art { position: relative; min-height: 272px; height: min(26vw, 310px); transform: rotate(2deg); border: 1px solid var(--ink); padding: 8px; background: var(--white); box-shadow: 8px 8px 0 var(--acid); }
.intro-art img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); }
.art-note { position: absolute; left: -20px; bottom: 18px; padding: 10px 14px 11px; background: var(--acid); border: 1px solid var(--ink); transform: rotate(-4deg); display: grid; gap: 3px; }
.art-note span { font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.art-note b { font-size: 17px; letter-spacing: -.04em; }
.orbit { position: absolute; border: 1px solid var(--ink); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 54px; height: 54px; right: -22px; top: -20px; }
.orbit-two { width: 17px; height: 17px; right: -4px; top: -1px; background: var(--acid); }
.intro-side { position: absolute; right: 2.6%; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; display: flex; gap: 12px; align-items: center; font-size: 8px; font-weight: 750; letter-spacing: .16em; }
.intro-side i { font-style: normal; font-size: 12px; }
.catalog { border-top: 1px solid var(--ink); background: #e4e8e1; padding: 37px 5.55% 66px; }
.catalog-head { max-width: 1280px; margin: 0 auto 25px; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.catalog-title-wrap { display: flex; align-items: end; gap: 12px; }
.handmark { font-size: 27px; color: var(--ink); line-height: 1; transform: rotate(-10deg); }
.catalog h2 { margin: 0; font-size: 34px; line-height: .98; letter-spacing: -.065em; }
.result-count { color: var(--muted); font-size: 11px; margin: 0 0 3px 3px; white-space: nowrap; }
.controls { display: flex; gap: 8px; align-items: center; }
.search-wrap, .filter-wrap { display: flex; height: 42px; align-items: center; background: var(--white); border: 1px solid #9da59a; border-radius: var(--radius); }
.search-wrap { width: 205px; padding: 0 11px; gap: 7px; }
.search-wrap > span { font-size: 22px; line-height: 1; color: #384238; }
.search-wrap input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.search-wrap input::placeholder { color: #4f584f; opacity: 1; }
.search-wrap:focus-within, .filter-wrap:focus-within { outline: 3px solid #205a2c; outline-offset: 2px; }
.filter-wrap { position: relative; width: 132px; }
.filter-wrap select { appearance: none; width: 100%; height: 100%; padding: 0 32px 0 12px; border: 0; outline: 0; color: var(--ink); background: transparent; font-weight: 650; font-size: 12px; cursor: pointer; }
.select-arrow { position: absolute; right: 11px; pointer-events: none; font-size: 17px; }
.saved-toggle { height: 42px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--ink); border-radius: var(--radius); color: var(--ink); background: transparent; font-weight: 700; font-size: 12px; cursor: pointer; transition: background .2s, transform .2s; white-space: nowrap; }
.saved-toggle[aria-pressed="true"] { background: var(--acid); }
.saved-toggle:active, .save-button:active, .open-item:active { transform: translateY(1px) scale(.99); }
.saved-star { font-size: 15px; }
.saved-count { display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid currentColor; border-radius: 50%; font-size: 10px; }
.workshop-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; align-items: start; }
.loading-state { max-width: 1280px; margin: 0 auto; padding: 28px 0; color: var(--muted); font-size: 13px; }
.workshop-card { min-width: 0; position: relative; padding: 9px; border: 1px solid var(--ink); background: var(--white); box-shadow: 3px 4px 0 #c7cdc1; transform: rotate(var(--tilt, 0deg)); transition: transform .22s ease, box-shadow .22s ease; animation: card-in .45s both; animation-delay: var(--delay, 0ms); }
.workshop-card:nth-child(3n + 1) { --tilt: -.65deg; }
.workshop-card:nth-child(3n + 2) { --tilt: .55deg; margin-top: 12px; }
.workshop-card:nth-child(3n) { --tilt: -.25deg; margin-top: -3px; }
.workshop-card:hover, .workshop-card:focus-within { transform: translateY(-4px) rotate(0deg); box-shadow: 7px 9px 0 var(--acid); z-index: 2; }
.card-image { position: relative; height: 177px; overflow: hidden; background: #d4d9d0; }
.card-image img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.86); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.workshop-card:hover .card-image img { transform: scale(1.045); }
.card-index { position: absolute; top: 9px; left: 9px; width: 30px; height: 30px; display: grid; place-items: center; background: var(--acid); border: 1px solid var(--ink); border-radius: 50%; font-size: 11px; font-weight: 800; }
.card-category { position: absolute; right: 8px; bottom: 8px; padding: 5px 8px; color: var(--ink); background: var(--white); border: 1px solid var(--ink); font-size: 9px; text-transform: uppercase; font-weight: 800; letter-spacing: .09em; }
.card-info { padding: 14px 7px 5px; }
.card-date { margin: 0 0 7px; font-size: 10px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: #4c594a; }
.card-title-row { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
.card-title { margin: 0; font-size: 23px; line-height: 1; letter-spacing: -.055em; }
.card-price { font-size: 13px; font-weight: 750; white-space: nowrap; }
.card-description { min-height: 39px; margin: 10px 0 12px; color: #50584e; font-size: 12px; line-height: 1.5; }
.card-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #d4d8d1; padding-top: 10px; gap: 8px; }
.card-seats { font-size: 10px; color: #414940; }
.open-item { border: 0; padding: 5px 0 5px 8px; background: transparent; color: var(--ink); font-weight: 800; font-size: 11px; cursor: pointer; white-space: nowrap; }
.open-item span { display: inline-block; margin-left: 5px; transition: transform .2s; }
.open-item:hover span { transform: translate(3px,-2px); }
.empty-state { max-width: 1280px; margin: 0 auto; min-height: 255px; text-align: center; display: grid; justify-items: center; align-content: center; border: 1px dashed #899184; background: #e9ece6; }
.empty-state[hidden] { display: none; }
.empty-stamp { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; border: 1px solid var(--ink); background: var(--acid); font-size: 24px; font-weight: 700; transform: rotate(-9deg); }
.empty-state h3 { margin: 15px 0 5px; font-size: 24px; letter-spacing: -.05em; }
.empty-state p { margin: 0; font-size: 13px; color: var(--muted); }
.reset-button { margin-top: 17px; padding: 9px 12px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--acid); color: var(--ink); font-weight: 750; font-size: 12px; cursor: pointer; }
.footer { min-height: 94px; padding: 22px 5.55%; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-mark { font-size: 17px; }
.footer-mark .mark { width: 24px; height: 24px; }
.footer p { margin: 0; color: #50584e; font-size: 12px; }
.footer-scribble { font-size: 25px; color: var(--ink); }
.detail-dialog { width: min(850px, calc(100% - 32px)); max-width: none; padding: 0; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); box-shadow: 10px 10px 0 var(--acid); overflow: visible; }
.detail-dialog::backdrop { background: rgb(17 23 16 / .66); backdrop-filter: blur(3px); }
.detail-shell { display: grid; grid-template-columns: .95fr 1.05fr; min-height: 480px; position: relative; }
.detail-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border: 1px solid var(--ink); border-radius: 50%; background: var(--acid); color: var(--ink); font-size: 25px; line-height: 1; cursor: pointer; }
.detail-image { min-height: 100%; background: #d4d9d0; }
.detail-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.detail-copy { padding: 54px 42px 38px; display: flex; flex-direction: column; align-items: start; }
.detail-category { margin: 0 0 12px; padding: 5px 8px; border: 1px solid var(--ink); background: var(--acid); font-weight: 800; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.detail-copy h2 { margin: 0; max-width: 390px; font-size: clamp(36px,5vw,56px); letter-spacing: -.075em; line-height: .98; }
.detail-body { margin: 16px 0 22px; color: #414940; font-size: 14px; line-height: 1.6; }
.detail-facts { display: grid; width: 100%; grid-template-columns: 1fr 1fr; margin: 0 0 22px; border-top: 1px solid var(--line); }
.detail-facts div { padding: 12px 8px 11px 0; border-bottom: 1px solid var(--line); }
.detail-facts dt { margin-bottom: 4px; color: #596257; font-size: 9px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.detail-facts dd { margin: 0; font-size: 13px; font-weight: 700; }
.save-button { width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 16px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: white; font-size: 13px; font-weight: 800; cursor: pointer; transition: transform .18s, background .18s, color .18s; }
.save-button[aria-pressed="true"] { background: var(--acid); color: var(--ink); }
.save-button span { font-size: 16px; }
@keyframes card-in { from { opacity: 0; transform: translateY(12px) rotate(var(--tilt,0deg)); } to { opacity: 1; transform: translateY(0) rotate(var(--tilt,0deg)); } }
@media (max-width: 900px) {
  .intro { padding-left: 7%; padding-right: 8%; min-height: 355px; }
  .intro-side { display: none; }
  .intro-art { height: 265px; }
  .catalog { padding-left: 4%; padding-right: 4%; }
  .catalog-head { align-items: start; flex-direction: column; gap: 19px; }
  .controls { width: 100%; }
  .search-wrap { flex: 1; }
  .workshop-grid { gap: 14px; }
  .card-image { height: 150px; }
}
@media (max-width: 640px) {
  html { scroll-behavior: auto; }
  .topbar { height: 60px; padding: 0 18px; }
  .top-note { display: none; }
  .top-link { font-size: 11px; }
  .intro { min-height: unset; padding: 32px 24px 38px; display: flex; flex-direction: column; align-items: stretch; gap: 26px; }
  .intro-kicker { margin-bottom: 15px; font-size: 9px; }
  h1 { font-size: clamp(58px, 15vw, 76px); }
  .intro-deck { font-size: 14px; margin-top: 15px; max-width: 290px; }
  .intro-art { width: calc(100% - 12px); height: 210px; min-height: 0; margin: 0 5px 5px 0; }
  .art-note { left: -12px; bottom: 13px; }
  .orbit-one { right: -17px; }
  .catalog { padding: 28px 18px 44px; }
  .catalog-head { margin-bottom: 19px; gap: 16px; }
  .catalog-title-wrap { align-items: center; gap: 8px; }
  .catalog h2 { font-size: 30px; }
  .mobile-break { display: none; }
  .result-count { margin-left: auto; font-size: 10px; }
  .controls { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
  .search-wrap { width: auto; min-width: 0; height: 43px; }
  .filter-wrap { width: auto; min-width: 112px; height: 43px; }
  .saved-toggle { grid-column: 1 / -1; justify-self: start; height: 37px; }
  .workshop-grid { grid-template-columns: minmax(0,1fr); gap: 17px; }
  .loading-state { padding: 22px 4px; }
  .workshop-card, .workshop-card:nth-child(n) { margin: 0; transform: rotate(var(--tilt,0deg)); }
  .workshop-card:nth-child(odd) { --tilt: -.4deg; }
  .workshop-card:nth-child(even) { --tilt: .4deg; }
  .card-image { height: 205px; }
  .card-info { padding: 13px 6px 5px; }
  .card-title { font-size: 25px; }
  .card-description { min-height: 0; font-size: 13px; }
  .footer { min-height: 82px; padding: 19px 18px; }
  .footer p { max-width: 185px; text-align: right; line-height: 1.4; font-size: 10px; }
  .footer-scribble { display: none; }
  .detail-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 24px); overflow-y: auto; box-shadow: 5px 5px 0 var(--acid); }
  .detail-shell { display: block; min-height: 0; }
  .detail-close { position: sticky; float: right; margin: 10px 10px -48px 0; top: 10px; }
  .detail-image { height: 230px; min-height: 0; }
  .detail-copy { padding: 25px 23px 24px; }
  .detail-copy h2 { font-size: 43px; }
  .detail-body { margin: 13px 0 18px; }
}
@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 { color-scheme: dark; --paper: #171b16; --ink: #f0f2ed; --muted: #c0c7bd; --line: #485047; --white: #242a23; }
  body, .catalog { background: var(--paper); color: var(--ink); }
  .catalog { background: #20261f; }
  .intro-deck, .card-description, .card-seats, .footer p, .detail-body, .result-count { color: #c4cbc1; }
  .workshop-card { background: var(--white); box-shadow: 3px 4px 0 #090c09; }
  .workshop-card:hover, .workshop-card:focus-within { box-shadow: 7px 9px 0 var(--acid); }
  .card-image { background: #313a30; }
  .card-category, .search-wrap, .filter-wrap { background: #30372f; color: var(--ink); }
  .search-wrap input, .filter-wrap select { color: var(--ink); }
  .search-wrap input::placeholder { color: #c4cbc1; }
  .card-date, .card-seats, .footer p, .detail-body { color: #c4cbc1; }
  .card-foot, .detail-facts { border-color: #485047; }
  .detail-dialog { background: var(--paper); color: var(--ink); }
  .empty-state { background: #20261f; border-color: #778174; }
  .empty-state p { color: #c4cbc1; }
  .saved-toggle { color: var(--ink); border-color: var(--ink); }
  .saved-toggle[aria-pressed="true"], .reset-button, .detail-category, .detail-close { background: var(--acid); color: #171b16; }
  .mark, .card-index, .art-note, .empty-stamp, .live-mark { color: #171b16; }
  .save-button { background: var(--acid); color: #171b16; }
  .save-button[aria-pressed="true"] { background: transparent; color: var(--ink); }
}
