/* Shared local sans policy. Serif display titles keep their component fonts.
 * Component sizes, weights, line heights, colors and spacing remain local.
 */
/* Font face supplied by home loading subset declarations. */

body.vf-font-rendering {
  --font-sans: var(--vf-font-sans);
  font-family: var(--vf-font-sans);
  font-optical-sizing: auto;
}

body.vf-font-rendering,
body.vf-font-rendering :where(button, input, select, textarea) {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.vf-font-rendering .v2-hero-shell {
  --font-sans: var(--vf-font-sans);
}

body.vf-font-rendering :is(.serim-site-header, .vfr-site-nav)[data-vfr-surface="full-width"] {
  --vfr-font-sans: "VFR UCity Pro", "VFR Pretendard Variable", Pretendard, "Apple SD Gothic Neo", Arial, sans-serif;
  --vfr-font-nav: "VFR UCity Pro", "VFR Pretendard Variable", Pretendard, "Apple SD Gothic Neo", Arial, sans-serif;
}

body.vf-font-rendering :is(.serim-site-header, .vfr-site-nav)[data-vfr-surface="full-width"],
body.vf-font-rendering :is(.serim-site-header, .vfr-site-nav)[data-vfr-surface="full-width"] * {
  font-family: var(--vfr-font-nav);
}

body.vf-font-rendering :is(.vf-section-label, .serim-section-header__label, .serim-hero-intro-lg__label),
body.vf-font-rendering.serim-shared-header .vfr-language-menu,
body.vf-font-rendering :is(.serim-body-lg, .vf-body-lg, .vf-body-longform, .vfds-toast, .serim-section-header__description) {
  font-family: var(--vf-font-sans);
  text-wrap: balance;
}

/* UCity's visual center sits slightly below its line box center. Move only the
 * CTA glyphs; the language label uses its own font's alignment. */
body.vf-font-rendering .vfr-nav-cta > .vfr-nav-cta-label,
body.vf-font-rendering .thx-contact-cta > .thx-contact-label {
  position: relative;
  inset-block-start: -0.5px;
}

body.vf-font-rendering :is(.serim-site-header, .vfr-site-nav)[data-vfr-surface="full-width"] .vfr-language-switcher--flag .vfr-language-label {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 550;
}

@media (min-width: 832px) {
  body.vf-font-rendering :is(.serim-site-header, .vfr-site-nav)[data-vfr-surface="full-width"] .vfr-language-switcher--flag .vfr-language-label,
  body.vf-font-rendering :is(.serim-site-header, .vfr-site-nav)[data-vfr-surface="full-width"] .vfr-nav-cta-label {
    font-size: 13px;
  }
}

body.vf-font-rendering :is(.serim-site-header, .vfr-site-nav)[data-vfr-surface="full-width"] .vfr-language-switcher--flag :is(.vfr-language-label, .vfr-link-chevron) {
  color: var(--serim-text-muted);
}

/* Reserve the final control sizes while local fonts load. */
body.vf-font-rendering :is(.serim-site-header, .vfr-site-nav)[data-vfr-surface="full-width"] .vfr-nav-cta,
body.vf-font-rendering :is(.serim-site-header, .vfr-site-nav)[data-vfr-surface="full-width"] .vfr-language-switcher--flag .vfr-language-button {
  block-size: 34px;
}

/* Auth buttons share compact dimensions; separate mobile controls keep theirs. */
body.vf-font-rendering :is(.serim-site-header, .vfr-site-nav)[data-vfr-surface="full-width"] .vfr-nav-auth :is(.vfr-language-button, .vfr-nav-cta) {
  block-size: 34px;
  font-size: 13px;
  font-weight: 550;
}

body.vf-font-rendering :is(.serim-site-header, .vfr-site-nav)[data-vfr-surface="full-width"] .vfr-nav-auth :is(.vfr-language-label, .vfr-nav-cta-label) {
  font-size: inherit;
  font-weight: inherit;
}

body.vf-font-rendering :is(.serim-site-header, .vfr-site-nav)[data-vfr-surface="full-width"] .vfr-language-switcher--flag .vfr-language-button {
  inline-size: 84px;
  flex: none;
  justify-content: center;
  padding-inline: 8px;
  gap: 5px;
}

@media (max-width: 831px) {
  body.vf-font-rendering :is(.serim-site-header, .vfr-site-nav)[data-vfr-surface="full-width"] .vfr-language-switcher--flag .vfr-language-button {
    align-items: center;
    font-size: 12px;
    flex: none;
    justify-content: center;
    padding-inline: 8px;
    gap: 4px;
  }
}

body.vf-font-rendering .serim-footer {
  --serim-footer-font-sans: var(--vf-font-sans);
  --serim-footer-font-mono: var(--vf-font-sans);
}


/* Shared home-page editorial typography for Korean and English. */
body.home-page .v2-hero-shell #hero-title,
body.home-page .vf-section-heading,
body.home-page .serim-section-header__title {
  font-family: "Chiron Sung HK Home", "Noto Serif CJK KR", "Nanum Myeongjo", serif;
  font-weight: 500;
  font-variation-settings: "wght" 500;
  font-synthesis: none;
}

@media (max-width: 767px) {
  html[lang="ko"] body.home-page .v2-hero-shell #hero-title,
  html[lang="ko"] body.home-page .vf-section-heading,
  html[lang="ko"] body.home-page .serim-section-header__title {
    letter-spacing: -0.055em;
    font-weight: 550;
    font-variation-settings: "wght" 550;
  }
}

@media (min-width: 768px) {
  html[lang="ko"] body.home-page .v2-hero-shell .thx-lock #hero-title {
    /* Keep full-desktop tracking throughout the desktop responsive range. */
    letter-spacing: -0.08em;
  }
}

