:root{--bg:#f7f7f3;--ink:#252525;--muted:#66665f;--line:#d8d8d0;--paper:#fdfdfa}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.6 Arial,Helvetica,sans-serif}body.modal-open{overflow:hidden}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #4a785e;outline-offset:6px}h1,h2,h3,p{margin:0}button{color:inherit}a:hover{text-decoration:underline;text-underline-offset:5px}.wrap{width:min(1280px,calc(100% - 112px));margin-inline:auto}.nav{height:88px;padding-inline:max(56px,calc((100% - 1280px)/2));display:flex;align-items:center;gap:28px;background:#fcfcf9ee;backdrop-filter:blur(14px);position:sticky;top:0;z-index:10;border-bottom:1px solid #e4e4dc}.wordmark{font-size:34px;font-weight:bold;letter-spacing:-3px}.location{font-size:12px;white-space:nowrap;color:#53534e}.location i{display:inline-block;width:6px;height:6px;background:#518267;border-radius:50%;margin-right:7px}.nav nav{margin-left:auto;display:flex;align-items:center;gap:30px;font-size:14px}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:32px;min-height:48px;padding:12px 24px;border-radius:32px;background:var(--ink);color:white;font-size:14px;border:1px solid var(--ink);text-decoration:none!important;transition:background .2s,transform .2s}.button:hover{background:#45483f;transform:translateY(-2px)}.button.small{min-height:42px;padding:9px 22px}.menu-toggle{display:none}.hero{padding-top:38px}.hero-kicker,.hero-foot{display:flex;justify-content:space-between;font-size:11px;letter-spacing:1px;color:var(--muted)}h1{margin-top:30px;font-size:clamp(70px,11.35vw,163px);line-height:.92;letter-spacing:-.068em;font-weight:700}h1 span{display:block}h1 .outline{-webkit-text-stroke:1.4px #252525;color:transparent;font-size:1.24em;margin-bottom:12px}.hero-bottom{display:grid;grid-template-columns:1fr 1.2fr 1fr;align-items:center;gap:40px;margin-top:15px;min-height:420px}.hero-copy h2{font-size:29px;line-height:1.15;font-weight:500;letter-spacing:-1px}.hero-copy p{font-size:15px;color:var(--muted);max-width:285px;margin:20px 0 26px}.portrait-wrap{position:relative;align-self:end;margin-top:20px;text-align:center}.portrait{display:block;position:relative;z-index:1;width:100%;height:375px;object-fit:cover;object-position:center 30%;border-radius:48% 48% 6px 6px;filter:grayscale(1);background:#deded5}.portrait-label{display:block;margin:12px 0 0;font-size:9px;letter-spacing:1px;position:relative;z-index:1}.orbit{position:absolute;inset:20px -27px 25px;border:1px solid #d3d3c7;border-radius:50%;transform:rotate(-25deg)}.hero-side{text-align:right;justify-self:end}.hero-side>span{font-size:10px;letter-spacing:1px;color:var(--muted)}.hero-side p{font-size:22px;line-height:1.3;margin:16px 0 28px}.text-link{display:inline-flex;align-items:center;gap:22px;border:0;border-bottom:1px solid currentColor;background:none;padding:4px 0;font-size:14px}.hero-side .text-link{display:flex;justify-content:space-between;margin-top:12px}.hero-foot{padding:24px 0;border-top:1px solid var(--line);margin-top:32px}.section{padding-block:125px 20px}.section-heading{position:relative;padding-top:56px;display:flex;align-items:baseline;justify-content:space-between;margin-bottom:42px}.ghost{position:absolute;top:-25px;left:-5px;font-size:clamp(60px,9.2vw,130px);font-weight:bold;line-height:1;color:#e7e7e0;letter-spacing:-5px;z-index:-1}.section-heading h2{font-size:38px;font-weight:500;line-height:1.1;letter-spacing:-1.5px}.index{font-size:11px;color:var(--muted);letter-spacing:1px}.section-intro{display:flex;justify-content:space-between;gap:32px;align-items:baseline;margin-bottom:30px}.section-intro p{max-width:510px;color:var(--muted)}.section-intro>span{font-size:12px;color:var(--muted)}.filters,.tabs{display:flex;gap:10px;flex-wrap:wrap}.filters{margin-bottom:32px}.filters button,.tabs button{background:transparent;border:1px solid transparent;border-radius:24px;padding:10px 17px;font-size:14px;min-height:44px}.filters button[aria-pressed=true],.tabs button[aria-selected=true]{background:var(--ink);color:#fff}.filters button:hover,.tabs button:hover{border-color:#888}.projects{display:grid;grid-template-columns:1fr 1fr;gap:52px 32px}.project{min-width:0}.project-open{display:block;width:100%;text-align:left;padding:0;background:none;border:0}.project-art{aspect-ratio:1.75;overflow:hidden;display:flex;position:relative;align-items:center;justify-content:center;padding:9%;background:#dfe1d8}.project-art>svg{width:100%;height:100%;transition:transform .3s}.project-open:hover .project-art>svg{transform:scale(1.025)}.project-meta{padding-top:19px;display:flex;justify-content:space-between;gap:16px}.project-meta h3{font-size:25px;font-weight:500;letter-spacing:-.6px}.project-meta .project-arrow{font-size:30px;line-height:1}.project-subtitle{font-size:15px;color:var(--muted);margin:3px 0 13px}.project-type{font-size:11px;letter-spacing:.7px;text-transform:uppercase;color:var(--muted)}.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}.chips span{background:#eaeae3;padding:5px 11px;border-radius:16px;font-size:12px;line-height:1.4}.services{margin-bottom:100px}details{border-bottom:1px solid var(--line)}summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:34px;padding:30px 24px}summary::-webkit-details-marker{display:none}summary h3{font-size:34px;font-weight:400;letter-spacing:-1px;line-height:1.2}summary .number{font-size:12px;color:var(--muted)}summary .expand{margin-left:auto;font-size:29px;line-height:1}details[open]{background:var(--ink);color:#fff;border-radius:4px;margin-block:12px}details[open] summary .number{color:#aaa}details[open] .expand{transform:rotate(45deg)}.service-content{padding:0 80px 32px;max-width:960px}.service-content p{color:#c9c9c2}.service-content .chips span{background:#3c3c36;color:#eee}.about{background:#252525;color:#f4f4ed;padding:100px 0}.about-grid{display:grid;grid-template-columns:.9fr 1.2fr;gap:110px}.eyebrow{font-size:11px;letter-spacing:1.5px}.about .eyebrow{color:#aeaea2}.about h2{font-size:38px;font-weight:400;margin-top:24px}.large-monogram{display:block;font-size:235px;line-height:1.3;letter-spacing:-28px;color:#393a33}.about h3{font-size:42px;line-height:1.15;letter-spacing:-1.5px;font-weight:400;margin-bottom:28px}.about p{color:#bebeb4;margin:18px 0}.about-facts{display:grid;gap:18px;border-top:1px solid #45453d;margin-top:34px;padding-top:26px}.about-facts span{display:block;font-size:10px;letter-spacing:1px;color:#b0b0a3}.about-facts strong{font-size:15px;font-weight:400}.inverse{margin-top:28px}.journey-bar{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:32px}.timeline-item{display:grid;grid-template-columns:200px 1fr;gap:40px;padding:28px 0;border-top:1px solid var(--line)}.timeline-date{font-size:14px;color:var(--muted);padding-top:6px}.timeline-item h3{font-size:24px;font-weight:500;line-height:1.2;letter-spacing:-.5px}.timeline-company{font-size:15px;margin:6px 0 12px}.timeline-item p{color:var(--muted);max-width:760px}.notes{display:grid;grid-template-columns:1fr 1fr;gap:100px;border-block:1px solid var(--line);padding-block:55px;margin-top:80px}.notes h2{font-size:37px;line-height:1.15;font-weight:400;letter-spacing:-1px;margin-top:19px}.notes>div:last-child{align-self:center}.notes p{max-width:430px;margin-bottom:23px;color:var(--muted)}.contact{text-align:center;padding-block:120px 70px}.contact h2{font-size:clamp(44px,7vw,98px);letter-spacing:-.06em;line-height:1.02;margin:35px 0 26px}.contact p{color:var(--muted);margin-bottom:30px}.contact-links{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:25px;font-size:14px;flex-wrap:wrap}.copy-status{display:block;min-height:25px;font-size:13px;color:var(--muted);margin-top:12px}footer{display:flex;align-items:center;gap:32px;border-top:1px solid var(--line);padding-block:30px;font-size:13px}.footer-name{font-weight:bold;margin-right:auto}dialog{border:0;border-radius:8px;background:var(--paper);color:var(--ink);padding:52px;width:min(860px,calc(100% - 32px));max-height:90dvh;overflow:auto;box-shadow:0 20px 100px #0003}dialog::backdrop{background:#171914a8;backdrop-filter:blur(6px)}.dialog-close{position:absolute;right:17px;top:10px;background:none;border:0;width:44px;height:44px;font-size:32px}.dialog-kicker{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:1px;padding-right:35px}dialog h2{font-size:44px;line-height:1.1;letter-spacing:-1.7px;margin:16px 0 10px}dialog .project-art{margin:28px 0;aspect-ratio:2}dialog h3{font-size:19px;font-weight:500;margin:24px 0 8px}dialog p,dialog li{color:var(--muted)}dialog ul{padding-left:20px}dialog .dialog-footer{border-top:1px solid var(--line);padding-top:20px;margin-top:28px;font-size:13px}.skip{position:fixed;top:-100px;left:12px;padding:10px;background:#fff;z-index:100}.skip:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
@media(min-width:1600px){h1{font-size:163px}}
@media(max-width:1000px){.wrap{width:calc(100% - 64px)}.nav{padding-inline:32px;gap:20px}.nav nav{gap:20px}.location{display:none}.hero-bottom{gap:25px;grid-template-columns:1fr 1fr}.hero-side{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;width:100%;gap:18px;text-align:left;margin-top:16px}.hero-side p{display:none}.hero-side .text-link{margin:0}.portrait{height:350px}.hero-copy h2{font-size:30px}.about-grid{gap:50px}.section-heading h2{font-size:32px}.ghost{letter-spacing:-3px}.notes{gap:50px}.large-monogram{font-size:170px}.timeline-item{grid-template-columns:145px 1fr;gap:25px}summary h3{font-size:28px}}
@media(max-width:650px){html{scroll-padding-top:85px}.wrap{width:calc(100% - 40px)}.nav{height:70px;padding-inline:20px}.menu-toggle{display:flex;margin-left:auto;gap:25px;padding:8px 0;background:none;border:0;min-height:44px;font-size:14px}.menu-toggle span{font-size:22px}.nav nav{display:none;position:absolute;top:69px;left:0;right:0;padding:22px 20px;background:var(--paper);border-bottom:1px solid var(--line);align-items:stretch}.nav nav.is-open{display:flex;flex-direction:column;gap:12px}.nav nav>a:not(.button){padding:8px}.hero{padding-top:25px}.hero-kicker{font-size:8px;gap:16px}.hero-kicker>span:last-child{white-space:nowrap}h1{font-size:10.7vw;margin-top:30px;letter-spacing:-.065em}h1 .outline{font-size:2.1em;margin-bottom:10px}.hero-bottom{display:flex;flex-direction:column;gap:28px;margin-top:28px;min-height:0}.portrait-wrap{order:-1;width:73%;margin:0 auto;align-self:center}.portrait{height:285px}.portrait-label{font-size:8px}.hero-copy{align-self:stretch}.hero-copy h2{font-size:32px}.hero-copy h2 br{display:none}.hero-copy p{max-width:100%;font-size:16px}.hero-side{flex-wrap:wrap;gap:12px;margin:0}.hero-side>span{flex-basis:100%;font-size:9px}.hero-side .text-link{font-size:13px}.hero-foot{font-size:8px;letter-spacing:.5px;gap:18px}.section{padding-top:83px}.section-heading{padding-top:24px;margin-bottom:30px}.ghost{font-size:12.5vw;top:-10px;letter-spacing:-2px}.section-heading h2{font-size:27px;letter-spacing:-1px}.index{font-size:8px;letter-spacing:0}.section-intro{display:block}.section-intro p{font-size:15px;margin-bottom:12px}.filters{gap:4px;margin-bottom:25px}.filters button{font-size:12px;padding:9px 12px;min-height:42px}.projects{grid-template-columns:1fr;gap:35px}.project-meta h3{font-size:24px}.project-subtitle{font-size:14px}.project-type{font-size:10px}.chips span{font-size:11px}.project-art{padding:7%}.services{margin-bottom:60px}summary{padding:24px 14px;gap:12px}summary .number{font-size:10px}summary h3{font-size:21px;letter-spacing:-.8px}.service-content{padding:0 20px 24px;font-size:15px}.about{padding-block:60px}.about-grid{display:block}.about .eyebrow{font-size:9px}.about h2{font-size:30px;margin:15px 0 35px}.large-monogram{display:none}.about h3{font-size:36px}.journey-bar{align-items:flex-start;gap:15px;flex-direction:column}.tabs{gap:3px;width:100%}.tabs button{padding:10px 13px;font-size:13px}.timeline-item{grid-template-columns:1fr;gap:9px;padding:23px 0}.timeline-item h3{font-size:22px}.timeline-item p{font-size:15px}.timeline-date{font-size:12px}.notes{grid-template-columns:1fr;gap:25px;margin-top:50px;padding-block:38px}.notes h2{font-size:34px}.contact{padding-block:75px 40px}.contact .eyebrow{font-size:9px}.contact h2{font-size:11.5vw}.contact p{font-size:15px}.contact p br{display:none}.contact-links{gap:12px;font-size:13px}footer{gap:18px;flex-wrap:wrap;font-size:12px}.footer-name{flex-basis:70%;margin:0}dialog{padding:45px 23px 26px}dialog h2{font-size:34px}dialog p,dialog li{font-size:15px}dialog .project-art{aspect-ratio:1.65}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

@media(max-width:650px){.orbit{inset:22px -12px 30px}}
/* Experience bars describe CV-backed usage contexts, not proficiency percentages. */
.toolkit{display:grid;grid-template-columns:.9fr 1.2fr;gap:110px;padding-block:0 100px}
.toolkit-intro{border-top:1px solid var(--line);padding-top:28px}
.toolkit h2{font-size:38px;line-height:1.15;letter-spacing:-1.5px;font-weight:400;margin:20px 0 26px}
.toolkit-intro>p{font-size:27px;line-height:1.25;letter-spacing:-.7px;margin-bottom:20px}
.toolkit-note{font-size:14px;color:var(--muted);max-width:275px}
.skill-legend{list-style:none;margin:26px 0;padding:0;display:grid;gap:8px;font-size:13px;color:var(--muted)}
.skill-legend span{display:inline-block;width:30px;font-size:11px;color:var(--ink)}
.skill-list{border-top:1px solid var(--line)}
.skill-row{padding:24px 0 21px;border-bottom:1px solid var(--line)}
.skill-heading{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:15px}
.skill-heading h3{font-size:19px;letter-spacing:-.35px;font-weight:500;line-height:1.3}
.skill-heading>span{font-size:11px;color:var(--muted);white-space:nowrap}
.skill-meter{display:block;width:100%;height:6px;overflow:visible}
.skill-fill{transition:opacity .65s ease var(--skill-delay)}
.skills-pending .skill-fill{opacity:0}
.skill-row p{font-size:13px;color:var(--muted);margin-top:11px}
@media(max-width:1000px){.toolkit{gap:50px}}
@media(max-width:650px){.toolkit{grid-template-columns:1fr;gap:32px;padding-bottom:65px}.toolkit h2{font-size:29px;margin:16px 0 21px}.toolkit-intro>p{font-size:25px}.toolkit-note{max-width:100%}.skill-legend{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:11px}.skill-legend span{width:20px}.skill-heading{gap:8px}.skill-heading h3{font-size:17px}.skill-heading>span{font-size:10px}.skill-row p{font-size:13px}.skill-row{padding-block:20px}}
@media(prefers-reduced-motion:reduce){.skill-fill{transition:none}.skills-pending .skill-fill{opacity:1}}
/* Personal identity: colors sampled from the supplied logo reference. */
:root{--bg:#f8f8f4;--paper:#ffffff;--ink:#221f20;--accent:#9df94d;--line:#ddddd7;--muted:#66635f}
::selection{background:var(--accent);color:var(--ink)}
.nav{background:#fffffff2;border-bottom-color:var(--line)}
.wordmark{display:flex;align-items:center;width:64px;flex-shrink:0;letter-spacing:0}
.wordmark svg{display:block;width:64px;height:42px}
.location i{background:var(--accent);box-shadow:0 0 0 2px var(--ink)}
h1{font-weight:900;color:var(--ink)}
h1 .outline{-webkit-text-stroke-color:var(--ink)}
.hero-kicker>span:first-child{color:var(--ink);background:var(--accent);padding:5px 10px;font-weight:700;letter-spacing:.9px}
.hero-kicker{align-items:center;gap:18px}
.button,.filters button[aria-pressed=true],.tabs button[aria-selected=true]{background:var(--accent);color:var(--ink);border-color:transparent;font-weight:700}
.button:hover{background:var(--ink);color:var(--accent)}
.button:focus-visible,a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline-color:#426c20}
.portrait-label{background:var(--accent);color:var(--ink);font-weight:700;padding:7px 9px;font-size:10px;letter-spacing:.7px;margin-top:12px}
.hero-foot{border-top:2px solid var(--ink)}
.section-heading h2,.toolkit h2{font-weight:700}
.index{color:var(--ink);background:var(--accent);padding:5px 9px;font-weight:700}
.project-arrow{color:var(--ink);transition:color .2s}
.project-open:hover .project-meta h3{text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:5px;text-underline-offset:6px}
.chips span{background:#eeeee8;border-radius:4px}
.services details[open]{background:var(--ink)}
details[open] summary .number,details[open] summary .expand{color:var(--accent)}
.service-content .chips span{background:#3a3738;color:#e6e6df}
.toolkit-intro>.eyebrow{background:var(--accent);padding:5px 9px;color:var(--ink);font-weight:700}
.skill-list{background:var(--ink);padding:4px 28px;border:0;border-radius:4px}
.skill-row{border-bottom-color:#464244}
.skill-row:last-child{border-bottom:0}
.skill-heading h3{color:#fafaf5}
.skill-heading>span{color:var(--accent)}
.skill-row p{color:#bdbbb7}
.about{background:var(--ink)}
.about .eyebrow,.about-facts span{color:var(--accent)}
.about h2{font-weight:700}
.brand-signature{margin-top:62px;max-width:400px;width:100%}
.brand-signature svg{display:block;width:100%;height:auto}
.contact>.eyebrow{background:var(--accent);padding:6px 12px;color:var(--ink);font-weight:700}
.contact h2{font-weight:900}
.footer-name{border-bottom:5px solid var(--accent);line-height:1.2}
@media(max-width:650px){.wordmark{width:57px}.wordmark svg{width:57px;height:38px}.hero-kicker{align-items:flex-start;gap:12px}.hero-kicker>span:first-child{max-width:220px;font-size:8px;line-height:1.5;padding:5px 7px}.hero-kicker>span:last-child{font-size:7px;padding-top:6px}.portrait-label{font-size:8px;padding:7px 4px}.index{font-size:7px;padding:4px 6px;white-space:nowrap}.skill-list{padding:2px 17px}.skill-heading{flex-wrap:wrap;row-gap:5px}.skill-heading h3{font-size:17px}.skill-heading>span{font-size:10px}.brand-signature{max-width:230px;margin:0 0 40px}.about h2{margin-bottom:30px}.section-heading h2{font-size:25px}}

@media(max-width:380px){.orbit{inset:30px 0 40px}}
/* Hero v2 — solid editorial typography and a two-column introduction. */
.hero-v2{padding-top:65px}
.hero-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:70px;align-items:center}
.hero-role{display:inline-block;background:var(--accent);padding:6px 11px;color:var(--ink);font-size:11px;font-weight:700;letter-spacing:1px}
.hero-v2 h1{font-size:clamp(45px,5.6vw,80px);line-height:.99;letter-spacing:-.065em;font-weight:900;margin:30px 0 29px;color:var(--ink);-webkit-text-stroke:0}
.hero-v2 h1>span:first-child{font-size:1.48em;margin-bottom:2px}
.hero-v2 h1 .name-dot{display:inline;color:var(--ink)}
.hero-v2 h2{font-size:32px;font-weight:500;line-height:1.15;letter-spacing:-1px}
.hero-description{max-width:475px;font-size:16px;color:var(--muted);margin-top:22px}
.hero-actions{display:flex;align-items:center;gap:30px;margin-top:30px;flex-wrap:wrap}
.hero-tech{display:flex;gap:10px 19px;flex-wrap:wrap;margin-top:42px;font-size:10px;letter-spacing:.6px;color:var(--muted)}
.hero-visual{min-width:0;align-self:center}
.photo-heading{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.9px;color:var(--muted);padding-bottom:12px}
.hero-photo{display:block;width:100%;height:440px;object-fit:cover;object-position:center 30%;filter:grayscale(1);border-radius:4px 4px 0 0;background:#deded8}
.photo-caption{display:flex;justify-content:space-between;align-items:center;background:var(--accent);padding:13px 18px;color:var(--ink)}
.photo-caption strong{font-size:13px;letter-spacing:.5px}
.photo-caption a{font-size:26px;line-height:1;min-width:32px;text-align:right}
.photo-note{font-size:12px;color:var(--muted);margin-top:12px}
.hero-v2 .hero-foot{margin-top:60px;padding-block:22px}
@media(max-width:1000px){.hero-v2{padding-top:45px}.hero-layout{gap:35px;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}.hero-v2 h1{font-size:5.2vw}.hero-v2 h2{font-size:27px}.hero-photo{height:380px}.hero-tech{font-size:9px;gap:10px}.photo-caption{padding:12px}.photo-caption strong{font-size:10px}}
@media(max-width:650px){.hero-v2{padding-top:34px}.hero-layout{grid-template-columns:1fr;gap:36px}.hero-v2 h1{font-size:10.3vw;letter-spacing:-.065em;margin:27px 0 24px}.hero-v2 h1>span:first-child{font-size:1.48em}.hero-v2 h2{font-size:28px}.hero-description{margin-top:18px;font-size:15px}.hero-role{font-size:10px}.hero-actions{gap:24px;margin-top:24px}.hero-tech{margin-top:28px;font-size:8px;gap:8px 13px}.hero-photo{height:360px}.photo-caption strong{font-size:12px}.photo-caption{padding:12px 16px}.photo-note{font-size:11px}.hero-v2 .hero-foot{margin-top:32px;font-size:8px;gap:20px}.photo-heading{font-size:9px}}
/* Reference hero: shared baseline, stable portrait placement and responsive spacing. */
.wordmark{width:64px}.wordmark svg{width:64px;height:42px}
.hero-reference{background:#fff;min-height:calc(100svh - 88px);display:flex;flex-direction:column;overflow:hidden;padding-top:32px}
.hero-reference>.wrap{display:flex;flex-direction:column;flex:1;max-width:1280px}
.reference-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;gap:20px}
.reference-status{display:flex;align-items:center;gap:9px;font-size:10px;letter-spacing:.8px;color:var(--muted)}
.reference-status i{width:7px;height:7px;background:var(--accent);border:1px solid #548132;border-radius:50%}
.reference-edition{font-size:10px;letter-spacing:.8px;color:var(--muted)}
.hero-reference h1{position:relative;z-index:1;font-size:clamp(48px,7.9vw,114px);letter-spacing:-.065em;line-height:1;font-weight:900;white-space:nowrap;margin:0;text-align:center;color:var(--ink);-webkit-text-stroke:0}
.hero-reference h1 span{display:inline}
.reference-stage{position:relative;isolation:isolate;display:grid;grid-template-columns:1fr 1.65fr 1fr;align-items:center;gap:32px;flex:1;min-height:440px;margin-top:14px}
.reference-copy{position:relative;z-index:3;padding:0 0 28px;max-width:260px}
.reference-label{font-size:9px;letter-spacing:.9px;color:var(--muted)}
.reference-copy h2{font-size:32px;letter-spacing:-1px;line-height:1.1;font-weight:700;margin:14px 0}
.reference-copy p{font-size:15px;color:var(--muted);line-height:1.6;margin-bottom:24px}
.reference-portrait{position:absolute;z-index:2;left:50%;transform:translateX(-50%);top:-22px;bottom:0;width:44%;max-width:550px;overflow:hidden;pointer-events:none}
.portrait-cutout{display:block;position:relative;top:-40px;width:100%;height:auto;filter:grayscale(1)}
.reference-links{grid-column:3;position:relative;z-index:3;justify-self:end;display:flex;flex-direction:column;gap:12px;padding-bottom:28px;width:164px}
.reference-links small{font-size:8px;letter-spacing:.5px;color:var(--muted);margin-top:10px;white-space:nowrap}
.reference-end{position:relative;z-index:4;display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:58px;border-top:1px solid #e5e5df;background:#fff;color:var(--muted);font-size:9px;letter-spacing:.7px}
.reference-end a{display:flex;align-items:center;gap:14px;color:var(--ink)}
.reference-end a span{font-size:18px;color:#527831}
#work{padding-top:105px}
@media(min-width:651px) and (max-height:820px){.hero-reference{padding-top:23px}.reference-heading{margin-bottom:20px}.reference-stage{min-height:365px}.reference-portrait{width:40%;top:-22px}.reference-copy h2{font-size:28px}.reference-copy p{font-size:14px}.reference-end{min-height:46px}}
@media(min-width:651px) and (max-width:1000px){.hero-reference h1{font-size:7.7vw}.reference-stage{gap:20px;min-height:420px}.reference-copy{max-width:195px}.reference-copy h2{font-size:26px}.reference-copy p{font-size:13px}.reference-copy p br{display:none}.reference-label{font-size:8px}.reference-links{width:140px}.reference-links>a{font-size:12px;padding:9px 12px}.reference-links small{display:none}.reference-portrait{width:43%;top:0}.portrait-cutout{top:-25px}}
@media(max-width:650px){.wordmark{width:57px}.wordmark svg{width:57px;height:38px}.hero-reference{min-height:calc(100svh - 70px);padding-top:24px}.reference-heading{margin-bottom:22px;gap:12px}.reference-status{font-size:8px;letter-spacing:.25px}.reference-edition{font-size:8px;letter-spacing:.25px;white-space:nowrap}.hero-reference h1{font-size:9.7vw;white-space:normal;line-height:1;letter-spacing:-.06em}.hero-reference h1>span{display:block}.reference-stage{min-height:0;margin-top:16px;padding-top:290px;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;padding-bottom:24px}.reference-portrait{top:0;bottom:auto;width:300px;max-width:100%;height:270px}.portrait-cutout{top:-24px}.reference-copy{padding:0;max-width:none}.reference-label{display:none}.reference-copy h2{font-size:24px;margin:0 0 10px}.reference-copy p{font-size:13px;margin-bottom:17px;line-height:1.55}.reference-copy p br{display:none}.reference-copy .button{font-size:11px;gap:12px;padding:10px 13px}.reference-links{grid-column:2;padding:0;gap:10px;width:132px}.reference-links>a{min-height:40px;padding:9px 12px;font-size:11px;gap:8px}.reference-links small{display:none}.reference-end{min-height:48px;font-size:7px;letter-spacing:.25px;gap:12px}.reference-end>span{max-width:150px}.reference-end a{gap:8px;white-space:nowrap}.reference-end a span{font-size:16px}#work{padding-top:75px}}
@media(max-width:360px){.reference-stage{gap:14px;padding-top:265px}.reference-portrait{width:280px;height:245px}.reference-links{width:119px}.reference-copy h2{font-size:22px}.reference-copy .button{padding-inline:10px;font-size:10px;gap:8px}.reference-links>a{font-size:10px;padding-inline:10px}}

/* Brand accents from the earlier composition, within the balanced hero. */
.reference-status{background:var(--accent);color:var(--ink);padding:5px 9px;font-weight:700;letter-spacing:.7px}
.reference-status i{background:var(--ink);border:0;width:5px;height:5px}
.reference-portrait{border-bottom:6px solid var(--accent)}
.reference-end a span{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;background:var(--accent);color:var(--ink);border-radius:50%;font-size:15px}
@media(max-width:650px){.reference-status{font-size:7px;padding:5px 7px;letter-spacing:.15px;gap:6px}.reference-portrait{border-bottom-width:5px}.reference-end a span{width:22px;height:22px;font-size:13px}}

/* Unified buttons: accent pill with the arrow in an ink circle. */
.button,.text-link,.reference-links>a{--arrow:38px;display:inline-flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding:5px 5px 5px 22px;border:1px solid var(--accent);border-radius:32px;background:var(--accent);color:var(--ink);font-size:14px;font-weight:700;line-height:1.2;white-space:nowrap;text-decoration:none!important;transition:background .2s,color .2s,transform .2s}
.button>span,.text-link>span,.reference-links>a>b{display:grid;place-items:center;flex-shrink:0;width:var(--arrow);height:var(--arrow);margin-left:auto;border-radius:50%;background:var(--ink);color:var(--accent);font-size:16px;font-weight:400;line-height:1;transition:background .2s,color .2s}
.button:hover,.text-link:hover,.reference-links>a:hover{background:var(--accent);color:var(--ink);transform:none}
.button.small,.reference-links>a{--arrow:32px;min-height:40px;padding:3px 3px 3px 18px;font-size:13px;gap:12px}
@media(min-width:651px) and (max-width:1000px){.reference-links>a{--arrow:30px;padding-left:14px;font-size:12px;gap:8px}}
@media(max-width:650px){.button,.text-link{--arrow:34px;min-height:44px;padding-left:18px;font-size:13px;gap:12px}.reference-copy .button{--arrow:30px;min-height:38px;padding:3px 3px 3px 14px;font-size:12px;gap:10px}.reference-links>a{--arrow:28px;min-height:36px;padding:3px 3px 3px 12px;font-size:11px;gap:8px}}
@media(max-width:360px){.reference-copy .button{--arrow:26px;padding-left:10px;font-size:11px;gap:8px}.reference-links>a{--arrow:26px;padding-left:10px;font-size:10px}}

/* Contact CTA: one primary action, the address as a copyable detail. */
.contact{text-align:left;padding-block:120px 80px}
.contact-card{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:64px;padding:64px;border-radius:8px;background:var(--ink);color:#f4f4ed}
.contact-card .eyebrow{display:inline-block;background:var(--accent);color:var(--ink);padding:6px 12px;font-weight:700}
.contact-card h2{font-size:clamp(40px,5.2vw,74px);line-height:1;letter-spacing:-.055em;font-weight:900;margin:30px 0 24px}
.contact-card h2 span{display:block;color:var(--accent)}
.contact-card p{max-width:470px;margin:0;color:#bdbbb7;font-size:16px}
.contact-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px;margin-top:36px}
.copy-email{display:inline-flex;align-items:center;gap:12px;padding:8px 0;border:0;background:none;color:#f4f4ed;font-size:14px}
.copy-email span{padding:4px 11px;border:1px solid #4a4647;border-radius:20px;color:var(--accent);font-size:11px;letter-spacing:.6px;transition:border-color .2s,background .2s,color .2s}
.copy-email:hover span{border-color:var(--accent);background:var(--accent);color:var(--ink)}
.contact-side{display:flex;flex-direction:column;justify-content:space-between;gap:40px;padding-left:48px;border-left:1px solid #3a3738}
.contact-label{display:block;color:#8f8c88;font-size:10px;letter-spacing:1.2px;margin-bottom:10px}
.contact-list{list-style:none;margin:0;padding:0}
.contact-list li{display:flex;align-items:baseline;gap:18px;padding:16px 0;border-bottom:1px solid #3a3738;font-size:20px;letter-spacing:-.4px}
.contact-list span{color:var(--accent);font-size:11px;letter-spacing:.5px}
.contact-more a{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-top:1px solid #3a3738;font-size:15px;text-decoration:none!important}
.contact-more a span{display:grid;place-items:center;width:30px;height:30px;border:1px solid #4a4647;border-radius:50%;color:var(--accent);font-size:14px;transition:background .2s,color .2s,border-color .2s}
.contact-more a:hover span{background:var(--accent);border-color:var(--accent);color:var(--ink)}
@media(max-width:900px){.contact-card{grid-template-columns:1fr;gap:44px;padding:48px}.contact-side{padding:36px 0 0;border-left:0;border-top:1px solid #3a3738}}
@media(max-width:650px){.contact{padding-block:70px 40px}.contact-card{padding:34px 22px;border-radius:6px}.contact-card .eyebrow{font-size:9px}.contact-card h2{font-size:9.5vw;margin:24px 0 18px}.contact-card p{font-size:15px}.contact-actions{margin-top:28px;gap:14px}.copy-email{font-size:13px;flex-wrap:wrap}.contact-list li{font-size:17px;padding:13px 0}}

/* Arrow discs: SVG arrow slides out while a twin slides in (Moonio technique). */
.arrow-host .txt{display:block;font-style:normal;transition:transform .4s cubic-bezier(.4,0,.2,1)}
.arrow-host:hover .txt{transform:translateX(-6px)}
.arrow-disc{position:relative;overflow:hidden}
.arrow-disc svg{display:block;width:46%;height:46%;transition:transform .35s cubic-bezier(.4,0,.2,1)}
.arrow-disc .ghost{position:absolute;transform:translate(-220%,220%)}
.arrow-host:hover .arrow-disc .main{transform:translate(220%,-220%)}
.arrow-host:hover .arrow-disc .ghost{transform:translate(0,0)}
.arrow-disc.is-down .ghost{transform:translateY(-220%)}
.arrow-host:hover .arrow-disc.is-down .main{transform:translateY(220%)}
.arrow-host:hover .arrow-disc.is-down .ghost{transform:translateY(0)}

/* Hero heading keeps only the edition label, aligned right. */
.reference-edition{margin-left:auto}

/* Project cards use the same arrow disc as the buttons. */
.project-meta .project-arrow{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:50%;background:var(--ink);color:var(--accent);font-size:0}
@media(max-width:650px){.project-meta .project-arrow{width:38px;height:38px}}

/* Header wordmark: full mtrajchevski logo (the SVG has ~30 units of built-in padding). */
.wordmark{width:auto}
.wordmark img{display:block;width:auto;height:50px;margin-left:-3px}
@media(max-width:650px){.wordmark{width:auto}.wordmark img{height:40px;margin-left:-2px}}

/* Footer wordmark: same logo, replacing the underlined name. */
.footer-name{border-bottom:0;line-height:0}
.footer-name img{display:block;width:auto;height:44px;margin-left:-2px}
@media(max-width:650px){.footer-name img{height:38px;margin-left:-2px}}

/* Project card photos (the dialog keeps the diagram). */
.project-photo{padding:0;background:#e8e9e3}
.project-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s cubic-bezier(.4,0,.2,1)}
.project-open:hover .project-photo img{transform:scale(1.03)}

/* Project dialog gallery: uniform thumbnails, first one wide; click opens the viewer. */
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.gallery-item{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;border:1px solid var(--line);border-radius:6px;background:#eeeee8;cursor:zoom-in}
.gallery-item:first-child{grid-column:1/-1;aspect-ratio:16/9}
.gallery-item img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center;transition:transform .4s cubic-bezier(.4,0,.2,1)}
.gallery-item::after{content:attr(data-count);position:absolute;left:10px;bottom:10px;padding:3px 8px;border-radius:12px;background:var(--ink);color:var(--accent);font-size:11px;font-weight:700;letter-spacing:.5px}
.gallery-item:hover img{transform:scale(1.04)}
@media(max-width:650px){.gallery-grid{grid-template-columns:1fr 1fr;gap:8px}}

/* Image viewer: swipe/scroll between images, tall images scroll vertically. */
#lightbox{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#141213f5;color:#f4f4ed;overflow:hidden;box-shadow:none}
#lightbox::backdrop{background:transparent}
.lb-track{display:flex;height:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior:contain}
.lb-track::-webkit-scrollbar{display:none}
.lb-slide{flex:0 0 100%;display:flex;height:100%;margin:0;padding:76px 88px 40px;overflow-y:auto;scroll-snap-align:start;cursor:zoom-out}
.lb-slide img{display:block;max-width:min(100%,1400px);height:auto;margin:auto;border-radius:6px;box-shadow:0 20px 60px #0008;cursor:default}
.lb-bar{position:absolute;inset:0 0 auto;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:16px 20px;pointer-events:none}
.lb-count{padding:6px 12px;border-radius:20px;background:#221f20;color:var(--accent);font-size:13px;font-weight:700;letter-spacing:.5px}
.lb-close,.lb-nav{display:grid;place-items:center;width:48px;height:48px;border:0;border-radius:50%;background:var(--accent);color:var(--ink);pointer-events:auto;transition:transform .2s,opacity .2s}
.lb-close{font-size:28px;line-height:1}
.lb-nav{position:absolute;top:50%;z-index:2;margin-top:-24px}
.lb-nav svg{width:20px;height:20px}
.lb-prev{left:20px}.lb-next{right:20px}
.lb-close:hover,.lb-nav:hover{transform:scale(1.08)}
.lb-nav:disabled{opacity:0;pointer-events:none}
@media(max-width:650px){.lb-slide{padding:68px 12px 24px}.lb-nav{top:auto;bottom:16px;margin:0;width:44px;height:44px}.lb-prev{left:16px}.lb-next{right:16px}}

/* Hero portrait (square head-and-shoulders cutout): shoulders sit on the accent line at every size. */
.reference-portrait{width:44%;max-width:560px}
.reference-portrait .portrait-cutout{position:absolute;top:auto;bottom:0;left:0;width:100%;height:auto}
@media(min-width:651px) and (max-width:1000px){.reference-portrait{width:60%;max-width:460px}}
@media(min-width:651px) and (max-height:820px){.reference-portrait{width:36%}}
@media(max-width:650px){.reference-portrait{width:300px;max-width:100%}}
@media(max-width:360px){.reference-portrait{width:280px}}

/* Toolkit intro stays in view while the skill list scrolls past (not on phones, where it stacks). */
@media(min-width:651px){.toolkit-intro{position:sticky;top:112px;align-self:start}}

/* Client logos: slow marquee above the projects intro, paused on hover, still for reduced motion. */
.clients{margin:-6px 0 44px;padding:22px 0 26px;border:1px solid var(--line);border-radius:8px;background:#fff}
.clients-kicker{display:block;padding:0 26px 14px;color:var(--muted);font-size:11px;letter-spacing:1.2px;text-transform:uppercase}
.clients-row{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.clients-track{display:flex;align-items:center;width:max-content;margin:0;padding:0;list-style:none;animation:clientsMarquee 36s linear infinite}
.clients-row:hover .clients-track{animation-play-state:paused}
.client-logo{flex:none;display:flex;align-items:center;padding:0 44px}
.client-logo img{display:block;width:auto;height:52px;max-width:180px;object-fit:contain;filter:grayscale(1);opacity:.55;transition:filter .3s,opacity .3s}
.client-logo:hover img{filter:none;opacity:1}
@keyframes clientsMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.clients-track{animation:none}}
@media(max-width:650px){.clients{margin:0 0 32px;padding:18px 0 20px}.clients-kicker{padding-inline:18px;font-size:10px}.client-logo{padding:0 26px}.client-logo img{height:40px;max-width:140px}}
/* White-on-transparent logos are inverted so they show on the light card. */
.client-logo img{opacity:.7}
.client-logo img.logo-invert{filter:invert(1) grayscale(1)}
.client-logo:hover img.logo-invert{filter:invert(1)}
/* Logos sit directly on the page, without the card. */
.clients{padding:0;border:0;border-radius:0;background:none}
.clients-kicker{padding-inline:0}
@media(max-width:650px){.clients{padding:0}.clients-kicker{padding-inline:0}}
/* More breathing room above and below the logo strip. */
.clients{margin:28px 0 64px;padding-block:28px}
.clients-kicker{padding-bottom:22px}
@media(max-width:650px){.clients{margin:16px 0 44px;padding-block:18px}.clients-kicker{padding-bottom:16px}}

/* Toolkit v2: tools grouped by area; chip style shows context (filled = professional/client, outline = project, muted = fundamentals). */
.skill-list{padding:6px 30px}
.skill-group{display:grid;grid-template-columns:140px 1fr;gap:18px;align-items:start;padding:22px 0;border-bottom:1px solid #464244}
.skill-group:last-child{border-bottom:0}
.skill-group h3{padding-top:7px;color:var(--accent);font-size:11px;font-weight:700;letter-spacing:1.2px;line-height:1.4;text-transform:uppercase}
.skill-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.skill-chip{display:inline-block;padding:6px 13px;border:1px solid transparent;border-radius:20px;font-size:13px;line-height:1.3;white-space:nowrap}
.skill-chip[data-level="3"]{background:var(--accent);color:var(--ink);font-weight:700}
.skill-chip[data-level="2"]{border-color:var(--accent);color:#f4f4ed}
.skill-chip[data-level="1"]{border-color:#5d595a;color:#bdbbb7}
.skill-legend{gap:10px}
.skill-legend li{display:flex;align-items:center;gap:12px}
.skill-legend .skill-chip{width:auto;padding:2px 9px;font-size:11px;color:transparent}
.skill-legend .skill-chip[data-level="2"],.skill-legend .skill-chip[data-level="1"]{background:var(--ink)}
@media(max-width:650px){.skill-list{padding:4px 18px}.skill-group{grid-template-columns:1fr;gap:12px;padding:18px 0}.skill-group h3{padding-top:0}.skill-chip{font-size:12px;padding:5px 11px}}
/* Legend samples read like the real chips: visible text, clearer outline for project experience. */
.skill-legend .skill-chip{color:inherit;padding:2px 10px;font-size:11px}
.skill-legend .skill-chip[data-level="3"]{color:var(--ink)}
.skill-legend .skill-chip[data-level="2"]{color:var(--accent);border-width:2px}
.skill-legend .skill-chip[data-level="1"]{color:#9a9794}

/* Toolkit v3: one tool per row, three-step bar with named steps (Learned → Built projects → Production). */
.skill-list{padding:8px 30px 12px}
.skill-scale,.skill-item{display:grid;grid-template-columns:170px 1fr;gap:20px;align-items:center}
.skill-scale{position:sticky;top:88px;z-index:1;padding:16px 0 12px;border-bottom:1px solid #464244;background:var(--ink)}
.skill-scale-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.skill-scale-steps b{color:#bdbbb7;font-size:10px;font-weight:700;letter-spacing:1px;text-transform:uppercase}
.skill-group{display:block;padding:18px 0 14px;border-bottom:1px solid #464244}
.skill-group:last-child{border-bottom:0}
.skill-group h3{margin-bottom:8px;padding:0;color:var(--accent);font-size:11px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase}
.skill-group ul{margin:0;padding:0;list-style:none}
.skill-item{padding:7px 0}
.skill-name{color:#fafaf5;font-size:15px}
.skill-bar{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.skill-bar i{display:block;height:6px;border-radius:3px;background:#494645;transition:background .5s ease var(--d,0ms)}
.skill-bar[data-level="1"] i:nth-child(-n+1),.skill-bar[data-level="2"] i:nth-child(-n+2),.skill-bar[data-level="3"] i{background:var(--accent)}
.skills-pending .skill-list .skill-bar i{background:#494645}
.skill-legend{display:grid;gap:14px;margin:26px 0 30px}
.skill-legend li{display:grid;grid-template-columns:72px 1fr;gap:14px;align-items:start;color:var(--muted);font-size:13px;line-height:1.45}
.skill-legend li strong{display:block;color:var(--ink);font-size:13px}
.skill-legend .skill-bar{gap:4px;margin-top:6px}
.skill-legend .skill-bar i{height:5px;background:#d6d6cf}
.skill-legend .skill-bar[data-level="1"] i:nth-child(-n+1),.skill-legend .skill-bar[data-level="2"] i:nth-child(-n+2),.skill-legend .skill-bar[data-level="3"] i{background:var(--ink)}
@media(max-width:650px){.skill-list{padding:4px 18px 8px}.skill-scale,.skill-item{grid-template-columns:110px 1fr;gap:12px}.skill-scale{top:70px}.skill-scale-steps b{font-size:8px;letter-spacing:.4px}.skill-name{font-size:13px}.skill-legend{display:grid}.skill-legend li{grid-template-columns:60px 1fr}}
.skill-legend li>span{display:block;width:auto;font-size:13px;color:inherit}
.skill-legend li>.skill-bar{display:grid}
@media(max-width:650px){.skill-legend li>span{width:auto;font-size:12px}}

/* Toolkit compact: two tools per row, name above its bar; shorter card, works on phones. */
.skill-list{padding:4px 26px 10px}
.skill-scale{grid-template-columns:1fr 1fr;gap:28px;padding:14px 0 10px}
.skill-scale-steps b{font-size:9px;letter-spacing:.8px}
.skill-group{padding:14px 0 16px}
.skill-group h3{margin-bottom:10px;font-size:10px}
.skill-group ul{display:grid;grid-template-columns:1fr 1fr;gap:12px 28px}
.skill-item{display:block;padding:0}
.skill-name{display:block;margin-bottom:6px;font-size:13px;line-height:1.3}
.skill-bar{gap:5px}
.skill-bar i{height:5px}
@media(max-width:650px){.skill-list{padding:2px 16px 8px}.skill-scale{display:none}.skill-group{padding:12px 0 14px}.skill-group ul{gap:10px 16px}.skill-name{font-size:12px;margin-bottom:5px}.skill-bar{gap:4px}.skill-bar i{height:4px}.skill-legend{gap:10px;margin:20px 0 24px}}

/* Footer: same top row as before, plus page links, legal links and a second contact link. */
footer.site-footer{display:block;padding-block:30px 26px}
.footer-top{display:flex;align-items:center;gap:32px}
.footer-bottom{display:flex;justify-content:space-between;gap:16px 32px;flex-wrap:wrap;margin-top:24px;padding-top:18px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}
.footer-links,.footer-legal{display:flex;flex-wrap:wrap;gap:8px 22px}
.footer-bottom a{color:var(--muted)}
.footer-bottom a:hover{color:var(--ink)}
@media(max-width:650px){.footer-top{gap:14px 18px;flex-wrap:wrap;font-size:12px}.footer-bottom{flex-direction:column;margin-top:20px}.footer-links,.footer-legal{gap:8px 16px}}

/* Legal pages (privacy, terms). */
.legal-back{margin-left:auto}
.legal{max-width:760px;padding-block:80px 100px}
.legal .eyebrow{display:inline-block;background:var(--accent);color:var(--ink);padding:5px 9px;font-weight:700}
.legal h1{margin:22px 0 10px;font-size:clamp(36px,5vw,56px);line-height:1.05;letter-spacing:-.04em;font-weight:900}
.legal .updated{color:var(--muted);font-size:13px;margin-bottom:40px}
.legal h2{margin:40px 0 12px;font-size:22px;letter-spacing:-.4px;scroll-margin-top:110px}
.legal p,.legal li{color:var(--muted);margin:0 0 14px}
.legal ul{padding-left:20px;margin:0 0 14px}
.legal a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
@media(max-width:650px){.legal{padding-block:48px 64px}}

/* Hero stats in the bottom bar of the hero. */
.reference-end{min-height:76px}
.hero-stats{display:flex;flex-wrap:wrap;gap:10px 40px;margin:0;padding:0;list-style:none}
.hero-stats li{display:flex;align-items:baseline;gap:8px;color:var(--muted);font-size:10px;letter-spacing:.8px;text-transform:uppercase}
.hero-stats strong{color:var(--ink);font-size:24px;font-weight:900;letter-spacing:-.04em;line-height:1;text-transform:none}
.hero-stats strong span{margin-left:2px;color:#e3b008;font-size:.8em}
@media(min-width:651px) and (max-width:1000px){.hero-stats{gap:8px 24px}.hero-stats strong{font-size:19px}.hero-stats li{font-size:9px;letter-spacing:.4px}}
@media(min-width:651px) and (max-height:820px){.reference-end{min-height:64px}.hero-stats strong{font-size:20px}}
@media(max-width:650px){.reference-end{flex-direction:column;align-items:flex-start;gap:14px;padding-block:16px;min-height:0}.hero-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;width:100%}.hero-stats li{flex-direction:column;gap:3px;font-size:9px;letter-spacing:.3px}.hero-stats strong{font-size:22px}.reference-end>span{max-width:none}}
@media(min-width:651px) and (max-width:1000px){.hero-stats{display:grid;grid-template-columns:repeat(4,auto);gap:24px;flex-wrap:nowrap}.hero-stats li{flex-direction:column;gap:3px}.reference-end{padding-block:12px}}
/* Upwork stats link to the profile. */
.hero-stats a{display:flex;align-items:baseline;gap:8px;color:inherit;text-decoration:none!important}
.hero-stats a:hover strong{text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:4px;text-underline-offset:4px}
@media(max-width:1000px){.hero-stats a{flex-direction:column;gap:3px}}
/* Keep the star plain: the bottom-bar arrow-circle style must not apply inside stats links. */
.reference-end .hero-stats a strong span{display:inline;width:auto;height:auto;margin-left:2px;border-radius:0;background:none;color:#e3b008;font-size:.8em}
.reference-end .hero-stats a .sr-only{width:1px;height:1px;background:none}

/* Testimonials: rating summary + review cards in one bordered, horizontally scrolling strip. */
.testimonials{padding-block:110px 30px}
.testimonials-head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:34px}
.testimonials .eyebrow{display:inline-block;background:var(--accent);color:var(--ink);padding:5px 9px;font-weight:700}
.testimonials h2{margin-top:18px;font-size:clamp(34px,4vw,50px);font-weight:900;line-height:1.05;letter-spacing:-.04em}
.testimonials-head p{max-width:300px;color:var(--muted);font-size:14px}
.testimonials-head p a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.t-track{display:grid;grid-auto-flow:column;grid-auto-columns:clamp(270px,27%,330px);overflow-x:auto;scroll-snap-type:x mandatory;border:1px solid var(--line);border-radius:10px;background:#fff;scrollbar-width:none;overscroll-behavior-x:contain}
.t-track::-webkit-scrollbar{display:none}
.t-card{display:flex;flex-direction:column;min-height:360px;margin:0;padding:30px 28px;border-right:1px solid var(--line);scroll-snap-align:start}
.t-card:last-child{border-right:0}
.t-summary{align-items:center;justify-content:center;text-align:center}
.t-score{font-size:92px;font-weight:900;line-height:1;letter-spacing:-.05em}
.t-stars{margin:16px 0 8px;color:#e3b008;font-size:20px;letter-spacing:4px}
.t-summary-title{font-size:15px;font-weight:700}
.t-summary-sub{margin:4px 0 20px;color:var(--muted);font-size:13px}
.t-quote{margin:0 0 auto;color:var(--ink);font-size:20px;line-height:1.38;letter-spacing:-.3px}
.t-person{display:flex;align-items:center;gap:12px;margin:28px 0 20px}
.t-avatar{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;overflow:hidden;border-radius:50%;background:var(--ink);color:var(--accent);font-size:14px;font-weight:700}
.t-avatar img{width:100%;height:100%;object-fit:cover}
.t-name{display:block;font-size:15px;font-weight:700}
.t-role{display:block;color:var(--muted);font-size:13px}
.t-link{align-self:flex-start;padding:9px 16px;border-radius:8px;background:#f0f0ea;font-size:13px;font-weight:700;text-decoration:none!important;transition:background .2s}
.t-summary .t-link{align-self:center}
.t-link:hover{background:var(--accent)}
.t-card.is-placeholder .t-quote,.t-card.is-placeholder .t-name{color:#a3a39b}
.t-nav{display:flex;justify-content:flex-end;gap:12px;margin-top:22px}
.t-nav button{display:grid;place-items:center;width:52px;height:52px;border:0;border-radius:12px;background:#ecece6;color:var(--ink);transition:background .2s,opacity .2s}
.t-nav button:hover{background:var(--accent)}
.t-nav button:disabled{opacity:.35;pointer-events:none}
.t-nav svg{width:20px;height:20px}
@media(max-width:650px){.testimonials{padding-block:70px 20px}.testimonials-head{flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:24px}.t-track{grid-auto-columns:84%}.t-card{min-height:300px;padding:24px 22px}.t-score{font-size:68px}.t-quote{font-size:17px}.t-nav button{width:46px;height:46px}}

/* ===== Unified design system pass =====
   One section header (badge "0X — LABEL" above a bold uppercase title), one radius scale,
   one weight for titles, pill shapes for every chip and button. */
:root{--r-lg:12px;--r-md:8px;--title:clamp(32px,3.4vw,46px)}

/* Section headers: no ghost words, badge above the title, same title everywhere. */
.ghost{display:none}
.section{padding-block:120px 20px}
#work{padding-top:120px}
.section-heading{flex-direction:column;align-items:flex-start;gap:18px;padding-top:0;margin-bottom:40px}
.section-heading .index{order:-1}
.index,.eyebrow,.about .eyebrow,.toolkit-intro>.eyebrow,.testimonials .eyebrow,.contact-card .eyebrow{display:inline-block;padding:5px 10px;border-radius:0;background:var(--accent);color:var(--ink);font-size:11px;font-weight:700;letter-spacing:1.3px;line-height:1.4}
.section-heading h2,.toolkit h2,.about h2,.testimonials h2{margin:18px 0 0;font-size:var(--title);font-weight:800;line-height:1.05;letter-spacing:-.035em;text-transform:uppercase}
.section-heading h2{margin:0}
.toolkit h2{margin-bottom:26px}
.about h2{margin-bottom:0}

/* Lead lines (toolkit, about) share one size and weight. */
.toolkit-intro>p,.about h3{font-size:clamp(24px,2.4vw,32px);font-weight:500;line-height:1.2;letter-spacing:-.02em}

/* Expertise rows: bold titles to match the rest of the page. */
summary h3{font-size:clamp(20px,2.2vw,28px);font-weight:700;letter-spacing:-.02em}
.services details[open]{border-radius:var(--r-lg)}

/* One radius scale for cards and media. */
.skill-list,.contact-card,.t-track,.project-art,dialog{border-radius:var(--r-lg)}
.gallery-item,.lb-slide img{border-radius:var(--r-md)}

/* Pills everywhere: chips, review links, carousel arrows. */
.chips span,.service-content .chips span{border-radius:999px}
.t-link{border-radius:999px}
.t-nav button{border-radius:50%}

/* Small labels on dark backgrounds use the accent, like the rest. */
.contact-label{color:var(--accent)}

@media(max-width:650px){.section{padding-top:76px}#work{padding-top:76px}.section-heading{gap:14px;margin-bottom:28px}.index,.eyebrow,.about .eyebrow,.toolkit-intro>.eyebrow,.testimonials .eyebrow,.contact-card .eyebrow{font-size:10px;padding:4px 8px;letter-spacing:1px}.section-heading h2,.toolkit h2,.about h2,.testimonials h2{font-size:30px}}
/* Toolkit follows the same section rhythm: no extra divider, same top spacing. */
.toolkit{padding-top:120px}
.toolkit-intro{border-top:0;padding-top:0}
@media(max-width:650px){.toolkit{padding-top:76px}}
@media(max-width:650px){.about .brand-signature{margin:28px 0 40px}}
/* Real reviews are longer: slightly smaller quote text. */
.t-quote{font-size:17px;line-height:1.5;letter-spacing:-.1px}
@media(max-width:650px){.t-quote{font-size:15px}}
/* Real reviews are longer: slightly smaller quote text. */
.t-quote{font-size:17px;line-height:1.5;letter-spacing:-.1px}
@media(max-width:650px){.t-quote{font-size:15px}}

/* ===== Mobile pass (≤650px): readable sizes, no cramped columns, scrollable filters ===== */
@media(max-width:650px){
  /* Header menu button: label and icon aligned */
  .menu-toggle{align-items:center;gap:10px}
  .menu-toggle span{line-height:1}
  /* Hero: text full width, the four links as a 2×2 grid underneath */
  .reference-edition{font-size:10px;letter-spacing:.6px}
  .reference-stage{grid-template-columns:1fr;gap:20px}
  .reference-copy p{font-size:14px}
  .reference-links,.reference-links[class]{grid-column:auto;display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%;padding:0}
  .reference-links>a{--arrow:32px;min-height:44px;padding-left:16px;font-size:13px}
  .hero-stats li{font-size:10px}
  .reference-end a{font-size:10px}
  /* Project filters: one swipeable row instead of two wrapped lines */
  .filters{flex-wrap:nowrap;gap:6px;margin-inline:-20px;padding:2px 20px;overflow-x:auto;scrollbar-width:none}
  .filters::-webkit-scrollbar{display:none}
  .filters button{flex:none}
  /* Minimum readable label sizes */
  .project-type,.clients-kicker,summary .number,.skill-scale-steps b{font-size:11px}
  .chips span{font-size:12px}
  .timeline-date{font-size:13px}
  /* Footer: logo on its own line, links next, copyright last */
  .footer-top{gap:12px 20px}
  .footer-top .footer-name{flex-basis:100%;margin-bottom:4px}
  .footer-top>span{order:9;color:var(--muted)}
  /* Testimonials: a little more of the next card visible */
  .t-track{grid-auto-columns:86%}
  .t-summary{min-height:280px}
}
@media(max-width:360px){.reference-links>a{font-size:12px;padding-left:12px}}
/* Journey tabs: always one row on phones, three equal-width pills. */
@media(max-width:650px){.tabs{flex-wrap:nowrap;gap:4px;width:100%}.tabs button{flex:1 1 0;min-width:0;padding:10px 6px;font-size:13px;white-space:nowrap}}
@media(max-width:360px){.tabs button{font-size:12px;padding-inline:4px}}

/* Header: slides away on scroll down, returns on scroll up. Sticky toolkit intro follows it. */
.nav{transition:transform .3s cubic-bezier(.4,0,.2,1)}
.nav.is-hidden{transform:translateY(-100%)}
.toolkit-intro{transition:top .3s cubic-bezier(.4,0,.2,1)}
.nav.is-hidden~main .toolkit-intro{top:32px}

/* Five hero stats: tighter spacing on desktop, 5 columns on tablet, 3 + 2 on phones. */
.hero-stats{gap:10px 30px}
@media(min-width:651px) and (max-width:1000px){.hero-stats{grid-template-columns:repeat(5,auto);gap:18px}}
@media(max-width:650px){.hero-stats{grid-template-columns:repeat(3,1fr);gap:14px 12px}.hero-stats strong{font-size:20px}.hero-stats li,.hero-stats a{font-size:9.5px;line-height:1.35}}
/* Phone stats: columns may shrink so long labels wrap instead of pushing past the screen edge. */
@media(max-width:650px){.hero-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-stats li,.hero-stats a{min-width:0;overflow-wrap:anywhere}}
.reference-end .hero-stats a{white-space:normal}

/* Header: slimmer bar (72px desktop, 60px phones); offsets that depend on it follow. */
.nav{height:72px}
html{scroll-padding-top:92px}
.hero-reference{min-height:calc(100svh - 72px)}
.toolkit-intro{top:96px}
.skill-scale{top:72px}
@media(max-width:650px){.nav{height:60px}.nav nav{top:59px}html{scroll-padding-top:76px}.hero-reference{min-height:calc(100svh - 60px)}.skill-scale{top:60px}}

/* Cookie notice (informational): dark card bottom-left, slides up. */

/* 404 page */
.notfound{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:calc(100svh - 72px - 220px);padding-block:90px}
.notfound h1{margin:22px 0 14px;font-size:clamp(48px,9vw,120px);font-weight:900;line-height:.95;letter-spacing:-.05em;text-transform:uppercase}
.notfound p{max-width:520px;margin:0 0 34px;color:var(--muted);font-size:17px}
.notfound-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px}
@media(max-width:650px){.notfound{padding-block:56px;min-height:0}.notfound p{font-size:15px}}

/* "View all projects" under the homepage grid */
.projects-more{display:flex;justify-content:center;margin-top:56px}
.projects-more b{font-weight:inherit}

/* Projects archive page */
.all-projects{padding-top:80px}
.all-projects .section-heading h1{margin:0;font-size:clamp(40px,5vw,72px);font-weight:800;line-height:1;letter-spacing:-.04em;text-transform:uppercase}
.all-projects-intro{display:flex;justify-content:space-between;align-items:center;gap:24px 40px;flex-wrap:wrap;margin-bottom:28px}
.all-projects-intro p{max-width:560px;margin:0;color:var(--muted)}
.all-projects-intro strong{color:var(--ink)}
.project-search{display:flex;align-items:center;gap:10px;width:min(100%,360px);min-height:50px;padding:0 18px;border:1px solid var(--line);border-radius:999px;background:#fff;transition:border-color .2s,box-shadow .2s}
.project-search:focus-within{border-color:var(--ink);box-shadow:0 0 0 3px var(--accent)}
.project-search svg{flex:none;width:18px;height:18px;color:var(--muted)}
.project-search input{flex:1;min-width:0;border:0;outline:0;background:none;color:var(--ink);font-size:15px}
.project-count{margin:-12px 0 28px;color:var(--muted);font-size:13px}
.projects-empty{grid-column:1/-1;padding:60px 0;color:var(--muted);text-align:center}
.nav nav a[aria-current="page"]{text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:3px;text-underline-offset:6px}
.dialog-cover{display:block;width:100%;margin:28px 0;border-radius:var(--r-lg,12px)}
.dialog-visit{margin-top:18px}
@media(max-width:650px){.all-projects{padding-top:48px}.all-projects .section-heading h1{font-size:38px}.project-search{width:100%}.projects-more{margin-top:40px}}

/* Second "View all projects" next to the Selected Work title. */
.section-heading{position:relative}
.heading-cta{position:absolute;right:0;bottom:0}
@media(max-width:650px){.heading-cta{position:static;margin-top:4px}}


/* Hero portrait slightly smaller (grayscale, as before). */
.reference-portrait{width:38%;max-width:480px}
@media(min-width:651px) and (max-height:820px){.reference-portrait{width:32%}}
@media(min-width:651px) and (max-width:1000px){.reference-portrait{width:52%;max-width:400px}}
@media(max-width:650px){.reference-portrait{width:260px}}
@media(max-width:360px){.reference-portrait{width:240px}}
@media(max-width:650px){.reference-stage{padding-top:250px}.reference-portrait{height:236px}}
@media(max-width:360px){.reference-stage{padding-top:232px}.reference-portrait{height:218px}}

.project-reset{border:0;border-bottom:1px solid currentColor;background:none;color:var(--muted);padding:5px 0;margin:0 0 20px;min-height:36px;font-size:13px}.dialog-cover{display:block;width:100%;height:auto;margin:24px 0;border-radius:8px}

/* Dedicated, readable project flows; independent of cover images and galleries. */
.project-flow{margin:32px 0;padding:28px;background:#221f20;border:1px solid #393638;border-radius:16px;color:#fff}
.flow-eyebrow{display:block;color:#9df94d;font:10px/1.5 Arial,sans-serif;letter-spacing:1.4px;text-transform:uppercase}
.project-flow .flow-heading h3{margin:9px 0 24px;color:#fff;font-size:25px;line-height:1.2;letter-spacing:-.6px}
.project-flow .flow-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;list-style:none;padding:0;margin:0}
.flow-step{position:relative;min-width:0;padding:17px 13px 19px;border:1px solid #55504d;border-radius:10px;background:#2d292a}
.flow-step:first-child{border-color:#9df94d}
.flow-number{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;border-radius:50%;background:#9df94d;color:#221f20;font-size:11px;font-weight:700}
.flow-step h4{margin:18px 0 10px;font-size:15px;line-height:1.35;color:#fff;font-weight:600}
.project-flow .flow-step p{font-size:12px;line-height:1.6;color:#d3cecf;margin:0}
.flow-arrow{position:absolute;right:-18px;top:23px;color:#9df94d;font-size:20px;line-height:1}
.project-flow .flow-note{margin:22px 0 0;padding-top:16px;border-top:1px solid #494344;font-size:12px;line-height:1.7;color:#c6c1c2}
@media(max-width:700px){
 .project-flow{padding:22px 18px}
 .project-flow .flow-heading h3{font-size:23px}
 .project-flow .flow-steps{grid-template-columns:1fr;gap:24px}
 .flow-step{padding:17px 17px 17px 62px;min-height:100px}
 .flow-number{position:absolute;left:16px;top:17px}
 .flow-step h4{margin:3px 0 8px;font-size:16px}
 .project-flow .flow-step p{font-size:13px}
 .flow-arrow{right:auto;left:28px;top:auto;bottom:-22px;transform:rotate(90deg)}
}

.seen-in{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:18px 0 0;font-size:14px}
.seen-in span{color:#9b9b93;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.seen-in button{padding:0;border:0;background:none;color:var(--accent);font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.seen-in button:hover{color:#fff}


/* Quick links: floating desktop button with a vertical menu */
.quick-links{position:fixed;right:28px;bottom:28px;z-index:60;display:none;flex-direction:column;align-items:flex-end;gap:12px;opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity .25s,transform .25s}
@media(min-width:901px){.quick-links{display:flex}}
.quick-links.is-visible{opacity:1;transform:none;pointer-events:auto}
.quick-links-toggle{position:relative;width:56px;height:56px;padding:0;border:0;border-radius:16px;background:none;cursor:pointer;box-shadow:0 10px 28px rgba(0,0,0,.22);transition:transform .2s}
.quick-links-toggle:hover{transform:translateY(-2px)}
.quick-links-toggle img{display:block;width:56px;height:56px;border-radius:16px;transition:opacity .2s}
.ql-close{position:absolute;inset:0;display:grid;place-items:center;border-radius:16px;background:var(--ink);color:var(--accent);font-size:28px;line-height:1;opacity:0;transition:opacity .2s}
.quick-links.is-open .ql-close{opacity:1}
.ql-tip{position:absolute;right:68px;top:50%;transform:translate(6px,-50%);padding:6px 11px;border-radius:8px;background:var(--ink);color:#f3f3ee;font-size:12.5px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}
.quick-links-toggle:hover .ql-tip{opacity:1;transform:translate(0,-50%)}
.quick-links.is-open .ql-tip{opacity:0}
.quick-links-menu{display:flex;flex-direction:column;align-items:flex-end;gap:10px;margin:0;padding:0;list-style:none}
.quick-links-menu li{opacity:0;transform:translateY(14px) scale(.96);pointer-events:none;transition:opacity .22s,transform .22s;transition-delay:calc(var(--i)*35ms)}
.quick-links.is-open .quick-links-menu li{opacity:1;transform:none;pointer-events:auto}
.quick-links-menu a{display:flex;align-items:center;gap:12px;padding:6px 6px 6px 16px;border-radius:999px;background:#fff;color:var(--ink);font-size:14px;font-weight:600;text-decoration:none;box-shadow:0 8px 22px rgba(0,0,0,.14);flex-direction:row-reverse}
.quick-links-menu a:hover,.quick-links-menu a:focus-visible{background:var(--accent)}
.ql-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--ink);color:#f3f3ee}
.ql-icon svg{width:18px;height:18px}
@media(prefers-reduced-motion:reduce){.quick-links,.quick-links-menu li,.quick-links-toggle,.ql-close,.ql-tip{transition:none}}

/* Mobile menu: burger icon and full-screen menu */
.burger{position:relative;display:block;width:24px;height:16px}
.burger i{position:absolute;left:0;width:24px;height:2px;border-radius:2px;background:var(--ink);transition:transform .25s,opacity .2s,top .25s}
.burger i:nth-child(1){top:0}.burger i:nth-child(2){top:7px}.burger i:nth-child(3){top:14px}
.menu-toggle[aria-expanded="true"] .burger i:nth-child(1){top:7px;transform:rotate(45deg)}
.menu-toggle[aria-expanded="true"] .burger i:nth-child(2){opacity:0}
.menu-toggle[aria-expanded="true"] .burger i:nth-child(3){top:7px;transform:rotate(-45deg)}
@media(max-width:650px){
 .menu-toggle{justify-content:center;width:44px;height:44px;margin-right:-10px;padding:0}
 .nav nav.is-open{position:fixed;top:59px;left:0;right:0;bottom:0;height:calc(100dvh - 59px);z-index:90;display:flex;flex-direction:column;justify-content:flex-start;gap:0;padding:28px 20px calc(28px + env(safe-area-inset-bottom));background:var(--paper);border-bottom:0;overflow-y:auto;animation:menuIn .25s ease-out}
 .nav nav.is-open>a:not(.button){padding:14px 0;border-bottom:1px solid var(--line);font-size:30px;font-weight:700;letter-spacing:-.02em;line-height:1.15}
 .nav nav.is-open>a.button{margin-top:auto;min-height:56px;font-size:16px}
 body.menu-open{overflow:hidden}
}
@keyframes menuIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.burger i{transition:none}.nav nav.is-open{animation:none}}
