:root {
  --navy-950: #0E1722;
  --navy-900: #121B26;
  --navy-800: #1F2E40;
  --navy-600: #364C63;
  --ink: #16202B;
  --ink-2: #4A5664;
  --ink-3: #6B7785;
  --line: #DCE1E6;
  --bg-gray: #F3F5F7;
  --amber: #F3B340;
  --amber-hover: #F8C766;
  --amber-ink: #8F5E00;
  --hd-h: 76px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.3; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--navy-600); outline-offset: 3px; }
/* On the dark parts of a page the focus ring is amber. */
.hd :focus-visible, .hero :focus-visible, .page-head :focus-visible, .cta :focus-visible, .ft :focus-visible { outline-color: var(--amber); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; top: 12px; left: -9999px; z-index: 60; padding: 8px 14px; border-radius: 4px; font-weight: 700; color: var(--ink); background: #fff; }
.skip:focus { left: 16px; }

/* header: clear over the dark top of every page, solid once the page scrolls (assets/app.js adds .scrolled) */
.hd {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: #fff;
  background: linear-gradient(180deg, rgba(14, 23, 34, .55), rgba(14, 23, 34, 0));
  transition: background-color .2s, box-shadow .2s;
}
.hd.scrolled, .hd.open { background: var(--navy-900); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.hd-in { display: flex; align-items: center; gap: 40px; height: var(--hd-h); }
.logo { display: flex; flex: none; align-items: center; gap: 14px; }
.logo img { height: 32px; width: auto; }
.logo-tag { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .32); font-size: 16px; font-weight: 700; line-height: 22px; color: rgba(255, 255, 255, .9); white-space: nowrap; }
.nav { display: flex; gap: 32px; margin-left: auto; font-size: 16px; font-weight: 600; }
.nav a { padding: 6px 0; color: rgba(255, 255, 255, .82); transition: color .15s; }
.nav a:hover { color: #fff; box-shadow: inset 0 -2px 0 var(--amber); }
.menu-btn { display: none; flex: none; width: 42px; height: 42px; place-items: center; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
.menu-btn .ico { width: 26px; height: 26px; }
.menu-btn .i-close, .hd.open .menu-btn .i-menu { display: none; }
.hd.open .menu-btn .i-close { display: block; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1.5px solid transparent;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  transition: background-color .15s, border-color .15s;
}
.btn-accent { background: var(--amber); color: var(--navy-950); }
.btn-accent:hover { background: var(--amber-hover); }
.btn-line { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.hd-cta { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* home hero: a darkened control panel photo */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 84vh, 820px);
  overflow: hidden;
  color: #fff;
  background: var(--navy-950);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 23, 34, .94) 0%, rgba(14, 23, 34, .78) 42%, rgba(14, 23, 34, .3) 100%),
    rgba(31, 46, 64, .2);
}
.hero-in { position: relative; width: 100%; padding-top: calc(var(--hd-h) + 48px); padding-bottom: 80px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); font-weight: 800; line-height: 1.16; letter-spacing: -0.03em; }
.hero-lead { max-width: 600px; margin-top: 26px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .86); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* sections */
.band { padding: 112px 0; }
.band-gray { background: var(--bg-gray); }
.band-head { max-width: 760px; margin-bottom: 52px; }
.band-head h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; }
.band-head p { margin-top: 16px; font-size: 18px; color: var(--ink-2); }

/* services: three photo cards */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.svc img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: var(--navy-900); }
.svc h3 { margin-top: 22px; font-size: 22px; font-weight: 800; }
.svc p { margin-top: 8px; color: var(--ink-2); }
.svc-note { margin-top: 48px; padding: 18px 22px; border-left: 3px solid var(--amber); font-size: 16px; color: var(--ink-2); background: var(--bg-gray); }

/* products: the list beside a machine photo */
.prod-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.prod-wrap .band-head { margin-bottom: 36px; }
.prod { border-top: 2px solid var(--navy-800); }
.prod li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.prod b { display: block; font-size: 19px; font-weight: 700; line-height: 1.4; }
.prod span { display: block; margin-top: 4px; font-size: 16px; color: var(--ink-2); }
.prod-img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; border-radius: 4px; background: var(--navy-900); }

