/* Shared type and spacing for the selected homepage. */
.home-main {
  --hm-night: #050c16;
  --hm-deep: #0a152a;
  --hm-navy: #0e2350;
  --hm-brand: #142d5b;
  --hm-accent: #ffffff;
  --hm-light: #f3f6fa;
  --hm-muted: #d7dee8;
  --hm-line: #ffffff38;
  --hm-h1: clamp(52px, 4vw, 56px);
  --hm-h2: clamp(34px, 3.1vw, 44px);
  --hm-h3: clamp(20px, 1.7vw, 24px);
  --hm-gap: clamp(112px, 8.33vw, 128px);
  color: var(--hm-light);
  background: var(--hm-deep);
  font-family: Pretendard, 'Malgun Gothic', sans-serif;
}
.home-main main#main { padding-top: 0; }
.home-main [hidden] { display: none !important; }
.hm-width, .home-main .fb-footer-inner {
  width: min(var(--khic-content), calc(100% - 2 * var(--khic-gutter)));
  max-width: none;
  min-width: 0;
  margin-inline: auto;
}
.hm-section { padding-block: calc(var(--hm-gap) / 2); }
.hm-film + .hm-section { padding-block-start: var(--hm-gap); }
.hm-section:where(:not(.kh-approved)) :where(figure, h1, h2, h3, p, ul, ol, dl, dd) { margin: 0; }
.hm-section:where(:not(.kh-approved)) :where(h1, h2, h3, p, dt, dd) { word-break: keep-all; overflow-wrap: break-word; }
.home-main h1, .home-main .hm-title, .home-main .hm-subtitle {
  margin: 0;
  line-height: 1.22;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.home-main h1 { font-size: var(--hm-h1); font-weight: 720; }
.home-main .hm-title { font-size: var(--hm-h2); font-weight: 680; }
.home-main .hm-subtitle { font-size: var(--hm-h3); font-weight: 650; line-height: 1.35; }
.home-main .hm-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #d7dee8;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 620;
}
.hm-kicker::before { content: ''; width: 22px; height: 2px; background: var(--hm-accent); }
.home-main .hm-lead { margin: 14px 0 0; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; color: var(--hm-muted); }

