@font-face {
  font-family: "Fraunces";
  src: url("/artifacts/forma-frontend--v1--s4-whacky--deepseek-4.1-flash-1017--web-design-guidelines--2026-10-17T21-02-49-027Z/assets/fonts/fraunces-roman-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/artifacts/forma-frontend--v1--s4-whacky--deepseek-4.1-flash-1017--web-design-guidelines--2026-10-17T21-02-49-027Z/assets/fonts/fraunces-italic-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("/artifacts/forma-frontend--v1--s4-whacky--deepseek-4.1-flash-1017--web-design-guidelines--2026-10-17T21-02-49-027Z/assets/fonts/space-mono-regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("/artifacts/forma-frontend--v1--s4-whacky--deepseek-4.1-flash-1017--web-design-guidelines--2026-10-17T21-02-49-027Z/assets/fonts/space-mono-bold-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --cabinet: #1b3029;
  --cabinet-deep: #12221d;
  --cabinet-light: #365649;
  --paper: #f2ead6;
  --paper-hi: #fbf6e9;
  --paper-deep: #e3d7bd;
  --ink: #211f19;
  --ink-soft: #4f4b40;
  --muted: #5f594b;
  --rule: #cfc3a8;
  --red: #a83422;
  --coral: #f06a49;
  --brass: #c7a35a;
  --brass-hi: #e7ce92;
  --brass-deep: #8f6d31;
  --focus: #ffd77f;
  --cat: #8a6a3d;
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --mono: "Space Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --shadow-card: 0 24px 40px -18px rgba(0, 0, 0, 0.55), 0 3px 0 rgba(255, 255, 255, 0.72) inset;
}

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

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

body {
  margin: 0;
  min-width: 280px;
  overflow-x: hidden;
  background:
    radial-gradient(1100px 680px at 78% -8%, rgba(74, 117, 98, 0.68) 0%, rgba(74, 117, 98, 0) 64%),
    radial-gradient(900px 700px at 0% 42%, rgba(38, 70, 59, 0.9) 0%, rgba(38, 70, 59, 0) 70%),
    repeating-linear-gradient(91deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(87deg, rgba(0, 0, 0, 0.07) 0 2px, transparent 2px 19px),
    linear-gradient(180deg, #203a31 0%, #172b24 58%, #12221d 100%);
  color: var(--paper);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

a,
button,
input,
select {
  touch-action: manipulation;
}

a,
button {
  -webkit-tap-highlight-color: rgba(240, 106, 73, 0.22);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

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

p {
  text-wrap: pretty;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--coral);
  color: var(--cabinet-deep);
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 1px;
  box-shadow: 0 0 0 6px var(--focus);
}

.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: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-180%);
  padding: 12px 18px;
  border: 2px solid var(--ink);
  background: var(--paper-hi);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--red);
}

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

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.19;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.shell {
  width: min(calc(100% - 72px), 1320px);
  margin-inline: auto;
  padding-bottom: 64px;
}

/* ---------- Masthead ---------- */

.masthead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 16px;
  border-bottom: 1px solid rgba(242, 234, 214, 0.18);
}

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

.brand__seal {
  width: 44px;
  height: 44px;
  flex: none;
  color: var(--brass-hi);
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.brand:hover .brand__seal {
  transform: rotate(14deg);
}

.brand__lockup {
  display: grid;
  gap: 1px;
}

.brand__name {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.26em;
  line-height: 1.1;
}

.brand__sub {
  font-family: var(--display);
  font-size: 14px;
  font-style: italic;
  letter-spacing: 0.01em;
  color: rgba(242, 234, 214, 0.7);
}

.edition {
  display: grid;
  gap: 2px;
  text-align: right;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 234, 214, 0.62);
}

.edition span:first-child {
  color: var(--brass-hi);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 380px);
  align-items: center;
  gap: 48px;
  padding: 36px 0 14px;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 234, 214, 0.66);
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(240, 106, 73, 0.16);
}

.hero h1 {
  margin: 18px 0 20px;
  font-size: clamp(54px, 6.4vw, 88px);
  font-weight: 450;
  font-variation-settings: "opsz" 120;
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--paper-hi);
}

.hero h1 em {
  font-style: italic;
  font-weight: 380;
  color: var(--coral);
  letter-spacing: -0.03em;
}

.hero__lede {
  max-width: 45ch;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(242, 234, 214, 0.78);
}

