:root {
  --ink: #17352e;
  --muted: #587168;
  --green: #2c7660;
  --green-dark: #185746;
  --green-soft: #e7f4ed;
  --blue: #39769b;
  --blue-soft: #e9f3f8;
  --yellow-soft: #fff4d8;
  --line: #dbe8e2;
  --surface: #ffffff;
  --background: #f7fbf8;
  --shadow: 0 16px 44px rgba(29, 80, 64, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid #1872a2;
  outline-offset: 4px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--ink);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 232, 226, 0.8);
  background: rgba(247, 251, 248, 0.94);
  backdrop-filter: blur(12px);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--green-dark);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 11px 11px 11px 3px;
  color: #fff;
  background: var(--green);
  font-family: Georgia, serif;
  font-size: 1.15rem;
}

nav {
  display: none;
  align-items: center;
  gap: 1.6rem;
}

nav a,
footer a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
footer a:hover {
  color: var(--green-dark);
}

.hero {
  overflow: hidden;
  padding: 4rem 0 4.5rem;
  background:
    radial-gradient(circle at 80% 15%, rgba(202, 235, 220, 0.7), transparent 26rem),
    linear-gradient(180deg, #f7fbf8 0%, #edf7f1 100%);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.3;
  letter-spacing: -0.045em;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 8vw, 4.4rem);
}

h1 span {
  color: var(--green);
}

h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.75rem, 5vw, 2.7rem);
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 1.8rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.65rem 1.2rem;
  border-radius: 14px;
  color: #fff;
  background: var(--green-dark);
  box-shadow: 0 8px 22px rgba(24, 87, 70, 0.18);
  font-weight: 750;
  text-decoration: none;
}

.primary-button:hover {
  background: #104a3b;
}

.inquiry-card {
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.inquiry-title {
  margin-bottom: 1rem;
  font-weight: 800;
}

.inquiry-card ol {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.inquiry-card li {
  display: grid;
  grid-template-columns: 42px 1fr;
  padding: 0.9rem;
  border-radius: 16px;
  background: var(--surface);
}

.inquiry-card li > span {
  grid-row: span 2;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
}

.inquiry-card small {
  color: var(--muted);
  font-size: 0.82rem;
}

.section {
  padding: 4.5rem 0;
}

.section-heading {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 2rem;
}

.section-heading p:last-child {
  max-width: 580px;
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.project-card {
  position: relative;
  display: block;
  min-height: 250px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(29, 80, 64, 0.05);
}

.project-card.active {
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
  text-decoration: none;
}

.project-card.active:hover {
  transform: translateY(-3px);
  border-color: #9dc7b5;
  box-shadow: var(--shadow);
}

.card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 1.7rem;
  place-items: center;
  border-radius: 15px;
  font-size: 1.25rem;
  font-weight: 800;
}

.card-icon.green {
  color: var(--green-dark);
  background: var(--green-soft);
}

.card-icon.blue {
  color: #245f82;
  background: var(--blue-soft);
}

.card-icon.yellow {
  color: #806217;
  background: var(--yellow-soft);
}

.status {
  position: absolute;
  top: 1.5rem;
  right: 1.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
  font-size: 0.74rem;
  font-weight: 800;
}

.status.open {
  color: var(--green-dark);
  background: var(--green-soft);
}

.status.preparing {
  color: #596c64;
  background: #edf2ef;
}

.project-card p {
  color: var(--muted);
}

.card-action {
  position: absolute;
  right: 1.35rem;
  bottom: 1.25rem;
  left: 1.35rem;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 800;
}

.upcoming-section {
  background: #eff7f3;
}

.upcoming {
  min-height: 225px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: none;
}

.principles-section {
  background: var(--ink);
}

.principles {
  display: grid;
  gap: 2.5rem;
}

.principles h2,
.principles strong {
  color: #fff;
}

.principles > div > p:last-child,
.principle-list p {
  color: #bdd0c8;
}

.principles .eyebrow {
  color: #8fd1b4;
}

.principle-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.principle-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.5rem;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.principle-list li > span {
  color: #8fd1b4;
  font-size: 0.78rem;
  font-weight: 850;
}

.principle-list p {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
}

footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

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

.footer-inner p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-brand {
  font-size: 0.95rem;
}

.footer-brand .brand-mark {
  width: 28px;
  height: 28px;
  font-size: 1rem;
}

.privacy-main {
  min-height: calc(100vh - 160px);
  padding: 3.5rem 0 5rem;
  background: linear-gradient(180deg, #edf7f1, var(--background) 260px);
}

.privacy-card {
  max-width: 780px;
  padding: clamp(1.4rem, 5vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.privacy-card h1 {
  font-size: clamp(2rem, 7vw, 3.3rem);
}

.privacy-card h2 {
  font-size: 1.35rem;
}

.privacy-card section {
  margin: 2rem 0;
}

.privacy-card section p {
  color: var(--muted);
}

.notice {
  margin: 1.8rem 0 2.5rem;
  padding: 1.25rem;
  border-left: 4px solid var(--green);
  border-radius: 4px 16px 16px 4px;
  background: var(--green-soft);
}

.notice p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.text-link {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (min-width: 680px) {
  nav {
    display: flex;
  }

  .hero {
    padding: 5.5rem 0;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    align-items: center;
    flex-direction: row;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 5rem;
  }

  .section {
    padding: 6rem 0;
  }

  .section-heading {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .section-heading > p {
    justify-self: end;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .upcoming-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 750px;
  }

  .principles {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .project-card.active {
    transition: none;
  }
}
