@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3eee3;
  --paper-soft: #faf6ed;
  --paper-deep: #e7decc;
  --ink: #20211b;
  --ink-soft: #45463c;
  --muted: #6a6659;
  --line: rgba(32, 33, 27, 0.18);
  --line-soft: rgba(32, 33, 27, 0.1);
  --accent: #b44325;
  --accent-dark: #91321a;
  --accent-soft: #edcdbd;
  --olive: #4f5949;
  --radius: 4px;
  --shadow-card: 0 16px 36px rgba(39, 36, 27, 0.09);
  --font-serif: "Instrument Serif", "Iowan Old Style", "Baskerville", Georgia, serif;
  --font-sans: "Manrope", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

#workshops,
#about,
#top {
  scroll-margin-top: 88px;
}

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

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: var(--paper-soft);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: 2px;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(1320px, 100%);
  margin-inline: auto;
  padding-inline: 48px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(243, 238, 227, 0.94);
  background: color-mix(in srgb, var(--paper) 91%, transparent);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  line-height: 1;
}

.brand-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
  transform: translateY(1px);
}

.brand-word {
  font-family: var(--font-serif);
  font-size: 30px;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.main-nav a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 6px 0;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.25s ease, color 0.2s ease;
}

.main-nav a:hover {
  color: var(--ink);
  background-size: 100% 1px;
}

.shortlist-jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 12.5px;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.shortlist-jump:hover {
  border-color: var(--ink);
  background: var(--paper-soft);
}

.shortlist-count {
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 10.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Shared type */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}

.button-primary {
  background: var(--ink);
  color: var(--paper-soft);
}