body.home-main main {
  --hm-section-space: 120px;
  --hm-kicker-space: 16px;
  --hm-lead-space: 20px;
  --hm-content-space: 44px;
  --hm-body-size: clamp(17px, 1.3vw, 18px);
  --hm-seam-height: 96px;
  --hm-seam-clearance: 40px;
  --hm-seam-inset: calc(var(--hm-seam-height) + var(--hm-seam-clearance));
  --hm-seam-stops: var(--hm-deep), #101c32 10%, #21334e 24%, #3e5473 37%,
    #647fa2 50%, #97abc4 63%, #c6d2e0 76%, #eff3f8 90%;
}
@media (max-width: 800px) {
  body.home-main main {
    --hm-section-space: 76px;
    --hm-kicker-space: 14px;
    --hm-lead-space: 16px;
    --hm-content-space: 28px;
    --hm-body-size: 16px;
    --hm-seam-height: 60px;
    --hm-seam-clearance: 24px;
  }
}
body.home-main :where(.hm-business, .hm-records, .hm-analysis, .hm-group, #reviews, .hm-contact) {
  padding-block: var(--hm-seam-inset) var(--hm-section-space);
}
body.home-main :where(.hm-company, .hm-business, .hm-records, .hm-analysis, .hm-group, .hm-contact, .journey) {
  word-break: keep-all;
  overflow-wrap: anywhere;
  letter-spacing: 0;
}
body.home-main :where(.hm-company, .hm-business, .hm-records, .hm-analysis, .hm-group, .hm-contact, .journey) :where(h1, h2, h3, p, dt, dd, figcaption, button, a) {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
body.home-main :where(.hm-company, .hm-business, .hm-records, .hm-analysis, .hm-group, .hm-contact, .journey) :where(p, dd, figcaption) {
  text-wrap: pretty;
}
body.home-main :where(.hm-company, .hm-business, .hm-records, .hm-analysis, .hm-group, .hm-contact, .journey) :is(h1, .hm-title, .hm-subtitle) {
  line-height: 1.3;
  letter-spacing: -.015em;
  text-wrap: balance;
}
body.home-main :where(.hm-business, .hm-group) .hm-subtitle {
  letter-spacing: -.01em;
}
body.home-main :where(.hm-company, .hm-records, .hm-analysis) .hm-kicker {
  margin-bottom: var(--hm-kicker-space);
  color: #d7dee8;
  letter-spacing: 0;
}
body.home-main :where(.hm-company, .hm-business, .hm-analysis, .hm-group) .hm-lead {
  max-width: 34em;
  margin-top: var(--hm-lead-space);
  color: var(--hm-muted);
  font-size: var(--hm-body-size);
  line-height: 1.7;
  letter-spacing: 0;
}

.hm-link {
  border-bottom: 1px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  min-height: 44px;
  font-size: 15px;
  font-weight: 620;
}
.hm-link:hover { color: #d7dee8; }
.home-main .kh-skip { color: var(--hm-deep); }
.home-main .kh-skip:focus-visible { outline-color: var(--hm-deep); }
:where(.home-main main) :is(a, button, input, textarea, select, summary):focus-visible,
.home-main .fb-footer :focus-visible { outline-color: var(--hm-accent); }
.hm-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: fit-content;
  height: 48px;
  padding: 0 22px 0 26px;
  border: 1px solid #ffffffbf;
  border-radius: 2px;
  background: #050c168c;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--hm-accent);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .02em;
  white-space: nowrap;
  text-decoration: none;
}
.hm-button > span[aria-hidden="true"] { display: none; }
.hm-button::after { content: "→" / ""; font-weight: 400; }
.hm-button:hover { background: var(--hm-accent); color: #0a152a; border-color: var(--hm-accent); }
.hm-button:focus-visible { outline: 2px solid var(--hm-accent); outline-offset: 3px; }
.hm-film {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  height: 100vh;
  height: 100svh;
  min-height: 260px;
  background: var(--hm-night);
}
.hm-film-frame { position: relative; min-width: 0; min-height: 0; }
.hm-film-frame :is(picture, img, video) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
body.home-main .hm-film-frame {
  container-name: hm-film-frame;
  container-type: size;
}
.hm-film-box {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  container-type: size;
  pointer-events: none;
}
.hm-film-cta {
  position: absolute;
  pointer-events: auto;
}
/* PC film by default: landscape screens and portrait screens wider than 2:3. */
.hm-film-box {
  width: min(100cqw, 100cqh * 16 / 9);
  aspect-ratio: 16 / 9;
}
.hm-film-cta {
  left: 2.14cqw;
  top: 49.5cqh;
  height: 52px;
  font-size: 17px;
}
/* Landscape screens wider than 16:9: the film stays 16:9 (title and button keep their place).
   The empty sides get the same scene as a blurred, darkened poster, and the film's side edges fade into it. */
@media (orientation: landscape) and (min-aspect-ratio: 1601/900) {
  body.home-main .hm-film-frame { overflow: hidden; }
  body.home-main .hm-film-frame::before {
    content: "";
    position: absolute;
    inset: -60px;
    background: url(/assets/video/main-pc-poster.jpg) center / cover no-repeat;
    filter: blur(70px) brightness(.38) saturate(.85);
  }
  body.home-main .hm-film-frame :is(img, video) {
    z-index: 1;
    --hm-film-half: calc(100cqh * 8 / 9);
    --hm-film-fade: calc(100cqh * .07);
    -webkit-mask-image: linear-gradient(90deg, transparent calc(50% - var(--hm-film-half)), #000 calc(50% - var(--hm-film-half) + var(--hm-film-fade)), #000 calc(50% + var(--hm-film-half) - var(--hm-film-fade)), transparent calc(50% + var(--hm-film-half)));
    mask-image: linear-gradient(90deg, transparent calc(50% - var(--hm-film-half)), #000 calc(50% - var(--hm-film-half) + var(--hm-film-fade)), #000 calc(50% + var(--hm-film-half) - var(--hm-film-fade)), transparent calc(50% + var(--hm-film-half)));
  }
  body.home-main .hm-film-frame::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 6%;
    background: linear-gradient(transparent, var(--hm-night));
    pointer-events: none;
  }
  body.home-main .hm-film-box { z-index: 2; }
}
/* Wide portrait screens (tablet, foldable, narrow window): show the whole PC film at full width. */
@media (orientation: portrait) {
  .hm-film { height: auto; min-height: 0; }
  body.home-main .hm-film-frame { aspect-ratio: 16 / 9; }
  .hm-film-cta { height: 44px; font-size: 15px; }
}
/* Phone film on screens 2:3 or narrower. */
@media (max-aspect-ratio: 2/3) {
  .hm-film { height: 100vh; height: 100svh; min-height: 260px; }
  body.home-main .hm-film-frame { aspect-ratio: auto; }
  .hm-film-box {
    width: min(100cqw, 100cqh * 9 / 16);
    aspect-ratio: 9 / 16;
  }
  .hm-film-cta {
    left: 50%;
    translate: -50% 0;
    top: 40.4cqh;
    height: 48px;
    font-size: 16px;
  }
}
@container hm-film-frame (orientation: portrait) and (aspect-ratio > 9/16) and (aspect-ratio <= 3/4) {
  body.home-main .hm-film-frame :is(img, video) {
    object-fit: cover;
    object-position: 50% 100%;
  }
  .hm-film-box {
    width: 100cqw;
    aspect-ratio: 9 / 16;
    top: auto;
    bottom: 0;
    translate: -50% 0;
  }
}
/* Film bottom edge: fade the floor into the page and redraw the corner note on top. */
.hm-film-box::before {
  content: "";
  position: absolute;
  inset: 0 0 -1px;
  background: linear-gradient(transparent 93.8%, rgb(5 12 22 / .1) 94.6%, rgb(5 12 22 / .33) 95.4%, rgb(5 12 22 / .68) 96.2%, rgb(5 12 22 / .92) 96.8%, var(--hm-night) 97.1%);
}
.hm-film-note {
  position: absolute;
  right: .9cqw;
  bottom: 1.25cqh;
  margin: 0;
  color: #c3cad6;
  font-size: max(9px, .73cqw);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
@media (max-aspect-ratio: 2/3) {
  .hm-film-box::before {
    background: linear-gradient(transparent 95.2%, rgb(5 12 22 / .1) 95.9%, rgb(5 12 22 / .33) 96.5%, rgb(5 12 22 / .68) 97.1%, rgb(5 12 22 / .92) 97.6%, var(--hm-night) 97.85%);
  }
  .hm-film-note { right: 1.8cqw; bottom: .85cqh; font-size: 2.22cqw; }
}
body.home-main .hm-contact {
  padding-block-end: clamp(52px, 5vw, 84px);
}
body.home-main .hm-contact > .hm-width {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px clamp(32px, 5vw, 80px);
}
body.home-main .hm-contact .hm-title {
  color: #fff;
  font-size: clamp(38px, 3.9vw, 64px);
  line-height: 1.22;
  letter-spacing: -.035em;
}
body.home-main .hm-contact-copy p {
  margin: 14px 0 0;
  color: #d7dee8;
  font-size: var(--hm-body-size);
  line-height: 1.65;
}
body.home-main .hm-contact-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}
body.home-main .hm-contact-book {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-sizing: border-box;
  width: 100%;
  min-width: 218px;
  min-height: 56px;
  padding: 12px 24px;
  border-radius: 6px;
  background: #fff;
  color: #142d5b;
  font-size: 17px;
  font-weight: 720;
  line-height: 1.4;
  text-decoration: none;
}
body.home-main .hm-contact .hm-link { color: #d7dee8; border-bottom-color: transparent; }
body.home-main .hm-contact a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.home-main .fb-footer { padding: 0; color: #e3eaf5; background: var(--hm-deep); }
.home-main .fb-footer-inner {
  display: grid;
  grid-template-columns: minmax(175px, 1fr) minmax(0, 2fr);
  align-items: start;
  gap: 30px;
  padding-block: calc(var(--hm-gap) / 2) 24px;
  border-top: 1px solid var(--hm-line);
}
.home-main .fb-footer-brand a { display: inline-block; }
.home-main .fb-footer-logo { width: 138px; height: auto; margin: 0; }
.home-main .fb-footer p { margin: 8px 0 0; color: var(--hm-muted); font-size: 14px; line-height: 1.65; }
.home-main .fb-footer nav { gap: 4px 22px; margin: 0; }
.home-main .fb-footer nav a { display: inline-flex; align-items: center; min-height: 36px; }
.home-main .fb-footer-links { justify-self: end; }
.home-main .fb-footer-links nav { justify-content: flex-end; }
.home-main .fb-footer-links p { text-align: end; }
.fb-company-details {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 24px;
  margin: 16px 0;
  color: var(--hm-muted, #aebfd5);
  font-size: 13px;
  line-height: 1.6;
}
.draft .fb-company-details { color: #c5d0e0; }
.fb-company-details > div { display: flex; align-items: baseline; gap: 8px; }
.fb-company-address { grid-column: 1 / -1; }
.fb-company-details dt { flex-shrink: 0; }
.fb-company-details dd { min-width: 0; margin: 0; word-break: keep-all; overflow-wrap: anywhere; }
.home-main .fb-footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
  padding-top: 14px;
  border-top: 1px solid var(--hm-line);
  color: var(--hm-muted);
  font-size: 13px;
}
.home-main .fb-footer-legal small { color: inherit; }
.home-main .fb-footer-legal small span { display: inline-block; margin-inline-start: 12px; }

@media (max-width: 800px) {
  .home-main {
    --hm-h1: clamp(30px, 8vw, 34px);
    --hm-h2: clamp(26px, 7vw, 30px);
    --hm-h3: clamp(18px, 4.9vw, 21px);
    --hm-gap: clamp(64px, 18vw, 80px);
  }
  .hm-film { padding-top: var(--kf-header); }
  body.home-main .hm-contact > .hm-width { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.home-main .hm-contact .hm-title { font-size: clamp(30px, 7.8vw, 42px); }
  body.home-main .hm-contact-actions { width: min(100%, 360px); justify-items: center; }
  body.home-main .hm-contact-book { min-width: 0; }
  .home-main .fb-footer-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .fb-company-details { grid-template-columns: minmax(0, 1fr); }
  .home-main .fb-footer-links { justify-self: start; }
  .home-main .fb-footer-links nav { justify-content: flex-start; }
  .home-main .fb-footer-links p { text-align: start; }
  .home-main .fb-footer-legal { flex-direction: column-reverse; align-items: start; gap: 2px; }
  .home-main .fb-footer-legal small span { display: block; margin: 2px 0 0; }
}

@media (scripting: none) {
  /* The native header already occupies a row above the poster. */
  .hm-film { height: calc(100svh - var(--kf-header)); padding-top: 0; }
}

/* Company introduction and registration certificate */
.hm-section.hm-company {
  --hm-paper: clamp(260px, 21vw, 292px);
  --hm-company-shade: linear-gradient(90deg, #050c16ef 0%, #050c16db 32%, #050c1645 78%);
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: grid;
  align-items: center;
  box-sizing: border-box;
  min-height: min(620px, calc(100svh - 88px));
  padding-block: clamp(16px, 6svh, var(--hm-gap));
  background: var(--hm-night);
}
.hm-company-backdrop, .hm-company::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hm-company-backdrop { z-index: -2; object-fit: cover; object-position: 70% 60%; }
.hm-company::before {
  content: '';
  z-index: -1;
  background: linear-gradient(to bottom, var(--hm-night), transparent 26%, transparent 67%, var(--hm-deep)),
              var(--hm-company-shade);
}
.hm-company-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}
.hm-company-intro h1 { margin: 0; font-size: clamp(36px, 4.2vw, var(--hm-h1)); }
body.home-main .hm-company-intro .hm-lead { margin-block: var(--hm-lead-space) var(--hm-content-space); max-width: 31em; }
.hm-company-documents { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 16px; min-width: 0; }
.hm-company-documents .hm-material { width: min(100%, var(--hm-paper)); }
.hm-company-documents .hm-material-frame {
  box-sizing: border-box;
  aspect-ratio: 1100 / 1555;
  border: 1px solid #fff;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 5px 20px #050c164d, 0 16px 38px #050c1640;
}
.hm-company-documents .hm-material:focus-visible { outline: 3px solid var(--hm-accent); outline-offset: 2px; }
body.home-main .hm-company-documents figcaption { display: grid; gap: 8px; text-align: center; line-height: 1.65; }
body.home-main .hm-company-documents figcaption strong { color: var(--hm-light); font-size: clamp(14px, 1.2vw, 16px); }
body.home-main .hm-company-documents figcaption span { color: #d7dee8; font-size: 14px; }
@media (max-width: 800px) {
  .hm-section.hm-company {
    --hm-company-shade: linear-gradient(90deg, #050c16f0, #050c1696);
    container-type: inline-size;
    min-height: 0;
    padding-block: var(--hm-gap);
  }
  .hm-company-intro { --hm-paper: min(52cqw, 284px); grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hm-company-intro h1 { font-size: var(--hm-h1); }
}
/* Four service cards, with the apartment visit first and largest. */
body.home-main .hm-service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 1.5vw, 24px);
  margin-top: var(--hm-content-space);
}
.hm-service {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #f5f7fa;
  color: #142d5b;
}
.hm-service > img { display: block; width: 100%; height: clamp(132px, 11.8vw, 174px); object-fit: cover; }
.hm-service:first-child { background: #142d5b; color: #fff; }
.hm-service:first-child > img { height: clamp(156px, 13.5vw, 198px); }
body.home-main .hm-service-body { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 28px; }
.hm-service .hm-subtitle { margin: 0; color: inherit; }
body.home-main .hm-service p { flex: 1; margin: 12px 0 18px; color: #3e4c63; font-size: 16px; line-height: 1.65; }
body.home-main .hm-service:first-child p { color: #d4dfed; }
.hm-service a {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 7px;
  border-top: 1px solid #d7dee8;
  color: inherit;
  font-size: 14px;
  font-weight: 650;
}
.hm-service:first-child a { border-color: #8d9bb0; }
.hm-service:not(:first-child) a:focus-visible { outline-color: var(--hm-deep); }

/* A single dusk photograph carries the headline, figures and annual history. */
body.home-main .hm-records {
  --hm-records-fade: 230px;
  padding-block: 0;
  color: #fff;
}
.hm-records .hm-width { width: min(1440px, calc(100% - 2 * max(20px, 5.8333%))); }
.hm-record-scene {
  --hm-record-side-shade: linear-gradient(90deg, #050c16ef, #050c16cc 23%, #050c169e 39%, #050c1647 57%, #050c160a 80%);
  --hm-record-lower-shade: linear-gradient(to top, #0b1b3bd6, #0b1b3bb0 34%, #0b1b3b80 48%, transparent 68%);
  --hm-record-band-fade: linear-gradient(to top, var(--hm-brand) 0, var(--hm-brand) 18px, #142d5be0 70px, #142d5b99 130px, #142d5b47 190px, #142d5b00 250px);
  position: relative;
  isolation: isolate;
  padding-block: calc(var(--hm-records-fade) + clamp(8px, 1.5vw, 24px)) 22px;
  background: var(--hm-deep);
}
.hm-record-backdrop, .hm-record-scene::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hm-record-backdrop { z-index: -2; object-fit: cover; object-position: center top; }
.hm-record-scene::before {
  content: '';
  z-index: -1;
  background: var(--hm-record-band-fade), var(--hm-record-lower-shade), var(--hm-record-side-shade);
  -webkit-mask-image: linear-gradient(to bottom, transparent calc(var(--hm-records-fade) * .45), #000 calc(var(--hm-records-fade) + 60px));
  mask-image: linear-gradient(to bottom, transparent calc(var(--hm-records-fade) * .45), #000 calc(var(--hm-records-fade) + 60px));
}
.hm-record-scene::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: var(--hm-records-fade);
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, #f3f6fa, #eef2f7 8%, #d5deea 22%, #aebdd2e8 38%, #8496b5c4 54%, #6a7ea38a 70%, #5d70963d 85%, #5d709600);
}
body.home-main .hm-record-scene .hm-kicker {
  gap: 14px;
  margin-bottom: clamp(36px, 3.9vw, 60px);
  color: #fff;
  font-size: clamp(15px, 1.25vw, 18px);
}
.hm-record-scene .hm-kicker::before { width: 28px; }
body.home-main .hm-records .hm-title {
  display: grid;
  gap: 6px;
  color: #fff;
  letter-spacing: -.045em;
  line-height: 1.08;
}
.hm-record-period { font-size: clamp(30px, 3.35vw, 50px); font-weight: 520; line-height: 1.18; }
.hm-record-volume { font-size: clamp(38px, 4.35vw, 66px); font-weight: 570; }
.hm-record-volume strong { font-size: clamp(92px, 10.55vw, 160px); font-weight: 760; letter-spacing: -.065em; line-height: 1; }
.hm-record-complete { font-size: clamp(44px, 4.75vw, 72px); font-weight: 690; }
body.home-main .hm-figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3.5vw, 52px);
  width: min(67.2%, 900px);
  margin-top: clamp(38px, 4.3vw, 68px);
}
.hm-figures > div { border-top: 1px solid #ffffff59; padding-top: 12px; }
.hm-figures dt { font-size: clamp(15px, 1.4vw, 20px); line-height: 1.5; }
.hm-figures dd { display: flex; flex-wrap: wrap; gap: 0 10px; align-items: baseline; line-height: 1.2; }
.hm-figures strong { font-size: clamp(42px, 4.9vw, 74px); font-weight: 700; letter-spacing: -.045em; }
.hm-figures dd > span { font-size: clamp(15px, 1.55vw, 22px); white-space: nowrap; }
.hm-record-details {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(32px, 6.2vw, 96px);
  margin-top: clamp(40px, 4vw, 62px);
  padding-top: clamp(24px, 2vw, 32px);
  border-top: 1px solid #ffffff66;
}
/* Space below the common baseline belongs to the disclosure, even when closed. */
.hm-history-chart { --hm-history-height: clamp(148px, 13.6vw, 220px); min-width: 0; padding-bottom: 36px; }
.hm-history-chart figcaption { display: grid; gap: 5px; line-height: 1.4; }
.hm-history-chart figcaption strong { font-size: clamp(20px, 2vw, 30px); letter-spacing: -.035em; }
.hm-history-chart figcaption span { font-size: clamp(14px, 1.15vw, 17px); }
body.home-main .hm-history-chart ol {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.hm-history-chart li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}
.hm-history-chart li::after {
  content: '';
  order: 1;
  width: min(42%, 42px);
  height: calc(var(--hm-history-height) * var(--hm-history-share));
  transform-origin: center bottom;
  background: #fff;
}
.hm-history-year {
  order: 2;
  align-self: stretch;
  padding-top: 8px;
  border-top: 1px solid #ffffffa1;
  text-align: center;
  font-size: clamp(13px, 1.2vw, 17px);
  white-space: nowrap;
}
.hm-history-value { margin-bottom: 4px; font-size: clamp(15px, 1.5vw, 22px); font-weight: 650; }
.hm-field {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  padding-bottom: 36px;
}
.hm-field > div { padding-block: clamp(18px, 2vw, 32px); }
.hm-field > div:nth-child(odd) { padding-right: 12px; }
.hm-field > div:nth-child(n+3) { border-top: 1px solid #ffffff59; }
.hm-field dt { margin-bottom: .9em; font-size: clamp(14px, 1.15vw, 17px); line-height: 1.5; }
.hm-field dd { font-size: clamp(18px, 1.7vw, 26px); font-weight: 650; letter-spacing: -.035em; line-height: 1.35; }
.hm-record-photo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(380px, 33vw, 500px);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
  padding-block: clamp(40px, 4.4vw, 64px) clamp(32px, 3.3vw, 48px);
}
.hm-broadcast-title { color: #fff; font-size: clamp(28px, 2.9vw, 44px); line-height: 1.25; }
.hm-broadcast-title span { white-space: nowrap; }
.hm-record-photo p { color: #e2e9f2; line-height: 1.5; }
body.home-main .hm-broadcast-date { margin-top: 12px; font-size: clamp(16px, 1.25vw, 18px); }
body.home-main .hm-broadcast-story {
  margin-top: 16px;
  max-width: 34em;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.6;
}
body.home-main .hm-broadcast-credit { margin-top: 14px; font-size: 14px; }
.hm-broadcast-frame {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #ffffff38;
  box-shadow: 0 18px 40px #050c1666;
}
.hm-broadcast-frame img { display: block; width: 100%; height: auto; }
.hm-record-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  padding-block: 4px 12px;
  border-top: 1px solid #ffffff45;
}
.hm-record-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .3em;
}
.hm-record-links a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.hm-record-links a:hover { text-decoration-thickness: 2px; }

@media (max-width: 800px) {
  body.home-main .hm-records { --hm-records-fade: 150px; }
  .hm-record-scene { --hm-record-band-fade: linear-gradient(to top, var(--hm-brand) 0, var(--hm-brand) 12px, #142d5be0 48px, #142d5b8f 96px, #142d5b38 140px, #142d5b00 180px); }
}
@media (max-width: 1024px) {
  .hm-record-scene {
    --hm-record-side-shade: linear-gradient(90deg, #050c16ec, #050c16b3 36%, #050c1699 61%, #050c162b 79%, #050c160a);
    --hm-record-lower-shade: linear-gradient(to top, #050c16c4, #050c169e 56%, #050c164a 70%, transparent 80%);
  }
  .hm-record-backdrop { object-position: 63% top; }
  body.home-main .hm-figures { width: min(100%, 780px); gap: 24px; }
  .hm-record-details { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hm-field { gap: 0 28px; padding-bottom: 8px; border-top: 1px solid #ffffff59; }
  .hm-field > div { padding-block: 16px; }
  .hm-field dt { margin-bottom: 4px; }
  .hm-record-photo { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 640px) {
  .hm-records .hm-width { width: calc(100% - 40px); }
  .hm-record-scene {
    --hm-record-side-shade: linear-gradient(90deg, #050c16cf, #050c16a6 50%, #050c1699 max(284px, 64%), #050c1614);
    --hm-record-lower-shade: linear-gradient(to bottom, transparent 145px, #050c169e 266px, #050c16ad 77%, #050c16c4);
    padding-bottom: 16px;
  }
  .hm-record-backdrop { object-position: 69% top; }
  body.home-main .hm-record-scene .hm-kicker { margin-bottom: 28px; }
  body.home-main .hm-records .hm-title { gap: 4px; }
  .hm-record-period { font-size: clamp(24px, 5.8vw, 32px); }
  .hm-record-volume { font-size: clamp(27px, 6.5vw, 39px); }
  .hm-record-volume strong { font-size: clamp(77px, 19.5vw, 110px); }
  .hm-record-complete { font-size: clamp(35px, 8.8vw, 48px); }
  body.home-main .hm-figures { width: 100%; gap: 12px; margin-top: 36px; }
  .hm-figures > div { padding-top: 8px; }
  .hm-figures dt { font-size: 14px; }
  .hm-figures dd { display: grid; gap: 1px; }
  .hm-figures strong { justify-self: start; font-size: clamp(36px, 9.7vw, 48px); }
  .hm-figures dd > span { font-size: 14px; }
  .hm-record-details { margin-top: 28px; padding-top: 22px; }
  .hm-history-chart { --hm-history-height: clamp(124px, 32vw, 156px); }
  .hm-field { column-gap: 12px; }
  .hm-field > div:nth-child(odd) { padding-right: 0; }
  .hm-field dd { font-size: clamp(16px, 4.2vw, 20px); }
  .hm-record-photo { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 36px 24px; }
  .hm-broadcast-title { font-size: clamp(25px, 6.6vw, 30px); }
  body.home-main .hm-broadcast-story { margin-top: 10px; font-size: 17px; }
  .hm-record-links { column-gap: 14px; }
}

/* AI inspection examples */
#ai-data .hm-analysis-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  grid-template-areas: "heading stage" "steps stage";
  align-items: center;
  gap: 32px clamp(30px, 4vw, 64px);
}
#ai-data .hm-analysis-heading { grid-area: heading; }
#ai-data .analysis-stage {
  grid-area: stage;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background: #081426;
}
#ai-data .analysis-stage img[data-ai-slide] {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
}
#ai-data .analysis-stage img.is-active { opacity: 1; }
#ai-data .analysis-list {
  grid-area: steps;
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
#ai-data button[data-ai-item] {
  display: grid;
  gap: 6px;
  width: 100%;
  min-height: 44px;
  padding: 12px 16px;
  border: 0;
  border-inline-start: 3px solid var(--hm-line);
  background: transparent;
  color: var(--hm-light);
  font: inherit;
  text-align: start;
  cursor: pointer;
}
#ai-data button[data-ai-item][aria-current="true"] {
  border-inline-start-color: var(--hm-accent);
  background: #ffffff0c;
}
#ai-data button[data-ai-item]:focus-visible {
  outline: 2px solid var(--hm-accent);
  outline-offset: 2px;
}
#ai-data button[data-ai-item]:disabled { opacity: 1; cursor: default; }
#ai-data .hm-ai-title {
  font-size: clamp(19px, 1.7vw, 22px);
  font-weight: 700;
  line-height: 1.35;
}
#ai-data .hm-ai-description {
  color: var(--hm-muted);
  font-size: var(--hm-body-size);
  line-height: 1.6;
}
@media (hover: hover) {
  #ai-data button[data-ai-item]:enabled:hover { background: #ffffff12; }
}
@media (prefers-reduced-motion: no-preference) {
  #ai-data .analysis-stage img[data-ai-slide] { transition: opacity .45s ease-in-out; }
}
@media (max-width: 800px) {
  #ai-data .hm-analysis-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "heading" "stage" "steps";
    gap: 24px;
  }
  #ai-data .analysis-stage { aspect-ratio: 6 / 5; border-radius: 10px; }
}

@media (max-width: 1090px) {
  body.home-main .hm-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-service:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .hm-service:first-child > img { height: 100%; min-height: 160px; max-height: 225px; }
}
@media (max-width: 800px) {
  body.home-main .hm-service-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body.home-main .hm-service { display: flow-root; padding: 20px; }
  body.home-main .hm-service:not(:first-child) > img {
    float: right;
    width: clamp(88px, 22vw, 96px);
    height: auto;
    aspect-ratio: 1;
    margin: 0 0 16px 12px;
    border-radius: 5px;
  }
  body.home-main .hm-service:not(:first-child) .hm-service-body { display: contents; }
  body.home-main .hm-service:first-child { display: flex; flex-direction: column; padding: 0; }
  body.home-main .hm-service:first-child > img { height: clamp(130px, 39vw, 190px); min-height: 0; }
  body.home-main .hm-service:first-child .hm-service-body { padding: 20px; }
  body.home-main .hm-service p { margin: 12px 0 16px; font-size: 15px; }
  body.home-main .hm-service a { clear: both; }
}

/* Group booking */
.hm-group {
  background: var(--hm-deep);
}
.hm-reviews-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px 32px;
  flex-wrap: wrap;
}
body.home-main .hm-group-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: end;
  gap: 16px clamp(28px, 5vw, 72px);
}
body.home-main .hm-group-heading .hm-kicker { margin-bottom: 12px; }
body.home-main .hm-group-heading .hm-title {
  font-size: clamp(35px, 3.6vw, 52px);
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.18;
}
body.home-main .hm-group-heading .hm-title span { display: inline-block; }
body.home-main .hm-group-heading .hm-lead {
  margin: 0;
  color: var(--hm-muted);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
}
body.home-main .hm-group-heading .hm-lead strong { display: block; color: var(--hm-accent); font-weight: 680; }
body.home-main .hm-hosts {
  --hm-logo-gap: 52px;
  --hm-logo-scale: 1;
  margin-block: var(--hm-content-space) 24px;
  border-block: 1px solid var(--hm-line);
  border-block-start: 2px solid var(--hm-accent);
}
body.home-main .hm-host-row {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding-block: 16px;
}
.hm-host-row + .hm-host-row { border-top: 1px solid var(--hm-line); }
.hm-host-heading { display: flex; flex-direction: column; align-items: flex-start; }
.hm-host-heading p { color: var(--hm-light); font-size: 14px; line-height: 1.4; font-weight: 650; }
body.home-main .hm-host-heading strong {
  margin-inline-start: 4px;
  color: var(--hm-accent);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 960px) {
  body.home-main .hm-group-heading { grid-template-columns: minmax(0, 1fr); }
}
.hm-host-window { min-width: 0; overflow: hidden; }
.hm-host-set {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px var(--hm-logo-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.hm-host-set[aria-hidden="true"] { display: none; }
.hm-host-set li { flex: none; display: flex; align-items: center; gap: 8px; }
.hm-host-set img { display: block; width: auto; height: calc(var(--hm-logo-height) * var(--hm-logo-scale)); opacity: .82; }
body.home-main .hm-host-set span { color: #d7dee8; font-size: 14px; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .hm-hosts.is-ready .hm-host-track {
    display: flex;
    width: max-content;
    animation: hm-host-scroll 40s linear infinite;
  }
  .hm-hosts.is-ready .hm-host-track .hm-host-set {
    display: flex;
    flex: none;
    flex-wrap: nowrap;
    padding-inline-end: var(--hm-logo-gap);
  }
  .hm-hosts.is-paused .hm-host-track,
  .hm-hosts:focus-within .hm-host-track { animation-play-state: paused; }
}
@media (hover: hover) {
  .hm-hosts:hover .hm-host-track { animation-play-state: paused; }
}
@keyframes hm-host-scroll {
  to { transform: translateX(-50%); }
}
.hm-host-control, .hm-filters button, .hm-rail-controls button {
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
body.home-main .hm-host-control {
  min-height: 44px;
  padding: 6px 0;
  color: #d7dee8;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .hm-host-control { display: none; }
}
.hm-group-tools, .hm-filters, .hm-rail-controls { display: flex; align-items: center; }
body.home-main .hm-group-tools { justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hm-group-tools[hidden], .hm-host-control[hidden], .hm-complex-rail li[hidden] { display: none; }
.hm-filters button {
  min-height: 44px;
  padding: 6px 11px;
  font-size: 14px;
  border-bottom: 2px solid transparent;
}
.hm-filters button[aria-pressed="true"] { font-weight: 700; border-color: var(--hm-accent); }
body.home-main .hm-rail-controls { gap: 8px; }
body.home-main .hm-rail-controls button { width: 44px; height: 44px; border: 1px solid var(--hm-line); }
.hm-rail-controls button:disabled { opacity: .35; cursor: default; }
.hm-group .hm-example-note, .hm-reviews .hm-review-notice {
  font-size: 12px;
  color: var(--hm-muted);
  line-height: 1.5;
}
body.home-main .hm-group .hm-example-note { margin: 16px 0; font-size: 13px; color: #d7dee8; }
body.home-main .hm-complex-rail {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  --hm-complex-gap: 20px;
  grid-auto-columns: minmax(216px, calc((100% - 4 * var(--hm-complex-gap)) / 5));
  gap: var(--hm-complex-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  margin: 0;
  padding: 0 0 4px;
  list-style: none;
}
.hm-complex-rail li { min-width: 0; scroll-snap-align: start; }
.hm-complex-rail article, .hm-complex-rail a { height: 100%; }
.hm-complex-rail a { display: block; border: 1px solid var(--hm-line); background: #122139; color: inherit; }
.hm-complex-rail a:focus-visible { outline-offset: -4px; }
.hm-complex-rail:focus-visible { outline: 2px solid var(--hm-accent); outline-offset: 3px; }
.hm-complex-rail img { display: block; width: 100%; height: auto; aspect-ratio: 3.1; object-fit: cover; }
body.home-main .hm-complex-copy { padding: 20px; }
body.home-main .hm-complex-copy > span { font-size: 14px; }
body.home-main .hm-complex-copy .hm-subtitle { margin: 8px 0; }
body.home-main .hm-complex-copy p { font-size: 14px; color: #d7dee8; margin: 0; white-space: nowrap; }
body.home-main .hm-book-link { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; font-weight: 650; }

/* Business and group booking use light surfaces. */
body.home-main :is(.hm-business, .hm-group) {
  --hm-light: #0a152a;
  --hm-muted: #42526b;
  --hm-line: #d7dee8;
  --hm-accent: #142d5b;
  color: #0a152a;
}
body.home-main :is(.hm-business, .hm-group) .hm-kicker { color: #42526b; }
body.home-main .hm-business .hm-service:first-child { --hm-accent: #fff; }
body.home-main .hm-business .hm-service:not(:first-child) { background: #fff; border: 1px solid #dfe5ee; }
body.home-main .hm-group .hm-host-set img { filter: brightness(0); opacity: .72; }
body.home-main .hm-group :is(.hm-host-set span, .hm-host-control) { color: #42526b; }
body.home-main .hm-group .hm-example-note { color: #536786; }
body.home-main .hm-group .hm-complex-rail a { --hm-accent: #fff; border-color: #122139; color: #fff; }

/* Card controls share a small lift, a cropped image and a directional cue. */
body.home-main .hm-service { position: relative; }
body.home-main .hm-service a::after { content: ""; position: absolute; inset: 0; }
body.home-main .hm-complex-rail { padding-top: 4px; margin-top: -4px; }
body.home-main .hm-complex-rail a { overflow: hidden; }
body.home-main .hm-complex-rail a:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
body.home-main :is(.hm-service > img, .hm-complex-rail img) { transform-origin: center bottom; }
body.home-main .kr-reviews-feature .rd-thumb-card--featured .rd-thumb-copy {
  position: relative;
  min-height: 40px;
  padding-inline-end: 46px;
}
body.home-main .kr-reviews-feature :is(.rd-thumb-card--latest .rd-thumb-media, .rd-thumb-card--featured .rd-thumb-copy)::after {
  content: "↗" / "";
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 3px;
  background: #142d5b;
  color: white;
  font: 600 14px/1 sans-serif;
  opacity: var(--hm-cue, 0);
  pointer-events: none;
}
body.home-main .hm-contact-actions a { position: relative; isolation: isolate; }
body.home-main .hm-contact-actions a::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  opacity: var(--hm-cue, 0);
}
body.home-main .hm-contact-book::before { inset: 0; border-radius: inherit; background: #e3e9f0; }
body.home-main .hm-contact .hm-link::before { inset: auto 0 -1px; height: 1px; background: currentColor; }

body.home-main :is(.hm-service, .hm-complex-rail li, .kr-reviews-feature .rd-card):has(a:focus-visible),
body.home-main :is(.kr-reviews-link, .hm-contact-actions a):focus-visible {
  --hm-lift: -3px;
  --hm-photo-scale: 1.025;
  --hm-arrow-x: 3px;
  --hm-arrow-y: -2px;
  --hm-cue: 1;
}
@media (hover: hover) {
  body.home-main :is(.hm-service, .hm-complex-rail li, .kr-reviews-feature .rd-card, .kr-reviews-link, .hm-contact-actions a):hover {
    --hm-lift: -3px;
    --hm-photo-scale: 1.025;
    --hm-arrow-x: 3px;
    --hm-arrow-y: -2px;
    --hm-cue: 1;
  }
  body.home-main .hm-group .hm-host-set li:hover img { opacity: 1; }
  body.home-main :is(.hm-service a:hover, .hm-complex-rail a:hover .hm-book-link) {
    text-decoration: underline;
    text-underline-offset: .25em;
  }
}
@media (prefers-reduced-motion: no-preference) {
  body.home-main :is(.hm-service, .hm-complex-rail a, .kr-reviews-feature .rd-card) {
    translate: 0 var(--hm-lift, 0px);
    transition: translate .42s cubic-bezier(.2,.75,.25,1);
  }
  body.home-main :is(.hm-service > img, .hm-complex-rail img, .kr-reviews-feature .rd-thumb-image) {
    scale: var(--hm-photo-scale, 1);
    transition: scale .55s cubic-bezier(.2,.75,.25,1);
  }
  body.home-main :is(.hm-service a span, .hm-book-link b, .kr-reviews-link span, .hm-contact-actions a span) {
    translate: var(--hm-arrow-x, 0px) var(--hm-arrow-y, 0px);
    transition: translate .42s cubic-bezier(.2,.75,.25,1);
  }
  body.home-main .hm-contact-book span { --hm-arrow-y: 0px; }
  body.home-main .hm-contact-actions a::before { transition: opacity .42s ease-out; }
  body.home-main .kr-reviews-feature :is(.rd-thumb-card--latest .rd-thumb-media, .rd-thumb-card--featured .rd-thumb-copy)::after {
    translate: var(--hm-arrow-x, 0px) var(--hm-arrow-y, 0px);
    transition: opacity .42s ease-out, translate .42s cubic-bezier(.2,.75,.25,1);
  }
}
@media (hover: none) {
  body.home-main #reviews :is(.rd-thumb-title, .kr-reviews-link) { text-decoration: none; }
}
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  body.home-main :is(.hm-service, .hm-complex-rail a, .kr-reviews-feature .rd-card, .kr-reviews-link, .hm-contact-actions a):active {
    scale: .99;
    transition: scale .12s ease-out;
  }
}

/* Each incoming section paints the transition in its own top padding.
   Reverse the same navy-to-paper stops when entering a dark section. */
body.home-main :is(.hm-business, .hm-records, .hm-analysis, .hm-group, #approved-part1 .journey, #reviews.kr-reviews, .hm-contact) {
  background: linear-gradient(var(--hm-seam-direction, to bottom), var(--hm-seam-stops), var(--hm-seam-paper, #fff))
    top / 100% var(--hm-seam-height) no-repeat var(--hm-surface, #fff);
}
body.home-main .hm-business {
  --hm-surface: #f3f6fa;
  --hm-seam-paper: var(--hm-surface);
}
body.home-main .hm-records {
  --hm-surface: var(--hm-brand);
  --hm-seam-paper: #f3f6fa;
  --hm-seam-direction: to top;
}
body.home-main :is(.hm-analysis, #approved-part1 .journey, .hm-contact) {
  --hm-seam-direction: to top;
  --hm-surface: var(--hm-deep);
}
body.home-main .hm-records + .hm-analysis {
  --hm-seam-stops: var(--hm-deep), #0f2041 50%;
  --hm-seam-paper: var(--hm-brand);
}
body.home-main #approved-part1 .kf-service-heading { background: transparent; }
body.home-main #reviews.kr-reviews { padding-block-end: clamp(44px, 5vw, 80px); }

/* Five-stage inspection journey. */
.home-main .kh-approved { padding-block-end: calc(var(--hm-gap) / 2); background: var(--hm-deep); }
.home-main .kh-approved .journey { color: #fff; background: #0a152a; }
.home-main .kh-approved .kf-service-heading {
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  padding-block-end: 0;
  background: #0a152a;
}
.home-main .kh-approved .kf-service-heading h2 { margin: 0; font-size: var(--hm-h2); font-weight: 680; line-height: 1.22; }
.home-main .kh-approved .kf-service-detail { gap: 8px; }
.home-main .kh-approved .pin {
  padding-block-start: 20px;
  padding-inline: max(var(--khic-gutter), calc((100% - var(--khic-content)) / 2));
  background: var(--hm-deep);
}
.home-main .kh-approved .journey-nav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.home-main .kh-approved .kf-mobile-controls { grid-column: 1 / -1; }
.home-main .kh-approved :is(.repair-copy, .demo-cursor span, .air-meter > span:first-child) { display: none; }
.home-main .kh-approved .compare-labels > span { font-size: 0; }
.home-main .kh-approved .compare-labels b { font-size: 14px; }
.home-main .kh-approved .journey-mobile-hint { display: none; }
@media (min-width: 801px) {
  .home-main .kh-approved .story-layout:has(.consult.active) .story-copy { align-self: start; }
}
@media (min-width: 801px) and (prefers-reduced-motion: no-preference) {
  .home-main #approved-part1 .journey { height: 500svh; }
}
@media (max-width: 800px) and (prefers-reduced-motion: no-preference) {
  body.home-main #journey.kf-scroll-journey {
    height: 500svh;
    --scene-height: clamp(220px, calc(100svh - var(--kf-stack) - 300px), 380px);
  }
  body.home-main #journey.kf-scroll-journey .pin {
    position: sticky;
    top: var(--kf-stack);
    height: calc(100svh - var(--kf-stack));
    min-height: 0;
    padding-block: 8px;
    display: grid;
    grid-template: auto minmax(0, 1fr) auto / minmax(0, 1fr);
    row-gap: 8px;
  }
  body.home-main #journey.kf-scroll-journey .journey-nav { order: -1; margin: 0; padding: 0; }
  body.home-main #journey.kf-scroll-journey .story-layout {
    grid-template: auto minmax(0, 1fr) / minmax(0, 1fr);
    row-gap: 8px;
  }
  body.home-main #journey.kf-scroll-journey .story-copy { min-width: 0; padding: 0; }
  body.home-main #journey.kf-scroll-journey .step-tag { margin: 0; }
  body.home-main #journey.kf-scroll-journey #headline { margin: 5px 0; }
  body.home-main #journey.kf-scroll-journey #description { margin: 0; }
  body.home-main #journey.kf-scroll-journey .context-controls { min-height: 0; margin-top: 6px; }
  body.home-main #journey.kf-scroll-journey .visual-stage {
    height: min(100%, var(--scene-height));
    min-width: 0;
    align-self: center;
    container-type: size;
    touch-action: pan-y pinch-zoom;
  }
  /* Fit the artwork to the actual scene box, including the report's zoom button. */
  body.home-main #journey.kf-scroll-journey .scene { max-width: 150cqh; margin-inline: auto; }
  body.home-main #journey.kf-scroll-journey .icon-button { max-width: 50%; }
  body.home-main #journey.kf-scroll-journey .contact-sprite { max-width: 100%; max-height: 72cqh; }
  body.home-main #journey.kf-scroll-journey .mode-tabs,
  body.home-main #journey.kf-scroll-journey .team-status { bottom: 0; }
  body.home-main #journey.kf-scroll-journey .report-generated,
  body.home-main #journey.kf-scroll-journey .booking-success,
  body.home-main #journey.kf-scroll-journey .compare-labels { top: 0; }
  body.home-main #journey.kf-scroll-journey .repair-house { touch-action: pan-y pinch-zoom; user-select: none; cursor: ew-resize; }
  body.home-main #journey.kf-scroll-journey .repair-house > * { pointer-events: none; }
  body.home-main #journey.kf-scroll-journey .stage-footer { justify-content: center; margin: 0; font-size: 12px; line-height: 1.4; }
  body.home-main #journey.kf-scroll-journey .stage-footer > :not(.journey-mobile-hint),
  body.home-main #journey.kf-scroll-journey .kf-mobile-controls { display: none; }
  body.home-main #journey.kf-scroll-journey .journey-mobile-hint { display: block; }
  body.home-main #journey.kf-scroll-journey .pin:has(.journey-nav button:last-child[aria-current]) .journey-mobile-hint { visibility: hidden; }

  @container (max-height: 280px) {
    body.home-main #journey.kf-scroll-journey .devices .desktop { scale: .86; }
    body.home-main #journey.kf-scroll-journey .devices .phone { scale: .82; transform-origin: bottom right; }
  }
}
@media (max-width: 800px) and (prefers-reduced-motion: no-preference) and (orientation: landscape) and (max-height: 550px) {
  body.home-main #journey.kf-scroll-journey .story-layout { grid-template: minmax(0, 1fr) / minmax(0, 1fr) minmax(0, 1fr); column-gap: 12px; }
  body.home-main #journey.kf-scroll-journey .visual-stage { height: min(100%, 380px); }
}
@media (scripting: none) {
  .home-main #approved-part1 .journey { height: auto; }
  .home-main #approved-part1 .pin { position: static; height: auto; min-height: 0; }
  body.home-main #approved-part1 .pin :is(.journey-nav, .visual-stage, .scroll-hint, .stage-footer) { display: none; }
  body.home-main #approved-part1 .pin .context-controls { display: block; position: static; }
  .home-main #approved-part1 .story-layout { display: block; }
}

/* Review summary and the two kinds of field report. */
.hm-reviews { background: linear-gradient(#0e2350, #0a152a 48%); }
.hm-review-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.hm-review-grid article {
  min-width: 0;
  padding: 18px 20px;
  border-top: 1px solid var(--hm-line);
  background: #13243b;
}
.hm-review-grid .hm-subtitle { margin: 0; }
.hm-review-grid dl, .hm-review-grid article p { margin: 12px 0 0; }
.hm-review-grid article p { color: var(--hm-muted); }
.hm-review-grid dl > div { display: flex; justify-content: space-between; gap: 8px; }
.hm-review-grid dd { margin: 0; }
.hm-reviews .hm-review-notice { margin: 10px 0 0; }

@media (max-width: 800px) {
  body.home-main .hm-hosts { --hm-logo-gap: 32px; --hm-logo-scale: .8; }
  body.home-main .hm-host-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body.home-main .hm-complex-rail { --hm-complex-gap: 16px; }
  body.home-main .hm-host-set span { font-size: 13px; }
  .hm-host-heading { flex-direction: row; align-items: center; justify-content: space-between; }
  .hm-host-heading p { font-size: 13px; }
  .home-main .kh-approved .journey-nav { gap: 5px; margin-bottom: 12px; }
  .home-main .kh-approved .journey-nav button {
    min-height: 44px;
    padding: 8px 0 0;
    align-self: start;
    color: #d7dee8;
    font-size: 12px;
    line-height: 1.35;
    text-align: left;
    word-break: keep-all;
  }
  .home-main .kh-approved .journey-nav button[aria-current] { color: white; }
  .home-main .kh-approved .journey-nav button span {
    display: block;
    margin: 0 0 4px;
    color: #8d9bb0;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
  }
}
@media (max-width: 580px) {
  .hm-filters button { padding-inline: clamp(5px, 1.8vw, 10px); }
  body.home-main .hm-complex-rail { grid-auto-columns: min(72vw, 280px); }
  .hm-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .hm-review-grid article { padding: 14px; }
  .hm-review-summary { grid-column: 1 / -1; }
}

.home-main :is(#report-paper, #large-report) > img { display: block; width: 100%; height: auto; }
/* The plan's 1000-unit viewBox scales with the house. Keep its readings near 14 screen pixels. */
body.home-main #journey .inspect-house { container-type: inline-size; }
body.home-main #journey .inspect-house[data-mode="3"] .air-meter { z-index: 5; }
body.home-main #journey .scan-svg .level-overlay text {
  font-size: max(18px, calc(49px - 4.3cqw), calc(76px - 10.5cqw), calc(131px - 29cqw));
  paint-order: stroke;
  stroke: #15283e;
  stroke-width: 3px;
}
body.home-main #journey .level-overlay text:nth-of-type(odd) { text-anchor: end; }
body.home-main #journey .level-overlay text:first-of-type { transform: translateY(-16px); }
body.home-main #journey .inspect-house[data-mode="2"] .dot-2 b {
  top: 50%;
  right: calc(100% + 6px);
  left: auto;
  transform: translateY(-50%);
}
body.home-main #journey .inspect-scene .measurement-caption { top: 0; bottom: auto; }

body.home-main #journey .record-chip {
  background: #263d5b;
  color: #f2f6fc;
  font-size: 13px;
  line-height: 1.4;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
  /* Keep labels legible and use the pressed report button for the border, overriding the inline colors. */
  opacity: 1 !important;
  border-color: var(--hm-chip-border, var(--hm-line)) !important;
}
#journey:has([data-report="0"][aria-pressed="true"]) .record-chip:nth-child(1 of .record-chip),
#journey:has([data-report="1"][aria-pressed="true"]) .record-chip:nth-child(2 of .record-chip),
#journey:has([data-report="2"][aria-pressed="true"]) .record-chip:nth-child(3 of .record-chip),
#journey:has([data-report="3"][aria-pressed="true"]) .record-chip:nth-child(4 of .record-chip) { --hm-chip-border: var(--hm-accent); }
body.home-main #journey .record-chip span { min-width: 0; color: inherit; font-size: inherit; }
body.home-main #journey .paper-stack { width: 52%; right: 2%; }

@media (min-width: 801px) {
  body.home-main #journey .report-scene {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    /* Allow for the moving chip and the rotated sheets behind the report. */
    column-gap: 96px;
    padding-inline: 48px 2%;
  }
  body.home-main #journey .report-input { grid-area: 1 / 1 / -1 / 2; position: static; width: auto; transform: none; }
  body.home-main #journey .paper-stack {
    grid-area: 2 / 2;
    position: relative;
    inset: auto;
    justify-self: start;
    width: 100%;
    transform: none;
  }
  body.home-main #journey .report-generated {
    grid-area: 1 / 2;
    position: static;
    place-self: end start;
    margin-bottom: 12px;
  }
}
@media (min-width: 801px) and (prefers-reduced-motion: reduce) {
  body.home-main #journey .pin:has(.report-scene.active) {
    height: auto;
    min-height: min(1200px, calc(100svh - var(--kf-stack)));
    max-height: none;
  }
  body.home-main #journey .visual-stage:has(> .report-scene.active) {
    display: grid;
    align-self: stretch;
    height: auto;
  }
  body.home-main #journey .report-scene.active {
    position: relative;
    /* Let the label size the top row and reserve room below the paper for its zoom button. */
    grid-template-rows: minmax(max-content, 1fr) auto minmax(38px, 1fr);
  }
}

/* The section heading scrolls out before the five-step pin takes over. */
body.home-main #approved-part1 { padding-block-end: clamp(36px, 4vw, 64px); }
body.home-main #journey .kf-service-heading { padding-block: var(--hm-seam-inset) 0; }
body.home-main #journey .kf-service-heading h2 { letter-spacing: -.015em; line-height: 1.3; }
body.home-main #journey .kf-service-detail { min-height: 44px; }
body.home-main #journey #headline {
  margin: 0 0 20px;
  line-height: 1.3;
  letter-spacing: -.02em;
  text-wrap: balance;
}
body.home-main #journey #description {
  max-width: 34em;
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0;
  color: #d7dee8;
  text-wrap: pretty;
}
body.home-main #journey .step-tag { margin-bottom: 16px; }
body.home-main #journey .context-controls a.primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 46px;
  background: #fff;
  color: #142d5b;
  text-decoration: none;
}
body.home-main #journey .context-controls a.primary span { margin: 0; }
body.home-main #journey .context-controls a.primary:hover { background: #e9edf3; }
body.home-main #journey :is(a, button):focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
body.home-main #journey .desktop small { color: #4d5e75; }
body.home-main #journey .booking-success p { color: #4d5e75; }
body.home-main #journey :is(.journey-nav button, .scroll-hint, .stage-footer) { color: #d7dee8; }
body.home-main #journey .journey-nav button { min-height: 44px; }
body.home-main #journey .journey-nav button[aria-current] { color: #fff; }
body.home-main #journey :is(.journey-nav button span, .stage-footer, .scroll-hint) { font-size: 14px; }
body.home-main #journey :is(.step-tag, .small-info, .mode-summary, .journey-nav, .stage-footer) { letter-spacing: 0; }

/* Exit first, then enter. The same timing applies when going back from 05 to 04. */
body.home-main #journey :is(.report-scene, .repair-scene) {
  transition: opacity .15s ease-out, visibility 0s linear .15s;
}
body.home-main #journey :is(.report-scene, .repair-scene).active {
  transition: opacity .2s ease-in .15s, visibility 0s linear .15s;
}

/* Only the images and defect marks are clipped. The stage and floor stay still. */
body.home-main #journey .repair-scene {
  --repair-rule: #73b9ff;
  --repair-handle: #b7dbff;
  --repair-floor: radial-gradient(ellipse closest-side, #3486ff55, transparent);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  container: repair-stage / size;
  background: radial-gradient(ellipse closest-side at 50% 46%, rgb(95 134 201 / .3), transparent);
}
body.home-main #journey .repair-house {
  position: relative;
  inset: auto;
  place-self: center;
  width: auto;
  height: 100%;
  max-width: calc(100% - 18px);
  max-height: calc(66.666cqw - 12px);
  aspect-ratio: 1.5;
  transform: none;
}
body.home-main #journey .repair-house::before {
  content: "";
  position: absolute;
  inset: 70% 12% 2%;
  background: var(--repair-floor);
  pointer-events: none;
}
body.home-main #journey :is(.repair-before, .repair-after) { background: transparent; }
body.home-main #journey .repair-before { clip-path: inset(0 0 0 var(--reveal)); }
body.home-main #journey .repair-after { clip-path: inset(0 calc(100% - var(--reveal)) 0 0); }
body.home-main #journey .repair-line {
  top: 19%;
  bottom: 15%;
  background: linear-gradient(transparent, var(--repair-rule) 15% 85%, transparent);
  filter: drop-shadow(0 0 3px #368cff99);
}
body.home-main #journey .repair-line > span {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--repair-handle);
  color: #10264b;
}
body.home-main #journey :is(.compare-labels, .repair-status, .repair-caption) { position: static; }
body.home-main #journey .compare-labels { padding-inline: 6px; }
body.home-main #journey .compare-labels b { margin: 0; color: #eaf2ff; font-size: 14px; line-height: 1.45; }
body.home-main #journey .repair-mark {
  max-width: 42%;
  padding: 4px 8px;
  border: 1px solid #edaf94;
  background: #4a2926;
  box-shadow: none;
  color: #fff5ee;
  font-size: 12px;
  line-height: 1.4;
  translate: -50% -50%;
}
body.home-main #journey .repair-mark b { margin: 0; color: #ffe1ce; font-size: 12px; }
body.home-main #journey .repair-status { flex-wrap: wrap; gap: 6px; }
body.home-main #journey .repair-status > span {
  padding: 4px 9px;
  border-color: #8d9bb0;
  background: #101e33;
  color: #d7dee8;
  opacity: 1;
  font-size: 12px;
  line-height: 1.4;
}
body.home-main #journey .repair-status > span.done { background: #204c40; color: #effff8; border-color: #85c3aa; }
body.home-main #journey .repair-caption { gap: 4px; color: #edf4ff; }
body.home-main #journey .repair-caption > strong:empty { display: none; }
body.home-main #journey .repair-caption > span { max-width: none; color: #d7dee8; font-size: 13px; line-height: 1.5; }

@media (max-width: 800px) {
  body.home-main #journey .journey-nav { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  /* Each button retains its full accessible name. The step tag below names the current step. */
  body.home-main #journey .journey-nav button { padding: 0; font-size: 0; line-height: 0; text-align: center; }
  body.home-main #journey .journey-nav button span { display: block; margin: 0; font-size: 14px; line-height: 1.4; color: inherit; }
  body.home-main #journey .step-tag,
  body.home-main #journey.kf-scroll-journey .step-tag { margin: 0 0 14px; }
  body.home-main #journey #headline,
  body.home-main #journey.kf-scroll-journey #headline { margin: 0 0 16px; }
  body.home-main #journey #description { font-size: 16px; }
  body.home-main #journey :is(.step-tag, .step-tag > span, .stage-footer, .kf-mobile-controls [data-mobile-count], .small-info, .small-info b, .mode-summary) { font-size: 13px; }
  body.home-main #journey.kf-scroll-journey .stage-footer { font-size: 13px; }
  body.home-main #journey .kf-mobile-controls p { font-size: 13px !important; }
  body.home-main #journey :is(.primary, .reserve, .paper-zoom, .report-buttons button, .mode-tabs button, .icon-button, .kf-loupe-toggle, .kf-mobile-controls button) {
    min-height: 44px;
    font-size: 13px;
    line-height: 1.35;
  }

  body.home-main #journey .visual-stage { container: journey-visual / size; }
  body.home-main #journey.kf-scroll-journey :is(.scene.repair-scene, .scene.report-scene, .scene.consult) { max-width: none; }
  body.home-main #journey .repair-scene {
    height: fit-content;
    max-height: 100%;
    margin-block: auto;
    grid-template-rows: auto minmax(0, 66.6667cqw) auto auto;
    gap: 6px;
    padding: 6px 0;
    container-type: inline-size;
  }
  body.home-main #journey .repair-mark { padding: 2px 5px; }
  body.home-main #journey .repair-mark:first-child { width: max-content; max-width: none; white-space: nowrap; }
  body.home-main #journey .repair-mark:first-child > b { display: inline; margin-inline-end: 4px; }
  body.home-main #journey .repair-status { gap: 4px; }
  body.home-main #journey .repair-status > span { padding: 2px 5px; }

  body.home-main #journey :is(.booking-row, .time-slots span, .desktop small, .phone-head, .phone-head span, .bubble, .booking-success small, .booking-success p,
    .team-person label, .team-status, .arrival-pin, .defect-dot b, .measurement-caption small, .measurement-caption > span, .air-meter dt, .air-meter dd small,
    .report-generated, .case-date, .case-defect small, .case-defect > span, .case-tags > span, .case-paper p, .legal-note) { font-size: 11px; }
  body.home-main #journey :is(.browser-bar span, .phone-input, .record-chip b, .case-heading, .legal-connection, .air-meter > small) { display: none; }
  body.home-main #journey .devices { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 6px; }
  body.home-main #journey .devices .desktop { width: 100%; max-width: none; transform: none; }
  body.home-main #journey .devices .phone { position: relative; inset: auto; width: 100%; max-width: 140px; height: auto; padding-bottom: 6px; transform: none; }
  body.home-main #journey.kf-scroll-journey .devices :is(.desktop, .phone) { scale: 1; }
  body.home-main #journey .desktop-body { padding: 5px 8px; }
  body.home-main #journey .desktop h3 { font-size: 14px; line-height: 1.3; letter-spacing: -.01em; }
  body.home-main #journey .booking-row { flex-wrap: wrap; gap: 2px 4px; padding-block: 3px; }
  body.home-main #journey .time-slots { gap: 3px; margin-block: 5px; }
  body.home-main #journey .time-slots span { padding: 3px; }
  body.home-main #journey .bubble { padding: 4px; margin-block-end: 4px; }
  body.home-main #journey .chat { padding: 4px; }
  body.home-main #journey .booking-success { left: 50%; width: max-content; max-width: 100%; translate: -50% 0; }

  body.home-main #journey .defect-dot { font-size: 13px; }
  body.home-main #journey .defect-dot::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 44px; height: 44px; translate: -50% -50%; }
  body.home-main #journey.kf-scroll-journey .visual-stage:has(> .inspect-scene.active),
  body.home-main #journey.kf-scroll-journey .visual-stage:has(> .repair-scene.active) {
    align-self: stretch;
    height: 100%;
  }
  body.home-main #journey.kf-scroll-journey .scene.inspect-scene {
    display: grid;
    max-width: none;
    grid-template-columns: minmax(0, 1fr) 88px;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 6px;
  }
  body.home-main #journey .inspect-scene .measurement-caption {
    position: static;
    grid-area: 1 / 1 / 2 / -1;
    justify-self: start;
    max-width: 100%;
  }
  body.home-main #journey .inspect-house {
    position: relative;
    inset: auto;
    grid-area: 2 / 1 / 3 / -1;
    place-self: center;
    width: auto;
    height: min(100%, 66.6667cqw);
    min-width: 0;
    min-height: 0;
    transform: none;
  }
  body.home-main #journey .inspect-scene .mode-tabs { position: static; grid-area: 3 / 1; justify-self: start; gap: 4px; }
  body.home-main #journey .inspect-scene .kf-loupe-toggle { position: static; grid-area: 3 / 2; justify-self: end; }
  body.home-main #journey .mode-tabs button { padding: 4px 6px; }
  body.home-main #journey .mode-tabs button > span { display: none; }
  body.home-main #journey .scan-svg .heat-overlay text { font-size: 46px; paint-order: stroke; stroke: #15283e; stroke-width: 4px; }
  body.home-main #journey .inspect-house[data-mode="3"] {
    /* Keep the same intrinsic size while letting the meter query the stage width. */
    contain: inline-size;
    container-type: normal;
  }
  body.home-main #journey .inspect-house:not([data-mode="3"]) .air-meter { display: none; }
  body.home-main #journey .inspect-house[data-mode="3"] .air-meter {
    /* Each side has half the difference between the stage and model widths. */
    inset: 0 clamp(-112px, calc((100% - 100cqw) / 2), 0px) auto auto;
    width: 124px;
    padding: 2px 4px;
    border-width: 1px;
    border-radius: 6px;
    box-shadow: none;
  }
  body.home-main #journey .air-meter > strong { margin: 0 0 3px; font-size: 14px; line-height: 1.3; }
  body.home-main #journey .air-meter dl { margin: 0; }
  body.home-main #journey .air-meter dl > div { align-items: baseline; gap: 3px; padding: 0; line-height: 1.15; }
  body.home-main #journey .air-meter dd { font-size: 16px; letter-spacing: 0; white-space: nowrap; }
  body.home-main #journey .air-meter dd small { margin-left: 3px; }
  body.home-main #journey .report-input { top: 50%; width: 40%; gap: 5px; }
  body.home-main #journey .context-controls:has(> .report-buttons) { margin-top: 16px; }
  body.home-main #journey.kf-scroll-journey .report-buttons {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    max-width: none;
  }
  body.home-main #journey.kf-scroll-journey .report-buttons button { min-height: 44px; padding: 4px; text-align: center; }
  body.home-main #journey .report-scene .report-generated {
    top: 0;
    right: 2%;
    left: auto;
    max-width: 52%;
    text-align: center;
  }
  body.home-main #journey .record-chip {
    padding: 4px 6px;
    font-size: 12px;
    border-inline-start-width: 4px;
    /* The controller slides the chip 35px toward the paper. Keep it inside its column. */
    translate: none !important;
  }
  body.home-main #journey.kf-scroll-journey .paper-stack { width: min(52%, calc((100cqh - 90px) * .7)); }
  body.home-main #journey .paper-zoom {
    bottom: -44px;
    left: auto;
    right: 0;
    min-width: max-content;
    white-space: nowrap;
    padding: 2px;
  }
  body.home-main #journey .case-paper :is(h4, a) { font-size: 13px; }
  body.home-main #journey .story-layout:has(.repair-scene.active) { row-gap: 8px; }
  body.home-main #journey .story-copy:has(.repair-copy) { padding-bottom: 0; }
  body.home-main #journey .context-controls:has(> .repair-copy) { display: none; }
  body.home-main #journey .story-layout:has(.repair-scene.active) > .kf-mobile-controls { margin-top: 0; }
  body.home-main #journey .repair-house { max-width: 100%; max-height: none; min-height: 0; }
}
@media (max-width: 800px) and (max-height: 700px) {
  body.home-main #journey .measurement-caption > small,
  body.home-main #journey .air-meter > strong { display: none; }
  body.home-main #journey .mode-summary { display: flex; align-items: baseline; gap: 8px; }
}
@media (max-width: 800px) and (min-height: 701px) {
  /* Each adjacent grid gap adds 8px to the 20px reserved inside the stage. */
  body.home-main #journey .repair-scene { max-height: calc(100% - 40px); }
}
@container journey-visual (max-height: 260px) {
  body.home-main #journey .repair-scene { grid-template-rows: minmax(0, 66.6667cqw) auto auto; }
  body.home-main #journey :is(.compare-labels, .repair-house) { grid-area: 1 / 1; }
  body.home-main #journey .compare-labels { align-self: start; z-index: 1; pointer-events: none; }
  body.home-main #journey .devices { display: flex; }
  body.home-main #journey .devices .desktop { max-width: 240px; }
  body.home-main #journey :is(.devices .phone, .devices .mini-logo, .devices .time-slots, .repair-mark b) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.home-main #journey :is(.report-scene, .repair-scene) { transition: none; }
}

