/* --------------------------------------------------------------------------
   Forma — a warm editorial workshop programme
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-roman.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("assets/fonts/work-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --paper: #f6f0e5;
  --paper-deep: #eee4d3;
  --card: #fbf7ef;
  --ink: #211c17;
  --ink-soft: #5f564b;
  --ink-faint: #6f6556;
  --line: #d5c8b6;
  --line-strong: #b9aa94;
  --terracotta: #9e4126;
  --terracotta-dark: #7b2f19;
  --peach: #e8c5ab;
  --olive: #3f4b35;
  --olive-dark: #2c3626;
  --focus: #2b5a4b;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Work Sans", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1240px;
  --radius: 5px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 12% -8%, rgba(255, 252, 244, 0.9) 0, transparent 42%),
    radial-gradient(circle at 95% 22%, rgba(232, 197, 171, 0.24) 0, transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(213, 200, 182, 0.2) 0, transparent 45%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.dialog-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

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

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

button {
  cursor: pointer;
}

button,
a {
  touch-action: manipulation;
}

a {
  color: inherit;
}

::selection {
  background: var(--peach);
  color: var(--ink);
}

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

.studio-section :focus-visible,
.site-footer :focus-visible,
.topline :focus-visible {
  outline-color: #f0d3b8;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 3px;
  transition: transform 160ms ease;
}

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

section[id] {
  scroll-margin-top: 24px;
}

/* --------------------------------------------------------------------------
   Masthead
   -------------------------------------------------------------------------- */

.topline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 9px 32px;
  background: var(--olive-dark);
  color: #efe7d8;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.topline p {
  margin: 0;
}

.topline-note {
  text-align: center;
  color: #c6bfae;
}

.topline-mark {
  justify-self: end;
  width: 13px;
  height: 13px;
  color: var(--peach);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 32px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  margin: -7px 0;
  padding: 7px 0;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.wordmark-mark {
  width: 25px;
  height: 25px;
  align-self: center;
  color: var(--terracotta);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  transition: transform 500ms var(--ease);
}

.wordmark:hover .wordmark-mark {
  transform: rotate(45deg);
}

.wordmark-mark circle {
  fill: currentColor;
  stroke: none;
}

.wordmark-text {
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 560;
  line-height: 1;
  letter-spacing: -0.035em;
}

.wordmark-sub {
  margin-left: 3px;
  color: var(--ink-faint);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
}

.site-nav a:hover {
  color: var(--terracotta);
  border-bottom-color: currentColor;
}

.shortlist-jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 13px 0 14px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background-color 180ms ease, border-color 180ms ease;
}

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

.shortlist-jump svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
}

.shortlist-count {
  display: inline-grid;
  font-variant-numeric: tabular-nums;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--terracotta);
  color: #fff7eb;
  font-size: 10.5px;
  line-height: 1;
  transition: transform 220ms var(--ease);
}

.shortlist-count.is-popping {
  animation: count-pop 360ms var(--ease);
}

@keyframes count-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.28); }
  100% { transform: scale(1); }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(36px, 5vw, 78px);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 52px 32px 64px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--terracotta);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.asterisk {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}

.hero h1 {
  margin: 0;
  text-wrap: balance;
  font-family: var(--font-display);
  font-size: clamp(3.35rem, 6vw, 5.65rem);
  font-variation-settings: "SOFT" 26, "WONK" 1;
  font-weight: 480;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.hero h1 em {
  color: var(--terracotta);
  font-weight: 400;
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 23px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease,
    transform 200ms var(--ease);
}

.button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 200ms var(--ease);
}

.button:hover svg {
  transform: translateX(3px);
}

.button:active,
.shortlist-jump:active,
.saved-toggle:active,
.open-item:active,
.clear-link:active,
.close-detail:active,
.save-item:active {
  opacity: 0.72;
}

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

.button-primary:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 4px 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  transition: color 180ms ease, border-color 180ms ease;
}

.text-link svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.text-link:hover {
  color: var(--terracotta);
  border-bottom-color: currentColor;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 42px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-facts dt {
  margin-bottom: 3px;
  color: var(--ink-faint);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-figure {
  position: relative;
  margin: 0;
  isolation: isolate;
}

.hero-figure::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 22px -17px 27px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 260px 260px var(--radius) var(--radius);
}

.hero-image-wrap {
  position: relative;
  overflow: visible;
  aspect-ratio: 4 / 4.55;
  border-radius: 260px 260px var(--radius) var(--radius);
  background: var(--paper-deep);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
  border-radius: inherit;
}

.hero-stamp {
  position: absolute;
  left: -20px;
  bottom: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(246, 240, 229, 0.95);
  box-shadow: 0 8px 22px rgba(33, 28, 23, 0.1);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-8deg);
}