.hero__note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  width: max-content;
  transform: rotate(-4deg);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-hi);
}

.hero__note svg {
  width: 50px;
  color: var(--brass-hi);
}

.hero__side {
  position: relative;
  height: 268px;
}

.studio-snap {
  position: absolute;
  top: -8px;
  left: 0;
  z-index: 1;
  width: 242px;
  padding: 8px 8px 30px;
  transform: rotate(-5.5deg);
  background: var(--paper-hi);
  color: var(--ink-soft);
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.65);
}

.studio-snap::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 86px;
  width: 72px;
  height: 24px;
  transform: rotate(3deg);
  background: rgba(233, 213, 166, 0.72);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.studio-snap img {
  width: 100%;
  height: 142px;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
}

.studio-snap figcaption {
  padding: 8px 3px 0;
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.45;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}

.drawer-plate {
  position: absolute;
  right: -6px;
  bottom: 4px;
  z-index: 2;
  display: grid;
  justify-items: start;
  width: 300px;
  padding: 20px 24px 18px;
  transform: rotate(2.2deg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 42%),
    repeating-linear-gradient(92deg, rgba(69, 48, 15, 0.07) 0 1px, transparent 1px 5px),
    linear-gradient(135deg, #d9ba77 0%, #c7a35a 45%, #ac8644 100%);
  border: 1px solid #795b26;
  color: #2c2415;
  box-shadow:
    0 22px 34px -18px rgba(0, 0, 0, 0.8),
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 -2px 0 rgba(74, 50, 12, 0.38) inset;
}

.drawer-plate::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(63, 43, 10, 0.38);
  pointer-events: none;
}

.drawer-plate__kicker {
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.drawer-plate__big {
  margin: 4px 0 -2px;
  font-family: var(--display);
  font-size: 72px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-variant-numeric: lining-nums tabular-nums;
}

.drawer-plate__caption {
  font-family: var(--display);
  font-size: 15px;
  font-style: italic;
}

.screw {
  position: absolute;
  z-index: 3;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #f6e6b8 0 18%, #8c6b31 45%, #4f3a17 100%);
  box-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
}

.screw--tl {
  top: 8px;
  left: 8px;
}

.screw--tr {
  top: 8px;
  right: 8px;
}

.screw--bl {
  bottom: 8px;
  left: 8px;
}

.screw--br {
  bottom: 8px;
  right: 8px;
}

.drawer-handle {
  position: absolute;
  right: 64px;
  bottom: -24px;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 4px;
  transform: rotate(2.2deg);
  color: rgba(231, 206, 146, 0.7);
}

.drawer-handle__bar {
  width: 112px;
  height: 22px;
  border: 4px solid var(--brass);
  border-bottom: 0;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
  opacity: 0.8;
}

.drawer-handle__label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* ---------- Tools ---------- */

.drawer {
  position: relative;
  margin-top: 30px;
  scroll-margin-top: 20px;
}

.tools {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(190px, 0.7fr) auto;
  align-items: stretch;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.34), transparent 22%),
    linear-gradient(180deg, var(--paper-hi), var(--paper) 72%, var(--paper-deep));
  color: var(--ink);
  border: 1px solid #c9bda2;
  color-scheme: light;
  box-shadow:
    0 22px 46px -20px rgba(0, 0, 0, 0.62),
    0 1px 0 #fff inset;
}

.tools::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 24px;
  width: 180px;
  height: 16px;
  background: var(--paper-deep);
  clip-path: polygon(0 100%, 5% 0, 95% 0, 100% 100%);
  opacity: 0.8;
}

.field {
  min-width: 0;
  padding: 14px 20px 15px;
  border-right: 1px dashed rgba(33, 31, 25, 0.25);
}

.field label {
  display: block;
  margin-bottom: 5px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}

