:root {
  color-scheme: light dark;
  --ink: #171615;
  --muted: #66615a;
  --paper: #f1f1ec;
  --paper-2: #dedfd8;
  --line: rgba(23, 22, 21, 0.15);
  --night: #0d0d0c;
  --night-2: #171714;
  --white: #fffaf0;
  --amber: #c47d33;
  --green: #86b37b;
  --steel: #8d9898;
  --header-height: 76px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans KR", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  text-rendering: geometricPrecision;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(13, 13, 12, 0.58);
  border-bottom: 1px solid rgba(255, 250, 240, 0.14);
  color: var(--white);
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr auto 1fr;
  height: var(--header-height);
  left: 0;
  padding: 0 clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition:
    background 180ms ease,
    border-color 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(13, 13, 12, 0.86);
  border-color: rgba(255, 250, 240, 0.18);
}

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

.brand-mark {
  align-items: center;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 250, 240, 0.42);
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 760;
  justify-content: center;
  letter-spacing: 0;
  width: 38px;
}

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

.brand strong {
  font-size: 0.82rem;
  letter-spacing: 0;
}

.brand small {
  color: rgba(255, 250, 240, 0.68);
  font-size: 0.68rem;
  margin-top: 3px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(14px, 2.4vw, 34px);
  justify-content: center;
}

.site-nav a,
.header-link,
.site-footer a {
  color: rgba(255, 250, 240, 0.76);
  font-size: 0.82rem;
  transition: color 160ms ease;
}

.site-nav a:hover,
.header-link:hover,
.site-footer a:hover {
  color: var(--white);
}

.header-link {
  justify-self: end;
}

.hero {
  min-height: min(760px, calc(100svh - 92px));
  overflow: hidden;
  position: relative;
}

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

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
  width: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 13, 12, 0.9) 0%, rgba(13, 13, 12, 0.68) 38%, rgba(13, 13, 12, 0.18) 78%),
    linear-gradient(180deg, rgba(13, 13, 12, 0.24) 0%, rgba(13, 13, 12, 0.72) 100%);
  inset: 0;
  position: absolute;
}

.hero-content {
  color: var(--white);
  max-width: 780px;
  padding: calc(var(--header-height) + 74px) clamp(18px, 7vw, 112px) 76px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(4rem, 13vw, 10.8rem);
  letter-spacing: 0;
  line-height: 0.83;
  margin: 0;
}

.hero h1 span {
  display: block;
}

.hero-korean {
  color: rgba(255, 250, 240, 0.78);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  margin: 22px 0 0;
}

.hero-copy {
  color: rgba(255, 250, 240, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.75;
  margin: 26px 0 0;
  max-width: 620px;
  word-break: keep-all;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.hero-tags li {
  border: 1px solid rgba(255, 250, 240, 0.24);
  color: rgba(255, 250, 240, 0.76);
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1;
  min-height: 34px;
  padding: 10px 12px;
}

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

.button {
  align-items: center;
  border: 1px solid rgba(255, 250, 240, 0.34);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 760;
  gap: 10px;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button.ghost {
  background: rgba(255, 250, 240, 0.08);
  color: var(--white);
}

.section-band {
  padding: clamp(74px, 10vw, 132px) clamp(18px, 7vw, 112px);
}

.section-band.dark {
  background: var(--night);
  color: var(--white);
}

.section-head {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(160px, 0.4fr) minmax(0, 1fr);
  margin-bottom: clamp(38px, 6vw, 70px);
}

.section-head h2 {
  font-size: clamp(2rem, 5.2vw, 5.6rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
  max-width: 11ch;
  word-break: keep-all;
}

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

.intro-grid article {
  background: var(--paper);
  min-height: 250px;
  padding: clamp(24px, 4vw, 42px);
}

.index {
  color: var(--amber);
  display: block;
  font-size: 0.82rem;
  font-weight: 760;
  margin-bottom: 58px;
}

.intro-grid h3,
.service-row h3 {
  font-size: clamp(1.22rem, 2vw, 1.75rem);
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0;
}

.intro-grid p,
.service-row p {
  color: var(--muted);
  line-height: 1.75;
  margin: 18px 0 0;
  word-break: keep-all;
}

.service-list {
  border-top: 1px solid rgba(255, 250, 240, 0.18);
}

.service-row {
  align-items: start;
  border-bottom: 1px solid rgba(255, 250, 240, 0.18);
  display: grid;
  gap: 24px;
  grid-template-columns: 0.26fr 0.52fr 0.72fr;
  padding: 28px 0;
}

.service-row span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.service-row p {
  color: rgba(255, 250, 240, 0.68);
  margin-top: 0;
}

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

.process-steps li {
  background: var(--paper-2);
  min-height: 220px;
  padding: clamp(22px, 3vw, 34px);
  position: relative;
}

.process-steps li + li {
  border-left: 1px solid var(--line);
}

.process-steps li::before {
  color: var(--amber);
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  display: block;
  font-size: 0.78rem;
  font-weight: 760;
  margin-bottom: 68px;
}

.process-steps strong {
  display: block;
  font-size: 1.24rem;
  margin-bottom: 12px;
}

.process-steps span {
  color: var(--muted);
  line-height: 1.6;
  word-break: keep-all;
}

.contact {
  align-items: end;
  background: var(--night-2);
  color: var(--white);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.75fr) minmax(260px, 0.55fr);
  padding: clamp(70px, 10vw, 124px) clamp(18px, 7vw, 112px);
}

.contact h2 {
  font-size: clamp(2.4rem, 6.4vw, 7rem);
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0;
  max-width: 9ch;
  word-break: keep-all;
}

.contact-link {
  align-items: center;
  border-top: 1px solid rgba(255, 250, 240, 0.22);
  display: flex;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 760;
  justify-content: space-between;
  min-width: 0;
  padding-top: 22px;
  word-break: break-word;
}

.site-footer {
  align-items: center;
  background: var(--night);
  color: rgba(255, 250, 240, 0.68);
  display: flex;
  font-size: 0.82rem;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 clamp(18px, 7vw, 112px);
}

@media (max-width: 880px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .header-link {
    font-size: 0.74rem;
  }

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

  .intro-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .intro-grid article {
    min-height: 210px;
  }

  .process-steps li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .service-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 66px;
  }

  .site-header {
    gap: 10px;
    padding-inline: 14px;
  }

  .brand-mark {
    width: 34px;
  }

  .brand strong {
    font-size: 0.76rem;
  }

  .brand small,
  .header-link {
    display: none;
  }

  .hero {
    min-height: min(690px, calc(100svh - 74px));
  }

  .hero-media img {
    object-position: 34% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(13, 13, 12, 0.9) 0%, rgba(13, 13, 12, 0.62) 58%, rgba(13, 13, 12, 0.3) 100%),
      linear-gradient(180deg, rgba(13, 13, 12, 0.18) 0%, rgba(13, 13, 12, 0.78) 100%);
  }

  .hero-content {
    padding: calc(var(--header-height) + 46px) 18px 54px;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 18vw, 5.2rem);
  }

  .button {
    flex: 1 1 100%;
  }

  .section-band,
  .contact {
    padding-inline: 18px;
  }

  .section-head h2,
  .contact h2 {
    max-width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
