/* ============================================================
   AJASCHOOL Corporate Homepage — styles.css
   ============================================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors — flat only, no gradients */
  --primary: #1b2a4a;
  --primary-light: #2a3f6b;
  --primary-hover: #243558;
  --accent: #2b7a78;
  --accent-hover: #237371;

  --text-primary: #1a1a2e;
  --text-secondary: #4a4a5a;
  --text-muted: #6b7280;
  --text-on-dark: #e5e7eb;
  --text-white: #ffffff;

  --border: #e5e7eb;
  --border-light: #f3f4f6;

  --bg-white: #ffffff;
  --bg-light: #f9fafb;
  --bg-dark: #111827;
  --bg-navy: #1b2a4a;

  /* Typography */
  --font-family:
    "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo",
    "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", sans-serif;

  /* Spacing */
  --section-py: 120px;
  --section-py-tablet: 80px;
  --section-py-mobile: 60px;
  --content-max: 1200px;
  --content-px: 24px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-white);
  overflow-x: hidden;
}

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

ul,
ol {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Utility --- */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-px);
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 720px;
}

.section-lead--center {
  text-align: center;
  margin: 0 auto;
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 6px;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--primary);
  color: var(--text-white);
}
.btn--primary:hover {
  background: var(--primary-hover);
}

.btn--accent {
  background: var(--accent);
  color: var(--text-white);
}
.btn--accent:hover {
  background: var(--accent-hover);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--primary);
}

.btn--outline-white {
  background: transparent;
  color: var(--text-white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.btn--outline-white:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--sm {
  font-size: 14px;
  padding: 10px 20px;
}

/* ============================================================
   GNB
   ============================================================ */
.gnb {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  transition:
    background 0.3s,
    box-shadow 0.3s;
}

.gnb--scrolled {
  background: var(--bg-white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.gnb__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gnb__logo {
  display: flex;
  align-items: center;
  height: 36px;
}

.gnb__logo img {
  height: 32px;
  width: auto;
}

.gnb__logo-white {
  display: block;
}

.gnb__logo-color {
  display: none;
}

.gnb--scrolled .gnb__logo-white {
  display: none;
}

.gnb--scrolled .gnb__logo-color {
  display: block;
}

.gnb__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.gnb__link {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.75);
  transition:
    color 0.2s,
    background 0.2s;
}

.gnb--scrolled .gnb__link {
  color: var(--text-secondary);
}

.gnb__link:hover,
.gnb__link--active {
  color: var(--text-white);
}

.gnb--scrolled .gnb__link:hover,
.gnb--scrolled .gnb__link--active {
  color: var(--primary);
  background: var(--bg-light);
}

.gnb__platform {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  margin-left: 12px;
  transition:
    background 0.2s,
    color 0.2s;
}

.gnb--scrolled .gnb__platform {
  background: var(--primary);
  color: var(--text-white);
}

.gnb__platform:hover {
  background: rgba(255, 255, 255, 0.25);
}

.gnb--scrolled .gnb__platform:hover {
  background: var(--primary-hover);
}

/* Mobile hamburger */
.gnb__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.gnb__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-white);
  transition: background 0.3s;
}

.gnb--scrolled .gnb__hamburger span {
  background: var(--primary);
}

/* Mobile drawer */
.gnb__drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--bg-white);
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  padding: 80px 24px 40px;
  transition: right 0.3s ease;
  flex-direction: column;
  gap: 4px;
}

.gnb__drawer.open {
  right: 0;
}

.gnb__drawer-link {
  display: block;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 16px;
  color: var(--text-primary);
  border-radius: 6px;
  transition: background 0.2s;
}

.gnb__drawer-link:hover {
  background: var(--bg-light);
}

.gnb__drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: var(--text-primary);
  padding: 8px;
}

.gnb__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.gnb__overlay.open {
  display: block;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--bg-navy);
  padding: 160px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(16, 24, 42, 0.84) 0%,
      rgba(16, 24, 42, 0.66) 42%,
      rgba(16, 24, 42, 0.5) 100%
    ),
    linear-gradient(
      180deg,
      rgba(16, 24, 42, 0.38) 0%,
      rgba(16, 24, 42, 0.2) 34%,
      rgba(16, 24, 42, 0.58) 100%
    );
  z-index: 1;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.9) brightness(0.88);
}

