/* =========================================================
   ABOUT.CSS — /about, the operator dossier (entry [00]).

   /about used to ride on page.css, the auth-notice shell: one small centred
   card on the void. That shape is right for "check your email" and wrong for
   700 words — it rendered a reading page as a modal dialog. So /about has its
   own sheet now, and page.css is back to being the notice shell only.

   Shape: a real page of the site — homepage topbar and footer, the same
   1180px measure — opening with a gradient-clipped NICK, then a two-column
   dossier: a sticky data rail (portrait + mono key/value facts) beside the
   prose. The rail is the idea: about isn't a written page, it's the zeroth
   entry in the registry, so it carries the same accession chip and status dot
   as a project card.

   The topbar/footer rules are duplicated from homepage.css rather than
   extracted. The homepage stays deliberately self-contained (its ambient layer
   makes it a different animal), and a third "chrome" sheet for two consumers
   would cost an extra request to save forty lines.

   Same rules as decision #6 — no blur on text, no animation on a timer.
   ========================================================= */

:root {
  color-scheme: dark;
  --void: #131318; --panel: #1c1c25; --panel-2: #232230; --edge: #2e2d3a;
  --ink: #edeaf4; --dim: #a09aae; --faint: #6d6880;
  --signal: #ffb600; --magenta: #f20089; --cerise: #e500a4; --indigo: #6a00f4;
  --gradient: linear-gradient(105deg, #2d00f7 0%, #8900f2 45%, #f20089 100%);
  --font-display: 'Avenir Next Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { background: var(--void); }
body {
  background: var(--void);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
}

/* Same measure as the homepage, so the two pages sit on one grid. */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

/* ---------- site chrome ----------
   No ambient toggle here: the ambient layer is homepage-only, so the nav
   carries just the return link (decision #7 — still not a nav bar). */
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 1.1rem 0;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em;
  color: var(--dim);
  border-bottom: 1px solid var(--edge);
}
.topbar .brand { color: inherit; text-decoration: none; }
.topbar .brand b { color: var(--ink); font-weight: 700; }
.topbar .brand:hover b { color: var(--cerise); }
.topnav a {
  color: var(--dim); text-decoration: none;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: color 150ms ease, border-color 150ms ease;
}
.topnav a:hover, .topnav a:focus-visible { color: var(--ink); border-bottom-color: var(--cerise); }

/* ---------- hero ----------
   Deliberately smaller than the homepage wordmark (11rem): this page is
   entry [00], not the index itself. Same gradient clip and same static
   chromatic aberration, so the family resemblance is unmistakable. */
.hero { padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(1.8rem, 4vw, 2.6rem); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cerise);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900; font-stretch: condensed;
  font-size: clamp(3.2rem, 11vw, 6.5rem);
  line-height: 0.9; letter-spacing: -0.02em; text-transform: uppercase;
  margin-top: 0.8rem;
  position: relative; display: inline-block;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero h1::before, .hero h1::after {
  content: attr(data-text);
  position: absolute; inset: 0; z-index: -1;
  background: none; -webkit-text-fill-color: currentColor;
}
.hero h1::before { color: var(--magenta); transform: translate(-3px, 2px); opacity: 0.55; }
.hero h1::after  { color: var(--indigo);  transform: translate(3px, -2px); opacity: 0.65; }

.hero .lead {
  max-width: 42em; margin-top: 1.4rem;
  color: var(--dim); font-size: 1.05rem; text-wrap: pretty;
}

/* ---------- the dossier: data rail + reading column ----------
   The rail holds the facts that would otherwise be buried in prose, and stays
   put while the prose scrolls past it. */
.dossier {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-top: 2.5rem;
  border-top: 1px solid var(--edge);
}

.rail { position: sticky; top: 2rem; align-self: start; }

/* Portrait treatment: a photograph has to earn its place in an all-type site.
   Hard frame, grayscale + a magenta/indigo duotone wash, static scanlines — it
   reads as a transmission still at rest, and warms toward the real photo on
   hover (the one place motion is allowed here; reduced-motion drops it). */
.portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5; /* the frame owns the ratio, so the img fills it in both
                          dimensions and the HTML height attr can't leak
                          through. me.jpg is pre-cropped to 4:5. */
  border: 1px solid var(--edge);
  overflow: hidden;
  line-height: 0;
}
.portrait img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(1.02);
  transition: filter 300ms ease;
}
.portrait::before { /* duotone wash */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(106, 0, 244, 0.30), rgba(242, 0, 137, 0.20));
  mix-blend-mode: screen; pointer-events: none;
  transition: opacity 300ms ease;
}
.portrait::after { /* scanlines */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0, 0, 0, 0.22) 2px 3px);
}
.portrait:hover img { filter: grayscale(0.1) contrast(1.02) brightness(1.02); }
.portrait:hover::before { opacity: 0.4; }