@media (min-width: 992px), (max-width: 767px) {
  html[lang="ko"] body.home-page .v2-hero-shell .thx-lock #hero-title {
    letter-spacing: -0.08em;
    font-weight: var(--serim-desktop-hero-title-weight, 500);
    font-variation-settings: "wght" var(--serim-desktop-hero-title-weight, 500);
    line-height: 1.15;
  }
}


/* Single-film layout based on the supplied square-media editorial reference. */
.serim-intro-video {
  padding: 64px 24px;
  color: var(--serim-text-primary);
  background: #fff;
}

.serim-intro-video__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 960px;
  margin-inline: auto;
}

.serim-intro-video__poster {
  position: relative;
  display: block;
  flex: 1;
  min-width: 0;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 16px;
  background: #e8e6e3;
  color: var(--serim-text-primary);
  -webkit-tap-highlight-color: transparent;
}

.serim-intro-video__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 400ms cubic-bezier(.19, 1, .22, 1);
}

.serim-intro-video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: auto;
  border: 1px solid rgb(255 255 255 / 50%);
  border-radius: 50%;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 4px 24px rgb(0 0 0 / 12%);
  transition: transform 250ms cubic-bezier(.19, 1, .22, 1), background-color 250ms;
}

.serim-intro-video__play svg {
  width: 20px;
  height: 20px;
  margin-left: 3px;
}

.serim-intro-video__poster:focus-visible {
  outline: 3px solid var(--serim-text-primary);
  outline-offset: 6px;
}

@media (hover: hover) {
  .serim-intro-video__poster:hover img {
    transform: scale(1.025);
  }

  .serim-intro-video__poster:hover .serim-intro-video__play {
    transform: scale(1.08);
    background: #fff;
  }
}

.serim-intro-video__poster:active .serim-intro-video__play {
  transform: scale(.95);
}

.serim-intro-video__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

body.home-page .serim-intro-video .serim-intro-video__title {
  margin: 0;
  line-height: 1.15;
  text-align: left;
  text-wrap: initial;
}