.hero__content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

/* Hero staggered entrance */
.hero__headline,
.hero__sub,
.hero__pills,
.hero__ctas,
.hero__bottom-copy {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeIn 0.7s ease-out forwards;
}
.hero__headline {
  animation-delay: 0.1s;
}
.hero__sub {
  animation-delay: 0.35s;
}
.hero__pills {
  animation-delay: 0.55s;
}
.hero__ctas {
  animation-delay: 0.75s;
}
.hero__bottom-copy {
  animation-delay: 0.95s;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__headline {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-white);
  margin-bottom: 28px;
  background: linear-gradient(135deg, #ffffff 0%, #a8c8e8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-on-dark);
  margin-bottom: 40px;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.hero__pill {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 60px;
}

.hero__bottom-copy {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  max-width: 600px;
}

/* ============================================================
   AT A GLANCE
   ============================================================ */
.glance {
  padding: var(--section-py) 0;
  background: var(--bg-white);
}

.glance__header {
  text-align: center;
  margin-bottom: 64px;
}

.glance__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.glance__card {
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition:
    box-shadow 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

.glance__card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(27, 42, 74, 0.08);
}

.glance__card-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}

.glance__card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.glance__card-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: var(--section-py) 0;
  background: var(--bg-light);
}

.about__overview {
  margin-bottom: 80px;
}

.about__body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 1024px;
  margin-top: 24px;
}

/* Mission / Vision */
.about__mv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 80px;
}

.about__mv-card {
  padding: 40px;
  background: var(--bg-white);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.about__mv-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.about__mv-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.about__mv-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Core Values */
.about__values {
  margin-bottom: 80px;
}

.about__values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.about__value {
  padding: 32px 24px;
  background: var(--bg-white);
  border-radius: 10px;
  border: 1px solid var(--border);
  text-align: center;
}

.about__value-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.about__value-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ============================================================
   HISTORY (dark timeline)
   ============================================================ */
.history {
  background: var(--bg-dark);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

/* Large glow orb — top-left, 3/5 visible */
.history::before {
  content: "";
  position: absolute;
  top: -160px;
  left: -160px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(43, 122, 120, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Small bright core — overlapping the large orb */
.history::after {
  content: "";
  position: absolute;
  top: -48px;
  left: -48px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(43, 122, 120, 0.35) 0%,
    rgba(43, 122, 120, 0.1) 40%,
    transparent 70%
  );
  pointer-events: none;
}

.history .section-title {
  color: var(--text-white);
}

.history .section-label {
  color: var(--accent);
}

.history__layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  margin-top: 48px;
}

.history__tabs {
  position: sticky;
  top: 120px;
  align-self: start;
}

.history__tab {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.4);
  border-left: 3px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
  cursor: pointer;
}

.history__tab:hover {
  color: rgba(255, 255, 255, 0.7);
}

.history__tab--active {
  color: var(--text-white);
  border-left-color: var(--accent);
  font-weight: 700;
}

.history__content {
  min-height: 400px;
}

.history__era {
  display: none;
  opacity: 0;
  transform: translateY(12px);
}

.history__era--active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.4s ease-out,
    transform 0.4s ease-out;
}

.history__year {
  font-size: 72px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
  line-height: 1;
}

.history__summary {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

.history__list {
  position: relative;
  padding-left: 24px;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.history__item {
  position: relative;
  padding: 0 0 28px 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-on-dark);
}

.history__item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.history__item:last-child {
  padding-bottom: 0;
}

/* ============================================================
   BUSINESS
   ============================================================ */
.business {
  padding: var(--section-py) 0;
  background: var(--bg-white);
}

.business__header {
  text-align: center;
  margin-bottom: 64px;
}

.business__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.business__card {
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition:
    box-shadow 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

.business__card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(27, 42, 74, 0.08);
  transform: translateY(-4px);
}

.business__card-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.business__card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.business__card-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.business__card-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.business__card-point {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--bg-light);
  color: var(--text-secondary);
}

