@font-face {
  font-family: 'STNF Noto Sans KR';
  src: url('/fonts/noto-sans-kr-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'STNF Noto Sans KR';
  src: url('/fonts/noto-sans-kr-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'STNF Noto Sans KR';
  src: url('/fonts/noto-sans-kr-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'STNF Noto Sans KR';
  src: url('/fonts/noto-sans-kr-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --stnf-header-height: 80px;
  --stnf-page-gutter: 80px;
  --stnf-accent: #e32636;
  --stnf-focus: #48d5ff;
}

.stnf-page,
.stnf-page * {
  box-sizing: border-box;
}

.stnf-page {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  min-width: 320px;
  color: #15202a;
  background: #fff;
  font-family: 'STNF Noto Sans KR', Arial, sans-serif;
}

.stnf-page > main {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
}

/* Checkout pages keep their legacy form layout below the in-flow common header. */
.stnf-page--checkout .sma-service #mForm .sma-title-form {
  margin-top: 20px !important;
}

.stnf-page--checkout img.myImg {
  display: inline-block;
}

.stnf-page.stnf-menu-open {
  overflow: hidden;
}

.stnf-page a {
  color: inherit;
}

.stnf-page img {
  display: block;
  height: auto;
}

.stnf-page button,
.stnf-page a {
  -webkit-tap-highlight-color: transparent;
}

.stnf-page :focus-visible {
  outline: 2px solid var(--stnf-focus);
  outline-offset: 3px;
}

/* Header */
.stnf-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--stnf-header-height);
  background: #fff;
}

.stnf-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--stnf-page-gutter);
}

.stnf-header__brand,
.stnf-header__company {
  display: inline-flex;
  align-items: center;
}

.stnf-header__brand {
  flex: 0 0 auto;
}

.stnf-header__logo {
  width: 150px;
}

.stnf-header__desktop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 50px;
  height: 100%;
}

.stnf-services {
  height: 100%;
}

.stnf-services__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 0;
  color: #15202a;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.stnf-services__chevron {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  background: url('/images/stnf-common/Arrow Drop Down.svg') center / contain no-repeat;
}

.stnf-services__toggle[aria-expanded='true'] .stnf-services__chevron {
  background-image: url('/images/stnf-common/Arrow Drop Up.svg');
}

.stnf-services__menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 410px;
  padding: 3px 0 5px;
  background: #fff;
  border-right: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
  border-left: 8px solid var(--stnf-accent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  color: #1f303c;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms;
}

.stnf-services__menu.stnf-services__menu--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.stnf-services__menu,
.stnf-mobile-menu__nav {
  font-size: 18px;
  font-weight: 700;
  line-height: 16px;
  text-transform: uppercase;
}

.stnf-services__menu a,
.stnf-services__coming-soon,
.stnf-mobile-menu__nav a,
.stnf-mobile-menu__coming-soon {
  display: flex;
  align-items: center;
  font-weight: inherit;
  text-decoration: none;
}

.stnf-services__menu a,
.stnf-services__coming-soon {
  height: 50px;
  padding: 0 36px;
}

.stnf-services__menu a:hover,
.stnf-mobile-menu__nav a:hover {
  color: var(--stnf-accent);
}

.stnf-services__menu a[aria-current='page'],
.stnf-mobile-menu__nav a[aria-current='page'] {
  color: var(--stnf-accent);
}

.stnf-services__coming-soon {
  color: #313b42;
}

.stnf-services__coming-soon small,
.stnf-mobile-menu__coming-soon small {
  font-size: inherit;
  font-weight: 400;
  text-transform: none;
}

.stnf-services__coming-soon small {
  color: #aaa;
}

.stnf-header__company img {
  width: 200px;
}

.stnf-menu-button {
  display: none;
}

.stnf-menu-backdrop,
.stnf-mobile-menu {
  display: none;
}

/* Banner */
.stnf-banner {
  padding: 0 var(--stnf-page-gutter) 36px;
  background: #fff;
}

.stnf-banner__image {
  position: relative;
  display: flex;
  align-items: center;
  height: 85vh;
  overflow: hidden;
  border-radius: 50px;
  background:
    linear-gradient(90deg, rgba(7, 19, 27, 0.78) 0%, rgba(7, 19, 27, 0.08) 68%),
    var(
        --stnf-banner-image,
        url('/static/images/prcoater/banner-prcoater.jpg')
      )
      center / cover no-repeat;
}

.stnf-banner__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  max-width: none;
  padding: 0;
  color: #fff;
}

