/* ===== DESIGN TOKENS ===== */
:root {
  --navy: #0a2540;
  --navy-deep: #061a30;
  --ocean: #0d6efd;
  --ocean-blue: #1577c2;
  --sky: #3fa9e0;
  --sky-soft: #e8f4fb;
  --orange: #ff7a33;
  --orange-soft: #ffe3d3;
  --white: #ffffff;
  --paper: #f7fafc;
  --ink: #122a44;
  --muted: #5b738c;
  --line: #e2ebf3;

  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 37, 64, 0.1);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.16);

  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1180px;

  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 700; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

/* ===== LAYOUT ===== */
.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ocean-blue);
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--sky); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.section-lead {
  margin-top: 1.1rem;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--muted);
}
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center .section-lead { max-width: 640px; margin-inline: auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(255, 122, 51, 0.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(255, 122, 51, 0.42); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn-sm { padding: 0.7rem 1.3rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--ocean-blue);
  margin-top: 1.5rem;
}
.link-arrow::after { content: "→"; transition: transform 0.2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 0.5rem 0;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 0; }

.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.3rem; color: #fff; }
.site-header.scrolled .brand { color: var(--navy); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}
.brand--light { color: #fff; }

.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a { font-weight: 600; font-size: 0.95rem; color: rgba(255,255,255,0.92); transition: color 0.2s; }
.nav a:hover { color: #fff; }
.site-header.scrolled .nav a { color: var(--ink); }
.site-header.scrolled .nav a:hover { color: var(--ocean-blue); }
.nav .nav-cta {
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff !important;
}
.nav .nav-cta:hover { background: #ff6a1a; }

.menu-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; flex-direction: column; gap: 5px; justify-content: center; align-items: center; }
.menu-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.25s; }
.site-header.scrolled .menu-toggle span { background: var(--navy); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: 7rem 0 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--navy-deep);
  background-image:
    radial-gradient(ellipse 80% 60% at 78% 12%, rgba(63, 169, 224, 0.38), transparent 60%),
    linear-gradient(105deg, rgba(6, 26, 48, 0.94) 0%, rgba(10, 37, 64, 0.82) 42%, rgba(10, 37, 64, 0.42) 100%),
    url("assets/images/hero-jeju.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
.hero-inner { position: relative; max-width: 780px; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 1.25rem;
}
.hero-title .word { display: inline-block; margin-right: 0.4rem; }
.hero-title .accent { color: var(--orange); }
.hero-sub { font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 600; color: var(--sky); }
.hero-lead { margin-top: 1.1rem; font-size: 1.1rem; color: rgba(255,255,255,0.86); max-width: 560px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 1.7rem; color: #fff; }
.hero-stats span { font-size: 0.85rem; color: rgba(255,255,255,0.7); letter-spacing: 0.03em; }

.scroll-cue { position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.5); border-radius: 14px; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: #fff; border-radius: 2px; animation: scroll 1.6s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 12px); } 100% { opacity: 0; } }

/* ===== PROBLEM ===== */
.problem { background: var(--paper); }
.problem .section-title { margin-top: 0.5rem; }

/* ===== ABOUT ===== */
.about-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.media-card {
  position: relative;
  border-radius: var(--radius-lg);
  min-height: 230px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.media-card--blue { background: linear-gradient(150deg, var(--ocean-blue), var(--sky)); margin-top: 2.5rem; }
.media-card--orange { background: linear-gradient(150deg, var(--orange), #ffb07a); }
.media-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-tag {
  position: absolute;
  left: 1.2rem; bottom: 1.2rem;
  background: rgba(255,255,255,0.92);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}
.about-copy p { color: var(--muted); margin-top: 1.2rem; }
.about-copy .section-title { margin-top: 0.5rem; }

.check-list { margin-top: 1.6rem; display: grid; gap: 0.8rem; }
.check-list li { position: relative; padding-left: 2rem; color: var(--ink); font-weight: 500; }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 1.4rem; height: 1.4rem;
  display: grid; place-items: center;
  background: var(--sky-soft);
  color: var(--ocean-blue);
  border-radius: 50%;
  font-size: 0.8rem; font-weight: 800;
}

/* ===== PROGRAMS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.program-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.program-icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  font-size: 1.8rem;
  background: var(--sky-soft);
  border-radius: 16px;
  margin-bottom: 1.3rem;
}
.program-card h3 { font-size: 1.3rem; color: var(--navy); }
.program-card p { margin-top: 0.7rem; color: var(--muted); font-size: 0.98rem; flex: 1; }
.program-tag {
  align-self: flex-start;
  margin-top: 1.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-soft);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}
.program-card--more {
  background: linear-gradient(155deg, var(--navy), var(--ocean-blue));
  border: none;
  color: #fff;
  justify-content: center;
}
.program-card--more h3 { color: #fff; }
.program-card--more p { color: rgba(255,255,255,0.85); flex: 0; margin-bottom: 1.4rem; }

/* ===== SPEECH ART ===== */
.speech-art { background: linear-gradient(165deg, var(--navy-deep), var(--navy)); color: #fff; }
.speech-art .section-title { color: #fff; }
.speech-art .section-lead { color: rgba(255,255,255,0.78); }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  transition: transform 0.22s ease, background 0.22s ease;
}
.step:hover { transform: translateY(-6px); background: rgba(255,255,255,0.09); }
.step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--orange);
  display: block;
  margin-bottom: 0.6rem;
}
.step h3 { font-size: 1.25rem; color: #fff; }
.step p { margin-top: 0.6rem; color: rgba(255,255,255,0.75); font-size: 0.95rem; }

.takehome {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  justify-content: center;
  padding: 1.6rem;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
}
.takehome-label { font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8rem; color: var(--sky); }
.takehome-items { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.takehome-items span {
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
}

/* ===== WHY JEJU ===== */
.why-jeju { background: var(--paper); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  font-size: 1.6rem;
  background: linear-gradient(150deg, var(--sky-soft), #fff);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 1.2rem;
}
.feature h3 { font-size: 1.15rem; color: var(--navy); }
.feature p { margin-top: 0.6rem; color: var(--muted); font-size: 0.95rem; }

/* ===== REVIEWS ===== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.review-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.stars { color: var(--orange); font-size: 1.1rem; letter-spacing: 0.1em; }
.review-card blockquote { margin: 1rem 0 1.3rem; font-size: 1.05rem; color: var(--ink); font-weight: 500; }
.review-card figcaption { color: var(--muted); font-weight: 600; font-size: 0.92rem; }

.result-stats {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
  background: linear-gradient(150deg, var(--ocean-blue), var(--sky));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow-md);
}
.result-stats strong { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.result-stats span { font-size: 0.9rem; color: rgba(255,255,255,0.85); }

/* ===== PARTNERSHIP ===== */
.partnership { background: linear-gradient(165deg, var(--navy), var(--ocean-blue)); color: #fff; }
.partnership .section-title { color: #fff; }
.partnership .section-lead { color: rgba(255,255,255,0.8); }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
/* base: light-background card (used on partnership.html band-soft section) */
.partner-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.partner-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.partner-card h3 { font-size: 1.2rem; color: var(--navy); }
.partner-card p { margin-top: 0.7rem; color: var(--muted); font-size: 0.96rem; }
.partner-rec { display: inline-block; margin-top: 1.2rem; font-size: 0.82rem; font-weight: 700; color: var(--orange); }

/* dark context: inside the navy .partnership section (index hero block) */
.partnership .partner-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); box-shadow: none; }
.partnership .partner-card:hover { background: rgba(255,255,255,0.1); box-shadow: none; }
.partnership .partner-card h3 { color: #fff; }
.partnership .partner-card p { color: rgba(255,255,255,0.78); }

.partner-steps {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.pstep { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.pstep span {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  border-radius: 50%;
}
.pstep p { font-weight: 600; }
.pstep-line { width: 60px; height: 2px; background: rgba(255,255,255,0.3); }

/* ===== CONTACT ===== */
.contact-grid { align-items: start; }
.contact-info .section-title { margin-top: 0.5rem; }
.contact-info .section-lead { margin-bottom: 2rem; }
.contact-list { display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: baseline; }
.ci-label { min-width: 80px; font-weight: 700; color: var(--ocean-blue); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-list a:hover { color: var(--orange); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 1.1rem;
}
.field { display: grid; gap: 0.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { font-weight: 600; font-size: 0.88rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ocean-blue);
  box-shadow: 0 0 0 3px rgba(21, 119, 194, 0.12);
  background: #fff;
}
.field textarea { resize: vertical; }
.form-note { margin-top: 0.3rem; font-size: 0.9rem; font-weight: 600; min-height: 1.2rem; }
.form-note.ok { color: #1a9e5f; }
.form-note.err { color: #d6453c; }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.75); padding: 4rem 0 2rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand p { margin-top: 1rem; font-size: 0.95rem; line-height: 1.7; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; align-content: flex-start; }
.footer-nav a { font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { padding-top: 1.8rem; }
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ===== ACTIVE NAV ===== */
.nav a.active { color: #fff; }
.nav a.active::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  margin-top: 2px;
}
.site-header.scrolled .nav a.active { color: var(--ocean-blue); }
.nav .nav-cta.active::after { display: none; }

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  position: relative;
  padding: clamp(8rem, 16vw, 11rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  color: #fff;
  text-align: center;
  overflow: hidden;
  background-color: var(--navy-deep);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 78% 10%, rgba(63, 169, 224, 0.32), transparent 60%),
    linear-gradient(160deg, rgba(6, 26, 48, 0.90) 0%, rgba(10, 37, 64, 0.80) 50%, rgba(21, 119, 194, 0.66) 100%);
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.01em;
}
.page-hero p { margin: 1rem auto 0; max-width: 600px; color: rgba(255,255,255,0.85); font-size: clamp(1rem, 1.6vw, 1.18rem); }
.breadcrumb { position: relative; margin-bottom: 1rem; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; color: var(--sky); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,0.5); margin: 0 0.4rem; }

/* full-width image banner */
.img-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 6;
}
.img-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-banner .banner-cap {
  position: absolute; inset: auto 0 0 0;
  padding: 2rem 1.6rem 1.4rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 2rem);
  background: linear-gradient(to top, rgba(6,26,48,0.7), transparent);
}
@media (max-width: 620px) { .img-banner { aspect-ratio: 4 / 3; } }

/* alternating content band */
.band-soft { background: var(--paper); }
.section-sm { padding: clamp(3rem, 6vw, 5rem) 0; }

/* prose block */
.prose p { color: var(--muted); margin-top: 1.1rem; font-size: 1.05rem; }
.prose .section-title + p { margin-top: 1.4rem; }

/* team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.team-card { text-align: center; }
.team-avatar {
  width: 110px; height: 110px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--ocean-blue), var(--sky));
  display: grid; place-items: center;
  color: #fff; font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
  box-shadow: var(--shadow-md);
}
.team-card h3 { font-size: 1.1rem; color: var(--navy); }
.team-role { color: var(--orange); font-weight: 700; font-size: 0.88rem; margin-top: 0.2rem; }
.team-card p { color: var(--muted); font-size: 0.92rem; margin-top: 0.6rem; }

/* gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  grid-auto-rows: 180px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 1rem;
  text-align: center; padding: 1rem;
  transition: transform 0.25s ease;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.4rem 1rem 0.8rem;
  text-align: left;
  font-size: 0.92rem;
  background: linear-gradient(to top, rgba(6,26,48,0.78), transparent);
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.g1 { background: linear-gradient(150deg, var(--ocean-blue), var(--sky)); }
.g2 { background: linear-gradient(150deg, var(--orange), #ffb07a); }
.g3 { background: linear-gradient(150deg, var(--navy), var(--ocean-blue)); }
.g4 { background: linear-gradient(150deg, var(--sky), #aee0f7); color: var(--navy); }
.g5 { background: linear-gradient(150deg, #ff6a1a, var(--orange)); }
.play-badge {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(6,26,48,0.28);
}
.play-badge::after {
  content: "▶";
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.95);
  color: var(--orange);
  border-radius: 50%;
  font-size: 1.1rem;
  padding-left: 4px;
}

/* document preview cards (report / certificate) */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.doc-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.doc-icon { font-size: 2rem; }
.doc-card h3 { margin-top: 0.8rem; font-size: 1.2rem; color: var(--navy); }
.doc-card p { margin-top: 0.6rem; color: var(--muted); font-size: 0.96rem; }

/* program detail rows */
.program-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--line);
}
.program-detail:last-child { border-bottom: 0; }
.program-detail .pd-visual {
  position: relative;
  border-radius: var(--radius-lg);
  min-height: 300px;
  display: grid; place-items: center;
  font-size: 3.2rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: linear-gradient(150deg, var(--ocean-blue), var(--sky));
}
.program-detail .pd-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.program-detail h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--navy); }
.program-detail .pd-tag { color: var(--orange); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.program-detail p { color: var(--muted); margin-top: 0.9rem; font-size: 1.04rem; }
.program-detail .check-list { margin-top: 1.2rem; }
.program-detail:nth-child(even) .pd-visual { order: 2; }

/* collab model */
.collab-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.collab-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.collab-card .num { font-family: var(--font-display); font-size: 2rem; color: var(--sky); font-weight: 700; }
.collab-card h3 { font-size: 1.15rem; color: var(--navy); margin-top: 0.4rem; }
.collab-card p { color: var(--muted); margin-top: 0.6rem; font-size: 0.95rem; }

/* map placeholder */
.map-box {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  min-height: 280px;
  background: linear-gradient(150deg, var(--sky-soft), #fff);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ocean-blue); font-weight: 700;
  text-align: center;
}

/* cta band */
.cta-band {
  background: linear-gradient(150deg, var(--orange), #ff9c5c);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.cta-band h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.cta-band p { margin: 0.8rem auto 1.8rem; max-width: 520px; color: rgba(255,255,255,0.92); }
.cta-band .btn { background: #fff; color: var(--orange); }
.cta-band .btn:hover { background: var(--navy); color: #fff; }

@media (max-width: 720px) {
  .program-detail { grid-template-columns: 1fr; }
  .program-detail:nth-child(even) .pd-visual { order: 0; }
  .gallery-item.wide { grid-column: span 1; }
}

/* ===== LOAD MORE (results gallery) ===== */
.loadmore { text-align: center; margin-top: 1.8rem; }
.loadmore button {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.9rem; border-radius: 999px;
  border: 2px solid var(--line); background: #fff; color: var(--navy);
  font-family: inherit; font-weight: 700; font-size: 0.95rem; cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.loadmore button:hover { border-color: var(--ocean); color: var(--ocean); transform: translateY(-2px); }

/* ===== CUSTOM DATE PICKER ===== */
.dp-popup {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 60;
  width: 290px; max-width: 92vw;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 12px;
}
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dp-title { font-weight: 700; color: var(--navy); font-size: 0.98rem; }
.dp-nav {
  border: 0; background: var(--paper); width: 30px; height: 30px; border-radius: 8px;
  cursor: pointer; font-size: 1.1rem; line-height: 1; color: var(--navy);
  display: grid; place-items: center;
}
.dp-nav:hover:not(:disabled) { background: var(--sky-soft); color: var(--ocean-blue); }
.dp-nav:disabled { opacity: 0.35; cursor: default; }
.dp-wd { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 4px; }
.dp-wd span { text-align: center; font-size: 0.7rem; font-weight: 700; color: var(--muted); }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp-cell { height: 34px; }
.dp-day {
  width: 100%; height: 100%; border: 0; background: transparent; border-radius: 8px;
  cursor: pointer; font-family: inherit; font-size: 0.88rem; color: var(--ink);
}
.dp-day:hover:not([disabled]) { background: var(--sky-soft); color: var(--ocean-blue); }
.dp-day[disabled] { color: #c3cfdb; cursor: default; }
.dp-today { box-shadow: inset 0 0 0 1.5px var(--sky); }
.dp-selected, .dp-selected:hover { background: var(--ocean-blue); color: #fff; }

/* ===== HOME POPUP ===== */
.popup-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6, 26, 48, 0.6);
  display: grid; place-items: center;
  padding: 20px;
  animation: popupfade 0.25s ease;
}
@keyframes popupfade { from { opacity: 0; } to { opacity: 1; } }
.popup-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  width: min(420px, 100%);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.popup-viewport { overflow: hidden; transition: height 0.35s ease; }
.popup-track { display: flex; align-items: flex-start; transition: transform 0.35s ease; }
.popup-slide { flex: 0 0 100%; min-width: 100%; align-self: flex-start; }
.popup-img, .popup-img img { display: block; width: 100%; }
.popup-img img { height: 240px; object-fit: cover; }
.popup-body { padding: 1.5rem 1.8rem 1.9rem; }
.popup-body h3 { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); }
.popup-body p { margin-top: 0.6rem; color: var(--muted); }
.popup-body .btn { margin-top: 1.2rem; }
.popup-close {
  position: absolute; top: 10px; right: 12px;
  width: 36px; height: 36px;
  border: 0; border-radius: 50%;
  background: rgba(6, 26, 48, 0.45);
  color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer;
  z-index: 3;
}
.popup-close:hover { background: var(--orange); }

/* carousel controls */
.popup-arrow {
  position: absolute; top: 120px; transform: translateY(-50%);
  width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92); color: var(--navy);
  font-size: 1.4rem; line-height: 1; cursor: pointer; z-index: 3;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.popup-arrow.prev { padding-right: 2px; }  /* optical centering of the glyph */
.popup-arrow.next { padding-left: 2px; }
.popup-arrow:hover { background: var(--orange); color: #fff; }
.popup-arrow.prev { left: 10px; }
.popup-arrow.next { right: 10px; }
.popup-dots { display: flex; justify-content: center; gap: 8px; padding: 0 0 1.1rem; }
.popup-dot {
  width: 9px; height: 9px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--line); padding: 0;
}
.popup-dot.active { background: var(--orange); }
.popup-foot { border-top: 1px solid var(--line); text-align: center; }
.popup-hide {
  width: 100%; padding: 0.85rem; border: 0; background: transparent;
  color: var(--muted); font-family: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer;
}
.popup-hide:hover { color: var(--orange); background: var(--paper); }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78%, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.5rem;
    background: #fff;
    padding: 6rem 2rem 2rem;
    box-shadow: -10px 0 40px rgba(10,37,64,0.18);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav.open { transform: translateX(0); }
  .nav a { color: var(--ink) !important; font-size: 1.05rem; width: 100%; padding: 0.6rem 0; }
  .nav .nav-cta { color: #fff !important; margin-top: 0.5rem; }
  .menu-toggle { display: flex; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header.scrolled .menu-toggle.open span,
  .menu-toggle.open span { background: var(--navy); }

  .grid-2 { grid-template-columns: 1fr; }
  .about-media { order: 2; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .timeline { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .result-stats { grid-template-columns: 1fr; gap: 1.8rem; }
  .pstep-line { width: 2px; height: 30px; }
  .partner-steps { flex-direction: column; }
  .hero { min-height: auto; padding: 8rem 0 4rem; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
