:root {
  --ink: #111111;
  --paper: #f7f5ef;
  --blue: #2453ff;
  --blue-dark: #1736a7;
  --coral: #ff5c45;
  --lemon: #dfff43;
  --line: #161616;
  --muted: #686862;
  --sans: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: white;
  background: var(--ink);
  transform: translateY(-160%);
}

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

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

.site-header {
  height: 76px;
  display: grid;
  grid-template-columns: 190px 1fr auto auto;
  align-items: center;
  border-bottom: 1.5px solid var(--line);
  background: var(--paper);
}

.brand {
  align-self: stretch;
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  padding: 0 18px;
  color: white;
  background: var(--blue);
  font-size: 25px;
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.09em;
  text-decoration: none;
}

.brand span:last-child { transform: translateY(9px); }
.brand span:first-child { transform: translateY(-8px); }

.header-note {
  margin: 0 0 0 28px;
  color: #4b4b47;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.header-date {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 100%;
  padding: 0 28px;
  border-left: 1.5px solid var(--line);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.header-date strong {
  font-size: 14px;
  font-weight: 900;
}

.header-shortlist {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 100%;
  padding: 0 26px;
  border-left: 1.5px solid var(--line);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-shortlist span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1.5px solid;
  border-radius: 50%;
}

.intro {
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(60px, .55fr) minmax(540px, 2.3fr) minmax(260px, 1fr);
  border-bottom: 1.5px solid var(--line);
}

.intro-index {
  padding: 28px 0 0 28px;
  border-right: 1.5px solid var(--line);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.intro-copy {
  align-self: center;
  padding: 42px 5vw;
}

.kicker, .section-number {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.intro h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(52px, 5.8vw, 86px);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.07em;
  text-transform: uppercase;
}

.intro h1 span {
  color: var(--blue);
  -webkit-text-stroke: 1px var(--blue);
}

.intro-aside {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 38px;
  color: white;
  background: var(--coral);
}

.intro-aside p {
  max-width: 285px;
  margin: 0 0 46px;
  font-size: 19px;
  line-height: 1.35;
}

.intro-aside a {
  display: flex;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1.5px solid currentColor;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.marquee {
  overflow: hidden;
  padding: 10px 0 8px;
  color: var(--paper);
  background: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  white-space: nowrap;
}

.marquee div { width: max-content; }

.catalogue {
  max-width: 1360px;
  margin: 0 auto;
  padding: 76px 36px 100px;
}

.catalogue-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.catalogue-heading h2 {
  margin: 0;
  font-size: clamp(42px, 4.2vw, 62px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.catalogue-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: right;
  text-transform: uppercase;
}

.controls {
  display: grid;
  grid-template-columns: minmax(340px, 1.45fr) minmax(240px, .8fr) minmax(190px, .55fr);
  border: 1.5px solid var(--line);
  background: white;
}

.search-field, .select-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 14px 18px 12px;
  border-right: 1.5px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.search-line, .select-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-line svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.search-field input, .select-field select {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-transform: none;
}

.search-field input::placeholder { color: #a4a49e; }
.select-field select { appearance: none; cursor: pointer; }
.select-wrap span { color: var(--ink); font-size: 20px; }

.saved-filter {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  padding: 12px 18px;
  color: var(--ink);
  background: white;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .07em;
  cursor: pointer;
  text-align: left;
  text-transform: uppercase;
}

.saved-filter:hover, .saved-filter[aria-pressed="true"] { background: var(--lemon); }
.bookmark-icon svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.saved-filter[aria-pressed="true"] .bookmark-icon svg { fill: var(--ink); }
.saved-count { margin-left: auto; }

.results-bar {
  display: grid;
  grid-template-columns: 1fr 50%;
  align-items: end;
  min-height: 70px;
  border-bottom: 1.5px solid var(--line);
}

.results-bar > p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.results-label {
  display: grid;
  grid-template-columns: 1fr 85px 44px;
  gap: 20px;
}

.workshop {
  position: relative;
  border-bottom: 1.5px solid var(--line);
}

.open-item {
  width: 100%;
  display: grid;
  grid-template-columns: 42px 178px minmax(240px, 1fr) minmax(200px, .65fr) 85px 44px;
  gap: 20px;
  align-items: center;
  padding: 18px 2px;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.open-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: white;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 180ms ease;
}

.open-item:hover::before { transform: scaleY(1); }

.item-number {
  align-self: start;
  padding-top: 5px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.item-image {
  width: 178px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(.88) contrast(1.03);
}

.item-main { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.item-category { margin: 0 0 8px; color: var(--coral); font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.item-title { margin: 0 0 8px; font-size: 29px; font-weight: 900; line-height: .95; letter-spacing: -.04em; text-transform: uppercase; }
.item-description { max-width: 430px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.35; }

.item-date { font-size: 14px; font-weight: 900; line-height: 1.25; text-transform: uppercase; }
.item-date span { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: none; }
.item-price { font-size: 14px; font-weight: 900; }
.item-arrow { font-size: 24px; transition: transform 180ms ease; }
.open-item:hover .item-arrow { transform: translateX(5px); }

.empty-state {
  padding: 70px 20px;
  border-bottom: 1.5px solid var(--line);
  text-align: center;
}

.empty-state[hidden] { display: none; }
.empty-state > span { color: var(--coral); font-size: 64px; font-weight: 300; line-height: 1; }
.empty-state h3 { margin: 10px 0; font-size: 35px; letter-spacing: -.04em; text-transform: uppercase; }
.empty-state p { margin: 0 0 22px; color: var(--muted); }
.empty-state button { padding: 12px 18px; border: 1.5px solid var(--ink); color: white; background: var(--ink); font-size: 12px; font-weight: 900; letter-spacing: .08em; cursor: pointer; text-transform: uppercase; }

.site-footer {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  min-height: 190px;
  color: white;
  background: var(--blue);
}

.footer-brand { border-right: 1px solid rgba(255,255,255,.4); background: transparent; }
.site-footer > p { margin: 0; padding: 42px; font-size: 34px; font-weight: 900; line-height: .95; letter-spacing: -.04em; text-transform: uppercase; }
.site-footer .footer-meta { align-self: end; padding: 0 42px 42px; font-size: 11px; line-height: 1.4; letter-spacing: .1em; text-align: right; }

.detail-dialog {
  width: min(710px, 100vw);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: var(--paper);
  box-shadow: -18px 0 50px rgba(0, 0, 0, .18);
}

.detail-dialog::backdrop { background: rgba(12, 12, 12, .62); }

.detail-shell {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.detail-topbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  border-bottom: 1.5px solid var(--line);
}

.detail-topbar p { margin: 0; color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.close-detail { width: 40px; height: 40px; border: 1.5px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; font-size: 24px; line-height: 1; cursor: pointer; }
.close-detail:hover { color: white; background: var(--ink); }

.detail-image-wrap { position: relative; }
.detail-image { width: 100%; height: min(39vh, 365px); object-fit: cover; }
.detail-stamp { position: absolute; right: 22px; bottom: -34px; width: 78px; height: 78px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--lemon); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-align: center; text-transform: uppercase; transform: rotate(8deg); }

.detail-content { padding: 40px 42px 48px; }
.detail-category { margin: 0 0 14px; color: var(--coral); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.detail-content h2 { max-width: 580px; margin: 0 0 22px; font-size: clamp(48px, 6vw, 72px); font-weight: 900; line-height: .86; letter-spacing: -.065em; text-transform: uppercase; }
.detail-body { max-width: 550px; margin: 0 0 36px; font-size: 20px; line-height: 1.42; }

.detail-facts {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  margin: 0 0 28px;
  border-top: 1.5px solid var(--line);
  border-bottom: 1.5px solid var(--line);
}

.detail-facts div { padding: 16px 16px 16px 0; }
.detail-facts div + div { padding-left: 16px; border-left: 1.5px solid var(--line); }
.detail-facts dt { margin-bottom: 7px; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.detail-facts dd { margin: 0; font-size: 14px; font-weight: 900; line-height: 1.3; }
.detail-host { display: flex; justify-content: space-between; margin: 0 0 28px; padding-bottom: 26px; border-bottom: 1.5px solid var(--line); }
.detail-host p { margin: 0; }
.detail-host p:first-child { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.detail-host p:last-child { font-size: 15px; font-weight: 900; }

.detail-actions { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.save-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 20px;
  border: 1.5px solid var(--ink);
  color: white;
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .09em;
  cursor: pointer;
  text-transform: uppercase;
}
.save-item:hover { background: var(--blue-dark); }
.save-item[aria-pressed="true"] { color: var(--ink); background: var(--lemon); }
.save-item svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.save-item[aria-pressed="true"] svg { fill: currentColor; }
.detail-price { min-width: 105px; display: grid; place-items: center; border: 1.5px solid var(--ink); font-size: 22px; font-weight: 900; }

body:has(dialog[open]) { overflow: hidden; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 150px 1fr auto; }
  .header-date { display: none; }
  .intro { grid-template-columns: 46px 1fr; }
  .intro-index { padding-left: 14px; }
  .intro-aside { grid-column: 2; padding: 28px; }
  .intro-aside p { margin-bottom: 28px; }
  .controls { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; border-right: 0; border-bottom: 1.5px solid var(--line); }
  .select-field { border-bottom: 0; }
  .open-item { grid-template-columns: 30px 140px minmax(220px, 1fr) 155px 65px 30px; gap: 14px; }
  .item-image { width: 140px; }
}

@media (max-width: 680px) {
  .site-header { height: 62px; grid-template-columns: 100px 1fr auto; }
  .brand { padding: 0 12px; font-size: 20px; }
  .header-note { display: none; }
  .header-shortlist { grid-column: 3; padding: 0 14px; font-size: 10px; }
  .header-shortlist span { width: 25px; height: 25px; }

  .intro { min-height: auto; grid-template-columns: 35px 1fr; }
  .intro-index { padding: 18px 0 0 8px; font-size: 8px; }
  .intro-copy { min-height: 285px; display: flex; flex-direction: column; justify-content: center; padding: 34px 18px; }
  .kicker { margin-bottom: 16px; font-size: 9px; }
  .intro h1 { font-size: clamp(43px, 13vw, 56px); line-height: .9; }
  .intro-aside { padding: 24px 20px; }
  .intro-aside p { margin-bottom: 24px; font-size: 16px; }
  .marquee { font-size: 9px; }

  .catalogue { padding: 54px 16px 72px; }
  .catalogue-heading { align-items: flex-start; margin-bottom: 26px; }
  .catalogue-heading h2 { font-size: 40px; }
  .catalogue-heading > p { display: none; }
  .section-number { margin-bottom: 12px; }

  .controls { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; min-height: 67px; border-right: 0; border-bottom: 1.5px solid var(--line); }
  .select-field { min-height: 58px; padding-right: 12px; border-right: 1.5px solid var(--line); border-bottom: 0; }
  .select-field select { font-size: 15px; }
  .saved-filter { min-height: 58px; padding: 10px 12px; }
  .results-bar { min-height: 58px; display: flex; }
  .results-label { display: none; }

  .open-item {
    grid-template-columns: 28px minmax(0, 1fr) 25px;
    gap: 10px;
    padding: 16px 0 18px;
  }
  .item-number { grid-row: 1; grid-column: 1; }
  .item-image { grid-row: 1; grid-column: 2 / 4; width: 100%; aspect-ratio: 1.65 / 1; }
  .item-main { grid-row: 2; grid-column: 2 / 4; padding-top: 5px; }
  .item-title { font-size: 27px; }
  .item-description { font-size: 12px; }
  .item-date { grid-row: 3; grid-column: 2; padding-top: 5px; border-top: 1px solid #aaa; font-size: 12px; }
  .item-price { grid-row: 3; grid-column: 3; align-self: start; padding-top: 5px; border-top: 1px solid #aaa; font-size: 12px; }
  .item-arrow { display: none; }

  .site-footer { min-height: 140px; grid-template-columns: 100px 1fr; }
  .site-footer > p { padding: 28px 20px; font-size: 22px; }
  .site-footer .footer-meta { display: none; }

  .detail-dialog { width: 100vw; }
  .detail-topbar { min-height: 58px; padding: 0 16px; }
  .detail-image { height: 250px; }
  .detail-stamp { right: 16px; width: 65px; height: 65px; }
  .detail-content { padding: 36px 18px 32px; }
  .detail-content h2 { font-size: 48px; }
  .detail-body { margin-bottom: 28px; font-size: 17px; }
  .detail-facts { grid-template-columns: 1fr 1fr; }
  .detail-facts div:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-top: 1.5px solid var(--line); border-left: 0; }
  .detail-actions { grid-template-columns: 1fr 82px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