.hero-stamp > span:first-child {
  font-size: 18px;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
}

.hero-stamp-line {
  width: 28px;
  height: 1px;
  margin: 7px 0;
  background: var(--line-strong);
}

.hero-date-note {
  position: absolute;
  right: 17px;
  bottom: 17px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 15px;
  background: rgba(33, 28, 23, 0.92);
  color: var(--paper);
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

.hero-date-label {
  color: #d3c9b8;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-date-value {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 3px 0;
  color: var(--ink-faint);
  font-size: 9.5px;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
}

.fig-note {
  color: var(--ink-faint);
  text-align: right;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Discipline ticker
   -------------------------------------------------------------------------- */

.discipline-band {
  overflow: hidden;
  background: var(--olive);
  color: var(--paper);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.band-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 29px;
  padding: 15px 20px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 450;
  line-height: 1;
  letter-spacing: -0.01em;
}

.band-star {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--peach);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* --------------------------------------------------------------------------
   Programme + filters
   -------------------------------------------------------------------------- */

.programme {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 78px 32px 86px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: end;
  gap: 40px;
}

.section-head h2,
.studio-copy h2,
.how-head h2 {
  margin: 0;
  text-wrap: balance;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 4.4vw, 4.1rem);
  font-variation-settings: "SOFT" 26, "WONK" 1;
  font-weight: 470;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.section-head h2 em,
.studio-copy h2 em,
.how-head h2 em {
  color: var(--terracotta);
  font-weight: 400;
}

.section-intro {
  max-width: 430px;
  margin: 0 0 4px;
  padding-left: 24px;
  border-left: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.65;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1.55fr) minmax(170px, 0.7fr) minmax(170px, 0.62fr);
  gap: 16px;
  margin-top: 38px;
  padding: 17px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(33, 28, 23, 0.045);
}

.field {
  min-width: 0;
}

.field label,
.field-label {
  display: block;
  margin: 0 0 7px 2px;
  color: var(--ink-faint);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.input-wrap,
.select-wrap {
  position: relative;
}

.input-wrap input,
.select-wrap select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.input-wrap input {
  padding-left: 41px;
}

.input-wrap input::placeholder {
  color: #756a59;
  opacity: 1;
}

.input-wrap input:hover,
.select-wrap select:hover {
  border-color: var(--ink-soft);
}

.input-wrap input:focus,
.select-wrap select:focus {
  outline: none;
  border-color: var(--ink);
  background: #fffaf1;
  box-shadow: 0 0 0 3px rgba(158, 65, 38, 0.16);
}

.input-wrap input:focus-visible,
.select-wrap select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.input-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--ink-faint);
  stroke-width: 1.8;
  stroke-linecap: round;
  pointer-events: none;
}

.select-wrap select {
  appearance: none;
  padding-right: 38px;
  cursor: pointer;
}

.select-wrap svg {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.saved-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  height: 48px;
  padding: 0 13px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  font-size: 12.5px;
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.saved-toggle > span:not(.saved-count) {
  margin-right: auto;
}

.saved-toggle svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
}

.saved-toggle:hover {
  border-color: var(--ink-soft);
}

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

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

.saved-count {
  display: inline-grid;
  font-variant-numeric: tabular-nums;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(33, 28, 23, 0.09);
  color: var(--ink);
  font-size: 10.5px;
  line-height: 1;
}

.saved-toggle[aria-pressed="true"] .saved-count {
  background: rgba(246, 240, 229, 0.18);
  color: var(--paper);
}

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 50px;
  padding: 8px 2px 6px;
}

.results-count {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.clear-link {
  min-height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 500;
  transition: color 160ms ease, border-color 160ms ease;
}

.clear-link:hover {
  color: var(--terracotta);
  border-color: currentColor;
}

.workshop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  margin-top: 4px;
}

.workshop-grid[aria-busy="true"]::before {
  content: "Gathering the programme…";
  grid-column: 1 / -1;
  padding: 54px 20px;
  border: 1px dashed var(--line);
  color: var(--ink-faint);
  font-size: 13px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Workshop cards
   -------------------------------------------------------------------------- */

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

.workshop-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 34px rgba(33, 28, 23, 0.09);
}

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

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

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

