/* NECIP SULBU / Work archive
   Visual references: Paco Coursey (typographic restraint),
   Brian Lovin (scan-friendly index), Steph Ango (reading rhythm),
   Rauno Freiberg (deliberate hierarchy).
  Original implementation, with local project screenshots.
*/
:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #202521;
  --muted: #646e67;
  --subtle: #8b958e;
  --line: #dfe4dd;
  --wash: #f5f7f4;
  --accent: #865f47;
  --heading: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
img { max-width: 100%; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: #e9e1d8; color: var(--ink); }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: 20px; top: -70px; z-index: 100; background: white; color: black; padding: 10px 15px; border: 2px solid var(--ink); }
.skip-link:focus { top: 14px; }
.site-header { position: relative; border-bottom: 1px solid var(--line); background: var(--paper); z-index: 5; }
.header-inner {
  max-width: 964px;
  min-height: 68px;
  padding: 12px 32px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
}
.site-brand { text-decoration: none; display: inline-flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand-name { font-family: var(--heading); font-weight: 700; font-size: 22px; letter-spacing: -.06em; line-height: 1.1; white-space: nowrap; }
.brand-period { color: var(--accent); }
.brand-description { font-family: var(--mono); color: var(--muted); font-size: 10px; line-height: 1.6; }
.site-nav { display: flex; gap: clamp(12px,2.4vw,30px); align-items: center; flex-wrap: wrap; }
.site-nav a { font-size: 13px; font-weight: 600; text-decoration: none; line-height: 1.5; white-space: nowrap; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.site-nav a span { color: var(--subtle); font-size: 11px; }
.site-main { width: min(calc(100% - 64px), 900px); margin: 0 auto; min-height: 75vh; }
.section-kicker, .overline { font-family: var(--mono); font-size: 11px; font-weight: 600; line-height: 1.8; letter-spacing: .045em; color: var(--accent); }
.tiny-square { display: inline-block; width: 8px; height: 8px; background: var(--accent); margin-right: 10px; transform: translateY(-1px); }
.home-intro { padding: 40px 0 32px; border-bottom: 1px solid var(--line); }
.home-intro h1 {
  font-family: var(--heading);
  font-size: clamp(34px, 4.4vw, 48px);
  line-height: 1.12;
  letter-spacing: -.055em;
  font-weight: normal;
  margin: 14px 0 18px;
}
.home-intro h1 em { font-style: italic; font-weight: normal; letter-spacing: -.055em; color: #44534a; }
.home-lede { max-width: 660px; color: #4a554c; font-size: 17px; line-height: 1.65; letter-spacing: -.012em; margin: 0; }
.home-signature { display: flex; align-items: center; gap: 10px 24px; flex-wrap: wrap; margin-top: 20px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.home-signature span:first-child { color: var(--ink); font-weight: 700; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 22px; font-size: 13px; }
.intro-actions a { text-decoration-color: #b8c3b8; }
.intro-actions .contact-link { color: var(--accent); font-weight: 650; }
.selected-work { padding: 28px 0 12px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.section-heading h2 { font: normal 27px/1.2 var(--heading); letter-spacing: -.035em; margin: 0; }
.section-heading > a { color: var(--muted); font-size: 12px; }
.selected-project { display: grid; grid-template-columns: minmax(0,1fr) 240px; align-items: center; gap: 32px; padding: 22px 0; border-top: 1px solid var(--line); text-decoration: none; }
.selected-project:hover h3 { color: var(--accent); }
.selected-role { color: var(--accent); font: 10px/1.7 var(--mono); }
.selected-project h3 { font: normal 25px/1.2 var(--heading); letter-spacing: -.035em; margin: 6px 0 9px; }
.selected-project h3 a { text-decoration: none; }
.selected-project h3 span { color: var(--accent); font: 16px var(--body); }
.selected-project p { color: #4b574e; font-size: 14px; line-height: 1.65; margin: 0 0 10px; max-width: 62ch; }
.selected-detail { display: block; font-size: 11px; color: var(--muted); }
.selected-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 11px; font-size: 12px; }
.selected-links a { text-decoration-color: #b8c3b8; }
.selected-image { display: block; }
.selected-project img { display: block; width: 240px; height: auto; aspect-ratio: 16/9; object-fit: cover; border: 1px solid var(--line); border-radius: 3px; }
.colleague-reference { margin: 26px 0 40px; padding: 4px 0 4px 22px; border-left: 2px solid var(--accent); max-width: 760px; }
.colleague-reference blockquote { margin: 0; }
.colleague-reference blockquote p { color: #465348; font-size: 16px; line-height: 1.8; margin: 0 0 14px; }
.colleague-reference figcaption { display: flex; flex-wrap: wrap; gap: 5px 16px; align-items: baseline; font-size: 12px; color: var(--muted); }
.colleague-reference cite { font-weight: 650; font-style: normal; color: var(--ink); }
.archive-link { display: flex; flex-wrap: wrap; gap: 9px 24px; align-items: baseline; border-top: 1px solid var(--line); margin: 0; padding: 20px 0 30px; }
.archive-link a { font-size: 14px; text-decoration-color: #b8c3b8; }
.archive-link span { font-size: 12px; color: var(--muted); }
.education-note { color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 18px; }
.career-list { list-style: none; margin: 22px 0 0; padding: 0; }
.career-list li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; border-top: 1px solid var(--line); padding: 12px 0; }
.career-period { font: 10px/1.8 var(--mono); color: var(--muted); padding-top: 2px; }
.career-list a { text-decoration: none; font-size: 13px; }
.career-list a strong, .career-list a span { display: block; }
.career-list a span { color: var(--muted); font-size: 12px; }
.contact-section { border-top: 1px solid var(--ink); display: grid; grid-template-columns: 1fr 1.7fr; gap: 24px; padding: 26px 0 44px; }
.contact-section h2 { font: normal 27px/1.2 var(--heading); letter-spacing: -.035em; margin: 0 0 10px; }
.contact-section p { color: var(--muted); font-size: 13px; max-width: 29ch; margin: 0; }
.contact-email { display: inline-block; font-size: 18px; overflow-wrap: anywhere; text-decoration-color: #b8c3b8; }
.archive-tools { padding: 26px 0 20px; }
.archive-tools-heading { display: grid; grid-template-columns: 1fr 260px; gap: 20px; align-items: end; }
.archive-tools h2 { margin: 2px 0 0; font-family: var(--heading); font-size: 27px; line-height: 1.14; letter-spacing: -.045em; font-weight: normal; }
.archive-total { font-size: 20px; color: var(--subtle); vertical-align: middle; }
.archive-search-wrap { position: relative; display: flex; flex-direction: column; gap: 5px; }
.archive-search-wrap label { font-family: var(--mono); color: var(--muted); font-size: 10px; }
.archive-search-wrap input { width: 100%; border: 1px solid #cfd6cd; border-radius: 5px; padding: 11px 39px 11px 13px; background: var(--paper); color: var(--ink); font-size: 13px; outline: none; }
.archive-search-wrap input:focus { border-color: var(--accent); outline: 2px solid #eadfd6; outline-offset: 1px; }
.archive-search-wrap input::placeholder { color: var(--subtle); }
.search-glyph { position: absolute; right: 13px; bottom: 8px; color: var(--muted); font-size: 22px; line-height: 1.5; pointer-events: none; }
.archive-quicknav { margin-top: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.archive-quicknav a { flex: 0 0 auto; border: 1px solid var(--line); background: #fff; text-decoration: none; padding: 7px 12px; border-radius: 3px; color: #435147; font-size: 12px; line-height: 1.65; transition: border-color .14s ease, background .14s ease; }
.archive-quicknav a span { color: var(--accent); font-family: var(--mono); font-size: 10px; margin-right: 4px; }
.archive-quicknav a:hover { border-color: #9eaca1; background: var(--wash); color: var(--ink); }
.filter-count { text-align: right; margin: 8px 0 0; font-family: var(--mono); font-size: 11px; color: var(--muted); min-height: 1.6em; }
.work-group { scroll-margin-top: 24px; margin: 0 0 38px; }
.group-heading { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: start; padding: 18px 0; border-top: 1px solid var(--ink); }
.group-folio { color: var(--accent); font-family: var(--mono); font-size: 12px; padding-top: 6px; }
.group-heading h2 { font-family: var(--heading); font-size: 26px; line-height: 1.2; letter-spacing: -.045em; font-weight: normal; margin: 0 0 5px; }
.group-heading p { color: var(--muted); margin: 0; font-size: 13px; line-height: 1.6; max-width: 72ch; }
.project-list { border-bottom: 1px solid var(--line); }
.project-row { text-decoration: none; display: grid; grid-template-columns: 32px minmax(0,1fr) 184px; gap: 16px; align-items: center; min-height: 142px; border-top: 1px solid var(--line); padding: 17px 4px; transition: background .14s ease; }
.project-row:hover { color: var(--ink); background: #f9faf8; }
.project-row:focus-visible { outline-offset: -2px; }
.project-num { font-family: var(--mono); font-size: 12px; color: var(--subtle); align-self: start; padding-top: 4px; }
.project-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.project-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; line-height: 1.5; letter-spacing: .01em; color: var(--muted); margin-bottom: 5px; }
.eyebrow-sep { color: var(--subtle); }
.project-title { display: block; font-family: var(--heading); font-size: 24px; font-weight: normal; letter-spacing: -.04em; line-height: 1.22; max-width: 100%; }
.inline-arrow { display: inline-block; font: normal 18px var(--body); margin-left: 10px; color: var(--accent); opacity: .8; transform: translateY(-1px); transition: transform .16s ease; }
.project-row:hover .inline-arrow { transform: translate(3px,-4px); }
.project-summary { display: block; color: #59655b; font-size: 13px; line-height: 1.6; margin-top: 6px; max-width: 57ch; }
.project-tags { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 7px; font-family: var(--mono); font-size: 10px; color: var(--accent); line-height: 1.7; }
.project-tags span::before { content: '#'; margin-right: 2px; }
.project-visual { display: block; width: 184px; background: #f1f3ee; aspect-ratio: 16 / 9; border: 1px solid #e6e9e3; border-radius: 3px; overflow: hidden; }
.project-visual img { width: 100%; height: 100%; display: block; object-fit: cover; }
.project-visual-empty { display: flex; align-items: center; justify-content: center; color: #b5bfb6; font-family: var(--heading); font-size: 80px; }
.about-section { border-top: 1px solid var(--ink); margin: 42px 0 48px; padding-top: 24px; display: grid; grid-template-columns: 1fr 1.7fr; gap: 24px; scroll-margin-top: 24px; }
.about-section h2 { font-family: var(--heading); font-size: 27px; line-height: 1.2; letter-spacing: -.045em; font-weight: normal; margin: 0; }
.about-copy p { font-size: 14px; color: #4f5d51; line-height: 1.75; margin: 0 0 14px; max-width: 69ch; }
.about-links { display: flex; flex-wrap: wrap; gap: 22px; padding-top: 13px; font-size: 14px; font-weight: 600; }
.about-links a { text-decoration: underline; text-decoration-color: #bdc6bd; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { width: min(calc(100% - 64px), 900px); margin: auto; padding: 22px 0; display: flex; align-items: start; flex-wrap: wrap; gap: 12px 24px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.footer-inner span:first-child { color: var(--ink); font-weight: 700; }
.footer-inner a { color: var(--ink); }
.footer-inner a:nth-last-child(2) { margin-left: auto; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.breadcrumbs a { text-decoration: none; border-bottom: 1px solid #d3d9d1; color: #405047; }
.breadcrumbs a:hover { color: var(--accent); }
.case-hero { padding: 24px 0; }
.case-hero h1 { font-family: var(--heading); font-weight: normal; letter-spacing: -.05em; font-size: clamp(32px,4.2vw,46px); line-height: 1.14; margin: 0 0 14px; text-wrap: balance; overflow-wrap: break-word; }
.case-byline { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 12px; line-height: 1.65; color: var(--muted); }
.case-byline span + span { border-left: 1px solid var(--line); padding-left: 18px; }
.prototype-figure { margin: 0 0 32px; }
.prototype-frame { padding: 8px; background: #f0f2ee; border: 1px solid #e2e7e0; border-radius: 4px; }
.prototype-frame img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; display: block; background: #eef0ec; }
.prototype-figure figcaption { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.prototype-figure figcaption > span:first-child { color: var(--accent); font-family: var(--mono); font-size: 10px; font-weight: 700; flex: 0 0 auto; padding-top: 2px; }
.screenshot-figure .prototype-frame img { aspect-ratio: auto; background: #fff; }
.screenshot-figure .prototype-frame a { display: block; }
.screenshot-figure .prototype-frame a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.project-gallery { display: grid; gap: 24px; margin-bottom: 32px; }
.project-gallery .prototype-figure { margin: 0; }
.case-content { margin: 0 0 28px; }
.case-content > p { max-width: 740px; font-size: 16px; color: #4b574e; line-height: 1.8; margin: 0 0 16px; }
.case-content .screenshot-figure { margin: 24px 0 28px; }
.role-workflow { margin: 24px 0 28px; padding: 20px; border: 1px solid var(--line); background: #f8faf7; }
.role-workflow > figcaption { font: 11px/1.7 var(--mono); color: var(--accent); }
.role-workflow ol { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); list-style: none; padding: 0; margin: 18px 0; counter-reset: step; gap: 22px; }
.role-workflow li { position: relative; counter-increment: step; font-size: 13px; line-height: 1.55; padding-top: 24px; }
.role-workflow li::before { content: '0' counter(step); position: absolute; top: 0; left: 0; font: 10px/1.5 var(--mono); color: var(--accent); }
.role-workflow li:not(:last-child)::after { content: '→'; position: absolute; right: -16px; top: 26px; color: var(--subtle); }
.role-workflow p { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 0; }
.case-contact { font-size: 13px; color: var(--muted); padding: 18px 0 24px; border-top: 1px solid var(--line); margin: 0; }
.case-content p:last-child { margin-bottom: 0; }
.case-content a { color: var(--ink); text-decoration-color: #b8c3b8; }
.case-content a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.work-bottom-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 48px; display: grid; grid-template-columns: 1fr 1fr; }
.work-bottom-nav a { display: flex; flex-direction: column; gap: 7px; text-decoration: none; padding: 20px 20px 20px 0; }
.work-bottom-nav a + a { border-left: 1px solid var(--line); padding-left: 24px; padding-right: 0; text-align: right; align-items: flex-end; }
.work-bottom-nav a small { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.work-bottom-nav a strong { font-family: var(--heading); font-size: 19px; line-height: 1.25; font-weight: normal; max-width: 31ch; }
.work-bottom-nav a:hover strong { text-decoration: underline; text-decoration-color: #bcc4ba; }
.not-found { padding: 100px 0; min-height: 66vh; }
.not-found h1 { font-family: var(--heading); font-size: 64px; font-weight: normal; letter-spacing: -.04em; }
.not-found>p { font-family: var(--mono); font-size: 12px; color: var(--accent); }
/* Reference reading pages */
.document-title { padding: 60px 0 36px; border-bottom: 1px solid var(--line); }
.document-title h1 { font-family: var(--heading); font-weight: normal; font-size: clamp(34px,4.5vw,53px); letter-spacing: -.06em; line-height: 1.18; text-transform: capitalize; margin: 15px 0 20px; overflow-wrap: break-word; }
.document-title>p { font-size: 16px; line-height: 1.75; max-width: 75ch; color: var(--muted); }
.doc-content { max-width: 790px; margin: 0 auto; padding: 42px 0 80px; }
.doc-content h2 { font-family: var(--heading); font-size: 30px; font-weight: normal; letter-spacing: -.045em; line-height: 1.25; margin: 45px 0 18px; }
.doc-content h3 { font-family: var(--heading); font-size: 23px; font-weight: normal; letter-spacing: -.03em; margin: 36px 0 15px; }
.doc-content h4 { font-size: 17px; font-weight: 650; margin: 29px 0 12px; }
.doc-content p { font-size: 16px; color: #505c52; line-height: 1.85; margin: 0 0 19px; }
.doc-content strong { color: var(--ink); }
.doc-content ol, .doc-content ul { padding-left: 25px; margin: 19px 0 27px; }
.doc-content li { font-size: 15px; line-height: 1.75; margin: 8px 0; }
.doc-content li::marker { color: var(--accent); }
.doc-content .doc-table-wrap { max-width: 100%; overflow-x: auto; margin: 26px 0 38px; border-top: 1px solid var(--line); }
.doc-content table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 14px; line-height: 1.65; }
.doc-content th, .doc-content td { padding: 13px 12px; vertical-align: top; border-bottom: 1px solid var(--line); text-align: left; }
.doc-content th { font-size: 12px; background: var(--wash); }
.doc-content pre { overflow: auto; font-size: 13px; padding: 19px; border: 1px solid var(--line); background: var(--wash); }
.doc-end { padding: 25px 0 80px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; font-weight: 600; }
.doc-end a { text-decoration: none; }
@media (max-width: 900px) {
  .project-row { grid-template-columns: 28px minmax(0,1fr) 160px; gap: 14px; }
  .project-visual { width: 160px; }
  .about-section { grid-template-columns: 1fr 1.2fr; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 20px; }
  body { font-size: 15px; }
  .header-inner { min-height: 0; padding: 18px 20px 16px; gap: 15px; align-items: flex-start; flex-direction: column; }
  .site-nav { width: 100%; gap: 14px; border-top: 1px solid var(--line); padding-top: 11px; }
  .site-nav a { font-size: 12px; }
  .site-main { width: calc(100% - 40px); }
  .home-intro { padding: 28px 0 24px; }
  .home-intro h1 { font-size: clamp(29px,7.4vw,40px); letter-spacing: -.05em; margin: 12px 0 16px; }
  .home-lede { font-size: 16px; }
  .intro-actions { gap: 10px 18px; font-size: 12px; }
  .selected-project { grid-template-columns: minmax(0,1fr) 110px; gap: 16px; padding: 20px 0; align-items: start; }
  .selected-project img { width: 110px; margin-top: 6px; }
  .selected-project h3 { font-size: 22px; }
  .selected-project p { font-size: 13px; line-height: 1.6; }
  .selected-detail { font-size: 11px; }
  .selected-role { font-size: 9px; }
  .selected-links { gap: 6px 12px; font-size: 11px; }
  .colleague-reference { padding-left: 16px; }
  .colleague-reference blockquote p { font-size: 15px; }
  .section-heading h2 { font-size: 25px; }
  .section-heading > a { font-size: 11px; }
  .career-list li { grid-template-columns: 1fr; gap: 2px; }
  .contact-section { grid-template-columns: 1fr; gap: 20px; }
  .contact-section p { max-width: 48ch; }
  .role-workflow { padding: 16px; }
  .role-workflow ol { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .role-workflow li:nth-child(2)::after { display: none; }
  .home-signature { font-size: 10px; margin-top: 16px; gap: 6px 16px; }
  .archive-tools { padding: 22px 0 16px; }
  .archive-tools-heading { grid-template-columns: 1fr; gap: 14px; }
  .archive-tools h2 { font-size: 25px; }
  .archive-quicknav { margin-top: 16px; gap: 8px; }
  .archive-quicknav a { font-size: 12px; }
  .work-group { margin-bottom: 28px; }
  .group-heading { grid-template-columns: 35px 1fr; gap: 8px; padding: 16px 0; }
  .group-heading h2 { font-size: 24px; }
  .group-heading p { font-size: 13px; }
  .group-folio { font-size: 10px; }
  .project-row { grid-template-columns: minmax(0,1fr) 100px; gap: 14px; padding: 16px 0; min-height: 0; align-items: start; }
  .project-num { display: none; }
  .project-eyebrow { font-size: 10px; margin: 0 0 6px; gap: 5px; }
  .project-title { font-size: 21px; line-height: 1.22; }
  .inline-arrow { font-size: 14px; margin-left: 5px; }
  .project-summary { font-size: 13px; line-height: 1.55; margin-top: 6px; }
  .project-tags { display: none; }
  .project-visual { width: 100px; margin-top: 5px; }
  .project-visual-empty { font-size: 37px; }
  .about-section { grid-template-columns: 1fr; gap: 16px; margin: 32px 0; }
  .about-section h2 { font-size: 25px; }
  .about-copy p { font-size: 14px; }
  .footer-inner { width: calc(100% - 40px); min-height: 0; gap: 12px 17px; padding: 25px 0 40px; }
  .footer-inner a:nth-last-child(2) { margin-left: 0; }
  .breadcrumbs { margin-top: 24px; font-size: 11px; gap: 7px; }
  .case-hero { padding: 20px 0; }
  .case-hero h1 { font-size: 34px; line-height: 1.16; }
  .case-byline { gap: 5px 12px; }
  .case-byline span + span { padding-left: 0; border-left: 0; }
  .case-content > p { font-size: 15px; line-height: 1.75; }
  .prototype-frame { padding: 4px; }
  .prototype-figure { margin-bottom: 24px; }
  .prototype-figure figcaption { flex-direction: column; gap: 4px; font-size: 11px; }
  .work-bottom-nav { margin-bottom: 32px; }
  .work-bottom-nav a { padding: 20px 10px 22px 0; }
  .work-bottom-nav a + a { padding-left: 12px; }
  .work-bottom-nav a strong { font-size: 17px; }
  .work-bottom-nav a small { font-size: 9px; }
  .doc-content { padding: 30px 0 60px; }
  .doc-content p { font-size: 14px; }
  .doc-content h2 { font-size: 26px; }
  .doc-content h3 { font-size: 21px; }
  .doc-content table { font-size: 12px; }
}
@media (max-width: 390px) {
  .site-nav { gap: 15px; }
  .project-row { grid-template-columns: minmax(0,1fr) 78px; gap: 12px; }
  .project-visual { width: 78px; }
  .project-title { font-size: 19px; }
  .home-intro h1 { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
