/* Shared dark, colorful theme for iamclaw.dev. */
:root{color-scheme:dark;--bg:#171924;--panel:#222535;--text:#f5efdf;--muted:#bbc0d0;--accent:#7cdec5;--line:#41475e;--font:'Trebuchet MS',Verdana,sans-serif}
body{font-size:16px;background-image:radial-gradient(#373b50 .8px,transparent .8px);background-size:22px 22px}
::selection{background:#ffe076;color:#272b35}
.wrap{width:min(1080px,calc(100% - 80px))}
h1,h2,h3{font-weight:700;letter-spacing:-.055em}
a:hover{color:#ff9a86}
.site-header{min-height:100px;border-bottom:2px solid var(--line)}
.brand-symbol{font-size:40px;letter-spacing:-.1em;transform:rotate(-7deg)}
.brand-symbol span{color:#e75d4f}
.site-header nav{gap:15px}
.site-header nav a{font-size:14px;font-weight:700;color:var(--text);padding:6px 14px;border-radius:30px}
.site-header nav a:hover,.site-header nav a[aria-current]{background:#ffe076;color:#282839}
.site-header nav a[aria-current]:after{display:none}
.hero{grid-template-columns:1.35fr 1fr;gap:70px;padding:65px 0 72px}
.eyebrow{font:700 11px/1.7 ui-monospace,SFMono-Regular,monospace;letter-spacing:.07em;color:var(--muted)}
.hero .eyebrow{display:inline-block;background:#283f3f;color:#99e5cf;padding:5px 11px;border-radius:7px;transform:rotate(-2deg)}
.little-line{display:none}
.hero h1{font-size:clamp(2.8rem,4.8vw,4rem);line-height:1.07;margin:25px 0 18px;letter-spacing:-.07em}
.accent{color:#ff8d82}
.hero-nickname{font-size:21px;margin:0 0 25px;color:var(--text)}
.hero-nickname strong{font-size:1.15em;font-weight:700;color:#282839;background:#ffe076;padding:0 5px;border-radius:5px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.hero-tagline{font-size:25px;line-height:1.4;font-weight:700;letter-spacing:-.035em}
.hero-tagline br{display:none}
.hero-tagline span{color:#7cdec5}
.hero-intro{font-size:15px;line-height:1.8;max-width:465px;margin-top:19px}
.hero-actions{margin-top:25px}
.button{background:#ff8c76;border:2px solid #ffad98;border-radius:10px;color:#242635;font-size:16px;padding:11px 20px;gap:25px;min-height:50px}
.button:hover{background:#ffe076;border-color:#ffe076;color:#242635}
.text-link{font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:5px}
.hero-portrait{padding:0;max-width:370px;justify-self:end;width:100%}
.portrait-frame{aspect-ratio:1;border:3px solid #ae9de2;border-radius:50%;background:#262b39}
.hero-portrait figcaption{font:700 14px/1.4 'Trebuchet MS',sans-serif;color:#beadf4;text-align:right;margin:15px 5px 0}
.hero-portrait figcaption span{font-size:25px;display:inline-block;margin-left:8px}
.selected-work{border-top:2px solid var(--line);padding-top:35px;padding-bottom:50px}
.section-heading{margin-bottom:25px}
.section-heading h2{font-size:32px;margin-top:6px;letter-spacing:-.055em}
.project-grid{gap:28px}
.project-preview{background:#202332;border:2px solid #454a64;border-radius:17px;padding:12px 12px 22px;overflow:hidden}
.project-image{border:0;border-radius:8px;aspect-ratio:1.8}
.project-meta,.project-preview h3,.project-preview>p{margin-left:10px;margin-right:10px}
.project-meta{font:10px/1.7 ui-monospace,monospace;letter-spacing:0;text-transform:none;margin-top:16px;color:#bbc0d0}
.project-preview h3{font-size:24px;margin-top:8px}
.project-preview h3 a span{color:#beadf4}
.project-preview>p{font-size:14px;line-height:1.75;margin-top:9px}
.med-image{background:#1f3c3a}
.med-art{padding:22px 25px;color:#c8f1df}
.med-logo{color:#c8f1df;font-weight:700;font-size:20px}
.med-logo svg{stroke:#7cdec5}
.med-art>p{font-size:20px;color:#c8f1df;font-weight:700;margin-top:15px}
.med-art>p span{color:#95c9bc}
.audit-flow{color:#c8f1df;font-size:9px;margin-top:22px;justify-content:start;gap:8px}
.audit-flow>span{border:1px solid #527c70;background:#2a4b44;padding:4px 7px;border-radius:5px}
.audit-flow b{color:#c8f1df}
.game-image{background:#302744;background-image:linear-gradient(45deg,#3c3154 25%,transparent 25%),linear-gradient(-45deg,#3c3154 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#3c3154 75%),linear-gradient(-45deg,transparent 75%,#3c3154 75%);background-size:32px 32px;background-position:0 0,0 16px,16px -16px,-16px 0}
.game-image img{box-shadow:none;border:3px solid #9281b5;width:45%}
.site-footer{border-top:2px solid var(--line);padding:23px 0 30px}
.site-footer p,.site-footer a{font-size:12px}
.footer-domain{color:var(--muted)}
.site-footer a{color:var(--text);font-weight:700}
.contact-note{border:2px solid #6c6050;border-radius:13px;background:#353025}
.code-visual{background:#2d293e;color:var(--text)}
.code-visual pre{color:#c5b3f1}
.tags li{color:var(--muted)}
.page-heading h1{font-weight:700}
@media(max-width:960px){.wrap{width:calc(100% - 56px)}.hero{gap:35px;padding-block:48px}.hero h1{font-size:3rem}.hero-nickname{font-size:18px}.hero-tagline{font-size:22px}.hero-portrait{max-width:340px}.audit-flow{gap:4px;font-size:8px}.med-art{padding:20px}.med-art>p{font-size:18px}}
@media(max-width:700px){.wrap{width:calc(100% - 36px)}.site-header{min-height:83px;gap:8px}.brand-symbol{font-size:34px}.site-header nav{gap:0}.site-header nav a{font-size:12px;padding:8px 10px}.hero{grid-template-columns:1fr;gap:30px;padding:36px 0 40px}.hero h1{font-size:clamp(2.7rem,10vw,3.6rem);margin-top:22px}.hero-nickname{font-size:20px}.hero-tagline{font-size:23px}.hero-intro{font-size:15px}.hero-actions .button{font-size:16px}.hero-actions .text-link{font-size:16px}.hero-portrait{max-width:310px;width:85%;justify-self:center}.hero-portrait figcaption{font-size:13px}.project-grid{grid-template-columns:1fr}.section-heading h2{font-size:26px}.section-heading>.text-link{font-size:12px;gap:5px}.section-heading .eyebrow{font-size:10px}.selected-work{padding-top:27px}.audit-flow{font-size:8px;gap:7px}.med-art>p{font-size:19px}.project-preview>p{font-size:14px}.site-footer nav{gap:18px}.site-footer p,.site-footer a{font-size:11px}}

.project-preview:first-child{border-color:#497e70}.project-preview:nth-child(2){border-color:#7f6b9f}.brand-symbol span{color:#ff8d82}.site-header nav a:hover{background:#393249;color:#ffe076}.site-header nav a[aria-current]{background:#ffe076;color:#282839}

/* Keep action labels readable above the original responsive button rules. */
.hero-actions .button,.inline-links .button{font-size:16px;padding:11px 20px;min-height:50px}
.hero-actions .text-link{font-size:16px}
.hero-portrait .portrait-frame{aspect-ratio:1;border-radius:50%}

/* Center the face within the circular crop. */
.portrait-frame img{left:-66%}

/* Give the logo link an explicit destination, including on touch screens. */
.brand{flex-direction:column;align-items:center;gap:6px;padding:8px 0;min-width:44px;min-height:44px}
.brand-home{font:700 12px/1.2 var(--font);letter-spacing:.01em;color:var(--muted)}
.brand:hover .brand-home,.brand:focus-visible .brand-home{color:var(--accent);text-decoration:underline;text-underline-offset:3px}

/* Shared interior-page typography and accents. */
.page-heading{padding:58px 0 38px;max-width:820px}
.page-heading>.eyebrow{display:inline-block;padding:5px 11px;background:#283f3f;color:#99e5cf;border-radius:7px;transform:rotate(-1deg)}
.page-heading h1{font-size:clamp(2.8rem,5vw,3.8rem);line-height:1.1;margin:24px 0 22px}
.page-heading>p:not(.eyebrow){font-size:17px;line-height:1.8;max-width:720px}
.project-index{border:0;padding:0 0 30px;gap:10px}
.project-index a{font-size:14px;padding:7px 13px;border:1px solid #55506b;border-radius:9px;background:#272437;min-height:44px}
.project-index a:hover{background:#393249;color:#ffe076;border-color:#a897d1}
.project-detail{gap:48px;padding:48px 0;border-color:var(--line)}
.project-detail h2{font-size:32px;line-height:1.2;margin:14px 0 17px}
.project-detail-copy>p:not(.eyebrow){font-size:15px;line-height:1.85}
.project-detail-copy>.project-lede{font-size:18px!important;color:var(--text)}
.project-detail .eyebrow{color:#b8a8e3}
.project-detail:first-of-type .eyebrow{color:#91dac4}
.project-detail .text-link{font-size:15px}
.tags{gap:8px;margin-top:23px}
.tags li{font-size:12px;line-height:1.6;padding:4px 10px;border-radius:7px;background:#252b38;border-color:#485368}
.project-visual{border:2px solid #497e70;border-radius:16px}
.project-visual.med-image{aspect-ratio:1.2}
.project-visual.whiteboard-image{border-color:#947b55;background:#2d2b28}
.project-visual.grafpad-image{border-color:#657aa0;background:#242d3a}
.project-visual.game-image{border-color:#7f6b9f}
.project-visual figcaption{font-size:13px;line-height:1.7;padding:0 16px 15px;margin-top:14px;color:var(--muted)}
.about-layout{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:65px}
.prose h2{font-size:30px;margin-bottom:20px}
.prose>p{font-size:16px;line-height:1.85;margin-bottom:23px}
.about-aside .portrait-frame{aspect-ratio:1;border-radius:50%;max-width:310px;margin-inline:auto}
.aside-note{background:#252838;border:1px solid #55506b;border-radius:14px;padding:23px;margin-top:25px}
.aside-note .eyebrow{color:#c3b0f0}
.aside-note dt{font-size:12px;letter-spacing:.04em;margin-top:20px}
.aside-note dd{font-size:14px;line-height:1.8;margin-top:5px}
.career-section{margin-top:52px;margin-bottom:58px}
.career-section h2{font-size:32px;margin:12px 0 25px}
.career-row{padding:24px 0;grid-template-columns:180px 1fr}
.career-row>p{font:13px/1.8 ui-monospace,monospace;color:#c3b0f0}
.career-row h3{font-size:21px}
.career-row div p{font-size:15px;line-height:1.8}
.contact-layout{gap:54px;padding-bottom:38px}
.contact-row{gap:22px;padding:25px 0;min-width:0}
.contact-row>span:nth-child(2){min-width:0}
.contact-number{font:12px/1.8 ui-monospace,monospace;color:#beadf4;margin-top:5px}
.contact-row strong{font-size:24px;font-weight:700}
.contact-row small{font-size:15px;line-height:1.7;margin-top:6px;overflow-wrap:anywhere}
.contact-note{padding:28px}
.contact-note h2{font-size:26px}
.contact-note p{font-size:15px;line-height:1.85;margin-bottom:18px}
.contact-note strong{font-weight:700}
.contact-note p:last-child{margin-bottom:0}
.contact-location{font-size:14px;padding-bottom:50px}
.whiteboard-article{max-width:960px;margin-bottom:55px}
.whiteboard-section{padding:30px 0 10px;margin-bottom:20px}
.whiteboard-section h2{font-size:30px;line-height:1.3;margin-bottom:20px}
.whiteboard-section>p{font-size:16px;line-height:1.85}
.whiteboard-examples{gap:24px;margin:28px 0 35px}
.whiteboard-examples figure>a{border:2px solid #947b55;border-radius:12px}
.whiteboard-examples figcaption{font-size:13px;line-height:1.7}
.whiteboard-section>.reference-note,.whiteboard-source{font-size:14px;line-height:1.85}
.stroke-demo{padding:23px;background:#252838;border:2px solid #7f6b9f;border-radius:15px}
.stroke-control{font-size:15px;padding:12px 0}
.stroke-toggle{width:20px;height:20px}
.stroke-demo figcaption{font-size:14px;line-height:1.8}
.logo-stack{border-radius:9px}
.page-heading .button{margin-top:24px}
@media(max-width:960px){.about-layout{gap:35px}.project-detail{gap:30px}.contact-layout{gap:30px}.aside-note{padding:20px}}
@media(max-width:700px){
 .page-heading{padding:36px 0 30px}.page-heading h1{font-size:clamp(2.5rem,10vw,3.2rem);margin:23px 0 20px}.page-heading>p:not(.eyebrow){font-size:16px}
 .project-index{padding-bottom:17px;gap:8px}.project-index a{font-size:13px;padding:7px 10px}
 .project-detail{padding:33px 0;gap:27px;grid-template-columns:minmax(0,1fr)}.project-detail h2{font-size:28px}.project-detail-copy>p:not(.eyebrow){font-size:15px}.project-detail-copy>.project-lede{font-size:17px!important}
 .project-visual.med-image{aspect-ratio:1.3}.project-visual .med-art{padding:25px 18px}.project-detail .inline-links{gap:10px 20px}.project-detail .button{font-size:15px;gap:12px;padding:11px 16px;white-space:normal}
 .about-layout{display:flex;gap:30px}.prose h2{font-size:28px}.prose>p{font-size:16px}.about-aside{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}.about-aside .portrait-frame{width:min(80%,280px)}.aside-note{width:100%;margin-top:0;padding:24px}.aside-note .eyebrow{font-size:11px}.aside-note dt{font-size:12px;margin-top:19px}.aside-note dd{font-size:14px}
 .career-section h2{font-size:28px}.career-row{grid-template-columns:105px minmax(0,1fr);gap:16px}.career-row>p{font-size:12px}.career-row h3{font-size:20px}.career-row div p{font-size:15px}
 .contact-layout{gap:30px}.contact-row{gap:18px;padding:23px 0}.contact-row strong{font-size:23px}.contact-row small{font-size:14px}.contact-note{padding:25px}.contact-note h2{font-size:25px}.contact-note p{font-size:15px}.contact-location{font-size:13px;line-height:1.9}
 .whiteboard-section h2{font-size:27px}.whiteboard-section>p{font-size:16px}.stroke-demo{padding:17px}.stroke-control{font-size:14px}.stroke-demo figcaption{font-size:14px}
}

.experience-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:65px;align-items:start}
.experience-layout .aside-note{margin-top:0}
.experience-areas{list-style:none;padding:0;margin:18px 0 12px;color:var(--muted);font-size:15px;line-height:2}
.about-layout{margin-bottom:58px}
.glimpse-image{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;text-decoration:none;aspect-ratio:1.2;background:#352b26;border-color:#b88c5e;color:#f5cf9b;padding:30px}
.glimpse-image img{width:96px;height:96px}
.glimpse-image>span{font-size:32px;line-height:1.15;font-weight:700;letter-spacing:-.04em;text-align:center}
#glimpse .eyebrow{color:#f5cf9b}
.whiteboard-heading>.text-link{display:flex;width:fit-content}
@media(max-width:960px){.experience-layout{gap:35px}}
@media(max-width:700px){.site-header nav a{padding:8px;font-size:12px}.experience-layout{grid-template-columns:minmax(0,1fr);gap:25px}.glimpse-image{aspect-ratio:1.3}.about-layout{margin-bottom:40px}}