.searchbox {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.searchbox__icon {
  width: 19px;
  height: 19px;
  flex: none;
  color: var(--red);
}

.searchbox input {
  min-width: 0;
  width: 100%;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.2;
}

.searchbox input::placeholder {
  color: #6a6353;
  opacity: 1;
}

.searchbox input::-webkit-search-cancel-button {
  display: none;
}

.searchbox__clear {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  padding: 0;
  border: 1px solid rgba(33, 31, 25, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}

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

.searchbox__clear svg {
  width: 13px;
  height: 13px;
}

.selectbox {
  position: relative;
  display: flex;
  align-items: center;
}

.selectbox select {
  width: 100%;
  height: 34px;
  padding: 0 30px 0 0;
  appearance: none;
  border: 0;
  background-color: rgba(251, 246, 233, 0.62);
  color: var(--ink);
  font-family: var(--display);
  padding-left: 9px;
  font-size: 18px;
  line-height: 1.2;
  box-shadow: inset 0 0 0 1px rgba(33, 31, 25, 0.14);
  border-radius: 2px;
}

.selectbox__chevron {
  position: absolute;
  right: 2px;
  width: 15px;
  height: 15px;
  pointer-events: none;
  color: var(--ink-soft);
}

.shortlist-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 62px;
  padding: 0 22px;
  border: 0;
  background: var(--red);
  color: var(--paper-hi);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition:
    background-color 200ms ease,
    color 200ms ease,
    box-shadow 200ms ease;
}

.shortlist-toggle svg {
  width: 17px;
  height: 17px;
}

.shortlist-toggle:hover {
  background: #982f1e;
}

.shortlist-toggle[aria-pressed="true"] {
  background: var(--cabinet);
  color: var(--paper-hi);
  box-shadow: inset 0 0 0 3px var(--cabinet), inset 0 0 0 4px rgba(242, 234, 214, 0.5);
}

.shortlist-toggle__count {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--paper-hi);
  color: var(--red);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.shortlist-toggle[aria-pressed="true"] .shortlist-toggle__count {
  background: var(--coral);
  color: var(--cabinet-deep);
}

.drawer-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 2px 14px;
}

.status {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(242, 234, 214, 0.62);
}

