:root {
  --width: 1190px;
  --gutter: clamp(21px,5.4vw,84px);
  --section-space: clamp(55px,7.3vw,112px);
  --highlight: #a7754c;
}
.header .wrap { width: min(calc(100% - 2 * var(--gutter)),1320px); }
.section { padding-block: var(--section-space); }
.section-title { font-size: clamp(2.1rem,4.25vw,3.9rem); line-height: 1.04; text-wrap: balance; }
.section-label,
.home-profile .profile-copy .section-label,
.home-fees .fee-main .section-label,
.home-contact .home-contact-grid > div:first-child > .section-label {
  display: flex; align-items: center; gap: 10px; width: fit-content;
  margin: 0 0 13px; color: #855333; font-size: .78rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .135em; line-height: 1.25;
}
.section-label::before { content: ""; width: 23px; height: 1px; flex: none; background: currentColor; }
.dark .section-label, .home-profile .profile-copy .section-label, .home-contact .home-contact-grid > div:first-child > .section-label { color: #e8b78d; }
.masthead .section-label { margin-bottom: 16px; }
.home-mast { min-height: clamp(490px,44vw,685px); }
.service-mast { min-height: clamp(465px,42vw,665px); }
.service-mast .mast-copy::before { display: none; }
.service-mast h1 { max-width: 17ch; font-size: clamp(2.55rem,5.25vw,5.45rem); }
.service-mast .mast-lead { max-width: 43ch; }
.masthead .mast-copy { padding-block: clamp(43px,6vw,96px); }
.home-mast .mast-lead { max-width: 560px; }

.practice-section {
  isolation: isolate; padding-block: clamp(38px,5vw,75px);
  background: repeating-linear-gradient(135deg,transparent 0 62px,#aa795315 63px 64px),linear-gradient(110deg,#efe6dc,#f7f3ed 66%,#eaddcd);
}
.practice-grid { gap: 13px; }
.practice-card, .practice-card:first-child, .practice-card:last-child {
  min-height: 222px; padding: clamp(20px,2.8vw,37px);
  border: 1px solid #d8c1ad; border-top: 2px solid #a7754c;
  background: #fdf9f3; box-shadow: 0 14px 32px #4a331310;
}
.practice-card + .practice-card { border-left: 1px solid #d8c1ad; }
.practice-card::before, .practice-card:first-child::before, .practice-card:last-child::before { inset: 0; box-shadow: none; background: #f3e6d7; border-radius: 0; }
.practice-card h3 { margin-block: 11px 9px; font-size: clamp(1.45rem,2.3vw,2rem); }
.practice-card p { flex-grow: 1; margin-bottom: 14px; }
.practice-card .text-link::after { content: ""; position: absolute; inset: 0; }
.practice-card:focus-within { outline: 2px solid #a7754c; outline-offset: 3px; }
.practice-symbol svg { width: 40px; height: 40px; }

.home-profile {
  position: relative; isolation: isolate;
  background: radial-gradient(ellipse at 26% 83%,#4c3426,#211b17 51%,#171717 87%);
}
.home-profile::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-radial-gradient(ellipse at 5% 138%,transparent 0 76px,#b0855b47 77px 78px,transparent 79px 117px); mask-image: linear-gradient(90deg,#000,transparent 70%); }
.home-profile-grid { grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr); }
.home-profile .profile-portrait { min-height: clamp(355px,34vw,486px); }
.home-profile .profile-portrait img { width: 78%; right: 0; height: 91%; }
.home-profile .profile-portrait::before, .home-profile .profile-portrait::after { display: none; }
.home-profile .profile-copy { margin-block: clamp(34px,5.8vw,78px); border-left-color: #9d7554; }
.home-profile .profile-copy h2 { font-size: clamp(2.1rem,4.25vw,3.9rem); margin-block: 0 17px; }
.home-profile .profile-copy p:not(.section-label) { font-size: clamp(1.03rem,1.4vw,1.2rem); line-height: 1.45; }
.home-profile .profile-copy p + p { margin-top: 9px; }
.home-profile .profile-copy .text-link { margin-top: 17px; }
.proof-section { padding-block: clamp(25px,3.7vw,54px); background: linear-gradient(110deg,#e7d6c6,#f5f0e9 68%,#ebe0d3); }
.home-fee-grid { gap: clamp(21px,5vw,78px); }
.home-fees .fee-main { padding: 0; }
.fee-choices { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 18px 0 24px; }
.fee-choices li { border: 1px solid #cbb094; background: #fbf6ed; color: #68442d; padding: 5px 10px; font-size: .94rem; font-weight: 600; }
.home-rate {
  container-type: inline-size;
  grid-template-columns: minmax(0,1fr);
  min-height: clamp(245px,25vw,330px);
  padding: clamp(26px,3.35vw,48px);
  text-align: center;
}
.home-rate span {
  font-size: .98rem;
  line-height: 1.3;
}
.home-rate strong {
  font-size: clamp(2rem,16cqi,4.5rem);
  line-height: 1.05;
  letter-spacing: -.045em;
  margin-block: 10px 16px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.home-rate p {
  border-top: 1px solid #ad805b78;
  padding-top: 14px;
  font-size: 1rem;
  line-height: 1.35;
}
.home-contact { padding-block: var(--section-space); }
.consult-guide { padding-block: var(--section-space); background: #eae1d6; }
.consult-guide::before { inset: 0; opacity: 1; mask-image: none; background: linear-gradient(90deg,#f2e6d8 0%,#f2e7dce9 39%,#f3e8dc69 83%),url('podklady-konzultace.webp') center right / cover no-repeat; }
.consult-steps { background: #fff9f1f5; }
.consult-faq { align-items: center; }
.consult-faq > div:first-child .text-link { margin-top: 11px; }

.service-overview, .service-scope, .service-cases, .service-prepare, .page-notes, .working-note, .direct-contact, .fee-options, .office-location { padding-block: var(--section-space); }
.service-overview { background: linear-gradient(138deg,#f7f4ef 59%,#e6d4c0); }
.service-overview-grid { display: grid; grid-template-columns: minmax(0,1.07fr) minmax(0,.93fr); align-items: center; gap: clamp(27px,6.4vw,102px); }
.service-overview-grid > div:first-child { display: block; }
.service-overview .section-title { max-width: 22ch; margin-bottom: 17px; text-wrap: initial; }
.service-overview .body-copy { max-width: 67ch; }
.service-audience { display: block; margin-top: 21px; padding-top: 12px; }
.service-audience h3 { margin-bottom: 7px; }
.service-visual { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(285px,31vw,420px); border: 1px solid #a7754c; display: grid; align-items: end; background: #2c2119; }
.service-visual img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 66%; }
.service-visual::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#17130ff4,transparent 72%); }
.service-visual figcaption { padding: 23px; color: #fff0e0; }
.service-visual ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.service-visual li { background: #251a13e6; border: 1px solid #b08a6d; font-size: .9rem; padding: 4px 8px; }
.service-scope .section-title { text-wrap: initial; }
.practice-topic { padding: clamp(20px,3.1vw,43px); }
.motif-property .practice-topic { min-height: 192px; }
.service-scope.motif-property::before { background-color: #ccb09133; background-image: linear-gradient(#82563834 1px,transparent 1px),linear-gradient(90deg,#82563834 1px,transparent 1px); background-size: 32px 32px; mask-image: none; }
.service-scope.motif-construction::before { background: repeating-linear-gradient(153deg,transparent 0 68px,#86573242 69px 70px),repeating-linear-gradient(25deg,transparent 0 180px,#95633f33 181px 182px); mask-image: none; }
.service-scope.motif-corporate::before { background: repeating-radial-gradient(ellipse at 92% 73%,transparent 0 39px,#99643e43 40px 41px,transparent 42px 82px); mask-image: none; }
.service-cases-grid, .service-prepare-grid, .page-notes-grid, .working-note-grid, .fee-options-grid { align-items: center; }
.service-cases .section-title { max-width: 17ch; text-wrap: initial; }
.case-lead { max-width: 42ch; margin-top: 14px; color: #f1dfcd; }
.service-cases .text-link { margin-top: 13px; }
.service-prepare { background: repeating-linear-gradient(135deg,transparent 0 98px,#875c3417 99px 100px),#f5eee5; }
.page-faq { background: radial-gradient(ellipse at 0% 100%,#cfaf94,transparent 52%),#eae0d4; }
.working-note { background: radial-gradient(ellipse at 5% 80%,#4c3426,#1b1817 60%); }
.page-notes { background: repeating-linear-gradient(126deg,transparent 0 118px,#a97b5627 119px 120px),linear-gradient(110deg,#f2e9e0,#e2d1be); }

@media (max-width: 880px) {
  .header .wrap { width: calc(100% - 2 * var(--gutter)); }
  .home-profile .profile-portrait { min-height: 340px; }
  .home-profile .profile-portrait img { width: 79%; height: 85%; }
}
@media (max-width: 720px) {
  :root { --section-space: clamp(42px,8.3vw,59px); }
  .home-mast, .service-mast { min-height: 390px; }
  .home-profile-grid, .service-overview-grid { grid-template-columns: 1fr; }
  .home-profile .profile-portrait { min-height: clamp(220px,59vw,355px); }
  .home-profile .profile-portrait img { width: 69%; height: 99%; }
  .home-profile .profile-copy { margin-block: 0; padding-block: 23px 35px; }
  .practice-card, .practice-card:first-child, .practice-card:last-child { min-height: 0; padding: 18px; }
  .practice-card + .practice-card { border-top: 2px solid #a7754c; }
  .consult-guide::before { background-image: linear-gradient(90deg,#f2e6d8f0,#f2e7dccf),url('podklady-konzultace.webp'); }
  .service-mast h1 { font-size: clamp(2.3rem,8.2vw,3.5rem); }
  .service-visual { min-height: clamp(218px,61vw,350px); }
  .motif-property .practice-topic { min-height: 0; }
}

.biography-feature {
  background: linear-gradient(124deg,#f8f4ee 47%,#ebdccc);
}
.biography-layout {
  grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  gap: clamp(24px,5.5vw,78px);
}
.biography-layout .about-portrait-stage {
  aspect-ratio: 1.12;
  min-height: 0;
  background: radial-gradient(ellipse at 52% 40%,#4c382c 0%,#281e19 59%,#171514 100%);
}
.biography-layout .about-portrait-stage::before {
  inset: 11px;
  width: auto;
  aspect-ratio: auto;
  border-radius: 0;
  border-color: #c392695c;
}
.biography-layout .about-portrait-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -36%;
  top: 28%;
  width: 144%;
  aspect-ratio: 1;
  border: 1px solid #ba8a646e;
  border-radius: 50%;
}
.biography-layout .about-portrait-stage img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% top;
}
.biography-layout .about-portrait-stage figcaption { bottom: 19px; right: 19px; }

.working-note-grid {
  grid-template-columns: minmax(0,.71fr) minmax(0,1.29fr);
  align-items: start;
  gap: clamp(25px,5.7vw,82px);
}
.working-note .section-label { color: #e8b78d; }
.working-note-lead { margin-top: 15px; max-width: 35ch; }
.working-note-principles { display: grid; gap: 12px; }
.working-principle {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: clamp(12px,2.1vw,25px);
  background: #211c18;
  border: 1px solid #795d49;
  border-left: 2px solid #b98762;
  padding: clamp(17px,2.6vw,30px);
}
.working-principle-icon { color: #e6b18a; padding-top: 4px; }
.working-principle h3 { margin-top: 0; }

.profile-practice-heading { margin-bottom: clamp(22px,3.4vw,42px); }
.profile-practice-heading .section-title { text-wrap: initial; }

@media (max-width: 720px) {
  .biography-layout, .working-note-grid { grid-template-columns: 1fr; }
  .biography-layout .about-portrait-stage { aspect-ratio: 1.2; }
}

.home-profile-grid {
  align-items: start;
  padding-top: clamp(36px,5.3vw,72px);
}
.home-profile .profile-copy {
  grid-column: 2;
  grid-row: 1;
  margin-block: 0 clamp(36px,5.3vw,72px);
}
.home-profile .profile-portrait {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  padding-top: 28px;
}
.home-profile .profile-name {
  align-self: start;
  max-width: none;
  margin-bottom: 18px;
}
.home-profile .profile-name strong { font-size: clamp(1.65rem,3.05vw,2.75rem); }
.home-profile .profile-name::after { margin-top: 11px; }
.home-profile .profile-portrait img {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  margin: auto auto 0;
  object-fit: contain;
  object-position: center bottom;
}

.working-note-grid { display: block; }
.working-note-intro { margin-bottom: clamp(20px,3.5vw,42px); }
.working-note-lead { max-width: 65ch; }
.working-note-principles { grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr); }

@media (max-width: 720px) {
  .home-profile-grid { padding-top: 30px; }
  .home-profile .profile-copy, .home-profile .profile-portrait {
    grid-column: auto;
    grid-row: auto;
  }
  .home-profile .profile-copy {
    margin: 0;
    padding-block: 0 23px;
    border: 0;
  }
  .home-profile .profile-portrait {
    padding-top: 20px;
    border-top: 1px solid #8f7764;
  }
  .home-profile .profile-portrait img { width: min(100%,460px); }
  .working-note-principles { grid-template-columns: 1fr; }

  .proof-item { column-gap: 18px; }
  .proof-item:first-of-type .proof-number { flex: 0 0 64px; text-align: center; }

  .office-photo { display: contents; }
  .office-photo::after { display: none; }
  .office-photo > div { grid-row: 1; padding: 0; }
  .office-details { grid-row: 2; }
  .office-photo img {
    grid-row: 3;
    z-index: auto;
    position: static;
    height: auto;
    aspect-ratio: 1.65;
    border: 1px solid #896349;
  }

  .service-visual {
    display: flex;
    flex-direction: column-reverse;
    min-height: 0;
  }
  .service-visual::after { display: none; }
  .service-visual img {
    z-index: auto;
    position: static;
    height: auto;
    aspect-ratio: 1.5;
  }
  .service-visual figcaption { padding: 13px 16px; }

  .related-card {
    flex-direction: column-reverse;
    align-items: stretch;
    min-height: 0;
    padding: 0;
  }
  .related-card::after { display: none; }
  .related-card span { padding: 13px 16px; }
  .related-card img {
    z-index: auto;
    position: static;
    height: auto;
    aspect-ratio: 1.8;
  }
  .related-card:hover img { scale: 1; }
}

/* úpravy 29. 11. 2026 – záhlaví malými písmeny, dočasně bez fotky */
.brand strong,.brand small{text-transform:none}
.brand small{letter-spacing:.06em}
.home-profile-grid:not(:has(figure)){grid-template-columns:minmax(0,1fr)}
.home-profile-grid:not(:has(figure)) .profile-copy{grid-column:1/-1;grid-area:auto;width:100%;max-width:820px;margin-inline:auto}
.biography-layout:not(:has(figure)){grid-template-columns:minmax(0,1fr)}
.biography-layout:not(:has(figure)) .biography-text{grid-column:1/-1;max-width:820px}
