:root {
  --ink: #07172a;
  --ink-soft: #16304d;
  --muted: #66717c;
  --paper: #f7f4ee;
  --paper-deep: #eee8dc;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #fffdf8;
  --line: rgba(18, 35, 55, 0.12);
  --line-gold: rgba(195, 146, 43, 0.38);
  --gold: #c3922b;
  --gold-deep: #9c6f16;
  --navy: #07172a;
  --shadow: 0 24px 70px rgba(7, 23, 42, 0.1);
  --font-body: "Be Vietnam Pro", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Manrope", "Be Vietnam Pro", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.96), transparent 34rem),
    linear-gradient(135deg, rgba(195, 146, 43, 0.08) 0 1px, transparent 1px 100%),
    var(--paper);
  background-size: auto, 46px 46px, auto;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(255, 255, 255, 0.74) 18.2% 18.7%, transparent 19% 100%),
    linear-gradient(145deg, transparent 0 74%, rgba(195, 146, 43, 0.18) 74.2% 74.5%, transparent 74.8% 100%);
  pointer-events: none;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 6vw;
  color: var(--ink);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.scrolled,
.site-header.menu-open {
  background: rgba(247, 244, 238, 0.9);
  box-shadow: 0 12px 36px rgba(7, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-gold);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 10px 24px rgba(7, 23, 42, 0.1);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 800;
  font-size: 0.92rem;
}

.site-nav a {
  opacity: 0.78;
}

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

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

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 24px rgba(7, 23, 42, 0.06);
}

.language-switch button {
  min-width: 36px;
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  cursor: pointer;
}

.language-switch button.active {
  background: var(--navy);
  color: #fffdf8;
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: start;
  padding: 0 0 72px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fbfaf6 0%, var(--paper) 100%);
}

.hero-cover {
  width: 100%;
  padding-top: 74px;
  background: #fbfaf6;
}

.hero-cover img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.hero-content {
  width: min(1120px, 100%);
  align-self: center;
  justify-self: center;
  padding: 42px 6vw 0;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-heading);
  margin: 0 auto;
  max-width: 1120px;
  font-size: clamp(2.7rem, 5vw, 5.25rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 950px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--navy);
  color: #fffdf8;
  box-shadow: 0 14px 34px rgba(7, 23, 42, 0.16);
}

.button.secondary {
  border-color: rgba(7, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.48);
  color: var(--ink);
}

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

.strip-item {
  display: grid;
  gap: 8px;
  min-height: 126px;
  padding: 30px 6vw;
  background: rgba(255, 255, 255, 0.56);
}

.strip-item strong {
  font-size: 1.05rem;
}

.strip-item span {
  color: var(--muted);
}

.section {
  padding: 96px 6vw;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading h2,
.enroll-copy h2 {
  font-family: var(--font-heading);
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.intro-section .section-heading {
  margin: 0;
}

.section-copy {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.process-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--ink);
  font-weight: 900;
}

.process-line span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--line-gold);
  border-radius: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.62);
}

.process-line i {
  color: var(--gold-deep);
  font-style: normal;
}

.intro-grid {
  display: grid;
  gap: 22px;
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-grid p {
  margin: 0;
}

.visual-story {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 0;
}

.visual-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 50px rgba(7, 23, 42, 0.075);
}

.visual-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.visual-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 900;
}

.visual-card figcaption::after {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

.large-visual {
  align-self: stretch;
}

.large-visual img {
  height: 100%;
  min-height: 420px;
}

.compact-heading {
  max-width: 680px;
}

.programs-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(238, 232, 220, 0.42)),
    var(--paper);
}

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

.program-card,
.mentor-card,
.outcome-card,
.architecture-step,
.enroll-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 36px rgba(7, 23, 42, 0.055);
  backdrop-filter: blur(10px);
}

.program-card {
  min-height: 390px;
  padding: 26px;
}

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

.compact-card {
  min-height: 190px;
  display: grid;
  align-content: space-between;
}

.program-code {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--gold-deep);
  font-weight: 900;
  line-height: 1.2;
}

.program-card h3,
.mentor-card h3 {
  font-family: var(--font-heading);
  margin: 0;
  font-size: 1.26rem;
  line-height: 1.2;
}

.program-card p,
.mentor-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.program-card ul {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding-left: 18px;
  color: var(--ink);
}

.method-section {
  background:
    radial-gradient(circle at 85% 22%, rgba(195, 146, 43, 0.16), transparent 20rem),
    rgba(255, 255, 255, 0.34);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
}

