:root {
  --paper: #f3efe6;
  --paper-light: #faf8f2;
  --ink: #20211d;
  --muted: #65665e;
  --line: #c9c5bb;
  --coral: #f15b46;
  --coral-dark: #c83d2c;
  --lime: #d9ee65;
  --white: #fffdf8;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --page: min(1320px, calc(100vw - 64px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open { overflow: hidden; }

button, input, select { font: inherit; }
button, a, select { cursor: pointer; }
button, a, select, input { touch-action: manipulation; }
img { display: block; width: 100%; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--white);
  background: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 150ms ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  width: var(--page);
  height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  width: max-content;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: 1;
  text-decoration: none;
}

.wordmark span { color: var(--coral); padding: 0 .08em; }

.main-nav { display: flex; gap: 36px; }
.main-nav a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
}

.main-nav a, .header-cta { transition: color 180ms ease; }
.main-nav a:hover, .header-cta:hover { color: var(--coral-dark); }

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.header-cta svg, .search-field svg, .select-field svg, .saved-toggle svg,
.close-detail svg, .save-item svg, .circle-link svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-cta svg { width: 19px; }

.hero {
  width: var(--page);
  min-height: 660px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  align-items: center;
  gap: 7vw;
  padding: 56px 0 72px;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(70px, 7.2vw, 116px);
  font-weight: 700;
  letter-spacing: -.075em;
  line-height: .82;
}

h1 em, .manifesto h2 em {
  font-family: var(--serif);
  font-weight: 400;
}

.hero h1 em { color: var(--coral); }

.hero-intro {
  max-width: 500px;
  margin: 40px 0 0;
  color: #4f504a;
  font-size: 18px;
  line-height: 1.55;
}

