/* Every reusable pattern, on tokens only; specimens at /admin/design. */

.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  /* The fluid type step shrinks to ~12px on phones, which left padding alone at 39.75px tall. */
  min-height: 44px;
  padding: 0.95em 1.6em;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--bg);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all var(--dur-2) var(--ease);
}
.btn-ghost { background: transparent; color: var(--ink); }
.btn-quiet { background: transparent; border-color: var(--line); color: var(--ink-soft); }
/* Hover only where a pointer hovers (a tap would leave a button stuck inverted), never on a sold-out span. */
@media (hover: hover) {
  .btn:not([aria-disabled="true"]):hover { background: transparent; color: var(--ink); }
  .btn-ghost:not([aria-disabled="true"]):hover { background: var(--ink); color: var(--bg); }
  .btn-quiet:not([aria-disabled="true"]):hover { border-color: var(--ink); color: var(--ink); }
}
.btn-full { width: 100%; justify-content: center; }
/* A secondary action repeated down a grid (Add to basket on each piece): still 40px tall, quieter type. */
.btn--small { min-height: 40px; padding: 0.7em 1.3em; font-size: var(--fs-caps); }
.btn:disabled { opacity: 0.35; pointer-events: none; }
/* A form on its way: the pressed button keeps full strength and a spinner, so it reads as working, not broken. */
.btn[aria-busy="true"], form[aria-busy="true"] .btn[data-turbo-submits-with]:disabled { opacity: 1; cursor: progress; pointer-events: none; }
.btn .spinner { border-color: color-mix(in oklab, currentColor 30%, transparent); border-top-color: currentColor; }
/* A sold-out CTA is a span styled as a button: muted, so it implies no click, yet a status that stays readable. */
.btn[aria-disabled="true"] { cursor: not-allowed; background: var(--bg-alt); border-color: var(--line); color: var(--ink-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
/* A link alone on its line gets a 40px tap area without moving anything: the padding grows it, the margin takes it back. */
.tap-pad { display: inline-block; padding-block: var(--tap-pad, 11px); margin-block: calc(-1 * var(--tap-pad, 11px)); }
/* Buttons that share a wrapper (a controller's scope) still lay out as the row's own. */
.btn-row__group { display: contents; }

.link-arrow {
  background: transparent; border: 0; cursor: pointer;
  font-family: var(--font-sans); font-size: 13px;
  letter-spacing: var(--track-caps); text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
  transition: color var(--dur-1), border-color var(--dur-1);
}
.link-arrow:hover { color: var(--ink); border-color: var(--ink); }
.link-quiet {
  background: transparent; border: 0; cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--fs-caps); letter-spacing: var(--track-caps); text-transform: uppercase;
  color: var(--ink-mute);
  padding: var(--sp-1) 0;
  transition: color var(--dur-1);
}
.link-quiet:hover { color: var(--ink); }
/* Standing alone as an action (Remove, Change the date): a full-height tap target that still reads as a quiet link. */
.link-quiet--block { display: block; padding: 14px 0; text-align: left; }
/* A name that opens its own page (a lesson in a list): it keeps the heading's look until pointed at. */
.link-title {
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.18em;
  text-decoration-thickness: 1px; transition: text-decoration-color var(--dur-1);
  /* Inline, so this grows the tap target past 40px (44px on a phone) without moving a line of text. */
  padding-block: 12px;
}
.link-title:hover, .link-title:focus-visible { text-decoration-color: currentColor; }

.badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--fs-caps); letter-spacing: var(--track-caps); text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  white-space: nowrap;
}
.badge--outline { color: var(--ink-soft); border-color: var(--line); background: var(--bg-card); }
.badge--solid { color: var(--ink); background: var(--bg); }
.badge--accent { color: var(--white); background: var(--accent); }
.badge--ink { color: var(--bg); background: var(--ink); }
/* --end takes the diagonally opposite corner: side by side, a long category and a stock label collide on a phone. */
.badge--overlay, .badge--overlay-end { position: absolute; }
.badge--overlay { top: 14px; left: 14px; }
.badge--overlay-end { right: 14px; bottom: 14px; }

