/* ==========================================================================
   熊博士少儿编程俱乐部 · DR. XIONG CODING CLUB
   Single-page brand site — v1
   ========================================================================== */

:root {
  --bg: #f4f2ea;
  --bg-deep: #ece9df;
  --surface: #fffdf7;
  --ink: #10161f;
  --ink-soft: #1a2230;
  --muted: #5d6470;
  --muted-light: #8a9099;
  --line: rgba(16, 22, 31, 0.13);
  --line-light: rgba(255, 255, 255, 0.13);
  --lime: #d8ff5f;
  --lime-deep: #c4ee3f;
  --blue: #2f5bff;
  --cyan: #76e6ff;
  --orange: #ff7a45;
  --violet: #9d8cff;
  --radius: 26px;
  --max: 1200px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, monospace;
  --sans: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--ink);
  background: var(--lime);
}

h1,
h2,
h3,
p,
ul,
ol,
blockquote,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
  border-radius: 4px;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--surface);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s ease,
    color 0.25s ease, box-shadow 0.25s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  margin-left: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover svg {
  transform: translate(2px, -2px);
}

.btn-dark {
  color: var(--surface);
  background: var(--ink);
}

.btn-dark:hover {
  background: #27303e;
  box-shadow: 0 10px 24px rgba(16, 22, 31, 0.16);
}

.btn-lime {
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 12px 30px rgba(216, 255, 95, 0.18);
}

.btn-lime:hover {
  background: #e4ff8a;
  box-shadow: 0 16px 36px rgba(216, 255, 95, 0.3);
}

.btn-lg {
  min-height: 54px;
  padding: 16px 28px;
  font-size: 15px;
}

.btn-nav {
  min-height: 42px;
  padding: 11px 19px;
  font-size: 13px;
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 700;
}

.text-link-line {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform-origin: left center;
  transition: transform 0.35s var(--ease);
}

.text-link:hover .text-link-line {
  transform: scaleX(0.35);
}

.text-link-light {
  color: var(--surface);
}

.text-link-light .text-link-line {
  background: var(--lime);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(244, 242, 234, 0.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 242, 234, 0.93);
  box-shadow: 0 10px 32px rgba(16, 22, 31, 0.05);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  color: var(--ink);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand-text small {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.19em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  margin-right: 6px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  color: #333a45;
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s var(--ease);
}

.site-nav a:hover,
.site-nav a.is-current {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a.is-current::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.6);
}

.menu-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, margin 0.25s ease;
}

.menu-toggle span:first-child {
  transform: translate(-50%, -4px);
}

.menu-toggle span:last-child {
  transform: translate(-50%, 4px);
}

.menu-open .menu-toggle span:first-child {
  transform: translate(-50%, 0) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translate(-50%, 0) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: 158px;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(16, 22, 31, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 22, 31, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 55% 20%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 55% 20%, #000 0%, transparent 72%);
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
}

.orb-lime {
  top: -190px;
  right: -150px;
  width: 660px;
  height: 660px;
  background: rgba(216, 255, 95, 0.55);
}

.orb-blue {
  top: 420px;
  left: -300px;
  width: 620px;
  height: 620px;
  background: rgba(47, 91, 255, 0.1);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 56px;
  align-items: center;
  min-height: 650px;
  padding-bottom: 58px;
}

.hero-copy {
  min-width: 0;
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px 8px 10px;
  border: 1px solid rgba(16, 22, 31, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.48);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #39a85a;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid #39a85a;
  border-radius: 50%;
  animation: pulse 2.2s ease-out infinite;
}

.hero h1 {
  margin-top: 25px;
  font-size: clamp(2.9rem, 5.05vw, 4.7rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.058em;
}

.mark {
  position: relative;
  z-index: 0;
  display: inline-block;
  padding: 0 0.04em;
}

.mark::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -0.02em;
  bottom: 0.05em;
  left: -0.02em;
  height: 0.38em;
  border-radius: 5px;
  background: var(--lime);
  transform: rotate(-1.2deg);
}

.hero h1 .mark::after {
  height: 0.52em;
  bottom: 0.06em;
}

.future {
  position: relative;
  color: var(--blue);
}

.future::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.04em;
  left: 0;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.18;
  transform: rotate(-1deg);
}

.hero-lead {
  max-width: 590px;
  margin-top: 27px;
  color: #4a515c;
  font-size: 17.5px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 36px;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #454c56;
  font-size: 12.5px;
  font-weight: 600;
}

.hero-points li::before {
  content: "✓";
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
}

/* Hero visual */

.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 590px;
  padding-left: 20px;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 54%;
  border: 1px dashed rgba(16, 22, 31, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit-one {
  width: 560px;
  height: 560px;
  animation: spin 46s linear infinite;
}

.orbit-two {
  width: 430px;
  height: 430px;
  border-color: rgba(47, 91, 255, 0.18);
  animation: spin 32s linear infinite reverse;
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 54%;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 50%;
  color: var(--lime);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.15em;
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 10px rgba(244, 242, 234, 0.7);
}

.learning-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  padding: 24px;
  border: 1px solid rgba(16, 22, 31, 0.14);
  border-radius: 26px;
  background: #fffdf7;
  box-shadow: 12px 14px 0 0 var(--lime),
    0 30px 80px rgba(16, 22, 31, 0.13),
    0 2px 0 rgba(255, 255, 255, 0.8) inset;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.learning-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.mini-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.learning-head h2 {
  margin-top: 7px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  padding: 5px 9px;
  border: 1px solid rgba(57, 168, 90, 0.28);
  border-radius: 999px;
  color: #277844;
  background: rgba(57, 168, 90, 0.08);
  font-size: 9px;
  font-weight: 700;
}

.status-chip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #39a85a;
}

.path-list {
  margin-top: 19px;
}

.path-step {
  display: flex;
  gap: 12px;
  padding: 13px 10px;
  border-top: 1px solid rgba(16, 22, 31, 0.09);
}

.path-step.is-active {
  border-top-color: transparent;
  border-radius: 14px;
  background: #f0f4e4;
}

.step-dot {
  display: grid;
  width: 30px;
  height: 30px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  background: #ece9df;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 700;
}

.is-active .step-dot {
  color: var(--lime);
  background: var(--ink);
}

.step-body {
  min-width: 0;
  flex: 1;
}

.step-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.step-top h3 {
  font-size: 13.5px;
  font-weight: 800;
}

.step-top span {
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

.step-body p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
}

.learning-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(16, 22, 31, 0.1);
  color: var(--muted);
  font-size: 9.5px;
}

.learning-foot svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid rgba(16, 22, 31, 0.12);
  border-radius: 15px;
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 16px 38px rgba(16, 22, 31, 0.12);
  animation: float 7s ease-in-out infinite;
}

.float-card strong {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}

