@font-face {
  font-family: 'EB Garamond';
  src: url('/assets/fonts/eb-garamond.23d954b1b8f3.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

/* Intrinsic sizing must allow translated content to shrink inside grids. */
section > div, form, input, textarea { min-width: 0; }
input, textarea { max-width: 100%; }
#contacts a { overflow-wrap: anywhere; }

@media (max-width: 600px) {
  /* The label and indicator share a row; the explanation has its own line. */
  #modes [data-rental-metric] {
    grid-template-columns: minmax(0, 1fr) 64px !important;
    gap: 8px 12px !important;
  }
  #modes [data-rental-metric] > :last-child {
    grid-column: 1 / -1;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 360px) {
  header > a { gap: 10px !important; }
  header > a > span:last-child {
    font-size: 12px !important;
    letter-spacing: .16em !important;
    white-space: nowrap;
  }
  header > a > span:first-child { font-size: 34px !important; }
}

.pricing-rates { display: grid; gap: 0; width: 100%; }
.pricing-rate { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(35,37,30,.15); }
.pricing-rate span { min-width: 0; font-size: 17px; }
.pricing-rate strong { flex: none; color: #3f4935; font: 500 clamp(40px,5cqi,64px)/1 'Cormorant Garamond',serif; }
html[lang="cs"] .pricing-rate strong { font-family: 'EB Garamond',serif; font-weight: 400; }
.pricing-renovation { background: #e4e7d8; border-radius: 18px; padding: clamp(20px,3cqi,28px); display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.pricing-renovation p { margin: 0; font-size: 15px; line-height: 1.6; }

/* Compact service and process headings, shared by all translations. */
.compact-heading { display: flex; align-items: center; gap: 14px; min-width: 0; }
.compact-heading > :first-child { flex-shrink: 0; }
.compact-heading > :last-child { min-width: 0; margin-top: 0 !important; }
.compact-card { gap: 12px !important; }
.compact-services { min-height: 0 !important; padding: 22px 24px !important; }
.compact-extras { padding-top: 22px !important; padding-bottom: 22px !important; }
#how > div > div[style="position:relative"] > div:first-child { display: none; }
@media (max-width: 600px) {
  .compact-heading { gap: 12px; }
  .compact-extras .compact-heading > :last-child { font-size: 25px !important; }
  .compact-steps .compact-heading > :first-child { width: 36px !important; height: 36px !important; font-size: 20px !important; }
}

@media (max-width: 767px) {
  /* Let mobile copy fill its column instead of balancing short lines. */
  #services p,
  .compact-card > div:not(.compact-heading),
  .compact-heading > :last-child {
    max-width: none !important;
    text-wrap: wrap !important;
  }
}

/* Small scroll reveals; the page remains visible if JavaScript is unavailable. */
@media (prefers-reduced-motion: no-preference) {
  .motion-reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 420ms ease-out, transform 420ms cubic-bezier(.2,.65,.3,1);
  }
  .motion-reveal.motion-visible { opacity: 1; transform: translateY(0); }
  a, button { transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
}
@media print {
  .motion-reveal { opacity: 1 !important; transform: none !important; }
}

/* Animate intrinsic answer height in both directions without a fixed cap. */
.faq-answer { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows 340ms cubic-bezier(.22,.61,.36,1), opacity 240ms ease, visibility 0s linear 340ms; }
.faq-answer-clip { min-height: 0; overflow: hidden; }
.faq-answer[data-open="true"] { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition: grid-template-rows 340ms cubic-bezier(.22,.61,.36,1), opacity 240ms ease, visibility 0s; }
.faq-toggle-icon { transition: transform 300ms ease; }
#faq button[aria-expanded="true"] .faq-toggle-icon { transform: rotate(45deg); }
#faq button > span:last-child { transition: background-color 250ms ease, color 250ms ease; }
@media (prefers-reduced-motion: reduce) {
  .faq-answer, .faq-toggle-icon, #faq button > span:last-child { transition: none !important; }
}

@media (max-width: 767px) {
  /* Static copy uses the full mobile column; desktop reading widths stay intact. */
  section p,
  section div[style*="font-size:"][style*="max-width:"],
  footer div[style*="font-size:"][style*="max-width:"] {
    max-width: none !important;
  }
  section p,
  section div[style*="text-wrap:"],
  footer div[style*="text-wrap:"] {
    text-wrap: wrap !important;
  }
  .faq-answer-clip > div { padding-right: 0 !important; }
}

/* Optical alignment compensates for the serif monogram's font metrics. */
.brand-wordmark { display: inline-block; transform: translateY(2px); white-space: nowrap; }

/* Give the Czech headline two clear phrases and a quieter line rhythm. */
html[lang="cs"] #top h1 { line-height: 1.12 !important; letter-spacing: 0 !important; text-wrap: wrap !important; }
.hero-title-second { display: block; margin-top: .16em; }
@media (max-width: 600px) {
  html[lang="cs"] #top h1 { font-size: clamp(36px, 10.2vw, 52px) !important; }
}

.brand-monogram { display: inline-block; transform-origin: 50% 70%; }
@media (prefers-reduced-motion: no-preference) {
  header .brand-monogram { animation: brand-arrive 750ms cubic-bezier(.2,.65,.3,1) both; }
  header .brand-wordmark { animation: wordmark-arrive 750ms 100ms cubic-bezier(.2,.65,.3,1) both; }
  .brand-monogram { transition: translate 350ms ease, rotate 350ms ease; }
  .brand-wordmark { transition: scale 350ms ease; transform-origin: left center; }
  @media (hover: hover) and (pointer: fine) {
    .brand-logo:hover .brand-monogram { translate: 0 -2px; rotate: -2deg; }
    .brand-logo:hover .brand-wordmark { scale: 1.025 1; }
  }
  .brand-logo:focus-visible .brand-monogram { translate: 0 -2px; }
  @keyframes brand-arrive {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes wordmark-arrive {
    from { opacity: 0; transform: translate(-5px, 2px); }
    to { opacity: 1; transform: translate(0, 2px); }
  }
}

.header-language {
  appearance: none;
  color: #f6f1e7;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23f6f1e7' stroke-width='1.3'/%3E%3C/svg%3E") right 8px center / 10px 6px no-repeat;
  border: 1px solid rgba(246,241,231,.4);
  border-radius: 999px;
  min-height: 44px;
  width: 60px;
  padding: 0 22px 0 10px;
  font: 500 12px/1 'Jost',sans-serif;
  cursor: pointer;
}
.header-language option { color: #23251e; background: #f8f4ed; }
.header-language:focus-visible { outline: 2px solid #f6f1e7; outline-offset: 3px; }
@media (max-width: 360px) {
  header { padding-left: 16px !important; padding-right: 16px !important; }
  header .brand-logo { gap: 8px !important; }
  header .brand-wordmark { font-size: 10px !important; letter-spacing: .12em !important; }
}

/* Keep language selection light, without a button outline or pill. */
.header-language { border: 0; border-radius: 0; background-color: transparent; width: 54px; padding-left: 4px; }
@media (prefers-reduced-motion: no-preference) {
  html.language-leave #dc-root { opacity: 0; transition: opacity 180ms ease; pointer-events: none; }
  html.language-enter #dc-root { animation: language-arrive 320ms ease-out both; }
  @keyframes language-arrive { from { opacity: 0; } to { opacity: 1; } }
}

.header-language[hidden] { display: none !important; }
.language-picker { position: relative; flex: none; }
.language-trigger { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; width: 54px; border: 0; padding: 0; background: transparent; color: #f6f1e7; font: 500 12px/1 'Jost',sans-serif; cursor: pointer; }
.language-trigger svg { transition: transform 220ms ease; }
.is-open .language-trigger svg { transform: rotate(180deg); }
.language-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 172px; padding: 8px; border: 1px solid rgba(63,73,53,.14); border-radius: 16px; background: #f8f4ed; box-shadow: 0 12px 30px rgba(20,24,16,.18); opacity: 0; visibility: hidden; transform: translateY(-5px); transition: opacity 180ms ease, transform 180ms ease, visibility 180ms; z-index: 20; }
.is-open .language-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.language-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 10px 12px; border-radius: 10px; color: #3f4935; font: 400 14px/1.4 'Jost',sans-serif; }
.language-option[aria-current="true"] { background: #e4e7d8; font-weight: 500; }
.language-option:hover, .language-option:focus-visible { background: #ede7dc; }
.language-check { font-size: 14px; }
@media(max-width:1094px) { .header-mobile { overflow: visible !important; } }
@media(min-width:1095px) { .header-mobile { display: none; } }
@media(prefers-reduced-motion:reduce) { .language-panel, .language-trigger svg { transition: none; } }

.language-inline { display: flex; align-items: center; gap: 9px; }
.language-inline a { position: relative; display: flex; align-items: center; min-height: 44px; color: #f6f1e7; opacity: .55; font: 500 11px/1 'Jost',sans-serif; letter-spacing: .02em; text-decoration: none; transition: opacity 180ms ease; }
.language-inline a::after { content: ''; position: absolute; bottom: 9px; left: 0; right: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform 220ms ease; }
.language-inline a[aria-current="true"], .language-inline a:hover { opacity: 1; }
.language-inline a[aria-current="true"]::after { transform: scaleX(1); }
@media(max-width:360px) {
  .language-inline { gap: 7px; }
  .language-inline a { font-size: 10px; }
  header .brand-wordmark { font-size: 9px !important; letter-spacing: .08em !important; }
}
@media(prefers-reduced-motion:reduce) { .language-inline a, .language-inline a::after { transition: none; } }

/* A narrow text dropdown keeps the quiet inline-language treatment. */
.language-minimal { position: relative; width: 44px; flex: none; }
.language-minimal-trigger { display: flex; align-items: center; justify-content: center; gap: 7px; width: 44px; min-height: 44px; border: 0; padding: 0; color: #f6f1e7; background: transparent; font: 500 11px/1 'Jost',sans-serif; cursor: pointer; }
.language-minimal-trigger svg { opacity: .65; transition: transform 180ms ease; }
.language-minimal.is-open svg { transform: rotate(180deg); }
.language-minimal-list { position: absolute; top: calc(100% + 2px); left: -2px; width: 48px; padding: 4px 0; border-radius: 6px; background: #3f4935; box-shadow: 0 5px 14px #14181020; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 180ms ease, transform 180ms ease, visibility 180ms; z-index: 20; }
.language-minimal.is-open .language-minimal-list { opacity: 1; visibility: visible; transform: translateY(0); }
.language-minimal-list a { display: flex; align-items: center; justify-content: center; position: relative; min-height: 40px; color: #f6f1e7; opacity: .6; font: 500 11px/1 'Jost',sans-serif; text-decoration: none; }
.language-minimal-list a[aria-current="true"], .language-minimal-list a:hover, .language-minimal-list a:focus-visible { opacity: 1; }
.language-minimal-list a[aria-current="true"]::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 7px; height: 1px; background: currentColor; }
@media(prefers-reduced-motion:reduce) { .language-minimal-list, .language-minimal-trigger svg { transition: none; } }

/* Small one-shot gestures follow the existing scroll reveals. */
.compact-card { --icon-gesture: icon-hello; }
@media (prefers-reduced-motion: no-preference) {
  .compact-services .compact-heading > i,
  .compact-extras .compact-heading > i {
    display: inline-block;
    transform-origin: center;

  }
  .compact-heading > .icon-camera,
  .compact-heading > .icon-message-circle { --icon-gesture: icon-sway; }
  .compact-heading > .icon-trending-up { --icon-gesture: icon-rise; }
  .compact-heading > .icon-key-round,
  .compact-heading > .icon-wrench { --icon-gesture: icon-turn; }
  .compact-heading > .icon-sparkles,
  .compact-heading > .icon-shield-check { --icon-gesture: icon-glow; }
  .compact-services.motion-visible .compact-heading > i,
  .compact-extras.motion-visible .compact-heading > i {
    animation: var(--icon-gesture) 700ms 140ms ease-in-out both;
  }
  @media (hover: hover) and (pointer: fine) {
    .compact-services:hover .compact-heading > i,
    .compact-extras:hover .compact-heading > i {
      animation: icon-hover 650ms ease-in-out;
    }
  }
  @keyframes icon-hello {
    0%, 100% { transform: translateY(0); }
    45% { transform: translateY(-3px); }
  }
  @keyframes icon-sway {
    0%, 100% { transform: rotate(0); }
    30% { transform: rotate(-7deg); }
    65% { transform: rotate(5deg); }
  }
  @keyframes icon-rise {
    0%, 100% { transform: translate(0,0); }
    45% { transform: translate(2px,-3px); }
  }
  @keyframes icon-turn {
    0%, 100% { transform: rotate(0); }
    45% { transform: rotate(12deg); }
  }
  @keyframes icon-glow {
    0%, 100% { transform: scale(1); opacity: 1; }
    45% { transform: scale(1.1); opacity: .75; }
  }
  @keyframes icon-hover {
    0%, 100% { transform: translateY(0) rotate(0); }
    40% { transform: translateY(-2px) rotate(-6deg); }
    70% { transform: translateY(-1px) rotate(3deg); }
  }
}

/* A quiet editorial navigation panel, with a two-line menu mark. */
header { z-index: 12 !important; }
.menu-trigger { position: relative; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; padding: 0; border: 0; background: transparent; color: #f6f1e7; cursor: pointer; }
.menu-trigger span { width: 23px; height: 1px; background: currentColor; transition: transform 260ms ease; }
.menu-trigger span:last-child { width: 17px; align-self: center; }
.menu-trigger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-trigger[aria-expanded="true"] span:last-child { width: 23px; transform: translateY(-4px) rotate(-45deg); }
.mobile-navigation { position: absolute; top: 86px; left: 16px; right: 16px; z-index: 11; display: grid; grid-template-rows: 0fr; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: grid-template-rows 300ms ease, opacity 220ms ease, transform 300ms ease, visibility 0s linear 300ms; }
.mobile-navigation[data-open="true"] { grid-template-rows: 1fr; visibility: visible; opacity: 1; transform: translateY(0); transition: grid-template-rows 300ms ease, opacity 220ms ease, transform 300ms ease, visibility 0s; }
.mobile-navigation-clip { min-height: 0; overflow: hidden; border-radius: 22px; }
.mobile-navigation-panel { padding: 14px 24px 24px; background: #f2ece2; color: #3f4935; max-height: calc(100svh - 110px); overflow-y: auto; display: flex; flex-direction: column; }
.mobile-navigation-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid #3f49351f; color: #3f4935; font: 500 27px/1.2 'Cormorant Garamond',serif; }
html[lang="cs"] .mobile-navigation-link { font-family: 'EB Garamond',serif; font-weight: 400; }
.mobile-navigation-link i { font-size: 17px; opacity: .45; }
.mobile-navigation-cta { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 15px 20px; border-radius: 999px; background: #3f4935; color: #f6f1e7; font-size: 14px; }
.mobile-navigation-cta:hover { color: #fff; background: #56633f; }
@media(min-width:1095px) { .mobile-navigation { display: none; } }
@media(prefers-reduced-motion:reduce) { .mobile-navigation, .menu-trigger span { transition: none; } }

.investor-stage .compact-heading > :first-child { font-size: 32px !important; line-height: 1 !important; }
.investor-stage .compact-heading { align-items: center; gap: 14px; }
#inv-hero { border-radius: 2000px 2000px 0 0 !important; }
#terms [style*="clamp(34px"] { font-size: clamp(29px,3cqi,40px) !important; }

/* Leave space for the additional investor link in the desktop navigation. */
@media(max-width:1294px) {
  .header-desktop { display: none !important; }
  .header-mobile { display: block !important; overflow: visible !important; max-width: none !important; }
  .mobile-navigation { display: grid; }
}
@media(min-width:1295px) {
  .header-mobile, .mobile-navigation { display: none !important; }
  .header-desktop { max-width: none !important; gap: 24px !important; }
  .header-desktop nav { gap: 20px !important; font-size: 13.5px !important; }
}

.static-photo { width: 100%; height: 100%; overflow: hidden; }
.static-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
#static-content button { pointer-events: none; }
.form-spam-check { max-width: 100%; overflow: hidden; }

.legal-header { position: relative; background: #5b6848; }
.legal-content { max-width: 880px; padding: clamp(36px,6vw,80px) clamp(20px,4vw,48px); margin: 0 auto; color: #23251e; font: 400 16px/1.75 'Jost',sans-serif; }
.legal-content h1 { font: 500 clamp(36px,5vw,58px)/1.15 'Cormorant Garamond',serif; margin: 24px 0 12px; }
.legal-content h2 { font: 500 29px/1.2 'Cormorant Garamond',serif; margin: 0 0 12px; }
html[lang="cs"] .legal-content h1, html[lang="cs"] .legal-content h2 { font-family: 'EB Garamond',serif; font-weight: 400; }
.legal-content section { margin: 32px 0; }
.legal-content p { margin: 0; overflow-wrap: anywhere; }
.legal-content a { text-decoration: underline; text-underline-offset: 4px; }
.legal-back, .legal-updated { font-size: 14px; color: #5f6153; }
body.legal-page { padding-bottom: 0; }
.privacy-ack { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.privacy-ack input { appearance: auto; width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: #56633f; }
.privacy-ack a { color: #3f4935; text-decoration: underline; text-underline-offset: 3px; }
