:root{--slate-blue:#536674;--sage-green:#707B69;--deep-forest:#303C35;--warm-stone:#ECECE6;--warm-ivory:#F7F6F2;--charcoal:#252A27;--muted-gray:#646A63;--soft-border:#D9DBD4;--maple-rust:#B7683A}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:64px}body{margin:0;background:var(--warm-ivory);color:var(--charcoal);font:400 18px/1.55 'Oswald',Arial,sans-serif}a{color:inherit;text-decoration:none}header{height:64px;position:sticky;top:0;z-index:10;background:var(--warm-ivory);border-bottom:0;padding:0 6%;display:flex;align-items:center;justify-content:space-between}header strong{font-size:18px}nav{display:flex;gap:32px}nav a{font-size:16px}section{padding:58px 7%}h1,h2,h3{letter-spacing:-.025em;font-weight:500}h1{font-size:clamp(36px,4.3vw,60px);line-height:1.15;margin:0 0 27px}h2{font-size:32px;line-height:1.16;margin:0 0 24px}h3{font-size:21px;line-height:1.2;margin:0 0 18px}.hero{display:grid;grid-template-columns:42% 1fr;gap:7%;align-items:center;min-height:calc(100vh - 64px)}.portrait{width:100%;height:520px;object-fit:cover;object-position:center 20%;display:block;background:var(--soft-border)}.hero p,.bio p,.about-lower p,.project p,.integration-lead p{color:var(--muted-gray)}.hero p{margin:0 0 16px}.about{min-height:calc(100vh - 64px)}.about-top{display:grid;grid-template-columns:31% 1fr;gap:5%;align-items:start}.about .portrait{height:340px;object-position:center 16%}.bio p{margin:0 0 12px}.about-lower{display:grid;grid-template-columns:1fr 1fr;gap:5%;margin-top:30px;padding-top:4px}.about-lower p{margin:0 0 12px}.projects{background:var(--warm-stone);min-height:calc(100vh - 64px);padding-top:68px;padding-bottom:42px}.projects h2{margin-bottom:23px}.integration-lead{display:grid;grid-template-columns:1fr auto;align-items:center;gap:35px;padding:25px 30px;margin:0 0 23px;background:#fff;border-left:4px solid var(--sage-green)}.integration-lead h3{font-size:25px;margin:0 0 9px}.integration-lead p{max-width:700px;margin:0}.cta--autumn-light{background:radial-gradient(ellipse 70% 160% at 105% 110%,#B7683A 0%,rgba(183,104,58,.4) 35%,transparent 72%),linear-gradient(110deg,#536674 0%,#707B69 48%,#303C35 100%);color:var(--warm-ivory)}.cta{display:inline-block;padding:14px 20px;font-size:15px;font-weight:600;white-space:nowrap;text-align:center;border:0;cursor:pointer}.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.project{background:var(--warm-ivory);padding:28px;min-height:200px;border:1px solid var(--soft-border);display:flex;flex-direction:column;align-items:flex-start}.project h3{font-size:26px;margin:0 0 16px}.project p{margin:0 0 11px}.project .link{margin-top:auto}.link{font-weight:600;border-bottom:1px solid;padding:7px 0;display:inline-block;font-size:14px}.contact{min-height:0;padding-top:24px;padding-bottom:8px;display:flex;align-items:center;justify-content:center;flex-direction:column}.contact h2{text-align:center;margin:0 0 29px}.form{display:grid;width:min(100%,620px);gap:8px}label{font-size:14px;margin-top:5px}input,textarea,select{padding:12px;border:1px solid #c8cbc3;background:transparent;font:inherit;width:100%;border-radius:0}.note{font-size:12px;color:var(--muted-gray)}footer{padding:24px 7% 48px;border-top:0;display:flex;justify-content:flex-start;align-items:center;gap:24px;font-size:13px;color:var(--muted-gray)}footer span:nth-child(2){margin-right:auto}footer a{margin-left:22px}@media(max-width:800px){header{height:auto;min-height:62px;flex-wrap:wrap;gap:10px;padding:12px 5%}nav{gap:14px}nav a{font-size:14px}section{padding:44px 6%}.hero,.about-top,.about-lower,.project-grid,.integration-lead{grid-template-columns:1fr}.hero{gap:30px;min-height:auto}.portrait{height:390px}.about .portrait{height:340px}h1{font-size:42px}h2{font-size:30px}.about-lower{gap:22px}.projects,.contact{min-height:auto}.integration-lead{padding:25px;gap:18px}.project{min-height:200px}footer{display:block}footer a{display:inline-block;margin:12px 18px 0 0}}
.project-grid{align-items:stretch}.project{padding:0;min-height:0;overflow:hidden;display:flex;flex-direction:column;align-items:stretch}.project-cover{height:164px;padding:22px 28px;display:flex;flex-direction:column;justify-content:space-between;color:var(--warm-ivory)}.project-cover--slate{background:var(--slate-blue)}.project-cover--sage{background:var(--sage-green)}.project-cover__eyebrow{font-size:10px;font-weight:600;letter-spacing:.105em}.project-cover__title{font-size:clamp(23px,2vw,29px);font-weight:500;letter-spacing:-.025em;line-height:1.1}.project-cover__sub{font-size:13px}.project-body{padding:22px 28px 25px;display:flex;flex:1;flex-direction:column;justify-content:space-between;gap:18px}.project-body p{margin:0;color:var(--muted-gray);font-size:15px;line-height:1.55;max-width:560px}.project-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.project-action{min-height:43px;padding:10px 8px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:13px;font-weight:600;line-height:1.35;border:1px solid var(--soft-border);text-decoration:none}.project-action--request{border-color:var(--deep-forest);color:var(--deep-forest)}.project-action--request:hover,.project-action--request:focus-visible{background:var(--deep-forest);color:var(--warm-ivory)}.project-action--pending{color:var(--muted-gray);cursor:not-allowed;opacity:.65}@media(max-width:800px){.project-cover{height:150px}.project-body{padding:21px}.project-actions{gap:9px}}


/* Approved header: project slogan, navigation, theme and language. No decorative separators. */
.site-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-left:7%;padding-right:7%}
.site-brand{color:var(--charcoal);font-size:18px;font-weight:700;letter-spacing:-.01em;white-space:nowrap;text-decoration:none}
.header-controls{display:flex;align-items:center;gap:23px}
.header-controls nav{display:flex;align-items:center;gap:27px}
.theme-toggle{display:grid;place-items:center;width:24px;height:28px;border:0;padding:0;color:var(--charcoal);background:transparent;border-radius:0;cursor:pointer;flex:none}
.theme-toggle:hover{opacity:.7}.theme-toggle:focus-visible{outline:2px solid var(--sage-green);outline-offset:4px}
.icon-sun{display:none}
html[data-theme="dark"] .icon-sun{display:block}
html[data-theme="dark"] .icon-moon{display:none}
.language-switch{display:flex;align-items:center;gap:14px}
.language-button{appearance:none;border:0;background:transparent;color:var(--muted-gray);font:inherit;font-size:15px;font-weight:600;padding:5px 0;cursor:pointer}
.language-button.active{color:var(--charcoal)}
.language-button:hover{text-decoration:underline}
.home-portrait-group{display:flex;flex-direction:column;gap:18px}
.home-name{font-size:26px;font-weight:650;letter-spacing:-.025em;line-height:1.1;color:var(--charcoal)}
/* Dark mode reuses only the nine approved palette tokens and swaps their roles. */
html[data-theme="dark"]{
 --warm-ivory:#303C35;
 --warm-stone:#252A27;
 --charcoal:#F7F6F2;
 --muted-gray:#D9DBD4;
 --soft-border:#707B69;
}
html[data-theme="dark"] .integration-lead{background:#536674}
html[data-theme="dark"] .project{background:#303C35}
html[data-theme="dark"] .project-cover--slate{background:#536674}
html[data-theme="dark"] .project-cover--sage{background:#707B69}
html[data-theme="dark"] .project-cover,
html[data-theme="dark"] .project-cover__eyebrow,
html[data-theme="dark"] .project-cover__title,
html[data-theme="dark"] .project-cover__sub{color:#F7F6F2}
html[data-theme="dark"] .project-action--request{color:#F7F6F2;border-color:#D9DBD4}
html[data-theme="dark"] .project-action--request:hover,
html[data-theme="dark"] .project-action--request:focus-visible{background:#536674}
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea{border-color:#707B69;color:#F7F6F2;background:#303C35}
html[data-theme="dark"] .cta--autumn-light{color:#F7F6F2}
html[data-theme="dark"] .project-cover__eyebrow{color:#F7F6F2}
@media(max-width:1100px){
 .site-header{padding-left:7%;padding-right:7%}
 .header-controls{gap:15px}
 .header-controls nav{gap:16px}
 .site-brand{font-size:17px}
}
@media(max-width:800px){
 html{scroll-padding-top:110px}
 .site-header{height:auto;min-height:84px;display:flex;align-items:center;gap:9px;padding:12px 6%}
 .site-brand{font-size:17px}
 .header-controls{gap:12px;flex-wrap:wrap;justify-content:flex-end}
 .header-controls nav{order:2;width:100%;justify-content:flex-end;gap:17px}
 .theme-toggle{width:24px;height:28px}
 .language-switch{gap:11px}
 .home-name{font-size:24px}
}
@media(max-width:520px){
 html{scroll-padding-top:126px}
 .site-header{align-items:flex-start}
 .header-controls nav{gap:12px;justify-content:flex-start}
 .header-controls nav a{font-size:13px}
 .site-brand{max-width:170px;white-space:normal;line-height:1.15}
 .language-button{font-size:14px}
 .home-name{font-size:23px}
}


/* Shared centered content grid across header, all sections and footer.
   The full-width section backgrounds remain unchanged. */
:root{--content-gutter:max(6%,calc((100% - 1200px)/2))}
.site-header,main>section,footer{padding-left:var(--content-gutter);padding-right:var(--content-gutter)}
@media(max-width:800px){
  .site-header,main>section,footer{padding-left:6%;padding-right:6%}
}
