/* =========================
   Spark Claw — Stylesheet
   Design tone: Light base + electric accent, editorial typography
========================= */

:root {
  /* Color system — Confetti Studio (Option C) */
  --bg:        #FAFAFB;        /* off-white */
  --bg-alt:    #F3F5F8;        /* slight surface */
  --surface:   #FFFFFF;
  --ink:       #0A0E27;        /* deep navy — body text */
  --ink-soft:  #1F2745;
  --muted:     #4A5161;
  --border:    #E1E4E8;
  --border-soft: #EEF0F3;
  --accent:    #E63946;        /* SparkClaw red */
  --accent-ink:#B82B36;        /* darker accent for hovers */
  --accent-soft:#FCE5E7;       /* pale accent */

  /* Spark / confetti accents — for icons, labels, decorative details */
  --spark-yellow: #FFB800;
  --spark-green:  #16A34A;
  --spark-pink:   #DB2777;
  --spark-blue:   #1D4ED8;

  /* Type */
  --font-sans: "Pretendard Variable", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Pretendard Variable", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --container: 1200px;
  --radius: 14px;
  --radius-sm: 8px;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}

html[lang="en"] body { font-family: "Inter", "Pretendard Variable", system-ui, sans-serif; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.accent { color: var(--accent); }

/* Inline footnote-style annotation (e.g., "(TIPS 프로그램 연계)") */
.tips-note {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: max(11px, 0.55em);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 6px;
  vertical-align: middle;
  white-space: nowrap;
}

/* =========================
   Buttons
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--primary {
  background: var(--ink);
  color: var(--bg);
}
.btn--primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--ink); }

/* =========================
   Nav
========================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 251, .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.nav.is-scrolled { border-color: var(--border); }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  transition: opacity .2s var(--ease);
}
.nav__brand:hover { opacity: .8; }
.nav__mark-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 15px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 20px;
  flex: 1;
}
.nav__links a {
  font-size: 14px;
  color: var(--ink-soft);
  position: relative;
}
.nav__links a:hover { color: var(--accent); }
/* "지원하기" CTA appears only inside the mobile menu */
.nav__links .nav__cta { display: none; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.lang-btn {
  padding: 4px 2px;
  color: var(--muted);
  font-weight: 500;
  transition: color .15s var(--ease);
}
.lang-btn[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 700;
}
.lang-btn:hover { color: var(--ink); }
.lang-toggle__sep { opacity: .4; }

/* Mobile menu toggle */
.nav__menu {
  display: none;
  width: 40px; height: 40px;
  padding: 10px;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.nav__menu span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform .2s var(--ease);
}

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__menu { display: inline-flex; }
}
@media (max-width: 520px) {
  .nav__actions .btn { display: none; }
}

/* Mobile nav open state */
/* The header uses backdrop-filter, which traps position:fixed descendants
   inside the 68px header box. Disable it while the menu is open so the
   overlay is positioned relative to the viewport and fully covers the page. */
body.nav-open { overflow: hidden; }
body.nav-open .nav {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: var(--bg);
}
body.nav-open .nav__links {
  display: flex;
  position: fixed;
  inset: 68px 0 0 0;
  z-index: 60;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: var(--bg);
  padding: 56px 28px;
  gap: 36px;
  font-size: 22px;
  border-top: 1px solid var(--border);
  overflow-y: auto;
  overscroll-behavior: contain;
}
body.nav-open .nav__links a { font-size: 22px; }
/* Apply CTA button at the top of the mobile menu */
body.nav-open .nav__links .nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  padding: 15px 48px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
body.nav-open .nav__links .nav__cta:hover { background: var(--accent-ink); color: #fff; }
/* Hamburger morphs into an X when open */
body.nav-open .nav__menu span:first-child { transform: translateY(4px) rotate(45deg); }
body.nav-open .nav__menu span:last-child  { transform: translateY(-4px) rotate(-45deg); }

/* Scroll-to-top button */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(10, 14, 39, .18);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .2s var(--ease), visibility .25s;
  z-index: 70;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--accent-ink); }
.to-top svg { width: 22px; height: 22px; display: block; }
@media (max-width: 560px) {
  .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .to-top { transition: opacity .2s linear, visibility .2s linear; transform: none; }
  .to-top.is-visible { transform: none; }
}