/* The final figure reserves its width and supplies the accessible reading. */
body.home-main .hm-count-slot {
  display: inline-grid;
  vertical-align: baseline;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
body.home-main .hm-count-slot > span {
  grid-area: 1 / 1;
  text-align: end;
}
body.home-main .hm-count-final { opacity: 0; pointer-events: none; user-select: none; }

@media screen and (prefers-reduced-motion: no-preference) {
  body.home-main.hm-motion [data-hm-reveal].hm-pending:not([data-hm-reveal="chart"]) { opacity: 0; }
  body.home-main.hm-motion [data-hm-reveal].hm-entered:not([data-hm-reveal="chart"]) {
    animation: hm-content-enter 620ms cubic-bezier(.2, .7, .25, 1) var(--hm-delay, 0ms) backwards;
  }
  body.home-main.hm-motion .hm-kicker[data-hm-reveal]::before { transform-origin: left center; }
  body.home-main.hm-motion .hm-kicker.hm-pending::before { transform: scaleX(0); }
  body.home-main.hm-motion .hm-kicker.hm-entered::before {
    animation: hm-kicker-draw 560ms cubic-bezier(.2, .7, .25, 1) backwards;
  }
}
@keyframes hm-content-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hm-kicker-draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Native disclosures keep all six years usable without a script. */
body.home-main .hm-history-detail {
  position: absolute;
  z-index: 1;
  inset: 0;
}
body.home-main .hm-history-detail[open] { z-index: 2; }
body.home-main .hm-history-detail summary {
  display: block;
  height: 100%;
  cursor: pointer;
  list-style: none;
}
body.home-main .hm-history-detail summary::-webkit-details-marker { display: none; }
body.home-main .hm-history-detail summary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 1px;
}
body.home-main .hm-history-tip {
  position: absolute;
  left: 50%;
  top: calc(100% + 4px);
  transform: translateX(-50%);
  width: max-content;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--hm-deep);
  color: white;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