/* ============================================================
   TECH & AI
   ============================================================ */
.tech {
  padding: var(--section-py) 0;
  background: var(--bg-light);
}

.tech__header {
  text-align: center;
  margin-bottom: 64px;
}

.tech__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tech__card {
  padding: 40px 32px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition:
    box-shadow 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

.tech__card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(27, 42, 74, 0.08);
  transform: translateY(-4px);
}

.tech__card-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
  transition: transform 0.3s;
}

.tech__card:hover .tech__card-icon {
  animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.2);
  }
  70% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

.tech__card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.tech__card-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.tech__card-points li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.tech__card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============================================================
   IMPACT
   ============================================================ */
.impact {
  padding: var(--section-py) 0;
  background: var(--bg-white);
}

.impact__header {
  text-align: center;
  margin-bottom: 64px;
}

/* Metrics */
.impact__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.impact__metric {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-light);
  border-radius: 10px;
}

.impact__metric-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.impact__metric-num.counter-done {
  animation: counterPulse 0.6s ease-out;
}

@keyframes counterPulse {
  0% {
    transform: scale(1);
    color: var(--primary);
  }
  /* 40%  { transform: scale(1.12); color: var(--accent); } */
  100% {
    transform: scale(1);
    color: var(--primary);
  }
}

.impact__metric-label {
  font-size: 15px;
  color: var(--text-secondary);
}

.impact__bottom-copy {
  text-align: center;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 600px;
  margin: 40px auto 0;
}

/* Cases */
.impact__cases-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
}

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

.impact__case {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}

.impact__case:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(27, 42, 74, 0.08);
}

/* Visual case study cards */
.impact__cases-visual {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.impact__case-card {
  border: 2px solid var(--primary-light);
  border-radius: 16px;
  padding: 28px 20px 24px;
  text-align: center;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.impact__case-card-images {
  position: relative;
  height: 200px;
  margin-bottom: 20px;
}

.impact__case-card-img {
  position: absolute;
  width: 55%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.impact__case-card-img:first-child {
  top: 0;
  left: 10%;
  transform: rotate(-3deg);
  z-index: 1;
}

.impact__case-card-img:last-child {
  bottom: 0;
  right: 10%;
  transform: rotate(2deg);
  z-index: 2;
}

.impact__case-card-img:hover:first-child {
  transform: rotate(0deg) scale(2);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.impact__case-card-img:hover:last-child {
  transform: rotate(0deg) scale(2);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.impact__case-card-img img {
  width: 100%;
  height: auto;
  display: block;
}

.impact__case-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 8px;
}

/* ============================================================
   PARTNERS
   ============================================================ */
.partners {
  padding: var(--section-py) 0;
  background: var(--bg-light);
}

.partners__header {
  text-align: center;
  margin-bottom: 64px;
}

.partners__category {
  margin-bottom: 56px;
}

.partners__category:last-child {
  margin-bottom: 0;
}

.partners__cat-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.partners__cat-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 1024px;
}

/* Partners marquee */
.partners__marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(
    90deg,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
}

.partners__marquee-track {
  display: flex;
  gap: 16px;
  animation: marqueeScroll 35s linear infinite;
  width: max-content;
  will-change: transform;
}

.partners__marquee:hover .partners__marquee-track {
  animation-play-state: paused;
}

.partners__marquee--reverse .partners__marquee-track {
  animation-direction: reverse;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partners__static {
  display: grid;
  gap: 16px;
}

.partners__static--cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.partners__static .partners__logo {
  flex: initial;
  width: 100%;
}

.partners__logo {
  flex: 0 0 180px;
  aspect-ratio: 3 / 2;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.partners__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partners__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.partners__tag {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
}

.partners__evidence-groups {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.partners__evidence-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.partners__evidence-head {
  max-width: 760px;
}

.partners__evidence-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.partners__evidence-copy {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

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

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

.partners__credential-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(27, 42, 74, 0.04);
}

.partners__credential-badge {
  display: none;
}

.partners__credential-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-primary);
}

.partners__credential-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.partners__credential-meta div {
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}

.partners__credential-meta dt {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.partners__credential-meta dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

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

.partners__patent {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

.partners__patent:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(27, 42, 74, 0.08);
  transform: translateY(-2px);
}

.partners__patent-image {
  padding: 18px 18px 0;
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.partners__patent-image img {
  width: 100%;
  aspect-ratio: 984 / 1352;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--border-light);
  border-radius: 10px;
}

.partners__patent-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.partners__patent-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-primary);
}

.partners__patent-facts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partners__patent-facts li {
  padding-top: 8px;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.partners__patent-facts strong {
  color: var(--text-primary);
  margin-right: 6px;
}

/* ============================================================
   NEWS
   ============================================================ */
.news {
  padding: var(--section-py) 0;
  background: var(--bg-white);
}

.news__header {
  text-align: center;
  margin-bottom: 64px;
}

/* --- Category stack --- */
.news__categories {
  display: flex;
  flex-direction: column;
}

.news__category {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0.4;
  transition: opacity 0.5s ease-out;
}

.news__category:first-child {
  border-top: 1px solid var(--border);
}

.news__category--active {
  opacity: 1;
}

.news__category-inner {
  overflow: hidden;
}

.news__category[data-category="notice"] .news__category-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* --- Category info (badge + title + desc) --- */
.news__card-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--bg-light);
  color: var(--accent);
  margin-bottom: 16px;
}

.news__card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.news__card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* --- Notice CTA link --- */
.news__category-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  padding: 10px 20px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  transition:
    background 0.2s,
    color 0.2s;
  white-space: nowrap;
}

.news__category-link:hover {
  background: var(--accent);
  color: var(--text-white);
}

.news__press {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

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

.news__press-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.news__press-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 22px rgba(27, 42, 74, 0.08);
  transform: translateY(-2px);
}

.news__press-card-meta {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

.news__press-card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-primary);
}