.icon-btn {
  background: transparent; border: 0; cursor: pointer;
  color: var(--ink-mute); font-size: 18px;
  min-width: 40px; min-height: 40px;
  display: inline-grid; place-items: center;
}
.icon-btn:hover { color: var(--ink); }
.icon-btn--ink { color: var(--ink); position: relative; }

.stepper { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.stepper__btn {
  width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: transparent; cursor: pointer; color: var(--ink);
  font-size: 16px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color var(--dur-1);
}
@media (hover: hover) { .stepper__btn:hover:not(:disabled) { border-color: var(--ink); } }
.stepper__btn:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper__value { min-width: 48px; text-align: center; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
}
.card--snug { padding: var(--sp-5); }
.card--sticky { position: sticky; top: calc(var(--header-clear) + 12px); }
.card--elevated { box-shadow: var(--shadow-2); }
/* Sticky is pointless once the page grid stacks; release it and give the card air. */
@media (max-width: 900px) {
  .card--sticky { position: static; margin-top: 24px; }
}

.photo-frame { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-sm); }
.photo-frame--square { aspect-ratio: 1; }
.photo-frame--wide { aspect-ratio: 5 / 4; }
.photo-frame--tall { aspect-ratio: 3 / 4; }

/* Two equal columns that stack under the 900px breakpoint; --top aligns them to their tops. */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
}
.form-stack { display: flex; flex-direction: column; gap: 20px; }
.form-stack > .btn { align-self: flex-start; margin-top: 8px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { display: flex; flex-direction: column; gap: 6px; }
.field__label {
  font-family: var(--font-sans);
  font-size: var(--fs-caps); letter-spacing: var(--track-caps-wide); text-transform: uppercase;
  color: var(--ink-mute);
}
.field__hint { font-size: 12px; color: var(--ink-mute); }
.field__error { font-size: 12px; color: var(--danger); }
/* .field__control: the same input where no .field wraps it, e.g. a table cell. */
.field input:not([type="submit"]), .field select, .field textarea, .field__control {
  padding: var(--sp-3);
  border: 1px solid var(--line); background: var(--bg-card);
  border-radius: var(--r-md);
  /* 16px at least: iOS Safari zooms into a smaller field and leaves the page zoomed. */
  font-family: var(--font-serif); font-size: max(16px, 1rem);
  color: var(--ink);
  outline: none;
}
.field select { cursor: pointer; }
.field input:not([type="submit"]):focus, .field select:focus, .field textarea:focus, .field__control:focus {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
/* The :not() matches the base rule's weight, or an invalid input kept its plain border. */
.field--invalid input:not([type="submit"]), .field--invalid select, .field--invalid textarea {
  border-color: var(--danger);
}
/* Rails wraps an invalid control in this div, which took it out of the label's stretch and halved it. */
.field .field_with_errors { display: contents; }

.summary { margin: 0; }
.summary__row {
  display: flex; justify-content: space-between; gap: var(--sp-3);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
}
.summary__row--muted { color: var(--ink-soft); }
.summary__code { white-space: nowrap; }
.summary__total {
  display: flex; justify-content: space-between; gap: var(--sp-3);
  padding: var(--sp-4) 0 0;
  font-family: var(--font-serif);
  font-size: var(--step-1);
}
.summary__em { font-style: italic; }

#flash {
  position: fixed;
  top: var(--header-clear);
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, calc(100% - 32px));
  z-index: var(--z-flash);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  pointer-events: none;
}
.flash {
  --flash-enter: -8px;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 12px 14px 12px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.4;
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-2);
  animation: flashIn 0.25s var(--ease);
}
.flash-alert  { background: var(--terracotta-deep); color: var(--white); }
.flash-notice { background: var(--sage-deep); color: var(--white); }
.flash-error  { background: var(--danger); color: var(--white); }
.flash-info   { background: var(--accent); color: var(--white); }
.flash--inline {
  border-radius: var(--r-md);
  animation: none;
  box-shadow: none;
  margin-bottom: 20px;
}
.flash-text { min-width: 0; }
.flash-close {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: inherit;
  opacity: 0.8;
  font-size: 14px;
  line-height: 1;
  border-radius: var(--r-pill);
}
/* Pads the hit area to ~42px without inflating the pill. */
.flash-close::after { content: ""; position: absolute; inset: -8px; }
.flash-close:hover { opacity: 1; }
.flash-close:focus-visible { opacity: 1; outline: 2px solid currentColor; outline-offset: 2px; }
.flash.is-leaving {
  opacity: 0;
  transform: translateY(var(--flash-enter));
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
@keyframes flashIn {
  from { opacity: 0; transform: translateY(var(--flash-enter)); }
  to   { opacity: 1; transform: none; }
}
/* Phones get the standard bottom toast: a narrow header can wrap onto a top-anchored one. */
@media (max-width: 560px) {
  #flash { top: auto; bottom: 16px; }
  .flash { --flash-enter: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .flash { animation: none; }
  .flash.is-leaving { transition: none; }
}

.prose { max-width: 68ch; line-height: 1.7; color: var(--ink-soft); overflow-wrap: anywhere; }
.prose p { margin: 0 0 1em; }
/* Sections of a page, a step under its title, spaced from the scale (an em margin grew with the heading). */
.prose h2, .prose h3 { font-family: var(--font-serif); color: var(--ink); line-height: 1.2; margin: var(--sp-7) 0 var(--sp-3); }
.prose h2 { font-size: var(--step-3); }
.prose h3 { font-size: var(--step-2); }
.prose > :first-child { margin-top: 0; }
.prose h4 { font-size: var(--step-0); font-weight: 500; color: var(--ink); margin: 1.4em 0 0.4em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.4em; }
.prose li { margin: 0.25em 0; }
.prose li > ul, .prose li > ol { margin: 0.25em 0 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; padding: 0.1em 0.3em; border-radius: var(--r-sm); background: var(--bg-alt); }
.prose pre { overflow-x: auto; margin: 0 0 1em; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md); background: var(--bg-alt); }
.prose pre code { padding: 0; background: none; }
.prose blockquote { margin: 0 0 1em; padding: var(--sp-3) var(--sp-4); border-left: 3px solid var(--accent); background: var(--bg-card); color: var(--ink); }
.prose blockquote > :last-child { margin-bottom: 0; }
.prose hr { margin: 2em 0; border: 0; border-top: 1px solid var(--line); }
/* A wide table scrolls inside this box, never the page; its words keep their width so it can. */
.prose__table { overflow-x: auto; margin: 0 0 1em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95em; overflow-wrap: normal; }
.prose th, .prose td { padding: var(--sp-2) var(--sp-3); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--ink); font-weight: 500; }