body.home-main .hm-history-chart li:nth-child(-n+2) .hm-history-tip {
  left: 0;
  transform: none;
}
body.home-main .hm-history-chart li:nth-last-child(-n+2) .hm-history-tip {
  left: auto;
  right: 0;
  transform: none;
}
body.home-main .hm-history-chart ol:has(details[open]) li:not(:has(details[open]))::after { opacity: .58; }
@media (prefers-reduced-motion: no-preference) {
  body.home-main.hm-motion .hm-history-chart .hm-pending li::after { transform: scaleY(0); }
  body.home-main.hm-motion .hm-history-chart .hm-pending .hm-history-value {
    opacity: 0;
    transform: translateY(calc(var(--hm-history-height) * var(--hm-history-share)));
  }
  body.home-main.hm-motion .hm-history-chart .hm-entered li::after,
  body.home-main.hm-motion .hm-history-chart .hm-entered .hm-history-value {
    transition: transform .68s cubic-bezier(.18,.72,.26,1) var(--hm-bar-delay),
      opacity .45s ease-out var(--hm-bar-delay);
  }
  body.home-main.hm-motion .hm-broadcast-frame.hm-pending img { transform: scale(1.018); }
  body.home-main.hm-motion .hm-broadcast-frame.hm-entered img {
    transition: transform .9s cubic-bezier(.22,.7,.26,1);
  }
}
@media (forced-colors: active) {
  .hm-record-backdrop { display: none; }
  body.home-main .hm-history-chart li::after { background: CanvasText; forced-color-adjust: none; }
  body.home-main .hm-history-chart li:last-child::after,
  body.home-main .hm-history-chart li:has(details[open])::after { background: Highlight; }
  body.home-main .hm-history-tip { border-color: CanvasText; }
}

