/* ───────────────────────────────────────────────────────────────────────
   Forma — in-person creative workshops
   Warm paper ground, ink type, terracotta accent. System fonts only, so
   nothing is fetched at runtime.
   ─────────────────────────────────────────────────────────────────────── */

:root {
  --paper: #f7f3ec;
  --paper-2: #fffdf9;
  --paper-3: #efe8dc;
  --ink: #201c18;
  --ink-2: #4a423a;
  --ink-3: #7a7065;
  --line: #e1d7c7;
  --line-2: #cfc2ad;
  --accent: #b2502c;
  --accent-deep: #8c3d1f;
  --accent-wash: #f6e7df;

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
    "Hoefler Text", Georgia, "Times New Roman", serif;
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;

  --shell: 1240px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(32, 28, 24, .05), 0 6px 18px -12px rgba(32, 28, 24, .3);
  --shadow-md: 0 2px 6px rgba(32, 28, 24, .06), 0 24px 48px -28px rgba(32, 28, 24, .45);
  --shadow-lg: 0 40px 90px -40px rgba(32, 28, 24, .55);
  --ease: cubic-bezier(.2, .7, .3, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(1100px 520px at 88% -8%, rgba(178, 80, 44, .07), transparent 62%),
    radial-gradient(760px 420px at 2% 4%, rgba(74, 93, 78, .06), transparent 60%);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -.012em; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

/* Several hidden elements below are flex/grid, so the attribute needs to win. */
[hidden] { display: none !important; }

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

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

/* Focus ------------------------------------------------------------- */
:where(a, button, input, select, [tabindex]):focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.detail:focus-visible, .detail:focus { outline: none; }

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 100;
  transform: translateY(-160%);
  background: var(--ink); color: var(--paper);
  padding: 11px 18px; border-radius: 999px;
  font-size: .9rem; font-weight: 600; text-decoration: none;
  transition: transform .18s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* Shared bits -------------------------------------------------------- */
.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-deep); margin-bottom: 14px;
}

.section-head__title { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: 999px;
  padding: 12px 22px;
  font: inherit; font-size: .94rem; font-weight: 600; letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.btn__icon { display: inline-flex; }
.btn__icon svg { fill: none; }

.btn--primary { background: var(--ink); color: var(--paper-2); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-1px); }