.choice-group { display: grid; gap: var(--sp-3); min-width: 0; margin: 0; padding: 0; border: 0; }
.choice-group > legend { padding: 0; }
/* Radio level with the title's first line (also when the price wraps under it), details under the title. */
.choice-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start;
  gap: var(--sp-2) var(--sp-3);
  min-height: 44px; padding: var(--sp-4);
  background: var(--bg-card);
  border: 1px solid var(--line); border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color var(--dur-1) var(--ease);
}
@media (hover: hover) {
  .choice-card:hover { border-color: var(--ink-soft); }
}
.choice-card:has(.choice-card__input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice-card:has(.choice-card__input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.choice-card__input { font-size: inherit; inline-size: 18px; block-size: 18px; margin: calc((1.5em - 18px) / 2) 0 0; accent-color: var(--ink); }
.choice-card__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sp-1) var(--sp-3); }
.choice-card__title { color: var(--ink); font-weight: 500; line-height: 1.5; }
.choice-card__price { font-family: var(--font-serif); font-size: var(--step-1); line-height: 1; white-space: nowrap; }
.choice-card__detail { grid-column: 2; display: grid; gap: var(--sp-1); color: var(--ink-soft); font-size: 14px; }
/* The same card as a button that picks something at once, so no radio column. */
.choice-card--action { grid-template-columns: minmax(0, 1fr); row-gap: 2px; inline-size: 100%; padding: var(--sp-3) var(--sp-4); font: inherit; text-align: left; color: inherit; }
.choice-card--action .choice-card__title { font-weight: 400; }
.choice-card--action .choice-card__detail { grid-column: 1; }
.price-was { margin-right: 0.4em; color: var(--ink-mute); text-decoration: line-through; }

