:root {
  --ink: #202624;
  --muted: #5f6965;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #d9ded8;
  --green: #2f6f55;
  --green-soft: #dce9df;
  --coral: #e66e57;
  --gold: #c79a37;
  --graphite: #27302d;
  --shadow: 0 18px 45px rgba(32, 38, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 40px;
  border-bottom: 1px solid rgba(217, 222, 216, 0.8);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(14px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.nav-links {
  gap: 8px;
}

.nav-links a {
  min-width: 64px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--green-soft);
  color: var(--green);
  outline: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 78svh;
  overflow: hidden;
  isolation: isolate;
}

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

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

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(251, 250, 247, 0.58);
  content: "";
}

.hero-content {
  width: min(720px, 100%);
  padding: 96px 40px 88px;
  align-self: center;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact-band h2 {
  margin: 0;
  line-height: 1.08;
}

.hero h1 {
  max-width: 580px;
  font-size: 58px;
  font-weight: 900;
}

.hero-copy {
  max-width: 610px;
  margin: 26px 0 0;
  color: var(--graphite);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--green);
  border-radius: 8px;
  font-size: 17px;
  font-weight: 800;
}

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

.button.secondary {
  background: rgba(255, 255, 255, 0.68);
  color: var(--green);
}

.button.dark {
  border-color: var(--paper);
}

.section {
  padding: 86px 40px;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.section h2 {
  font-size: 42px;
  font-weight: 900;
}

.rich-text p {
  margin: 0;
  color: var(--graphite);
  font-size: 22px;
  font-weight: 650;
}

.rich-text p + p {
  margin-top: 22px;
}

.principles {
  background: #eef3ee;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.principle,
.service-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.principle {
  padding: 30px;
}

.number {
  color: var(--coral);
  font-size: 15px;
  font-weight: 900;
}

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

.principle p,
.service-card p,
.contact-band p,
.footer p {
  margin: 0;
}

.principle p,
.service-card p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
}

.business {
  background: var(--paper);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: 32px;
}

.service-card h3 {
  font-size: 27px;
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding: 24px 0 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.service-card li::before {
  position: absolute;
  left: 0;
  top: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.contact-band {
  background: var(--green);
  color: #fff;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr auto;
  gap: 28px;
  align-items: center;
}

.contact-band h2 {
  font-size: 36px;
}

.contact-band p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 40px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.auth-screen,
.admin-screen {
  min-height: 100svh;
}

.auth-layout,
.admin-layout {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 72px 40px 96px;
}

.auth-layout {
  display: grid;
  min-height: calc(100svh - 72px);
  place-items: center;
}

.auth-panel {
  width: min(520px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 36px;
}

.auth-panel h1,
.admin-hero h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.1;
}

.auth-copy,
.admin-copy {
  color: var(--graphite);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
}

.auth-copy {
  margin: 18px 0 28px;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: var(--graphite);
  font-size: 17px;
  font-weight: 800;
}

.auth-form input {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  padding: 0 16px;
}

.auth-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
  outline: none;
}

.auth-form button[data-pending="true"] {
  opacity: 0.72;
}

.form-message {
  min-height: 28px;
  margin: 0;
  color: #a93422;
  font-size: 16px;
  font-weight: 800;
}

.form-message[data-state="success"] {
  color: var(--green);
}

.auth-switch {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

.auth-switch a {
  color: var(--green);
  font-weight: 900;
}

.admin-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
  padding: 42px 0 34px;
}

.admin-copy {
  max-width: 760px;
  margin: 20px 0 0;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.admin-card {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 30px;
}

.admin-card h2 {
  margin: 12px 0 10px;
  font-size: 25px;
  line-height: 1.2;
}

.admin-card p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 22px;
  }

  .brand {
    font-size: 16px;
  }

  .hero-content {
    padding: 78px 28px 74px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-copy {
    font-size: 22px;
  }

  .section {
    padding: 70px 28px;
  }

  .two-column,
  .principle-grid,
  .service-grid,
  .contact-inner,
  .admin-hero,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .two-column {
    gap: 28px;
  }

  .section h2 {
    font-size: 36px;
  }

  .service-card {
    min-height: auto;
  }

  .auth-layout,
  .admin-layout {
    padding: 58px 28px 76px;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    display: grid;
    gap: 12px;
    padding: 16px 18px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links a {
    flex: 1;
    min-width: 0;
    padding: 11px 8px;
    background: #eef3ee;
    font-size: 17px;
  }

  .hero {
    min-height: 76svh;
  }

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

  .hero::after {
    background: rgba(251, 250, 247, 0.7);
  }

  .hero-content {
    padding: 58px 20px 64px;
  }

  .eyebrow,
  .section-label {
    font-size: 14px;
  }

  .hero h1 {
    max-width: 320px;
    font-size: 38px;
  }

  .hero-copy {
    max-width: 340px;
    font-size: 21px;
    line-height: 1.52;
  }

  .button {
    width: 100%;
    min-height: 54px;
    font-size: 18px;
  }

  .section {
    padding: 62px 20px;
  }

  .section h2 {
    font-size: 32px;
  }

  .rich-text p {
    font-size: 20px;
  }

  .principle,
  .service-card {
    padding: 24px;
  }

  .principle h3,
  .service-card h3 {
    font-size: 24px;
  }

  .principle p,
  .service-card p,
  .service-card li,
  .contact-band p {
    font-size: 18px;
  }

  .contact-band h2 {
    font-size: 30px;
  }

  .footer {
    display: grid;
    padding: 28px 20px;
  }

  .auth-layout,
  .admin-layout {
    min-height: auto;
    padding: 42px 20px 68px;
  }

  .auth-panel {
    padding: 26px 20px;
  }

  .auth-panel h1,
  .admin-hero h1 {
    font-size: 34px;
  }

  .auth-copy,
  .admin-copy {
    font-size: 19px;
  }

  .auth-form input {
    min-height: 58px;
    font-size: 21px;
  }

  .auth-form label,
  .auth-switch,
  .admin-card p {
    font-size: 18px;
  }

  .admin-hero {
    padding-top: 20px;
  }

  .admin-card {
    min-height: auto;
    padding: 24px;
  }
}