.btn--quiet { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--quiet:hover { background: var(--paper-3); border-color: var(--ink-3); }

.btn--save { background: var(--accent); color: #fff; }
.btn--save:hover { background: var(--accent-deep); }
.btn--save[aria-pressed="true"] { background: var(--ink); color: var(--paper-2); }
.btn--save[aria-pressed="true"] .btn__icon svg { fill: currentColor; }

.chip {
  display: inline-block; align-self: flex-start;
  padding: 4px 11px; border-radius: 999px;
  font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  background: var(--paper-3); color: var(--ink-2);
}
.chip[data-cat="Ceramics"]  { background: #e4edf1; color: #2f5567; }
.chip[data-cat="Painting"]  { background: #f1e6ef; color: #7a3a66; }
.chip[data-cat="Floristry"] { background: #e7efe3; color: #3f6038; }
.chip[data-cat="Baking"]    { background: #f4e8d9; color: #855327; }

.framed {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--paper-3); box-shadow: var(--shadow-md);
}
.framed img { width: 100%; height: 100%; object-fit: cover; }

/* ── Header ──────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 243, 236, .86);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 28px;
  min-height: 70px;
}

.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
}
.wordmark__mark svg { display: block; }
.wordmark__mark rect { fill: var(--ink); }
.wordmark__mark path { fill: var(--paper); }
.wordmark__text {
  font-family: var(--font-display); font-size: 1.42rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
}
.wordmark--footer { margin-bottom: 8px; }

.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a {
  color: var(--ink-2); text-decoration: none; font-size: .92rem; font-weight: 500;
  padding: 6px 0; border-bottom: 1.5px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }

.shortlist-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--paper-2);
  font-size: .84rem; font-weight: 600; color: var(--ink-2);
  white-space: nowrap;
}
.shortlist-badge__icon { display: inline-flex; color: var(--accent); }
.shortlist-badge[data-has-saved="true"] { border-color: var(--accent); color: var(--accent-deep); }
.shortlist-badge[data-has-saved="true"] .shortlist-badge__icon svg path { fill: currentColor; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero { padding-top: clamp(40px, 6vw, 84px); }
.hero__inner {
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(36px, 5vw, 72px); align-items: center;
}
.hero__title {
  font-size: clamp(2.6rem, 4.9vw, 4.3rem);
  line-height: 1.04; letter-spacing: -.025em;
}
.hero__title em { font-style: italic; color: var(--accent-deep); }
.hero__lede {
  margin-top: 24px; max-width: 48ch;
  font-size: 1.07rem; color: var(--ink-2);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__stats {
  display: flex; gap: 40px; margin-top: 42px;
  padding-top: 26px; border-top: 1px solid var(--line);
}
.hero__stats dt {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3);
}
.hero__stats dd {
  font-family: var(--font-display); font-size: 1.85rem; line-height: 1.2; margin-top: 2px;
}

.hero__figure { position: relative; }
.framed--lift { aspect-ratio: 4 / 3.25; position: relative; z-index: 1; }
.hero__figure::before {
  content: ""; position: absolute; inset: 22px -20px -20px 22px;
  border: 1.5px solid var(--line-2); border-radius: var(--radius-lg); z-index: 0;
}
.hero__note {
  position: absolute; left: -22px; bottom: -26px;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 13px 20px; box-shadow: var(--shadow-sm);
}
.hero__note-k {
  font-size: .68rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--accent-deep);
}
.hero__note-v { font-family: var(--font-display); font-size: 1.02rem; }

.hero__strip {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  margin-top: clamp(64px, 8vw, 104px);
  padding: 15px 32px;
  border-block: 1px solid var(--line);
  background: rgba(255, 253, 249, .55);
  font-size: .76rem; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--ink-3);
}
.hero__strip span:nth-child(even) { color: var(--accent); }

/* ── Controls ────────────────────────────────────────────────────────── */
.workshops { padding-block: clamp(52px, 7vw, 86px) clamp(60px, 8vw, 100px); }

.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 32px; align-items: end; margin-bottom: 34px;
}
.section-head__blurb { color: var(--ink-2); font-size: .98rem; }

.controls {
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) minmax(150px, .9fr) minmax(150px, .9fr) auto;
  gap: 16px; align-items: end;
  padding: 20px; border-radius: var(--radius-lg);
  background: var(--paper-2); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.control { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.control > label, .control__legend {
  font-size: .73rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3);
}
.control__field {
  position: relative; display: flex; align-items: center;
  border: 1px solid var(--line-2); border-radius: 10px; background: var(--paper);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.control__field:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(178, 80, 44, .15);
}
.control__icon { display: flex; padding-left: 13px; color: var(--ink-3); }

.control__field input[type="search"] {
  flex: 1; min-width: 0;
  border: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: .95rem;
  padding: 11px 12px;
  appearance: none; -webkit-appearance: none;
}
.control__field input[type="search"]::-webkit-search-cancel-button { display: none; }
.control__field input::placeholder { color: var(--ink-3); opacity: .85; }
.control__field input:focus-visible { outline: none; }

.control__clear {
  display: flex; align-items: center; justify-content: center;
  margin-right: 8px; padding: 6px; border: 0; border-radius: 50%;
  background: var(--paper-3); color: var(--ink-2); cursor: pointer;
}
.control__clear:hover { background: var(--line-2); }

.control__field--select select {
  flex: 1; min-width: 0;
  border: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: .95rem;
  padding: 11px 36px 11px 14px;
  appearance: none; -webkit-appearance: none; cursor: pointer;
}
.control__field--select select:focus-visible { outline: none; }
.control__chevron {
  position: absolute; right: 12px; display: flex;
  color: var(--ink-3); pointer-events: none;
}

.toggle {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--paper);
  font: inherit; font-size: .92rem; font-weight: 600; color: var(--ink-2);
  cursor: pointer; white-space: nowrap;
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.toggle__icon svg { fill: none; }
.toggle:hover { border-color: var(--ink-3); background: var(--paper-3); }
.toggle[aria-pressed="true"] {
  background: var(--ink); border-color: var(--ink); color: var(--paper-2);
}
.toggle[aria-pressed="true"] .toggle__icon svg { fill: currentColor; }

.results-bar {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px;
  margin: 26px 2px 20px;
}
.results-bar__count { font-size: .92rem; color: var(--ink-2); }
.results-bar__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.results-bar__chips .tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 11px; border-radius: 999px;
  background: var(--accent-wash); color: var(--accent-deep);
  font-size: .78rem; font-weight: 600;
}

/* ── Grid & cards ────────────────────────────────────────────────────── */
.grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.card:has(:focus-visible) { border-color: var(--accent); }

.card__media { position: relative; aspect-ratio: 16 / 11; background: var(--paper-3); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.035); }

.card__date {
  position: absolute; top: 12px; left: 12px;
  display: flex; flex-direction: column; align-items: center;
  min-width: 52px; padding: 7px 9px 8px;
  border-radius: 11px; background: rgba(255, 253, 249, .94);
  box-shadow: var(--shadow-sm); line-height: 1;
}
.card__date-m {
  font-size: .64rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-deep);
}
.card__date-d { font-family: var(--font-display); font-size: 1.35rem; margin-top: 3px; }

.card__pin {
  position: absolute; top: 12px; right: 12px;
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255, 253, 249, .94); color: var(--ink-2);
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.card__pin svg { fill: none; }
.card__pin:hover { background: #fff; color: var(--accent-deep); }
.card__pin[aria-pressed="true"] { background: var(--accent); color: #fff; }
.card__pin[aria-pressed="true"] svg { fill: currentColor; }

.card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 0; flex: 1; }
.card__title { font-size: 1.42rem; }
.card__text { color: var(--ink-2); font-size: .93rem; }

.card__meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  margin-top: auto; padding-top: 14px;
  font-size: .84rem; color: var(--ink-3);
}
.card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.card__meta svg { fill: none; opacity: .8; }

.card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 16px; padding: 15px 22px 20px;
  border-top: 1px solid var(--line);
}
.card__price { display: flex; flex-direction: column; line-height: 1.15; }
.card__price b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.card__price small { font-size: .74rem; color: var(--ink-3); }
.card__open { padding: 10px 18px; font-size: .88rem; }

