@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Noto+Sans+KR:wght@300;400;500;600;700;800&display=swap");

:root {
  --bg: #0b0d0f;
  --surface: #111319;
  --surface-2: #171a22;
  --line: rgba(255, 255, 255, 0.09);
  --line-bright: rgba(255, 255, 255, 0.16);
  --white: #f2f2f0;
  --muted: #777d86;
  --gold: #b39459;
  --gold-dark: #755f37;
  --header: 70px;
  --content: 1192px;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background: var(--bg);
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-weight: 400;
  line-height: 1.75;
  word-break: keep-all;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.content-width {
  width: min(calc(100% - 80px), var(--content));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 8px 14px;
  color: #111;
  background: var(--gold);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  height: var(--header);
  padding: 0 max(40px, calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(10, 12, 14, 0.96);
  backdrop-filter: blur(12px);
}

.brand {
  display: block;
  width: max-content;
}

.brand img {
  width: 178px;
  height: 34px;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  display: flex;
  gap: 42px;
  align-items: center;
  margin-right: 42px;
  color: #8b9098;
  font-size: 13px;
}
.desktop-nav a { position: relative; padding: 24px 0; }
.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  border-bottom: 1px solid transparent;
  content: "";
}
.desktop-nav a:hover,
.desktop-nav a:focus-visible { color: var(--gold); }
.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after { border-color: var(--gold); }

.contact-link {
  padding: 10px 23px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
}
.contact-link:hover,
.contact-link:focus-visible { color: #0b0d0f; background: var(--gold); }

.mobile-menu { display: none; }

section { scroll-margin-top: var(--header); }

.hero {
  position: relative;
  min-height: 880px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 7, 8, 0.93) 0%, rgba(5, 7, 8, 0.72) 58%, rgba(5, 7, 8, 0.64) 100%),
    linear-gradient(0deg, rgba(8, 10, 12, 0.94), transparent 48%),
    url("images/backgrounds/hero-industrial-taegeukgi.png") center / cover no-repeat;
}
.hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 98%, rgba(255,255,255,.04) 98%);
  background-size: 100% 120px;
  pointer-events: none;
  content: "";
}

.ai-image-note {
  position: absolute;
  right: 18px;
  bottom: 8px;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  letter-spacing: -0.02em;
}

.hero-inner { position: relative; z-index: 1; padding-top: 30px; }

.overline,
.section-label,
.hero-service span,
.category-banner figcaption span,
.technical-item header > span,
.tech-frame figcaption span,
.contact dt,
.location-card address > span {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.16em;
}

.overline {
  display: flex;
  gap: 13px;
  align-items: center;
  margin: 0 0 7px;
  color: var(--gold);
  font-size: 10px;
}
.overline span,
.section-label > span { width: 28px; border-top: 1px solid var(--gold); }

.hero h1 {
  margin: 0;
  font-size: clamp(68px, 7.5vw, 112px);
  font-weight: 600;
  line-height: 0.99;
  letter-spacing: -0.075em;
}
.hero h1 em { color: var(--gold); font-style: normal; font-weight: 500; }

.hero-information {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 54px;
  align-items: center;
  margin-top: 36px;
  padding: 36px 0 34px;
  border-top: 1px solid var(--line-bright);
}
.hero-information > p {
  margin: 0;
  color: #777d84;
  font-size: 13px;
  line-height: 2.05;
}
.hero-information dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}
.hero-information dl div { min-height: 85px; padding-left: 20px; border-left: 1px solid var(--line); }
.hero-information dt { font-size: 19px; font-weight: 700; line-height: 1.25; }
.hero-information dd { margin: 9px 0 0; color: #6f747c; font-size: 10px; line-height: 1.35; }

.hero-services { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line-bright); }
.hero-service {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 174px;
  padding: 25px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}
