/* STAKK — Návrh 2 · Nový (canvas boards Novy, NovyLeseni), orange A = the logo's */

@font-face {
	font-family: Archivo; font-style: normal; font-weight: 400 800; font-display: swap;
	src: url(fonts/archivo-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: Archivo; font-style: normal; font-weight: 400 800; font-display: swap;
	src: url(fonts/archivo-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--orange: #E55D0D; --on-orange: #17191C; --orange-ink: #B4470A; --orange-hover: #F27A33;
	--ink: #17191C; --body: #4A4D52; --line: #E4E2DD; --soft: #F3F2EF;
	--night: #17191C; --night-line: #3A3D42; --night-text: #D9DADC;
	--gutter: clamp(18px, 2.4vw, 32px);
	--space: clamp(44px, 5.4vw, 76px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: #FFFFFF; color: var(--ink); font-family: Archivo, Arial, system-ui, sans-serif; font-size: 1.0938rem; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2 { font-weight: 800; line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--orange-ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.band :focus-visible, .hero :focus-visible, .halves :focus-visible { outline-color: #FFFFFF; }
.wrap { max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 20; padding: 10px 14px; background: #FFFFFF; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 8px 26px; border: 1px solid transparent; background: var(--orange); color: var(--on-orange); font: inherit; font-size: 1.0625rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--orange-hover); color: var(--on-orange); }
.btn[aria-disabled] { opacity: .7; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* header */
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.brand img { height: clamp(52px, 4.4vw, 62px); width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; font-size: 1.0312rem; font-weight: 600; }
.nav a { padding: 10px 0; text-decoration: none; }
.nav a:hover { color: var(--orange-ink); }
.nav [aria-current], .nav .is-active { color: var(--orange-ink); font-weight: 700; }
.call { display: inline-flex; align-items: center; min-height: 46px; border: 1px solid transparent; background: var(--night); color: #FFFFFF; font-weight: 700; text-decoration: none; }
.nav .call { padding: 0 18px; }
.nav .call:hover, .menu .call:hover { background: #33373D; color: #FFFFFF; }
.menu { display: none; position: relative; }
.menu summary { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid transparent; background: var(--night); color: #FFFFFF; list-style: none; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 10; width: min(320px, calc(100vw - 2 * var(--gutter))); max-height: calc(100dvh - 100px); overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; padding: 8px 20px 20px; background: #FFFFFF; box-shadow: 0 18px 40px rgb(0 0 0 / .22); font-size: 1.125rem; font-weight: 600; }
.menu-panel a { padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.menu-panel [aria-current], .menu-panel .is-active { color: var(--orange-ink); }
.menu-sub { display: flex; flex-direction: column; padding: 2px 0 8px 16px; border-bottom: 1px solid var(--line); }
.menu-sub a { padding: 8px 0; border-bottom: 0; font-size: 1rem; font-weight: 500; }
.menu-panel .call { margin-top: 16px; padding: 0 18px; justify-content: center; border: 1px solid transparent; }
@media (max-width: 900px) { .nav { display: none; } .menu { display: block; } }

/* dark bands */
.band { background: var(--night); color: #FFFFFF; }
.band a:hover:not(.btn) { color: var(--orange-hover); }
.band h1 span, .hero h1 span { color: var(--orange); }
.home-head { padding-block: clamp(20px, 2vw, 26px); }
.home-head h1 { font-size: clamp(1.625rem, 2.5vw, 2.25rem); }
.page-head { padding-block: clamp(36px, 4.4vw, 60px); }
.page-head h1 { max-width: 900px; font-size: clamp(2.125rem, 3.6vw, 3.25rem); line-height: 1.05; }

/* home: two equal halves under one roof */
.halves { --photo: clamp(230px, 28vw, 600px); position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--night); color: #FFFFFF; }
.half-photo, .half-photo picture { display: block; height: var(--photo); }
.half-photo img { width: 100%; height: 100%; object-fit: cover; }
.half { min-width: 0; position: relative; display: flex; flex-direction: column; }
.half-text { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 640px; width: 100%; padding: 24px var(--gutter) clamp(30px, 3.4vw, 48px); margin-left: auto; }
.half-text p { flex: 1; font-size: 1.125rem; line-height: 1.55; color: var(--night-text); }
.half-text h2 { font-size: clamp(2rem, 3vw, 2.625rem); line-height: 1.05; }
.half:last-child .half-text { margin-left: 0; margin-right: auto; align-items: flex-end; text-align: right; }
/* two siblings: the dark one ends 1 px lower, so no orange hairline shows along the photo's edge */
.roof { position: absolute; inset: 0 0 auto; }
.roof::before, .roof::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.roof::before { top: calc(var(--photo) - 64px); height: 64px; background: var(--orange); }
.roof::after { top: calc(var(--photo) - 50px); height: 51px; background: var(--night); }
@media (max-width: 799px) {
	.halves { --photo: clamp(260px, 45vw, 360px); grid-template-columns: 1fr; }
	.roof { display: none; }
	.half-photo { position: relative; }
	.half-photo::before, .half-photo::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; }
	.half-photo::before { height: 54px; background: var(--orange); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
	.half-photo::after { bottom: -1px; height: 42px; background: var(--night); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
	.half:last-child .half-photo::before, .half:last-child .half-photo::after { clip-path: polygon(0 0, 100% 100%, 0 100%); }
	.half-text, .half:last-child .half-text { align-items: flex-start; text-align: left; max-width: none; padding-top: 18px; }
}

.facts { background: var(--orange); color: var(--on-orange); }
.facts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 18px 32px; padding-block: 26px; }
.facts strong { display: block; font-size: 1.75rem; font-weight: 800; line-height: 1.1; }
.facts span { font-size: 1.0312rem; font-weight: 500; }

.intro { display: flex; flex-wrap: wrap; gap: 24px clamp(32px, 4.4vw, 64px); padding-block: clamp(52px, 6.4vw, 92px); }
.intro h2 { flex: 1 1 340px; min-width: 0; font-size: clamp(2rem, 3.2vw, 2.75rem); }
.intro .prose { flex: 1.6 1 480px; min-width: 0; }

.cta > .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-block: clamp(48px, 5.6vw, 80px); }
.cta h2 { font-size: clamp(1.875rem, 3vw, 2.625rem); }
.cta p { max-width: 620px; font-size: 1.125rem; color: var(--night-text); }

/* text */
.prose { display: flex; flex-direction: column; gap: 16px; color: var(--body); }
.prose .lead, .lead { color: var(--ink); font-size: clamp(1.1875rem, 1.6vw, 1.375rem); font-weight: 500; line-height: 1.45; }
.prose > p { max-width: 68ch; }
.prose h2 { margin-top: 18px; color: var(--ink); font-size: clamp(1.625rem, 2.4vw, 2.125rem); letter-spacing: -0.01em; }
.prose > h2:first-child { margin-top: 0; }
.ticks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 0 32px; }
.ticks li { padding: 11px 0 11px 26px; border-top: 1px solid var(--line); position: relative; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: 14px; height: 8px; background: var(--orange); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 0 32px; }
.rows > * { padding: 14px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.rows strong, .rows dt { color: var(--ink); font-size: 1.125rem; font-weight: 700; line-height: 1.35; }
.rows span, .rows dd { font-size: 1.0312rem; line-height: 1.5; }
.rows > li { position: relative; }
.rows li a::after { content: ""; position: absolute; inset: 0; }
.rows li:has(a):hover { border-top-color: var(--orange); }
.text-page { padding-block: var(--space); max-width: 1280px; }
.notice { padding: 14px 18px; border: 2px solid var(--line); background: var(--soft); color: var(--ink); font-weight: 500; }
.notice:focus { outline: none; }
.notice.is-ok { border-color: #2E7D4F; background: #EAF5EE; font-size: 1.1875rem; }
.notice.is-error { border-color: #B3261E; background: #FCEEED; }

/* service page */
.hero { position: relative; background: var(--night); color: #FFFFFF; overflow: hidden; }
.hero .wrap { position: relative; padding-block: clamp(48px, 5vw, 72px); }
.hero.has-photo .wrap { min-height: 400px; }
.hero-text { display: flex; flex-direction: column; gap: 18px; max-width: 800px; }
.hero.has-photo .hero-text { max-width: 46%; }
.hero h1 { font-size: clamp(2.375rem, 4vw, 3.5rem); line-height: 1.02; letter-spacing: -0.02em; }
.hero p { max-width: 600px; font-size: 1.1562rem; line-height: 1.5; color: var(--night-text); }
.hero-photo { position: absolute; inset: 0 0 0 42%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo picture { display: block; height: 100%; }
.hero.has-photo .hero-edge { position: absolute; inset: 0 41% 0 0; background: var(--orange); clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
.hero.has-photo .hero-edge::after { content: ""; position: absolute; inset: 0 3.4% 0 0; background: var(--night); clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
.hero:not(.has-photo) .hero-edge { position: absolute; right: 0; bottom: 0; width: 46%; height: 64px; background: var(--orange); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
@media (max-width: 799px) {
	.hero-photo { position: relative; inset: auto; height: 230px; }
	.hero.has-photo .hero-text { max-width: none; }
	.hero.has-photo .hero-edge { inset: 176px 0 auto; height: 55px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
	.hero.has-photo .hero-edge::after { inset: 12px 0 0; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
	.hero.has-photo .wrap { min-height: 0; padding-block: 18px 34px; }
	.hero:not(.has-photo) .hero-edge { height: 40px; }
	.hero:not(.has-photo) .wrap { padding-bottom: 64px; }
}

.tabs { border-bottom: 1px solid var(--line); }
.tabs .wrap { display: flex; gap: 0 clamp(4px, 1.4vw, 20px); overflow-x: auto; padding-inline: max(8px, calc(var(--gutter) - 10px)); scrollbar-width: thin; }
.tabs a { flex: none; padding: 15px 10px 12px; border-bottom: 3px solid transparent; font-size: 1.0312rem; font-weight: 500; text-decoration: none; }
.tabs a:hover { border-bottom-color: var(--line); }
.tabs [aria-current] { border-bottom-color: var(--orange); font-weight: 700; color: var(--ink); }
.tabs a:focus-visible { outline-offset: -3px; }

.service, .contact { display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 72px); padding-block: var(--space); }
.service .prose, .contact .prose { flex: 1.7 1 460px; min-width: 0; }
.card { flex: 1 1 300px; min-width: 0; align-self: flex-start; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 26px; background: var(--soft); font-size: 1.0312rem; line-height: 1.5; font-style: normal; }
.card .mark { width: auto; max-width: 200px; max-height: 120px; }
.marks { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; margin-top: 12px; }
.marks img { width: auto; max-height: 110px; max-width: 220px; }
.card h2 { font-size: 1.5rem; }
.card > p { color: var(--body); }
.card .person { color: var(--ink); }
.card address { color: var(--body); font-style: normal; }
.card .small { font-size: 0.9375rem; }

.band > .wrap:not(.home-head, .page-head) { padding-block: var(--space); }
.cta.band > .wrap { padding-block: clamp(48px, 5.6vw, 80px); }
.band > .wrap > h2 { font-size: clamp(1.875rem, 3vw, 2.625rem); }
.band-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 0 32px; margin-top: 28px; color: var(--night-text); line-height: 1.5; }
.band-list li { padding: 14px 0; border-top: 1px solid var(--night-line); }

.gallery { display: flex; flex-direction: column; gap: 26px; padding-block: var(--space); }
.gallery h2, .faq h2 { font-size: clamp(1.875rem, 3vw, 2.625rem); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 16px; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-grid a { display: block; cursor: zoom-in; }
.gallery-grid a:hover img { opacity: .9; }
/* lightbox (www/assets/gallery.js) */
div.pswp { --pswp-bg: var(--night); }   /* div.: beats photoswipe.css, which loads later */
.pswp__caption { position: absolute; inset: auto 0 0; padding: 14px var(--gutter) 18px; background: linear-gradient(transparent, rgb(0 0 0 / .65) 40%); color: #FFFFFF; font-size: 1rem; line-height: 1.4; text-align: center; pointer-events: none; }
.pswp__caption:empty { display: none; }

.faq { border-top: 1px solid var(--line); }
.faq > .wrap { display: flex; flex-direction: column; gap: 26px; padding-block: var(--space); }
.faq-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 26px 48px; }
.faq h3 { font-size: 1.1875rem; font-weight: 700; line-height: 1.35; }
.faq p { margin-top: 6px; color: var(--body); max-width: 68ch; }

/* contact */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 32px; padding-bottom: var(--space); }
.person-card { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 4px solid var(--orange); font-size: 1.0312rem; line-height: 1.5; }
.person-card h2 { font-size: 1.3125rem; line-height: 1.2; }
.person-card p:last-child { color: var(--body); }

/* enquiry form */
.enquiry { background: var(--soft); }
.enquiry-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 28px clamp(36px, 5vw, 72px); padding-block: var(--space); align-items: start; }
.enquiry-text { display: flex; flex-direction: column; gap: 14px; grid-row: span 2; }
.enquiry h2 { font-size: clamp(1.875rem, 3vw, 2.625rem); }
.enquiry-text p { color: var(--body); }
.enquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.enquiry-form > * { grid-column: 1 / -1; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.enquiry-form .field-email, .enquiry-form .field-phone { grid-column: span 1; }
.field label { font-size: 1rem; font-weight: 600; }
.req { color: var(--orange-ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 11px 14px; border: 1px solid #767980; border-radius: 0; background: #FFFFFF; color: var(--ink); font: inherit; font-size: 1.0625rem; line-height: 1.4; }
.field textarea { resize: vertical; }
.field input[type=file] { padding: 9px; }
.field input[type=file]::file-selector-button { min-height: 32px; margin-right: 12px; padding: 4px 14px; border: 0; background: var(--night); color: #FFFFFF; font: inherit; font-size: 0.9375rem; font-weight: 600; cursor: pointer; }
.field :focus-visible { outline-offset: 0; }
.has-error input, .has-error select, .has-error textarea { border: 2px solid #B3261E; }
.hint { font-size: 0.9375rem; color: var(--body); }
.error { font-size: 0.9688rem; font-weight: 600; color: #B3261E; }
.error:empty { display: none; }
.trap { position: absolute; left: -9999px; }
.enquiry-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.req-note, .privacy { font-size: 0.9688rem; color: var(--body); }
@media (max-width: 799px) {
	.enquiry-grid { grid-template-columns: minmax(0, 1fr); }
	.enquiry-text { grid-row: auto; }
}
@media (max-width: 480px) { .enquiry-form .field-email, .enquiry-form .field-phone { grid-column: 1 / -1; } }

/* footer */
.site-footer { border-top: 10px solid var(--orange); font-size: 1.0312rem; }
.site-footer > .wrap { display: flex; flex-direction: column; gap: 28px; padding-block: clamp(44px, 5vw, 68px) 36px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 28px 32px; }
.footer-firm { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-firm img { height: 66px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 26px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; }
.footer-links a { padding: 6px 0; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bar { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--body); }
.footer-bar .credit { margin-left: auto; }
.footer-bar .credit a { text-decoration: none; }
.footer-bar .credit a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
	.btn, .call, .nav a, .tabs a, .rows > li { transition: background-color .15s, color .15s, border-color .15s; }
}
@media (forced-colors: active) { .tabs [aria-current] { text-decoration: underline; } }
@media print {
	.nav, .menu, .tabs, .enquiry, .footer-links, .skip, .btn, .roof, .hero-edge, .half-photo::before, .half-photo::after { display: none !important; }
	.band, .hero, .halves, .facts { background: none; color: #000; }
	.band :is(h1, h2, p, li, span), .hero :is(h1, p, span), .halves :is(h2, p), .facts :is(strong, span) { color: #000; }
	.hero-photo { position: static; height: 200px; }
	.hero.has-photo .hero-text { max-width: none; }
	h1, h2, h3 { break-after: avoid; }
	.rows > *, .faq-item, .footer-cols > div, .card, .person-card, .gallery-grid picture, .half { break-inside: avoid; }
}
