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

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

@font-face {
  font-family: "Karla";
  src: url("assets/fonts/karla-italic-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #f2eee4;
  --paper-bright: #fbf8f0;
  --ink: #14140f;
  --ink-soft: #4e4e47;
  --muted: #615f55;
  --cobalt: #2438f2;
  --cobalt-deep: #1828c8;
  --chartreuse: #d9ff43;
  --coral: #ff5b36;
  --rose: #ffb7d5;
  --apricot: #ffb36b;
  --butter: #ffe27a;
  --line: rgba(20, 20, 15, 0.24);
  --line-soft: rgba(20, 20, 15, 0.14);
  --font-display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --font-body: "Karla", "Helvetica Neue", Helvetica, sans-serif;
  --page-pad: 48px;
  --max-width: 1440px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  -webkit-tap-highlight-color: rgba(36, 56, 242, 0.18);
  background: var(--paper);
}

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

body.has-dialog {
  overflow: hidden;
}

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

@supports (scrollbar-color: auto) {
  html {
    scrollbar-color: var(--ink) var(--paper);
  }
}

[hidden] {
  display: none !important;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

input,
select {
  caret-color: var(--cobalt);
  accent-color: var(--cobalt);
}

button,
select {
  cursor: pointer;
}

button {
  color: inherit;
}

p,
h1,
h2,
h3,
dl,
dd,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

.hero :focus-visible,
.studio-note :focus-visible {
  outline-color: var(--paper);
}

.site-footer :focus-visible {
  outline-color: var(--ink);
}

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

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

.skip-link:focus-visible {
  outline-color: var(--paper);
  outline-offset: 3px;
}

/* Header */

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 80px;
  padding: 0 var(--page-pad);
  border-bottom: 1.5px solid var(--ink);
  background: var(--paper);
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  width: fit-content;
  text-decoration: none;
}

.brand-mark {
  width: 24px;
  height: 24px;
  flex: none;
}

.brand-word {
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a,
.footer-programme {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
  text-transform: uppercase;
  transition: text-decoration-color 200ms ease;
}

.footer-top-link {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.footer-programme:hover {
  text-decoration-color: currentColor;
}

.shortlist-link {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  min-height: 42px;
  padding: 0 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
}

.shortlist-link svg {
  width: 18px;
  height: 18px;
}

.shortlist-count {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease;
}

.shortlist-link:hover .shortlist-count {
  background: var(--cobalt);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 62px var(--page-pad) 72px;
  background: var(--cobalt);
  color: var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(370px, 0.78fr);
  align-items: center;
  gap: clamp(42px, 6vw, 92px);
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 82px;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 0.93;
}

.hero-first-line,
.hero-highlight {
  display: block;
}

.hero-first-line {
  white-space: nowrap;
}

.hero-highlight {
  color: var(--chartreuse);
}

.hero-lede {
  max-width: 43ch;
  margin-top: 28px;
  color: #eef0ff;
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 28px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 12px 20px;
  border: 1.5px solid var(--ink);
  border-radius: 1px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button svg {
  width: 19px;
  height: 19px;
  flex: none;
  transition: transform 220ms var(--ease-out);
}

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

.button:active,
.saved-toggle:active,
.row-open:active,
.save-button:active,
.close-button:active {
  transform: translateY(1px);
}

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

.hero .button-primary {
  border-color: var(--ink);
}

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

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

.button-dark:hover {
  background: var(--cobalt);
  color: var(--paper);
}

.hero-detail {
  max-width: 20ch;
  color: #e3e6ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.55;
  text-transform: uppercase;
}

.hero-art {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 510px;
  justify-self: end;
}

.hero-orbit {
  position: absolute;
  top: 50%;
  right: -175px;
  width: 590px;
  height: 590px;
  border: 1.5px solid rgba(217, 255, 67, 0.43);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.hero-figure {
  position: relative;
  z-index: 1;
  width: 84%;
  margin-left: auto;
  border: 1.5px solid var(--ink);
  background: var(--paper);
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 56% 54%;
}

.hero-figure figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-figure figcaption span:last-child {
  color: var(--muted);
  font-weight: 700;
  text-align: right;
}

.hero-ticket {
  position: absolute;
  top: 25px;
  left: 0;
  z-index: 2;
  display: flex;
  width: 154px;
  min-height: 154px;
  padding: 15px;
  flex-direction: column;
  justify-content: space-between;
  border: 1.5px solid var(--ink);
  background: var(--chartreuse);
  color: var(--ink);
  transform: rotate(-3.5deg);
}

.hero-ticket span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-ticket strong {
  font-family: var(--font-display);
  font-size: 43px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.hero-stamp {
  position: absolute;
  bottom: -24px;
  left: 6%;
  z-index: 3;
  width: 128px;
  height: 128px;
  transform: rotate(-11deg);
}

.stamp-text {
  fill: var(--ink);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

/* Discipline ribbon */

.discipline-ribbon {
  overflow: hidden;
  border-bottom: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--chartreuse);
}

.ribbon-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 26px;
  padding: 13px 0;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.ribbon-star {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--paper);
}

/* Programme */

.programme {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px var(--page-pad) 108px;
}

.programme-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 40px;
}

.programme-intro h2 {
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 0.93;
}

.programme-intro > p {
  max-width: 49ch;
  padding-bottom: 4px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
}

.toolbar-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px 0;
  background: var(--paper);
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 232px 202px;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--ink);
  background: var(--paper-bright);
}

.control {
  min-width: 0;
}

.control-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.search-field,
.select-field {
  position: relative;
  display: flex;
  align-items: center;
  height: 48px;
  border: 1.5px solid var(--ink);
  background: #fffefa;
}

.search-field svg {
  width: 19px;
  height: 19px;
  margin-left: 14px;
  flex: none;
  color: var(--ink);
}

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

.search-field input::placeholder {
  color: #68675d;
  opacity: 1;
}

.search-field:focus-within,
.select-field:focus-within {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

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

.select-field select {
  width: 100%;
  height: 100%;
  padding: 0 42px 0 14px;
  appearance: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
}

.select-field > svg {
  position: absolute;
  right: 14px;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.saved-toggle {
  display: flex;
  width: 100%;
  height: 48px;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1.5px solid var(--ink);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.saved-toggle svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.saved-toggle-count {
  display: inline-grid;
  min-width: 23px;
  height: 23px;
  margin-left: auto;
  padding: 0 6px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
}

.saved-toggle:hover {
  background: #e9e3d6;
}

.saved-toggle[aria-pressed="true"],
.saved-toggle[aria-pressed="true"]:hover {
  background: var(--chartreuse);
}

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

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
  margin-top: 12px;
}

.results-summary {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.025em;
}

.results-summary strong {
  color: var(--ink);
}

.clear-link {
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.4;
  text-transform: uppercase;
}

.clear-link:hover {
  color: var(--cobalt);
}

/* Workshop list */

.list-loading {
  border-top: 1.5px solid var(--ink);
}

.skeleton-row {
  height: 196px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent)
      0 0 / 40% 100% no-repeat,
    linear-gradient(var(--line-soft), var(--line-soft)) 12px 42px / 60px 46px
      no-repeat,
    linear-gradient(var(--line-soft), var(--line-soft)) 104px 32px / 220px 140px
      no-repeat,
    linear-gradient(var(--line-soft), var(--line-soft)) 354px 56px / 42% 20px
      no-repeat,
    linear-gradient(var(--line-soft), var(--line-soft)) 354px 92px / 52% 14px
      no-repeat,
    linear-gradient(var(--line-soft), var(--line-soft)) 354px 118px / 45% 14px
      no-repeat;
  animation: skeleton-pulse 1.4s ease-in-out infinite alternate;
}

@keyframes skeleton-pulse {
  from {
    opacity: 0.52;
  }
  to {
    opacity: 0.9;
  }
}

.workshop-list {
  border-top: 1.5px solid var(--ink);
}

.workshop-row {
  position: relative;
  display: grid;
  grid-template-columns: 88px 236px minmax(0, 1fr) 132px;
  align-items: center;
  gap: 30px;
  padding: 26px 10px 26px 0;
  border-bottom: 1px solid var(--line);
  transition: background 200ms ease;
}

.workshop-row:hover,
.workshop-row:focus-within {
  background: var(--paper-bright);
}

.date-col {
  display: flex;
  align-self: stretch;
  padding: 4px 0;
  flex-direction: column;
  justify-content: center;
}

.date-day {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.date-month {
  margin-top: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.date-weekday {
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.3;
}

.workshop-thumb {
  overflow: hidden;
  margin: 0;
  border: 1.5px solid var(--ink);
  background: var(--line-soft);
}

.workshop-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 480ms var(--ease-out);
}

.workshop-row:hover .workshop-thumb img {
  transform: scale(1.035);
}

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

.category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--butter);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.category-pill[data-category="Ceramics"] {
  background: var(--chartreuse);
}

.category-pill[data-category="Painting"] {
  background: var(--rose);
}

.category-pill[data-category="Floristry"] {
  background: var(--apricot);
}

.category-pill[data-category="Baking"] {
  background: var(--butter);
}

.workshop-body h3 {
  line-height: 1;
}

.workshop-title-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.06;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.workshop-title-button:hover {
  color: var(--cobalt);
  text-decoration-color: currentColor;
}

.workshop-description {
  max-width: 56ch;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

.workshop-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.3;
  text-transform: uppercase;
}

.workshop-meta > span + span::before {
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-right: 18px;
  border-radius: 50%;
  background: var(--line);
  content: "";
  vertical-align: middle;
}

.saved-flag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink) !important;
}

.saved-flag svg {
  width: 13px;
  height: 13px;
}

.saved-flag::before {
  display: none !important;
}

.workshop-side {
  display: flex;
  min-height: 164px;
  padding: 4px 0;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  text-align: right;
}

.workshop-price {
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1;
}

.workshop-price span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.seats {
  margin-top: auto;
  padding-top: 14px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.row-open {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-top: 12px;
  padding: 0;
  place-items: center;
  border: 1.5px solid var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.row-open svg {
  width: 18px;
  height: 18px;
  transition: transform 220ms var(--ease-out);
}

.row-open:hover {
  background: var(--cobalt);
  color: var(--paper);
}

.row-open:hover svg {
  transform: translateX(2px) translateY(-2px);
}

.load-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border: 1.5px solid var(--ink);
  background: var(--paper-bright);
}

.load-error p {
  max-width: 48ch;
  color: var(--ink-soft);
}

/* Empty state */

.empty-state {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: 34px 36px;
  border: 1.5px solid var(--ink);
  background: var(--chartreuse);
}

.empty-mark {
  width: 100px;
  height: 100px;
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.empty-state p {
  max-width: 52ch;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
}

/* Studio note */

.studio-note {
  padding: 90px var(--page-pad);
  background: var(--ink);
  color: var(--paper);
}

.studio-note > * {
  max-width: calc(var(--max-width) - (var(--page-pad) * 2));
  margin-right: auto;
  margin-left: auto;
}

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

.studio-heading h2 {
  max-width: 9ch;
  color: var(--chartreuse);
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.studio-heading p {
  max-width: 48ch;
  padding-bottom: 4px;
  color: #dfdbcf;
  font-size: 18px;
  line-height: 1.55;
}

.studio-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin-top: 66px;
  padding-top: 30px;
  border-top: 1px solid rgba(242, 238, 228, 0.34);
}

.studio-fact h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.studio-fact p {
  max-width: 36ch;
  margin-top: 12px;
  color: #d7d3c7;
  font-size: 15px;
  line-height: 1.55;
}

/* Footer */

.site-footer {
  padding: 68px var(--page-pad) 30px;
  background: var(--chartreuse);
  color: var(--ink);
}

.footer-top,
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 58px;
}

.footer-statement {
  font-family: var(--font-display);
  font-size: 74px;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  white-space: nowrap;
}

.footer-top-link svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  padding-top: 22px;
  border-top: 1.5px solid var(--ink);
}

.footer-brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
}

