/* Project page only. Public header and footer keep their shared site styling. */
.software-projects-page{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
.software-projects-page>#main{flex:1;display:flex;background:#f3f5f7}
.projects-main{width:100%;display:flex;align-items:center;padding:40px var(--page-gutter,40px)}
.projects-sheet{width:100%;max-width:1280px;margin:0 auto;background:#fff;color:#402848;padding:48px 56px 40px;clip-path:polygon(20px 0,100% 0,100% calc(100% - 20px),calc(100% - 20px) 100%,0 100%,0 20px)}
.projects-intro{display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:56px;padding-bottom:38px}
.projects-intro h1{font-family:Impact,'Arial Narrow','Helvetica Neue',sans-serif;font-size:clamp(48px,5.2vw,76px);font-weight:900;letter-spacing:-.025em;line-height:1.03;text-transform:uppercase;margin:0}
.projects-intro h1 span{color:#d92c30}
.projects-experience{list-style:none;padding:0;margin:0;display:grid;gap:16px}
.projects-experience li{position:relative;padding-left:28px;color:#655b6e;font-size:19px;line-height:1.45}
.projects-experience li::before{content:'✓';position:absolute;left:0;top:0;color:#00858a;font-weight:700}
.projects-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid #e1dee5;padding:30px 0}
.projects-services article{padding:0 28px;text-align:left}
.projects-services article:first-child{padding-left:0}
.projects-services article+article{border-left:1px solid #e1dee5}
.projects-services svg{display:block;width:44px;height:44px;fill:none;stroke:#00858a;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;margin-bottom:16px}
.projects-services h2{font-size:27px;line-height:1.2;letter-spacing:-.025em;font-weight:650;margin:0;color:#402848}
.projects-contact{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:30px 0 0}
.projects-contact h2{font-size:20px;line-height:1.4;font-weight:500;color:#655b6e;margin:0}
.projects-contact a{font-size:30px;line-height:1.3;font-weight:650;letter-spacing:-.025em;color:#402848;text-decoration:underline;text-decoration-color:#d8cfdc;text-decoration-thickness:1px;text-underline-offset:7px;overflow-wrap:anywhere}
.projects-contact a:hover{color:#00858a;text-decoration-color:currentColor}
@media(max-width:1050px){.projects-sheet{padding:36px}.projects-intro{gap:32px;grid-template-columns:1fr 1.15fr}.projects-intro h1{font-size:56px}.projects-experience li{font-size:17px}.projects-services h2{font-size:23px}.projects-services article{padding-inline:22px}}
@media(max-width:720px){.projects-main{padding:24px 20px}.projects-sheet{padding:32px 26px}.projects-intro{grid-template-columns:1fr;gap:28px;padding-bottom:28px}.projects-intro h1{font-size:54px}.projects-experience{gap:13px}.projects-experience li{font-size:17px}.projects-services{grid-template-columns:1fr;padding:0}.projects-services article,.projects-services article:first-child{display:flex;align-items:center;gap:20px;text-align:left;padding:22px 0}.projects-services article+article{border-left:0;border-top:1px solid #e1dee5}.projects-services svg{width:40px;height:40px;margin:0;flex:none}.projects-services h2{font-size:23px}.projects-services h2 br{display:none}.projects-contact{padding-top:26px}.projects-contact h2{font-size:17px}.projects-contact a{font-size:25px}}
@media(max-width:380px){.projects-sheet{padding-inline:20px}.projects-intro h1{font-size:46px}.projects-services h2{font-size:21px}.projects-contact a{font-size:22px}}

.projects-heading p{max-width:36ch;margin:22px 0 0;color:#655b6e;font-size:19px;line-height:1.55}
@media(max-width:720px){.projects-heading p{font-size:17px;margin-top:18px;max-width:38ch}}

/* Intro: balanced text columns with a shared top edge. */
.projects-intro{grid-template-columns:1fr 1fr;gap:64px;align-items:start;padding-bottom:40px}
.projects-intro h1{font-family:"Segoe UI",system-ui,sans-serif;font-size:clamp(38px,4vw,56px);font-weight:700;letter-spacing:-.045em;line-height:1.1;text-transform:none}
.projects-heading p{font-size:19px;line-height:1.6;max-width:36ch;margin:20px 0 0}
.projects-experience{counter-reset:experience;gap:0;border-top:1px solid #e1dee5}
.projects-experience li{counter-increment:experience;padding:15px 0 15px 36px;border-bottom:1px solid #e1dee5;font-size:19px;line-height:1.4;color:#402848}
.projects-experience li::before{content:counter(experience,decimal-leading-zero);top:19px;font-size:11px;font-weight:600;letter-spacing:.05em;color:#8b7d91}
@media(max-width:1050px){.projects-intro{gap:32px}.projects-intro h1{font-size:44px}.projects-experience li{font-size:17px}.projects-heading p{font-size:17px}}
@media(max-width:720px){.projects-intro{grid-template-columns:1fr;gap:28px;padding-bottom:28px}.projects-intro h1{font-size:clamp(34px,7vw,48px)}.projects-heading p{margin-top:16px;max-width:38ch}.projects-experience li{padding-block:14px;font-size:17px}.projects-experience li::before{top:18px}}

/* Standalone title, followed by the introduction and original checked list. */
.projects-sheet>h1{font-family:"Segoe UI",system-ui,sans-serif;font-size:clamp(36px,4vw,56px);font-weight:700;letter-spacing:-.04em;line-height:1.15;margin:0 0 32px;color:#402848}
.projects-sheet>h1 span{color:#d92c30}
.projects-intro{grid-template-columns:.9fr 1.1fr;gap:64px;align-items:start;padding-bottom:34px}
.projects-heading p{margin:0;font-size:21px;line-height:1.6;max-width:33ch}
.projects-experience{border:0;gap:14px;counter-reset:none}
.projects-experience li{padding:0 0 0 28px;border:0;font-size:19px;line-height:1.45;counter-increment:none;color:#655b6e}
.projects-experience li::before{content:'✓';top:0;font-size:19px;letter-spacing:0;font-weight:700;color:#00858a}
@media(max-width:1050px){.projects-intro{gap:32px}.projects-heading p{font-size:19px}.projects-experience li{font-size:17px}}
@media(max-width:720px){.projects-sheet>h1{font-size:clamp(30px,6.4vw,44px);margin-bottom:24px}.projects-intro{grid-template-columns:1fr;gap:24px;padding-bottom:28px}.projects-heading p{font-size:18px;max-width:38ch}.projects-experience li{font-size:17px}}

/* A modest standalone service introduction replaces the display title. */
.projects-lead{font-size:28px;line-height:1.45;font-weight:500;letter-spacing:-.02em;color:#402848;max-width:64ch;margin:0 0 28px}
.projects-intro{display:block;padding-bottom:30px}
.projects-experience{gap:12px}
@media(max-width:720px){.projects-lead{font-size:23px;line-height:1.45;margin-bottom:24px}.projects-intro{padding-bottom:26px}}

.projects-lead{max-width:none}
@media(max-width:720px){.projects-lead-break{display:none}}

/* A small code-native illustration balances the experience list. */
.projects-intro{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.8fr);align-items:center;gap:48px}
.projects-visual{width:100%;max-width:350px;justify-self:end}
.projects-visual svg{display:block;width:100%;height:auto}
@media(max-width:900px){.projects-intro{grid-template-columns:minmax(0,1.4fr) minmax(200px,.7fr);gap:24px}}
@media(max-width:720px){.projects-intro{display:block}.projects-visual{display:none}}

.projects-intro{grid-template-columns:minmax(0,1.15fr) minmax(300px,1fr);gap:36px}
.projects-visual{max-width:420px}
.projects-visual img{display:block;width:100%;height:auto}
@media(max-width:900px){.projects-intro{grid-template-columns:minmax(0,1.3fr) minmax(230px,1fr);gap:24px}}
@media(max-width:720px){.projects-intro{display:block}}