.category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.category-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.card-media .category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  box-shadow: 0 2px 10px rgba(33, 28, 23, 0.08);
}

.cat-baking { background: #f3e1c9; color: #7c4a16; }
.cat-ceramics { background: #f0d8ce; color: #8a351d; }
.cat-floristry { background: #e0e5d5; color: #4e6041; }
.cat-painting { background: #d9e4e4; color: #3e5d66; }

.saved-flag {
  position: absolute;
  pointer-events: none;
  top: 11px;
  right: 11px;
  display: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 2px 10px rgba(33, 28, 23, 0.18);
}

.saved-flag.is-visible {
  display: grid;
}

.saved-flag svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linejoin: round;
}

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

.card-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--ink-faint);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.card-kicker .card-date {
  color: var(--terracotta);
}

.card-index {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.workshop-card h3 {
  margin: 9px 0 10px;
  text-wrap: balance;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  font-variation-settings: "SOFT" 24, "WONK" 1;
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.card-desc {
  margin: 0 0 19px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.58;
}

.card-meta {
  display: grid;
  gap: 7px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.4;
}

.card-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-meta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--ink-faint);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.price {
  display: flex;
  font-variant-numeric: tabular-nums;
  align-items: baseline;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 520;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price small {
  color: var(--ink-faint);
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.open-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 4px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease;
}

.open-item svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 200ms var(--ease);
}

.open-item:hover {
  color: var(--terracotta);
  border-bottom-color: currentColor;
}

.open-item:hover svg {
  transform: translate(2px, -2px);
}

/* --------------------------------------------------------------------------
   Empty state
   -------------------------------------------------------------------------- */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 4px;
  padding: 58px 24px 62px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(251, 247, 239, 0.55);
  text-align: center;
}

.empty-mark {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  fill: none;
  stroke: var(--terracotta);
  stroke-width: 1.9;
  stroke-linecap: round;
}

.empty-mark circle {
  fill: currentColor;
  stroke: none;
}

.empty-state .eyebrow {
  margin-bottom: 10px;
}

.empty-state h3 {
  margin: 0;
  text-wrap: balance;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
}

.empty-state p:not(.eyebrow) {
  max-width: 450px;
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.empty-state .button {
  margin-top: 23px;
}

.noscript-note {
  padding: 18px;
  border: 1px dashed var(--line-strong);
  color: var(--ink-soft);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Studio
   -------------------------------------------------------------------------- */

.studio-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--olive-dark);
  color: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
}

.studio-media {
  position: relative;
  min-height: 620px;
}

.studio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.studio-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: 210px;
  margin: 0;
  padding: 8px 11px;
  background: rgba(44, 54, 38, 0.88);
  color: #e5ddcd;
  font-size: 9px;
  letter-spacing: 0.07em;
  line-height: 1.45;
  text-transform: uppercase;
  border-radius: 2px;
}

.studio-caption span {
  display: block;
  color: #aaa590;
}

.studio-copy {
  padding: clamp(38px, 5.5vw, 76px);
}

.eyebrow-light {
  color: var(--peach);
}

.studio-copy h2 em {
  color: var(--peach);
}

.studio-lede {
  margin: 26px 0 0;
  color: #f1e9db;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 410;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.studio-body {
  max-width: 540px;
  margin: 17px 0 0;
  color: #c9c5b6;
  font-size: 14.5px;
  line-height: 1.68;
}

.principles {
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(246, 240, 229, 0.2);
}

.principles li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(246, 240, 229, 0.16);
}

.principle-number {
  padding-top: 2px;
  color: var(--peach);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
}

.principles h3 {
  margin: 0 0 2px;
  color: #f4ecdf;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.principles p {
  margin: 0;
  color: #bab6a7;
  font-size: 12.5px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

.how-section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 86px 32px 92px;
}

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

.how-head h2 {
  font-size: clamp(2.5rem, 4vw, 3.65rem);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 42px;
}

