.floinstall-case-page {
  --floinstall-nav-space: calc(114px + env(safe-area-inset-top, 0px));
}

body.kwd-navigation.floinstall-case-page:not(.mobile-nav-open) #topbar#topbar {
  position: absolute !important;
}

body.kwd-navigation.elite-detail-page.floinstall-case-page #tresc {
  padding-top: var(--floinstall-nav-space);
  background: linear-gradient(115deg, #0b1823, #070e15 75%) top / 100% var(--floinstall-nav-space) no-repeat;
}

.floinstall-case-page .hw-case {
  --hw-ink: #20272d;
  --hw-muted: #626b72;
  --hw-accent: #c53336;
  --hw-line: #20272d2b;
  color: var(--hw-ink);
  background: #e8ebed;
}

.floinstall-wrap {
  width: min(1440px, calc(100% - 8vw));
  margin-inline: auto;
}

.floinstall-opening {
  --hw-ink: #f5f6f5;
  --hw-muted: #aeb7be;
  padding-block: 12px clamp(28px, 4vw, 58px);
  color-scheme: dark;
  color: var(--hw-ink);
  background: #232a30;
}

.floinstall-trail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  color: #aeb7be;
  font-size: 12px;
}

.floinstall-trail a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
}

.floinstall-opening__head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 20px 5vw;
  margin-bottom: 20px;
}

.floinstall-opening .hw-case__label {
  color: #ff8587;
}

.floinstall-case-page .floinstall-opening h1 {
  margin-top: 8px;
  max-width: none;
  color: #f5f6f5;
  font-size: clamp(36px, 3.7vw, 56px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.06em;
}

.floinstall-opening__scope > p {
  max-width: 42ch;
  color: #e3e8eb;
  font-size: 14px;
  line-height: 1.5;
}

.floinstall-opening__scope dl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 10px 0 0;
  font-size: 10px;
  line-height: 1.4;
}

.floinstall-opening__scope dl > div {
  display: flex;
  gap: 6px;
}

.floinstall-opening__scope dt {
  color: #8e9aa4;
}

.floinstall-opening__scope dd {
  margin: 0;
  color: #d1d9de;
}

.hw-case figure.floinstall-hero-scene {
  position: relative;
  width: min(100%, calc((100svh - 280px) * 1.7768));
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #84939e37;
  border-radius: 7px;
  background: #3b464e;
}

.floinstall-hero-scene a,
.floinstall-hero-scene__image {
  display: block;
  width: 100%;
  height: auto;
}

.floinstall-home {
  padding-block: clamp(48px, 7vw, 100px) clamp(62px, 9vw, 126px);
  color-scheme: light;
  color: #20272d;
  background: #f6f7f6;
}

.floinstall-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end;
  gap: 20px 8vw;
  margin-bottom: clamp(28px, 4vw, 54px);
}

.floinstall-case-page .floinstall-heading {
  font-size: clamp(34px, 4.5vw, 68px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.floinstall-section-head h2,
.floinstall-services h2 {
  margin-top: 14px;
}

.floinstall-section-head p:not(.hw-case__label),
.floinstall-services header > p:not(.hw-case__label) {
  max-width: 47ch;
  color: var(--hw-muted);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
}

.floinstall-site-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  gap: 24px;
  margin-top: 10px;
  border-bottom: 1px solid #c53336;
  font-size: 14px;
}

.floinstall-browser {
  overflow: hidden;
  border: 1px solid #59646e40;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 24px 60px #17212c14;
}

.floinstall-browser__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 34px;
  padding-inline: 16px;
  border-bottom: 1px solid #26344219;
  color: #68757e;
  background: #e5e9eb;
  font-size: 11px;
}

.floinstall-browser__bar > span:first-child {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8e9ba4;
  box-shadow: 9px 0 #8e9ba4, 18px 0 #8e9ba4;
}

.floinstall-browser__bar > span:last-child {
  justify-self: end;
}