.method-panel {
  display: grid;
  gap: 10px;
}

.method-tab {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
  padding: 12px 18px;
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.method-tab.active,
.method-tab:hover,
.method-tab:focus-visible {
  border-color: rgba(7, 23, 42, 0.28);
  background: var(--navy);
  color: #fffdf8;
}

.method-detail {
  min-height: 314px;
  border: 1px solid var(--line-gold);
  border-radius: 8px;
  padding: 44px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(238, 232, 220, 0.54)),
    var(--surface-strong);
  box-shadow: var(--shadow);
}

.method-kicker {
  margin: 0 0 12px;
  color: var(--gold-deep);
  font-weight: 900;
}

.method-detail h3 {
  font-family: var(--font-heading);
  margin: 0;
  max-width: 800px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.method-detail p:last-child {
  max-width: 790px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.outcome-visual {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  margin-bottom: 34px;
}

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

.outcome-card {
  display: grid;
  gap: 18px;
  padding: 30px;
}

.outcome-card strong {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1;
}

.outcome-card span {
  color: var(--muted);
}

.compact-outcomes .outcome-card {
  min-height: 170px;
}

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

.mentor-card {
  padding: 28px;
}

.mentor-card:nth-child(1) {
  border-top: 4px solid var(--gold);
}

.mentor-card:nth-child(2) {
  border-top: 4px solid var(--navy);
}

.mentor-card:nth-child(3) {
  border-top: 4px solid rgba(7, 23, 42, 0.42);
}

.architecture-section {
  background:
    linear-gradient(90deg, rgba(7, 23, 42, 0.05) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(7, 23, 42, 0.04) 0 1px, transparent 1px 100%),
    rgba(255, 255, 255, 0.38);
  background-size: 52px 52px;
}

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

.architecture-step {
  padding: 30px;
  min-height: 190px;
}

.architecture-step span {
  color: var(--gold-deep);
  font-weight: 900;
}

.architecture-step strong {
  font-family: var(--font-heading);
  display: block;
  margin-top: 28px;
  font-size: 1.3rem;
  line-height: 1.18;
}

.architecture-step p {
  margin: 14px 0 0;
  color: var(--muted);
}

.enroll-section {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 520px);
  gap: 58px;
  align-items: center;
  padding: 100px 6vw;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.86), transparent 23rem),
    var(--paper-deep);
  border-top: 1px solid var(--line);
}

.enroll-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.enroll-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.74);
}

.enroll-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.enroll-form input,
.enroll-form select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font: inherit;
}

.enroll-form input:focus,
.enroll-form select:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(195, 146, 43, 0.18);
}

.enroll-form .button {
  width: 100%;
}

.form-note {
  margin: 0;
  color: var(--muted);
}

.form-note.success {
  color: var(--navy);
  font-weight: 900;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 6vw;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink);
}

.footer-brand {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 14px;
  align-items: center;
}

.footer-brand img {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  transform: scale(1.08);
  background: #ffffff;
}

.footer-brand strong,
.footer-brand span {
  min-width: 0;
}

.site-footer span {
  color: var(--muted);
}

.site-footer a {
  color: var(--gold-deep);
  font-weight: 900;
}

:focus-visible {
  outline: 3px solid rgba(195, 146, 43, 0.5);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 860px) {
  .site-header {
    padding: 14px 5vw;
  }

  .site-nav {
    order: 3;
  }

  .menu-toggle {
    display: grid;
    gap: 6px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 1px solid currentColor;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.48);
    color: inherit;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    left: 5vw;
    right: 5vw;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdf8;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
    padding-bottom: 58px;
  }

  .hero-content {
    width: 100%;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .hero-cover {
    padding-top: 70px;
  }

  .trust-strip,
  .intro-section,
  .visual-story,
  .method-layout,
  .outcome-visual,
  .outcome-grid,
  .mentor-grid,
  .architecture-grid,
  .enroll-section {
    grid-template-columns: 1fr;
  }

  .strip-item,
  .section,
  .enroll-section {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .large-visual img {
    min-height: 320px;
  }
}

@media (max-width: 560px) {
  .brand-name {
    font-size: 0.95rem;
  }

  .hero h1 {
    font-size: 2.72rem;
  }

  .hero-actions {
    display: grid;
  }

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

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

  .method-detail {
    padding: 28px;
  }

  .site-footer {
    display: grid;
  }

  .footer-brand {
    grid-template-columns: 42px 1fr;
  }

  .footer-brand img {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 420px) {
  .brand-name {
    display: none;
  }
}