.news__press-card-summary {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.news__press-archive {
  padding: 24px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.news__press-archive-head {
  margin-bottom: 12px;
}

.news__press-archive-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.news__press-archive-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.news__press-archive-list {
  display: flex;
  flex-direction: column;
}

.news__press-archive-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.news__press-archive-item:first-child {
  border-top: none;
}

.news__press-archive-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.news__press-archive-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.news__press-archive-meta {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.news__press-archive-item-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-primary);
}

.news__press-archive-summary {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.news__press-archive-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}

.news__press-archive-link:hover {
  background: var(--accent);
  color: var(--text-white);
}

/* --- Article strip (horizontal scroll) --- */
.news__articles {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 24px 0 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.news__articles::-webkit-scrollbar {
  height: 4px;
}

.news__articles::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

/* Slide-in animations */
.news__articles--from-right {
  transform: translateX(60px);
  opacity: 0;
  transition:
    transform 0.7s ease-out,
    opacity 0.7s ease-out;
}

.news__articles--from-left {
  transform: translateX(-60px);
  opacity: 0;
  transition:
    transform 0.7s ease-out,
    opacity 0.7s ease-out;
}

.news__category--active .news__articles--from-right,
.news__category--active .news__articles--from-left {
  transform: translateX(0);
  opacity: 1;
}

/* --- Article card --- */
.news__article {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
  scroll-snap-align: start;
  background: var(--bg-white);
}

.news__article:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(27, 42, 74, 0.08);
  transform: translateY(-2px);
}

/* Thumbnail */
.news__article-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-light);
}

.news__article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news__article:hover .news__article-thumb img {
  transform: scale(1.03);
}

/* Thumbnail fallback */
.news__article-thumb--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
}

.news__article-thumb--fallback img {
  display: none;
}

