@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=IBM+Plex+Sans+KR:wght@400;500;600;700&display=swap");

:root {
  --ink: #111916;
  --forest: #13211d;
  --moss: #28473b;
  --copper: #9d5f42;
  --wine: #6e2638;
  --paper: #f5f5ef;
  --porcelain: #fbfbf7;
  --line: rgba(17, 25, 22, 0.14);
  --muted: rgba(17, 25, 22, 0.66);
  --white-soft: rgba(255, 255, 248, 0.86);
  --shadow: 0 24px 80px rgba(12, 22, 18, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: "IBM Plex Sans KR", "Apple SD Gothic Neo", sans-serif;
  line-height: 1.55;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--porcelain);
  color: var(--ink);
  border: 1px solid var(--line);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px clamp(20px, 4vw, 64px);
  color: var(--white-soft);
  mix-blend-mode: difference;
}

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

.brand {
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
}

.nav-links {
  gap: clamp(16px, 3vw, 34px);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.nav-links a {
  opacity: 0.78;
  transition: opacity 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 118px clamp(20px, 6vw, 84px) 92px;
  background: var(--forest);
  color: var(--porcelain);
}

#signalCanvas,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#signalCanvas {
  opacity: 0.72;
}

.hero-shade {
  background:
    radial-gradient(circle at 18% 24%, rgba(157, 95, 66, 0.22), transparent 30%),
    linear-gradient(90deg, rgba(9, 16, 14, 0.9) 0%, rgba(9, 16, 14, 0.72) 44%, rgba(9, 16, 14, 0.2) 100%),
    linear-gradient(180deg, rgba(9, 16, 14, 0.2), rgba(9, 16, 14, 0.88));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.intro-section h2,
.prometheon-section h2,
.contact-section h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(68px, 12vw, 164px);
  line-height: 0.83;
  font-weight: 600;
}

.hero-line {
  max-width: 780px;
  margin: 32px 0 0;
  font-size: clamp(27px, 4vw, 58px);
  line-height: 1.02;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
}

.hero-korean {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 248, 0.76);
  font-size: clamp(16px, 1.65vw, 21px);
}

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

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 19px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 700;
}

.button-primary {
  background: var(--porcelain);
  color: var(--forest);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 248, 0.36);
  color: var(--porcelain);
}

.hero-meta {
  position: absolute;
  right: clamp(20px, 4vw, 64px);
  bottom: 30px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 560px;
}

.hero-meta span {
  border: 1px solid rgba(255, 255, 248, 0.22);
  padding: 7px 10px;
  color: rgba(255, 255, 248, 0.7);
  font-size: 12px;
}

.intro-section,
.work-section,
.prometheon-section,
.criteria-section,
.contact-section {
  padding: clamp(70px, 10vw, 128px) clamp(20px, 6vw, 84px);
}

.section-grid,
.section-heading,
.practice-grid,
.prometheon-panel,
.criteria-list,
.contact-inner,
.site-footer {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
}

.intro-section {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.intro-section h2,
.section-heading h2,
.prometheon-section h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(38px, 6vw, 82px);
  line-height: 0.96;
  font-weight: 600;
}

.intro-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
}

.intro-copy p + p {
  margin-top: 18px;
}

.work-section {
  background:
    linear-gradient(180deg, rgba(251, 251, 247, 0), rgba(40, 71, 59, 0.07)),
    var(--porcelain);
}

.section-heading {
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-heading h2 {
  max-width: 940px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.practice-card {
  min-height: 330px;
  padding: 28px;
  background: rgba(251, 251, 247, 0.96);
  transition: background 180ms ease, transform 180ms ease;
}

.practice-card:hover {
  background: #ffffff;
  transform: translateY(-4px);
}

.card-index {
  display: block;
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 70px;
}

.practice-card h3 {
  min-height: 92px;
  margin: 0;
  font-size: 22px;
  line-height: 1.12;
}

.practice-card p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.prometheon-section {
  background: var(--forest);
  color: var(--porcelain);
}

.prometheon-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}

.prometheon-copy .lead {
  color: rgba(255, 255, 248, 0.86);
  font-size: clamp(18px, 2vw, 22px);
}

.prometheon-copy p:not(.section-kicker) {
  max-width: 680px;
  color: rgba(255, 255, 248, 0.68);
  font-size: 17px;
}

.signal-board {
  border: 1px solid rgba(255, 255, 248, 0.17);
  background:
    linear-gradient(135deg, rgba(255, 255, 248, 0.07), rgba(255, 255, 248, 0.02)),
    rgba(255, 255, 248, 0.03);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.24);
}

.signal-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  min-height: 92px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 248, 0.14);
}

.signal-row-final {
  border-bottom: 0;
  background: rgba(157, 95, 66, 0.16);
}

.signal-row span {
  color: rgba(255, 255, 248, 0.64);
  font-size: 14px;
}

.signal-row strong {
  color: var(--porcelain);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.criteria-section {
  background: var(--paper);
}

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

.criteria-list div {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}

.criteria-list span {
  color: var(--wine);
  font-weight: 700;
}

.criteria-list p {
  max-width: 320px;
  color: var(--muted);
  font-size: 17px;
}

.contact-section {
  background:
    radial-gradient(circle at 75% 20%, rgba(110, 38, 56, 0.11), transparent 28%),
    var(--porcelain);
}

.contact-inner {
  padding: clamp(44px, 7vw, 82px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.contact-link {
  display: inline-block;
  margin-top: 18px;
  font-size: clamp(24px, 4vw, 54px);
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--moss);
  border-bottom: 1px solid currentColor;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 84px) 42px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 86vh;
  }

  .section-grid,
  .prometheon-panel {
    grid-template-columns: 1fr;
  }

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

  .criteria-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 18px 20px;
  }

  .hero {
    min-height: 92vh;
    padding: 104px 20px 112px;
  }

  .hero h1 {
    font-size: clamp(56px, 18vw, 90px);
  }

  .hero-line {
    font-size: clamp(29px, 10vw, 43px);
  }

  .hero-actions {
    width: 100%;
  }

  .button-primary,
  .button-secondary {
    justify-content: center;
    width: 100%;
  }

  .hero-meta {
    left: 20px;
    right: 20px;
    justify-content: flex-start;
  }

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

  .practice-card {
    min-height: 248px;
  }

  .card-index {
    margin-bottom: 38px;
  }

  .practice-card h3 {
    min-height: 0;
  }

  .signal-row {
    grid-template-columns: 1fr;
    min-height: 84px;
  }

  .site-footer {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
