:root {
  --ink: #162022;
  --muted: #657173;
  --line: #d8dfdc;
  --paper: #f7f8f4;
  --white: #ffffff;
  --teal: #17636a;
  --teal-dark: #0f474d;
  --steel: #445057;
  --amber: #c58b37;
  --shadow: 0 18px 45px rgba(22, 32, 34, 0.14);
}

* {
  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;
  line-height: 1.65;
}

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

.nowrap {
  white-space: nowrap;
}

svg {
  display: block;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 64px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 248, 244, 0.95);
  box-shadow: 0 1px 0 rgba(22, 32, 34, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand small {
  margin-top: 3px;
  color: currentColor;
  font-size: 11px;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.3vw, 32px);
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  content: "";
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(760px, 92vh);
  padding: 128px clamp(20px, 5vw, 64px) 56px;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-color: #223034;
  background-image: url("assets/generated-hero.png?v=mlk-generated"), url("assets/hero-surface-treatment.svg?v=manufacturing");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 21, 23, 0.84) 0%, rgba(10, 21, 23, 0.64) 40%, rgba(10, 21, 23, 0.16) 100%),
    linear-gradient(0deg, rgba(10, 21, 23, 0.54) 0%, rgba(10, 21, 23, 0.04) 48%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 82px;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy {
  width: min(660px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button.wide {
  width: 100%;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  padding: 26px clamp(20px, 5vw, 64px);
  background: var(--white);
}

.metric strong {
  display: block;
  color: var(--teal);
  font-size: 22px;
}

.metric span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 15px;
}

.section {
  padding: clamp(72px, 10vw, 118px) clamp(20px, 5vw, 64px);
}

.split {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: start;
}

.company-section {
  display: grid;
  gap: 54px;
}

.company-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
}

.company-detail {
  padding: 28px;
  border: 1px solid rgba(22, 32, 34, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(22, 32, 34, 0.06);
}

.detail-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.detail-heading h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.25;
}

.partner-list,
.history-list {
  display: grid;
  gap: 14px;
}

.partner-list article {
  padding: 18px;
  border-radius: 6px;
  background: #f3f6f3;
}

.partner-list strong,
.partner-list span {
  display: block;
}

.partner-list strong {
  color: var(--teal);
  font-size: 18px;
}

.partner-list span {
  margin-top: 6px;
  color: var(--muted);
}

.history-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.history-list li {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  min-height: 72px;
  padding-left: 18px;
}

.history-list li::before {
  position: absolute;
  top: 8px;
  bottom: -22px;
  left: 0;
  width: 2px;
  background: var(--line);
  content: "";
}

.history-list li::after {
  position: absolute;
  top: 9px;
  left: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.history-list li:last-child::before {
  bottom: auto;
  height: 12px;
}

.history-list span {
  color: var(--teal);
  font-weight: 900;
}

.history-list p {
  margin: 0;
  color: var(--muted);
}

.customer-status {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: stretch;
  padding: 28px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal-dark);
  box-shadow: var(--shadow);
}

.customer-summary h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.28;
}

.customer-summary p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.customer-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.58fr) minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.customer-name,
.customer-project,
.customer-meta div {
  display: grid;
  gap: 6px;
}

.customer-name span,
.customer-project span,
.customer-meta dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 900;
}

.customer-name strong {
  font-size: 28px;
  line-height: 1.2;
}

.customer-project-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.customer-project-list li {
  position: relative;
  padding-left: 18px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.42;
}

.customer-project-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.customer-meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 4px 0 0;
  background: rgba(255, 255, 255, 0.14);
}

.customer-meta div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.customer-meta dd {
  margin: 0;
  font-weight: 800;
}

.section h2 {
  max-width: 760px;
  margin: 0;
  font-size: 44px;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-body p,
.contact-copy p {
  margin: 0;
  color: var(--steel);
  font-size: 18px;
}

.section-body p + p {
  margin-top: 18px;
}

.band {
  background: #edf2ee;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

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

.equipment-section {
  background: var(--paper);
}

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

.equipment-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(22, 32, 34, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(22, 32, 34, 0.06);
}

.equipment-photo-slot {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  color: var(--teal);
  background:
    linear-gradient(135deg, rgba(23, 99, 106, 0.1), rgba(197, 139, 55, 0.12)),
    #eef3f0;
}

.equipment-photo-slot svg {
  width: 72%;
  height: 72%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
  opacity: 0.92;
}

.equipment-card figcaption {
  display: grid;
  gap: 5px;
  min-height: 96px;
  padding: 18px;
}

.equipment-card strong {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.3;
}

.equipment-card span {
  color: var(--muted);
  font-size: 15px;
}

.service-card {
  min-height: 292px;
  padding: 28px;
  border: 1px solid rgba(22, 32, 34, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(22, 32, 34, 0.06);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 6px;
  color: var(--teal);
  background: rgba(23, 99, 106, 0.1);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-card h3,
.process-list h3 {
  margin: 20px 0 10px;
  font-size: 22px;
  line-height: 1.3;
}

.service-card p,
.process-list p {
  margin: 0;
  color: var(--muted);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-list li {
  min-height: 250px;
  padding: 26px;
  background: var(--paper);
}

.process-list span {
  display: inline-block;
  color: var(--amber);
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(30px, 7vw, 86px);
  align-items: start;
  color: var(--white);
  background: var(--teal-dark);
}

.contact-copy p {
  width: min(680px, 100%);
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.contact-panel dl {
  display: grid;
  gap: 0;
  margin: 0 0 24px;
}

.contact-panel div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-panel dt {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 800;
}

.contact-panel dd {
  margin: 0;
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.72);
  background: #101719;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-nav {
    position: absolute;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(22, 32, 34, 0.1);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 12px;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: 88vh;
  }

  .hero h1 {
    font-size: 58px;
  }

  .section h2 {
    font-size: 36px;
  }

  .metrics,
  .service-grid,
  .equipment-grid,
  .process-list,
  .split,
  .company-detail-grid,
  .customer-status,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: auto;
  }

  .section-heading {
    display: block;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .site-nav {
    top: 68px;
  }

  .hero {
    min-height: 84vh;
    padding: 108px 18px 42px;
  }

  .hero-media {
    background-position: 65% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10, 21, 23, 0.88), rgba(10, 21, 23, 0.5)),
      linear-gradient(0deg, rgba(10, 21, 23, 0.62), rgba(10, 21, 23, 0.1));
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .metrics {
    gap: 0;
  }

  .metric,
  .section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .service-card {
    min-height: auto;
    padding: 24px;
  }

  .company-section {
    gap: 36px;
  }

  .company-detail {
    padding: 22px;
  }

  .detail-heading {
    display: block;
  }

  .detail-heading h3 {
    font-size: 24px;
  }

  .history-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .customer-status {
    padding: 22px;
  }

  .customer-summary h3 {
    font-size: 25px;
  }

  .customer-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .customer-name strong {
    font-size: 24px;
  }

  .customer-project-list li {
    font-size: 19px;
  }

  .customer-meta {
    grid-template-columns: 1fr;
  }

  .contact-panel div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 6px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 34px;
  }

  .section h2 {
    font-size: 30px;
  }
}
