:root {
  --ink: #101a16;
  --muted: #51635a;
  --navy: #13253d;
  --green: #203d2b;
  --green-2: #5b745f;
  --gold: #d7ad55;
  --red: #bb3d32;
  --teal: #2fa8a5;
  --blue-soft: #eaf3ff;
  --gold-soft: #fff4d8;
  --green-soft: #eaf7f0;
  --red-soft: #fee9e8;
  --paper: #f8faf8;
  --line: rgba(32, 61, 43, 0.18);
  --shadow: 0 18px 60px rgba(16, 26, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body[data-lang="ko"] {
  font-family: Inter, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", ui-sans-serif, system-ui, sans-serif;
  word-break: keep-all;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(248, 250, 248, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  flex: 0 0 auto;
  width: min(252px, 42vw);
}

.brand img {
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-left: auto;
}

.nav-links a,
.header-cta,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.nav-links a {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--green);
  background: rgba(91, 116, 95, 0.09);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: #e8eee9;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lang-button {
  min-width: 44px;
  min-height: 38px;
  padding: 6px 10px;
  color: var(--green);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
}

.lang-button.is-active {
  color: white;
  background: var(--green);
  box-shadow: 0 6px 14px rgba(32, 61, 43, 0.16);
}

.lang-button:focus-visible,
.header-cta:focus-visible,
.nav-links a:focus-visible,
.button:focus-visible,
.download-link:focus-visible {
  outline: 3px solid rgba(215, 173, 85, 0.65);
  outline-offset: 3px;
}

.header-cta {
  padding: 8px 18px;
  color: white;
  background: var(--green);
  box-shadow: 0 8px 18px rgba(32, 61, 43, 0.18);
}

.hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
  background: var(--green);
  border-bottom: 10px solid var(--gold);
}

.hero-art {
  position: absolute;
  inset: auto 2vw -22vh auto;
  width: min(580px, 42vw);
  max-height: 112vh;
  object-fit: contain;
  opacity: 0.88;
  filter: drop-shadow(0 28px 70px rgba(0, 0, 0, 0.36));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(19, 37, 61, 0.96) 0%, rgba(32, 61, 43, 0.92) 46%, rgba(32, 61, 43, 0.44) 100%),
    linear-gradient(0deg, rgba(16, 26, 22, 0.78) 0%, rgba(16, 26, 22, 0.08) 42%);
}

.hero-inner {
  position: relative;
  width: min(1040px, calc(100% - 36px));
  padding: 122px 0 72px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1cf7c;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-kicker {
  max-width: 780px;
  margin: 20px 0 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  font-weight: 900;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.14rem;
}

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

.button {
  padding: 12px 18px;
  border: 2px solid transparent;
  font-size: 0.98rem;
}

.button-primary {
  color: var(--ink);
  background: var(--gold);
}

.button-secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.55);
}

.button-light {
  width: fit-content;
  color: var(--green);
  background: white;
}

.signal-strip {
  width: min(1120px, calc(100% - 36px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: -36px auto 0;
  position: relative;
  z-index: 4;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.signal-strip div {
  min-height: 120px;
  padding: 24px;
  background: white;
}

.signal-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 1.04rem;
}

.signal-strip span {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading h2,
.credibility-band h2,
.open-house h2 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.intro-grid p {
  margin: 0;
  padding: 0 0 0 20px;
  border-left: 5px solid var(--gold);
  color: #26332e;
  font-size: 1.12rem;
}

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

.program-card,
.fit-panel {
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(16, 26, 22, 0.08);
}

.program-card {
  position: relative;
  min-height: 320px;
  padding: 28px 28px 28px 92px;
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background: var(--green-2);
}

.program-card h3 {
  margin: 0 0 8px;
  font-size: 1.72rem;
  line-height: 1.12;
}

.program-card p {
  margin: 16px 0 0;
}

.program-number {
  position: absolute;
  top: 28px;
  left: 28px;
  width: 44px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: white;
  background: var(--green-2);
  border-radius: 50%;
  font-size: 1.28rem;
  font-weight: 900;
}

.program-target {
  color: var(--red);
  font-weight: 900;
}

.recruiting {
  color: var(--green-2);
  font-weight: 900;
}

.program-blue {
  background: var(--blue-soft);
}

.program-gold {
  background: var(--gold-soft);
}

.program-gold::before,
.program-gold .program-number {
  background: var(--gold);
}

.program-teal {
  background: var(--green-soft);
}

.program-teal::before,
.program-teal .program-number {
  background: var(--teal);
}

.program-red {
  background: var(--red-soft);
}

.program-red::before,
.program-red .program-number {
  background: var(--red);
}

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

.fit-panel {
  padding: 28px;
  background: white;
}

.muted-panel {
  background: #f3f5f1;
}

.fit-panel h3 {
  margin: 0 0 16px;
  font-size: 1.45rem;
}

.fit-panel ul {
  margin: 0;
  padding-left: 20px;
}

.fit-panel li + li {
  margin-top: 10px;
}

.credibility-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  padding: 34px;
  color: white;
  background: var(--green);
  border-left: 10px solid var(--gold);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.credibility-band p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.04rem;
}

.flyer-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.flyer-gallery figure {
  margin: 0;
}

.flyer-gallery img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  object-position: top;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(16, 26, 22, 0.12);
}

.flyer-gallery figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}

