/* Shared presentation rules. Content, routes and interactive state remain independent. */
:root {
  --motion-ui: 180ms;
  --motion-reveal: 560ms;
  --motion-ease: cubic-bezier(.22,.61,.36,1);
  --editorial-body: #435268;
  --editorial-muted: #647186;
  --editorial-wash: #f6f8fc;
}
.site-header { background: #fff; }
.main-nav a { color: #59677a; transition: color var(--motion-ui); }
.main-nav a:is(:hover,:focus-visible) { color: var(--blue); }
.brand { min-height: 44px; }
.button { min-height: 44px; padding: 12px 18px; font-size: 14px; border-radius: 3px; transition: background var(--motion-ui),border-color var(--motion-ui),transform var(--motion-ui); }
.button.primary { background: var(--blue); }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary { border-color: #d4dce8; }
.text-link { min-height: 40px; font-size: 14px; line-height: 1.8; }
.site-footer { margin-top: 0; background: var(--editorial-wash); }
.footer-inner { padding-block: 38px 30px; gap: 28px 48px; }
.footer-brand { font-size: 16px; }
.footer-links { gap: 12px 24px; color: #526075; font-size: 13px; }
.footer-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.footer-inner > div > p, .footer-bottom { color: #6c788b; font-size: 12px; }
.footer-bottom { border-top: 1px solid #e1e6ef; padding-block: 18px 24px; }
.search-dialog { border-radius: 5px; }
.search-head > label { font-size: 14px; color: var(--ink); }
.search-result { border-radius: 3px; }
.search-result-category, .search-result-description { color: var(--editorial-muted); }
.inner-page { --reading-width: 780px; }
.inner-page .page-heading { max-width: none; padding-block: 66px 36px; border-bottom: 1px solid var(--line); }
.inner-page .eyebrow { font-size: 13px; color: var(--editorial-muted); }
.inner-page .page-title { max-width: 930px; font-size: clamp(34px,3.9vw,48px); line-height: 1.45; font-weight: 500; letter-spacing: -.03em; text-wrap: pretty; }
.inner-page .page-description { max-width: 740px; margin-top: 20px; font-size: 16px; line-height: 1.95; color: #59667a; }
.inner-page .section { padding-block: 64px; }
.inner-page .section-title { font-size: clamp(26px,2.8vw,34px); line-height: 1.5; font-weight: 500; letter-spacing: -.025em; text-wrap: pretty; }
.inner-page .section-intro { font-size: 15px; line-height: 1.95; color: #59667a; }
.inner-page .listing-section { padding-top: 32px; border-top: 0; }
.inner-page .filter-bar { gap: 9px; padding-bottom: 28px; }
.inner-page .filter-button { min-height: 40px; padding: 9px 14px; border-radius: 3px; font-size: 13px; color: #526075; }
.inner-page .filter-button[aria-pressed="true"] { color: var(--blue); background: #edf3ff; border-color: #9db5e6; }
.inner-page .listing-footnote { font-size: 13px; line-height: 1.9; color: var(--editorial-muted); }

/* Portfolio: consistent image windows, less framing, role and outcome visible before entry. */
.work-page .project-grid { gap: 48px 36px; }
.work-page .project-card { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; overflow: visible; box-shadow: none; }
.work-page .project-card:hover { box-shadow: none; }
.work-page .project-art { aspect-ratio: 16 / 10; min-height: 0; border: 1px solid var(--line); border-radius: 3px; }
.work-page .project-screenshot { padding: 14px; background: #f1f4f8; }
.work-page .project-screenshot img { object-fit: contain; box-shadow: none; transition: transform var(--motion-reveal) var(--motion-ease); }
.work-page .project-concept { padding: 0; background: #111b28; }
.work-page .project-card > a:is(:hover,:focus-visible) .project-art img { transform: scale(1.025); }
.work-page .project-content { padding: 22px 0 18px; }
.work-page .card-meta { align-items: start; flex-wrap: wrap; gap: 7px 18px; color: #647186; font-size: 12px; }
.work-page .project-title { margin-top: 13px; color: var(--ink); font-size: 25px; line-height: 1.5; font-weight: 500; letter-spacing: -.025em; }
.work-page .project-card > a:is(:hover,:focus-visible) .project-title { color: var(--blue); }
.work-page .project-description { margin-top: 12px; font-size: 15px; line-height: 1.95; color: #59667a; }
.work-page .tags { margin-top: 17px; gap: 7px; }
.work-page .tag { font-size: 12px; padding: 3px 8px; background: #f6f8fb; border-color: #e0e6ef; color: #596a82; }
.work-page .project-link { margin-top: 18px; font-size: 14px; color: var(--blue); }
.project-role { display: grid; grid-template-columns: 68px minmax(0,1fr); gap: 12px; margin: 0; padding-block: 17px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.85; }
.project-role dt { color: var(--editorial-muted); }
.project-role dd { margin: 0; color: var(--editorial-body); }
.work-page .project-evidence { margin: 0; padding-block: 17px 20px; font-size: 13px; }
.work-page .project-evidence > strong { font-size: 13px; font-weight: 500; }
.work-page .outcome-text { color: #526075; }
.work-page .outcome-links { gap: 5px 18px; }
.work-page .outcome-links a { min-height: 36px; font-size: 13px; }
.work-page .idea-feedback-compact { padding: 17px 0; }
.work-page .feedback-contact { margin-inline: 0; }

/* Case summaries precede the reading layout; all existing copy and evidence are retained. */
.reading-page .article-header { max-width: none; padding-block: 40px 36px; }
.reading-page .breadcrumbs { font-size: 13px; margin-bottom: 28px; color: #6b788b; }
.reading-page .article-category { font-size: 13px; color: var(--blue); }
.reading-page .article-title { max-width: 940px; font-size: clamp(32px,3.5vw,44px); line-height: 1.5; font-weight: 500; letter-spacing: -.03em; text-wrap: pretty; }
.reading-page .article-deck { max-width: var(--reading-width); font-size: 17px; line-height: 1.95; color: #59667a; }
.reading-page .article-meta { font-size: 13px; color: #69778a; gap: 8px 18px; }
.reading-page .article-header .tags { margin-top: 22px; }
.case-overview { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 44px; align-items: center; margin-top: 0; padding-block: 30px 44px; margin-bottom: 48px; border-block: 1px solid var(--line); }
.case-facts { margin: 0; min-width: 0; }
.case-fact { padding-block: 13px; border-bottom: 1px solid var(--line); }
.case-fact:first-child { padding-top: 0; }
.case-fact:last-child { border-bottom: 0; }
.case-fact dt { font-size: 12px; color: var(--editorial-muted); margin-bottom: 5px; }
.case-fact dd { margin: 0; font-size: 14px; line-height: 1.9; color: var(--editorial-body); }
.case-fact-outcome { margin-top: 13px; padding: 16px; border-left: 2px solid var(--blue); background: var(--editorial-wash); border-bottom: 0; }
.case-fact-outcome dt { color: var(--blue); }
.case-fact .outcome-text { color: var(--editorial-body); }
.case-fact .outcome-links a { min-height: 36px; font-size: 13px; }
.case-overview .case-screenshot { min-width: 0; margin: 0; }
.case-overview .case-screenshot img { width: 100%; height: auto; object-fit: contain; border: 1px solid var(--line); border-radius: 3px; }
.case-overview .case-screenshot figcaption { margin-top: 12px; font-size: 13px; line-height: 1.85; color: var(--editorial-muted); }

/* Reading surfaces share type, captions and navigation, without animating the body copy. */
.reading-page .article-layout { grid-template-columns: minmax(0,var(--reading-width)) minmax(180px,220px); justify-content: space-between; gap: clamp(36px,5vw,80px); padding-bottom: 80px; }
.reading-page .prose { font-size: 17px; line-height: 1.95; color: var(--editorial-body); }
.reading-page .prose h2 { margin-block: 54px 22px; font-size: 27px; font-weight: 500; line-height: 1.55; letter-spacing: -.025em; scroll-margin-top: 32px; }
.reading-page .prose h3 { margin-block: 34px 14px; font-size: 21px; line-height: 1.6; }
.reading-page .prose p { margin-block: 18px; }
.reading-page .prose li { margin-block: 9px; }
.reading-page .prose > :first-child { margin-top: 0; }
.reading-page .article-toc { margin-top: 5px; padding-left: 22px; top: 30px; }
.reading-page .toc-label { color: var(--ink); font-size: 13px; margin-bottom: 8px; }
.reading-page .article-toc a { font-size: 13px; line-height: 1.8; color: #667489; }
.reading-page .article-toc a:is(:hover,:focus-visible) { color: var(--blue); }
.reading-page .prose :is(figcaption,.note-clip figcaption,.dashboard-evidence figcaption) { text-align: left; font-size: 13px; color: #647186; line-height: 1.85; }
.reading-page .prose figure img { border-radius: 3px; }
.reading-page .note-evidence, .reading-page .prose .note-clip, .reading-page .dashboard-evidence { margin-block: 36px; padding: 20px; border: 1px solid var(--line); border-radius: 4px; background: #f7f9fc; }
.reading-page .note-diagram { background: white; }
.reading-page .note-clip video { border-radius: 3px; }
.reading-page .prose .note-clip h3 { font-size: 20px; margin-top: 0; }
.reading-page .note-clip > p { font-size: 15px; }
.reading-page .callout { padding: 22px 24px; border-radius: 3px; font-size: 15px; }
.reading-page .callout-title { font-size: 14px; }
.reading-page .summary-label { color: #647186; font-size: 13px; }
.reading-page .summary-item p { font-size: 14px; color: #526075; }
.reading-page .data-table-wrapper { border-radius: 3px; }
.reading-page .data-table-wrapper table { font-size: 14px; }
.reading-page .code-block { border-radius: 4px; background: #f5f7fb; }
.reading-page .code-toolbar { padding: 11px 16px; font-size: 12px; background: #edf1f7; color: #52647f; }
.reading-page .code-toolbar > span { min-width: 0; overflow-wrap: anywhere; }
.reading-page .code-toolbar button { min-height: 32px; font-size: 12px; }
.reading-page .code-block pre { padding: 22px; font-size: 14px; line-height: 1.8; }
.reading-page .article-end { gap: 16px 24px; margin-top: 48px; padding-top: 24px; }
.reading-page .note-details { padding-block: 18px; }
.reading-page .note-details summary { font-size: 15px; }
.reading-page .article-layout.article-guide { display: block; max-width: 920px; }
.reading-page .article-guide .prose { max-width: var(--reading-width); line-height: 1.95; }
.reading-page .guide-toc { max-width: var(--reading-width); padding: 20px 24px; background: #f8fafc; border-radius: 3px; }
.reading-page .guide-toc nav { font-size: 14px; }
.reading-page .note-cover { max-width: 1060px; margin-bottom: 38px; }
.reading-page .note-cover img { border-radius: 3px; }
.reading-page .note-cover figcaption { font-size: 13px; color: var(--editorial-muted); }
.reading-page .article-guide .note-evidence { padding: 0; background: white; }
.reading-page .article-guide .note-evidence figcaption { padding: 0 16px 18px; }

/* Lab: a browsable knowledge hub, architecture, equipment and current experiments. */
.lab-page > .section { border-top: 0; border-bottom: 1px solid var(--line); }
.lab-page .lab-guide { padding-top: 46px; }
.lab-page .lab-guide-lead { gap: 44px; }
.lab-page .lab-guide-lead .section-title { font-size: 30px; }
.lab-page .lab-guide-lead p:not(.eyebrow) { font-size: 16px; }
.lab-page .lab-guide-cover img { border: 1px solid var(--line); border-radius: 3px; }
.lab-page .use-case-grid { gap: 14px; }
.lab-page .use-case-card { border-top-width: 3px; border-radius: 3px; transition: background var(--motion-ui),border-color var(--motion-ui); }
.lab-page .use-case-card p { font-size: 14px; }
.lab-page .lab-tracks { gap: 30px; }
.lab-page .lab-tracks > article { padding: 24px 0; background: white; border: 0; border-top: 2px solid #dae4f5; border-radius: 0; }
.lab-page .lab-tracks h3 { font-size: 22px; line-height: 1.6; letter-spacing: -.02em; }
.lab-page .lab-directions-intro { font-size: 16px; line-height: 1.95; color: #59667a; }
.lab-page .lab-architecture { margin-top: 30px; padding: 18px; border-radius: 3px; background: #fff; }
.lab-page .lab-architecture figcaption { font-size: 13px; color: var(--editorial-muted); }
.lab-page .lab-device-heading { margin-block: 38px 24px; font-size: 26px; }
.lab-page .lab-device-grid { gap: 26px; }
.lab-page .lab-device { display: flex; flex-direction: column; padding: 22px; border-radius: 3px; background: #fff; }
.lab-page .lab-device-photo, .lab-page .lab-device-photo[src*="gx10"] { height: 190px; object-fit: contain; margin-bottom: 23px; }
.lab-page .lab-device h4 { font-size: 22px; }
.lab-page .lab-device .lab-device-model { font-size: 14px; line-height: 1.8; }
.lab-page .lab-device-specs { font-size: 14px; }
.lab-page .lab-device > .text-link { margin-top: auto; padding-top: 14px; }
.lab-page .lab-access { padding: 22px 24px; border-radius: 3px; font-size: 15px; }
.lab-page .lab-access p { line-height: 1.95; }
.lab-page .lab-experiment-grid { gap: 16px 36px; }
.lab-page .principle { border-top: 1px solid #d9e2f0; padding-block: 26px; }
.lab-page .principle h3 { font-size: 23px; line-height: 1.55; }
.lab-page .principle p { font-size: 15px; line-height: 1.95; }
.lab-page .principle > span { font-size: 12px; color: #647186; }
.lab-page #lab-monitoring > .callout { padding: 28px 30px; border-radius: 3px; background: var(--editorial-wash); }
.lab-page #lab-monitoring > .callout h2 { margin-block: 12px; font-size: 26px; font-weight: 500; line-height: 1.6; }
.lab-page #lab-monitoring > .callout p { font-size: 15px; }
.lab-page #lab-monitoring > .callout .eyebrow { font-size: 12px; }
.lab-page .summary-grid { background: var(--editorial-wash); border-radius: 3px; }
.lab-page .summary-item p { font-size: 14px; color: #526075; }

/* Notes: readable summaries and clear filtering, with publication chronology unchanged. */
.notes-page .note-search-controls { max-width: 720px; margin-bottom: 24px; }
.notes-page .note-search-controls > label { font-size: 14px; }
.notes-page .note-search-row input { min-height: 48px; border-color: #cbd6e6; border-radius: 3px; font-size: 16px; }
.notes-page .filter-count { color: var(--editorial-muted); font-size: 13px; }
.notes-page .writing-item { padding-block: 28px; grid-template-columns: 125px minmax(0,1fr) 28px; gap: 30px; }
.notes-page .writing-title { font-size: 23px; line-height: 1.65; font-weight: 500; letter-spacing: -.025em; }
.notes-page .writing-description { margin-top: 10px; max-width: 780px; font-size: 15px; line-height: 1.95; color: #647186; }
.notes-page .writing-date, .notes-page .writing-date > span { font-size: 13px; color: #6c788b; }
.notes-page .writing-meta { color: #647186; font-size: 13px; }
.notes-page .writing-arrow { min-height: 40px; font-size: 21px; color: #7b8aa1; }
.notes-page .note-tags { margin-top: 17px; }
.notes-page .note-tag { padding: 4px 9px; border-radius: 3px; font-size: 12px; }
/* Optional notes-list thumbnails; the homepage keeps its compact text-only layout. */
.notes-page .note-list-row { grid-template-columns: minmax(0,1fr) 28px; align-items: start; gap: 26px; }
.notes-page .note-list-row.has-thumbnail { grid-template-columns: minmax(0,1fr) 180px; }
.notes-page .note-list-row .writing-content { min-width: 0; }
.notes-page .writing-details { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 20px; margin-bottom: 10px; }
.notes-page .writing-details .writing-date { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; padding-top: 0; font-size: 12px; line-height: 1.8; }
.notes-page .writing-details .writing-date > span { margin: 0; font-size: 12px; }
.notes-page .writing-details .writing-meta { margin: 0; font-size: 12px; line-height: 1.8; }
.notes-page .note-list-row .writing-arrow { align-self: start; }
.notes-page .note-list-row .writing-thumbnail { position: relative; display: block; align-self: center; width: 180px; height: 112px; aspect-ratio: 8 / 5; min-height: 0; overflow: hidden; border: 1px solid #dce3ed; border-radius: 4px; background: #f3f6fa; }
.notes-page .writing-thumbnail img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform var(--motion-ui) var(--motion-ease); }
.notes-page .writing-thumbnail-guide { background: #f6f5f2; }
.notes-page .writing-thumbnail-gameplay { background: #fff; }
.notes-page .writing-thumbnail-gameplay img { image-rendering: pixelated; }
.notes-page .writing-thumbnail-dashboard img { object-fit: cover; object-position: center top; }
.notes-page .writing-thumbnail-illustration { background: #f5f0e7; }
.notes-page .writing-thumbnail-illustration img { object-fit: cover; object-position: center 60%; }
.notes-page .writing-thumbnail:is(:hover,:focus-visible) img { transform: scale(1.025); }
.notes-page .writing-thumbnail-open { position: absolute; right: 5px; bottom: 5px; display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid #dce3ed; border-radius: 50%; color: var(--blue); background: #fff; font-size: 13px; line-height: 1; }
.inner-page .contact-panel { padding: 32px; border-radius: 3px; background: var(--editorial-wash); margin-bottom: 0; }
.inner-page .contact-panel h2 { font-size: 27px; line-height: 1.5; font-weight: 500; }
.inner-page .contact-panel p { font-size: 15px; color: #59667a; }

/* About: current AI work, a complete portrait and the existing newest-first timeline. */
.about-page .about-layout { grid-template-columns: minmax(0,1fr) 280px; gap: 80px; padding-block: 48px 64px; }
.about-page .about-intro > h2 { font-size: 30px; font-weight: 500; line-height: 1.5; }
.about-page .about-intro p { font-size: 16px; line-height: 1.95; color: #59667a; }
.about-page .about-panel { border: 0; padding: 0; background: transparent; border-radius: 0; }
.about-page .about-portrait { max-width: none; margin: 0; }
.about-page .about-portrait img { width: 100%; height: auto; object-fit: contain; aspect-ratio: 853 / 1280; border-radius: 3px; }
.about-page .about-portrait figcaption { font-size: 15px; margin-top: 14px; }
.about-page .about-portrait figcaption span { font-size: 12px; }
.about-page .about-intro .about-credential { padding-block: 14px; border-block: 1px solid var(--line); font-size: 13px; color: var(--blue); }
.about-page .about-facts > div { font-size: 13px; padding-block: 16px; }
.about-page .about-facts > div > span { font-size: 12px; min-width: 100px; }
.about-page .about-facts > div > strong { font-size: 14px; font-weight: 450; }
.about-page .about-background .section-intro { max-width: 800px; margin-top: 20px; font-size: 16px; }
.about-page .career-heading { max-width: 800px; margin-bottom: 42px; }
.about-page .career-heading > p:last-child { font-size: 16px; color: #59667a; }
.about-page .career-milestone { grid-template-columns: 170px minmax(0,1fr); gap: 36px; }
.about-page .career-period { color: #526075; font-size: 14px; }
.about-page .career-company { color: var(--blue); font-size: 13px; }
.about-page .career-detail { padding: 0 0 42px 32px; }
.about-page .career-detail h3 { font-size: 25px; font-weight: 500; }
.about-page .career-detail > p:not(.career-company) { font-size: 16px; line-height: 1.95; }
.about-page .career-detail ul { font-size: 15px; line-height: 1.95; }
.error-page .empty-state { border-style: solid; border-radius: 3px; color: #59667a; }
html[lang="en"] .work-page .project-title { line-height: 1.45; }
html[lang="en"] .project-role { grid-template-columns: 78px minmax(0,1fr); }
html[lang="en"] .inner-page .page-title, html[lang="en"] .reading-page .article-title { line-height: 1.3; }

@media (prefers-reduced-motion: no-preference) {
  .inner-page .editorial-reveal { animation: editorial-reveal var(--motion-reveal) var(--motion-ease) both; }
  @keyframes editorial-reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 1000px) {
  .case-overview { gap: 30px; }
  .lab-page .lab-device-grid { grid-template-columns: 1fr; gap: 20px; }
  .lab-page .lab-device { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: 0 28px; }
  .lab-page .lab-device-photo { grid-column: 1; grid-row: 1 / 8; align-self: center; margin-bottom: 0; }
  .lab-page .lab-device > :not(.lab-device-photo) { grid-column: 2; }
  .about-page .about-layout { gap: 44px; grid-template-columns: minmax(0,1fr) 230px; }
}
@media (max-width: 980px) {
  .reading-page .article-layout { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .reading-page .article-toc { display: block; grid-column: 1; grid-row: 1; position: static; margin-top: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 3px; background: #f8fafc; min-width: 0; }
  .reading-page .article-toc nav { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px 24px; }
  .reading-page .article-toc a { font-size: 13px; }
  .reading-page .prose { grid-column: 1; grid-row: 2; }
}
@media (max-width: 800px) {
  .inner-page .page-heading { padding-block: 48px 30px; }
  .inner-page .page-title { font-size: 36px; }
  .inner-page .section { padding-block: 48px; }
  .work-page .project-grid { gap: 36px 26px; }
  .work-page .project-title { font-size: 23px; }
  .case-overview { grid-template-columns: 1fr; gap: 26px; margin-bottom: 34px; padding-bottom: 32px; }
  .case-facts { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 24px; }
  .case-fact-outcome { grid-column: 1 / -1; }
  .case-fact:first-child { padding-top: 13px; }
  .case-overview .case-screenshot { max-width: 720px; }
  .lab-page .lab-guide-lead { grid-template-columns: 1fr; gap: 26px; }
  .lab-page .lab-tracks, .lab-page .lab-experiment-grid { grid-template-columns: 1fr; gap: 0; }
  .about-page .about-layout { gap: 32px; grid-template-columns: minmax(0,1fr) 200px; }
  .about-page .career-milestone { grid-template-columns: 140px minmax(0,1fr); gap: 24px; }
}
@media (max-width: 620px) {
  .footer-inner { flex-direction: column; padding-block: 30px 24px; }
  .footer-links { gap: 10px 20px; }
  .inner-page .page-heading { padding-block: 36px 26px; }
  .inner-page .page-title { font-size: clamp(29px,7.6vw,36px); line-height: 1.5; }
  .inner-page .page-description { font-size: 15px; margin-top: 17px; }
  .inner-page .section-title { font-size: 26px; }
  .inner-page .listing-section { padding-top: 24px; }
  .inner-page .filter-bar { gap: 8px; padding-bottom: 22px; }
  .inner-page .filter-button { padding: 8px 11px; font-size: 12px; }
  .work-page .project-grid { grid-template-columns: 1fr; gap: 34px; }
  .work-page .project-title { font-size: 24px; }
  .work-page .project-content { padding-top: 19px; }
  .work-page .project-description { font-size: 15px; }
  .project-role { grid-template-columns: 60px minmax(0,1fr); gap: 10px; }
  .work-page .project-evidence { padding-bottom: 18px; }
  .reading-page .article-header { padding-block: 30px 28px; }
  .reading-page .breadcrumbs { font-size: 12px; margin-bottom: 24px; }
  .reading-page .article-title { font-size: clamp(28px,7.8vw,35px); line-height: 1.5; }
  .reading-page .article-deck { font-size: 16px; line-height: 1.95; }
  .reading-page .article-meta { font-size: 12px; gap: 7px 12px; margin-top: 22px; }
  .case-overview { padding-block: 20px 30px; }
  .case-facts { grid-template-columns: 1fr; }
  .case-fact-outcome { grid-column: auto; }
  .case-overview .case-screenshot figcaption { font-size: 12px; }
  .reading-page .article-layout { padding-bottom: 50px; gap: 28px; }
  .reading-page .prose { font-size: 16px; line-height: 1.95; }
  .reading-page .prose h2 { font-size: 24px; margin-block: 40px 18px; }
  .reading-page .prose h3 { font-size: 20px; }
  .reading-page .article-toc { padding: 15px 16px; }
  .reading-page .article-toc nav { flex-wrap: nowrap; overflow-x: auto; padding: 4px 4px 8px; gap: 18px; }
  .reading-page .article-toc a { flex: 0 0 auto; max-width: 200px; min-height: 32px; }
  .reading-page .note-evidence, .reading-page .prose .note-clip, .reading-page .dashboard-evidence { padding: 14px; margin-block: 28px; }
  .reading-page .prose .note-clip h3 { font-size: 19px; }
  .reading-page .callout { padding: 18px; font-size: 14px; }
  .reading-page .summary-grid { grid-template-columns: 1fr; }
  .reading-page .summary-item { border-right: 0; padding: 17px 18px; }
  .reading-page .summary-item:not(:last-child) { border-bottom: 1px solid var(--line); }
  .reading-page .code-toolbar { flex-wrap: wrap; gap: 8px; padding: 10px 12px; }
  .reading-page .code-block pre { padding: 17px; font-size: 13px; }
  .reading-page .data-table-wrapper table { font-size: 13px; }
  .reading-page .guide-toc { padding: 16px 18px; }
  .reading-page .note-cover { margin-bottom: 28px; }
  .lab-page .lab-guide-lead .section-title { font-size: 26px; }
  .lab-page .use-case-grid { grid-template-columns: 1fr; gap: 12px; }
  .lab-page .use-case-card { padding: 18px 40px 18px 16px; }
  .lab-page .lab-device { display: flex; padding: 20px; }
  .lab-page .lab-device-photo { height: 190px; margin-bottom: 22px; }
  .lab-page .lab-device-heading { font-size: 24px; }
  .lab-page .lab-architecture { padding: 10px; }
  .lab-page #lab-monitoring > .callout { padding: 22px 20px; }
  .lab-page #lab-monitoring > .callout h2 { font-size: 23px; }
  .notes-page .writing-item { grid-template-columns: minmax(0,1fr) 24px; gap: 10px 14px; padding-block: 24px; }
  .notes-page .writing-date { grid-column: 1; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding-top: 0; }
  .notes-page .writing-date > span { margin: 0; }
  .notes-page .writing-content { grid-column: 1 / -1; grid-row: 2; }
  .notes-page .writing-arrow { grid-column: 2; grid-row: 1; }
  .notes-page .writing-title { font-size: 20px; }
  .notes-page .writing-description { font-size: 14px; line-height: 1.95; }
  .notes-page .note-list-row, .notes-page .note-list-row.has-thumbnail { position: relative; display: block; }
  .notes-page .note-list-row .writing-content { display: flow-root; }
  .notes-page .note-list-row .writing-details { display: flex; padding-right: 32px; gap: 5px 12px; margin-bottom: 12px; }
  .notes-page .note-list-row .writing-details .writing-date { gap: 5px 10px; }
  .notes-page .note-list-row .writing-title { margin: 0; font-size: 20px; }
  .notes-page .note-list-row .writing-arrow { position: absolute; right: 0; top: 24px; }
  .notes-page .note-list-row.has-thumbnail { display: grid; grid-template-columns: minmax(0,1fr) 112px; column-gap: 16px; }
  .notes-page .note-list-row.has-thumbnail .writing-content { display: contents; }
  .notes-page .note-list-row.has-thumbnail .writing-details { grid-column: 1 / -1; padding-right: 0; margin-bottom: 10px; }
  .notes-page .note-list-row.has-thumbnail .writing-title { grid-column: 1; grid-row: 2; align-self: start; }
  .notes-page .note-list-row.has-thumbnail .writing-description, .notes-page .note-list-row.has-thumbnail .note-tags { grid-column: 1 / -1; }
  .notes-page .note-list-row.has-thumbnail .writing-thumbnail { position: relative; right: auto; top: auto; grid-column: 2; grid-row: 2; align-self: start; width: 112px; height: 70px; margin-top: 4px; }
  .notes-page .writing-thumbnail-open { width: 19px; height: 19px; font-size: 11px; right: 3px; bottom: 3px; }
  .notes-page .note-list-row.has-thumbnail .writing-description { margin-top: 12px; }
  .notes-page .note-list-row.has-thumbnail .note-tags { margin-top: 15px; }
  .inner-page .contact-panel { padding: 24px 20px; }
  .inner-page .contact-panel h2 { font-size: 24px; }
  .about-page .about-layout { grid-template-columns: 1fr; gap: 30px; padding-block: 32px 48px; }
  .about-page .about-panel { display: block; max-width: 230px; }
  .about-page .about-intro > h2 { font-size: 26px; }
  .about-page .about-intro p { font-size: 15px; }
  .about-page .about-facts > div > span { min-width: 85px; }
  .about-page .about-background .section-intro { font-size: 15px; }
  .about-page .career-milestone { grid-template-columns: 1fr; gap: 12px; }
  .about-page .career-period { padding-left: 25px; font-size: 13px; }
  .about-page .career-detail { margin-left: 4px; padding-left: 24px; padding-bottom: 34px; }
  .about-page .career-detail h3 { font-size: 22px; }
  .about-page .career-detail > p:not(.career-company) { font-size: 15px; }
  .about-page .career-detail ul { font-size: 14px; }
}
@media (max-width: 360px) {
  .notes-page .note-list-row.has-thumbnail { grid-template-columns: minmax(0,1fr) 96px; column-gap: 12px; }
  .notes-page .note-list-row.has-thumbnail .writing-thumbnail { width: 96px; height: 60px; }
  .notes-page .note-list-row .writing-title { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
@media print {
  .inner-page .page-heading, .reading-page .article-header { padding-block: 20px; }
  .reading-page .article-layout { display: block; }
  .case-overview { display: block; }
  .case-facts { break-inside: avoid; }
  .inner-page .editorial-reveal { animation: none; }
}
