:root {
  --ink: #171b1d;
  --paper: #f3ead8;
  --gold: #f1b84b;
  --teal: #59c7bd;
  --line: rgba(255, 255, 255, 0.16);
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #151719; color: white; font-family: "Manrope", sans-serif; }
body { overflow: hidden; }
button, a { font: inherit; }
button { color: inherit; }

.room { position: relative; width: 100vw; height: 100svh; min-height: 600px; overflow: hidden; isolation: isolate; background: #39271f; }
.room__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; user-select: none; }
.room__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,16,17,.64) 0%, rgba(11,16,17,.18) 20%, transparent 43%), linear-gradient(0deg, rgba(10,13,14,.45), transparent 22%); pointer-events: none; }
.room::after { content: ""; position: absolute; inset: 0; z-index: 20; pointer-events: none; box-shadow: inset 0 0 130px rgba(20,10,3,.28); }

.brand { position: absolute; z-index: 5; top: clamp(24px, 5vw, 68px); left: clamp(24px, 4.2vw, 72px); text-shadow: 0 2px 26px rgba(0,0,0,.45); }
.brand__eyebrow { display: block; margin-bottom: 16px; color: #f3c66f; font: 500 11px/1 "DM Mono", monospace; letter-spacing: .2em; }
.brand h1 { margin: 0; font-size: clamp(54px, 7vw, 106px); line-height: .78; letter-spacing: -.075em; font-weight: 800; }
.brand h1 span { color: var(--gold); }
.brand p { margin: 25px 0 0; font-size: clamp(12px, 1.05vw, 17px); line-height: 1.65; color: rgba(255,255,255,.78); }

.language-switch { position: absolute; z-index: 25; left: clamp(18px, 3vw, 44px); bottom: clamp(18px, 3vw, 38px); display: flex; align-items: center; gap: 4px; padding: 5px 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(18,20,20,.76); backdrop-filter: blur(16px); color: rgba(255,255,255,.35); font: 500 10px "DM Mono", monospace; }
.language-switch button { border: 0; border-radius: 999px; padding: 7px 9px; background: transparent; color: rgba(255,255,255,.48); font: inherit; cursor: pointer; }
.language-switch button[aria-pressed="true"] { background: var(--paper); color: #1e2321; }
.language-switch button:hover, .language-switch button:focus-visible { color: white; outline: none; }
.language-switch button[aria-pressed="true"]:hover, .language-switch button[aria-pressed="true"]:focus-visible { color: #1e2321; }

.hotspot { position: absolute; z-index: 8; border: 0; padding: 0; background: transparent; cursor: pointer; }
.hotspot::before { content: ""; position: absolute; inset: -14px; border-radius: 22px; border: 1px solid transparent; transition: .3s var(--ease); }
.hotspot:hover::before, .hotspot:focus-visible::before { border-color: rgba(255,210,119,.75); background: rgba(255,184,77,.08); box-shadow: 0 0 36px rgba(255,178,67,.18); }
.hotspot:focus-visible { outline: none; }
.hotspot__ring { position: absolute; width: 22px; height: 22px; right: 4%; bottom: 8%; border: 1px solid white; border-radius: 50%; background: rgba(20,23,23,.4); box-shadow: 0 0 0 7px rgba(255,255,255,.12); animation: pulse 2.3s infinite; }
.hotspot__ring::after { content: "+"; position: absolute; inset: -1px; display: grid; place-items: center; font-size: 13px; }
.hotspot__label { position: absolute; right: -4px; bottom: -40px; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(18,21,21,.78); backdrop-filter: blur(9px); color: white; font-size: 12px; font-weight: 700; white-space: nowrap; opacity: 0; transform: translateY(-6px); transition: .25s var(--ease); }
.hotspot__label b { color: var(--gold); }
.hotspot:hover .hotspot__label, .hotspot:focus-visible .hotspot__label { opacity: 1; transform: none; }
.hotspot--books { left: 13.5%; top: 8%; width: 16%; height: 78%; }
.hotspot--screen { left: 44%; top: 35%; width: 22%; height: 22%; }
.hotspot--map { left: 49%; top: 5%; width: 30%; height: 27%; }
.hotspot--hobbies { right: 1.5%; bottom: 8%; width: 15.5%; height: 34%; }
.hotspot--hobbies .hotspot__ring { right: 24%; bottom: 22%; }
.hotspot--hobbies .hotspot__label { right: 18%; bottom: 8%; }
.hotspot--contact { right: 3.5%; top: 7%; width: 15.5%; height: 32%; }
.hotspot--contact .hotspot__ring { right: 18%; bottom: 16%; }
.hotspot--contact .hotspot__label { right: 12%; bottom: -34px; }
.hotspot--achievements { left: 35.5%; top: 2%; width: 12%; height: 19%; }
.hotspot--achievements .hotspot__ring { right: 8%; bottom: 5%; }
.hotspot--achievements .hotspot__label { right: -18%; bottom: -37px; }

.dock { position: absolute; z-index: 15; right: clamp(18px, 3vw, 44px); bottom: clamp(18px, 3vw, 38px); display: flex; gap: 4px; padding: 5px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(18,20,20,.76); backdrop-filter: blur(16px); box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.dock button, .dock a { padding: 13px 17px; border: 0; border-radius: 10px; background: transparent; color: rgba(255,255,255,.85); text-decoration: none; font-size: 12px; font-weight: 700; cursor: pointer; transition: .2s; }
.dock button:hover, .dock a:hover, .dock button:focus-visible, .dock a:focus-visible { background: rgba(255,255,255,.11); color: white; outline: none; }
.dock span { margin-right: 8px; color: var(--gold); font: 500 10px "DM Mono", monospace; }
.dock i, .section-kicker i, .drawer__links i { font-style: normal; }

.hint { position: absolute; z-index: 6; left: 50%; bottom: 27px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.68); font: 500 10px "DM Mono", monospace; letter-spacing: .08em; }
.hint__mouse { width: 16px; height: 24px; border: 1px solid rgba(255,255,255,.6); border-radius: 9px; }
.hint__mouse::after { content: ""; display: block; width: 2px; height: 5px; margin: 4px auto; border-radius: 2px; background: white; animation: scroll 1.7s infinite; }

.overlay { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: clamp(14px, 4vw, 60px); visibility: hidden; }
.overlay.is-open { visibility: visible; }
.overlay__backdrop { position: absolute; inset: 0; background: rgba(9,11,11,.7); backdrop-filter: blur(8px) saturate(.7); opacity: 0; transition: .4s; }
.overlay.is-open .overlay__backdrop { opacity: 1; }
.projects-window { position: relative; width: min(1120px, 92vw); max-height: 88svh; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: #151918; box-shadow: 0 34px 100px rgba(0,0,0,.55); opacity: 0; transform: scale(.94) translateY(18px); transition: .42s var(--ease); }
.overlay.is-open .projects-window { opacity: 1; transform: none; }
.window-bar { height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px 0 18px; border-bottom: 1px solid rgba(255,255,255,.1); background: #202523; color: rgba(255,255,255,.5); font: 400 11px "DM Mono", monospace; }
.window-dots { display: flex; gap: 7px; }
.window-dots i { display:block; width: 9px; height: 9px; border-radius: 50%; background: #ef6a5b; }
.window-dots i:nth-child(2) { background: #e8b84d; }
.window-dots i:nth-child(3) { background: #5abd71; }
.close, .mini-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); font-size: 22px; cursor: pointer; transition: .2s; }
.close:hover, .close:focus-visible, .mini-close:hover, .mini-close:focus-visible { background: rgba(255,255,255,.18); transform: rotate(5deg); outline: none; }
.projects-content { padding: clamp(24px, 4vw, 48px); }
.section-kicker { display: flex; align-items: center; gap: 10px; color: var(--teal); font: 500 11px "DM Mono", monospace; letter-spacing: .18em; }
.section-kicker span { width: 24px; height: 1px; background: currentColor; }
.projects-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin: 13px 0 28px; }
.projects-heading h2 { margin: 0 0 7px; font-size: clamp(30px, 4vw, 50px); letter-spacing: -.045em; }
.projects-heading p { max-width: 610px; margin: 0; color: rgba(255,255,255,.6); font-size: 13px; line-height: 1.6; }
.project-counter { flex: 0 0 auto; color: rgba(255,255,255,.4); font: 500 12px "DM Mono", monospace; }
.project-counter b { color: var(--gold); font-size: 22px; }
.project-stage { overflow: hidden; }
.project-card { min-height: 300px; display: grid; grid-template-columns: minmax(260px, .9fr) 1.1fr; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; overflow: hidden; background: #1d2321; }
.project-visual { position: relative; min-height: 300px; display: grid; place-items: center; overflow: hidden; background: var(--project-bg); }
.project-visual::before { content: ""; position: absolute; width: 280px; height: 280px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.03), 0 0 0 92px rgba(255,255,255,.02); }
.project-visual__mark { position: relative; z-index: 2; font-size: clamp(48px, 6vw, 86px); font-weight: 800; letter-spacing: -.08em; color: rgba(255,255,255,.9); text-shadow: 0 12px 30px rgba(0,0,0,.18); }
.project-visual__grid { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px); background-size: 30px 30px; transform: perspective(500px) rotateX(60deg) scale(1.4) translateY(35%); }
.project-copy { padding: clamp(24px, 3.5vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.project-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; color: var(--teal); font: 500 10px "DM Mono", monospace; letter-spacing: .12em; }
.project-meta i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.project-copy h3 { margin: 0 0 13px; font-size: clamp(24px, 3vw, 38px); letter-spacing: -.04em; }
.project-copy p { margin: 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.7; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.project-tags span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 7px; color: rgba(255,255,255,.72); font: 400 10px "DM Mono", monospace; }
.project-link { align-self: flex-start; color: white; text-decoration: none; font-size: 12px; font-weight: 800; border-bottom: 1px solid var(--gold); padding-bottom: 4px; }
.project-controls { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; margin-top: 18px; }
.project-controls button { width: 46px; height: 42px; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; background: rgba(255,255,255,.05); font-size: 18px; cursor: pointer; }
.project-controls button:hover, .project-controls button:focus-visible { background: rgba(255,255,255,.13); outline: none; }
.progress { height: 2px; margin-right: 18px; background: rgba(255,255,255,.12); }
.progress i { display: block; width: 16.666%; height: 100%; background: var(--gold); transition: width .35s var(--ease); }
.project-card.is-changing { animation: cardChange .35s var(--ease); }

.drawer { position: fixed; inset: 0; z-index: 55; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(11,12,11,.58); backdrop-filter: blur(5px); opacity: 0; transition: .4s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; right: 0; top: 0; width: min(610px, 100%); height: 100%; overflow-y: auto; padding: clamp(38px, 6vw, 80px); background: var(--paper); color: #272724; border-left: 6px solid #d29731; box-shadow: -28px 0 80px rgba(0,0,0,.3); transform: translateX(100%); transition: .48s var(--ease); }
.drawer.is-open .drawer__panel { transform: none; }
.close--light { position: absolute; top: 22px; right: 24px; background: rgba(20,20,18,.08); }
.close--light:hover, .close--light:focus-visible { background: rgba(20,20,18,.15); }
.section-kicker--dark { color: #298c88; }
.drawer h2 { margin: 18px 0 20px; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -.06em; }
.drawer__lead { margin: 0; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; color: #4d4a42; }
.fact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 35px 0; background: rgba(38,38,34,.15); border: 1px solid rgba(38,38,34,.15); }
.fact-grid div { padding: 17px; background: var(--paper); }
.fact-grid small { display: block; margin-bottom: 7px; color: #8c7f6d; font: 500 9px "DM Mono", monospace; letter-spacing: .14em; }
.fact-grid strong { font-size: 13px; }
.shelf-list { border-top: 1px solid rgba(38,38,34,.16); }
.shelf-item { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px dashed rgba(38,38,34,.18); }
.shelf-item > span { color: #b98b3a; font: 500 10px "DM Mono", monospace; }
.shelf-item b { font-size: 15px; }
.shelf-item p { margin: 5px 0 0; color: #6d675d; font-size: 12px; line-height: 1.6; }
.drawer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.drawer__links a, .drawer__links button { min-width: 0; display: flex; justify-content: space-between; align-items: center; padding: 15px; border: 1px solid #292925; border-radius: 8px; background: transparent; color: #292925; text-decoration: none; font-size: 12px; font-weight: 800; cursor: pointer; }
.drawer__links .drawer__cv { grid-column: 1 / -1; background: #292925; color: white; }

.location-card { position: absolute; z-index: 30; top: 34%; right: 16%; display: flex; gap: 12px; align-items: center; padding: 14px 48px 14px 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: rgba(19,23,22,.86); backdrop-filter: blur(14px); box-shadow: 0 20px 50px rgba(0,0,0,.32); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .3s var(--ease); }
.location-card.is-open { opacity: 1; visibility: visible; transform: none; }
.location-card__pin { color: var(--gold); text-shadow: 0 0 14px var(--gold); }
.location-card small { display: block; color: var(--teal); font: 500 8px "DM Mono", monospace; letter-spacing: .16em; }
.location-card strong { display: block; margin-top: 3px; font-size: 13px; }
.mini-close { position: absolute; right: 6px; top: 6px; width: 28px; height: 28px; font-size: 16px; }

.hobbies-window { position: relative; width: min(900px, 92vw); padding: clamp(30px, 5vw, 64px); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: #171c1b; box-shadow: 0 34px 100px rgba(0,0,0,.55); opacity: 0; transform: scale(.94) translateY(18px); transition: .42s var(--ease); }
.hobbies-overlay.is-open .hobbies-window { opacity: 1; transform: none; }
.hobbies-window > .close { position: absolute; top: 20px; right: 20px; }
.hobbies-window h2 { margin: 18px 0 16px; max-width: 650px; font-size: clamp(35px, 5vw, 58px); line-height: 1.04; letter-spacing: -.055em; }
.hobbies-lead { max-width: 620px; margin: 0 0 34px; color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.7; }
.hobby-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hobby-grid article { position: relative; min-height: 210px; padding: 25px; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 13px; background: rgba(255,255,255,.035); }
.hobby-grid article > span { display: block; margin-bottom: 36px; color: var(--gold); font: 500 38px "DM Mono", monospace; }
.hobby-grid small { position: absolute; top: 25px; right: 22px; color: var(--teal); font: 500 9px "DM Mono", monospace; }
.hobby-grid h3 { margin: 0 0 8px; font-size: 18px; }
.hobby-grid p { margin: 0; color: rgba(255,255,255,.55); font-size: 11px; line-height: 1.6; }
.hobby-grid a { display: inline-block; margin-top: 15px; padding-bottom: 3px; border-bottom: 1px solid var(--gold); color: white; text-decoration: none; font-size: 10px; font-weight: 800; }
.hobby-grid a:hover, .hobby-grid a:focus-visible { color: var(--gold); outline: none; }

.contact-window { position: relative; width: min(820px, 92vw); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); padding: clamp(34px, 5vw, 64px); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: #171c1b; box-shadow: 0 34px 100px rgba(0,0,0,.55); opacity: 0; transform: scale(.94) translateY(18px); transition: .42s var(--ease); }
.contact-overlay.is-open .contact-window { opacity: 1; transform: none; }
.contact-window > .close { position: absolute; top: 20px; right: 20px; z-index: 2; }
.contact-window .section-kicker { grid-column: 1 / -1; }
.contact-window h2 { margin: -12px 0 16px; font-size: clamp(46px, 6vw, 72px); line-height: .95; letter-spacing: -.065em; }
.contact-window > p { align-self: end; margin: 0 0 5px; color: rgba(255,255,255,.6); font-size: 13px; line-height: 1.7; }
.contact-links { grid-column: 2; grid-row: 2 / span 2; display: grid; gap: 9px; }
.contact-links a { min-height: 78px; display: grid; grid-template-columns: 48px 1fr auto; gap: 15px; align-items: center; padding: 13px 16px; border: 1px solid rgba(255,255,255,.11); border-radius: 12px; background: rgba(255,255,255,.035); color: white; text-decoration: none; transition: .2s var(--ease); }
.contact-links a:hover, .contact-links a:focus-visible { transform: translateX(4px); border-color: rgba(241,184,75,.55); background: rgba(241,184,75,.07); outline: none; }
.contact-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: var(--paper); color: #202421; font: 800 14px "DM Mono", monospace; }
.contact-links small { display: block; margin-bottom: 3px; color: var(--teal); font: 500 8px "DM Mono", monospace; letter-spacing: .14em; }
.contact-links strong { font-size: 12px; }
.contact-links b { color: var(--gold); }

.achievements-window { position: relative; width: min(920px, 92vw); padding: clamp(34px, 5vw, 64px); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: #171c1b; box-shadow: 0 34px 100px rgba(0,0,0,.55); opacity: 0; transform: scale(.94) translateY(18px); transition: .42s var(--ease); }
.achievements-overlay.is-open .achievements-window { opacity: 1; transform: none; }
.achievements-window > .close { position: absolute; top: 20px; right: 20px; }
.achievements-window h2 { margin: 18px 0 14px; font-size: clamp(42px, 5vw, 64px); line-height: .98; letter-spacing: -.06em; }
.achievements-lead { max-width: 650px; margin: 0 0 32px; color: rgba(255,255,255,.6); font-size: 13px; line-height: 1.7; }
.achievement-list { display: grid; gap: 9px; }
.achievement-list article { display: grid; grid-template-columns: 62px 1fr; gap: 20px; align-items: center; min-height: 88px; padding: 13px 22px; border: 1px solid rgba(255,255,255,.11); border-radius: 13px; background: rgba(255,255,255,.035); }
.achievement-list small { display: block; margin-bottom: 5px; color: var(--teal); font: 500 9px "DM Mono", monospace; letter-spacing: .15em; }
.achievement-list h3 { max-width: 710px; margin: 0; font-size: clamp(13px, 1.4vw, 17px); line-height: 1.45; }
.medal { position: relative; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: rgba(25,22,16,.7); font: 800 13px "DM Mono", monospace; box-shadow: inset 0 0 0 3px rgba(255,255,255,.2), 0 7px 18px rgba(0,0,0,.2); }
.medal::before { content: ""; position: absolute; top: -15px; left: 15px; width: 18px; height: 18px; z-index: -1; background: linear-gradient(90deg, #207a7a 0 38%, #ede1c6 38% 62%, #207a7a 62%); clip-path: polygon(0 0,100% 0,76% 100%,24% 100%); }
.medal--gold { background: linear-gradient(135deg,#ffe189,#c98d24); }
.medal--silver { background: linear-gradient(135deg,#e8ebed,#8f989e); }
.medal--bronze { background: linear-gradient(135deg,#d99062,#8c4f2f); }

@keyframes pulse { 0%,100% { box-shadow: 0 0 0 5px rgba(255,255,255,.1); } 50% { box-shadow: 0 0 0 10px rgba(255,255,255,.02); } }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(8px); } }
@keyframes cardChange { 0% { opacity: .2; transform: translateX(18px); } 100% { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .room__image { width: auto; min-width: 100%; left: 50%; transform: translateX(-50%); }
  .brand { top: 28px; }
  .brand p { display: none; }
  .hotspot--books { left: 9%; width: 22%; }
  .hotspot--screen { left: 42%; width: 26%; }
  .hotspot--map { left: 48%; width: 35%; }
  .hint { display: none; }
  .project-card { grid-template-columns: 1fr; max-height: 55svh; overflow-y: auto; }
  .project-visual { min-height: 180px; }
}

@media (max-width: 620px) {
  .room { min-height: 560px; }
  .room__image { left: 47%; height: 100%; object-position: center; }
  .room__shade { background: linear-gradient(180deg, rgba(10,12,12,.68), transparent 28%), linear-gradient(0deg, rgba(10,12,12,.7), transparent 32%); }
  .brand { left: 20px; }
  .brand__eyebrow { font-size: 8px; margin-bottom: 10px; }
  .brand h1 { font-size: 47px; line-height: .82; }
  .hotspot { display: none; }
  .dock { left: 12px; right: 12px; bottom: 12px; justify-content: stretch; }
  .dock button, .dock a { flex: 1; padding: 12px 8px; text-align: center; font-size: 10px; }
  .dock span { display: none; }
  .overlay { padding: 8px; }
  .projects-window { width: 100%; max-height: 96svh; border-radius: 14px; }
  .window-bar { height: 44px; }
  .projects-content { padding: 20px 16px; }
  .projects-heading { margin-bottom: 18px; }
  .projects-heading p { display: none; }
  .project-counter { display: none; }
  .project-visual { min-height: 145px; }
  .project-copy { padding: 20px; }
  .project-copy p { font-size: 12px; }
  .project-tags { margin: 14px 0 18px; }
  .drawer__panel { padding: 64px 24px 32px; border-left-width: 3px; }
  .fact-grid { margin: 24px 0; }
  .drawer__links { grid-template-columns: 1fr; }
  .drawer__links .drawer__cv { grid-column: auto; }
  .location-card { top: 31%; right: 8%; }
  .language-switch { left: 12px; bottom: 72px; }
  .hobbies-window { width: calc(100% - 16px); max-height: 94svh; overflow-y: auto; padding: 54px 18px 20px; }
  .hobbies-window h2 { font-size: 34px; }
  .hobbies-lead { margin-bottom: 22px; }
  .hobby-grid { grid-template-columns: 1fr; }
  .hobby-grid article { min-height: auto; padding: 18px; }
  .hobby-grid article > span { margin-bottom: 18px; }
  .contact-window { width: calc(100% - 16px); max-height: 94svh; overflow-y: auto; grid-template-columns: 1fr; gap: 20px; padding: 54px 18px 20px; }
  .contact-window .section-kicker, .contact-links { grid-column: 1; }
  .contact-window h2 { grid-column: 1; margin: 0; font-size: 47px; }
  .contact-window > p { grid-column: 1; }
  .contact-links { grid-row: auto; }
  .achievements-window { width: calc(100% - 16px); max-height: 94svh; overflow-y: auto; padding: 54px 18px 20px; }
  .achievements-window h2 { font-size: 39px; }
  .achievement-list article { grid-template-columns: 54px 1fr; padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