.circle-link {
  width: 86px;
  height: 86px;
  margin-top: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.circle-link svg { width: 18px; height: 18px; }
.circle-link:hover { color: var(--paper); background: var(--ink); transform: translateY(3px); }

.hero-visual { position: relative; min-height: 540px; }
.hero-image-wrap {
  position: absolute;
  inset: 0 35px 0 8%;
  overflow: hidden;
  border-radius: 47% 47% 4px 4px;
  background: #d9d2c4;
}

.hero-image-wrap img { height: 100%; object-fit: cover; object-position: center; }

.hero-stamp {
  position: absolute;
  right: 0;
  bottom: 48px;
  width: 142px;
  height: 142px;
  padding: 27px 20px;
  border-radius: 50%;
  background: var(--lime);
  transform: rotate(7deg);
}

.hero-stamp span {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-stamp strong {
  display: block;
  margin-top: 7px;
  font-family: var(--serif);
  font-size: 23px;
  font-style: italic;
  font-weight: 400;
  line-height: .94;
}

.scribble {
  position: absolute;
  top: 44px;
  left: -15px;
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.05;
  transform: rotate(-10deg);
}

.scribble::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: -11px;
  width: 53px;
  height: 9px;
  border-top: 2px solid var(--coral);
  border-radius: 50%;
  transform: rotate(6deg);
}

.browse {
  padding: 112px max(32px, calc((100vw - 1320px) / 2)) 120px;
  background: var(--paper-light);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading .eyebrow { margin-bottom: 16px; }
.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .95;
}

.section-note { max-width: 300px; margin: 0 0 4px; color: var(--muted); }

.filter-bar {
  margin-top: 62px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(280px, 1.6fr) minmax(190px, .7fr) auto;
  gap: 10px;
  background: var(--white);
}

.search-field, .select-field { min-width: 0; }
.search-field > span:first-child, .select-field > span:first-child {
  display: block;
  margin: 0 0 7px 2px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.input-wrap, .select-wrap { position: relative; display: block; }
.input-wrap svg {
  position: absolute;
  left: 17px;
  top: 50%;
  width: 20px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search-field input, .select-field select {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: #efede6;
}

.search-field input { padding: 0 20px 0 50px; }
.search-field input::placeholder { color: #787a71; opacity: 1; }
.select-field select {
  padding: 0 50px 0 20px;
  appearance: none;
  font-weight: 700;
}

.select-wrap svg {
  position: absolute;
  right: 17px;
  top: 50%;
  width: 20px;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-field input:focus-visible, .select-field select:focus-visible { outline-offset: 0; }

.saved-toggle {
  align-self: end;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease;
}

.saved-toggle:active, .save-item:active, .empty-state button:active { opacity: .72; }

.saved-toggle:hover, .saved-toggle[aria-pressed="true"] { color: var(--white); background: var(--ink); }
.saved-toggle svg { width: 18px; height: 18px; }
.saved-toggle[aria-pressed="true"] svg { fill: var(--coral); stroke: var(--coral); }
.saved-count {
  min-width: 23px;
  height: 23px;
  padding: 0 6px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  font-size: 11px;
}

.results-meta {
  margin: 40px 0 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.results-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.results-meta span { width: 100%; height: 1px; background: var(--line); }

.workshop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 64px;
}

.workshop-card { min-width: 0; }
.card-image-button {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  color: inherit;
  background: #dedad0;
  text-align: left;
}

.card-image-button::after {
  content: "View details ↗";
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 9px 12px;
  background: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: translateY(6px);
  opacity: 0;
  transition: opacity 200ms ease, transform 200ms ease;
}

.card-image-button:hover::after, .card-image-button:focus-visible::after { opacity: 1; transform: translateY(0); }
.card-image-button img {
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(.2,.7,.2,1);
}

.card-image-button:hover img { transform: scale(1.025); }
.card-image-button:active { opacity: .88; }
.card-index {
  position: absolute;
  top: 14px;
  left: 14px;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lime);
  font-size: 11px;
  font-weight: 800;
}

.card-saved {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: none;
  place-items: center;
  color: var(--white);
  background: var(--ink);
}

.card-saved svg { width: 16px; fill: var(--coral); stroke: var(--coral); }
.workshop-card.is-saved .card-saved { display: grid; }

.card-copy { padding-top: 19px; }
.card-topline {
  margin: 0 0 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.card-copy h3 { margin: 0; font-size: 25px; letter-spacing: -.035em; line-height: 1.15; }
.card-copy h3 button {
  padding: 2px 0;
  border: 0;
  color: inherit;
  background: transparent;
  font-weight: 700;
  text-align: left;
}

.card-copy h3 button:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.card-description { min-height: 48px; margin: 12px 0 18px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.card-bottom {
  padding-top: 13px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
}

.empty-state {
  padding: 84px 20px;
  border: 1px solid var(--line);
  text-align: center;
}

.empty-state[hidden] { display: none; }
.empty-mark {
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lime);
  font-family: var(--serif);
  font-size: 30px;
}

.empty-state h3 { margin: 0; font-family: var(--serif); font-size: 38px; font-weight: 400; }
.empty-state p { margin: 10px auto 24px; color: var(--muted); }
.empty-state button {
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  color: var(--white);
  background: var(--ink);
  font-weight: 700;
}

.manifesto {
  width: var(--page);
  margin: 0 auto;
  padding: 130px 0 140px;
  display: grid;
  grid-template-columns: 1fr 2.25fr 1fr;
  gap: 30px;
  align-items: start;
}

.manifesto .eyebrow { margin-top: 12px; }
.manifesto h2 {
  margin: 0;
  font-size: clamp(50px, 5.5vw, 80px);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .95;
}

.manifesto h2 em { color: var(--coral-dark); }
.manifesto-copy { padding-top: 70px; }
.manifesto-copy p { margin: 0 0 28px; color: var(--muted); font-size: 15px; }
.manifesto-copy a { font-size: 13px; font-weight: 800; text-underline-offset: 5px; }

footer {
  min-height: 130px;
  padding: 30px max(32px, calc((100vw - 1320px) / 2));
  border-top: 1px solid #3f403a;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--paper);
  background: var(--ink);
}

.footer-mark { color: var(--paper); }
footer p { margin: 0; color: #bdbdb5; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
footer p:last-child { justify-self: end; }

.dialog-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  padding: 40px;
  display: grid;
  place-items: center;
  background: rgb(25 26 22 / 78%);
  backdrop-filter: blur(5px);
}

.dialog-backdrop[hidden] { display: none; }
.detail-dialog {
  position: relative;
  width: min(1080px, 100%);
  max-height: min(830px, calc(100vh - 80px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: auto;
  color: var(--ink);
  background: var(--paper-light);
  box-shadow: 0 24px 80px rgb(0 0 0 / 28%);
}

.close-detail {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  transition: transform 180ms ease, background 180ms ease;
}

.close-detail:hover { background: var(--lime); transform: rotate(4deg); }
.close-detail:active { opacity: .72; }
.close-detail svg { width: 22px; height: 22px; }
.detail-image { min-height: 690px; background: #dedad0; }
.detail-image img { height: 100%; object-fit: cover; }
.detail-content { padding: 68px 58px 42px; align-self: center; }
.detail-category {
  margin: 0 0 20px;
  color: var(--coral-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.detail-content h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .92;
}

.detail-body { margin: 26px 0 32px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.detail-facts {
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.detail-facts div { padding: 14px 0; }
.detail-facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.detail-facts div:nth-child(even) { padding-left: 22px; }
.detail-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.detail-facts dt { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.detail-facts dd { margin: 2px 0 0; font-size: 14px; font-weight: 700; }
.detail-host { margin-top: 24px; display: flex; gap: 10px; font-size: 13px; }
.detail-host span { color: var(--muted); }
.detail-actions { margin-top: 28px; display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.detail-price { margin: 0; display: flex; flex-direction: column; }
.detail-price span { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.detail-price strong { font-family: var(--serif); font-size: 34px; font-weight: 400; }
.save-item {
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--white);
  background: var(--ink);
  font-size: 12px;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease;
}

.save-item:hover { color: var(--ink); background: var(--lime); }
.save-item svg { width: 18px; height: 18px; }
.save-item[aria-pressed="true"] { color: var(--ink); background: var(--lime); }
.save-item[aria-pressed="true"] svg { fill: var(--ink); }

@media (max-width: 900px) {
  :root { --page: calc(100vw - 40px); }
  .main-nav { display: none; }
  .site-header { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero h1 { font-size: clamp(58px, 10vw, 88px); }
  .hero-visual { min-height: 500px; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  .workshop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .manifesto { grid-template-columns: 1fr 3fr; }
  .manifesto h2 { grid-column: 2; }
  .manifesto-copy { grid-column: 2; padding-top: 10px; }
  .detail-content { padding: 64px 36px 36px; }
}

@media (max-width: 620px) {
  :root { --page: calc(100vw - 32px); }
  .site-header { height: 72px; }
  .header-cta { font-size: 0; }
  .header-cta svg { width: 25px; }
  .hero { display: block; padding: 48px 0 58px; }
  .hero .eyebrow { margin-bottom: 20px; }
  .hero h1 { font-size: 66px; }
  .hero-intro { margin-top: 28px; font-size: 16px; }
  .circle-link { width: 72px; height: 72px; margin-top: 30px; }
  .hero-visual { min-height: 410px; margin-top: 45px; }
  .hero-image-wrap { inset: 0 16px 0 0; }
  .hero-stamp { right: -4px; bottom: 25px; width: 118px; height: 118px; padding: 23px 17px; }
  .hero-stamp strong { font-size: 20px; }
  .scribble { top: 27px; left: auto; right: -2px; color: var(--white); text-shadow: 0 1px 3px rgb(0 0 0 / 40%); }
  .browse { padding: 74px 16px 80px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 52px; }
  .section-note { margin-top: 20px; }
  .filter-bar { margin-top: 38px; padding: 10px; grid-template-columns: 1fr; }
  .search-field { grid-column: auto; }
  .saved-toggle { width: 100%; }
  .results-meta { margin-top: 30px; }
  .workshop-grid { grid-template-columns: 1fr; row-gap: 46px; }
  .card-image-button img { aspect-ratio: 1 / .92; }
  .card-description { min-height: 0; }
  .manifesto { padding: 88px 0 95px; display: block; }
  .manifesto h2 { font-size: 52px; }
  .manifesto-copy { padding-top: 34px; }
  footer { min-height: 175px; padding: 32px 16px; grid-template-columns: 1fr; gap: 16px; }
  footer p:last-child { justify-self: start; }
  .dialog-backdrop { padding: 0; align-items: end; background: rgb(25 26 22 / 58%); }
  .detail-dialog {
    width: 100%;
    max-height: 94dvh;
    grid-template-columns: 1fr;
    border-radius: 18px 18px 0 0;
  }
  .detail-image { min-height: 0; height: 250px; }
  .detail-content { padding: 32px 20px calc(28px + env(safe-area-inset-bottom)); }
  .detail-category { margin-bottom: 12px; }
  .detail-content h2 { font-size: 48px; }
  .detail-body { margin: 18px 0 24px; font-size: 15px; }
  .detail-actions { align-items: stretch; flex-direction: column; }
  .detail-price { flex-direction: row; align-items: baseline; justify-content: space-between; }
  .save-item { width: 100%; }
  .close-detail { position: fixed; top: calc(7dvh + 12px); right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
