:root {
  --ink: #112a25;
  --muted: #526964;
  --green: #0f3d33;
  --green-bright: #2f7d66;
  --cream: #f7f4ec;
  --paper: #fffdf8;
  --line: rgba(17, 42, 37, 0.12);
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 22%, rgba(103, 181, 146, 0.18), transparent 28rem),
    radial-gradient(circle at 12% 88%, rgba(236, 184, 91, 0.14), transparent 25rem);
}

.shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.hero { min-height: calc(100vh - 84px); }

.brand { padding: 28px 0; }

.brand a { display: inline-block; }

.brand img {
  display: block;
  width: clamp(210px, 24vw, 285px);
  height: auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
  padding: clamp(56px, 10vh, 110px) 0 100px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--green-bright);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1 {
  max-width: 700px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(52px, 7.3vw, 88px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

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

.intro {
  max-width: 620px;
  margin: 30px 0 34px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.75;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 25px;
  border-radius: 14px;
  background: var(--green);
  color: white;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(15, 61, 51, 0.2);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  background: #145246;
  box-shadow: 0 18px 38px rgba(15, 61, 51, 0.24);
}

.cta:focus-visible { outline: 3px solid rgba(47, 125, 102, 0.35); outline-offset: 4px; }

.cta svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid rgba(17, 42, 37, 0.09);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 30px 80px rgba(24, 62, 53, 0.12);
  backdrop-filter: blur(12px);
  transform: rotate(1.5deg);
}

.language-card::after {
  content: "90";
  position: absolute;
  right: -20px;
  bottom: -63px;
  color: rgba(47, 125, 102, 0.065);
  font-size: 180px;
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 1;
}

.card-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 56px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e95f48;
  box-shadow: 0 0 0 4px rgba(233, 95, 72, 0.12);
}

.hangul {
  font-size: clamp(44px, 6vw, 67px);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1.1;
}

.romanization {
  margin-top: 11px;
  color: var(--green-bright);
  font-size: 16px;
  font-weight: 700;
}

.meaning {
  margin-top: 38px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.progress {
  position: relative;
  z-index: 1;
  height: 7px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4ebe5;
}

.progress span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #69af91);
}

.language-card > p {
  position: relative;
  z-index: 1;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.programs {
  padding: 92px 0 110px;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.56);
}

.programs h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: -0.055em;
  line-height: 1.05;
}

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

.program-card {
  display: flex;
  min-width: 0;
  min-height: 370px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 18px 52px rgba(24, 62, 53, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.program-card:hover,
.program-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(47, 125, 102, 0.4);
  box-shadow: 0 24px 60px rgba(24, 62, 53, 0.13);
}

.program-card:focus-visible { outline: 3px solid rgba(47, 125, 102, 0.35); outline-offset: 4px; }

.logo-stage {
  display: grid;
  height: 118px;
  place-items: center;
  padding: 14px 20px;
  border-radius: 16px;
  background: white;
}

.logo-stage img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 86px;
  object-fit: contain;
}

.japanese-logo img { max-height: 72px; }

.program-copy {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.program-copy strong { font-size: 24px; letter-spacing: -0.035em; }
.program-copy > span { color: var(--muted); font-size: 15px; line-height: 1.65; }

.program-link {
  margin-top: auto;
  padding-top: 26px;
  color: var(--green-bright);
  font-size: 14px;
  font-weight: 800;
}

footer { border-top: 1px solid var(--line); }

footer .shell {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 620px); }
  .brand { padding-top: 20px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 58px;
    padding: 54px 0 72px;
  }
  h1 { font-size: clamp(48px, 14vw, 68px); }
  .intro { margin-top: 24px; font-size: 17px; line-height: 1.65; }
  .cta { width: 100%; justify-content: center; }
  .language-card { padding: 26px; transform: none; }
  .card-top { margin-bottom: 42px; }
  .programs { padding: 72px 0 82px; }
  .program-grid { grid-template-columns: 1fr; margin-top: 34px; }
  .program-card { min-height: 340px; padding: 24px; }
  footer .shell { flex-direction: column; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
