:root {
  --paper: #f7f6f1;
  --ink: #252f29;
  --green: #294c3f;
  --green-deep: #223f34;
  --sage: #e9ede3;
  --muted: #737c6d;
  --line: #dedfd5;
  --rust: #976047;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.8 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
button, a, summary { outline-offset: 5px; }
:focus-visible { outline: 2px solid var(--green); }
h1, h2, h3, p, figure { margin: 0; }
p { text-wrap: pretty; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 21px; height: 21px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.page-width { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.section-space { padding-block: 96px; }
.eyebrow { font: 10px/1.6 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: 1.7px; color: var(--rust); margin-bottom: 20px; }
.small-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; background: #8b9d69; flex: none; vertical-align: middle; }
.eyebrow .small-dot { margin-right: 8px; }
.skip-link { position: fixed; top: -80px; left: 12px; padding: 10px 18px; color: #fff; background: var(--green); z-index: 30; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 10; background: #f7f6f1f2; backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { width: min(1280px, calc(100% - 96px)); height: 83px; margin-inline: auto; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.wordmark { font-size: 24px; font-weight: 650; letter-spacing: -.9px; line-height: 1.3; }
.brand-dot { color: #8b9d69; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 7px; padding: 8px 0; position: relative; }
.site-nav a .icon { width: 14px; height: 14px; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--green); }
.site-nav a[aria-current]:after { content: ""; position: absolute; bottom: 0; left: 0; width: 13px; height: 2px; background: var(--green); }
.menu-toggle { display: none; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 55px 90px; padding-top: 78px; }
.hero-copy { padding-top: 22px; align-self: center; }
.hero h1 { font-size: clamp(42px, 4.3vw, 62px); font-weight: 550; line-height: 1.35; letter-spacing: -2.5px; }
.hero h1 span { color: var(--green); }
.hero-intro { font-size: 15px; line-height: 1.95; margin-top: 27px; max-width: 455px; color: #596251; }
.hero-note { font-size: 13px; line-height: 1.95; margin-top: 12px; max-width: 445px; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; border: 1px solid transparent; padding: 12px 21px; font-size: 12px; font-weight: 500; transition: background .2s; }
.button-primary { background: var(--green); color: #f6f5ec; }
.button-primary:hover { background: #38634e; }
.button .icon { width: 16px; height: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; color: var(--green); border: 0; background: transparent; padding: 0; }
.text-link > .icon { width: 16px; height: 16px; transition: transform .2s; }
.text-link:hover > .icon { transform: translate(2px, -2px); }
.hero-figure { width: 100%; max-width: 420px; justify-self: end; position: relative; }
.portrait-frame { background: #e7e2dc; aspect-ratio: .835; overflow: hidden; border-radius: 2px; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; transform: scale(1.24); transform-origin: right center; }
.hero-figure figcaption { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 15px; font-size: 10px; color: #7b8275; }
.hero-figure figcaption > span:first-child { font: 9px ui-monospace, monospace; letter-spacing: 2px; }
.hero-bottom { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 22px; color: #89907e; font-size: 10px; letter-spacing: .5px; }
.hero-bottom a { display: flex; gap: 10px; align-items: center; }
.hero-bottom .icon { width: 14px; height: 14px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; margin-bottom: 42px; }
h2 { font-size: clamp(28px, 3.1vw, 42px); line-height: 1.45; letter-spacing: -1.4px; font-weight: 500; }
.section-description { font-size: 14px; line-height: 1.95; color: var(--muted); max-width: 330px; padding-bottom: 6px; }
.skills-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-bottom: 38px; }
.skill { border-top: 1px solid var(--line); padding-top: 16px; }
.item-number { font: 10px ui-monospace, monospace; letter-spacing: 1px; color: var(--rust); }
.skill h3 { font-size: 16px; font-weight: 550; margin: 14px 0 9px; }
.skill p { font-size: 12px; line-height: 1.95; color: var(--muted); }
.photo-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 18px; }
.work-photo { min-width: 0; }
.photo-button { padding: 0; width: 100%; display: block; position: relative; overflow: hidden; background: #eceae1; border: 0; text-align: left; }
.work-photo .photo-button { height: 218px; }
.photo-button img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.photo-button:hover img { transform: scale(1.025); }
.certificate-photo img { object-fit: contain; }
.photo-expand { position: absolute; right: 10px; bottom: 10px; width: 28px; height: 28px; display: grid; place-items: center; background: #f7f6f1e8; color: var(--green); border-radius: 50%; }
.photo-expand .icon { width: 14px; height: 14px; }
.work-photo figcaption { margin-top: 13px; }
.work-photo h3 { font-size: 13px; font-weight: 500; }
.work-photo figcaption p { color: #7d8674; font-size: 11px; margin-top: 3px; }
.career-timeline { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 35px; }
.career-timeline summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 21px 0; font-size: 12px; }
.career-timeline summary::-webkit-details-marker { display: none; }
.summary-action { display: flex; gap: 12px; align-items: center; color: #7a876f; font-size: 10px; flex: none; }
.summary-action .icon { width: 16px; height: 16px; transition: transform .2s; }
.career-timeline[open] .summary-action .icon { transform: rotate(45deg); }
.career-timeline ol { padding: 0 0 10px; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 50px; }
.career-timeline li { padding: 18px 0; display: grid; grid-template-columns: 135px minmax(0, 1fr); gap: 15px; border-top: 1px solid #e7e8df; }
.career-timeline time { font: 10px/1.8 ui-monospace, monospace; color: #8a9380; padding-top: 3px; }
.career-timeline h3 { font-size: 12px; font-weight: 500; }
.career-timeline li p { font-size: 11px; color: #87907d; margin-top: 5px; }
.venture { background: #e9ede3; margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; }
.venture-figure { position: relative; align-self: stretch; min-width: 0; }
.venture-figure .photo-button { height: 100%; min-height: 560px; }
.venture-figure img { object-position: 46% 60%; }
.venture-figure figcaption { position: absolute; left: 20px; bottom: 20px; padding: 6px 10px; background: #f7f6f1e8; color: #54644c; font-size: 10px; }
.venture-copy { padding: 42px 40px 38px; }
.venture-copy .eyebrow { font-size: 9px; letter-spacing: 1.4px; margin-bottom: 15px; }
.venture h2 { font-size: 32px; }
.venture-intro { font-size: 12px; line-height: 1.95; color: #718064; margin-top: 19px; }
.venture-steps { margin: 23px 0 26px; padding: 0; list-style: none; }
.venture-steps li { display: flex; gap: 13px; padding: 13px 0; border-top: 1px solid #d7dfce; }
.venture-steps li > span { font: 9px/2 ui-monospace, monospace; color: #8c9b79; }
.venture-steps h3 { font-size: 13px; font-weight: 500; }
.venture-steps p { font-size: 11px; line-height: 1.9; color: #7c886f; margin-top: 5px; }
.video-entry { font-size: 12px; gap: 10px; }
.play-circle { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #a7b694; border-radius: 50%; margin-right: 2px; }
.play-circle .icon { width: 13px; height: 13px; }
.projects { border-top: 1px solid var(--line); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.project { border: 1px solid var(--line); background: #fffefa; min-width: 0; }
.project-link { display: flex; flex-direction: column; height: 100%; }
.project-image { aspect-ratio: 1.6; background: #e6e9df; overflow: hidden; position: relative; border-bottom: 1px solid var(--line); }
.project-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s; }
.project-link:hover .project-image img { transform: scale(1.02); }
.project-open { position: absolute; right: 15px; bottom: 15px; background: #294c3ff0; color: #fff; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; }
.project-open .icon { width: 18px; height: 18px; }
.project-content { padding: 24px 26px 20px; display: flex; flex-direction: column; flex: 1; }
.project-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; font: 8px ui-monospace, monospace; letter-spacing: 1px; color: #8c927f; margin-bottom: 15px; }
.project-status { font: 9px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; color: #607552; background: #eaf0e1; border-radius: 3px; padding: 3px 6px; letter-spacing: 0; }
.project h3 { font-size: 21px; line-height: 1.6; font-weight: 500; letter-spacing: -.5px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.project h3 .icon { width: 17px; height: 17px; flex: none; }
.project-content > p { color: #79836e; font-size: 12px; line-height: 1.95; margin: 12px 0 24px; max-width: 390px; }
.project-footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 10px; border-top: 1px solid var(--line); padding-top: 16px; color: #869078; margin-top: auto; }
.project-footer > span:last-child { display: flex; gap: 8px; align-items: center; color: var(--green); white-space: nowrap; }
.project-footer .icon { width: 15px; height: 15px; }
.project-note { font-size: 10px; line-height: 1.95; color: #87917e; margin-top: 18px; max-width: 830px; }
.approach { background: var(--green); color: #f1f2e6; }
.approach .eyebrow { color: #bdca9c; }
.approach .section-description { color: #b7c5b0; }
.method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.method-grid article { border-top: 1px solid #ffffff30; padding-top: 20px; }
.method-grid .item-number { color: #c1cea5; }
.method-grid h3 { font-size: 20px; font-weight: 400; margin: 19px 0 13px; }
.method-grid p { color: #b4c3ad; font-size: 12px; line-height: 1.95; max-width: 290px; }
.human-check { border-top: 1px solid #ffffff30; padding-top: 24px; margin-top: 35px; display: flex; gap: 13px; align-items: baseline; }
.human-check p { color: #c7d2ba; font-size: 11px; line-height: 1.9; }
.human-check .small-dot { background: #bbc892; }
.next > h2 { font-size: clamp(29px, 3.3vw, 45px); }
.next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; margin-top: 42px; }
.next-kicker { font-size: 15px; color: var(--green); font-weight: 500; margin-bottom: 20px; }
.motivation > p:not(.next-kicker) { font-size: 12px; line-height: 2.05; color: #78816d; margin-top: 17px; }
.motivation > p.next-outcome { color: #4b6346; border-left: 2px solid #b1bf99; padding-left: 16px; margin-top: 26px; }
.contributions { padding: 0; margin: 0; list-style: none; }
.contributions li { display: flex; gap: 20px; border-top: 1px solid var(--line); padding: 21px 0; }
.contributions li > span { font: 10px/2 ui-monospace, monospace; color: var(--rust); }
.contributions h3 { font-size: 16px; font-weight: 500; }
.contributions p { font-size: 12px; line-height: 1.95; color: #7e8772; margin-top: 9px; }
.site-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 30px; align-items: center; padding-block: 29px 35px; }
.site-footer .wordmark { font-size: 20px; }
.site-footer p { color: #919985; font-size: 10px; margin-top: 8px; }
.back-top { display: flex; gap: 10px; align-items: center; font-size: 11px; color: #7d8971; }
.back-top .icon { width: 15px; height: 15px; }
dialog { border: 1px solid #dce1d2; padding: 20px; background: var(--paper); color: var(--ink); width: min(1020px, calc(100% - 40px)); max-height: 92dvh; border-radius: 8px; box-shadow: 0 20px 100px #17392c40; }
dialog::backdrop { background: #163128b3; backdrop-filter: blur(4px); }
.dialog-top { display: flex; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dialog-top h2 { font-size: 18px; letter-spacing: -.4px; }
.close-button { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #d7decb; background: #eef1e6; border-radius: 50%; flex: none; }
.close-button .icon { width: 17px; height: 17px; }
.photo-dialog > img { max-height: 72dvh; width: 100%; object-fit: contain; }
.photo-dialog > p { font-size: 11px; color: #7b8970; margin-top: 15px; }
.video-dialog { width: min(980px, calc(100% - 40px)); }
.video-dialog .eyebrow { margin-bottom: 5px; font-size: 8px; }
.video-dialog video { display: block; width: 100%; height: min(55dvh, 550px); background: #1c2520; object-fit: contain; }
.video-choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.video-choices button { border: 1px solid #d6dfcb; background: transparent; color: #758769; padding: 7px 14px; border-radius: 4px; font-size: 11px; }
.video-choices button[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
.video-note { margin-top: 14px; font-size: 10px; color: #8b957e; }
.video-error { margin-top: 10px; color: #986746; font-size: 12px; }
@media (min-width:1600px) { .hero { padding-top: 92px; padding-bottom: 10px; } .hero-copy { padding-top: 0; } }
@media (max-width:1150px) {
  .page-width, .header-inner { width: calc(100% - 72px); }
  .hero { gap: 45px 55px; padding-top: 58px; }
  .hero h1 { font-size: 48px; letter-spacing: -2px; }
  .hero-intro { font-size: 14px; margin-top: 23px; }
  .hero-note { font-size: 12px; }
  .hero-actions { gap: 20px; margin-top: 25px; }
  .hero-figure { max-width: 365px; }
  .section-space { padding-block: 78px; }
  .section-description { max-width: 300px; font-size: 13px; }
  .work-photo .photo-button { height: 190px; }
  .venture-copy { padding: 30px; }
  .venture h2 { font-size: 29px; }
  .venture-figure .photo-button { min-height: 580px; }
  .project-content { padding: 21px; }
  .project h3 { font-size: 18px; }
  .project-footer { font-size: 9px; gap: 7px; }
  .next-grid { gap: 60px; }
}
@media (max-width:900px) {
  .site-nav { gap: 21px; }
  .site-nav a { font-size: 11px; }
  .hero { gap: 35px 35px; }
  .hero-copy { padding-top: 0; }
  .hero h1 { font-size: 41px; letter-spacing: -1.8px; }
  .hero-intro { font-size: 12px; }
  .hero-note { font-size: 11px; }
  .button { padding: 11px 15px; gap: 12px; font-size: 11px; }
  .hero-actions { gap: 18px; }
  .hero-actions .text-link { font-size: 11px; }
  .hero-figure figcaption { font-size: 9px; }
  .section-heading { gap: 30px; }
  .section-description { max-width: 260px; font-size: 12px; }
  .skills-grid { gap: 24px; }
  .skill h3 { font-size: 14px; }
  .photo-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 13px; }
  .work-photo .photo-button { height: 165px; }
  .work-photo h3 { font-size: 12px; }
  .work-photo figcaption p { font-size: 10px; }
  .career-timeline ol { gap: 0 28px; }
  .career-timeline li { grid-template-columns: 1fr; gap: 6px; }
  .venture { margin-top: 48px; }
  .venture-copy { padding: 28px; }
  .venture-copy .eyebrow { font-size: 8px; letter-spacing: 1px; }
  .venture h2 { font-size: 27px; }
  .venture-steps { margin: 20px 0; }
  .venture-figure .photo-button { min-height: 620px; }
  .venture-intro, .venture-steps p { font-size: 11px; }
  .project-grid { gap: 18px; }
  .project-content { padding: 18px; }
  .project h3 { font-size: 17px; }
  .project-content > p { font-size: 11px; }
  .project-meta { font-size: 7px; letter-spacing: .6px; }
  .project-status { font-size: 8px; }
  .project-footer { flex-wrap: wrap; gap: 10px; }
  .method-grid { gap: 28px; }
  .method-grid h3 { font-size: 18px; }
  .next-grid { gap: 40px; }
}
@media (max-width:700px) {
  html { scroll-padding-top: 82px; }
  .page-width, .header-inner { width: calc(100% - 40px); }
  .section-space { padding-block: 59px; }
  .header-inner { height: 67px; }
  .wordmark { font-size: 22px; }
  .menu-toggle { display: flex; align-items: center; gap: 12px; border: 0; background: transparent; padding: 10px 0 10px 10px; font-size: 11px; color: #758168; }
  .menu-bars { width: 18px; height: 10px; border-top: 1px solid var(--green); border-bottom: 1px solid var(--green); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] .menu-bars { transform: rotate(-45deg); }
  .site-nav { display: none; position: absolute; top: 67px; left: 0; right: 0; padding: 14px 20px 22px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 18px #233e2c08; }
  .site-nav.is-open { display: flex; align-items: stretch; flex-direction: column; gap: 0; }
  .site-nav a { font-size: 13px; padding: 13px 0; border-bottom: 1px solid #e9e9df; justify-content: space-between; }
  .site-nav a[aria-current]:after { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 44px; gap: 34px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: 1.6px; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(36px, 10.4vw, 55px); line-height: 1.35; letter-spacing: -1.8px; }
  .hero-intro { font-size: 14px; line-height: 1.95; margin-top: 23px; max-width: 100%; }
  .hero-note { font-size: 12px; max-width: 100%; }
  .hero-actions { margin-top: 25px; gap: 25px; }
  .button { font-size: 12px; padding: 12px 18px; gap: 16px; }
  .hero-actions .text-link { font-size: 12px; }
  .hero-figure { max-width: 100%; width: 100%; }
  .portrait-frame { aspect-ratio: .95; max-height: 480px; }
  .portrait-frame img { object-position: 50% 36%; }
  .hero-figure figcaption { font-size: 10px; margin-top: 12px; }
  .hero-bottom { font-size: 9px; gap: 10px; padding-bottom: 19px; }
  .hero-bottom a { gap: 5px; flex: none; }
  .section-heading { display: block; margin-bottom: 28px; }
  .eyebrow { font-size: 9px; margin-bottom: 15px; }
  h2 { font-size: 31px; letter-spacing: -1.2px; }
  .section-description { margin-top: 20px; max-width: 100%; font-size: 13px; padding: 0; }
  .skills-grid { grid-template-columns: 1fr; gap: 0; margin-bottom: 30px; }
  .skill { display: grid; grid-template-columns: 27px 1fr; gap: 0 9px; padding: 20px 0; }
  .skill .item-number { grid-row: 1/3; padding-top: 4px; }
  .skill h3 { font-size: 16px; margin: 0 0 7px; }
  .skill p { font-size: 12px; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .work-photo-wide { grid-column: 1/-1; }
  .work-photo-wide .photo-button { height: auto; aspect-ratio: 1.5; }
  .work-photo .photo-button { height: auto; aspect-ratio: 1.1; }
  .work-photo h3 { font-size: 12px; }
  .work-photo figcaption p { font-size: 10px; }
  .career-timeline { margin-top: 27px; }
  .career-timeline summary { align-items: start; font-size: 11px; gap: 20px; padding: 18px 0; }
  .summary-action { font-size: 9px; gap: 7px; padding-top: 1px; }
  .career-timeline ol { grid-template-columns: 1fr; }
  .career-timeline li { grid-template-columns: 124px 1fr; gap: 12px; }
  .career-timeline time { font-size: 9px; }
  .career-timeline li p { font-size: 10px; }
  .venture { grid-template-columns: 1fr; margin-top: 40px; }
  .venture-figure .photo-button { min-height: 0; height: auto; aspect-ratio: 1; }
  .venture-figure img { object-position: 50% 60%; }
  .venture-figure figcaption { left: 14px; bottom: 14px; font-size: 9px; }
  .venture-copy { padding: 28px 24px 32px; }
  .venture h2 { font-size: 29px; }
  .venture-intro { font-size: 12px; }
  .venture-steps p { font-size: 11px; }
  .venture-steps li { gap: 12px; padding: 15px 0; }
  .project-grid { grid-template-columns: 1fr; gap: 25px; }
  .project-content { padding: 21px 19px 18px; }
  .project-meta { font-size: 8px; }
  .project-status { font-size: 9px; }
  .project h3 { font-size: 19px; letter-spacing: -.5px; }
  .project-content > p { font-size: 12px; margin-bottom: 20px; }
  .project-footer { flex-wrap: nowrap; font-size: 9px; }
  .project-note { font-size: 10px; }
  .method-grid { grid-template-columns: 1fr; gap: 25px; margin-top: 32px; }
  .method-grid article { display: grid; grid-template-columns: 27px 1fr; gap: 0 10px; padding-top: 20px; }
  .method-grid .item-number { grid-row: 1/3; padding-top: 7px; }
  .method-grid h3 { font-size: 19px; margin: 0 0 8px; }
  .method-grid p { max-width: 100%; font-size: 12px; }
  .human-check { margin-top: 29px; padding-top: 22px; gap: 11px; }
  .human-check p { font-size: 11px; }
  .next > h2 { font-size: 29px; }
  .next-grid { grid-template-columns: 1fr; gap: 30px; margin-top: 28px; }
  .next-kicker { font-size: 14px; margin-bottom: 19px; }
  .motivation > p:not(.next-kicker) { font-size: 12px; }
  .contributions li { gap: 15px; padding: 20px 0; }
  .contributions h3 { font-size: 16px; }
  .site-footer { padding-block: 25px 28px; gap: 18px; }
  .site-footer p { font-size: 9px; }
  .back-top { font-size: 10px; gap: 5px; }
  dialog { width: calc(100% - 24px); padding: 15px; max-height: 92dvh; }
  .dialog-top h2 { font-size: 16px; }
  .photo-dialog > img { max-height: 68dvh; }
  .photo-dialog > p { font-size: 10px; }
  .video-dialog video { height: 45dvh; }
  .video-choices { gap: 7px; }
  .video-choices button { padding: 7px 10px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *:before, *:after { transition: none !important; } }
