:root {
  --green: #004637;
  --green-2: #006f5a;
  --lime: #d7df23;
  --cyan: #00aaff;
  --ink: #101513;
  --muted: #69716e;
  --line: #dfe4e1;
  --soft: #f5f7f6;
  --white: #fff;
  --max: 1440px;
  --header: 80px;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 33, 26, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Pretendard, Inter, "Noto Sans KR", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
button { color: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 10px 16px;
  color: #fff;
  background: #000;
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding: 110px 0; }
.section-soft { background: var(--soft); }
.section-green { color: #fff; background: var(--green); }
.eyebrow {
  margin-bottom: 16px;
  color: var(--green-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.section-green .eyebrow { color: var(--lime); }
.section-title {
  margin-bottom: 22px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.02;
}
.section-lead {
  max-width: 850px;
  margin-bottom: 54px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}
.section-green .section-lead { color: rgba(255,255,255,.72); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: .25s ease;
  cursor: pointer;
}
.button::after { content: "→"; margin-left: 18px; font-size: 18px; }
.button:hover { color: #fff; background: var(--green); border-color: var(--green); transform: translateY(-2px); }
.button-light { color: #fff; border-color: rgba(255,255,255,.7); }
.button-light:hover { color: var(--green); background: var(--lime); border-color: var(--lime); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.2);
  transition: .3s ease;
}
.site-header.scrolled, .site-header.solid {
  color: var(--ink);
  background: rgba(255,255,255,.95);
  border-color: rgba(0,0,0,.08);
  box-shadow: 0 6px 30px rgba(0,0,0,.05);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(calc(100% - 48px), 1536px);
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 150px 1fr 150px;
  align-items: center;
}
.brand { display: inline-flex; align-items: center; width: 128px; }
.brand-mark { display: flex; flex-direction: column; color: inherit; font-family: Arial, sans-serif; font-weight: 900; letter-spacing: -.08em; line-height: .75; }
.brand-mark strong { font-size: 28px; }
.brand-mark small { margin-top: 8px; font-size: 7px; font-weight: 800; letter-spacing: .17em; line-height: 1; }
.primary-nav { display: flex; justify-content: center; gap: clamp(32px, 7vw, 110px); }
.primary-nav a {
  position: relative;
  padding: 28px 0;
  font-size: 15px;
  font-weight: 750;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 20px;
  height: 2px;
  background: var(--lime);
  transition: right .25s ease;
}
.primary-nav a:hover::after, .primary-nav a.active::after { right: 0; }
.header-tools { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.language-picker { position: relative; }
.language-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 66px;
  padding: 9px 4px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  cursor: pointer;
}
.language-button::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.language-picker.open .language-button::after { margin-top: 4px; transform: rotate(225deg); }
.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 126px;
  padding: 7px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 42px rgba(0, 33, 26, .16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: .2s ease;
}
.language-picker.open .language-menu { opacity: 1; visibility: visible; transform: none; }
.language-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}
.language-menu a:hover, .language-menu a.active { color: var(--green); background: var(--soft); }
.language-menu a.active::after { content: "✓"; color: var(--green); }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: currentColor; transition: .25s; }

/* Hero */
.hero { position: relative; height: max(700px, 100svh); overflow: hidden; color: #fff; background: #07110f; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  transition: opacity .8s ease, visibility .8s, transform 7s ease;
  background-position: center;
  background-size: cover;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,16,13,.82) 0%, rgba(0,16,13,.38) 48%, rgba(0,16,13,.12) 100%);
}
.hero-slide.active { opacity: 1; visibility: visible; transform: scale(1); }
.hero-content { position: relative; z-index: 2; max-width: 860px; padding-top: 80px; }
.hero-kicker { margin-bottom: 22px; color: var(--lime); font-size: 13px; font-weight: 800; letter-spacing: .22em; }
.hero h1 {
  margin-bottom: 30px;
  font-size: clamp(46px, 7vw, 104px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .98;
}
.hero p { max-width: 700px; margin-bottom: 42px; color: rgba(255,255,255,.78); font-size: clamp(17px, 2vw, 22px); }
.hero-controls {
  position: absolute;
  z-index: 4;
  left: max(24px, calc((100vw - min(calc(100vw - 48px), var(--max))) / 2));
  bottom: 46px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.hero-dot { width: 42px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.35); cursor: pointer; }
.hero-dot.active { background: var(--lime); }
.hero-pause { margin-left: 8px; border: 0; color: #fff; background: transparent; cursor: pointer; font-size: 14px; }
.scroll-cue { position: absolute; z-index: 4; right: 40px; bottom: 46px; font-size: 10px; font-weight: 700; letter-spacing: .18em; writing-mode: vertical-rl; }
.scroll-cue::after { content: ""; display: inline-block; width: 1px; height: 42px; margin-top: 12px; background: rgba(255,255,255,.6); }

/* Home */
.home-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-teaser {
  min-height: 340px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: #fff;
  transition: .3s ease;
}
.product-teaser:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-8px); }
.product-teaser img { width: 170px; height: 170px; object-fit: contain; align-self: center; }
.product-teaser strong { font-family: "Arial Narrow", Arial, sans-serif; font-size: 27px; }
.product-teaser span { color: var(--green); font-size: 13px; font-weight: 800; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.23); }
.metric { min-height: 230px; padding: 36px 28px; border-left: 1px solid rgba(255,255,255,.23); }
.metric:first-child { border-left: 0; }
.metric-value { color: var(--lime); font-family: "Arial Narrow", Arial, sans-serif; font-size: clamp(68px, 8vw, 132px); line-height: 1; }
.metric small { color: rgba(255,255,255,.68); font-size: 15px; }
.logo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.logo-card { height: 150px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; }
.logo-card img { max-width: 72%; max-height: 72px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .25s; }
.logo-card:hover img { filter: none; opacity: 1; }
.cta {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: grid;
  align-items: center;
  color: #fff;
  background: var(--green) url("../images/background/bg_contact.png") center/cover no-repeat;
}
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,37,29,.7), rgba(0,37,29,.1)); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.cta h2 { margin: 0; font-family: "Arial Narrow", Arial, sans-serif; font-size: clamp(42px, 5.8vw, 80px); line-height: .95; }

