/* Yaseer Official: clear monochrome structure with the original orange mark. */
:root{--brand-orange:#ff7437;--space:clamp(1.2rem,4vw,4rem)}
/* A short, decorative introduction assembled from the original logo. */
.site-intro { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .site-intro.is-playing { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; overflow: hidden; pointer-events: none; background: #101010; animation: intro-exit 2.8s ease-in-out both; }
  .site-intro.is-playing::before { content: ""; position: absolute; inset: -35%; background: radial-gradient(ellipse at 50% 65%, rgba(248,117,63,.14), transparent 36%), radial-gradient(ellipse at 35% 30%, rgba(255,255,255,.06), transparent 42%); animation: intro-background 2.8s ease-in-out both; }
  .site-intro.is-playing::after { content: "✦   ·   ✧"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(248,117,63,.24); font-size: clamp(.75rem, 2vw, 1rem); letter-spacing: clamp(3.5rem, 13vw, 9rem); padding-left: clamp(3.5rem, 13vw, 9rem); transform: translateY(-135px); animation: intro-sparkle 2.8s ease-in-out both; }
  .site-intro__content { position: relative; display: grid; place-items: center; animation: intro-settle 2.8s cubic-bezier(.22,1,.36,1) both; }
  .site-intro__mark { position: relative; width: min(clamp(105px, 28vw, 150px), 22svh); height: auto; overflow: visible; }
  .site-intro__piece { transform-box: fill-box; transform-origin: center; animation: intro-piece 1.05s cubic-bezier(.22,1,.36,1) both, intro-fill 1s .25s cubic-bezier(.4,0,.2,1) both; }
  .site-intro__piece--left { --intro-x: -32px; --intro-y: -20px; --intro-turn: -9deg; animation-delay: .08s, .2s; }
  .site-intro__piece--center { --intro-x: 0px; --intro-y: 38px; --intro-turn: 5deg; animation-delay: .2s, .35s; }
  .site-intro__piece--accent { --intro-x: 30px; --intro-y: -28px; --intro-turn: 12deg; animation-delay: .34s, .5s; }
  @keyframes intro-piece { 0% { opacity: 0; transform: translate(var(--intro-x), var(--intro-y)) rotate(var(--intro-turn)) scale(.85); } 70% { opacity: 1; transform: translate(0, 0) rotate(0) scale(1.03); } 100% { opacity: 1; transform: translate(0, 0) rotate(0) scale(1); } }
  @keyframes intro-fill { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
  @keyframes intro-background { from { opacity: .35; transform: translateY(5%) scale(.9); } 60% { opacity: 1; } to { opacity: .65; transform: translateY(-5%) scale(1.1); } }
  @keyframes intro-sparkle { 0% { opacity: 0; transform: translateY(-120px); } 45%, 65% { opacity: 1; } 100% { opacity: 0; transform: translateY(-150px); } }
  @keyframes intro-settle { 0% { transform: scale(.9); } 50%, 75% { transform: scale(1); } 100% { transform: scale(1.04); } }
  @keyframes intro-exit { 0%, 75% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }
}
@media (max-width: 600px) {
  .site-intro__mark { width: min(clamp(90px, 23vw, 125px), 19svh); }
}
.site-header{height:78px;display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:0 var(--space);background:#f6f6f4}.site-header .brand{flex:none}.site-header .brand img,footer .brand img{width:48px;height:48px;border-radius:8px;filter:none}.site-nav{position:static;display:flex!important;flex-direction:row;justify-content:center;align-items:center;gap:clamp(.25rem,1vw,.8rem);padding:0;background:none;border:0}.site-nav a,.resume-icon{position:relative;display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;color:#111;transition:background .2s,color .2s,transform .2s}.site-nav a:hover,.site-nav a:focus-visible,.resume-icon:hover{background:#111;color:#fff;text-decoration:none;transform:translateY(-2px)}.site-nav a[aria-current]{background:#111;color:#fff;text-decoration:none}.site-nav svg,.resume-icon svg{width:21px;height:21px}.resume-icon{border:1px solid #bbb}.case-wordmark img{display:block;border-radius:7px}.case-wordmark{width:48px;height:48px}.apps-page .brand img{filter:none}
.hero{min-height:min(700px,calc(100vh - 96px));margin:0 var(--space);border-radius:20px;isolation:isolate}.hero__portrait:after{background:linear-gradient(90deg,#080808 4%,rgba(8,8,8,.96) 25%,rgba(8,8,8,.52) 58%,rgba(8,8,8,.06))}.hero__portrait img{object-position:70% 40%;filter:grayscale(1) contrast(1.08)}.hero__copy{padding-top:clamp(7rem,12vw,11rem)}.hero h1{font-size:clamp(3.7rem,7.8vw,7.5rem);line-height:.9;max-width:760px}.hero h1 span{font-size:.56em;color:#c4c4c4}.hero-button{display:inline-flex;align-items:center;gap:1.5rem;min-height:46px}.hero-button:hover{background:var(--brand-orange);color:#111}.hero__bottom{color:#dedede}.big-statement{font-size:clamp(4rem,11.6vw,11rem);line-height:.82;letter-spacing:-.07em;padding-bottom:clamp(4rem,7vw,7rem)}.big-statement span{color:#aaa}
.section{padding:clamp(5rem,9vw,9rem) var(--space)}.section-heading{grid-template-columns:1fr minmax(220px,.42fr);gap:2rem;align-items:end}.section-heading h2,.about h2,.skills h2,.services__intro h2,.contact h2{font-size:clamp(3.2rem,7vw,6.7rem);line-height:.92;letter-spacing:-.065em;overflow-wrap:normal}.section-heading>p{font-size:1rem;line-height:1.6}.eyebrow{font-weight:700}.eyebrow span{display:inline-block;color:#777!important}
.priority-work{gap:1px;margin-bottom:1px;background:#bcbcbc;border-top:1px solid #bcbcbc;border-bottom:1px solid #bcbcbc}.priority-work__item{background:#f5f5f4;padding:clamp(1.5rem,4vw,4rem) 0;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(2rem,5vw,6rem);align-items:center}.priority-work__identity{aspect-ratio:1.7;border-radius:0;position:relative;padding:clamp(1.5rem,3vw,3rem)}.priority-work__identity strong{font-size:clamp(4rem,8vw,8rem);line-height:.85}.priority-work__item--merqlo .priority-work__identity{background:#dededc}.priority-work__identity small,.priority-work__identity>span{font-size:.65rem;letter-spacing:.12em}.priority-work__body{border-top:1px solid #111}.priority-work__body h3{font-size:clamp(2.5rem,4.5vw,4.5rem)}.priority-work__body p:not(.project-index){max-width:450px;line-height:1.65}.priority-work__body .text-link{display:inline-flex;align-items:center;gap:1rem;padding:.8rem 0}.featured-project{margin-top:4rem;grid-template-columns:1fr 1fr;border:0;background:#e7e7e5}.featured-project__visual{min-height:360px;background:#111}.featured-project__visual img{width:min(35%,190px)}.featured-project__copy{padding:clamp(2rem,4vw,4rem)}.project-story--book{grid-template-columns:1fr 2fr;gap:2rem;margin-top:1rem}.project-story--book .project-mark{display:none}.project-story--book:after{display:none}.work-note{border-color:#aaa}
.about{grid-template-columns:.38fr 1fr;gap:6vw}.about__label{border-top:1px solid #777;padding-top:1.3rem}.about__body{border-top:1px solid #777;padding-top:1.3rem}.about__columns{font-size:1rem;line-height:1.8}.about .text-link{display:inline-block;padding:.7rem 0}.timeline article{grid-template-columns:minmax(150px,.35fr) 1fr;gap:2rem;padding:1.75rem 0}.timeline h3{font-size:clamp(1.4rem,2.2vw,2.1rem)}.timeline time{font-family:Arial,sans-serif;font-weight:700;color:#555}.skills{grid-template-columns:.55fr 1fr;gap:8vw}.skill-groups{border-left:0}.skill-groups article{padding:2rem 1.5rem;border-right:0}.skill-groups article:nth-child(odd){border-right:1px solid #aaa}.skill-groups h3{font-size:1.4rem}.skill-groups p{line-height:1.7}.services{gap:8vw}.service-list article{padding:1.8rem 0}.service-list h3{font-size:clamp(1.3rem,2vw,1.8rem)}.service-list p{line-height:1.7}.certificate-list a{min-height:92px}.contact{gap:8vw}.contact h2{margin-bottom:2rem}.contact-form{align-content:start}.field input,.field textarea{min-height:48px}.contact .button--primary{min-height:48px}.contact__lead>a{font-size:clamp(.85rem,1.5vw,1.2rem)}
/* Each section enters with its own small, one-time movement. Content is visible without JS. */
@media(prefers-reduced-motion:no-preference){.motion-ready .motion-item{transition:opacity .65s ease,transform .7s cubic-bezier(.2,.7,.2,1);opacity:0}.motion-ready .motion-item.is-visible{opacity:1;transform:none}.motion-ready .work .motion-item{transform:translateY(30px)}.motion-ready .about .motion-item{transform:translateX(-28px)}.motion-ready .journey .motion-item{transform:translateX(24px)}.motion-ready .skills .motion-item{transform:scale(.97)}.motion-ready .services .motion-item{transform:translateY(22px)}.motion-ready .certificates .motion-item{transform:translateX(-22px)}.motion-ready .contact .motion-item{transform:translateY(24px)}.motion-ready .motion-item.is-visible{transform:none}.hero__copy{animation:hero-in .7s ease-out both}.hero__portrait img{animation:portrait-in 1s ease-out both}@keyframes hero-in{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}@keyframes portrait-in{from{opacity:.6;transform:scale(1.025)}to{opacity:1;transform:scale(1)}}}
@media(max-width:900px){.site-header{height:74px}.site-nav{top:auto;left:auto;right:auto}.hero{min-height:600px}.priority-work__item{grid-template-columns:1fr}.priority-work__identity{aspect-ratio:1.75}.about,.skills,.services,.contact{grid-template-columns:1fr}.section-heading{grid-template-columns:1fr}.section-heading>p{max-width:520px}}
@media(max-width:560px){.site-header{height:auto;min-height:70px;gap:.3rem;padding:.6rem .75rem}.site-header .brand img{width:38px;height:38px}.site-nav{gap:0;flex:1;justify-content:space-evenly}.site-nav a{width:36px;height:42px}.site-nav svg{width:18px;height:18px}.resume-icon{width:38px;height:38px}.resume-icon svg{width:18px}.hero{margin:0 .75rem;min-height:600px}.hero__copy{padding:7rem 1.5rem 8rem}.hero h1{font-size:clamp(3.15rem,13vw,5rem)}.hero__portrait:after{background:linear-gradient(90deg,rgba(0,0,0,.94),rgba(0,0,0,.68) 60%,rgba(0,0,0,.28)),linear-gradient(0deg,#080808 0%,transparent 45%)}.big-statement{font-size:clamp(3.5rem,13vw,5.5rem)}.section-heading h2,.about h2,.skills h2,.services__intro h2,.contact h2{font-size:clamp(3rem,11vw,4.5rem)}.priority-work__identity{aspect-ratio:1.3}.priority-work__identity strong{font-size:clamp(4rem,17vw,6rem)}.featured-project{grid-template-columns:1fr}.featured-project__visual{min-height:260px}.project-story--book{grid-template-columns:1fr}.timeline article{grid-template-columns:1fr;gap:.5rem}.skill-groups{grid-template-columns:1fr}.skill-groups article:nth-child(odd){border-right:0}.certificate-list a{grid-template-columns:28px 1fr 20px}.certificate-list time{display:block;grid-column:2;grid-row:2}.certificate-list a b{grid-column:3;grid-row:1}.contact-form{grid-template-columns:1fr}}
@media(max-width:370px){.site-nav a{width:32px}.site-header .brand img{width:34px;height:34px}.resume-icon{width:34px;height:34px}.site-nav svg{width:17px;height:17px}}
@media(prefers-reduced-motion:reduce){.motion-item{opacity:1!important;transform:none!important;transition:none!important}.hero__copy,.hero__portrait img{animation:none!important}html{scroll-behavior:auto}}
/* Keep mobile headlines fully readable and prevent entrance motion from widening the page. */
html,body{overflow-x:clip}
@media(max-width:560px){.hero h1{font-size:clamp(2.25rem,10vw,3.4rem);letter-spacing:-.06em}.hero__copy{padding-top:7.5rem}}
/* About, expertise and experience: Phase 06 */
.experience-feature{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#aaa;border:1px solid #aaa;margin-bottom:4rem}.experience-feature article{background:#111;color:#fff;min-height:235px;padding:clamp(1.6rem,3vw,3rem);display:flex;flex-direction:column;align-items:flex-start}.experience-feature .type{color:#bbb!important}.experience-feature h3{font-size:clamp(1.5rem,2.5vw,2.3rem);letter-spacing:-.04em;line-height:1.05;margin:.4rem 0 1rem}.experience-feature article>p:not(.type){color:#ccc}.experience-feature a{margin-top:auto;padding-top:1.2rem;font-weight:700;font-size:.8rem;border-bottom:1px solid #aaa}.expertise-content{min-width:0}.expertise-list{border-top:1px solid #888}.expertise-list article{display:grid;grid-template-columns:44px 1fr;gap:1rem;padding:2rem 0;border-bottom:1px solid #aaa}.expertise-list article>span{font-size:.7rem;font-weight:700}.expertise-list h3{font-size:clamp(1.6rem,2.5vw,2.4rem);letter-spacing:-.045em;line-height:1;margin:0 0 1rem}.expertise-list p{max-width:560px;margin:0 0 .9rem;line-height:1.7;color:#383838}.expertise-list .expertise-tools{font-size:.78rem;color:#555;margin:0}.toolkit-note{display:grid;grid-template-columns:1fr 1fr;gap:2rem;padding-top:2rem;font-size:.86rem;line-height:1.7;color:#444}.toolkit-note strong{color:#111}.motion-ready .skills .motion-item{transform:scale(.97)}.motion-ready .skills .motion-item.is-visible{transform:none}@media(max-width:560px){.experience-feature{grid-template-columns:1fr}.experience-feature article{min-height:190px}.toolkit-note{grid-template-columns:1fr;gap:.25rem}.expertise-list article{grid-template-columns:32px 1fr}}
/* Responsive refinements: larger mobile targets and readable hero controls. */
@media(min-width:901px){.hero__copy{max-width:min(100%,1000px)}.hero h1{max-width:850px}}
.hero__bottom>span:last-child{background:rgba(0,0,0,.72);color:#fff;padding:.35rem .55rem;border-radius:2px}
@media(max-width:560px){.site-header{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;gap:.35rem;padding:.55rem .75rem}.site-header .brand{grid-column:1;grid-row:1}.site-header .resume-icon{grid-column:2;grid-row:1;min-width:44px;min-height:44px}.site-header .site-nav{grid-column:1/-1;grid-row:2;display:flex;justify-content:space-between;width:100%}.site-header .site-nav a{width:42px;height:44px;flex:0 1 44px}.hero{min-height:600px}}
/* Motion is decorative; keyboard focus and reduced-motion users always see content. */
.motion-ready .motion-item:focus-within{opacity:1;transform:none}
@media (prefers-reduced-motion:no-preference){
  .priority-work__identity strong{transition:transform .45s cubic-bezier(.2,.7,.2,1)}
  .priority-work__item:hover .priority-work__identity strong{transform:translateX(.3rem)}
  .service-list article b,.certificate-list a b,.hero-button span{display:inline-block;transition:transform .2s ease}
  .service-list article:hover b,.certificate-list a:hover b,.hero-button:hover span{transform:translate(3px,-3px)}
  .timeline article{transition:background-color .2s ease}
  .timeline article:hover{background-color:rgba(0,0,0,.035)}
}
.archive-fallback{padding:2rem 0}.archive-fallback ol{padding-left:1.5rem}.archive-fallback li{margin:0 0 1.25rem;line-height:1.6}.archive-fallback a{text-decoration:underline;text-underline-offset:.2em}
.case-live-link{display:inline-flex;align-items:center;gap:1.2rem;background:#0b0b0b;color:#fff;border-radius:999px;padding:.8rem 1.1rem;min-height:46px;font-size:.8rem;font-weight:700;margin-top:.75rem}.case-live-link:hover{background:#333}.case-live-link:focus-visible{outline:3px solid #8a5a16;outline-offset:4px}
.eyebrow span{color:#555!important}
.about .eyebrow span,.contact .eyebrow span{color:#ccc!important}
.priority-work__item--pixel .priority-work__identity{background:#e5e5e3;color:#111}.priority-work__item--pixel .pixelproud-logo{display:block;width:min(90%,540px);height:auto}.pixelproud-brand{margin:0 var(--space) clamp(4rem,8vw,8rem);padding:clamp(3rem,8vw,7rem);min-height:260px;background:#e5e5e3;display:flex;align-items:center;justify-content:center}.pixelproud-brand img{display:block;width:min(100%,700px);height:auto}
.priority-work__item .project-brand-icon{display:block;align-self:center;width:clamp(150px,23vw,250px);height:auto;max-height:70%;object-fit:contain}.priority-work__item--pixel .priority-work__identity{background:#f4f7fc}.priority-work__item--merqlo .priority-work__identity{background:#e5e5e3}.pixelproud-brand{background:#f4f7fc}.pixelproud-brand .project-brand-icon{width:clamp(150px,23vw,260px);height:auto}.merqlo-brand{background:#e5e5e3}
/* Sticky icon navigation, project presentation and footer refinement. */
.site-header{position:sticky;top:0;z-index:50;background:#f7f7f5;border-bottom:1px solid #dadada;box-shadow:0 4px 20px rgba(0,0,0,.05)}
.site-nav{padding:.2rem .4rem;background:#eaeae8;border:1px solid #dededb;border-radius:999px}.site-nav a,.resume-icon{transition:background-color .2s,color .2s,transform .2s}.site-nav a:hover,.site-nav a:focus-visible{background:#1a1a1a;color:#fff}.site-nav a[aria-current]{background:#111;color:#fff}.resume-icon{background:#111;color:#fff;border-color:#111}.resume-icon:hover{background:#333}.site-header .brand img{border-radius:10px}main section[id]{scroll-margin-top:100px}html{scroll-padding-top:100px}
.work .section-heading{margin-bottom:clamp(3rem,5vw,5rem)}.priority-work{background:transparent;border:0;gap:clamp(1.2rem,2vw,2rem)}.priority-work__item{padding:0;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:0;background:#fff;border:1px solid #dededb;overflow:hidden;border-radius:14px}.priority-work__identity{min-height:360px;aspect-ratio:auto;padding:clamp(1.5rem,3vw,3rem);justify-content:space-between}.priority-work__item--pixel .priority-work__identity{background:#e9eef6}.priority-work__item--merqlo .priority-work__identity{background:#e5e9ed}.priority-work__item .project-brand-icon{max-height:190px;width:clamp(130px,17vw,210px);height:auto;object-fit:contain;transition:transform .35s ease}.priority-work__item:hover .project-brand-icon{transform:scale(1.04)}.priority-work__identity>span,.priority-work__identity small{color:#464646;font-size:.62rem;letter-spacing:.12em}.priority-work__body{border:0;padding:clamp(2rem,4vw,4.5rem)}.priority-work__body h3{margin:.9rem 0 1.2rem}.priority-work__body p:not(.project-index){max-width:460px}.project-actions{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.5rem;margin-top:2rem}.project-link{display:inline-flex;align-items:center;gap:1.5rem;min-height:46px;padding:.8rem 1.15rem;background:#111;color:white;border-radius:999px;font-size:.78rem;font-weight:700}.project-link:hover{background:#333}.project-detail{font-size:.78rem;font-weight:700;border-bottom:1px solid #111;padding:.55rem 0}.featured-project{margin-top:clamp(1.2rem,2vw,2rem);border:1px solid #dededb;border-radius:14px;overflow:hidden;background:#ececeb}.featured-project__visual{min-height:360px;background:#111;display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;overflow:hidden;padding:3rem}.featured-project__visual:before,.featured-project__visual:after{display:none!important}.featured-project__visual .js-art{width:clamp(130px,15vw,190px);aspect-ratio:1;display:grid;place-items:center;overflow:hidden;border-radius:5px}.featured-project__visual .js-art img{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:contain;filter:none;opacity:1;transform:none!important}.featured-project__visual>span{position:absolute;bottom:1.5rem;left:1.5rem;color:#ccc;font-size:.62rem}.featured-project__copy{padding:clamp(2rem,4vw,4.5rem)}.featured-project__copy h3{max-width:500px}.featured-project__copy .button{border-radius:999px}.work-note{margin-top:3rem;padding-top:1.5rem}
.site-footer{display:block;background:#0b0b0b;color:#f5f5f4;padding:clamp(4rem,7vw,7rem) var(--space) 1.5rem;font-size:1rem}.footer-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5rem;padding-bottom:clamp(4rem,6vw,6rem)}.footer-mark{display:inline-block}.footer-mark img{width:52px;height:52px;border-radius:10px}.footer-intro>p,.footer-links nav>p,.footer-bottom{font:700 .67rem/1.6 Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#aaa}.footer-intro>p{margin:2rem 0 1rem}.footer-intro h2{font-size:clamp(3rem,6vw,6.4rem);line-height:.9;letter-spacing:-.065em;margin:0 0 2rem;font-weight:900}.footer-intro h2 span{color:#858585}.footer-email{display:inline-flex;gap:1rem;max-width:100%;overflow-wrap:anywhere;font-weight:700;font-size:clamp(.9rem,1.4vw,1.15rem);border-bottom:1px solid #777;padding:.4rem 0}.footer-links{display:grid;grid-template-columns:repeat(2,minmax(110px,1fr));gap:clamp(2rem,4vw,4rem);align-content:end}.footer-links nav{display:flex;flex-direction:column;gap:.7rem}.footer-links nav>p{margin:0 0 .8rem}.footer-links nav a{width:max-content;font-size:.9rem;color:#ddd}.footer-links a:hover,.footer-email:hover,.footer-bottom a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:1rem;border-top:1px solid #444;padding-top:1.5rem}.footer-bottom a{color:#eee}
@media(max-width:900px){.priority-work__item{grid-template-columns:1fr}.priority-work__identity{min-height:300px}.footer-top{grid-template-columns:1fr;gap:3rem}.footer-links{max-width:480px}.featured-project{grid-template-columns:1fr}}
@media(max-width:560px){.site-header{padding:.5rem .75rem;gap:.2rem}.site-nav{border:0;background:transparent;padding:0;border-radius:0}.site-nav a{width:42px;height:44px}.site-header .brand img{width:38px;height:38px}.resume-icon{min-width:44px;min-height:44px}html{scroll-padding-top:125px}main section[id]{scroll-margin-top:125px}.priority-work__identity{min-height:250px}.priority-work__body{padding:1.6rem}.featured-project__visual{min-height:240px;padding:3rem}.featured-project__visual .js-art{width:130px}.footer-top{gap:3rem}.footer-links{gap:2rem}.footer-bottom{align-items:flex-start;flex-wrap:wrap;gap:.8rem 1.5rem}.footer-bottom a{margin-left:auto}}
@media(prefers-reduced-motion:reduce){.priority-work__item .project-brand-icon{transition:none}.priority-work__item:hover .project-brand-icon{transform:none}}
/* The section margin alone offsets sticky navigation for anchor links. */
html{scroll-padding-top:0}
/* About: portrait, introduction and a compact discipline line. */
.about.section{display:block;background:#101010;color:#f5f5f4;padding:clamp(5rem,8vw,8rem) var(--space)}
.about__heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;border-top:1px solid #515151;padding-top:1.3rem;margin-bottom:clamp(3rem,5vw,5rem)}
.about__heading .eyebrow{margin:0;color:#ddd!important}.about__location{margin:0;font:700 .66rem/1.4 Arial,sans-serif;letter-spacing:.1em;color:#bcbcbc}.about__location span{color:#ff7437;margin-left:.35rem}
.about__layout{display:grid;grid-template-columns:minmax(250px,.65fr) minmax(0,1.35fr);gap:clamp(3rem,7vw,7rem);align-items:start}
.about__profile{min-width:0}.about__photo{aspect-ratio:4/5;overflow:hidden;background:#292929;border-radius:3px}.about__photo img{width:100%;height:100%;object-fit:cover;object-position:50% 42%;filter:grayscale(1) contrast(1.05)}.about__caption{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid #555;padding:1rem 0;font:700 .61rem/1.4 Arial,sans-serif;letter-spacing:.08em;color:#bcbcbc}
.about__body{min-width:0;border:0;padding:0}.about__overline{font:700 .65rem/1.4 Arial,sans-serif;letter-spacing:.12em;color:#aaa;margin:0 0 1.5rem}.about h2{font-size:clamp(3.8rem,7vw,7rem);line-height:.88;letter-spacing:-.065em;margin:0}.about h2 span{color:#858585}.about__columns{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.5rem,3vw,3rem);color:#d1d1d1;margin:clamp(2.5rem,4vw,4rem) 0;line-height:1.8;font-size:1rem}.about__columns p{margin:0;max-width:470px}.about__bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;border-top:1px solid #515151;padding-top:1.5rem}.about__resume{display:inline-flex;align-items:center;gap:1.5rem;background:#f5f5f4;color:#111;border-radius:999px;min-height:48px;padding:.8rem 1.2rem;white-space:nowrap;font-size:.8rem;font-weight:700}.about__resume:hover{background:#ff7437;color:#111}.about__bottom p{max-width:330px;margin:0;font:700 .6rem/1.8 Arial,sans-serif;letter-spacing:.08em;color:#aaa;text-align:right}.about__bottom p span{color:#ff7437}
@media(max-width:900px){.about__layout{grid-template-columns:minmax(180px,.65fr) minmax(0,1.35fr);gap:2.5rem}.about__columns{grid-template-columns:1fr;gap:1.2rem}.about__bottom{align-items:flex-start;flex-direction:column}.about__bottom p{text-align:left}}
@media(max-width:600px){.about__heading{margin-bottom:2.5rem}.about__layout{grid-template-columns:1fr;gap:2.5rem}.about__profile{max-width:430px}.about__photo{aspect-ratio:4/3}.about h2{font-size:clamp(3.1rem,11vw,4.8rem)}.about__columns{margin:2rem 0;gap:1rem}.about__bottom{gap:1.5rem}.about__location{font-size:.6rem}}
/* JavaScript archive: an editorial index of real projects. */
.apps-page{background:#101010}.apps-hero{display:block;position:relative;overflow:hidden;background:#101010;color:#f5f5f4;padding:clamp(3rem,5vw,5rem) var(--space) 2rem}.apps-hero__top,.apps-hero__bottom{display:flex;justify-content:space-between;align-items:center;gap:1rem;font:700 .65rem/1.5 Arial,sans-serif;letter-spacing:.1em;color:#bcbcbc}.apps-hero__top{border-top:1px solid #555;padding-top:1rem}.apps-hero__top .eyebrow{color:#bcbcbc!important;margin:0}.apps-hero__top .eyebrow span{color:#ff7437!important}.apps-hero__top a{color:#ddd}.apps-hero__top a:hover{text-decoration:underline}.apps-hero__main{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.48fr);gap:4vw;align-items:center;padding:clamp(5rem,9vw,9rem) 0}.apps-hero__copy h1{font-size:clamp(4.5rem,10vw,10rem);line-height:.83;letter-spacing:-.075em;font-weight:900;margin:0 0 2rem}.apps-hero__copy h1 em{font-style:normal;color:#8f8f8f}.apps-hero__copy>p{max-width:450px;color:#ccc;font-size:clamp(1rem,1.3vw,1.15rem);line-height:1.7}.apps-hero__cta{display:inline-flex;align-items:center;gap:2rem;min-height:48px;background:#f5f5f4;color:#111;border-radius:999px;padding:.85rem 1.2rem;margin-top:1.2rem;font-weight:700;font-size:.8rem}.apps-hero__cta:hover{background:#ff7437}.apps-hero__art{aspect-ratio:1;max-width:390px;width:100%;justify-self:end;border:1px solid #555;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative}.apps-hero__art:before,.apps-hero__art:after{content:"";position:absolute;inset:9%;border:1px solid #353535;border-radius:50%}.apps-hero__art:after{inset:19%}.apps-hero__symbol{font-size:clamp(6rem,15vw,13rem);line-height:.8;letter-spacing:-.1em;font-weight:900;color:#f5f5f4;position:relative;z-index:1}.apps-hero__symbol span{color:#ff7437}.apps-hero__art>span{font:700 .6rem Arial,sans-serif;letter-spacing:.12em;color:#aaa;position:absolute;bottom:15%}.apps-hero__bottom{border-top:1px solid #555;padding-top:1.2rem}.apps-hero__bottom p{margin:0}.apps-hero__bottom strong{font-size:1.4rem;color:#fff;margin-right:.5rem}
.apps-browser{padding:clamp(5rem,8vw,8rem) var(--space);background:#f5f5f4;color:#111}.apps-browser__head{display:grid;grid-template-columns:1fr minmax(250px,.55fr);gap:3rem;align-items:end}.apps-browser__head .eyebrow{color:#555!important}.apps-browser h2{font-size:clamp(3.2rem,6vw,6rem);line-height:.9;letter-spacing:-.065em;font-weight:900}.search{display:flex;align-items:center;gap:.8rem;padding:0 1rem;border:1px solid #bcbcbc;border-radius:999px;background:#fff;min-height:58px}.search:focus-within{outline:2px solid #333;outline-offset:3px}.search input{border:0;outline:0;background:transparent;padding:.9rem 0;font-size:.9rem;min-width:0}.search__icon{font-size:1.8rem;line-height:1}.search__hint{font:700 .6rem Arial,sans-serif;letter-spacing:.1em;color:#777}.filters{margin:3rem 0 1.5rem;gap:.55rem}.filters button{min-height:44px;border:1px solid #aaa;border-radius:999px;padding:.7rem 1.1rem;font-size:.74rem;font-weight:700}.filters button.is-active,.filters button:hover{background:#111;border-color:#111;color:#fff}.results-bar{border-top:1px solid #111;padding:1.2rem 0;font:700 .65rem Arial,sans-serif;letter-spacing:.08em;color:#555}.results-bar p{margin:0}.webapps-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;border:1px solid #c8c8c6;background:#c8c8c6}.webapp-card{min-height:320px;display:flex;flex-direction:column;background:#fff;border:0;color:#111;padding:clamp(1.5rem,3vw,2.8rem);transition:background .2s ease;box-shadow:none!important;transform:none!important}.webapp-card:hover{background:#eeefed}.webapp-card__top{display:flex;justify-content:space-between;align-items:center;gap:1rem;border-bottom:1px solid #d6d6d4;padding-bottom:1.2rem}.webapp-card__number{font-size:1.5rem;font-weight:800;letter-spacing:-.05em}.webapp-card__number span{font-size:.65rem;font-weight:700;letter-spacing:.05em;color:#777}.webapp-card__category{font:700 .62rem Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#555;text-align:right}.webapp-card__body{padding:0;margin:2rem 0 auto}.webapp-card__title{font-size:clamp(1.5rem,2.3vw,2.2rem);font-weight:800;letter-spacing:-.05em;line-height:1.05;margin:0 0 1rem}.webapp-card__desc{font-size:.9rem;line-height:1.65;color:#555;max-width:470px;margin:0}.webapp-card__tags{display:flex;flex-wrap:wrap;gap:.4rem;margin:1.3rem 0}.webapp-card__tag{border:1px solid #d2d2d0;border-radius:99px;padding:.35rem .6rem;font:700 .58rem Arial,sans-serif;text-transform:uppercase;letter-spacing:.04em}.webapp-card__actions{display:flex;gap:1.5rem;border-top:1px solid #d6d6d4;padding-top:1.2rem;margin-top:1rem}.webapp-card__action{display:inline-flex;align-items:center;gap:.5rem;border:0;font-size:.75rem;font-weight:700;min-height:32px}.webapp-card__action:hover{text-decoration:underline;text-underline-offset:4px}.webapp-card__action--primary{color:#111}.webapp-card__action--secondary{color:#555}.empty-state{padding:5rem 1rem;text-align:center;border:1px solid #ccc;background:#fff}.empty-state h3{font-size:2rem;letter-spacing:-.04em}.apps-page #browse-title{scroll-margin-top:120px}
@media(max-width:900px){.apps-hero__main{grid-template-columns:1fr .45fr}.apps-hero__art{min-width:200px}.apps-browser__head{grid-template-columns:1fr;gap:2rem}}
@media(max-width:600px){.apps-hero__top{align-items:flex-start;flex-direction:column}.apps-hero__main{grid-template-columns:1fr;gap:3rem;padding:4rem 0}.apps-hero__copy h1{font-size:clamp(3.8rem,14vw,5.4rem)}.apps-hero__art{width:200px;min-width:0;justify-self:end}.apps-hero__symbol{font-size:6rem}.apps-hero__bottom{align-items:flex-start;flex-direction:column}.apps-browser h2{font-size:clamp(3rem,11vw,4.5rem)}.filters{margin-top:2rem}.webapps-grid{grid-template-columns:1fr}.webapp-card{min-height:290px}.webapp-card__body{margin-top:1.5rem}}
@media(prefers-reduced-motion:reduce){.webapp-card{transition:none}}
/* Compact project cards: six on wide screens, five on desktop. */
.webapps-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.webapp-card{min-height:255px;padding:1.15rem}.webapp-card__top{padding-bottom:.75rem;gap:.4rem}.webapp-card__number{font-size:1.15rem}.webapp-card__number span{font-size:.56rem}.webapp-card__category{font-size:.55rem;letter-spacing:.05em}.webapp-card__body{margin:1.2rem 0 auto}.webapp-card__title{font-size:clamp(1.05rem,1.35vw,1.35rem);line-height:1.1;letter-spacing:-.035em;margin-bottom:.7rem;overflow-wrap:anywhere}.webapp-card__desc{font-size:.76rem;line-height:1.5}.webapp-card__tags{gap:.3rem;margin:.9rem 0}.webapp-card__tag{font-size:.5rem;padding:.3rem .45rem}.webapp-card__actions{gap:.8rem;flex-wrap:wrap;margin-top:.8rem;padding-top:.8rem}.webapp-card__action{font-size:.68rem;min-height:32px;gap:.25rem}
@media(min-width:1700px){.webapps-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:1199px){.webapps-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){.webapps-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.webapps-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.webapp-card{padding:1rem;min-height:240px}}
@media(max-width:360px){.webapp-card{padding:.8rem}.webapp-card__actions{gap:.3rem .7rem}.webapp-card__title{font-size:1.05rem}}
/* A quieter, more compact project archive. */
.apps-hero{padding:clamp(3.5rem,6vw,6rem) var(--space);background:#111}.apps-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;border-top:1px solid #555;padding-top:1.4rem}.apps-intro__label{font:700 .65rem/1.5 Arial,sans-serif;letter-spacing:.12em;color:#c6c6c6;margin:0 0 2.2rem}.apps-intro h1{font-size:clamp(4rem,8vw,8rem);line-height:.85;letter-spacing:-.07em;font-weight:900;margin:0 0 1.8rem;color:#f5f5f4}.apps-intro h1 span{color:#929292}.apps-intro__description{color:#ccc;font-size:1rem;line-height:1.6;margin:0}.apps-intro__description strong{color:#fff}.apps-intro__link{color:#ccc;font:700 .65rem/1.5 Arial,sans-serif;letter-spacing:.08em;white-space:nowrap;padding:.5rem 0;border-bottom:1px solid #777}.apps-intro__link:hover{color:#fff}
.apps-browser{padding:clamp(4rem,6vw,6rem) var(--space);background:#f5f5f4}.apps-browser__head{align-items:end}.apps-browser h2{font-size:clamp(2.6rem,4vw,4rem);line-height:1;letter-spacing:-.055em}.apps-browser h2 span{color:#ff7437}.apps-browser__head .eyebrow{margin-bottom:1rem}.filters{margin:2.3rem 0 1.3rem}.results-bar{border-color:#cfcfcd}.webapps-grid{background:transparent;border:0;gap:12px}.webapp-card{min-height:230px;padding:1.2rem;background:#fff;border:1px solid #e1e1df;border-radius:10px;box-shadow:none!important;transform:none!important;transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}.webapp-card:hover,.webapp-card:focus-within{background:#fff;border-color:#b9b9b6;box-shadow:0 10px 24px rgba(0,0,0,.07)!important}.webapp-card__top{border:0;padding:0;align-items:center}.webapp-card__number{font-size:.72rem;font-weight:800;letter-spacing:.04em;color:#777}.webapp-card__category{font-size:.55rem;letter-spacing:.08em;color:#666}.webapp-card__body{margin:1.4rem 0 auto}.webapp-card__title{font-size:clamp(1.05rem,1.25vw,1.3rem);line-height:1.12;margin:0 0 .7rem}.webapp-card__desc{font-size:.75rem;line-height:1.55;color:#555}.webapp-card__actions{border:0;margin-top:1.4rem;padding:0;gap:.9rem}.webapp-card__action{font-size:.68rem}.webapp-card__action--primary{color:#111}.webapp-card__action--secondary{color:#666}.webapp-card__action span{transition:transform .2s ease}.webapp-card__action:hover span{transform:translate(2px,-2px)}
@media(prefers-reduced-motion:no-preference){.apps-intro{animation:archive-intro .5s ease-out both}.webapp-card{animation:archive-card .35s ease-out both}@keyframes archive-intro{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes archive-card{from{opacity:0}to{opacity:1}}}
@media(max-width:650px){.apps-intro{align-items:flex-start;flex-direction:column;gap:2rem}.apps-intro h1{font-size:clamp(3.4rem,13vw,5rem)}.webapps-grid{gap:8px}.webapp-card{padding:1rem;min-height:215px}.webapp-card__title{font-size:1.05rem}.webapp-card__category{font-size:.52rem}.webapp-card__actions{gap:.5rem;flex-wrap:wrap}}
@media(max-width:360px){.webapp-card{padding:.8rem}.webapp-card__title{font-size:.98rem}.webapp-card__desc{font-size:.72rem}}
@media(prefers-reduced-motion:reduce){.apps-intro,.webapp-card{animation:none!important;transition:none!important}.webapp-card__action span{transition:none!important}}
.site-header .brand img{object-fit:contain;border-radius:0}
/* Floating navigation island */
.site-header{position:sticky;top:12px;z-index:50;width:calc(100% - 2 * var(--space));height:68px;margin:12px var(--space) 20px;padding:0 14px 0 18px;border:1px solid #dededb;border-radius:20px;background:#fafaf9;box-shadow:0 10px 32px rgba(0,0,0,.09)}
.site-header .brand{display:grid;place-items:center;width:42px;height:42px}.site-header .brand img{width:29px;height:29px;object-fit:contain;border-radius:0}.site-nav{background:#efefed;border-color:#e7e7e4;padding:.12rem .3rem;gap:clamp(.1rem,.65vw,.65rem)}.site-nav a{width:40px;height:40px}.resume-icon{width:42px;height:42px;background:#111;border-color:#111}.resume-icon svg{width:20px;height:20px}.hero{margin-top:0}main section[id]{scroll-margin-top:110px}
@media(max-width:560px){.site-header{width:calc(100% - 24px);height:auto;min-height:0;margin:10px 12px 16px;padding:.45rem .55rem;top:8px;gap:.2rem;border-radius:16px}.site-header .brand{width:40px;height:40px}.site-header .brand img{width:27px;height:27px}.site-header .resume-icon{min-width:40px;min-height:40px;width:40px;height:40px}.site-header .site-nav{grid-column:1/-1;width:100%;background:#efefed;border:0;border-radius:12px;padding:0 .15rem}.site-header .site-nav a{width:40px;height:42px;flex:0 1 42px}.site-header .site-nav svg{width:18px;height:18px}main section[id]{scroll-margin-top:125px}}
.resume-icon svg{width:23px;height:23px}
/* Fit the desktop hero beneath the floating navigation within the viewport. */
@media(min-width:901px) and (min-height:601px){
  .hero{height:calc(100svh - 120px);min-height:0;display:flex;align-items:center}
  .hero__copy{padding:2.5rem clamp(2rem,6vw,6rem) 4.5rem;max-width:min(100%,1000px)}
  .hero__kicker{margin-bottom:clamp(1rem,2.2vh,2rem)}
  .hero h1{font-size:clamp(3.6rem,min(7.4vw,11vh),7rem);margin-bottom:clamp(1rem,2vh,1.5rem)}
  .hero__intro{margin-bottom:0;line-height:1.45}
  .hero__actions{margin-top:clamp(1rem,2vh,1.5rem)}
  .hero__bottom{bottom:1.4rem}
}
/* A more spacious first screen with a slimmer floating navigation. */
@media(min-width:901px){.site-header{height:60px;margin-top:10px;margin-bottom:14px;top:10px}.site-header .brand{width:40px;height:40px}.site-nav a{width:38px;height:38px}.resume-icon{width:40px;height:40px}.hero{height:calc(100svh - 100px);min-height:0}.hero__copy{padding-top:2.5rem;padding-bottom:2.5rem}}
.hero__kicker{display:flex;align-items:center;gap:.65rem;letter-spacing:.14em}.hero__kicker:before{content:"";width:7px;height:7px;flex:none;background:#ff7437;border-radius:50%}.hero h1 .hero__main-word{font-size:1em;letter-spacing:inherit;font-weight:inherit;color:#fff}.hero h1 .hero__main-word:after{content:".";color:#ff7437}.hero__intro{max-width:385px;color:#f2f2f2}.hero-button{min-height:50px;padding:.85rem 1.35rem;box-shadow:0 8px 24px rgba(0,0,0,.2)}.hero-contact{min-height:44px;display:inline-flex;align-items:center;gap:.25rem;border-color:#aaa}.hero-contact:hover{color:#ff9b6e;border-color:#ff9b6e}.hero__portrait:after{background:linear-gradient(90deg,#080808 2%,rgba(8,8,8,.96) 24%,rgba(8,8,8,.57) 51%,rgba(8,8,8,.08) 84%)}
@media(max-width:560px){.site-header{row-gap:.05rem;padding:.35rem .55rem}.site-header .brand,.site-header .resume-icon{height:38px;min-height:38px}.site-header .site-nav a{height:40px}.hero__copy{padding-bottom:4rem}.hero__portrait:after{background:linear-gradient(90deg,rgba(0,0,0,.95),rgba(0,0,0,.7) 60%,rgba(0,0,0,.3)),linear-gradient(0deg,#080808 0%,transparent 45%)}}
@media(min-width:901px) and (max-height:600px){.hero{height:auto;min-height:540px}}
/* Compact fixed mobile navigation. Menu is visible without JavaScript. */
.mobile-nav-toggle{display:none}
.site-header .site-nav .mobile-cv-link { display: none; }
@media(max-width:600px){
  body{padding-top:78px}
  .site-header{position:fixed;top:8px;left:12px;right:12px;width:auto;height:58px;min-height:0;margin:0;padding:0 10px 0 13px;display:flex;align-items:center;gap:8px;border-radius:18px;background:#fafaf9;box-shadow:0 8px 28px rgba(0,0,0,.12)}
  .site-header .brand{width:42px;height:42px;margin-right:auto}.site-header .brand img{width:27px;height:27px}
  .site-header .resume-icon{order:1;flex:none;width:42px;height:42px;min-width:42px;min-height:42px;background:#ededeb;border:0;color:#111}
  .site-header .resume-icon:hover{background:#ddd;color:#111}
  .nav-ready .mobile-nav-toggle{order:2;display:flex;flex:none;width:42px;height:42px;align-items:center;justify-content:center;flex-direction:column;gap:4px;border:0;border-radius:13px;background:#111;color:#fff}
  .mobile-nav-toggle span{display:block;width:17px;height:1.5px;background:currentColor;border-radius:2px;transition:transform .2s,opacity .2s}
  .mobile-nav-toggle[aria-expanded="true"] span:first-child{transform:translateY(5.5px) rotate(45deg)}
  .mobile-nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  .mobile-nav-toggle[aria-expanded="true"] span:last-child{transform:translateY(-5.5px) rotate(-45deg)}
  .site-header .site-nav{position:absolute;top:calc(100% + 8px);left:0;right:0;width:100%;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:10px;background:#fafaf9;border:1px solid #dededb;border-radius:17px;box-shadow:0 14px 32px rgba(0,0,0,.15)}
  .site-header .site-nav a{width:100%;height:48px;min-width:0;border-radius:11px;background:#efefed}
  .site-header .site-nav .mobile-cv-link { display: grid; }
  .site-header .site-nav a:hover,.site-header .site-nav a:focus-visible,.site-header .site-nav a[aria-current]{background:#111;color:#fff}
  .site-header .site-nav svg{width:20px;height:20px}
  .nav-ready .site-header .mobile-nav-toggle[aria-expanded="false"] + .site-nav{display:none!important}
  .nav-ready .site-header .mobile-nav-toggle[aria-expanded="true"] + .site-nav{display:grid!important}
  main section[id]{scroll-margin-top:80px}
  .hero{margin-top:0}
}
@media(prefers-reduced-motion:reduce){.mobile-nav-toggle span{transition:none}}
/* Consistent project cards with a compact mobile composition. */
.priority-work__item--javascript .priority-work__identity{background:#151515;color:#fff}.priority-work__item--javascript .priority-work__identity>span,.priority-work__item--javascript .priority-work__identity small{color:#d6d6d6}.priority-work__item .project-js-logo{width:clamp(125px,15vw,180px);aspect-ratio:1;height:auto;max-height:none;object-fit:contain;border-radius:4px;filter:none}.priority-work__item--webp .priority-work__identity{background:#ecebe8;color:#111}.webp-project-mark{display:flex;align-items:center;justify-content:center;gap:1rem;align-self:center;font:800 clamp(1.5rem,3vw,2.6rem)/1 Arial,sans-serif;letter-spacing:-.04em}.webp-project-mark span,.webp-project-mark strong{padding:.75rem .85rem;border:1px solid #aaa;border-radius:8px;font:inherit;letter-spacing:inherit}.webp-project-mark strong{background:#111;border-color:#111;color:#fff}.webp-project-mark b{font-size:.8em;color:#777}
@media(max-width:600px){.work.section{padding-left:1rem;padding-right:1rem}.work .section-heading{margin-bottom:2.5rem}.priority-work{gap:1rem}.priority-work__item{border-radius:12px}.priority-work__identity{min-height:175px;aspect-ratio:auto;padding:1.1rem 1.25rem}.priority-work__item .project-brand-icon{width:clamp(90px,29vw,125px);max-height:110px}.priority-work__item .project-js-logo{width:100px}.priority-work__body{padding:1.35rem}.priority-work__body h3{font-size:clamp(2rem,8vw,2.8rem);line-height:1;margin:.75rem 0}.priority-work__body p:not(.project-index){font-size:.9rem;line-height:1.6;margin-bottom:0}.project-actions{margin-top:1.3rem;gap:.8rem 1.2rem}.project-link{min-height:44px}.webp-project-mark{font-size:1.45rem;gap:.65rem}.webp-project-mark span,.webp-project-mark strong{padding:.65rem}.work-note{gap:.9rem;margin-top:2rem}}
/* Footer wordmark supplied by the portfolio owner. */
.site-footer .footer-mark{display:inline-flex;align-items:center;justify-content:center;width:clamp(165px,17vw,245px);max-width:100%;padding:0;background:transparent;border-radius:0}
.site-footer .footer-mark img{display:block;width:100%;height:auto;border-radius:0}
.contact__channels{display:flex;flex-direction:column;align-items:flex-start;gap:.8rem}.contact__channels a{max-width:100%;overflow-wrap:anywhere;font-size:clamp(.85rem,1.5vw,1.2rem);font-weight:700;border-bottom:1px solid #888;padding-bottom:.25rem}.contact__channels a:hover{color:#fff;border-color:#fff}.footer-links nav a{max-width:100%;overflow-wrap:anywhere}
/* Portfolio scrollbar: restrained, visible and consistent with the monochrome UI. */
html{scrollbar-width:thin;scrollbar-color:#f8753f #161616}
@supports not (scrollbar-color: auto){
  html::-webkit-scrollbar{width:12px;height:12px}
  html::-webkit-scrollbar-track{background:#161616}
  html::-webkit-scrollbar-thumb{background:#f8753f;border:3px solid #161616;border-radius:999px}
  html::-webkit-scrollbar-thumb:hover{background:#ff9b70}
  html::-webkit-scrollbar-corner{background:#161616}
}

/* Phone layout: comfortable spacing, readable type and touch-friendly controls. */
@media (max-width: 600px) {
  :root { --gutter: 1.125rem; --space: 1.125rem; }
  .site-header { left: 10px; right: 10px; }
  .site-header .resume-icon, .nav-ready .mobile-nav-toggle { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
  .site-header .site-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .site-header .site-nav a { min-height: 48px; }
  .hero { margin-inline: 10px; min-height: min(620px, calc(100svh - 98px)); }
  .hero__copy { padding: 4rem 1.4rem; }
  .hero h1 { font-size: clamp(2.1rem, 9.4vw, 3.5rem); }
  .hero__intro { max-width: 26ch; line-height: 1.5; }
  .hero__actions { gap: .8rem 1.1rem; }
  .big-statement { padding-inline: var(--gutter); font-size: clamp(3rem, 12.5vw, 5rem); }
  .section, .about.section { padding: 4.5rem var(--gutter); }
  .section-heading { gap: 1.2rem; margin-bottom: 2.5rem; }
  .section-heading h2, .about h2, .skills h2, .services__intro h2, .contact h2 { font-size: clamp(2.15rem, 9.1vw, 3.5rem); line-height: .96; overflow-wrap: anywhere; }
  .section-heading > p, .services__intro > p, .contact__lead > p { line-height: 1.6; }
  .priority-work { margin-bottom: 2.5rem; }
  .priority-work__body { padding: 1.35rem; }
  .priority-work__body h3 { overflow-wrap: anywhere; }
  .project-actions a { min-height: 44px; }
  .about__heading { align-items: flex-start; }
  .about__layout { gap: 2rem; }
  .about__profile { max-width: none; }
  .about__columns { line-height: 1.7; }
  .experience-feature { margin-bottom: 2.5rem; }
  .experience-feature article { min-height: 0; }
  .timeline article { padding: 1.5rem 0; }
  .timeline h3 { line-height: 1.2; overflow-wrap: anywhere; }
  .skills, .services, .contact { gap: 2.5rem; }
  .expertise-list article { grid-template-columns: 26px minmax(0, 1fr); gap: .75rem; padding: 1.5rem 0; }
  .expertise-list h3 { line-height: 1.12; }
  .service-list article { grid-template-columns: 24px minmax(0, 1fr) 18px; gap: .65rem; }
  .service-list article:hover { padding-left: 0; padding-right: 0; }
  .certificate-list a { grid-template-columns: 24px minmax(0, 1fr) 18px; gap: .65rem; align-items: start; }
  .certificate-list h3 { line-height: 1.25; overflow-wrap: anywhere; }
  .contact__channels { margin-top: 1.5rem; }
  .contact-form { gap: 1.25rem; }
  .contact-form input, .contact-form textarea { width: 100%; font-size: 16px; }
  .contact-form button { min-height: 48px; }
  .site-footer { padding: 4rem var(--gutter) 1.5rem; }
  .footer-top { gap: 2.75rem; padding-bottom: 3rem; }
  .footer-intro h2 { font-size: clamp(2.6rem, 10vw, 4rem); overflow-wrap: anywhere; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .footer-links nav a { min-height: 36px; display: inline-flex; align-items: center; }
  .footer-bottom { line-height: 1.5; }
  .case-hero, .case-content, .case-next { padding: 4rem var(--gutter); }
  .case-hero h1 { font-size: clamp(2.8rem, 11vw, 4.5rem); margin: 2.5rem 0 1.5rem; }
  .case-intro { font-size: 1.2rem; line-height: 1.45; }
  .case-meta { margin-top: 2.5rem; gap: 1.25rem; }
  .pixelproud-brand { margin: 0 var(--gutter) 4rem; min-height: 210px; }
  .case-content { gap: 2rem; }
  .case-story h2 { font-size: clamp(2.25rem, 9vw, 3.5rem); }
  .case-story p, .case-story li { font-size: 1rem; line-height: 1.65; }
  .case-next a { line-height: 1.2; }
  .apps-hero, .apps-browser { padding-left: var(--gutter); padding-right: var(--gutter); }
  .apps-intro h1 { font-size: clamp(3rem, 12vw, 4.5rem); }
  .apps-browser h2 { font-size: clamp(2.7rem, 10vw, 4rem); }
  .filters { gap: .5rem; }
  .webapps-filter { min-height: 44px; }
  .webapps-grid { gap: .6rem; }
  .webapp-card { min-width: 0; min-height: 230px; padding: .9rem; }
  .webapp-card__title { line-height: 1.2; }
  .webapp-card__desc { line-height: 1.55; }
  .webapp-card__actions { gap: .4rem .75rem; }
  .webapp-card__action { min-height: 40px; }
  .error-page { min-height: 100svh; padding: 1.5rem; }
}
@media (max-width: 350px) {
  .webapps-grid { grid-template-columns: 1fr; }
  .webapp-card { min-height: 0; }
  .hero__actions { align-items: flex-start; }
}
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .case-page .motion-item, .motion-ready .apps-page .motion-item, .motion-ready .site-footer.motion-item, .motion-ready .footer-top.motion-item { transform: translateY(18px); }
  .motion-ready .motion-item.is-visible { transform: none; }
  .motion-ready .webapp-card { animation: none; }
  @media (max-width: 600px) {
    .motion-ready .motion-item { transition-duration: .5s; }
    .motion-ready .about .motion-item, .motion-ready .journey .motion-item, .motion-ready .certificates .motion-item { transform: translateY(18px); }
    .motion-ready .motion-item.is-visible { transform: none; }
  }
}

@media (max-width: 600px) { body.status-page { padding-top: 0; } }

/* Journey: separate work and education with an editorial rhythm. */
.journey { background: #f1f1ef; }
.journey-intro { border-top: 1px solid #161616; padding-top: 1.3rem; }
.journey-intro .eyebrow { margin: 0 0 clamp(2rem, 4vw, 4rem); }
.journey-intro__heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .28fr); align-items: end; gap: 2rem; }
.journey-intro h2 { margin: 0; font-size: clamp(3.4rem, 7vw, 7.5rem); line-height: .9; letter-spacing: -.065em; font-weight: 900; }
.journey-intro h2 span { color: #929292; }
.journey-intro__heading > p { max-width: 240px; margin: 0 0 .3rem; color: #555; line-height: 1.6; }
.journey-group { margin-top: clamp(5rem, 8vw, 8rem); }
.journey-group__heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; border-bottom: 1px solid #161616; padding-bottom: 1.3rem; margin-bottom: 1.3rem; }
.journey-group__number, .journey-feature__top, .journey-feature__body > p:first-child, .journey-record time, .journey-record p, .journey-study time, .journey-study p { font: 700 .65rem/1.5 Arial, sans-serif; letter-spacing: .11em; }
.journey-group__number { color: #666; }
.journey-group__heading h3 { margin: .65rem 0 0; font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1; letter-spacing: -.055em; }
.journey-group__heading h3 span, .journey-feature h4 span { color: #ff7437; }
.journey-group__heading > p { margin: 0 0 .25rem; color: #666; font-size: .85rem; }
.journey-featured { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.journey-feature { min-height: 330px; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 14px; color: #f7f7f5; background: #111; }
.journey-feature--merqlo { background: #252525; }
.journey-feature__top { align-self: stretch; display: flex; justify-content: space-between; gap: 1rem; color: #bcbcbc; }
.journey-feature__body { margin: auto 0 2rem; padding-top: 3.5rem; }
.journey-feature__body > p:first-child { color: #bcbcbc; margin: 0 0 .8rem; }
.journey-feature h4 { margin: 0 0 1rem; font-size: clamp(2.5rem, 4.5vw, 4.5rem); line-height: .95; letter-spacing: -.06em; }
.journey-feature__body > p:last-child { color: #d1d1d1; max-width: 36ch; margin: 0; line-height: 1.6; }
.journey-feature > a { display: inline-flex; align-items: center; gap: 1.4rem; padding: .6rem 0; border-bottom: 1px solid #777; font-size: .8rem; font-weight: 700; }
.journey-feature > a:hover { color: #ff9468; border-color: #ff9468; }
.journey-records { margin-top: 2.25rem; border-top: 1px solid #c1c1be; }
.journey-record { display: grid; grid-template-columns: minmax(145px, .4fr) minmax(0, 1fr); gap: 2rem; padding: 1.7rem 0; border-bottom: 1px solid #c1c1be; }
.journey-record time, .journey-study time { color: #686868; }
.journey-record p, .journey-study p { color: #777; margin: 0 0 .55rem; }
.journey-record h4, .journey-study h4 { font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.15; letter-spacing: -.04em; margin: 0 0 .5rem; }
.journey-record div > span, .journey-study div > span { color: #555; line-height: 1.5; font-size: .95rem; }
.journey-education { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.journey-study { min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; padding: clamp(1.5rem, 3vw, 2.5rem); background: #e3e3e0; border-radius: 14px; }
.journey-study div { max-width: 34rem; }
@media (max-width: 700px) {
  .journey-intro__heading { grid-template-columns: 1fr; gap: 1.4rem; }
  .journey-intro h2 { font-size: clamp(2.55rem, 9.7vw, 4.5rem); }
  .journey-intro__heading > p { max-width: 34ch; }
  .journey-group { margin-top: 4rem; }
  .journey-group__heading { align-items: start; gap: 1rem; }
  .journey-group__heading > p { max-width: 120px; text-align: right; font-size: .75rem; }
  .journey-group__heading h3 { font-size: clamp(2.4rem, 9vw, 3.3rem); }
  .journey-featured, .journey-education { grid-template-columns: 1fr; }
  .journey-feature { min-height: 280px; padding: 1.5rem; }
  .journey-feature__body { padding-top: 2.5rem; }
  .journey-feature h4 { font-size: clamp(2.6rem, 10vw, 4rem); }
  .journey-feature > a { min-height: 44px; }
  .journey-record { grid-template-columns: 1fr; gap: .8rem; padding: 1.4rem 0; }
  .journey-study { min-height: 190px; }
}
@media (max-width: 360px) { .journey-intro h2 { font-size: 9vw; } .journey-feature__top { font-size: .6rem; } }

/* Skills: a clear, compact toolkit with room for each discipline. */
.skills.section { display: block; background: #e6e6e3; color: #111; }
.skills-intro { border-top: 1px solid #151515; padding-top: 1.3rem; }
.skills-intro .eyebrow { margin: 0 0 clamp(2rem, 4vw, 4rem); }
.skills-intro__heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .28fr); align-items: end; gap: 2rem; }
.skills .skills-intro h2 { margin: 0; font-size: clamp(3.4rem, 7vw, 7.5rem); line-height: .9; letter-spacing: -.065em; font-weight: 900; }
.skills-intro h2 span { color: #8b8b89; }
.skills-intro__heading > p { color: #555; line-height: 1.6; max-width: 240px; margin: 0 0 .3rem; }
.skills .expertise-content { margin-top: clamp(4rem, 7vw, 7rem); }
.skills .expertise-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; border: 0; }
.skills .expertise-list .skill-card { min-width: 0; min-height: 390px; display: flex; flex-direction: column; gap: 0; padding: clamp(1.5rem, 2.6vw, 2.3rem); background: #f8f8f6; border: 1px solid #d4d4d0; border-radius: 14px; }
.skill-card__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: #686866; font: 700 .64rem/1.4 Arial, sans-serif; letter-spacing: .1em; }
.skill-card__top span:last-child { color: #ff7437; font-size: 1.2rem; }
.skill-card__body { margin: 3rem 0 auto; }
.skills .expertise-list .skill-card h3 { margin: 0 0 1rem; font-size: clamp(1.8rem, 2.7vw, 2.8rem); line-height: 1.05; letter-spacing: -.055em; }
.skill-card h3 span { color: #ff7437; }
.skills .expertise-list .skill-card__body p { margin: 0; color: #535351; font-size: .95rem; line-height: 1.65; }
.skill-tags { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 1.75rem 0 0; margin: 0; }
.skill-tags li { border: 1px solid #d2d2ce; border-radius: 999px; padding: .43rem .7rem; color: #444; font: 600 .7rem/1.2 Arial, sans-serif; }
.skills .toolkit-note { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 1rem; padding: 2rem clamp(1.5rem, 2.6vw, 2.3rem); border: 1px solid #c6c6c2; border-radius: 14px; color: #555; }
.toolkit-note__label { margin: 0 0 .7rem; color: #777; font: 700 .62rem/1.5 Arial, sans-serif; letter-spacing: .1em; }
.skills .toolkit-note h3 { margin: 0 0 .5rem; color: #111; font-size: 1.15rem; letter-spacing: -.03em; }
.skills .toolkit-note div > p:last-child { margin: 0; max-width: 45ch; line-height: 1.65; }
@media (max-width: 900px) { .skills .expertise-list { grid-template-columns: 1fr 1fr; } .skills .expertise-list .skill-card:last-child { grid-column: 1 / -1; min-height: 300px; } }
@media (max-width: 700px) {
  .skills-intro__heading { grid-template-columns: 1fr; gap: 1.4rem; }
  .skills .skills-intro h2 { font-size: clamp(2.55rem, 9.7vw, 4.5rem); }
  .skills-intro__heading > p { max-width: 34ch; }
  .skills .expertise-content { margin-top: 3rem; }
  .skills .expertise-list { grid-template-columns: 1fr; }
  .skills .expertise-list .skill-card, .skills .expertise-list .skill-card:last-child { grid-column: auto; min-height: 0; padding: 1.5rem; }
  .skill-card__body { margin-top: 2rem; }
  .skills .toolkit-note { grid-template-columns: 1fr; gap: 1.75rem; padding: 1.5rem; }
}
@media (max-width: 360px) { .skills .skills-intro h2 { font-size: 9vw; } }

/* Services: a simple editorial index with a dedicated mobile layout. */
.services.section { display: block; background: #111; color: #f6f6f4; }
.services__intro { border-top: 1px solid #60605e; padding-top: 1.3rem; }
.services .services__intro .eyebrow, .services .services__intro .eyebrow span { color: #c4c4c1 !important; }
.services__intro .eyebrow { margin: 0 0 clamp(2rem, 4vw, 4rem); }
.services-intro__main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, .3fr); gap: 2rem; align-items: end; }
.services .services__intro h2 { margin: 0; font-size: clamp(3.4rem, 7vw, 7.5rem); font-weight: 900; line-height: .9; letter-spacing: -.065em; }
.services__intro h2 > span { color: #8d8d8b; }
.services-intro__copy { max-width: 280px; }
.services-intro__copy p { margin: 0 0 1.5rem; color: #c6c6c3; line-height: 1.6; }
.services-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 48px; padding: .8rem 1.15rem; border-radius: 999px; background: #f5f5f3; color: #111; font-size: .8rem; font-weight: 700; transition: background .2s ease; }
.services-cta:hover, .services-cta:focus-visible { background: #ff8754; color: #111; }
.services .service-list { margin-top: clamp(4rem, 7vw, 7rem); border-top: 1px solid #60605e; }
.services .service-list article { display: grid; grid-template-columns: minmax(60px, .2fr) minmax(0, 1fr) 36px; align-items: start; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.5rem) 0; border-bottom: 1px solid #50504e; background: transparent; }
.services .service-list article:hover { padding-left: 0; padding-right: 0; background: transparent; }
.service-number, .service-label { color: #aaa; font: 700 .65rem/1.5 Arial, sans-serif; letter-spacing: .12em; }
.services .service-details { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, .8fr); gap: .5rem 2rem; align-items: start; }
.services .service-details .service-label { grid-column: 1 / -1; margin: 0 0 .4rem; color: #aaa; font-size: .65rem; }
.services .service-details h3 { margin: 0; color: #f6f6f4; font-size: clamp(1.7rem, 2.8vw, 3rem); line-height: 1.05; letter-spacing: -.05em; }
.services .service-details > p:last-child { margin: .2rem 0 0; max-width: 41ch; color: #bdbdbb; font-size: .95rem; line-height: 1.65; }
.service-mark { justify-self: end; color: #ff7437; font-size: 1.25rem; line-height: 1; }
@media (max-width: 700px) {
  .services-intro__main { grid-template-columns: 1fr; gap: 1.5rem; }
  .services .services__intro h2 { font-size: clamp(2.55rem, 9.7vw, 4.5rem); }
  .services-intro__copy { max-width: 36ch; }
  .services .service-list { margin-top: 3.5rem; }
  .services .service-list article { grid-template-columns: 28px minmax(0, 1fr) 18px; gap: .8rem; padding: 1.6rem 0; }
  .services .service-details { display: block; }
  .services .service-details .service-label { margin: 0 0 .6rem; }
  .services .service-details h3 { font-size: clamp(1.6rem, 7vw, 2.25rem); }
  .services .service-details > p:last-child { margin-top: .8rem; font-size: .92rem; }
}
@media (max-width: 360px) { .services .services__intro h2 { font-size: 9vw; } }
@media (prefers-reduced-motion: reduce) { .services-cta { transition: none; } }

/* Learning record: an editorial collection of original certificates. */
.certificates.section { background: #efefed; color: #111; }
.certificates .certificates-intro { border-top: 1px solid #171717; padding-top: 1.3rem; margin-bottom: clamp(3.5rem, 6vw, 6rem); }
.certificates-intro .eyebrow { margin: 0 0 clamp(2rem, 4vw, 4rem); }
.certificates .certificates-intro h2 { margin: 0; font-size: clamp(3.4rem, 7vw, 7.5rem); font-weight: 900; line-height: .9; letter-spacing: -.065em; }
.certificates-intro h2 span { color: #8e8e8c; }
.certificates .certificates-intro > p { max-width: 250px; color: #555; line-height: 1.6; }
.certificates .certificate-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; border: 0; }
.certificates .certificate-list > a { display: flex; flex-direction: column; align-items: stretch; min-width: 0; min-height: 285px; gap: 0; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid #d3d3cf; border-radius: 14px; background: #f9f9f7; color: #111; text-decoration: none; transition: background-color .25s, border-color .25s, opacity .65s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.certificate-card__top, .certificate-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font: 700 .64rem/1.4 Arial, sans-serif; letter-spacing: .1em; color: #686866; }
.certificate-card__arrow { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 1px solid #c9c9c6; border-radius: 50%; color: #111; font-size: 1rem; transition: color .2s, background-color .2s, border-color .2s; }
.certificate-card__body { margin: auto 0; padding: 2rem 0; }
.certificates .certificate-card__body p { margin: 0 0 .75rem; color: #686866; font: 700 .62rem/1.5 Arial, sans-serif; letter-spacing: .1em; }
.certificates .certificate-card__body h3 { margin: 0; font-size: clamp(1.9rem, 3.2vw, 3.3rem); line-height: 1.02; letter-spacing: -.055em; }
.certificate-card__body h3 span { color: #ff7437; }
.certificate-card__bottom { border-top: 1px solid #dededb; padding-top: 1rem; }
.certificates .certificate-card__bottom time { display: block; color: inherit; font: inherit; }
.certificate-card__bottom > span { color: #242424; }
.certificates .certificate-list > a:hover { background: #fff; border-color: #aaa; }
.certificates .certificate-list > a:hover .certificate-card__arrow, .certificates .certificate-list > a:focus-visible .certificate-card__arrow { background: #111; border-color: #111; color: #fff; }
@media (max-width: 700px) {
  .certificates .certificates-intro { gap: 1.4rem; margin-bottom: 3rem; }
  .certificates .certificates-intro h2 { font-size: clamp(2.55rem, 9.7vw, 4.5rem); }
  .certificates .certificates-intro > p { max-width: 34ch; }
  .certificates .certificate-list { grid-template-columns: 1fr; gap: .8rem; }
  .certificates .certificate-list > a { min-height: 235px; padding: 1.4rem; }
  .certificates .certificate-card__body h3 { font-size: clamp(1.85rem, 7.5vw, 2.7rem); }
  .certificate-card__body { padding: 1.7rem 0; }
  .certificate-card__bottom { font-size: .6rem; }
}
@media (max-width: 360px) { .certificates .certificates-intro h2 { font-size: 9vw; } }
@media (prefers-reduced-motion: reduce) { .certificates .certificate-list > a, .certificate-card__arrow { transition: none; } }

/* Compact certificate cards. */
.certificates .certificate-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.certificates .certificate-list > a { min-height: 220px; padding: 1.25rem; }
.certificate-card__body { padding: 1.5rem 0; }
.certificates .certificate-card__body h3 { font-size: clamp(1.3rem, 1.8vw, 1.9rem); line-height: 1.12; overflow-wrap: anywhere; }
.certificate-card__arrow { width: 34px; height: 34px; }
.certificate-card__top, .certificate-card__bottom { font-size: .58rem; }
@media (max-width: 1000px) { .certificates .certificate-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .certificates .certificate-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .certificates .certificate-list > a { min-height: 195px; padding: .95rem; }
  .certificates .certificate-card__body h3 { font-size: clamp(1.15rem, 5vw, 1.5rem); }
  .certificates .certificate-card__body p { font-size: .55rem; }
  .certificate-card__body { padding: 1.2rem 0; }
  .certificate-card__top { font-size: .52rem; letter-spacing: .06em; }
  .certificate-card__bottom { align-items: flex-start; flex-direction: column; gap: .35rem; font-size: .54rem; }
}

/* Contact: an inviting conversation and a clear, usable form. */
.contact.section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(3rem, 7vw, 8rem); background: #efefed; color: #111; }
.contact__lead { min-width: 0; border-top: 1px solid #111; padding-top: 1.3rem; }
.contact .contact__lead .eyebrow, .contact .contact__lead .eyebrow span { color: #555 !important; }
.contact__lead .eyebrow { margin: 0 0 clamp(2.5rem, 5vw, 5rem); }
.contact .contact__lead h2 { margin: 0; font-size: clamp(3rem, 6.3vw, 6.5rem); line-height: .94; letter-spacing: -.065em; font-weight: 900; }
.contact__lead h2 > span { color: #ff7437; }
.contact__lead h2 em { color: #8d8d8b; font-style: normal; }
.contact .contact__lead .contact-intro { max-width: 40ch; margin: 2rem 0 0; color: #555; font-size: 1rem; line-height: 1.65; }
.contact .contact__channels { display: grid; gap: 0; margin-top: clamp(2.5rem, 4vw, 4rem); border-top: 1px solid #bdbdb9; }
.contact .contact__channels a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; max-width: 100%; min-height: 78px; padding: 1rem 0; border-bottom: 1px solid #bdbdb9; color: #111; text-decoration: none; }
.contact__channels a > span:first-child { display: grid; gap: .35rem; min-width: 0; }
.contact__channels small { color: #70706d; font: 700 .61rem/1.4 Arial, sans-serif; letter-spacing: .12em; }
.contact__channels strong { overflow-wrap: anywhere; font-size: clamp(.9rem, 1.2vw, 1.1rem); }
.contact__channels a > span:last-child { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border: 1px solid #bbb; border-radius: 50%; transition: background-color .2s, color .2s; }
.contact .contact__channels a:hover > span:last-child, .contact .contact__channels a:focus-visible > span:last-child { background: #111; color: #fff; }
.contact .contact-form { min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-content: start; padding: clamp(1.5rem, 3vw, 3rem); border-radius: 18px; background: #111; color: #f6f6f4; }
.contact-form__heading { grid-column: 1 / -1; margin-bottom: 1rem; }
.contact-form__heading p { display: flex; justify-content: space-between; margin: 0 0 2rem; color: #aaa; font: 700 .62rem/1.4 Arial, sans-serif; letter-spacing: .12em; }
.contact-form__heading p span { color: #ff7437; font-size: 1.3rem; }
.contact-form__heading h3 { margin: 0; color: #f6f6f4; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1; letter-spacing: -.05em; }
.contact .field label { color: #d3d3d0; margin-bottom: .6rem; }
.contact .field input, .contact .field textarea { width: 100%; min-width: 0; padding: .85rem 1rem; border: 1px solid #777; border-radius: 8px; background: #1b1b1b; color: #fff; font-size: 1rem; line-height: 1.5; }
.contact .field input::placeholder, .contact .field textarea::placeholder { color: #a9a9a6; opacity: 1; }
.contact .field input:focus, .contact .field textarea:focus { border-color: #ff8754; outline: 2px solid #ff8754; outline-offset: 2px; }
.contact .field input:-webkit-autofill { -webkit-text-fill-color: #fff; box-shadow: 0 0 0 1000px #1b1b1b inset; caret-color: #fff; }
.contact-form__status { grid-column: 1 / -1; margin: 0; color: #f5c2aa; font-size: .9rem; line-height: 1.5; }
.contact-form__status:empty { display: none; }
.contact .contact-form button:disabled { opacity: .7; cursor: wait; }
.contact .contact-form .button--primary { grid-column: 1 / -1; display: inline-flex; justify-content: space-between; gap: 2rem; align-items: center; width: 100%; min-height: 52px; margin-top: .5rem; padding: .9rem 1.2rem; background: #ff7437; color: #111; font-weight: 700; border: 0; border-radius: 999px; }
.contact .contact-form .button--primary:hover { background: #ff986b; }
@media (max-width: 800px) { .contact.section { grid-template-columns: 1fr; gap: 3rem; } }
@media (max-width: 600px) {
  .contact .contact__lead h2 { font-size: clamp(2.4rem, 9.2vw, 4rem); }
  .contact__lead .eyebrow { margin-bottom: 2.5rem; }
  .contact .contact__lead .contact-intro { margin-top: 1.5rem; }
  .contact .contact__channels { margin-top: 2rem; }
  .contact .contact-form { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.5rem; }
  .contact-form__heading { margin-bottom: .5rem; }
  .contact-form__heading p { margin-bottom: 1.5rem; }
  .contact .field input, .contact .field textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .contact__channels a > span:last-child { transition: none; } }

/* Footer: a quieter desktop finish and tighter mobile navigation. */
@media (min-width: 901px) {
  .site-footer .footer-top { grid-template-columns: minmax(0, 1fr) minmax(270px, .36fr); gap: clamp(3rem, 6vw, 7rem); }
  .site-footer .footer-links { align-content: end; gap: clamp(2rem, 4vw, 4rem); }
  .site-footer .footer-links nav { border-top: 1px solid #444; padding-top: 1.15rem; }
  .site-footer .footer-links nav > p { color: #aaa; margin-bottom: 1rem; }
  .site-footer .footer-email { transition: border-color .2s, color .2s; }
  .site-footer .footer-email:hover, .site-footer .footer-links a:hover { color: #ff986b; border-color: #ff986b; }
}
@media (max-width: 600px) {
  .site-footer .footer-links nav { gap: 0; }
  .site-footer .footer-links nav > p { margin-bottom: .55rem; }
  .site-footer .footer-links nav a { min-height: 36px; line-height: 1.25; }
}
@media (prefers-reduced-motion: reduce) { .site-footer .footer-email { transition: none; } }


/* Mobile hero: a refined, text-led composition. */
@media (max-width: 600px) {
  .hero { min-height: min(620px, calc(100svh - 98px)); border-radius: 18px; }
  .hero__portrait img { object-position: 58% center; }
  .hero__portrait:after { background: linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.78) 45%, rgba(0,0,0,.38) 100%), linear-gradient(0deg, rgba(0,0,0,.82) 0%, transparent 48%); }
  .hero__copy { display: flex; flex-direction: column; justify-content: center; min-height: inherit; padding: 3rem 1.4rem; }
  .hero__kicker { margin: 0 0 2rem; font-size: .65rem; line-height: 1.5; }
  .hero h1 { margin-bottom: 1.4rem; }
  .hero__intro { max-width: 28ch; margin: 0; }
  .hero__actions { align-items: center; margin-top: 1.4rem; }
}
@media (max-width: 360px) { .hero__copy { padding-inline: 1.1rem; } .hero h1 { font-size: 9.1vw; } }

/* A calm, repeating sequence for the opening statement. */
.big-statement .statement-word { display: inline-block; color: #080808; }
.big-statement .statement-word--muted { color: #aaa; }
@media (prefers-reduced-motion: no-preference) {
  .big-statement.statement-motion-ready .statement-word { animation: statement-loop 7s cubic-bezier(.22,.7,.18,1) infinite both; animation-play-state: paused; }
  .big-statement.statement-visible .statement-word { animation-play-state: running; }
  .big-statement .statement-word:nth-of-type(2) { animation-delay: .3s; }
  .big-statement .statement-word:nth-of-type(3) { animation-delay: .6s; }
  @keyframes statement-loop {
    0%, 3% { clip-path: inset(0 100% 0 0); transform: translateY(.08em); }
    15%, 82% { clip-path: inset(0); transform: translateY(0); }
    94%, 100% { clip-path: inset(0 100% 0 0); transform: translateY(.08em); }
  }
  .motion-ready .motion-item:focus-within { opacity: 1; transform: none; }
  .motion-ready :is(.priority-work, .journey-featured, .journey-education, .expertise-list, .certificate-list) > .motion-item:nth-child(2) { transition-delay: .08s; }
  .motion-ready :is(.priority-work, .expertise-list, .certificate-list) > .motion-item:nth-child(3) { transition-delay: .16s; }
}

.big-statement { line-height: .96; }
.about__resume-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.about__resume--download { background: transparent; color: #f5f5f4; border: 1px solid #777; }
.about__resume--download:hover { border-color: #ff7437; }

/* Selected work: consistent banners and compact project cards. */
.work .section-heading { margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.work .priority-work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.9rem, 1.5vw, 1.4rem); margin-bottom: 2.75rem; }
.work .priority-work__item { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: stretch; gap: 0; min-width: 0; border: 1px solid #d8d8d5; border-radius: 14px; background: #fdfdfc; overflow: hidden; }
.work .priority-work__identity, .work .priority-work__item--pixel .priority-work__identity, .work .priority-work__item--merqlo .priority-work__identity, .work .priority-work__item--javascript .priority-work__identity, .work .priority-work__item--webp .priority-work__identity { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 0; height: clamp(180px, 17vw, 235px); aspect-ratio: auto; padding: 1.15rem 1.35rem; border-radius: 0; background: #e9e9e6; color: #111; }
.work .priority-work__identity > span, .work .priority-work__identity small, .work .priority-work__item--javascript .priority-work__identity > span, .work .priority-work__item--javascript .priority-work__identity small { color: #555; font-size: .59rem; letter-spacing: .1em; }
.work .priority-work__item .project-brand-icon { width: clamp(85px, 10vw, 130px); height: auto; max-height: 105px; object-fit: contain; }
.work .priority-work__item .project-js-logo { width: clamp(80px, 8vw, 105px); max-height: 105px; }
.work .webp-project-mark { font-size: clamp(1.05rem, 1.5vw, 1.4rem); gap: .6rem; }
.work .webp-project-mark span, .work .webp-project-mark strong { padding: .55rem .65rem; }
.work .priority-work__body { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; border: 0; padding: clamp(1.25rem, 2vw, 2rem); }
.work .priority-work__body h3 { margin: .6rem 0 .75rem; font-size: clamp(1.6rem, 2.4vw, 2.5rem); line-height: 1.05; overflow-wrap: anywhere; }
.work .priority-work__body p:not(.project-index) { max-width: 55ch; margin: 0; font-size: .9rem; line-height: 1.6; }
.work .project-actions { gap: .65rem 1.15rem; margin-top: auto; padding-top: 1.3rem; }
.work .project-link { min-height: 42px; padding: .7rem 1rem; }
.work .work-note { margin-top: 0; }
@media (max-width: 700px) {
  .work .priority-work { grid-template-columns: 1fr; gap: .9rem; }
  .work .priority-work__identity, .work .priority-work__item--pixel .priority-work__identity, .work .priority-work__item--merqlo .priority-work__identity, .work .priority-work__item--javascript .priority-work__identity, .work .priority-work__item--webp .priority-work__identity { height: 150px; padding: .9rem 1rem; }
  .work .priority-work__item .project-brand-icon { width: 90px; max-height: 75px; }
  .work .priority-work__item .project-js-logo { width: 74px; max-height: 74px; }
  .work .priority-work__body { padding: 1.2rem; }
  .work .priority-work__body h3 { font-size: clamp(1.55rem, 6vw, 2rem); }
  .work .priority-work__body p:not(.project-index) { font-size: .88rem; line-height: 1.55; }
  .work .project-actions { padding-top: 1.1rem; }
  .work .project-link { min-height: 44px; }
}

/* Mobile readability: give the hero and supporting copy more room. */
@media (max-width: 600px) {
  .hero { min-height: min(650px, calc(100svh - 98px)); }
  .hero__copy { padding: 3rem 1.4rem; }
  .hero__kicker { font-size: .72rem; margin-bottom: 2.1rem; }
  .hero h1 { font-size: clamp(2.05rem, 10.1vw, 3.8rem); line-height: .94; margin-bottom: 1.5rem; }
  .hero h1 span { font-size: .62em; }
  .hero__intro { font-size: 1.05rem; line-height: 1.55; }
  .hero__actions { margin-top: 1.55rem; }
  .hero-button, .hero-contact { font-size: .9rem; }
  .work .priority-work__body p:not(.project-index),
  .services .service-details > p:last-child,
  .webapp-card__desc { font-size: 1rem; line-height: 1.6; }
  .webapp-card__title { font-size: 1.1rem; }
  .webapp-card__action { font-size: .8rem; }
  .footer-links nav a { font-size: 1rem; }
}
@media (max-width: 360px) {
  .hero__copy { padding-inline: 1.1rem; }
  .hero h1 { font-size: 10.1vw; }
}

/* Give mobile project descriptions room to wrap without tall, narrow cards. */
@media (max-width: 600px) {
  .webapps-grid { grid-template-columns: 1fr; }
  .webapp-card { min-height: 0; padding: 1rem; }
  .webapp-card__body { margin: .9rem 0 0; }
  .webapp-card__title { margin-bottom: .45rem; }
  .webapp-card__actions { margin-top: .75rem; gap: .5rem 1.5rem; }
  .webapp-card__action { min-height: 44px; }
}
