:root {
  --surface-black: #020201;
  --surface-ink: rgba(4, 4, 3, 0.84);
  --surface-ink-deep: rgba(0, 0, 0, 0.72);
  --surface-ridge: linear-gradient(90deg, transparent, rgba(239,210,140,0.54), rgba(111,234,255,0.36), transparent);
  --surface-plate:
    linear-gradient(120deg, rgba(239,210,140,0.08), transparent 24%, rgba(111,234,255,0.055) 68%, transparent),
    linear-gradient(180deg, rgba(13,11,7,0.74), rgba(0,0,0,0.9));
  --surface-glint:
    1px 0 0 rgba(111,234,255,0.24),
    -1px 0 0 rgba(168,137,255,0.16),
    0 0 34px rgba(111,234,255,0.075);
  --surface-shadow: 0 34px 110px rgba(0,0,0,0.58);
  --surface-cut: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  --surface-cut-large: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  --reading-measure: 72ch;
}

html {
  background: var(--surface-black);
  overflow-x: clip;
}

body {
  background:
    radial-gradient(circle at 50% -10%, rgba(239,210,140,0.055), transparent 30rem),
    var(--surface-black);
  max-width: 100%;
  text-rendering: geometricPrecision;
}

body::before {
  background:
    radial-gradient(circle at 76% 18%, rgba(111,234,255,0.055), transparent 24rem),
    radial-gradient(circle at 18% 78%, rgba(239,210,140,0.08), transparent 30rem),
    linear-gradient(180deg, rgba(2,2,1,0.08), rgba(2,2,1,0.74));
}

body::after {
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(239,210,140,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111,234,255,0.012) 1px, transparent 1px),
    repeating-linear-gradient(118deg, transparent 0 58px, rgba(239,210,140,0.018) 59px, transparent 60px 116px);
  background-size: 88px 88px, 88px 88px, auto;
  mask-image:
    radial-gradient(circle at 50% 42%, black 0 58%, transparent 86%),
    linear-gradient(to bottom, transparent, black 16%, black 84%, transparent);
}

body[data-surface="article"]::after {
  opacity: 0.07;
}

body[data-surface="private"]::after,
body[data-surface="missing"]::after {
  opacity: 0.18;
}

.shell {
  width: min(var(--max), calc(100% - clamp(24px, 4vw, 56px)));
}

.site-header {
  isolation: isolate;
  border-bottom-color: rgba(199,154,69,0.22);
  box-shadow: inset 0 -1px 0 rgba(111,234,255,0.045);
}

.site-header::before {
  content: "";
  position: absolute;
  left: clamp(0px, 2vw, 18px);
  right: clamp(0px, 2vw, 18px);
  bottom: 0;
  height: 1px;
  background: var(--surface-ridge);
  opacity: 0.36;
  pointer-events: none;
}

.brand {
  min-height: 44px;
}

.brand-mark {
  font-size: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(239,210,140,0.12), transparent 58%),
    linear-gradient(135deg, rgba(111,234,255,0.09), transparent 46%, rgba(239,210,140,0.08));
  box-shadow:
    inset 0 0 18px rgba(0,0,0,0.6),
    var(--surface-glint);
}

.brand-mark::after {
  content: "P";
  display: block;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1;
  text-shadow:
    0.7px 0 rgba(111,234,255,0.32),
    -0.7px 0 rgba(168,137,255,0.2);
  transform: rotate(-45deg);
}

.brand-name,
.eyebrow,
.entry-link,
.article-meta,
.art-row-meta,
.art-piece-copy span,
.archive-item time,
.archive-item span {
  letter-spacing: 0.14em;
}

.primary-nav {
  gap: clamp(14px, 2.2vw, 28px);
}

.primary-nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
}

.primary-nav a::after {
  bottom: 0;
}

.hero,
.art-overview,
.art-page-hero,
.archive-shell,
.article-shell,
.private-panel,
.missing-shell {
  position: relative;
  isolation: isolate;
}

