@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/artifacts/forma-frontend--v1--s2--deepseek-4.1-flash-1017--frontend-design--2026-10-17T19-20-50-865Z/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

@font-face {
  font-family: "Literata";
  src: url("/artifacts/forma-frontend--v1--s2--deepseek-4.1-flash-1017--frontend-design--2026-10-17T19-20-50-865Z/assets/fonts/literata-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: "Literata";
  src: url("/artifacts/forma-frontend--v1--s2--deepseek-4.1-flash-1017--frontend-design--2026-10-17T19-20-50-865Z/assets/fonts/literata-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --paper: #f2f1e8;
  --paper-raised: #faf9f3;
  --paper-sunk: #e7e5d9;
  --ink: #121b24;
  --ink-soft: #4d5861;
  --ink-faint: #606a72;
  --cobalt: #1e3bc8;
  --cobalt-deep: #142a97;
  --marigold: #f6b51e;
  --marigold-deep: #8a5d00;
  --line: rgba(18, 27, 36, 0.18);
  --line-strong: rgba(18, 27, 36, 0.42);
  --focus: #0b1a6b;
  --cat-baking: #9a5312;
  --cat-ceramics: #1e3bc8;
  --cat-floristry: #2d6a45;
  --cat-painting: #a9295c;
  --shadow: 0 24px 70px rgba(8, 16, 26, 0.34);
  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --text: "Literata", Georgia, "Times New Roman", serif;
}

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

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

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

body.modal-open,
html.modal-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

a {
  color: inherit;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.hero :focus-visible,
.footer :focus-visible {
  outline-color: var(--marigold);
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.shell {
  min-height: 100vh;
}

.masthead,
.hero-inner,
.programme-inner,
.footer-inner {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}

.masthead {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 27px;
  height: 27px;
  color: currentColor;
  flex: none;
}

.brand-name {
  font-size: 26px;
  font-weight: 800;
  font-stretch: 90%;
  letter-spacing: -0.035em;
  line-height: 1;
}

.masthead-note {
  font-size: 13.5px;
  font-weight: 550;
  color: var(--ink-soft);
}

.hero {
  background: var(--cobalt);
  color: var(--paper);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  align-items: end;
  gap: clamp(36px, 5vw, 76px);
  padding-block: clamp(46px, 6vw, 76px) clamp(48px, 6vw, 82px);
}

.hero-copy {
  min-width: 0;
}

.hero h1 {
  max-width: 100%;
  font-size: clamp(50px, 6.5vw, 90px);
  font-weight: 780;
  font-stretch: 82%;
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-lede {
  max-width: 47ch;
  margin-top: 28px;
  color: rgba(242, 241, 232, 0.86);
  font-family: var(--text);
  font-size: clamp(16.5px, 1.5vw, 18.5px);
  line-height: 1.65;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding-bottom: 5px;
  border-bottom: 1.5px solid var(--marigold);
  color: var(--paper);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.hero-link svg {
  width: 19px;
  height: 19px;
  transition: transform 180ms ease;
}

.hero-link:hover svg {
  transform: translateX(4px);
}

.hero-media {
  position: relative;
  min-width: 0;
}

.hero-frame {
  position: relative;
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 13px -13px -13px 13px;
  background: var(--marigold);
}

.hero-frame img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
}

.hero-media figcaption {
  margin-top: 22px;
  color: rgba(242, 241, 232, 0.76);
  font-family: var(--text);
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
}

.programme {
  padding-block: clamp(54px, 6vw, 80px) clamp(66px, 7vw, 104px);
}

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

.programme-heading {
  flex: none;
}

.programme h2 {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  font-stretch: 86%;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.result-count {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 520;
}

.tools {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 12px;
  flex: 1;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-search {
  flex: 1 1 250px;
  max-width: 360px;
  min-width: 210px;
}

.field-select {
  flex: 0 0 182px;
}

.field-saved {
  flex: 0 0 auto;
}

.field label,
.field-label {
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
}

.input-shell {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--paper-raised);
  border: 1.5px solid var(--line-strong);
  border-radius: 2px;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.input-shell:focus-within {
  background: #fffef9;
  border-color: var(--ink);
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.input-icon {
  width: 18px;
  height: 18px;
  margin-left: 13px;
  color: var(--ink-soft);
  flex: none;
}

.input-shell input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 12px 0 10px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  font-size: 14.5px;
  font-weight: 500;
}

.input-shell input:focus {
  outline: none;
}

.input-shell input::placeholder {
  color: var(--ink-faint);
  opacity: 1;
}

.input-shell input::-webkit-search-cancel-button {
  cursor: pointer;
}

.select-shell {
  position: relative;
}

.select-shell select {
  width: 100%;
  height: 46px;
  appearance: none;
  padding: 0 38px 0 13px;
  border: 1.5px solid var(--line-strong);
  border-radius: 2px;
  background: var(--paper-raised);
  font-size: 14.5px;
  font-weight: 560;
  cursor: pointer;
}

.select-chevron {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 16px;
  height: 16px;
  color: var(--ink);
  transform: translateY(-50%);
  pointer-events: none;
}

.saved-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 12px 0 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 2px;
  background: transparent;
  font-size: 14px;
  font-weight: 620;
  white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

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

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

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

.saved-toggle[aria-pressed="true"]:hover {
  background: #ffc63c;
}

.saved-count {
  display: inline-grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  padding: 0 5px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.saved-toggle[aria-pressed="true"] .saved-count {
  background: var(--ink);
  color: var(--marigold);
}

.list-loading {
  margin-top: 46px;
  padding: 34px 0;
  color: var(--ink-soft);
  font-family: var(--text);
  font-size: 16px;
}

.workshop-list {
  position: relative;
  margin-top: 40px;
}

.workshop-list::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 0;
  left: 9px;
  width: 1px;
  background: var(--line-strong);
}

.workshop:last-child .rail::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 12px;
  bottom: -27px;
  left: 7px;
  width: 5px;
  background: var(--paper);
}

.workshop {
  position: relative;
  display: grid;
  grid-template-columns: 88px 204px minmax(0, 1fr) 128px 148px;
  grid-template-areas: "rail media info facts action";
  align-items: center;
  gap: 28px;
  padding-block: 27px;
}

.workshop + .workshop {
  border-top: 1px solid var(--line);
}

.rail {
  grid-area: rail;
  align-self: stretch;
  position: relative;
}

.rail-dot {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cat, var(--cobalt));
  box-shadow: 0 0 0 5px var(--paper);
}

.rail-date {
  display: flex;
  flex-direction: column;
  padding-left: 29px;
}

.rail-day {
  font-size: 31px;
  font-weight: 740;
  font-stretch: 88%;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.rail-month {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 650;
}

.rail-weekday {
  margin-top: 1px;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 500;
}

.workshop-media {
  grid-area: media;
  overflow: hidden;
  background: var(--paper-sunk);
}

.workshop-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

.workshop-info {
  grid-area: info;
  min-width: 0;
}

.workshop-cat {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  color: var(--cat, var(--cobalt));
  font-size: 12.5px;
  font-weight: 720;
  line-height: 1.2;
}

.cat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.saved-mark {
  margin-left: 4px;
  padding: 3px 7px;
  background: var(--marigold);
  color: var(--ink);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.01em;
}

.workshop-title {
  font-size: 27px;
  font-weight: 660;
  font-stretch: 88%;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.workshop-desc {
  max-width: 54ch;
  margin-top: 8px;
  color: var(--ink-soft);
  font-family: var(--text);
  font-size: 15.5px;
  line-height: 1.55;
}

.workshop-facts {
  grid-area: facts;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.35;
}

.workshop-time {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  font-stretch: 92%;
  letter-spacing: -0.01em;
}

.workshop-price {
  margin-top: 7px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 750;
  font-stretch: 90%;
  letter-spacing: -0.025em;
  line-height: 1;
}

.workshop-action {
  grid-area: action;
  justify-self: end;
}

.open-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 148px;
  padding: 9px 9px 9px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 2px;
  background: transparent;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1;
  text-align: left;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.open-item svg {
  width: 27px;
  height: 27px;
  padding: 6px;
  border-radius: 50%;
  background: var(--marigold);
  color: var(--ink);
  flex: none;
  transition: transform 180ms ease;
}

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

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

.empty-state {
  margin-top: 40px;
  padding: clamp(32px, 5vw, 54px);
  border: 1.5px dashed var(--line-strong);
  background: var(--paper-raised);
}

.empty-state h3 {
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 680;
  font-stretch: 88%;
  letter-spacing: -0.025em;
}

.empty-state p {
  max-width: 53ch;
  margin-top: 12px;
  color: var(--ink-soft);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

.empty-state button {
  margin-top: 24px;
  padding: 12px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 650;
  transition: background-color 150ms ease, color 150ms ease;
}

.empty-state button:hover {
  background: var(--marigold);
  color: var(--ink);
}

.footer {
  background: var(--ink);
  color: var(--paper);
  padding-block: 42px;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 34px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
  font-size: 22px;
  font-weight: 760;
  font-stretch: 90%;
  letter-spacing: -0.03em;
}

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

.footer-note {
  max-width: 64ch;
  color: rgba(242, 241, 232, 0.66);
  font-family: var(--text);
  font-size: 13px;
  line-height: 1.55;
}

.footer-note a {
  color: rgba(242, 241, 232, 0.92);
  text-underline-offset: 3px;
}

.footer-top {
  margin-left: auto;
  color: var(--paper);
  font-size: 13.5px;
  font-weight: 600;
  text-underline-offset: 4px;
  flex: none;
}

/* Detail sheet */

.detail-layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 17, 26, 0.62);
  opacity: 0;
  transition: opacity 200ms ease;
}

.detail-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(740px, 100%);
  height: 100%;
  background: var(--paper);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(34px);
  transition: opacity 200ms ease, transform 240ms cubic-bezier(0.2, 0.7, 0.25, 1);
}

.detail-layer.is-open .detail-backdrop {
  opacity: 1;
}

.detail-layer.is-open .detail-sheet {
  opacity: 1;
  transform: translateX(0);
}

.detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
  padding: 10px clamp(20px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  flex: none;
}

.detail-topcat {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cat, var(--cobalt));
  font-size: 13px;
  font-weight: 720;
}

.detail-topcat .cat-dot {
  width: 7px;
  height: 7px;
}

.detail-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1.5px solid var(--line-strong);
  border-radius: 2px;
  background: transparent;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1;
  transition: background-color 150ms ease, color 150ms ease;
}

.detail-close svg {
  width: 13px;
  height: 13px;
}

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

.detail-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.detail-media {
  margin: 0;
  background: var(--paper-sunk);
}

.detail-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

.detail-body {
  padding: 30px clamp(20px, 4.5vw, 46px) 44px;
}

.detail-title {
  max-width: 15ch;
  margin-top: 4px;
  font-size: clamp(40px, 6vw, 58px);
  font-weight: 760;
  font-stretch: 84%;
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.detail-desc {
  max-width: 58ch;
  margin-top: 22px;
  color: var(--ink);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.67;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 30px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1.5px solid var(--ink);
}

.detail-fact dt {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 620;
  line-height: 1.2;
}

.detail-fact dd {
  margin-top: 4px;
  font-size: 16.5px;
  font-weight: 620;
  line-height: 1.3;
}

.detail-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex: none;
  padding: 15px clamp(20px, 4vw, 40px);
  border-top: 1.5px solid var(--ink);
  background: var(--paper);
}

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

.detail-price span {
  font-size: 28px;
  font-weight: 760;
  font-stretch: 90%;
  line-height: 1;
  letter-spacing: -0.03em;
}

.detail-price small {
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 550;
}

.save-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 20px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14.5px;
  font-weight: 660;
  transition: background-color 150ms ease, color 150ms ease;
}

.save-item svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.save-item:hover {
  background: var(--cobalt);
  border-color: var(--cobalt);
}

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

.save-item[aria-pressed="true"]:hover {
  background: #ffc63c;
}

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

@media (max-width: 1200px) {
  .programme-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
  }

  .tools {
    width: 100%;
    justify-content: flex-start;
  }

  .field-search {
    max-width: none;
  }
}

@media (max-width: 1079px) {
  .workshop {
    grid-template-columns: 76px 176px minmax(0, 1fr) 138px;
    grid-template-areas:
      "rail media info action"
      "rail media facts action";
    align-items: start;
    gap: 10px 26px;
  }

  .rail {
    grid-row: 1 / -1;
  }

  .workshop-media {
    grid-row: 1 / -1;
    align-self: center;
  }

  .workshop-facts {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 14px;
    margin-top: 6px;
  }

  .workshop-price {
    margin-top: 0;
    margin-left: auto;
  }

  .workshop-action {
    grid-row: 1 / -1;
    align-self: center;
  }
}

@media (max-width: 860px) {
  .masthead,
  .hero-inner,
  .programme-inner,
  .footer-inner {
    width: min(1240px, calc(100% - 48px));
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 38px;
    padding-block: 46px 54px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(50px, 10vw, 76px);
  }

  .hero-media {
    width: min(100%, 520px);
  }
  .tools {
    gap: 10px;
  }

  .field-search {
    flex-basis: 100%;
    max-width: none;
  }

  .field-select {
    flex: 1 1 180px;
  }

  .field-saved {
    flex: 0 1 auto;
  }
}

@media (max-width: 700px) {
  .masthead,
  .hero-inner,
  .programme-inner,
  .footer-inner {
    width: calc(100% - 40px);
  }

  .masthead {
    min-height: 66px;
  }

  .masthead-note {
    font-size: 12px;
  }

  .hero-inner {
    padding-block: 34px 40px;
    gap: 30px;
  }

  .hero-media figcaption {
    display: none;
  }

  .hero h1 {
    font-size: clamp(47px, 13.2vw, 66px);
    max-width: 100%;
  }

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

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

  .hero-frame img {
    aspect-ratio: 16 / 10;
  }

  .programme {
    padding-block: 46px 64px;
  }

  .programme-head {
    gap: 22px;
  }

  .tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

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

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

  .field-saved {
    justify-self: end;
  }

  .workshop-list {
    margin-top: 32px;
  }

  .workshop-list::before {
    top: 28px;
    bottom: 0;
    left: 8px;
  }

  .workshop:last-child .rail::after {
    top: 9px;
    bottom: -24px;
    left: 6px;
  }

  .workshop {
    grid-template-columns: 47px minmax(0, 1fr);
    grid-template-areas:
      "rail media"
      "rail info"
      "rail facts"
      "rail action";
    gap: 0 16px;
    padding-block: 24px;
  }

  .rail {
    grid-row: 1 / -1;
  }

  .rail-dot {
    top: 4px;
    left: 3px;
    width: 10px;
    height: 10px;
  }

  .rail-date {
    padding-left: 17px;
  }

  .rail-day {
    font-size: 24px;
  }

  .rail-month {
    font-size: 11.5px;
  }

  .rail-weekday {
    font-size: 11px;
  }

  .workshop-media {
    grid-row: auto;
  }

  .workshop-media img {
    aspect-ratio: 16 / 9;
  }

  .workshop-info {
    margin-top: 15px;
  }

  .workshop-title {
    font-size: 24px;
  }

  .workshop-desc {
    font-size: 15px;
    line-height: 1.55;
  }

  .workshop-facts {
    margin-top: 12px;
    font-size: 12.5px;
    gap: 3px 12px;
  }

  .workshop-time {
    font-size: 16px;
  }

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

  .workshop-action {
    grid-row: auto;
    justify-self: stretch;
    margin-top: 16px;
  }

  .open-item {
    width: 100%;
    padding-block: 8px;
  }

  .footer {
    padding-block: 34px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px 24px;
  }

  .footer-note {
    order: 3;
    flex-basis: 100%;
  }

  .footer-top {
    margin-left: auto;
  }

  .detail-sheet {
    width: 100%;
    transform: translateY(26px);
  }

  .detail-layer.is-open .detail-sheet {
    transform: translateY(0);
  }

  .detail-topbar {
    min-height: 60px;
  }

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

  .detail-body {
    padding: 24px 20px 36px;
  }

  .detail-title {
    font-size: clamp(37px, 11vw, 48px);
  }

  .detail-desc {
    margin-top: 18px;
    font-size: 17px;
  }

  .detail-facts {
    gap: 18px 20px;
    margin-top: 28px;
    padding-top: 20px;
  }

  .detail-fact dd {
    font-size: 15px;
  }

  .detail-actions {
    gap: 14px;
    padding: 12px 20px;
  }

  .detail-price span {
    font-size: 25px;
  }

  .save-item {
    flex: 1;
    padding: 0 14px;
    font-size: 13.5px;
  }
}

@media (max-width: 420px) {
  .saved-toggle {
    padding-inline: 11px;
    font-size: 13px;
  }

  .saved-toggle > span:not(.saved-count) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .field-saved {
    flex: 0 0 auto;
  }

  .saved-toggle {
    width: 68px;
    padding-inline: 9px;
    gap: 6px;
    justify-content: center;
  }

  .field-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .detail-price small {
    display: none;
  }
}

@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:hover .workshop-media img {
    transform: none;
  }
}