/* =========================
   Hero
========================= */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(230,57,70,.10), transparent 65%),
    radial-gradient(40% 40% at 10% 100%, rgba(230,57,70,.06), transparent 60%),
    linear-gradient(180deg, transparent 0%, var(--bg) 90%);
}
.hero .container { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: 40px;
}
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero__mascot {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(230,57,70,.20));
  animation: heroFloat 5.5s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-14px) rotate(1deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__mascot { animation: none; }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 16px; }
  .hero__visual { order: -1; max-width: 280px; margin: 0 auto 8px; }
  .hero__mascot { max-width: 280px; }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
  margin-bottom: 32px;
}
.hero__eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(230,57,70,.18);
  animation: pulse 2s infinite var(--ease);
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(230,57,70,.18); }
  50%      { box-shadow: 0 0 0 8px rgba(230,57,70,.05); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 0 32px;
  max-width: 14ch;
}
.hero__title span { display: inline; }
html[lang="en"] .hero__title { letter-spacing: -0.04em; }

.hero__sub {
  max-width: 56ch;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-soft);
  margin: 0 0 40px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 32px;
  margin: 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 860px;
}
.hero__stats > div { }
.hero__stats dt {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  font-family: var(--font-mono);
}
.hero__stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

@media (max-width: 720px) {
  .hero { padding: 56px 0 72px; }
  .hero__stats { grid-template-columns: 1fr; gap: 20px; }
  .hero__cta { margin-bottom: 48px; }
}

/* =========================
   Section base
========================= */
.section { padding: 112px 0; border-top: 1px solid var(--border); }
@media (max-width: 720px) { .section { padding: 72px 0; } }

.section__head { margin-bottom: 56px; max-width: 720px; }
.section__label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
}
/* Per-section spark color rotation (Confetti Studio) */
.section__label.is-yellow { color: var(--spark-yellow); }
.section__label.is-green  { color: var(--spark-green);  }
.section__label.is-blue   { color: var(--spark-blue);   }
.section__label.is-pink   { color: var(--spark-pink);   }

/* Hero eyebrow: 4-bar confetti accent */
.hero__eyebrow-bars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.hero__eyebrow-bars span {
  display: inline-block;
  width: 4px;
  height: 14px;
  border-radius: 1px;
}
.hero__eyebrow-bars span:nth-child(1) { background: var(--spark-yellow); }
.hero__eyebrow-bars span:nth-child(2) { background: var(--spark-green);  }
.hero__eyebrow-bars span:nth-child(3) { background: var(--spark-pink);   }
.hero__eyebrow-bars span:nth-child(4) { background: var(--spark-blue);   }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 16px;
}
.section__sub {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.2vw, 17px);
}
.section__tagline {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--ink-soft);
  margin: -4px 0 18px;
}

/* =========================
   Philosophy
========================= */
.philosophy__quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0 0 48px;
  max-width: 24ch;
  word-break: keep-all;
}
.philosophy__quote .accent { display: block; margin-top: .2em; font-weight: 700; }
.philosophy__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 32px;
  max-width: 1000px;
  font-size: 17px;
  color: var(--ink-soft);
}
.philosophy__body p { margin: 0; }
.philosophy__body em { font-style: normal; font-weight: 600; }

@media (max-width: 720px) {
  .philosophy__body { grid-template-columns: 1fr; }
}

/* Divider between two philosophy blocks */
.philosophy__divider {
  height: 1px;
  background: var(--border);
  margin: 88px 0 64px;
  max-width: 1000px;
}
@media (max-width: 720px) {
  .philosophy__divider { margin: 56px 0 40px; }
}

/* Full-width "more partners joining" callout below grid */
.benefits__more {
  margin-top: 24px;
  padding: 22px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 22px;
}
.benefits__more-spark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.benefits__more-spark span {
  display: inline-block;
  width: 5px;
  height: 30px;
  border-radius: 2px;
}
.benefits__more-spark span:nth-child(1) { background: var(--spark-yellow); }
.benefits__more-spark span:nth-child(2) { background: var(--spark-green);  }
.benefits__more-spark span:nth-child(3) { background: var(--spark-pink);   }
.benefits__more-spark span:nth-child(4) { background: var(--spark-blue);   }
.benefits__more-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.benefits__more-headline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.benefits__more-sub {
  margin: 0;
  color: var(--muted);
  font-size: clamp(13px, 1vw, 14px);
}

@media (max-width: 560px) {
  .benefits__more { padding: 18px 20px; gap: 16px; flex-wrap: wrap; }
  .benefits__more-spark span { height: 24px; }
}

/* Partner inquiry CTA — sits below the "more partners joining" banner */
.benefits__partner {
  margin-top: 16px;
  padding: 26px 32px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.benefits__partner-text {
  flex: 1;
  min-width: 0;
}
.benefits__partner-text h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.benefits__partner-text p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(13px, 1vw, 14px);
}
.benefits__partner-cta {
  flex-shrink: 0;
  font-size: 14px;
  padding: 12px 22px;
}

