:root {
  --xiu-cyan: oklch(86.5% 0.127 207.078);
  --xiu-cyan-soft: oklch(91.7% 0.08 205.041);
  --xiu-night: #071017;
  --xiu-raised: #0b1520;
  --xiu-text: oklch(86.9% 0.022 252.894);
  --xiu-muted: oklch(70.4% 0.04 256.788);
  --xiu-ink: oklch(12.9% 0.042 264.695);
  --xiu-rule: rgb(255 255 255 / 0.1);
  --xiu-container: 1180px;
}

html {
  scroll-padding-top: 70px;
}

body {
  overflow-x: clip;
}

html[lang="ko-KR"] [data-ko] {
  word-break: keep-all;
  overflow-wrap: break-word;
}

html[lang="ko-KR"] p[data-ko],
html[lang="ko-KR"] p:has(> [data-ko]) {
  text-wrap: pretty;
}

button,
a,
summary {
  -webkit-tap-highlight-color: rgb(83 234 253 / 0.18);
}

.site-header {
  background: rgb(7 16 23 / 0.96);
}

.site-header__inner {
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}

.site-brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.header-cta {
  min-height: 44px;
}

.language-switcher {
  min-height: 44px;
  align-items: stretch;
}

.language-switcher button {
  min-width: 36px;
  min-height: 38px;
}

.hero {
  min-height: clamp(620px, calc(100svh - 70px), 900px);
}

.hero__inner {
  min-height: clamp(620px, calc(100svh - 70px), 900px);
}

.hero__media {
  object-position: 52% center;
  scale: 1.015;
}