/* process */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); }
.steps li { position: relative; padding: 24px 20px 0 0; border-top: 2px solid var(--navy-800); font-size: 19px; font-weight: 700; line-height: 1.4; }
.steps li::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
.steps b { display: block; margin-bottom: 6px; font-size: 14px; color: var(--amber-ink); }
.steps span { display: block; margin-top: 10px; font-size: 15px; font-weight: 400; line-height: 1.6; color: var(--ink-2); }

/* company */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.two h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; }
.two .about { margin-top: 20px; font-size: 18px; color: var(--ink-2); }
.info { display: grid; grid-template-columns: 150px minmax(0, 1fr); border-top: 2px solid var(--navy-800); }
.info dt, .info dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info dt { font-weight: 600; color: var(--ink-3); }
.info dd { min-width: 0; overflow-wrap: anywhere; }
.info a:hover { color: var(--navy-600); }
.info .address { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.info .map-link { display: inline-flex; align-items: center; min-height: 28px; color: var(--navy-600); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 700; color: var(--navy-600); }
.link .ico { width: 18px; height: 18px; transition: transform .2s; }
.link:hover { color: var(--ink); }
.link:hover .ico { transform: translateX(4px); }

/* contact band */
.cta { padding: 100px 0; text-align: center; color: #fff; background: var(--navy-900); }
.cta h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; }
.cta p { max-width: 640px; margin: 16px auto 0; color: rgba(255, 255, 255, .76); text-wrap: balance; }
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* footer */
.ft { padding: 56px 0 48px; font-size: 14px; color: rgba(255, 255, 255, .6); background: var(--navy-950); }
.ft-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.ft-logo { flex: none; }
.ft-logo img { height: 28px; width: auto; }
.ft-nav { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 15px; font-weight: 600; }
.ft-nav a { color: rgba(255, 255, 255, .78); }
.ft-nav a:hover { color: #fff; }
.ft-business { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.ft-business > span { white-space: nowrap; }
.ft-info p + p { margin-top: 4px; }
.ft-info b { font-weight: 600; color: #fff; }
.ft-info a:hover { color: #fff; }
.ft-copy { margin-top: 20px; color: rgba(255, 255, 255, .55); }
.ft-copy a { margin-left: 20px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.ft-copy a:hover { color: #fff; }

/* inner page head: a darkened photo, set per page with --ph-img */
.page-head {
  padding: calc(var(--hd-h) + 88px) 0 84px;
  color: #fff;
  background-color: var(--navy-800);
  background-image:
    linear-gradient(90deg, rgba(14, 23, 34, .95) 0%, rgba(14, 23, 34, .86) 45%, rgba(14, 23, 34, .55) 100%),
    var(--ph-img, none);
  background-position: center;
  background-size: cover;
}
.page-head h1 { font-size: clamp(34px, 4.2vw, 52px); font-weight: 800; letter-spacing: -0.03em; }
.page-head p { max-width: 720px; margin-top: 18px; font-size: 18px; color: rgba(255, 255, 255, .82); }

/* contact page: a single centered inquiry form */
.contact-main { width: 100%; min-width: 0; max-width: 760px; margin-inline: auto; }
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.req { margin-left: 3px; font-weight: 700; color: #B54708; }
.f label, .f-label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 700; }
.f input, .f textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1.5px solid #B5BEC8;
  border-radius: 4px;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.f textarea { min-height: 188px; resize: vertical; line-height: 1.65; }
.f input::placeholder, .f textarea::placeholder { color: var(--ink-3); opacity: 1; }
.f input:hover, .f textarea:hover { border-color: var(--ink-3); }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(54, 76, 99, .16); }
.f [aria-invalid="true"], .f [aria-invalid="true"]:hover { border-color: #C4320A; }
.f [aria-invalid="true"]:focus { border-color: #C4320A; box-shadow: 0 0 0 3px rgba(196, 50, 10, .14); }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.chips label { position: relative; font-weight: 600; }
.chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chips span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 8px 12px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  line-height: 1.35;
  text-align: center;
  color: var(--ink-2);
  transition: background-color .15s, border-color .15s, color .15s;
}
.chips label:hover span { border-color: #B5BEC8; color: var(--ink); }
.chips input:checked + span { border-color: var(--navy-800); color: #fff; background: var(--navy-800); }
.chips input:focus-visible + span { outline: 3px solid var(--navy-600); outline-offset: 3px; }
.chips[aria-invalid="true"] span, .chips[aria-invalid="true"] label:hover span { border-color: #C4320A; }
.f-err { margin-top: 8px; font-size: 15px; font-weight: 600; color: #B42318; }
.f-more { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 28px 28px 30px; border-radius: 4px; background: var(--bg-gray); }
.f-more-h { font-size: 17px; font-weight: 800; }
.f-more-h span { margin-left: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 22px 20px;
  border: 1.5px dashed #AEB8C2;
  border-radius: 4px;
  font-weight: 400;
  text-align: center;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.drop:hover, .drop.over { border-color: var(--navy-600); background: #FAFBFC; }
.drop .ico { width: 26px; height: 26px; margin-bottom: 6px; color: var(--navy-600); }
.drop b { color: var(--navy-600); }
.drop small { font-size: 14px; color: var(--ink-3); }
#f-files:focus-visible + .drop { outline: 3px solid var(--navy-600); outline-offset: 3px; }
.file-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 10px; }
.file-list:empty { display: none; }
.file-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: center; padding: 10px 6px 10px 14px; border: 1px solid var(--line); border-radius: 4px; font-size: 15px; background: #fff; }
.file-list .fn { grid-column: 1; min-width: 0; overflow-wrap: anywhere; line-height: 1.45; }
.file-list .fs { grid-column: 1; font-size: 13px; color: var(--ink-3); }
.file-list button { display: grid; grid-column: 2; grid-row: 1 / 3; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; color: var(--ink-3); background: none; cursor: pointer; }
.file-list button:hover { color: var(--ink); background: var(--bg-gray); }
.file-list button .ico { width: 18px; height: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-status { padding: 14px 18px; border-left: 3px solid #C4320A; font-weight: 600; color: #9A2A08; background: #FEF3EE; }
.f-status a { display: block; width: fit-content; min-height: 32px; margin-top: 8px; padding: 2px 0; color: var(--navy-600); text-decoration: underline; text-underline-offset: 3px; }
.f-status:empty { display: none; }
.f-foot { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.f-privacy { max-width: 540px; font-size: 14px; line-height: 1.65; color: var(--ink-3); }
.f-privacy a { font-weight: 600; color: var(--navy-600); text-decoration: underline; text-underline-offset: 3px; }
.f-submit { flex: none; min-width: 180px; border: 0; font-family: inherit; cursor: pointer; }
.f-submit:disabled { opacity: .65; cursor: progress; }
.f-done { padding: 48px 44px; border-top: 3px solid var(--amber); background: var(--bg-gray); }
.f-done:focus { outline: none; }
.f-done > .ico { width: 44px; height: 44px; stroke-width: 1.6; color: var(--amber-ink); }
.f-done h2 { margin-top: 18px; font-size: 28px; font-weight: 800; }
.f-done p { margin-top: 8px; font-size: 18px; color: var(--ink-2); }

/* privacy page */
.doc > * { max-width: 820px; }
.doc h2 { margin: 52px 0 14px; font-size: 22px; font-weight: 800; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p, .doc ul + p, .doc p + ul, .doc .doc-table + p { margin-top: 12px; }
.doc ul { padding-left: 22px; list-style: disc; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--navy-600); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.doc-table { margin-top: 14px; overflow-x: auto; }
.doc table { width: 100%; min-width: 560px; border-collapse: collapse; border-top: 2px solid var(--navy-800); font-size: 16px; }
.doc th, .doc td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc th { font-weight: 700; color: var(--ink); }
.doc td { color: var(--ink-2); }

@media (max-width: 1080px) {
  .nav { gap: 24px; }
  .svc { gap: 40px 20px; }
  .prod-wrap { gap: 40px; }
  .two { gap: 48px; }
  .info { grid-template-columns: 112px minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
}

@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr 1fr; }
  .prod-wrap { grid-template-columns: 1fr; }
  .prod-img { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .two { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  :root { --hd-h: 64px; }
  .hd-in { gap: 12px; }
  .logo { gap: 10px; }
  .logo img { height: 27px; }
  .logo-tag { padding-left: 10px; font-size: 14px; }
  .nav { display: none; }
  .menu-btn { display: grid; }
  .hd-cta { min-height: 40px; margin-left: auto; padding: 0 14px; font-size: 14px; }
  .hd.open .nav {
    position: absolute;
    top: var(--hd-h);
    left: 0;
    right: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 4px 20px 20px;
    background: var(--navy-900);
    box-shadow: 0 12px 24px rgba(8, 13, 20, .3);
  }
  .hd.open .nav a { padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); box-shadow: none; }
  /* The open menu dims the page below it; a tap there closes the menu (assets/app.js). */
  .hd.open::after { content: ""; position: fixed; inset: var(--hd-h) 0 0; background: rgba(8, 13, 20, .55); }
  html:has(.hd.open) { overflow: hidden; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .hero { min-height: 0; }
  .hero-img { object-position: 62% 50%; }
  .hero-shade { background: linear-gradient(90deg, rgba(14, 23, 34, .9) 0%, rgba(14, 23, 34, .7) 100%); }
  .hero-in { padding-top: calc(var(--hd-h) + 72px); padding-bottom: 76px; }
  .hero-btns .btn { flex: 1 1 auto; }
  .band { padding: 72px 0; }
  .band-head { margin-bottom: 36px; }
  .band-head p { font-size: 17px; }
  .svc { grid-template-columns: 1fr; gap: 36px; }
  .svc h3 { margin-top: 18px; font-size: 20px; }
  .svc-note { margin-top: 36px; padding: 16px 18px; font-size: 15px; }
  .prod b { font-size: 17px; }
  .prod span { font-size: 15px; }
  .steps { grid-template-columns: 1fr; row-gap: 0; border-left: 2px solid var(--navy-800); margin-left: 5px; }
  .steps li { padding: 0 0 26px 24px; border-top: 0; font-size: 17px; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::before { top: 6px; left: -6px; }
  .steps b { display: inline; margin: 0 8px 0 0; }
  .steps span { margin-top: 4px; font-size: 15px; }
  .two .about { font-size: 17px; }
  .cta { padding: 72px 0; }
  .cta-btns .btn { width: 100%; }
  .ft { padding: 44px 0 40px; }
  .ft-top { flex-direction: column; align-items: flex-start; }
  .ft-logo img { height: 26px; }
  .page-head { padding: calc(var(--hd-h) + 52px) 0 56px; }
  .page-head p { font-size: 17px; }
  .chips { grid-template-columns: 1fr 1fr; }
  .f-grid { grid-template-columns: 1fr; gap: 22px; }
  .f-more { padding: 22px 18px 24px; }
  .drop-or { display: none; }
  .f-foot { flex-direction: column; align-items: stretch; gap: 20px; }
  .f-submit { width: 100%; }
  .f-done { padding: 36px 24px; }
  .doc h2 { margin-top: 44px; font-size: 20px; }
}

@media (max-width: 380px) {
  .logo-tag { display: none; }
  .info { grid-template-columns: minmax(0, 1fr); }
  .info dt { padding: 16px 0 4px; border-bottom: 0; }
  .info dd { padding: 0 0 16px; }
}

/* Narrow phones: a smaller logo and tag keep the logo, inquiry button and menu inside the page margins. */
@media (max-width: 420px) {
  .hd-in { gap: 10px; }
  .logo { gap: 8px; }
  .logo img { height: 25px; }
  .logo-tag { padding-left: 8px; font-size: 13px; }
  .hd-cta { padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .link .ico { transition: none; }
}
