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

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

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

.premium-clean-case-page .hw-case {
  --hw-ink: #272727;
  --hw-muted: #696963;
  --hw-accent: #92742e;
  --hw-line: #5a50412c;
  color: var(--hw-ink);
  background: #f2f1ed;
}

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

.premium-opening {
  padding-block: 12px clamp(28px, 4vw, 58px);
  color-scheme: light;
  color: #272727;
  background: #f2f1ed;
}

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

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

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

.premium-opening .hw-case__label {
  color: #806529;
}

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

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

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

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

.premium-opening__scope dt {
  color: #78736b;
}

.premium-opening__scope dd {
  margin: 0;
}

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

.premium-hero-scene a,
.premium-hero-scene img,
.premium-service-scene a,
.premium-service-scene img,
.premium-browser a,
.premium-browser img {
  display: block;
  width: 100%;
  height: auto;
}

.premium-home,
.premium-enquiry {
  padding-block: clamp(50px, 7vw, 100px) clamp(62px, 9vw, 126px);
  color-scheme: light;
  color: #272727;
  background: #fbfbf8;
}

.premium-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);
}

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

.premium-section-head h2 {
  margin-top: 14px;
}

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

.premium-site-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  gap: 24px;
  margin-top: 12px;
  border-bottom: 1px solid var(--hw-accent);
  font-size: 14px;
}

.premium-browser {
  overflow: hidden;
  border: 1px solid #6b625338;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 24px 60px #30291d14;
}

.premium-browser__bar,
.premium-price__bar {
  display: grid;
  align-items: center;
  min-height: 34px;
  padding-inline: 16px;
  border-bottom: 1px solid #403a2d19;
  color: #7c7569;
  background: #eeece5;
  font-size: 11px;
}

.premium-browser__bar {
  grid-template-columns: 1fr auto 1fr;
}

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

.premium-browser__bar > span:last-child,
.premium-price__bar > span:last-child {
  justify-self: end;
}

.premium-scope {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin: clamp(26px, 4vw, 54px) 0 0;
}

.premium-scope > div {
  padding-top: 15px;
  border-top: 1px solid var(--hw-line);
}

.premium-scope dt {
  margin-bottom: 8px;
  color: #92742e;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.premium-scope dd {
  margin: 0;
  font-size: clamp(16px, 1.9vw, 25px);
  line-height: 1.25;
  letter-spacing: -.03em;
}

.premium-services {
  --hw-ink: #f5f3ed;
  --hw-muted: #bdb9b1;
  --hw-accent: #d5bd75;
  --hw-line: #d9c9a534;
  padding-block: clamp(60px, 8vw, 118px);
  color-scheme: dark;
  color: var(--hw-ink);
  background: #232323;
}

.premium-services .hw-case__label {
  color: var(--hw-accent);
}

.hw-case figure.premium-service-scene {
  width: min(100%, 1180px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #b9a67243;
  border-radius: 8px;
  background: #32302a;
}

.premium-service-detail {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  margin-top: clamp(42px, 7vw, 95px);
  padding-top: 26px;
  border-top: 1px solid var(--hw-line);
}

.premium-service-detail h3,
.premium-callback h3 {
  margin: 14px 0 18px;
  font-size: clamp(25px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.045em;
}

.premium-service-detail > div > p:last-child {
  max-width: 35ch;
  color: var(--hw-muted);
  font-size: 15px;
  line-height: 1.65;
}

.premium-service-card {
  display: block;
  padding: clamp(16px, 2.5vw, 34px);
  border: 1px solid #ddd1b054;
  border-radius: 8px;
  background: #f4f2ec;
  box-shadow: 5px 25px 50px #18130b6b;
  transform: rotate(-2deg);
}

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

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

/* Display crops use the supplied interface; the gallery opens complete sources. */
.premium-ui-crop--service {
  aspect-ratio: 1555 / 456;
}

.premium-ui-crop--service img {
  width: 122.44%;
  left: -10.74%;
  top: -84.65%;
}

.premium-enquiry {
  background: linear-gradient(115deg, #faf9f4, #e8e5da);
}

.premium-enquiry__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(30px, 6vw, 92px);
}

.premium-price a {
  display: block;
  overflow: hidden;
  border: 1px solid #75684d54;
  border-radius: 9px;
  background: #f5f2e9;
  box-shadow: 0 26px 50px #3830221f;
  transform: rotate(-1.6deg);
}

.premium-price__bar {
  grid-template-columns: 1fr auto;
}

.premium-ui-crop--price {
  aspect-ratio: 1904 / 1310;
}

.premium-ui-crop--price img {
  width: 100%;
  left: 0;
  top: -82.44%;
}

.premium-callback .hw-case__label {
  color: #806529;
}

.premium-callback__card {
  display: block;
  padding: clamp(18px, 3vw, 36px);
  border: 1px solid #9080633d;
  border-radius: 9px;
  background: #fff;
  box-shadow: 4px 20px 45px #3830221f;
}

.premium-ui-crop--callback {
  aspect-ratio: 435 / 370;
}

.premium-ui-crop--callback img {
  width: 437.70%;
  left: -288.51%;
  top: -63.51%;
}

.premium-end {
  padding-block: clamp(42px, 6vw, 84px);
  color-scheme: light;
  color: #272727;
  background: #f2f1ed;
}

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

.premium-end__layout > p {
  font-size: clamp(29px, 3.8vw, 56px);
  line-height: 1.04;
  letter-spacing: -.06em;
}

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

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

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

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

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

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

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

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

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

@media (max-width: 760px) {
  .premium-opening__head,
  .premium-section-head,
  .premium-service-detail,
  .premium-enquiry__layout,
  .premium-end__layout {
    grid-template-columns: 1fr;
  }

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

  .premium-opening__head {
    gap: 16px;
  }

  .premium-service-card,
  .premium-price a {
    transform: none;
  }

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

  .premium-end {
    padding-bottom: 110px;
  }
}

@media (max-width: 500px) {
  .premium-scope {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