.footer-brand .brand-mark {
  width: 21px;
  height: 21px;
}

.footer-bottom p {
  max-width: 78ch;
  color: #30350d;
  font-size: 11px;
  line-height: 1.5;
}

.footer-programme {
  justify-self: end;
}

/* Detail dialog */

.detail-dialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.detail-dialog::backdrop {
  background: rgba(9, 10, 8, 0.65);
  animation: backdrop-in 220ms ease both;
}

.detail-panel {
  display: flex;
  width: min(720px, 100%);
  height: 100%;
  margin-left: auto;
  flex-direction: column;
  border-left: 1px solid var(--ink);
  background: var(--paper);
  animation: panel-in 360ms var(--ease-out) both;
}

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

@keyframes panel-in {
  from {
    opacity: 0.6;
    transform: translateX(54px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.detail-topbar {
  display: flex;
  height: 72px;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 24px;
  border-bottom: 1.5px solid var(--ink);
  background: var(--paper);
}

.detail-overline {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.detail-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.save-button,
.close-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1.5px solid var(--ink);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.save-button svg,
.close-button svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.save-button {
  background: var(--chartreuse);
}

.save-button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--chartreuse);
}

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

.save-button:hover,
.close-button:hover {
  background: var(--ink);
  color: var(--paper);
}

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

.detail-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--ink) var(--paper);
}