.stnf-banner__eyebrow,
.stnf-content__eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.stnf-banner h1 {
  margin: 0;
  font-size: 60px;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.stnf-banner__subtitle {
  margin: 20px 0 0;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.45;
}

.stnf-home-banner .stnf-banner__image {
  background:
    linear-gradient(90deg, rgba(7, 19, 27, 0.68) 0%, rgba(7, 19, 27, 0.04) 70%),
    var(--stnf-banner-image) center / cover no-repeat;
}

.stnf-home-banner .stnf-banner__content {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: none;
  padding: clamp(36px, 6vw, 76px);
}

.stnf-home-banner h1 {
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-transform: none;
}

@media (min-width: 1360px) {
  .stnf-home-banner h1 {
    white-space: nowrap;
  }
}

.stnf-banner__heading {
  position: absolute;
  top: 34%;
  left: 170px;
}

.stnf-banner__heading h1 {
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.stnf-banner--inquiry .stnf-banner__heading {
  top: 42%;
  right: clamp(72px, 9vw, 170px);
}

.stnf-banner--inquiry .stnf-banner__heading h1 {
  text-transform: none;
}

.stnf-content-header {
  margin: 0 0 48px;
  color: #111;
  text-align: center;
}

.stnf-content-title {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
}

.stnf-content-description {
  margin: 14px 0 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}

.stnf-banner__service {
  position: absolute;
  right: 270px;
  bottom: 10%;
  left: 170px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.stnf-banner__description {
  max-width: 920px;
  color: #d4d4d4;
}

.stnf-banner__description h2 {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
}

.stnf-banner__description p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.stnf-banner .stnf-banner__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 200px;
  height: 60px;
  color: var(--stnf-accent);
  background: #fff;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.stnf-banner .stnf-banner__action:hover {
  color: #fff;
  background: var(--stnf-accent);
}

.stnf-banner__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

/* Content: warm gray identifies the replaceable page body. */
.stnf-content {
  flex: 1 0 auto;
  min-height: 480px;
  padding: 96px var(--stnf-page-gutter);
  background: #ebe8e1;
}

.stnf-content__inner {
  max-width: 920px;
  margin: 0 auto;
}

.stnf-content__eyebrow {
  color: var(--stnf-accent);
}

.stnf-content h2 {
  margin: 0 0 20px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.stnf-content p:last-child {
  max-width: 680px;
  margin: 0;
  color: #54616a;
  font-size: 18px;
  line-height: 1.7;
}

/* Footer */
.stnf-footer {
  flex: 0 0 auto;
  height: 200px;
  min-height: 200px;
  padding: 68px 138px 0;
  color: #545454;
  background: #000;
  font-size: 15px;
  line-height: 1.5;
}

.stnf-footer small {
  font-size: inherit;
}

.stnf-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  height: 100%;
}

.stnf-footer__info {
  display: grid;
  grid-template-columns: 240px auto;
  column-gap: clamp(48px, 6vw, 96px);
  row-gap: 8px;
  align-items: start;
}

.stnf-footer__brand,
.stnf-footer__contact {
  display: flex;
  flex-direction: column;
}

.stnf-footer__brand {
  grid-column: 1;
  grid-row: 1;
  align-items: flex-start;
  gap: 8px;
}

.stnf-footer__brand img {
  width: 300px;
}

.stnf-footer__contact {
  grid-column: 2;
  grid-row: 1 / span 2;
  gap: 6px;
  padding-top: 4px;
}

.stnf-footer__contact a,
.stnf-footer__privacy {
  text-underline-offset: 2px;
}

.stnf-footer__privacy {
  grid-column: 1;
  grid-row: 2;
  width: max-content;
  font-weight: 700;
  text-decoration: none;
}

.stnf-footer__contact a:hover,
.stnf-footer .stnf-footer__privacy:hover {
  color: #fff;
}

.stnf-footer__social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stnf-footer__social a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 3px;
  transition: background 160ms ease;
}

.stnf-footer__social a:hover {
  background: #1e1e1e;
}

.stnf-footer__social img {
  width: 40px;
  height: 40px;
}

@media (min-width: 768px) and (max-width: 1200px) {
  .stnf-banner__image {
    background:
      linear-gradient(90deg, rgba(7, 19, 27, 0.78) 0%, rgba(7, 19, 27, 0.08) 68%),
      var(--stnf-banner-image-tablet, var(--stnf-banner-image)) center / cover
        no-repeat;
  }
}

@media (max-width: 767px) {
  :root {
    --stnf-page-gutter: 30px;
  }

  .stnf-header__logo {
    width: 120px;
  }

  .stnf-header__desktop {
    display: none;
  }

  .stnf-menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--stnf-accent);
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .stnf-menu-button img {
    width: 30px;
    height: 14px;
  }

  .stnf-menu-backdrop {
    position: fixed;
    z-index: 40;
    inset: 0;
    display: block;
    background: rgba(5, 13, 19, 0.55);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.8s ease-out,
      visibility 0s linear 0.8s;
  }

  .stnf-menu-backdrop.stnf-menu-backdrop--open {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }

  .stnf-mobile-menu {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: min(300px, 100vw);
    height: 100vh;
    height: 100dvh;
    padding: 20px 30px 30px 36px;
    padding: clamp(10px, 2.5dvh, 20px) 30px
      clamp(12px, 3.75dvh, 30px) 36px;
    overflow-y: auto;
    color: #172630;
    background: #fff;
    border-left: 8px solid var(--stnf-accent);
    box-shadow: -18px 0 50px rgba(6, 17, 24, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateX(12px);
    transition:
      opacity 0.8s ease-out,
      transform 0.8s ease-out,
      visibility 0s linear 0.8s;
  }

  .stnf-mobile-menu.stnf-mobile-menu--open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition-delay: 0s;
  }

  .stnf-mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 40px;
    min-height: clamp(32px, 5dvh, 40px);
    margin-bottom: 18px;
    margin-bottom: clamp(4px, 2dvh, 18px);
  }

  .stnf-mobile-menu__close {
    position: relative;
    width: 40px;
    height: 40px;
    width: clamp(32px, 5dvh, 40px);
    height: clamp(32px, 5dvh, 40px);
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .stnf-mobile-menu__close::before,
  .stnf-mobile-menu__close::after {
    position: absolute;
    top: calc(50% - 1px);
    left: 20%;
    width: 60%;
    height: 2px;
    background: #172630;
    content: '';
  }

  .stnf-mobile-menu__close::before {
    transform: rotate(45deg);
  }

  .stnf-mobile-menu__close::after {
    transform: rotate(-45deg);
  }

  .stnf-mobile-menu__nav {
    display: flex;
    flex-direction: column;
  }

  .stnf-mobile-menu__nav a,
  .stnf-mobile-menu__coming-soon {
    height: 70px;
    height: clamp(45px, 8dvh, 70px);
    padding: 0;
  }

  .stnf-mobile-menu__coming-soon small {
    color: #9aa3a8;
  }

  .stnf-mobile-menu__company {
    align-self: center;
    margin-top: auto;
    padding-top: 32px;
    padding-top: clamp(6px, 4dvh, 32px);
  }

  .stnf-mobile-menu__company img {
    width: 200px;
  }

  .stnf-banner {
    padding-bottom: 30px;
  }

  .stnf-banner__image {
    background:
      linear-gradient(180deg, rgba(7, 19, 27, 0.08) 20%, rgba(7, 19, 27, 0.82) 100%),
      var(
          --stnf-banner-image-mobile,
          var(
            --stnf-banner-image,
            url('/static/images/prcoater/banner-prcoater-mobile.jpg')
          )
        )
        center / cover no-repeat;
  }

  .stnf-home-banner .stnf-banner__image {
    background:
      linear-gradient(180deg, rgba(7, 19, 27, 0.08) 18%, rgba(7, 19, 27, 0.82) 100%),
      var(--stnf-banner-image-mobile, var(--stnf-banner-image)) 28% center / cover no-repeat;
  }

  .stnf-banner__content {
    padding: 0;
  }

  .stnf-home-banner .stnf-banner__content {
    padding: 30px 24px;
  }

  .stnf-banner__subtitle {
    margin-top: 10px;
    font-size: 20px;
    line-height: 1.5;
  }

  .stnf-banner__heading {
    top: 17%;
    right: 40px;
    left: 40px;
  }

  body[data-stnf-current-page='stepper-detail.html'] .stnf-banner__heading {
    transform: translateY(-30px);
  }

  .stnf-banner--inquiry .stnf-banner__heading {
    top: 20%;
    right: 40px;
  }

  .stnf-content-header {
    margin-bottom: 40px;
  }

  .stnf-content-title {
    font-size: 32px;
  }

  .stnf-content-description {
    margin-top: 10px;
    font-size: 16px;
  }

  .stnf-banner__service {
    right: 40px;
    bottom: 10%;
    left: 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 34px;
  }

  body[data-stnf-current-page='stepper-detail.html'] .stnf-banner__service,
  body[data-stnf-current-page='wirebonding-detail.html'] .stnf-banner__service {
    gap: 15px;
    transform: translateY(35px);
  }

  .stnf-banner__description h2 {
    margin-bottom: 14px;
    font-size: 20px;
  }

  .stnf-banner__actions {
    justify-content: flex-start;
  }

  .stnf-content {
    min-height: 440px;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .stnf-content p:last-child {
    font-size: 16px;
  }

  .stnf-footer {
    height: 240px;
    min-height: 240px;
    padding: 24px var(--stnf-page-gutter);
    font-size: 12px;
  }

  .stnf-footer__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  .stnf-footer__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }

  .stnf-footer__brand,
  .stnf-footer__contact {
    align-items: center;
  }

  .stnf-footer__contact a {
    font-size: 10px;
  }

  .stnf-footer__brand img {
    width: 150px;
  }

  .stnf-footer__brand {
    gap: 3px;
  }

  .stnf-footer__contact {
    gap: 1px;
    padding-top: 4px;
  }

  .stnf-footer__privacy {
    margin-top: 6px;
  }

  .stnf-footer__social {
    justify-content: center;
  }

  .stnf-footer__social a {
    width: 32px;
    height: 32px;
  }

  .stnf-footer__social img {
    width: 28px;
    height: 28px;
  }
}

