:root {
  --ink: #102033;
  --ink-soft: #2f4157;
  --muted: #647084;
  --line: #d8dee8;
  --paper: #ffffff;
  --wash: #f4f0e8;
  --mist: #eef5f7;
  --teal: #16b8ab;
  --blue: #3276d1;
  --coral: #f26a56;
  --gold: #e7ad32;
  --shadow: 0 22px 60px rgba(16, 32, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px 6vw;
  color: #ffffff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(16, 32, 51, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  line-height: 1.1;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: #ffffff;
  font-weight: 900;
  border-radius: 8px;
  overflow: hidden;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
  border-color: rgba(16, 32, 51, 0.12);
  background: #ffffff;
}

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

.brand small {
  display: block;
  margin-top: 3px;
  color: currentColor;
  font-size: 0.76rem;
  font-weight: 600;
  opacity: 0.74;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  opacity: 0.88;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  content: "";
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  background: transparent;
  color: currentColor;
  border-radius: 8px;
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background-image: url("assets/hero-education-tech.png");
  background-size: cover;
  background-position: center;
}

.hero::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18vh;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--paper));
  content: "";
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 32, 51, 0.9) 0%, rgba(16, 32, 51, 0.78) 38%, rgba(16, 32, 51, 0.2) 72%, rgba(16, 32, 51, 0.05) 100%),
    linear-gradient(180deg, rgba(16, 32, 51, 0.28) 0%, rgba(16, 32, 51, 0.32) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, 88vw);
  margin-left: 6vw;
  padding: 120px 0 80px;
}

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

.hero .eyebrow {
  color: #8ffff3;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.4rem, 5.9vw, 6.15rem);
  line-height: 0.98;
  font-weight: 900;
}

.hero-title span {
  display: block;
}

.hero-title-cn {
  margin-top: 8px;
  white-space: nowrap;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.55rem;
  line-height: 1.18;
}

.split-heading span {
  display: block;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.24rem;
  overflow-wrap: anywhere;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: var(--teal);
  color: #06201f;
  box-shadow: 0 14px 28px rgba(22, 184, 171, 0.32);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.46);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.button.light {
  border-color: rgba(255, 255, 255, 0.34);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 600px;
  margin: 42px 0 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.hero-stats dt {
  margin-bottom: 4px;
  font-size: 2rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.section,
.intro-band,
.contact-section {
  padding: 96px 0;
}

.section-inner {
  width: min(1160px, 88vw);
  margin: 0 auto;
}

.intro-band {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
  padding-top: 20px;
}

.brand-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.brand-tile {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 104px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(16, 32, 51, 0.06);
}

.brand-tile img,
.brand-symbol {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(16, 32, 51, 0.1);
  background: #ffffff;
  border-radius: 8px;
  object-fit: contain;
}

.brand-symbol {
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 900;
}

.symbol-blue {
  background: linear-gradient(135deg, #3276d1, #1c4f9a);
}

.symbol-teal {
  background: linear-gradient(135deg, #16b8ab, #0d7c75);
}

.symbol-coral {
  background: linear-gradient(135deg, #f26a56, #e7ad32);
}

.brand-tile span {
  min-width: 0;
}

.brand-tile strong,
.brand-tile small {
  display: block;
}

.brand-tile strong {
  line-height: 1.25;
  font-size: 0.98rem;
}

.brand-tile small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.intro-grid p:last-child,
.section-heading p,
.capability-copy p,
.platform-copy p,
.contact-layout p {
  color: var(--ink-soft);
  font-size: 1.06rem;
}

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

.section-heading.wide {
  max-width: 860px;
}

.section-muted {
  background: var(--mist);
}

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

.service-card {
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(16, 32, 51, 0.06);
}

.service-card .card-topline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  color: #ffffff;
  border-radius: 8px;
  font-weight: 900;
}

.accent-teal .card-topline {
  background: var(--teal);
}

.accent-blue .card-topline {
  background: var(--blue);
}

.accent-coral .card-topline {
  background: var(--coral);
}

.service-card p,
.service-card li,
.process-step p,
.capability-list p {
  color: var(--muted);
}

.service-card ul {
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

.service-card li::before {
  position: absolute;
  top: 0.76em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  content: "";
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--blue);
  font-weight: 900;
}

.text-link::after {
  margin-left: 8px;
  content: ">";
}

.allround-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fafb 100%);
}

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

.journey-grid article {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(16, 32, 51, 0.06);
}

.journey-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 4px 10px;
  background: rgba(22, 184, 171, 0.12);
  color: #0c7770;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 900;
}

.journey-grid article:nth-child(2) span {
  background: rgba(50, 118, 209, 0.12);
  color: #235ca3;
}

.journey-grid article:nth-child(3) span {
  background: rgba(242, 106, 86, 0.13);
  color: #b84737;
}

.journey-grid article:nth-child(4) span {
  background: rgba(231, 173, 50, 0.16);
  color: #8a6318;
}

.journey-grid p {
  color: var(--muted);
}

.platform-showcase {
  display: grid;
  gap: 34px;
}

.platform-item {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 34px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(16, 32, 51, 0.1);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.platform-item.reverse .platform-media {
  order: 2;
}

.platform-media {
  overflow: hidden;
  border: 1px solid rgba(16, 32, 51, 0.1);
  background: #ffffff;
  border-radius: 8px;
}

.platform-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.platform-media.two-up img {
  aspect-ratio: 16 / 10;
}

.platform-copy {
  padding: 10px 4px;
}

.label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  background: #ffffff;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 800;
}

.audience-section {
  background: #ffffff;
}

.audience-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 46px;
  align-items: start;
}