.detail-image-wrap {
  position: relative;
  border-bottom: 1.5px solid var(--ink);
  background: var(--ink);
}

.detail-image-wrap img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.detail-category {
  position: absolute;
  bottom: 18px;
  left: 24px;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 11px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--butter);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.detail-category[data-category="Ceramics"] {
  background: var(--chartreuse);
}

.detail-category[data-category="Painting"] {
  background: var(--rose);
}

.detail-category[data-category="Floristry"] {
  background: var(--apricot);
}

.detail-category[data-category="Baking"] {
  background: var(--butter);
}

.detail-content {
  padding: 38px 48px 54px;
}

.detail-date {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.105em;
  line-height: 1.3;
  text-transform: uppercase;
}

.detail-content h2 {
  max-width: 16ch;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.detail-body {
  max-width: 60ch;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.6;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin: 30px 0 40px;
}

.detail-actions .button {
  border-color: var(--ink);
}

.detail-action-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}

.detail-facts > div {
  min-width: 0;
  padding: 16px 16px 17px 0;
  border-bottom: 1px solid var(--line-soft);
}

.detail-facts > div:nth-child(3n + 2),
.detail-facts > div:nth-child(3n + 3) {
  padding-left: 16px;
  border-left: 1px solid var(--line-soft);
}

