:root {
	--bg: #f7f4ed;
	--paper: #fdfbf6;
	--ink: #243e34;
	--muted: #59645b;
	--line: #d8dacf;
	--accent: #a45e45;
	--accent-dark: #864732;
	--soft: #eceee4;
	--serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--body-font: 'Lora', Georgia, serif;
	--label-font: 'Montserrat', Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body-font); font-size: 16px; line-height: 1.7; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h2, .section-title { margin-bottom: 1.3rem; font-size: clamp(2rem, 3.5vw, 3.3rem); line-height: 1.17; letter-spacing: -.025em; }
h3 { margin-bottom: .8rem; font-size: 1.6rem; line-height: 1.25; }
p { margin-bottom: 1.2rem; }
p:last-child { margin-bottom: 0; }
em { font-weight: 400; }
.container { width: min(100% - 4rem, 1180px); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: .8rem; }
.brand { display: inline-block; font-family: var(--serif); font-size: 1.65rem; line-height: 1.2; text-decoration: none; }
.brand span { display: block; margin-top: .5rem; color: var(--muted); font-family: Arial, Helvetica, sans-serif; font-size: .67rem; letter-spacing: .07em; }
.site-nav, .footer-nav { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; }
.site-nav { font-size: .83rem; }
.site-nav a, .footer-nav a { padding-block: .4rem; text-decoration: none; }
.site-nav a:hover, .footer-nav a:hover { text-decoration: underline; }
.skip-link { position: absolute; left: 1rem; top: -10rem; z-index: 20; padding: 1rem; background: var(--paper); }
.skip-link:focus { top: 1rem; }
.main-content { padding-block: 2rem 5rem; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: 3rem 5rem; }
.hero h1 { font-size: clamp(3.5rem, 6.7vw, 6rem); line-height: 1.06; letter-spacing: -.045em; margin: 1.5rem 0 1.7rem; }
.eyebrow { margin-bottom: 1rem; color: var(--accent-dark); font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero-claim { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.35; }
.lead { max-width: 44rem; color: var(--muted); font-size: 1.08rem; line-height: 1.8; }
.actions, .meta { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.actions { margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 1.1rem; min-height: 48px; padding: .85rem 1.25rem; border: 1px solid transparent; border-radius: 3px; font-size: .86rem; font-weight: 600; line-height: 1.5; text-align: center; text-decoration: none; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #345445; }
.btn-secondary { border-color: #a6b0a0; }
.btn-secondary:hover { background: var(--soft); }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: #e6e8db; }
.hero-note { display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; min-height: 430px; padding: clamp(1.6rem, 4vw, 3rem); border: 1px solid var(--line); background: var(--soft); }
.hero-note > p { margin: 0; font-family: var(--serif); font-size: clamp(2.1rem, 3.8vw, 3.4rem); line-height: 1.2; letter-spacing: -.025em; }
.hero-note em { color: var(--accent-dark); }
.note-caption { border-top: 1px solid #c9cebf; padding-top: 1rem; color: var(--muted); font-size: .8rem; }
.section { padding-block: 4.5rem; border-top: 1px solid var(--line); scroll-margin-top: 2rem; }
.intro, .owners { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
.prose { color: var(--muted); }
.prose .btn { margin-top: .6rem; }
.section-heading { margin-bottom: 2.4rem; }
.section-heading > :last-child { margin-bottom: 0; }
.heading-row { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; }
.heading-row h2 { margin-bottom: 0; }
.grid { display: grid; gap: 1.4rem; }
.grid > *, .intro > *, .hero > *, .owners > * { min-width: 0; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 2rem; border: 1px solid var(--line); background: var(--paper); }
.card p { color: var(--muted); }
.card .eyebrow { color: var(--accent-dark); }
.chapter-number { display: block; margin-bottom: 2rem; color: var(--accent-dark); font-size: .8rem; }
.chapters h3 { font-size: 2.1rem; }
.plain-list { padding: 0; margin: 1.5rem 0 0; list-style: none; color: var(--muted); }
.plain-list li { padding-block: .7rem; border-top: 1px solid var(--line); font-size: .93rem; }
.process { counter-reset: step; padding: 0; margin: 0; list-style: none; gap: 2.5rem; }
.process li { counter-increment: step; border-top: 1px solid var(--line); padding-top: 1.3rem; }
.process li::before { content: counter(step, decimal-leading-zero) ' →'; display: block; margin-bottom: 1rem; color: var(--accent-dark); font-size: .8rem; }
.process li:last-child::before { content: counter(step, decimal-leading-zero); }
.process p { color: var(--muted); font-size: .95rem; }
.property-card { display: flex; flex-direction: column; align-items: start; overflow-wrap: anywhere; }
.property-card .text-link, .property-card .btn { margin-top: auto; }
.property-card .visual { width: 100%; height: 180px; margin-bottom: 1rem; background: var(--soft); }
.text-link { display: inline-block; color: var(--ink); font-size: .9rem; font-weight: 600; }
.empty-state { grid-column: 1 / -1; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); background: var(--soft); }
.empty-state h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.empty-state > p:not(.eyebrow) { max-width: 42rem; color: var(--muted); }
.house-record { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.house-record p { color: var(--muted); }
.record-list { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding: 0; list-style: none; font-size: .85rem; }
.record-list li::before { content: '+ '; color: var(--accent-dark); }
.owners { background: var(--soft); padding: clamp(2rem, 4vw, 4rem); border: 1px solid var(--line); }
.owners + .section { margin-top: 4.5rem; }
.partner-list { list-style: none; padding: 0; margin: 2.5rem 0; gap: 0 2rem; }
.partner-list li { padding-block: 1.2rem; border-top: 1px solid var(--line); }
.team .card { border-width: 1px 0 0; background: transparent; padding-inline: 0; }
.contact-cta { padding: clamp(2rem, 6vw, 5rem); background: var(--ink); color: var(--bg); text-align: center; }
.contact-cta .eyebrow { color: #e8b7a1; }
.contact-cta h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); }
.contact-cta p:not(.eyebrow) { color: #d8dfd1; }
.contact-cta .btn { margin-top: .5rem; }
.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem 1.5rem; }
.footer-inner { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.footer-inner p { margin-top: .7rem; color: var(--muted); font-size: .85rem; }
.footer-nav { font-size: .85rem; }
.footer-note { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
/* Sdílené prvky zachovávají čitelnost stávajícího kontaktu a CMS stránek. */
.page-hero { padding-block: 2.5rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.15; overflow-wrap: anywhere; }
.meta { color: var(--muted); font-size: .86rem; }
/* Fotografická V0: původní obsah a pořadí sekcí zůstávají zachované. */
.site-nav, .footer-nav, .btn, .eyebrow, .text-link, .chapter-number,
.note-caption, .record-list, .footer-note, .process li::before, .meta {
 font-family: var(--label-font);
}
.site-nav { font-size: .75rem; font-weight: 500; gap: .6rem 1.1rem; }
.eyebrow { font-weight: 500; letter-spacing: .14em; line-height: 1.8; }
.brand-logo { flex: 0 0 auto; }
.brand-logo img { width: 258px; height: auto; max-height: 86px; object-fit: contain; }
.sr-only, .brand .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.editorial-photo { width: 100%; object-fit: cover; background: var(--soft); }
.hero-note { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 0; min-height: 0; border: 0; background: transparent; }
.hero-photo { height: 400px; object-position: 50% 73%; }
.hero-note > .eyebrow { margin: .3rem 0 0; }
.hero-note > p { font-size: clamp(1.8rem, 2.5vw, 2.4rem); line-height: 1.3; }


.note-caption { padding-top: .8rem; font-size: .7rem; }
.intro-photo { max-width: 400px; height: 320px; margin-top: 2rem; object-position: center; background: transparent; }
#nas-pribeh > .prose { align-self: center; }
.documentary-photo { height: 520px; object-position: center 18%; filter: grayscale(1); margin-bottom: 2rem; }
.story-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin-bottom: 1.4rem; }
.story-photo { height: 340px; object-position: center; }
.story-photo:nth-child(2) { filter: grayscale(1); }
.owners-photo { height: 270px; margin-top: 2rem; object-position: center 55%; }
.owners > .prose { align-self: center; }
.chapters .card { background: transparent; border-width: 1px 0 0; padding-inline: 0; }
.contact-cta em { font-family: var(--serif); }
@media (max-width: 1050px) {
	.header-inner { align-items: start; flex-direction: column; gap: 1rem; }
	.hero { gap: 2rem; }
	.hero-note { min-height: 0; }
	.hero-photo { height: 370px; }
	.card { padding: 1.5rem; }
}
@media (max-width: 760px) {
	.container { width: min(100% - 2.5rem, 1180px); }
	.hero, .intro, .owners, .house-record { grid-template-columns: 1fr; }
	.hero { padding-block: 1.5rem 3rem; }
	.hero-note { min-height: 0; gap: 2rem; }

	.hero-note > p { max-width: 30rem; }
	.brand-logo img { width: 210px; max-height: 70px; }
	.hero-photo { height: 360px; }
	.intro-photo { height: 300px; max-width: 100%; }
	.documentary-photo { height: 280px; }
	.story-gallery { grid-template-columns: 1fr; gap: 1rem; }
	.story-photo { height: 320px; }
	.owners-photo { height: 280px; }
	.grid-3, .grid-2 { grid-template-columns: 1fr; }
	.process, .partner-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.section { padding-block: 3rem; }
	.owners { padding: 1.5rem; }
	.owners + .section { margin-top: 3rem; }
	.chapter-number { margin-bottom: 1rem; }
	.site-nav { gap: .4rem 1rem; }
	.main-content { padding-bottom: 3rem; }
}
@media (max-width: 420px) {
	.process, .partner-list { grid-template-columns: 1fr; }
	.actions { align-items: stretch; flex-direction: column; }
	.hero h1 { font-size: 3.5rem; }
	.hero-note { padding: 0; }
	.hero-photo { height: 320px; }
}

.back-to-top {
 position: fixed;
 right: max(1rem, env(safe-area-inset-right));
 bottom: calc(2rem + env(safe-area-inset-bottom));
 z-index: 20;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 44px;
 height: 44px;
 padding: 0;
 border: 1px solid var(--line);
 border-radius: 50%;
 background: var(--ink);
 color: var(--paper);
 font: 1.4rem/1 var(--label-font);
 box-shadow: 0 2px 8px rgb(36 62 52 / 12%);
 cursor: pointer;
}
.back-to-top[hidden] { display: none; }
.back-to-top:hover { background: #345445; }
.back-to-top:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 760px) {
 .back-to-top { right: max(0px, env(safe-area-inset-right)); }
}