.float-card span:not(.float-icon):not(.mini-grid) {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

.float-ai {
  top: 7%;
  left: -2%;
}

.float-ai .float-icon {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border-radius: 10px;
  color: var(--lime);
  background: var(--ink);
}

.float-ai svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.float-sudoku {
  bottom: 8%;
  left: 1%;
  animation-delay: -3.5s;
}

.mini-grid {
  display: grid;
  width: 42px;
  height: 42px;
  flex: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 3px;
  border: 1px solid rgba(16, 22, 31, 0.2);
  border-radius: 8px;
  background: rgba(16, 22, 31, 0.12);
}

.mini-grid i {
  display: grid;
  place-items: center;
  border-radius: 2px;
  color: var(--blue);
  background: #fff;
  font-family: var(--mono);
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
}

/* Metrics */

.hero-metrics {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(26px, 4vw, 58px);
  padding: 27px 0 46px;
  border-top: 1px solid var(--line);
}

.metric {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex: none;
}

.metric strong {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

.metric span {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.metric-note {
  margin-left: auto;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.75;
  text-align: right;
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  padding: 15px 0;
  color: var(--surface);
  background: var(--ink);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
}

.marquee-group span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.marquee-group i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

/* --------------------------------------------------------------------------
   Shared section styles
   -------------------------------------------------------------------------- */

.section {
  padding: 118px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 64px;
  margin-bottom: 50px;
}

.section-index {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.section-index::before {
  content: "";
  width: 23px;
  height: 1px;
  background: currentColor;
}

.section-title {
  margin-top: 17px;
  font-size: clamp(2.35rem, 4.4vw, 4rem);
  font-weight: 900;
  line-height: 1.09;
  letter-spacing: -0.055em;
}

.section-intro {
  max-width: 450px;
  padding-bottom: 5px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}

/* --------------------------------------------------------------------------
   Programs
   -------------------------------------------------------------------------- */

.programs {
  background: var(--bg);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 345px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid rgba(16, 22, 31, 0.1);
  border-radius: var(--radius);
  background: var(--surface);
  translate: 0 0;
  transition: translate 0.35s var(--ease), box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.program-card:hover {
  border-color: rgba(16, 22, 31, 0.24);
  box-shadow: 0 22px 50px rgba(16, 22, 31, 0.09);
  translate: 0 -5px;
}

.card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.card-icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 13px;
  color: var(--ink);
  background: rgba(16, 22, 31, 0.06);
}

.card-icon svg,
.stage-icon svg,
.about-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-index {
  padding-top: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.card-copy {
  position: relative;
  z-index: 1;
  margin-top: 22px;
}

.card-copy h3 {
  font-size: 25px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.card-copy p {
  max-width: 560px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.78;
}

.tag-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 17px;
}

.tag-list li {
  padding: 5px 9px;
  border: 1px solid rgba(16, 22, 31, 0.13);
  border-radius: 999px;
  color: #4f5660;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.card-ai {
  grid-column: span 6;
  min-height: 398px;
  color: var(--surface);
  border-color: rgba(255, 255, 255, 0.11);
  background: #0f1622;
}

.card-ai:hover {
  border-color: rgba(216, 255, 95, 0.35);
  box-shadow: 0 26px 60px rgba(16, 22, 31, 0.24);
}

.card-ai .card-icon {
  color: var(--lime);
  background: rgba(216, 255, 95, 0.11);
}

.card-ai .card-index {
  color: rgba(255, 253, 247, 0.52);
}

.card-ai .card-copy h3 {
  font-size: 31px;
}

.card-ai .card-copy p {
  max-width: 490px;
  color: rgba(255, 253, 247, 0.67);
}

.card-ai .tag-list li {
  color: rgba(255, 253, 247, 0.72);
  border-color: rgba(255, 255, 255, 0.17);
}

.giant-word {
  position: absolute;
  right: -16px;
  bottom: -72px;
  z-index: 0;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--mono);
  font-size: 250px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.1em;
  pointer-events: none;
  user-select: none;
}

.ai-terminal {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  margin-top: auto;
  margin-left: auto;
  padding: 12px 14px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.8;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 7px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-bar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.terminal-bar i:first-child {
  background: var(--orange);
}

.terminal-bar i:nth-child(2) {
  background: #ffd464;
}

.terminal-bar i:nth-child(3) {
  background: var(--lime);
}

.terminal-bar span {
  margin-left: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 8px;
}

.ai-terminal b {
  color: var(--lime);
  font-weight: 500;
}

.ai-terminal p {
  color: rgba(255, 255, 255, 0.76);
}

.ai-terminal .terminal-muted {
  color: rgba(255, 255, 255, 0.58);
}

.ai-terminal .terminal-success {
  color: var(--lime);
}

.typing {
  display: inline-block;
  overflow: hidden;
  width: 1.4em;
  vertical-align: bottom;
  animation: blink 1.4s steps(2) infinite;
}

.card-sudoku {
  grid-column: span 6;
  background: #eaf0ff;
}

.card-sudoku .card-icon {
  color: var(--blue);
  background: rgba(47, 91, 255, 0.1);
}

.card-sudoku .card-copy,
.card-sudoku .tag-list {
  max-width: 67%;
}

.sudoku-board {
  position: absolute;
  right: 21px;
  bottom: 24px;
  display: grid;
  width: 134px;
  height: 134px;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 5px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--ink);
  box-shadow: 7px 7px 0 rgba(47, 91, 255, 0.14);
  transform: rotate(3deg);
}

.sudoku-board span {
  display: grid;
  place-items: center;
  border-radius: 3px;
  background: #f9fbff;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
}

.sudoku-board .s-fixed {
  color: var(--blue);
}

.sudoku-board span:nth-child(6) {
  background: var(--lime);
}

.card-scratch {
  grid-column: span 4;
  background: #fff5e7;
}

.card-scratch .card-icon {
  color: #b85b14;
  background: rgba(255, 122, 69, 0.12);
}

.block-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin-top: auto;
  padding-top: 22px;
}

.block {
  display: inline-block;
  padding: 7px 10px;
  border-radius: 5px;
  color: #1d2430;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.2;
  box-shadow: inset 0 -3px 0 rgba(16, 22, 31, 0.14);
}

.block b {
  font-weight: 700;
}

.block-yellow {
  background: #ffd464;
}

.block-blue {
  margin-left: 13px;
  background: #8fc7ff;
}

.block-pink {
  margin-left: 26px;
  background: #ffa8c5;
}

.card-python {
  grid-column: span 4;
  background: #eaf8ee;
}

.card-python .card-icon {
  color: #19744a;
  background: rgba(25, 116, 74, 0.1);
}

.card-cpp {
  grid-column: span 4;
  background: #f1edff;
}

.card-cpp .card-icon {
  color: #5b45c9;
  background: rgba(91, 69, 201, 0.1);
}

.code-window {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 10px 12px 12px;
  overflow: hidden;
  border-radius: 11px;
  color: #dce6f0;
  background: #111a26;
  box-shadow: 0 12px 26px rgba(16, 22, 31, 0.13);
}

.code-dark {
  background: #1b1730;
}

.code-dots {
  display: flex;
  gap: 4px;
  margin-bottom: 7px;
}

.code-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.code-dots i:first-child {
  background: var(--orange);
}

.code-dots i:nth-child(2) {
  background: #ffd464;
}

.code-dots i:nth-child(3) {
  background: var(--lime);
}

.code-window pre {
  margin: 0;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 9.2px;
  line-height: 1.7;
  white-space: pre;
}

.code-window code {
  font-family: inherit;
}

.code-purple {
  color: #c9a7ff;
}

.code-blue {
  color: #7ad7ff;
}

.code-green {
  color: #b9e77e;
}

.code-orange {
  color: #ffb27a;
}

.code-muted {
  color: rgba(220, 230, 240, 0.66);
}

.card-oi {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 46px;
  align-items: center;
  grid-column: span 12;
  min-height: 320px;
  background: var(--lime);
  border-color: rgba(16, 22, 31, 0.2);
}

.card-oi:hover {
  border-color: rgba(16, 22, 31, 0.36);
  box-shadow: 0 22px 44px rgba(89, 110, 20, 0.16);
}

.card-oi .card-icon {
  color: var(--ink);
  background: rgba(16, 22, 31, 0.08);
}

.card-oi .card-index {
  color: rgba(16, 22, 31, 0.78);
}

.card-oi .card-copy {
  margin-top: 20px;
}

.card-oi .card-copy h3 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.card-oi .card-copy p {
  max-width: 590px;
  color: rgba(16, 22, 31, 0.68);
}

.card-oi .tag-list li {
  color: rgba(16, 22, 31, 0.75);
  border-color: rgba(16, 22, 31, 0.24);
}

.oi-path {
  padding: 22px;
  border: 1px dashed rgba(16, 22, 31, 0.27);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.22);
}

.oi-path .mini-label {
  margin-bottom: 14px;
  color: rgba(16, 22, 31, 0.78);
}

.oi-step {
  display: flex;
  align-items: center;
  gap: 11px;
}

.oi-step > span {
  display: inline-grid;
  min-width: 62px;
  min-height: 30px;
  place-items: center;
  padding: 5px 8px;
  border-radius: 7px;
  color: var(--lime);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.oi-step strong {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
}

.oi-step small {
  display: block;
  margin-top: 1px;
  color: rgba(16, 22, 31, 0.76);
  font-size: 9.5px;
}

.oi-line {
  width: 1px;
  height: 17px;
  margin: 3px 0 3px 31px;
  background: rgba(16, 22, 31, 0.3);
}

.oi-note {
  margin-top: 14px;
  color: rgba(16, 22, 31, 0.7);
  font-size: 8.5px;
}

/* Full curriculum map */

.curriculum-board {
  display: grid;
  grid-template-columns: 0.8fr 1.7fr;
  gap: 38px;
  align-items: center;
  margin-top: 24px;
  padding: 30px;
  border: 1px solid rgba(47, 91, 255, 0.16);
  border-radius: 26px;
  background: #edf2ff;
}

.curriculum-head h3 {
  margin-top: 7px;
  font-size: 23px;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.curriculum-head > p:not(.mini-label) {
  max-width: 340px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.75;
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 0;
}

.curriculum-col {
  min-height: 0;
  padding: 0 18px;
  border-left: 1px solid rgba(47, 91, 255, 0.18);
}

.curriculum-col:nth-child(odd) {
  padding-left: 0;
  border-left: 0;
}

.curriculum-col:nth-child(even) {
  padding-left: 24px;
}

.curriculum-col > span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
}

.curriculum-col h4 {
  margin: 9px 0 0;
  font-size: 14.5px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.curriculum-col p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.7;
}

.curriculum-note {
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 1px solid rgba(47, 91, 255, 0.15);
  color: rgba(16, 22, 31, 0.62);
  font-size: 9px;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Learning path
   -------------------------------------------------------------------------- */

.path-section {
  position: relative;
  overflow: hidden;
  color: var(--surface);
  background: #0b111a;
}

.path-glow {
  position: absolute;
  top: -240px;
  left: 50%;
  width: 860px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(47, 91, 255, 0.25),
    transparent 68%
  );
  transform: translateX(-50%);
  pointer-events: none;
}

.section-head-dark {
  position: relative;
  z-index: 1;
}

.section-head-dark .section-index {
  color: var(--lime);
}

.section-head-dark .section-intro {
  color: rgba(255, 253, 247, 0.57);
}

.stage-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.stage-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 410px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
  translate: 0 0;
  transition: border-color 0.35s ease, background-color 0.35s ease,
    translate 0.35s var(--ease);
}

.stage-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease);
}