/* An on/off switch: a knob on a track plus the state in words, so colour never carries the state alone. */
.switch-form { display: inline-flex; margin: 0; }
.switch {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  min-height: 44px; margin: 0; padding: 0 var(--sp-1);
  background: none; border: 0; border-radius: var(--r-md); cursor: pointer;
  font: inherit; font-weight: 600; color: var(--ink-soft);
}
.switch__track {
  position: relative; flex: none; inline-size: 46px; block-size: 26px;
  border-radius: var(--r-pill); background: var(--bg-alt); box-shadow: inset 0 0 0 1px var(--ink-mute);
  transition: background var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.switch__knob {
  position: absolute; inset-block-start: 4px; inset-inline-start: 4px; inline-size: 18px; block-size: 18px;
  border-radius: 50%; background: var(--ink-mute);
  transition: transform var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
}
.switch.is-on { color: var(--ink); }
.switch.is-on .switch__track { background: var(--sage-deep); box-shadow: none; }
.switch.is-on .switch__knob { background: var(--white); transform: translateX(20px); }
@media (hover: hover) {
  .switch:hover .switch__track { box-shadow: inset 0 0 0 1px var(--ink); }
  .switch.is-on:hover .switch__track { box-shadow: none; background: var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  .switch__track, .switch__knob { transition: none; }
}

.meter {
  appearance: none;
  display: block; inline-size: 100%; block-size: 6px;
  border: 0; border-radius: var(--r-pill);
  background: var(--line); color: var(--accent);
  overflow: hidden;
}
.meter::-webkit-progress-bar { background: var(--line); border-radius: var(--r-pill); }
.meter::-webkit-progress-value { background: var(--accent); border-radius: var(--r-pill); }
.meter::-moz-progress-bar { background: var(--accent); border-radius: var(--r-pill); }

.picked-point {
  display: grid; gap: 2px; justify-self: stretch;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--bg-alt);
}
.picked-point__label { font-size: var(--fs-caps); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--ink-mute); }
.picked-point__name { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.picked-point__address { color: var(--ink-soft); font-size: 14px; overflow-wrap: anywhere; }

.spinner {
  display: inline-block;
  inline-size: 1.25em; block-size: 1.25em;
  flex: none;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  vertical-align: -0.2em;
  animation: spin var(--dur-4) linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
/* Slowed, not stopped: a frozen ring reads as a hung page. */
@media (prefers-reduced-motion: reduce) {
  .spinner { animation-duration: calc(var(--dur-4) * 4); }
  /* Overlays appear in place instead of sliding across the screen. */
  .drawer, .drawer-scrim, .modal-scrim, .modal-panel, .btn { transition: none; animation: none; }
}

.modal-scrim {
  position: fixed; inset: 0; z-index: var(--z-modal);
  background: var(--scrim);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  padding: 20px;
  animation: fadeIn var(--dur-2) var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-panel {
  --modal-inset: 32px;
  background: var(--bg);
  border-radius: var(--r-lg);
  width: min(640px, 100%);
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  /* A field the keyboard reaches scrolls clear of the pinned foot. */
  scroll-padding-block-end: 112px;
  box-shadow: var(--shadow-2);
  animation: modalIn var(--dur-3) var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.modal-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 28px var(--modal-inset) 20px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
/* The dialog's own h2 (its steps are h3s), drawn at the h3 size. */
.modal-head h2 { margin: 4px 0 0; font-style: italic; font-size: var(--step-3); }
.modal-body { padding: 28px var(--modal-inset); min-height: 280px; }
/* Pinned to the panel's bottom edge: a long step (the contact form on a phone) never hides Next below the fold. */
.modal-foot {
  position: sticky; bottom: 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3);
  padding: 20px var(--modal-inset); border-top: 1px solid var(--line);
  background: var(--bg);
}
.modal-foot .btn { max-width: 100%; justify-content: center; text-align: center; }
/* A phone gets the whole screen for a form with a keyboard (and the desktop insets left a 216px column at 320px); the foot stays at its bottom. */
@media (max-width: 560px) {
  .modal-scrim { padding: 0; place-items: stretch; }
  .modal-panel { --modal-inset: var(--sp-4); width: 100%; max-height: none; border-radius: 0; display: flex; flex-direction: column; }
  .modal-panel > form { flex: 1 0 auto; display: flex; flex-direction: column; }
  .modal-panel > form > .modal-body { flex: 1 0 auto; }
}

.drawer-scrim {
  position: fixed; inset: 0; z-index: var(--z-overlay);
  background: var(--scrim);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-2);
}
.drawer-scrim.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--z-panel);
  width: min(440px, 100%);
  background: var(--bg);
  transform: translateX(100%);
  /* Hidden once it has slid out, or its shadow bleeds a band down the right edge of every page. */
  visibility: hidden;
  transition: transform var(--dur-3) var(--ease), visibility 0s linear var(--dur-3);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-2);
  /* Only when its fixed parts outgrow a short screen (a pending order, a phone held sideways), so Checkout stays reachable. */
  overflow-y: auto; overscroll-behavior: contain;
}
.drawer.on { transform: translateX(0); visibility: visible; transition-delay: 0s; }
.drawer__head {
  display: flex; justify-content: space-between;
  padding: var(--sp-5) var(--panel-inset);
  border-bottom: 1px solid var(--line);
}
/* An h2 so the page's outline goes h1 → h2, at the h3 size it was drawn at. */
.drawer__head h2 { margin: 0; font-style: italic; font-size: var(--step-3); }