.serim-intro-video__description {
  margin: 0;
  color: var(--serim-text-muted-test);
  font-family: var(--vf-font-sans, "UCity Pro", "Pretendard Variable", sans-serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: break-word;
}

@media (min-width: 768px) {
  .serim-intro-video {
    padding-block: 96px;
  }

  .serim-intro-video__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .serim-intro-video__poster {
    max-width: 527px;
  }

  .serim-intro-video__copy {
    max-width: 370px;
    gap: 24px;
  }

  body.home-page .serim-intro-video .serim-intro-video__title {
    line-height: 1.05;
  }

  html[lang="ko"] body.home-page .serim-intro-video .serim-intro-video__title {
    letter-spacing: var(--serim-section-header-title-letter-spacing, -0.03em);
  }

  .serim-intro-video__description {
    font-size: 15px;
  }
}

.serim-intro-video-dialog {
  width: min(1120px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 16px;
  background: #191818;
  color: #fff;
  box-shadow: 0 24px 100px rgb(0 0 0 / 30%);
}

.serim-intro-video-dialog:not([open]) {
  display: none;
}

.serim-intro-video-dialog::backdrop {
  background: rgb(0 0 0 / 72%);
}

.serim-intro-video-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
}

.serim-intro-video-dialog__title {
  margin: 0;
  font-family: var(--vf-font-sans, sans-serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.serim-intro-video-dialog__close {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 10%);
  color: inherit;
  cursor: pointer;
}

.serim-intro-video-dialog__close svg {
  width: 18px;
  height: 18px;
}

.serim-intro-video-dialog__close:hover {
  background: rgb(255 255 255 / 20%);
}

.serim-intro-video-dialog__close:focus-visible,
.serim-intro-video-dialog__external:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.serim-intro-video-dialog__player {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  max-height: calc(100dvh - 144px);
  background: #000;
}

.serim-intro-video-dialog__player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.serim-intro-video-dialog__footer {
  display: flex;
  justify-content: flex-end;
  padding: 12px 16px;
}

.serim-intro-video-dialog__external {
  color: rgb(255 255 255 / 80%);
  font-size: 13px;
  line-height: 20px;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .serim-intro-video__poster img,
  .serim-intro-video__play {
    transition: none;
  }
}




/* Licensed Fatype variable webfont shared by home typography and Serim buttons.
 * Source and license: reference/font-licenses/ucity-pro/variable-20261121/.
 * Keep font-weight as the weight control; the delivered wght axis is 300–900.
 */
@font-face {
  font-family: "UCity Pro Variable";
  src: url("../fonts/ucity-pro/UCityPro-Var.woff2") format("woff2"),
       url("../fonts/ucity-pro/UCityPro-Var.woff") format("woff");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  ascent-override: 95.21484375%;
  descent-override: 24.12109375%;
  line-gap-override: 0%;
}



/* Single source for button appearance on home, product, and component pages.
   Outline default, filled dark-surface and selected-filter states.
   Legacy product-link aliases keep archived pages working. */
:is(.serim-button, .vfb-story-link) {
  --serim-button-ease: cubic-bezier(.19, 1, .22, 1);
  box-sizing: border-box;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  height: 44px;
  margin: 0;
  padding: 0 24px;
  border: 1px solid color-mix(in oklab, currentColor 15%, transparent);
  border-radius: 50px;
  background: transparent;
  color: var(--serim-button-color, var(--serim-text-primary, #191818));
  font-family: "UCity Pro Variable", var(--vf-font-korean, "Pretendard Variable"), Pretendard, sans-serif;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: .24px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transform-origin: center;
  transition: transform 400ms var(--serim-button-ease);
}

.serim-button.has-button-motion {
  font-size: 14px;
  font-weight: 525;
  line-height: 1;
}

@media (max-width: 767px) {
  .serim-button.has-button-motion {
    font-size: 13px;
    height: 40px;
  }
}

.serim-button--on-dark {
  --serim-button-color: #fff;
  --serim-button-focus-color: var(--serim-text-primary-on-dark, #fff);
}

.serim-button--on-dark,
.serim-button[aria-pressed="true"] {
  border-color: transparent;
  background: var(--serim-accent, hsl(222.23deg 96% 52%));
  color: #fff;
}

:is(.serim-button__content, .vfb-story-link-content) { display: flex; }
:is(.serim-button__label, .vfb-story-link-label) {
  font: inherit;
  letter-spacing: inherit;
}

:is(.serim-button, .vfb-story-link):focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--serim-button-focus-color, #0a0a0a);
}

@media (hover: hover) {
  :is(.serim-button, .vfb-story-link):hover {
    border-color: transparent;
    background: var(--serim-accent, hsl(222.23deg 96% 52%));
    color: #fff;
  }
  :is(.serim-button, .vfb-story-link):not(.has-button-motion, .has-link-motion):hover {
    transform: scale(1.05);
  }
}

:is(.serim-button, .vfb-story-link).is-pointer-hovered { transform: scale(1.05); }
:is(.serim-button, .vfb-story-link):is(:active, .is-pressed) {
  border-color: transparent;
  background: var(--serim-accent, hsl(222.23deg 96% 52%));
  color: #fff;
  transform: scale(.95);
}

@media (prefers-reduced-motion: no-preference) {
  :is(.serim-button__content, .vfb-story-link-content) {
    animation: serim-button-enter 400ms var(--serim-button-ease) 200ms both;
  }
}

@keyframes serim-button-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  :is(.serim-button, .vfb-story-link) {
    transform: none !important;
    transition: none;
  }
  :is(.serim-button__content, .vfb-story-link-content) { animation: none; }
}



/* Waabi-style product story, scoped to the current Korean/English homepages. */
.vfb-build[data-vfb-story] {
  --vfb-story-ease: cubic-bezier(.19, 1, .22, 1);
  --vfb-story-hover-bg: var(--serim-accent);
  --vfb-story-title-font: "Serim Test Tiempos Headline", "Tiempos Headline", Georgia, serif;
  display: block;
  position: relative;
  min-height: 0;
  padding: 60px 0;
  background: transparent;
  color: var(--serim-text-primary);
  font-size: 16px;
  line-height: 1.4;
}

html[lang="ko"] .vfb-build[data-vfb-story] {
  --vfb-story-title-font: "Chiron Sung HK Home", "Noto Serif CJK KR", serif;
}

.vfb-build[data-vfb-story] *,
.vfb-build[data-vfb-story] *::before,
.vfb-build[data-vfb-story] *::after {
  box-sizing: border-box;
}

.vfb-build[data-vfb-story] :is(h2, h3, p) {
  margin: 0;
}

.vfb-build[data-vfb-story] .vfb-story-origin {
  position: absolute;
  top: -133px;
  left: -110px;
  width: 133px;
  height: 133px;
  visibility: hidden;
  pointer-events: none;
}

.vfb-build[data-vfb-story] .vfb-story-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: var(--serim-content-width);
  max-width: none;
  margin-inline: auto;
  padding: 0;
  background: transparent;
}

.vfb-story-media-column,
.vfb-story-copy-column,
.vfb-story-sticky,
.vfb-story-stage {
  position: relative;
  width: 100%;
}

.vfb-story-stage {
  aspect-ratio: 1;
}

.vfb-story-intro-shell,
.vfb-story-intro-media {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
}

.vfb-story-intro-shell {
  transition: opacity 400ms var(--vfb-story-ease), transform 400ms var(--vfb-story-ease);
}

.vfb-story-intro-media {
  overflow: clip;
  border-radius: 16px;
  transform-origin: center;
}

.vfb-story-card {
  display: none;
  position: absolute;
  inset: 0;
  overflow: clip;
  border-radius: 12px;
  transform: translateY(100vh);
  transform-origin: center;
  transition: transform 1s var(--vfb-story-ease);
  pointer-events: none;
}

.vfb-story-card img,
.vfb-story-intro-media img,
.vfb-story-mobile-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Zoom only the photo: the outer card transform belongs to the scroll stack. */
:is(.vfb-story-card, .vfb-story-mobile-card) img {
  transform: scale(1);
  transform-origin: center;
  transition: transform 500ms var(--vfb-story-ease);
}

.vfb-story-card-arrow {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  pointer-events: none;
  transform: scale(1);
  transition: transform 400ms var(--vfb-story-ease);
  /* Sampled reference scale spring: stiffness 550, damping 30, mass 1. */
  transition-timing-function: linear(0, .1322, .3987, .6659, .8706, .9977, 1.0583, 1.0732, 1.0631, 1.0434, 1.024, 1.0091, 1, .9957, .9946, .9954, 1);
}

.vfb-story-card-arrow > svg {
  display: block;
  width: 10px;
  height: 10px;
  pointer-events: none;
}

:is(.vfb-story-card, .vfb-story-mobile-card).is-active:not([inert]) > .vfb-story-card-arrow {
  pointer-events: auto;
}

@media (hover: hover) {
  :is(.vfb-story-card, .vfb-story-mobile-card).is-active:hover img {
    transform: scale(1.05);
  }

  :is(.vfb-story-card, .vfb-story-mobile-card).is-active:hover > .vfb-story-card-arrow {
    border-color: transparent;
    background: var(--vfb-story-hover-bg);
  }

  .vfb-story-card-arrow:hover {
    transform: scale(1.05);
  }
}

:is(.vfb-story-card, .vfb-story-mobile-card).is-active:focus-visible img {
  transform: scale(1.05);
}

:is(.vfb-story-card, .vfb-story-mobile-card).is-active:is(:focus-visible, :active) > .vfb-story-card-arrow {
  border-color: transparent;
  background: var(--vfb-story-hover-bg);
}

.vfb-story-card-arrow:active {
  transform: scale(.95);
}

@media (min-width: 768px) {
  .vfb-story-card-arrow {
    right: 48px;
    bottom: 36px;
    width: 50px;
    height: 50px;
  }

  .vfb-story-card > .vfb-story-card-arrow {
    /* Cancel scroll-stage shrink independently of the hover/press transform.
       Individual scale updates immediately, without the spring transition lag. */
    scale: calc(1 / var(--vfb-stage-scale, 1));
  }
}

/* Keep the laboratory crop identical in the source tile and expanding image. */
.serim-story-lab-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.serim-story-lab-image {
  transform: scale(1.2);
  transform-origin: 50% 100%;
}

.vfb-story-shade,
.vfb-story-intro-shade {
  position: absolute;
  inset: 0;
  /* The rounded parent clips both the media and this full-size overlay. */
  background: #00000080;
  background: color-mix(in oklab, #000 50%, transparent);
  pointer-events: none;
}

.vfb-story-shade {
  opacity: 1;
  transition: opacity 400ms var(--vfb-story-ease);
}

.vfb-story-intro-shade {
  opacity: 0;
}

.vfb-story-intro-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

body.home-page #business-overview.vfb-build[data-vfb-story] :is(.vfb-story-heading, .vfb-story-heading *, .vfb-story-select, .vfb-story-mobile-copy h3) {
  font-family: var(--vfb-story-title-font);
  font-weight: 400;
  font-variation-settings: "wght" 400;
}

html[lang="ko"] body.home-page #business-overview.vfb-build[data-vfb-story] :is(.vfb-story-heading, .vfb-story-heading *, .vfb-story-select, .vfb-story-mobile-copy h3) {
  font-weight: 500;
  font-variation-settings: "wght" 500;
  letter-spacing: var(--vfb-story-heading-letter-spacing, -.05em);
}

body.home-page #business-overview.vfb-build[data-vfb-story] .vfb-story-heading {
  max-width: none;
  font-size: 28px;
  line-height: var(--vfb-story-heading-line-height, .9);
  letter-spacing: var(--vfb-story-heading-letter-spacing, -.03em);
  text-align: left;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: normal;
}