.stage-card:hover {
  border-color: rgba(216, 255, 95, 0.27);
  background: rgba(255, 255, 255, 0.055);
  translate: 0 -4px;
}

.stage-card:hover::before {
  transform: scaleX(1);
}

.stage-no {
  color: rgba(255, 253, 247, 0.6);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.stage-icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  margin: 27px 0 19px;
  border-radius: 13px;
  color: var(--lime);
  background: rgba(216, 255, 95, 0.09);
}

.stage-card h3 {
  font-size: 34px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.stage-sub {
  margin-top: 5px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.stage-card > p:not(.stage-sub) {
  margin-top: 14px;
  color: rgba(255, 253, 247, 0.58);
  font-size: 12.5px;
  line-height: 1.8;
}

.stage-card ul {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stage-card li {
  position: relative;
  padding-left: 16px;
  color: rgba(255, 253, 247, 0.72);
  font-size: 11px;
  line-height: 1.9;
}

.stage-card li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.path-cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding-top: 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.path-cta p {
  color: rgba(255, 253, 247, 0.62);
  font-size: 12px;
}

.path-cta .text-link {
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   Results
   -------------------------------------------------------------------------- */

.results {
  background: var(--lime);
}

.results .section-index {
  color: rgba(16, 22, 31, 0.8);
}

.results .section-intro {
  color: rgba(16, 22, 31, 0.74);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.result-card {
  display: flex;
  flex-direction: column;
  min-height: 215px;
  padding-top: 21px;
  border-top: 1.5px solid rgba(16, 22, 31, 0.74);
}

.result-kicker {
  color: rgba(16, 22, 31, 0.72);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.result-value {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: clamp(2.7rem, 4.4vw, 4rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.result-value sup {
  position: relative;
  top: -0.7em;
  font-size: 0.36em;
  letter-spacing: 0;
}

.result-label {
  margin-top: 11px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.result-detail {
  margin-top: auto;
  padding-top: 20px;
  color: rgba(16, 22, 31, 0.7);
  font-size: 10.5px;
  line-height: 1.65;
}

.result-note {
  margin-top: 28px;
  padding-top: 13px;
  border-top: 1px solid rgba(16, 22, 31, 0.2);
  color: rgba(16, 22, 31, 0.68);
  font-size: 9px;
}

/* --------------------------------------------------------------------------
   Method
   -------------------------------------------------------------------------- */

.method {
  background: var(--bg);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.method-card {
  position: relative;
  padding-top: 24px;
  border-top: 1.5px solid rgba(16, 22, 31, 0.68);
  transition: border-color 0.3s ease;
  /* Keep reveal transforms independent from hover movement. */
  translate: 0 0;
}

.method-card::after {
  content: "";
  position: absolute;
  top: -1.5px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--blue);
  transition: width 0.4s var(--ease);
}

.method-card:hover {
  border-color: rgba(16, 22, 31, 0.2);
}

.method-card:hover::after {
  width: 100%;
}

.method-no {
  display: block;
  color: transparent;
  font-family: var(--mono);
  font-size: 49px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.08em;
  -webkit-text-stroke: 1px rgba(16, 22, 31, 0.38);
}

.method-card h3 {
  margin-top: 23px;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.method-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.85;
}

.method-en {
  display: block;
  margin-top: 25px;
  color: rgba(16, 22, 31, 0.62);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.method-quote {
  margin-top: 82px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.method-quote p {
  max-width: 880px;
  font-size: clamp(1.8rem, 3.8vw, 3.3rem);
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: -0.05em;
}

.method-quote footer {
  margin-top: 17px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.09em;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about {
  padding-top: 10px;
}

.about-panel {
  position: relative;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 74px;
  padding: 58px;
  overflow: hidden;
  border: 1px solid rgba(16, 22, 31, 0.08);
  border-radius: 34px;
  background: #e8e3d5;
}

.about-panel::before {
  content: "";
  position: absolute;
  top: -110px;
  left: -110px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(16, 22, 31, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.about-statement {
  margin-top: 22px;
  font-size: clamp(1.9rem, 3.1vw, 2.9rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.055em;
}

.about-orbit {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 40px auto 0;
}

.about-ring {
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(16, 22, 31, 0.24);
  border-radius: 50%;
  animation: rotate 34s linear infinite;
}

.about-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 105px;
  height: 105px;
  place-items: center;
  border-radius: 50%;
  color: var(--lime);
  background: var(--ink);
  font-family: var(--sans);
  font-size: 38px;
  font-weight: 700;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 50px rgba(16, 22, 31, 0.18);
}

.about-ball {
  position: absolute;
  z-index: 2;
  border: 4px solid #e8e3d5;
  border-radius: 50%;
}

.ball-lime {
  top: 22px;
  right: 44px;
  width: 40px;
  height: 40px;
  background: var(--lime);
}

.ball-blue {
  bottom: 25px;
  left: 37px;
  width: 27px;
  height: 27px;
  background: var(--blue);
}

.about-copy {
  align-self: center;
}

.about-copy h2 {
  font-size: 31px;
  font-weight: 850;
  letter-spacing: -0.045em;
}

.about-lead {
  margin-top: 17px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.85;
}

.about-copy > p:not(.about-lead) {
  margin-top: 13px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.value-list {
  margin-top: 30px;
}

.value-list li {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid rgba(16, 22, 31, 0.12);
}

.about-panel .section-index,
.value-list > li > span {
  color: #2344c9;
}

.value-list > li > span {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
}

.value-list strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
}

.value-list p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

.faculty {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 34px;
  align-items: center;
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid rgba(16, 22, 31, 0.13);
}

.faculty-head h3 {
  margin-top: 7px;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.faculty-head > p:not(.mini-label) {
  max-width: 360px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

.faculty-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.faculty-list li {
  padding-left: 12px;
  border-left: 1px solid rgba(16, 22, 31, 0.16);
}

.faculty-list strong {
  display: block;
  font-family: var(--mono);
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

.faculty-list span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  padding-top: 0;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 58px;
  padding: 60px;
  overflow: hidden;
  border-radius: 34px;
  color: var(--surface);
  background: #0d141e;
}

.contact-glow {
  position: absolute;
  top: -190px;
  left: 12%;
  width: 540px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(216, 255, 95, 0.18),
    transparent 68%
  );
  pointer-events: none;
}

.section-index-light {
  color: var(--lime);
}

.contact-copy {
  position: relative;
  z-index: 1;
}

.contact h2 {
  margin-top: 19px;
  font-size: clamp(2.3rem, 4vw, 3.7rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.contact-copy > p:not(.section-index) {
  max-width: 540px;
  margin-top: 20px;
  color: rgba(255, 253, 247, 0.62);
  font-size: 13.5px;
  line-height: 1.9;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 30px;
}

.contact-phone span {
  display: block;
  color: rgba(255, 253, 247, 0.6);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.contact-phone strong {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.contact-card {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.045);
}

.contact-card .mini-label {
  color: var(--lime);
}

.contact-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.contact-row > span {
  flex: none;
  color: rgba(255, 253, 247, 0.62);
  font-size: 9.5px;
}

.contact-row a,
.contact-row p {
  color: rgba(255, 253, 247, 0.9);
  font-size: 11.5px;
  text-align: right;
}

.contact-row a:hover {
  color: var(--lime);
}

.contact-note {
  margin-top: 14px;
  color: rgba(255, 253, 247, 0.58);
  font-size: 9.5px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 46px 0 24px;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

.footer-brand p {
  max-width: 290px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 11.5px;
}

.footer-nav {
  display: flex;
  gap: 78px;
}

.footer-nav > div > p {
  margin-bottom: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-nav a {
  display: block;
  padding: 4px 0;
  color: #4d545f;
  font-size: 11.5px;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9.5px;
}

.mobile-cta {
  display: none;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.error-page {
  min-height: 100svh;
}

.error-main {
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 170px 0 90px;
}

.error-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.error-copy h1 {
  margin-top: 20px;
  font-size: clamp(2.9rem, 5.6vw, 5rem);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -0.06em;
}

.error-lead {
  max-width: 500px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.error-art {
  position: relative;
  height: 430px;
}

.error-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed rgba(16, 22, 31, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.error-ring-one {
  width: 390px;
  height: 390px;
  animation: rotate-centered 40s linear infinite;
}

.error-ring-two {
  width: 280px;
  height: 280px;
  border-color: rgba(47, 91, 255, 0.24);
  animation: rotate-centered 28s linear infinite reverse;
}

.error-code {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 4px 20px 10px;
  border-radius: 22px;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 12px 12px 0 var(--ink);
  font-family: var(--mono);
  font-size: 112px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.1em;
  transform: translate(-50%, -50%) rotate(-4deg);
}

@keyframes rotate-centered {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   Readability scale
   -------------------------------------------------------------------------- */

body {
  font-size: 17px;
}

.brand-text strong {
  font-size: 18px;
}

.brand-text small {
  font-size: 8.5px;
}

.site-nav a {
  font-size: 16px;
}

.btn {
  font-size: 18px;
}

.btn-nav {
  font-size: 17px;
}

.btn-lg {
  font-size: 20px;
}

.text-link {
  font-size: 18px;
}

.eyebrow {
  font-size: 13px;
}

.hero-lead {
  font-size: 38px;
  line-height: 1.5;
}

.hero-points li {
  font-size: 18px;
}

.mini-label {
  font-size: 11px;
}

.learning-head h2 {
  font-size: 26px;
}

.status-chip {
  font-size: 11px;
}

.step-dot {
  font-size: 11px;
}

.step-top h3 {
  font-size: 20px;
}

.step-top span {
  font-size: 12px;
}

.step-body p {
  font-size: 17px;
}

.learning-foot {
  font-size: 14px;
}

.float-card strong {
  font-size: 16px;
}

.float-card span:not(.float-icon):not(.mini-grid) {
  font-size: 13px;
}

.float-card {
  display: none;
}

.metric strong {
  font-size: 34px;
}

.metric span {
  font-size: 16px;
}

.metric-note {
  font-size: 16px;
}

.marquee-group span {
  font-size: 16px;
}

.section-index {
  font-size: 13px;
}

.section-intro {
  font-size: 30px;
  line-height: 1.7;
}

.card-index {
  font-size: 12px;
}

.card-copy h3 {
  font-size: 34px;
}

.card-ai .card-copy h3 {
  font-size: 40px;
}

.card-copy p {
  font-size: 30px;
  line-height: 1.6;
}

.tag-list li {
  padding: 6px 10px;
  font-size: 13px;
}

.ai-terminal {
  font-size: 11.5px;
}

.terminal-bar span {
  font-size: 9.5px;
}

.code-window pre {
  font-size: 10.5px;
}

.block {
  font-size: 11px;
}

.card-sudoku .card-copy,
.card-sudoku .tag-list {
  max-width: 100%;
}

.card-sudoku {
  padding-bottom: 178px;
}

.card-oi .card-copy h3 {
  font-size: clamp(2.4rem, 3.4vw, 3rem);
}

.oi-path .mini-label {
  font-size: 10px;
}

.oi-step > span {
  font-size: 14px;
}

.oi-step strong {
  font-size: 18px;
}

.oi-step small {
  font-size: 16px;
}

.oi-note {
  font-size: 14px;
}

.curriculum-head h3 {
  font-size: 25px;
}

.curriculum-head > p:not(.mini-label) {
  font-size: 22px;
  line-height: 1.6;
}

.curriculum-col > span {
  font-size: 10px;
}

.curriculum-col h4 {
  font-size: 24px;
}

.curriculum-col p {
  font-size: 20px;
  line-height: 1.6;
}

.curriculum-note {
  font-size: 18px;
  line-height: 1.6;
}

.stage-no {
  font-size: 10px;
}

.stage-sub {
  font-size: 11.5px;
}

.stage-card > p:not(.stage-sub) {
  font-size: 28px;
  line-height: 1.7;
}

.stage-card li {
  font-size: 20px;
  line-height: 1.8;
}

.result-kicker {
  font-size: 10.5px;
}

.result-label {
  font-size: 24px;
}

.result-detail {
  font-size: 24px;
  line-height: 1.55;
}

.result-note {
  font-size: 21px;
  line-height: 1.6;
}

.method-card h3 {
  font-size: 34px;
}

.method-card p {
  font-size: 28px;
  line-height: 1.65;
}

.method-en {
  font-size: 9.5px;
}

.method-quote footer {
  font-size: 11px;
}

.about-copy h2 {
  font-size: 40px;
}

.about-lead {
  font-size: 32px;
  line-height: 1.65;
}

.about-copy > p:not(.about-lead) {
  font-size: 30px;
  line-height: 1.7;
}

.value-list strong {
  font-size: 24px;
}

.value-list p {
  font-size: 20px;
  line-height: 1.65;
}

.faculty-head h3 {
  font-size: 24px;
}

.faculty-head > p:not(.mini-label) {
  font-size: 20px;
  line-height: 1.6;
}

.faculty-list span {
  font-size: 14px;
}

.contact-copy > p:not(.section-index) {
  font-size: 30px;
  line-height: 1.65;
}

.contact-phone span {
  font-size: 14px;
}

.contact-phone strong {
  font-size: 28px;
}

.contact-row {
  display: block;
}

.contact-row > span {
  display: block;
  margin-bottom: 3px;
  font-size: 18px;
}

.contact-row a,
.contact-row p {
  margin-top: 3px;
  font-size: 26px;
  line-height: 1.55;
  text-align: left;
}

.contact-note {
  font-size: 18px;
}

.footer-brand p {
  font-size: 16px;
}

.footer-nav > div > p {
  font-size: 11px;
}

.footer-nav a {
  font-size: 16px;
}

.footer-bottom {
  font-size: 13px;
}

.error-lead {
  font-size: 17px;
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0% {
    opacity: 0.8;
    transform: scale(0.7);
  }
  75%,
  100% {
    opacity: 0;
    transform: scale(2.2);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes blink {
  50% {
    opacity: 0.2;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .hero-layout {
    grid-template-columns: 1fr 0.88fr;
    gap: 30px;
  }

  .hero-stage {
    padding-left: 0;
  }

  .orbit-one {
    width: 500px;
    height: 500px;
  }

  .orbit-two {
    width: 380px;
    height: 380px;
  }

  .float-ai {
    left: -1%;
  }

  .float-sudoku {
    left: -2%;
  }

  .about-panel {
    gap: 48px;
    padding: 48px;
  }

  .contact-panel {
    gap: 36px;
    padding: 48px;
  }
}

@media (max-width: 960px) {
  .section-head {
    gap: 36px;
  }

  .section-intro {
    max-width: 360px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-bottom: 54px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-stage {
    max-width: 620px;
    min-height: 580px;
    margin: 40px auto 0;
    padding-left: 40px;
  }

  .learning-card {
    margin-inline: auto 0;
  }

  .float-ai {
    left: 0;
  }

  .float-sudoku {
    left: 2%;
  }

  .about-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-orbit {
    position: absolute;
    right: -90px;
    bottom: -80px;
    width: 310px;
    height: 310px;
    opacity: 0.5;
  }

  .about-visual {
    position: relative;
    min-height: 320px;
  }

  .about-statement {
    position: relative;
    z-index: 1;
    max-width: 600px;
  }
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: 92px;
    right: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px 20px;
    visibility: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 253, 247, 0.98);
    box-shadow: 0 24px 70px rgba(16, 22, 31, 0.16);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .site-nav a {
    padding: 14px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .menu-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .menu-toggle {
    display: block;
  }

  .btn-nav {
    display: none;
  }

  .nav-shell {
    height: 76px;
  }

  .hero {
    padding-top: 136px;
  }

  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-card,
  .card-ai,
  .card-sudoku,
  .card-scratch,
  .card-python,
  .card-cpp,
  .card-oi {
    grid-column: span 1;
    min-height: 340px;
  }

  .card-ai {
    grid-column: span 2;
    min-height: 380px;
  }

  .card-sudoku {
    grid-column: span 2;
    min-height: 320px;
  }

  .card-sudoku .card-copy,
  .card-sudoku .tag-list {
    max-width: 63%;
  }

  .card-oi {
    grid-column: span 2;
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px;
  }

  .card-cpp {
    grid-column: span 2;
  }

  .stage-grid {
    grid-template-columns: 1fr;
  }

  .stage-card {
    min-height: 0;
  }

  .stage-card ul {
    margin-top: 12px;
  }

  .curriculum-board {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px;
  }

  .curriculum-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 0;
  }

  .curriculum-col:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .curriculum-col:nth-child(even) {
    padding-left: 22px;
  }

  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
  }

  .result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }

  .result-card {
    min-height: 180px;
  }

  .faculty {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .faculty-list {
    gap: 10px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-card {
    max-width: 560px;
  }

  .footer-main {
    flex-direction: column;
    gap: 34px;
  }

  .footer-nav {
    gap: 60px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 36px), var(--max));
  }

  .section {
    padding: 82px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 34px;
  }

  .section-intro {
    max-width: 520px;
    margin-top: 20px;
  }

  .hero {
    padding-top: 122px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 10.4vw, 4rem);
    line-height: 1.1;
  }

  .hero-lead {
    font-size: 15.5px;
    line-height: 1.8;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 28px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .text-link {
    margin-top: 4px;
  }

  .hero-points {
    gap: 8px 15px;
    margin-top: 26px;
  }

  .hero-points li {
    font-size: 11.5px;
  }

  .hero-stage {
    min-height: 520px;
    margin-top: 34px;
    padding-left: 0;
  }

  .orbit-one {
    width: 430px;
    height: 430px;
  }

  .orbit-two {
    width: 340px;
    height: 340px;
  }

  .orbit-core {
    width: 70px;
    height: 70px;
    font-size: 6.5px;
  }

  .learning-card {
    max-width: 100%;
    padding: 18px;
    border-radius: 22px;
    box-shadow: 8px 9px 0 0 var(--lime),
      0 24px 50px rgba(16, 22, 31, 0.12);
  }

  .learning-head h2 {
    font-size: 17px;
  }

  .path-step {
    padding: 11px 8px;
  }

  .step-top {
    display: block;
  }

  .step-top span {
    display: block;
    margin-top: 2px;
  }

  .float-card {
    display: none;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 22px 0 34px;
  }

  .metric {
    display: block;
  }

  .metric strong {
    display: block;
    font-size: 27px;
  }

  .metric span {
    display: block;
    margin-top: 5px;
    font-size: 9.5px;
    white-space: normal;
  }

  .metric-note {
    display: none;
  }

  .marquee {
    padding: 13px 0;
  }

  .marquee-group {
    gap: 24px;
    padding-right: 24px;
  }

  .marquee-group span {
    font-size: 11.5px;
  }

  .program-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .program-card,
  .card-ai,
  .card-sudoku,
  .card-scratch,
  .card-python,
  .card-cpp,
  .card-oi {
    grid-column: span 1;
    min-height: 320px;
    padding: 22px;
  }

  .card-ai {
    min-height: 390px;
  }

  .card-ai .card-copy h3 {
    font-size: 27px;
  }

  .card-sudoku {
    min-height: 350px;
  }

  .card-sudoku .card-copy,
  .card-sudoku .tag-list {
    max-width: 100%;
  }

  .sudoku-board {
    right: 18px;
    bottom: 18px;
    width: 108px;
    height: 108px;
    opacity: 0.95;
  }

  .sudoku-board span {
    font-size: 16px;
  }

  .card-sudoku .card-copy p {
    max-width: calc(100% - 40px);
  }

  .card-sudoku .tag-list {
    max-width: calc(100% - 75px);
  }

  .card-oi {
    display: block;
    min-height: 0;
    padding: 24px;
  }

  .oi-path {
    margin-top: 22px;
    padding: 18px;
  }

  .ai-terminal {
    margin-top: 22px;
    margin-left: 0;
  }

  .block-stack {
    padding-top: 18px;
  }

  .code-window {
    margin-top: 20px;
  }

  .curriculum-board {
    gap: 20px;
    padding: 22px;
    border-radius: 22px;
  }

  .curriculum-head h3 {
    font-size: 21px;
  }

  .curriculum-grid {
    gap: 20px 0;
  }

  .curriculum-col {
    min-height: 0;
    padding: 0 14px;
  }

  .curriculum-col:nth-child(even) {
    padding-left: 16px;
  }

  .curriculum-col h4 {
    font-size: 13.5px;
  }

  .curriculum-col p {
    font-size: 10px;
  }

  .about-panel,
  .contact-panel {
    padding: 28px 22px;
    border-radius: 25px;
  }

  .about-panel {
    gap: 18px;
  }

  .result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .result-card {
    min-height: 170px;
    padding-top: 17px;
  }

  .result-value {
    margin-top: 14px;
    font-size: 2.55rem;
  }

  .result-label {
    font-size: 13px;
  }

  .result-detail {
    padding-top: 14px;
    font-size: 9.5px;
  }

  .faculty {
    margin-top: 5px;
    padding-top: 20px;
  }

  .faculty-head h3 {
    font-size: 18px;
  }

  .faculty-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px 10px;
  }

  .about-visual {
    min-height: 0;
  }

  .about-statement {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .about-orbit {
    display: none;
  }

  .about-copy h2 {
    font-size: 25px;
  }

  .about-lead {
    font-size: 14.5px;
  }

  .value-list {
    margin-top: 22px;
  }

  .contact h2 {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }

  .contact-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 19px;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .contact-card {
    padding: 18px;
  }

  .contact-row {
    display: block;
  }

  .contact-row a,
  .contact-row p {
    margin-top: 3px;
    text-align: left;
  }

  .method-grid {
    grid-template-columns: 1fr;
    gap: 31px;
  }

  .method-no {
    font-size: 38px;
  }

  .method-card h3 {
    margin-top: 14px;
  }

  .method-quote {
    margin-top: 52px;
    padding-top: 27px;
  }

  .path-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .stage-card {
    padding: 23px;
  }

  .site-footer {
    padding-bottom: 100px;
  }

  .footer-nav {
    width: 100%;
    gap: 0;
    justify-content: space-between;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: block;
    padding: 10px 18px max(10px, env(safe-area-inset-bottom));
    visibility: hidden;
    border-top: 1px solid var(--line);
    background: rgba(244, 242, 234, 0.94);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.35s var(--ease),
      visibility 0.35s;
    pointer-events: none;
  }

  .show-mobile-cta .mobile-cta {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .menu-open .mobile-cta {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .mobile-cta .btn {
    width: 100%;
  }

  .error-main {
    padding: 130px 0 70px;
  }

  .error-layout {
    grid-template-columns: 1fr;
  }

  .error-art {
    display: none;
  }

  .error-copy h1 {
    font-size: clamp(2.1rem, 9vw, 3.2rem);
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 2.35rem;
  }

  .eyebrow {
    font-size: 9px;
  }

  .learning-head {
    display: block;
  }

  .status-chip {
    margin-top: 8px;
  }

  .sudoku-board {
    width: 92px;
    height: 92px;
  }

  .sudoku-board span {
    font-size: 14px;
  }

  .card-sudoku .card-copy p {
    max-width: 100%;
  }

  .footer-nav {
    gap: 28px;
  }
}

@media (max-width: 340px) {
  .eyebrow {
    white-space: normal;
    font-size: 13px;
    line-height: 1.5;
  }

  .brand-text strong {
    font-size: 13.5px;
  }

  .brand-text small {
    font-size: 6px;
    letter-spacing: 0.13em;
  }
}

@media (max-width: 680px) {
  .hero-lead {
    font-size: 32px;
  }

  .hero-points li {
    font-size: 16px;
  }

  .metric span {
    font-size: 13px;
  }

  .marquee-group span {
    font-size: 14px;
  }

  .card-copy p {
    font-size: 28px;
  }

  .card-copy h3 {
    font-size: 30px;
  }

  .card-ai .card-copy h3 {
    font-size: 32px;
  }

  .card-sudoku {
    min-height: 560px;
  }

  .tag-list li {
    font-size: 12px;
  }

  .ai-terminal {
    font-size: 12px;
  }

  .code-window pre {
    font-size: 10px;
  }

  .stage-card > p:not(.stage-sub) {
    font-size: 26px;
  }

  .stage-card li {
    font-size: 18px;
  }

  .result-label {
    font-size: 20px;
  }

  .result-detail {
    font-size: 20px;
  }

  .result-note {
    font-size: 18px;
  }

  .about-copy h2 {
    font-size: 34px;
  }

  .about-lead {
    font-size: 30px;
  }

  .about-copy > p:not(.about-lead) {
    font-size: 28px;
  }

  .value-list p {
    font-size: 18px;
  }

  .faculty-head h3 {
    font-size: 24px;
  }

  .faculty-head > p:not(.mini-label) {
    font-size: 18px;
  }

  .faculty-list span {
    font-size: 13px;
  }

  .curriculum-head > p:not(.mini-label) {
    font-size: 20px;
  }

  .curriculum-col h4 {
    font-size: 22px;
  }

  .curriculum-col p {
    font-size: 18px;
  }

  .curriculum-note {
    font-size: 16px;
  }

  .contact-copy > p:not(.section-index) {
    font-size: 28px;
  }

  .contact-phone span {
    font-size: 14px;
  }

  .contact-phone strong {
    font-size: 26px;
  }

  .contact-row > span {
    display: block;
    font-size: 16px;
  }

  .contact-row a,
  .contact-row p {
    font-size: 22px;
  }

  .contact-note {
    font-size: 16px;
  }

  .footer-brand p {
    font-size: 15px;
  }

  .footer-nav a {
    font-size: 15px;
  }

  .footer-bottom {
    font-size: 12px;
  }

  .oi-note {
    font-size: 12px;
  }

  .oi-step small {
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .about-copy h2 {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}


/* --------------------------------------------------------------------------
   Extra-large reading scale (final overrides)
   -------------------------------------------------------------------------- */

.hero-lead {
  font-size: 46px;
  line-height: 1.45;
}

.section-intro {
  font-size: 36px;
  line-height: 1.6;
}

.hero-points li {
  font-size: 20px;
}

.metric span,
.metric-note {
  font-size: 18px;
}

.eyebrow {
  font-size: 15px;
  white-space: nowrap;
}

.learning-head h2 {
  font-size: 27px;
}

.learning-head .mini-label {
  font-size: 12px;
}

.status-chip {
  font-size: 12px;
}

.step-dot {
  font-size: 12px;
}

.step-top h3 {
  font-size: 24px;
}

.step-top span {
  font-size: 14px;
}

.step-body p {
  font-size: 20px;
}

.learning-foot {
  font-size: 16px;
}

.card-index {
  font-size: 13px;
}

.card-copy h3 {
  font-size: 40px;
}

.card-ai .card-copy h3 {
  font-size: 46px;
}

.card-oi .card-copy h3 {
  font-size: clamp(2.8rem, 3.8vw, 3.4rem);
}

.card-copy p {
  font-size: 36px;
  line-height: 1.55;
}

.tag-list li {
  font-size: 14px;
}

.stage-no {
  font-size: 12px;
}

.stage-sub {
  font-size: 16px;
}

.stage-card h3 {
  font-size: 40px;
}

.stage-card > p:not(.stage-sub) {
  font-size: 34px;
  line-height: 1.6;
}

.stage-card li {
  font-size: 22px;
}

.result-kicker {
  font-size: 14px;
}

.result-label {
  font-size: 28px;
}

.result-detail {
  font-size: 28px;
  line-height: 1.5;
}

.result-note {
  font-size: 24px;
  line-height: 1.55;
}

.method-card h3 {
  font-size: 40px;
}

.method-card p {
  font-size: 34px;
  line-height: 1.55;
}

.method-en {
  font-size: 12px;
}

.method-quote footer {
  font-size: 14px;
}

.about-copy h2 {
  font-size: 46px;
}

.about-lead {
  font-size: 38px;
  line-height: 1.55;
}

.about-copy > p:not(.about-lead) {
  font-size: 36px;
  line-height: 1.6;
}

.value-list strong {
  font-size: 28px;
}

.value-list p {
  font-size: 24px;
  line-height: 1.55;
}

.faculty-head h3 {
  font-size: 28px;
}

.faculty-head > p:not(.mini-label) {
  font-size: 24px;
  line-height: 1.55;
}

.faculty-list span {
  font-size: 16px;
}

.curriculum-head h3 {
  font-size: 30px;
}

.curriculum-head > p:not(.mini-label) {
  font-size: 26px;
  line-height: 1.55;
}

.curriculum-col h4 {
  font-size: 28px;
}

.curriculum-col p {
  font-size: 24px;
  line-height: 1.55;
}

.curriculum-note {
  font-size: 22px;
  line-height: 1.5;
}

.oi-step > span {
  font-size: 16px;
}

.oi-step strong {
  font-size: 22px;
}

.oi-step small {
  font-size: 18px;
}

.oi-note {
  font-size: 16px;
}

.contact-copy > p:not(.section-index) {
  font-size: 36px;
  line-height: 1.55;
}

.contact-phone span {
  font-size: 16px;
}

.contact-phone strong {
  font-size: 32px;
}

.contact-row > span {
  font-size: 22px;
}

.contact-row a,
.contact-row p {
  font-size: 30px;
  line-height: 1.5;
}

.contact-note {
  font-size: 20px;
}

.footer-brand p {
  font-size: 18px;
}

.footer-nav > div > p {
  font-size: 12px;
}

.footer-nav a {
  font-size: 18px;
}

.footer-bottom {
  font-size: 14px;
}

.btn {
  font-size: 20px;
}

.btn-lg {
  font-size: 22px;
}

.text-link {
  font-size: 20px;
}

.error-lead {
  font-size: 22px;
}

@media (max-width: 680px) {
  .hero-lead {
    font-size: 38px;
    line-height: 1.45;
  }

  .hero-points li {
    font-size: 18px;
  }

  .section-intro {
    font-size: 32px;
  }

  .card-copy h3 {
    font-size: 36px;
  }

  .card-ai .card-copy h3 {
    font-size: 40px;
  }

  .card-copy p {
    font-size: 34px;
  }

  .stage-card h3 {
    font-size: 38px;
  }

  .stage-card > p:not(.stage-sub) {
    font-size: 32px;
  }

  .stage-card li {
    font-size: 20px;
  }

  .result-label {
    font-size: 24px;
  }

  .result-detail {
    font-size: 24px;
  }

  .result-note {
    font-size: 20px;
  }

  .method-card h3 {
    font-size: 38px;
  }

  .method-card p {
    font-size: 32px;
  }

  .about-copy h2 {
    font-size: 34px;
  }

  .about-lead {
    font-size: 34px;
  }

  .about-copy > p:not(.about-lead) {
    font-size: 32px;
  }

  .value-list p {
    font-size: 22px;
  }

  .faculty-head h3 {
    font-size: 26px;
  }

  .faculty-head > p:not(.mini-label) {
    font-size: 22px;
  }

  .faculty-list span {
    font-size: 15px;
  }

  .curriculum-head > p:not(.mini-label) {
    font-size: 24px;
  }

  .curriculum-col h4 {
    font-size: 26px;
  }

  .curriculum-col p {
    font-size: 22px;
  }

  .curriculum-note {
    font-size: 20px;
  }

  .contact-copy > p:not(.section-index) {
    font-size: 32px;
  }

  .contact-phone strong {
    font-size: 30px;
  }

  .contact-row > span {
    font-size: 20px;
  }

  .contact-row a,
  .contact-row p {
    font-size: 26px;
  }

  .contact-note {
    font-size: 18px;
  }

  .footer-brand p {
    font-size: 16px;
  }

  .footer-nav a {
    font-size: 16px;
  }

  .footer-bottom {
    font-size: 13px;
  }

  .oi-step small {
    font-size: 16px;
  }

  .oi-note {
    font-size: 14px;
  }
}


@media (max-width: 340px) {
  .eyebrow {
    white-space: normal;
    font-size: 13px;
    line-height: 1.5;
  }
}


/* --------------------------------------------------------------------------
   Final 67% type scale
   -------------------------------------------------------------------------- */

.hero h1 {
  font-size: clamp(2.1rem, 3.4vw, 3.2rem);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.7rem);
}

.hero-lead {
  font-size: 31px;
  line-height: 1.5;
}

.section-intro {
  font-size: 24px;
  line-height: 1.65;
}

.hero-points li {
  font-size: 13px;
}

.metric span,
.metric-note {
  font-size: 12px;
}

.eyebrow {
  font-size: 10.5px;
}

.learning-head h2 {
  font-size: 18px;
}

.mini-label {
  font-size: 9px;
}

.status-chip,
.step-dot {
  font-size: 8px;
}

.step-top h3 {
  font-size: 16px;
}

.step-top span {
  font-size: 9.5px;
}

.step-body p {
  font-size: 13.5px;
}

.learning-foot {
  font-size: 11px;
}

.card-index {
  font-size: 9px;
}

.card-copy h3 {
  font-size: 27px;
}

.card-ai .card-copy h3 {
  font-size: 31px;
}

.card-oi .card-copy h3 {
  font-size: clamp(1.9rem, 2.6vw, 2.3rem);
}

.card-copy p {
  font-size: 24px;
  line-height: 1.6;
}

.tag-list li {
  font-size: 9.5px;
}

.stage-no {
  font-size: 8px;
}

.stage-sub {
  font-size: 11px;
}

.stage-card h3 {
  font-size: 27px;
}

.stage-card > p:not(.stage-sub) {
  font-size: 23px;
  line-height: 1.65;
}

.stage-card li {
  font-size: 15px;
}

.result-kicker {
  font-size: 9.5px;
}

.result-label {
  font-size: 19px;
}

.result-detail {
  font-size: 19px;
  line-height: 1.55;
}

.result-note {
  font-size: 16px;
}

.method-card h3 {
  font-size: 27px;
}

.method-card p {
  font-size: 23px;
  line-height: 1.6;
}

.method-en {
  font-size: 8px;
}

.method-quote p {
  font-size: clamp(1.2rem, 2.5vw, 2.2rem);
}

.method-quote footer {
  font-size: 9.5px;
}

.about-statement {
  font-size: clamp(1.3rem, 2.1vw, 1.95rem);
}

.about-copy h2 {
  font-size: 31px;
}

.about-lead {
  font-size: 26px;
  line-height: 1.6;
}

.about-copy > p:not(.about-lead) {
  font-size: 24px;
  line-height: 1.65;
}

.value-list strong {
  font-size: 19px;
}

.value-list p {
  font-size: 16px;
}

.faculty-head h3 {
  font-size: 19px;
}

.faculty-head > p:not(.mini-label) {
  font-size: 16px;
}

.faculty-list span {
  font-size: 11px;
}

.curriculum-head h3 {
  font-size: 20px;
}

.curriculum-head > p:not(.mini-label) {
  font-size: 17.5px;
}

.curriculum-col h4 {
  font-size: 19px;
}

.curriculum-col p {
  font-size: 16px;
}

.curriculum-note {
  font-size: 15px;
}

.oi-step > span {
  font-size: 11px;
}

.oi-step strong {
  font-size: 15px;
}

.oi-step small {
  font-size: 12px;
}

.oi-note {
  font-size: 11px;
}

.contact h2 {
  font-size: clamp(1.55rem, 2.7vw, 2.5rem);
}

.contact-copy > p:not(.section-index) {
  font-size: 24px;
}

.contact-phone span {
  font-size: 11px;
}

.contact-phone strong {
  font-size: 21px;
}

.contact-row > span {
  font-size: 15px;
}

.contact-row a,
.contact-row p {
  font-size: 20px;
  line-height: 1.55;
}

.contact-note {
  font-size: 13px;
}

.footer-brand p {
  font-size: 12px;
}

.footer-nav > div > p {
  font-size: 8px;
}

.footer-nav a {
  font-size: 12px;
}

.footer-bottom {
  font-size: 9.5px;
}

.btn {
  font-size: 13px;
}

.btn-lg {
  font-size: 15px;
}

.text-link {
  font-size: 13px;
}

.error-copy h1 {
  font-size: clamp(2rem, 3.8vw, 3.35rem);
}

.error-lead {
  font-size: 15px;
}

.error-code {
  font-size: 75px;
}

@media (max-width: 680px) {
  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.7rem);
  }

  .section-title {
    font-size: clamp(1.6rem, 6.8vw, 2.35rem);
  }

  .hero-lead {
    font-size: 26px;
  }

  .section-intro {
    font-size: 21px;
  }

  .hero-points li {
    font-size: 12px;
  }

  .metric span,
  .metric-note {
    font-size: 11px;
  }

  .card-copy h3 {
    font-size: 24px;
  }

  .card-ai .card-copy h3 {
    font-size: 27px;
  }

  .card-copy p {
    font-size: 23px;
  }

  .stage-card h3 {
    font-size: 26px;
  }

  .stage-card > p:not(.stage-sub) {
    font-size: 21px;
  }

  .stage-card li {
    font-size: 13.5px;
  }

  .result-label {
    font-size: 16px;
  }

  .result-detail {
    font-size: 16px;
  }

  .result-note {
    font-size: 13.5px;
  }

  .method-card h3 {
    font-size: 26px;
  }

  .method-card p {
    font-size: 21px;
  }

  .method-quote p {
    font-size: 24px;
  }

  .about-copy h2 {
    font-size: 23px;
  }

  .about-lead {
    font-size: 23px;
  }

  .about-copy > p:not(.about-lead) {
    font-size: 21px;
  }

  .value-list p {
    font-size: 15px;
  }

  .faculty-head h3 {
    font-size: 17.5px;
  }

  .faculty-head > p:not(.mini-label) {
    font-size: 15px;
  }

  .faculty-list span {
    font-size: 10px;
  }

  .curriculum-head > p:not(.mini-label) {
    font-size: 16px;
  }

  .curriculum-col h4 {
    font-size: 17.5px;
  }

  .curriculum-col p {
    font-size: 15px;
  }

  .curriculum-note {
    font-size: 13.5px;
  }

  .contact h2 {
    font-size: 25px;
  }

  .contact-copy > p:not(.section-index) {
    font-size: 21px;
  }

  .contact-phone strong {
    font-size: 20px;
  }

  .contact-row > span {
    font-size: 13.5px;
  }

  .contact-row a,
  .contact-row p {
    font-size: 17.5px;
  }

  .contact-note {
    font-size: 12px;
  }

  .footer-brand p {
    font-size: 11px;
  }

  .footer-nav a {
    font-size: 11px;
  }

  .footer-bottom {
    font-size: 9px;
  }

  .oi-step small {
    font-size: 11px;
  }

  .oi-note {
    font-size: 9.5px;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .about-copy h2 {
    font-size: 23px;
  }

  .contact h2 {
    font-size: 24px;
  }
}
