/* A working notebook: paper, ink, tabs and real learning materials. */
:root {
  --paper:#f7f7f2; --ink:#1c1b19; --muted:#595950; --blue:#3154ce;
  --yellow:#f5cb45; --mint:#a5d9c2; --pink:#ee82a8; --line:#d5d5cb;
  --display:'Oswald','Arial Narrow',sans-serif; --body:'Golos Text',Arial,sans-serif;
  --hand:'Caveat',cursive; --wrap:1280px;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:32px; }
body { margin:0; padding:28px; color:var(--ink); font:16px/1.65 var(--body); background-color:#858681; background-image:linear-gradient(#ffffff40 1px,transparent 1px),linear-gradient(90deg,#ffffff40 1px,transparent 1px); background-size:48px 48px; -webkit-font-smoothing:antialiased; }
body:has(.viewer:not([hidden])) { overflow:hidden; }
button,a { -webkit-tap-highlight-color:transparent; }
button { font:inherit; color:inherit; }
button,summary { cursor:pointer; }
a { color:inherit; text-underline-offset:4px; }
a:hover { text-decoration-thickness:2px; }
img { display:block; max-width:100%; height:auto; }
button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible { outline:3px solid var(--blue); outline-offset:5px; }
[hidden] { display:none !important; }
::selection { background:var(--yellow); color:var(--ink); }
.paper { max-width:1440px; margin:auto; background-color:var(--paper); background-image:repeating-linear-gradient(transparent 0px,transparent 31px,#d7d8cf55 31px,#d7d8cf55 32px); border:1px solid #e5e5db; box-shadow:0 12px 45px #00000017; overflow:clip; }
.wrap { max-width:var(--wrap); padding:0 44px; margin:auto; }
.handnote { font-family:var(--hand); font-size:1.65rem; font-weight:500; line-height:1.1; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skiplink { position:fixed; left:24px; top:-100px; z-index:500; background:var(--yellow); padding:12px 20px; }
.skiplink:focus { top:12px; }

/* The small toolbar leaves the canvas to the work. */
.topbar { display:flex; align-items:center; gap:32px; padding:14px 30px; border-bottom:1px solid var(--line); background:#fcfcf9; }
.wordmark { display:flex; align-items:center; gap:9px; text-decoration:none; font-weight:700; font-size:1.2rem; letter-spacing:-.08em; flex-shrink:0; }
.wordmark__flower { color:var(--pink); font-size:32px; line-height:1; letter-spacing:0; }
.sitenav { display:flex; gap:8px; align-items:center; }
.sitenav__link { padding:8px 12px; text-decoration:none; font-size:.875rem; font-weight:600; white-space:nowrap; transition:background .18s; }
.sitenav__link:hover,.sitenav__link.is-active { background:var(--yellow); }
.topbar__right { display:flex; gap:18px; align-items:center; margin-left:auto; }
.langswitch { display:flex; gap:2px; }
.langswitch__btn { border:0; background:none; padding:7px; font-size:.8125rem; font-weight:600; }
.langswitch__btn.is-active { background:var(--ink); color:var(--paper); }
.contact-link { padding:8px 14px; border:1px solid var(--ink); text-decoration:none; font-size:.875rem; font-weight:600; white-space:nowrap; box-shadow:2px 2px 0 var(--ink); }
.contact-link:hover { background:var(--mint); }

.hero { padding:64px 0 0; }
.hero__layout { display:grid; grid-template-columns:1.04fr 1fr; gap:48px; align-items:center; }
.hero__intro { min-width:0; padding-bottom:30px; }
.hero__hello { margin:0 0 18px 10px; transform:rotate(-5deg); width:max-content; font-size:2.4rem; }
.hero__namebox { position:relative; display:table; padding:4px 16px 15px 5px; margin:0 0 22px; }
.hero__namebox::after { content:''; position:absolute; inset:-5px -4px 0 -8px; border:1.5px solid #e88052; transform:rotate(-2deg); pointer-events:none; }
.hero__name { font:700 clamp(4.5rem,9.5vw,8.4rem)/.99 var(--display); letter-spacing:-.035em; text-transform:uppercase; margin:0; }
.hero__name em { display:block; font-style:normal; }
.hero__role { font-size:.9375rem; font-weight:500; line-height:1.55; max-width:38ch; margin:28px 0 0; }
.hero__actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:24px; }
.btn { display:inline-flex; align-items:center; justify-content:center; padding:13px 20px; border:1.5px solid var(--ink); background:var(--ink); color:var(--paper); text-decoration:none; font-size:.9375rem; font-weight:600; line-height:1.45; text-align:center; transition:transform .2s,box-shadow .2s; }
.btn:hover { transform:translate(-2px,-2px); box-shadow:4px 4px 0 var(--blue); }
.hero__cv { background:transparent; color:var(--ink); }
.hero__tags { display:flex; gap:10px 8px; flex-wrap:wrap; padding:0; margin:26px 0 0; list-style:none; width:100%; max-width:none; }
.hero__tags li { font-size:.8125rem; line-height:1.5; background:var(--mint); padding:4px 9px; transform:rotate(-2deg); }
.hero__tags li:nth-child(2n) { background:var(--yellow); transform:rotate(2deg); }
.hero__tags li:nth-child(3n) { background:#cad8ff; }
.hero__collage { position:relative; width:100%; min-width:0; height:460px; margin-top:10px; isolation:isolate; }
.hero__collage::before { content:''; position:absolute; background:var(--mint); inset:20px 15px 8px 20px; transform:rotate(4deg); z-index:-1; }
.collage__note { position:absolute; top:-12px; right:30px; transform:rotate(5deg); z-index:5; }
.scrap { position:absolute; width:87%; display:block; padding:8px 8px 0; background:#fff; box-shadow:3px 5px 9px #00000025; border:1px solid #deded4; text-decoration:none; transition:transform .25s; }
.scrap::after { content:''; position:absolute; width:92px; height:28px; top:-12px; left:38%; background:#e4dba4b8; transform:rotate(-5deg); clip-path:polygon(2% 0,100% 5%,97% 100%,0 95%); }
.scrap--back { top:38px; left:0; transform:rotate(-7deg); }
.scrap--front { top:200px; right:-4px; transform:rotate(6deg); z-index:2; }
.scrap--back:hover { transform:rotate(-4deg) translateY(-5px); z-index:3; }
.scrap--front:hover { transform:rotate(3deg) translateY(-5px); }
.scrap img { aspect-ratio:16/9; width:100%; object-fit:cover; }
.scrap__bar { height:19px; display:flex; gap:4px; align-items:center; padding-left:5px; background:var(--ink); }
.scrap__bar span { width:5px; height:5px; background:var(--pink); border-radius:50%; }
.scrap__bar span:nth-child(2) { background:var(--yellow); }
.scrap__bar span:nth-child(3) { background:var(--mint); }
.scrap__caption { display:block; padding:7px 4px 8px; text-align:center; font:500 1.2rem/1.2 var(--hand); }
.collage__sticker { position:absolute; top:145px; right:-20px; z-index:4; font:100px/1 Arial,sans-serif; color:var(--pink); -webkit-text-stroke:1px var(--ink); transform:rotate(10deg); }
.collage__label { position:absolute; bottom:-16px; left:-16px; background:var(--yellow); padding:6px 14px; transform:rotate(-7deg); z-index:5; font:500 1.35rem/1.3 var(--hand); border:1px solid #1c1b1933; }
.hero__bottom { display:flex; align-items:center; justify-content:space-between; gap:28px; margin-top:34px; padding:22px 0; border-top:1px solid var(--ink); border-bottom:1px solid var(--ink); }
.hero__figures { display:flex; gap:30px; margin:0; padding:0; list-style:none; }
.hero__figures li { display:flex; align-items:center; gap:10px; }
.hero__figures b { font:600 2.65rem/1 var(--display); }
.hero__figures span { font-size:.8125rem; line-height:1.4; max-width:13ch; }
.hero__contacts { display:flex; gap:6px 20px; flex-wrap:wrap; justify-content:flex-end; font-size:.8125rem; }
.hero__contacts a { text-decoration:none; border-bottom:1px solid var(--ink); }

/* Project folders. Each tab owns one group of working examples. */
.section { padding:72px 0; }
.section__head { position:relative; margin-bottom:36px; }
.eyebrow { margin:0 0 12px; display:inline-block; padding:3px 10px; background:var(--mint); font:500 1.2rem/1.4 var(--hand); transform:rotate(-3deg); }
.section__title { font:600 clamp(2.5rem,4.4vw,4.4rem)/1.1 var(--display); text-transform:uppercase; letter-spacing:-.02em; margin:8px 0 0; max-width:24ch; }
.section__title em { font-style:normal; }
.section__lead { color:var(--muted); font-size:1rem; line-height:1.8; margin:22px 0 0; max-width:83ch; }
.works__context { margin-top:20px; width:100%; max-width:none; }
.works__context summary { font-size:.875rem; text-decoration:underline; text-underline-offset:4px; width:max-content; padding:6px 0; }
.works__context summary::marker { color:var(--blue); }
.works__context .section__lead { margin-top:14px; font-size:.9375rem; width:100%; max-width:none; }
.works__hint { font-size:.9375rem; color:var(--muted); }
.project-tabs { display:none; }
.tabs-ready .project-tabs { display:flex; gap:6px; align-items:stretch; margin-bottom:0; }
.project-tab { display:flex; align-items:center; justify-content:space-between; gap:16px; background:#e8e8df; border:1px solid var(--ink); border-bottom:0; padding:17px 22px 15px; font-size:.9375rem; font-weight:600; border-radius:9px 17px 0 0; min-width:0; flex:1; position:relative; }
.project-tab:nth-child(2) { background:var(--yellow); }
.project-tab:nth-child(3) { background:var(--mint); }
.project-tab[aria-selected="true"] { background:var(--blue); color:white; padding-top:19px; margin-top:-5px; }
.project-tab:hover { text-decoration:underline; text-underline-offset:5px; }
.tab-short { display:none; }
.project-tab__count { font-family:monospace; padding:0 6px; border:1px solid currentColor; font-size:.8125rem; flex-shrink:0; }
.wg { margin:0; }
.wg__summary { padding:20px 0; font-weight:600; }
.wg__meta { display:block; font-weight:400; font-size:.875rem; }
.tabs-ready .wg__summary { display:none; }
.wg__body { display:grid; gap:24px; }
.case { --case-bg:var(--ink); --case-ink:var(--paper); --case-muted:#d6d6cb; display:grid; grid-template-columns:minmax(300px,.85fr) 1.15fr; background:var(--case-bg); color:var(--case-ink); border:1px solid var(--ink); position:relative; }
.case:nth-of-type(3n + 2) { --case-bg:var(--yellow); --case-ink:var(--ink); --case-muted:#454339; }
.case:nth-of-type(3n + 3) { --case-bg:var(--mint); --case-ink:var(--ink); --case-muted:#384a41; }
.case__panel { display:flex; flex-direction:column; align-items:flex-start; padding:34px 30px 30px; }
.case__kind { display:inline-block; background:var(--paper); color:var(--ink); padding:5px 10px; font-size:.8125rem; border:1px solid #1c1b1933; transform:rotate(-2deg); }
.case__lang { margin-top:20px; font-size:.8125rem; font-weight:500; }
.case__tie { margin-top:3px; font-size:.8125rem; color:var(--case-muted); }
.case__title { font:600 clamp(1.8rem,2.6vw,2.5rem)/1.17 var(--display); margin:18px 0 0; max-width:26ch; }
.case__rule { width:44px; height:2px; background:currentColor; margin-top:20px; }
.case__text { font-size:.9375rem; line-height:1.7; color:var(--case-muted); margin:18px 0 0; }
.case__actions { display:flex; flex-direction:column; align-items:flex-start; gap:10px; margin-top:auto; padding-top:26px; width:100%; }
.case .btn { background:var(--paper); color:var(--ink); border-color:var(--paper); }
.case .btn:hover { box-shadow:4px 4px 0 var(--pink); }
.case .btn--ghost { background:transparent; border-color:currentColor; color:var(--case-ink); }
.case__access { font-size:.8125rem; color:var(--case-muted); }
.case__award { display:flex; align-items:flex-start; gap:10px; margin-top:18px; padding:12px 14px; background:var(--paper); color:var(--ink); border:1px solid var(--ink); font-size:.8125rem; line-height:1.5; }
.case__award > span { color:var(--blue); font-size:1.4rem; line-height:1.2; }
.case__award b,.case__award small { display:block; font-size:inherit; }
.case__award small { margin-top:3px; }
.case__shot { position:relative; min-width:0; display:flex; align-items:center; justify-content:center; padding:48px 28px 68px; }
.screenshot-paper { position:relative; width:100%; min-width:0; }
.screenshot-paper::before { content:''; position:absolute; top:-14px; width:83px; height:28px; left:36%; background:#e2dec8bd; transform:rotate(-7deg); z-index:1; pointer-events:none; }
.slider__view { width:100%; min-width:0; overflow:hidden; background:white; border:7px solid white; box-shadow:3px 5px 0 #00000018; }
.slider__track { display:flex; width:100%; transition:transform .4s ease; align-items:center; }
.slider__slide { flex:0 0 100%; min-width:0; display:flex; align-items:center; justify-content:center; }
.slider__slide img { width:100%; height:auto; cursor:zoom-in; }
.slider__nav { position:absolute; bottom:20px; left:20px; right:20px; display:flex; align-items:center; justify-content:center; gap:14px; }
.slider__arrow { width:36px; height:36px; border:1px solid currentColor; background:transparent; color:var(--case-ink); display:grid; place-items:center; padding:0; }
.slider__arrow:hover { background:var(--paper); color:var(--ink); }
.slider__dots { display:flex; align-items:center; gap:4px; }
.slider__dot { width:24px; height:30px; border:0; background:none; padding:7px; position:relative; color:var(--case-ink); }
.slider__dot::before { content:''; display:block; width:8px; height:8px; border:1px solid currentColor; border-radius:50%; }
.slider__dot.is-active::before { background:currentColor; }
.deep { grid-column:1/-1; border-top:1px solid currentColor; margin:0 30px; }
.deep__summary { display:flex; justify-content:space-between; padding:17px 0; list-style:none; font-size:.875rem; font-weight:500; }
.deep__summary::-webkit-details-marker { display:none; }
.deep__summary::after { content:'+'; font-size:1.3rem; line-height:1; }
.deep[open] .deep__summary::after { content:'−'; }
.deep__body { background:var(--paper); color:var(--ink); margin:0 -30px; padding:30px; border-top:1px solid var(--ink); }
.deep__label { text-transform:uppercase; font-size:.8125rem; font-weight:600; color:var(--blue); margin:24px 0 8px; letter-spacing:.03em; }
.deep__body > .deep__label:first-child { margin-top:0; }
.deep__text { font-size:.9375rem; margin:0 0 12px; color:#4d4d45; }
.deep__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.deep__thesis { font-weight:600; margin:8px 0; line-height:1.5; }
.deep__fig { max-width:950px; margin:26px auto 0; overflow:auto; }
.deep__cap { font-size:.8125rem; color:var(--muted); margin-top:12px; text-align:center; }
.deep__close,.wg__back { display:inline-flex; border:1px solid var(--ink); background:transparent; padding:10px 15px; font-size:.875rem; text-decoration:none; }
.wg__back { justify-self:start; background:var(--paper); margin-top:0; }
.matrix { border-collapse:collapse; width:100%; font-size:.875rem; }
.matrix th,.matrix td { padding:10px 8px; border-bottom:1px solid var(--line); text-align:center; }
.matrix tbody th { text-align:left; }
.matrix thead th { font-size:.8125rem; }
.m--up { color:#1f6a42; }.m--down { color:#895321; }.m--flat { color:#777; }
.flow,.branch { width:100%; height:auto; display:block; min-width:500px; }
.flow__t { font:600 15px var(--body); text-anchor:middle; fill:var(--ink); }
.flow__s { font:13px var(--body); text-anchor:middle; fill:var(--muted); }
.br__t { font:600 14px var(--body); fill:var(--ink); }.br__s,.br__c { font:13px var(--body); fill:var(--muted); }.br__o,.br__n { font:600 14px var(--body); fill:var(--ink); }

/* A note from the maker, followed by the choices learners face. */
.about { padding:66px 0 62px; border-top:1px solid var(--line); }
.section-kicker { margin:0 0 32px; transform:rotate(-3deg); width:max-content; }
.about__grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:54px; }
.about__title { margin:0; font:600 clamp(2.6rem,4.4vw,4.3rem)/1.12 var(--display); text-transform:uppercase; max-width:15ch; }
.about__title em { font:600 1.05em/1.1 var(--hand); text-transform:none; background:var(--yellow); padding:0 8px; display:inline-block; transform:rotate(-3deg); margin-top:10px; }
.about__text p { margin:0 0 18px; color:var(--muted); font-size:.9375rem; }
.skills { display:flex; gap:8px; flex-wrap:wrap; list-style:none; margin:26px 0 0; padding:0; }
.skills li { padding:5px 10px; background:var(--mint); font-size:.8125rem; }
.skills li:nth-child(2n) { background:#cbd8ff; }.skills li:nth-child(3n) { background:var(--yellow); }
.learning-notes { padding:10px 0 72px; }
.learning-notes__intro { display:grid; grid-template-columns:.6fr 1.4fr; gap:24px; align-items:start; margin-bottom:32px; }
.note-label { display:table; border:1px solid var(--ink); padding:5px 14px; font:500 1.5rem var(--hand); transform:rotate(-4deg); }
.hero__lead { font-size:.9375rem; color:var(--muted); max-width:75ch; margin:0; }
.hero__scenes { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin:0; padding:0; list-style:none; }
.scene { padding:22px; background:#f2df86; transform:rotate(-2deg); box-shadow:2px 4px 3px #00000012; display:flex; flex-direction:column; }
.scene:nth-child(2) { background:#c3e3d4; transform:rotate(1.5deg); }.scene:nth-child(3) { background:#f1c7d7; transform:rotate(-1deg); }
.scene__bubble { font:500 1.4rem/1.25 var(--hand); margin:0 0 18px; }
.scene__who { display:block; font-size:.75rem; text-transform:uppercase; letter-spacing:.04em; margin-top:auto; }

.exp { border-top:1px solid var(--line); padding:64px 0; }
.exp .section__head { display:grid; grid-template-columns:1fr 1fr; gap:0 40px; }
.exp .eyebrow { grid-column:1; justify-self:start; }
.exp .section__title { grid-column:1; }
.exp .section__lead { grid-column:2; grid-row:1 / 3; align-self:end; margin:0; max-width:52ch; }
.tl__track { display:flex; gap:8px; margin:40px 0 0; }
.tl__node { flex:1; padding:14px 8px; border:1px solid var(--ink); background:transparent; font-size:.9375rem; line-height:1.3; }
.tl__node.is-active { background:var(--blue); color:white; }
.tl__node:hover { box-shadow:inset 0 -4px 0 var(--yellow); }
.tl__dot { display:none; }
.tl__panels { padding:30px; border:1px solid var(--ink); border-top:0; background:#fcfcf8; }
.tl__panel:not(.is-active) { display:none; }
.tl__org { font:600 2rem/1.2 var(--display); margin:0 0 8px; }
.tl__role { margin:0 0 12px; color:var(--blue); font-size:.9375rem; font-weight:500; }
.tl__note { margin:0; max-width:90ch; color:var(--muted); font-size:.9375rem; }

#lectures { border-top:1px solid var(--line); }
#lectures .eyebrow { background:var(--pink); }
#lectures .section__title { max-width:28ch; }
#lectures .section__lead { max-width:100ch; }
.stats { display:flex; gap:55px; padding:24px 0; border-block:1px solid var(--ink); }
.stat { display:flex; align-items:center; gap:16px; }
.stat b { font:600 3.1rem/1 var(--display); white-space:nowrap; }
.stat > span { font-size:.875rem; line-height:1.5; max-width:18ch; }
.group { margin-top:32px; }
.lecture-group { margin-top:0; border-bottom:1px solid var(--ink); }
.lecture-group:first-of-type { margin-top:20px; }
.lecture-group__summary { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:18px 0; min-height:60px; list-style:none; }
.lecture-group__summary::-webkit-details-marker { display:none; }
.lecture-group__summary::after { content:'+'; font-size:1.5rem; line-height:1; }
.lecture-group[open] > .lecture-group__summary::after { content:'−'; }
.lecture-group .group__name { margin:0; font-size:1rem; letter-spacing:0; text-transform:none; color:var(--ink); }
.lecture-group .lectures-list { padding-bottom:10px; }
.lecture-group .lectures-list li:last-child { border-bottom:0; }
.group__name { font-size:.8125rem; color:var(--blue); letter-spacing:.06em; margin:0 0 8px; text-transform:uppercase; font-weight:600; }
.lectures-list { padding:0; margin:0; list-style:none; }
.lectures-list li { border-bottom:1px solid var(--line); }
.lecture { display:flex; align-items:baseline; justify-content:space-between; gap:24px; padding:18px 0; text-decoration:none; }
.lecture:hover { color:var(--blue); }
.lecture__name { font-size:1rem; max-width:78ch; }
.lecture__meta { font-size:.8125rem; white-space:nowrap; color:var(--muted); }
.note { font-size:.8125rem; color:var(--muted); margin:24px 0 0; width:100%; max-width:none; }
.cta__section { background:var(--yellow); border-block:1px solid var(--ink); padding:52px 0; }
.cta { display:grid; grid-template-columns:1.2fr 1fr; gap:20px 60px; align-items:center; }
.cta__heading { grid-row:1/3; font:600 clamp(2.5rem,4.7vw,4.7rem)/1.06 var(--display); text-transform:uppercase; letter-spacing:-.02em; margin:0; }
.cta__text { margin:0; font-size:.9375rem; max-width:45ch; }
.cta__btn { justify-self:start; align-self:start; }
.footer { background:#fcfcf8; padding:24px 0; }
.footer__inner { display:flex; justify-content:space-between; gap:22px; align-items:center; font-size:.8125rem; }
.footer__links { display:flex; gap:20px; flex-wrap:wrap; }
.footer__name { color:var(--muted); }
.totop { position:fixed; bottom:24px; right:24px; width:44px; height:44px; display:grid; place-items:center; background:var(--yellow); border:1px solid var(--ink); font-size:1.25rem; box-shadow:3px 3px 0 var(--ink); opacity:0; pointer-events:none; transition:opacity .2s; z-index:100; }
.totop.is-on { opacity:1; pointer-events:auto; }
.viewer { position:fixed; inset:0; z-index:400; padding:52px 24px 24px; display:flex; justify-content:center; align-items:center; background:#1c1b19ed; overflow:auto; }
.viewer__img { max-width:100%; max-height:88vh; width:auto; height:auto; object-fit:contain; }
.viewer__close { position:fixed; right:20px; top:16px; width:42px; height:42px; border:1px solid white; background:var(--ink); color:white; font-size:1.7rem; line-height:1; }

@media(min-width:1600px) { .hero__name { font-size:8.4rem; } }
@media(max-width:1150px) {
  body { padding:20px; }.wrap { padding:0 30px; }.topbar { padding:12px 24px; gap:16px; }
  .sitenav { gap:0; }.sitenav__link { padding:8px 9px; }.topbar__right { gap:12px; }
  .hero__layout { gap:26px; }.hero__collage { height:400px; }.scrap--front { top:180px; }
  .hero__contacts { max-width:250px; }.hero__figures { gap:20px; }
  .case__panel { padding:28px 24px; }.case__shot { padding:48px 22px 68px; }
  .project-tab { padding-inline:16px; font-size:.875rem; }.stats { gap:30px; }
}
@media(max-width:900px) {
  .contact-link { display:none; }.topbar { gap:14px; }.sitenav__link { font-size:.8125rem; padding:8px; }
  .hero { padding-top:50px; }.hero__layout { grid-template-columns:1.05fr 1fr; gap:22px; }
  .hero__name { font-size:clamp(3.6rem,9.1vw,6.2rem); }.hero__namebox { padding-right:5px; }
  .hero__collage { height:320px; }.scrap--front { top:145px; }.collage__note { font-size:1.3rem; right:0; }
  .collage__sticker { font-size:75px; top:120px; right:-15px; }.collage__label { font-size:1.1rem; bottom:-24px; }
  .hero__role { font-size:.875rem; }.hero__actions .btn { padding:11px 12px; font-size:.8125rem; }
  .hero__tags { gap:7px; }.hero__tags li { font-size:.75rem; }
  .hero__bottom { flex-direction:column; align-items:stretch; margin-top:22px; gap:20px; }
  .hero__figures { justify-content:space-between; }.hero__contacts { justify-content:flex-start; max-width:none; }
  .section { padding:56px 0; }.case { grid-template-columns:1fr 1.1fr; }
  .case__title { font-size:1.8rem; }.case__text { font-size:.875rem; }.case__shot { padding:40px 18px 66px; }
  .deep__grid { grid-template-columns:1fr; gap:4px; }
  .project-tab { padding:14px 12px; font-size:.8125rem; gap:8px; }
  .about__grid { gap:30px; }.about__title { font-size:2.7rem; }.learning-notes__intro { grid-template-columns:1fr; gap:16px; }
  .hero__scenes { gap:14px; }.scene { padding:18px; }.scene__bubble { font-size:1.25rem; }
  .stats { gap:20px; }.stat { gap:12px; }.stat b { font-size:2.5rem; }.stat > span { font-size:.8125rem; }
  .cta { gap:20px 32px; }.cta__heading { font-size:3rem; }
}
@media(max-width:650px) {
  html { scroll-padding-top:16px; }body { padding:10px; background-size:28px 28px; }.wrap { padding:0 20px; }
  .topbar { padding:10px 14px 0; gap:14px; flex-wrap:wrap; }.wordmark { font-size:1rem; }.wordmark__flower { font-size:27px; }
  .topbar__right { order:1; }.sitenav { order:2; width:100%; justify-content:space-between; gap:0; border-top:1px solid var(--line); }
  .sitenav__link { font-size:.8125rem; padding:11px 7px; }.langswitch__btn { min-width:32px; }
  .hero { padding-top:32px; }.hero__layout { grid-template-columns:1fr; gap:14px; }.hero__intro { padding-bottom:0; }
  .hero__hello { margin-bottom:14px; font-size:2rem; }.hero__name { font-size:clamp(4rem,18vw,6.3rem); }
  .hero__namebox { padding:0 16px 10px 3px; margin-bottom:20px; }.hero__namebox::after { inset:-4px 0 0 -4px; }
  .hero__role { max-width:36ch; margin-top:24px; font-size:.9375rem; }.hero__actions { margin-top:20px; gap:10px; }
  .hero__actions .btn { font-size:.875rem; padding:12px 14px; }.hero__tags { max-width:100%; gap:8px; margin-top:22px; }
  .hero__tags li { font-size:.8125rem; }.hero__collage { height:330px; width:92%; max-width:400px; margin:18px auto 10px; }
  .scrap--back { top:32px; }.scrap--front { top:148px; right:0; }.scrap { width:89%; }
  .collage__note { font-size:1.5rem; top:-7px; right:6px; }.collage__sticker { font-size:72px; right:-20px; top:120px; }
  .collage__label { left:-10px; bottom:3px; }.hero__bottom { margin-top:28px; padding:20px 0; gap:18px; }
  .hero__figures { gap:16px; }.hero__figures li { display:block; flex:1; }.hero__figures b { font-size:2.5rem; }
  .hero__figures span { display:block; font-size:.75rem; margin-top:8px; max-width:14ch; }.hero__contacts { gap:10px 18px; font-size:.8125rem; }
  .section { padding:44px 0; }.section__head { margin-bottom:28px; }.section__title { font-size:2.6rem; max-width:20ch; }.eyebrow { font-size:1.15rem; }
  .works__context { margin-top:16px; }.works__context summary { font-size:.875rem; }
  .tabs-ready .project-tabs { gap:3px; }.project-tab { padding:12px 9px; font-size:.8125rem; line-height:1.4; flex-direction:column; align-items:flex-start; justify-content:space-between; gap:10px; border-radius:7px 10px 0 0; }
  .project-tab .tab-long { display:none; }.project-tab .tab-short { display:inline; }
  .project-tab[aria-selected="true"] { padding-top:15px; margin-top:-3px; }.project-tab__count { font-size:.75rem; }
  .wg__body { gap:20px; }.case { grid-template-columns:1fr; }.case__panel { padding:24px 22px; }
  .case__shot { order:-1; padding:30px 20px 64px; }.screenshot-paper::before { top:-12px; width:70px; height:24px; }
  .case__kind { font-size:.8125rem; }.case__lang { margin-top:18px; }.case__title { font-size:2rem; max-width:26ch; }
  .case__text { font-size:.9375rem; }.case__actions { padding-top:24px; }.case__actions .btn { width:100%; }
  .slider__view { border-width:5px; }.slider__arrow { width:40px; height:40px; }.slider__nav { bottom:12px; gap:12px; }
  .slider__dots { gap:0; }.slider__dot { width:24px; }.deep { margin:0 22px; }.deep__body { margin:0 -22px; padding:24px 22px; }.deep__summary { padding:18px 0; }
  .deep__fig { margin-top:20px; }.matrix { min-width:450px; }.wg__back { font-size:.875rem; padding:12px 15px; }
  .about { padding:44px 0 36px; }.section-kicker { margin-bottom:22px; }.about__grid { grid-template-columns:1fr; gap:28px; }
  .about__title { font-size:2.8rem; max-width:20ch; }.about__text p { font-size:.9375rem; }.skills { margin-top:22px; }
  .learning-notes { padding:8px 0 44px; }.hero__scenes { grid-template-columns:1fr; gap:18px; }.scene { padding:22px; }.scene__bubble { font-size:1.5rem; }.scene__who { font-size:.8125rem; }
  .exp { padding:44px 0; }.exp .section__head { display:block; }.exp .section__lead { margin-top:22px; }
  .tl__track { gap:4px; margin-top:28px; flex-wrap:wrap; }.tl__node { flex:1 1 45%; padding:13px 6px; font-size:.875rem; }.tl__panels { padding:24px 20px; border-top:1px solid var(--ink); margin-top:4px; }
  .tl__org { font-size:1.8rem; }.tl__role { font-size:.875rem; }
  #lectures .section__title { font-size:2.5rem; }.stats { gap:16px; padding:20px 0; }.stat { display:block; flex:1; min-width:0; }.stat b { display:block; font-size:2.25rem; }.stat > span { display:block; margin-top:8px; font-size:.75rem; }
  .lecture { flex-direction:column; gap:7px; padding:17px 0; }.lecture__name { font-size:.9375rem; }.lecture__meta { font-size:.8125rem; }
  .cta__section { padding:36px 0; }.cta { grid-template-columns:1fr; gap:22px; }.cta__heading { grid-row:auto; font-size:2.7rem; }.cta__text { font-size:.9375rem; }
  .footer { padding:24px 0; }.footer__inner { flex-direction:column; align-items:flex-start; gap:16px; }.footer__links { gap:12px 20px; font-size:.8125rem; }
  .totop { right:18px; bottom:18px; }.viewer { padding:62px 10px 18px; }.viewer__img { max-height:80vh; }
}
@media(max-width:360px) { .hero__name { font-size:16.8vw; } .project-tab { padding-inline:7px; letter-spacing:-.015em; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; }*,*::before,*::after { transition:none !important; animation:none !important; } }
/* A photographic cutout is the centre of this paper collage. */
.hero__collage--portrait { height:480px; margin-top:25px; }
.hero__collage--portrait::before { display:none; }
.portrait-paper { position:absolute; inset:32px 8px 0 25px; background:var(--mint); transform:rotate(2deg); z-index:-1; pointer-events:none; }
.portrait-crop { position:absolute; inset:0; z-index:2; pointer-events:none; }
.hero__portrait { position:absolute; width:70%; aspect-ratio:2 / 3; right:0; bottom:-28px; transform:rotate(6deg); transform-origin:65% 100%; z-index:2; pointer-events:none; }
.hero__portrait img { width:100%; height:auto; clip-path:polygon(0 0,100% 0,100% 100%,39% 100%,28% 82%,0 82%); }
.portrait-head-anchor { position:absolute; left:43%; top:6%; width:1px; height:1px; }
.hero__collage--portrait .collage__note { top:-42px; right:16px; font-size:1.5rem; }
.hero__collage--portrait .scrap--back { width:52%; top:66px; left:-7px; transform:rotate(-9deg); z-index:1; }
.hero__collage--portrait .scrap--front { width:44%; top:auto; bottom:65px; left:-8px; right:auto; transform:rotate(8deg); z-index:3; }
.hero__collage--portrait .scrap__caption { font-size:1rem; }
.hero__collage--portrait .scrap::after { width:64px; height:22px; }
.hero__collage--portrait .scrap--back:hover { transform:rotate(-5deg) translateY(-4px); }
.hero__collage--portrait .scrap--front:hover { transform:rotate(4deg) translateY(-4px); }
.hero__collage--portrait .collage__sticker { top:46px; right:-16px; font-size:80px; z-index:3; }
.hero__collage--portrait .collage__label { bottom:16px; left:-10px; }
@media(max-width:1150px) {
  .hero__collage--portrait { height:430px; }
  .hero__collage--portrait .collage__note { font-size:1.35rem; right:0; }
}
@media(max-width:900px) {
  .hero__collage--portrait { height:340px; margin-top:18px; }
  .hero__collage--portrait .collage__note { top:-40px; font-size:1.2rem; }
  .hero__collage--portrait .scrap--back { top:55px; }
  .hero__collage--portrait .scrap--front { width:46%; bottom:50px; }
  .hero__collage--portrait .scrap__caption { font-size:.875rem; }
  .hero__collage--portrait .collage__sticker { top:25px; font-size:62px; }
  .hero__collage--portrait .collage__label { bottom:4px; }
}
@media(max-width:650px) {
  .hero__collage--portrait { height:360px; margin:62px auto 4px; }
  .hero__collage--portrait .collage__note { top:-48px; right:0; font-size:1.45rem; }
  .hero__portrait { width:90%; right:-4px; }
  .hero__collage--portrait .scrap--back { top:55px; left:-10px; width:53%; }
  .hero__collage--portrait .scrap--front { width:43%; left:-10px; right:auto; bottom:58px; }
  .hero__collage--portrait .scrap__caption { font-size:.9375rem; }
  .hero__collage--portrait .collage__sticker { right:-18px; top:27px; font-size:60px; }
  .hero__collage--portrait .collage__label { font-size:1.15rem; bottom:8px; left:-10px; }
}
@media(max-width:360px) {
  .hero__collage--portrait { height:310px; }
  .hero__collage--portrait .scrap__caption { font-size:.8125rem; }
  .hero__collage--portrait .collage__note { font-size:1.35rem; }
}
@media print {
  body { padding:0; background:white; }.paper { border:0; box-shadow:none; background:white; }
  .topbar,.project-tabs,.totop,.viewer,.hero__collage,.hero__actions,.case__shot,.deep__close,.wg__back { display:none !important; }
  .hero__layout,.about__grid,.cta { display:block; }.hero__name { font-size:4rem; }.hero { padding-top:10px; }
  .section,.about,.exp,.learning-notes { padding:24px 0; }.wrap { padding:0 12px; }.case { display:block; break-inside:avoid; background:white !important; color:var(--ink) !important; --case-muted:#444; }
  .wg[hidden] { display:block !important; }.wg__body { display:block; }.case { margin-bottom:20px; }.deep__summary { color:var(--ink); }
}