.download-panel {
  margin-top: 32px;
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(16, 26, 22, 0.08);
}

.download-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
}

.download-heading h3 {
  margin: 0;
  color: var(--green);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.download-heading p {
  margin: 0;
  color: var(--muted);
}

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

.download-card {
  padding: 22px;
  background: #f5f8f5;
  border-left: 6px solid var(--gold);
  border-radius: 8px;
}

.download-card h4 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: var(--ink);
}

.download-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.download-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.download-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  color: white;
  background: var(--green);
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: 900;
}

.download-link:hover {
  background: #152b1e;
}

.open-house {
  width: min(1120px, calc(100% - 36px));
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 28px;
  margin: 86px auto 0;
  padding: 34px;
  color: white;
  background: var(--green);
  border-left: 10px solid var(--red);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.open-house-copy p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
}

.event-details {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.event-details div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
}

.event-details dt {
  color: #f1cf7c;
  font-weight: 900;
}

.event-details dd {
  margin: 0;
}

.event-details a {
  color: white;
  font-weight: 800;
}

.qr-block {
  align-self: center;
  padding: 18px;
  color: var(--ink);
  text-align: center;
  background: white;
  border-radius: 8px;
}

.qr-block img {
  width: 100%;
  aspect-ratio: 1;
}

.qr-block p {
  margin: 12px 0 0;
  font-weight: 900;
}

.site-footer {
  width: min(1120px, calc(100% - 36px));
  margin: 38px auto 0;
  padding: 0 0 40px;
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .header-cta {
    margin-left: auto;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    min-height: 0;
    align-items: center;
  }

  .hero-inner {
    padding: 72px 0 58px;
  }

  .hero-art {
    width: 72vw;
    right: -18vw;
    bottom: -18vh;
    opacity: 0.42;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(19, 37, 61, 0.96) 0%, rgba(32, 61, 43, 0.9) 68%, rgba(32, 61, 43, 0.56) 100%),
      linear-gradient(0deg, rgba(16, 26, 22, 0.78) 0%, rgba(16, 26, 22, 0.12) 42%);
  }

  h1 {
    font-size: 4rem;
  }

  .hero-kicker {
    font-size: 2.2rem;
  }

  .signal-strip,
  .intro-grid,
  .program-grid,
  .fit-grid,
  .credibility-band,
  .flyer-gallery,
  .download-heading,
  .download-grid,
  .open-house {
    grid-template-columns: 1fr;
  }

  .program-card {
    min-height: 0;
  }

  .open-house {
    padding: 26px;
  }

  .qr-block {
    width: min(220px, 100%);
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 10px 14px;
  }

  .brand {
    width: min(220px, 68vw);
  }

  .nav-links a {
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .header-cta {
    min-height: 40px;
    padding: 6px 12px;
  }

  .language-toggle {
    padding: 2px;
  }

  .lang-button {
    min-width: 38px;
    min-height: 34px;
    padding: 4px 8px;
    font-size: 0.82rem;
  }

  .hero-inner {
    width: min(100% - 28px, 1040px);
    padding: 52px 0 54px;
  }

  h1 {
    font-size: 3.35rem;
  }

  .hero-kicker {
    font-size: 1.78rem;
  }

  .hero-copy,
  .intro-grid p {
    font-size: 1rem;
  }

  .section {
    width: min(100% - 28px, 1120px);
    padding-top: 64px;
  }

  .section-heading h2,
  .credibility-band h2,
  .open-house h2 {
    font-size: 2.12rem;
  }

  .signal-strip {
    width: min(100% - 28px, 1120px);
  }

  .signal-strip div,
  .fit-panel,
  .credibility-band {
    padding: 22px;
  }

  .download-panel {
    padding: 22px;
  }

  .download-actions {
    grid-template-columns: 1fr;
  }

  .program-card {
    padding: 24px 22px 24px 78px;
  }

  .program-number {
    left: 22px;
  }

  .program-card h3 {
    font-size: 1.45rem;
  }

  .event-details div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .open-house {
    width: min(100% - 28px, 1120px);
  }
}