/* 공동구매 진행 단지 카드 (사진 없이 남색 카드, 2026 실제 목록) */
body.home-main .hm-complex-rail .hm-complex-card {
  display: flex;
  height: 100%;
  border: 1px solid #122139;
  border-top: 3px solid #5f86c9;
  background: #122139;
  color: #fff;
}
body.home-main .hm-complex-card .hm-complex-copy { display: flex; flex-direction: column; width: 100%; }
body.home-main .hm-complex-card .hm-subtitle { word-break: keep-all; overflow-wrap: anywhere; }
body.home-main .hm-complex-count {
  margin-top: auto;
  padding-top: 16px;
  font-size: 15px;
  font-weight: 650;
  color: #fff;
}

/* 공동구매 지역 탭: 시·도별 15개. 탭 줄만 옆으로 밀린다 */
body.home-main .hm-group-tools { flex-wrap: nowrap; }
body.home-main .hm-filters {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
body.home-main .hm-filters::-webkit-scrollbar { display: none; }
body.home-main .hm-filters button { flex: none; white-space: nowrap; }
body.home-main .hm-rail-controls { flex: none; }
/* 카드 뒤 아파트 전경(장식용 생성 이미지, 단지와 무관하게 돌려 씀) + 남색 반투명 */
body.home-main .hm-complex-rail .hm-complex-card { position: relative; isolation: isolate; overflow: hidden; }
body.home-main .hm-complex-rail .hm-complex-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  opacity: .9;
}
body.home-main .hm-complex-rail .hm-complex-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(14 28 52 / .62) 0%, rgb(14 28 52 / .5) 40%, rgb(14 28 52 / .9) 100%);
}
body.home-main .hm-complex-card .hm-complex-copy { min-height: 230px; }