/* The accession chip, the same object that sits on every project card. */
.portrait .index {
  position: absolute; top: 0; left: 0; z-index: 2;
  background: var(--gradient); color: var(--void);
  font-family: var(--font-mono);
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em;
  padding: 0.5em 1.1em; line-height: 1.4;
}

.specs { margin-top: 1.4rem; }
.specs div { padding: 0.7rem 0; border-top: 1px solid var(--edge); }
.specs dt {
  font-family: var(--font-mono);
  font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint);
}
.specs dd {
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.06em;
  color: var(--dim);
  margin-top: 0.3rem;
}
/* Yellow stays the reserved signal colour, and the dot is the same one the
   project cards use for Status::Live. */
.specs .live { color: var(--signal); }
.specs .live::before { content: '●'; margin-right: 0.6em; font-size: 0.75em; vertical-align: 1px; }

/* ---------- reading column ---------- */
.body { color: var(--dim); }
.body section + section {
  margin-top: 2.8rem; padding-top: 2.8rem;
  border-top: 1px solid var(--edge);
}
.body h2 {
  font-family: var(--font-display);
  font-weight: 900; font-stretch: condensed;
  font-size: 1.6rem; text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--ink);
}
.body p { margin-top: 1rem; max-width: 64ch; line-height: 1.7; text-wrap: pretty; }
.body a { color: var(--cerise); text-decoration: underline; text-underline-offset: 3px; }
.body a:hover { color: var(--ink); }

/* ---------- the log (THE NAME) ----------
   The domain's history is the one genuinely sequential thing on the page, so
   it gets the gutter treatment. Labels rather than years: only the
   registration has a real date, and inventing the others would be a lie in
   mono. */
.log { list-style: none; margin-top: 1.4rem; }
.log li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--edge);
}
.log li:last-child { border-bottom: 1px solid var(--edge); }
.log .when {
  font-family: var(--font-mono);
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cerise);
  padding-top: 0.35rem;
}
.log p { margin-top: 0; max-width: 58ch; }

/* ---------- colophon as a spec sheet ----------
   It was already a list of key/value facts wearing bullet points. */
.sheet { margin-top: 1.4rem; }
.sheet div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1.2rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--edge);
}
.sheet div:last-child { border-bottom: 1px solid var(--edge); }
.sheet dt {
  font-family: var(--font-mono);
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--faint);
  padding-top: 0.2rem;
}
.sheet dd { color: var(--dim); }

/* ---------- footer ---------- */
footer {
  margin-top: 4rem; padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--edge);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--faint);
}
footer p + p { margin-top: 0.6rem; }
footer a {
  color: var(--dim); text-decoration: underline; text-underline-offset: 4px;
  transition: color 150ms ease;
}
footer a:hover { color: var(--cerise); }

:where(a, button):focus-visible { outline: 2px solid var(--cerise); outline-offset: 3px; }

/* ---------- narrow ---------- */
@media (max-width: 760px) {
  .dossier { grid-template-columns: 1fr; gap: 2.2rem; }
  /* The rail folds into a band: portrait beside the facts, not a giant photo. */
  .rail {
    position: static;
    display: grid;
    grid-template-columns: minmax(120px, 150px) minmax(0, 1fr);
    gap: 1.4rem;
    align-items: start;
  }
  .specs { margin-top: 0; }
  .specs div:first-child { border-top: 0; padding-top: 0; }
  .log li { grid-template-columns: 1fr; gap: 0.4rem; }
  .log .when { padding-top: 0; }
  .sheet div { grid-template-columns: 1fr; gap: 0.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
