@font-face {
  font-family: "Hero Pretendard Variable";
  src: url("../fonts/pretendard-variable/PretendardVariable.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 45 920;
  font-display: swap;
}

/* Licensed Regular Web font for the legacy family alias. */
@font-face {
  font-family: "Tiempos Headline";
  src: url("../fonts/tiempos-headline/tiempos-headline-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Chiron Sung HK Hero";
  src: url("../fonts/chiron-sung-hk/chiron-sung-hk-hero-200-900.woff2?v=20261025-food-title") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: "UCity Pro";
  src: url("../fonts/ucity-pro/UCityProWeb-Regular.woff2") format("woff2"),
       url("../fonts/ucity-pro/UCityProWeb-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  ascent-override: 95.21484375%;
  descent-override: 24.12109375%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "UCity Pro";
  src: url("../fonts/ucity-pro/UCityProWeb-SemiBold.woff2") format("woff2"),
       url("../fonts/ucity-pro/UCityProWeb-SemiBold.woff") format("woff");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  ascent-override: 95.21484375%;
  descent-override: 24.12109375%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "UCity Pro";
  src: url("../fonts/ucity-pro/UCityProWeb-Bold.woff2") format("woff2"),
       url("../fonts/ucity-pro/UCityProWeb-Bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  ascent-override: 95.21484375%;
  descent-override: 24.12109375%;
  line-gap-override: 0%;
}

/* The reference hero owns its tokens so the rest of the Serim site is unchanged. */
.v2-hero-shell {
  --font-tiempos: "Tiempos Headline", Georgia, "Liberation Serif", serif;
  --font-ucity: "UCity Pro", "Hero Pretendard Variable", Pretendard, "Apple SD Gothic Neo", Arial, "Liberation Sans", sans-serif;
  --font-serif-display: var(--font-tiempos);
  --font-sans: var(--font-ucity);
  --vfc-font-size-default: 14px;
  --vfc-font-size-caption: 12px;
  --vfc-font-weight-bold: 600;
  --vfc-color-font-default: #1a1e23;
  --vfc-color-font-light: #fff;
  --vfc-color-accent-accent-500: #397dff;
  --vfc-color-accent-accent-600: #2f68db;
  --vfc-color-accent-accent-700: #264eb4;
  --vfc-color-alert-alert-600: #dd4160;
  --vfc-color-black-100: #000;
  --vfc-color-neutral-light-neutrals-light-100: #e2e4e5;
  --vfc-color-neutral-light-neutrals-light-200: #d4d7d7;
  --vfc-color-neutral-light-neutrals-light-300: #c5c9ca;
  --vfc-color-neutral-light-neutrals-light-800: #7d8688;
  --vfc-color-shades-shades-200: #e8ecec;
  --vfc-color-shades-shades-300: #e2e6e6;
  --vfc-color-success-success-600: #449127;
  --vfc-card-bg: #fff;
  --vfc-card-radius: 10px;
  --vfc-field-placeholder: #787f86;
  --vfc-field-focus-ring: 0 0 0 1px #397dff;
  --vfc-shadow-button-primary-default:
    0 6px 16px -8px #0f1e6114,
    0 4px 12px -6px #0f1e610f,
    0 3px 8px -4px #0f1e610f,
    0 2px 6px -3px #0f1e610a,
    0 1px 4px -2px #0f1e610a,
    0 1px 3px -1px #0f1e6105,
    0 1px 2px #0f1e6103,
    inset 0 -1px 0 1px #2f68db52,
    inset 0 1px 2px -1px #ffffff52;
  --vfc-shadow-button-primary-hover:
    0 6px 32px -12px #0f1e6129,
    0 4px 24px -12px #0f1e611f,
    0 4px 12px -4px #0f1e6114,
    0 3px 8px -3px #0f1e610f,
    0 2px 4px -2px #0f1e610a,
    0 2px 4px -1px #0f1e6105,
    0 1px 3px #0f1e6103,
    inset 0 -1px 0 1px #264eb452,
    inset 0 1px 2px -1px #ffffff52;
  --vfc-shadow-button-primary-active:
    inset 0 -1px 0 #1c368e52,
    inset 0 1px 2px -1px #ffffff52;
  --vfc-shadow-surface-z-16light:
    0 20px 44px -18px #161a1e1f,
    0 16px 28px -18px #161a1e1f,
    0 12px 20px -18px #161a1e14,
    0 10px 16px -18px #161a1e14,
    0 8px 12px -18px #161a1e0a,
    0 4px 8px -18px #161a1e0a,
    0 1px 1px 0 #161a1e03,
    0 0 0 1px #161a1e0f;
  --_colors-2026---900: var(--vfc-color-font-default);
  --vf-brand: var(--vfc-color-accent-accent-500);
  --vf-display-xl--size: 4rem;
  --vf-display-xl--line-height: 1.06;
  --vf-display-xl--letter-spacing: -0.03em;
  --nav-spacer: 7rem;
  --v2-paper: 12px;
  --v2-r-panel: 16px;
  --card-bg: var(--vfc-card-bg);
  --card-radius: var(--vfc-card-radius);
  --vf-btn-shadow: var(--vfc-shadow-button-primary-default);
  --vf-btn-shadow-hover: var(--vfc-shadow-button-primary-hover);
  --vf-btn-shadow-active: var(--vfc-shadow-button-primary-active);

  margin: 8px 8px 0;
  overflow: hidden;
  color: #38414a;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased;
  border: 1px solid var(--vfc-color-shades-shades-200);
  border-radius: var(--v2-r-panel);
  background: var(--vfc-color-font-light);
}

.v2-hero-shell .nav-spacer {
  height: var(--nav-spacer);
}

.v2-hero-shell .thx {
  position: relative;
  overflow: hidden;
  font-family: var(--font-sans);
}

.v2-hero-shell .thx-body {
  position: relative;
}

/* The first viewport includes the 8px top and 12px bottom outer margins. */
.v2-hero-shell--image-focus {
  --v2-paper: 8px;
  --v2-r-panel: 12px;
  --hero-body-height: 680px;
  --hero-plate-height: 390px;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 20px);
  min-height: calc(100dvh - 20px);
  margin-bottom: 12px;
  border: 0;
  background: #fdfdfd;
  box-shadow:
    inset 0 1.5px 0 #fff,
    0 1px 0 rgb(26 30 35 / 2%),
    0 0 0 1px rgb(26 30 35 / 4%),
    0 1px 8px -4px rgb(26 30 35 / 4%),
    0 4px 12px -6px rgb(26 30 35 / 4%),
    0 1px 3px 1px rgb(26 30 35 / 1%);
}

/* Reuse the former marquee slot for a quiet, native scroll link. */
.v2-hero-shell .hero__marquee--scroll {
  position: relative;
  inset: auto;
  z-index: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0 8px;
}

.v2-hero-shell .hero-scroll-cue {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: none;
  color: rgb(71 71 71 / 65%);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 200ms cubic-bezier(0, 0, .2, 1);
}

.v2-hero-shell .hero-scroll-cue__icon {
  display: block;
  width: 20px;
  height: 18px;
  transform: rotate(180deg);
  transition: transform 200ms cubic-bezier(0, 0, .2, 1);
}

@media (hover: hover) {
  .v2-hero-shell .hero-scroll-cue:hover {
    color: #474747;
  }

  .v2-hero-shell .hero-scroll-cue:hover .hero-scroll-cue__icon {
    transform: translateY(3px) rotate(180deg);
  }
}

.v2-hero-shell .hero-scroll-cue:focus-visible {
  color: #474747;
  outline: 2px solid var(--vfc-color-accent-accent-500);
  outline-offset: 2px;
}

.home-page #business-overview {
  scroll-margin-top: 24px;
}

.v2-hero-shell .thx-in {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
}

.v2-hero-shell .thx h1 {
  margin: 0;
  font-family: var(--font-serif-display);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.v2-hero-shell #hero-title {
  font-family: "Chiron Sung HK Hero", "Noto Serif CJK KR", "Nanum Myeongjo", serif;
  font-size: 4rem;
  font-style: normal;
  font-weight: 500;
  font-variation-settings: "wght" 500;
  font-synthesis: none;
  line-height: 1.2;
  letter-spacing: -0.025em;
  word-break: keep-all;
}

.v2-hero-shell #hero-title .hero-title-line {
  display: block;
  font-family: inherit;
  font-style: inherit;
  font-weight: inherit;
  font-variation-settings: inherit;
  white-space: normal;
  text-wrap: balance;
}

/* Responsive scale: 36 / 56 / 60px on mobile / 768 / 992px.
   Retain Chiron Sung and the Korean headline's weight and line spacing. */
.v2-hero-shell .thx-lock {
  --vf-display-xl--size: 2.25rem;
  --vf-display-xl--line-height: 1.06;
  --vf-display-xl--letter-spacing: -.03em;

  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.v2-hero-shell .thx-lock #hero-title {
  font-size: var(--vf-display-xl--size);
  font-weight: 500;
  font-variation-settings: "wght" 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

@media (min-width: 480px) {
  .v2-hero-shell .thx-lock {
    --vf-display-xl--size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .v2-hero-shell .thx-lock {
    --vf-display-xl--size: 3.5rem;
  }
}

@media (min-width: 992px) {
  .v2-hero-shell .thx-lock {
    --vf-display-xl--size: 3.75rem;
  }
}

.v2-hero-shell .thx .tdek {
  max-width: 52ch;
  margin: 22px 0 30px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.v2-hero-shell .thx .tdek:not(.vf-body-lg) {
  color: #6b6b6b;
  font-family: "Hero Pretendard Variable", Pretendard, "Apple SD Gothic Neo", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

.v2-hero-shell .tdek-break--desktop {
  display: none;
}

.v2-hero-shell .tdek-break--mobile {
  display: inline;
}

@media (min-width: 992px) {
  .v2-hero-shell .tdek-break--desktop {
    display: inline;
  }

  .v2-hero-shell .tdek-break--mobile {
    display: none;
  }
}

.v2-hero-shell .thx .tctas {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Supplied pill CTA: fixed label and icon slot, chevron extends into an arrow. */
.v2-hero-shell .thx-contact-cta {
  --btn-bg: #1c1c1c;
  --btn-text: #fff;
  --thx-contact-scale-duration: 340ms;
  --thx-contact-scale-ease: cubic-bezier(.16, 1, .3, 1);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 44px;
  padding: 12px 20px;
  border: 0;
  border-radius: 9999px;
  background-color: var(--btn-bg);
  color: var(--btn-text);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  scale: 1;
  transform-origin: center;
  transition: color 150ms cubic-bezier(.4, 0, .2, 1), background-color 150ms cubic-bezier(.4, 0, .2, 1), border-color 150ms cubic-bezier(.4, 0, .2, 1), filter 150ms cubic-bezier(.4, 0, .2, 1), scale var(--thx-contact-scale-duration) var(--thx-contact-scale-ease);
  will-change: scale;
}

.v2-hero-shell .thx-contact-cta:hover {
  filter: brightness(.9);
}

.v2-hero-shell .thx-contact-cta:is(:active, .is-thx-contact-pressed) {
  --thx-contact-scale-duration: 130ms;
  --thx-contact-scale-ease: cubic-bezier(.2, .8, .2, 1);
  scale: .985;
}

.v2-hero-shell .thx-contact-cta:focus {
  outline: none;
}

.v2-hero-shell .thx-contact-cta:focus-visible {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px hsl(0 0% 4% / 30%);
}

.v2-hero-shell .thx-contact-hit-area {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, 44px);
  height: max(100%, 44px);
  transform: translate(-50%, -50%);
}

@media (pointer: fine) {
  .v2-hero-shell .thx-contact-hit-area {
    display: none;
  }
}

.v2-hero-shell .thx-contact-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: -2px;
  margin-right: -4px;
}

.v2-hero-shell .thx-contact-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.v2-hero-shell .thx-contact-arrow-shaft {
  transform-box: view-box;
  transform-origin: 18px 12px;
  transform: translateX(-3px) scaleX(0);
  transition: transform 150ms cubic-bezier(.4, 0, .2, 1), opacity 150ms cubic-bezier(.4, 0, .2, 1);
}

.v2-hero-shell .thx-contact-arrow-head {
  transition: transform 150ms cubic-bezier(.4, 0, .2, 1);
}

.v2-hero-shell .thx-contact-cta:is(:hover, :focus-visible, .is-thx-contact-pressed) .thx-contact-arrow-shaft {
  opacity: 1;
  transform: none;
}

.v2-hero-shell .thx-contact-cta:is(:hover, :focus-visible, .is-thx-contact-pressed) .thx-contact-arrow-head {
  transform: translateX(3px);
}

.v2-hero-shell .thx .tph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v2-hero-shell .thx .tph[data-serim-lab-hero],
.v2-hero-shell .thx .tph[data-serim-final-hero] {
  object-position: 50% 100%;
}

.v2-hero-shell .thx .tph[data-plate-default-image],
.v2-hero-shell .thx .tph[data-serim-two-floor-hero] {
  /* Match the blue-building reference: keep the bottom edge visible at every width. */
  object-position: 50% 100%;
}

.v2-hero-shell [data-cs-marquee] [data-a] {
  height: 28px !important;
}

.v2-hero-shell [data-cs-marquee] button {
  padding: 0 8px !important;
}

.v2-hero-shell [data-cs-marquee] [data-bar] {
  bottom: -8px !important;
}

.v2-hero-shell .vf-cta-hero .vf-cta {
  min-height: 52px;
}

@media (max-width: 991px) {
  .v2-hero-shell .vf-cta-hero .vf-cta {
    min-height: 58px;
  }

  .v2-hero-shell .thx-body {
    height: auto !important;
    min-height: 0;
  }

  .v2-hero-shell .thx-copy {
    position: static !important;
    padding: 56px 20px 0;
  }

  .v2-hero-shell .thx .tdek {
    max-width: 44ch;
    margin: 14px auto 24px !important;
  }

  .v2-hero-shell .thx .tdek:not(.vf-body-lg) {
    font-size: 1rem;
  }

  .v2-hero-shell .thx-plate {
    position: relative !important;
    right: 0 !important;
    left: 0 !important;
    height: 300px !important;
    margin: 8px 12px 0;
    border-radius: 12px !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .v2-hero-shell--image-focus .thx-in {
    height: auto;
  }

  .v2-hero-shell--image-focus .thx-plate {
    margin: 0 12px !important;
    border-radius: 0 0 16px 16px !important;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 42%) !important;
    mask-image: linear-gradient(180deg, transparent 0, #000 42%) !important;
  }

  .v2-hero-shell .thx-over {
    position: static !important;
    height: auto !important;
    padding: 0 20px;
  }

  .v2-hero-shell .thx-quote {
    position: static !important;
    width: auto !important;
    max-width: none !important;
    margin: 16px 0;
  }
}

@media (max-width: 767px) {
  .v2-hero-shell.v2-hero-shell--image-focus {
    /* Keep the first-view height stable while mobile browser chrome expands/collapses. */
    min-height: calc(100vh - 20px);
    min-height: calc(100svh - 20px);
  }

  .v2-hero-shell .nav-spacer {
    height: 4.125rem;
  }

  .v2-hero-shell .thx-copy {
    padding: 60px 12px 0;
  }

  .v2-hero-shell .thx-plate {
    height: 220px !important;
    margin: 8px 12px 0 !important;
  }

  .v2-hero-shell--image-focus .thx-plate {
    height: 330px !important;
    margin: 0 12px !important;
  }

  .v2-hero-shell .thx .tph[data-serim-lab-hero],
  .v2-hero-shell .thx .tph[data-serim-final-hero] {
    /* Keep the scent-evaluation researcher visible as the sides crop. */
    object-position: 40% 0%;
  }

  .v2-hero-shell .thx .tph[data-serim-final-hero] {
    /* Enlarge the lab slightly; balance top/bottom trimming around its focal point. */
    transform: scale(1.07);
    transform-origin: 40% 50%;
  }

  .v2-hero-shell .thx-over {
    padding: 0 12px;
  }

  .v2-hero-shell [data-cs-marquee] > div:first-child {
    display: none !important;
  }

  .v2-hero-shell [data-cs-marquee] {
    height: 52px;
    padding: 8px;
  }

  .v2-hero-shell [data-cs-marquee] button > span {
    max-width: calc(100% - 8px);
  }

  .v2-hero-shell [data-cs-marquee] [data-g],
  .v2-hero-shell [data-cs-marquee] [data-a] {
    width: auto;
    max-width: 100%;
    height: auto !important;
    max-height: 24px;
  }

  .v2-hero-shell .thx-lock #hero-title {
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  .v2-hero-shell .thx .tdek {
    width: fit-content;
    max-width: none !important;
    margin: 20px 0 40px !important;
  }

  .v2-hero-shell .thx .tdek:not(.vf-body-lg) {
    font-size: 18px;
    line-height: 1.6;
  }

  .v2-hero-shell .vf-cta-hero {
    max-width: 100% !important;
  }

  .v2-hero-shell .vf-cta .vf-cta-in input {
    font-size: 1rem !important;
  }

  .v2-hero-shell .vf-cta .vf-cta-btn {
    min-height: 44px;
    padding: 12px 16px 10px;
  }

  .v2-hero-shell .vf-cta-bar {
    padding: 5px;
  }
}

@media (max-width: 479px) {
  .v2-hero-shell .thx-quote p[data-cs-quote] {
    font-size: 1rem !important;
  }
}

/* Keep the copy in flow and use the remaining viewport height for the image.
   On very short screens, content can grow instead of clipping text or controls. */
.v2-hero-shell--image-focus .thx {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
}

.v2-hero-shell--image-focus .nav-spacer,
.v2-hero-shell--image-focus .hero__marquee--scroll {
  flex: none;
}

.v2-hero-shell--image-focus .thx-body {
  display: grid;
  flex: 1 0 auto;
  grid-template-rows: auto minmax(160px, 1fr);
  height: auto !important;
}

.v2-hero-shell--image-focus .thx-in {
  width: 100%;
  height: auto;
}

.v2-hero-shell--image-focus .thx-plate {
  position: relative !important;
  inset: auto !important;
  height: auto !important;
  margin: 0 12px !important;
}

@media (max-width: 767px) {
  .v2-hero-shell--image-focus .thx-body {
    /* Do not let the collapsing address bar redistribute height into the artwork. */
    grid-template-rows: auto 330px;
  }

  .v2-hero-shell--image-focus .thx-plate {
    flex: none;
    height: 330px !important;
    min-height: 330px;
    max-height: 330px;
  }
}

@media (min-width: 992px) {
  .v2-hero-shell--image-focus .thx-body {
    grid-template-rows: auto minmax(60px, 1fr);
  }

  .v2-hero-shell--image-focus .thx-copy {
    position: static !important;
    padding: 56px 20px 0;
  }

  .v2-hero-shell--image-focus .thx-plate {
    /* Retain the fade behind the CTA; 60px track + overlap leaves 120px of image. */
    margin-top: -60px !important;
  }
}

/* CTA rules intentionally follow the breakpoint rules, matching the source cascade. */
.v2-hero-shell .vf-cta-hero {
  display: block;
  width: 100%;
  max-width: 332px;
  margin: 0 auto;
}

.v2-hero-shell .vf-cta.sm .vf-cta-bar {
  gap: 4px;
  padding: 6px;
  border-radius: 10px;
}

.v2-hero-shell .vf-cta.sm .vf-cta-in {
  gap: 0;
  padding: 0 4px 0 10px;
}

.v2-hero-shell .vf-cta.sm .vf-cta-in input {
  padding: 10px 0 8px;
  font-size: var(--vfc-font-size-default);
  line-height: 20px;
}

.v2-hero-shell .vf-cta.sm .vf-cta-state {
  width: 16px;
  height: 16px;
}

.v2-hero-shell .vf-cta.sm .vf-cta-btn {
  padding: 10px 14px 8px;
  font-size: var(--vfc-font-size-default);
  line-height: 20px;
  border-radius: 8px;
}

.v2-hero-shell .vf-cta.sm .vf-cta-err {
  margin-top: 8px;
  font-size: var(--vfc-font-size-caption);
  text-align: center;
}

.v2-hero-shell .vf-cta {
  width: 100%;
}

.v2-hero-shell .vf-cta-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: var(--vfc-color-font-light);
  border: 1px solid var(--vfc-color-neutral-light-neutrals-light-100);
  border-radius: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.v2-hero-shell .vf-cta-bar:focus-within {
  border-color: var(--vfc-color-accent-accent-500);
  box-shadow: var(--vfc-field-focus-ring);
}

.v2-hero-shell .vf-cta-bar:hover:not(:focus-within) {
  border-color: var(--vfc-color-neutral-light-neutrals-light-200);
}

.v2-hero-shell .vf-cta-bar.is-invalid,
.v2-hero-shell .vf-cta.is-invalid .vf-cta-bar {
  border-color: var(--vfc-color-alert-alert-600);
  box-shadow: 0 0 0 1px var(--vfc-color-alert-alert-600);
}

.v2-hero-shell .vf-cta-in {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0 8px 0 14px;
}

.v2-hero-shell .vf-cta-in input {
  flex: 1;
  min-width: 0;
  padding: 14px 0 12px;
  color: var(--vfc-color-font-default);
  font: 400 17px/24px var(--font-sans);
  background: transparent;
  border: 0;
  outline: none;
}

.v2-hero-shell .vf-cta-in input::placeholder {
  color: var(--vfc-field-placeholder);
  opacity: 1;
}

.v2-hero-shell .vf-cta-state {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  opacity: 0;
  transition: opacity 0.15s;
}

.v2-hero-shell .vf-cta.is-busy .vf-cta-state,
.v2-hero-shell .vf-cta.is-valid .vf-cta-state,
.v2-hero-shell .vf-cta.is-invalid .vf-cta-state {
  opacity: 1;
}

.v2-hero-shell .vf-cta-spin {
  display: none;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--vfc-color-neutral-light-neutrals-light-200);
  border-top-color: var(--vfc-color-neutral-light-neutrals-light-800);
  border-radius: 50%;
  animation: vf-spin 1s linear infinite;
}

.v2-hero-shell .vf-cta.is-busy .vf-cta-spin {
  display: block;
}

.v2-hero-shell .vf-cta-tick,
.v2-hero-shell .vf-cta-warn {
  display: none;
}

.v2-hero-shell .vf-cta.is-valid .vf-cta-tick {
  display: block;
  color: var(--vfc-color-success-success-600);
}

.v2-hero-shell .vf-cta.is-invalid .vf-cta-warn {
  display: block;
  color: var(--vfc-color-alert-alert-600);
}

@keyframes vf-spin {
  to {
    transform: rotate(360deg);
  }
}

.v2-hero-shell .vf-cta-btn {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 22px 13px;
  color: var(--vfc-color-font-light);
  font: 600 16px/20px var(--font-sans);
  cursor: pointer;
  appearance: none;
  background: var(--vfc-color-accent-accent-500);
  border: 0;
  border-radius: 10px;
  box-shadow: var(--vf-btn-shadow);
  transition: background 0.15s, box-shadow 0.15s;
}

.v2-hero-shell .vf-cta-btn:hover {
  background: var(--vfc-color-accent-accent-600);
  box-shadow: var(--vf-btn-shadow-hover);
}

.v2-hero-shell .vf-cta-btn:active {
  background: var(--vfc-color-accent-accent-700);
  box-shadow: var(--vf-btn-shadow-active);
}

.v2-hero-shell .vf-cta-btn:focus-visible {
  outline: 0;
}

.v2-hero-shell .vf-cta-btn:disabled {
  cursor: default;
  background: var(--vfc-color-accent-accent-500);
}

.v2-hero-shell .vf-cta-err {
  display: none;
  margin: 10px 2px 0;
  color: var(--vfc-color-alert-alert-600);
  font: 400 13px/18px var(--font-sans);
  text-align: left;
}

.v2-hero-shell .vf-cta-btn-spin {
  flex: none;
  width: 14px;
  height: 14px;
  border: 1.5px solid #ffffff59;
  border-top-color: var(--vfc-color-font-light);
  border-radius: 50%;
  animation: vf-spin 1s linear infinite;
}

.v2-hero-shell .vf-cta.is-invalid .vf-cta-err {
  display: block;
}

/* Customer-story tab geometry is also declared here; inline state values remain authoritative. */
.v2-hero-shell [data-cs-marquee] {
  position: relative;
  display: flex;
  flex: none;
  box-sizing: border-box;
  height: 56px;
  padding: 8px;
}

.v2-hero-shell [data-cs-marquee] > div:first-child {
  display: flex;
  flex: 0 0 16.6667%;
  align-items: center;
  margin-right: 4px;
  padding-left: 18px;
  color: #737373;
  font-family: var(--font-sans);
  font-size: var(--vfc-font-size-caption);
  font-weight: 600;
}

.v2-hero-shell [data-cs-marquee] button {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-width: 0;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--vfc-color-neutral-light-neutrals-light-100);
  cursor: pointer;
}

.v2-hero-shell [data-cs-marquee] button:last-child {
  border-right: 0;
}

.v2-hero-shell [data-cs-marquee] button > span:first-child {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2-hero-shell [data-cs-marquee] [data-g] {
  display: block;
  height: 28px;
}

.v2-hero-shell [data-cs-marquee] [data-a] {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

.v2-hero-shell [data-cs-marquee] [data-bar] {
  position: absolute;
  left: 0;
  width: 0;
  height: 2px;
  background: #666;
  transition: none;
}

/* The Serim client-logo marquee reuses the source track in this normal-flow slot. */
.v2-hero-shell [data-cs-marquee].hero__marquee {
  position: relative;
  inset: auto;
  z-index: 1;
  display: block;
  flex: none;
  box-sizing: border-box;
  width: 100%;
  height: 72px;
  padding: 24px 0;
  overflow: hidden;
  color: #38414a;
  background: #fff;
}

.v2-hero-shell [data-cs-marquee].hero__marquee > .hero__marquee-filter {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.v2-hero-shell [data-cs-marquee].hero__marquee > .hero__marquee-container {
  display: block !important;
  flex: none;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0;
}

/* Source-parity label, kept out of flow so the centered logo track never moves. */
.v2-hero-shell [data-cs-marquee].hero__marquee::before {
  content: "Customer stories";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  display: flex;
  flex: 0 0 16.6667%;
  box-sizing: border-box;
  width: 16.6667%;
  min-width: 180px;
  align-items: center;
  margin: 0;
  padding: 0 40px 0 20px;
  color: #737373;
  background: linear-gradient(to right, #fff 0%, #fff 80%, rgb(255 255 255 / 0%) 100%);
  font-family: var(--font-sans);
  font-size: var(--vfc-font-size-caption);
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
  pointer-events: none;
}

@media (max-width: 767px) {
  .v2-hero-shell [data-cs-marquee].hero__marquee::before {
    display: none;
  }
}

.v2-hero-shell [data-cs-marquee].hero__marquee .hero__marquee-mask {
  width: 100%;
}

.v2-hero-shell [data-cs-marquee].hero__marquee .hero__marquee-track {
  animation-duration: 34s;
}

.v2-hero-shell [data-cs-marquee].hero__marquee .hero__marquee-logo {
  opacity: 1;
  filter: var(--marquee-logo-filter);
  -webkit-filter: var(--marquee-logo-filter);
}

.v2-hero-shell [data-cs-marquee].hero__marquee .hero__marquee-logo--preserve-color {
  filter: none;
  -webkit-filter: none;
}

.v2-hero-shell .hw {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  animation: hero-word 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}

@keyframes hero-word {
  to {
    opacity: 1;
    transform: none;
  }
}

.v2-hero-shell .thx-plate .tph {
  opacity: 0;
  transition: opacity 0.45s;
}

.v2-hero-shell .thx-plate[data-plate="turo"] .tph[data-brand="turo"],
.v2-hero-shell .thx-plate[data-plate="superloop"] .tph[data-brand="superloop"],
.v2-hero-shell .thx-plate[data-plate="stubhub"] .tph[data-brand="stubhub"],
.v2-hero-shell .thx-plate[data-plate="sanlam"] .tph[data-brand="sanlam"],
.v2-hero-shell .thx-plate[data-plate="trilogy"] .tph[data-brand="trilogy"] {
  opacity: 1;
}

.v2-hero-shell .thx-plate .tph[data-plate-rotation-image] {
  z-index: 1;
}

.v2-hero-shell .thx-plate.is-rotation-alt-visible .tph[data-plate-rotation-image] {
  opacity: 1;
}

/* Show the approved artwork immediately, including before JavaScript loads. */
.v2-hero-shell .thx-plate .tph[data-plate-default-image] {
  z-index: 2;
  opacity: 1;
}

.v2-hero-shell .thx-plate.is-rotation-comparison-visible .tph[data-plate-default-image],
.v2-hero-shell .thx-plate.is-rotation-previous-visible .tph[data-plate-default-image],
.v2-hero-shell .thx-plate.is-rotation-alt-visible .tph[data-plate-default-image] {
  opacity: 0;
}

.v2-hero-shell .thx-plate .tph[data-plate-comparison-image] {
  z-index: 2;
}

.v2-hero-shell .thx-plate .tph[data-plate-comparison-image].is-rotation-active {
  opacity: 1;
}

/* Temporary quote-card control. Remove data-plate-comparison-test to disable. */
.v2-hero-shell .thx-quote-next {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
  appearance: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.v2-hero-shell .thx-quote-next:disabled {
  cursor: progress;
}

.v2-hero-shell .thx-quote-next:focus-visible {
  outline: 3px solid #4772ad;
  outline-offset: 4px;
}

.v2-hero-shell .thx-comparison-status {
  margin: 12px 0 0;
  color: #526478;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .v2-hero-shell .thx-quote.is-comparison-test {
    /* Keep the full-card button inside the now in-flow mobile/tablet card. */
    position: relative !important;
    inset: auto !important;
  }
}

.v2-hero-shell .hero-pop {
  opacity: 0;
  animation: hero-pop 0.26s cubic-bezier(0.2, 0.7, 0.3, 1) 0.595s forwards;
}

@keyframes hero-pop {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* The white reference hero needs a dark header only before the sticky state begins. */
html:has(body.home-page.vf-hero-reference) {
  --page-bg: #f2f7f7;
}

body.vf-hero-reference {
  background: var(--page-bg);
}

body.vf-hero-reference:not(.is-menu-open) .site-header:not(.is-scrolled) {
  color: #1a1e23;
}

body.vf-hero-reference:not(.is-menu-open) .site-header:not(.is-scrolled) .site-logo__image {
  filter: none;
}

body.vf-hero-reference:not(.is-menu-open) .site-header:not(.is-scrolled) .menu-toggle,
body.vf-hero-reference:not(.is-menu-open) .site-header:not(.is-scrolled) .language-switcher__button,
body.vf-hero-reference:not(.is-menu-open) .site-header:not(.is-scrolled) .language-switcher__button-title,
body.vf-hero-reference:not(.is-menu-open) .site-header:not(.is-scrolled) > .site-nav > .site-nav__link,
body.vf-hero-reference:not(.is-menu-open) .site-header:not(.is-scrolled) > .site-nav > .site-nav__item > .site-nav__link,
body.vf-hero-reference:not(.is-menu-open) .site-header:not(.is-scrolled) .header-contact-button {
  color: #1a1e23;
}

body.vf-hero-reference:not(.is-menu-open) .site-header:not(.is-scrolled) .header-contact-button,
body.vf-hero-reference:not(.is-menu-open) .site-header:not(.is-scrolled) .header-contact-button:hover,
body.vf-hero-reference:not(.is-menu-open) .site-header:not(.is-scrolled) .header-contact-button:focus-visible {
  box-shadow: inset 0 0 0 1px #1a1e2333;
}

body.vf-hero-reference .site-header.is-scrolled .site-logo__image,
body.vf-hero-reference.is-menu-open .site-header .site-logo__image {
  filter: brightness(0) invert(1);
}

body.vf-hero-reference .site-header.is-scrolled,
body.vf-hero-reference.is-menu-open .site-header {
  color: var(--serim-white);
  background-color: #000;
}

body.vf-hero-reference .site-header.is-scrolled .menu-toggle,
body.vf-hero-reference .site-header.is-scrolled .language-switcher__button,
body.vf-hero-reference .site-header.is-scrolled .language-switcher__button-title,
body.vf-hero-reference .site-header.is-scrolled > .site-nav > .site-nav__link,
body.vf-hero-reference .site-header.is-scrolled > .site-nav > .site-nav__item > .site-nav__link,
body.vf-hero-reference .site-header.is-scrolled .header-contact-button,
body.vf-hero-reference.is-menu-open .site-header .menu-toggle,
body.vf-hero-reference.is-menu-open .site-header .language-switcher__button,
body.vf-hero-reference.is-menu-open .site-header .language-switcher__button-title,
body.vf-hero-reference.is-menu-open .site-header > .site-nav > .site-nav__link,
body.vf-hero-reference.is-menu-open .site-header > .site-nav > .site-nav__item > .site-nav__link,
body.vf-hero-reference.is-menu-open .site-header .header-contact-button {
  color: var(--serim-white);
}

/* Shared hero description typography for Korean and English home pages. */
body.home-page .v2-hero-shell .thx .tdek.hero-pop {
  font-size: 18px;
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  .v2-hero-shell .hero-scroll-cue,
  .v2-hero-shell .hero-scroll-cue__icon {
    transition: none;
  }

  .v2-hero-shell .hero-scroll-cue:hover .hero-scroll-cue__icon {
    transform: rotate(180deg);
  }

  .v2-hero-shell .thx-contact-cta,
  .v2-hero-shell .thx-contact-arrow-shaft,
  .v2-hero-shell .thx-contact-arrow-head {
    transition: none;
  }

  .v2-hero-shell .thx-contact-cta:is(:active, .is-thx-contact-pressed) {
    scale: 1;
  }

  .v2-hero-shell .hw,
  .v2-hero-shell .hero-pop {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .v2-hero-shell .vf-cta-spin,
  .v2-hero-shell .vf-cta-btn-spin {
    animation: none;
  }

  .v2-hero-shell .thx-plate .tph,
  .v2-hero-shell [data-cs-marquee] [data-a],
  .v2-hero-shell [data-cs-marquee] [data-bar] {
    transition: none;
  }
}
