@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --ink: #101012;
  --panel: #17171a;
  --panel-soft: #1c1c20;
  --paper: #f0f0eb;
  --muted: #87878b;
  --line: rgba(238, 238, 234, 0.15);
  --line-bright: rgba(238, 238, 234, 0.31);
  --signal: #c9142f;
  --signal-deep: #74121f;
  --mono: 'DM Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --display: 'Space Grotesk', 'Arial Narrow', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse at 49% 46%, rgba(95, 13, 29, 0.13), transparent 38%),
    radial-gradient(ellipse at 4% 0%, rgba(255,255,255,0.04), transparent 27%),
    var(--ink);
  color: var(--paper);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
}
body::after {
  content: '';
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.17;
  background: repeating-linear-gradient(90deg, transparent 0 57px, rgba(255,255,255,0.035) 58px, transparent 59px);
}
button, input { font: inherit; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
.is-hidden { display: none !important; }
.site-shell { width: min(100%, 1920px); margin: 0 auto; padding: 0 clamp(18px, 3.4vw, 64px); }

.masthead {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  text-transform: uppercase;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: 0 0 auto; }
.brand-mark { width: 36px; height: 36px; color: var(--paper); }
.brand-wordmark { display: flex; flex-direction: column; gap: 3px; font-size: 13px; letter-spacing: 0.2em; font-weight: 500; white-space: nowrap; }
.brand-wordmark small { color: var(--muted); font-size: 9px; letter-spacing: 0.16em; }
.masthead-coordinate { margin: 0 auto 0 0; color: #b1b1b3; font-size: 10px; letter-spacing: 0.17em; white-space: nowrap; }
.masthead-divider { color: var(--signal); padding: 0 7px; }
.status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--signal); vertical-align: 1px; box-shadow: 0 0 12px rgba(201,20,47,0.65); }
.masthead-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 38px); font-size: 10px; letter-spacing: 0.11em; }
.nav-link, .nav-contact { text-decoration: none; transition: color 180ms ease; }
.nav-link { color: #c4c4c6; }
.nav-link:hover, .nav-contact:hover { color: var(--signal); }
.nav-link span { color: var(--muted); }
.nav-contact { border: 1px solid var(--line-bright); padding: 11px 14px; color: var(--paper); }
.nav-contact span { color: var(--signal); }

.home-view {
  min-height: min(830px, calc(100vh - 120px));
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(485px, 1.52fr) minmax(142px, 0.38fr);
  align-items: center;
  gap: clamp(16px, 2.4vw, 42px);
  padding: 42px 0 36px;
}
.home-copy { align-self: center; padding-bottom: 24px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 23px; color: #bdbdbf; font: 10px/1.4 var(--mono); letter-spacing: 0.17em; }
.folio-number { color: var(--signal); }
.home-copy h1, .items-heading h1, .category-layout h1 {
  margin: 0;
  font-size: clamp(3.4rem, 5.1vw, 6.4rem);
  font-weight: 700;
  letter-spacing: -0.095em;
  line-height: 0.83;
  text-transform: uppercase;
}
.home-copy h1 span, .items-heading h1 span { color: #88888c; }
.home-description { max-width: 340px; margin: 27px 0 0; color: #b3b3b6; font-size: 15px; line-height: 1.6; }
.home-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; margin-top: 25px; }
.text-button, .quiet-link { color: var(--paper); font: 10px var(--mono); letter-spacing: 0.13em; text-transform: uppercase; }
.text-button { cursor: pointer; border: 0; border-bottom: 1px solid var(--signal); background: transparent; padding: 0 0 8px; }
.text-button span { margin-left: 10px; color: var(--signal); }
.quiet-link { color: var(--muted); text-decoration: none; transition: color 180ms ease; }
.quiet-link:hover { color: var(--paper); }
.quiet-link span { padding-left: 8px; color: var(--signal); }
.home-rule { width: 72px; border-top: 1px solid var(--line-bright); margin: 36px 0 18px; }
.home-note { display: flex; gap: 14px; max-width: 275px; color: #a4a4a7; }
.note-index { flex: 0 0 auto; color: var(--signal); font: 9px var(--mono); letter-spacing: 0.08em; }
.home-note p { margin: -2px 0 0; font-size: 11px; line-height: 1.55; }

.wheel-stage { min-width: 0; display: flex; align-items: center; flex-direction: column; }
.wheel-heading, .wheel-caption, .wheel-controls { width: min(100%, 640px); font-family: var(--mono); }
.wheel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; color: #d3d3d4; font-size: 9px; letter-spacing: 0.14em; }
.wheel-heading .status-dot { width: 5px; height: 5px; margin-right: 5px; }
.wheel-instruction { color: var(--muted); text-align: right; font-size: 8px; }
.wheel-shell { position: relative; width: min(100%, 640px); aspect-ratio: 1; touch-action: none; user-select: none; }
.wheel-shell::before { content: ''; position: absolute; z-index: 4; left: 50%; top: 0.5%; width: 1px; height: 5.4%; background: linear-gradient(var(--paper), rgba(240,240,235,0.12)); pointer-events: none; }
.wheel-shell::after { content: ''; position: absolute; z-index: 5; left: 50%; top: 4.1%; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 10px solid var(--paper); transform: translateX(-50%); filter: drop-shadow(0 0 7px rgba(255,255,255,0.45)); pointer-events: none; }
.wheel-rotor { position: absolute; inset: 0; transition: transform 280ms cubic-bezier(.2,.75,.2,1); transform-origin: center; }
.wheel-shell.is-dragging .wheel-rotor { transition: none; }
.wheel-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wheel-ring { fill: none; pointer-events: none; }
.wheel-ring-outer { stroke: rgba(236,236,232,0.18); stroke-width: 1.4; }
.wheel-ring-mid { stroke: rgba(236,236,232,0.14); stroke-width: 1; }
.wheel-ring-inner { stroke: rgba(236,236,232,0.18); stroke-width: 1; }
.wheel-segment { fill: url(#wheel-surface); stroke: rgba(233,233,228,0.17); stroke-width: 1.15; transition: fill 200ms ease, stroke 200ms ease; }
.wheel-segment:nth-child(even) { fill: rgba(255,255,255,0.018); }
.wheel-segment.is-active { fill: var(--signal-deep); stroke: var(--signal); stroke-width: 2; filter: url(#soft-glow); }
.wheel-tick { stroke: rgba(239,239,235,0.16); stroke-width: 1; }
.wheel-tick-major { stroke: rgba(239,239,235,0.45); stroke-width: 1.2; }
.wheel-choices { position: absolute; inset: 0; }
.wheel-choice { position: absolute; z-index: 2; display: flex; width: clamp(88px, 8.5vw, 124px); min-height: 53px; flex-direction: column; justify-content: center; align-items: center; gap: 4px; padding: 5px 7px; border: 0; color: #b7b7ba; background: transparent; cursor: pointer; transform: translate(-50%, -50%); text-align: center; transition: color 180ms ease, scale 180ms ease; }
.wheel-choice:hover, .wheel-choice.is-active { color: var(--paper); scale: 1.06; }
.choice-index { color: #8d8d91; font: 8px var(--mono); letter-spacing: 0.18em; }
.wheel-choice.is-active .choice-index { color: #ffa7b5; }
.choice-label { font: 10px/1.2 var(--mono); letter-spacing: 0.09em; text-transform: uppercase; text-wrap: balance; }
.wheel-choice[data-index="5"] .choice-label { max-width: 98px; }
.wheel-hub { position: absolute; z-index: 3; left: 50%; top: 50%; display: flex; width: clamp(100px, 11.2vw, 142px); aspect-ratio: 1; flex-direction: column; justify-content: center; align-items: center; gap: 8px; border: 1px solid rgba(20,20,22,0.95); border-radius: 50%; background: radial-gradient(circle at 38% 30%, #fafaf4, #c6c6c0 65%, #85858a); color: #18181a; cursor: pointer; transform: translate(-50%, -50%); box-shadow: 0 0 0 8px rgba(12,12,14,0.62), 0 0 0 9px rgba(237,237,230,0.18), 0 0 32px rgba(240,240,235,0.14); transition: box-shadow 180ms ease, transform 180ms ease; }
.wheel-hub:hover { transform: translate(-50%, -50%) scale(1.04); box-shadow: 0 0 0 8px rgba(12,12,14,0.62), 0 0 0 10px rgba(201,20,47,0.54), 0 0 38px rgba(201,20,47,0.2); }
.hub-index { font: 8px var(--mono); letter-spacing: 0.15em; color: #545459; }
.hub-action { font: 12px var(--mono); letter-spacing: 0.3em; padding-left: 0.3em; }
.hub-subtitle { max-width: 96px; color: #626267; font: 7px/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; text-align: center; }
.wheel-controls { display: flex; justify-content: space-between; align-items: center; margin-top: -4px; color: #9e9ea2; font: 8px var(--mono); letter-spacing: 0.12em; }
.arrow-control { width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 50%; color: var(--paper); background: #19191c; font: 15px var(--mono); cursor: pointer; transition: border-color 180ms ease, background 180ms ease; }
.arrow-control:hover { border-color: var(--signal); background: #271418; }
.control-key { color: #ececea; }
.wheel-caption { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 9px; border-top: 1px solid var(--line); color: #747478; font: 8px var(--mono); letter-spacing: 0.14em; }
.home-rail { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-start; gap: 26px; padding: 100px 0 38px 16px; border-left: 1px solid var(--line); font-family: var(--mono); }
.rail-block { display: flex; flex-direction: column; gap: 10px; }
.rail-label { color: #77777c; font: 8px var(--mono); letter-spacing: 0.15em; }
.rail-value { color: #d6d6d3; font: 9px/1.5 var(--mono); letter-spacing: 0.08em; }
.rail-value .status-dot { width: 5px; height: 5px; }
.rail-selected { color: var(--signal); font: 12px var(--mono); letter-spacing: 0.12em; }
.rail-bottom { margin-top: auto; }

.subpage-kicker { display: flex; justify-content: space-between; align-items: center; padding: 28px 0 37px; border-bottom: 1px solid var(--line); color: #818186; font: 9px var(--mono); letter-spacing: 0.13em; }
.subpage-kicker a { color: var(--paper); text-decoration: none; transition: color 160ms ease; }
.subpage-kicker a:hover { color: var(--signal); }
.items-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 49px 0 42px; }
.items-heading .eyebrow { margin-bottom: 21px; }
.items-heading h1 { font-size: clamp(4rem, 8vw, 8rem); }
.items-intro { max-width: 490px; margin: 21px 0 0; color: #b3b3b6; font-size: 15px; line-height: 1.55; }
.contact-stamp { position: relative; display: flex; width: 132px; height: 132px; flex: 0 0 132px; justify-content: center; align-items: center; border: 1px solid var(--line-bright); border-radius: 50%; color: var(--paper); text-decoration: none; font: 9px/1.65 var(--mono); letter-spacing: 0.15em; text-align: center; transition: border-color 200ms ease, color 200ms ease, transform 200ms ease; }
.contact-stamp:hover { border-color: var(--signal); color: #ffcad1; transform: rotate(-7deg); }
.stamp-ring { display: block; }
.stamp-arrow { position: absolute; right: 12px; bottom: 13px; color: var(--signal); font-size: 19px; }
.listing-tools { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line-bright); border-bottom: 1px solid var(--line); }
.search-box { width: min(100%, 330px); display: flex; align-items: center; gap: 10px; color: var(--signal); }
.search-box > span { font-size: 19px; }
.search-box input { width: 100%; padding: 8px 2px; border: 0; outline: 0; color: var(--paper); background: transparent; font: 11px var(--mono); }
.search-box input::placeholder { color: #77777c; }
.search-box input:focus-visible { outline: none; border-bottom: 1px solid var(--signal); }
.listing-count { color: #99999e; font: 8px var(--mono); letter-spacing: 0.13em; white-space: nowrap; }
.listing-count i { margin: 0 5px; color: var(--signal); font-style: normal; }
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; padding: 22px 0 46px; }
.listing-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,0.035), rgba(255,255,255,0.008)); color: var(--paper); text-decoration: none; transition: border-color 180ms ease, transform 180ms ease, background 180ms ease; }
.listing-card:hover, .listing-card:focus-visible { border-color: rgba(201,20,47,0.82); background: linear-gradient(145deg, rgba(201,20,47,0.12), rgba(255,255,255,0.012)); transform: translateY(-3px); }
.listing-art { position: relative; display: grid; aspect-ratio: 1.6; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 45%, #29292e, #17171a 65%, #121214); }
.listing-art::after { position: absolute; inset: 0; content: ''; background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent 48%, rgba(201,20,47,0.11)); pointer-events: none; }
.listing-art img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform 240ms ease, filter 240ms ease; }
.listing-card:hover .listing-art img, .listing-card:focus-visible .listing-art img { transform: scale(1.045); filter: saturate(1.12); }
.listing-art.image-unavailable::before { content: 'P / ITEM'; color: rgba(240,240,235,0.24); font: 14px var(--mono); letter-spacing: 0.25em; }
.listing-number { position: absolute; z-index: 1; top: 10px; left: 10px; color: rgba(240,240,235,0.68); font: 8px var(--mono); letter-spacing: 0.1em; }
.listing-info { display: flex; min-height: 83px; align-items: flex-end; justify-content: space-between; gap: 13px; padding: 13px 14px 12px; border-top: 1px solid var(--line); }
.listing-title { align-self: flex-start; margin: 0; color: #e4e4e1; font: 12px/1.45 var(--display); font-weight: 500; }
.listing-contact { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; color: #f0d8db; font: 8px var(--mono); letter-spacing: 0.06em; opacity: 0; transform: translateY(4px); transition: opacity 180ms ease, transform 180ms ease; }
.listing-contact span { color: var(--signal); font-size: 12px; }
.listing-card:hover .listing-contact, .listing-card:focus-visible .listing-contact { opacity: 1; transform: translateY(0); }
.empty-state { padding: 45px 0; color: #b0b0b4; font: 12px var(--mono); }
.empty-state button { margin-left: 10px; border: 0; border-bottom: 1px solid var(--signal); color: var(--paper); background: transparent; cursor: pointer; }
.listing-error { grid-column: 1 / -1; padding: 24px; border: 1px solid var(--line); color: #d0d0ce; font: 12px/1.7 var(--mono); }
.listing-error a { color: #ffbac5; }
.items-endnote { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 19px 0 47px; border-top: 1px solid var(--line-bright); color: #77777c; font: 8px var(--mono); letter-spacing: 0.13em; }
.items-endnote a { color: #e4e4e1; text-decoration: none; }
.items-endnote a span { color: var(--signal); }
.items-endnote a:hover { color: #ffb6c2; }

.category-view { min-height: min(720px, calc(100vh - 160px)); }
.category-layout { display: grid; min-height: 410px; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 8vw; padding: 36px 5vw 48px; }
.category-layout h1 { max-width: 750px; font-size: clamp(4.5rem, 11vw, 11rem); overflow-wrap: anywhere; }
.category-description { max-width: 490px; margin: 28px 0 0; color: #b0b0b4; font-size: 16px; line-height: 1.65; }
.category-contact-card { max-width: 360px; margin-left: auto; padding: 26px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,0.04), transparent); }
.category-contact-card p { margin: 22px 0 25px; color: #d0d0cf; font-size: 15px; line-height: 1.55; }
.contact-cta { display: inline-flex; align-items: center; gap: 14px; padding: 13px 16px; border: 1px solid var(--line-bright); color: var(--paper); font: 10px var(--mono); text-decoration: none; text-transform: uppercase; transition: border-color 180ms ease, background 180ms ease; }
.contact-cta span { color: var(--signal); }
.contact-cta:hover { border-color: var(--signal); background: rgba(201,20,47,0.1); }
.category-bottom { display: flex; justify-content: space-between; padding: 18px 0 45px; border-top: 1px solid var(--line); color: #77777c; font: 8px var(--mono); letter-spacing: 0.13em; }
.category-bottom a { color: #dededc; text-decoration: none; }
.category-bottom a span { color: var(--signal); }

.site-footer { min-height: 63px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); color: #76767b; font: 8px var(--mono); letter-spacing: 0.1em; }
.site-footer a { text-decoration: none; transition: color 180ms ease; }
.site-footer a:hover { color: var(--paper); }
.footer-brand { color: var(--paper); font-size: 10px; letter-spacing: 0.18em; }
.footer-brand span { color: var(--signal); }
.site-footer b { color: var(--signal); font-weight: 400; }

@media (max-width: 1100px) {
  .home-view { grid-template-columns: minmax(220px, 0.7fr) minmax(420px, 1.3fr); }
  .home-rail { display: none; }
  .home-copy h1 { font-size: clamp(3.3rem, 6.5vw, 5.8rem); }
  .wheel-shell { width: min(100%, 580px); }
}

@media (max-width: 760px) {
  .site-shell { padding: 0 18px; }
  .masthead { min-height: 69px; gap: 12px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-wordmark { font-size: 11px; }
  .masthead-coordinate { display: none; }
  .masthead-nav { gap: 12px; margin-left: auto; font-size: 9px; }
  .nav-contact { padding: 10px 9px; }
  .home-view { min-height: auto; grid-template-columns: 1fr; gap: 27px; padding: 37px 0 42px; }
  .home-copy { padding-bottom: 0; }
  .home-copy .eyebrow { margin-bottom: 17px; }
  .home-copy h1 { font-size: clamp(3.7rem, 14vw, 6rem); }
  .home-description { max-width: 440px; margin-top: 18px; font-size: 14px; }
  .home-actions { flex-direction: row; align-items: center; gap: 22px; margin-top: 18px; }
  .home-rule, .home-note { display: none; }
  .wheel-stage { width: 100%; }
  .wheel-heading, .wheel-caption, .wheel-controls { width: 100%; }
  .wheel-heading { margin-bottom: 10px; font-size: 8px; }
  .wheel-instruction { font-size: 7px; }
  .wheel-shell { width: min(100%, 560px); }
  .wheel-choice { width: clamp(79px, 22vw, 110px); min-height: 43px; padding: 4px 4px; }
  .choice-label { font-size: clamp(8px, 2.35vw, 10px); letter-spacing: 0.05em; }
  .choice-index { font-size: 7px; }
  .wheel-choice[data-index="5"] .choice-label { max-width: 76px; }
  .wheel-hub { width: clamp(96px, 27vw, 128px); }
  .wheel-controls { margin-top: -2px; }
  .wheel-caption { margin-top: 9px; }
  .items-heading { align-items: center; padding: 39px 0 30px; }
  .items-heading h1 { font-size: clamp(3.8rem, 15vw, 6.6rem); }
  .contact-stamp { width: 94px; height: 94px; flex-basis: 94px; font-size: 7px; }
  .stamp-arrow { right: 9px; bottom: 8px; font-size: 16px; }
  .items-intro { font-size: 13px; }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding-top: 16px; }
  .listing-info { min-height: 101px; display: block; padding: 10px; }
  .listing-title { min-height: 50px; font-size: 11px; }
  .listing-contact { margin-top: 10px; opacity: 1; transform: none; }
  .listing-art img { padding: 6px; }
  .category-layout { min-height: 0; grid-template-columns: 1fr; gap: 32px; padding: 44px 0; }
  .category-layout h1 { font-size: clamp(4.2rem, 16vw, 7rem); }
  .category-description { margin-top: 21px; font-size: 14px; }
  .category-contact-card { width: 100%; max-width: none; margin: 0; }
  .subpage-kicker { padding: 22px 0 27px; font-size: 8px; }
  .site-footer { flex-wrap: wrap; justify-content: space-between; padding: 15px 0; font-size: 7px; }
  .site-footer > span:nth-child(2) { order: 3; width: 100%; }
}

@media (max-width: 420px) {
  .masthead-nav { gap: 9px; }
  .nav-link { font-size: 8px; }
  .nav-contact { padding: 9px 7px; font-size: 8px; }
  .brand-wordmark { letter-spacing: 0.11em; }
  .listing-tools { align-items: flex-start; flex-direction: column; gap: 7px; }
  .listing-count { align-self: flex-end; }
  .listing-grid { gap: 7px; }
  .listing-info { min-height: 116px; }
  .listing-title { font-size: 10px; }
  .items-heading { gap: 12px; }
  .contact-stamp { width: 76px; height: 76px; flex-basis: 76px; }
}

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