.button-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.text-link {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.text-link:hover {
  color: var(--accent);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.76fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
  padding-top: 66px;
  padding-bottom: 92px;
}

.hero-copy h1 {
  margin: 22px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(3.8rem, 6.6vw, 6.7rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-copy h1 em {
  color: var(--accent);
  letter-spacing: -0.025em;
}

.hero-lede {
  max-width: 480px;
  margin: 28px 0 30px;
  color: var(--ink-soft);
  font-size: 17.5px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-aside {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-stats {
  display: flex;
  gap: clamp(26px, 4vw, 52px);
  margin: 52px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-stats div {
  min-width: 0;
}

.hero-stats dt {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-stats dd {
  margin: 3px 0 0;
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.1;
}

.hero-visual {
  position: relative;
  align-self: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  background: var(--accent-soft);
  border-radius: 3px;
  z-index: 0;
}

.hero-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  background: var(--paper-deep);
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 3px;
  filter: saturate(0.88) contrast(1.02);
}

.hero-figure figcaption {
  margin-top: 12px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-card {
  position: absolute;
  z-index: 2;
  left: -54px;
  bottom: 42px;
  width: 252px;
  padding: 20px 22px 18px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 18px 44px rgba(39, 36, 27, 0.14);
}

.mini-label {
  margin: 0 0 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-card-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.05;
}

.hero-card-meta {
  margin: 7px 0 14px;
  font-size: 11.5px;
  color: var(--muted);
}

.hero-stamp {
  position: absolute;
  z-index: 2;
  top: -30px;
  right: -24px;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff6ef;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-align: center;
  transform: rotate(8deg);
  box-shadow: 0 8px 20px rgba(131, 53, 27, 0.2);
}

/* Workshop browsing */

.workshops {
  border-top: 1px solid var(--line-soft);
  background: var(--paper-soft);
  padding: 78px 0 100px;
}

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

.section-head h2 {
  margin: 14px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(2.7rem, 4.5vw, 4.1rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.section-head h2 em {
  color: var(--accent);
}

.section-intro {
  max-width: 340px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 218px auto auto;
  gap: 10px;
  margin-top: 38px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
}

.search-field {
  position: relative;
  min-width: 0;
}

.search-field input {
  width: 100%;
  height: 50px;
  padding: 0 16px 0 45px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper-soft);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.search-field input::placeholder {
  color: #6f6a5d;
}

.search-field input:focus {
  border-color: var(--ink);
  background: #fffdf8;
}

.search-field input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.select-field {
  min-width: 0;
}

.select-wrap {
  position: relative;
  display: block;
}

.select-wrap select {
  appearance: none;
  width: 100%;
  height: 50px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper-soft);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
}

.select-wrap svg {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted);
}

.saved-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: transparent;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.saved-filter:hover {
  border-color: var(--ink);
  background: var(--paper-soft);
}

.saved-filter[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-soft);
}

.saved-filter[aria-pressed="true"]:hover {
  background: #34362d;
}

.saved-filter-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(32, 33, 27, 0.1);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
}

.saved-filter[aria-pressed="true"] .saved-filter-count {
  background: var(--accent);
  color: #fff;
}

.clear-filters {
  align-self: center;
  height: 50px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.clear-filters:hover {
  color: var(--accent);
}

.clear-filters[hidden] {
  display: none;
}

.results-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin: 24px 0 14px;
}

.result-count {
  margin: 0;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.results-hint {
  margin: 0;
  font-size: 11.5px;
  color: var(--muted);
}

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

.workshop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fffdf8;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.workshop-card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: var(--shadow-card);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-deep);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1);
  filter: saturate(0.92);
}

.workshop-card:hover .card-media img {
  transform: scale(1.035);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(250, 246, 237, 0.94);
  color: var(--ink);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.chip[data-category="Baking"] {
  background: #f1dfc5;
  color: #6f4317;
}

.chip[data-category="Ceramics"] {
  background: #d8e5e2;
  color: #2f5e5e;
}

.chip[data-category="Floristry"] {
  background: #f3dccb;
  color: #8a4324;
}

.chip[data-category="Painting"] {
  background: #e7e0ee;
  color: #574179;
}

.card-chip {
  position: absolute;
  top: 14px;
  left: 14px;
}

.card-saved {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.card-saved::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e9a98f;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 19px 20px 18px;
}

.card-topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.card-date {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.card-index {
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
  color: #a29b8b;
}

.card-title {
  margin: 7px 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.card-summary {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.58;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--line-soft);
}

.card-price {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.card-price strong {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card-price span {
  font-size: 10.5px;
  color: var(--muted);
}

.open-item {
  padding: 6px 0 5px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.open-item:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Empty state */

.empty-state {
  margin-top: 18px;
  padding: 62px 28px 58px;
  border: 1px dashed var(--line);
  border-radius: 4px;
  background: var(--paper);
  text-align: center;
}

.empty-state[hidden] {
  display: none;
}

.empty-mark {
  display: block;
  font-family: var(--font-serif);
  font-size: 58px;
  line-height: 0.8;
  color: var(--accent);
}

.empty-state h3 {
  margin: 18px 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.05;
}

.empty-state p {
  max-width: 420px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 13.5px;
}

/* About */

.about {
  padding: 92px 0;
  background: var(--ink);
  color: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
}

.about-figure {
  margin: 0;
}

.about-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid rgba(243, 238, 227, 0.18);
  filter: saturate(0.82);
}

.about-figure figcaption {
  margin-top: 12px;
  max-width: 330px;
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(243, 238, 227, 0.52);
}

.eyebrow-light {
  color: rgba(243, 238, 227, 0.58);
}

.about-copy h2 {
  margin: 16px 0 24px;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 4.7rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.025em;
}

.about-copy h2 em {
  color: #e7aa8f;
}

.about-copy p {
  max-width: 630px;
  margin: 0 0 14px;
  color: rgba(243, 238, 227, 0.7);
  font-size: 14.5px;
  line-height: 1.7;
}

.about-copy .about-lede {
  color: rgba(243, 238, 227, 0.9);
  font-size: 18px;
  line-height: 1.62;
}

.about-list {
  margin: 34px 0 0;
  border-top: 1px solid rgba(243, 238, 227, 0.18);
}

.about-list div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(243, 238, 227, 0.18);
}

.about-list dt {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.6;
  text-transform: uppercase;
  color: #dca18a;
}

.about-list dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(243, 238, 227, 0.74);
}

/* Footer */

.site-footer {
  padding: 58px 0 64px;
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.5fr 0.85fr;
  gap: 54px;
  align-items: start;
}

.footer-brand .brand-word {
  font-size: 32px;
}

.footer-note {
  max-width: 420px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-nav a {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.footer-nav a:hover {
  border-color: var(--ink);
}

.footer-credit {
  margin: 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.7;
}

.noscript {
  margin: 0;
  padding: 20px;
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-size: 14px;
}

/* Detail dialog */

.detail-dialog {
  width: min(1040px, calc(100vw - 64px));
  max-width: 1040px;
  max-height: min(88vh, 840px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}

.detail-dialog::backdrop {
  background: rgba(23, 24, 19, 0.62);
  backdrop-filter: blur(4px);
}

.detail-dialog[open] {
  animation: detail-in 0.35s cubic-bezier(0.2, 0.7, 0.25, 1) both;
}

.detail-dialog[open]::backdrop {
  animation: backdrop-in 0.3s ease both;
}

@keyframes detail-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.detail-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  max-height: inherit;
  background: var(--paper-soft);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(14, 15, 11, 0.3);
}

.detail-close {
  position: absolute;
  z-index: 5;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-soft);
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.detail-close:hover {
  background: var(--ink);
  color: var(--paper-soft);
  transform: rotate(4deg);
}

.detail-media {
  position: relative;
  min-height: 100%;
  background: var(--paper-deep);
}

.detail-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
}

.detail-chip {
  position: absolute;
  top: 18px;
  left: 18px;
}

.detail-media-mark {
  position: absolute;
  bottom: 18px;
  left: 22px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 26px;
  color: rgba(255, 253, 248, 0.86);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.detail-content {
  max-height: inherit;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.detail-scroll {
  padding: 46px 48px 34px;
}

.detail-kicker {
  padding-right: 38px;
}

.detail-title {
  margin: 12px 0 18px;
  padding-right: 28px;
  font-family: var(--font-serif);
  font-size: clamp(2.7rem, 4.1vw, 4rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.025em;
}

.detail-body {
  margin: 0;
  max-width: 48ch;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
}

.detail-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
  margin: 30px 0 0;
  border-top: 1px solid var(--line);
}

.detail-facts div {
  padding: 13px 0 12px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.detail-facts dt {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.detail-facts dd {
  margin: 3px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}

.save-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  font-size: 12.5px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}

.save-button:hover {
  background: var(--ink);
  color: var(--paper-soft);
  transform: translateY(-1px);
}

.save-button[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fffaf5;
}

.save-button[aria-pressed="true"]:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.save-button[aria-pressed="true"] svg {
  fill: currentColor;
}

.save-note {
  margin: 0;
  font-size: 11.5px;
  color: var(--muted);
}

.detail-footnote {
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: var(--muted);
}

/* Responsive */

@media (max-width: 1120px) {
  .wrap {
    padding-inline: 34px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
    gap: 48px;
  }

  .hero-card {
    left: -24px;
  }

  .hero-stamp {
    right: -12px;
  }

  .workshop-grid {
    gap: 22px;
  }

  .about-grid {
    gap: 54px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .shortlist-jump {
    margin-left: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 58px;
    padding-top: 48px;
    padding-bottom: 74px;
  }

  .hero-copy h1 {
    font-size: clamp(3.6rem, 10vw, 6rem);
  }

  .hero-visual {
    width: min(560px, 100%);
  }

  .hero-card {
    left: auto;
    right: 20px;
  }

  .hero-stamp {
    right: 20px;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .about-figure {
    width: min(420px, 100%);
  }

  .about-figure img {
    aspect-ratio: 4 / 4.4;
  }

  .footer-grid {
    grid-template-columns: 1fr 0.5fr;
    gap: 38px;
  }

  .footer-credit {
    grid-column: 1 / -1;
    max-width: 560px;
  }

  .detail-dialog {
    width: min(720px, calc(100vw - 40px));
  }

  .detail-shell {
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .detail-media {
    min-height: 0;
    height: 245px;
  }

  .detail-media img {
    height: 245px;
    min-height: 0;
  }

  .detail-content {
    overflow-y: auto;
    max-height: calc(88dvh - 245px);
  }
}

@media (max-width: 700px) {
  .wrap {
    padding-inline: 20px;
  }

  .header-inner {
    min-height: 66px;
    gap: 16px;
  }

  .brand-word {
    font-size: 27px;
  }

  .shortlist-jump {
    padding: 8px 12px;
  }

  .hero {
    padding-top: 38px;
    padding-bottom: 64px;
    gap: 46px;
  }

  .hero-copy h1 {
    font-size: clamp(2.9rem, 13.4vw, 4rem);
    letter-spacing: -0.04em;
  }

  .hero-lede {
    margin-top: 22px;
    font-size: 16px;
  }

  .hero-actions {
    gap: 16px;
  }

  .hero-stats {
    margin-top: 38px;
    gap: 26px;
  }

  .hero-stats dd {
    font-size: 24px;
  }

  .hero-figure img {
    aspect-ratio: 4 / 4.5;
  }

  .hero-card {
    left: 12px;
    right: auto;
    bottom: 54px;
    width: 232px;
  }

  .hero-stamp {
    width: 72px;
    height: 72px;
    top: -22px;
    right: 16px;
    font-size: 12.5px;
  }

  .hero-figure figcaption {
    max-width: 260px;
  }

  .workshops {
    padding: 58px 0 70px;
  }

  .section-head {
    display: block;
  }

  .section-intro {
    max-width: 440px;
    margin-top: 16px;
  }

  .toolbar {
    grid-template-columns: 1fr 1fr;
    margin-top: 26px;
    padding: 9px;
  }

  .search-field {
    grid-column: 1 / -1;
  }

  .select-field {
    grid-column: 1;
  }

  .saved-filter {
    grid-column: 2;
  }

  .clear-filters {
    grid-column: 1 / -1;
    justify-self: start;
    height: auto;
    padding: 6px 4px;
  }

  .results-line {
    display: block;
    margin-top: 19px;
  }

  .results-hint {
    margin-top: 4px;
  }

  .workshop-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card-media {
    aspect-ratio: 16 / 10;
  }

  .card-title {
    font-size: 30px;
  }

  .about {
    padding: 64px 0;
  }

  .about-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .about-copy .about-lede {
    font-size: 16.5px;
  }

  .site-footer {
    padding: 44px 0 52px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-credit {
    grid-column: auto;
  }

  .detail-dialog {
    width: calc(100vw - 20px);
    max-height: 92dvh;
  }

  .detail-media {
    height: 190px;
  }

  .detail-media img {
    height: 190px;
  }

  .detail-content {
    max-height: calc(92dvh - 190px);
  }

  .detail-close {
    top: 11px;
    right: 11px;
    width: 38px;
    height: 38px;
  }

  .detail-scroll {
    padding: 27px 20px 26px;
  }

  .detail-title {
    padding-right: 10px;
    font-size: clamp(2.4rem, 11vw, 3.2rem);
  }

  .detail-kicker {
    padding-right: 30px;
  }

  .detail-body {
    font-size: 14.5px;
  }

  .detail-facts {
    column-gap: 18px;
    margin-top: 24px;
  }

  .detail-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .detail-chip {
    top: 12px;
    left: 12px;
  }

  .detail-media-mark {
    display: none;
  }
}

@media (max-width: 380px) {
  .saved-filter {
    padding-inline: 11px;
    gap: 5px;
  }

  .hero-stats {
    gap: 18px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .workshop-card:hover,
  .save-button:hover,
  .button-primary:hover {
    transform: none;
  }

  .workshop-card:hover .card-media img {
    transform: none;
  }
}
