:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #17233d;
  --muted: #505d75;
  --accent: #2455db;
  --orange: #ff8a3d;
  --line: #d4ddec;
  --blue: #edf2ff;
  --nav-height: 77px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 24px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.75; }
a { color: inherit; text-underline-offset: 5px; }
button { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
svg { width: 24px; height: 24px; flex-shrink: 0; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.page-width { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.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: 12px; left: 12px; transform: translateY(-160%); z-index: 20; background: white; padding: 10px 18px; }
.skip-link:focus { transform: translateY(0); }
.masthead { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 24px; }
.wordmark { display: flex; align-items: center; gap: 13px; text-decoration: none; font-weight: 650; line-height: 1.5; }
.wordmark h1 { font: inherit; margin: 0; }
.monogram { display: grid; place-items: center; width: 43px; height: 46px; border: 1.5px solid var(--accent); border-radius: 11px 15px 9px 13px; background: var(--accent); color: white; box-shadow: 3px 3px 0 var(--orange); transform: rotate(-5deg); font-family: Georgia, serif; font-size: 20px; }
.wordmark-caption { display: block; font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: .04em; }
.social-links { display: flex; gap: 10px; margin-top: 22px; }
.social-links a { display: grid; place-items: center; height: 42px; width: 42px; border: 1px solid var(--accent); color: var(--accent); border-radius: 50%; transition: background .2s, color .2s, transform .2s; }
.social-links svg { width: 18px; height: 18px; }
.social-links a:hover { background: var(--accent); color: white; transform: translateY(-3px); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); align-items: center; gap: clamp(24px, 5vw, 72px); padding-block: 8px 24px; }
.cover-note { min-width: 0; }
.cover-note > .tiny-label { color: var(--accent); }
.cover-note .cover-headline { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.2; margin: 0; }
.cover-headline .handwritten { display: block; color: var(--accent); font-size: .9em; margin-top: 6px; }
.cover-note .cover-intro { margin: 18px 0 0; font-size: clamp(16px, 1.4vw, 17px); line-height: 1.8; }
.cover-intro strong { color: var(--accent); font-weight: 650; }
.intro-disciplines { color: var(--ink); text-decoration: underline wavy var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.intro-journey { color: var(--accent); }
.cover { position: relative; isolation: isolate; overflow: hidden; width: 100%; max-width: 380px; aspect-ratio: 1; justify-self: end; border: 2px solid var(--accent); border-radius: 8px 8px 40px 8px; background: var(--blue); box-shadow: 7px 7px 0 var(--orange); }
.slides { position: absolute; inset: 0; }
.slide { height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cover.is-swipeable .slides { touch-action: pan-y pinch-zoom; cursor: grab; user-select: none; }
.cover.is-swipeable .slide { transition: transform .2s ease; }
.cover.is-swipeable .slide img { pointer-events: none; }
.cover.is-dragging .slides { cursor: grabbing; }
.cover.is-dragging .slide { transition: none; }
.swipe-hint { position: absolute; top: 14px; left: 14px; padding: 3px 10px; border-radius: 20px; background: #fffffff0; color: var(--ink); font-size: 11px; pointer-events: none; }
.tiny-label { font-size: 10px; font-weight: 650; letter-spacing: .1em; line-height: 1.5; }
.handwritten { font-family: "Segoe Print", "Bradley Hand", cursive; font-weight: 400; }
.carousel-controls { position: absolute; bottom: 19px; right: 25px; display: flex; align-items: center; gap: 12px; background: var(--paper); padding: 3px 6px; border: 1px solid var(--line); border-radius: 30px; }
.icon-button { display: grid; place-items: center; width: 38px; height: 38px; border: 0; background: transparent; border-radius: 50%; }
.icon-button:hover { background: var(--blue); }
.icon-button svg { width: 19px; }
.previous svg { transform: rotate(180deg); }
.slide-dots { display: flex; gap: 2px; }
.slide-dots button { padding: 0; width: 24px; height: 36px; border: 0; background: transparent; display: grid; place-items: center; }
.slide-dots button::after { content: ""; width: 6px; height: 6px; background: #6e7c97; border-radius: 50%; }
.slide-dots button[aria-pressed="true"]::after { background: var(--accent); width: 18px; border-radius: 4px; }
.section-nav { position: sticky; top: 0; z-index: 10; background: #17233df7; border-block: 1px solid #ffffff24; box-shadow: 0 5px 0 #ff8a3d26; backdrop-filter: blur(12px); }
.nav-inner { display: flex; align-items: center; gap: 11px; min-height: var(--nav-height); padding-block: 10px; }
.section-nav a { position: relative; display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 9px 17px; border: 1px solid #ffffff38; border-radius: 5px 10px 5px 8px; color: white; text-decoration: none; font-size: 14px; font-weight: 650; letter-spacing: .01em; white-space: nowrap; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.section-nav a::before { color: #ffb785; font: 400 9px/1 Georgia, serif; letter-spacing: .08em; }
.section-nav a:nth-child(1)::before { content: "01"; }
.section-nav a:nth-child(2)::before { content: "02"; }
.section-nav a:nth-child(3)::before { content: "03"; }
.section-nav a:nth-child(4)::before { content: "04"; }
.section-nav a::after { content: ""; position: absolute; left: 16px; right: 14px; bottom: 7px; height: 1px; border-top: 2px solid currentColor; border-radius: 50%; opacity: 0; transform: rotate(-2deg) scaleX(.4); transition: opacity .2s, transform .2s; }
.section-nav a[aria-current] { border-color: var(--orange); background: var(--orange); color: var(--ink); box-shadow: 3px 3px 0 white; transform: translateY(-2px) rotate(-1deg); }
.section-nav a[aria-current]::before { color: var(--ink); }
.section-nav a:hover:not([aria-current]) { border-color: white; background: #ffffff17; transform: translateY(-2px); }
.section-nav a[aria-current]::after, .section-nav a:hover::after { opacity: 1; transform: rotate(-2deg) scaleX(1); }
.section-nav a:focus-visible { outline-color: white; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 324px; gap: 74px; padding-top: 40px; }
.main-column { min-width: 0; }
.overview-image { display: block; border: 1px solid var(--accent); border-radius: 6px 12px 6px 10px; box-shadow: 4px 4px 0 var(--orange); overflow: hidden; }
.overview-image img { width: 100%; height: auto; }
.work-overview .text-link { margin-block: 18px 28px; }
.content-section { margin-bottom: 66px; }
.content-section + .content-section { padding-top: 48px; border-top: 1px solid var(--line); }
.section-eyebrow { display: flex; align-items: center; gap: 15px; font-size: 10px; font-weight: 650; letter-spacing: .15em; color: var(--accent); }
.drawn-line { height: 1px; width: 43px; background: var(--accent); transform: rotate(-3deg); }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: 38px; font-weight: 400; line-height: 1.25; letter-spacing: -.035em; margin: 15px 0 29px; }
.underline-sketch { position: relative; display: inline-block; }
.underline-sketch::after { content: ""; position: absolute; height: 6px; bottom: -7px; left: 1px; right: -4px; border-top: 3px solid var(--orange); border-radius: 50%; transform: rotate(-2deg); }
p { color: var(--muted); margin: 0 0 20px; }
.intro-text { font-size: 20px; line-height: 1.65; color: var(--ink); }
.focus-board { position: relative; margin-top: 36px; padding: 24px 22px 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 7px 15px 8px 12px; background-color: #fbfcff; background-image: radial-gradient(#2455db26 .8px, transparent .8px); background-size: 13px 13px; box-shadow: 5px 5px 0 var(--orange); }
.focus-board::after { content: ""; position: absolute; width: 92px; height: 24px; top: -9px; right: 34px; border-inline: 1px dashed #b57400; background: #ffce66cc; transform: rotate(3deg); }
.focus-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; }
.focus-heading h3 { margin: 1px 0 0; color: var(--accent); font-size: 20px; font-weight: 400; }
.focus-heading .tiny-label { color: var(--muted); font-size: 8px; }
.focus-doodle { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--orange); border-radius: 50%; background: var(--orange); color: var(--ink); font-size: 21px; transform: rotate(-8deg); }
.focus-center { width: fit-content; margin: 0 auto 26px; padding: 12px 28px 11px; border: 2px solid var(--accent); border-radius: 50%; background: white; color: var(--accent); text-align: center; transform: rotate(-1deg); box-shadow: 3px 3px 0 var(--orange); }
.focus-center span { display: block; font-size: 18px; line-height: 1.3; }
.focus-center small { display: block; margin-top: 2px; color: var(--muted); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.focus-map { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.focus-map li { position: relative; min-width: 0; padding: 13px 9px 12px; border: 1px solid var(--accent); border-radius: 4px 8px 4px 7px; background: white; color: var(--ink); font-size: 10px; font-weight: 600; line-height: 1.45; text-align: center; }
.focus-map li::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 27px; background: var(--accent); transform: rotate(var(--line-tilt, 0deg)); transform-origin: bottom; }
.focus-map li:nth-child(odd) { transform: rotate(-1.5deg); }
.focus-map li:nth-child(even) { border-color: var(--orange); transform: rotate(1.5deg); }
.focus-map li:nth-child(2)::before, .focus-map li:nth-child(4)::before { background: var(--orange); }
.focus-number { display: block; margin-bottom: 4px; color: var(--accent); font: 400 9px/1.2 Georgia, serif; }
.focus-map li:nth-child(even) .focus-number { color: #a84105; }
.sidebar { align-self: start; position: sticky; top: calc(var(--nav-height) + 28px); max-height: calc(100dvh - var(--nav-height) - 40px); overflow-y: auto; scrollbar-width: thin; padding: 14px 5px 0; margin: -7px -5px 0; }
.side-card { position: relative; padding: 25px; border: 1px solid var(--line); border-radius: 5px 12px 8px 5px; margin-bottom: 22px; }
.testimonial { background: var(--accent); border-color: var(--accent); color: white; transform: rotate(.6deg); }
.testimonial .carousel-controls { position: static; justify-content: space-between; margin-top: 20px; padding: 6px 0 0; border: 0; border-top: 1px solid #ffffff66; border-radius: 0; background: transparent; }
.testimonial .slide-dots { flex-wrap: wrap; justify-content: center; }
.testimonial .slide-dots button::after { background: #b8c9ff; }
.testimonial .slide-dots button[aria-pressed="true"]::after { background: white; }
.testimonial .icon-button:hover { background: #ffffff26; }
.testimonial button:focus-visible, .testimonial a:focus-visible { outline-color: white; }
.testimonial .card-heading svg, .testimonial .quote-mark { color: #ffce66; }
.testimonial blockquote p, .testimonial .person-detail { color: white; }
.testimonial-slide { overflow-wrap: anywhere; }
.tech-stack { background: #fffaf5; border-color: var(--orange); border-top-width: 4px; }
.tech-symbol { color: #a84105; font: 600 18px/1.5 monospace; }
.tech-group { margin-top: 20px; }
.tech-group h3 { margin: 0 0 9px; font-size: 11px; color: var(--ink); letter-spacing: .04em; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.tech-tags li { max-width: 100%; overflow-wrap: anywhere; padding: 5px 9px; border: 1px solid var(--accent); border-radius: 4px 7px 3px 6px; background: white; color: var(--accent); font-size: 11px; }
.tech-tags li:nth-child(even) { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.tape { position: absolute; width: 77px; height: 23px; top: -12px; left: calc(50% - 38px); background: #ffce66e6; border-inline: 1px dashed #b57400; transform: rotate(-6deg); }
.card-heading { display: flex; align-items: center; gap: 10px; }
.card-heading svg { width: 19px; height: 19px; color: var(--accent); }
.card-heading h2 { font: 600 17px/1.5 "Segoe UI", Arial, sans-serif; letter-spacing: -.025em; margin: 0; }
.quote-mark { display: block; height: 47px; font: 64px/1.3 Georgia, serif; color: var(--accent); margin-top: 10px; }
figure, blockquote { margin: 0; }
blockquote p { color: var(--ink); font: italic 16px/1.75 Georgia, serif; margin-bottom: 22px; }
figcaption { display: flex; align-items: center; gap: 12px; font-size: 12px; line-height: 1.6; }
.avatar { width: 35px; height: 35px; display: grid; place-items: center; background: #ffce66; border-radius: 50%; color: var(--ink); }
.person-detail { display: block; color: var(--muted); font-size: 11px; }
.activities { background: white; border-color: var(--orange); }
.activity-symbol { font-size: 24px; line-height: 1; color: #a84105; }
.activity-list { margin: 21px 0 0; padding: 0; list-style: none; }
.activity-list li { display: flex; align-items: flex-start; gap: 13px; }
.activity-list li + li { margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--line); }
.activity-index { display: grid; place-items: center; min-width: 34px; height: 37px; border: 1px solid var(--orange); border-radius: 5px; font: 13px Georgia, serif; background: var(--orange); transform: rotate(-4deg); }
.activity-list h3 { font-size: 12px; margin: 0 0 5px; font-weight: 650; }
.activity-list p { font-size: 12px; line-height: 1.65; margin: 0 0 8px; }
.activity-list .tiny-label { color: var(--muted); font-size: 8px; }
.margin-note { text-align: center; font-size: 13px; color: var(--accent); transform: rotate(-3deg); }
.section-description { font-size: 14px; margin-bottom: 30px; }
.timeline { margin: 0 0 0 7px; padding: 0; list-style: none; border-left: 1px solid #a6bbff; }
.experience { position: relative; padding: 0 0 36px 29px; }
.experience:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -6px; top: 7px; width: 11px; height: 11px; background: var(--paper); border: 2px solid var(--accent); border-radius: 50%; }
.experience:first-child .timeline-dot { background: var(--accent); box-shadow: 0 0 0 4px var(--blue); }
.experience-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.experience-top .tiny-label { color: var(--muted); }
.role-tag { font-size: 10px; line-height: 1.7; background: var(--accent); color: white; border-radius: 4px; padding: 2px 9px; }
.progression-label { margin: 14px 0 8px; }
.role-progression { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.role-progression li { display: flex; align-items: center; gap: 8px; max-width: 100%; min-width: 0; }
.progression-badge { min-width: 0; overflow-wrap: anywhere; padding: 5px 10px; border: 1px solid var(--line); border-radius: 5px 9px 5px 7px; background: var(--paper); color: var(--muted); font-size: 12px; line-height: 1.6; }
.progression-badge.is-current { background: var(--accent); border-color: var(--accent); color: white; }
.progression-arrow { flex-shrink: 0; color: var(--accent); font-size: 21px; line-height: 1; }
h3 { font-weight: 600; font-size: 18px; line-height: 1.5; margin: 0 0 6px; }
.company { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin: 15px 0 20px; }
.company-logo { display: flex; align-items: center; justify-content: center; width: 178px; height: 64px; flex-shrink: 0; padding: 14px; background: white; border: 1px solid var(--line); border-radius: 5px 10px 5px 8px; box-shadow: 3px 3px 0 var(--orange); }
.company-logo img { width: 100%; height: auto; }
.company-detail { color: var(--muted); font-size: 13px; }
.company-location { font-size: 12px; margin-bottom: 22px; }
.role-history { list-style: none; margin: 0 0 0 5px; padding: 0; }
.role-step { position: relative; padding: 0 0 28px 23px; border-left: 2px solid var(--line); }
.role-step:last-child { padding-bottom: 0; border-color: transparent; }
.role-step::before { content: ""; position: absolute; left: -6px; top: 7px; width: 10px; height: 10px; border: 2px solid var(--accent); border-radius: 50%; background: white; }
.role-step:first-child::before { background: var(--orange); border-color: var(--ink); }
.role-period { color: var(--muted); }
.role-step h4 { font-size: 17px; font-weight: 600; line-height: 1.5; margin: 8px 0 13px; }
.role-step > p { font-size: 14px; margin-bottom: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tags span { font-size: 10px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.project-status { padding: 14px 16px; border-left: 3px solid var(--orange); background: #fffaf5; font-size: 13px; }
.project-card { display: flex; flex-direction: column; min-width: 0; padding: 21px; border: 1px solid var(--accent); border-radius: 6px 12px 6px 10px; background: white; box-shadow: 4px 4px 0 var(--orange); }
.project-card:nth-child(even) { border-color: var(--orange); box-shadow: 4px 4px 0 var(--accent); }
.project-card h3 { overflow-wrap: anywhere; margin-bottom: 11px; color: var(--accent); }
.project-description { flex: 1; font-size: 13px; line-height: 1.65; }
.project-meta, .project-topics { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.project-meta { padding-top: 15px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 10px; }
.project-meta li + li::before { content: "/"; margin-right: 7px; color: var(--orange); }
.project-topics { margin-top: 14px; }
.project-topics li { padding: 3px 8px; border-radius: 4px 7px 3px 6px; background: var(--blue); color: var(--accent); font-size: 9px; overflow-wrap: anywhere; }
.project-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; }
.project-actions a { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-size: 11px; font-weight: 600; }
.project-actions svg { width: 15px; height: 15px; }
.project-actions .github-icon-link { width: 30px; height: 30px; justify-content: center; border: 1px solid var(--accent); border-radius: 50%; }
.project-actions .github-icon-link svg { width: 18px; height: 18px; }
.project-actions .github-icon-link:hover { background: var(--accent); color: white; }
.publication-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.publication { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: white; }
.publication-art { height: 143px; display: grid; place-content: center; justify-items: center; gap: 15px; background-image: radial-gradient(#ffffff50 .7px, transparent .7px); background-size: 12px 12px; }
.art-blue { background-color: var(--accent); color: white; }
.art-peach { background-color: var(--orange); color: var(--ink); }
.sketch-shape { width: 47px; height: 40px; border: 1.5px solid currentColor; transform: rotate(-9deg); box-shadow: 5px 5px 0 #ffffff50; border-radius: 3px 6px 3px 5px; }
.shape-circle { border-radius: 50%; transform: rotate(15deg); }
.art-caption { font-size: 10px; color: inherit; letter-spacing: .05em; }
.publication-body { padding: 20px; }
.publication-body .tiny-label { color: var(--muted); font-size: 9px; }
.publication h3 { font-size: 16px; margin: 10px 0 8px; }
.publication p { font-size: 12px; margin: 0; }
.text-link { display: inline-flex; gap: 12px; align-items: center; font-size: 13px; color: var(--accent); margin-top: 25px; text-decoration-thickness: 1px; }
.text-link svg { width: 18px; }
.footer { background: var(--ink); border-top: 4px solid var(--orange); padding-block: 36px 28px; font-size: 11px; color: white; }
.footer-contact { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-bottom: 30px; }
.footer-contact p { flex: 1 1 320px; max-width: 650px; margin: 0; color: white; font-size: clamp(18px, 2vw, 23px); line-height: 1.6; }
.footer .email-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 44px; padding: 10px 20px; border-radius: 5px 10px 5px 8px; background: var(--orange); color: var(--ink); font-size: 14px; font-weight: 600; }
.footer .email-button:hover { background: white; text-decoration: none; }
.footer a:focus-visible { outline-color: white; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-top: 1px solid #ffffff40; padding-top: 22px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-dot { padding-inline: 8px; }
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 15; display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--accent); border-radius: 50%; background: var(--accent); color: white; box-shadow: 4px 4px 0 var(--orange); opacity: 0; pointer-events: none; transform: translateY(14px); transition: opacity .2s, transform .2s, background .2s; }
.back-to-top svg { width: 22px; height: 22px; transform: rotate(-90deg); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--ink); text-decoration: none; transform: translateY(-3px); }

@media (max-width: 1050px) {
  .content-grid { gap: 38px; grid-template-columns: minmax(0, 1fr) 290px; }
  .focus-map { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .focus-map li::before { display: none; }
  .side-card { padding: 22px; }
}
@media (max-width: 800px) {
  :root { --nav-height: 65px; }
  .page-width { width: calc(100% - 40px); }
  .masthead { min-height: 76px; }
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .cover { justify-self: center; }
  .nav-inner { gap: 28px; overflow-x: auto; scrollbar-width: thin; }
  .section-nav a { flex: 0 0 auto; }
  .content-grid { grid-template-columns: 1fr; gap: 0; padding-top: 40px; }
  .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 20px; max-height: none; overflow: visible; padding: 7px 0 30px; margin: 0; }
  .side-card { margin: 0; }
  .margin-note { grid-column: 1 / -1; }
  .content-section { margin-bottom: 45px; }
  .focus-map { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .focus-map li::before { display: block; }
}
@media (max-width: 520px) {
  .page-width { width: calc(100% - 32px); }
  .masthead { gap: 12px; }
  .wordmark { font-size: 13px; gap: 9px; }
  .wordmark-caption { font-size: 9px; }
  .monogram { width: 33px; height: 37px; font-size: 15px; }
  .carousel-controls { right: 16px; bottom: 16px; }
  .nav-inner { gap: 24px; justify-content: flex-start; }
  .section-nav a { font-size: 11px; gap: 0; }
  .nav-number { display: none; }
  h2 { font-size: 32px; }
  .intro-text { font-size: 18px; }
  body { font-size: 15px; }
  .focus-board { padding: 22px 16px 24px; }
  .focus-board::after { right: 20px; width: 70px; }
  .focus-map { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .focus-map li:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); }
  .focus-map li::before { display: none; }
  .project-grid, .publication-grid, .sidebar { grid-template-columns: 1fr; }
  .sidebar { gap: 26px; }
  .publication-art { height: 165px; }
  .footer { font-size: 10px; }
  .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