.pick {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 3px 0;
  border: 0;
  border-bottom: 1px solid rgba(231, 206, 146, 0.4);
  background: transparent;
  color: var(--brass-hi);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.pick:hover {
  border-bottom-color: var(--brass-hi);
  color: var(--paper-hi);
}

.pick:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.pick svg {
  width: 20px;
  height: 11px;
  transition: transform 200ms ease;
}

.pick:hover svg {
  transform: translateX(4px);
}

/* ---------- Cards ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 26px;
  align-items: start;
  padding-bottom: 20px;
}

.card {
  --tilt: -0.35deg;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  padding-top: 14px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.5), transparent 34%),
    linear-gradient(180deg, var(--paper-hi) 0%, var(--paper) 64%, var(--paper-deep) 100%);
  color: var(--ink);
  border: 1px solid #c6b99d;
  box-shadow: var(--shadow-card);
  transform: rotate(var(--tilt));
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms ease;
}

.grid.is-dealing .card {
  animation: deal-in 360ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: calc(var(--i, 0) * 30ms);
}

@keyframes deal-in {
  from {
    opacity: 0;
    transform: translateY(24px) rotate(calc(var(--tilt) + 1.4deg));
  }
  to {
    opacity: 1;
    transform: rotate(var(--tilt));
  }
}

.card:nth-child(3n + 2) {
  --tilt: 0.45deg;
}

.card:nth-child(3n) {
  --tilt: -0.15deg;
}

.card:hover,
.card:focus-within {
  transform: rotate(0deg) translateY(-6px);
  box-shadow:
    0 34px 48px -20px rgba(0, 0, 0, 0.66),
    0 3px 0 rgba(255, 255, 255, 0.78) inset;
}

.card::before,
.card::after {
  content: "";
  position: absolute;
  top: 7px;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #203a31;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.6) inset,
    0 0 0 2px rgba(255, 255, 255, 0.25);
}

.card::before {
  right: 18px;
}

.card::after {
  right: 34px;
}

.card__tab {
  position: absolute;
  top: -12px;
  left: 16px;
  z-index: 3;
  max-width: calc(100% - 32px);
  padding: 5px 11px 4px;
  overflow: hidden;
  background: var(--cat);
  color: var(--paper-hi);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.22);
}

.card__media {
  position: relative;
  margin: 0 13px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #b6a98d;
  border: 1px solid rgba(33, 31, 25, 0.28);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.03);
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover .card__media img {
  transform: scale(1.035);
}

.card__no {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 4px 7px;
  background: rgba(251, 246, 233, 0.92);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.card__stamp {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  justify-items: center;
  padding: 5px 7px 4px;
  transform: rotate(4deg);
  border: 2px solid var(--red);
  background: rgba(242, 234, 214, 0.88);
  color: var(--red);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.card__stamp b {
  font-size: 14px;
  line-height: 1;
}

.card__saved {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 8px;
  transform: rotate(-3deg);
  border: 1px solid var(--red);
  background: rgba(251, 246, 233, 0.9);
  color: var(--red);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card.is-saved {
  box-shadow:
    0 0 0 3px var(--red),
    0 24px 40px -18px rgba(0, 0, 0, 0.55),
    0 3px 0 rgba(255, 255, 255, 0.72) inset;
}

.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 17px 19px 18px;
}

.card__title {
  margin: 1px 0 9px;
  overflow-wrap: anywhere;
  font-size: clamp(25px, 2.15vw, 31px);
  font-weight: 520;
  line-height: 1;
  letter-spacing: -0.032em;
}

.card__summary {
  flex: 1;
  overflow-wrap: anywhere;
  margin-bottom: 15px;
  font-size: 14.5px;
  line-height: 1.47;
  color: var(--ink-soft);
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 11px;
  padding-top: 11px;
  border-top: 1px dashed rgba(33, 31, 25, 0.3);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.005em;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.card__meta svg {
  width: 11px;
  height: 11px;
  color: var(--red);
}

.card__meta .card__price {
  margin-left: auto;
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
}

.card__seats {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.open-item {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

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

.open-item:active {
  transform: translateY(1px);
}

.open-item svg {
  width: 17px;
  height: 10px;
}

/* ---------- Empty state ---------- */

.empty {
  position: relative;
  max-width: 640px;
  margin: 30px auto 70px;
  padding: 50px 42px 46px;
  transform: rotate(-0.5deg);
  border: 2px dashed rgba(33, 31, 25, 0.55);
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.empty__tab {
  position: absolute;
  top: -13px;
  left: 24px;
  padding: 5px 11px;
  background: var(--red);
  color: var(--paper-hi);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.empty__kicker {
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
}

.empty h3 {
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
}

.empty__copy {
  max-width: 40ch;
  margin: 13px auto 22px;
  font-size: 16px;
  color: var(--ink-soft);
}

.empty__reset {
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-hi);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.empty__reset:hover {
  background: var(--red);
  border-color: var(--red);
}

/* ---------- Studio note ---------- */

.studio-note {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  margin-top: 54px;
  padding: 30px 34px;
  overflow: hidden;
  border: 1px solid rgba(242, 234, 214, 0.17);
  background:
    repeating-linear-gradient(92deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 7px),
    rgba(9, 23, 19, 0.38);
}

.studio-note__image {
  width: 190px;
  padding: 7px 7px 22px;
  transform: rotate(-2.5deg);
  background: var(--paper-hi);
  box-shadow: 0 14px 26px -12px rgba(0, 0, 0, 0.7);
}

.studio-note__image img {
  width: 100%;
  height: 126px;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.05);
}

.studio-note__copy {
  min-width: 0;
}

.studio-note h2 {
  max-width: 19ch;
  margin: 10px 0 10px;
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 450;
  line-height: 1;
  letter-spacing: -0.035em;
}

.studio-note__copy > p:not(.eyebrow) {
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(242, 234, 214, 0.72);
}

.studio-note__small {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: rgba(242, 234, 214, 0.6) !important;
}

.studio-note__stamp {
  align-self: end;
  padding: 9px 12px;
  transform: rotate(5deg);
  border: 2px solid rgba(240, 106, 73, 0.7);
  color: rgba(240, 106, 73, 0.86);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

/* ---------- Footer ---------- */

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 40px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(242, 234, 214, 0.16);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: rgba(242, 234, 214, 0.58);
}

.footer__brand {
  color: var(--brass-hi);
  letter-spacing: 0.16em;
}

.footer__brand span {
  opacity: 0.6;
}

.footer a:hover {
  color: var(--paper-hi);
}

/* ---------- Detail dialog ---------- */

.detail {
  width: min(calc(100vw - 56px), 1030px);
  max-width: none;
  max-height: calc(100dvh - 56px);
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--ink);
  color-scheme: light;
}

.detail::backdrop {
  background: rgba(6, 16, 13, 0.78);
  backdrop-filter: blur(5px);
}

.detail[open] {
  animation: detail-in 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.detail[open]::backdrop {
  animation: backdrop-in 300ms ease-out;
}

@keyframes detail-in {
  from {
    opacity: 0;
    transform: translateY(26px) rotate(0.35deg) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
}

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

.detail__paper {
  position: relative;
  max-height: calc(100dvh - 56px);
  overflow: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.52), transparent 30%),
    linear-gradient(180deg, var(--paper-hi) 0%, var(--paper) 58%, var(--paper-deep) 100%);
  border: 1px solid #c6b99d;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7);
  scrollbar-color: var(--red) var(--paper-deep);
}

.detail__paper::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 160px;
  height: 22px;
  transform: translateX(-50%) rotate(-1deg);
  background: rgba(226, 204, 153, 0.62);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
  pointer-events: none;
}

