:root {
  --paper: #f6f3ea;
  --surface: #ffffff;
  --ink: #161b1f;
  --muted: #657078;
  --line: #dce1dc;
  --green: #256b4d;
  --blue: #285f89;
  --coral: #c85f4a;
  --gold: #b38624;
  --shadow: 0 18px 48px rgba(22, 27, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(246, 243, 234, 0.9);
  border-bottom: 1px solid rgba(22, 27, 31, 0.08);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.nav {
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 15px;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(32px, 7vw, 96px);
  align-items: end;
  min-height: 76vh;
  padding: clamp(80px, 11vw, 144px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(125deg, rgba(22, 27, 31, 0.95), rgba(22, 27, 31, 0.72)),
    radial-gradient(circle at 84% 18%, rgba(200, 95, 74, 0.95), transparent 30%),
    radial-gradient(circle at 16% 82%, rgba(37, 107, 77, 0.85), transparent 32%),
    linear-gradient(135deg, #192027, #30483f 48%, #694840);
  color: #fff;
}

.hero-content {
  max-width: 900px;
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(52px, 10vw, 112px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(19px, 2.4vw, 28px);
}

.hero-note {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
}

.hero-panel {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.hero-panel span,
.hero-panel small {
  color: rgba(255, 255, 255, 0.72);
}

.hero-panel strong {
  font-size: 40px;
  line-height: 1;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.split,
.contact {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(280px, 1.18fr);
  gap: clamp(28px, 6vw, 80px);
}

.section h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.copy,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

.copy p:first-child,
.contact p {
  margin-top: 0;
}

.section-heading {
  margin-bottom: 32px;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.product,
.principle {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.product {
  min-height: 230px;
  box-shadow: var(--shadow);
}

.product.muted {
  background: rgba(255, 255, 255, 0.68);
  box-shadow: none;
}

.status {
  margin: 0 0 42px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.product h3,
.principle h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.product p:last-child,
.principle p {
  margin: 0;
  color: var(--muted);
}

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

.principle:nth-child(2) {
  border-top-color: var(--blue);
}

.principle:nth-child(3) {
  border-top-color: var(--coral);
}

.principle:nth-child(4) {
  border-top-color: var(--green);
}

.contact {
  background: #eef1ea;
}

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

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.not-found-panel {
  max-width: 560px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.not-found-panel h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
}

.not-found-panel p {
  color: var(--muted);
}

.button-link {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .split,
  .contact,
  .product-list,
  .principles {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 420px;
  }
}