.hero::before,
.art-overview::after,
.art-page-hero::after,
.archive-shell::before,
.article-shell::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(36px, 8vw, 104px);
  z-index: -1;
  height: 1px;
  background: var(--surface-ridge);
  opacity: 0.36;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 12% -8% 8% 48%;
  z-index: -1;
  background:
    linear-gradient(118deg, transparent 0 34%, rgba(111,234,255,0.08) 35% 36%, transparent 37% 66%, rgba(239,210,140,0.07) 67% 68%, transparent 69%),
    radial-gradient(circle at 54% 46%, rgba(111,234,255,0.06), transparent 24rem);
  clip-path: polygon(9% 0, 100% 12%, 84% 100%, 0 82%);
  opacity: 0.72;
  pointer-events: none;
}

.hero-copy {
  padding-left: clamp(16px, 2vw, 24px);
  border-left: 1px solid rgba(199,154,69,0.28);
  box-shadow: inset 1px 0 0 rgba(111,234,255,0.055);
}

.hero h1,
.article-header h1,
.art-heading h2,
.art-page-copy h1,
.art-arrival-copy h2,
.section-heading h2,
.about-grid h2 {
  filter:
    drop-shadow(1px 0 0 rgba(111,234,255,0.08))
    drop-shadow(-1px 0 0 rgba(168,137,255,0.06));
}

.hero-lede,
.art-heading p:not(.eyebrow),
.article-body {
  color: rgba(240,236,227,0.82);
}

.hero-object {
  justify-self: stretch;
  justify-items: center;
}

.holo-sail-wrap {
  width: clamp(350px, 36vw, 520px);
  margin-inline: auto 0;
}

.button,
.view-toggle,
.copy-link,
.private-open,
.tap-skip,
.tap-options a,
.missing-shell a,
.art-filter button,
.art-viewer-trigger,
.art-viewer-close,
.art-viewer-nav,
.art-viewer-thumb {
  border-radius: 0;
  clip-path: var(--surface-cut);
}

.button,
.entry-link,
.article-back,
.copy-link,
.private-open,
.tap-options a,
.missing-shell a {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.journal-list,
.archive-index,
.art-index,
.article-nav,
.article-toc {
  border-top-color: rgba(199,154,69,0.26);
  box-shadow:
    inset 0 1px 0 rgba(111,234,255,0.045),
    0 -1px 0 rgba(239,210,140,0.04);
}

.journal-entry,
.archive-item,
.art-row,
.about-fragments li,
.article-nav a {
  border-bottom-color: rgba(255,255,255,0.075);
  background:
    linear-gradient(90deg, rgba(239,210,140,0.026), transparent 34%, rgba(111,234,255,0.018));
}

.journal-entry:hover,
.journal-entry:focus-within,
.archive-item:hover,
.archive-item:focus-within,
.art-row:hover,
.art-row:focus-visible,
.about-fragments li:hover,
.about-fragments li:focus-within,
.article-nav a:hover,
.article-nav a:focus-visible {
  border-bottom-color: rgba(111,234,255,0.3);
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(111,234,255,0.08), transparent 18rem),
    linear-gradient(90deg, rgba(239,210,140,0.04), transparent 34%, rgba(111,234,255,0.035));
}

.entry-copy p,
.about-copy,
.art-row,
.archive-item,
.article-body p {
  text-wrap: pretty;
}

.writing-section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(72px, 9vw, 128px);
  border-top-color: rgba(239,210,140,0.2);
}

.writing-feature {
  position: relative;
  isolation: isolate;
  min-height: min(980px, calc(100vh + 110px));
  display: grid;
  grid-template-rows: auto minmax(440px, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(239,210,140,0.18);
  background:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.78)),
    #040404;
  box-shadow:
    inset 0 0 140px rgba(0,0,0,0.84),
    0 40px 120px rgba(0,0,0,0.46);
}