.audience-copy p {
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.audience-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.audience-cards article {
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #f8fbfb);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(16, 32, 51, 0.06);
}

.audience-cards p,
.audience-cards li {
  color: var(--muted);
}

.audience-cards ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.audience-cards li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

.audience-cards li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  content: "";
}

.capability-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 46px;
  align-items: start;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.capability-list article {
  padding: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #fbfcfd);
  border-radius: 8px;
}

.process-section {
  background: var(--wash);
}

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

.process-step {
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: 8px;
}

.process-step span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #18cfc1, #0fa39a);
  color: #ffffff;
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(22, 184, 171, 0.28);
}

.process-step:nth-child(2) span {
  background: linear-gradient(135deg, #4a8df0, #1e5fc2);
  box-shadow: 0 12px 22px rgba(50, 118, 209, 0.26);
}

.process-step:nth-child(3) span {
  background: linear-gradient(135deg, #ff7a66, #f0ad2f);
  box-shadow: 0 12px 22px rgba(242, 106, 86, 0.24);
}

.process-step:nth-child(4) span {
  background: linear-gradient(135deg, #8b5cf6, #23b7d8);
  box-shadow: 0 12px 22px rgba(139, 92, 246, 0.24);
}

.contact-section {
  background: var(--ink);
  color: #ffffff;
}

.contact-section .section-kicker {
  color: #8ffff3;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.54fr);
  gap: 36px;
  align-items: center;
}

.contact-layout p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-actions {
  justify-content: flex-end;
}

.site-footer {
  padding: 26px 0;
  background: #08111d;
  color: rgba(255, 255, 255, 0.74);
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  font-size: 0.92rem;
}

.footer-layout p {
  margin: 0;
}

.footer-layout div {
  display: flex;
  gap: 18px;
}

.quick-nav {
  display: none;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero {
    min-height: 860px;
    background-position: 62% center;
  }

  .hero-content {
    width: min(640px, 88vw);
  }

  .service-grid,
  .intro-grid,
  .brand-showcase,
  .audience-layout,
  .capability-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-grid {
    gap: 16px;
  }

  .platform-item,
  .platform-item.reverse {
    grid-template-columns: 1fr;
  }

  .platform-item.reverse .platform-media {
    order: 0;
  }

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

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

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    padding: 12px 5vw;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 5vw;
    right: 5vw;
    display: grid;
    gap: 2px;
    padding: 12px;
    background: #ffffff;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-header.is-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 12px;
  }

  .hero {
    min-height: 780px;
    display: block;
    background-position: 68% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(16, 32, 51, 0.86) 0%, rgba(16, 32, 51, 0.8) 52%, rgba(16, 32, 51, 0.44) 100%);
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 106px 18px 74px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 11vw, 2.9rem);
    line-height: 1.04;
  }

  .hero-title,
  .hero-title span {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .hero-title-cn {
    white-space: normal;
  }

  h2 {
    font-size: 1.82rem;
  }

  .split-heading span {
    display: inline;
  }

  .split-heading span + span::before {
    content: " ";
  }

  .hero-copy {
    width: 100%;
    font-size: 1.08rem;
    max-width: 100%;
    line-break: anywhere;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section,
  .intro-band,
  .contact-section {
    padding: 72px 0;
  }

  .section-inner {
    width: 90vw;
  }

  .brand-showcase {
    grid-template-columns: 1fr;
  }

  .service-card,
  .platform-item,
  .process-step,
  .capability-list article {
    padding: 22px;
  }

  .audience-cards,
  .capability-list,
  .journey-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .quick-nav {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 70;
    display: block;
    transform: translateY(18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .quick-nav.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .quick-toggle {
    position: relative;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: linear-gradient(135deg, var(--teal), var(--blue));
    color: #ffffff;
    border-radius: 999px;
    box-shadow: 0 18px 40px rgba(16, 32, 51, 0.28);
    cursor: pointer;
  }

  .quick-toggle span,
  .quick-toggle span::before,
  .quick-toggle span::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 99px;
    content: "";
  }

  .quick-toggle span::before {
    transform: translateY(-6px);
  }

  .quick-toggle span::after {
    transform: translateY(4px);
  }

  .quick-panel {
    position: absolute;
    right: 0;
    bottom: 64px;
    display: grid;
    width: min(220px, calc(100vw - 36px));
    padding: 10px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(16, 32, 51, 0.2);
    transform: translateY(8px) scale(0.96);
    transform-origin: bottom right;
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .quick-nav.is-open .quick-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .quick-panel a {
    min-height: 40px;
    padding: 8px 10px;
    color: var(--ink);
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 800;
  }

  .quick-panel a:hover,
  .quick-panel a:focus-visible {
    background: var(--mist);
  }

  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 2.45rem;
  }

  .hero .eyebrow {
    font-size: 0.72rem;
  }

  h2 {
    font-size: 1.56rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .contact-actions {
    width: 100%;
  }

  .platform-item {
    padding: 14px;
  }

  .platform-copy {
    padding: 10px 4px 4px;
  }

  .brand-showcase {
    grid-template-columns: 1fr;
  }
}
