/* Shared portfolio presentation. Brand artwork keeps its own palette. */
:root[data-theme=dark]{--green:var(--blue);--section-green:#1c2025;--gallery-green:#24292f;--field-green:70,78,89;--wash-green:90,100,114}
:root[data-theme=dark] .home-grid .category-art.sage{--art-ink:#9bb7cf;--art-paper:#202c39;--art-tint:#31465a;--art-mid:#5d7e99}
.cta-row>.stack{max-width:690px}.cta-row>.stack>p.muted{max-width:58ch}.footer-availability{padding:0 0 24px;color:var(--muted);font-size:14px}.footer-availability a{display:inline-block;margin-left:12px}.home-intro .actions{gap:20px}.home-intro .actions .text-link{margin:0}
.page-work .work-categories .discipline{grid-template-columns:40px minmax(0,1fr) 180px;min-height:218px}.work-category-icon{display:grid;place-items:center;justify-self:end;width:144px;height:144px;color:var(--blue);background:var(--section-blue);border:1px solid var(--border);border-radius:12px}.work-category-icon svg{width:96px;height:96px}.work-categories .discipline:hover .work-category-icon,.work-categories .discipline:focus-visible .work-category-icon{border-color:var(--work-accent);color:var(--work-accent)}
.skills-tools{padding-block:72px}.skills-heading{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:end;margin-bottom:40px}.skills-heading h2{margin-top:14px;max-width:18ch}.skills-heading>.lead{max-width:54ch}.capability-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.capability{display:flex;flex-direction:column;align-items:flex-start;padding:28px;border:1px solid var(--border);border-radius:8px;background:var(--section-blue);min-width:0}.capability-number{margin-bottom:22px}.capability h3{font-size:23px;line-height:1.3;margin-bottom:14px}.capability>p{color:var(--muted);font-size:15px;line-height:1.75;margin-bottom:24px}.tool-labels{display:flex;flex-wrap:wrap;gap:7px;padding:0;margin:auto 0 0;list-style:none}.tool-labels li{font-size:11px;line-height:1.5;color:var(--blue);padding:5px 9px;border:1px solid var(--border);border-radius:4px;background:var(--bg)}
.contact-form select{font:inherit;color:var(--text);background:var(--bg);border:1px solid var(--border);border-radius:4px;padding:12px 14px;width:100%;min-height:48px}.contact-form select:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
@media(max-width:1000px){.capability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.skills-heading{gap:32px}.page-work .work-categories .discipline{grid-template-columns:28px minmax(0,1fr) 125px}.work-category-icon{width:112px;height:112px}.work-category-icon svg{width:80px;height:80px}}
@media(max-width:650px){.skills-tools{padding-block:40px}.skills-heading,.capability-grid{grid-template-columns:1fr;gap:20px}.skills-heading{margin-bottom:28px}.capability{padding:24px}.capability-number{margin-bottom:14px}.page-work .work-categories .discipline{grid-template-columns:24px minmax(0,1fr) 64px;gap:12px;min-height:0;padding:26px 8px}.work-categories .discipline-copy{grid-column:2;grid-row:1}.work-categories .discipline-number{grid-column:1;grid-row:1}.work-category-icon{grid-column:3;grid-row:1;align-self:start;width:60px;height:60px;border-radius:8px}.work-category-icon svg{width:48px;height:48px}.work-categories .discipline h2{font-size:25px}.work-categories .discipline-copy p{font-size:14px}.footer-availability a{margin:8px 0 0;display:block}}

/* Reuse the Home illustration system at a readable scale in category rows. */
.page-work .work-categories .discipline{grid-template-columns:40px minmax(0,1fr) 240px}
.work-categories .work-category-art{display:grid;place-items:center;justify-self:end;position:relative;width:240px;height:160px;min-height:0;aspect-ratio:3/2;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--section-blue);--art-ink:#557896;--art-paper:#f9fcff;--art-tint:#d6e4ef;--art-mid:#98b4cb}
.work-category-art.sage{--art-ink:#54776e;--art-paper:#f9fcfa;--art-tint:#d9e8df;--art-mid:#a0beb0}
.work-categories .work-category-art svg{display:block;width:100%;height:100%;max-height:100%}
:root[data-theme=dark] .work-category-art,:root[data-theme=dark] .work-category-art.sage{--art-ink:#9bb7cf;--art-paper:#202c39;--art-tint:#31465a;--art-mid:#5d7e99}
.work-categories .discipline:hover .work-category-art,.work-categories .discipline:focus-visible .work-category-art{border-color:var(--work-accent)}
@media(max-width:1000px){.page-work .work-categories .discipline{grid-template-columns:28px minmax(0,1fr) 180px}.work-categories .work-category-art{width:180px;height:120px}}
@media(max-width:650px){.page-work .work-categories .discipline{grid-template-columns:24px minmax(0,1fr)}.work-categories .work-category-art{grid-column:2;grid-row:2;justify-self:start;width:210px;height:140px;margin-top:8px}.work-categories .discipline-copy{grid-column:2;grid-row:1}}