.vfb-story-word {
  display: inline-block;
}

.vfb-story-stats {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: rgb(0 0 0 / 55%);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -.005em;
}

.vfb-story-stats .validation-item {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vfb-story-stats strong {
  color: var(--serim-text-primary);
  font-weight: 400;
}

.vfb-story-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.vfb-story-option {
  width: 100%;
  transition: opacity 400ms var(--vfb-story-ease);
}

.vfb-story-select {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -.03em;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.vfb-story-description-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 16px;
  line-height: 1.5;
}

.vfb-story-description p,
.vfb-story-mobile-copy p {
  color: rgb(0 0 0 / 55%);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -.005em;
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: break-word;
}

html[lang="ko"] .vfb-story-stats,
html[lang="ko"] .vfb-story-stats strong,
html[lang="ko"] .vfb-story-description p,
html[lang="ko"] .vfb-story-mobile-copy p {
  font-weight: 450;
}

.vfb-story-mobile {
  display: none;
  padding-block: 60px;
}

.vfb-story-mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: var(--serim-content-width);
  margin-inline: auto;
}

.vfb-story-mobile-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 20px;
  overflow: clip;
  border-radius: 12px;
}

.vfb-story-mobile-card > picture {
  display: block;
  width: 100%;
  height: 100%;
}

.vfb-story-mobile-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 400ms var(--vfb-story-ease), visibility 0s 400ms;
}

.vfb-story-mobile-copies {
  display: grid;
}

.vfb-story-mobile-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 400ms var(--vfb-story-ease), visibility 0s 400ms;
}

