@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#171717;--muted:#858585;--line:#ececea;--paper:#fff;--accent:#c8f36b;--max:1152px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}.content-width{width:min(var(--max),calc(100% - 96px));margin-inline:auto}.site-header{height:76px;padding:0 40px;display:flex;align-items:center;justify-content:space-between;position:absolute;z-index:4;top:0;left:0;width:100%}.wordmark{font-family:Manrope,sans-serif;font-weight:800;font-size:21px;letter-spacing:-1.5px;display:flex;gap:10px;align-items:center}.wordmark-mark{width:10px;height:10px;border-radius:50%;background:#a7cf59}.wordmark-period,.heading-dot{color:#a2c952}.nav-links{display:flex;align-items:center;gap:29px;font-size:13px;color:#686868}.nav-links a:hover,.site-footer a:hover{color:#111}.language{background:none;border:0;color:#686868;font:inherit;padding:8px}.language span{margin-left:4px}.hero{height:930px;min-height:740px;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;padding-top:130px}.hero-glow{position:absolute;top:170px;width:360px;height:320px;border-radius:50%;background:rgba(0,0,0,.12);filter:blur(120px)}.hero-kicker{position:relative;z-index:2;display:flex;align-items:center;gap:9px;font-size:13px;margin-top:0}.avatar{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#e9efdf;font-family:Manrope;font-weight:700;color:#70833c}.hero h1{z-index:2;text-align:center;font-family:Manrope,sans-serif;font-weight:700;font-size:clamp(42px,5vw,64px);line-height:1.16;letter-spacing:-3.2px;margin:450px 16px 12px}.hero-subtitle{z-index:2;color:#878787;font-size:14px;margin:0}.phone-stage{position:absolute;width:430px;height:440px;top:168px;left:50%;transform:translateX(-50%);perspective:1200px;isolation:isolate;mask-image:linear-gradient(to bottom,#000 0%,#000 60%,transparent 98%)}.phone{position:absolute;width:204px;height:410px;overflow:visible}.phone-left{left:3px;transform:rotateY(16deg) rotateZ(-7deg) scale(.9);z-index:1}.phone-center{left:112px;z-index:2;transform:translateY(-9px) scale(1.02)}.phone-right{right:2px;transform:rotateY(-16deg) rotateZ(7deg) scale(.9);z-index:1}.phone-screen{position:relative;width:100%;height:100%;overflow:visible;padding:0;border-radius:0;background:#e5e7eb;color:inherit}.scan-glow{position:absolute;z-index:3;pointer-events:none;top:-15px;bottom:0;left:-35%;width:45%;background:linear-gradient(90deg,transparent,#fff7,transparent);filter:blur(11px);animation:scan 7s ease-in-out infinite}@keyframes scan{0%,12%{left:-45%;opacity:0}20%{opacity:.6}78%{opacity:.5}90%,100%{left:120%;opacity:0}}.scroll-cue{position:absolute;bottom:28px;font:9px 'DM Mono',monospace;color:#999;letter-spacing:1.3px;display:flex;align-items:center;gap:10px}.scroll-cue span{width:1px;height:30px;background:#bbb}.intro-section{padding:66px 0 150px}.section-eyebrow{font:10px 'DM Mono',monospace;letter-spacing:1.2px;color:#999}.section-eyebrow span{color:#222}.principles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:29px}.principle-art{height:340px;border-radius:14px;position:relative;overflow:hidden;padding:20px;font-family:Manrope,sans-serif;font-size:27px;font-weight:700;line-height:1.12;letter-spacing:-1px}.principle-art>span{position:relative;z-index:2}.art-amber{background:linear-gradient(145deg,#fffaf0,#f6e4be);color:#9b6e19}.art-blue{background:linear-gradient(145deg,#f2f8ff,#cfdef5);color:#3c6a9b}.art-pink{background:linear-gradient(145deg,#fff2f0,#f6d3d0);color:#9d5557}.art-orbit{position:absolute;width:180px;height:420px;border-radius:50%;border:1px solid #ffffffb5;transform:rotate(38deg);right:13px;top:95px;box-shadow:0 0 30px #ffffff7a}.art-chip{position:absolute;right:20px;bottom:20px;display:grid;place-items:center;width:36px;height:36px;background:#ffffff82;backdrop-filter:blur(20px);border-radius:50%;font-size:15px}.principle p{font-size:13px;line-height:1.85;color:#777;margin:18px 0 0}.projects-section{padding:25px 0 150px}.section-heading{display:flex;align-items:end;justify-content:space-between}.section-heading h2{font:700 43px Manrope,sans-serif;letter-spacing:-2px;margin:10px 0 0}.text-link{font-size:12px;color:#818181;padding-bottom:7px}.text-link span{color:#111;margin-left:8px}.filter-row{display:flex;align-items:center;gap:9px;margin:30px 0 22px}.filter-label{font:9px 'DM Mono',monospace;color:#aaa;letter-spacing:1px;margin-right:5px}.tag{display:inline-flex;padding:9px 12px;border:1px solid #e8e8e6;border-radius:7px;font:600 11px Manrope,sans-serif;color:#747474;background:rgba(145,145,145,.06);backdrop-filter:blur(20px)}.tag-dark{background:rgba(80,80,80,.14);color:#343434;border-color:transparent}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 16px}.project-card{min-width:0}.project-cover{height:310px;border-radius:12px;position:relative;overflow:hidden;padding:17px;display:flex;align-items:center;justify-content:center;isolation:isolate;transition:transform .3s}.project-card:hover .project-cover{transform:translateY(-3px)}.cover-yom{background:linear-gradient(135deg,#ede8fa,#f5dce7)}.cover-flow{background:linear-gradient(135deg,#dceff2,#d7e6d6)}.cover-nami{background:linear-gradient(135deg,#f5e8cb,#edc8a9)}.cover-orbit{background:linear-gradient(135deg,#e3e7f1,#d4d9ec)}.cover-device{width:148px;height:253px;border-radius:23px;background:#fff;box-shadow:0 22px 45px #24202b25;padding:19px 13px;transform:rotate(-6deg);color:#383447}.cover-device:before{content:"";position:absolute;top:8px;left:calc(50% - 15px);width:30px;height:4px;border-radius:3px;background:#ddd}.cover-device small{font-size:8px;color:#999}.cover-device strong{display:block;font:700 15px/1.35 Manrope;margin-top:15px}.cover-device .mini-pill{display:block;margin-top:12px;background:#ede7fa;padding:9px;border-radius:8px;font-size:8px;color:#71649a}.cover-device .mini-chart{display:flex;align-items:end;gap:5px;height:62px;padding:7px}.mini-chart i{flex:1;height:50%;background:#b7a8df;border-radius:4px}.mini-chart i:nth-child(2n){height:85%;background:#a9c984}.cover-flow .cover-device{transform:rotate(6deg);background:#fdfefa}.cover-nami .cover-device{background:#fffaf1;transform:rotate(-3deg)}.cover-orbit .cover-device{background:#f8f9ff;transform:rotate(3deg)}.cover-sticker{position:absolute;z-index:2;bottom:22px;left:23px;font:10px 'DM Mono',monospace;color:#fff;background:#17171738;border:1px solid #ffffff55;backdrop-filter:blur(20px);padding:8px 10px;border-radius:7px}.cover-caption{position:absolute;right:22px;top:21px;font:9px 'DM Mono',monospace;letter-spacing:.8px;color:#4448}.project-meta{padding:16px 2px 0}.project-title-row{display:flex;align-items:center;gap:11px}.project-title{font:700 24px Manrope,sans-serif;letter-spacing:-.7px;margin:0}.status{font:10px Manrope,sans-serif;color:#5d8bce;background:#eaf2fc;padding:6px 9px;border-radius:6px}.project-desc{font-size:12px;color:#858585;line-height:1.7;margin:8px 0 12px}.project-tags{display:flex;gap:6px}.project-tags .tag{font-size:9px;padding:6px 8px}.contact-band{background:#f6f6f2;padding:80px 0}.contact-inner{display:flex;align-items:end;justify-content:space-between}.contact-inner h2{font:600 42px/1.2 Manrope,sans-serif;letter-spacing:-2px;margin:15px 0 0}.contact-button{display:flex;align-items:center;gap:35px;padding:15px 18px;border-radius:100px;background:#171717;color:#fff;font-size:12px}.site-footer{height:95px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#999}.site-footer .wordmark{color:#222;font-size:18px}.subpage-hero{padding:170px 0 90px;background:linear-gradient(140deg,#fff,#f8f8f4)}.subpage-hero h1{font:700 clamp(45px,8vw,90px)/1 Manrope,sans-serif;letter-spacing:-5px;margin:20px 0}.subpage-hero .lead{font-size:15px;color:#818181;line-height:1.8;max-width:540px}.about-body{padding:70px 0 140px;display:grid;grid-template-columns:1fr 2fr;gap:80px}.about-body h2,.detail-copy h2{font:600 29px Manrope,sans-serif;letter-spacing:-1px;margin:0 0 20px}.about-body p,.detail-copy p{font-size:14px;color:#777;line-height:1.9;margin:0 0 15px}.about-note{border-top:1px solid var(--line);padding-top:18px;margin-top:22px;color:#888;font:10px 'DM Mono',monospace}.detail-hero{padding:140px 0 70px}.detail-topline{display:flex;justify-content:space-between;align-items:center}.back-link{font-size:12px;color:#888}.detail-title{font:700 clamp(48px,8vw,88px)/1 Manrope,sans-serif;letter-spacing:-5px;margin:42px 0 15px}.detail-lead{font-size:15px;color:#777;max-width:550px;line-height:1.8}.detail-hero-art{height:490px;border-radius:16px;margin-top:55px;display:grid;place-items:center;overflow:hidden;position:relative;background:linear-gradient(135deg,#ede8fa,#f4dce6)}.detail-hero-art .cover-device{width:200px;height:345px;padding:30px 20px;transform:rotate(-7deg) scale(1.14)}.detail-copy{padding:45px 0 135px;display:grid;grid-template-columns:1fr 2fr;gap:80px}.detail-copy .project-tags{margin-top:23px}.detail-copy h3{font:600 18px Manrope,sans-serif;margin:29px 0 11px}.detail-copy .body-copy{max-width:650px}.detail-copy .body-copy p{margin-bottom:17px}.detail-next{border-top:1px solid var(--line);padding:30px 0 70px;display:flex;justify-content:space-between;align-items:center;color:#888;font-size:12px}.detail-next strong{font:600 18px Manrope;color:#222}
@media(max-width:760px){.content-width{width:calc(100% - 40px)}.site-header{height:64px;padding:0 20px}.nav-links{gap:15px;font-size:11px}.nav-links a:first-child{display:none}.wordmark{font-size:18px}.wordmark-mark{width:8px;height:8px}.hero{height:780px;min-height:680px;padding-top:102px}.hero-glow{top:130px;width:240px;height:260px;filter:blur(90px)}.hero-kicker{font-size:12px}.phone-stage{top:155px;width:350px;height:380px;transform:translateX(-50%) scale(.83);transform-origin:top center;mask-image:linear-gradient(to bottom,#000 0%,#000 48%,transparent 88%)}.phone{height:400px}.hero h1{font-size:clamp(38px,9vw,54px);letter-spacing:-2px;line-height:1.12;margin-top:387px}.hero-subtitle{font-size:12px;text-align:center;padding:0 20px}.scroll-cue{bottom:18px;font-size:8px}.intro-section{padding:55px 0 95px}.principles{grid-template-columns:1fr;gap:29px;margin-top:24px}.principle-art{height:250px;padding:18px;font-size:25px}.principle p{margin-top:12px;font-size:12px}.projects-section{padding:0 0 95px}.section-heading h2{font-size:36px}.text-link{font-size:10px}.filter-row{gap:6px;flex-wrap:wrap;margin:24px 0 17px}.filter-label{width:100%;margin-bottom:3px}.tag{padding:8px 9px;font-size:10px}.project-grid{grid-template-columns:1fr;gap:30px}.project-cover{height:270px}.project-title{font-size:22px}.project-desc{font-size:12px}.contact-band{padding:55px 0}.contact-inner{align-items:start;gap:28px;flex-direction:column}.contact-inner h2{font-size:34px}.contact-button{padding:13px 16px}.site-footer{height:auto;min-height:88px;gap:12px;flex-wrap:wrap;padding:20px 0;font-size:9px}.site-footer>span{order:3;width:100%}.subpage-hero{padding:130px 0 65px}.subpage-hero h1{letter-spacing:-3px}.subpage-hero .lead{font-size:13px}.about-body,.detail-copy{padding:50px 0 95px;grid-template-columns:1fr;gap:27px}.about-body h2,.detail-copy h2{font-size:25px}.detail-hero{padding:110px 0 45px}.detail-title{letter-spacing:-3px;margin:33px 0 12px}.detail-lead{font-size:13px}.detail-hero-art{height:350px;margin-top:30px}.detail-hero-art .cover-device{transform:rotate(-7deg) scale(.9)}.detail-copy{padding-top:35px}.detail-next{padding-bottom:48px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
.search-pill{width:208px;height:40px;padding:0 14px;border-radius:999px;background:rgba(0,0,0,.05);backdrop-filter:blur(24px);display:flex;align-items:center;gap:9px;color:#777;font-size:13px}.search-pill span{font-size:19px;line-height:1;color:#777}@media(max-width:760px){.search-pill{width:auto;height:auto;padding:7px 9px;font-size:10px}.search-pill span{font-size:15px}}

/* The three hero screens share one exact footprint; only the clipped image changes. */
.phone-stage{width:250px;height:440px;mask-image:linear-gradient(to bottom,#000 0%,#000 57%,transparent 99%)}
.phone-stage .phone{left:50%;right:auto;top:0;width:204px;height:410px;margin:0 0 0 -102px;transform:none;z-index:0;clip-path:inset(0 100% 0 0)}



.scan-glow{display:none}
@media(max-width:760px){.phone-stage{width:250px;height:380px;transform:translateX(-50%) scale(.83);transform-origin:top center;mask-image:linear-gradient(to bottom,#000 0%,#000 48%,transparent 88%)}}
@media(max-width:760px){.nav-links a:first-child{display:inline}}
.phone-stage{mask-image:linear-gradient(to bottom,#000 0%,#000 40%,transparent 50%,transparent 100%)}
@media(max-width:760px){.phone-stage{mask-image:linear-gradient(to bottom,#000 0%,#000 40%,transparent 50%,transparent 100%)}}
.phone-stage{height:410px}
@media(max-width:760px){.phone-stage{height:410px}}
.phone-stage{mask-image:linear-gradient(to bottom,#000 0%,#000 5%,transparent 60%,transparent 100%)}
@media(max-width:760px){.phone-stage{mask-image:linear-gradient(to bottom,#000 0%,#000 5%,transparent 60%,transparent 100%)}}
/* Match the supplied three-card gradients, type colors, and blurred radial glow. */
.principle-art{height:384px;border-radius:12px;padding:20px;font-family:'Alte Haas Grotesk',sans-serif;font-size:30px;font-weight:700;line-height:40px;letter-spacing:0}
.art-amber{background:linear-gradient(to bottom,#fffbeb,#fef3c7);color:#a16207}
.art-blue{background:linear-gradient(to bottom,#eff6ff,#bfdbfe);color:#0369a1}
.art-pink{background:linear-gradient(to bottom,#fce7f3,#fbcfe8);color:#881337}
.art-glow{position:absolute;width:208px;height:534px;left:238.93px;top:51px;transform-origin:top left;transform:rotate(33.65deg);border-radius:999px;background:radial-gradient(ellipse 50% 50% at 50% 50%,rgba(255,255,255,0) 70%,rgba(255,255,255,.7) 100%);filter:blur(10px)}
.principle p{margin:24px 0 0;font-family:'SF Pro',sans-serif;font-size:16px;line-height:24px;color:rgba(0,0,0,.5)}
@media(max-width:760px){.principle-art{height:384px;font-size:30px;line-height:40px}.principle p{font-size:16px;line-height:24px;margin-top:24px}}
/* Project cards follow the supplied typography and chip treatment. */
.section-heading{display:block}
.section-heading h2{font:700 30px/40px 'Alte Haas Grotesk',sans-serif;letter-spacing:0;margin:0}
.filter-row{gap:12px;margin-top:20px}
.filter-row>.tag{padding:12px;border:0;background:rgba(0,0,0,.05);backdrop-filter:blur(30px);border-radius:6px;color:rgba(0,0,0,.6);font:700 16px/20px 'Alte Haas Grotesk',sans-serif}
.project-grid{gap:48px 12px}
.project-cover{height:288px;padding:0;display:block;background:#fff;border-radius:12px}
.cover-art{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:inherit;transition:transform .3s ease;transform:scale(1)}
.project-card:hover .cover-art{transform:scale(.97)}
.cover-tags{position:absolute;z-index:2;top:20px;left:20px;display:flex;align-items:flex-start;gap:12px}
.cover-tags .tag{padding:12px;border:0;border-radius:6px;background:rgba(255,255,255,.2);backdrop-filter:blur(30px);color:rgba(255,255,255,.7);font:700 16px/20px 'Alte Haas Grotesk',sans-serif}
.project-meta{padding:24px 0 0;display:flex;flex-direction:column;gap:16px}
.project-title-row{gap:12px;align-items:center}
.project-title{margin:0;color:#000;font:700 30px/40px 'Alte Haas Grotesk',sans-serif;letter-spacing:0}
.status{padding:12px;border-radius:6px;background:rgba(37,99,235,.1);backdrop-filter:blur(30px);color:rgba(37,99,235,.7);font:700 16px/20px 'Alte Haas Grotesk',sans-serif}
.project-desc{margin:0;color:rgba(0,0,0,.5);font:400 16px/24px 'SF Pro',sans-serif}
.project-tags{display:none}
@media(max-width:760px){.project-cover{height:288px}.cover-tags{gap:8px}.cover-tags .tag{padding:9px;font-size:13px;line-height:18px}.project-title{font-size:26px;line-height:36px}.status{font-size:13px;line-height:18px;padding:9px}.project-desc{font-size:14px;line-height:22px}.project-grid{gap:32px}}
@media(prefers-reduced-motion:reduce){.cover-art{transition:none}}
.project-card:hover .project-cover{transform:none}
.lucide-icon{width:16px;height:16px;flex:0 0 16px;stroke-width:1.75}
.search-pill .lucide-icon{color:currentColor}
.language{display:inline-flex;align-items:center;gap:4px}
.cover-art{transform:none;transition:none}
.cover-device{scale:1;transition:scale .3s ease}
.project-card:hover .cover-art{transform:none}
.project-card:hover .cover-device{scale:.96}
@media(prefers-reduced-motion:reduce){.cover-device{transition:none}}
/* Keep English UI copy on the project typeface; preserve Japanese copy styling. */
.site-header,.nav-links,.language,.search-pill,.hero-kicker,.hero h1,.section-heading h2,.filter-row,.project-title,.status,.cover-tags,.subpage-hero h1,.detail-title,.detail-topline,.back-link,.detail-copy .project-tags{font-family:'Alte Haas Grotesk',sans-serif}
.project-hover-cursor{position:fixed;left:0;top:0;z-index:11000;pointer-events:none;will-change:transform;transform:translate3d(-1000px,-1000px,0);transition:transform .1s ease-out;display:block}
.project-hover-cursor-card{width:160px;height:160px;overflow:hidden;border:5px solid rgba(255,255,255,.2);border-radius:32px;background:transparent;backdrop-filter:none;box-shadow:0 25px 60px rgba(0,0,0,.22);opacity:0;transform:translate(-50%,-50%) scale(.75);transition:opacity .3s ease-in-out,transform .3s ease-in-out}
.project-hover-cursor.is-visible .project-hover-cursor-card{opacity:1;transform:translate(-50%,-50%) scale(1)}
.cursor-preview-icon{display:block;width:100%;height:100%;margin:0;object-fit:cover;border-radius:28px}
@media(hover:none),(pointer:coarse){.project-hover-cursor{display:none}}
@media(prefers-reduced-motion:reduce){.project-hover-cursor,.project-hover-cursor-card{transition:none}}
/* Principle-card illustrations: implementation code, a three-bar data chart, and a design-system sheet. */
.principle-visual{position:absolute;z-index:1;pointer-events:none}
.implementation-visual{right:18px;bottom:20px;width:min(78%,280px);height:170px}
.code-panel{position:absolute;inset:0;padding:16px 17px;background:rgba(255,255,255,.68);border:1px solid rgba(255,255,255,.68);border-radius:12px;backdrop-filter:blur(18px);box-shadow:0 16px 35px rgba(129,91,26,.09);overflow:hidden}
.code-panel-top{display:flex;gap:5px;margin-bottom:15px}
.code-panel-top i{width:6px;height:6px;border-radius:50%;background:#d9b977}
.code-panel-top i:nth-child(2){background:#e9ce97}.code-panel-top i:nth-child(3){background:#c9d89c}
.code-row{height:9px;display:flex;align-items:center;gap:5px;margin:7px 0}
.code-row i,.code-row b,.code-row em{height:4px;border-radius:4px;background:#cdb578;display:block}
.code-row i{width:33%}.code-row b{width:19%;background:#c88965}.code-row em{width:25%;background:#8fa78b}
.code-row.indent-1{padding-left:16px}.code-row.indent-2{padding-left:31px}.code-row:nth-of-type(4) i{width:22%}.code-row:nth-of-type(5) b{width:28%}.code-row:nth-of-type(6) em{width:17%}
.code-caret{display:block;width:2px;height:10px;margin-left:31px;background:#a77e55;animation:caret-blink 1s steps(2,end) infinite}
@keyframes caret-blink{50%{opacity:0}}
.data-visual{right:24px;bottom:22px;width:68%;height:166px}
.chart-grid{position:absolute;inset:8px 0 0;display:flex;flex-direction:column;justify-content:space-between}
.chart-grid i{display:block;border-top:1px solid rgba(61,93,130,.13)}
.chart-bars{position:absolute;inset:8px 14px 0;display:flex;align-items:flex-end;justify-content:space-around;gap:17px}
.chart-bars i{width:25%;border-radius:7px 7px 2px 2px}
.bar-one{height:38%;background:linear-gradient(to top,#a8afb8,#cbd0d6)}
.bar-two{height:56%;background:linear-gradient(to top,#9ea7b2,#c5cbd2)}
.bar-blue{height:28%;background:linear-gradient(to top,#3978e8,#73b9ff 68%,#a8dcff);box-shadow:0 4px 15px rgba(55,127,235,.22);animation:bar-rise 2.4s cubic-bezier(.2,.75,.25,1) infinite alternate}
@keyframes bar-rise{from{height:20%}to{height:88%}}
.context-visual{right:-4px;bottom:0;width:76%;height:204px;overflow:hidden;border-radius:12px 0 0 0}
.design-sheet{position:absolute;inset:0 0 -34px 0;display:flex;gap:13px;padding:15px 14px;background:rgba(255,255,255,.78);border:1px solid rgba(255,255,255,.9);border-bottom:0;border-right:0;border-radius:12px 0 0 0;backdrop-filter:blur(18px);box-shadow:-8px -8px 35px rgba(123,47,65,.08);transform:translateY(4px);animation:sheet-arrive 4s ease-in-out infinite alternate}
.sheet-sidebar{width:31px;flex:0 0 31px;border-right:1px solid #e9dce0;display:flex;flex-direction:column;gap:10px;padding:5px 8px 0 1px}
.sheet-sidebar i{width:14px;height:5px;border-radius:4px;background:#e9c9d1}.sheet-sidebar i:first-child{width:16px;height:16px;border-radius:5px;background:#d694a4;margin-bottom:4px}.sheet-sidebar i:nth-child(3){width:11px}
.sheet-content{flex:1;min-width:0;padding-top:3px}
.sheet-heading{width:48%;height:9px;border-radius:4px;background:#925c6a;margin:0 0 7px}
.sheet-subheading{width:70%;height:4px;border-radius:4px;background:#e1d2d6;margin-bottom:15px}
.sheet-swatches{display:flex;gap:6px;margin-bottom:12px}.sheet-swatches i{width:23px;height:23px;border-radius:6px;background:#f3e5e8}.sheet-swatches i:nth-child(2){background:#cc8898}.sheet-swatches i:nth-child(3){background:#75505b}
.sheet-components{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:12px}.sheet-components i{height:21px;border:1px solid #eadde1;border-radius:5px;background:linear-gradient(90deg,#fff 40%,#f5edf0 40%)}
.sheet-lines{display:flex;flex-direction:column;gap:5px}.sheet-lines i{height:4px;width:82%;border-radius:4px;background:#e9dfe2}.sheet-lines i:nth-child(2){width:63%}.sheet-lines i:nth-child(3){width:73%}
@keyframes sheet-arrive{from{transform:translateY(9px)}to{transform:translateY(0)}}
@media(max-width:760px){.implementation-visual{right:17px;bottom:20px;width:min(78%,280px);height:168px}.data-visual{right:21px;bottom:21px;width:68%;height:160px}.context-visual{height:196px}}
@media(prefers-reduced-motion:reduce){.code-caret,.bar-blue,.design-sheet{animation:none}}
/* Project category filter buttons */
.filter-chip{appearance:none;border:0;border-radius:6px;padding:8px 12px;background:rgba(0,0,0,.05);color:rgba(0,0,0,.6);font:700 16px/20px 'Alte Haas Grotesk',sans-serif;cursor:pointer;transition:background-color .16s ease,color .16s ease}
.filter-chip:hover:not(.is-active){background:rgba(0,0,0,.12)}
.filter-chip.is-active,.filter-chip.is-active:hover{background:#000;color:#fff}
.filter-chip:focus-visible{outline:2px solid #555;outline-offset:3px}
.status{padding:6px 12px}
.project-card[hidden]{display:none!important}
.cover-art::after{content:"";position:absolute;inset:0;border-radius:inherit;background:rgba(0,0,0,.1);opacity:0;transition:opacity .2s ease;pointer-events:none}
.project-card:hover .cover-art::after{opacity:1}
/* Remove the former lime decorative accents while retaining the requested blue data bar. */
:root{--accent:#8794a8}
.wordmark-mark{background:rgba(0,0,0,.3)}
.wordmark-period,.heading-dot{color:rgba(0,0,0,.32)}
.avatar{background:#edf0f4;color:#737d8d}
.cover-flow{background:linear-gradient(135deg,#e6edf5,#d7e1ef)}
.mini-chart i:nth-child(2n){background:#97a7bf}
.code-row em{background:#8194b4}
@media(max-width:760px){.filter-chip{padding:7px 10px;font-size:13px;line-height:18px}}
@media(prefers-reduced-motion:reduce){.filter-chip,.cover-art::after{transition:none}}
/* Center the code and chart art within their cards; keep the design-system sheet cropped. */
.implementation-visual{left:50%;right:auto;top:54%;bottom:auto;transform:translate(-50%,-24%);width:min(84%,300px);height:174px}
.data-visual{left:50%;right:auto;top:55%;bottom:auto;transform:translate(-50%,-26%);width:70%;height:166px}
.code-panel{background:#171a21;border:1px solid rgba(255,255,255,.1);box-shadow:0 18px 40px rgba(38,33,28,.2);color:#d7dce5}
.code-panel-top i{background:#6f7480}.code-panel-top i:nth-child(2){background:#858b98}.code-panel-top i:nth-child(3){background:#a0a6b1}
.swift-code{margin:0;overflow:hidden;color:#d7dce5;font-family:ui-monospace,SFMono-Regular,'SF Mono',Menlo,Consolas,monospace;font-size:10px;font-weight:400;line-height:1.45;white-space:pre}
.swift-code code{display:block;font:inherit}
.swift-keyword{color:#c792ea}.swift-type{color:#82c8e8}.swift-number{color:#f0bd74}.swift-string{color:#a8d7a0}
.code-caret{position:absolute;left:31px;bottom:11px;width:2px;height:10px;margin:0;background:#80c8e8}
.bar-one{background:linear-gradient(to top,#d4d8de,#e4e7eb)}
.bar-two{background:linear-gradient(to top,#cbd0d7,#e0e4e9)}
.bar-blue{box-shadow:none}
@media(max-width:760px){.implementation-visual{left:50%;right:auto;top:54%;bottom:auto;transform:translate(-50%,-24%);width:84%;height:174px}.data-visual{left:50%;right:auto;top:55%;bottom:auto;transform:translate(-50%,-26%);width:70%;height:160px}.code-panel{padding:14px 15px}.code-panel-top{margin-bottom:12px}.swift-code{font-size:9px}}
/* Hero sizing and mask follow the visible image bounds on desktop and mobile. */
.phone-stage{top:190px;height:410px;transform:translateX(-50%) scale(1.05);transform-origin:top center;mask-image:linear-gradient(to bottom,#000 0%,#000 60%,transparent 70%,transparent 100%)}

.hero h1{margin-top:370px}
@media(max-width:760px){.hero-kicker{gap:8px}.avatar{flex:none}.phone-stage{top:154px;height:410px;transform:translateX(-50%) scale(.75);transform-origin:top center;mask-image:linear-gradient(to bottom,#000 0%,#000 60%,transparent 70%,transparent 100%)}.hero h1{margin-top:270px}}
/* Keep project-cover category chips aligned with the filter chip dimensions. */
.cover-tags{gap:12px}
.cover-tags .tag{display:inline-flex;align-items:center;padding:8px 12px;border:0;border-radius:6px;background:rgba(128,128,128,.48);backdrop-filter:blur(30px);color:#fff;font:700 16px/20px 'Alte Haas Grotesk',sans-serif}
@media(max-width:760px){.cover-tags{gap:6px}.cover-tags .tag{padding:7px 10px;font-size:13px;line-height:18px}}
/* Solid dummy-cover colors make the translucent category chips easy to compare. */
.cover-yom{background:#171717}
.cover-flow,.cover-orbit{background:#fff}
.cover-nami{background:#c8f36b}
/* Case-study detail layout based on the supplied project page reference. */
.detail-intro{padding:104px 24px 0;text-align:center}
.app-icon-placeholder{width:96px;height:96px;margin:0 auto;border-radius:20px;background:linear-gradient(155deg,#334155,#050505);box-shadow:0 10px 28px rgba(0,0,0,.12)}
.detail-heading{max-width:900px;margin:46px auto 0;color:#111;font:700 30px/40px 'SF Pro',-apple-system,BlinkMacSystemFont,sans-serif;letter-spacing:-.5px}
.detail-intro .detail-lead{max-width:740px;margin:12px auto 0;color:rgba(0,0,0,.5);font:400 16px/24px 'SF Pro',-apple-system,BlinkMacSystemFont,sans-serif}
.detail-visit{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin-top:28px;padding:0 20px;border-radius:999px;background:#111;color:#fff;font:400 15px/20px 'Alte Haas Grotesk',sans-serif;transition:background-color .18s ease}
.detail-visit:hover{background:#383838}
.detail-hero-image{width:min(1152px,calc(100% - 48px));aspect-ratio:1152/739;margin:27px auto 0;border-radius:12px;background:#f2f2f0}
.detail-overview{display:grid;grid-template-columns:1fr 1fr;gap:64px;padding-top:90px;padding-bottom:96px}
.detail-about-copy h2,.detail-fact h2{margin:0 0 16px;color:#111;font:700 20px/24px 'Alte Haas Grotesk',sans-serif}
.detail-about-copy p{margin:0;color:rgba(0,0,0,.55);font:400 16px/24px 'SF Pro',-apple-system,BlinkMacSystemFont,sans-serif;white-space:pre-line}
.detail-facts{display:flex;flex-direction:column;gap:36px}
.detail-fact h2{margin-bottom:14px}
.detail-chips{display:flex;flex-wrap:wrap;gap:10px}
.detail-chip{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:6px;background:rgba(0,0,0,.05);color:rgba(0,0,0,.65);font:400 15px/20px 'Alte Haas Grotesk',sans-serif}
.detail-case-images{display:flex;flex-direction:column}
.case-image{width:100%;background:#f2f2f0}
.case-image-one{height:min(64.15vw,821px)}
.case-image-two{height:min(56.25vw,720px);background:#f6f6f4}
.more-projects{padding-top:140px;padding-bottom:110px}
.more-projects>h2{margin:0 0 32px;color:#111;font:700 30px/40px 'Alte Haas Grotesk',sans-serif}
.more-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 20px}
.more-project-card{min-width:0;display:block}
.more-project-cover{position:relative;min-height:288px;display:grid;place-items:center;overflow:hidden;border-radius:12px}
.more-project-cover .cover-device{transition:scale .3s ease}
.more-project-card:hover .cover-device{scale:.96}
.more-project-meta{padding-top:20px}
.more-project-meta .project-title{font-size:28px;line-height:36px}
.more-project-meta .project-desc{margin:10px 0 0;font-size:15px;line-height:23px}
@media(max-width:760px){
  .detail-intro{padding:88px 20px 0}
  .app-icon-placeholder{width:76px;height:76px;border-radius:18px}
  .detail-heading{margin-top:32px;font-size:23px;line-height:32px}
  .detail-intro .detail-lead{margin-top:10px;font-size:14px;line-height:22px}
  .detail-visit{min-height:42px;margin-top:22px;padding-inline:17px;font-size:14px}
  .detail-hero-image{width:calc(100% - 40px);aspect-ratio:1/1.05;margin-top:24px}
  .detail-overview{grid-template-columns:1fr;gap:42px;padding-top:58px;padding-bottom:62px}
  .detail-about-copy h2,.detail-fact h2{font-size:18px;line-height:23px}
  .detail-about-copy p{font-size:14px;line-height:22px}
  .detail-facts{gap:28px}
  .detail-chip{min-height:38px;padding-inline:11px;font-size:13px}
  .case-image-one{height:74vw;min-height:280px}
  .case-image-two{height:66vw;min-height:250px}
  .more-projects{padding-top:82px;padding-bottom:72px}
  .more-projects>h2{font-size:26px;line-height:34px;margin-bottom:24px}
  .more-project-grid{grid-template-columns:1fr;gap:34px}
  .more-project-cover{min-height:250px}
  .more-project-meta{padding-top:16px}
  .more-project-meta .project-title{font-size:23px;line-height:30px}
  .more-project-meta .project-desc{font-size:13px;line-height:21px}
}
@media(prefers-reduced-motion:reduce){.detail-visit,.more-project-cover .cover-device{transition:none}}
/* More Project is a swipeable horizontal rail. */
.more-project-grid{display:flex;gap:20px;overflow-x:auto;overflow-y:hidden;padding:0 0 18px;scroll-snap-type:x mandatory;scroll-padding-inline:2px;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#c9c9c9 transparent}
.more-project-card{flex:0 0 min(500px,calc((100% - 20px)/2));scroll-snap-align:start}
.more-project-grid::-webkit-scrollbar{height:5px}
.more-project-grid::-webkit-scrollbar-track{background:transparent}
.more-project-grid::-webkit-scrollbar-thumb{background:#c9c9c9;border-radius:99px}
@media(max-width:760px){.more-project-grid{gap:14px;padding-bottom:14px}.more-project-card{flex-basis:62vw}}
/* Hide the rail scrollbar, preserve a gutter at every snap point, and fade its right edge. */
.more-projects{position:relative}
.more-project-grid{margin-inline:-24px;padding-inline:24px;scroll-padding-inline:24px;scrollbar-width:none}
.more-project-grid::-webkit-scrollbar{display:none}
.more-projects::after{content:"";position:absolute;z-index:3;pointer-events:none;right:-24px;top:72px;width:112px;height:390px;background:linear-gradient(90deg,rgba(255,255,255,0),#fff)}
@media(max-width:760px){.more-project-grid{margin-inline:-20px;padding-inline:20px;scroll-padding-inline:20px}.more-projects::after{right:-20px;top:58px;width:72px;height:340px}}
/* Fade only the outer 10% of the complete card rail. */
.more-projects::after{top:72px;right:-24px;bottom:110px;width:10vw;min-width:40px;max-width:128px;height:auto}
@media(max-width:760px){.more-projects::after{top:58px;right:-20px;bottom:72px;width:10vw;min-width:38px;max-width:48px;height:auto}}
/* Let the rail bleed to the viewport edges while its first card stays on the content margin. */
.more-project-grid{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding-left:48px;padding-right:48px;scroll-padding-left:48px;scroll-padding-right:48px}
.more-projects::after{right:calc(50% - 50vw)}
@media(min-width:1248px){.more-project-grid{padding-left:calc(50vw - 576px);padding-right:calc(50vw - 576px);scroll-padding-left:calc(50vw - 576px);scroll-padding-right:calc(50vw - 576px)}}
@media(max-width:760px){.more-project-grid{padding-left:20px;padding-right:20px;scroll-padding-left:20px;scroll-padding-right:20px}.more-projects::after{right:calc(50% - 50vw)}}
/* Tighten project metadata while leaving more breathing room below the visit link. */
.detail-visit{min-height:40px;padding-inline:16px;font-weight:600}
.detail-hero-image{margin-top:42px}
.detail-facts{gap:24px}
.detail-chip{min-height:36px;padding:0 12px}
.detail-period{margin:0;color:rgba(0,0,0,.68);font:400 15px/24px 'Alte Haas Grotesk',sans-serif}
@media(max-width:760px){.detail-hero-image{margin-top:34px}.detail-chip{min-height:32px;padding-inline:10px}}
/* Slightly smaller copy with more open line spacing. */
.detail-about-copy p{font-size:15px;line-height:28px}
.projects-section .project-desc{font-size:15.5px;line-height:27px;color:rgba(0,0,0,.58)}
@media(max-width:760px){.detail-about-copy p{font-size:13.5px;line-height:24px}.projects-section .project-desc{font-size:13.5px;line-height:23px}}
.about-profile{position:relative;padding:74px 20px 0}
.about-profile::before{content:"";position:absolute;z-index:0;top:20px;left:50%;width:240px;height:260px;transform:translateX(-50%);border-radius:50%;background:rgba(0,0,0,.12);filter:blur(78px)}
.about-profile-card{position:relative;z-index:1;width:192px;min-height:260px;margin:0 auto;padding:12px 15px 20px;border-radius:10px;background:rgba(255,255,255,.92);box-shadow:0 20px 60px rgba(0,0,0,.08);display:flex;flex-direction:column;align-items:center;text-align:center}
.profile-card-handle{width:56px;height:5px;margin-bottom:43px;border-radius:99px;background:#d4d4d4}
.profile-photo-placeholder{width:68px;height:68px;display:grid;place-items:center;border-radius:50%;background:#e7ebee;color:#66717b;font:600 18px/1 Manrope,sans-serif;letter-spacing:-.5px}
.profile-name{margin:12px 0 0;color:#111;font:700 14px/18px 'Alte Haas Grotesk',sans-serif}
.profile-role,.profile-location{margin:4px 0 0;color:rgba(0,0,0,.52);font:400 12px/16px 'Alte Haas Grotesk',sans-serif}
.profile-location{margin-top:1px}
.about-content{width:min(660px,calc(100% - 48px));margin:72px auto 120px;display:flex;flex-direction:column;gap:48px}
.about-bio{display:flex;flex-direction:column;gap:18px;color:rgba(0,0,0,.56);font:400 14.5px/28px 'SF Pro',-apple-system,BlinkMacSystemFont,sans-serif}
.about-bio p{margin:0}
.about-name-reading{color:rgba(0,0,0,.34)}
.project-cover-image{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.cover-art>.cover-device{position:relative;z-index:1}
.app-icon-placeholder{overflow:hidden}
.app-icon-placeholder img{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}
.detail-hero-image{display:block;object-fit:cover}
.case-image img{display:block;width:100%;height:100%;object-fit:cover}
.hero-screen-image{position:absolute;z-index:2;inset:0;width:100%;height:100%;object-fit:contain;border-radius:0}
.profile-photo-placeholder{position:relative;overflow:hidden}
.profile-photo-placeholder img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.more-project-cover-image{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:cover}
.more-project-cover>.cover-device{position:relative;z-index:1}
.search-thumb img{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.search-thumb>.cover-device{position:relative;z-index:1}
.profile-slideshow-image{-webkit-user-drag:none;user-select:none}
.avatar{position:relative;overflow:hidden}
.avatar .profile-slideshow-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
img{-webkit-user-drag:none;user-select:none}
.about-section h2{margin:0 0 16px;color:#111;font:700 20px/24px 'Alte Haas Grotesk',sans-serif}
.about-education p{margin:0;color:rgba(0,0,0,.56);font:400 15px/24px 'SF Pro',-apple-system,BlinkMacSystemFont,sans-serif}
.about-entry-list{display:flex;flex-direction:column;gap:16px}
.about-entry{display:grid;grid-template-columns:144px minmax(0,1fr);gap:24px;align-items:start}
.about-entry time,.about-entry p{margin:0;color:rgba(0,0,0,.56);font:400 15px/24px 'SF Pro',-apple-system,BlinkMacSystemFont,sans-serif}
.about-entry time{white-space:nowrap}
.about-entry.no-date{display:block;padding-left:132px}
.about-pill{min-height:48px;display:inline-flex;align-items:center;justify-content:center;padding:0 20px;border:0;border-radius:999px;background:rgba(0,0,0,.05);color:rgba(0,0,0,.7);font:400 15px/20px 'Alte Haas Grotesk',sans-serif;transition:background-color .18s ease,color .18s ease}
.about-pill[href]:hover{background:rgba(0,0,0,.11);color:rgba(0,0,0,.84)}
.about-socials{display:flex;flex-wrap:wrap;gap:10px}
@media(max-width:760px){
  .about-profile{padding-top:66px}
  .about-profile-card{width:184px;min-height:244px;padding-top:10px}
  .profile-card-handle{margin-bottom:36px}
  .profile-photo-placeholder{width:64px;height:64px}
  .about-content{width:calc(100% - 40px);margin-top:60px;margin-bottom:80px;gap:36px}
  .about-bio{gap:16px;font-size:13.5px;line-height:26px}
  .about-section h2{font-size:18px;line-height:22px;margin-bottom:12px}
  .about-education p,.about-entry time,.about-entry p{font-size:13px;line-height:21px}
  .about-entry{grid-template-columns:116px minmax(0,1fr);gap:14px}
  .about-entry time{font-size:11px}
  .about-entry.no-date{padding-left:104px}
  .about-pill{min-height:42px;padding-inline:16px;font-size:13px}
}
/* Fine-tune the spacing around the Visit Site button. */
.detail-visit{margin-top:24px}
.detail-hero-image{margin-top:56px}
@media(max-width:760px){.detail-visit{margin-top:19px}.detail-hero-image{margin-top:46px}}
/* Match the main project cards' subtle hover dimming in the More Project rail. */
.more-project-cover::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit;background:rgba(0,0,0,.1);opacity:0;pointer-events:none;transition:opacity .2s ease}
.more-project-card:hover .more-project-cover::after{opacity:1}
@media(prefers-reduced-motion:reduce){.more-project-cover::after{transition:none}}
.principles .principle p{line-height:28px}
.principles .principle-art{padding-left:24px}
@media(max-width:760px){.principles .principle-art{padding-left:22px}}
.search-pill{appearance:none;border:0;font:inherit;text-align:left;cursor:pointer}
.search-pill:focus-visible{outline:2px solid #555;outline-offset:3px}
body.search-open{overflow:hidden}
.search-overlay{position:fixed;inset:0;z-index:20000;display:grid;place-items:center;padding:28px;background:rgba(255,255,255,.2);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.search-overlay[hidden]{display:none}
.search-dialog{width:min(1080px,100%);max-height:min(760px,88vh);display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(255,255,255,.09);border-radius:28px;background:#292929;color:#f8f8f8;box-shadow:0 30px 100px rgba(0,0,0,.25)}
.search-dialog-top{display:flex;align-items:center;gap:12px;padding:24px 24px 18px}
.search-input-wrap{height:54px;display:flex;align-items:center;gap:13px;flex:1;padding:0 18px;border-radius:14px;background:#111;color:#a9a9a9}
.search-input{width:100%;border:0;outline:0;background:transparent;color:#fff;font:400 16px/22px 'Alte Haas Grotesk',sans-serif}
.search-input::placeholder{color:#929292}
.search-input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}
.search-close{width:46px;height:46px;display:grid;place-items:center;border:0;border-radius:12px;background:rgba(255,255,255,.08);color:#ddd;cursor:pointer}
.search-close:hover{background:rgba(255,255,255,.15);color:#fff}
.search-content{min-height:0;display:grid;grid-template-columns:178px minmax(0,1fr);gap:18px;padding:0 24px 18px}
.search-categories{display:flex;flex-direction:column;gap:5px;padding-top:5px}
.search-category{min-height:42px;padding:0 12px;border:0;border-radius:10px;background:transparent;color:#bdbdbd;text-align:left;font:500 14px/20px 'Alte Haas Grotesk',sans-serif;cursor:pointer;transition:background-color .15s ease,color .15s ease}
.search-category:hover{background:rgba(255,255,255,.07);color:#fff}
.search-category.is-active{background:#414141;color:#fff}
.search-results-wrap{min-height:0;overflow:auto;padding:5px 2px 4px}
.search-results-label{margin:0 0 12px;color:#aaa;font:500 13px/18px 'Alte Haas Grotesk',sans-serif}
.search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.search-result{min-width:0;min-height:112px;display:flex;align-items:center;gap:14px;padding:10px;border-radius:14px;background:#373737;transition:background-color .15s ease}
.search-result:hover{background:#454545}
.search-thumb{position:relative;width:92px;height:92px;flex:0 0 92px;display:grid;place-items:center;overflow:hidden;border-radius:10px}
.search-thumb .cover-device{width:46px;height:76px;padding:9px 6px;border-radius:10px;transform:rotate(-5deg)}
.search-thumb .cover-device:before{top:4px;width:15px;height:2px;left:calc(50% - 7.5px)}
.search-thumb .mini-chart{height:28px;gap:2px;padding:3px}
.search-result-copy{min-width:0;display:flex;flex-direction:column;gap:5px}
.search-result-copy strong{overflow:hidden;color:#fff;text-overflow:ellipsis;white-space:nowrap;font:600 16px/20px 'Alte Haas Grotesk',sans-serif}
.search-result-copy>span{display:-webkit-box;overflow:hidden;color:#b8b8b8;font:400 12px/17px 'SF Pro',sans-serif;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.search-result-copy em{overflow:hidden;color:#929292;text-overflow:ellipsis;white-space:nowrap;font:400 10px/14px 'Alte Haas Grotesk',sans-serif;font-style:normal}
.search-empty{grid-column:1/-1;margin:0;padding:32px 10px;color:#aaa;text-align:center;font-size:14px}
.search-shortcut{margin:0;padding:0 25px 20px;color:#858585;text-align:right;font:400 11px/16px 'Alte Haas Grotesk',sans-serif}
.search-shortcut kbd{padding:2px 5px;border:1px solid #555;border-radius:4px;background:#333;color:#bbb;font:inherit}
@media(max-width:680px){
  .search-overlay{padding:12px}
  .search-dialog{max-height:92vh;border-radius:20px}
  .search-dialog-top{gap:8px;padding:15px 14px 12px}
  .search-input-wrap{height:48px;gap:9px;padding-inline:12px}
  .search-input{font-size:14px}
  .search-close{width:42px;height:42px}
  .search-content{display:flex;flex-direction:column;gap:11px;padding:0 14px 12px}
  .search-categories{flex-direction:row;overflow-x:auto;gap:7px;padding:0 0 4px;scrollbar-width:none}
  .search-categories::-webkit-scrollbar{display:none}
  .search-category{min-height:34px;flex:0 0 auto;padding:0 11px;border-radius:999px;background:#383838;font-size:12px}
  .search-results-wrap{overflow:auto}
  .search-results{grid-template-columns:1fr;gap:8px}
  .search-result{min-height:84px;gap:11px;padding:8px;border-radius:12px}
  .search-thumb{width:68px;height:68px;flex-basis:68px}
  .search-thumb .cover-device{transform:scale(.78) rotate(-5deg)}
  .search-result-copy strong{font-size:14px}
  .search-result-copy>span{font-size:11px;line-height:15px}
  .search-shortcut{padding:0 15px 13px}
}
@media(prefers-reduced-motion:reduce){.search-category,.search-result,.search-close{transition:none}}
/* Search dialog motion, contained scrolling, and in-field clear control. */
.search-overlay{opacity:0;background:rgba(255,255,255,0);backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0);transition:opacity .24s ease,backdrop-filter .24s ease,background-color .24s ease}
.search-overlay.is-open{opacity:1;background:rgba(0,0,0,.1);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.search-overlay.is-closing{opacity:0;background:rgba(255,255,255,0);backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0);pointer-events:none}
.search-dialog{height:min(720px,88vh);max-height:none;background:rgba(24,24,24,.88);backdrop-filter:blur(26px);-webkit-backdrop-filter:blur(26px);opacity:0;transform:translateY(10px) scale(.985);transition:opacity .24s ease,transform .28s cubic-bezier(.2,.75,.25,1)}
.search-overlay.is-open .search-dialog{opacity:1;transform:translateY(0) scale(1)}
.search-overlay.is-closing .search-dialog{opacity:0;transform:translateY(6px) scale(.99)}
.search-dialog-top{flex:0 0 auto}
.search-input-wrap{background:transparent;transition:none}
.search-input-wrap:focus-within{box-shadow:none}
.search-clear{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;color:#aaa;opacity:.8;cursor:pointer;transition:color .16s ease,opacity .16s ease,background-color .16s ease}
.search-clear[hidden]{display:none}
.search-clear:hover{background:transparent;color:#aaa;opacity:.8}
.search-clear svg{width:18px;height:18px;stroke-width:1.75}
.search-content{flex:1;min-height:0;overflow:hidden}
.search-results-wrap{min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#5c5c5c transparent}
.search-results-wrap::-webkit-scrollbar{width:5px}
.search-results-wrap::-webkit-scrollbar-thumb{background:#5c5c5c;border-radius:99px}
.search-result{transition:background-color .15s ease,transform .18s ease}
.search-result:hover{transform:translateY(-1px)}
@media(max-width:680px){.search-dialog{height:92vh;max-height:none}.search-content{overflow:hidden}.search-results-wrap{flex:1}.search-clear{width:25px;height:25px;flex-basis:25px}}
@media(prefers-reduced-motion:reduce){.search-overlay,.search-dialog,.search-result,.search-input-wrap,.search-clear{transition:none}}
/* Search results use the same landscape image-led hierarchy as project cards. */
.search-results{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}
.search-result{min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:11px;padding:9px;background:rgba(255,255,255,.025)}
.search-thumb{width:100%;height:auto;aspect-ratio:1.74/1;flex:0 0 auto}
.search-thumb .cover-device{width:94px;height:160px;padding:13px 9px;border-radius:16px;transform:rotate(-5deg)}
.search-thumb .cover-device:before{top:5px;width:19px;height:3px;left:calc(50% - 9.5px)}
.search-thumb .mini-chart{height:40px;gap:3px;padding:4px}
.search-result-copy{gap:8px}
.search-result-copy strong{font-size:16px;line-height:20px}
.search-result-tags{display:flex;flex-wrap:wrap;gap:6px}
.search-result-tags em{padding:4px 8px;border-radius:5px;background:rgba(255,255,255,.1);color:#c9c9c9;font:400 10px/14px 'Alte Haas Grotesk',sans-serif;font-style:normal}
@media(max-width:680px){.search-results{grid-template-columns:1fr}.search-result{gap:10px;padding:8px}.search-thumb .cover-device{width:82px;height:140px}.search-result-copy strong{font-size:14px;line-height:18px}}
/* Compact image-led search grid: three columns on desktop and two on mobile. */
.search-results{grid-template-columns:repeat(3,minmax(0,1fr))}
.search-thumb{aspect-ratio:2.05/1}
.search-result-copy strong{font-size:18px;line-height:23px}
.search-result-tags{gap:8px}
.search-result-tags em{padding:0;background:transparent;color:#c9c9c9;font-size:12px;line-height:17px}
.search-result:hover{transform:none}
.search-result{border-radius:8px}
.search-result:hover{background:rgba(255,255,255,.065)}
.search-thumb{border-radius:8px}
.search-result-copy{gap:4px}
.search-results{gap:8px}
.search-result-tags{gap:0}
.search-result-tags em{padding:0}
.search-result-tags em:not(:last-child)::after{content:"·";margin:0 7px;color:#aaa}
@media(max-width:680px){.search-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.search-result{gap:7px;padding:7px}.search-thumb{aspect-ratio:1.8/1}.search-thumb .cover-device{width:56px;height:96px}.search-result-copy strong{font-size:16px;line-height:20px}.search-result-tags{gap:0}.search-result-tags em{font-size:11px;line-height:15px}.search-result-tags em:not(:last-child)::after{margin:0 5px}}
.site-header{position:fixed;height:60px;align-items:center;padding-top:0;background:rgba(255,255,255,.74);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
@media(max-width:760px){.site-header{height:50px;padding-top:0}}
.hero-kicker>.avatar{position:relative;display:block;flex:0 0 32px;width:32px;height:32px;min-width:32px;min-height:32px;padding:0;overflow:hidden;border-radius:50%;aspect-ratio:1/1;line-height:0}
.hero-kicker>.avatar>.profile-slideshow-image{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:none;max-height:none;object-fit:cover;border-radius:50%;clip-path:circle(50%)}
.detail-case-images[hidden]{display:none!important}
.detail-case-images{display:flex;flex-direction:column}
.case-image,.case-image-one,.case-image-two{width:100%;height:auto;min-height:0;background:transparent}
.case-image img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.project-cover-image,.more-project-cover-image{transition:transform .32s ease}
.project-card:hover .project-cover-image,.more-project-card:hover .more-project-cover-image{transform:scale(1.04)}
.case-image{overflow:hidden}
.detail-hero-image-frame{width:min(1152px,calc(100% - 48px));aspect-ratio:1152/739;margin:56px auto 0;border-radius:12px;overflow:hidden;background:#f2f2f0}
.detail-hero-image{display:block;width:100%;height:100%;margin:0;aspect-ratio:auto;border-radius:inherit;background:transparent;object-fit:cover}
@media(max-width:760px){.detail-hero-image-frame{width:calc(100% - 40px);aspect-ratio:1/1.05;margin-top:46px}}
@media(prefers-reduced-motion:reduce){.project-cover-image,.more-project-cover-image{transition:none}}
.status-released{background:rgba(37,99,235,.1);color:rgba(37,99,235,.7)}
.status-concept{background:rgba(0,0,0,.05);color:rgba(0,0,0,.6)}
.detail-chip.status-released{background:rgba(37,99,235,.1);color:rgba(37,99,235,.7)}
.detail-chip.status-concept{background:rgba(0,0,0,.05);color:rgba(0,0,0,.6)}

/* Neutral placeholders keep the layout steady until local portfolio images load. */
.hero-kicker>.avatar,.profile-photo-placeholder{background:#e5e7eb;color:transparent}
.profile-photo-placeholder{display:block}
.profile-photo-placeholder img{background:#e5e7eb}
.image-loading{position:relative!important;overflow:hidden!important;background:#e5e7eb!important}
.image-loading::before{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;transform:translateX(-100%);background:linear-gradient(105deg,transparent 25%,rgba(255,255,255,.72) 48%,transparent 70%);animation:image-placeholder-shimmer 1.25s ease-in-out infinite}
@keyframes image-placeholder-shimmer{to{transform:translateX(100%)}}
.cover-art.image-loading .cover-device{display:none}
.detail-hero-image-frame.image-loading{background:#e5e7eb!important}
.app-icon-placeholder.image-loading{background:linear-gradient(155deg,#334155,#050505)!important;box-shadow:0 10px 28px rgba(0,0,0,.12)!important}
.app-icon-placeholder.image-loading img{background:#e5e7eb}
.detail-page-loading .detail-skeleton-line,.detail-page-loading .detail-skeleton-block{position:relative;overflow:hidden;background:#e9eaec;border-radius:7px}
.detail-skeleton-line{height:15px;max-width:480px;margin:0 auto 12px}
.detail-skeleton-heading{height:36px;width:min(76vw,760px);margin-top:46px}
.detail-skeleton-lead{height:18px;width:min(58vw,560px)}
.detail-skeleton-button{width:142px;height:46px;border-radius:999px;margin-top:25px}
.detail-page-loading .detail-hero-image-frame{margin-top:27px}
.detail-skeleton-copy .detail-skeleton-line{width:135px;margin:0 0 20px}
.detail-skeleton-block{height:160px;width:100%}
.detail-page-loading .detail-overview{min-height:310px}
@media(max-width:760px){
  .detail-skeleton-heading{height:28px;width:88vw;margin-top:32px}
  .detail-skeleton-lead{width:78vw}
  .detail-skeleton-button{height:40px;margin-top:19px}
  .detail-page-loading .detail-hero-image-frame{margin-top:24px}
  .detail-page-loading .detail-overview{min-height:390px}
}
@media(prefers-reduced-motion:reduce){.image-loading::before{animation:none;transform:none;opacity:.3}}

/* About profile card sizing and spacing */
.about-profile{padding-top:112px}
.about-profile .profile-photo-placeholder{width:84px;height:84px}
.about-profile .profile-name{font-size:16px;line-height:21px}
.about-profile .profile-role{margin-top:10px}
@media(max-width:760px){.about-profile{padding-top:92px}.about-profile .profile-photo-placeholder{width:80px;height:80px}}

/* Optional header logo: upload the SVG to assets/site/logo.svg. */
.wordmark-logo{display:none;width:auto;height:20px;max-width:120px;object-fit:contain;opacity:.4}
.wordmark.has-logo .wordmark-logo{display:block}
.wordmark.has-logo .wordmark-fallback{display:none}
@media(max-width:760px){.wordmark-logo{height:20px;max-width:104px}}

/* Show the uploaded screen image only; missing files leave a neutral gray phone screen. */
.phone-screen.hero-screen-placeholder{background:#e5e7eb!important}

/* Uploaded PNGs include the complete mockup; leave failed images as a gray screen. */
.phone-stage .phone:first-child{clip-path:inset(0 0 0 0);z-index:1}
.phone-stage .phone{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;transition:none}
.phone-screen.hero-screen-placeholder{padding:0;border:0;border-radius:0;background:#e5e7eb!important;box-shadow:none}

/* Hero mockups use the uploaded bezel and have room for their soft PNG shadows. */
.hero{padding-top:112px}
.hero-kicker{transform:none}
.hero h1{margin-top:372px}
.phone-stage{top:170px;width:360px;height:457px;overflow:visible;mask-image:linear-gradient(to bottom,#000 0%,#000 60%,transparent 70%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 60%,transparent 70%,transparent 100%);transform:translateX(-50%) scale(1.1);transform-origin:top center}
.phone-stage .phone{width:232px;height:457px;margin-left:-116px}
.phone-screen.hero-screen-placeholder{background:#e5e7eb!important}
.phone-screen.hero-screen-placeholder.is-loaded{background:transparent!important}
@media(max-width:760px){
  .hero{padding-top:86px}
  .hero h1{margin-top:274px}
  .phone-stage{top:140px;width:330px;height:457px;transform:translateX(-50%) scale(.92)}
  .phone-stage .phone{width:232px;height:457px;margin-left:-116px}
}

/* Fade the mockups with a white overlay instead of masking their PNG pixels and shadows. */
.hero{padding-top:100px}
.hero h1{margin-top:432px}
.phone-stage{
  height:520px;
  overflow:visible;
  mask-image:none!important;
  -webkit-mask-image:none!important;
}
.phone-stage::after{
  content:"";
  position:absolute;
  z-index:5;
  pointer-events:none;
  left:-80px;
  right:-80px;
  top:274px;
  bottom:-60px;
  background:linear-gradient(to bottom,rgba(255,255,255,0) 0%,#fff 18%,#fff 100%);
}
@media(max-width:760px){
  .hero{padding-top:76px}
  .hero h1{margin-top:364px}
  .phone-stage{height:520px}
}

@media(max-width:680px){
  .search-overlay{padding:48px 12px}
  .search-dialog{height:calc(100dvh - 96px);max-height:none}
}

/* Keep the main cover placeholder stretched to its card while the image loads. */
.cover-art.image-loading{position:absolute!important;inset:0}

/* Use one rounded clip for detail app icons; remove the extra gradient rim and shadow. */
.app-icon-placeholder{background:linear-gradient(155deg,#334155,#050505);box-shadow:0 10px 28px rgba(0,0,0,.12)}
.app-icon-placeholder img{border-radius:0}

@media(max-width:760px){
  .site-header .nav-links a[href^="mailto:"]{display:none}
  .site-header .search-pill{
    width:44px;
    min-width:44px;
    height:44px;
    min-height:44px;
    padding:0;
    justify-content:center;
    background:transparent;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    font-size:0;
  }
  .project-cover{height:auto;aspect-ratio:1.65/1}
  .more-project-cover{min-height:0;aspect-ratio:1.65/1}
}

.project-hover-cursor-card{background:transparent}

/* Slightly tighten project tag spacing across cards, filters, and detail facts. */
.filter-row>.tag{padding:10px}
.cover-tags .tag{padding:7px 10px}
.detail-chip{min-height:34px;padding:0 10px}
.status,.detail-chip.status-released,.detail-chip.status-concept{font-size:14px}
@media(max-width:760px){
  .filter-row>.tag{padding:7px}
  .cover-tags .tag{padding:6px 8px}
  .detail-chip{min-height:30px;padding:0 8px}
  .status{font-size:12px;line-height:17px;padding:6px 8px}
  .detail-chip.status-released,.detail-chip.status-concept{font-size:13px}
}

.project-meta{gap:10px}
.more-project-meta .project-desc{margin-top:4px}


/* One more small padding reduction for Released and Concept badges. */
.status{padding:5px 11px}
.detail-chip.status-released,.detail-chip.status-concept{min-height:33px;padding-inline:9px}
@media(max-width:760px){
  .status{padding:5px 7px}
  .detail-chip.status-released,.detail-chip.status-concept{min-height:29px;padding-inline:7px}
}

@media(max-width:760px){
  /* Preserve the original visual spacing while keeping the 44px tap target. */
  .site-header .search-pill{margin-inline:-14px}
}

.cursor-preview-icon.is-loading{background:#333}

.hero-kicker>.avatar{box-shadow:0 3px 9px rgba(0,0,0,.12)}
/* Shared portfolio footer */
.portfolio-footer{position:relative;isolation:isolate;overflow:hidden;min-height:max(760px,calc(100vh + 160px));background:linear-gradient(to bottom,transparent 0 44%,#050505 44% 100%);}
.footer-columns{position:absolute;inset:0 0 auto;height:75%;display:grid;grid-template-columns:repeat(9,minmax(0,1fr));pointer-events:none;}
.footer-columns span{height:100%;background:linear-gradient(to bottom,#fff 0%,#fff 10%,#df3543 35%,#050505 65%,#050505 100%);}
.footer-columns span:nth-child(1){transform:translateY(0)}
.footer-columns span:nth-child(2){transform:translateY(10%)}
.footer-columns span:nth-child(3){transform:translateY(19%)}
.footer-columns span:nth-child(4){transform:translateY(25%)}
.footer-columns span:nth-child(5){transform:translateY(34%)}
.footer-columns span:nth-child(6){transform:translateY(25%)}
.footer-columns span:nth-child(7){transform:translateY(16%)}
.footer-columns span:nth-child(8){transform:translateY(8%)}
.footer-columns span:nth-child(9){transform:translateY(0)}
.portfolio-footer-content{position:absolute;z-index:1;left:50%;bottom:58px;transform:translateX(-50%);width:min(var(--max),calc(100% - 96px));display:flex;align-items:end;justify-content:space-between;gap:32px;color:#fff;font-family:'Alte Haas Grotesk',sans-serif;}
.footer-email{font:700 clamp(22px,2.35vw,30px)/1.2 'Alte Haas Grotesk',sans-serif;letter-spacing:0;transition:opacity .2s ease;}
.footer-socials{display:flex;align-items:center;gap:clamp(18px,3.4vw,48px);}
.footer-socials a{color:rgba(255,255,255,.72);font-size:14px;transition:color .2s ease;}
.footer-email:hover,.footer-socials a:hover{color:#fff;opacity:.78;}
.footer-email:focus-visible,.footer-socials a:focus-visible{outline:2px solid #fff;outline-offset:5px;border-radius:2px;}
@media(max-width:760px){.portfolio-footer{min-height:max(620px,calc(100vh + 160px));background:linear-gradient(to bottom,transparent 0 44%,#050505 44% 100%)}.footer-columns{height:68%;grid-template-columns:repeat(5,minmax(0,1fr))}.footer-columns span:nth-child(n+6){display:none}.footer-columns span:nth-child(2){transform:translateY(12%)}.footer-columns span:nth-child(3){transform:translateY(27%)}.footer-columns span:nth-child(4){transform:translateY(18%)}.footer-columns span:nth-child(5){transform:translateY(6%)}.portfolio-footer-content{bottom:36px;width:calc(100% - 40px);align-items:flex-start;flex-direction:column;gap:17px}.footer-email{font-size:23px}.footer-socials{flex-wrap:wrap;gap:13px 22px}.footer-socials a{font-size:13px}}
.projects-section{padding-bottom:300px}
.more-projects{padding-bottom:220px}
@media(max-width:760px){.projects-section{padding-bottom:190px}.more-projects{padding-bottom:144px}}
