/* Persistent contact and newsletter links, matching the navigation glass. */
.floating-actions{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:calc(20px + env(safe-area-inset-bottom));z-index:30;display:flex;gap:10px;align-items:center;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif}
.floating-actions__link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 21px;border-radius:999px;border:1px solid rgba(130,130,145,.16);background:rgba(255,255,255,.57);-webkit-backdrop-filter:blur(28px) saturate(165%);backdrop-filter:blur(28px) saturate(165%);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 8px 28px rgba(0,0,0,.09);color:#1d1d1f;text-decoration:none;font-size:14px;font-weight:500;letter-spacing:-.2px;transition:background-color .2s,transform .2s}
.floating-actions__link:hover{transform:translateY(-2px);background-color:rgba(255,255,255,.8)}
.floating-actions__link:focus-visible{outline:3px solid #0071e3;outline-offset:4px}
body.architecture-page .floating-actions__link{background:rgba(18,18,22,.6);border-color:rgba(255,255,255,.18);color:#fff}
body:has(dialog[open]) .floating-actions{visibility:hidden}
body>footer{padding-bottom:100px}
@media(max-width:760px){.floating-actions{right:max(12px,env(safe-area-inset-right));bottom:calc(12px + env(safe-area-inset-bottom));gap:8px}.floating-actions__link{font-size:13px;min-height:46px;padding:12px 17px}}
@media(prefers-reduced-motion:reduce){.floating-actions__link{transition:none}}
@media(prefers-reduced-transparency:reduce){.floating-actions__link{background:#f5f5f7}}
@media print{.floating-actions{display:none}}

/* Native bottom sticky follows scrolling without a JavaScript position correction. */
.floating-actions{
 bottom:calc(16px + env(safe-area-inset-bottom));
}
@media(max-width:760px){
 .floating-actions{
  right:max(12px,env(safe-area-inset-right));
  gap:8px;
  max-width:calc(100% - 24px);
  bottom:calc(10px + env(safe-area-inset-bottom));
 }
 .floating-actions__link{
  min-height:38px;
  padding:9px 14px;
  font-size:12px;
  line-height:18px;
  white-space:nowrap;
 }
}

/* Each page load reveals the two glass bubbles in sequence. */
@media(prefers-reduced-motion:no-preference){
 .floating-actions__link{transform-origin:center;animation:floating-bubble-appear .65s cubic-bezier(.16,1,.3,1) .18s backwards}
 .floating-actions__link:nth-child(2){animation-delay:.43s}
}
@keyframes floating-bubble-appear{
 from{opacity:0;transform:translateY(12px) scale(.15)}
 to{opacity:1;transform:translateY(0) scale(1)}
}

/* Keep the backdrop-filtered buttons still during homepage loads. */
body.home-page .floating-actions__link{animation:none}

/* Final contact sections use the space above the bottom navigation. */
section.page-contact-end:is(#kontakt, #architecture-contact, #bespoke-contact, .blog-contact, .page-contact-end--form) {
  display: grid;
  align-content: center;
  justify-items: center;
  border-block-start: 0;
  min-block-size: calc(100vh - var(--contact-footer-space, 155px));
  min-block-size: calc(100dvh - var(--contact-footer-space, 155px));
  --contact-end-default-padding: clamp(28px, 4vh, 48px);
  padding-block: var(--contact-end-padding, var(--contact-end-default-padding))
    calc(var(--contact-end-padding, var(--contact-end-default-padding)) + var(--contact-end-action-space, 0px));
}

.page-contact-end > .architecture-contact-inner {
  width: 100%;
  margin-block: 0;
}

/* Keep top navigation visible at the ending on phones held horizontally. */
@media (orientation:portrait), (min-height:501px), (min-width:1101px) {
body.is-contact-approaching:not(.has-product-subnav) > header:not(:has(:focus-visible, .links.open, .products-nav.is-open)),
body.is-contact-approaching > .product-subnav.is-visible:not(:focus-within),
body.product-detail-page.is-contact-approaching:not(:has(> .product-subnav.is-visible:focus-within)) .product-detail-top-back:not(:focus-visible),
html:not([data-input-modality="keyboard"]) body.architecture-page.is-contact-approaching #main > .architecture-switch-wrap,
body.architecture-page.is-contact-approaching #main > .architecture-switch-wrap:not(:has(:focus-visible)) {
  opacity: var(--contact-nav-opacity);
  filter: var(--contact-header-filter, var(--contact-nav-filter));
}

body.is-contact-view:not(.has-product-subnav) > header:not(:has(:focus-visible, .links.open, .products-nav.is-open)),
body.is-contact-view > .product-subnav.is-visible:not(:focus-within),
body.product-detail-page.is-contact-view:not(:has(> .product-subnav.is-visible:focus-within)) .product-detail-top-back:not(:focus-visible),
html:not([data-input-modality="keyboard"]) body.architecture-page.is-contact-view #main > .architecture-switch-wrap,
body.architecture-page.is-contact-view #main > .architecture-switch-wrap:not(:has(:focus-visible)) {
  visibility: hidden;
}
}

.page-contact-end--form {
  text-align: center;
  color: var(--ink, #1d1d1f);
  background: var(--contact-end-surface, #fff);
}

:is(html[data-site-theme="dark"], body:is(.architecture-page, .bespoke-page)) {
  --contact-end-surface: #080809;
}

section.page-contact-end.page-contact-end--form > .architecture-contact-inner > h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.1;
  letter-spacing: -.045em;
  margin: 0 0 22px;
}

html:not([data-site-theme="dark"]) body:not(.architecture-page, .bespoke-page) .page-contact-end--form :is(label, .contact-privacy a) {
  color: var(--ink, #1d1d1f);
}

html:not([data-site-theme="dark"]) body:not(.architecture-page, .bespoke-page) .page-contact-end--form .contact-field :is(input, textarea) {
  background: #f5f5f7;
  border-color: #d2d2d7;
}

section.page-contact-end.page-contact-end--form .contact-privacy,
section.page-contact-end.page-contact-end--form .contact-preview-note {
  font-size: 12px;
}

section.page-contact-end.page-contact-end--form .contact-preview-note {
  margin: 22px 3px 0;
}

.page-contact-end--form .contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0063cc;
  color: #fff;
}

.page-contact-end .contact-end-dot { color: var(--blue, #0071e3); }
.page-contact-end--no-footer { --contact-end-action-space: calc(70px + env(safe-area-inset-bottom)); }

@media (max-height: 880px), (max-width: 760px) {
  section.page-contact-end h2 { margin-block: 0 14px; }
  section.page-contact-end.page-contact-end--form > .architecture-contact-inner > h2 { margin-block: 0 14px; }
  section.page-contact-end.page-contact-end--form .contact-introduction { margin-bottom: 24px; }
  section.page-contact-end.page-contact-end--form .contact-privacy { margin-block: 14px 16px; }
  section.page-contact-end.page-contact-end--form .contact-preview-note { margin-top: 12px; }
  .page-contact-end .contact-introduction { margin-bottom: 24px; }
  .page-contact-end .contact-fields { gap: 14px 16px; }
  .page-contact-end .contact-field label { margin-bottom: 7px; }
  .page-contact-end .contact-field input { min-height: 46px; padding-block: 10px; }
  .page-contact-end .contact-field textarea { height: 105px; min-height: 105px; padding-block: 12px; }
  .page-contact-end .contact-privacy { margin-block: 14px 16px; }
  .page-contact-end .contact-preview-note { margin-top: 12px; }
}

@media (max-height: 760px) and (min-width: 761px) {
  .page-contact-end { --contact-end-padding: 20px; }
  .page-contact-end .contact-introduction { margin-bottom: 16px; }
  .page-contact-end .contact-fields { row-gap: 10px; }
  .page-contact-end .contact-field textarea { height: 94px; min-height: 94px; }
  .page-contact-end .contact-preview-note { margin-top: 8px; }
}

@media (min-width: 360px) and (max-width: 520px) {
  section.page-contact-end.page-contact-end--form > .architecture-contact-inner > h2 { font-size: clamp(29px, 7.5vw, 34px); }
  .page-contact-end--form .contact-field textarea { height: 94px; min-height: 94px; }
  .page-contact-end { --contact-end-padding: 28px; }
  .page-contact-end .contact-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-contact-end .contact-field { display: flex; flex-direction: column; justify-content: flex-end; }
  .page-contact-end .contact-field-wide { grid-column: 1 / -1; }
  .page-contact-end .contact-form-actions { gap: 10px; }
}

@media print {
  section.page-contact-end:is(#kontakt, #architecture-contact, #bespoke-contact, .blog-contact, .page-contact-end--form) { min-block-size: 0; }
}

/* Use the page canvas on both sides of dark contact endings. */
body:is(.architecture-page, .bespoke-page) section.page-contact-end,
body.architecture-page #panel-uvod > .process-section:last-child,
body.bespoke-page .bespoke-timeline {
  background-color: var(--contact-end-surface);
}

@media screen and (max-width:760px) and (orientation:portrait) {
  /* A stable final screen lets the preceding content scroll out naturally
     even while Safari's bars change the visible height during the swipe. */
  section.page-contact-end:is(#kontakt, #architecture-contact, #bespoke-contact, .blog-contact, .page-contact-end--form) {
    min-block-size: calc(100lvh - var(--contact-footer-space, 155px));
  }
  html:not([data-site-theme="dark"]) body.is-contact-approaching:not(.architecture-page, .about-page, .bespoke-page, .q-active-dark-nav) > footer {
    --liquid-shadow: 0 2px 7px -2px rgb(0 0 0 / .09);
  }
  body.is-contact-approaching {
    --contact-header-filter: none;
  }
  body.is-contact-approaching :is(.page-contact-end, .contact-ending) {
    position: relative;
  }
  /* Paint the small area behind Safari's glass without moving the outgoing
     section, its sticky controls, or any form fields on the scroll thread. */
  body.is-contact-approaching :is(.page-contact-end, .contact-ending)::before {
    content: "";
    position: absolute;
    pointer-events: none;
    inset: auto 0 100%;
    height: max(48px, env(safe-area-inset-top, 0px));
    background-color: var(--contact-end-surface, #fff);
    opacity: calc(1 - var(--contact-nav-opacity, 1));
  }
}

body>.floating-actions.floating-actions--footer{position:sticky;left:auto;right:auto;transform:none;width:var(--site-content-width,calc(100% - 40px));max-width:var(--site-content-max,1136px);margin:20px auto 0}
@media(max-width:760px){body>.floating-actions.floating-actions--footer{width:var(--site-content-width,calc(100% - 24px));margin:12px auto 0;max-width:var(--site-content-max,1136px)}}

/* Leave room inside the mobile viewport for the buttons' soft shadow. */
@media (max-width:760px), (orientation:landscape) and (max-height:500px) and (max-width:1100px) {
  body > .floating-actions.floating-actions--footer {
    width:max-content;
    max-width:var(--site-content-width);
    margin-inline:auto var(--site-content-gutter);
  }
  .floating-actions {
    bottom:calc(20px + env(safe-area-inset-bottom, 0px));
    --liquid-shadow:0 3px 10px rgb(0 0 0 / .09);
  }
  :is(html[data-site-theme="dark"], body:is(.architecture-page,.about-page,.bespoke-page,.q-active-dark-nav)) .floating-actions {
    --liquid-shadow:0 3px 10px rgb(0 0 0 / .18);
  }
}