/* ── Empty state ─────────────────────────────────────────────────────── */
.empty {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 12px; padding: clamp(44px, 7vw, 76px) 28px;
  border: 1.5px dashed var(--line-2); border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, .6);
}
.empty__mark { color: var(--line-2); }
.empty__mark svg { display: block; }
.empty__title { font-size: 1.5rem; }
.empty__text { color: var(--ink-2); max-width: 44ch; }
.empty .btn { margin-top: 8px; }

/* ── Studio ──────────────────────────────────────────────────────────── */
.studio {
  padding-block: clamp(56px, 7vw, 92px);
  border-top: 1px solid var(--line);
  background: rgba(239, 232, 220, .5);
}
.studio__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 70px); align-items: center;
}
.steps { display: flex; flex-direction: column; gap: 24px; margin-top: 28px; }
.steps li { padding-left: 54px; position: relative; }
.steps__n {
  position: absolute; left: 0; top: 1px;
  font-family: var(--font-display); font-size: 1.05rem; color: var(--accent);
  letter-spacing: .04em;
}
.steps h3 { font-size: 1.22rem; }
.steps p { color: var(--ink-2); margin-top: 5px; font-size: .95rem; }

.studio__figures { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.studio__figures .framed:first-child { aspect-ratio: 3 / 4.1; }
.studio__figures .framed:last-child { aspect-ratio: 3 / 3.4; margin-top: 44px; }

/* ── Visiting ────────────────────────────────────────────────────────── */
.visit { padding-block: clamp(56px, 7vw, 92px); border-top: 1px solid var(--line); }
.visit__inner { display: grid; gap: 30px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; }
.facts > div { padding-top: 16px; border-top: 1px solid var(--line); }
.facts dt {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-deep); margin-bottom: 6px;
}
.facts dd { color: var(--ink-2); }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #d9d0c4; padding-block: 48px 40px; }
.site-footer__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 30px; align-items: start;
}
.site-footer .wordmark__text { color: var(--paper); }
.site-footer__line { font-size: .94rem; }
.site-footer__fine { font-size: .82rem; color: #a2988c; line-height: 1.65; }

/* ── Detail dialog ───────────────────────────────────────────────────── */
.detail {
  width: min(1000px, calc(100vw - 48px));
  max-width: none; max-height: min(88vh, 760px);
  padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--paper-2); color: var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.detail:not([open]) { display: none; }
.detail::backdrop { background: rgba(32, 28, 24, .55); backdrop-filter: blur(3px); }

.detail__inner {
  position: relative;
  display: grid; grid-template-columns: .92fr 1.08fr;
  max-height: inherit;
}

.detail__close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%;
  background: rgba(255, 253, 249, .94); color: var(--ink);
  cursor: pointer; box-shadow: var(--shadow-sm);
  transition: background-color .16s var(--ease), transform .16s var(--ease);
}
.detail__close:hover { background: var(--paper-3); transform: rotate(90deg); }

