:root {
  --ground: #d9d6cf;
  --ink: #161616;
  --muted: #45443f;
  --rule: #9e9a91;
  --field: #e6e3dd;
  --accent: #8c2f14;
  --burgundy: #452a2e;
  --cobalt: #1b2a56;
  --green: #27663a;
  --red: #b3261e;
  --pad: clamp(16px, 4vw, 48px);
  --display: "Archivo", "Arial Narrow", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.55 var(--body);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--ground); padding: 8px 12px; z-index: 10; }

.mono { font-family: var(--mono); font-size: 13px; }
.muted { color: var(--muted); }
.tap { display: inline-flex; align-items: center; min-height: 44px; }

/* header */
.site-header {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 8px 24px; padding: 8px var(--pad); border-bottom: 2px solid var(--ink);
}
.logo { align-items: baseline; color: var(--cobalt); font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; text-decoration: none; }
.site-nav { display: flex; gap: 28px; font-family: var(--mono); font-size: 14px; }
.site-nav a { text-decoration: none; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

/* type */
.giant {
  margin: 0; font-family: var(--display); font-stretch: 75%; font-weight: 900;
  font-size: clamp(64px, 10vw, 150px); line-height: 0.85; letter-spacing: -0.03em;
}
.giant--home { font-size: clamp(64px, 13vw, 210px); line-height: 0.8; margin: 0; color: var(--cobalt); }

/* buttons */
.btn {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 56px; padding: 0 20px; border: 0; background: var(--ink); color: var(--ground);
  font-family: var(--mono); font-size: 15px; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--accent); color: var(--ground); }
.btn--inline { display: inline-flex; }

/* home */
.hero { background: var(--ink); padding: clamp(24px, 5vw, 72px) var(--pad) 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero img { max-height: 78vh; width: auto; }
.hero a { color: var(--ground); text-decoration: none; }
.intro {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 32px; padding: 24px var(--pad) 0; border-bottom: 2px solid var(--ink);
}
.intro__side { display: flex; flex-direction: column; gap: 24px; max-width: 360px; padding: 48px 0; }
.intro__side p { margin: 0; font-size: 19px; line-height: 1.45; }
.band { background: var(--burgundy); color: var(--ground); padding: 40px var(--pad); }
.band p { margin: 0; max-width: 900px; font-family: var(--display); font-stretch: 85%; font-weight: 700; font-size: clamp(30px, 4vw, 52px); line-height: 1.1; letter-spacing: -0.01em; }
.band a { color: var(--ground); font-family: var(--mono); font-size: 15px; }

/* sections */
.section { padding: 48px var(--pad) 80px; }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.page-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px; padding: 56px var(--pad) 24px; border-bottom: 2px solid var(--ink);
}

/* grid of works */
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 56px 32px; align-items: end; margin: 0; padding: 0; list-style: none;
}
.tile { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.tile img { width: 100%; background: #2b2a27; }
.tile__meta { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--ink); padding-top: 10px; font-size: 15px; line-height: 1.4; }
.tile__meta strong { font-weight: 600; display: block; }
.tile__price { font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.tile__price--sold { color: var(--red); }
[hidden] { display: none !important; }

/* filters */
.filters { display: flex; flex-direction: column; gap: 12px; font-family: var(--mono); font-size: 14px; }
.filters div { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ground); }

/* painting */
.work { display: flex; flex-wrap: wrap; gap: 48px; padding: 8px var(--pad) 80px; border-bottom: 2px solid var(--ink); }
.work__image { flex: 3 1 520px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.work__image img { max-height: 86vh; width: auto; }
.work__image a.enlarge { align-self: flex-start; }
.work__info { flex: 2 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.work__title { margin: 0; font-family: var(--display); font-stretch: 80%; font-weight: 900; font-size: clamp(44px, 5vw, 72px); line-height: 0.95; letter-spacing: -0.02em; }
.specs { margin: 0; display: grid; grid-template-columns: 110px minmax(0, 1fr); border-top: 1.5px solid var(--ink); font-size: 16px; }
.specs dt, .specs dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.specs dt { font-family: var(--mono); font-size: 13px; padding-top: 14px; }
.status { display: flex; align-items: center; gap: 10px; }
.status::before { content: ""; width: 10px; height: 10px; background: var(--green); }
.status--sold::before { background: var(--red); }
.price { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -0.01em; }
.buy { display: flex; flex-direction: column; gap: 16px; }
.buy p, .work__info > p { margin: 0; }
.buy .btn { min-height: 60px; font-size: 16px; }

/* about */
.split { display: flex; flex-wrap: wrap; gap: 48px; padding: 56px var(--pad) 80px; border-bottom: 2px solid var(--ink); }
.split__aside { flex: 2 1 380px; min-width: 0; }
.split__main { flex: 3 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.prose { display: flex; flex-direction: column; gap: 18px; max-width: 620px; font-size: 19px; }
.prose p { margin: 0; }
figure { margin: 0; }
figcaption { margin-top: 10px; }

/* contact */
.form { display: flex; flex-direction: column; gap: 22px; max-width: 640px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--mono); font-size: 13px; }
.field input, .field textarea {
  min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--ink); border-radius: 0;
  background: var(--field); color: var(--ink); font: inherit; width: 100%;
}
.field textarea { resize: vertical; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--ink); }
.facts { flex: 2 1 300px; min-width: 0; align-self: flex-start; border-top: 1.5px solid var(--ink); font-size: 16px; margin: 0; }
.facts div { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.facts dd { margin: 0; }

/* footer */
.site-footer {
  background: var(--burgundy); color: var(--ground);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 24px;
  padding: 32px var(--pad); font-family: var(--mono); font-size: 13px;
}
.site-footer .logo { font-size: 16px; color: var(--ground); }
.site-footer a { color: var(--ground); }
.site-footer .muted { color: #b9b3aa; }
.site-footer .dot { background: var(--ground); }

/* round full stop */
.dot { display: inline-block; width: 0.22em; height: 0.22em; margin-left: 0.06em; border-radius: 50%; background: currentColor; vertical-align: baseline; overflow: hidden; text-indent: -9em; line-height: 0; }

.sold-dark { color: #f0705c; }