@media (max-width: 640px) {
  .benefits__partner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 22px 20px;
    gap: 14px;
  }
  .benefits__partner-cta { width: 100%; justify-content: center; }
}

/* Benefits disclaimer note (under cards) */
.benefits__note {
  margin: 16px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
  font-family: var(--font-mono);
  letter-spacing: 0.005em;
}
.benefits__note::before {
  content: "* ";
  color: var(--accent);
}

/* =========================
   Benefits
========================= */
.benefits__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.benefit-card {
  background: var(--surface);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 260px;
  transition: background .25s var(--ease);
}
.benefit-card:hover { background: var(--bg-alt); }
.benefit-card__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.01em;
}
.benefit-card__value {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  margin: 0;
  letter-spacing: 0.02em;
}
.benefit-card > p:last-child {
  margin: auto 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

@media (max-width: 960px) {
  .benefits__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .benefits__grid { grid-template-columns: 1fr; }
  .benefit-card { min-height: 200px; padding: 28px 24px; }
}

/* =========================
   Process
========================= */
.process__steps {
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 24px;
  position: relative;
}
.step {
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 220px;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.step:hover { transform: translateY(-3px); border-color: var(--accent); }
.step__num {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.step__content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.step__content p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
}

.process__note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--accent-soft);
  border-radius: var(--radius);
  color: var(--ink-soft);
}
.process__note svg { flex-shrink: 0; color: var(--accent); margin-top: 2px; }
.process__note p { margin: 0; font-size: 15px; }

@media (max-width: 960px) {
  .process__steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .process__steps { grid-template-columns: 1fr; }
}

/* =========================
   About
========================= */
.about__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.about__text p {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0 0 20px;
  max-width: 58ch;
}
.about__text .section__title { margin-bottom: 24px; max-width: 20ch; }

.about__brand {
  display: block;
  width: fit-content;
  margin: 0 0 28px;
  transition: opacity .2s var(--ease);
}
.about__brand img {
  height: 36px;
  width: auto;
  display: block;
}
.about__brand:hover { opacity: .75; }

.about__quote {
  margin: 40px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--border);
  max-width: 58ch;
}
.about__quote p {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 12px;
}
.about__quote cite {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  font-style: normal;
  letter-spacing: 0.02em;
}

.about__facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.about__facts li {
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.about__facts li:last-child { border-bottom: 0; }
.about__fact-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}
.about__fact-label {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
}

/* =========================
   News
========================= */
.news__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 960px) {
  .news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .news__grid { grid-template-columns: 1fr; }
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s var(--ease),
              border-color .25s var(--ease),
              box-shadow .25s var(--ease);
}
.news-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 14px 34px -18px rgba(10, 14, 39, .22);
}

.news-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.news-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-alt);
}
.news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.news-card:hover .news-card__img { transform: scale(1.04); }

.news-card__media--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--border-soft) 100%);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.news-card__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.news-card__publisher {
  color: var(--accent);
  font-weight: 600;
}
.news-card__meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
  display: inline-block;
}

.news-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.4em * 3);
}
.news-card:hover .news-card__title { color: var(--accent-ink); }

.news-card__cta {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* Skeleton loading state */
.news-card.is-loading .news-card__media,
.news-card.is-loading .news-card__title {
  position: relative;
  overflow: hidden;
}
.news-card.is-loading .news-card__media::after,
.news-card.is-loading .news-card__title::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
              transparent 0%,
              rgba(255, 255, 255, .65) 50%,
              transparent 100%);
  animation: news-skeleton 1.4s infinite linear;
}
.news-card.is-loading .news-card__title {
  background: var(--bg-alt);
  color: transparent;
  border-radius: 4px;
}
@keyframes news-skeleton {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* =========================
   Insights
========================= */
.insights__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 720px) {
  .insights__grid { grid-template-columns: 1fr; }
}

.insight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s var(--ease),
              border-color .25s var(--ease),
              box-shadow .25s var(--ease);
}
.insight-card:hover {
  transform: translateY(-3px);
  border-color: #FAC775;
  box-shadow: 0 18px 40px -22px rgba(186, 117, 23, 0.28);
}

.insight-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.insight-card__cover {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #FEF3E2 0%, #FFF8EB 60%, #FAC775 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  overflow: hidden;
}
.insight-card__cover--image {
  padding: 0;
  background: var(--bg-alt);
}
.insight-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.insight-card:hover .insight-card__img { transform: scale(1.04); }
.insight-card__cover-topic {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: #7A4A0A;
  letter-spacing: -0.01em;
  text-align: center;
  line-height: 1.15;
  max-width: 100%;
  word-break: keep-all;
}
.insight-card__cover-avatar {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #FAC775;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: #BA7517;
  letter-spacing: 0.02em;
}
.insight-card__cover-stamp {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: #BA7517;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.insight-card__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.insight-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.insight-card__author { color: #BA7517; font-weight: 600; }
.insight-card__meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
  display: inline-block;
}