.floinstall-browser a,
.floinstall-browser img {
  display: block;
  width: 100%;
  height: auto;
}

.floinstall-architecture {
  position: relative;
  overflow: hidden;
  color-scheme: dark;
  color: #f4f6f6;
  background: #1a252d;
}

.floinstall-architecture a {
  display: block;
}

.floinstall-architecture img {
  display: block;
  width: 100%;
  height: clamp(400px, 49vw, 840px);
  object-fit: cover;
  object-position: center;
}

.floinstall-architecture__caption {
  position: absolute;
  right: 0;
  bottom: clamp(24px, 5vw, 74px);
  left: 0;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 15px 40px;
  align-items: end;
  pointer-events: none;
}

.floinstall-architecture__caption > .hw-case__label {
  grid-column: 1 / -1;
  color: #c6d0d7;
}

.floinstall-case-page .floinstall-architecture h2 {
  color: #fff;
  font-size: clamp(34px, 5vw, 74px);
  text-shadow: 0 2px 24px #08121d;
}

.floinstall-architecture__caption > p:last-child {
  max-width: 26ch;
  justify-self: end;
  color: #d4dde3;
  font-size: 15px;
  line-height: 1.5;
}

.floinstall-services {
  padding-block: clamp(64px, 9vw, 132px);
  color-scheme: light;
  color: #20272d;
  background:
    linear-gradient(115deg, #f9faf9, #cfd7dc 72%, #e5e9ec);
}

.floinstall-services__layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr);
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
}

.floinstall-services header > p:not(.hw-case__label) {
  margin-top: 22px;
}

.floinstall-service-list {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.floinstall-service-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid #303b4429;
}

.floinstall-service-list span {
  color: #aa3037;
  font-size: 10px;
}

