:root {
  --bg: #f2efe8;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --ink: #12211c;
  --muted: #50615c;
  --line: rgba(18, 33, 28, 0.12);
  --accent: #123c31;
  --accent-soft: #dce8e2;
  --highlight: #c48a3a;
  --shadow: 0 24px 80px rgba(18, 33, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(196, 138, 58, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(18, 60, 49, 0.14), transparent 26%),
    linear-gradient(180deg, #f7f4ee 0%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(18, 33, 28, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 33, 28, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 72%);
}

.page-shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 8px 0 28px;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand-kicker,
.eyebrow,
.insight-card span,
.feature-label {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}

.brand-kicker,
.eyebrow,
.insight-card span {
  color: var(--accent);
}

.brand-mark {
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav a,
.contact-list a {
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:hover,
.contact-list a:hover,
.button:hover {
  opacity: 0.76;
}

.hero-section,
.about-layout,
.impact-section,
.contact-panel {
  display: grid;
  gap: 28px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.8fr);
  align-items: end;
  min-height: 72vh;
  padding: 42px;
  border-radius: 38px;
  isolation: isolate;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 19, 16, 0.78) 0%, rgba(9, 19, 16, 0.58) 42%, rgba(9, 19, 16, 0.26) 100%),
    url("https://images.unsplash.com/photo-1473773508845-188df298d2d1?auto=format&fit=crop&w=1800&q=80")
      center/cover no-repeat;
  transform: scale(1.02);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    linear-gradient(0deg, rgba(18, 60, 49, 0.16), rgba(18, 60, 49, 0.16));
}

.hero-copy h1,
.section-heading h2,
.impact-card h2 {
  margin: 0;
  line-height: 1.04;
  font-weight: 800;
}

.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
  max-width: 11ch;
  color: #fff;
}

.hero-text,
.lead-paragraph,
.service-card p,
.insight-card p,
.impact-points p,
.feature-card p,
.contact-panel p,
.timeline-card p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-text {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-copy .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

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

.button-secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
}

.hero-panel,
.insight-card,
.timeline-card,
.service-card,
.impact-card,
.impact-points article,
.contact-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-panel {
  border-radius: 30px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.82);
}

.feature-card {
  padding: 16px 4px 22px;
  border-bottom: 1px solid var(--line);
}

.feature-card h2 {
  margin: 10px 0 10px;
  font-size: 1.75rem;
  line-height: 1.2;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 18px;
}

.stat-grid article {
  padding: 18px;
  border-radius: 22px;
  background: var(--surface-strong);
}

.stat-grid article:last-child {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(18, 60, 49, 0.95), rgba(22, 85, 69, 0.9));
  color: #fff;
}

.stat-grid strong {
  display: block;
  font-size: 1.45rem;
  margin-bottom: 8px;
}

section {
  padding: 54px 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.section-heading h2,
.impact-card h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  max-width: 14ch;
}

.insight-grid,
.service-grid,
.impact-points,
.people-grid {
  display: grid;
  gap: 18px;
}

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

.insight-card,
.service-card,
.impact-points article,
.person-card {
  padding: 24px;
  border-radius: 26px;
}

.insight-card h3,
.service-card h3 {
  margin: 14px 0 10px;
  font-size: 1.35rem;
  line-height: 1.3;
}

.about-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: start;
}

.lead-paragraph {
  margin: 0;
  padding-right: 24px;
  font-size: 1.08rem;
}

.timeline-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 30px;
}

.timeline-year {
  display: inline-block;
  min-width: 48px;
  margin-bottom: 8px;
  color: var(--highlight);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
}

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

.service-card {
  min-height: 220px;
}

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

.person-card {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.person-card img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.person-copy {
  padding: 22px 22px 24px;
}

.person-copy span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.person-copy h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.person-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.impact-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
}

.impact-card {
  padding: 28px;
  border-radius: 34px;
  background:
    linear-gradient(140deg, rgba(18, 60, 49, 0.95), rgba(36, 58, 51, 0.82)),
    var(--surface);
  color: #fff;
}

.impact-card .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

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

.impact-points article strong {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 1rem;
}

.project-preview-panel,
.projects-hero,
.project-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.project-preview-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  border-radius: 30px;
}

.project-preview-panel p,
.projects-intro,
.project-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.projects-hero {
  padding: 42px;
  border-radius: 38px;
  margin-bottom: 20px;
}

.projects-hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  line-height: 1.05;
}

.projects-intro {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: 1.05rem;
}

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

.project-grid-ongoing {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  overflow: hidden;
  padding: 0;
  border-radius: 28px;
}

.project-card img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.project-copy {
  padding: 22px 22px 26px;
}

.project-copy span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-copy h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.3;
}

.project-copy p {
  margin: 0;
}

.project-card-active .project-copy span {
  color: var(--highlight);
}

.contact-panel {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: center;
  padding: 30px;
  border-radius: 30px;
}

.contact-list {
  display: grid;
  gap: 12px;
  justify-items: start;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero-section,
  .about-layout,
  .impact-section,
  .contact-panel,
  .project-preview-panel,
  .insight-grid,
  .service-grid,
  .impact-points,
  .people-grid,
  .project-grid,
  .project-grid-ongoing {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 32px;
  }

  .section-heading h2,
  .impact-card h2,
  .projects-hero h1 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 24px, 1200px);
    padding-top: 20px;
  }

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

  .hero-copy h1 {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }

  .hero-section {
    padding: 28px 22px;
  }

  .projects-hero,
  .project-preview-panel {
    padding: 28px 22px;
  }

  .hero-panel,
  .insight-card,
  .service-card,
  .impact-card,
  .impact-points article,
  .contact-panel,
  .timeline-card,
  .projects-hero,
  .project-card,
  .project-preview-panel {
    border-radius: 24px;
  }

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

  .stat-grid article:last-child {
    grid-column: auto;
  }
}