.insight-card__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.insight-card:hover .insight-card__title { color: #7A4A0A; }

.insight-card__cta {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #BA7517;
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* =========================
   FAQ
========================= */
.faq__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.faq-item__q:hover { color: var(--accent); }
.faq-item__icon {
  font-size: 24px;
  color: var(--muted);
  transition: transform .3s var(--ease), color .2s var(--ease);
  font-weight: 400;
  line-height: 1;
}
.faq-item__q[aria-expanded="true"] .faq-item__icon {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq-item__a p {
  margin: 0 0 28px;
  padding-right: 48px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  max-width: 70ch;
}

/* =========================
   Apply (Application Form)
========================= */
.apply { padding-bottom: 80px; }
.apply__card {
  background: var(--ink);
  color: var(--bg);
  border-radius: 24px;
  padding: clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(80% 60% at 100% 0%, rgba(230,57,70,.35), transparent 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(230,57,70,.15), transparent 60%),
    linear-gradient(180deg, #0A0E27 0%, #050720 100%);
}
.apply__card .section__label { color: var(--accent); }
.apply__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 20px;
  max-width: 22ch;
}
.apply__title span { display: inline; }
.apply__sub {
  color: rgba(250, 250, 251, .72);
  font-size: clamp(15px, 1.2vw, 17px);
  margin: 0 0 40px;
  max-width: 56ch;
}

/* Tally form panel — white inset within the dark apply card */
.apply__form-panel {
  margin-top: 36px;
  background: var(--surface);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .35);
  overflow: hidden;
}
.apply__form-panel iframe {
  width: 100%;
  display: block;
  border: 0;
  min-height: 640px;
}

@media (max-width: 560px) {
  .apply__form-panel { padding: 8px; border-radius: 14px; }
}

/* =========================
   Timeline
========================= */
.timeline__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Vertical line connecting the markers */
.timeline__steps::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}

.timeline__item {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 28px 0;
  position: relative;
}
.timeline__item + .timeline__item {
  border-top: 1px solid var(--border-soft);
}

.timeline__marker {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.timeline__marker::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  transition: background .25s var(--ease);
}

/* Active (current) step */
.timeline__item--active .timeline__marker {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.timeline__item--active .timeline__marker::after {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(230,57,70,.18);
  animation: pulse 2s infinite var(--ease);
}

.timeline__content {
  flex: 1;
  min-width: 0;
}
.timeline__date {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  font-weight: 500;
}
.timeline__content h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: var(--ink);
}
.timeline__content p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 560px) {
  .timeline__steps::before { left: 11px; }
  .timeline__marker { width: 24px; height: 24px; }
  .timeline__marker::after { width: 8px; height: 8px; }
  .timeline__item { gap: 20px; padding: 22px 0; }
}

/* =========================
   Footer
========================= */
.footer {
  padding: 48px 0 60px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}
.footer__brand p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  transition: opacity .2s var(--ease);
}
.footer__logo:hover { opacity: .75; }
.footer__logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer__links {
  display: flex;
  gap: 28px;
  justify-content: center;
}
.footer__links a { font-size: 14px; color: var(--ink-soft); }
.footer__links a:hover { color: var(--accent); }

.footer__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.footer__sparklabs {
  display: inline-block;
  transition: opacity .2s var(--ease);
}
.footer__sparklabs img {
  height: 22px;
  width: auto;
  display: block;
  opacity: .7;
}
.footer__sparklabs:hover img { opacity: 1; }

.footer__copy { margin: 0; color: var(--muted); font-size: 13px; font-family: var(--font-mono); }

@media (max-width: 720px) {
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer__brand, .footer__meta { align-items: center; }
  .footer__logo { justify-content: center; }
  .footer__links { flex-wrap: wrap; }
}

/* =========================
   Smooth reveal
========================= */
@media (prefers-reduced-motion: no-preference) {
  .hero__title,
  .hero__sub,
  .hero__cta,
  .hero__stats,
  .section__head,
  .philosophy__quote,
  .philosophy__body,
  .benefits__grid,
  .process__steps,
  .process__note,
  .about__grid,
  .faq__list,
  .apply__card,
  .timeline__steps {
    animation: fadeUp .8s var(--ease) both;
  }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

