:root {
  color-scheme: light;
  --ink: #17201b;
  --muted: #5f6a62;
  --line: #dbe2dc;
  --paper: #f8faf7;
  --surface: #ffffff;
  --forest: #24463a;
  --sage: #8aa394;
  --copper: #b46f4b;
  --clay: #d8a067;
  --blue: #446a78;
  --shadow: 0 20px 50px rgba(31, 48, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(219, 226, 220, 0.82);
  background: rgba(248, 250, 247, 0.93);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: min(172px, 34vw);
  height: auto;
}

nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

nav a {
  min-width: 0;
  min-height: 36px;
  padding: 7px 11px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

nav a:hover {
  background: #edf2ee;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(23, 32, 27, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 5vw, 72px);
  min-height: min(820px, calc(100vh - 150px));
  padding: clamp(64px, 8vw, 108px) clamp(20px, 5vw, 72px) clamp(54px, 7vw, 88px);
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(36, 70, 58, 0.08), rgba(180, 111, 75, 0.08)),
    var(--paper);
}

.hero-copy {
  min-width: 0;
  max-width: min(780px, calc(100vw - 32px));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(64px, 12vw, 160px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-logo {
  display: block;
  width: min(600px, 92vw);
  height: auto;
}

.hero-lead {
  max-width: min(720px, 100%);
  margin: 26px 0 0;
  color: #344139;
  font-size: clamp(18px, 2.1vw, 25px);
  line-height: 1.65;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.hero-lead span {
  display: block;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 7px;
  border: 1px solid var(--ink);
  font-weight: 800;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.hero-visual {
  min-width: 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 1.55;
  max-width: 100%;
  max-height: 560px;
  border-radius: 8px;
  object-fit: cover;
  filter: drop-shadow(0 26px 46px rgba(31, 48, 39, 0.18));
}

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

.summary-item {
  min-height: 150px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--surface);
}

.summary-item strong {
  display: block;
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1;
}

.summary-item span {
  color: var(--muted);
  font-weight: 600;
}

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

.section-head {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: end;
  max-width: 1240px;
  margin: 0 auto 36px;
}

.section-head.compact {
  display: block;
  max-width: 980px;
  margin-bottom: 28px;
}

.section-head h2,
.frontier-copy h2,
.contact-band h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p:not(.eyebrow),
.frontier-copy p,
.contact-band p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
}

.brand-card {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.brand-card-media {
  min-width: 0;
  overflow: hidden;
  background: #edf2ee;
}

.brand-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.brand-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 46px);
}

.card-kicker {
  margin: 0 0 8px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-card h3 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
}

.brand-card p:not(.card-kicker) {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.text-link {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 28px;
  border-bottom: 2px solid var(--ink);
  font-weight: 900;
}

.frontier-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.frontier-copy {
  max-width: 680px;
}

.frontier-copy p:not(.eyebrow) {
  margin-top: 22px;
}

.capability-list {
  display: grid;
  gap: 12px;
}

.capability-list div,
.process-step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.capability-list strong,
.process-step strong {
  display: block;
  font-size: 20px;
  line-height: 1.25;
}

.capability-list span,
.process-step p {
  display: block;
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1240px;
  margin: 0 auto;
}

.process-step span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 42px;
  border-radius: 50%;
  background: #edf2ee;
  color: var(--forest);
  font-size: 13px;
  font-weight: 900;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: 0 clamp(20px, 5vw, 72px) clamp(56px, 7vw, 92px);
  padding: clamp(30px, 5vw, 52px);
  border-radius: 8px;
  background: var(--forest);
  color: #fff;
}

.contact-band .eyebrow,
.contact-band p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-band .button {
  border-color: #fff;
}

.contact-band .button.primary {
  background: #fff;
  color: var(--forest);
}

.contact-band .button.secondary {
  color: #fff;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-brand,
.business-details {
  display: grid;
  gap: 6px;
}

.footer-brand {
  align-content: start;
  font-weight: 700;
}

.footer-brand strong {
  color: var(--ink);
  font-size: 16px;
}

.business-details {
  max-width: 760px;
  margin: 0;
  font-style: normal;
  line-height: 1.55;
}

.business-details a {
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding-right: 72px;
  }

  .nav-toggle {
    display: inline-flex;
    position: fixed;
    top: 15px;
    right: 16px;
    z-index: 50;
    background: #ffffff;
  }

  nav {
    display: flex;
    width: 100%;
    max-width: 100%;
    max-height: 0;
    overflow: hidden;
    flex-wrap: wrap;
    justify-content: flex-start;
    opacity: 0;
    pointer-events: none;
    transition:
      max-height 0.24s ease,
      opacity 0.18s ease;
  }

  .site-header.nav-open nav {
    max-height: 320px;
    padding-top: 8px;
    opacity: 1;
    pointer-events: auto;
  }

  nav a {
    display: flex;
    flex: 1 1 100%;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero,
  .frontier-section,
  .section-head,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy,
  .hero-lead {
    max-width: calc(100vw - 32px);
  }

  .hero-visual img {
    max-height: 420px;
  }

  .summary-band,
  .brand-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .brand-card {
    grid-template-columns: 1fr;
  }

  .brand-card-media {
    min-height: 220px;
  }

  .contact-actions {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
    padding-right: 70px;
  }

  .nav-toggle {
    top: 12px;
  }

  nav {
    display: flex;
    width: 100%;
    max-width: 100%;
    max-height: 0;
    overflow: hidden;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-start;
  }

  .site-header.nav-open nav {
    max-height: 360px;
  }

  nav a {
    display: flex;
    flex: 1 1 100%;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    padding: 6px 4px;
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
  }

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-visual {
    overflow: hidden;
    border-radius: 8px;
  }

  .hero-visual img {
    max-height: 190px;
  }

  h1 {
    font-size: 68px;
  }

  .brand-logo {
    width: min(146px, 42vw);
  }

  .hero-logo {
    width: min(360px, 88vw);
  }

  .hero-lead {
    font-size: 17px;
    word-break: break-all;
  }

  .summary-item,
  .brand-card-body,
  .capability-list div,
  .process-step,
  .contact-band {
    padding: 20px;
  }

  .contact-band {
    margin-left: 16px;
    margin-right: 16px;
  }

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

  .site-footer {
    flex-direction: column;
    padding: 24px 16px;
  }
}
