.kms-case-page { --kms-nav-space: calc(114px + env(safe-area-inset-top, 0px)); }
body.kwd-navigation.kms-case-page:not(.mobile-nav-open) #topbar#topbar { position: absolute !important; }
body.kwd-navigation.elite-detail-page.kms-case-page #tresc {
  padding-top: var(--kms-nav-space);
  background: linear-gradient(115deg, #0b1823, #070e15 75%) top / 100% var(--kms-nav-space) no-repeat;
}
.kms-case-page .hw-case { --hw-ink: #2e3539; --hw-muted: #596166; --hw-accent: #8e3b37; --hw-line: #3d44492e; color: var(--hw-ink); background: #e6e1d8; }
.kms-wrap { width: min(1480px, calc(100% - 8vw)); margin-inline: auto; }
.kms-opening { padding-block: 12px clamp(34px, 5vw, 72px); color: #2e3539; background: #e6e1d8; color-scheme: light; }
.kms-trail { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; color: #5c6265; font-size: 12px; }
.kms-trail a { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; }
.kms-opening__head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: 20px 5vw; margin-bottom: 20px; }
.kms-opening .hw-case__label { color: #8e3b37; }
.kms-case-page .kms-opening h1 { max-width: none; margin-top: 8px; color: #2e3539; font-size: clamp(32px, 3.5vw, 52px); font-weight: 400; line-height: 1.1; letter-spacing: -.035em; }
.kms-opening__scope > p { max-width: 45ch; color: #50595d; font-size: 14px; line-height: 1.5; }
.kms-opening__scope dl { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 10px 0 0; font-size: 10px; line-height: 1.4; }
.kms-opening__scope dl > div { display: flex; gap: 6px; }
.kms-opening__scope dt { color: #5c6265; }
.kms-opening__scope dd { margin: 0; }
.hw-case figure.kms-hero-scene { width: min(100%, calc((100svh - 280px) * 1.7768)); margin-inline: auto; overflow: hidden; border: 1px solid #3e454b3b; border-radius: 5px; background: #a8adae; }
.kms-hero-scene a, .kms-hero-scene img, .kms-screen a, .kms-screen img,
.kms-company-screen a, .kms-company-screen img, .kms-offer-screen a, .kms-offer-screen img,
.kms-paper a, .kms-paper img, .kms-project-screen a, .kms-project-screen img,
.kms-gallery-screen a, .kms-gallery-screen img, .kms-workspace-scene a, .kms-workspace-scene img,
.kms-mobile-screen a, .kms-mobile-screen img, .kms-contact-screen a, .kms-contact-screen img { display: block; width: 100%; height: auto; }
.kms-context, .kms-offer, .kms-materials, .kms-gallery-section, .kms-model-section, .kms-access, .kms-mobile, .kms-contact { padding-block: clamp(58px, 8vw, 118px); scroll-margin-top: 30px; }
.kms-context, .kms-offer { --hw-ink: #2e3539; --hw-muted: #596166; --hw-accent: #8e3b37; --hw-line: #3d44492e; color: var(--hw-ink); background: #f4f1eb; color-scheme: light; }
.kms-materials, .kms-gallery-section, .kms-model-section, .kms-contact { --hw-ink: #f0f0e9; --hw-muted: #bdc4c6; --hw-accent: #e09888; --hw-line: #c8cfd13b; color: var(--hw-ink); background: #292825; color-scheme: dark; }
.kms-rental { background: #343a3d; }
.kms-projects { background: #242321; }
.kms-mobile { --hw-ink: #2e3539; --hw-muted: #596166; --hw-accent: #8e3b37; --hw-line: #3d44492e; color: var(--hw-ink); background: #e6e1d8; color-scheme: light; }
.kms-contact { background: #282522; }
.kms-section-head { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); align-items: end; gap: 28px 7vw; margin-bottom: clamp(34px, 4.5vw, 66px); }
.kms-case-page .kms-heading { font-size: clamp(32px, 4.2vw, 64px); font-weight: 400; line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.kms-section-head h2 { margin-top: 15px; }
.kms-section-head p:not(.hw-case__label) { max-width: 54ch; color: var(--hw-muted); font-size: clamp(15px, 1.3vw, 18px); line-height: 1.75; }
.kms-site-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 48px; margin-top: 28px; padding-bottom: 4px; border-bottom: 1px solid var(--hw-accent); color: var(--hw-ink); font-size: 14px; }
.kms-browser { overflow: hidden; border: 1px solid #3b454b40; border-radius: 7px; background: #fff; box-shadow: 0 28px 65px #2b2d2e17; }
.kms-browser__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 37px; padding-inline: 18px; border-bottom: 1px solid #3d444922; color: #505b61; background: #dbe0e0; font-size: 11px; }
.kms-browser__bar > span:first-child { width: 5px; height: 5px; border-radius: 50%; background: #89959c; box-shadow: 9px 0 #89959c, 18px 0 #89959c; }
.kms-browser__bar > span:last-child { justify-self: end; }
.kms-company-screen { padding: clamp(18px, 2.7vw, 38px); border: 1px solid #c8cfd13b; background: #3e494f; }
.hw-case figure.kms-offer-screen { width: min(100%, 1320px); margin-inline: auto; padding: clamp(18px, 2.7vw, 38px); border: 1px solid #7d828542; background: #dfded8; }
.kms-paper { overflow: hidden; padding: clamp(18px, 2.5vw, 36px); border: 1px solid #c8cfd13b; background: #464d51; }
.kms-project-screen { overflow: hidden; padding: clamp(18px, 2.7vw, 38px); border: 1px solid #c8cfd13b; background: #39444b; }
.kms-gallery-note { display: flex; justify-content: space-between; align-items: start; gap: 18px 40px; margin-top: clamp(48px, 6vw, 86px); padding-top: 25px; padding-bottom: 26px; border-top: 1px solid var(--hw-line); }
.kms-gallery-note > p:not(.hw-case__label) { max-width: 40ch; color: var(--hw-muted); font-size: 14px; line-height: 1.7; }
.kms-gallery-screen { padding: clamp(18px, 2.7vw, 38px); border: 1px solid #c8cfd13b; background: #464c4f; }
.kms-workspace-scene { overflow: hidden; border: 1px solid #3e454b3b; border-radius: 5px; background: #b6b6ad; }
.kms-mobile-detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .8fr); align-items: center; gap: clamp(34px, 8vw, 110px); margin-top: clamp(48px, 8vw, 108px); padding-top: clamp(40px, 6vw, 82px); border-top: 1px solid var(--hw-line); }
.hw-case .kms-mobile-detail__lead { margin: 22px 0 28px; font-size: clamp(32px, 4.5vw, 64px); line-height: 1.1; letter-spacing: -.035em; }
.kms-mobile-detail p:not(.hw-case__label, .kms-mobile-detail__lead) { max-width: 45ch; color: var(--hw-muted); font-size: 16px; line-height: 1.75; }
.hw-case figure.kms-mobile-screen { width: min(100%, 310px); justify-self: center; overflow: hidden; border: 10px solid #303a40; border-radius: 32px; background: #fff; box-shadow: 0 26px 70px #24272b2b; }
.kms-contact-screen { padding: clamp(18px, 2.7vw, 38px); border: 1px solid #c8cfd13b; background: #3d474c; }
.kms-end { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 26px 40px; margin-top: clamp(50px, 7vw, 100px); padding-top: 34px; border-top: 1px solid var(--hw-line); }
.kms-end > p { font-size: clamp(28px, 3.5vw, 52px); line-height: 1.1; letter-spacing: -.035em; }
.kms-end__actions > a:not(.kms-end__site) { display: inline-flex; align-items: center; gap: 24px; min-height: 54px; padding: 12px 18px; border-radius: 4px; color: #332826; background: #e6b8a7; font-size: 14px; }
.kms-end__back { display: inline-flex; align-items: center; gap: 9px; grid-column: 1 / -1; min-height: 40px; color: #bdc4c6; font-size: 12px; }
.kms-site-link:focus-visible, .kms-trail a:focus-visible, .kms-end a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
body.kms-case-page:has(#topbar:not(.is-condensed)) .dock { visibility: hidden !important; }
body.kms-case-page:has(.hw-gallery[open]) { overflow: hidden; }
body.kms-case-page .hw-gallery { --hw-ink: #f0f0e9; --hw-muted: #bdc4c6; --hw-line: #c8cfd13b; }
body.kms-case-page .hw-gallery[open], body.kms-case-page .hw-gallery[open] * { cursor: auto !important; }
body.kms-case-page .hw-gallery[open] button, body.kms-case-page .hw-gallery[open] button * { cursor: pointer !important; }
body.kms-case-page:has(.hw-gallery[open]) .kwd-cursor { visibility: hidden; }
@media (min-width: 1051px) {
  .kms-company .kms-wrap { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); align-items: center; gap: clamp(40px, 5vw, 80px); }
  .kms-company .kms-section-head { display: block; margin-bottom: 0; }
  .kms-company .kms-section-head > div:last-child { margin-top: 26px; }
  .kms-company .kms-heading { font-size: clamp(32px, 3.2vw, 48px); }
}
@media (max-width: 870px) { .kms-case-page { --kms-nav-space: calc(84px + env(safe-area-inset-top, 0px)); } }
@media (max-width: 760px) {
  .kms-opening__head, .kms-section-head, .kms-mobile-detail, .kms-end { grid-template-columns: 1fr; }
  .hw-case figure.kms-hero-scene { width: 100%; }
  .kms-opening__head { gap: 16px; }
  .kms-gallery-note { flex-direction: column; }
  .kms-end__actions > a:not(.kms-end__site) { justify-self: start; }
  .kms-contact { padding-bottom: 110px; }
}
@media (min-width: 761px) and (max-height: 650px) { .hw-case figure.kms-hero-scene { width: 100%; } }

.kms-end__actions { display: grid; gap: 14px; justify-items: start; }
.kms-end__site { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; border-bottom: 1px solid #c8cfd180; color: #e6d5ce; font-size: 13px; }

.kms-offer-screen figcaption { padding-top: 15px; color: #50595e; font-size: 12px; line-height: 1.55; }

.kms-case-page .kms-heading { font-weight:400; }
.kms-opening__links { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:16px 30px; max-width:1150px; margin:22px auto 0; font-size:12px; color:#665f57; }
.kms-opening__links a { display:inline-flex; align-items:center; gap:18px; min-height:36px; color:#7e332f; border-bottom:1px solid #8e3b3759; }
.kms-company-story { display:grid; grid-template-columns:minmax(0,.75fr) minmax(0,1.35fr); align-items:center; gap:clamp(30px,5vw,80px); margin-top:clamp(54px,7vw,100px); padding-top:clamp(34px,5vw,72px); border-top:1px solid var(--hw-line); }
.kms-company-story h3 { margin:20px 0; font-size:clamp(30px,3vw,46px); font-weight:400; line-height:1.15; letter-spacing:-.03em; }
.kms-company-story p:not(.hw-case__label), .kms-mobile-detail p:not(.hw-case__label) { margin-top:24px; max-width:47ch; color:var(--hw-muted); font-size:clamp(15px,1.3vw,18px); line-height:1.75; }
.kms-company-screen { background:#ddd7cd; border-color:#8c827b40; padding:clamp(15px,2vw,30px); }
.kms-workspace-scene { margin-bottom:clamp(34px,5vw,70px) !important; }
.kms-materials-screen, .kms-gallery-screen, .kms-contact-screen { overflow:hidden; padding:clamp(18px,2.7vw,40px); border:1px solid #d8d2c93a; background:#3d3934; }
.kms-materials-screen a, .kms-materials-screen img, .kms-language-screen a, .kms-language-screen img { display:block; width:100%; height:auto; }
.kms-gallery-section { background:#252321; }
.kms-model-section { background:#e6e1d8; --hw-ink:#302b27; --hw-muted:#645d56; --hw-line:#75685b40; --hw-accent:#8e3b37; color:var(--hw-ink); color-scheme:light; scroll-margin-top:28px; }
.kms-access { background:#f4f1eb; --hw-ink:#302b27; --hw-muted:#645d56; --hw-line:#75685b40; --hw-accent:#8e3b37; color:var(--hw-ink); color-scheme:light; }
.kms-language-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(24px,3vw,44px); }
.kms-language-label { margin-bottom:15px !important; color:#76695e; font-size:12px; letter-spacing:.12em; }
.kms-language-screen { padding:clamp(12px,1.5vw,22px); border:1px solid #8c827b40; background:#e4ded5; }
.kms-mobile-detail { margin-top:0; padding-top:0; border-top:0; }
.kms-mobile { background:#d9d3c8; }
.kms-360 { overflow:hidden; border:1px solid #a59a8e; border-radius:6px; background:#fff; box-shadow:0 28px 80px #30282012; }
.kms-360__bar { display:flex; justify-content:space-between; gap:20px; padding:18px 24px; border-bottom:1px solid #cec6bc; color:#595149; background:#f4f1eb; font-size:12px; line-height:1.5; }
.kms-360__bar > span:last-child { flex-shrink:0; color:#8e3b37; }
.kms-360__stage { position:relative; width:100%; min-height:240px; aspect-ratio:1919 / 1127; background:#fff; }
.kms-360__stage > img { display:block; width:100%; height:100%; object-fit:contain; }
.kms-360__stage.is-active { aspect-ratio:1919 / 1127; }
.kms-360__stage iframe { position:absolute; inset:0; display:block; width:100%; height:100%; border:0; background:#fff; }
.kms-360__start { position:absolute; left:50%; bottom:9%; transform:translateX(-50%); display:flex; align-items:center; justify-content:center; gap:13px; min-height:58px; padding:12px 22px; width:max-content; max-width:calc(100% - 32px); border:1px solid #fff5; border-radius:4px; background:#302b27; color:#fff; font-size:14px; box-shadow:0 8px 28px #0003; cursor:pointer; }
.kms-360__start:hover { background:#7e332f; }
.kms-360__icon { font-size:30px; font-weight:400; line-height:1; }
.kms-360__footer { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:14px 30px; padding:20px 24px; border-top:1px solid #cec6bc; background:#f4f1eb; color:#645d56; font-size:12px; line-height:1.7; }
.kms-360__footer a { display:inline-flex; align-items:center; gap:12px; min-height:32px; color:#8e3b37; text-decoration:underline; text-underline-offset:4px; }
.kms-model-notes { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px 5vw; margin-top:clamp(38px,5vw,70px); }
.kms-model-notes > div { padding-top:22px; border-top:1px solid var(--hw-line); }
.kms-model-notes span { font-size:11px; color:#8e3b37; }
.kms-model-notes h3 { margin:18px 0 12px; font-size:20px; font-weight:400; line-height:1.3; }
.kms-model-notes p { max-width:35ch; color:var(--hw-muted); font-size:14px; line-height:1.75; }
.kms-model-links { display:flex; flex-wrap:wrap; align-items:center; gap:12px 40px; margin-top:18px; }
.kms-case-page :is(a,button):focus-visible { outline:2px solid currentColor; outline-offset:5px; }
@media (max-width:760px) {
 .kms-opening__links { font-size:11px; }
 .kms-company-story, .kms-language-grid, .kms-model-notes { grid-template-columns:1fr; }
 .kms-360__bar, .kms-360__footer { padding:15px 16px; }
 .kms-360__bar { font-size:10px; }
 .kms-360__stage { min-height:230px; }
 .kms-360__start { bottom:14px; min-height:48px; padding:10px 14px; font-size:12px; }
 .kms-360__icon { font-size:24px; }
 .kms-model-notes { gap:26px; }
 .kms-contact { padding-bottom:110px; }
}