.hero-service::before { position: absolute; inset: 0; background: linear-gradient(15deg, rgba(9,11,13,.96), rgba(9,11,13,.42)); content: ""; }
.hero-service + .hero-service { border-left: 1px solid var(--line-bright); }
.hero-service span,
.hero-service strong,
.hero-service b { position: relative; z-index: 1; }
.hero-service span { margin-bottom: 8px; color: var(--gold); font-size: 9px; }
.hero-service strong { font-size: 21px; }
.hero-service b { position: absolute; top: 23px; right: 25px; color: var(--gold); font-size: 20px; font-weight: 400; }
.hero-service-valve { background-image: url("images/backgrounds/valve-thumb.jpg"); }
.hero-service-analysis { background-image: url("images/backgrounds/analysis-thumb.jpg"); }

.goal {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  width: 100%;
  max-width: none;
  padding: 21px max(40px, calc((100vw - var(--content)) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.section-label { display: flex; gap: 13px; align-items: center; margin: 0; color: var(--gold); font-size: 10px; }
.goal .section-label::after {
  flex: 1;
  margin-left: 26px;
  border-top: 1px solid var(--line);
  content: "";
}
.goal > p:last-child {
  margin: 0;
  color: #777d86;
  font-size: 13px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.service-block { padding-top: 84px; }
.service-intro {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 70px;
  align-items: center;
  padding-bottom: 78px;
}
.service-intro h2,
.expertise h2,
.contact h2 {
  margin: 23px 0 0;
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.06em;
}
.service-description { color: #717780; font-size: 13px; line-height: 2.05; }
.service-description p { margin: 0 0 18px; }

.category-banner {
  position: relative;
  height: 380px;
  margin: 0 0 80px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.category-banner::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,8,10,.78), rgba(6,8,10,.08)); content: ""; }
.category-banner img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.55); }
.category-banner figcaption { position: absolute; z-index: 2; bottom: 40px; left: 48px; }
.category-banner figcaption span { display: block; margin-bottom: 9px; color: var(--gold); font-size: 9px; }
.category-banner figcaption strong { font-size: 28px; font-weight: 600; }

.technical-item { padding: 0 0 80px; border-bottom: 1px solid var(--line); }
.technical-item + .technical-item { padding-top: 72px; }
.technical-item header { display: flex; gap: 18px; align-items: center; margin-bottom: 25px; }
.technical-item header > span { color: var(--gold); font-size: 10px; }
.technical-item h3 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -0.035em; }
.item-subtitle { margin: 0 0 30px; padding-left: 14px; border-left: 3px solid var(--gold); color: #a9adb2; font-size: 13px; font-weight: 600; }
.technical-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: start; }

