/* =========================================================
   Forma — workshop programme
   Type: Syne (display) + Schibsted Grotesk (text)
   Palette: chalk lilac paper, aubergine ink, tomato, marigold
   ========================================================= */

@font-face {
  font-family: "Syne";
  src: url("/artifacts/forma-frontend--v1--s3-alternative-direction--deepseek-4.1-flash-1017--frontend-design--2026-10-17T21-22-40-200Z/assets/fonts/syne-latin.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/artifacts/forma-frontend--v1--s3-alternative-direction--deepseek-4.1-flash-1017--frontend-design--2026-10-17T21-22-40-200Z/assets/fonts/schibsted-grotesk-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #dcd6df;
  --paper-deep: #cdc5d1;
  --surface: #f1edf2;
  --ink: #251c28;
  --ink-soft: #544a57;
  --tomato: #e8492b;
  --marigold: #f0c354;
  --sage: #a9c6b6;
  --green: #3e675c;
  --line: rgba(37, 28, 40, 0.3);
  --line-soft: rgba(37, 28, 40, 0.14);
  --display: "Syne", "Arial Black", sans-serif;
  --text: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 4.2vw, 64px);
  --max: 1360px;
}

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

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

.shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

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

.skip-link {
  position: absolute;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-150%);
}

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

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

.finder :focus-visible {
  outline-color: var(--marigold);
}

.detail .detail-close:focus-visible {
  outline-color: var(--ink);
}

.detail .save-item:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--surface);
}

/* ---------- masthead ---------- */

.masthead {
  padding-block: 18px;
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 40px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  text-decoration: none;
}

.brand-word,
.footer-brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.045em;
}

.brand-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tomato);
  transform: translateY(-1px);
}

.masthead-note {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.005em;
  color: var(--ink-soft);
  text-align: right;
}

/* ---------- hero ---------- */