.detail__media { background: var(--paper-3); min-height: 240px; }
.detail__media img { width: 100%; height: 100%; object-fit: cover; }

.detail__body {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 16px; padding: 38px 40px 34px;
  min-height: 0; overflow-y: auto;
}
.detail__title { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.detail__lede { font-size: 1.04rem; color: var(--ink-2); }

.detail__facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 26px; width: 100%;
  padding: 20px 0; margin: 2px 0;
  border-block: 1px solid var(--line);
}
.detail__facts dt {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3);
}
.detail__facts dd { font-size: .99rem; margin-top: 3px; }

.detail__included { font-size: .88rem; color: var(--ink-3); }
.detail__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }

/* Open/close motion -------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .detail[open] { animation: detail-in .26s var(--ease); }
  .detail[open]::backdrop { animation: fade-in .26s var(--ease); }
}
@keyframes detail-in {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

body.is-locked { overflow: hidden; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__figure::before { inset: 18px -14px -14px 18px; }
  .hero__note { left: auto; right: 10px; bottom: -22px; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .studio__inner { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .control--search { grid-column: 1 / -1; }
  .control--toggle { grid-column: 1 / -1; }
  .toggle { width: 100%; justify-content: center; }
}

@media (max-width: 860px) {
  .site-nav { display: none; }
  .shortlist-badge { margin-left: auto; }
  .detail__inner { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .detail__media { max-height: 210px; }
}

@media (max-width: 640px) {
  .shell { padding-inline: 20px; }
  .hero { padding-top: 28px; }
  .hero__stats { gap: 26px; margin-top: 34px; }
  .hero__stats dd { font-size: 1.5rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__note { position: static; margin-top: 26px; align-items: flex-start; }
  .hero__figure::before { display: none; }
  .framed--lift { aspect-ratio: 4 / 3; }
  .hero__strip { margin-top: 48px; gap: 10px; font-size: .68rem; }

  .grid { grid-template-columns: 1fr; gap: 20px; }
  .controls { grid-template-columns: 1fr; padding: 16px; }
  .facts { grid-template-columns: 1fr; }
  .studio__figures { gap: 12px; }
  .studio__figures .framed:last-child { margin-top: 24px; }

  .detail {
    width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh;
    margin: 0; border-radius: 0;
  }
  .detail__inner { max-height: 100dvh; grid-template-rows: auto minmax(0, 1fr); }
  .detail__media { max-height: 180px; }
  .detail__body { padding: 26px 22px 30px; }
  .detail__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
  .detail__actions { width: 100%; }
  .detail__actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .card:hover { transform: none; }
  .card:hover .card__media img { transform: none; }
  .detail__close:hover { transform: none; }
}
