/* artpart.cc — urban loft studio stylesheet, shared by every page */
:root {
  --wall: #161513;          /* charcoal concrete */
  --wall-2: #201e1b;        /* raised surface: forms, panels */
  --brick: #2b2420;         /* painted-over brick */
  --mortar: #1a1715;
  --paper: #eee8dc;         /* print paper */
  --ink: #ece6da;           /* chalky off-white text */
  --muted: #8f897d;
  --body: #c4bdb0;          /* long-form copy */
  --rule: rgba(236, 230, 218, 0.12);
  --rule-strong: rgba(236, 230, 218, 0.28);
  --steel: #34383a;
  --tape: rgba(222, 205, 160, 0.86);   /* masking tape */
  --paint: #ff5b2e;         /* spray-can orange */
  --paint-hot: #ff7a4f;
  --bulb: #f6b75a;          /* edison bulb */
  --accent: var(--paint);
  --display: "Big Shoulders Stencil Display", "Arial Narrow", Impact, sans-serif;
  --sans: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Space Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --marker: "Permanent Marker", "Comic Sans MS", cursive;
  --gutter: clamp(20px, 5vw, 64px);
  /* fine concrete grain */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* running-bond brick, painted dark */
  --bricks: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='64'%3E%3Crect width='128' height='64' fill='%231a1715'/%3E%3Cg fill='%232b2420'%3E%3Crect x='2' y='2' width='60' height='28' rx='1.5'/%3E%3Crect x='66' y='2' width='60' height='28' rx='1.5'/%3E%3Crect x='-30' y='34' width='60' height='28' rx='1.5'/%3E%3Crect x='34' y='34' width='60' height='28' rx='1.5'/%3E%3Crect x='98' y='34' width='60' height='28' rx='1.5'/%3E%3C/g%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; background: var(--wall); }
html, body { margin: 0; padding: 0; }
body {
  background: var(--grain), var(--wall);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
main { flex: 1; }
a { color: inherit; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--paint); }
:focus-visible { outline: 2px dashed var(--paint); outline-offset: 4px; }
::selection { background: var(--paint); color: #111; }
img, video { max-width: 100%; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paint); color: #111; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* type */
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 0.92; margin: 0; letter-spacing: 0.01em; text-transform: uppercase; }
h1 em, h2 em {
  font-family: var(--marker); font-style: normal; font-weight: 400; text-transform: none;
  color: var(--paint); display: inline-block; transform: rotate(-4deg) translateY(-0.04em); letter-spacing: 0;
  text-shadow: 0 0 18px rgba(255, 91, 46, 0.35);
}
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bulb);
  margin: 0 0 18px;
}
.eyebrow::before { content: "// "; color: var(--muted); }
.lede { font-size: 1.04rem; color: var(--body); max-width: 54ch; margin: 0; }

/* header: a steel beam across the top */
.site-header {
  position: relative; z-index: 30;
  background: linear-gradient(180deg, #24272a, #1b1d1f);
  border-bottom: 3px solid #0f1011;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 10px 30px -18px #000;
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 32px; padding-top: 16px; padding-bottom: 16px;
}
.brand {
  font-family: var(--display); font-size: 1.9rem; font-weight: 800; text-transform: uppercase; text-decoration: none; letter-spacing: 0.02em;
}
.brand::first-letter { color: var(--paint); }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.site-nav a {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  color: var(--muted); padding: 4px 0; border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--paint); }