table { width: 100%; border-collapse: collapse; color: #c4c7cb; font-size: 13px; }
th, td { padding: 13px 16px; border: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { width: 25%; color: var(--gold); background: #151820; font-family: "IBM Plex Mono", monospace; font-size: 10px; font-weight: 400; letter-spacing: .1em; }
td { background: rgba(15,17,21,.48); }

.tech-frame { position: relative; margin: 0; padding: 10px 7px 0; border: 1px solid transparent; }
.tech-frame::before,
.tech-frame::after { position: absolute; width: 26px; height: 26px; content: ""; pointer-events: none; }
.tech-frame::before { top: 0; left: 0; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.tech-frame::after { right: 0; bottom: 0; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.image-stage {
  display: grid;
  height: 390px;
  padding: 0;
  overflow: hidden;
  background: #1e2128;
  place-items: center;
}
.image-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(.82) saturate(.6) sepia(.08);
}
.tech-frame figcaption { display: flex; justify-content: space-between; padding: 8px 12px; color: #686d75; background: #0d0f12; }
.tech-frame figcaption span { color: var(--gold); font-size: 9px; }
.tech-frame figcaption small { font-size: 10px; }
.electric-frame .image-stage img { width: 70%; height: 70%; }
.pneumatic-frame .image-stage { height: 282px; }
.pneumatic-frame .image-stage img { width: 70%; height: 70%; }
.electric-frame .image-stage img,
.pneumatic-frame .image-stage img {
  filter: brightness(.62) saturate(.48) sepia(.12) contrast(.96);
}
.system-frame .image-stage { height: 550px; background: #1e2128; }
.system-frame .image-stage img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  filter: brightness(.46) saturate(.65) sepia(.12);
}
.cfd-frame .image-stage { height: 390px; }
.cfd-contain .image-stage img { object-fit: contain; }
.cfd-cover .image-stage img { object-fit: cover; }
.portrait-result .image-stage img { width: auto; max-width: 100%; object-fit: contain; }

.technical-list { margin: 0; padding: 4px 0 0; color: #9ba0a7; list-style: none; font-size: 13px; }
.technical-list li { position: relative; padding: 8px 0 8px 16px; }
.technical-list li::before { position: absolute; left: 0; color: var(--gold); content: "▪"; }
.technical-list.english { font-family: "Noto Sans KR", sans-serif; font-size: 13px; line-height: 1.7; }

.engineering-wrap { margin-top: 0; padding-bottom: 10px; background: #11131a; }
.engineering-wrap .service-block { margin-top: 0; padding-top: 110px; }
.analysis-item .image-stage { height: 390px; }

.expertise { padding-top: 130px; padding-bottom: 130px; }
.expertise header { margin-bottom: 70px; }
.expertise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 78px; }
.expertise-copy { margin: 0 0 42px; color: #777d86; font-size: 13px; line-height: 2.1; }
.expertise ol { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.expertise ol li { display: grid; grid-template-columns: 42px 1fr; gap: 0; padding: 22px 0; border-bottom: 1px solid var(--line); }
.expertise ol span { color: var(--gold); font-family: "IBM Plex Mono", monospace; font-size: 10px; }
.expertise ol strong { font-size: 16px; }
.expertise ol p { margin: 4px 0 0; color: #727780; font-size: 11px; }

.location-card { min-height: 560px; padding: 0 8px 8px; overflow: hidden; background: #1a1e26; }
.location-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #1e2128;
  filter: grayscale(.85) invert(.88) hue-rotate(180deg) brightness(.72) contrast(.95);
}
.location-card address { position: absolute; right: 28px; bottom: 28px; left: 28px; padding: 18px 22px; color: #8d9299; background: rgba(8,10,12,.9); font-style: normal; }
.location-card address > span { display: block; color: var(--gold); font-size: 9px; }
.location-card address strong { display: block; color: #d7d9da; font-size: 13px; }
.location-card address p { margin: 0; font-size: 11px; }
.location-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.location-card dt { color: var(--gold); font-family: "IBM Plex Mono", monospace; font-size: 8px; letter-spacing: .14em; }
.location-card dd { margin: 0; color: #d7d9da; font-family: "IBM Plex Mono", monospace; font-size: 10px; }

.contact {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  padding-top: 110px;
  padding-bottom: 110px;
  border-top: 1px solid var(--line-bright);
}
.contact-body > p { max-width: 650px; margin: 15px 0 30px; color: #747a82; font-size: 13px; line-height: 2; }
.contact-body > a { display: inline-flex; gap: 40px; align-items: center; padding: 12px 18px; border: 1px solid var(--gold); color: var(--gold); font-size: 12px; }
.contact-body > a:hover,
.contact-body > a:focus-visible { color: #0b0d0f; background: var(--gold); }
.contact-body dl { display: grid; grid-template-columns: repeat(2, 1fr); margin: 55px 0 0; }
.contact-body dl div { padding: 17px 0; border-top: 1px solid var(--line); }
.contact dt { color: var(--gold); font-size: 8px; }
.contact dd { margin: 4px 0 0; color: #9da1a7; font-size: 11px; }

.site-footer { display: flex; justify-content: space-between; padding-top: 25px; padding-bottom: 36px; border-top: 1px solid var(--line); color: #676c74; font-size: 10px; }
.site-footer strong { color: #c8cacc; font-weight: 500; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

@media (max-width: 1020px) {
  .site-header { grid-template-columns: 1fr auto; padding-inline: 24px; }
  .desktop-nav, .contact-link { display: none; }
  .mobile-menu { position: relative; display: block; }
  .mobile-menu summary { display: grid; width: 42px; height: 42px; cursor: pointer; list-style: none; place-items: center; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span,
  .mobile-menu summary span::before,
  .mobile-menu summary span::after { display: block; width: 23px; border-top: 1px solid #c8cbd0; content: ""; }
  .mobile-menu summary span::before { transform: translateY(-7px); }
  .mobile-menu summary span::after { transform: translateY(5px); }
  .mobile-menu nav { position: absolute; top: 55px; right: 0; display: grid; width: min(320px, 80vw); border: 1px solid var(--line-bright); background: #0b0d0f; box-shadow: 0 20px 55px rgba(0,0,0,.55); }
  .mobile-menu nav a { padding: 14px 18px; border-bottom: 1px solid var(--line); color: #b6bac0; }
  .hero { min-height: 840px; }
  .hero-information, .service-intro, .technical-grid, .expertise-grid, .contact { grid-template-columns: 1fr; }
  .hero-information { gap: 28px; }
  .hero-information dl { max-width: 650px; }
  .technical-grid { gap: 30px; }
  .technical-grid > table, .technical-grid > .technical-list { max-width: 700px; }
  .location-card { min-height: 500px; }
}

@media (max-width: 700px) {
  :root { --header: 64px; }
  .content-width { width: calc(100% - 36px); }
  .site-header { padding-inline: 18px; }
  .brand img { width: 148px; height: 29px; }
  .hero { min-height: auto; }
  .hero-inner { padding-top: 52px; padding-bottom: 18px; }
  .hero h1 { font-size: clamp(51px, 16vw, 78px); line-height: 1.03; }
  .hero-information { margin-top: 34px; padding-top: 24px; }
  .hero-information > p br { display: none; }
  .hero-information dl, .hero-services, .contact-body dl { grid-template-columns: 1fr; }
  .hero-information dl div { padding: 13px 0; border-bottom: 1px solid var(--line); border-left: 0; }
  .hero-service + .hero-service { border-top: 1px solid var(--line-bright); border-left: 0; }
  .goal { grid-template-columns: 1fr; gap: 9px; padding: 18px; }
  .goal .section-label::after { margin-left: 12px; }
  .goal > p:last-child { font-size: 11px; white-space: normal; }
  .service-block { padding-top: 70px; }
  .service-intro { gap: 35px; padding-bottom: 55px; }
  .service-intro h2, .expertise h2, .contact h2 { font-size: 43px; }
  .category-banner { height: 285px; margin-bottom: 60px; }
  .category-banner figcaption { right: 24px; bottom: 25px; left: 24px; }
  .category-banner figcaption strong { font-size: 23px; }
  .technical-item { padding-bottom: 60px; }
  .technical-item + .technical-item { padding-top: 55px; }
  .technical-item h3 { font-size: 21px; }
  th, td { padding: 11px 10px; font-size: 11px; }
  th { width: 30%; font-size: 8px; }
  .image-stage, .analysis-item .image-stage { height: 300px; }
  .pneumatic-frame .image-stage { height: 230px; }
  .system-frame .image-stage { height: 360px; }
  .engineering-wrap .service-block { padding-top: 80px; }
  .expertise { padding-top: 95px; padding-bottom: 95px; }
  .expertise-copy br { display: none; }
  .location-card { min-height: 430px; }
  .location-card dl { grid-template-columns: 1fr; gap: 8px; }
  .contact { gap: 35px; padding-top: 80px; padding-bottom: 80px; }
  .site-footer { display: grid; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
