/* Six compositions over the same content and navigation. */
.home-hero > *, .writing-feature > *, .featured-project > *, .contact-grid > * { min-width: 0; }
.home-hero { position: relative; }
.hero-actions a, .project-link, .contact-actions a { min-height: 44px; }
.edition-picker { isolation: isolate; }

/* FIELD NOTES — paper, a wide serif opening and a quiet outer margin. */
html[data-edition="field-notes"] {
  --paper: #f5f2e9; --ink: #092b23; --muted: #49534f;
  --accent: #235c42; --line: #b8bdb3; --code-bg: #e9eade;
}
html[data-edition="field-notes"] .is-home {
  background-image: linear-gradient(#36553b08 1px, transparent 1px), linear-gradient(90deg, #36553b08 1px, transparent 1px);
  background-size: 24px 24px;
}
html[data-edition="field-notes"] .site-header { min-height: 86px; }
html[data-edition="field-notes"] .primary-nav { margin-right: 21%; }
html[data-edition="field-notes"] .home-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) 260px;
  column-gap: 44px; row-gap: 32px; padding: 65px 0 42px;
}
html[data-edition="field-notes"] .hero-title {
  grid-column: 1; font-size: clamp(88px, 11.1vw, 160px);
  line-height: .91; letter-spacing: -.055em; font-weight: 550;
}
html[data-edition="field-notes"] .hero-intro { grid-column: 1; }
html[data-edition="field-notes"] .hero-description { margin-bottom: 0; max-width: 47ch; }
html[data-edition="field-notes"] .hero-actions { display: none; }
html[data-edition="field-notes"] .hero-margin {
  display: flex; flex-direction: column; align-items: flex-start;
  grid-column: 2; grid-row: 1 / 3; border-left: 1px solid var(--line);
  padding: 22px 0 10px 62px;
}
html[data-edition="field-notes"] .hero-margin > p {
  font: 400 12px/1.5 var(--sans); text-transform: uppercase;
  letter-spacing: .14em; margin-bottom: 43px; white-space: nowrap;
}
html[data-edition="field-notes"] .hero-margin > a {
  text-decoration: none; min-height: 44px; padding: 6px 0;
  margin-bottom: 26px; font-size: 20px;
}
html[data-edition="field-notes"] .hero-margin > a:first-of-type { border-bottom: 1px solid var(--accent); }
html[data-edition="field-notes"] .margin-note {
  margin-top: auto; margin-left: 10px; padding-bottom: 12px;
  font: italic 32px/1.13 var(--serif); letter-spacing: .01em;
  color: #577166; border-bottom: 1px solid #789185; transform: rotate(-8deg);
}
html[data-edition="field-notes"] .home-content,
html[data-edition="field-notes"] .is-home .site-footer { background-color: #f5f2e9e8; }
html[data-edition="field-notes"] .home-content { counter-reset: chapter; }
html[data-edition="field-notes"] .home-content > section { counter-increment: chapter; }
html[data-edition="field-notes"] .home-content .section-heading::before {
  content: counter(chapter, decimal-leading-zero); color: var(--muted);
  font: 400 14px/1 var(--sans); min-width: 25px;
}
html[data-edition="field-notes"] .featured-project,
html[data-edition="field-notes"] .secondary-projects,
html[data-edition="field-notes"] .writing-feature,
html[data-edition="field-notes"] .experience-strip { margin-inline: 62px 0; }
html[data-edition="field-notes"] .featured-project { grid-template-columns: 1.2fr .8fr; gap: 64px; }
html[data-edition="field-notes"] .featured-project h3 { font-size: clamp(48px, 6.5vw, 90px); max-width: 13ch; font-weight: 550; }
html[data-edition="field-notes"] .featured-project p:not(.project-label) { font-size: 21px; line-height: 1.5; }
html[data-edition="field-notes"] .featured-project .text-link { font-family: var(--serif); font-size: 26px; }
html[data-edition="field-notes"] .project-vignette { font-size: clamp(34px, 4.2vw, 60px); padding-left: 55px; line-height: 1.4; }
html[data-edition="field-notes"] .project-row { grid-template-columns: 1.1fr 1fr auto; }
html[data-edition="field-notes"] .project-row > p { border-left: 1px solid var(--line); padding-left: 35px; }
html[data-edition="field-notes"] .writing-title { font-size: clamp(43px, 4.9vw, 70px); font-weight: 550; }
html[data-edition="field-notes"] .writing-context time::after {
  content: ""; display: block; width: 48px; height: 1px;
  margin-top: 20px; background: var(--accent);
}
html[data-edition="field-notes"] .is-home .contact-band > .section-label::before {
  content: "04"; display: inline-block; min-width: 62px; color: var(--muted); letter-spacing: 0;
}
html[data-edition="field-notes"] .is-home .contact-grid { margin-left: 62px; }

/* NIGHT EDITION — a split identity and a full-width literary feature. */
html[data-edition="night-edition"] {
  --paper: #0e211d; --ink: #f0e9d8; --muted: #c5cdc5;
  --accent: #e1a167; --line: #506058; --code-bg: #1c342c;
  --heading: var(--sans); color-scheme: dark;
}
html[data-edition="night-edition"] .wordmark { font-size: 28px; letter-spacing: -.035em; }
html[data-edition="night-edition"] .home-hero {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 80px; align-items: center; padding: 65px 0 58px; min-height: 450px;
  isolation: isolate;
}
html[data-edition="night-edition"] .home-hero::before {
  content: ""; position: absolute; width: 895px; height: 570px;
  top: -185px; left: -228px; border: 1px solid #c48c536b;
  border-radius: 50%; transform: rotate(-7deg); z-index: -1; pointer-events: none;
}
html[data-edition="night-edition"] .hero-title {
  font-size: clamp(96px, 9.7vw, 140px); font-weight: 760; line-height: .93; letter-spacing: -.063em;
}
html[data-edition="night-edition"] .night-identity {
  display: block; font-size: clamp(28px, 3.05vw, 43px); line-height: 1.18;
  letter-spacing: -.025em; margin-bottom: 26px;
}
html[data-edition="night-edition"] .hero-description { font-size: 22px; line-height: 1.65; margin-bottom: 0; }
html[data-edition="night-edition"] .hero-actions { gap: 24px; margin-top: 28px; }
html[data-edition="night-edition"] .hero-actions .button-link,
html[data-edition="night-edition"] .contact-actions .button-link {
  padding: 5px 0; border: 0; border-bottom: 1px solid var(--accent);
  border-radius: 0; color: var(--accent); background: transparent;
}
html[data-edition="night-edition"] .hero-actions a,
html[data-edition="night-edition"] .contact-actions a { color: var(--accent); font-size: 17px; }
html[data-edition="night-edition"] .section-heading { justify-content: space-between; margin-bottom: 37px; }
html[data-edition="night-edition"] .section-heading::after { display: none; }
html[data-edition="night-edition"] .section-label { color: #d1c8ab; font-size: 12px; }
html[data-edition="night-edition"] .featured-project {
  position: relative; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 10px 90px; margin-bottom: 36px;
}
html[data-edition="night-edition"] .featured-project-copy { display: contents; }
html[data-edition="night-edition"] .featured-project::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 54%; width: 1px; background: var(--line);
}
html[data-edition="night-edition"] .featured-project h3 {
  grid-column: 1; grid-row: 1; font-size: clamp(52px, 6.2vw, 87px);
  line-height: .97; font-weight: 740; letter-spacing: -.055em; margin-bottom: 12px;
}
html[data-edition="night-edition"] .featured-project .project-label {
  grid-column: 1; grid-row: 2; color: var(--muted); font-size: 15px; align-self: end; margin-bottom: 0;
}
html[data-edition="night-edition"] .featured-project p:not(.project-label) {
  grid-column: 2; grid-row: 1; align-self: start; margin-top: 12px; font-size: 25px; line-height: 1.6;
}
html[data-edition="night-edition"] .featured-project .text-link {
  grid-column: 2; grid-row: 2; justify-self: start; align-self: start; color: var(--accent); font-size: 21px;
}
html[data-edition="night-edition"] .project-vignette { display: none; }
html[data-edition="night-edition"] .project-row { grid-template-columns: 1fr 1fr auto; padding-block: 27px; }
html[data-edition="night-edition"] .project-row .project-label { display: none; }
html[data-edition="night-edition"] .project-row h3 { font-size: 39px; font-weight: 650; letter-spacing: -.045em; }
html[data-edition="night-edition"] .project-row > p { padding-left: 32px; border-left: 1px solid var(--line); font-size: 18px; }
html[data-edition="night-edition"] .project-link { color: var(--accent); }
html[data-edition="night-edition"] .home-writing { padding-block: 36px 42px; }
html[data-edition="night-edition"] .writing-feature { display: block; }
html[data-edition="night-edition"] .writing-title {
  font: 550 clamp(49px, 6.2vw, 86px)/1.01 var(--serif);
  letter-spacing: -.04em; max-width: 29ch;
}
html[data-edition="night-edition"] .writing-context { max-width: 76ch; padding-top: 23px; font-size: 20px; }
html[data-edition="night-edition"] .writing-context time { margin-bottom: 17px; }
html[data-edition="night-edition"] .writing-context p { max-width: 69ch; margin-bottom: 12px; }
html[data-edition="night-edition"] .writing-context .text-link { font-family: var(--sans); color: var(--accent); font-size: 21px; }
html[data-edition="night-edition"] .experience-entry h3 { font-size: 25px; font-weight: 600; }
html[data-edition="night-edition"] .contact-grid h2 { font: 550 clamp(45px, 5.3vw, 75px)/1.04 var(--serif); letter-spacing: -.035em; }
html[data-edition="night-edition"] .article-header h1,
html[data-edition="night-edition"] .article-prose h2,
html[data-edition="night-edition"] .article-prose h3,
html[data-edition="night-edition"] .writing-index h2 { font-family: var(--serif); font-weight: 550; }
html[data-edition="night-edition"] .article-header h1 { font-size: clamp(49px, 6vw, 84px); }
html[data-edition="night-edition"] .prose pre { color: #ececd5; border-color: #486356; }

/* THE WORKING INDEX — a persistent rail and numbered typographic register. */
html[data-edition="working-index"] {
  --paper: #fafbf8; --ink: #101720; --muted: #535e70;
  --accent: #143de2; --line: #b7c0cc; --code-bg: #edf0f5;
  --heading: var(--sans); --rail-width: clamp(230px, 20.5vw, 300px);
  --entry-gutter: clamp(125px, 12.8vw, 185px);
}
html[data-edition="working-index"] .site-shell {
  max-width: 1440px; padding-left: calc(var(--rail-width) + 48px); padding-right: 48px;
}
html[data-edition="working-index"] .site-header {
  position: fixed; left: max(0px, calc((100vw - 1440px) / 2)); top: 0; bottom: 0;
  width: var(--rail-width); height: 100dvh; min-height: 0; padding: 53px clamp(25px, 3.8vw, 55px) 38px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0;
  background: var(--paper); border-bottom: 0; border-right: 1px solid #788294; z-index: 20;
  overflow-y: auto;
}
html[data-edition="working-index"] .wordmark { font-size: 23px; gap: 10px; font-weight: 500; letter-spacing: -.04em; }
html[data-edition="working-index"] .brand-dot { border-radius: 0; width: 9px; height: 9px; background: #e54b32; }
html[data-edition="working-index"] .rail-role { display: block; font-size: 14px; color: #727e8e; margin-top: 5px; }
html[data-edition="working-index"] .primary-nav { flex-direction: column; align-items: flex-start; gap: 5px; margin-top: 38px; }
html[data-edition="working-index"] .primary-nav a { font-size: 18px; padding-block: 12px; }
html[data-edition="working-index"] .rail-location { display: block; margin-top: auto; padding-top: 24px; color: #727e8e; font-size: 14px; }
html[data-edition="working-index"] .home-hero { padding: 90px 0 38px; }
html[data-edition="working-index"] .hero-title { color: var(--accent); font-size: clamp(83px, 9.4vw, 136px); font-weight: 760; letter-spacing: -.065em; line-height: .92; }
html[data-edition="working-index"] .hero-intro { margin-top: 30px; }
html[data-edition="working-index"] .hero-description { max-width: 45ch; font-size: 26px; line-height: 1.45; margin-bottom: 0; color: var(--ink); }
html[data-edition="working-index"] .hero-actions { margin-top: 24px; }
html[data-edition="working-index"] .hero-actions .text-link { color: var(--accent); }
html[data-edition="working-index"] .section-heading { justify-content: space-between; margin-bottom: 31px; }
html[data-edition="working-index"] .section-heading::after { display: none; }
html[data-edition="working-index"] .section-label { font-size: 12px; }
html[data-edition="working-index"] .home-work { counter-reset: project; }
html[data-edition="working-index"] .featured-project,
html[data-edition="working-index"] .project-row {
  display: block; position: relative; counter-increment: project; padding-left: var(--entry-gutter);
}
html[data-edition="working-index"] .featured-project { margin-bottom: 25px; }
html[data-edition="working-index"] .featured-project::before,
html[data-edition="working-index"] .project-row::before {
  content: counter(project, decimal-leading-zero); position: absolute;
  left: 0; top: 3px; color: var(--muted); font-size: 16px;
}
html[data-edition="working-index"] .project-row::before { top: 27px; }
html[data-edition="working-index"] .featured-project::after,
html[data-edition="working-index"] .project-row::after {
  content: ""; position: absolute; left: calc(var(--entry-gutter) - 72px);
  top: 0; bottom: 0; width: 1px; background: var(--line);
}
html[data-edition="working-index"] .project-row::after { top: 25px; bottom: 25px; }
html[data-edition="working-index"] .featured-project h3,
html[data-edition="working-index"] .project-row h3 { max-width: none; font-size: 40px; line-height: 1.1; font-weight: 660; letter-spacing: -.045em; margin: 0 0 6px; }
html[data-edition="working-index"] .project-label { color: var(--ink); font-size: 12px; margin-bottom: 8px; }
html[data-edition="working-index"] .featured-project p:not(.project-label),
html[data-edition="working-index"] .project-row > p { color: var(--muted); font-size: 21px; line-height: 1.45; margin-bottom: 7px; max-width: none; }
html[data-edition="working-index"] .project-vignette { display: none; }
html[data-edition="working-index"] .project-link,
html[data-edition="working-index"] .featured-project .text-link { color: var(--accent); font-size: 19px; width: fit-content; border-bottom: 1px solid var(--accent); }
html[data-edition="working-index"] .project-link > span:first-child { display: inline; }
html[data-edition="working-index"] .writing-feature { display: grid; grid-template-columns: var(--entry-gutter) minmax(0, 1fr); gap: 0; }
html[data-edition="working-index"] .writing-title { grid-column: 2; grid-row: 1; color: var(--accent); font-size: clamp(42px, 4.3vw, 60px); font-weight: 700; line-height: 1.03; letter-spacing: -.055em; }
html[data-edition="working-index"] .writing-context { display: contents; }
html[data-edition="working-index"] .writing-context time { grid-column: 1; grid-row: 1; margin: 8px 0 0; font-size: 14px; color: #707986; }
html[data-edition="working-index"] .writing-context p { grid-column: 2; grid-row: 2; margin: 16px 0 12px; font-size: 20px; }
html[data-edition="working-index"] .writing-context .text-link { grid-column: 2; grid-row: 3; justify-self: start; font-size: 20px; color: var(--accent); }
html[data-edition="working-index"] .home-experience .section-heading { margin-bottom: 10px; }
html[data-edition="working-index"] .experience-strip { display: block; }
html[data-edition="working-index"] .experience-entry { display: grid; grid-template-columns: 1.1fr 1.25fr 1.2fr; gap: 24px; align-items: center; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); }
html[data-edition="working-index"] .experience-entry:last-child { border-bottom: 0; }
html[data-edition="working-index"] .experience-entry h3 { font-size: 25px; margin: 0; font-weight: 550; }
html[data-edition="working-index"] .experience-entry p { font-size: 17px; }
html[data-edition="working-index"] .contact-grid { display: block; }
html[data-edition="working-index"] .contact-grid h2 { font-size: 44px; font-weight: 680; }
html[data-edition="working-index"] .contact-grid p { max-width: 74ch; font-size: 19px; }
html[data-edition="working-index"] .contact-actions { justify-content: flex-start; margin-top: 22px; }
html[data-edition="working-index"] .contact-actions .text-link { color: var(--accent); }
html[data-edition="working-index"] .document-header h1,
html[data-edition="working-index"] .article-header h1 { color: var(--accent); font-weight: 720; letter-spacing: -.055em; }
html[data-edition="working-index"] .article-header h1 { font-size: clamp(48px, 5vw, 71px); max-width: none; }
html[data-edition="working-index"] .work-index-entry h2,
html[data-edition="working-index"] .writing-index-entry h2 { font-weight: 680; }

/* THE BUILDER'S JOURNAL — a centered masthead and writing before projects. */
html[data-edition="builders-journal"] {
  --paper: #f6f2e8; --ink: #291b18; --muted: #655c55;
  --accent: #813b40; --line: #b7aea3; --code-bg: #eae5dc;
}
html[data-edition="builders-journal"] .site-header { flex-direction: column; justify-content: center; gap: 22px; padding-block: 29px 21px; min-height: 156px; }
html[data-edition="builders-journal"] .wordmark { font-size: 48px; font-weight: 500; }
html[data-edition="builders-journal"] .brand-dot { width: 11px; height: 11px; background: #41624c; }
html[data-edition="builders-journal"] .primary-nav { justify-content: center; gap: 43px; }
html[data-edition="builders-journal"] .home-hero { text-align: center; padding: 46px 0 52px; }
html[data-edition="builders-journal"] .hero-eyebrow { display: block; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 32px; }
html[data-edition="builders-journal"] .hero-title { font-size: clamp(82px, 9.7vw, 138px); font-weight: 500; line-height: .94; letter-spacing: -.05em; }
html[data-edition="builders-journal"] .hero-intro { max-width: 870px; margin: 32px auto 0; }
html[data-edition="builders-journal"] .hero-description { max-width: 47ch; margin: 0 auto; font-size: 25px; line-height: 1.5; }
html[data-edition="builders-journal"] .hero-actions { display: none; }
html[data-edition="builders-journal"] .home-content { counter-reset: chapter; }
html[data-edition="builders-journal"] .home-content > section { counter-increment: chapter; }
html[data-edition="builders-journal"] .home-writing { order: 1; padding-bottom: 48px; }
html[data-edition="builders-journal"] .home-work { order: 2; }
html[data-edition="builders-journal"] .home-experience { order: 3; }
html[data-edition="builders-journal"] .home-content .section-heading::before {
  content: counter(chapter, decimal-leading-zero); color: #3c674f; font: 500 14px/1 var(--sans); min-width: 35px;
}
html[data-edition="builders-journal"] .section-heading::after { display: none; }
html[data-edition="builders-journal"] .section-heading > span,
html[data-edition="builders-journal"] .section-heading > a { margin-left: auto; }
html[data-edition="builders-journal"] .writing-feature { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 58px; padding-left: 44px; }
html[data-edition="builders-journal"] .writing-title { font-size: clamp(46px, 4.9vw, 70px); font-weight: 500; line-height: 1.01; }
html[data-edition="builders-journal"] .writing-context { border-left: 1px solid var(--line); padding: 8px 0 5px 43px; align-self: stretch; font-size: 18px; }
html[data-edition="builders-journal"] .writing-context time { margin-bottom: 36px; }
html[data-edition="builders-journal"] .writing-context .text-link { margin-top: 20px; color: var(--accent); font-size: 25px; }
html[data-edition="builders-journal"] .featured-project { display: block; padding-inline: 40px; margin-bottom: 35px; }
html[data-edition="builders-journal"] .featured-project-copy { display: flex; flex-direction: column; align-items: flex-start; }
html[data-edition="builders-journal"] .featured-project h3 { order: 0; max-width: none; font-size: 64px; line-height: 1.05; font-weight: 500; margin-bottom: 9px; }
html[data-edition="builders-journal"] .featured-project .project-label { order: 1; color: var(--ink); margin-bottom: 16px; }
html[data-edition="builders-journal"] .featured-project p:not(.project-label) { order: 2; font-size: 21px; margin-bottom: 12px; }
html[data-edition="builders-journal"] .featured-project .text-link { order: 3; font: 500 25px/1.4 var(--serif); color: var(--accent); }
html[data-edition="builders-journal"] .project-vignette { display: none; }
html[data-edition="builders-journal"] .secondary-projects { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; border-top: 1px solid var(--line); padding: 30px 40px 0; }
html[data-edition="builders-journal"] .project-row { display: block; padding: 0; border: 0; }
html[data-edition="builders-journal"] .project-row:first-child { border-right: 1px solid var(--line); padding-right: 40px; }
html[data-edition="builders-journal"] .project-row .project-label { display: none; }
html[data-edition="builders-journal"] .project-row h3 { font-size: 42px; font-weight: 500; margin-bottom: 9px; }
html[data-edition="builders-journal"] .project-row > p { font-size: 20px; line-height: 1.5; margin-bottom: 12px; }
html[data-edition="builders-journal"] .project-link { color: var(--accent); width: fit-content; border-bottom: 1px solid var(--accent); font: 500 24px/1.4 var(--serif); }
html[data-edition="builders-journal"] .project-link > span:first-child { display: inline; }
html[data-edition="builders-journal"] .experience-strip { padding-inline: 40px; }
html[data-edition="builders-journal"] .experience-entry h3 { font-size: 31px; font-weight: 500; }
html[data-edition="builders-journal"] .experience-entry p { font-size: 18px; }
html[data-edition="builders-journal"] .is-home .contact-band > .section-label::before { content: "04"; display: inline-block; min-width: 59px; color: #3c674f; letter-spacing: 0; }
html[data-edition="builders-journal"] .contact-grid { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 64px; padding-inline: 40px; }
html[data-edition="builders-journal"] .contact-grid h2 { font-size: 65px; font-weight: 500; }
html[data-edition="builders-journal"] .contact-grid p { font-size: 18px; }
html[data-edition="builders-journal"] .contact-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
html[data-edition="builders-journal"] .contact-actions a { font-family: var(--serif); font-size: 22px; }
html[data-edition="builders-journal"] .contact-actions .text-link { color: var(--accent); }
html[data-edition="builders-journal"] .document-header,
html[data-edition="builders-journal"] .article-header { text-align: center; margin-inline: auto; }
html[data-edition="builders-journal"] .document-header h1,
html[data-edition="builders-journal"] .document-intro,
html[data-edition="builders-journal"] .article-header h1,
html[data-edition="builders-journal"] .source-note,
html[data-edition="builders-journal"] .document-page .prose { margin-inline: auto; }
html[data-edition="builders-journal"] .article-meta { justify-content: center; }

/* USEFUL THINGS — warm full-width bands and a sculptural opening. */
html[data-edition="useful-things"] {
  --paper: #f7f3ea; --ink: #2a1c15; --muted: #63584e;
  --accent: #a44e32; --line: #bdb3a7; --code-bg: #ede3d6;
  --terracotta: #a14d34;
}
html[data-edition="useful-things"] .site-header,
html[data-edition="useful-things"] .home-hero {
  --paper: #a14d34; --ink: #fff4e5; --muted: #faeddf; --accent: #fff4e5;
  --line: #d49276; background: var(--terracotta); color: var(--ink);
  box-shadow: 0 0 0 100vmax var(--terracotta); clip-path: inset(0 -100vmax);
}
html[data-edition="useful-things"] .site-header { min-height: 85px; }
html[data-edition="useful-things"] .brand-dot { display: none; }
html[data-edition="useful-things"] .wordmark { font-size: 37px; font-weight: 500; }
html[data-edition="useful-things"] .home-hero { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr); column-gap: 32px; row-gap: 23px; padding: 36px 0 45px; }
html[data-edition="useful-things"] .hero-title { grid-column: 1; grid-row: 1; font-size: clamp(76px, 8.1vw, 117px); line-height: .97; font-weight: 500; letter-spacing: -.04em; }
html[data-edition="useful-things"] .hero-intro { grid-column: 1; grid-row: 2; }
html[data-edition="useful-things"] .hero-description { font-size: 24px; line-height: 1.5; max-width: 43ch; margin-bottom: 0; }
html[data-edition="useful-things"] .hero-actions { gap: 34px; margin-top: 24px; }
html[data-edition="useful-things"] .hero-art { display: block; grid-column: 2; grid-row: 1 / 3; align-self: center; width: 112%; max-width: none; margin-left: -3%; }
html[data-edition="useful-things"] .home-hero .button-link,
html[data-edition="useful-things"] .site-footer .button-link { background: #fff4e5; color: #2a1c15; border-color: #fff4e5; }
html[data-edition="useful-things"] .home-hero .button-link:hover,
html[data-edition="useful-things"] .site-footer .button-link:hover { background: #edddc8; border-color: #edddc8; color: #2a1c15; }
html[data-edition="useful-things"] .home-work { border-top: 0; padding-top: 40px; }
html[data-edition="useful-things"] .featured-project { grid-template-columns: minmax(0, 1.4fr) minmax(90px, .35fr) minmax(0, .7fr); gap: 38px; }
html[data-edition="useful-things"] .featured-project-copy { grid-column: 1; }
html[data-edition="useful-things"] .featured-project h3 { max-width: 13ch; font-size: clamp(56px, 6.4vw, 90px); font-weight: 500; }
html[data-edition="useful-things"] .featured-project p:not(.project-label) { font-size: 21px; line-height: 1.5; }
html[data-edition="useful-things"] .project-label { color: var(--muted); }
html[data-edition="useful-things"] .project-arrow { display: block; grid-column: 2; grid-row: 1; color: var(--accent); }
html[data-edition="useful-things"] .project-arrow .arrow { width: 100%; height: auto; }
html[data-edition="useful-things"] .project-vignette { grid-column: 3; grid-row: 1; border: 0; padding: 0; font: 400 23px/1.6 var(--sans); letter-spacing: -.015em; }
html[data-edition="useful-things"] .project-row { grid-template-columns: minmax(0, 1.4fr) .2fr minmax(0, 1fr); gap: 43px; }
html[data-edition="useful-things"] .project-row > div { grid-column: 1; grid-row: 1; }
html[data-edition="useful-things"] .project-row > p { grid-column: 3; grid-row: 1; padding-left: 42px; border-left: 1px solid var(--line); font-size: 19px; }
html[data-edition="useful-things"] .project-link { grid-column: 2; grid-row: 1; }
html[data-edition="useful-things"] .project-row h3 { font-size: 42px; font-weight: 500; }
html[data-edition="useful-things"] .home-writing { background: #fbe9dd; box-shadow: 0 0 0 100vmax #fbe9dd; clip-path: inset(0 -100vmax); border-top: 0; padding: 41px 0 48px; }
html[data-edition="useful-things"] .writing-feature { grid-template-columns: minmax(0, .8fr) minmax(0, 1.65fr); gap: 0 72px; }
html[data-edition="useful-things"] .writing-wordmark { display: block; grid-column: 1; grid-row: 1 / 5; margin: 0; font: 550 clamp(62px, 6.9vw, 98px)/.9 var(--serif); letter-spacing: -.055em; }
html[data-edition="useful-things"] .writing-title { grid-column: 2; grid-row: 2; font-size: clamp(42px, 3.9vw, 55px); font-weight: 550; line-height: 1.01; }
html[data-edition="useful-things"] .writing-context { display: contents; }
html[data-edition="useful-things"] .writing-context time { grid-column: 2; grid-row: 1; margin-bottom: 22px; font-size: 12px; text-transform: uppercase; letter-spacing: .2em; }
html[data-edition="useful-things"] .writing-context p { grid-column: 2; grid-row: 3; font-size: 23px; line-height: 1.5; margin: 16px 0 10px; }
html[data-edition="useful-things"] .writing-context .text-link { grid-column: 2; grid-row: 4; justify-self: start; font: 400 22px/1.4 var(--sans); }
html[data-edition="useful-things"] .home-experience { display: none; }
html[data-edition="useful-things"] .site-footer {
  --paper: #a14d34; --ink: #fff4e5; --muted: #faeddf; --accent: #fff4e5; --line: #d49276;
  background: var(--terracotta); color: var(--ink); box-shadow: 0 0 0 100vmax var(--terracotta);
  clip-path: inset(0 -100vmax); padding-bottom: 20px;
}
html[data-edition="useful-things"] .contact-band { border-top: 0; padding-block: 40px 37px; }
html[data-edition="useful-things"] .contact-band > .section-label { display: none; }
html[data-edition="useful-things"] .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 64px; align-items: start; }
html[data-edition="useful-things"] .contact-grid > div:first-child { display: contents; }
html[data-edition="useful-things"] .contact-grid h2 { grid-column: 1; grid-row: 1 / 3; max-width: 13ch; margin: 0; font-size: clamp(52px, 5.8vw, 81px); line-height: .98; font-weight: 500; }
html[data-edition="useful-things"] .contact-grid p { grid-column: 2; grid-row: 1; padding-left: 45px; border-left: 1px solid var(--line); font-size: 18px; }
html[data-edition="useful-things"] .contact-actions { grid-column: 2; grid-row: 2; padding-left: 45px; border-left: 1px solid var(--line); justify-content: flex-start; gap: 20px; }
html[data-edition="useful-things"] .footer-role { display: inline; font-size: 14px; }
html[data-edition="useful-things"] .document-header h1,
html[data-edition="useful-things"] .article-header h1 { font-weight: 500; }
html[data-edition="useful-things"] .prose blockquote { background: #fbe9dd; padding: 20px 25px; }

/* COLLECTED WORK & NOTES — two editorial columns beneath an ice-blue opening. */
html[data-edition="collected-notes"] {
  --paper: #faf9f5; --ink: #102330; --muted: #506171;
  --accent: #b85230; --line: #becad0; --code-bg: #e8edf0;
}
html[data-edition="collected-notes"] .site-header,
html[data-edition="collected-notes"] .home-hero { background: #e8f1f4; box-shadow: 0 0 0 100vmax #e8f1f4; clip-path: inset(0 -100vmax); }
html[data-edition="collected-notes"] .wordmark { font-size: 36px; font-weight: 550; }
html[data-edition="collected-notes"] .brand-dot { width: 8px; height: 8px; }
html[data-edition="collected-notes"] .home-hero { display: grid; grid-template-columns: minmax(0, 3.2fr) minmax(0, 1fr); column-gap: 70px; row-gap: 27px; padding: 65px 0 56px; }
html[data-edition="collected-notes"] .hero-eyebrow { display: block; grid-column: 1; grid-row: 1; font-size: 13px; text-transform: uppercase; color: #728c9d; letter-spacing: .2em; margin: 0; }
html[data-edition="collected-notes"] .hero-title { grid-column: 1; grid-row: 2; font-size: clamp(70px, 7.05vw, 101px); line-height: .94; letter-spacing: -.052em; font-weight: 500; }
html[data-edition="collected-notes"] .hero-intro { grid-column: 1; grid-row: 3; }
html[data-edition="collected-notes"] .hero-description { font-size: 25px; max-width: 47ch; color: #334b5b; margin-bottom: 0; }
html[data-edition="collected-notes"] .hero-actions { gap: 68px; margin-top: 28px; }
html[data-edition="collected-notes"] .hero-actions .button-link { border: 0; border-bottom: 1px solid var(--accent); padding: 5px 0; border-radius: 0; background: transparent; color: var(--ink); }
html[data-edition="collected-notes"] .hero-actions .button-link .arrow { color: var(--accent); }
html[data-edition="collected-notes"] .hero-actions .text-link { border-color: #718792; }
html[data-edition="collected-notes"] .collected-mark { display: block; position: relative; grid-column: 2; grid-row: 1 / 4; align-self: center; width: 100%; aspect-ratio: 1 / 1.25; margin-top: 6px; }
html[data-edition="collected-notes"] .collected-mark i { position: absolute; display: block; }
html[data-edition="collected-notes"] .collected-mark i:nth-child(1) { top: 0; left: 0; width: 72%; height: 88%; background: #cbdde4; }
html[data-edition="collected-notes"] .collected-mark i:nth-child(2) { top: 20%; right: 0; width: 28%; height: 27%; background: #c97650; }
html[data-edition="collected-notes"] .collected-mark i:nth-child(3) { top: 40%; left: 33%; width: 45%; height: 61%; background: #fbf7ed; }
html[data-edition="collected-notes"] .home-content { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 95px; padding-top: 52px; counter-reset: chapter; }
html[data-edition="collected-notes"] .home-content > section { counter-increment: chapter; }
html[data-edition="collected-notes"] .home-work { grid-column: 1; border-top: 0; padding-top: 0; padding-bottom: 0; }
html[data-edition="collected-notes"] .home-writing { grid-column: 2; border-top: 0; border-left: 1px solid var(--line); padding: 0 0 0 55px; margin-left: -40px; }
html[data-edition="collected-notes"] .home-content .section-heading::before { content: counter(chapter, decimal-leading-zero); font: 400 14px/1 var(--sans); color: var(--muted); }
html[data-edition="collected-notes"] .home-content .section-heading { gap: 22px; margin-bottom: 38px; }
html[data-edition="collected-notes"] .home-content .section-heading::after { order: 0; flex: 0 0 63px; }
html[data-edition="collected-notes"] .home-content .section-label { order: 1; }
html[data-edition="collected-notes"] .home-work .section-heading > span,
html[data-edition="collected-notes"] .home-writing .section-heading > span { display: none; }
html[data-edition="collected-notes"] .featured-project { display: block; margin-bottom: 30px; }
html[data-edition="collected-notes"] .featured-project h3 { font-size: 52px; font-weight: 500; line-height: 1.04; max-width: none; margin-bottom: 12px; }
html[data-edition="collected-notes"] .featured-project p:not(.project-label) { font-size: 20px; line-height: 1.55; margin-bottom: 14px; }
html[data-edition="collected-notes"] .project-label { color: var(--muted); letter-spacing: .07em; }
html[data-edition="collected-notes"] .project-vignette { display: none; }
html[data-edition="collected-notes"] .project-row { display: block; padding: 26px 0 20px; }
html[data-edition="collected-notes"] .project-row h3 { font-size: 42px; font-weight: 500; margin-bottom: 8px; }
html[data-edition="collected-notes"] .project-row > p { font-size: 19px; line-height: 1.5; margin-bottom: 10px; }
html[data-edition="collected-notes"] .project-link { width: fit-content; border-bottom: 1px solid var(--accent); }
html[data-edition="collected-notes"] .project-link > span:first-child { display: inline; }
html[data-edition="collected-notes"] .project-link .arrow,
html[data-edition="collected-notes"] .featured-project .text-link .arrow { color: var(--accent); }
html[data-edition="collected-notes"] .writing-feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 24px; }
html[data-edition="collected-notes"] .writing-title { grid-column: 1; grid-row: 2; font-size: clamp(43px, 4.6vw, 65px); line-height: 1.04; font-weight: 500; }
html[data-edition="collected-notes"] .writing-context { display: contents; }
html[data-edition="collected-notes"] .writing-context time { grid-column: 1; grid-row: 1; margin-bottom: 29px; font-size: 16px; }
html[data-edition="collected-notes"] .writing-context p { grid-column: 1; grid-row: 3; font-size: 21px; line-height: 1.65; margin: 23px 0 21px; }
html[data-edition="collected-notes"] .writing-context .text-link { grid-column: 1; grid-row: 4; justify-self: start; font: 400 20px/1.4 var(--sans); }
html[data-edition="collected-notes"] .home-experience { grid-column: 1 / -1; margin-top: 43px; padding-block: 33px; }
html[data-edition="collected-notes"] .home-experience .section-heading { margin-bottom: 22px; }
html[data-edition="collected-notes"] .experience-strip { display: block; }
html[data-edition="collected-notes"] .experience-entry { display: grid; grid-template-columns: 210px 210px minmax(0, 1fr); gap: 35px; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); align-items: center; }
html[data-edition="collected-notes"] .experience-entry:last-child { border-bottom: 0; }
html[data-edition="collected-notes"] .experience-entry h3 { font-size: 29px; font-weight: 500; margin: 0; }
html[data-edition="collected-notes"] .experience-entry p { font-size: 16px; }
html[data-edition="collected-notes"] .experience-entry p:last-child { padding-left: 35px; border-left: 1px solid var(--line); font-size: 18px; }
html[data-edition="collected-notes"] .site-footer {
  --paper: #18313a; --ink: #f4f3e9; --muted: #d5e0e1; --accent: #df8c68; --line: #667d83;
  background: #18313a; color: var(--ink); box-shadow: 0 0 0 100vmax #18313a; clip-path: inset(0 -100vmax);
}
html[data-edition="collected-notes"] .contact-band { padding-block: 37px 30px; border-top: 0; }
html[data-edition="collected-notes"] .is-home .contact-band > .section-label::before { content: "04"; display: inline-block; min-width: 88px; letter-spacing: 0; }
html[data-edition="collected-notes"] .contact-grid { display: block; }
html[data-edition="collected-notes"] .contact-grid h2 { font-size: 65px; font-weight: 500; max-width: 23ch; }
html[data-edition="collected-notes"] .contact-grid p { font-size: 18px; max-width: 70ch; }
html[data-edition="collected-notes"] .contact-actions { justify-content: flex-start; margin-top: 22px; gap: 52px; }
html[data-edition="collected-notes"] .contact-actions .button-link { background: transparent; color: var(--ink); border: 0; border-bottom: 1px solid var(--accent); padding: 5px 0; border-radius: 0; }
html[data-edition="collected-notes"] .contact-actions a { font-size: 19px; }
html[data-edition="collected-notes"] .document-header,
html[data-edition="collected-notes"] .article-header { background: #e8f1f4; box-shadow: 0 0 0 100vmax #e8f1f4; clip-path: inset(0 -100vmax); }
html[data-edition="collected-notes"] .document-header h1,
html[data-edition="collected-notes"] .article-header h1 { font-weight: 500; }
html[data-edition="collected-notes"] .document-page .prose { padding-top: 25px; }

/* Keep names intact in the split hero without changing the phone layout. */
@media (min-width: 701px) {
  html[data-edition="night-edition"] .hero-title { overflow-wrap: normal; word-break: normal; }
}

/* Mid-size layouts preserve the individual compositions without narrow text columns. */
@media (max-width: 1150px) {
  html[data-edition="field-notes"] .primary-nav { margin-right: 0; }
  html[data-edition="field-notes"] .home-hero { grid-template-columns: minmax(0, 1fr) 200px; gap: 30px; }
  html[data-edition="field-notes"] .hero-title { font-size: clamp(78px, 10.7vw, 123px); }
  html[data-edition="field-notes"] .hero-margin { padding-left: 30px; }
  html[data-edition="field-notes"] .hero-margin > p { font-size: 11px; }
  html[data-edition="field-notes"] .hero-margin > a { font-size: 18px; }
  html[data-edition="field-notes"] .featured-project,
  html[data-edition="field-notes"] .secondary-projects,
  html[data-edition="field-notes"] .writing-feature,
  html[data-edition="field-notes"] .experience-strip { margin-left: 30px; }
  html[data-edition="field-notes"] .featured-project { gap: 32px; }
  html[data-edition="field-notes"] .project-vignette { padding-left: 30px; }
  html[data-edition="field-notes"] .writing-title { font-size: 54px; }
  html[data-edition="night-edition"] .home-hero { gap: 43px; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  html[data-edition="night-edition"] .hero-title { font-size: clamp(72px, 9.4vw, 108px); }
  html[data-edition="night-edition"] .night-identity { font-size: 32px; }
  html[data-edition="night-edition"] .hero-description { font-size: 19px; }
  html[data-edition="night-edition"] .featured-project { column-gap: 54px; }
  html[data-edition="night-edition"] .featured-project p:not(.project-label) { font-size: 21px; }
  html[data-edition="working-index"] .hero-description { font-size: 22px; }
  html[data-edition="working-index"] .featured-project h3,
  html[data-edition="working-index"] .project-row h3 { font-size: 33px; }
  html[data-edition="working-index"] .featured-project p:not(.project-label),
  html[data-edition="working-index"] .project-row > p { font-size: 18px; }
  html[data-edition="builders-journal"] .writing-feature { padding-left: 15px; column-gap: 35px; }
  html[data-edition="builders-journal"] .writing-context { padding-left: 27px; }
  html[data-edition="builders-journal"] .contact-grid { padding-inline: 0; }
  html[data-edition="useful-things"] .hero-title { font-size: clamp(64px, 8vw, 91px); }
  html[data-edition="useful-things"] .hero-description { font-size: 20px; }
  html[data-edition="useful-things"] .hero-actions { gap: 22px; }
  html[data-edition="useful-things"] .featured-project { grid-template-columns: minmax(0, 1.4fr) 80px minmax(0, .7fr); gap: 25px; }
  html[data-edition="useful-things"] .project-vignette { font-size: 18px; }
  html[data-edition="useful-things"] .writing-feature { gap: 0 40px; }
  html[data-edition="useful-things"] .writing-context p { font-size: 20px; }
  html[data-edition="collected-notes"] .home-hero { gap: 26px 40px; grid-template-columns: minmax(0, 3.2fr) minmax(150px, 1fr); }
  html[data-edition="collected-notes"] .hero-title { font-size: clamp(58px, 7vw, 80px); }
  html[data-edition="collected-notes"] .hero-description { font-size: 22px; }
  html[data-edition="collected-notes"] .home-content { column-gap: 65px; }
  html[data-edition="collected-notes"] .home-writing { padding-left: 30px; margin-left: -25px; }
  html[data-edition="collected-notes"] .featured-project h3 { font-size: 44px; }
  html[data-edition="collected-notes"] .writing-title { font-size: 48px; }
  html[data-edition="collected-notes"] .experience-entry { grid-template-columns: 175px 185px minmax(0, 1fr); gap: 20px; }
}

@media (max-width: 1000px) {
  html[data-edition="working-index"] { --entry-gutter: 135px; }
  html[data-edition="working-index"] .site-shell { padding-inline: clamp(24px, 5.55vw, 55px); }
  html[data-edition="working-index"] .site-header { position: static; width: auto; height: auto; min-height: 90px; padding: 18px 0; flex-direction: row; align-items: center; justify-content: space-between; gap: 22px; border-right: 0; border-bottom: 1px solid var(--line); }
  html[data-edition="working-index"] .primary-nav { flex-direction: row; align-items: center; gap: 20px; margin-top: 0; }
  html[data-edition="working-index"] .primary-nav a { font-size: 14px; }
  html[data-edition="working-index"] .rail-role,
  html[data-edition="working-index"] .rail-location { display: none; }
  html[data-edition="working-index"] .home-hero { padding-top: 54px; }
  html[data-edition="working-index"] .hero-title { font-size: clamp(77px, 11.2vw, 110px); }
  html[data-edition="builders-journal"] .contact-grid { grid-template-columns: 1fr; gap: 25px; }
  html[data-edition="builders-journal"] .contact-actions { flex-direction: row; flex-wrap: wrap; gap: 22px; }
  html[data-edition="useful-things"] .contact-grid { gap: 20px 30px; }
  html[data-edition="useful-things"] .contact-grid p,
  html[data-edition="useful-things"] .contact-actions { padding-left: 25px; }
  html[data-edition="useful-things"] .footer-role { display: none; }
}

/* Phone layouts retain the edition's hierarchy, not a miniaturized desktop. */
@media (max-width: 700px) {
  html[data-edition] .primary-nav a { min-height: 44px; display: inline-flex; align-items: center; }
  html[data-edition] .section-heading { gap: 12px; }
  html[data-edition] .section-heading > span { display: none; }
  html[data-edition="field-notes"] .site-header { min-height: 110px; }
  html[data-edition="field-notes"] .home-hero { display: block; padding: 42px 0 36px; }
  html[data-edition="field-notes"] .hero-title { font-size: clamp(45px, 12.8vw, 78px); line-height: .98; letter-spacing: -.055em; }
  html[data-edition="field-notes"] .hero-intro { margin-top: 28px; }
  html[data-edition="field-notes"] .hero-margin { display: none; }
  html[data-edition="field-notes"] .hero-actions { display: flex; }
  html[data-edition="field-notes"] .featured-project,
  html[data-edition="field-notes"] .secondary-projects,
  html[data-edition="field-notes"] .writing-feature,
  html[data-edition="field-notes"] .experience-strip,
  html[data-edition="field-notes"] .is-home .contact-grid { margin-inline: 0; }
  html[data-edition="field-notes"] .featured-project { display: block; }
  html[data-edition="field-notes"] .featured-project h3 { font-size: 46px; max-width: 16ch; }
  html[data-edition="field-notes"] .featured-project p:not(.project-label) { font-size: 17px; }
  html[data-edition="field-notes"] .featured-project .text-link { font-size: 22px; }
  html[data-edition="field-notes"] .project-vignette { display: none; }
  html[data-edition="field-notes"] .project-row { grid-template-columns: 1fr auto; }
  html[data-edition="field-notes"] .project-row > p { border: 0; padding: 0; }
  html[data-edition="field-notes"] .writing-title { font-size: 40px; }
  html[data-edition="field-notes"] .home-content .section-heading::before { min-width: 22px; font-size: 12px; }
  html[data-edition="field-notes"] .is-home .contact-band > .section-label::before { min-width: 34px; }

  html[data-edition="night-edition"] .wordmark { font-size: 25px; }
  html[data-edition="night-edition"] .home-hero { display: block; padding: 43px 0 36px; min-height: 0; }
  html[data-edition="night-edition"] .home-hero::before { display: none; }
  html[data-edition="night-edition"] .hero-title { font-size: clamp(58px, 16vw, 112px); line-height: .93; }
  html[data-edition="night-edition"] .hero-intro { margin-top: 34px; }
  html[data-edition="night-edition"] .night-identity { font-size: 27px; margin-bottom: 18px; }
  html[data-edition="night-edition"] .hero-description { font-size: 18px; line-height: 1.6; }
  html[data-edition="night-edition"] .hero-actions { gap: 21px; }
  html[data-edition="night-edition"] .hero-actions a { font-size: 16px; }
  html[data-edition="night-edition"] .featured-project { display: grid; grid-template-columns: minmax(0, 1fr); gap: 13px; margin-bottom: 27px; }
  html[data-edition="night-edition"] .featured-project::after { display: none; }
  html[data-edition="night-edition"] .featured-project h3 { grid-column: 1; grid-row: 1; font-size: 46px; margin: 0; max-width: 18ch; }
  html[data-edition="night-edition"] .featured-project .project-label { grid-column: 1; grid-row: 2; font-size: 12px; }
  html[data-edition="night-edition"] .featured-project p:not(.project-label) { grid-column: 1; grid-row: 3; margin: 0; font-size: 18px; }
  html[data-edition="night-edition"] .featured-project .text-link { grid-column: 1; grid-row: 4; font-size: 18px; }
  html[data-edition="night-edition"] .project-row { grid-template-columns: minmax(0, 1fr) auto; }
  html[data-edition="night-edition"] .project-row h3 { font-size: 29px; }
  html[data-edition="night-edition"] .project-row > p { padding: 0; border: 0; font-size: 16px; }
  html[data-edition="night-edition"] .writing-title { font-size: 41px; line-height: 1.07; }
  html[data-edition="night-edition"] .writing-context { font-size: 17px; }
  html[data-edition="night-edition"] .writing-context .text-link { font-size: 18px; }
  html[data-edition="night-edition"] .contact-grid h2 { font-size: 44px; }
  html[data-edition="night-edition"] .article-header h1 { font-size: 43px; }

  html[data-edition="working-index"] { --entry-gutter: 42px; }
  html[data-edition="working-index"] .site-shell { padding-inline: 24px; }
  html[data-edition="working-index"] .site-header { flex-wrap: wrap; justify-content: flex-start; gap: 8px; padding-block: 21px 15px; }
  html[data-edition="working-index"] .wordmark { font-size: 24px; }
  html[data-edition="working-index"] .primary-nav { width: 100%; justify-content: space-between; gap: 0; }
  html[data-edition="working-index"] .home-hero { padding: 39px 0 33px; }
  html[data-edition="working-index"] .hero-title { font-size: clamp(50px, 12.5vw, 86px); }
  html[data-edition="working-index"] .hero-intro { margin-top: 26px; }
  html[data-edition="working-index"] .hero-description { font-size: 18px; line-height: 1.55; }
  html[data-edition="working-index"] .featured-project,
  html[data-edition="working-index"] .project-row { padding-left: 42px; }
  html[data-edition="working-index"] .featured-project::before,
  html[data-edition="working-index"] .project-row::before { font-size: 12px; }
  html[data-edition="working-index"] .featured-project::after,
  html[data-edition="working-index"] .project-row::after { display: none; }
  html[data-edition="working-index"] .featured-project h3,
  html[data-edition="working-index"] .project-row h3 { font-size: 28px; line-height: 1.14; }
  html[data-edition="working-index"] .featured-project p:not(.project-label),
  html[data-edition="working-index"] .project-row > p { font-size: 16px; line-height: 1.55; }
  html[data-edition="working-index"] .project-link,
  html[data-edition="working-index"] .featured-project .text-link { font-size: 16px; }
  html[data-edition="working-index"] .writing-feature { grid-template-columns: minmax(0, 1fr); }
  html[data-edition="working-index"] .writing-title { grid-column: 1; grid-row: 2; font-size: 38px; line-height: 1.06; }
  html[data-edition="working-index"] .writing-context time { grid-column: 1; grid-row: 1; margin: 0 0 20px; }
  html[data-edition="working-index"] .writing-context p { grid-column: 1; grid-row: 3; font-size: 17px; }
  html[data-edition="working-index"] .writing-context .text-link { grid-column: 1; grid-row: 4; font-size: 17px; }
  html[data-edition="working-index"] .experience-entry { display: block; padding-block: 18px; }
  html[data-edition="working-index"] .experience-entry h3 { font-size: 23px; margin-bottom: 6px; }
  html[data-edition="working-index"] .experience-entry p { font-size: 15px; }
  html[data-edition="working-index"] .contact-grid h2 { font-size: 39px; }
  html[data-edition="working-index"] .contact-grid p { font-size: 16px; }
  html[data-edition="working-index"] .article-header h1 { font-size: 40px; }

  html[data-edition="builders-journal"] .site-header { min-height: 126px; gap: 13px; padding-block: 25px 14px; }
  html[data-edition="builders-journal"] .wordmark { font-size: 35px; }
  html[data-edition="builders-journal"] .primary-nav { gap: 0; justify-content: space-between; }
  html[data-edition="builders-journal"] .home-hero { padding: 36px 0 37px; }
  html[data-edition="builders-journal"] .hero-eyebrow { font-size: 10px; letter-spacing: .16em; margin-bottom: 25px; }
  html[data-edition="builders-journal"] .hero-title { font-size: clamp(48px, 12.8vw, 83px); line-height: .99; }
  html[data-edition="builders-journal"] .hero-intro { margin-top: 25px; }
  html[data-edition="builders-journal"] .hero-description { font-size: 18px; line-height: 1.55; }
  html[data-edition="builders-journal"] .hero-actions { display: flex; justify-content: center; }
  html[data-edition="builders-journal"] .home-content .section-heading::before { font-size: 12px; min-width: 22px; }
  html[data-edition="builders-journal"] .writing-feature { display: block; padding: 0; }
  html[data-edition="builders-journal"] .writing-title { font-size: 41px; line-height: 1.06; }
  html[data-edition="builders-journal"] .writing-context { border: 0; padding: 25px 0 0; font-size: 17px; }
  html[data-edition="builders-journal"] .writing-context time { margin-bottom: 18px; }
  html[data-edition="builders-journal"] .writing-context .text-link { font-size: 22px; margin-top: 0; }
  html[data-edition="builders-journal"] .featured-project { padding: 0; margin-bottom: 24px; }
  html[data-edition="builders-journal"] .featured-project h3 { font-size: 45px; }
  html[data-edition="builders-journal"] .featured-project p:not(.project-label) { font-size: 17px; }
  html[data-edition="builders-journal"] .featured-project .text-link { font-size: 22px; }
  html[data-edition="builders-journal"] .secondary-projects { display: block; padding: 0; border: 0; }
  html[data-edition="builders-journal"] .project-row,
  html[data-edition="builders-journal"] .project-row:first-child { padding: 24px 0; border: 0; border-top: 1px solid var(--line); }
  html[data-edition="builders-journal"] .project-row h3 { font-size: 35px; }
  html[data-edition="builders-journal"] .project-row > p { font-size: 17px; }
  html[data-edition="builders-journal"] .project-link { font-size: 22px; }
  html[data-edition="builders-journal"] .experience-strip { padding: 0; }
  html[data-edition="builders-journal"] .experience-entry h3 { font-size: 27px; }
  html[data-edition="builders-journal"] .experience-entry p { font-size: 16px; }
  html[data-edition="builders-journal"] .is-home .contact-band > .section-label::before { min-width: 34px; }
  html[data-edition="builders-journal"] .contact-grid { padding: 0; }
  html[data-edition="builders-journal"] .contact-grid h2 { font-size: 43px; }
  html[data-edition="builders-journal"] .contact-grid p { font-size: 16px; }
  html[data-edition="builders-journal"] .contact-actions a { font-size: 20px; }

  html[data-edition="useful-things"] .site-header { min-height: 110px; }
  html[data-edition="useful-things"] .wordmark { font-size: 30px; }
  html[data-edition="useful-things"] .home-hero { display: block; padding: 34px 0 38px; }
  html[data-edition="useful-things"] .hero-title { font-size: clamp(44px, 11.7vw, 78px); line-height: 1; }
  html[data-edition="useful-things"] .hero-intro { margin-top: 24px; }
  html[data-edition="useful-things"] .hero-description { font-size: 18px; line-height: 1.6; }
  html[data-edition="useful-things"] .hero-actions { gap: 16px; }
  html[data-edition="useful-things"] .hero-art { width: min(85%, 320px); max-width: 100%; margin: 24px auto 0; }
  html[data-edition="useful-things"] .featured-project { display: block; }
  html[data-edition="useful-things"] .featured-project h3 { font-size: 47px; }
  html[data-edition="useful-things"] .featured-project p:not(.project-label) { font-size: 17px; }
  html[data-edition="useful-things"] .project-arrow,
  html[data-edition="useful-things"] .project-vignette { display: none; }
  html[data-edition="useful-things"] .project-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 18px; }
  html[data-edition="useful-things"] .project-row > div { grid-column: 1; grid-row: 1; }
  html[data-edition="useful-things"] .project-row > p { grid-column: 1; grid-row: 2; border: 0; padding: 0; font-size: 16px; }
  html[data-edition="useful-things"] .project-link { grid-column: 2; grid-row: 1 / 3; }
  html[data-edition="useful-things"] .project-row h3 { font-size: 35px; }
  html[data-edition="useful-things"] .writing-feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
  html[data-edition="useful-things"] .writing-wordmark { display: none; }
  html[data-edition="useful-things"] .writing-context time { grid-column: 1; grid-row: 1; font-size: 11px; margin-bottom: 22px; }
  html[data-edition="useful-things"] .writing-title { grid-column: 1; grid-row: 2; font-size: 41px; line-height: 1.05; }
  html[data-edition="useful-things"] .writing-context p { grid-column: 1; grid-row: 3; font-size: 17px; }
  html[data-edition="useful-things"] .writing-context .text-link { grid-column: 1; grid-row: 4; font-size: 18px; }
  html[data-edition="useful-things"] .site-footer { padding-bottom: 86px; }
  html[data-edition="useful-things"] .contact-grid { display: block; }
  html[data-edition="useful-things"] .contact-grid h2 { font-size: 49px; max-width: 16ch; margin-bottom: 22px; }
  html[data-edition="useful-things"] .contact-grid p { border: 0; padding: 0; font-size: 16px; }
  html[data-edition="useful-things"] .contact-actions { border: 0; padding: 0; margin-top: 23px; gap: 16px; }

  html[data-edition="collected-notes"] .wordmark { font-size: 30px; }
  html[data-edition="collected-notes"] .home-hero { display: block; padding: 39px 0 37px; }
  html[data-edition="collected-notes"] .hero-eyebrow { font-size: 10px; letter-spacing: .16em; margin-bottom: 26px; }
  html[data-edition="collected-notes"] .hero-title { font-size: clamp(47px, 11.5vw, 78px); line-height: 1; }
  html[data-edition="collected-notes"] .hero-intro { margin-top: 25px; }
  html[data-edition="collected-notes"] .hero-description { font-size: 18px; line-height: 1.6; }
  html[data-edition="collected-notes"] .hero-actions { gap: 28px; }
  html[data-edition="collected-notes"] .collected-mark { display: none; }
  html[data-edition="collected-notes"] .home-content { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; }
  html[data-edition="collected-notes"] .home-work { grid-column: 1; padding-block: 30px 20px; }
  html[data-edition="collected-notes"] .home-writing { grid-column: 1; border: 0; border-top: 1px solid var(--line); padding: 30px 0; margin: 0; }
  html[data-edition="collected-notes"] .home-content .section-heading { gap: 15px; margin-bottom: 29px; }
  html[data-edition="collected-notes"] .home-content .section-heading::after { flex-basis: 36px; }
  html[data-edition="collected-notes"] .home-content .section-heading::before { font-size: 12px; }
  html[data-edition="collected-notes"] .featured-project h3 { font-size: 43px; }
  html[data-edition="collected-notes"] .featured-project p:not(.project-label) { font-size: 17px; }
  html[data-edition="collected-notes"] .project-row h3 { font-size: 35px; }
  html[data-edition="collected-notes"] .project-row > p { font-size: 17px; }
  html[data-edition="collected-notes"] .writing-feature { padding-top: 0; }
  html[data-edition="collected-notes"] .writing-title { font-size: 42px; line-height: 1.06; }
  html[data-edition="collected-notes"] .writing-context time { font-size: 14px; margin-bottom: 22px; }
  html[data-edition="collected-notes"] .writing-context p { font-size: 17px; }
  html[data-edition="collected-notes"] .writing-context .text-link { font-size: 18px; }
  html[data-edition="collected-notes"] .home-experience { grid-column: 1; margin: 0; padding-top: 30px; }
  html[data-edition="collected-notes"] .experience-entry { display: block; padding: 20px 0; }
  html[data-edition="collected-notes"] .experience-entry h3 { font-size: 27px; margin-bottom: 7px; }
  html[data-edition="collected-notes"] .experience-entry p,
  html[data-edition="collected-notes"] .experience-entry p:last-child { font-size: 16px; border: 0; padding: 0; }
  html[data-edition="collected-notes"] .contact-grid h2 { font-size: 45px; }
  html[data-edition="collected-notes"] .contact-grid p { font-size: 16px; }
  html[data-edition="collected-notes"] .contact-actions { gap: 21px; }
  html[data-edition="collected-notes"] .contact-actions a { font-size: 16px; }
  html[data-edition="collected-notes"] .is-home .contact-band > .section-label::before { min-width: 64px; }
}

@media print {
  html[data-edition="working-index"] .site-header { position: static; width: auto; height: auto; padding: 15px 0; border-right: 0; }
  html[data-edition] .home-hero::before { display: none; }
  html[data-edition] .site-header, html[data-edition] .home-hero,
  html[data-edition] .home-writing, html[data-edition] .document-header,
  html[data-edition] .article-header { box-shadow: none; clip-path: none; background: none !important; color: black !important; --ink: black; --muted: #333; --accent: black; }
}