.thanks { background: var(--paint); color: #111; text-align: center; padding: 14px 16px; font-size: 0.95rem; font-weight: 500; }
.thanks[hidden] { display: none; }

/* page intro (archive and text pages) */
.intro { padding: clamp(48px, 9vw, 112px) 0 clamp(36px, 6vw, 72px); }
.intro h1 { font-size: clamp(3rem, 8vw, 6rem); max-width: 16ch; text-wrap: balance; }
.intro .lede { margin-top: 28px; }

/* ---------- hero: brick wall, one bulb, the spiral rack ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 55% 60% at 68% 18%, rgba(246, 183, 90, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(22, 21, 19, 0.35) 0%, rgba(22, 21, 19, 0) 30%, rgba(22, 21, 19, 0.15) 70%, var(--wall) 100%),
    var(--grain), var(--bricks), var(--mortar);
  border-bottom: 1px solid var(--rule);
}
.hero.is-live { height: 300vh; }
.hero-stage {
  position: relative; display: grid; align-items: center;
  padding: clamp(40px, 8vw, 96px) var(--gutter);
  max-width: 1440px; margin: 0 auto;
}
.hero.is-live .hero-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: 0; padding-bottom: 0;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; overflow: hidden;
}
/* a bare bulb on a cord over the rack */
.hero.is-live .hero-stage::before {
  content: ""; position: absolute; top: 0; left: calc(50% + 14vw); width: 2px; height: 9vh;
  background: linear-gradient(#000, #2a2a2a);
}
.hero.is-live .hero-stage::after {
  content: ""; position: absolute; top: calc(9vh - 2px); left: calc(50% + 14vw - 9px); width: 20px; height: 26px;
  border-radius: 45% 45% 50% 50% / 40% 40% 60% 60%;
  background: radial-gradient(circle at 50% 60%, #fff6dc, var(--bulb) 45%, rgba(246, 183, 90, 0.4) 75%);
  box-shadow: 0 0 30px 8px rgba(246, 183, 90, 0.45), 0 0 120px 40px rgba(246, 183, 90, 0.12);
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(3.4rem, 8vw, 7.4rem); max-width: 9ch; text-wrap: balance; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6); }
.hero .lede { margin-top: 28px; font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-hint {
  display: none; margin: 40px 0 0; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.hero.is-live .hero-hint { display: flex; align-items: center; gap: 12px; }
.hero-hint::before { content: "↓"; color: var(--paint); font-size: 1rem; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(5px); } }
.hero-spiral { position: relative; height: 100%; min-height: 0; }
.hero:not(.is-live) .hero-spiral { display: none; }
@media (max-width: 899px) {
  .hero.is-live .hero-stage { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); padding-top: clamp(48px, 10vw, 80px); gap: 0; }
  .hero.is-live .hero-stage::before { left: auto; right: 22%; }
  .hero.is-live .hero-stage::after { left: auto; right: calc(22% - 9px); }
  .hero.is-live .lede, .hero.is-live .hero-hint { display: none; }
  .hero.is-live h1 { font-size: clamp(2.8rem, 13vw, 4.4rem); max-width: none; }
  .hero.is-live .hero-actions { margin-top: 18px; }
  .hero.is-live .hero-actions .ghost { display: none; }
}
@media (max-width: 899px) and (max-height: 700px) { .hero.is-live .hero-actions { display: none; } }

/* ---------- the spiral cards ---------- */
.spiral-box { outline: none; }
.spiral-card {
  padding: 0; margin: 0; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer;
  background: linear-gradient(160deg, #f3eee4, #e2dbcd);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 2px 3px rgba(0, 0, 0, 0.4),
    0 40px 70px -30px rgba(0, 0, 0, 0.95),
    0 0 90px -20px rgba(246, 183, 90, calc(var(--glow, 0) * 0.45));
}
/* masking tape holding each print */
.spiral-card::before, .spiral-card::after {
  content: ""; position: absolute; z-index: 2; top: -11px; width: 34%; height: 24px;
  background: var(--tape); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.spiral-card::before { left: 8%; transform: rotate(-4deg); }
.spiral-card::after { right: 8%; transform: rotate(3deg); }
.spiral-print { position: absolute; inset: 12px; border-radius: 9px; overflow: hidden; background: var(--paper); }
.spiral-print img { display: block; width: 100%; height: 100%; user-select: none; }
.spiral-card:focus-visible { outline: 2px dashed var(--paint); outline-offset: 6px; }
.spiral-caption {
  position: absolute; left: 50%; top: calc(100% + 16px); width: max-content; max-width: 170%;
  display: grid; justify-items: center; gap: 6px; text-align: center; white-space: nowrap;
  opacity: 0; transform: translate(-50%, -6px); transition: opacity 0.35s, transform 0.35s; pointer-events: none;
}
.spiral-card[data-front] .spiral-caption, .spiral-card:hover .spiral-caption { opacity: 1; transform: translate(-50%, 0); }
.spiral-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.7rem; line-height: 1; color: var(--ink); text-shadow: 0 2px 12px #000; }
.spiral-sub {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--tape); color: #2a241a; padding: 3px 10px; transform: rotate(-1.5deg);
}

/* reduced motion: a still row of works instead of the spiral */
.hero.is-live:has(.spiral-static) { height: auto; }
.hero.is-live:has(.spiral-static) .hero-stage { position: relative; height: auto; grid-template-columns: 1fr; padding: clamp(48px, 8vw, 96px) var(--gutter); }
.hero.is-live:has(.spiral-static) .hero-stage::before, .hero.is-live:has(.spiral-static) .hero-stage::after { display: none; }
.spiral-static-row { list-style: none; margin: 28px 0 0; padding: 14px 0 12px; display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; }
.spiral-static-row li { flex: 0 0 auto; scroll-snap-align: start; }
.spiral-static-row button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-align: center; display: grid; justify-items: center; gap: 6px; }
.spiral-static-row img { display: block; height: 260px; width: auto; background: var(--paper); padding: 10px; border-radius: 12px; }
.spiral-static-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.3rem; margin-top: 6px; }
.spiral-static-sub { font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; color: var(--muted); }

/* ---------- works ---------- */
.works { border-top: 1px solid var(--rule); }
.work {
  position: relative;
  display: grid; grid-template-columns: 1fr; gap: 36px;
  padding: clamp(56px, 9vw, 128px) 0;
  border-bottom: 1px dashed var(--rule-strong);
  scroll-margin-top: 12px;
}
/* a warm pool from a clamp light over each piece */
.work::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse 40% 55% at 32% 40%, rgba(246, 183, 90, 0.08), transparent 70%);
}
.work.flip::before { background: radial-gradient(ellipse 40% 55% at 68% 40%, rgba(246, 183, 90, 0.08), transparent 70%); }
@media (min-width: 900px) {
  .work { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
  .work.flip { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .work.flip .plates { order: 2; }
}
.plates { display: grid; gap: 28px; justify-items: center; }
.plate { margin: 0; width: 100%; display: flex; flex-direction: column; align-items: center; }
/* the print, taped straight to the wall */
.mat {
  position: relative;
  background: var(--paper);
  padding: clamp(10px, 1.6vw, 16px);
  border-radius: 4px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 36px 70px -32px rgba(0, 0, 0, 0.95);
  max-width: 100%;
  line-height: 0;
  transform: rotate(-0.6deg);
  transition: transform 0.45s cubic-bezier(.2, .7, .2, 1);
}
.work.flip .mat { transform: rotate(0.5deg); }
.mat::before, .mat::after {
  content: ""; position: absolute; z-index: 2; width: clamp(64px, 18%, 120px); height: 26px; top: 6px;
  background: var(--tape); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.mat::before { left: -18px; transform: rotate(-38deg); }
.mat::after { right: -18px; transform: rotate(36deg); }
.mat.zoomable:hover { transform: rotate(0deg) translateY(-4px); }
.mat img, .mat video { display: block; width: auto; height: auto; max-width: 100%; max-height: min(82vh, 880px); margin: 0 auto; }
.mat video { background: #000; }
.mat.zoomable img { cursor: zoom-in; }
.plate figcaption { margin-top: 18px; font-family: var(--mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; text-align: center; }
.plate.film .mat { padding: 8px; background: #0e0e0e; transform: none; }
.plate.film .mat::before, .plate.film .mat::after { display: none; }
.plate.film .mat video, .plate.film .mat img { max-height: 46vh; }

/* label: stencil title, taped price tag */
.label h2 { font-size: clamp(2.6rem, 5vw, 4.2rem); margin: 0 0 18px; }
.label .medium { color: var(--body); margin: 0 0 6px; max-width: 40ch; }
.label .condition { color: var(--muted); font-size: 0.92rem; margin: 0 0 6px; max-width: 40ch; }
.label .price {
  display: inline-block; font-family: var(--mono); font-weight: 700; font-size: 1.6rem; color: #1e1a12;
  background: var(--tape); padding: 6px 16px; margin: 22px 0 26px; transform: rotate(-2deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.label .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.label .note { font-family: var(--mono); font-size: 0.76rem; color: var(--muted); margin: 18px 0 0; max-width: 44ch; }
.framing { padding: 28px 0 0; color: var(--muted); font-size: 0.92rem; }

/* buttons: spray-paint orange with a hard drop shadow */
.btn {
  display: inline-block; cursor: pointer; text-align: center;
  font-family: var(--mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  background: var(--paint); color: #121212; border: 2px solid var(--paint);
  padding: 13px 24px; line-height: 1.2;
  box-shadow: 4px 4px 0 #000;
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover, .btn:focus-visible { background: var(--paint-hot); border-color: var(--paint-hot); color: #121212; transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #000; }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #000; }
.btn.buy[hidden] { display: none; }
.btn.ghost, .btn.inquire { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.7); }
.btn.ghost:hover, .btn.inquire:hover, .btn.ghost:focus-visible, .btn.inquire:focus-visible { background: var(--ink); border-color: var(--ink); color: #121212; }
.btn:disabled { opacity: 0.5; cursor: default; transform: none; }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 9vw, 112px) 0; border-bottom: 1px dashed var(--rule-strong); scroll-margin-top: 12px; }
.section .split { display: grid; gap: 28px; }
@media (min-width: 900px) {
  .section .split { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); }
}
.section h2 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); }
.section .copy p { margin: 0 0 16px; max-width: 58ch; color: var(--body); }
.section .copy p:last-child { margin-bottom: 0; }

/* forms */
.form { display: grid; gap: 20px; max-width: 560px; margin-top: 28px; }
.form label { display: grid; gap: 8px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.form input[type="text"], .form input[type="email"], .form textarea,
.dialog-form input[type="text"], .dialog-form input[type="email"], .dialog-form textarea {
  font: inherit; font-family: var(--sans); font-size: 1rem; letter-spacing: 0; text-transform: none; font-weight: 400;
  color: var(--ink); background: #121110;
  border: 1px solid var(--rule-strong); border-radius: 2px; padding: 13px 15px; width: 100%;
  transition: border-color 0.2s;
}
.form input::placeholder, .form textarea::placeholder, .dialog-form textarea::placeholder { color: #6a655c; }
.form input:focus, .form textarea:focus, .dialog-form input:focus, .dialog-form textarea:focus { outline: none; border-color: var(--paint); }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: 0.95rem; color: var(--body); }
.form .check input { margin-top: 5px; accent-color: var(--paint); }
.form .btn { justify-self: start; }
.form .note, .dialog .status { font-size: 0.86rem; color: var(--muted); margin: 0; min-height: 1.4em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* questions */
.qa-list { display: grid; gap: 0; }
.qa { padding: 24px 0; border-top: 1px dashed var(--rule-strong); }
.qa:first-child { border-top: 0; padding-top: 0; }
.qa h3 { font-size: 1.7rem; margin: 0 0 8px; }
.qa p { margin: 0; color: var(--body); max-width: 60ch; }

/* other projects */
.project-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 0 32px; }
.project-list li { border-top: 1px dashed var(--rule-strong); }
.project-list a { display: block; padding: 14px 0; text-decoration: none; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; transition: color 0.2s; }
.project-list a:hover { color: var(--paint); }

/* footer: concrete floor */
.site-footer { border-top: 3px solid #0f1011; background: #121110; margin-top: 0; padding: 48px 0 56px; color: var(--muted); font-size: 0.84rem; }
.site-footer .wrap { display: grid; gap: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-family: var(--mono); font-size: 0.76rem; text-transform: uppercase; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--paint); }
.site-footer p { margin: 0; }

/* message button + panel */
.chat-toggle {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  background: var(--paint); color: #121212; border: 2px solid #000; border-radius: 999px; cursor: pointer;
  padding: 12px 20px; font-family: var(--mono); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: 3px 3px 0 #000; transition: transform 0.15s, box-shadow 0.15s;
}
.chat-toggle:hover, .chat-toggle:focus-visible { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 #000; }
.chat-panel {
  position: fixed; right: 20px; bottom: 76px; z-index: 50; width: min(360px, calc(100vw - 40px));
  background: var(--wall-2); border: 1px solid var(--rule-strong); border-radius: 6px; padding: 24px;
  box-shadow: 6px 6px 0 #000;
}
.chat-panel[hidden] { display: none; }
.chat-panel h3 { font-size: 2rem; margin: 0 0 6px; }
.chat-panel .chat-note { color: var(--muted); font-size: 0.86rem; margin: 0 0 14px; }
.chat-panel label { display: block; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.chat-panel input, .chat-panel textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #121110;
  border: 1px solid var(--rule-strong); border-radius: 2px; padding: 10px 12px; margin: 0 0 14px;
}
.chat-panel input:focus, .chat-panel textarea:focus { outline: none; border-color: var(--paint); }
.chat-panel textarea { min-height: 100px; resize: vertical; }
.chat-panel button.send {
  font-family: var(--mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--paint); color: #121212; border: 2px solid var(--paint); padding: 12px 22px; cursor: pointer; box-shadow: 3px 3px 0 #000;
}
.chat-panel button.send:hover, .chat-panel button.send:focus-visible { background: var(--paint-hot); border-color: var(--paint-hot); }
@media (max-width: 480px) { .chat-toggle { right: 12px; bottom: 12px; } .chat-panel { right: 12px; bottom: 68px; width: calc(100vw - 24px); } }

/* dialogs */
.dialog {
  width: min(500px, calc(100% - 32px)); margin: auto; padding: 32px;
  background: var(--wall-2); color: var(--ink); border: 1px solid var(--rule-strong); border-radius: 6px;
  box-shadow: 8px 8px 0 #000;
}
.dialog::backdrop { background: rgba(8, 8, 7, 0.85); }
.dialog h3 { font-size: 2.4rem; margin: 0 0 6px; }
.dialog .for { color: var(--paint); margin: 0 0 20px; font-family: var(--marker); font-size: 1.3rem; }
.dialog-form { display: grid; gap: 16px; }
.dialog-form label { display: grid; gap: 8px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.dialog .row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* lightbox */
.lightbox { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; }
.lightbox::backdrop { background: rgba(10, 10, 9, 0.96); }
.lightbox .stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 56px 72px; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8); }
.lightbox button {
  position: absolute; background: transparent; border: 0; color: #fff; cursor: pointer;
  font-family: var(--mono); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 14px; opacity: 0.75;
}
.lightbox button:hover, .lightbox button:focus-visible { opacity: 1; color: var(--paint); }
.lightbox .lb-close { top: 10px; right: 14px; }
.lightbox .lb-prev { left: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; letter-spacing: 0; }
.lightbox .lb-next { right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; letter-spacing: 0; }
.lightbox .lb-cap { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.4rem; opacity: 0.9; padding: 0 70px; }
@media (max-width: 600px) { .lightbox .stage { padding: 56px 12px; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 6px; transform: none; } }

/* ---------- archive: a pin-up wall ---------- */
.archive { columns: 1; column-gap: clamp(24px, 4vw, 56px); padding: 18px 0 clamp(48px, 8vw, 96px); }
@media (min-width: 640px) { .archive { columns: 2; } }
@media (min-width: 1000px) { .archive { columns: 3; } }
.archive figure { margin: 0 0 clamp(36px, 5vw, 64px); break-inside: avoid; }
.archive figure:nth-child(odd) .mat { transform: rotate(0.8deg); }
.archive .mat { padding: clamp(8px, 1.2vw, 12px); }
.archive .mat::before, .archive .mat::after { width: 70px; height: 22px; }
.archive .mat img { width: 100%; max-height: none; cursor: zoom-in; }
.archive figcaption { margin-top: 14px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-family: var(--mono); font-size: 0.76rem; color: var(--muted); }
.archive figcaption a { font-weight: 700; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--paint); white-space: nowrap; }
.archive figcaption a:hover { color: var(--paint); }

/* ---------- text pages (about, privacy, terms) ---------- */
.prose { max-width: 720px; padding: clamp(48px, 8vw, 96px) 0; }
.prose h1 { font-size: clamp(3rem, 7vw, 5rem); margin: 0 0 28px; }
.prose h2 { font-size: 2.1rem; margin: 40px 0 10px; }
.prose p, .prose li { color: var(--body); }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 0 0 8px; }
.prose li::marker { color: var(--paint); }
.prose a { color: var(--ink); text-decoration-color: var(--paint); }
.prose a:hover { color: var(--paint); }
.prose .updated { font-family: var(--mono); color: var(--muted); font-size: 0.8rem; margin-top: -12px; }
.prose .card { background: transparent; border: 0; box-shadow: none; padding: 0; margin: 0; }

/* about: project list with summaries */
.projects { list-style: none; padding: 0; margin: 18px 0 0; }
.projects li { border-top: 1px dashed var(--rule-strong); padding: 16px 0; display: grid; gap: 4px; }
.projects li:last-child { border-bottom: 1px dashed var(--rule-strong); }
.projects a { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; text-decoration: none; }
.projects a:hover { color: var(--paint); }
.projects span { color: var(--body); max-width: 60ch; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
@media print {
  .chat-toggle, .chat-panel, .site-nav { display: none; }
  body { background: #fff; color: #000; }
}