.how-step {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.how-number {
  display: block;
  margin-bottom: 20px;
  color: var(--terracotta);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
}

.how-step h3 {
  margin: 0 0 9px;
  text-wrap: balance;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.how-step p {
  max-width: 340px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 54px 32px 30px;
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(246, 240, 229, 0.18);
}

.wordmark-footer {
  color: var(--paper);
}

.wordmark-footer .wordmark-mark {
  color: var(--peach);
}

.footer-line {
  margin: 0 0 0 12px;
  color: #d7cdbd;
  font-family: var(--font-display);
  font-size: 19px;
  font-style: italic;
  letter-spacing: -0.01em;
}

.text-link-light {
  margin-left: auto;
  color: var(--paper);
  border-bottom-color: rgba(246, 240, 229, 0.4);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 23px;
  color: #a9a294;
  font-size: 10.5px;
  letter-spacing: 0.025em;
  line-height: 1.6;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p:last-child {
  max-width: 520px;
  text-align: right;
}

/* --------------------------------------------------------------------------
   Detail dialog
   -------------------------------------------------------------------------- */

.detail-dialog {
  width: min(1040px, calc(100vw - 48px));
  height: min(760px, calc(100dvh - 48px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: none;
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(16, 20, 13, 0.36);
}

.detail-dialog:not([open]) {
  display: none;
}

.detail-dialog[open] {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  animation: dialog-in 280ms var(--ease) both;
}

.detail-dialog::backdrop {
  background: rgba(24, 30, 20, 0.67);
  backdrop-filter: blur(4px);
  animation: backdrop-in 240ms ease both;
}

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

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

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

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-media-caption {
  position: absolute;
  left: 15px;
  bottom: 15px;
  max-width: 200px;
  margin: 0;
  padding: 7px 10px;
  background: rgba(33, 28, 23, 0.86);
  color: #e7dfd0;
  font-size: 8.5px;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
  border-radius: 2px;
}

.detail-content {
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-top: 72px;
  padding: 0 42px 38px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.detail-content::-webkit-scrollbar {
  width: 9px;
}

.detail-content::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border: 3px solid var(--card);
  border-radius: 999px;
}

.detail-bar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 -4px;
  padding: 18px 4px 14px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.detail-bar .category-tag {
  padding: 6px 11px;
}

.close-detail {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.close-detail:hover {
  background: var(--paper-deep);
  border-color: var(--ink-soft);
}

.close-detail svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.detail-kicker {
  margin: 26px 0 9px;
  color: var(--terracotta);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.detail-title {
  margin: 0;
  text-wrap: balance;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-variation-settings: "SOFT" 26, "WONK" 1;
  font-weight: 480;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.detail-body {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.68;
}

.detail-instructor {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 12.5px;
}

.detail-instructor svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--ink-faint);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-instructor strong {
  color: var(--ink);
  font-weight: 600;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 26px 0 0;
}

.detail-fact {
  padding: 11px 0 12px;
  border-top: 1px solid var(--line);
}

.detail-fact dt {
  margin-bottom: 3px;
  color: var(--ink-faint);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-fact dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.detail-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 15px 17px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.detail-price-label {
  display: block;
  margin-bottom: 2px;
  color: var(--ink-faint);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-price {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 34px;
  font-weight: 520;
  line-height: 1;
  letter-spacing: -0.035em;
}

.detail-price small {
  color: var(--ink-faint);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.detail-seats {
  color: var(--ink-soft);
  font-size: 11.5px;
  text-align: right;
  line-height: 1.4;
}

.detail-seats strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 520;
  line-height: 1.1;
}

.save-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  margin-top: 14px;
  padding: 0 18px;
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.save-item svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
}

.save-item:hover {
  background: var(--ink);
  color: var(--paper);
}

.save-item[aria-pressed="true"] {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--paper);
}

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

.detail-note {
  margin: 11px 0 0;
  color: var(--ink-faint);
  font-size: 10.5px;
  line-height: 1.5;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .site-nav {
    gap: 19px;
  }

  .hero {
    gap: 44px;
  }

  .workshop-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  }
}

@media (max-width: 800px) {
  .filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 960px) {
  .topline {
    grid-template-columns: 1fr auto;
  }

  .topline-note {
    display: none;
  }

  .site-nav {
    display: none;
  }

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

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

  .hero-copy {
    max-width: 680px;
  }

  .hero-figure {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }

  .hero-image-wrap {
    aspect-ratio: 5 / 4;
    border-radius: 230px 230px var(--radius) var(--radius);
  }

  .hero-figure::before {
    border-radius: 230px 230px var(--radius) var(--radius);
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-intro {
    max-width: 540px;
  }

  .studio-section {
    grid-template-columns: 1fr;
  }

  .studio-media {
    min-height: 430px;
    max-height: 520px;
  }

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

  .how-step p {
    max-width: 560px;
  }

  .detail-dialog[open] {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }

  .detail-content {
    padding: 0 32px 32px;
  }
}

@media (max-width: 720px) {
  .topline {
    padding: 8px 20px;
    font-size: 9.5px;
  }

  .topline-mark {
    display: none;
  }

  .site-header {
    gap: 14px;
    padding: 15px 20px;
  }

  .wordmark-text {
    font-size: 28px;
  }

  .wordmark-sub {
    display: none;
  }

  .shortlist-jump {
    min-height: 44px;
    padding: 0 12px;
  }

  .hero {
    padding: 34px 20px 50px;
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 13.2vw, 4rem);
  }

  .hero-lede {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.6;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .button {
    min-height: 48px;
    padding: 0 19px;
  }

  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
    margin-top: 32px;
  }

  .hero-image-wrap {
    aspect-ratio: 4 / 4.4;
    border-radius: 190px 190px var(--radius) var(--radius);
  }

  .hero-figure::before {
    inset: 16px -9px 41px 16px;
    border-radius: 190px 190px var(--radius) var(--radius);
  }

  .hero-stamp {
    left: -4px;
    bottom: 18px;
    width: 92px;
    height: 92px;
    font-size: 11px;
  }

  .hero-stamp > span:first-child {
    font-size: 15px;
  }

  .hero-date-note {
    right: 12px;
    bottom: 12px;
    padding: 9px 11px;
  }

  .hero-figure figcaption {
    flex-direction: column;
    gap: 3px;
    padding-top: 11px;
  }

  .fig-note {
    text-align: left;
  }

  .band-group {
    gap: 11px 20px;
    padding: 13px 16px;
    font-size: 18px;
  }

  .programme {
    padding: 56px 20px 62px;
  }

  .section-head h2 {
    font-size: clamp(2.35rem, 10.5vw, 3rem);
  }

  .section-intro {
    padding-left: 17px;
    font-size: 13.5px;
  }

  .filter-panel {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 28px;
    padding: 14px;
  }

  .results-bar {
    padding-top: 12px;
  }

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

  .card-body {
    padding: 18px 18px 19px;
  }

  .workshop-card h3 {
    font-size: 1.75rem;
  }

  .card-desc {
    font-size: 13px;
  }

  .studio-section {
    border-radius: 0;
  }

  .studio-media {
    min-height: 350px;
    max-height: 390px;
  }

  .studio-copy {
    padding: 38px 22px 44px;
  }

  .studio-copy h2 {
    font-size: clamp(2.35rem, 10.5vw, 3rem);
  }

  .studio-lede {
    font-size: 1.18rem;
  }

  .how-section {
    padding: 60px 20px 66px;
  }

  .how-head h2 {
    font-size: clamp(2.3rem, 10vw, 2.9rem);
  }

  .how-grid {
    margin-top: 30px;
  }

  .site-footer {
    padding: 40px 20px 26px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .footer-line {
    margin: 0;
  }

  .text-link-light {
    margin-left: 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }

  .footer-bottom p:last-child {
    text-align: left;
  }

  /* Detail becomes a full-screen, scrollable sheet. */
  .detail-dialog {
    width: 100vw;
    height: 100dvh;
    max-width: 100vw;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }

  .detail-dialog[open] {
    display: flex;
    flex-direction: column;
  }

  .detail-media {
    flex: 0 0 235px;
    min-height: 235px;
    max-height: 235px;
  }

  .detail-media-caption {
    left: 12px;
    bottom: 12px;
  }

  .detail-content {
    flex: 1;
    padding: 0 20px calc(26px + env(safe-area-inset-bottom));
  }

  .detail-bar {
    padding: 13px 0 11px;
  }

  .detail-kicker {
    margin-top: 20px;
  }

  .detail-title {
    font-size: clamp(2.2rem, 10.5vw, 3rem);
  }

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

  .detail-facts {
    gap: 0 17px;
  }

  .detail-price {
    font-size: 30px;
  }
}

@media (max-width: 410px) {
  .shortlist-jump > span:not(.shortlist-count) {
    display: none;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .hero-facts dd {
    font-size: 20px;
  }

  .saved-toggle {
    padding: 0 11px;
  }
}

@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 {
    transform: none;
  }

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

  .detail-dialog::backdrop {
    animation: none;
  }
}
