/* Reusable palette, shared by Domů and Jak spolupracuji. */
.theme-petrol{--surface-warm:#F3F0E8;--brand-blue:#405D65;--brand-blue-active:#2E474F;--signature-ink:#355058}
.theme-petrol .header .wordmark,.theme-petrol .menu-panel .menu-wordmark{font-size:clamp(2.24rem,3.136vw,3.36rem)}
.theme-petrol .header .wordmark{color:var(--signature-ink)}
.theme-petrol .header .signature-glass{background:var(--signature-ink)}
@supports ((backdrop-filter:url(#signature-surface-contrast)) or (-webkit-backdrop-filter:url(#signature-surface-contrast))){.theme-petrol .header .signature-glass{background:transparent}}
.theme-petrol .header .wordmark[data-on-dark]{color:var(--surface-warm)}
.theme-petrol .header .wordmark[data-on-dark] .signature-art{stroke:var(--brand-blue)}
.home .hero h1{font-size:clamp(3rem,5.25vw,6rem);line-height:1.06;letter-spacing:-.055em}
.home .hero-copy{padding-top:200px;padding-bottom:clamp(60px,8vh,96px)}
.home .hero-copy p{margin-top:30px;max-width:30em}
.home-introduction{display:grid;grid-template-columns:minmax(0,420px) minmax(0,560px);grid-template-areas:"portrait copy";justify-content:space-between;align-items:center;gap:clamp(60px,8vw,128px);max-width:1180px;margin:clamp(128px,11vw,176px) auto 0;padding-inline:0;width:calc(100% - 2 * var(--gutter))}
.home-introduction-copy{grid-area:copy}
.home-introduction h2{font-size:clamp(2.625rem,3.55vw,3.375rem);line-height:1.12;letter-spacing:-.045em}
.home-introduction-text{max-width:550px;margin-top:32px;font-size:clamp(1.25rem,1.5vw,1.375rem);line-height:1.6;letter-spacing:-.015em;text-wrap:pretty}
.home-introduction .text-link{font-size:1.125rem;margin-top:28px;min-height:44px}
.home-portrait{grid-area:portrait;width:100%;max-width:420px;justify-self:start}
.home-portrait .photo{background:color-mix(in srgb,var(--brand-blue) 8%,var(--surface-warm))}
.home .projects{padding-top:clamp(108px,9vw,144px)}
.home .approach{width:calc(100% - 2 * var(--gutter) - (100vw - 2 * var(--gutter)) / 12);max-width:1110px;margin-left:calc(var(--gutter) + (100vw - 2 * var(--gutter)) / 12);margin-right:var(--gutter)}
.home .approach>p{font-size:clamp(1.75rem,2.22vw,2.125rem);line-height:1.47;letter-spacing:-.028em;text-wrap:pretty}
.home .approach>.text-link{margin-top:28px;font-size:1.25rem}
.home .gallery{margin-top:clamp(72px,7vw,110px)}
:is(.home,.about-page) .footer{margin-top:clamp(104px,9vw,144px);padding-top:clamp(80px,7vw,112px)}
:is(.home,.about-page) .footer h2{font-size:clamp(3.25rem,5.65vw,6.25rem);line-height:1.1}
:is(.home,.about-page) .footer-grid{margin-top:64px;border-color:color-mix(in srgb,var(--surface-warm) 28%,transparent)}
:is(.home,.about-page) .footer-bottom{margin-top:48px;border-color:color-mix(in srgb,var(--surface-warm) 28%,transparent)}
@media(max-width:1100px){
 .home-introduction{grid-template-columns:minmax(0,34vw) minmax(0,1fr);gap:6vw}
 .home-introduction h2{font-size:clamp(2.25rem,4vw,2.625rem)}
 .home-introduction-text{font-size:1.25rem}
}
@media(max-width:900px){
 .home .hero-copy{padding-top:180px;padding-bottom:68px}
 .home .hero h1{font-size:clamp(3rem,8vw,4.375rem)}
 .home-introduction{grid-template-columns:minmax(0,1fr);grid-template-areas:"copy" "portrait";gap:44px;margin-top:104px;max-width:620px}
 .home-introduction-copy{max-width:560px}
 .home-introduction h2{font-size:2.75rem}
 .home-portrait{max-width:400px}
 .home .projects{padding-top:80px}
 .home .approach{width:auto;margin-inline:var(--gutter);max-width:720px}
 .home .approach>p{font-size:1.875rem}
 .home .gallery{margin-top:72px}
 :is(.home,.about-page) .footer{margin-top:88px;padding-top:72px}
 :is(.home,.about-page) .footer h2{font-size:5.8vw}
}
@media(max-width:639px){
 .theme-petrol .header .wordmark,.theme-petrol .menu-panel .menu-wordmark{font-size:clamp(1.4rem,6.8vw,1.8rem);max-width:calc(100% - 106px)}
 .home .hero-copy{padding-top:154px;padding-bottom:56px}
 .home .hero h1{font-size:clamp(2.125rem,10vw,3.5rem);line-height:1.06;letter-spacing:-.052em}
 .home .hero h1 span:first-child{max-width:none}
 .home .hero-copy p{font-size:1.0625rem;margin-top:24px}
 .home-introduction{margin-top:88px;gap:40px}
 .home-introduction h2{font-size:clamp(2rem,8.6vw,2.625rem);line-height:1.15;letter-spacing:-.04em}
 .home-introduction-text{margin-top:26px;font-size:1.125rem;line-height:1.6;letter-spacing:-.012em}
 .home-introduction .text-link{margin-top:20px}
 .home-portrait{width:calc(100% - 16px);max-width:360px}
 .home .projects{padding-top:72px}
 .home .approach>p{font-size:clamp(1.375rem,6.1vw,1.625rem);line-height:1.47;letter-spacing:-.023em}
 .home .approach>.text-link{font-size:1.125rem;margin-top:24px}
 .home .gallery{margin-top:56px}
 :is(.home,.about-page) .footer{margin-top:72px;padding-top:56px}
 :is(.home,.about-page) .footer h2{font-size:clamp(1.5rem,7.2vw,2.625rem);line-height:1.2}
 :is(.home,.about-page) .footer-grid{margin-top:36px;gap:18px}
 :is(.home,.about-page) .footer-bottom{margin-top:24px}
}
@media(max-width:360px){
 .theme-petrol .header{padding-left:var(--gutter)}
 .theme-petrol .header .wordmark,.theme-petrol .menu-panel .menu-wordmark{max-width:calc(100% - 104px)}
 .home .hero h1{font-size:10vw}
}
/* Keep all hero copy in view on wide, shallow laptop windows. */
@media(max-height:650px) and (min-width:901px){
 .home .hero{min-height:100svh}
 .home .hero-visual{min-height:540px}
 .home .hero-copy{padding-top:150px;padding-bottom:40px}
 .home .hero h1{font-size:clamp(3rem,4.75vw,5.25rem)}
 .home .hero-copy p{margin-top:24px}
}
