@font-face{font-family:Rock Salt;src:url('/fonts/rock-salt-latin.woff2') format('woff2');font-display:block;font-weight:400}
@font-face{font-family:Permanent Marker;src:url('/fonts/permanent-marker-latin.woff2') format('woff2');font-display:block;font-weight:400}
:root{color-scheme:light;--paper:#f7fafc;--ink:#141b20;--muted:#72808a;--line:rgba(129,157,176,.18);--accent:#419bbb;--sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;--display:var(--sans);--mono:"SFMono-Regular",Menlo,Consolas,monospace;--hand:"Rock Salt",cursive;--marker:"Permanent Marker",cursive;--ease:cubic-bezier(.22,.68,0,1.01);--spring:var(--ease)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;color:var(--ink);background:var(--paper);font-family:var(--sans);font-size:15px;line-height:1.8;-webkit-font-smoothing:antialiased}body::before{content:"";position:fixed;z-index:-2;inset:0;pointer-events:none;background:radial-gradient(ellipse at 40% 4%,#dceef8 0,transparent 52%),radial-gradient(ellipse at 88% 40%,#e9f4fb 0,transparent 60%),#f8fbfd}html.dialog-open{overflow:hidden}html.dialog-open,html.restoring-scroll{scroll-behavior:auto}body.dialog-open{position:fixed;width:100%;overflow:hidden}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:5px}img,video{max-width:100%;display:block}[hidden]{display:none!important}.wrap{width:min(1120px,calc(100% - 128px));margin-inline:auto}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;clip:rect(0,0,0,0);clip-path:inset(50%);overflow:hidden;white-space:nowrap;border:0}.skip-link{position:fixed;z-index:120;top:10px;left:10px;padding:10px 18px;border-radius:10px;background:var(--ink);color:white;transform:translateY(-200%)}.skip-link:focus{transform:none}
/* A small, translucent masthead leaves the page itself in focus. */
.site-header{position:fixed;z-index:60;top:0;left:0;right:0;height:62px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;background:rgba(255,255,255,.68);border-bottom:1px solid rgba(255,255,255,.8);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.wordmark{font-family:var(--marker);font-size:26px;letter-spacing:-1px;line-height:1;transform:rotate(-3deg)}.wordmark-dot{color:#69adc4}.header-right{display:flex;gap:27px;align-items:center}.header-note{font-size:12px;color:#82909b;letter-spacing:.08em}.dynamic-island{position:relative}.island-main{display:flex;gap:9px;align-items:center;border:1px solid rgba(255,255,255,.9);border-radius:24px;background:rgba(255,255,255,.7);box-shadow:0 3px 16px #789caf0c;padding:7px 13px;font-size:12px;color:#53606a;min-height:34px}.status-dot{width:6px;height:6px;border-radius:50%;background:#43bd98;box-shadow:0 0 9px #4ad4a887}.nav-compass{width:15px;height:15px;stroke:#8b969b;stroke-width:1.3}.island-menu{position:absolute;right:0;top:46px;min-width:208px;padding:10px;background:rgba(255,255,255,.94);border:1px solid #fff;border-radius:18px;box-shadow:0 18px 60px #49667b20;backdrop-filter:blur(20px);animation:menu-enter .22s var(--ease)}.island-menu a{display:flex;justify-content:space-between;gap:18px;padding:9px 13px;font-size:13px;border-radius:10px}.island-menu a:hover{background:#edf6fb}.island-menu a span{color:#9aabb5}.island-admin{margin-top:7px;border-top:1px solid var(--line);color:#7b8a94}@keyframes menu-enter{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
/* Soft light drifts behind the original particle sculpture. */
.intro{position:relative;isolation:isolate;display:grid;place-items:center;min-height:max(740px,100svh);padding:118px 0 96px;overflow:hidden}.intro::before,.intro::after{content:"";position:absolute;z-index:-1;top:-15%;left:15%;width:30%;height:110%;pointer-events:none;border-radius:0 0 48% 52%;filter:blur(40px);background:linear-gradient(180deg,#93c8e33b,#b0d9ed20 60%,transparent);transform:rotate(9deg);animation:light-drift 13s ease-in-out infinite alternate}.intro::after{left:auto;right:13%;width:25%;opacity:.75;animation-delay:-6s;animation-duration:17s;transform:rotate(-13deg)}@keyframes light-drift{0%{transform:translateX(-30px) rotate(10deg);opacity:.4}100%{transform:translateX(45px) rotate(-7deg);opacity:.95}}.intro-copy{position:relative;text-align:center;z-index:2}.greeting{margin:0 0 24px;color:#60737f;font-size:13px;letter-spacing:.2em}.hero-name{display:flex;flex-direction:column;gap:3px;margin:0 auto 29px;font-family:var(--hand);font-size:clamp(55px,6.9vw,94px);font-weight:400;line-height:1.55;letter-spacing:-.05em;color:#111;transform:rotate(-3deg);max-width:850px}.hero-name>span{display:block}.hero-name>span:nth-child(2){padding-left:28px}.hero-headline{margin:0 auto 7px;font-size:21px;line-height:1.7;letter-spacing:.13em;white-space:normal;font-weight:600}.eyebrow{margin:7px 0 0;color:#76919f;font-size:12px;letter-spacing:.15em}.intro-description{margin:25px auto 0;max-width:480px;font-size:12px;line-height:2;color:#788893;white-space:pre-line}.hero-dock{display:flex;gap:9px;align-items:center;justify-content:center;width:max-content;margin:34px auto 0;padding:9px 11px;border-radius:22px;border:1px solid #fff;background:#ffffff75;box-shadow:0 12px 30px #6c8da817,0 2px 4px #fff inset;backdrop-filter:blur(12px)}.hero-dock a{position:relative;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#ffffffa6;box-shadow:0 3px 8px #788e9e0c;transition:transform .3s var(--ease),box-shadow .3s}.hero-dock a:hover{transform:translateY(-5px);box-shadow:0 7px 15px #6c8da825}.hero-dock svg{width:20px;height:20px;stroke:#647986;stroke-width:1.4}.hero-dock a span{position:absolute;bottom:-34px;font-size:10px;white-space:nowrap;color:#526874;opacity:0;transition:opacity .2s}.hero-dock a:hover span,.hero-dock a:focus-visible span{opacity:1}.scroll-note{position:absolute;bottom:28px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:14px;font-family:var(--mono);font-size:8px;color:#9babb4;letter-spacing:.18em}.scroll-note i{height:30px;width:1px;background:linear-gradient(#6c9fb5,transparent);transform-origin:top;animation:scroll-breathe 2.5s ease-in-out infinite}@keyframes scroll-breathe{50%{transform:scaleY(.6);opacity:.45}}
h1{font-size:clamp(34px,4.6vw,62px);line-height:1.35;font-weight:650;letter-spacing:-.05em}h2{margin:0;font-size:clamp(32px,4vw,49px);line-height:1.35;letter-spacing:-.04em;font-weight:650}h3{margin:0;font-size:25px;font-weight:600;line-height:1.45;letter-spacing:-.03em}.module{padding:112px 0 32px;scroll-margin-top:78px}.section-top{text-align:left;margin-bottom:38px}.section-title{display:flex;flex-direction:column;align-items:flex-start}.section-index{color:#7d949f;font-family:var(--mono);font-size:10px;letter-spacing:.18em;margin-bottom:19px}.section-subtitle{margin:19px 0 0;color:#83919a;font-size:14px;line-height:1.9;max-width:610px}.filter-row{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 30px}.filter-button{border:1px solid transparent;border-radius:20px;color:#8b9ba5;background:transparent;padding:6px 15px;font-size:12px;transition:background .25s,color .25s,box-shadow .25s}.filter-button:hover{color:#284c5f;background:#ffffff90}.filter-button[aria-pressed="true"]{color:#30566a;background:#fff;border-color:#fff;box-shadow:0 5px 15px #6a9ab212}
/* The selected project unfolds between two smaller previews. */
.project-carousel{position:relative}.carousel-stage{display:grid;grid-template-columns:100px minmax(0,1fr) 100px;gap:22px;align-items:center;min-height:460px;touch-action:pan-y}.carousel-preview{height:310px;min-width:0;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:17px;padding:14px;border:1px solid #fff;border-radius:28px;background:#ffffffad;box-shadow:0 14px 40px #85a1b00b;transition:transform .45s var(--ease),background .3s;opacity:.8}.carousel-preview:hover{transform:translateY(-7px);background:white;opacity:1}.carousel-preview-image{width:100%;height:135px;object-fit:cover;border-radius:15px}.carousel-preview-title{font-size:12px;line-height:1.9;text-align:center;max-width:100%;overflow-wrap:anywhere}.carousel-slide{min-width:0}.carousel-card{display:grid;grid-template-columns:1fr 1fr;min-height:460px;padding:16px;border:1px solid #fff;background:rgba(255,255,255,.84);border-radius:34px;box-shadow:0 20px 65px #79a4bc10;overflow:hidden;transition:box-shadow .4s,transform .4s}.carousel-card:hover{box-shadow:0 24px 65px #79a4bc26;transform:translateY(-3px)}.carousel-copy{grid-column:1;grid-row:1;display:flex;flex-direction:column;padding:20px 22px 20px 14px;min-width:0}.carousel-image{grid-column:2;grid-row:1;border-radius:24px;overflow:hidden;min-width:0;background:#eaf1f5;position:relative}.carousel-image img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform .7s var(--ease)}.carousel-card:hover .carousel-image img{transform:scale(1.015)}.carousel-meta{display:flex;flex-wrap:wrap;gap:7px;color:#86a0ad;font-size:10px;line-height:1.8;margin-bottom:14px;letter-spacing:.03em}.carousel-meta span:first-child{color:#4c97b4;background:#edf8fc;border:1px solid #d6eaf3;border-radius:5px;padding:1px 6px}.carousel-meta span:last-child{padding:2px 0}.carousel-title{font-size:clamp(23px,2.8vw,35px);letter-spacing:-.045em;line-height:1.45;overflow-wrap:anywhere}.carousel-summary{margin:20px 0 25px;color:#7a8a94;font-size:13px;line-height:2}.carousel-cta{display:flex;align-items:center;gap:16px;width:max-content;max-width:100%;margin-top:auto;color:#5c7685;font-size:12px;padding-bottom:4px;border-bottom:1px solid #aec9d6}.carousel-card:hover .carousel-cta{color:#277c9d;border-color:#61a4bf}.carousel-slide.is-changing{animation:slide-in .48s var(--ease)}@keyframes slide-in{from{opacity:.4;transform:translateY(10px) scale(.975)}to{opacity:1;transform:none}}.carousel-controls{display:flex;align-items:center;justify-content:center;gap:15px;flex-wrap:wrap;margin-top:28px;min-height:38px}.carousel-arrow,.carousel-autoplay{border:1px solid transparent;background:transparent;border-radius:50%;height:34px;width:34px;padding:0;color:#8196a3;font-size:16px;display:grid;place-items:center;transition:background .2s,color .2s}.carousel-arrow:hover,.carousel-autoplay:hover{background:white;color:#2b647f}.carousel-autoplay{font-size:11px}.carousel-pagination{display:flex;gap:7px;align-items:center}.carousel-dot{padding:0;border:0;width:6px;height:6px;border-radius:6px;background:#dbe7ee;transition:width .5s var(--ease),background .3s}.carousel-dot[aria-current="true"]{width:32px;background:#8bb9cd}.carousel-counter{font-family:var(--mono);font-size:9px;color:#99aab4;letter-spacing:.07em}
/* Image cases keep a calm, easy-to-scan grid on the collection page. */
.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.project-card{min-width:0}.project-link{display:block;padding:13px;border-radius:28px;background:#ffffffc2;border:1px solid #fff;box-shadow:0 12px 40px #7394a810;overflow:hidden;transition:transform .4s var(--ease),box-shadow .4s}.project-link:hover{transform:translateY(-7px);box-shadow:0 20px 45px #7394a829}.folder-sheet{display:none}.project-picture{height:auto;aspect-ratio:1.45;overflow:hidden;border-radius:20px;background:#e8f0f5}.project-picture img{height:100%;width:100%;object-fit:cover;transition:transform .65s var(--ease)}.project-link:hover .project-picture img{transform:scale(1.015)}.folder-front{padding:23px 16px 14px}.project-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.project-heading h3{font-size:22px}.project-arrow{font-size:20px;color:#84a8ba;transition:transform .3s}.project-link:hover .project-arrow{transform:translate(3px,-3px)}.project-summary{margin:12px 0 23px;color:#7e909b;font-size:12px;line-height:1.9}.project-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;color:#95a6b0;font-size:10px}.project-meta span:first-child{padding:1px 7px;border:1px solid #dfedf4;border-radius:5px;color:#779faf;background:#f2f9fc}.cover-placeholder{height:100%;width:100%;display:flex;flex-direction:column;justify-content:space-between;padding:25px;color:#557687;background:radial-gradient(ellipse at 30% 20%,#e4f3f7,transparent 65%),linear-gradient(145deg,#f4f6f5,#e1eaf1);min-height:240px}.placeholder-note{font-family:var(--mono);font-size:9px;letter-spacing:.09em}.placeholder-title{font-size:27px;font-weight:500;line-height:1.5;max-width:95%}.placeholder-bottom{font-size:9px;color:#8da6b3}.empty-state{grid-column:1/-1;color:#8ba0ad;text-align:center;padding:80px 20px;font-size:13px}
.collection-header{padding-top:121px;padding-bottom:49px}.collection-back{font-size:11px;color:#879ca8;display:inline-flex;gap:9px;align-items:center;margin-bottom:34px}.collection-back:hover{color:#2a6f8e}.collection-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px}.collection-kicker{font-family:var(--mono);font-size:9px;color:#8aa4b2;letter-spacing:.14em;margin:0 0 18px}.collection-script{font-family:var(--marker);font-size:clamp(30px,4vw,51px);color:#5085a0;line-height:1.5;transform:rotate(-2deg);margin:0 0 16px}.collection-header h1{margin:0;font-size:clamp(32px,4vw,49px);line-height:1.45}.collection-description{color:#8397a3;font-size:13px;line-height:1.9;margin:18px 0 0;max-width:660px}.collection-count{font-family:var(--mono);color:#94aab6;font-size:10px;white-space:nowrap;padding-bottom:4px}.collection-page #site-content>.module:first-child{padding-top:0}.collection-empty{min-height:250px}
/* Personal notes and experience, using the existing editable modules. */
.plain-text{white-space:pre-line}.prose{font-size:14px;color:#728792;line-height:2.2}.prose p{margin:0 0 20px}.prose p:last-child{margin-bottom:0}.text-item+.text-item{margin-top:30px}.text-item h3{font-size:21px;margin-bottom:12px}.about-panel{display:grid;grid-template-columns:200px 1fr;gap:65px;padding:52px;border-radius:32px;background:#ffffff70;border:1px solid #fff;box-shadow:0 15px 65px #799bad09}.about-mark{width:175px;height:175px;display:grid;place-items:center;font-family:"Kaiti SC","STKaiti","Songti SC",serif;font-size:106px;color:#80a9ba;border-radius:50%;background:radial-gradient(circle at 32% 25%,#fff,#e5f1f5);box-shadow:0 16px 30px #84a3b312,0 0 0 12px #fff7;transform:rotate(-8deg);align-self:center}.about-lead{font-size:25px;margin:0 0 22px;letter-spacing:-.03em;font-weight:550}.about-note{margin:25px 0 0;font-size:10px;letter-spacing:.09em;color:#8eacba}.text-link{display:inline-flex;gap:18px;font-size:12px;padding:8px 16px;border:1px solid white;border-radius:24px;background:#ffffffb3;color:#587f92;box-shadow:0 4px 15px #6993ac13;transition:transform .2s,box-shadow .2s}.text-link:hover{transform:translateY(-3px);box-shadow:0 8px 20px #6993ac20}.experience-list{margin:0;max-width:980px}.experience-row{position:relative;display:grid;grid-template-columns:170px 1fr;gap:65px;padding:0 0 49px}.experience-row::before{content:"";position:absolute;left:201px;top:10px;bottom:0;width:1px;background:linear-gradient(#b5d9e9,#d8e8f0)}.experience-row:last-child::before{background:linear-gradient(#b5d9e9,transparent)}.experience-row::after{content:"";position:absolute;left:195px;top:8px;width:13px;height:13px;border-radius:50%;background:#77b4cd;box-shadow:0 0 0 5px #ddeff7,0 0 0 6px #c5e1ee7d}.experience-year{font-size:12px;color:#90a4af;padding-top:4px}.experience-row h3{font-size:25px}.experience-role{font-size:13px;color:#6e93a6;margin:9px 0 13px}.experience-row .prose{font-size:13px}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.gallery-item{margin:0}.gallery-item img,.gallery-item video{width:100%;aspect-ratio:1.25;object-fit:cover;border:6px solid white;border-radius:22px;background:#edf5f9;box-shadow:0 8px 22px #88a1b019}.gallery-item figcaption{font-size:11px;color:#839eac;text-align:center;margin-top:12px}.gallery-image-button{display:block;border:0;padding:0;width:100%;background:transparent;border-radius:22px;transition:transform .35s}.gallery-image-button:hover{transform:translateY(-5px)}.contact-module{padding-bottom:90px}.contact-module .section-top{max-width:700px}.contact-module h2{font-size:clamp(32px,4.8vw,60px)}.contact-layout{margin-top:25px;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:30px 0}.contact-copy{font-size:17px;line-height:1.9;color:#7c94a2;white-space:pre-line;margin:0}.contact-note{font-size:12px;color:#94a8b3}.contact-additional{margin-top:25px}.site-footer{border-top:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:24px;padding:55px 0 28px;margin-top:50px}.footer-identity{display:flex;align-items:baseline;gap:15px;flex-wrap:wrap}.footer-wordmark{font-family:var(--marker);font-size:40px;letter-spacing:-.03em;transform:rotate(-3deg)}#footer-name{font-size:11px;color:#829ba8}.footer-identity p{width:100%;font-size:12px;color:#8ba1ad;margin:0}.footer-links{display:flex;flex-direction:column;gap:10px;align-items:flex-start;font-size:12px;color:#6c8899;padding-top:10px}.footer-links a:hover{color:#2a7495}.footer-note{grid-column:1/-1;border-top:1px solid var(--line);margin:15px 0 0;padding-top:22px;font-size:10px;color:#a0b1ba;letter-spacing:.06em}
.preview-banner{position:relative;z-index:70;display:flex;gap:25px;justify-content:center;align-items:center;background:#dceef7;color:#3f6c83;min-height:35px;font-size:11px}.preview-banner a{text-decoration:underline}body:has(.preview-banner:not([hidden])) .site-header{top:35px}.error-view{text-align:center;color:#8a9da7;padding:70px 15px;min-height:200px}.retry-button{padding:8px 20px;border:1px solid #cee4ef;border-radius:22px;background:#fff;color:#567f94;margin-top:15px}
/* The detail window retains the tested Safari scroll lock and native media controls. */
.project-dialog{width:min(980px,calc(100% - 64px));max-height:calc(100dvh - 64px);padding:0;border:1px solid #fff;border-radius:28px;background:#fafdff;color:var(--ink);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 30px 120px #143b5340;animation:window-open .3s var(--ease)}.project-dialog::backdrop{background:#24455440;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.project-dialog.is-maximized{width:calc(100% - 24px);max-height:calc(100dvh - 24px);height:calc(100dvh - 24px)}@keyframes window-open{from{opacity:0;transform:translateY(20px) scale(.975)}to{opacity:1;transform:none}}.dialog-bar{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:18px;height:56px;padding:0 21px;background:#fafdfff2;border-bottom:1px solid #dfedf4;backdrop-filter:blur(12px);color:#8098a5;font-size:11px}.window-controls{display:flex;gap:8px;align-items:center}.window-control{width:27px;height:27px;display:grid;place-items:center;border:1px solid #dfeaf0;border-radius:50%;padding:0;background:#fff;color:#7394a7;font-size:18px}.window-control.control-green{font-size:15px}.window-control:hover{background:#eaf4f9;color:#325f78}.return-button{border:0;background:none;color:#8aa0ad;font-size:11px;padding:3px 0}.return-button:hover{color:#325f78}.project-detail{max-width:1050px;margin:auto;padding:36px 44px 46px}.detail-meta{color:#8aa4b3;font-size:10px;letter-spacing:.06em;margin:0 0 14px}.detail-title{font-size:clamp(27px,3.5vw,40px);line-height:1.45;margin:0 0 16px}.detail-summary{font-size:13px;line-height:1.9;color:#7a929f;margin:0 0 24px;max-width:750px}.detail-link{display:inline-flex;padding:7px 15px;border-radius:20px;border:1px solid #d4e7f0;background:#eaf4f9;color:#557f93;font-size:11px;margin-bottom:24px}.detail-cover{width:100%;max-height:560px;object-fit:contain;background:#eff5f8;border-radius:18px;margin:0 0 28px}.detail-text{display:grid;grid-template-columns:160px 1fr;gap:30px;padding-top:26px;margin-bottom:28px;border-top:1px solid var(--line)}.detail-role{color:#7d97a6;font-size:11px;white-space:pre-line}.detail-role strong{display:block;font-size:11px;margin-bottom:10px;font-weight:500;color:#57768a}.detail-text .prose{font-size:13px}.detail-media{margin:26px 0 0}.detail-media-primary{margin:0 0 28px}.detail-media img,.detail-media video{width:100%;max-height:620px;object-fit:contain;border-radius:18px;background:#eaf2f7}.detail-media figcaption{text-align:center;color:#8aa1ae;font-size:10px;margin-top:11px}.detail-status{font-size:11px;color:#8ca6b3;margin-top:26px}.lightbox-image{width:100%;max-height:70dvh;object-fit:contain}.reveal-pending{opacity:0;transform:translateY(22px)}.reveal-visible{opacity:1;transform:none;transition:opacity .65s ease,transform .7s var(--ease)}
@media(min-width:1500px){.wrap{width:min(1200px,calc(100% - 180px))}.carousel-stage{grid-template-columns:110px minmax(0,1fr) 110px}.carousel-card{min-height:510px}.carousel-title{font-size:37px}.hero-name{font-size:100px}}
@media(max-width:1000px){.wrap{width:calc(100% - 90px)}.carousel-stage{grid-template-columns:62px minmax(0,1fr) 62px;gap:14px}.carousel-preview{height:265px;padding:9px;border-radius:22px}.carousel-preview-title{font-size:10px}.carousel-preview-image{height:105px;border-radius:12px}.carousel-card{min-height:410px;padding:12px;border-radius:26px}.carousel-copy{padding:15px 17px 15px 6px}.carousel-title{font-size:25px}.carousel-image{border-radius:18px}.carousel-summary{font-size:12px}.about-panel{grid-template-columns:130px 1fr;gap:35px;padding:35px}.about-mark{width:125px;height:125px;font-size:78px}.project-heading h3{font-size:21px}.project-grid{gap:22px}.experience-row{grid-template-columns:140px 1fr;gap:50px}.experience-row::before{left:164px}.experience-row::after{left:158px}.module{padding-top:90px}}
@media(max-width:680px){.wrap{width:calc(100% - 40px)}.site-header{height:57px;padding:0 20px}.wordmark{font-size:23px}.header-note{display:none}.island-main{font-size:10px;gap:7px;padding:6px 10px;min-height:32px}.nav-compass{width:14px;height:14px}.island-menu{right:0;min-width:190px}.intro{min-height:max(715px,100svh);padding:112px 0 100px}.intro::before{left:0;width:55%;filter:blur(30px)}.intro::after{right:-15%;width:60%;filter:blur(32px)}.greeting{font-size:11px;letter-spacing:.15em;margin-bottom:27px}.hero-name{font-size:clamp(40px,11.9vw,68px);line-height:1.7;letter-spacing:-.06em;margin-bottom:31px}.hero-name>span:nth-child(2){padding-left:0}.hero-headline{font-size:17px;letter-spacing:.06em;max-width:320px}.eyebrow{font-size:10px;letter-spacing:.12em}.intro-description{max-width:295px;font-size:11px;line-height:2;margin-top:22px}.hero-dock{margin-top:29px;padding:8px 10px;gap:9px}.hero-dock a{width:37px;height:37px}.hero-dock svg{width:19px;height:19px}.scroll-note{bottom:24px;font-size:7px;gap:10px}.scroll-note i{height:23px}.module{padding:76px 0 14px;scroll-margin-top:75px}.section-top{margin-bottom:29px}.section-index{font-size:9px;letter-spacing:.14em;margin-bottom:15px}h2{font-size:32px}.section-subtitle{font-size:12px;margin-top:15px;line-height:1.9}.filter-row{gap:3px;margin:0 0 25px}.filter-button{font-size:10px;padding:5px 10px}.carousel-stage{grid-template-columns:24px minmax(0,1fr) 24px;gap:7px;min-height:460px;margin-inline:-12px}.carousel-preview{height:275px;border-radius:15px;padding:0;gap:0;opacity:.75}.carousel-preview-image{height:100%;width:100%;border-radius:14px;object-fit:cover;opacity:.68}.carousel-preview-title{display:none}.carousel-card{grid-template-columns:1fr;grid-template-rows:220px auto;min-height:460px;padding:10px;border-radius:23px}.carousel-image{grid-column:1;grid-row:1;border-radius:16px;height:220px}.carousel-copy{grid-column:1;grid-row:2;padding:20px 13px 13px}.carousel-meta{font-size:9px;gap:7px;margin-bottom:11px}.carousel-title{font-size:24px;line-height:1.5}.carousel-summary{font-size:11px;line-height:1.95;margin:12px 0 20px}.carousel-cta{font-size:11px}.carousel-controls{gap:8px;margin-top:22px}.carousel-arrow,.carousel-autoplay{width:29px;height:29px}.carousel-pagination{gap:6px}.carousel-dot{width:5px;height:5px}.carousel-dot[aria-current="true"]{width:23px}.carousel-counter{font-size:8px}.project-grid{grid-template-columns:1fr;gap:24px}.project-link{padding:10px;border-radius:25px}.project-picture{border-radius:18px;aspect-ratio:1.2}.folder-front{padding:22px 13px 12px}.project-heading h3{font-size:23px}.project-summary{font-size:12px;margin-bottom:23px}.project-meta{font-size:9px}.cover-placeholder{min-height:220px;padding:21px}.placeholder-title{font-size:25px}.collection-header{padding-top:99px;padding-bottom:34px}.collection-back{font-size:10px;margin-bottom:29px}.collection-heading{display:block}.collection-kicker{font-size:8px;letter-spacing:.12em;margin-bottom:16px}.collection-script{font-size:35px;margin-bottom:15px}.collection-header h1{font-size:31px;letter-spacing:-.045em}.collection-description{font-size:12px;line-height:1.9;margin-top:15px}.collection-count{display:block;margin-top:17px;font-size:9px}.about-panel{grid-template-columns:1fr;gap:32px;padding:34px 26px;border-radius:26px}.about-mark{width:100px;height:100px;font-size:66px;margin:5px auto 4px;box-shadow:0 12px 25px #84a3b316,0 0 0 9px #fff7}.about-lead{font-size:21px;margin-bottom:17px}.prose{font-size:12px;line-height:2.25}.about-note{font-size:9px;line-height:1.8;margin-top:24px}.experience-row{grid-template-columns:1fr;gap:12px;padding:0 0 38px 27px}.experience-row::before{left:5px;top:9px}.experience-row::after{left:0;top:8px;width:11px;height:11px;box-shadow:0 0 0 4px #e0eff6}.experience-year{font-size:10px;padding-top:0}.experience-row h3{font-size:23px}.experience-role,.experience-row .prose{font-size:12px}.experience-role{margin-top:7px}.gallery-grid{grid-template-columns:1fr 1fr;gap:22px 15px}.gallery-item img,.gallery-item video{border-radius:16px;border-width:4px}.gallery-item figcaption{font-size:9px}.contact-module{padding-bottom:50px}.contact-module h2{font-size:34px}.contact-layout{display:block;padding:3px 0}.contact-copy{font-size:15px;margin-bottom:28px}.contact-note{font-size:11px}.site-footer{grid-template-columns:1fr;gap:20px;padding:37px 0 25px;margin-top:50px}.footer-wordmark{font-size:36px}.footer-identity{gap:15px}.footer-identity p{font-size:11px}.footer-links{flex-direction:row;flex-wrap:wrap;gap:10px 21px;font-size:10px;padding-top:5px}.footer-note{font-size:9px;line-height:1.9;margin-top:5px;padding-top:21px}.preview-banner{font-size:9px;min-height:32px;gap:20px}body:has(.preview-banner:not([hidden])) .site-header{top:32px}.project-dialog{width:calc(100% - 18px);max-height:calc(100dvh - 24px);border-radius:20px}.dialog-bar{height:51px;padding:0 14px;gap:8px;font-size:9px}.window-controls{gap:7px}.window-control{height:26px;width:26px}.return-button{font-size:10px}.project-detail{padding:28px 22px 34px}.detail-meta{font-size:9px;line-height:1.8}.detail-title{font-size:27px}.detail-summary{font-size:12px}.detail-text{grid-template-columns:1fr;gap:22px;padding-top:23px}.detail-role{font-size:10px;display:flex;gap:20px}.detail-role strong{font-size:10px;white-space:nowrap}.detail-text .prose{font-size:12px}.detail-media img,.detail-media video{border-radius:14px;max-height:70dvh}.detail-cover{border-radius:14px}.detail-media figcaption{font-size:9px}.detail-link{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.reveal-pending{opacity:1;transform:none}.project-link:hover,.carousel-card:hover,.hero-dock a:hover{transform:none}.carousel-card:hover .carousel-image img,.project-link:hover .project-picture img{transform:none}}
/* Media nodes are direct grid children so native image sizing cannot expand a slide. */
.carousel-card>img.carousel-image{width:100%;height:428px;object-fit:cover}
.carousel-preview>.cover-placeholder{min-height:0;height:135px;padding:8px;border-radius:14px;overflow:hidden}
.carousel-preview .placeholder-title{font-size:12px}.carousel-preview .placeholder-note,.carousel-preview .placeholder-bottom{display:none}
@media(min-width:1500px){.carousel-card>img.carousel-image{height:478px}}
@media(max-width:1000px){.carousel-card>img.carousel-image{height:386px}.carousel-preview>.cover-placeholder{height:105px}}
@media(max-width:680px){.carousel-card>img.carousel-image{height:220px}.carousel-preview>.cover-placeholder{height:100%;width:100%;padding:0}.carousel-preview .placeholder-title{display:none}}
.carousel-autoplay{width:auto;min-width:42px;border-radius:16px;padding-inline:7px;white-space:nowrap;font-size:10px}
@media(max-width:680px){.carousel-autoplay{font-size:9px;min-width:37px;padding-inline:4px}}
.module{scroll-margin-top:-70px}
@media(max-width:680px){.module{scroll-margin-top:-35px}}
.carousel-preview>.cover-placeholder{display:none}
.carousel-slide{grid-column:2;grid-row:1}.carousel-preview.is-previous{grid-column:1;grid-row:1}.carousel-preview.is-next{grid-column:3;grid-row:1}
.carousel-stage:has(.carousel-preview[hidden]){grid-template-columns:minmax(0,1fr);max-width:876px;margin-inline:auto}.carousel-stage:has(.carousel-preview[hidden]) .carousel-slide{grid-column:1}

.collection-page .module{scroll-margin-top:0}

/* Keep the original side-preview layout; only pagination remains below. */
.carousel-controls{margin-top:20px;min-height:28px;gap:0}
.carousel-pagination{gap:0}
.carousel-dot{position:relative;width:24px;height:32px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;transition:width .25s ease}
.carousel-dot::after{content:"";position:absolute;left:50%;top:50%;width:6px;height:6px;border-radius:10px;background:#d5e5ed;transform:translate(-50%,-50%);transition:width .25s ease,background .25s ease}
.carousel-dot[aria-current="true"]{width:44px;background:transparent}
.carousel-dot[aria-current="true"]::after{width:30px;background:#87b5c8}
.carousel-dot:hover{background:transparent}.carousel-dot:hover::after{background:#87b5c8}
.carousel-controls[hidden],.carousel-preview[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.carousel-dot,.carousel-dot::after{transition:none}}

.about-experience{padding-top:64px;margin-top:50px;border-top:1px solid var(--line);scroll-margin-top:100px}
.experience-heading{font-size:25px;margin:0 0 36px;font-weight:600}
@media(max-width:680px){.about-experience{padding-top:34px;margin-top:34px}.experience-heading{font-size:22px;margin-bottom:28px}}
/* The authenticated editor uses this same page renderer. */
body.visual-editing #preview-banner,body.visual-editing #page-rail{display:none}
body.visual-editing .site-header{top:0!important;pointer-events:none}
body.visual-editing .motion-reveal,body.visual-editing .reveal-pending{opacity:1!important;transform:none!important}
body.visual-editing [data-editor-module],body.visual-editing #home{position:relative;cursor:pointer}
body.visual-editing .editor-selected{outline:2px solid #79aabc;outline-offset:-2px}
body.visual-editing [data-editor-key]:hover{outline:1px dashed #79aabc;outline-offset:5px}
body.visual-editing [contenteditable=true]{outline:2px solid #79aabc;outline-offset:5px;cursor:text;white-space:pre-wrap;min-height:1em}
body.visual-editing .editor-block-label{display:inline-block;position:absolute;top:0;left:0;z-index:5;font:12px/1.5 -apple-system,sans-serif;color:#365a6b;background:#e2f0f7;border:1px solid #bdd6e2;border-radius:0 0 7px 0;padding:5px 9px}
body.visual-editing .editor-block-label:empty{display:none}
body.visual-editing .module{scroll-margin-top:70px}
body.visual-editing .about-experience{scroll-margin-top:70px}

/* Hover previews share one media surface, preserving the existing card layout. */
.carousel-card>.carousel-image{height:428px;min-width:0;overflow:hidden}
.carousel-image>img,.carousel-preview-image>img{width:100%;height:100%;object-fit:cover;display:block}
.carousel-preview-image{position:relative;overflow:hidden;flex-shrink:0}
.carousel-preview-image>.cover-placeholder{min-height:0;height:100%;padding:12px}
.media-preview{position:relative;isolation:isolate;overflow:hidden}
.media-preview>.preview-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;opacity:0;transition:opacity .6s ease;transform:none}
.media-preview>.preview-cover{display:block;width:100%;height:100%;object-fit:cover}
.media-preview>.preview-photo.is-visible,.media-preview.has-preview-frame>.preview-video{opacity:1}
.project-link:hover .media-preview>img{transform:none}
.media-preview.is-previewing>.preview-cover,.media-preview.is-previewing>.preview-photo.is-visible{animation:preview-drift 6s ease-in-out alternate infinite}
.media-preview>.preview-video{background:#e8f0f5}
@keyframes preview-drift{from{transform:scale(1)}to{transform:scale(1.015)}}
@media(min-width:1500px){.carousel-card>.carousel-image{height:478px}}
@media(max-width:1000px){.carousel-card>.carousel-image{height:386px}}
@media(max-width:680px){.carousel-card>.carousel-image{height:220px}.carousel-preview-image>.cover-placeholder{padding:0}}
@media(prefers-reduced-motion:reduce){.media-preview.is-previewing>img{animation:none;transform:none}}

/* Give the work itself more space while retaining the existing copy and side previews. */
@media(min-width:681px){
  .carousel-card{grid-template-columns:minmax(190px,.38fr) minmax(0,.62fr);padding:12px}
  .carousel-copy{padding:20px 22px 20px 14px}
}
@media(min-width:681px) and (max-width:1000px){
  .carousel-card{grid-template-columns:minmax(190px,.4fr) minmax(0,.6fr);padding:10px}
  .carousel-copy{padding:15px 16px 15px 6px}
}
@media(max-width:680px){
  .carousel-card{grid-template-rows:clamp(260px,74vw,360px) auto}
  .carousel-card>.carousel-image{height:clamp(260px,74vw,360px)}
}

/* A continuous row: the selected project expands and owns media playback. */
.expanding-carousel .carousel-stage{display:block;overflow:hidden;min-height:0;margin:0;padding:18px 0;touch-action:pan-y}
.expanding-carousel .carousel-track{display:flex;align-items:center;gap:18px;width:100%;transition:transform .65s cubic-bezier(.22,.7,.2,1)}
.expanding-carousel .carousel-card{position:relative;display:block;flex:0 0 32%;height:430px;min-height:0;padding:0;border-radius:27px;transform:none;opacity:.76;transition:flex-basis .65s cubic-bezier(.22,.7,.2,1),height .65s cubic-bezier(.22,.7,.2,1),opacity .4s;box-shadow:none;background:#eef5f8;isolation:isolate}
.expanding-carousel .carousel-card.is-active{flex-basis:60%;height:540px;opacity:1}
.expanding-carousel .carousel-card>.carousel-image{position:absolute;inset:0 0 auto;height:76%;width:100%;border-radius:0;background:#eaf1f5}
.expanding-carousel .carousel-image>img,.expanding-carousel .carousel-image>video{object-fit:contain}
.expanding-carousel .carousel-copy{position:absolute;inset:auto 0 0;display:flex;padding:48px 26px 26px;background:linear-gradient(0deg,#fbfdff 70%,#fbfdfff5 83%,#fbfdff00);z-index:2}
.expanding-carousel .carousel-title{font-size:22px;line-height:1.4;letter-spacing:-.025em}
.expanding-carousel .is-active .carousel-title{font-size:29px}
.expanding-carousel .carousel-meta{font-size:10px;margin-bottom:10px}
.expanding-carousel .carousel-status,.expanding-carousel .carousel-summary,.expanding-carousel .carousel-cta{display:none}
.expanding-carousel .is-active .carousel-status{display:inline}
.expanding-carousel .is-active .carousel-summary{display:block;font-size:12px;line-height:1.9;margin:12px 0 15px;max-width:520px}
.expanding-carousel .is-active .carousel-cta{display:flex;margin-top:0}
.expanding-carousel .carousel-card:hover{transform:none}
.expanding-carousel.is-single .carousel-card{flex-basis:100%;max-width:760px;margin:auto}
@media(max-width:1000px){
 .expanding-carousel .carousel-card{height:370px;border-radius:23px}
 .expanding-carousel .carousel-card.is-active{height:490px}
 .expanding-carousel .carousel-copy{padding:42px 20px 22px}
 .expanding-carousel .carousel-title{font-size:18px}
 .expanding-carousel .is-active .carousel-title{font-size:25px}
}
@media(max-width:680px){
 .expanding-carousel .carousel-stage{margin-inline:-10px}
 .expanding-carousel .carousel-card{height:375px;border-radius:20px}
 .expanding-carousel .carousel-card.is-active{height:510px}
 .expanding-carousel .carousel-copy{padding:38px 14px 20px}
 .expanding-carousel .carousel-title{font-size:15px}
 .expanding-carousel .is-active .carousel-title{font-size:22px}
 .expanding-carousel .is-active .carousel-summary{font-size:11px;line-height:1.85}
 .expanding-carousel .carousel-meta{font-size:9px}
 .expanding-carousel .carousel-card:not(.is-active) .carousel-meta{display:none}
}

/* Geometric toolbar icons avoid font-baseline drift. */
.dialog-bar{display:grid;grid-template-columns:1fr auto 1fr;min-height:62px;height:62px}
.window-controls{justify-self:start}
.dialog-filename{justify-self:center;text-align:center}
.return-button{justify-self:end;white-space:nowrap}
.window-control{width:36px;height:36px;line-height:1;flex:none}
.window-control svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.window-control .icon-restore{display:none}
.window-control[aria-pressed="true"] .icon-expand{display:none}
.window-control[aria-pressed="true"] .icon-restore{display:block}
.project-dialog.is-maximized{position:fixed;inset:0;margin:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;border:0;border-radius:0}
.project-dialog.is-maximized .project-detail{max-width:1200px;margin-inline:auto}
@media(max-width:680px){.dialog-bar{padding-inline:12px;gap:8px;min-height:58px;height:58px}.window-controls{gap:6px}.window-control{width:34px;height:34px}}

/* One consistent, tighter rhythm between the homepage modules. */
#site-content > .module:not(:last-child){padding-bottom:16px}
#site-content > .module + .module{padding-top:56px}
@media(max-width:1000px){#site-content > .module + .module{padding-top:45px}}
@media(max-width:680px){
 #site-content > .module:not(:last-child){padding-bottom:7px}
 #site-content > .module + .module{padding-top:38px}
}

/* Category colours are shared by carousel and collection cards. */
.category-tag{--tag-ink:#426e8b;--tag-fill:#edf5fb;--tag-line:#d1e3f0}
.category-tag[data-tone="amber"]{--tag-ink:#936324;--tag-fill:#fff5e4;--tag-line:#efdab5}
.category-tag[data-tone="violet"]{--tag-ink:#765699;--tag-fill:#f4edfc;--tag-line:#dfcfef}
.category-tag[data-tone="teal"]{--tag-ink:#337d70;--tag-fill:#eaf7f2;--tag-line:#c7e5db}
.category-tag[data-tone="rose"]{--tag-ink:#a35d77;--tag-fill:#fceff3;--tag-line:#efd1dd}
.carousel-meta span.category-tag,.project-meta span.category-tag{color:var(--tag-ink);background:var(--tag-fill);border:1px solid var(--tag-line);border-radius:5px;padding:1px 6px}
@keyframes web-preview-drift{from{transform:scale(.99)}to{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.expanding-carousel .web-preview-card .carousel-image > img{animation:none}}

/* Let the hero end after its content instead of filling a viewport with empty space. */
.intro{min-height:0;padding-bottom:16px}
#site-content > .module:first-child{padding-top:56px}
@media(max-width:1000px){#site-content > .module:first-child{padding-top:45px}}
@media(max-width:680px){
 .intro{padding-bottom:7px}
 #site-content > .module:first-child{padding-top:38px}
}

/* The camera app runs inside the project window, loaded only while it is open. */
.embedded-app{display:block;width:100%;height:calc(100dvh - 420px);min-height:380px;max-height:720px;border:1px solid #dce7ee;border-radius:20px;background:#21113d;margin:20px 0 0}
.embedded-app-note{font-size:12px;line-height:1.8;color:#728792;margin:12px 0 0}
.project-dialog.is-embedded .project-detail{padding:26px 32px 40px}
.project-dialog.is-embedded .detail-title{font-size:28px;margin-top:14px}
.project-dialog.is-embedded .detail-summary{margin:14px 0}
@media(max-width:680px){
 .project-dialog.is-embedded .project-detail{padding:22px 16px 30px}
 .project-dialog.is-embedded .detail-title{font-size:23px}
 .embedded-app{height:65dvh;min-height:380px;border-radius:14px}
 .embedded-app-note{font-size:11px}
}

/* One framing setting follows the cover, slideshow frames and video preview. */
.project-picture.media-preview > img,.project-picture.media-preview > video{object-fit:var(--preview-fit,contain);object-position:var(--preview-position,50% 50%)}
/* Homepage covers share the same full-bleed image and gradient layout. */
.expanding-carousel .carousel-image.media-preview > img,.expanding-carousel .carousel-image.media-preview > video{object-fit:cover;object-position:var(--preview-position,50% 50%)}
.project-picture.media-preview[data-cover-fit="contain"].is-previewing > .preview-cover,
.project-picture.media-preview[data-cover-fit="contain"].is-previewing > .preview-photo.is-visible{animation:web-preview-drift 6s ease-in-out alternate infinite}
body.visual-editing [data-framing-bound]{cursor:grab;touch-action:none;user-select:none;outline-offset:3px}
body.visual-editing [data-framing-bound]:active{cursor:grabbing}
body.visual-editing [data-framing-bound]:focus-visible{outline:2px solid #609fbc}
body.visual-editing .project-link:hover{transform:none}
body.visual-editing [data-framing-bound] > img{animation:none!important;transform:none!important;pointer-events:none}

/* Keep the complete introduction on its own screen. */
.detail-text.detail-text-full{grid-template-columns:1fr;border-top:0}
.detail-section-divider{border:0;border-top:1px solid var(--line);margin:32px 0}
.home-page .intro{height:100svh;min-height:100svh;padding:24px 0}
.home-page .intro-copy{width:min(1120px,calc(100% - 48px))}
.home-page .hero-name{margin:0 auto clamp(12px,2svh,24px);font-size:clamp(40px,min(8vw,10svh),94px)}
.home-page .intro-description{max-width:760px;margin-top:clamp(12px,2.5svh,25px)}
.home-page .hero-dock{margin-top:clamp(16px,3svh,30px)}
@media(max-height:520px){.home-page .hero-name{font-size:clamp(26px,8svh,42px);line-height:1.3;margin-bottom:8px}.home-page .hero-headline{font-size:16px;line-height:1.5}.home-page .intro-description{font-size:11px;line-height:1.7;margin-top:8px}.home-page .hero-dock{margin-top:12px;padding:5px 8px}.home-page .hero-dock a{width:32px;height:32px}}
.home-page .site-header,.home-page #page-rail{transition:opacity .35s ease,visibility .35s}
.home-page #site-content > .module{scroll-margin-top:70px}

/* Every contact, including entries added in the editor, uses the same card. */
.project-grid{grid-auto-rows:1fr}
.project-grid .project-card{display:flex}
.project-grid .project-link{display:flex;flex-direction:column;width:100%;height:100%}
.project-grid .project-picture{flex-shrink:0;width:100%}
.project-grid .folder-front{display:flex;flex-direction:column;flex:1}
.project-grid .project-heading h3{line-height:1.45;min-height:2.9em}
.project-grid .project-summary{min-height:3.8em}
.project-grid .project-meta{margin-top:auto}
.visual-editing .preview-banner{display:none!important}
body.visual-editing .site-header{top:0}
.contact-layout{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:8px 0}
.contact-card{width:fit-content;max-width:100%;min-width:0;margin:0;padding:8px 16px;border:1px solid #cbdfe9;border-radius:24px;background:linear-gradient(145deg,#ffffffdf,#f0f7fbcc);box-shadow:0 10px 32px #7193a414,inset 0 1px 0 #fff;transition:transform .25s ease,box-shadow .25s ease;cursor:text;user-select:text;overflow-wrap:anywhere}
.contact-card:hover{transform:translateY(-3px);box-shadow:0 16px 38px #7193a422}
.contact-card .contact-title{font-size:12px;font-weight:600;color:#59788a;margin:0 0 4px}
.contact-card .contact-copy,.contact-card .contact-value{font-size:12px;line-height:1.9;white-space:pre-wrap;margin:0;color:#527b92}
.contact-card .contact-copy + .contact-value{margin-top:4px}
.contact-card .contact-title:only-child{margin:0;font-size:12px;line-height:1.9;font-weight:400}
@media(min-width:681px) and (max-height:700px){
 .home-page .section-top{margin-bottom:20px}.home-page .section-index{margin-bottom:10px}.home-page h2{font-size:34px}
 .home-page .filter-row{margin-bottom:12px}.home-page .expanding-carousel .carousel-stage{padding-block:10px}
 .home-page .expanding-carousel .carousel-card{height:240px}.home-page .expanding-carousel .carousel-card.is-active{height:300px}
 .home-page .expanding-carousel .is-active .carousel-summary{display:none}.home-page .expanding-carousel .carousel-copy{padding:30px 20px 20px}
}
@media(prefers-reduced-motion:reduce){.contact-card,.home-page .site-header,.home-page #page-rail{transition:none}.contact-card:hover{transform:none}}

.home-page .hero-headline{font-family:var(--hand);font-weight:400}

/* Fixed lettering renders immediately at its final shape. */
.wordmark{display:block;line-height:0}
.wordmark img{display:block;width:136px;height:auto}
.footer-wordmark img{display:block;width:184px;height:auto}
.hero-name.has-lettering{display:block;width:min(100%,530px);line-height:1;transform:rotate(-3deg)}
.hero-name-art{display:block;width:100%;height:auto}

/* On phones, the selected cover has room to read and adjacent cards stay visible. */
@media(max-width:680px){
  .wordmark img{width:120px}
  .expanding-carousel{--carousel-active-ratio:.78;--carousel-side-ratio:.28}
  .expanding-carousel .carousel-track{gap:12px}
  .expanding-carousel .carousel-card{flex-basis:28%;height:340px}
  .expanding-carousel .carousel-card.is-active{flex-basis:78%;height:430px}
  .expanding-carousel .carousel-card>.carousel-image{height:64%}
  .expanding-carousel .carousel-copy{padding:40px 16px 18px}
  .expanding-carousel .is-active .carousel-title{font-size:20px}
}

/* Give the opening copy breathing room while keeping the name in place. */
.home-page .intro-copy > .hero-headline,.home-page .intro-copy > .intro-description,.home-page .intro-copy > .hero-dock{position:relative;top:clamp(12px,4svh,36px)}

/* A compact six-step process between the project image and its text. */
.detail-process{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));list-style:none;padding:0;margin:24px 0 28px;color:#657f8e;font-size:11px;font-weight:500;line-height:1.6;text-align:center}
.detail-process li{position:relative;padding:20px 3px 0}
.detail-process li::before{content:"";position:absolute;top:5px;left:50%;width:100%;height:1px;background:#cbdbe4}
.detail-process li:last-child::before{display:none}
.detail-process li::after{content:"";position:absolute;top:2px;left:calc(50% - 3.5px);width:7px;height:7px;border-radius:50%;background:#7796a6;box-shadow:0 0 0 4px #fafdff}
@media(max-width:520px){.detail-process{font-size:9px;margin:18px 0 22px}.detail-process li{padding:17px 1px 0}.detail-process li::after{width:5px;height:5px;top:3px;left:calc(50% - 2.5px);box-shadow:0 0 0 3px #fafdff}}
/* A relaxed portrait with shoulders visible and the face slightly high. */
.about-mark.about-portrait{width:180px;height:180px;overflow:hidden;transform:none}
.about-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 35%}
@media(max-width:1000px){.about-mark.about-portrait{width:150px;height:150px}}
@media(max-width:680px){.about-mark.about-portrait{width:128px;height:128px}}

/* Separate the introduction and navigation from the name and portfolio title. */
.home-page .intro-copy > .intro-description,
.home-page .intro-copy > .hero-dock{top:calc(clamp(12px,4svh,36px) + clamp(12px,2.5svh,22px))}