.hero {
  padding-block: clamp(20px, 3vw, 34px) clamp(38px, 4.4vw, 54px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}

.hero-copy {
  padding-top: clamp(4px, 2vw, 26px);
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(50px, 5.9vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}

.hero h1 .line > span {
  display: block;
  transform-origin: left bottom;
  animation: line-in 0.72s cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.hero h1 .line:nth-child(2) > span {
  animation-delay: 0.08s;
}

.hero h1 .line:nth-child(3) > span {
  animation-delay: 0.16s;
}

@keyframes line-in {
  from {
    transform: translateY(105%);
  }
  to {
    transform: translateY(0);
  }
}

.hero-lede {
  max-width: 47ch;
  margin: clamp(22px, 2.4vw, 32px) 0 0;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.55;
}

.hero-fact {
  display: inline-block;
  margin: 22px 0 0;
  padding-top: 12px;
  border-top: 1.5px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}

/* sampler of three arched photographs */
.hero-sampler {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(8px, 1.1vw, 16px);
  padding-top: 8px;
  z-index: 0;
  animation: sampler-in 0.9s 0.18s cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

@keyframes sampler-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sun {
  position: absolute;
  z-index: -1;
  top: -54px;
  right: -64px;
  width: clamp(220px, 26vw, 350px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--marigold);
}

.arch {
  margin: 0;
  min-width: 0;
}

.arch-frame {
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: 999px 999px 5px 5px;
  background: var(--paper-deep);
}

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

.arch figcaption {
  margin-top: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.arch-a {
  width: 36%;
}

.arch-a .arch-frame {
  height: clamp(196px, 19vw, 270px);
}

.arch-b {
  width: 27%;
  margin-top: clamp(18px, 2vw, 28px);
}

.arch-b .arch-frame {
  height: clamp(152px, 15vw, 212px);
}

.arch-c {
  width: 37%;
  margin-top: clamp(42px, 4.4vw, 62px);
}

.arch-c .arch-frame {
  height: clamp(204px, 20vw, 286px);
}

/* ---------- finder band ---------- */

.finder {
  background: var(--ink);
  color: var(--surface);
  border-top: 5px solid var(--tomato);
  padding-block: clamp(26px, 2.9vw, 36px) clamp(28px, 3.2vw, 40px);
}

.finder-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.finder-head h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.result-count {
  margin: 0;
  font-size: 14px;
  color: #cec4d1;
  font-variant-numeric: tabular-nums;
}

.controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 250px) auto;
  gap: 14px;
  align-items: end;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field label {
  font-size: 13px;
  font-weight: 500;
  color: #e2d9e4;
}

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

.input-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: var(--ink-soft);
  pointer-events: none;
}

.field input,
.field select {
  width: 100%;
  height: 52px;
  border: 1.5px solid transparent;
  border-radius: 3px;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.field input {
  padding: 0 16px 0 44px;
}

.field input::placeholder {
  color: #746a78;
  opacity: 1;
}

.field input:hover,
.field select:hover {
  border-color: rgba(37, 28, 40, 0.35);
}

.field input:focus-visible,
.field select:focus-visible {
  outline-offset: 3px;
  border-color: var(--ink);
}

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

.field select {
  appearance: none;
  padding: 0 44px 0 15px;
  cursor: pointer;
}

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

.saved-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 52px;
  padding: 0 17px;
  border: 1.5px solid rgba(241, 237, 242, 0.48);
  border-radius: 3px;
  background: transparent;
  color: var(--surface);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 140ms ease, color 140ms ease,
    border-color 140ms ease;
}

.saved-toggle:hover {
  border-color: var(--surface);
  background: rgba(241, 237, 242, 0.1);
}

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

.saved-count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 99px;
  background: rgba(241, 237, 242, 0.16);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

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

/* ---------- programme ledger ---------- */

.programme {
  padding-block: clamp(34px, 4vw, 54px) clamp(48px, 6vw, 88px);
}

.programme-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
}

.programme-head h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 2.7vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.programme-head p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.ledger {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.item {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr) 150px 104px 136px;
  gap: clamp(18px, 2.2vw, 32px);
  align-items: center;
  padding-block: 26px;
  border-top: 1px solid var(--line);
  transition: background-color 160ms ease;
}

.item:hover {
  background: rgba(37, 28, 40, 0.04);
}

.item-media {
  width: 126px;
  height: 156px;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: 64px 64px 4px 4px;
  background: var(--paper-deep);
}

.item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.item-main {
  min-width: 0;
}

.item-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 2px;
  background: var(--chip-bg, var(--surface));
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.chip[data-category="Ceramics"] {
  --chip-bg: #adc9ba;
}

.chip[data-category="Painting"] {
  --chip-bg: #f1ad97;
}

.chip[data-category="Floristry"] {
  --chip-bg: #f2d083;
}

.chip[data-category="Baking"] {
  --chip-bg: #d9b495;
}

.saved-flag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
}

.saved-flag svg {
  color: var(--tomato);
}

.saved-flag[hidden] {
  display: none;
}

.item-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 2.35vw, 34px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.item-desc {
  max-width: 52ch;
  margin: 7px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.item-instructor {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}

.item-when,
.item-price {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.item-when time {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.item-when span,
.item-price span:last-child {
  font-size: 13px;
  color: var(--ink-soft);
}

.item-price .price-amount {
  font-family: var(--display);
  font-weight: 700;
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.open-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 17px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease;
}

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

/* ---------- empty state ---------- */

.empty-state {
  padding: clamp(36px, 5vw, 60px) clamp(22px, 4vw, 48px);
  border: 1.5px solid var(--ink);
  background: var(--surface);
}

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

.empty-state h3 {
  margin: 20px 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.empty-state p {
  max-width: 50ch;
  margin: 10px 0 24px;
  color: var(--ink-soft);
}

.empty-mark {
  display: flex;
  gap: 5px;
  align-items: flex-end;
  height: 34px;
}

.empty-mark span {
  display: block;
  width: 22px;
  height: 34px;
  border-radius: 11px 11px 2px 2px;
  background: var(--tomato);
}

.empty-mark span:nth-child(2) {
  height: 24px;
  background: var(--marigold);
}

.empty-mark span:nth-child(3) {
  height: 29px;
  background: var(--green);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}

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

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

/* ---------- studio / footer ---------- */

.studio {
  background: var(--paper-deep);
  padding-block: clamp(42px, 5.5vw, 76px);
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}

.studio-copy h2 {
  max-width: 17ch;
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.studio-copy p {
  max-width: 45ch;
  margin: 20px 0 0;
  font-size: 16px;
}

.studio-note {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px !important;
  color: var(--ink-soft);
}

.studio-media {
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: 5px;
}

.studio-media img {
  width: 100%;
  height: clamp(260px, 30vw, 400px);
  object-fit: cover;
}

.footer {
  padding-block: 26px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: var(--ink-soft);
}

.footer-inner p {
  margin: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--ink);
  font-size: 21px;
}

.footer-inner a {
  text-underline-offset: 3px;
}

/* ---------- detail dialog ---------- */

.detail {
  width: min(560px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  border-left: 2px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
  overflow: hidden;
}

.detail[open] {
  animation: sheet-in 0.38s cubic-bezier(0.2, 0.75, 0.2, 1);
}

@keyframes sheet-in {
  from {
    transform: translateX(48px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.detail::backdrop {
  background: rgba(37, 28, 40, 0.58);
}

.detail-sheet {
  position: relative;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.detail-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  transition: background-color 140ms ease, color 140ms ease;
}

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

.detail-media {
  height: 250px;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: var(--paper-deep);
}

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

.detail-body {
  padding: 28px clamp(22px, 5vw, 42px) 44px;
}

.detail-tags {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.detail-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.detail h3 {
  margin: 30px 0 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.detail-description {
  margin: 0;
  font-size: 18px;
  line-height: 1.58;
}

.save-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  margin-top: 26px;
  padding: 0 20px;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  background: var(--ink);
  color: var(--surface);
  font-size: 16px;
  font-weight: 600;
  transition: background-color 150ms ease, color 150ms ease,
    border-color 150ms ease;
}

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

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

.save-item .bookmark-icon path {
  fill: transparent;
  transition: fill 150ms ease;
}

.save-item[aria-pressed="true"] .bookmark-icon path {
  fill: var(--ink);
}

.save-note {
  margin: 9px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-soft);
}

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

.detail-facts > div {
  padding-block: 13px;
  border-bottom: 1px solid var(--line-soft);
}

.detail-facts dt {
  margin-bottom: 2px;
  font-size: 12px;
  color: var(--ink-soft);
}

.detail-facts dd {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.detail-foot {
  margin: 26px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .item {
    grid-template-columns: 110px minmax(0, 1fr) 132px 96px;
  }

  .item-media {
    width: 110px;
    height: 138px;
  }

  .open-item {
    grid-column: 2 / -1;
    justify-self: start;
    margin-top: 2px;
  }

  .item-title {
    font-size: 28px;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(52px, 10vw, 76px);
  }

  .hero-sampler {
    max-width: 560px;
  }

  .sun {
    right: -30px;
    top: -40px;
  }

  .controls {
    grid-template-columns: minmax(0, 1fr) minmax(170px, 220px);
  }

  .saved-toggle {
    grid-column: 1 / -1;
    justify-self: start;
  }

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

  .studio-media {
    order: -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .programme {
    padding-top: 26px;
  }

  .masthead {
    padding-block: 16px;
  }

  .masthead-note {
    display: none;
  }

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

  .hero {
    padding-block: 20px 32px;
  }

  .hero h1 {
    font-size: clamp(42px, 12.6vw, 56px);
  }

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

  .hero-fact {
    display: none;
  }

  .hero-sampler {
    gap: 7px;
    padding-top: 0;
  }

  .arch-a .arch-frame {
    height: 126px;
  }

  .arch-b {
    margin-top: 12px;
  }

  .arch-b .arch-frame {
    height: 100px;
  }

  .arch-c {
    margin-top: 24px;
  }

  .arch-c .arch-frame {
    height: 140px;
  }

  .arch figcaption {
    font-size: 11px;
    margin-top: 7px;
  }

  .sun {
    width: 150px;
    top: -20px;
    right: -26px;
  }

  .finder {
    padding-block: 22px;
  }

  .finder-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 14px;
  }

  .finder-head h2 {
    font-size: 24px;
  }

  .result-count {
    font-size: 12.5px;
    text-align: left;
  }

  .controls {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

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

  .field input,
  .field select {
    height: 50px;
  }

  .saved-toggle {
    grid-column: auto;
    width: 100%;
    justify-content: center;
    height: 50px;
    padding-inline: 12px;
    gap: 7px;
  }

  .saved-word {
    display: none;
  }

  .programme-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-bottom: 16px;
  }

  .item {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    column-gap: 16px;
    row-gap: 2px;
    padding-block: 22px;
    align-items: start;
  }

  .item-media {
    grid-row: 1 / 5;
    grid-column: 1;
    align-self: stretch;
    width: 96px;
    height: 100%;
    min-height: 190px;
    border-radius: 48px 48px 4px 4px;
    margin-top: 3px;
  }

  .item-main {
    grid-column: 2;
    grid-row: 1;
  }

  .item-title {
    font-size: 25px;
  }

  .item-desc {
    margin-top: 6px;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .item-instructor {
    display: none;
  }

  .item-when {
    grid-column: 2;
    grid-row: 2;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 3px 10px;
    margin-top: 4px;
  }

  .item-when time {
    font-size: 15px;
  }

  .item-price {
    grid-column: 2;
    grid-row: 3;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    margin-top: 1px;
  }

  .item-price .price-amount {
    font-size: 21px;
  }

  .open-item {
    grid-column: 2;
    grid-row: 4;
    width: 100%;
    height: 44px;
    margin-top: 10px;
  }

  .item:hover {
    background: transparent;
  }

  .item:hover .item-media img {
    transform: none;
  }

  .studio-copy h2 {
    font-size: clamp(29px, 8vw, 38px);
  }

  .studio-media img {
    height: 240px;
  }

  .footer-inner {
    flex-wrap: wrap;
    gap: 8px 20px;
  }

  .footer-inner > p:nth-child(2) {
    order: 3;
    flex-basis: 100%;
  }

  .detail {
    border-left: 0;
  }

  .detail-media {
    height: 210px;
  }

  .detail-body {
    padding-bottom: 36px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }

  .hero h1 .line > span,
  .hero-sampler {
    animation: none;
  }
}