.vfb-story-mobile-card.is-active,
.vfb-story-mobile-copy.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.vfb-story-mobile-copy h3 {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -.03em;
}

.vfb-story-mobile-copy p {
  color: var(--serim-text-muted-test);
}

.vfb-story-progress {
  position: relative;
  width: 100%;
  height: 1px;
  overflow: hidden;
  background: rgb(0 0 0 / 15%);
}

.vfb-story-progress-fill {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--serim-text-link-focus-strong);
  transform: translateX(-100%);
}

.vfb-story-mobile-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}

.vfb-story-arrows {
  display: flex;
  gap: 8px;
}

.vfb-story-round-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgb(25 24 24 / 15%);
  border-radius: 50%;
  color: var(--serim-text-primary);
  background: transparent;
  cursor: pointer;
  transition: transform 400ms var(--vfb-story-ease);
}

.vfb-story-play-icon,
.vfb-story-pause[aria-pressed="true"] .vfb-story-pause-icon {
  display: none;
}

.vfb-story-pause[aria-pressed="true"] .vfb-story-play-icon {
  display: block;
}

.vfb-story-round-button:active {
  transform: scale(.95);
}

.vfb-build[data-vfb-story] :is(button, a):not(:where(.serim-button, .vfb-story-link)):focus-visible {
  outline: 2px solid var(--serim-text-link-focus-strong);
  outline-offset: 5px;
}


.vfb-story-mobile-card:focus-visible {
  outline-offset: -3px !important;
}

@media (hover: hover) {
  .vfb-story-round-button:hover { transform: scale(1.05); }
  .vfb-story-round-button:active { transform: scale(.95); }
}


@media (max-width: 767px) {
  .is-vfb-story-ready .vfb-story-controls { display: none; }
  .is-vfb-story-ready .vfb-story-mobile { display: block; }

  .vfb-story-mobile-media {
    margin-bottom: 16px;
  }

  .vfb-story-mobile-copy .vfb-story-mobile-description {
    height: 48px;
    flex-shrink: 0;
    margin: 0;
    overflow: auto;
  }
}

@media (min-width: 768px) {
  .vfb-build[data-vfb-story].is-vfb-story-ready {
    height: 200vh;
    padding: 0;
  }

  .vfb-build[data-vfb-story] .vfb-story-origin {
    top: calc(-1 * var(--serim-story-tile-size, calc(133 / 1440 * 100vw)));
    left: var(--serim-story-inner-inset, 16.667%);
    width: var(--serim-story-tile-size, calc(133 / 1440 * 100vw));
    height: var(--serim-story-tile-size, calc(133 / 1440 * 100vw));
  }

  .vfb-build[data-vfb-story].is-vfb-story-ready .vfb-story-layout {
    flex-direction: row;
    justify-content: space-between;
    height: 100%;
    padding-inline: 90px;
  }

  .is-vfb-story-ready .vfb-story-media-column {
    flex: 1;
    min-width: 0;
    max-width: 527px;
    height: 100%;
  }

  .is-vfb-story-ready .vfb-story-sticky {
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    height: 100vh;
  }

  .is-vfb-story-ready .vfb-story-stage {
    transform: translateY(var(--vfb-stage-y, 0px)) scale(var(--vfb-stage-scale, 1));
    opacity: var(--vfb-stage-opacity, 1);
    will-change: transform, opacity;
  }

  .is-vfb-story-ready .vfb-story-intro-media {
    transform: translate3d(var(--vfb-intro-x, 0px), var(--vfb-intro-y, 0px), 0) scale(var(--vfb-intro-scale, 1));
    border-radius: var(--vfb-intro-radius, 16px);
    will-change: transform;
  }

  .is-vfb-story-ready.is-vfb-stack-visible .vfb-story-intro-shell {
    opacity: 0;
    transform: scale(.6);
    pointer-events: none;
  }

  .is-vfb-story-ready .vfb-story-card { display: block; }

  /* Keep the stage and scroll transforms; give product images a taller crop. */
  body.home-page[data-home-hero="cinematic"] .is-vfb-story-ready .vfb-story-card {
    inset: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 4.5;
  }

  .is-vfb-story-ready.is-vfb-stack-visible .vfb-story-card.is-active { pointer-events: auto; }

  .is-vfb-story-ready .vfb-story-copy-column {
    flex: 0 0 370px;
    width: 370px;
    height: 200vh;
  }

  .is-vfb-story-ready .vfb-story-intro {
    display: flex;
    align-items: center;
    height: 100vh;
  }

  .vfb-story-intro-copy { gap: 24px; }

  .is-vfb-story-ready .vfb-story-intro-copy {
    transform: translate3d(0, var(--vfb-intro-copy-y, 0px), 0);
  }

  body.home-page #business-overview.vfb-build[data-vfb-story] .vfb-story-heading {
    --vfb-story-heading-line-height: 1.15;
    --vfb-story-heading-letter-spacing: -.1em;
    font-size: 54px;
  }

  html[lang="ko"] .vfb-story-heading-line {
    display: block;
    white-space: nowrap;
  }

  html[lang="ko"] .vfb-story-heading-mobile-word {
    display: none;
  }

  .is-vfb-story-ready .vfb-story-controls {
    position: sticky;
    top: 0;
    justify-content: center;
    align-items: flex-start;
    height: 100vh;
    margin-top: -50svh;
  }

  .is-vfb-story-ready .vfb-story-option { opacity: .46; }
  .is-vfb-story-ready .vfb-story-option.is-active { opacity: 1; }
  .is-vfb-story-ready .vfb-story-description {
    overflow: clip;
    /* Let the hover scale clear the animated panel without moving its contents. */
    overflow-clip-margin: 8px;
  }

  .vfb-story-select {
    font-size: 40px;
    line-height: 1.1;
  }
}

