/* 경기열쇠 — page layout on top of assets/css/tokens.css. Values come from the tokens; no hard-coded colors/fonts here. */
body { margin: 0; overflow-x: hidden; background: var(--color-bg); color: var(--color-text); font-family: var(--font-body); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--color-bg); border-bottom: 1px solid var(--color-divider);
}
.site-header .nav { padding: 0; padding-block: var(--space-3); flex-wrap: wrap; row-gap: 8px; }
.site-header .nav a { color: inherit; }
.site-header .nav > a { white-space: nowrap; flex-shrink: 0; }
.site-header .nav-brand {
  display: inline-flex; align-items: center; text-decoration: none;
  transition: opacity 0.15s ease;
}
.site-header .nav-brand:hover { opacity: 0.75; }
.site-header .nav-brand img { display: block; height: 64px; width: auto; }
.site-header .nav > a:not(.nav-brand):not(.btn) {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase;
}
.site-header .nav .btn-primary { margin-left: auto; }

@media (max-width: 600px) {
  .site-header .nav-brand img { height: 44px; }
}

.kicker {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-accent-700); margin: 0 0 8px;
}
.rule { height: 1px; border: 0; margin: 0 0 24px; background: var(--color-divider); }
.display { font-family: var(--font-heading); font-weight: var(--font-heading-weight); text-transform: uppercase; letter-spacing: 0.01em; }

.ph {
  position: relative; overflow: hidden;
  background: repeating-linear-gradient(135deg, var(--color-accent-100) 0 10px, var(--color-surface) 10px 20px);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-size: 12px; letter-spacing: 0.06em;
  color: var(--color-accent-700); text-transform: uppercase; text-align: center;
}

.site-footer { border-top: 1px solid var(--color-divider); }
.site-footer .wrap {
  padding: 24px; display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 8px; font-size: 12px; opacity: 0.7;
}

.cta-band { background: var(--color-accent-900); }
.cta-band .wrap {
  padding: 48px 24px; display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center; gap: 20px;
}
.cta-band .kicker { color: var(--color-accent-300); }
.cta-band h2 { margin: 0; font-size: clamp(24px, 3.5vw, 34px); color: var(--color-neutral-100); }
.cta-band .btn {
  background: var(--color-neutral-100); color: var(--color-accent-900);
  border-color: var(--color-neutral-100); font-size: 16px; padding: 14px 28px;
}

/* — home — */
.hero { padding-top: 64px; padding-bottom: 64px; }
.hero-grid { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.hero-copy { flex: 1 1 380px; min-width: 0; }
.hero-copy h1 { margin: 0 0 20px; font-size: clamp(34px, 5.5vw, 54px); line-height: 1.05; }
.hero-copy h1 span { display: block; }
.hero-copy p { font-size: 16px; opacity: 0.85; max-width: 46ch; }
.hero-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.hero-figure { flex: 1 1 320px; min-width: 260px; }
.hero-figure .ph { aspect-ratio: 4 / 3; }
.hero-photo { aspect-ratio: 653 / 432; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.spec-plate { padding-bottom: 56px; }
.spec-plate-head {
  display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--color-divider);
}
.spec-plate-head span:first-child {
  flex: 1; min-width: 16ch; padding: 10px 20px; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
}
.spec-plate-head span:last-child {
  padding: 10px 20px; border-left: 1px solid var(--color-divider);
  font-size: 13px; letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.spec-row {
  display: flex; align-items: center; gap: 16px; padding: 10px 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
  flex-wrap: wrap;
}
.spec-row .n { width: 32px; color: var(--color-accent-700); font-weight: 600; font-size: 13px; }
.spec-row .label { flex: 0 0 120px; font-size: 14px; }
.spec-row .value { font-family: var(--font-heading); font-weight: 600; font-size: 17px; }

.section { padding-bottom: 64px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card-grid .card { min-height: 140px; }

/* — services — */
.services-intro { padding-top: 56px; padding-bottom: 16px; }
.services-intro h1 { font-size: clamp(30px, 4.5vw, 44px); margin: 0 0 12px; }
.services-intro p { font-size: 15px; opacity: 0.85; max-width: 52ch; }
.services-grid .card { min-height: 160px; }
.services-grid .card-icon { color: var(--color-accent); margin-bottom: 4px; }

.process h2 { font-size: 26px; margin: 0 0 24px; }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.process-step { display: flex; flex-direction: column; gap: 8px; }
.process-step .n-plate {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 20px; color: var(--color-accent-700);
  background: var(--color-surface);
}
.process-step .card-title { font-size: 18px; }
.process-step p { margin: 0; font-size: 13px; opacity: 0.75; }

/* — contact — */
.contact-section { padding-top: 56px; padding-bottom: 72px; }
.contact-section h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 24px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; }
.contact-grid .card { gap: 14px; }
.contact-grid .card-meta-label {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-accent-700);
}
.contact-grid .card-value { font-family: var(--font-heading); font-size: 22px; }
.contact-grid .card-text { font-size: 14px; }
.map-col { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.map-embed { flex: 1; min-height: 260px; overflow: hidden; }
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 260px; border: 0; }
.map-naver-link { margin-top: 0; }

@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* — readability — the design system's default body/footer opacities read too
   faint at this content density; darken and enlarge secondary text slightly
   while keeping the same visual hierarchy (muted vs. primary text). */
.card-body {
  font-size: 14px; line-height: 1.5; opacity: 1;
  color: color-mix(in srgb, var(--color-text) 82%, transparent);
}
.hero-copy p, .services-intro p {
  opacity: 1; color: color-mix(in srgb, var(--color-text) 88%, transparent);
}
.process-step p {
  font-size: 14px; opacity: 1;
  color: color-mix(in srgb, var(--color-text) 82%, transparent);
}
.site-footer .wrap {
  font-size: 13px; opacity: 1;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}