.detail-facts > div:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.detail-facts dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.detail-facts dd {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.detail-footnote {
  max-width: 55ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

/* Toast */

.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  z-index: 60;
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 17px;
  transform: translate(-50%, 16px);
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--chartreuse);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 240ms var(--ease-out);
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* Responsive */

@media (max-width: 1180px) {
  :root {
    --page-pad: 36px;
  }

  .hero h1 {
    font-size: 72px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.78fr);
    gap: 46px;
  }

  .workshop-row {
    grid-template-columns: 78px 208px minmax(0, 1fr) 118px;
    gap: 22px;
  }

  .workshop-title-button {
    font-size: 27px;
  }
}

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

  .hero {
    padding-top: 50px;
    padding-bottom: 64px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

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

  .hero h1 {
    font-size: 76px;
  }

  .hero-art {
    width: min(100%, 540px);
    max-width: none;
    justify-self: start;
  }

  .hero-figure {
    width: 78%;
    margin-left: auto;
  }

  .hero-ticket {
    top: 18px;
    left: 2%;
  }

  .hero-stamp {
    bottom: -18px;
    left: 4%;
  }

  .hero-orbit {
    right: -120px;
  }

  .programme-intro,
  .studio-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .programme-intro > p,
  .studio-heading p {
    padding-bottom: 0;
  }

  .toolbar {
    grid-template-columns: minmax(220px, 1fr) 210px 190px;
  }

  .workshop-row {
    grid-template-columns: 72px 184px minmax(0, 1fr);
    align-items: start;
  }

  .date-col {
    padding-top: 8px;
  }

  .workshop-side {
    grid-column: 2 / 4;
    min-height: 0;
    padding: 0;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    text-align: left;
  }

  .workshop-price span {
    display: inline;
    margin-left: 4px;
  }

  .seats {
    margin-top: 0;
    padding-top: 0;
  }

  .row-open {
    margin-top: 0;
    margin-left: auto;
  }

  .studio-facts {
    gap: 24px;
  }

  .footer-statement {
    font-size: 62px;
  }
}