/* Chiron's Korean glyphs need more leading than the reference's Latin face. */
html[lang="ko"] body.home-page #business-overview.vfb-build[data-vfb-story] .vfb-story-heading {
  line-height: var(--vfb-story-heading-line-height, 1.05);
}

@media (prefers-reduced-motion: reduce) {
  .vfb-build[data-vfb-story] *,
  .vfb-build[data-vfb-story] *::before,
  .vfb-build[data-vfb-story] *::after {
    animation: none !important;
    transition: none !important;
  }

  .vfb-story-word { opacity: 1 !important; transform: none !important; }

  .vfb-build[data-vfb-story].is-vfb-story-ready {
    height: auto;
    padding: 60px 0;
  }

  .is-vfb-story-ready .vfb-story-media-column,
  .is-vfb-story-ready .vfb-story-copy-column,
  .is-vfb-story-ready .vfb-story-sticky,
  .is-vfb-story-ready .vfb-story-intro,
  .is-vfb-story-ready .vfb-story-controls {
    height: auto;
    position: relative;
  }

  .is-vfb-story-ready .vfb-story-controls { margin-top: 40px; }
  .is-vfb-story-ready .vfb-story-stage { transform: none; opacity: 1; }
  .is-vfb-story-ready .vfb-story-intro-media { transform: none; border-radius: 16px; }
  .is-vfb-story-ready .vfb-story-shade,
  .is-vfb-story-ready .vfb-story-intro-shade { display: none; }
  .vfb-story-round-button,
  .vfb-story-card-arrow,
  :is(.vfb-story-card, .vfb-story-mobile-card) img { transform: none !important; }

  .vfb-story-card-arrow { scale: none !important; }
}


/* Company overview: local imagery, word reveal and a continuous story handoff.
   Hero and company copy share typography; their layout and motion stay separate. */
@font-face {
  font-family: "Serim Company Noto Serif KR";
  src: url("../fonts/noto-serif-kr/noto-serif-kr-company-intro-200-900.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

.serim-company-intro {
  --company-intro-tile: 133px;
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 100px 24px;
  overflow: clip;
  color: var(--serim-text-primary);
  background: #ffffff;
}

.serim-company-intro__images { display: none; }

.serim-company-intro__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.serim-company-intro__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: min(360px, calc(100vw - 92px));
  max-width: 100%;
  text-align: center;
}

/* A soft surface keeps the reading area clear as peripheral images pass it. */
.serim-company-intro__copy::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: -1;
  border-radius: 50%;
  background: #ffffff;
  filter: blur(24px);
  pointer-events: none;
}

.serim-company-intro__eyebrow,
.serim-company-intro__statement {
  position: relative;
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -.02em;
  word-break: keep-all;
  overflow-wrap: break-word;
  font-synthesis: none;
}

.serim-company-intro__eyebrow {
  color: var(--serim-text-muted, rgb(0 0 0 / 50%));
  text-wrap: balance;
}

html[lang="ko"] .serim-company-intro__copy {
  font-family: "Serim Company Noto Serif KR", serif;
}

html[lang="ko"] .serim-company-intro__copy :is(h2, p) {
  font-family: inherit;
  font-weight: 500;
}

html[lang="en"] .serim-company-intro__copy :is(h2, p) {
  font-family: "Serim Test Tiempos Headline", Georgia, serif;
  line-height: 1.25;
  letter-spacing: 0;
}

body.home-page[data-home-hero="cinematic"] .serim-company-intro__copy,
body.home-page[data-home-hero="cinematic"] .serim-company-intro__copy :is(h2, p) {
  font-weight: 500;
}

body.home-page[data-home-hero="cinematic"] .serim-company-intro__copy > .serim-company-intro__eyebrow {
  font-size: 20px;
  font-weight: 525;
}

html[lang="en"] body.home-page[data-home-hero="cinematic"] .serim-company-intro__eyebrow {
  font-weight: 425;
  letter-spacing: -0.01em;
}