.detail__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 12px 9px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-hi);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 3px 0 rgba(33, 31, 25, 0.15);
}

.detail__close:hover {
  background: var(--ink);
  color: var(--paper-hi);
}

.detail__close svg {
  width: 14px;
  height: 14px;
}

.detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: 600px;
}

.detail__visual {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background: #a99b80;
  border-right: 1px solid rgba(33, 31, 25, 0.25);
}

.detail__visual img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
}

.detail__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 30, 26, 0.12), transparent 35%, rgba(20, 30, 26, 0.42));
  pointer-events: none;
}

.detail__stamp {
  position: absolute;
  top: 28px;
  left: 26px;
  z-index: 2;
  padding: 8px 10px;
  transform: rotate(-4deg);
  border: 2px solid var(--red);
  background: rgba(251, 246, 233, 0.9);
  color: var(--red);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.detail__caption {
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: 24px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(251, 246, 233, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.detail__content {
  min-width: 0;
  padding: 64px 44px 38px;
}

.detail__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 17px;
}

.detail__tab {
  padding: 5px 11px 4px;
  background: var(--cat);
  color: var(--paper-hi);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.detail__no {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.detail h2 {
  max-width: 14ch;
  overflow-wrap: anywhere;
  margin-bottom: 16px;
  font-size: clamp(42px, 4.6vw, 64px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.detail__body {
  max-width: 42ch;
  overflow-wrap: anywhere;
  margin-bottom: 24px;
  font-size: 18px;
  line-height: 1.52;
  color: var(--ink-soft);
}

.detail__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 18px;
  margin-bottom: 24px;
  border-top: 1px solid rgba(33, 31, 25, 0.28);
}

.detail__facts div {
  min-width: 0;
  padding: 10px 12px 10px 0;
  border-bottom: 1px dashed rgba(33, 31, 25, 0.25);
}

.detail__facts div:nth-child(even) {
  padding-left: 14px;
  border-left: 1px dashed rgba(33, 31, 25, 0.25);
}

.detail__facts dt {
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.detail__facts dd {
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
  font-size: 15.5px;
  line-height: 1.35;
  color: var(--ink);
}

.save {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 13px 18px;
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--paper-hi);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition:
    background-color 200ms ease,
    color 200ms ease,
    box-shadow 200ms ease;
}

.save:hover {
  background: #982f1e;
  border-color: #982f1e;
}

.save svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.save[aria-pressed="true"] {
  background: transparent;
  color: var(--red);
  box-shadow: inset 0 0 0 2px var(--red);
}

.save[aria-pressed="true"] svg {
  fill: var(--red);
}

.detail__note {
  margin-top: 11px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--muted);
  text-align: center;
}

.noscript {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 999;
  padding: 18px;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--red);
  font-family: var(--mono);
  font-size: 13px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 28px;
  }

  .hero__side {
    height: 250px;
  }

  .studio-snap {
    width: 212px;
  }

  .studio-snap img {
    height: 124px;
  }

  .drawer-plate {
    width: 260px;
  }

  .drawer-plate__big {
    font-size: 62px;
  }

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

  .detail__content {
    padding: 58px 34px 32px;
  }
}

@media (max-width: 860px) {
  .shell {
    width: min(calc(100% - 40px), 720px);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 34px;
  }

  .hero__side {
    display: none;
  }

  .hero h1 {
    font-size: clamp(48px, 9.6vw, 78px);
    margin-top: 18px;
  }

  .hero__lede {
    font-size: 18px;
  }

  .hero__note {
    display: none;
  }

  .tools {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.55fr);
  }

  .shortlist-toggle {
    grid-column: 1 / -1;
    min-height: 52px;
    border-top: 1px dashed rgba(33, 31, 25, 0.25);
  }

  .field--select {
    border-right: 0;
  }

  .studio-note {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 26px;
    padding: 26px;
  }

  .studio-note__image {
    width: 150px;
  }

  .studio-note__stamp {
    display: none;
  }

  .detail {
    width: calc(100vw - 28px);
    max-height: calc(100dvh - 28px);
  }

  .detail__paper {
    max-height: calc(100dvh - 28px);
  }

  .detail__grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .detail__visual {
    min-height: 230px;
    max-height: 280px;
    border-right: 0;
    border-bottom: 1px solid rgba(33, 31, 25, 0.25);
  }

  .detail__visual img {
    min-height: 230px;
    height: 250px;
  }

  .detail__content {
    padding: 30px 26px 28px;
  }

  .detail__close {
    position: fixed;
    top: max(20px, env(safe-area-inset-top));
    right: max(20px, env(safe-area-inset-right));
    background: var(--ink);
    color: var(--paper-hi);
  }
}

@media (max-width: 620px) {
  .shell {
    width: calc(100% - 32px);
    padding-bottom: 40px;
  }

  .masthead {
    align-items: center;
    padding: 18px 0 14px;
  }

  .brand__seal {
    width: 36px;
    height: 36px;
  }

  .brand__name {
    font-size: 13px;
  }

  .brand__sub {
    font-size: 12px;
  }

  .edition {
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .edition span:first-child {
    display: none;
  }

  .hero {
    padding: 26px 0 12px;
  }

  .eyebrow {
    font-size: 9px;
  }

  .hero h1 {
    margin: 15px 0 17px;
    font-size: clamp(42px, 12.2vw, 56px);
    line-height: 0.92;
  }

  .hero__lede {
    font-size: 16px;
    line-height: 1.5;
  }

  .drawer {
    margin-top: 26px;
  }

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

  .field {
    padding: 12px 16px 13px;
    border-right: 0;
    border-bottom: 1px dashed rgba(33, 31, 25, 0.25);
  }

  .field--search {
    border-bottom-style: dashed;
  }

  .searchbox input {
    font-size: 18px;
  }

  .selectbox select {
    font-size: 16px;
  }

  .shortlist-toggle {
    min-height: 48px;
    border-top: 0;
    font-size: 10px;
  }

  .drawer-rail {
    gap: 12px;
    padding: 15px 0 14px;
  }

  .status {
    font-size: 8.5px;
    letter-spacing: 0.08em;
  }

  .pick {
    font-size: 8.5px;
    letter-spacing: 0.07em;
    white-space: nowrap;
  }

  .pick svg {
    width: 15px;
  }

  .grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .card {
    --tilt: -0.28deg;
  }

  .card:nth-child(3n + 2) {
    --tilt: 0.32deg;
  }

  .card__title {
    font-size: 29px;
  }

  .card__summary {
    font-size: 15px;
  }

  .card__meta {
    font-size: 11px;
  }

  .open-item {
    min-height: 42px;
  }

  .empty {
    margin: 24px auto 46px;
    padding: 38px 22px 34px;
  }

  .empty h3 {
    font-size: 30px;
  }

  .studio-note {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 36px;
    padding: 24px 20px;
  }

  .studio-note__image {
    width: 132px;
  }

  .studio-note__image img {
    height: 96px;
  }

  .studio-note h2 {
    font-size: 28px;
  }

  .footer {
    margin-top: 32px;
  }

  .detail {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    margin: 0;
  }

  .detail__paper {
    min-height: 100dvh;
    max-height: 100dvh;
    border: 0;
  }

  .detail__paper::after {
    display: none;
  }

  .detail__close {
    top: max(14px, env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
    min-height: 44px;
  }

  .detail__visual {
    min-height: 205px;
    max-height: 220px;
  }

  .detail__visual img {
    min-height: 205px;
    height: 205px;
  }

  .detail__stamp {
    top: 18px;
    left: 18px;
  }

  .detail__content {
    padding: 28px 20px calc(30px + env(safe-area-inset-bottom));
  }

  .detail h2 {
    font-size: clamp(38px, 12vw, 50px);
  }

  .detail__body {
    font-size: 17px;
  }

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

  .detail__facts div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .save {
    min-height: 54px;
  }
}

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

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

  .card,
  .card:hover,
  .card:focus-within {
    transform: rotate(var(--tilt));
  }

  .card:hover .card__media img {
    transform: none;
  }
}
