:root {
  color-scheme: light;
  --ink: #111417;
  --ink-soft: #2b3135;
  --paper: #f6f1e8;
  --paper-strong: #fffaf1;
  --line: rgba(17, 20, 23, 0.14);
  --muted: #6f746e;
  --teal: #1e9c93;
  --amber: #d39443;
  --coral: #b65348;
  --steel: #c7d4d6;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(17, 20, 23, 0.18);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

body,
button,
input {
  font: inherit;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header.is-scrolled {
  background: rgba(246, 241, 232, 0.94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 0.75rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(17, 20, 23, 0.93) 0%, rgba(17, 20, 23, 0.73) 38%, rgba(17, 20, 23, 0.28) 78%),
    linear-gradient(0deg, rgba(17, 20, 23, 0.82) 0%, rgba(17, 20, 23, 0) 36%);
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(1120px, calc(100% - 36px));
  min-height: 86svh;
  margin: 0 auto;
  padding: 116px 0 44px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--steel);
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
  word-break: keep-all;
}

h1 {
  max-width: 100%;
  font-size: clamp(3.5rem, 9.4vw, 7.2rem);
  font-weight: 900;
  white-space: nowrap;
}

h2 {
  font-size: clamp(2rem, 5vw, 4.4rem);
  font-weight: 870;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2.2vw, 1.42rem);
  line-height: 1.6;
}

.hero-actions,
.contact-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 30px;
}

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

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

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

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

.button-primary.light {
  background: var(--paper-strong);
  color: var(--ink);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(720px, 100%);
  margin: 46px 0 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.metric-strip div {
  min-width: 0;
  padding: 18px;
  background: rgba(17, 20, 23, 0.42);
}

.metric-strip dt {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 800;
}

.metric-strip dd {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  font-weight: 900;
}

.section,
.band-light,
.band-dark,
.band-accent {
  padding: clamp(72px, 9vw, 128px) clamp(18px, 4vw, 56px);
}

.section-heading,
.section-grid,
.ax-layout,
.step-grid,
.proof-grid,
.contact-inner,
.site-footer {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.band-light {
  background: var(--paper-strong);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 86px);
  align-items: end;
}

.section-grid p:not(.eyebrow),
.section-heading p,
.ax-layout p,
.step-item p,
.service-body p,
.contact-inner p {
  color: var(--muted);
  line-height: 1.74;
}

.section-grid > p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.section-heading {
  margin-bottom: clamp(30px, 5vw, 52px);
}

.section-heading.narrow {
  width: min(820px, 100%);
  text-align: center;
}

.section-heading p {
  max-width: 720px;
  margin: 18px auto 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(17, 20, 23, 0.08);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.service-kicker {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
}

.service-body h3 {
  min-height: 3.2rem;
}

.service-body p:last-child {
  margin: 16px 0 0;
}

.band-dark {
  background: #151819;
  color: var(--white);
}

.ax-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.ax-layout p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.ax-layout img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(34px, 6vw, 76px);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  overflow: hidden;
}

.step-item {
  min-width: 0;
  padding: clamp(22px, 4vw, 34px);
  background: #1d2222;
}

.step-item span {
  display: block;
  margin-bottom: 34px;
  color: var(--amber);
  font-weight: 900;
}

.step-item p {
  color: rgba(255, 255, 255, 0.64);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(30px, 5vw, 56px);
}

.proof-grid div {
  min-width: 0;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.proof-grid strong {
  display: block;
  color: var(--teal);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.proof-grid span {
  display: block;
  margin-top: 16px;
  color: var(--ink-soft);
  font-weight: 850;
}

.band-accent {
  background: var(--coral);
  color: var(--white);
}

.contact-inner {
  justify-content: space-between;
  gap: 30px;
}

.contact-inner > div {
  max-width: 780px;
}

.contact .eyebrow,
.contact-inner p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-inner p {
  margin: 18px 0 0;
  font-size: 1.06rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .service-grid,
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ax-layout,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .ax-layout img {
    max-width: 640px;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: auto;
    min-height: 64px;
    padding-top: 12px;
    padding-bottom: 12px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-nav {
    width: 100%;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 0.84rem;
  }

  .site-nav a {
    flex: 0 0 auto;
  }

  .hero,
  .hero-inner {
    min-height: 84svh;
  }

  .hero-inner {
    width: min(100% - 28px, 1120px);
    padding-top: 140px;
    padding-bottom: 32px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(17, 20, 23, 0.92), rgba(17, 20, 23, 0.55)),
      linear-gradient(0deg, rgba(17, 20, 23, 0.86), rgba(17, 20, 23, 0.16));
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .step-grid {
    grid-template-columns: 1fr;
  }

  .metric-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metric-strip div {
    padding: 12px 10px;
  }

  .metric-strip dt {
    font-size: 0.68rem;
  }

  .metric-strip dd {
    font-size: clamp(1.05rem, 5vw, 1.36rem);
  }

  .step-item {
    padding: 16px;
  }

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

  .service-body h3 {
    min-height: 0;
  }

  .contact-inner {
    align-items: flex-start;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
    padding: 0 12px;
  }

  .contact .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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