@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

:root {
  --ink: #171d20;
  --body: #4f5a60;
  --muted: #7c878d;
  --line: #dce2e4;
  --paper: #ffffff;
  --mist: #f2f5f5;
  --steel: #43565d;
  --deep: #1b2428;
  --accent: #2d6d61;
  --max: 1220px;
  --header: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

html[lang="en"] body {
  word-break: normal;
}

.container {
  width: min(var(--max), calc(100% - 52px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header);
  color: #fff;
  background: rgba(34, 45, 49, .9);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.header-inner {
  width: min(var(--max), calc(100% - 52px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 460px;
  line-height: 1;
}

.brand img {
  width: 60px;
  height: 37px;
  object-fit: contain;
  flex: 0 0 auto;
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, .72))
    drop-shadow(0 4px 10px rgba(0, 0, 0, .32));
}

.brand-text {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 17px;
  min-width: 0;
}

.brand strong {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 0;
  color: #fff;
}

.brand-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: max-content;
  color: rgba(255, 255, 255, .82);
  font-size: 16.5px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.brand-co,
.brand-engineering {
  display: block;
  width: max-content;
  color: inherit;
  font: inherit;
  font-style: normal;
  line-height: 1;
  letter-spacing: inherit;
  text-transform: none;
  white-space: nowrap;
}

.brand-engineering {
  margin-top: 0;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.gnb {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2px;
  height: 100%;
  margin-left: auto;
}

.gnb-item {
  position: relative;
  display: flex;
  align-items: center;
}

.gnb-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 18px;
  color: rgba(255, 255, 255, .9);
  font-size: 15.5px;
  font-weight: 800;
}

.gnb-link:hover,
.gnb-item:focus-within .gnb-link {
  background: rgba(255, 255, 255, .09);
  color: #fff;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 190px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}

.gnb-item:hover .submenu,
.gnb-item:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.submenu a {
  display: block;
  padding: 10px 12px;
  color: #475157;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid #edf0f1;
}

.submenu a:last-child {
  border-bottom: 0;
}

.submenu a:hover {
  color: var(--accent);
  background: #f5f8f7;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.language {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 46;
  padding: 8px 12px;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-weight: 800;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  cursor: pointer;
}

.menu-toggle {
  display: block;
  position: fixed;
  top: 15px;
  right: 88px;
  z-index: 46;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #fff;
  isolation: isolate;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  cursor: pointer;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: background .28s ease, border-color .28s ease, transform .28s ease;
}

.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  pointer-events: none;
}

.menu-toggle::before {
  border: 1px solid rgba(255, 255, 255, .22);
  transform: scale(.82);
  opacity: 0;
  transition: opacity .28s ease, transform .28s ease;
}

.menu-toggle::after {
  background: conic-gradient(from 160deg, transparent 0 58%, rgba(111, 166, 154, .95) 58% 78%, transparent 78% 100%);
  opacity: .72;
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .28s ease;
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
  transition: top .28s ease, width .28s ease, transform .34s cubic-bezier(.2, .8, .2, 1), opacity .22s ease;
}

.menu-toggle span:nth-child(1) {
  top: 16px;
  width: 19px;
}

.menu-toggle span:nth-child(2) {
  top: 22px;
  width: 12px;
  margin-left: 4px;
}

.menu-toggle span:nth-child(3) {
  top: 28px;
  width: 19px;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .48);
  transform: translateY(-1px);
}

.menu-toggle:hover::before,
.menu-toggle:focus-visible::before,
.menu-toggle[aria-expanded="true"]::before {
  opacity: 1;
  transform: scale(1);
}

.menu-toggle:hover::after,
.menu-toggle:focus-visible::after,
.menu-toggle[aria-expanded="true"]::after {
  transform: rotate(220deg);
  opacity: 1;
}

.menu-toggle[aria-expanded="true"] {
  background: rgba(45, 109, 97, .92);
  border-color: rgba(255, 255, 255, .48);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 22px;
  width: 20px;
  transform: translateX(-50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: translateX(-50%) scaleX(.2);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 22px;
  width: 20px;
  transform: translateX(-50%) rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  inset: var(--header) 0 auto;
  z-index: 35;
  display: block;
  max-height: calc(100vh - var(--header));
  overflow: auto;
  color: #fff;
  background: rgba(31, 41, 45, .96);
  border-top: 1px solid rgba(255, 255, 255, .12);
  opacity: 0;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transform: translateY(-14px);
  backdrop-filter: blur(16px);
  transition: opacity .28s ease, visibility .28s ease, clip-path .42s cubic-bezier(.2, .8, .2, 1), transform .42s cubic-bezier(.2, .8, .2, 1);
}

.mobile-panel.is-open {
  opacity: 1;
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
}

.mobile-panel-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 36px;
}

.mobile-group {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .34s ease, transform .34s ease;
}

.mobile-panel.is-open .mobile-group {
  opacity: 1;
  transform: translateY(0);
}

.mobile-panel.is-open .mobile-group:nth-child(2) {
  transition-delay: .04s;
}

.mobile-panel.is-open .mobile-group:nth-child(3) {
  transition-delay: .08s;
}

.mobile-panel.is-open .mobile-group:nth-child(4) {
  transition-delay: .12s;
}

.mobile-group strong {
  display: block;
  margin-bottom: 12px;
  font-size: 19px;
}

.mobile-group a {
  display: inline-block;
  margin: 0 14px 10px 0;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  font-weight: 700;
}

.site-footer {
  padding: 70px 0 54px;
  background: #f8f9f9;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr) minmax(260px, .7fr);
  gap: 62px;
  align-items: start;
}

.footer-logo strong {
  display: block;
  font-size: clamp(42px, 8vw, 92px);
  line-height: .84;
  font-weight: 950;
  letter-spacing: -.04em;
  color: var(--steel);
}

.footer-logo span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: none;
}

.footer-menu {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.footer-menu b {
  display: block;
  margin-bottom: 16px;
  font-size: 14px;
}

.footer-menu a {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.footer-info {
  color: var(--body);
  font-size: 13px;
  line-height: 1.8;
  font-weight: 700;
}

.footer-info b {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 16px;
}

.copyright {
  margin-top: 54px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  border-top: 1px solid var(--line);
}

.quick {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  gap: 8px;
}

.quick a {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .gnb {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-actions {
    position: fixed;
    top: 14px;
    right: 16px;
    z-index: 45;
    transform: none;
  }

  .language {
    position: fixed;
    top: 20px;
    right: 18px;
    z-index: 46;
  }

  .menu-toggle {
    position: fixed;
    top: 14px;
    right: 88px;
    z-index: 46;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --header: 68px;
  }

  .container,
  .header-inner {
    width: min(100% - 32px, var(--max));
  }

  .header-inner {
    gap: 12px;
  }

  .header-actions {
    position: fixed;
    top: 14px;
    right: 16px;
    z-index: 45;
    transform: none;
  }

  .brand {
    gap: 6px;
    min-width: 214px;
  }

  .brand img {
    width: 36px;
    height: 23px;
  }

  .brand-text {
    gap: 5px;
  }

  .brand strong {
    font-size: 20px;
  }

  .brand-meta {
    gap: 3px;
    font-size: 8px;
  }

  .language {
    position: fixed;
    top: 20px;
    right: 18px;
    z-index: 46;
    padding: 7px 10px;
  }

  .menu-toggle {
    position: fixed;
    top: 14px;
    right: 88px;
    z-index: 46;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
  }

  .page-hero-inner p,
  .footer-info,
  .footer-menu a,
  .mobile-group a {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .footer-menu {
    grid-template-columns: 1fr 1fr;
  }

  .quick {
    right: 14px;
    bottom: 14px;
  }

  .quick a {
    width: 48px;
    height: 48px;
  }
}