/*
 * Fluid common-element sizing for browsers with CSS comparison-function support.
 * Values interpolate between the 320px mobile design and the 1200px desktop
 * design. Existing fixed declarations above remain as the legacy fallback.
 */
@supports (width: clamp(1px, 2vw, 3px)) {
  :root {
    --stnf-header-height: clamp(64px, calc(58.18px + 1.82vw), 80px);
    --stnf-page-gutter: clamp(30px, calc(11.82px + 5.68vw), 80px);
    --stnf-logo-width: clamp(120px, calc(109.09px + 3.41vw), 150px);
    --stnf-banner-height: clamp(
      520px,
      min(85vh, calc(381.82px + 43.18vw)),
      900px
    );
    --stnf-banner-radius: clamp(28px, calc(20px + 2.5vw), 50px);
    --stnf-banner-title-size: clamp(36px, calc(27.27px + 2.73vw), 60px);
    --stnf-banner-subtitle-size: clamp(18px, calc(15.45px + 0.8vw), 25px);
    --stnf-banner-service-right: clamp(
      130px,
      calc(36.67px + 12.15vw),
      270px
    );
    --stnf-banner-content-padding-block: clamp(
      30px,
      calc(13.27px + 5.23vw),
      76px
    );
    --stnf-banner-content-padding-inline: clamp(
      24px,
      calc(5.09px + 5.91vw),
      76px
    );
    --stnf-footer-height: clamp(200px, calc(254.55px - 4.55vw), 240px);
    --stnf-footer-padding-top: clamp(24px, calc(8px + 5vw), 68px);
    --stnf-footer-padding-inline: clamp(
      30px,
      calc(-9.27px + 12.27vw),
      138px
    );
    --stnf-footer-font-size: clamp(12px, calc(10.91px + 0.34vw), 15px);
    --stnf-footer-contact-size: clamp(10px, calc(8.18px + 0.57vw), 15px);
    --stnf-footer-logo-width: clamp(150px, calc(95.45px + 17.05vw), 300px);
    --stnf-footer-gap: clamp(20px, calc(9.82px + 3.18vw), 48px);
    --stnf-footer-social-size: clamp(32px, calc(27.64px + 1.36vw), 44px);
    --stnf-footer-social-icon-size: clamp(
      28px,
      calc(23.64px + 1.36vw),
      40px
    );
  }

  .stnf-header__logo {
    width: var(--stnf-logo-width);
  }

  .stnf-services__toggle {
    gap: clamp(8px, calc(4.44px + 0.46vw), 10px);
    font-size: clamp(17px, calc(11.67px + 0.69vw), 20px);
  }

  .stnf-header__desktop {
    gap: clamp(30px, calc(-5.56px + 4.63vw), 50px);
  }

  .stnf-banner__image {
    height: var(--stnf-banner-height);
    border-radius: var(--stnf-banner-radius);
  }

  .stnf-banner h1,
  .stnf-banner__heading h1 {
    font-size: var(--stnf-banner-title-size);
  }

  .stnf-banner__subtitle {
    font-size: var(--stnf-banner-subtitle-size);
  }

  .stnf-home-banner .stnf-banner__content {
    padding: var(--stnf-banner-content-padding-block)
      var(--stnf-banner-content-padding-inline);
  }

  .stnf-footer {
    height: var(--stnf-footer-height);
    min-height: var(--stnf-footer-height);
    padding: var(--stnf-footer-padding-top) var(--stnf-footer-padding-inline) 0;
    font-size: var(--stnf-footer-font-size);
  }

  .stnf-footer__inner {
    gap: var(--stnf-footer-gap);
  }

  .stnf-footer__brand img {
    width: var(--stnf-footer-logo-width);
  }

  .stnf-footer__contact a {
    font-size: var(--stnf-footer-contact-size);
  }

  .stnf-footer__social a {
    width: var(--stnf-footer-social-size);
    height: var(--stnf-footer-social-size);
  }

  .stnf-footer__social img {
    width: var(--stnf-footer-social-icon-size);
    height: var(--stnf-footer-social-icon-size);
  }

  @media (max-width: 767px) {
    .stnf-footer {
      height: auto;
    }
  }

  @media (min-width: 768px) {
    .stnf-banner__service {
      right: var(--stnf-banner-service-right);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .stnf-page *,
  .stnf-page *::before,
  .stnf-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
