:root {
  --paper: #f2efe7;
  --ink: #1b241d;
  --clay: #c85b3c;
  --clay-dark: #a63f27;
  --sage: #aab39c;
  --line: rgba(27, 36, 29, 0.25);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { 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.45;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; width: 100%; }

.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;
}

:focus-visible {
  outline: 3px solid #1767d2;
  outline-offset: 3px;
}

.site-header {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px clamp(24px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  width: max-content;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
  text-decoration: none;
}

.wordmark span { color: var(--clay); font-style: italic; }

.header-note {
  margin: 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-link {
  justify-self: end;
  font-size: 13px;
  text-underline-offset: 4px;
}

.header-link span { display: inline-block; margin-left: 8px; }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  padding: 74px 5vw 54px clamp(24px, 6vw, 88px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.eyebrow {
  margin: 0 0 50px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  min-width: 30px;
  margin-right: 12px;
  color: var(--clay-dark);
}

h1, h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.94;
}

h1 { font-size: clamp(58px, 5.3vw, 86px); }
h1 em, h2 em { color: var(--clay-dark); font-weight: 400; }

.hero-intro {
  max-width: 400px;
  margin: 38px 0 35px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.4;
}

.round-link {
  width: 116px;
  height: 116px;
  margin-top: auto;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 50%;
  color: white;
  background: var(--ink);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 180ms ease, background 180ms ease;
}

.round-link:hover { transform: rotate(-5deg); background: var(--clay-dark); }
.round-link svg { width: 25px; align-self: flex-end; fill: none; stroke: currentColor; stroke-width: 1.5; }

.hero-images {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: var(--sage);
}

.hero-images figure { margin: 0; position: absolute; overflow: hidden; }
.hero-images img { height: 100%; object-fit: cover; }
.hero-main { inset: 0 0 0 9%; }
.hero-main img { object-position: center; }

.hero-inset {
  left: 0;
  bottom: 7%;
  width: 31%;
  height: 47%;
  border: 10px solid var(--paper);
  border-left: 0;
}

.hero-inset img { object-position: center 54%; }

.scribble {
  position: absolute;
  right: 7%;
  top: 7%;
  width: 92px;
  height: 92px;
  display: grid;
  place-content: center;
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 50%;
  color: white;
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  line-height: 1;
  text-align: center;
  transform: rotate(8deg);
}

.workshops { padding: 120px clamp(24px, 4vw, 64px) 135px; }

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

.section-heading .eyebrow { margin-bottom: 42px; }
.section-heading h2 { font-size: clamp(54px, 6.5vw, 96px); }

.section-note {
  margin: 0 0 8px;
  padding-left: 25px;
  border-left: 1px solid var(--clay);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.35;
}

.toolbar {
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, .7fr) auto;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.search-field, .select-field {
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-right: 1px solid var(--line);
}

.search-field svg, .select-field svg, .saved-filter svg {
  width: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.search-field input {
  width: 100%;
  height: 76px;
  padding: 0 16px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-family: var(--serif);
  font-size: 18px;
}

.search-field:focus-within, .select-field:focus-within { background: rgba(255,255,255,.42); }
.search-field input::placeholder { color: #4d534d; opacity: 1; }

.select-field { position: relative; gap: 16px; }
.select-field > span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #5b625c; }
.select-field select {
  appearance: none;
  flex: 1;
  height: 76px;
  padding: 0 35px 0 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-family: var(--serif);
  font-size: 17px;
  cursor: pointer;
}
.select-field svg { position: absolute; right: 22px; pointer-events: none; }

.saved-filter {
  min-width: 190px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.saved-filter:hover, .saved-filter[aria-pressed="true"] { color: white; background: var(--ink); }
.saved-filter[aria-pressed="true"] svg { fill: var(--clay); stroke: var(--clay); }
.saved-count {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
}

.results-line {
  display: flex;
  justify-content: space-between;
  padding: 28px 0 22px;
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.results-line p { margin: 0; }

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

.workshop-card { min-width: 0; }

.card-image {
  position: relative;
  aspect-ratio: 1.16 / 1;
  margin: 0 0 22px;
  overflow: hidden;
  background: #d4d0c5;
}

.card-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2,.8,.2,1);
}

.workshop-card:nth-child(3n+2) .card-image { aspect-ratio: .96 / 1; }
.workshop-card:nth-child(3n+2) { margin-top: 58px; }
.workshop-card:hover .card-image img { transform: scale(1.035); }

.card-image .heart-marker {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 35px;
  height: 35px;
  display: none;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--clay);
}
.workshop-card.is-saved .heart-marker { display: grid; }
.heart-marker svg { width: 18px; fill: currentColor; stroke: currentColor; }

.card-meta, .card-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.card-meta {
  margin-bottom: 10px;
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.card-number { color: var(--clay-dark); }

.workshop-card h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(27px, 2.35vw, 38px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.035em;
}

.card-bottom { padding-top: 15px; border-top: 1px solid var(--line); }
.card-details { margin: 0; font-size: 12px; color: #555b55; }
.open-item {
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}
.open-item:hover { color: var(--clay-dark); border-color: var(--clay-dark); }

.empty-state {
  padding: 80px 20px;
  border-bottom: 1px solid var(--ink);
  text-align: center;
}
.empty-state[hidden] { display: none; }
.empty-state > span { color: var(--clay); font-family: var(--serif); font-size: 60px; }
.empty-state h3 { margin: 8px 0 10px; font-family: var(--serif); font-size: 38px; font-weight: 400; }
.empty-state p { max-width: 440px; margin: 0 auto 24px; }
.empty-state button {
  padding: 12px 18px;
  border: 1px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
  cursor: pointer;
}

.manifesto {
  padding: 115px clamp(24px, 7vw, 105px);
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 12vw;
  color: var(--paper);
  background: var(--clay-dark);
}
.manifesto > p { margin: 0; font-family: var(--serif); font-size: clamp(62px, 8.3vw, 124px); line-height: .88; letter-spacing: -.055em; }
.manifesto > div { align-self: end; max-width: 420px; }
.manifesto span { display: block; margin-bottom: 34px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.manifesto div p { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.45; }

footer {
  min-height: 230px;
  padding: 46px clamp(24px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  color: var(--paper);
  background: var(--ink);
}
.wordmark-footer { align-self: start; font-size: 48px; }
footer p { margin: 0; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
footer p:last-child { justify-self: end; }

.detail-dialog {
  width: min(1120px, calc(100vw - 48px));
  max-width: none;
  max-height: min(850px, calc(100vh - 48px));
  padding: 0;
  border: 0;
  color: var(--ink);
  background: var(--paper);
  overflow: hidden;
}
.detail-dialog::backdrop { background: rgba(19, 25, 20, .76); backdrop-filter: blur(4px); }
.detail-shell { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; min-height: min(720px, calc(100vh - 48px)); }
.detail-image-wrap { position: relative; min-height: 0; overflow: hidden; background: #d5d0c5; }
.detail-image { height: 100%; object-fit: cover; }
.detail-index {
  position: absolute;
  left: 24px;
  bottom: 23px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
  font-size: 11px;
  letter-spacing: .1em;
}
.detail-close {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.detail-close svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.detail-content { padding: 75px clamp(36px, 5vw, 76px) 42px; display: flex; flex-direction: column; overflow-y: auto; }
.detail-category { margin: 0 0 22px; color: var(--clay-dark); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.detail-content h2 { max-width: 540px; font-size: clamp(54px, 5.3vw, 80px); }
.detail-body { max-width: 500px; margin: 30px 0 38px; font-family: var(--serif); font-size: 20px; line-height: 1.45; }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 36px; border-top: 1px solid var(--ink); }
.detail-facts div { padding: 15px 4px 16px 0; border-bottom: 1px solid var(--line); }
.detail-facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.detail-facts div:nth-child(even) { padding-left: 20px; }
.detail-facts dt { margin-bottom: 6px; color: #626862; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.detail-facts dd { margin: 0; font-family: var(--serif); font-size: 16px; }
.detail-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.save-item {
  min-height: 52px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
  cursor: pointer;
}
.save-item svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.save-item[aria-pressed="true"] { color: var(--ink); background: transparent; }
.save-item[aria-pressed="true"] svg { fill: var(--clay); stroke: var(--clay); }
.detail-actions > p { margin: 0; color: #626862; font-size: 10px; line-height: 1.35; text-align: right; text-transform: uppercase; letter-spacing: .08em; }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { min-height: 610px; }
  .hero-images { min-height: 600px; }
  .workshop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workshop-card:nth-child(3n+2) { margin-top: 0; }
  .workshop-card:nth-child(even) { margin-top: 45px; }
  .manifesto { grid-template-columns: 1fr; gap: 70px; }
  .manifesto > div { justify-self: end; }
  .detail-shell { grid-template-columns: .8fr 1.2fr; }
}

@media (max-width: 620px) {
  .site-header { min-height: 68px; grid-template-columns: 1fr 1fr; padding: 14px 18px; }
  .wordmark { font-size: 30px; }
  .header-note { display: none; }
  .header-link { font-size: 11px; }

  .hero-copy { min-height: 510px; padding: 50px 20px 35px; }
  .eyebrow { margin-bottom: 33px; font-size: 9px; }
  .eyebrow span { min-width: 23px; margin-right: 8px; }
  h1 { font-size: clamp(48px, 15vw, 63px); line-height: .93; }
  .hero-intro { max-width: 310px; margin: 28px 0 24px; font-size: 17px; }
  .round-link { width: 91px; height: 91px; padding: 16px; font-size: 9px; }
  .round-link svg { width: 20px; }
  .hero-images { min-height: 355px; }
  .hero-main { left: 0; }
  .hero-inset { width: 34%; height: 45%; border-width: 6px; border-left: 0; }
  .scribble { width: 68px; height: 68px; font-size: 13px; }

  .workshops { padding: 78px 18px 90px; }
  .section-heading { display: block; margin-bottom: 46px; }
  .section-heading .eyebrow { margin-bottom: 28px; }
  .section-heading h2 { font-size: 49px; }
  .section-note { display: none; }

  .toolbar { grid-template-columns: 1fr auto; border-bottom: 0; }
  .search-field { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--ink); padding: 0 6px; }
  .search-field input { height: 60px; font-size: 16px; }
  .select-field { min-width: 0; height: 60px; padding: 0 12px; border-bottom: 1px solid var(--ink); }
  .select-field > span { display: none; }
  .select-field select { height: 59px; padding-right: 30px; font-size: 15px; }
  .select-field svg { right: 12px; }
  .saved-filter { min-width: 128px; height: 60px; padding: 0 12px; border-bottom: 1px solid var(--ink); font-size: 12px; }
  .saved-filter svg { width: 17px; }
  .saved-count { width: 21px; height: 21px; }

  .results-line { padding: 21px 0 18px; }
  .results-line span { display: none; }
  .workshop-grid { grid-template-columns: 1fr; gap: 45px; }
  .workshop-card:nth-child(even) { margin-top: 0; }
  .workshop-card:nth-child(3n+2) .card-image, .card-image { aspect-ratio: 1.15 / 1; }
  .card-image { margin-bottom: 18px; }
  .workshop-card h3 { font-size: 34px; }

  .manifesto { padding: 78px 20px; gap: 65px; }
  .manifesto > p { font-size: 61px; }
  .manifesto > div { max-width: 310px; }
  .manifesto div p { font-size: 18px; }
  footer { min-height: 210px; grid-template-columns: 1fr 1fr; padding: 35px 20px; }
  footer > p:nth-child(2) { display: none; }
  footer p:last-child { align-self: end; }

  .detail-dialog { width: 100vw; max-height: none; height: 100dvh; margin: 0; }
  .detail-shell { min-height: 100dvh; display: block; overflow-y: auto; }
  .detail-image-wrap { height: 38vh; min-height: 285px; }
  .detail-close { position: fixed; top: 13px; right: 14px; padding: 9px 11px; border-radius: 30px; color: var(--ink); background: var(--paper); }
  .detail-content { min-height: 62vh; padding: 38px 20px 34px; overflow: visible; }
  .detail-category { margin-bottom: 16px; }
  .detail-content h2 { font-size: 52px; }
  .detail-body { margin: 24px 0 30px; font-size: 18px; }
  .detail-facts { margin-bottom: 30px; }
  .detail-facts dd { font-size: 15px; }
  .detail-actions { align-items: stretch; flex-direction: column; }
  .save-item { justify-content: center; }
  .detail-actions > p { text-align: center; }
}

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