:root {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-synthesis: none;
  color-scheme: dark;
  --paper: #000;
  --surface: #101010;
  --ink: #f5f5f5;
  --muted: #929292;
  --faint: #777;
  --line: #252525;
  --wash: #181818;
  --accent: #43c59a;
  --accent-ink: #071c15;
  color: var(--ink);
  background: var(--paper);
}
html[data-theme='light'] {
  color-scheme: light;
  --paper: #fafafa;
  --surface: #fff;
  --ink: #141414;
  --muted: #6c6c6c;
  --faint: #727272;
  --line: #dedede;
  --wash: #ededed;
  --accent: #217c60;
  --accent-ink: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 35px; }
body { margin: 0; }
button { font: inherit; cursor: pointer; color: inherit; background: none; border: 0; padding: 0; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
:is(button, a):focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
p { line-height: 1.65; }
[hidden] { display: none !important; }
.page { max-width: 1440px; margin: auto; padding: 0 44px; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 14px; background: var(--surface); z-index: 10; }
.skip-link:focus { top: 15px; }

/* The same quiet framing as the shop; the character is the object. */
.header { height: 94px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; }
.header nav { display: flex; gap: 27px; color: var(--muted); font-size: 12px; }
.header nav :is(a, button):hover { color: var(--ink); }
.brand { font-size: 28px; font-weight: 650; letter-spacing: -1.5px; line-height: 1; }
.brand span, .footer-brand span { color: var(--accent); }
.header-actions { display: flex; justify-content: flex-end; gap: 12px; align-items: center; }
.theme-toggle { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); }
.theme-toggle:hover { color: var(--ink); background: var(--surface); }
.x-button { font-size: 12px; min-height: 34px; display: flex; align-items: center; gap: 11px; border-radius: 9px; padding: 0 10px; color: var(--muted); }
.x-button svg { color: var(--ink); }
.x-button:hover { background: var(--wash); color: var(--ink); }
.hero { min-height: 655px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: 8%; padding: 22px 4% 72px 0; }
.portrait { height: 545px; min-width: 0; display: flex; flex-direction: column; }
.portrait-top, .portrait-bottom { font-size: 9px; color: var(--faint); display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 8px; }
.portrait-top { font-family: Menlo, monospace; font-size: 8px; }
.portrait-bottom button { font-size: 9px; color: var(--faint); display: inline-flex; align-items: center; gap: 7px; min-height: 30px; }
.portrait-bottom button:hover { color: var(--ink); }
.pause-icon { font-size: 11px; }
.portrait-stage { position: relative; flex: 1; min-height: 0; }
#mind { display: block; width: 100%; height: 100%; }
#focus-open { position: absolute; bottom: 14px; right: 9px; display: grid; place-items: center; width: 32px; height: 32px; color: var(--faint); border-radius: 50%; opacity: .5; transition: opacity .2s, background .2s; }
.portrait-stage:hover #focus-open, #focus-open:focus-visible { opacity: 1; }
#focus-open:hover { background: var(--surface); color: var(--ink); }
.introduction { max-width: 350px; padding-top: 15px; }
.eyebrow { font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.status-dot { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
h1 { font-size: 64px; font-weight: 450; line-height: 1.03; letter-spacing: -3px; margin: 27px 0 28px; }
h1 > span { color: var(--muted); }
.interests { font-size: 16px; line-height: 1.65; letter-spacing: -.2px; max-width: 250px; }
.premise { margin-top: 20px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 28px; }
.primary-button, .quiet-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 23px; min-height: 40px; padding: 11px 15px; border-radius: 10px; font-size: 11px; font-weight: 500; }
.primary-button { background: var(--accent); color: var(--accent-ink); border: 1px solid transparent; }
.primary-button:hover { filter: brightness(1.1); }
.quiet-button { background: var(--surface); border: 1px solid var(--line); }
.quiet-button:hover { background: var(--wash); }
.text-button { font-size: 10px; display: flex; gap: 8px; align-items: center; color: var(--muted); min-height: 40px; }
.text-button:hover { color: var(--ink); }
.hero-footnote { display: flex; align-items: center; gap: 12px; font-size: 9px; color: var(--faint); margin-top: 38px; }
.footnote-line { width: 20px; height: 1px; background: var(--line); }
.identity-review-link { display: inline-block; font-size: 9px; color: var(--accent); margin-top: 18px; padding: 5px 0; }

/* A small selection of writing, with no feed or dashboard chrome. */
.thoughts-section, .art-section { border-top: 1px solid var(--line); padding-top: 26px; }
.section-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.section-title { display: flex; align-items: center; gap: 19px; }
.section-title h2 { font-size: 12px; font-weight: 450; }
.section-number { font-family: Menlo, monospace; font-size: 8px; color: var(--faint); }
.section-aside { font-size: 9px; color: var(--muted); }
.thought-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 43px 0 52px; }
.thought { padding: 0 36px; min-width: 0; border-left: 1px solid var(--line); }
.thought:first-child { padding-left: 0; border-left: 0; }
.thought:last-child { padding-right: 0; }
.thought-topic { font-size: 9px; color: var(--muted); }
.thought > p { font-size: 19px; font-weight: 400; letter-spacing: -.35px; line-height: 1.55; max-width: 325px; margin-top: 22px; }