.hero__shade {
  background:
    linear-gradient(90deg, #071017 0%, rgb(7 16 23 / 0.94) 35%, rgb(7 16 23 / 0.56) 66%, rgb(7 16 23 / 0.14) 100%),
    linear-gradient(0deg, rgb(7 16 23 / 0.42), transparent 55%);
}

.hero__copy {
  position: relative;
  padding: clamp(34px, 5vw, 70px) 0;
}

.hero__title {
  max-width: min(100%, 10em);
  font-size: clamp(3rem, 5.4vw, 4.6rem) !important;
  line-height: 0.98;
  letter-spacing: -0.04em;
  word-break: keep-all;
  text-wrap: balance;
}

html[lang="ko-KR"] .hero__title {
  max-width: 10.5em;
}

.hero__lede {
  color: var(--xiu-text);
}

.hero__actions a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero__responsibility {
  width: min(100%, 620px);
  margin-top: clamp(44px, 7vh, 72px);
  padding-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgb(162 244 253 / 0.36);
  color: var(--xiu-cyan-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__responsibility span {
  position: relative;
  padding-right: 16px;
}

.hero__responsibility span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 16px;
  width: 1px;
  height: 12px;
  background: rgb(255 255 255 / 0.18);
}

.promise {
  background: var(--xiu-raised);
}

.promise__inner {
  min-height: 150px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
}

.promise__mark {
  width: clamp(48px, 5vw, 66px);
  height: auto;
}

.promise__statement {
  max-width: 900px;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1.4;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: clamp(32px, 8vw, 110px);
}

.section-heading > h2 {
  max-width: 13ch;
  font-size: clamp(2.35rem, 4.4vw, 3.4rem);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

html[lang="ko-KR"] .section-heading > h2 {
  max-width: 12em;
  word-break: keep-all;
}

.section-heading > p {
  margin-top: 0;
  padding-bottom: 4px;
  color: var(--xiu-text);
  font-size: 16px;
}

.capability-grid {
  gap: 0;
  border-top: 1px solid rgb(162 244 253 / 0.3);
  border-bottom: 1px solid var(--xiu-rule);
}

.capability-card {
  min-height: 310px;
  padding: 34px clamp(24px, 3vw, 42px) 36px;
  border-top: 0;
}

.capability-card + .capability-card {
  border-left: 1px solid var(--xiu-rule);
}

.capability-card__step {
  display: grid;
  gap: 12px;
  color: var(--xiu-cyan-soft);
}

.capability-card__index {
  color: var(--xiu-cyan);
  font-size: clamp(2.8rem, 4.8vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.capability-card__title {
  max-width: 11ch;
  margin-top: 34px;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

html[lang="ko-KR"] .capability-card__title {
  max-width: 10em;
  word-break: keep-all;
}

.capability-card__copy {
  color: var(--xiu-muted);
  font-size: 16px;
}

.products {
  position: relative;
}

.product-grid {
  gap: clamp(16px, 2vw, 26px);
}

.product-card {
  min-height: 460px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 52px);
}

.product-card__category {
  max-width: 28ch;
  line-height: 1.5;
}

.product-card__name {
  margin-top: clamp(40px, 6vw, 72px);
  font-size: clamp(3.2rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.product-card__promise {
  max-width: 22ch;
  margin-top: 22px;
  color: white;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

html[lang="ko-KR"] .product-card__promise {
  max-width: 19em;
}

.product-card__copy {
  color: var(--xiu-text);
  font-size: 16px;
}

.product-card__link {
  min-height: 48px;
  margin-top: auto;
  padding-top: 30px;
  align-items: center;
  border-top: 1px solid var(--xiu-rule);
  font-size: 16px;
}

.approach__heading h2 {
  position: sticky;
  top: 126px;
  max-width: 10ch;
  font-size: clamp(2.6rem, 4.8vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

html[lang="ko-KR"] .approach__heading h2 {
  max-width: 8em;
  word-break: keep-all;
}

.approach__list {
  border-top: 1px solid rgb(162 244 253 / 0.3);
}

.principle {
  min-height: 146px;
  display: flex;
  align-items: center;
}

.principle p {
  max-width: 38ch;
  color: white;
  font-size: clamp(1.25rem, 2.35vw, 1.75rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

html[lang="ko-KR"] .principle p {
  max-width: 30em;
}

.contact-panel {
  min-height: 360px;
  padding: clamp(32px, 6vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(250px, auto);
  border-color: rgb(162 244 253 / 0.34);
}

.contact-panel__copy h2 {
  max-width: 15ch;
  font-size: clamp(2.65rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

html[lang="ko-KR"] .contact-panel__copy h2 {
  max-width: 11em;
  word-break: keep-all;
}

.contact-panel__copy p {
  color: var(--xiu-text);
  font-size: 16px;
}

.contact-panel__action {
  min-height: 64px;
  padding-inline: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 16px;
}

.site-footer__grid {
  align-items: start;
}

.site-footer__brand > p {
  color: var(--xiu-text);
}

.site-footer__address {
  font-style: normal;
}

.site-footer__links a {
  min-height: 34px;
  display: flex;
  align-items: center;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    border-color: rgb(162 244 253 / 0.5);
  }
}

@media (pointer: coarse) {
  .site-footer a,
  .product-card__link,
  .language-switcher button {
    min-height: 44px;
  }
}

@media (min-width: 1024px) {
  .site-header__inner,
  .hero__inner,
  .promise__inner,
  .site-footer__inner {
    padding-left: max(2rem, env(safe-area-inset-left));
    padding-right: max(2rem, env(safe-area-inset-right));
  }

  .hero__copy {
    margin-top: 4vh;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 720px) minmax(0, 1fr);
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.5fr) minmax(170px, 0.75fr);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .site-header__inner {
    gap: 16px;
  }

  .header-cta {
    display: none !important;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-card:nth-child(3) {
    grid-column: 1 / -1;
    min-height: 260px;
    border-top: 1px solid var(--xiu-rule);
    border-left: 0;
  }

  .product-card {
    min-height: 400px;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 70px;
  }

  .site-header__inner {
    gap: 10px;
  }

  .site-brand svg {
    width: 27px;
    height: 27px;
  }

  .site-brand .text-\[19px\] {
    font-size: 17px;
  }

  .language-switcher {
    margin-left: auto;
  }

  .language-switcher button {
    min-width: 34px;
  }

  .header-cta {
    display: none !important;
  }

  .hero,
  .hero__inner {
    min-height: clamp(650px, calc(100svh - 70px), 820px);
  }

  .hero__inner {
    padding-top: 74px;
    padding-bottom: 56px;
    align-items: end;
  }

  .hero__media {
    object-position: 62% center;
    scale: 1.04;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgb(7 16 23 / 0.94) 0%, rgb(7 16 23 / 0.78) 58%, rgb(7 16 23 / 0.28) 100%),
      linear-gradient(0deg, #071017 0%, rgb(7 16 23 / 0.76) 45%, rgb(7 16 23 / 0.2) 82%);
  }

  .hero__title {
    max-width: 100%;
    font-size: clamp(2.15rem, 10.25vw, 2.5rem) !important;
    line-height: 0.98;
  }

  html[lang="ko-KR"] .hero__title {
    max-width: 100%;
  }

  .hero__lede {
    max-width: 35ch;
    font-size: 16px;
    line-height: 1.7;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__actions a {
    padding-inline: 16px;
  }

  .hero__responsibility {
    margin-top: 44px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .promise__inner {
    min-height: 0;
    padding-top: 42px;
    padding-bottom: 42px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 20px;
  }

  .promise__mark {
    width: 42px;
  }

  .promise__statement {
    font-size: 1.18rem;
    line-height: 1.5;
  }

  .capabilities,
  .products,
  .approach,
  .contact {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > h2 {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }

  html[lang="ko-KR"] .section-heading > h2 {
    max-width: 9em;
  }

  .section-heading > p {
    margin-top: 24px;
    font-size: 16px;
  }

  .capability-grid {
    display: block;
    margin-top: 42px;
  }

  .capability-card {
    min-height: 0;
    padding: 30px 0 34px;
  }

  .capability-card + .capability-card {
    border-top: 1px solid var(--xiu-rule);
    border-left: 0;
  }

  .capability-card__step {
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 18px;
  }

  .capability-card__index {
    font-size: 2.5rem;
  }

  .capability-card__title {
    max-width: none;
    margin-top: 24px;
    font-size: 1.55rem;
  }

  .product-grid {
    margin-top: 42px;
  }

  .product-card {
    min-height: 410px;
    padding: 26px;
  }

  .product-card__name {
    margin-top: 44px;
    font-size: clamp(3rem, 15vw, 4.3rem);
  }

  .product-card__promise {
    max-width: 19ch;
  }

  html[lang="ko-KR"] .product-card__promise {
    max-width: 100%;
  }

  .approach__inner {
    gap: 42px;
  }

  .approach__heading h2 {
    position: static;
    max-width: 11ch;
    font-size: clamp(2.7rem, 12vw, 3.6rem);
  }

  html[lang="ko-KR"] .approach__heading h2 {
    max-width: 8em;
  }

  .principle {
    min-height: 130px;
  }

  .principle p {
    font-size: 1.3rem;
  }

  .contact-panel {
    min-height: 0;
    padding: 22px;
    grid-template-columns: 1fr;
  }

  .contact-panel__copy h2 {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 3.4rem);
  }

  html[lang="ko-KR"] .contact-panel__copy h2 {
    max-width: 100%;
  }

  .contact-panel__action {
    width: 100%;
  }

  .site-footer__grid {
    gap: 34px;
  }

  .site-footer__links a {
    min-height: 44px;
  }
}

@media (max-width: 359px) {
  .site-header__inner {
    gap: 6px;
  }

  .site-brand span span:last-child {
    font-size: 16px;
  }

  .language-switcher button {
    min-width: 31px;
    padding-inline: 6px;
  }

  .hero__actions {
    grid-template-columns: 1fr;
  }

  .hero__responsibility {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero__responsibility span:not(:last-child)::after {
    display: none;
  }

  .promise__inner {
    grid-template-columns: 1fr;
  }

  .promise__mark {
    width: 38px;
  }
}

@media (max-height: 650px) and (orientation: landscape) {
  .hero,
  .hero__inner {
    min-height: 600px;
  }

  .hero__inner {
    padding-top: 48px;
    padding-bottom: 48px;
    align-items: center;
  }

  .hero__responsibility {
    margin-top: 30px;
  }
}

@media print {
  .site-header,
  .hero__actions,
  .contact-panel__action {
    display: none !important;
  }

  body,
  .hero,
  .promise,
  .capabilities,
  .products,
  .approach,
  .contact,
  .site-footer {
    color: #111;
    background: #fff;
  }

  .hero,
  .hero__inner {
    min-height: auto;
  }

  .hero__media,
  .hero__shade,
  .hero__fade {
    display: none;
  }

  a {
    color: #111;
    text-decoration: underline;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media {
    scale: 1;
  }
}