.news__article-thumb--fallback::after {
  content: "AJASCHOOL";
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Article body */
.news__article-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.news__article-meta {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.news__article-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news__article-summary {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   RECRUIT
   ============================================================ */
.recruit {
  padding: var(--section-py) 0;
  background: var(--bg-light);
}

.recruit__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.recruit__body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 24px 0 40px;
}

.recruit__ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: var(--section-py) 0;
  background: var(--bg-white);
}

.contact__header {
  text-align: center;
  margin-bottom: 48px;
}

.contact__prompt {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 40px;
}

.contact__types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.contact__type {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition:
    border-color 0.2s,
    color 0.2s;
  cursor: pointer;
}

.contact__type:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.contact__note {
  text-align: center;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.contact__ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.finalcta {
  padding: var(--section-py) 0;
  background: var(--bg-navy);
  text-align: center;
}

.finalcta .section-title {
  color: var(--text-white);
  max-width: 700px;
  margin: 0 auto 24px;
}

.finalcta__body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-on-dark);
  max-width: 600px;
  margin: 0 auto 40px;
}

.finalcta__ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  padding: 64px 0 40px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer__brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 12px;
}

.footer__brand-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  max-width: 400px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: flex-end;
  align-items: flex-start;
}

.footer__nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: var(--text-white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.8;
}

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  z-index: 1002;
  width: 0%;
  pointer-events: none;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-white);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s,
    visibility 0.3s,
    transform 0.3s,
    background 0.2s;
  z-index: 999;
  cursor: pointer;
  border: none;
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-hover);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero__headline,
  .hero__sub,
  .hero__pills,
  .hero__ctas,
  .hero__bottom-copy {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .impact__metric-num.counter-done {
    animation: none;
  }

  .partners__marquee-track {
    animation: none;
  }

  .tech__card:hover .tech__card-icon {
    animation: none;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media screen and (max-width: 1023px) {
  :root {
    --section-py: var(--section-py-tablet);
  }

  .gnb__nav {
    display: none;
  }

  .gnb__hamburger {
    display: flex;
  }

  .gnb__drawer {
    display: flex;
  }

  .hero__headline {
    font-size: 36px;
  }

  .section-title {
    font-size: 30px;
  }

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

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

  .about__values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .history__layout {
    grid-template-columns: 160px 1fr;
    gap: 32px;
  }

  .history__year {
    font-size: 48px;
  }

  .history__summary {
    margin-bottom: 24px;
  }

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

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

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

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

  .impact__cases-visual {
    grid-template-columns: 1fr 1fr;
  }

  .partners__marquee-track .partners__logo {
    flex: 0 0 150px;
  }

  .partners__static--cols-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .news__category {
    padding: 36px 0;
  }

  .news__category[data-category="notice"] .news__category-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .news__article {
    flex: 0 0 240px;
  }

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

  .news__press-archive-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__nav {
    justify-content: flex-start;
  }
}

@media screen and (max-width: 428px) {
  :root {
    --section-py: var(--section-py-mobile);
  }

  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .hero__headline {
    font-size: 28px;
  }

  .hero__sub {
    font-size: 15px;
  }

  .section-title {
    font-size: 26px;
  }

  .section-lead {
    font-size: 15px;
  }

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

  .impact__cases-visual {
    grid-template-columns: 1fr;
  }

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

  .history__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .history__tabs {
    position: static;
    display: flex;
    gap: 0;
    overflow-x: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
    margin-bottom: 8px;
  }

  .history__tab {
    border-left: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    padding: 10px 16px;
    font-size: 14px;
  }

  .history__tab--active {
    border-bottom-color: var(--accent);
    border-left-color: transparent;
  }

  .history__year {
    font-size: 40px;
  }

  .history__summary {
    font-size: 14px;
    margin-bottom: 20px;
  }

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

  .news__category {
    padding: 28px 0;
  }

  .news__article {
    flex: 0 0 220px;
  }

  .news__article-title {
    font-size: 14px;
  }

  .impact__metric-num {
    font-size: 32px;
  }

  .partners__marquee-track .partners__logo {
    flex: 0 0 130px;
  }

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

  .partners__credential-grid,
  .partners__credential-grid--awards,
  .partners__patents,
  .news__press-highlights {
    grid-template-columns: 1fr;
  }

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

  .recruit__ctas,
  .contact__ctas,
  .finalcta__ctas,
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }

  .footer__nav {
    gap: 12px 24px;
  }
}