/* A single work, given room to breathe. */
.artwork { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: stretch; gap: 65px; margin-top: 36px; }
.art-stage { display: block; width: 100%; position: relative; overflow: hidden; aspect-ratio: 1.67; background: #eeeee7; color: #20251f; }
.art-stage canvas { display: block; width: 100%; height: 100%; }
.expand-icon { position: absolute; bottom: 16px; right: 18px; display: grid; place-items: center; border-radius: 50%; width: 28px; height: 28px; color: #20251f; font-size: 15px; transition: transform .2s; }
.art-stage:hover .expand-icon { transform: translate(2px, -2px); }
.study-corner { position: absolute; bottom: 23px; left: 23px; font-family: Menlo, monospace; font-size: 8px; color: #6e7267; }
.artwork figcaption { display: flex; flex-direction: column; justify-content: space-between; padding: 35px 0 20px; }
.art-kicker { display: block; font-size: 9px; color: var(--muted); margin-bottom: 22px; }
.artwork h3 { font-size: 34px; font-weight: 400; letter-spacing: -1.1px; }
.artwork h3 span { color: var(--accent); }
.art-observation { font-size: 13px; color: var(--muted); margin-top: 21px; line-height: 1.75; }
.art-caption-bottom { margin-top: 26px; }
.art-credit { display: block; font-size: 9px; color: var(--faint); margin-bottom: 4px; }
.art-caption-bottom .text-button { font-size: 11px; color: var(--ink); gap: 22px; }
.closing { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-top: 80px; padding: 56px 0 60px; border-top: 1px solid var(--line); }
.closing h2 { font-size: 32px; font-weight: 400; letter-spacing: -1px; line-height: 1.3; }
.closing p { font-size: 11px; color: var(--muted); margin-top: 13px; }
.closing-action { text-align: right; }
.coming-note { display: block; font-size: 9px; color: var(--faint); margin-top: 12px; }
footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding: 24px 0 30px; font-size: 9px; color: var(--muted); }
.footer-brand { font-size: 22px; font-weight: 600; letter-spacing: -1px; color: var(--ink); justify-self: start; }
footer button { font-size: 9px; color: var(--muted); justify-self: end; min-height: 30px; }
footer button:hover { color: var(--ink); }

/* Native dialogs preserve focus trapping, Escape and keyboard access. */
dialog { width: min(460px, calc(100% - 28px)); max-height: calc(100dvh - 28px); border: 1px solid var(--line); border-radius: 18px; padding: 18px 25px 28px; background: var(--surface); color: var(--ink); overflow: auto; box-shadow: 0 24px 80px #0007; }
dialog::backdrop { background: #000c; }
.modal-top { display: flex; justify-content: space-between; align-items: center; gap: 15px; font-size: 11px; color: var(--muted); margin-bottom: 22px; }
.close-button { width: 32px; height: 32px; flex-shrink: 0; font-size: 22px; border-radius: 50%; }
.close-button:hover { background: var(--wash); color: var(--ink); }
dialog h2 { font-size: 28px; font-weight: 450; letter-spacing: -1px; line-height: 1.25; margin-bottom: 20px; }
dialog p { font-size: 12px; color: var(--muted); margin-bottom: 17px; }
.about-note { border-block: 1px solid var(--line); padding: 24px 0; margin: 25px 0; font-size: 16px; line-height: 1.6; }
dialog .small-note { font-size: 10px; margin-bottom: 0; }
.social-line { padding: 15px 0; color: var(--ink); }
.art-dialog { width: min(960px, calc(100% - 28px)); padding: 16px 22px 26px; }
.art-dialog .modal-top { margin-bottom: 15px; }
#art-dialog-image { background: #eeeee7; }
#art-dialog-image canvas { display: block; width: 100%; height: auto; aspect-ratio: 1.67; }
.art-dialog-info { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 23px; }
.art-dialog-info h2 { font-size: 22px; margin-bottom: 8px; }
.art-dialog-info p { font-size: 10px; }
.art-dialog-description { max-width: 620px; }
#focus-dialog { position: fixed; inset: 0; margin: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; border: 0; border-radius: 0; padding: 26px 40px; background: var(--paper); }
#focus-dialog[open] { display: flex; flex-direction: column; }
.focus-top { display: flex; align-items: center; justify-content: space-between; }
.focus-top h2 { margin: 0; font-size: 27px; letter-spacing: -1.5px; font-weight: 650; }
.focus-top .close-button { color: var(--muted); }
#focus-stage { flex: 1; min-height: 0; width: min(100%, 1100px); margin: 0 auto; }
.focus-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 10px; color: var(--muted); }
.focus-bottom > span:first-child { font: 9px Menlo, monospace; }
.focus-bottom button { min-height: 34px; font-size: 10px; display: flex; gap: 8px; align-items: center; }

@media (min-width: 1450px) {
  .hero { min-height: 720px; }
  .portrait { height: 590px; }
}
@media (max-width: 1050px) {
  .page { padding: 0 28px; }
  .hero { gap: 6%; padding-right: 0; grid-template-columns: 1.15fr 1fr; min-height: 600px; }
  .portrait { height: 475px; }
  h1 { font-size: 55px; }
  .hero-actions { gap: 16px; }
  .thought { padding-inline: 25px; }
  .thought > p { font-size: 17px; }
  .artwork { gap: 40px; }
  .artwork figcaption { padding: 15px 0 0; }
  .artwork h3 { font-size: 30px; }
  .art-observation { font-size: 12px; }
}
@media (max-width: 700px) {
  .page { padding: 0 20px; }
  .header { height: auto; min-height: 98px; display: flex; flex-wrap: wrap; gap: 16px; padding: 22px 0 16px; }
  .brand { order: -2; margin-right: auto; font-size: 27px; }
  .header-actions { order: -1; gap: 8px; }
  .header nav { width: 100%; font-size: 11px; gap: 27px; }
  .theme-toggle { width: 32px; height: 32px; }
  .hero { grid-template-columns: 1fr; gap: 25px; padding: 22px 0 42px; min-height: 0; }
  .portrait { height: 260px; }
  .portrait-top, .portrait-bottom { padding: 0; }
  .portrait-bottom { font-size: 8px; }
  .portrait-bottom button { font-size: 8px; }
  .introduction { padding: 0; max-width: none; }
  .eyebrow { font-size: 9px; }
  h1 { font-size: 49px; line-height: 1.02; margin: 18px 0 20px; letter-spacing: -2.2px; }
  .interests { font-size: 15px; max-width: 250px; }
  .premise { font-size: 12px; line-height: 1.8; margin-top: 18px; }
  .hero-actions { margin-top: 24px; gap: 21px; }
  .primary-button { min-height: 42px; font-size: 11px; }
  .text-button { font-size: 10px; }
  .hero-footnote { font-size: 8px; margin-top: 28px; gap: 10px; }
  .thoughts-section, .art-section { padding-top: 22px; }
  .section-title { gap: 12px; }
  .section-title h2 { font-size: 11px; }
  .section-aside { font-size: 8px; }
  .thought-grid { grid-template-columns: 1fr; margin: 30px 0 35px; gap: 25px; }
  .thought, .thought:first-child, .thought:last-child { padding: 0 0 25px; border: 0; border-bottom: 1px solid var(--line); }
  .thought:last-child { padding-bottom: 0; border-bottom: 0; }
  .thought > p { font-size: 20px; line-height: 1.5; max-width: 440px; margin-top: 16px; }
  .thought-topic { font-size: 9px; }
  .artwork { grid-template-columns: 1fr; gap: 0; margin-top: 25px; }
  .artwork figcaption { padding: 25px 0 0; display: grid; grid-template-columns: 1fr; gap: 20px; }
  .art-kicker { font-size: 8px; margin-bottom: 13px; }
  .artwork h3 { font-size: 29px; }
  .art-observation { font-size: 12px; margin-top: 14px; }
  .art-caption-bottom { margin-top: 0; }
  .art-credit { font-size: 8px; }
  .art-caption-bottom .text-button { font-size: 10px; }
  .expand-icon { width: 24px; height: 24px; font-size: 13px; right: 10px; bottom: 10px; }
  .study-corner { left: 16px; bottom: 17px; }
  .closing { align-items: flex-start; flex-direction: column; gap: 24px; margin-top: 40px; padding: 35px 0; }
  .closing h2 { font-size: 29px; }
  .closing p { font-size: 11px; max-width: 275px; margin-top: 12px; }
  .closing-action { text-align: left; display: flex; align-items: center; gap: 18px; }
  .coming-note { font-size: 8px; margin: 0; }
  footer { grid-template-columns: 1fr auto; gap: 12px; padding-top: 20px; }
  footer > span { grid-column: 1; grid-row: 2; font-size: 8px; }
  footer > button { grid-column: 2; grid-row: 1 / 3; font-size: 8px; }
  .footer-brand { font-size: 22px; }
  .art-dialog { padding: 12px 14px 20px; }
  .art-dialog-info { flex-wrap: wrap; gap: 0; padding-bottom: 20px; }
  .art-dialog-info h2 { font-size: 21px; }
  .art-dialog .modal-top { font-size: 10px; }
  #focus-dialog { padding: 20px; }
  .focus-caption { display: none; }
  #focus-open { opacity: 1; }
}
@media (max-width: 360px) {
  .portrait { height: 235px; }
  .hero-actions { gap: 15px; }
  .primary-button { gap: 16px; padding-inline: 12px; }
  .text-button { font-size: 9px; }
  .closing-action { gap: 12px; }
  .coming-note { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
