:root {
  --ink: #e6e1d6;
  --muted: #817f77;
  --line: #33332f;
  --deep: #181818;
  --panel: #202020;
  --accent: #b8b3a8;
  --blood: #48453f;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--deep); }

body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .09;
  z-index: 10;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

.surface-fracture {
  position: fixed;
  inset: 0;
  z-index: 11;
  overflow: hidden;
  pointer-events: none;
  opacity: .62;
  mix-blend-mode: screen;
}
.fracture-spine, .fracture-branch, .fracture-sheen { position: absolute; display: block; }
.fracture-spine {
  top: -8vh;
  left: 54vw;
  width: 30px;
  height: 116vh;
  background: linear-gradient(90deg, transparent 0 25%, rgba(220, 216, 205, .07) 34%, rgba(137, 108, 89, .25) 47%, rgba(220, 216, 205, .18) 52%, transparent 68%);
  clip-path: polygon(39% 0, 65% 0, 51% 13%, 76% 26%, 43% 37%, 72% 49%, 38% 62%, 68% 75%, 34% 88%, 59% 100%, 24% 100%, 43% 88%, 13% 76%, 47% 62%, 17% 49%, 50% 37%, 20% 26%, 47% 13%);
  filter: blur(.35px);
}
.fracture-branch {
  height: 15px;
  background: linear-gradient(90deg, rgba(171, 166, 155, .28), rgba(220, 216, 205, .12), transparent 78%);
  filter: blur(.45px);
}
.fracture-branch-one {
  top: 34vh;
  left: 34vw;
  width: 24vw;
  transform: rotate(-14deg);
  clip-path: polygon(0 40%, 28% 17%, 54% 35%, 100% 0, 72% 53%, 100% 78%, 48% 63%, 24% 100%);
}
.fracture-branch-two {
  top: 69vh;
  left: 51vw;
  width: 25vw;
  transform: rotate(11deg);
  background: linear-gradient(90deg, rgba(220, 216, 205, .12), rgba(137, 108, 89, .22), transparent 82%);
  clip-path: polygon(0 22%, 34% 43%, 61% 0, 51% 53%, 100% 72%, 57% 64%, 25% 100%, 36% 57%);
}
.fracture-sheen {
  top: -4vh;
  left: 46vw;
  width: 18vw;
  height: 108vh;
  background: repeating-linear-gradient(103deg, transparent 0 17px, rgba(230, 225, 214, .025) 18px 19px, transparent 20px 31px);
  clip-path: polygon(45% 0, 78% 0, 61% 16%, 88% 30%, 57% 45%, 84% 59%, 53% 74%, 77% 100%, 22% 100%, 43% 75%, 14% 59%, 46% 44%, 19% 29%, 49% 15%);
  opacity: .55;
}

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

body.entry-locked { overflow: hidden; }
.entry-gate {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 7vw 24px;
  background: #181818;
  color: var(--ink);
  border: 1px solid #3b3a36;
}
.entry-gate[hidden] { display: none; }
.entry-gate::before {
  content: "";
  position: absolute;
  top: -12vh;
  left: 56vw;
  width: 1px;
  height: 124vh;
  background: linear-gradient(180deg, transparent, rgba(184, 179, 168, .55) 17%, rgba(137, 108, 89, .4) 53%, transparent 86%);
  transform: rotate(7deg);
  opacity: .6;
}
.entry-gate-mark, .entry-gate-foot { position: relative; z-index: 1; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.entry-gate-foot { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 12px; }
.entry-gate-copy { position: relative; z-index: 1; width: min(100%, 780px); margin: auto; }
.entry-gate-copy h1 { margin: 0 0 34px; color: var(--ink); font-size: clamp(42px, 8vw, 92px); line-height: .9; font-weight: 400; text-shadow: none; }
.entry-gate-languages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 720px; border-top: 1px solid var(--line); padding-top: 22px; }
.entry-gate-languages p { margin: 0; color: #a9a59b; font-size: 11px; line-height: 1.75; }
.entry-gate-languages span { display: block; margin-bottom: 12px; color: var(--accent); font-size: 10px; }
.entry-gate-status { min-height: 18px; margin: 28px 0 0; color: var(--accent); font-size: 10px; text-transform: uppercase; }
.entry-gate-actions { display: flex; gap: 28px; align-items: center; margin-top: 18px; }
.entry-gate-actions .primary-button { padding-top: 0; }
.entry-gate.is-declined .entry-gate-status { color: var(--ink); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(24, 24, 24, .96);
}

.wordmark, .footer-wordmark { font-size: 19px; line-height: 1; font-weight: 700; letter-spacing: 0; }
.header-status, .section-label, .eyebrow, .threshold-index, .threshold-foot, .series-number, .series-note, figcaption, .footer-meta, .footer-contact { font-size: 10px; text-transform: uppercase; }
.header-status { color: var(--muted); text-align: center; }
.site-nav { display: flex; justify-content: flex-end; gap: 20px; align-items: center; color: var(--muted); }
.language-switcher { display: flex; align-items: center; gap: 6px; margin-left: 8px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.language-label { color: #55534e; }
.language-button { border: 0; padding: 0; background: transparent; color: var(--muted); cursor: pointer; font: inherit; }
.language-button:hover, .language-button.is-active { color: var(--accent); }
.site-nav a:hover, .plain-link:hover, .footer-contact a:hover { color: var(--ink); text-shadow: 1px 0 var(--blood); }

.text-button, .primary-button, .lightbox-close { border: 0; background: transparent; cursor: pointer; }
.text-button:hover, .primary-button:hover { color: var(--accent); }
.button-mark { display: inline-block; padding-left: 6px; color: var(--accent); }

main { overflow: hidden; }
.threshold { min-height: 100vh; padding: 132px 7vw 28px; display: flex; flex-direction: column; justify-content: space-between; }
.threshold-index { color: var(--muted); line-height: 1.4; }
.threshold-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(300px, .85fr); gap: 11vw; align-items: center; max-width: 1120px; width: 100%; margin: 32px auto 48px; }
.threshold-copy { max-width: 550px; }
.eyebrow { color: var(--muted); margin: 0 0 32px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 0 0 42px; font-size: 82px; line-height: .92; font-weight: 400; text-shadow: 2px 0 var(--blood), -1px 0 #777; }
.identity-line { margin: -24px 0 26px; color: var(--accent); font-size: 11px; text-transform: uppercase; }
.vision-line { max-width: 410px; margin-bottom: 24px; color: var(--accent); font-size: 12px; line-height: 1.6; }
.lead { max-width: 470px; color: #b9b5aa; font-size: 16px; line-height: 1.7; }
.threshold-actions { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 48px; }
.primary-button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--accent); color: var(--accent); text-transform: uppercase; font-size: 11px; }
.plain-link { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.threshold-figure { margin: 0; max-width: 430px; justify-self: end; }
.image-frame { position: relative; overflow: hidden; background: #202020; }
.image-frame-entry { aspect-ratio: 3 / 4; max-height: 52vh; }
.threshold-image { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: grayscale(1) contrast(1.1) brightness(.88); opacity: .86; transition: filter .65s ease, opacity .65s ease; }
.threshold-figure:hover .threshold-image, .threshold-figure:focus-within .threshold-image { filter: none; opacity: .92; }
.image-stamp { position: absolute; left: 13px; bottom: 12px; padding: 3px 5px; border: 1px solid rgba(230, 225, 214, .55); color: #f5f0e4; font-size: 9px; }
figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; color: var(--muted); }
.threshold-foot { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }

.section-rule { border-top: 1px solid var(--line); }
.statement, .archive, .about, .site-footer { padding: 110px 7vw; }
.statement { background: #1b1b1b; }
.process { background: #202020; }
.archive { background: #161616; }
.about { background: #1d1d1d; }
.site-footer { background: #191919; }
.statement { display: grid; grid-template-columns: 1fr minmax(0, 760px) 1fr; gap: 4vw; min-height: 720px; }
.section-label { color: var(--muted); }
.statement-body { padding-top: 50px; }
.statement-kicker { color: var(--accent); max-width: 360px; margin-bottom: 70px; }
h2 { font-size: 36px; line-height: 1.18; font-weight: 400; }
.statement-body h2 { margin-bottom: 58px; }
.statement-copy { max-width: 580px; color: #aaa79e; line-height: 1.8; margin-bottom: 24px; }
.statement-aside { align-self: end; color: var(--muted); font-size: 10px; line-height: 1.4; }

.process { padding-top: 110px; padding-bottom: 130px; }
.process-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr); gap: 12vw; max-width: 1100px; margin: 80px auto 100px; }
.process-intro h2 { margin: 0; }
.process-intro .statement-kicker { margin-bottom: 38px; }
.process-lead { max-width: 430px; align-self: end; color: #aaa79e; line-height: 1.8; }
.process-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 35px; max-width: 1100px; margin: 0 auto; border-top: 1px solid var(--line); }
.process-step { min-height: 215px; padding: 20px 0 30px; border-bottom: 1px solid var(--line); }
.process-step span { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.process-step h3 { margin: 25px 0 16px; font-size: 14px; line-height: 1.4; font-weight: 400; color: var(--accent); }
.process-step p { max-width: 285px; margin-bottom: 0; color: #9f9c94; font-size: 11px; line-height: 1.7; }
.process-tail { max-width: 1100px; margin: 70px auto 0; color: var(--muted); font-size: 10px; line-height: 1.5; text-transform: uppercase; }

.archive { padding-top: 0; }
.archive-seal { min-height: 300px; display: flex; justify-content: space-between; align-items: end; gap: 40px; padding: 90px 0 45px; }
.archive-seal h2 { margin: 25px 0 12px; }
.archive-seal p { color: var(--muted); }
.archive-content { display: none; padding: 50px 0 20px; }
.archive.is-open .archive-content { display: block; }
.archive-heading { display: flex; justify-content: space-between; gap: 32px; align-items: end; padding-bottom: 65px; }
.archive-heading p { margin: 0; color: var(--muted); }
.series-block { display: block; padding: 55px 0 100px; border-top: 1px solid var(--line); }
.series-intro { padding-top: 10px; }
.series-intro h3 { margin: 26px 0 18px; font-size: 29px; font-weight: 400; }
.series-intro p { max-width: 230px; color: #a7a39a; }
.series-number, .series-note { color: var(--muted); }
.series-note { display: block; margin-top: 32px; line-height: 1.5; }
.series-block > .series-intro { max-width: 430px; margin-bottom: 42px; }
.art-grid { display: grid; gap: 24px; align-items: start; }
.subcutis-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; }
.artwork { margin: 0; min-width: 0; }
.artwork-button { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: #161613; overflow: hidden; }
.artwork img { display: block; width: 100%; height: auto; filter: grayscale(1) contrast(1.05) brightness(.9); opacity: .88; transition: transform .7s ease, filter .65s ease, opacity .65s ease; }
.artwork-button:hover img, .artwork-button:focus-visible img { transform: scale(1.018); filter: none; opacity: 1; }
.artwork-tall img, .artwork-small img { aspect-ratio: 3 / 4; object-fit: cover; max-height: 390px; }
.artwork-wide { margin-top: 0; }
.artwork-wide img { aspect-ratio: 4 / 3; object-fit: cover; max-height: 390px; }
.artwork-vessels { max-width: 520px; }
.artwork-vessels img { aspect-ratio: 16 / 10; object-fit: cover; max-height: 360px; }
.artwork-status { max-width: 190px; color: var(--accent); text-align: right; line-height: 1.45; }
.artwork-status.is-sold { color: var(--muted); }

.about { min-height: 650px; }
.subject-intro { display: grid; grid-template-columns: minmax(320px, 420px) minmax(180px, 1fr); align-items: end; gap: 6vw; max-width: 1100px; margin: 75px auto 100px; }
.subject-figure { width: min(100%, 420px); margin: 0; }
.subject-button { width: 100%; border: 1px solid var(--line); }
.subject-button img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; object-position: center; filter: grayscale(1) contrast(1.15) brightness(.78) !important; }
.subject-button:hover img, .subject-button:focus-visible img { filter: none !important; }
.subject-note { max-width: 260px; padding-bottom: 4px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.subject-note::before { content: "///"; display: block; margin-bottom: 24px; color: var(--blood); font-size: 20px; }
.subject-note p { margin: 13px 0 0; color: var(--accent); text-transform: none; font-size: 13px; line-height: 1.6; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 13vw; max-width: 1100px; margin: 80px auto 0; }
.about h2 { margin-bottom: 52px; }
.about-copy { max-width: 520px; color: #aaa79e; line-height: 1.8; margin-bottom: 24px; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 95px 1fr; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); text-transform: uppercase; font-size: 10px; }
.facts dd { margin: 0; color: #bdb8ad; font-size: 11px; }
.facts div:nth-child(3n) dt { color: var(--accent); }
.selected-record { max-width: 1100px; margin: 100px auto 0; border-top: 1px solid var(--line); }
.record-heading { padding: 18px 0 30px; color: var(--muted); font-size: 10px; }
.record-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 30px; }
.record-item { min-height: 130px; padding: 18px 0 28px; border-bottom: 1px solid var(--line); }
.record-item span { color: var(--accent); font-size: 10px; text-transform: uppercase; }
.record-item p { max-width: 270px; margin: 14px 0 0; color: #99968e; font-size: 11px; line-height: 1.7; }

.section-label::before, .series-number::before { content: "// "; color: var(--blood); }
.threshold::after { content: "NO CLEAN EXIT"; position: absolute; right: 7vw; top: 44vh; color: var(--blood); font-size: 9px; transform: rotate(-90deg); transform-origin: right top; }
.threshold { position: relative; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: end; padding-top: 48px; padding-bottom: 32px; }
.footer-contact { display: flex; flex-direction: column; gap: 9px; color: var(--muted); }
.footer-contact a { color: var(--accent); text-transform: none; font-size: 11px; }
.footer-meta { display: flex; justify-content: flex-end; gap: 20px; color: var(--muted); }

.lightbox { width: min(94vw, 1400px); max-height: 94vh; padding: 36px; border: 1px solid var(--line); background: #171717; color: var(--ink); }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox img { display: block; width: auto; max-width: 100%; max-height: 80vh; margin: auto; }
.lightbox p { margin: 14px 0 0; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.lightbox-close { position: absolute; right: 14px; top: 12px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.lightbox-close:hover { color: var(--ink); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 820px) {
  body { font-size: 12px; }
  .entry-gate { padding: 20px 18px 18px; }
  .entry-gate-copy h1 { font-size: 48px; }
  .entry-gate-languages { display: block; max-width: 300px; }
  .entry-gate-languages p { margin-bottom: 22px; }
  .entry-gate-languages p:last-child { margin-bottom: 0; }
  .entry-gate-foot { display: block; line-height: 1.7; }
  .entry-gate-foot span { display: block; }
  .surface-fracture { opacity: .48; }
  .fracture-spine { left: 63vw; }
  .fracture-branch-one { left: 18vw; width: 45vw; }
  .fracture-branch-two { left: 59vw; width: 39vw; }
  .fracture-sheen { left: 52vw; width: 30vw; }
  .site-header { grid-template-columns: 1fr auto; padding: 15px 17px; }
  .header-status { display: none; }
  .site-nav { gap: 12px; font-size: 10px; }
  .site-nav a:first-child { display: none; }
  .language-label { display: none; }
  .threshold { padding: 112px 18px 22px; }
  .threshold-grid { display: flex; flex-direction: column; align-items: stretch; gap: 55px; margin-top: 42px; }
  .threshold-copy { max-width: none; }
  h1 { font-size: 56px; margin-bottom: 32px; }
  .lead { font-size: 14px; }
  .threshold-figure { max-width: none; width: 77%; align-self: flex-end; }
  .threshold-foot { flex-wrap: wrap; }
  .statement, .archive, .about, .site-footer { padding-left: 18px; padding-right: 18px; }
  .statement { display: block; min-height: 0; padding-top: 80px; padding-bottom: 100px; }
  .statement-body { padding-top: 58px; }
  h2 { font-size: 29px; }
  .statement-aside { margin-top: 60px; }
  .process { padding-top: 80px; padding-bottom: 100px; }
  .process-intro { display: block; margin: 58px 0 65px; }
  .process-lead { margin-top: 48px; }
  .process-list { display: block; }
  .process-step { min-height: 0; padding: 19px 0 28px; }
  .process-step h3 { margin-top: 18px; }
  .process-tail { margin-top: 55px; }
  .archive-seal { min-height: 250px; align-items: start; flex-direction: column; padding-top: 75px; }
  .archive-heading { display: block; padding-bottom: 42px; }
  .archive-heading p { margin-top: 22px; }
  .series-block { display: block; padding: 42px 0 80px; }
  .series-intro { margin-bottom: 38px; }
  .series-intro h3 { margin-top: 18px; }
  .subcutis-grid { display: block; max-width: 350px; }
  .artwork { margin: 0 auto 34px; }
  .artwork-small, .artwork-wide { margin-top: 0; }
  .artwork-tall img, .artwork-small img, .artwork-wide img { max-height: 360px; }
  .artwork-vessels { max-width: 390px; }
  figcaption { align-items: flex-start; flex-wrap: wrap; }
  .artwork-status { max-width: 175px; }
  .about { padding-top: 80px; padding-bottom: 90px; }
  .subject-intro { display: block; margin: 58px 0 70px; }
  .subject-figure { width: min(82%, 320px); }
  .subject-note { margin: 40px 0 0 auto; }
  .about-grid { display: block; margin-top: 58px; }
  .facts { margin-top: 58px; }
  .selected-record { margin-top: 75px; }
  .record-list { display: block; }
  .record-item { min-height: 0; }
  .site-footer { display: block; padding-top: 40px; }
  .footer-contact { margin: 45px 0; }
  .footer-meta { justify-content: space-between; }
  .threshold::after { right: 18px; top: 46vh; }
}

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

/* Temporary reading mode for copy editing. Remove the body class when the text is final. */
.light-edit-mode {
  --ink: #11110f;
  --muted: #5b5a55;
  --line: #d0cec7;
  --deep: #ffffff;
  --panel: #f6f5f1;
  --accent: #11110f;
  --blood: #77736b;
  background: #fff;
  color: #11110f;
}
.light-edit-mode::before,
.light-edit-mode .surface-fracture { display: none; }
.light-edit-mode .site-header,
.light-edit-mode .statement,
.light-edit-mode .process,
.light-edit-mode .archive,
.light-edit-mode .about,
.light-edit-mode .site-footer { background: #fff; }
.light-edit-mode .site-header { background: rgba(255, 255, 255, .96); }
.light-edit-mode .lead,
.light-edit-mode .statement-copy,
.light-edit-mode .process-lead,
.light-edit-mode .process-step p,
.light-edit-mode .series-intro p,
.light-edit-mode .about-copy,
.light-edit-mode .facts dd,
.light-edit-mode .record-item p { color: #2f2f2b; }
.light-edit-mode h1 { text-shadow: none; }