/* Shared home description typography; size and color differ by placement. */
body.home-page[data-home-hero="cinematic"] .serim-company-intro__copy > .serim-company-intro__statement,
body.home-page[data-home-hero="cinematic"] .v2-hero-shell .thx .tdek.hero-pop {
  width: 100%;
  color: var(--serim-text-primary);
  font-family: var(--vf-font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -.0125em;
  font-synthesis: none;
  text-align: center;
  text-wrap: wrap;
  word-break: keep-all;
  overflow-wrap: break-word;
}

body.home-page[data-home-hero="cinematic"] .v2-hero-shell .thx .tdek.hero-pop {
  color: var(--serim-text-secondary);
  font-size: 18px;
  line-height: 1.45;
}

html[lang="en"] body.home-page[data-home-hero="cinematic"] .serim-company-intro__copy > .serim-company-intro__statement,
html[lang="en"] body.home-page[data-home-hero="cinematic"] .v2-hero-shell .thx .tdek.hero-pop {
  font-weight: 400;
}

html[lang="ko"] body.home-page[data-home-hero="cinematic"] .serim-company-intro__copy > .serim-company-intro__statement,
html[lang="ko"] body.home-page[data-home-hero="cinematic"] .v2-hero-shell .thx .tdek.hero-pop {
  font-weight: 450;
}

.serim-company-intro__statement .serim-company-intro__mobile-break {
  display: none;
}

@media (max-width: 767px) {
  body.home-page[data-home-hero="cinematic"] .v2-hero-shell .thx .tdek.hero-pop {
    color: var(--serim-text-secondary);
    font-size: 18px;
    line-height: 1.4;
  }

  .serim-company-intro__copy {
    gap: 12px;
  }

  html[lang] body.home-page[data-home-hero="cinematic"] .serim-company-intro__copy > .serim-company-intro__eyebrow {
    font-weight: 600;
  }

  body.home-page[data-home-hero="cinematic"] .serim-company-intro__copy > .serim-company-intro__statement {
    line-height: 1.4;
  }

  body.home-page[data-home-hero="cinematic"] .serim-company-intro__statement br {
    display: none;
  }

  html[lang="ko"] body.home-page[data-home-hero="cinematic"] .serim-company-intro__copy > .serim-company-intro__statement {
    width: min(360px, calc(100vw - 48px));
    max-width: none;
  }

  html[lang="ko"] body.home-page[data-home-hero="cinematic"] .serim-company-intro__statement :is(.serim-company-intro__mobile-break, .serim-company-intro__shared-break) {
    display: initial;
  }
}

@media (min-width: 768px) {
  body.home-page[data-home-hero="cinematic"] .serim-company-intro__copy > .serim-company-intro__eyebrow {
    font-size: 32px;
  }

  body.home-page[data-home-hero="cinematic"] .v2-hero-shell .thx .tdek.hero-pop {
    font-size: 20px;
  }

  body.home-page[data-home-hero="cinematic"] .serim-company-intro__copy > .serim-company-intro__statement {
    font-size: 21px;
  }
}

.serim-company-intro__word {
  display: inline-flex;
  align-items: center;
  white-space: pre-line;
}

.serim-company-intro__tile {
  position: relative;
  flex: none;
  width: var(--company-intro-tile);
  height: var(--company-intro-tile);
  overflow: hidden;
  border-radius: 12px;
}

.serim-company-intro__tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.serim-company-intro__center-image { margin-top: 64px; }

.serim-company-intro__center-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.serim-company-intro.is-company-intro-ready {
  height: 150vh;
  min-height: 640px;
  padding: 0;
}

.is-company-intro-ready .serim-company-intro__images {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.is-company-intro-ready .serim-company-intro__column {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.serim-company-intro__column--outer-left { left: -340px; }
.serim-company-intro__column--inner-left { left: -110px; }
.serim-company-intro__column--inner-right { right: -110px; }
.serim-company-intro__column--outer-right { right: -340px; }

.is-company-intro-ready .serim-company-intro__center {
  position: absolute;
  inset: 0;
}

.is-company-intro-ready .serim-company-intro__center-image {
  position: relative;
  margin: 0;
  transform: translateY(20svh);
}

@media (min-width: 768px) {
  body.home-page[data-home-hero="cinematic"] {
    --serim-story-tile-size: calc(120 / 1440 * 100vw);
    --serim-story-inner-inset: 14%;
  }

  .serim-company-intro {
    --company-intro-tile: var(--serim-story-tile-size, calc(133 / 1440 * 100vw));
  }

  .serim-company-intro__copy {
    /* Grow the reading area while keeping 24px clear of each inner image column. */
    width: min(720px, calc(100% - 2 * (var(--serim-story-inner-inset, 16.667%) + var(--company-intro-tile) + 24px)));
    will-change: transform;
  }

  .serim-company-intro__eyebrow,
  .serim-company-intro__statement { font-size: 24px; }

  .serim-company-intro__column--outer-left { left: 24px; }
  .serim-company-intro__column--inner-left { left: var(--serim-story-inner-inset, 16.667%); }
  .serim-company-intro__column--inner-right { right: var(--serim-story-inner-inset, 16.667%); }
  .serim-company-intro__column--outer-right { right: 24px; }

  .serim-company-intro [data-company-parallax="outer"] { will-change: transform; }

  .is-company-intro-ready .serim-company-intro__center-image {
    top: 400px;
    transform: none;
  }

  /* The following story's existing origin exactly matches this last tile.
     Only the expanding image is painted, so there is no duplicate or crossfade. */
  .serim-company-intro:has(+ .vfb-build.is-vfb-story-ready) .serim-company-intro__tile--bridge {
    visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .serim-company-intro.is-company-intro-ready {
    height: auto;
    min-height: 0;
    padding: 100px 24px;
  }

  .is-company-intro-ready .serim-company-intro__images { display: none; }
  .is-company-intro-ready .serim-company-intro__center { position: relative; }
  .is-company-intro-ready .serim-company-intro__center-image {
    top: auto;
    margin-top: 48px;
    transform: none;
  }

  .serim-company-intro__copy { transform: none !important; will-change: auto; }
  .serim-company-intro__word { opacity: 1 !important; }
}


/* A progressive scroll scene around the existing hero.
   The untouched hero is the first frame and the no-JS/reduced-motion fallback. */
.serim-hero-transition,
.serim-hero-transition__sticky {
  display: contents;
}

.serim-hero-transition__media,
.serim-hero-transition__caption,
.serim-hero-transition__anchor {
  display: none;
}

.serim-hero-transition.is-hero-intro-ready {
  display: block;
  position: relative;
  z-index: 2;
  height: calc(var(--hero-scene-height, 100vh) * 2.5);
  margin-bottom: calc(var(--hero-scene-height, 100vh) * -.75);
  pointer-events: none;
}

.is-hero-intro-ready > .serim-hero-transition__sticky {
  display: block;
  position: sticky;
  top: 0;
  height: var(--hero-scene-height, 100vh);
  pointer-events: none;
}

.is-hero-intro-ready .v2-hero-shell {
  opacity: var(--hero-surface-opacity, 1);
  pointer-events: auto;
}

.is-hero-intro-ready .v2-hero-shell .thx-copy {
  transform: translate3d(0, var(--hero-copy-y, 0px), 0);
}

.is-hero-intro-ready .v2-hero-shell .thx-plate {
  opacity: var(--hero-native-image-opacity, 1);
}

.is-hero-intro-ready .v2-hero-shell[inert] {
  pointer-events: none;
}

.is-hero-intro-ready .serim-hero-transition__media {
  display: block;
  visibility: hidden;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform-origin: 50% 50%;
  pointer-events: none;
  will-change: transform, clip-path;
}

.serim-hero-transition__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 450ms ease;
}

.serim-hero-transition__image.is-active { opacity: 1; }

.serim-hero-transition__shade {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
}

.is-hero-intro-ready .serim-hero-transition__caption {
  display: flex;
  position: absolute;
  z-index: 2;
  inset: 0;
  align-items: flex-end;
  box-sizing: border-box;
  padding: 40px 24px;
  opacity: 0;
  pointer-events: none;
}

.serim-hero-transition__caption p {
  max-width: 295px;
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.02em;
  word-break: keep-all;
  text-wrap: balance;
}

html[lang="ko"] .serim-hero-transition__caption p {
  font-family: "Serim Company Noto Serif KR", serif;
}

html[lang="en"] .serim-hero-transition__caption p {
  font-family: "Serim Test Tiempos Headline", Georgia, serif;
  font-weight: 400;
}

.serim-hero-transition__word { display: inline-block; }

.is-hero-intro-ready .serim-hero-transition__anchor {
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 133px;
  height: 133px;
  transform: translateX(-50%);
  visibility: hidden;
  pointer-events: none;
}

@media (min-width: 768px) {
  .is-hero-intro-ready .serim-hero-transition__caption {
    padding: 90px max(24px, calc((100vw - var(--serim-content-width)) / 2));
  }

  .serim-hero-transition__caption p {
    max-width: 495px;
    font-size: 40px;
  }

  .is-hero-intro-ready .serim-hero-transition__anchor {
    width: calc(133 / 1440 * 100vw);
    height: calc(133 / 1440 * 100vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .serim-hero-transition.is-hero-intro-ready,
  .is-hero-intro-ready > .serim-hero-transition__sticky {
    display: contents;
  }

  .is-hero-intro-ready .v2-hero-shell,
  .is-hero-intro-ready .v2-hero-shell .thx-plate { opacity: 1; }
  .is-hero-intro-ready .v2-hero-shell .thx-copy { transform: none; }

  .is-hero-intro-ready :is(
    .serim-hero-transition__media,
    .serim-hero-transition__caption,
    .serim-hero-transition__anchor
  ) { display: none; }
}


/* Current Korean home only; preserve the existing title metrics.
   This subset includes every current headline, including the company and film. */
@font-face {
  font-family: "Chiron Sung HK Home";
  src: url("../fonts/chiron-sung-hk/chiron-sung-hk-index-20261117-200-900.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: block;
}

html[lang="ko"] body.home-page[data-home-editorial-font="chiron-sung"] {
  --serim-home-editorial-font: "Chiron Sung HK Home", "Noto Serif CJK KR", "Nanum Myeongjo", serif;
}

html[lang="ko"] body.home-page[data-home-editorial-font="chiron-sung"] .vfb-build[data-vfb-story] {
  --vfb-story-title-font: var(--serim-home-editorial-font);
}

html[lang="ko"] body.home-page[data-home-editorial-font="chiron-sung"] :is(
  .v2-hero-shell .thx-lock #hero-title,
  .vf-section-heading,
  .serim-section-header__title
),
html[lang="ko"] body.home-page[data-home-editorial-font="chiron-sung"] #business-overview.vfb-build[data-vfb-story] :is(
  .vfb-story-heading,
  .vfb-story-heading *,
  .vfb-story-select,
  .vfb-story-mobile-copy h3
) {
  letter-spacing: -0.07em;
  font-family: var(--serim-home-editorial-font);
  font-weight: 500;
  line-height: 1.15;
  font-variation-settings: normal;
  font-synthesis: none;
}

/* This h2 has independent sizing/leading; keep its paragraph in its own font. */
html[lang="ko"] body.home-page[data-home-editorial-font="chiron-sung"] .serim-company-intro__eyebrow {
  font-family: var(--serim-home-editorial-font);
  font-weight: 525;
  letter-spacing: -0.06em;
}