@media (max-width: 760px) {
  :root {
    --page-pad: 20px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 66px;
    gap: 14px;
  }

  .site-nav {
    display: none;
  }

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

  .brand-mark {
    width: 21px;
    height: 21px;
  }

  .shortlist-link {
    font-size: 11px;
    letter-spacing: 0.045em;
  }

  .hero {
    padding-top: 42px;
    padding-bottom: 54px;
  }

  .hero h1 {
    font-size: 47px;
  }

  .hero-lede {
    margin-top: 20px;
    font-size: 16.5px;
  }

  .hero-actions {
    margin-top: 28px;
    gap: 16px;
  }

  .button {
    min-height: 48px;
  }

  .hero-detail {
    max-width: none;
    font-size: 10px;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero-figure {
    width: 100%;
  }

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

  .hero-ticket {
    top: -15px;
    left: -4px;
    width: 128px;
    min-height: 128px;
    padding: 12px;
  }

  .hero-ticket strong {
    font-size: 34px;
  }

  .hero-stamp {
    bottom: -20px;
    left: -7px;
    width: 92px;
    height: 92px;
  }

  .hero-orbit {
    top: 56%;
    right: -160px;
    width: 420px;
    height: 420px;
  }

  .ribbon-track {
    gap: 18px;
    padding: 11px 0;
    font-size: 12px;
  }

  .ribbon-star {
    width: 12px;
    height: 12px;
  }

  .programme {
    padding-top: 58px;
    padding-bottom: 76px;
  }

  .programme-intro {
    margin-bottom: 32px;
  }

  .programme-intro h2,
  .studio-heading h2 {
    font-size: 46px;
  }

  .programme-intro > p,
  .studio-heading p {
    font-size: 16.5px;
  }

  .toolbar-wrap {
    position: static;
    padding: 0;
  }

  .toolbar {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 13px;
    background: var(--paper-bright);
  }

  .saved-toggle {
    justify-content: flex-start;
  }

  .results-bar {
    align-items: flex-start;
    margin-top: 12px;
  }

  .results-summary {
    max-width: 62%;
    font-size: 12px;
  }

  .skeleton-row {
    height: 320px;
    background:
      linear-gradient(var(--line-soft), var(--line-soft)) 0 24px / 62px 40px
        no-repeat,
      linear-gradient(var(--line-soft), var(--line-soft)) 0 82px / 100% 150px
        no-repeat,
      linear-gradient(var(--line-soft), var(--line-soft)) 0 252px / 55% 20px
        no-repeat,
      linear-gradient(var(--line-soft), var(--line-soft)) 0 286px / 80% 14px
        no-repeat;
  }

  .workshop-row {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 22px 0 26px;
  }

  .date-col {
    padding: 0;
    flex-direction: row;
    align-items: baseline;
    gap: 7px;
  }

  .date-day {
    font-size: 31px;
  }

  .date-month {
    margin-top: 0;
  }

  .date-weekday {
    margin-top: 0;
    margin-left: auto;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .workshop-thumb img {
    aspect-ratio: 16 / 10;
  }

  .workshop-title-button {
    font-size: 26px;
  }

  .workshop-description {
    font-size: 14.5px;
  }

  .workshop-meta {
    margin-top: 12px;
    gap: 7px 12px;
    font-size: 10.5px;
  }

  .workshop-meta > span + span::before {
    margin-right: 12px;
  }

  .workshop-side {
    grid-column: auto;
    justify-content: space-between;
    gap: 14px;
    margin-top: 2px;
  }

  .workshop-price {
    font-size: 25px;
  }

  .seats {
    display: none;
  }

  .row-open {
    width: 42px;
    height: 42px;
    margin-left: 0;
  }

  .empty-state {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px;
  }

  .empty-mark {
    width: 64px;
    height: 64px;
  }

  .empty-state h3 {
    font-size: 27px;
  }

  .empty-state .button {
    width: 100%;
  }

  .studio-note {
    padding-top: 66px;
    padding-bottom: 68px;
  }

  .studio-facts {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 42px;
    padding-top: 0;
    border-top: 0;
  }

  .studio-fact {
    padding: 22px 0;
    border-top: 1px solid rgba(242, 238, 228, 0.34);
  }

  .studio-fact h3 {
    font-size: 22px;
  }

  .footer-statement {
    font-size: 49px;
  }

  .site-footer {
    padding-top: 52px;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
    padding-bottom: 42px;
  }

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

  .footer-bottom a {
    justify-self: start;
  }

  .detail-panel {
    border-left: 0;
  }

  .detail-topbar {
    height: 64px;
    padding: 0 14px;
  }

  .detail-overline {
    display: none;
  }

  .detail-topbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .save-button,
  .close-button {
    min-height: 42px;
  }

  .detail-image-wrap img {
    aspect-ratio: 4 / 3;
  }

  .detail-category {
    bottom: 14px;
    left: 16px;
  }

  .detail-content {
    padding: 28px 20px 42px;
  }

  .detail-content h2 {
    font-size: 42px;
  }

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

  .detail-actions {
    margin: 26px 0 32px;
  }

  .detail-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-facts > div:nth-child(3n + 2),
  .detail-facts > div:nth-child(3n + 3) {
    padding-left: 0;
    border-left: 0;
  }

  .detail-facts > div:nth-child(2n) {
    padding-left: 16px;
    border-left: 1px solid var(--line-soft);
  }

  .detail-facts > div:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line-soft);
  }

  .detail-facts > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .toast {
    bottom: 14px;
  }
}

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

  .hero h1 {
    font-size: 44px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .footer-statement {
    font-size: 44px;
  }
}

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

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