.empty-state { text-align: center; color: var(--ink-mute); padding: var(--sp-8) 0; }
.empty-state--snug { padding: var(--sp-7) 0; }
.empty-state__action { margin-top: var(--sp-5); }

.page-hero {
  padding: clamp(60px, 9vw, 120px) 0 clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
/* A back-link-only band needs far less air, or the product sits low behind an empty strip. */
.page-hero--back {
  padding: clamp(24px, 4vw, 40px) 0 clamp(18px, 2.5vw, 26px);
}
.page-hero .eyebrow { margin-bottom: 16px; }
/* A 40px tap area for the back link without moving anything: the padding grows it, the margin takes it back. */
.page-hero--back .eyebrow { display: inline-block; margin-block: -13px; padding-block: 13px; }
.page-hero h1 {
  font-style: italic;
  font-size: var(--display-1);
  margin: 0 0 20px;
  line-height: 0.95;
}
.page-hero .lede { max-width: 560px; margin: 0; }
.page-hero__actions { margin-top: var(--sp-5); }
/* Paying, booking, reading the terms: the title names the task and the form starts on the first screen. */
.page-hero--task { padding: clamp(var(--sp-6), 4vw, 56px) 0 clamp(var(--sp-5), 3vw, 40px); }
.page-hero--task .eyebrow { margin-bottom: var(--sp-3); }
.page-hero--task h1 { font-size: var(--step-4); line-height: 1.05; margin-bottom: var(--sp-3); }
.page-hero--task h1:last-child { margin-bottom: 0; }
.page-hero--task .lede { font-size: var(--step-0); }

/* A <details> that opens a panel under a pill-shaped toggle; no JavaScript, and the chevron turns when open. */
.disclosure > summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  min-height: 44px; padding: 10px 18px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  cursor: pointer; list-style: none;
  font-size: var(--fs-caps-l); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--ink);
}
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary::after {
  content: ""; flex: none; width: 7px; height: 7px; margin-right: 4px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform var(--dur-1);
}
.disclosure[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.disclosure > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.disclosure__panel { display: grid; gap: var(--sp-4); padding: var(--sp-4) 0 0; }
