.home-caption { margin: 17px 0 0; color: var(--muted); font-size: 12px; letter-spacing: 1px; }
.primary-dock { grid-template-columns: repeat(4, 1fr); max-width: 580px; }
.daily-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.daily-links .dock-item { min-height: 104px; }
.document-page { min-height: 100dvh; display: flex; flex-direction: column; }
.document-header { width: min(1120px, calc(100% - 80px)); margin: 0 auto; min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }
.document-header .icon-button { width: 42px; height: 42px; padding: 11px; }
.page-nav { display: flex; gap: 31px; align-items: center; }
.page-nav a { min-height: 44px; display: flex; align-items: center; color: var(--muted); font-size: 12px; position: relative; }
.page-nav a:hover, .page-nav a[aria-current="page"] { color: var(--ink); }
.page-nav a[aria-current="page"]::after { content: ""; width: 4px; height: 4px; position: absolute; left: calc(50% - 2px); bottom: 0; border-radius: 50%; background: var(--link); }
.page-shell { width: min(1000px, calc(100% - 80px)); margin: 0 auto; padding: 81px 0 110px; flex: 1; }
.page-heading { margin-bottom: 55px; }
.eyebrow { margin: 0 0 17px; font-size: 10px; color: var(--subtle); font-weight: 400; letter-spacing: 1.5px; }
.page-heading h1 { font-size: clamp(30px, 4.2vw, 47px); margin: 0 0 22px; font-weight: 500; letter-spacing: -1px; line-height: 1.35; }
.page-intro { font-size: 14px; color: var(--muted); line-height: 1.9; margin: 0; }
.document-footer { width: min(1120px, calc(100% - 80px)); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0; margin: 0 auto; border-top: 1px solid var(--line); color: var(--subtle); font-size: 10px; }
.document-footer a { padding: 8px 0; }
.document-footer a:hover { color: var(--ink); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
.project-card { display: block; min-width: 0; }
.project-art { height: 290px; border-radius: 19px; overflow: hidden; position: relative; border: 1px solid var(--line); transition: border-color 250ms, transform 250ms; }
.project-card:hover .project-art { border-color: var(--subtle); transform: translateY(-4px); }
.home-project-art { background: linear-gradient(180deg, rgb(9 14 24 / 83%), rgb(9 14 24 / 94%)), url('/photo-02.webp') center / cover; display: flex; align-items: center; justify-content: center; flex-direction: column; color: #f0f2f5; }
.project-domain { position: absolute; left: 24px; top: 24px; font-size: 9px; opacity: .5; letter-spacing: 1px; }
.home-project-art > img { width: 58px; height: 58px; border-radius: 50%; margin-top: 18px; box-shadow: 0 0 0 12px rgb(223 232 249 / 3%), 0 0 0 13px rgb(223 232 249 / 7%); }
.project-signature { font-size: 24px; margin-top: 21px; letter-spacing: -1px; }
.mini-navigation { font-size: 9px; opacity: .55; margin-top: 22px; }
.project-caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 25px; }
.project-caption .eyebrow { margin: 0 0 11px; font-size: 9px; }
.project-caption h2 { font-size: 18px; margin: 0; font-weight: 500; }
.project-caption p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 10px 0 0; }
.project-caption > span { font-size: 23px; color: var(--subtle); }
.quiz-project-art { background: var(--surface); padding: 68px 34px 25px; display: flex; flex-direction: column; justify-content: space-between; }
.quiz-visual-title { font-size: 35px; letter-spacing: -1px; line-height: 1.4; }
.quiz-visual-line { display: flex; gap: 16px; font-size: 10px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 15px; }
.photography-project { margin-top: 78px; }
.photography-project .section-heading { align-items: flex-end; margin-bottom: 22px; }
.photography-project .eyebrow { margin: 0 0 10px; }
.photography-project h2 { margin: 0; font-weight: 500; font-size: 21px; }
.photography-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.photography-strip img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; transition: opacity 200ms; }
.photography-strip:hover img { opacity: .8; }
.writing-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.filter-list { display: flex; align-items: center; gap: 8px; }
.filter-button { border: 1px solid transparent; border-radius: 24px; min-height: 40px; padding: 9px 15px; color: var(--muted); background: transparent; font-size: 11px; }
.filter-button:hover { color: var(--ink); }
.filter-button[aria-pressed="true"] { background: var(--surface); color: var(--ink); border-color: var(--line); }
.search-field input { background: transparent; border: 1px solid var(--line); border-radius: 8px; width: 170px; height: 40px; padding: 0 13px; color: var(--ink); font: inherit; font-size: 12px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
.post-row { display: grid; grid-template-columns: 70px 1fr 25px; align-items: center; gap: 35px; padding: 34px 4px; border-top: 1px solid var(--line); }
.post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row > time { color: var(--muted); font-size: 18px; font-variant-numeric: tabular-nums; }
.post-row > time span { display: block; color: var(--subtle); font-size: 10px; margin-top: 8px; }
.post-category { color: var(--subtle); font-size: 10px; }
.post-row h2 { font-size: 21px; font-weight: 500; margin: 12px 0 0; }
.post-row p { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 10px 0 0; }
.post-arrow { color: var(--subtle); font-size: 22px; transition: transform 200ms; }
.post-row:hover .post-arrow { transform: translate(3px, -3px); color: var(--ink); }
.collection-note { font-size: 11px; line-height: 1.9; color: var(--subtle); margin: 25px 0 0; }
.empty-results { padding: 50px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.article { width: min(100%, 680px); margin: 0 auto; }
.back-link { font-size: 11px; color: var(--muted); min-height: 40px; display: inline-flex; align-items: center; }
.back-link:hover { color: var(--ink); }
.article-heading { margin: 42px 0 44px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.article-heading h1 { margin: 0; font-size: clamp(29px, 4vw, 42px); font-weight: 500; line-height: 1.5; letter-spacing: -.7px; }
.article-heading > p:last-child { color: var(--subtle); font-size: 11px; margin-top: 20px; }
.article-body { font-size: 15px; line-height: 2.1; color: var(--muted); overflow-wrap: anywhere; }
.article-body h2 { font-size: 22px; line-height: 1.5; margin: 38px 0 16px; color: var(--ink); font-weight: 500; }
.article-body p { margin: 0 0 19px; }
.article-body .article-lead { font-size: 19px; color: var(--ink); line-height: 1.9; }
.article-body a { color: var(--link); text-decoration: underline; text-underline-offset: 5px; }
.article-end { display: flex; justify-content: space-between; margin-top: 55px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 11px; color: var(--subtle); }
.quiz-banner { display: flex; align-items: center; gap: 20px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.quiz-banner-icon { padding: 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--link); }
.quiz-banner h2 { margin: 0; font-size: 17px; font-weight: 500; }
.quiz-banner p { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.quiz-banner > span { margin-left: auto; font-size: 23px; color: var(--subtle); }
.quiz-banner:hover { border-color: var(--subtle); }
.utility-tabs { display: flex; gap: 30px; margin-top: 48px; border-bottom: 1px solid var(--line); }
.utility-tabs button { border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--muted); background: none; padding: 16px 0; font-size: 13px; }
.utility-tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--ink); }
.utility-panel { padding-top: 30px; }
.utility-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.utility-heading h2 { font-size: 20px; margin: 0 0 10px; font-weight: 500; }
.utility-heading p { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.8; }
.select-label { font-size: 11px; color: var(--muted); white-space: nowrap; }
.select-label select { font: inherit; color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 7px; background: var(--surface); margin-left: 6px; }
.code-input { display: block; resize: vertical; width: 100%; min-height: 220px; max-height: 700px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 22px; font: 13px/1.9 Consolas, "SFMono-Regular", monospace; tab-size: 2; }
.text-input { font-family: var(--font); font-size: 14px; }
.utility-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.action-button { min-height: 40px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 8px; font-size: 11px; background: var(--surface); color: var(--ink); }
.action-button:hover { border-color: var(--subtle); }
.primary-action { background: var(--ink); color: var(--background); }
.quiet-action { margin-left: auto; color: var(--muted); background: none; border-color: transparent; }
.utility-status { min-height: 22px; font-size: 11px; color: var(--muted); line-height: 1.8; margin: 18px 0 0; overflow-wrap: anywhere; }
.utility-status[data-state="error"] { color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 10px; }
.text-statistics { display: grid; grid-template-columns: repeat(5, 1fr); margin: 24px 0; gap: 15px; }
.text-statistics dt { font-size: 10px; color: var(--subtle); }
.text-statistics dd { font-size: 25px; margin: 12px 0 0; font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; transform: translateY(-150%); padding: 12px; color: var(--background); background: var(--ink); z-index: 10; }
.skip-link:focus { transform: translateY(0); }
@media (max-width: 760px) {
  .document-header, .document-footer { width: calc(100% - 40px); }
  .document-header { min-height: 82px; gap: 12px; }
  .page-nav { gap: 20px; }
  .page-shell { width: calc(100% - 40px); padding: 58px 0 75px; }
  .page-heading { margin-bottom: 38px; }
  .project-art { height: 240px; }
  .project-grid { gap: 22px; }
  .quiz-project-art { padding: 60px 23px 23px; }
  .quiz-visual-title { font-size: 29px; }
}
@media (max-width: 540px) {
  .document-header { flex-wrap: wrap; padding: 16px 0 13px; gap: 4px 15px; }
  .document-header .wordmark { margin-right: auto; }
  .document-header .page-nav { order: 3; justify-content: space-between; width: 100%; }
  .page-nav a { min-height: 42px; padding: 0 12px; }
  .page-nav a:first-child { padding-left: 0; }
  .page-nav a:last-child { padding-right: 0; }
  .document-header .icon-button { width: 36px; height: 36px; padding: 8px; }
  .page-shell { padding-top: 45px; }
  .page-heading h1 { font-size: 30px; }
  .page-intro { font-size: 12px; }
  .project-grid { grid-template-columns: 1fr; gap: 38px; }
  .project-art { height: 260px; }
  .photography-project { margin-top: 49px; }
  .photography-strip { gap: 7px; }
  .photography-strip img { aspect-ratio: 3 / 4; border-radius: 7px; }
  .writing-toolbar { align-items: stretch; flex-direction: column; gap: 18px; }
  .search-field input { width: 100%; }
  .filter-list { gap: 4px; }
  .filter-button { padding: 9px 13px; }
  .post-row { grid-template-columns: 42px 1fr 16px; gap: 16px; padding: 26px 0; }
  .post-row > time { font-size: 14px; }
  .post-row h2 { font-size: 18px; }
  .post-row p { font-size: 11px; }
  .article-heading { margin-top: 30px; margin-bottom: 30px; }
  .article-body { font-size: 14px; }
  .article-body .article-lead { font-size: 17px; }
  .quiz-banner { padding: 20px 16px; gap: 14px; }
  .quiz-banner-icon { padding: 10px; }
  .quiz-banner p { font-size: 11px; }
  .utility-heading { flex-wrap: wrap; }
  .utility-heading h2 { font-size: 18px; }
  .code-input { padding: 16px; }
  .action-button { padding: 10px 12px; }
  .text-statistics { gap: 12px; grid-template-columns: repeat(3, 1fr); }
  .daily-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