/* Page headers and content */
.page-hero {
  min-height: 520px;
  padding-top: var(--header);
  display: grid;
  align-items: end;
  color: #fff;
  background-position: center;
  background-size: cover;
}
.page-hero-inner { padding-bottom: 74px; }
.page-hero h1 { margin: 0; font-family: "Arial Narrow", Arial, sans-serif; font-size: clamp(46px, 6.2vw, 88px); letter-spacing: -.035em; line-height: .96; }
.page-hero p { max-width: 650px; margin: 24px 0 0; color: rgba(255,255,255,.75); font-size: 19px; }
.about-grid { display: grid; grid-template-columns: .8fr 1.5fr; gap: clamp(50px, 10vw, 150px); }
.about-copy { font-size: 18px; color: #404744; }
.about-copy p { margin-bottom: 22px; }
.signature { width: 150px; margin-top: 34px; }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 80px; background: var(--line); border: 1px solid var(--line); }
.fact { padding: 32px; background: #fff; }
.fact strong { display: block; color: var(--green); font-size: 34px; line-height: 1.2; }
.fact span { color: var(--muted); font-size: 14px; }
.timeline { position: relative; margin-top: 20px; }
.timeline::before { content: ""; position: absolute; left: 165px; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.22); }
.timeline-item { display: grid; grid-template-columns: 130px 1fr; gap: 70px; padding: 28px 0; }
.timeline-year { color: var(--lime); font-family: "Arial Narrow", Arial, sans-serif; font-size: 42px; line-height: 1; text-align: right; }
.timeline-text { position: relative; color: rgba(255,255,255,.8); }
.timeline-text::before { content: ""; position: absolute; left: -41px; top: 9px; width: 11px; height: 11px; border: 2px solid var(--lime); border-radius: 50%; background: var(--green); }
.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.office-card { padding: 32px; border: 1px solid var(--line); background: #fff; }
.office-card h3 { font-size: 22px; }
.office-card p { margin: 0; color: var(--muted); font-size: 14px; }
.map-panel { margin-top: 20px; min-height: 320px; background: #e5e9e7 url("../images/company/contact_map.png") center/cover no-repeat; }

/* Products */
.brand-tabs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 42px; }
.brand-tab { padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 750; cursor: pointer; transition: .2s; }
.brand-tab:hover, .brand-tab.active { color: #fff; background: var(--green); border-color: var(--green); }
.brand-panel { display: none; }
.brand-panel.active { display: block; animation: fade .35s ease; }
.brand-head { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 36px; background: var(--soft); }
.brand-head img { width: 230px; max-height: 75px; object-fit: contain; object-position: left center; }
.brand-head p { max-width: 670px; margin: 0; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 15px; }
.product-card { padding: 26px; border: 1px solid var(--line); background: #fff; }
.product-card img { width: 100%; height: 180px; object-fit: contain; }
.product-card h3 { margin: 15px 0 0; font-size: 17px; }

/* Partners */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.partner-card { min-height: 165px; padding: 24px; display: grid; place-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner-card img { max-width: 72%; max-height: 70px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: .25s; }
.partner-card:hover img { filter: none; opacity: 1; transform: scale(1.04); }

/* Support */
.support-grid { display: grid; grid-template-columns: .8fr 1.3fr; gap: clamp(40px, 8vw, 110px); }
.contact-list { padding: 0; margin: 38px 0 0; list-style: none; }
.contact-list li { padding: 17px 0; border-bottom: 1px solid var(--line); }
.contact-list small { display: block; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 750; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 15px 2px;
  border: 0;
  border-bottom: 1px solid #aeb7b3;
  border-radius: 0;
  outline: none;
  background: transparent;
  transition: border .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); border-bottom-width: 2px; }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }

/* Footer */
.site-footer { padding: 54px 0 34px; color: #949b98; background: #080a09; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.footer-brand { display: inline-flex; margin-bottom: 24px; color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 34px; color: #fff; font-size: 14px; font-weight: 700; }
.footer-address { max-width: 650px; margin-top: 24px; font-size: 13px; }
.footer-bottom { margin-top: 38px; padding-top: 20px; border-top: 1px solid #292d2b; font-size: 11px; letter-spacing: .06em; }
.back-top { border: 1px solid #343a37; width: 46px; height: 46px; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.toast { position: fixed; z-index: 300; left: 50%; bottom: 28px; padding: 13px 20px; color: #fff; background: #111; border-radius: 999px; transform: translate(-50%, 120px); opacity: 0; transition: .3s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  :root { --header: 68px; }
  .header-inner { display: flex; justify-content: space-between; }
  .primary-nav {
    position: absolute;
    top: var(--header);
    left: 0;
    width: 100vw;
    height: calc(100dvh - var(--header));
    padding: 70px 32px;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    color: var(--ink);
    background: #fff;
    transform: translateX(100%);
    transition: .3s ease;
  }
  .primary-nav.open { transform: none; }
  .primary-nav a { padding: 15px 0; font-size: 28px; }
  .primary-nav a::after { display: none; }
  .header-tools { position: relative; z-index: 2; margin-left: auto; }
  .language-menu { top: calc(100% + 6px); }
  .menu-toggle { display: block; }
  .home-products, .metric-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-row, .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid, .support-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 35px; }
  .office-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 36px), var(--max)); }
  .section { padding: 76px 0; }
  .header-inner { width: calc(100% - 32px); }
  .brand { width: 110px; }
  .hero { height: 760px; min-height: 100svh; }
  .hero-slide { background-position: 62% center; }
  .hero-slide::before { background: linear-gradient(90deg, rgba(0,16,13,.88), rgba(0,16,13,.35)); }
  .hero-content { padding-top: 30px; }
  .hero h1 { max-width: none; font-size: 40px; line-height: 1.08; word-break: keep-all; }
  .scroll-cue { display: none; }
  .home-products, .metric-grid, .logo-row, .product-grid, .partner-grid, .office-grid { grid-template-columns: 1fr 1fr; }
  .product-teaser { min-height: 260px; padding: 22px; }
  .product-teaser img { width: 125px; height: 125px; }
  .metric { min-height: 170px; padding: 24px 18px; }
  .metric:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.23); }
  .metric:nth-child(4) { border-top: 1px solid rgba(255,255,255,.23); }
  .logo-card, .partner-card { height: 115px; min-height: 115px; }
  .cta { min-height: 340px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .page-hero { min-height: 430px; }
  .page-hero h1 { font-size: clamp(42px, 14vw, 62px); }
  .cta h2 { font-size: clamp(40px, 12vw, 58px); }
  .fact-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 76px; }
  .timeline-item { grid-template-columns: 60px 1fr; gap: 40px; }
  .timeline-year { font-size: 27px; }
  .timeline-text::before { left: -26px; width: 9px; height: 9px; }
  .brand-head { align-items: flex-start; flex-direction: column; padding: 25px; }
  .brand-head img { width: 180px; }
  .product-card { padding: 16px; }
  .product-card img { height: 120px; }
  .contact-form { grid-template-columns: 1fr; }
  .field-full, .form-note { grid-column: auto; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 420px) {
  .home-products, .logo-row, .partner-grid, .office-grid { grid-template-columns: 1fr; }
  .metric-grid, .product-grid { grid-template-columns: 1fr 1fr; }
}

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