.floinstall-service-list strong {
  font-size: clamp(17px, 1.9vw, 25px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.floinstall-services-scene {
  position: relative;
  display: block;
  padding: 38px 0 0;
}

.floinstall-services-scene__row {
  width: 94%;
  overflow: hidden;
  border: 6px solid #353e46;
  border-radius: 13px;
  background: #353e46;
  box-shadow: 4px 28px 50px #1123332b;
  transform: rotate(-3deg);
}

.floinstall-services-scene__detail {
  position: relative;
  width: 30%;
  margin: -5% 1% 0 auto;
  overflow: hidden;
  border: 5px solid #e5e9ea;
  border-radius: 13px;
  box-shadow: 8px 20px 40px #11233342;
  transform: rotate(4deg);
}

.floinstall-ui-crop {
  position: relative;
  overflow: hidden;
}

.floinstall-ui-crop img {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
}

/* Each composition uses measured crops of the supplied original interface. */
.floinstall-ui-crop--services {
  aspect-ratio: 1492 / 550;
}

.floinstall-ui-crop--services img {
  width: 135.39%;
  left: -17.69%;
  top: -82.36%;
}

.floinstall-ui-crop--service {
  aspect-ratio: 361 / 550;
}

.floinstall-ui-crop--service img {
  width: 559.56%;
  left: -177.56%;
  top: -82.36%;
}

.floinstall-company {
  --hw-ink: #edf0f2;
  --hw-muted: #afb9c1;
  --hw-line: #bfcdd636;
  padding-block: clamp(64px, 9vw, 132px);
  color: var(--hw-ink);
  color-scheme: dark;
  background: #222c34;
}

.floinstall-company .hw-case__label {
  color: #ef7e84;
}

.floinstall-company__scene > a {
  display: block;
  padding-top: 10px;
}

.floinstall-company__vision {
  width: 89%;
  padding: clamp(12px, 2vw, 27px);
  border: 1px solid #8a98a449;
  border-radius: 8px;
  background: #f1f3f2;
  box-shadow: 7px 25px 60px #101a236b;
  transform: rotate(-2deg);
}

.floinstall-ui-crop--vision {
  aspect-ratio: 1570 / 385;
}

.floinstall-ui-crop--vision img {
  width: 128.66%;
  left: -14.39%;
  top: -60.52%;
}

.floinstall-company__experience {
  position: relative;
  width: 74%;
  margin: 4% 0 0 auto;
  padding: clamp(16px, 3vw, 42px);
  border-left: 4px solid #e33842;
  border-radius: 5px;
  background: #fff;
  box-shadow: 5px 18px 50px #101a2370;
  transform: rotate(1.8deg);
}

.floinstall-ui-crop--experience {
  aspect-ratio: 1580 / 267;
}

.floinstall-ui-crop--experience img {
  width: 127.85%;
  left: -14.24%;
  top: -257.30%;
}

.floinstall-contact-story {
  display: grid;
  grid-template-columns: .65fr 1fr 1fr;
  align-items: start;
  gap: 20px clamp(24px, 4vw, 60px);
  margin-top: clamp(44px, 7vw, 100px);
  padding-top: 24px;
  border-top: 1px solid var(--hw-line);
}

.floinstall-contact-story h3 {
  margin: 0;
  font-size: clamp(22px, 2.7vw, 38px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.04em;
}

.floinstall-contact-story > p:last-child {
  color: var(--hw-muted);
  font-size: 15px;
  line-height: 1.65;
}

.floinstall-end {
  padding-block: clamp(42px, 6vw, 84px);
  color-scheme: light;
  color: #20272d;
  background: #e8ebed;
}

.floinstall-end__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 25px 40px;
}

.floinstall-end__layout > p {
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.01;
  letter-spacing: -.06em;
}

.floinstall-end__layout > a:not(.floinstall-end__back) {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 54px;
  padding: 12px 18px;
  border-radius: 6px;
  color: #fff;
  background: #bc3038;
  font-size: 14px;
}

.floinstall-end__back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  grid-column: 1 / -1;
  min-height: 40px;
  color: #64707a;
  font-size: 12px;
}

body.floinstall-case-page:has(#topbar:not(.is-condensed)) .dock {
  visibility: hidden !important;
}

body.floinstall-case-page:has(.hw-gallery[open]) {
  overflow: hidden;
}

body.floinstall-case-page .hw-gallery {
  --hw-ink: #edf6ff;
  --hw-muted: #b6c4d0;
  --hw-line: #bcd9ef34;
}

body.floinstall-case-page .hw-gallery[open],
body.floinstall-case-page .hw-gallery[open] * {
  cursor: auto !important;
}

body.floinstall-case-page .hw-gallery[open] button,
body.floinstall-case-page .hw-gallery[open] button * {
  cursor: pointer !important;
}

body.floinstall-case-page:has(.hw-gallery[open]) .kwd-cursor {
  visibility: hidden;
}

@media (max-width: 870px) {
  .floinstall-case-page {
    --floinstall-nav-space: calc(84px + env(safe-area-inset-top, 0px));
  }
}

@media (max-width: 760px) {
  .floinstall-opening__head,
  .floinstall-section-head,
  .floinstall-services__layout,
  .floinstall-contact-story,
  .floinstall-end__layout {
    grid-template-columns: 1fr;
  }

  .hw-case figure.floinstall-hero-scene {
    width: 100%;
  }

  .floinstall-opening__head {
    gap: 16px;
  }

  .floinstall-architecture__caption {
    grid-template-columns: 1fr;
  }

  .floinstall-architecture__caption > p:last-child {
    justify-self: start;
  }

  .floinstall-services-scene {
    padding-top: 8px;
  }

  .floinstall-services-scene__detail {
    width: 32%;
  }

  .floinstall-company__vision {
    width: 97%;
  }

  .floinstall-company__experience {
    width: 92%;
    padding: 18px;
  }

  .floinstall-end__layout > a:not(.floinstall-end__back) {
    justify-self: start;
  }
}
