:root {
  --bg: #FCFCFB;
  --bg-tint-a: #EDE6F5;
  --bg-tint-b: #FCE6DC;
  --bg-tint-c: #DCEDF1;
  --surface: #FFFFFF;
  --ink: #0F0E14;
  --ink-soft: #555560;
  --ink-muted: #9A96A2;
  --line: rgba(15, 14, 20, 0.08);
  --shadow-1: 0 10px 30px -8px rgba(40, 35, 55, 0.06), 0 4px 12px -4px rgba(40, 35, 55, 0.04);
  --shadow-2: 0 28px 60px -16px rgba(40, 35, 55, 0.10), 0 10px 24px -8px rgba(40, 35, 55, 0.06);
  --radius: 22px;
  --display: "Fraunces", ui-serif, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(1100px 600px at 85% -10%, rgba(232, 217, 245, 0.18), transparent 65%),
    radial-gradient(900px 600px at -10% 20%, rgba(253, 230, 220, 0.18), transparent 65%),
    radial-gradient(1000px 700px at 50% 110%, rgba(220, 237, 241, 0.18), transparent 65%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* nav */
nav.top {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  margin: 0 -32px;
  padding: 16px 32px;
  background: rgba(252, 252, 251, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
nav.top .brand {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
nav.top ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 22px;
  font-size: 0.92rem; color: var(--ink-soft);
  flex-wrap: wrap;
  justify-content: flex-end;
}
nav.top a { color: inherit; text-decoration: none; }
nav.top a:hover { color: var(--ink); }

/* hero */
header.hero {
  padding: 110px 0 80px;
  text-align: center;
}
header.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 7rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 26px;
}
header.hero h1 em {
  font-style: italic;
  color: #23447F;
}
header.hero p.tag {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto;
}

/* section heads */
section { padding: 60px 0; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -0.025em;
  margin: 0;
}
.section-head .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* domain grid — always exactly 3 across (memorials + other domains
   each have exactly 3 tiles, so we lock the column count instead of
   auto-filling, which was leaving a phantom 4th slot at wide widths) */
.domains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tile {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-1);
  border: 1px solid var(--line);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), box-shadow 320ms;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 170px;
}
.tile::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent, transparent) 0%, transparent 55%);
  opacity: 0.55;
  pointer-events: none;
}
.tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2);
}
.tile .dot {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent, var(--bg-tint-a));
  box-shadow: inset 0 0 18px rgba(255,255,255,0.6);
}
.tile .name {
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0;
}
.tile .desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}
.tile .url {
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

/* spotlight feature */
.spotlight {
  background: #FFFFFF;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 1.05fr) 2fr;
  margin-top: 8px;
}
.spotlight .paper-bar { height: 4px; background: #9b1c1c; grid-column: 1 / -1; }
.spotlight .left {
  padding: 32px 28px 28px;
  border-right: 1px solid #ECECEF;
  display: flex; flex-direction: column; gap: 12px;
  background: #FBFBFA;
}
.spotlight .dateline {
  font-family: var(--sans);
  font-size: 0.7rem;
  color: #9a9aa3;
  letter-spacing: 0.05em;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.spotlight .dateline .badge {
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.18em;
  color: #9b1c1c;
}
.spotlight .masthead-mini {
  font-family: "Playfair Display", var(--display);
  font-weight: 900;
  font-size: 1.2rem;
  color: #0a0a0a;
  margin: 0;
}
.spotlight .codename {
  font-family: "Playfair Display", var(--display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: #0a0a0a;
  margin: 4px 0 0;
}
.spotlight .codename em { font-style: normal; color: #9b1c1c; }
.spotlight .filed-by {
  font-family: "Source Serif 4", "Source Serif Pro", var(--display);
  font-style: italic;
  font-size: 0.95rem;
  color: #555560;
  margin: 0;
}
.spotlight .rule { width: 70px; height: 1px; background: #9b1c1c; }
.spotlight .blurb {
  font-family: "Source Serif 4", "Source Serif Pro", var(--display);
  font-size: 0.95rem;
  color: #444450;
  line-height: 1.55;
  margin: 0;
}
.spotlight .open-file {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #FFFFFF;
  background: #0a0a0a;
  padding: 12px 18px;
  text-decoration: none;
  border-radius: 2px;
  transition: background 200ms;
}
.spotlight .open-file:hover { background: #9b1c1c; }

.spotlight .right {
  padding: 14px 0;
  display: flex; flex-direction: column;
}
.spotlight .right .file-row {
  display: block;
  padding: 16px 28px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #ECECEF;
  transition: background 180ms;
}
.spotlight .right .file-row:last-child { border-bottom: none; }
.spotlight .right .file-row:hover { background: #FAFAF8; }
.spotlight .right .file-row .row-top {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; margin-bottom: 6px; flex-wrap: wrap;
}
.spotlight .right .file-row .label {
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9b1c1c;
}
.spotlight .right .file-row .date {
  font-family: var(--sans);
  font-size: 0.7rem;
  color: #a8a3b0;
}
.spotlight .right .file-row .title {
  font-family: "Playfair Display", var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #0a0a0a;
  margin: 0 0 4px;
}
.spotlight .right .file-row .to {
  font-family: "Source Serif 4", "Source Serif Pro", var(--display);
  font-style: italic;
  font-size: 0.85rem;
  color: #888892;
  margin: 0;
}

/* three flagship features stacked, each in its own palette */
.feature-stack { display: flex; flex-direction: column; gap: 24px; }
.feature-stack .spotlight { margin-top: 0; }
.feature-stack .lone-sample { max-width: 100%; margin: 0; }

/* itethered feature — pure white, royal-blue, serif (mirrors itethered.com) */
.spotlight.itd { background: #FFFFFF; border-color: #e6ecf6; }
.spotlight.itd .paper-bar { background: #23447F; }
.spotlight.itd .left { background: #F7F9FE; border-right-color: #e6ecf6; }
.spotlight.itd .dateline { color: #9aa0ac; }
.spotlight.itd .dateline .badge { color: #23447F; }
.spotlight.itd .masthead-mini {
  font-family: "Fraunces", var(--display);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
}
.spotlight.itd .codename {
  font-family: "Fraunces", var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.spotlight.itd .codename em { color: #23447F; font-style: normal; text-shadow: none; }
.spotlight.itd .filed-by { font-family: "Source Serif 4", Georgia, serif; font-style: italic; color: var(--ink-soft); }
.spotlight.itd .rule { background: #23447F; box-shadow: none; }
.spotlight.itd .blurb { font-family: "Source Serif 4", Georgia, serif; color: #444450; }
.spotlight.itd .blurb em { color: var(--ink); font-style: italic; }
.spotlight.itd .open-file { background: #23447F; color: #ffffff; }
.spotlight.itd .open-file:hover { background: #1a3460; }
.spotlight.itd .right .file-row { border-bottom-color: #eef1f7; }
.spotlight.itd .right .file-row:hover { background: #f7f9fe; }
.spotlight.itd .right .file-row .label { color: #23447F; }
.spotlight.itd .right .file-row .date { color: #a8adba; }
.spotlight.itd .right .file-row .title {
  font-family: "Fraunces", var(--display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.spotlight.itd .right .file-row .to { font-family: "Source Serif 4", Georgia, serif; font-style: italic; color: #8a8d9c; }

/* share the byline feature — pure white, forest-green, serif (mirrors sharethebyline.com) */
.spotlight.stb { background: #FFFFFF; border-color: #e2ece6; }
.spotlight.stb .paper-bar { background: #2F5D3F; }
.spotlight.stb .left { background: #F6FBF8; border-right-color: #e2ece6; }
.spotlight.stb .dateline { color: #9aa7a0; }
.spotlight.stb .dateline .badge { color: #2F5D3F; }
.spotlight.stb .masthead-mini { font-family: "Fraunces", var(--display); font-weight: 500; color: var(--ink); }
.spotlight.stb .codename { font-family: "Fraunces", var(--display); font-weight: 600; font-style: italic; letter-spacing: -0.02em; color: var(--ink); }
.spotlight.stb .codename em { color: #2F5D3F; font-style: italic; }
.spotlight.stb .filed-by { font-family: "Source Serif 4", Georgia, serif; font-style: italic; color: var(--ink-soft); }
.spotlight.stb .rule { background: #2F5D3F; }
.spotlight.stb .blurb { font-family: "Source Serif 4", Georgia, serif; color: #444450; }
.spotlight.stb .blurb em { color: var(--ink); font-style: italic; }
.spotlight.stb .open-file { background: #2F5D3F; color: #ffffff; }
.spotlight.stb .open-file:hover { background: #21452f; }
.spotlight.stb .right .file-row { border-bottom-color: #eaf2ed; }
.spotlight.stb .right .file-row:hover { background: #f6fbf8; }
.spotlight.stb .right .file-row .label { color: #2F5D3F; }
.spotlight.stb .right .file-row .date { color: #a8b2ab; }
.spotlight.stb .right .file-row .title { font-family: "Fraunces", var(--display); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.spotlight.stb .right .file-row .to { font-family: "Source Serif 4", Georgia, serif; font-style: italic; color: #8a948c; }
.spotlight.stb .zero { font-family: "JetBrains Mono", monospace; font-style: normal; }

/* lone sample card (Abercrombie PT) lower on the page */
.sample-eyebrow {
  margin: 38px 0 14px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.lone-sample { max-width: 420px; }

/* artwork pointer → bliyf */
.art-link {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-1);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), box-shadow 320ms;
}
.art-link:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.art-link .art-link-eyebrow {
  display: block;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-muted); margin: 0 0 12px;
}
.art-link .art-link-title {
  display: block;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -0.025em;
  color: var(--ink); margin: 0 0 14px; line-height: 1.1;
}
.art-link .art-link-title em { font-style: italic; color: #7B6BA8; }
.art-link .art-link-desc {
  display: block;
  font-family: var(--sans); font-size: 0.98rem; line-height: 1.6;
  color: var(--ink-soft); max-width: 620px; margin: 0;
}

/* primary trio (share the byline + itethered + eptgb) */
.primary-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 26px;
}
.primary-card {
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-1);
  border: 1px solid var(--line);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), box-shadow 320ms;
  display: flex; flex-direction: column;
  min-height: 320px;
}
.primary-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.primary-card.ept { position: relative; }
.primary-card.ept .caution-badge {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 900;
  color: #1a1f1a;
  background: #ffd84d;
  border: 2px solid #1a1f1a;
  border-radius: 6px;
  transform: rotate(-4deg);
  z-index: 3;
  box-shadow: 2px 3px 0 rgba(0,0,0,0.18);
  line-height: 1;
  pointer-events: none;
}
.primary-card.ept:hover .caution-badge {
  transform: rotate(-6deg) scale(1.06);
  transition: transform 240ms cubic-bezier(.2,.7,.2,1);
}

/* unified primary card — white, minimal, single-color accent per property */
.primary-card {
  --accent: #555560;
  background: var(--surface);
  color: var(--ink);
  padding: 32px 30px 28px;
  font-family: var(--sans);
}
.primary-card .label {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 14px;
}
.primary-card .name {
  font-family: "Fraunces", var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 14px;
}
.primary-card .tagline {
  font-family: "Fraunces", var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.primary-card .rule { width: 60px; height: 1px; background: var(--accent); margin: 0 0 18px; }
.primary-card .blurb {
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.primary-card .quote {
  font-family: "Fraunces", var(--display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink);
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  margin: 0 0 22px;
  line-height: 1.5;
}
.primary-card .quote .att {
  display: block; margin-top: 8px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
}
.primary-card .cta-row {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--sans);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.primary-card .cta-row .url { font-size: 0.85rem; color: var(--accent); font-weight: 600; }
.primary-card .cta-row .cta-text { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent); }

/* per-property accents — single muted color, minimal */
.primary-card.stb { --accent: #6b4a36; }
.primary-card.itd { --accent: #2a2a3a; }
.primary-card.ept { --accent: #4a6b57; }

/* artwork grid */
.art {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.art .piece {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), box-shadow 320ms;
  aspect-ratio: 4 / 5;
  display: grid; place-items: center;
  color: var(--ink-muted);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}
.art .piece:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.art .piece.tall   { grid-column: span 4; aspect-ratio: 3 / 4; }
.art .piece.wide   { grid-column: span 8; aspect-ratio: 16 / 10; }
.art .piece.square { grid-column: span 4; aspect-ratio: 1 / 1; }
.art .piece.med    { grid-column: span 6; aspect-ratio: 4 / 3; }
.art .piece.full     { grid-column: span 12; aspect-ratio: 21 / 9; }
.art .piece.portrait { grid-column: span 3; aspect-ratio: 3 / 4; }
.art .piece img {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.art .piece:hover img { transform: scale(1.03); }

/* ===== secret tile — password-locked, becomes a black-hole drop zone ===== */
.art .piece.secret-tile { cursor: zoom-in; }
.art .piece.secret-tile.unlocked {
  background:
    radial-gradient(circle at 50% 50%, #000 0%, #050510 38%, #14102a 68%, #2a1a48 100%);
  cursor: grab;
}
.art .piece.secret-tile.unlocked > img { opacity: 0; transition: opacity 600ms; pointer-events: none; }
.art .piece.secret-tile .hole-ring {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  pointer-events: none;
  box-shadow:
    inset 0 0 80px rgba(0,0,0,0.95),
    inset 0 0 24px rgba(123,107,168,0.22),
    0 0 80px rgba(123,107,168,0.18);
  border: 1px solid rgba(255,255,255,0.06);
  opacity: 0;
  transition: opacity 600ms;
}
.art .piece.secret-tile.unlocked .hole-ring { opacity: 1; }
.art .piece.secret-tile .drop-hint {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 400ms;
  text-align: center;
  padding: 0 20px;
}
.art .piece.secret-tile.unlocked .drop-hint { opacity: 1; }
.art .piece.secret-tile.unlocked.has-images .drop-hint { opacity: 0; }
.art .piece.secret-tile .rotation-img {
  position: absolute;
  inset: 14%;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 700ms ease;
  z-index: 2;
  box-shadow: 0 0 40px rgba(0,0,0,0.6), 0 0 16px rgba(123,107,168,0.4);
}
.art .piece.secret-tile .rotation-img.active { opacity: 1; }
.art .piece.secret-tile.drag-over {
  outline: 2px dashed rgba(123,107,168,0.7);
  outline-offset: -10px;
}
.art .piece.secret-tile .tile-lock {
  position: absolute;
  top: 8px; right: 8px;
  z-index: 5;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.18);
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.art .piece.secret-tile.unlocked .tile-lock { display: flex; }
.art .piece.secret-tile .tile-lock:hover { color: #fff; background: rgba(0,0,0,0.8); }

/* ===== see-more tile — last tile in the art grid, opens full-gallery modal ===== */
.art .piece.see-more {
  cursor: pointer;
  background: linear-gradient(135deg, #fbf8f3 0%, #f0e9df 100%);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  text-align: center;
}
.art .piece.see-more:hover {
  background: linear-gradient(135deg, #fbf8f3 0%, #e6dccf 100%);
}
.art .piece.see-more .see-more-inner {
  padding: 22px 16px;
}
.art .piece.see-more .see-more-arrow {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: #7B6BA8;
  margin: 0 0 10px;
  font-weight: 300;
  line-height: 1;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1);
}
.art .piece.see-more:hover .see-more-arrow {
  transform: translateX(6px);
}
.art .piece.see-more .label-en {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 3.2vw, 1.8rem);
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  line-height: 1.15;
}
.art .piece.see-more .label-he {
  font-family: "Frank Ruhl Libre", "David CLM", "Arial Hebrew", serif;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: var(--ink-soft);
  margin: 0;
  direction: rtl;
  line-height: 1.2;
  font-weight: 400;
}

/* ===== see-all modal — full gallery of thumbnails ===== */
.see-all {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(8, 7, 14, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 64px 28px 40px;
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
  overflow-y: auto;
}
.see-all.is-open {
  opacity: 1;
  pointer-events: auto;
}
.see-all-shell {
  max-width: 1100px;
  margin: 0 auto;
  transform: translateY(12px);
  transition: transform 280ms cubic-bezier(.2,.7,.2,1);
}
.see-all.is-open .see-all-shell { transform: translateY(0); }
.see-all-eyebrow {
  text-align: center;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0 0 14px;
}
.see-all-eyebrow .he {
  font-family: "Frank Ruhl Libre", "David CLM", "Arial Hebrew", serif;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(255,255,255,0.65);
}
.see-all-title {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.8rem, 4.2vw, 2.8rem);
  color: rgba(255,255,255,0.96);
  text-align: center;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.see-all-note {
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  margin: 0 0 30px;
}
.see-all-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.see-all-thumb {
  cursor: zoom-in;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  aspect-ratio: 1 / 1;
  transition: transform 200ms cubic-bezier(.2,.7,.2,1), box-shadow 200ms;
  position: relative;
}
.see-all-thumb:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0,0,0,0.5);
  border-color: rgba(123,107,168,0.5);
}
.see-all-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.see-all-close {
  position: fixed;
  top: 22px; right: 28px;
  z-index: 221;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
  font-family: var(--sans);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: background 180ms, color 180ms, transform 180ms;
}
.see-all-close:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
  transform: scale(1.05);
}
@media (max-width: 600px) {
  .see-all { padding: 48px 14px 32px; }
  .see-all-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
  .see-all-close { top: 12px; right: 14px; }
}

/* ===== lightbox — click any art piece to enlarge (secret tile also pops, but escalator runs in parallel) ===== */
.art .piece { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 7, 14, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 32px 28px;
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-inner {
  max-width: min(960px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  transform: scale(0.96);
  transition: transform 280ms cubic-bezier(.2,.7,.2,1);
}
.lightbox.is-open .lightbox-inner { transform: scale(1); }
.lightbox-img {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0,0,0,0.6);
  object-fit: contain;
  background: rgba(0,0,0,0.4);
}
.lightbox-caption {
  text-align: center;
  color: rgba(255,255,255,0.86);
  max-width: 560px;
}
.lightbox-caption p {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
}
.lightbox-caption p:last-child { margin-bottom: 0; }
.lightbox-caption p.quiet {
  font-style: italic;
  color: rgba(255,255,255,0.65);
  font-size: 0.98rem;
}
.lightbox-caption .num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #fff;
}
.lightbox-close {
  position: fixed;
  top: 22px; right: 28px;
  z-index: 201;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
  font-family: var(--sans);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: background 180ms, color 180ms, transform 180ms;
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
  transform: scale(1.05);
}
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 201;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.8);
  font-family: var(--sans);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: background 180ms, color 180ms, transform 180ms;
}
.lightbox-nav:hover {
  background: rgba(255,255,255,0.16);
  color: #fff;
}
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }
.lightbox-nav.prev:hover { transform: translateY(-50%) translateX(-2px); }
.lightbox-nav.next:hover { transform: translateY(-50%) translateX(2px); }
.lightbox-counter {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 201;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
}

@media (max-width: 640px) {
  .lightbox { padding: 16px 12px; }
  .lightbox-inner { gap: 18px; }
  .lightbox-img { max-height: 60vh; }
  .lightbox-nav { width: 38px; height: 38px; font-size: 1.1rem; }
  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }
  .lightbox-close { top: 10px; right: 12px; }
  .lightbox-counter { top: 16px; }
}
.art .piece .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 18, 28, 0.65) 100%);
  color: #FFFFFF;
  font-family: var(--display);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 280ms, transform 280ms;
}
.art .piece:hover .caption { opacity: 1; transform: translateY(0); }
.swatch-1 { background: linear-gradient(135deg, #F6E7FF 0%, #E2F0FF 100%); }
.swatch-2 { background: linear-gradient(135deg, #FDE6E0 0%, #FFF6D6 100%); }
.swatch-3 { background: linear-gradient(135deg, #E5F4EC 0%, #D7E8F7 100%); }
.swatch-4 { background: linear-gradient(135deg, #F3E5F8 0%, #FDE2EC 100%); }
.swatch-5 { background: linear-gradient(135deg, #E8F1FA 0%, #F8E9D7 100%); }

/* internal page (centered single-domain page) */
body.page main.centered {
  min-height: calc(100vh - 200px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 60px 0 80px;
}
body.page .eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
  margin: 0 0 20px;
}
body.page main.centered h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 22px;
  word-break: break-word;
}
body.page main.centered p.tag {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 0 26px;
}
body.page main.centered p.body {
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 1rem;
  margin: 0 0 36px;
}
a.cta {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 16px 28px;
  background: var(--ink);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: var(--shadow-2);
  transition: transform 200ms, box-shadow 200ms;
}
a.cta:hover { transform: translateY(-2px); }
p.footnote {
  margin-top: 26px;
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-style: italic;
}

/* ethos — the curation rule (compact card; .ethos-bottom widens it for the closer position) */
.ethos {
  max-width: 720px;
  margin: 0 auto 56px;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  text-align: center;
}
.ethos.ethos-bottom {
  max-width: none;
  width: 100%;
  margin: 72px auto 48px;
  padding: 52px 56px 48px;
}
.ethos.ethos-bottom .headline { font-size: clamp(1.5rem, 3.4vw, 2rem); margin-bottom: 18px; }
.ethos.ethos-bottom > p,
.ethos.ethos-bottom .creed,
.ethos.ethos-bottom .disclosure,
.ethos.ethos-bottom > .hat-line,
.ethos.ethos-bottom > .reveal-intro,
.ethos.ethos-bottom > .stack,
.ethos.ethos-bottom > .deflate,
.ethos.ethos-bottom > .sample-lead,
.ethos.ethos-bottom > .flex {
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 720px) {
  .ethos.ethos-bottom { padding: 32px 22px 30px; margin: 48px auto 32px; }
}
.ethos .headline {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 14px;
}
.ethos p {
  font-family: "Source Serif 4", var(--display);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 10px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.ethos p:last-child { margin-bottom: 0; }
.ethos p em { font-style: italic; color: var(--ink); font-weight: 500; }
.ethos p.tail {
  font-family: var(--display);
  font-style: italic;
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin-top: 14px;
}
.ethos .ethos-rule {
  width: 36px; height: 1px;
  background: var(--ink-muted);
  opacity: 0.4;
  margin: 22px auto;
}
.ethos .creed {
  margin: 24px auto 0;
  max-width: 580px;
}
.ethos .creed p {
  font-family: "Source Serif 4", var(--display);
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.ethos .creed p.punch {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.06rem;
  color: var(--ink);
  margin-bottom: 0;
}
.ethos .creed p.punch em { color: var(--ink); font-weight: 600; font-style: italic; }
.ethos .disclosure {
  background: rgba(155, 28, 28, 0.04);
  border: 1px solid rgba(155, 28, 28, 0.22);
  border-radius: 14px;
  padding: 20px 24px 22px;
  margin: 24px auto 0;
  max-width: 600px;
  text-align: left;
}
.ethos .disclosure .disclosure-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #9b1c1c;
}
.ethos .disclosure .disclosure-head .date {
  color: var(--ink-muted);
  font-weight: 600;
  letter-spacing: 0.18em;
}
.ethos .disclosure p {
  font-family: "Source Serif 4", var(--display);
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.ethos .disclosure p:last-child { margin-bottom: 0; }
.ethos .disclosure p strong { color: var(--ink); font-weight: 700; }
.ethos .disclosure p em { color: var(--ink); font-style: italic; font-weight: 400; }
.ethos .disclosure .kicker {
  font-family: var(--display);
  font-style: italic;
  color: var(--ink);
  font-size: 1rem;
  margin-top: 16px;
}
.ethos .disclosure .rufford {
  font-family: var(--display);
  font-weight: 600;
  font-style: italic;
  font-size: 1.05rem;
  color: #9b1c1c;
  letter-spacing: 0.1em;
  text-align: center;
  margin-top: 12px;
}
.ethos p.flex strong {
  color: var(--ink);
  font-weight: 600;
}
.ethos p.tail-flex {
  font-family: var(--display);
  font-style: italic;
  color: var(--ink);
  font-size: 1.02rem;
  margin-top: 12px;
}
.ethos p.tail-flex em { font-weight: 600; color: var(--ink); }
.ethos p.gate {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  margin-top: 10px;
}
.ethos p.hat-line {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.12rem, 2.3vw, 1.32rem);
  color: var(--ink);
  margin: 0 auto 22px;
  letter-spacing: -0.005em;
  line-height: 1.45;
}
.ethos p.hat-line em { color: #5d4f8a; font-weight: 600; }
.ethos p.reveal-intro {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 0 auto 8px;
}
.ethos p.reveal-intro strong {
  font-family: var(--sans);
  color: var(--ink);
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.02em;
}
.ethos p.stack {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  margin: 0 auto 12px;
  letter-spacing: 0.005em;
}
.ethos p.deflate {
  font-family: "Source Serif 4", var(--display);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--ink-muted);
  margin: 0 auto 22px;
  line-height: 1.6;
}
.ethos p.sample-lead {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.06rem;
  color: var(--ink);
  margin: 0 auto 16px;
  max-width: 580px;
  line-height: 1.55;
}

/* always-open ribbon — quiet site-wide strip at the very top */
.ribbon {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(252, 252, 251, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 8px 16px;
  border-bottom: 1px solid var(--line);
}
.ribbon .num {
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.08em;
}
.ribbon .sep {
  opacity: 0.45;
  margin: 0 8px;
}
.ribbon .quiet {
  font-style: italic;
  opacity: 0.78;
}
body.profile .ribbon {
  background: rgba(10, 10, 20, 0.78);
  color: rgba(238, 242, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body.profile .ribbon .num { color: rgba(255, 255, 255, 0.94); }
body.profile .ribbon .sep { color: rgba(238, 242, 255, 0.5); }
@media (max-width: 720px) {
  .ribbon { font-size: 0.62rem; padding: 7px 12px; line-height: 1.55; }
  .ribbon .sep { margin: 0 5px; }
  .ribbon .hide-sm { display: none; }
}

/* footer */
/* builder's strip — quiet access to in-progress pages, sits above footer */
.build-strip {
  margin: 50px auto 0;
  padding: 14px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--ink-muted);
}
.build-strip .label {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-muted);
}
.build-strip .arrow { color: var(--ink-muted); }
.build-strip .sep { color: var(--ink-muted); opacity: 0.6; }
.build-strip a {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  color: #7B6BA8;
  text-decoration: none;
  border-bottom: 1px solid rgba(123, 107, 168, 0.3);
  padding-bottom: 1px;
}
.build-strip a:hover { border-bottom-color: #7B6BA8; color: #5d4f8a; }

footer.site-footer {
  padding: 40px 0 50px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.85rem;
}
footer.site-footer .glyph {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
footer.site-footer a { color: inherit; }
footer.site-footer .one-person {
  margin-top: 8px;
  font-family: var(--display);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--ink-soft);
  opacity: 0.78;
  letter-spacing: 0.01em;
}
footer.site-footer .owner {
  margin-top: 20px;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}
footer.site-footer .owner .sep { margin: 0 0.5em; color: var(--line); }
footer.site-footer .legal-links {
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}
footer.site-footer .legal-links a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
footer.site-footer .legal-links a:hover { border-bottom-color: var(--ink-soft); }

/* ===== mobile ===== */
@media (max-width: 820px) {
  .wrap { padding: 0 20px; }
  nav.top { margin: 0 -20px; padding: 14px 20px; }
  nav.top ul { gap: 16px; font-size: 0.85rem; }
  header.hero { padding: 70px 0 50px; }
  section { padding: 44px 0; }
  .section-head { margin-bottom: 24px; }
  .domains { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
  .tile { padding: 22px 22px 18px; min-height: 150px; }
  .tile .name { font-size: 1.4rem; }
  .spotlight { grid-template-columns: 1fr; }
  .spotlight .left { border-right: none; border-bottom: 1px solid #ECECEF; padding: 28px 22px 24px; }
  .spotlight .right .file-row { padding: 14px 22px; }
  .primary-pair { grid-template-columns: 1fr; }
  .art .piece.tall, .art .piece.wide, .art .piece.square, .art .piece.med,
  .art .piece.full, .art .piece.portrait {
    grid-column: span 12;
  }
  .art .piece.full { aspect-ratio: 16 / 9; }
  .art .piece.portrait { aspect-ratio: 3 / 4; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  nav.top { margin: 0 -16px; padding: 12px 16px; }
  .domains { grid-template-columns: 1fr; }
  .spotlight .left { padding: 24px 18px 22px; }
  .spotlight .right .file-row { padding: 14px 18px; }
  .spotlight .right .file-row .row-top { flex-direction: column; align-items: flex-start; gap: 4px; }
  nav.top ul { gap: 14px; }
  a.cta { padding: 14px 22px; font-size: 0.88rem; }
}

/* portraits side-by-side on tablet, wallpaper full above */
@media (min-width: 720px) and (max-width: 1023px) {
  .art .piece.portrait { grid-column: span 6; }
}