.writing-feature::before,
.writing-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.writing-feature::before {
  opacity: 0.36;
  background:
    radial-gradient(circle at 50% 30%, rgba(239,210,140,0.24), transparent 3px),
    radial-gradient(circle at 58% 36%, rgba(239,210,140,0.18), transparent 2px),
    radial-gradient(circle at 44% 43%, rgba(239,210,140,0.16), transparent 2px),
    radial-gradient(circle at 73% 28%, rgba(239,210,140,0.14), transparent 2px),
    radial-gradient(circle at 24% 62%, rgba(111,234,255,0.12), transparent 2px),
    linear-gradient(120deg, rgba(239,210,140,0.09), transparent 28%, rgba(111,234,255,0.045) 66%, transparent),
    url("assets/art/drawing-night-house.webp") center / cover no-repeat;
  filter: grayscale(0.72) contrast(1.2) brightness(0.38);
  transform: scale(1.02);
}

.writing-feature::after {
  opacity: 0.2;
  background:
    repeating-radial-gradient(circle at 50% 46%, rgba(239,210,140,0.12) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(90deg, transparent 0 98px, rgba(240,236,227,0.06) 99px, transparent 100px),
    linear-gradient(180deg, transparent 0 34%, rgba(0,0,0,0.52) 74%, rgba(0,0,0,0.9));
  mix-blend-mode: screen;
}

.writing-route {
  position: relative;
  z-index: 2;
  min-height: 58px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  border-bottom: 1px solid rgba(240,236,227,0.12);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.writing-route a {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(240,236,227,0.68);
  border-right: 1px solid rgba(240,236,227,0.1);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease;
}

.writing-route a:last-child {
  border-right: 0;
}

.writing-route span {
  color: rgba(239,210,140,0.9);
}

.writing-route a:hover,
.writing-route a:focus-visible {
  color: var(--ivory);
  background: rgba(240,236,227,0.055);
}

.writing-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: clamp(58px, 8vw, 110px) clamp(20px, 6vw, 88px);
  text-align: center;
}

.writing-copy {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
  margin-inline: auto;
}

.writing-date {
  display: inline-block;
  margin-bottom: 30px;
  padding-bottom: 7px;
  color: rgba(240,236,227,0.84);
  border-bottom: 1px solid rgba(240,236,227,0.48);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.writing-copy .eyebrow {
  margin-bottom: 22px;
  color: rgba(239,210,140,0.78);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

.writing-copy h2 {
  margin: 0;
  color: rgba(255,255,250,0.94);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: clamp(3.1rem, 8vw, 6.7rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.015em;
  text-transform: none;
  text-shadow:
    0 18px 70px rgba(0,0,0,0.74),
    1px 0 rgba(111,234,255,0.2),
    -1px 0 rgba(168,137,255,0.12);
}

.writing-dek {
  max-width: 680px;
  margin: 28px auto 0;
  color: rgba(240,236,227,0.82);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.95rem, 1.5vw, 1.22rem);
  line-height: 1.7;
}

.writing-primary-link {
  display: inline-flex;
  margin-top: 32px;
  padding: 10px 0;
}

.writing-atlas {
  position: absolute;
  inset: auto clamp(22px, 6vw, 88px) clamp(34px, 6vw, 86px) auto;
  width: min(390px, 38vw);
  aspect-ratio: 1.72;
  opacity: 0.58;
  border: 1px solid rgba(240,236,227,0.12);
  clip-path: polygon(0 16%, 92% 0, 100% 82%, 12% 100%);
}

.writing-atlas::before {
  content: "";
  position: absolute;
  inset: 14%;
  background:
    linear-gradient(42deg, transparent 0 48%, rgba(240,236,227,0.4) 49% 50%, transparent 51%),
    linear-gradient(150deg, transparent 0 52%, rgba(239,210,140,0.34) 53% 54%, transparent 55%),
    repeating-linear-gradient(90deg, rgba(240,236,227,0.12) 0 1px, transparent 1px 22px);
}

.atlas-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(240,236,227,0.72);
  background: rgba(0,0,0,0.62);
  transform: rotate(45deg);
}

.atlas-node-a { left: 18%; top: 62%; }
.atlas-node-b { left: 49%; top: 42%; }
.atlas-node-c { right: 18%; top: 68%; }

.atlas-line {
  position: absolute;
  left: 20%;
  top: 62%;
  width: 54%;
  height: 1px;
  background: rgba(240,236,227,0.42);
  transform-origin: left center;
}

.atlas-line-a { transform: rotate(-22deg); }
.atlas-line-b { top: 48%; left: 50%; width: 28%; transform: rotate(31deg); }

.atlas-label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: rgba(239,210,140,0.78);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.11em;
}

.writing-feature .journal-list {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(240,236,227,0.16);
  background: rgba(0,0,0,0.44);
}

.writing-feature .journal-entry {
  min-height: 210px;
  grid-template-columns: minmax(112px, 0.34fr) minmax(0, 1fr);
  gap: 24px;
  align-content: start;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid rgba(240,236,227,0.12);
  border-bottom: 0;
  background:
    linear-gradient(180deg, rgba(240,236,227,0.03), rgba(0,0,0,0.1)),
    transparent;
}

.writing-feature .journal-entry:last-child {
  border-right: 0;
}

.chapter-number {
  display: block;
  margin-bottom: 20px;
  color: rgba(240,236,227,0.86);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 0.9;
}

.entry-kicker {
  margin: 0 0 10px;
  color: rgba(239,210,140,0.82);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.writing-feature .entry-copy h3 {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  letter-spacing: 0.04em;
}

.writing-feature .entry-copy p:not(.entry-kicker) {
  color: rgba(240,236,227,0.68);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.84rem;
  line-height: 1.7;
}

.writing-feature .entry-link {
  grid-column: 2;
  align-self: end;
}

.art-overview[data-art-home] {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: start;
  min-height: auto;
  padding-block: clamp(82px, 10vw, 150px);
  border-top: 1px solid rgba(240,236,227,0.14);
  border-bottom: 0;
  isolation: isolate;
}

.art-section:focus {
  outline: 0;
}

.art-overview[data-art-home]::before,
.art-overview[data-art-home]::after {
  display: none;
}

.art-overview[data-art-home] .art-heading {
  position: sticky;
  top: 28px;
  grid-column: 1;
  max-width: 360px;
  padding-top: 6px;
}

.art-overview[data-art-home] .art-heading h2 {
  color: rgba(240,236,227,0.92);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: clamp(2.4rem, 5.1vw, 5.35rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: none;
}

.art-overview[data-art-home] .art-heading p:not(.eyebrow) {
  margin-top: 22px;
  color: rgba(240,236,227,0.62);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.75;
}

.art-catalog-primary,
.art-browse-row {
  display: grid;
  gap: 9px;
  margin-top: 34px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.art-catalog-primary a,
.art-browse-row a {
  width: fit-content;
  color: rgba(240,236,227,0.82);
  text-decoration: none;
  transition: color 140ms ease;
}

.art-catalog-primary a:hover,
.art-catalog-primary a:focus-visible,
.art-browse-row a:hover,
.art-browse-row a:focus-visible {
  color: var(--gold-bright);
  outline: 0;
}

.art-browse-row {
  grid-auto-flow: column;
  justify-content: start;
  gap: 18px;
  margin-top: 28px;
  color: rgba(240,236,227,0.46);
}

.art-browse-row a {
  color: rgba(240,236,227,0.46);
}

.art-mode-toggle {
  grid-column: 1;
  display: inline-flex;
  gap: 14px;
  margin-top: 34px;
  align-self: start;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

.art-mode-toggle button {
  appearance: none;
  padding: 0 0 7px;
  color: rgba(240,236,227,0.48);
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  font: inherit;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.art-mode-toggle button:hover,
.art-mode-toggle button:focus-visible,
.art-mode-toggle button[aria-pressed="true"] {
  color: rgba(240,236,227,0.9);
  border-bottom-color: rgba(240,236,227,0.72);
  outline: 0;
}

.art-home-grid {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(34px, 5.4vw, 86px) clamp(20px, 3.2vw, 52px);
  align-items: start;
  padding-top: clamp(18px, 4vw, 56px);
}

.art-home-work {
  position: relative;
  grid-column: span 4;
  margin: 0;
  align-self: start;
}

.art-home-work-large {
  grid-column: span 5;
}

.art-home-work-tall {
  grid-column: span 3;
}

.art-home-work-wide {
  grid-column: span 6;
}

.art-home-work-offset {
  margin-top: clamp(84px, 11vw, 150px);
}

.art-home-work-lift {
  margin-top: clamp(-38px, -3vw, -18px);
}

.art-home-work-low {
  margin-top: clamp(58px, 8vw, 118px);
}

.art-home-work img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: saturate(0.9) contrast(1.03) brightness(0.88);
  transition: filter 180ms ease, transform 220ms ease;
}

.art-home-work:hover img,
.art-home-work:focus-within img {
  filter: saturate(1) contrast(1.05) brightness(0.98);
}

.art-home-work figcaption {
  position: absolute;
  left: calc(100% + 10px);
  bottom: 2px;
  display: grid;
  gap: 4px;
  min-width: 110px;
  color: rgba(240,236,227,0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.6rem;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.art-home-work:nth-child(3n) figcaption {
  left: auto;
  right: calc(100% + 10px);
  text-align: right;
  transform: translateX(4px);
}

.art-home-work:hover figcaption,
.art-home-work:focus-within figcaption {
  opacity: 1;
  transform: translateX(0);
}

.art-home-work figcaption span {
  color: rgba(240,236,227,0.86);
}

.art-home-work figcaption time {
  color: rgba(239,210,140,0.72);
}

.art-home-list {
  grid-column: 2;
  display: none;
  padding-top: clamp(22px, 4vw, 62px);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

.art-home-list a {
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) 80px minmax(120px, 0.7fr) minmax(130px, 0.8fr);
  gap: clamp(14px, 2.4vw, 38px);
  align-items: baseline;
  min-height: 52px;
  color: rgba(240,236,227,0.56);
  border-top: 1px solid rgba(240,236,227,0.14);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.art-home-list a:last-child {
  border-bottom: 1px solid rgba(240,236,227,0.14);
}

.art-home-list a span {
  padding-block: 17px;
}

.art-home-list a span:first-child {
  color: rgba(240,236,227,0.9);
  font-size: clamp(0.88rem, 1.4vw, 1.14rem);
  letter-spacing: 0.06em;
}

.art-home-list a:hover,
.art-home-list a:focus-visible {
  color: rgba(240,236,227,0.88);
  outline: 0;
}

.art-home-list a:hover span:first-child,
.art-home-list a:focus-visible span:first-child {
  color: var(--gold-bright);
}

.art-overview[data-art-home][data-art-mode="list"] .art-home-grid {
  display: none;
}

.art-overview[data-art-home][data-art-mode="list"] .art-home-list {
  display: block;
}

.about-section {
  position: relative;
  isolation: isolate;
  min-height: min(920px, calc(100vh - 40px));
  padding-block: clamp(68px, 9vw, 132px);
  overflow: hidden;
  border-top-color: rgba(235,235,226,0.18);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

.about-section::before,
.about-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.about-section::before {
  inset: clamp(72px, 11vw, 132px) 0 0;
  opacity: 0.24;
  background:
    linear-gradient(90deg, rgba(240,236,227,0.18) 0 1px, transparent 1px calc(100% - 1px), rgba(240,236,227,0.12) calc(100% - 1px)),
    linear-gradient(180deg, transparent, rgba(240,236,227,0.08) 52%, transparent 53%),
    repeating-linear-gradient(0deg, transparent 0 32px, rgba(240,236,227,0.055) 33px, transparent 34px);
  mask-image: linear-gradient(90deg, black, transparent 35%, transparent 65%, black);
}

.about-section::after {
  right: clamp(8px, 4vw, 48px);
  bottom: clamp(26px, 5vw, 78px);
  width: min(360px, 48vw);
  height: min(210px, 24vw);
  border: 1px solid rgba(240,236,227,0.15);
  background:
    repeating-linear-gradient(178deg, transparent 0 12px, rgba(240,236,227,0.22) 13px, transparent 14px),
    linear-gradient(125deg, transparent 0 44%, rgba(111,234,255,0.18) 45% 46%, transparent 47% 100%);
  clip-path: polygon(0 60%, 28% 48%, 52% 72%, 76% 38%, 100% 52%, 100% 100%, 0 100%);
  opacity: 0.34;
}

.about-status {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 12px;
  color: #090909;
  background: rgba(240,236,227,0.94);
  border: 1px solid rgba(240,236,227,0.28);
  font-size: 0.67rem;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.54),
    0 18px 50px rgba(0,0,0,0.32);
}

.about-status span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status-pixel {
  width: 6px;
  height: 6px;
  display: inline-block;
  background: #080809;
}

.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(360px, 1.28fr);
  gap: clamp(34px, 8vw, 110px);
  align-items: start;
  margin-top: clamp(52px, 9vw, 104px);
}

.about-grid::before,
.about-grid::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.about-grid::before {
  left: 0;
  top: -28px;
  width: 14px;
  height: 14px;
  border-top: 1px solid rgba(240,236,227,0.28);
  border-left: 1px solid rgba(240,236,227,0.28);
}

.about-grid::after {
  right: 0;
  bottom: -18px;
  width: 18px;
  height: 18px;
  border-right: 1px solid rgba(240,236,227,0.22);
  border-bottom: 1px solid rgba(240,236,227,0.22);
}

.about-identity {
  min-height: clamp(380px, 46vw, 520px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-identity .eyebrow {
  margin-bottom: 18px;
  color: rgba(240,236,227,0.74);
  font-family: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
}

.about-grid h2 {
  max-width: 100%;
  color: rgba(240,236,227,0.92);
  font-family: inherit;
  font-size: clamp(2.25rem, 5.4vw, 5.35rem);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow:
    0.9px 0 rgba(111,234,255,0.2),
    -0.9px 0 rgba(168,137,255,0.12);
}

.about-role,
.about-command {
  margin: 14px 0 0;
  color: rgba(240,236,227,0.56);
  font-size: 0.74rem;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: auto;
  padding-top: clamp(46px, 10vw, 118px);
}

.about-links a {
  min-height: 38px;
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  color: rgba(240,236,227,0.84);
  border: 1px solid rgba(240,236,227,0.2);
  background: rgba(0,0,0,0.24);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.about-links a span:first-child {
  color: rgba(111,234,255,0.72);
}

.about-links a:hover,
.about-links a:focus-visible {
  color: var(--ivory);
  border-color: rgba(240,236,227,0.46);
  background: rgba(240,236,227,0.055);
  transform: translateY(-2px);
}

.about-copy {
  max-width: none;
  color: rgba(240,236,227,0.7);
  font-family: inherit;
  font-size: clamp(0.82rem, 1vw, 0.94rem);
  line-height: 1.8;
}

.about-copy > p:not(.about-command) {
  max-width: 72ch;
  margin: 18px 0 0;
}

.about-command {
  margin-top: 0;
  color: rgba(239,210,140,0.82);
}

.about-fragments {
  display: grid;
  gap: 0;
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(240,236,227,0.16);
}

.about-fragments li {
  min-height: 70px;
  display: grid;
  grid-template-columns: 44px minmax(150px, 0.42fr) minmax(0, 1fr);
  gap: clamp(12px, 2vw, 24px);
  align-items: center;
  padding: 15px 0;
  border-top: 0;
  border-bottom: 1px solid rgba(240,236,227,0.12);
  color: rgba(240,236,227,0.58);
  background:
    linear-gradient(90deg, rgba(240,236,227,0.03), transparent 44%, rgba(111,234,255,0.028));
}

.fragment-number {
  color: rgba(240,236,227,0.5);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.about-fragments strong {
  color: rgba(240,236,227,0.86);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-fragments li > span:last-child {
  line-height: 1.65;
}

.about-fragments li:hover,
.about-fragments li:focus-within {
  border-bottom-color: rgba(240,236,227,0.38);
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(111,234,255,0.085), transparent 16rem),
    linear-gradient(90deg, rgba(240,236,227,0.055), transparent 42%, rgba(111,234,255,0.052));
}

.archive-shell .article-header,
.article-shell .article-header {
  max-width: 900px;
}

.article-shell {
  max-width: min(960px, calc(100% - clamp(24px, 4vw, 56px)));
}

.article-body {
  max-width: var(--reading-measure);
}

.article-body p {
  margin-bottom: 1.45em;
}

.article-body a {
  color: var(--gold-bright);
  text-decoration-color: rgba(111,234,255,0.44);
  text-underline-offset: 5px;
}

.article-body blockquote {
  border-left-color: rgba(111,234,255,0.44);
  box-shadow: inset 1px 0 0 rgba(239,210,140,0.36);
}

.art-plate,
.art-piece figure,
.art-viewer figure,
.private-card,
.missing-card {
  border-radius: 0;
}

.art-plate {
  box-shadow:
    inset 0 0 118px rgba(0,0,0,0.74),
    var(--surface-glint),
    var(--surface-shadow);
}

.art-preview,
.art-altar figure,
.art-piece figure {
  outline: 1px solid rgba(0,0,0,0.42);
  outline-offset: -3px;
}

.art-piece {
  padding-top: 14px;
}

.art-piece figure {
  background:
    linear-gradient(135deg, rgba(239,210,140,0.08), transparent),
    #030303;
}

.art-piece-copy {
  border-bottom: 1px solid rgba(199,154,69,0.1);
}

.art-viewer::before {
  opacity: 0.18;
}

.art-viewer img {
  filter: saturate(0.98) contrast(1.03);
}

.private-card,
.missing-card {
  background: var(--surface-plate);
  border: 1px solid rgba(199,154,69,0.28);
  clip-path: var(--surface-cut-large);
  box-shadow:
    inset 0 0 80px rgba(0,0,0,0.5),
    var(--surface-glint),
    var(--surface-shadow);
}

.private-card {
  padding: clamp(30px, 5vw, 54px);
}

.private-panel {
  min-height: calc(100vh - 176px);
  padding-block: clamp(42px, 5vw, 70px);
}

.private-card::before {
  width: min(178px, 46vw);
  margin-bottom: clamp(18px, 3vw, 24px);
}

.private-card h1 {
  font-size: clamp(3rem, 5.8vw, 5rem);
}

.private-card p {
  margin-block: 18px 0;
}

.missing-card {
  padding: clamp(30px, 5vw, 56px);
}

.missing-card::before {
  margin-top: 4px;
}

.tap-sequence {
  background:
    radial-gradient(circle at 50% 40%, rgba(111,234,255,0.065), transparent 22rem),
    linear-gradient(120deg, rgba(239,210,140,0.035), transparent 34%, rgba(111,234,255,0.04));
  border: 1px solid rgba(199,154,69,0.16);
  clip-path: var(--surface-cut-large);
  box-shadow:
    inset 0 0 90px rgba(0,0,0,0.58),
    var(--surface-glint),
    0 36px 100px rgba(0,0,0,0.42);
}

.site-footer {
  min-height: 84px;
  border-top-color: rgba(199,154,69,0.24);
  box-shadow: inset 0 1px 0 rgba(111,234,255,0.04);
}

.footer-links a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

@media (min-width: 1180px) {
  .article-shell::after {
    content: "";
    position: absolute;
    right: 0;
    top: clamp(220px, 24vw, 320px);
    width: 1px;
    height: min(420px, 42vh);
    background: linear-gradient(180deg, transparent, rgba(239,210,140,0.36), rgba(111,234,255,0.28), transparent);
    box-shadow:
      1px 0 0 rgba(111,234,255,0.16),
      -1px 0 0 rgba(168,137,255,0.08);
    pointer-events: none;
  }
}

@media (max-width: 860px) {
  .hero::after {
    inset: 38% -12% 3% 12%;
    opacity: 0.48;
  }

  .holo-sail-wrap {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .hero-copy {
    padding-left: 14px;
  }

  .journal-entry,
  .archive-item,
  .art-row,
  .about-fragments li {
    background: linear-gradient(90deg, rgba(239,210,140,0.026), transparent);
  }

  .writing-feature {
    min-height: auto;
    grid-template-rows: auto auto auto;
  }

  .writing-route {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .writing-route a {
    flex: 0 0 48%;
    scroll-snap-align: start;
  }

  .writing-route::-webkit-scrollbar {
    display: none;
  }

  .writing-hero {
    min-height: 560px;
    padding-inline: clamp(18px, 5vw, 36px);
  }

  .writing-atlas {
    right: 18px;
    bottom: 22px;
    width: min(310px, 76vw);
    opacity: 0.32;
  }

  .writing-feature .journal-list {
    grid-template-columns: 1fr;
  }

  .writing-feature .journal-entry {
    grid-template-columns: minmax(84px, 0.22fr) minmax(0, 1fr);
    border-right: 0;
    border-bottom: 1px solid rgba(240,236,227,0.12);
  }

  .writing-feature .journal-entry:last-child {
    border-bottom: 0;
  }

  .about-section {
    min-height: auto;
    padding-block: clamp(72px, 14vw, 110px);
  }

  .about-status {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    height: auto;
    padding-block: 10px;
    white-space: normal;
  }

  .about-section::before {
    mask-image: linear-gradient(180deg, black, transparent 76%);
  }

  .about-section::after {
    width: min(280px, 70vw);
    height: 150px;
    opacity: 0.2;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    margin-top: 48px;
  }

  .about-identity {
    min-height: 0;
  }

  .about-links {
    margin-top: 0;
    padding-top: 38px;
  }

  .about-fragments li {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px 16px;
  }

  .about-fragments li > span:last-child {
    grid-column: 2;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 22px;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(var(--max), calc(100% - 24px));
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .hero-copy {
    border-left-color: rgba(199,154,69,0.2);
  }

  .article-body > p:first-of-type::first-letter {
    font-size: 3.2em;
  }

  .private-card,
  .missing-card,
  .tap-sequence {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  }

  .writing-feature {
    margin-inline: -1px;
  }

  .writing-route a {
    flex-basis: 68%;
    justify-content: flex-start;
    padding-inline: 16px;
  }

  .writing-hero {
    min-height: 520px;
    padding-block: 60px 92px;
  }

  .writing-copy h2 {
    font-size: clamp(2.7rem, 15vw, 4.8rem);
  }

  .writing-dek {
    font-size: 0.9rem;
  }

  .writing-feature .journal-entry {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 18px;
  }

  .writing-feature .entry-link {
    grid-column: auto;
  }

  .art-overview[data-art-home] {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 76px;
  }

  .art-overview[data-art-home] .art-heading {
    position: relative;
    top: auto;
    grid-column: 1;
    max-width: none;
  }

  .art-mode-toggle {
    grid-column: 1;
    margin-top: 4px;
  }

  .art-home-grid,
  .art-home-list {
    grid-column: 1;
  }

  .art-home-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 34px 18px;
    padding-top: 16px;
  }

  .art-home-work,
  .art-home-work-large,
  .art-home-work-tall,
  .art-home-work-wide {
    grid-column: span 3;
  }

  .art-home-work-wide {
    grid-column: 1 / -1;
  }

  .art-home-work-offset,
  .art-home-work-lift,
  .art-home-work-low {
    margin-top: 0;
  }

  .art-home-work figcaption,
  .art-home-work:nth-child(3n) figcaption {
    position: static;
    min-width: 0;
    margin-top: 9px;
    text-align: left;
    opacity: 1;
    transform: none;
  }

  .art-home-list a {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 15px;
  }

  .art-home-list a span {
    padding-block: 3px;
  }

  .about-status {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .about-grid h2 {
    font-size: clamp(2.2rem, 14vw, 4.8rem);
  }

  .about-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .about-links a {
    justify-content: start;
    min-width: 0;
  }

  .about-fragments li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-block: 17px;
  }

  .about-fragments li > span:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1,
  .article-header h1,
  .art-heading h2,
  .art-page-copy h1,
  .art-arrival-copy h2,
  .section-heading h2,
  .about-grid h2 {
    filter: none;
  }
}
