/* ============================================================
   LOCAL FONTS
   ============================================================ */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("assets/SpaceGrotesk-VariableFont_wght.woff2") format("woff2");
}

@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/Lora-VariableFont_wght.woff2") format("woff2");
}

@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/Lora-Italic-VariableFont_wght.woff2") format("woff2");
}

@font-face {
  font-family: 'Ubuntu Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/UbuntuMono-Regular.woff2") format("woff2");
}

@font-face {
  font-family: 'Ubuntu Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/UbuntuMono-Bold.woff2") format("woff2");
}

@font-face {
  font-family: 'Ubuntu Mono';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/UbuntuMono-Italic.woff2") format("woff2");
}

@font-face {
  font-family: 'Ubuntu Mono';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("assets/UbuntuMono-BoldItalic.woff2") format("woff2");
}

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg:          #04040a;
  --bg-1:        #06060f;
  --neon-pink:   #ff1f8e;
  --neon-cyan:   #00e5ff;
  --neon-orange: #ff7a00;
  --neon-purple: #9b5de5;
  --neon-lime:   #c8f400;

  --glow-pink:   rgba(255, 31, 142, 0.28);
  --glow-cyan:   rgba(0, 229, 255, 0.22);
  --glow-orange: rgba(255, 122, 0, 0.22);

  --text:        #f0f0f2;
  --text-dim:    #7a7a8a;
  --text-muted:  #42424e;

  --border:   rgba(255, 255, 255, 0.07);
  --surface:  rgba(255, 255, 255, 0.035);

  --font-sans:  'Space Grotesk', sans-serif;
  --font-mono:  'Ubuntu Mono', monospace;
  --font-serif: 'Lora', serif;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
}

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

/* ============================================================
   BACKGROUND SCENE
   ============================================================ */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg);
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  animation: orb-drift 24s ease-in-out infinite alternate;
}
.orb-1 {
  width: 700px; height: 700px;
  left: -10%; top: -10%;
  background: radial-gradient(circle, rgba(100, 30, 140, 0.5), transparent 65%);
  animation-duration: 28s;
}
.orb-2 {
  width: 500px; height: 500px;
  right: -8%; top: 5%;
  background: radial-gradient(circle, rgba(255, 31, 142, 0.28), transparent 60%);
  animation-duration: 20s;
  animation-delay: -9s;
}
.orb-3 {
  width: 600px; height: 600px;
  left: 30%; top: 55%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.17), transparent 60%);
  animation-duration: 32s;
  animation-delay: -15s;
}

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(50px, -40px) scale(1.12); }
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 31, 142, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 100%);
}

.vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, transparent, rgba(4,4,10,.6) 100%),
    linear-gradient(rgba(4,4,10,.5), transparent 18%),
    linear-gradient(to top, rgba(4,4,10,.7), transparent 22%);
}

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

@keyframes twinkle {
  0%, 100% { opacity: .25; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.5); }
}

/* ============================================================
   LOADING SCREEN
   ============================================================ */
#loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .5rem;
  transition: opacity 1.2s ease;
}
#loading.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loading-word {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(24px) skewX(-6deg);
  animation: word-in 0.7s cubic-bezier(0.22, 1, .36, 1) forwards;
  display: block;
  text-align: center;
}
.loading-word:nth-child(1) { animation-delay: 0.2s; }
.loading-word:nth-child(2) { animation-delay: 0.4s; }
.loading-word:nth-child(3) { animation-delay: 0.6s; }
.loading-word:nth-child(4) { animation-delay: 0.8s; }

@keyframes word-in {
  to { opacity: 1; transform: translateY(0) skewX(0deg); }
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  /* Only show custom cursor on devices that support hover */
  * { cursor: none !important; }
  
  #cursor {
    position: fixed;
    top: 0; left: 0;
    z-index: 99999;
    width: 20px; height: 20px;
    pointer-events: none;
    transform: translate(-50%, -50%);
  }
  .cursor-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid var(--neon-pink);
    box-shadow: 0 0 10px var(--glow-pink);
    transition: all .15s;
  }
  .cursor-dot {
    position: absolute;
    width: 4px; height: 4px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--neon-pink);
    box-shadow: 0 0 8px var(--neon-pink);
  }
  #cursor.hovered .cursor-ring {
    transform: scale(2.2);
    border-color: rgba(255, 31, 142, .5);
    background: rgba(255, 31, 142, .05);
  }
}

/* Hide cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  #cursor {
    display: none !important;
  }
  * {
    cursor: auto !important;
  }
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(4, 4, 10, .9);
  backdrop-filter: blur(24px) saturate(1.5);
  border-color: rgba(255, 31, 142, .12);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.35rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.nav-logo::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--neon-pink);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-pink);
  animation: pulse 2s ease-in-out infinite;
}
.nav-logo:hover { color: var(--text); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.7); }
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-mono);
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -.3rem; left: 0; right: 0;
  height: 1px;
  background: var(--neon-pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--text-dim);
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 2.5rem 2rem;
  gap: 1.2rem;
  border-top: 1px solid rgba(255, 31, 142, .1);
  background: rgba(4, 4, 10, .96);
  backdrop-filter: blur(24px);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open {
  display: flex;
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu a {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-family: var(--font-mono);
  transition: color .2s, transform .2s;
  padding: 0.5rem 0;
  min-height: 48px;
  align-items: center;
}
.mobile-menu a:hover { color: var(--text); }
.mobile-menu a:active {
  transform: scale(0.98);
  color: var(--neon-pink);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

section {
  padding: 9rem 0;
  scroll-margin-top: 5rem;
}

section.alt-bg { background: var(--bg-1); }

/* ============================================================
   POLY LABEL
   ============================================================ */
.poly-label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .3rem .9rem .3rem .6rem;
  background: rgba(255, 31, 142, .08);
  border: 1px solid rgba(255, 31, 142, .25);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--neon-pink);
  margin-bottom: 1.75rem;
}
.poly-label .diamond {
  width: 6px; height: 6px;
  background: var(--neon-pink);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--neon-pink);
  flex-shrink: 0;
  display: inline-block;
}

.poly-label.cyan {
  color: var(--neon-cyan);
  background: rgba(0, 229, 255, .08);
  border-color: rgba(0, 229, 255, .25);
}
.poly-label.cyan .diamond {
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
}

.poly-label.orange {
  color: var(--neon-orange);
  background: rgba(255, 122, 0, .08);
  border-color: rgba(255, 122, 0, .25);
}
.poly-label.orange .diamond {
  background: var(--neon-orange);
  box-shadow: 0 0 8px var(--neon-orange);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.display-xl {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: .95;
  color: var(--text);
}
.display-lg {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  margin-bottom: .75rem;
}
.display-md {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: .75rem;
}

.body-text {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.85;
  max-width: 56ch;
}
.body-text + .body-text { margin-top: 1rem; }

.neon-rule {
  height: 1px;
  background: linear-gradient(to right, var(--neon-pink), transparent);
  margin: 2.5rem 0;
  opacity: .5;
}

/* ============================================================
   HERO
   ============================================================ */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.hero-photo {
  position: absolute;
  inset: 0;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.15) brightness(.68);
  max-width: 100%;
}
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(4,4,10,.55) 0%, transparent 28%, rgba(4,4,10,.2) 65%, rgba(4,4,10,.98) 100%),
    linear-gradient(to right, rgba(4,4,10,.35) 0%, transparent 60%);
}

.hero-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7rem 3rem 5rem;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(240, 240, 242, .45);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--neon-pink);
  box-shadow: 0 0 8px var(--neon-pink);
}

.hero-name {
  display: flex;
  flex-direction: column;
  line-height: .88;
  letter-spacing: -0.045em;
  margin-bottom: 2.5rem;
  user-select: none;
}
.hero-name-1 {
  font-size: clamp(5rem, 20vw, 18rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 80px rgba(255,31,142,.35), 0 0 40px rgba(0,229,255,.15);
  display: block;
}
.hero-name-2 {
  font-size: clamp(5rem, 20vw, 18rem);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, .55);
  display: block;
}

.hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 31, 142, .2);
  padding-top: 1.75rem;
}

.hero-roles {
  display: flex;
  flex-wrap: wrap;
}
.hero-role {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(240, 240, 242, .5);
  padding: 0 1.2rem;
  border-right: 1px solid rgba(255, 255, 255, .12);
}
.hero-role:first-child { padding-left: 0; }
.hero-role:last-child  { border-right: none; }

.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

.btn-neon {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  background: var(--neon-pink);
  color: #fff;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 3px;
  border: none;
  box-shadow: 0 0 24px var(--glow-pink);
  transition: opacity .2s, box-shadow .2s, transform .2s;
  font-family: var(--font-sans);
}
.btn-neon:hover {
  opacity: .88;
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--glow-pink);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  border: 1px solid rgba(0, 229, 255, .35);
  color: var(--neon-cyan);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 3px;
  background: none;
  font-family: var(--font-sans);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.btn-outline:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 24px var(--glow-cyan);
  transform: translateY(-2px);
}

.scroll-cue {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-mono);
  font-size: .55rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(240, 240, 242, .3);
  animation: cue-bob 3s ease-in-out infinite;
}
.scroll-cue-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(255, 31, 142, .5));
}
@keyframes cue-bob {
  0%, 100% { opacity: .4; transform: translateX(-50%) translateY(0); }
  50%       { opacity: .8; transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 0;
  align-items: stretch;
  min-height: 60vh;
}
.about-left {
  padding: 4rem 3.5rem 4rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
}
.about-right {
  padding: 4rem 0 4rem 3.5rem;
}
.about-big-num {
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--neon-pink);
  text-shadow: 0 0 60px var(--glow-pink);
  display: block;
  margin-bottom: .5rem;
}
.about-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  max-width: 100%;
}
.about-photo-wrap::before {
  content: '';
  position: absolute;
  inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, transparent 60%, rgba(4,4,10,.9) 100%),
    linear-gradient(to right, transparent 80%, rgba(255,31,142,.12) 100%);
}
.about-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(1.1);
  max-width: 100%;
}
.about-photo-caption {
  position: absolute;
  bottom: 1rem; left: 1rem; right: 1rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(240, 240, 242, .5);
}

.stat-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}
.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .85rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text-dim);
  background: var(--surface);
  transition: border-color .2s, color .2s, box-shadow .2s;
}
.stat-pill svg { color: var(--neon-pink); flex-shrink: 0; }
.stat-pill:nth-child(even) svg { color: var(--neon-cyan); }
.stat-pill:hover {
  border-color: rgba(255, 31, 142, .4);
  color: var(--text);
  box-shadow: 0 0 16px var(--glow-pink);
}

/* ============================================================
   HOMESCHOOL
   ============================================================ */
.hs-philosophy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 3.5rem;
}
.hs-philo-cell {
  background: var(--surface);
  padding: 2rem 1.5rem;
  transition: background .2s;
}
.hs-philo-cell:hover { background: rgba(255,255,255,.04); }
.hs-philo-num {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--neon-pink);
  text-shadow: 0 0 30px var(--glow-pink);
  margin-bottom: .5rem;
}
.hs-philo-cell:nth-child(2) .hs-philo-num { color: var(--neon-cyan);   text-shadow: 0 0 30px var(--glow-cyan); }
.hs-philo-cell:nth-child(3) .hs-philo-num { color: var(--neon-orange); text-shadow: 0 0 30px var(--glow-orange); }
.hs-philo-title { font-size: .78rem; font-weight: 700; color: var(--text); letter-spacing: .04em; margin-bottom: .4rem; }
.hs-philo-desc  { font-size: .82rem; color: var(--text-dim); line-height: 1.65; }

/* IELTS */
.ielts-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.ielts-mega {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.ielts-mega-num {
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--neon-pink);
  text-shadow: 0 0 60px var(--glow-pink), 0 0 120px rgba(255,31,142,.2);
}
.ielts-mega-unit {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: -.02em;
}
.ielts-bands { display: flex; flex-direction: column; gap: 1.25rem; }
.ielts-band {
  display: grid;
  grid-template-columns: 90px 1fr 3ch;
  align-items: center;
  gap: 1rem;
}
.ielts-band-label {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.ielts-track {
  height: 6px;
  background: rgba(255,255,255,.07);
  border-radius: 3px;
  overflow: hidden;
}
.ielts-fill {
  height: 100%;
  background: linear-gradient(to right, var(--neon-pink), var(--neon-cyan));
  border-radius: 3px;
  box-shadow: 0 0 10px var(--glow-pink);
  width: 0;
  transition: width 1.4s cubic-bezier(0.22,1,.36,1);
}
.ielts-score-num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  text-align: right;
}
.ielts-note-box {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--neon-pink);
  background: rgba(255,31,142,.05);
}
.ielts-note-box p { font-size: .875rem; color: var(--text-dim); line-height: 1.75; font-style: italic; font-family: var(--font-serif); }

/* Best Result */
.best-result-wrap { margin-top: 1rem; }
.best-result-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.best-result-photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
  aspect-ratio: 4/3;
  background: rgba(255,255,255,.03);
}
.best-result-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.best-result-mega {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.best-result-num {
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--neon-cyan);
  text-shadow: 0 0 50px var(--glow-cyan), 0 0 100px rgba(0,255,200,.15);
}
.best-result-sub {
  font-size: clamp(1.2rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: -.02em;
}
.best-result-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.best-result-stat {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 1rem;
  padding: .75rem 1rem;
  background: rgba(0,255,200,.04);
  border-left: 2px solid var(--neon-cyan);
  border-radius: 0 6px 6px 0;
}
.best-result-stat-label {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.best-result-stat-val {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--neon-cyan);
}
.best-result-note-box {
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--neon-cyan);
  background: rgba(0,255,200,.05);
}
.best-result-note-box p { font-size: .875rem; color: var(--text-dim); line-height: 1.75; font-style: italic; font-family: var(--font-serif); }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline-wrap {
  position: relative;
  padding-left: 3rem;
}
.timeline-spine {
  position: absolute;
  left: .6rem; top: .4rem; bottom: .4rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--neon-pink) 0%, var(--neon-cyan) 50%, transparent 100%);
  opacity: .3;
}
.tl-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
  position: relative;
  align-items: start;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -3rem;
  top: .2rem;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255,31,142,.5);
  background: rgba(255,31,142,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-pink);
  transition: all .25s;
}
.tl-item:hover .tl-dot {
  background: rgba(255,31,142,.28);
  border-color: var(--neon-pink);
  box-shadow: 0 0 16px var(--glow-pink);
}
.tl-year {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--neon-pink);
  padding-top: .3rem;
}
.tl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: background .2s, border-color .2s, transform .25s;
}
.tl-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--neon-pink), var(--neon-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}
.tl-item:hover .tl-card {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,31,142,.3);
  transform: translateX(6px);
}
.tl-item:hover .tl-card::before { transform: scaleX(1); }
.tl-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  background: rgba(0,229,255,.08);
  border: 1px solid rgba(0,229,255,.2);
  border-radius: 2px;
  padding: .12rem .5rem;
  margin-bottom: .5rem;
}
.tl-card h3  { font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: .35rem; }
.tl-card p   { font-size: .875rem; color: var(--text-dim); line-height: 1.7; }

/* ============================================================
   BENTO GRID (Projects / New News)
   ============================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.bento-cell {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  overflow: hidden;
  transition: border-color .25s, transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.bento-cell::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--neon-pink), var(--neon-cyan));
  opacity: 0;
  transition: opacity .3s;
}
.bento-cell:hover { border-color: rgba(255,31,142,.3); transform: translateY(-4px); box-shadow: 0 12px 40px var(--glow-pink); }
.bento-cell:hover::after { opacity: 1; }

.bento-cell.span-2 { grid-column: span 2; }
.bento-cell.tall   { min-height: 280px; justify-content: space-between; }

.bento-cell.cyan-accent:hover { box-shadow: 0 12px 40px var(--glow-cyan); border-color: rgba(0,229,255,.3); }
.bento-cell.cyan-accent::after { background: linear-gradient(to right, var(--neon-cyan), transparent); }
.bento-cell.orange-accent:hover { box-shadow: 0 12px 40px var(--glow-orange); border-color: rgba(255,122,0,.3); }
.bento-cell.orange-accent::after { background: linear-gradient(to right, var(--neon-orange), transparent); }

.bento-bg-num {
  position: absolute;
  bottom: -.5rem; right: 1rem;
  font-size: 8rem;
  font-weight: 800;
  color: rgba(255,31,142,.04);
  line-height: 1;
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
}

.bento-icon { margin-bottom: 1rem; display: flex; color: var(--neon-pink); }
.bento-cell.cyan-accent   .bento-icon { color: var(--neon-cyan); }
.bento-cell.orange-accent .bento-icon { color: var(--neon-orange); }

.bento-label {
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--neon-pink);
  margin-bottom: .6rem;
}
.bento-cell.cyan-accent   .bento-label { color: var(--neon-cyan); }
.bento-cell.orange-accent .bento-label { color: var(--neon-orange); }

.bento-h { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: .4rem; }
.bento-p { font-size: .875rem; color: var(--text-dim); line-height: 1.7; }

.bento-big {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: .5rem;
}
.bento-big.orange { color: var(--neon-orange); text-shadow: 0 0 40px var(--glow-orange); }
.bento-big .unit  { font-size: .4em; color: var(--text-muted); font-weight: 400; }

.pill-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.pill {
  padding: .24rem .75rem;
  border-radius: 2px;
  border: 1px solid rgba(255,31,142,.25);
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(255,31,142,.8);
  transition: border-color .2s, box-shadow .2s;
}
.pill:hover { border-color: var(--neon-pink); box-shadow: 0 0 12px var(--glow-pink); }

.stack-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .875rem;
  color: var(--text-dim);
  margin-bottom: .5rem;
}
.stack-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--neon-cyan);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--neon-cyan);
}

.topic-tag {
  display: inline-block;
  padding: .25rem .7rem;
  border: 1px solid rgba(0,229,255,.2);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(0,229,255,.7);
  background: rgba(0,229,255,.04);
}

.newnews-mega-row {
  display: flex;
  gap: 2.5rem;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.newnews-mega { display: flex; flex-direction: column; }
.newnews-mega-n {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--neon-cyan);
  text-shadow: 0 0 40px var(--glow-cyan);
}
.newnews-mega-l {
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: .25rem;
}

/* ============================================================
   DEBATE
   ============================================================ */
.award-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 2.5rem;
  background: linear-gradient(120deg, rgba(255,31,142,.1) 0%, rgba(0,229,255,.04) 100%);
  border: 1px solid rgba(255,31,142,.4);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
}
.award-banner::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, var(--neon-pink), var(--neon-cyan));
}
.award-icon-box {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,31,142,.15);
  border: 1px solid rgba(255,31,142,.4);
  border-radius: 4px;
  color: var(--neon-pink);
  flex-shrink: 0;
}
.award-tag   { font-family: var(--font-mono); font-size: .6rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--neon-pink); margin-bottom: .4rem; }
.award-title { font-size: 1.35rem; font-weight: 700; color: var(--text); margin-bottom: .3rem; }
.award-sub   { font-size: .875rem; color: var(--text-dim); }

.debate-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--border);
}
.pillar {
  background: var(--surface);
  padding: 2rem 1.75rem;
  transition: background .2s;
  position: relative;
}
.pillar::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--neon-pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}
.pillar:nth-child(2)::before { background: var(--neon-cyan); }
.pillar:nth-child(3)::before { background: var(--neon-orange); }
.pillar:hover { background: rgba(255,255,255,.04); }
.pillar:hover::before { transform: scaleX(1); }
.pillar-icon { display: flex; margin-bottom: 1rem; color: var(--neon-pink); }
.pillar:nth-child(2) .pillar-icon { color: var(--neon-cyan); }
.pillar:nth-child(3) .pillar-icon { color: var(--neon-orange); }
.pillar h3 { font-family: var(--font-mono); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-bottom: .5rem; }
.pillar p  { font-size: .875rem; color: var(--text-dim); line-height: 1.7; }

.skills-strip { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 3rem; }
.skill-chip {
  padding: .28rem .85rem;
  border: 1px solid rgba(0,229,255,.2);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--neon-cyan);
  background: rgba(0,229,255,.05);
  transition: border-color .2s, box-shadow .2s;
}
.skill-chip:hover { border-color: var(--neon-cyan); box-shadow: 0 0 14px var(--glow-cyan); }

/* ============================================================
   FENCING
   ============================================================ */
.fencing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.fencing-data {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.fencing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.75rem;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.fencing-row:last-child { border-bottom: none; }
.fencing-row:hover { background: rgba(255,255,255,.04); }
.fencing-row-label {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.fencing-row-label svg { color: var(--neon-pink); }
.fencing-row:nth-child(2) .fencing-row-label svg { color: var(--neon-cyan); }
.fencing-row:nth-child(3) .fencing-row-label svg { color: var(--neon-orange); }
.fencing-row-val { font-size: 1rem; font-weight: 700; color: var(--text); }

.fencing-quote-box {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid rgba(255,31,142,.2);
  border-radius: 4px;
  background: rgba(255,31,142,.04);
  position: relative;
}
.fencing-quote-box::before {
  content: '\201C';
  position: absolute;
  top: -.8rem; left: 1.5rem;
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--neon-pink);
  opacity: .25;
  line-height: 1;
}
.fencing-quote-box blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ============================================================
   CAMP
   ============================================================ */
.camp-meta-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.camp-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .85rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--text-dim);
  background: var(--surface);
  transition: border-color .2s, color .2s;
}
.camp-badge svg { color: var(--neon-pink); }
.camp-badge:hover { border-color: rgba(255,31,142,.4); color: var(--text); }

.camp-photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.camp-photo-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
  filter: saturate(.9) brightness(.85);
  transition: filter .3s, transform .35s, border-color .3s, box-shadow .3s;
  display: block;
  max-width: 100%;
  height: auto;
}
.camp-photo-item:hover img {
  filter: saturate(1.15) brightness(1);
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(255,31,142,.5);
  box-shadow: 0 16px 48px var(--glow-pink);
}
.camp-photo-caption {
  margin-top: .75rem;
  font-family: var(--font-mono);
  font-size: .62rem;
  color: var(--text-muted);
  letter-spacing: .06em;
  line-height: 1.5;
}

.camp-text-logo-row {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.camp-title-logo-row {
  position: relative;
  margin-bottom: 2rem;
}

.camp-logo {
  position: absolute;
  right: 100px;
  top: 0;
  max-width: 350px;
  height: auto;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.contact-links-list { display: flex; flex-direction: column; gap: .5rem; margin-top: 2rem; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-dim);
  font-size: .9rem;
  font-weight: 500;
  transition: border-color .2s, color .2s, background .2s, transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.contact-item::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--neon-pink);
  transform: scaleY(0);
  transition: transform .25s;
}
.contact-item:hover::before { transform: scaleY(1); }
.contact-item:hover {
  border-color: rgba(255,31,142,.35);
  color: var(--text);
  background: rgba(255,31,142,.04);
  transform: translateX(4px);
  box-shadow: 0 4px 24px var(--glow-pink);
}
.contact-item.wechat-item::before { background: #07c160; }
.contact-item.wechat-item { overflow: visible; }
.contact-item.wechat-item .contact-icon-box img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1) sepia(1) hue-rotate(240deg) saturate(30);
}
.contact-item.wechat-item:hover {
  border-color: rgba(7,193,96,.35);
  background: rgba(7,193,96,.04);
  box-shadow: 0 4px 24px rgba(7,193,96,.2);
}

.contact-icon-box {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  flex-shrink: 0;
  color: var(--neon-pink);
}
.contact-item.wechat-item .contact-icon-box { color: #07c160; }

.contact-item-text { display: flex; flex-direction: column; }
.contact-item-label {
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-item-val { font-size: .9rem; font-weight: 600; }

/* WeChat QR Popup */
.wechat-qr-popup {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(.95);
  background: rgba(8,8,16,.97);
  border: 1px solid rgba(7,193,96,.35);
  border-radius: 8px;
  padding: 1.25rem;
  width: 190px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 200;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0,0,0,.7);
}
.wechat-qr-popup::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%; transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: rgba(7,193,96,.35);
}
.contact-item.wechat-item:hover .wechat-qr-popup {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}
.contact-item.wechat-item.qr-open .wechat-qr-popup {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
.wechat-qr-inner { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.wechat-qr-label {
  font-family: var(--font-mono); font-size: .62rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #07c160;
}
.wechat-qr-img-box {
  width: 140px; height: 140px;
  border-radius: 6px; overflow: hidden;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.wechat-qr-img-box img { width: 100%; height: 100%; object-fit: contain; }
.wechat-id { font-family: var(--font-mono); font-size: .8rem; font-weight: 700; color: var(--text); }

/* Contact right */
.contact-right { display: flex; flex-direction: column; justify-content: center; }
.contact-big-text {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: .92;
  color: var(--text);
}
.contact-big-text .pop { color: var(--neon-pink); text-shadow: 0 0 40px var(--glow-pink); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
}
.site-footer span {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--text-muted);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(4px);
  transition:
    opacity .8s cubic-bezier(0.22,1,.36,1),
    transform .8s cubic-bezier(0.22,1,.36,1),
    filter .8s cubic-bezier(0.22,1,.36,1);
}
.reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ─── Large tablets & landscape (max-width: 1100px) ───────── */
@media (max-width: 1100px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .about-split { grid-template-columns: 1fr; }
  .about-left  { border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 3rem; }
  .about-right { padding: 2rem 0 0; }
  .ielts-wrap  { grid-template-columns: 1fr; gap: 2.5rem; }
  .best-result-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .best-result-photo { max-height: 60vh; }
  .fencing-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid   { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-right  { display: none; }
  .debate-pillars { grid-template-columns: 1fr; gap: 0; }
  .hs-philosophy  { grid-template-columns: 1fr; gap: 0; }
  .camp-photo-row { grid-template-columns: 1fr; }
  .bento-grid     { grid-template-columns: 1fr; }
  .bento-cell.span-2 { grid-column: auto; }
  .hero-body  { padding: 6rem 1.5rem 4rem; }
}

/* ─── Tablets (max-width: 992px) ──────────────────────────── */
@media (max-width: 992px) {
  .wrap {
    padding: 0 2rem;
  }
  
  .hero-name-1, .hero-name-2 {
    font-size: clamp(3.5rem, 14vw, 8rem);
  }
  
  .hero-roles {
    gap: 0.5rem;
  }
  
  .hero-role {
    font-size: 0.6rem;
    padding: 0 0.8rem;
  }
  
  .camp-logo {
    position: relative;
    right: auto;
    top: auto;
    max-width: 250px;
    margin-top: 0.5rem;
    display: block;
  }
  
  .camp-title-logo-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .about-big-num {
    font-size: clamp(3.5rem, 10vw, 6rem);
  }
  
  .ielts-mega-num {
    font-size: clamp(3rem, 10vw, 6rem);
  }
  
  .display-lg {
    font-size: clamp(1.75rem, 4.5vw, 3rem);
  }
  
  .bento-cell.tall {
    min-height: auto;
  }
}

/* ─── Large phones (max-width: 768px) ─────────────────────── */
@media (max-width: 768px) {
  .nav-inner {
    padding: 1rem 1.5rem;
  }
  
  .mobile-menu {
    padding: 1rem 1.5rem 1.5rem;
  }
  
  section {
    padding: 5rem 0;
    scroll-margin-top: 4rem;
  }
  
  .wrap {
    padding: 0 1.25rem;
  }
  
  .hero-body {
    padding: 5rem 1.25rem 3rem;
  }
  
  .hero-eyebrow {
    font-size: 0.55rem;
    margin-bottom: 1rem;
  }
  
  .hero-name-1, .hero-name-2 {
    font-size: clamp(2.8rem, 13vw, 5rem);
    margin-bottom: 1.5rem;
  }
  
  .hero-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-top: 1.25rem;
  }
  
  .hero-actions {
    width: 100%;
  }
  
  .btn-neon, .btn-outline {
    flex: 1;
    justify-content: center;
    padding: 0.8rem 1.2rem;
    font-size: 0.7rem;
  }
  
  .scroll-cue {
    bottom: 1rem;
  }
  
  .about-split {
    min-height: auto;
  }
  
  .about-left, .about-right {
    padding: 2rem 0;
  }
  
  .about-big-num {
    font-size: clamp(3rem, 9vw, 5rem);
    margin-bottom: 0.75rem;
  }
  
  .stat-pill-row {
    gap: 0.4rem;
  }
  
  .stat-pill {
    font-size: 0.65rem;
    padding: 0.3rem 0.7rem;
  }
  
  .hs-philo-cell {
    padding: 1.5rem 1.25rem;
  }
  
  .hs-philo-num {
    font-size: 2.5rem;
  }
  
  .ielts-wrap {
    gap: 2rem;
  }
  
  .ielts-band {
    grid-template-columns: 80px 1fr 3ch;
    gap: 0.75rem;
  }
  
  .timeline-wrap {
    padding-left: 2.5rem;
  }
  
  .tl-item {
    grid-template-columns: 70px 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .tl-dot {
    left: -2.5rem;
    width: 20px;
    height: 20px;
  }
  
  .tl-year {
    font-size: 0.6rem;
    padding-top: 0.2rem;
  }
  
  .tl-card {
    padding: 1rem 1.25rem;
  }
  
  .tl-card h3 {
    font-size: 0.9rem;
  }
  
  .tl-card p {
    font-size: 0.825rem;
  }
  
  .bento-cell {
    padding: 1.5rem;
  }
  
  .bento-icon {
    margin-bottom: 0.75rem;
  }
  
  .bento-big {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }
  
  .newnews-mega-row {
    gap: 1.5rem;
  }
  
  .newnews-mega-n {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }
  
  .award-banner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem;
  }
  
  .award-icon-box {
    width: 56px;
    height: 56px;
  }
  
  .award-title {
    font-size: 1.2rem;
  }
  
  .debate-pillars, .hs-philosophy {
    gap: 0;
  }
  
  .pillar {
    padding: 1.5rem 1.25rem;
  }
  
  .fencing-layout {
    gap: 2rem;
  }
  
  .fencing-row {
    padding: 1.2rem 1.5rem;
  }
  
  .fencing-row-label {
    font-size: 0.62rem;
  }
  
  .camp-logo {
    max-width: 200px;
  }
  
  .camp-meta-row {
    gap: 0.4rem;
  }
  
  .camp-badge {
    font-size: 0.6rem;
    padding: 0.25rem 0.7rem;
  }
  
  .camp-photo-item img {
    aspect-ratio: 16/9;
  }
  
  .contact-big-text {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
  }
}

/* ─── Small phones (max-width: 576px) ─────────────────────── */
@media (max-width: 576px) {
  .nav-inner {
    padding: 0.9rem 1.25rem;
  }
  
  .nav-logo {
    font-size: 0.7rem;
  }
  
  .hamburger span {
    width: 18px;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .wrap {
    padding: 0 1rem;
  }
  
  .hero-body {
    padding: 4rem 1rem 2.5rem;
  }
  
  .hero-eyebrow::before {
    width: 24px;
  }
  
  .hero-name-1, .hero-name-2 {
    font-size: clamp(2.2rem, 12vw, 4rem);
    margin-bottom: 1.25rem;
  }
  
  .hero-role {
    font-size: 0.55rem;
    padding: 0 0.6rem;
    border-right-width: 1px;
  }
  
  .btn-neon, .btn-outline {
    padding: 0.75rem 1rem;
    font-size: 0.65rem;
  }
  
  .poly-label {
    font-size: 0.58rem;
    padding: 0.25rem 0.75rem 0.25rem 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .poly-label .diamond {
    width: 5px;
    height: 5px;
  }
  
  .display-lg {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
  }
  
  .body-text {
    font-size: 0.9rem;
    line-height: 1.75;
  }
  
  .about-left {
    padding: 0 0 2.5rem;
  }
  
  .about-right {
    padding: 2rem 0 0;
  }
  
  .about-big-num {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }
  
  .stat-pill {
    font-size: 0.6rem;
    padding: 0.25rem 0.6rem;
  }
  
  .about-photo-wrap {
    aspect-ratio: 4/5;
  }
  
  .hs-philo-num {
    font-size: 2rem;
  }
  
  .hs-philo-title {
    font-size: 0.72rem;
  }
  
  .hs-philo-desc {
    font-size: 0.78rem;
  }
  
  .ielts-mega-num {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
  }
  
  .ielts-mega-unit {
    font-size: clamp(1.2rem, 3.5vw, 2rem);
  }
  
  .ielts-band {
    grid-template-columns: 70px 1fr 3ch;
  }
  
  .ielts-band-label {
    font-size: 0.62rem;
  }
  
  .timeline-wrap {
    padding-left: 2rem;
  }
  
  .timeline-spine {
    left: 0.5rem;
  }
  
  .tl-item {
    grid-template-columns: 60px 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  
  .tl-year {
    font-size: 0.58rem;
  }
  
  .tl-dot {
    left: -2rem;
    width: 18px;
    height: 18px;
  }
  
  .tl-tag {
    font-size: 0.55rem;
    padding: 0.1rem 0.4rem;
  }
  
  .tl-card h3 {
    font-size: 0.85rem;
  }
  
  .tl-card p {
    font-size: 0.8rem;
  }
  
  .bento-cell {
    padding: 1.25rem;
  }
  
  .bento-label {
    font-size: 0.58rem;
  }
  
  .bento-h {
    font-size: 1rem;
  }
  
  .bento-p {
    font-size: 0.825rem;
  }
  
  .bento-big {
    font-size: clamp(1.75rem, 4.5vw, 2.8rem);
  }
  
  .bento-big .unit {
    font-size: 0.35em;
  }
  
  .newnews-mega-n {
    font-size: clamp(2rem, 5.5vw, 3.5rem);
  }
  
  .newnews-mega-l {
    font-size: 0.58rem;
  }
  
  .topic-tag {
    font-size: 0.62rem;
    padding: 0.2rem 0.6rem;
  }
  
  .award-banner {
    padding: 1.25rem;
  }
  
  .award-icon-box {
    width: 48px;
    height: 48px;
  }
  
  .award-tag {
    font-size: 0.55rem;
  }
  
  .award-title {
    font-size: 1.1rem;
  }
  
  .award-sub {
    font-size: 0.8rem;
  }
  
  .pillar {
    padding: 1.25rem 1rem;
  }
  
  .pillar h3 {
    font-size: 0.68rem;
  }
  
  .pillar p {
    font-size: 0.8rem;
  }
  
  .pillar-icon svg {
    width: 22px;
    height: 22px;
  }
  
  .skill-chip {
    font-size: 0.62rem;
    padding: 0.24rem 0.7rem;
  }
  
  .fencing-row {
    padding: 1rem 1.25rem;
  }
  
  .fencing-row-label {
    font-size: 0.6rem;
    gap: 0.5rem;
  }
  
  .fencing-row-label svg {
    width: 14px;
    height: 14px;
  }
  
  .fencing-row-val {
    font-size: 0.9rem;
  }
  
  .camp-logo {
    max-width: 160px;
  }
  
  .camp-badge {
    font-size: 0.58rem;
    padding: 0.2rem 0.6rem;
  }
  
  .camp-badge svg {
    width: 12px;
    height: 12px;
  }
  
  .camp-photo-caption {
    font-size: 0.58rem;
  }
  
  .contact-item {
    padding: 0.9rem 1rem;
  }
  
  .contact-icon-box {
    width: 32px;
    height: 32px;
  }
  
  .contact-icon-box svg {
    width: 16px;
    height: 16px;
  }
  
  .contact-item-label {
    font-size: 0.55rem;
  }
  
  .contact-item-val {
    font-size: 0.85rem;
  }
  
  .wechat-qr-popup {
    width: 170px;
    padding: 1rem;
  }
  
  .wechat-qr-label {
    font-size: 0.58rem;
  }
  
  .wechat-qr-img-box {
    width: 120px;
    height: 120px;
  }
  
  .wechat-id {
    font-size: 0.75rem;
  }
  
  .contact-big-text {
    font-size: clamp(2rem, 5.5vw, 3.5rem);
  }
  
  .site-footer span {
    font-size: 0.62rem;
  }
}

/* ─── Very small phones (max-width: 400px) ────────────────── */
@media (max-width: 400px) {
  .nav-inner {
    padding: 0.8rem 1rem;
  }
  
  .nav-logo {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }
  
  .hamburger {
    gap: 4px;
  }
  
  .hamburger span {
    width: 16px;
    height: 1.3px;
  }
  
  .mobile-menu {
    padding: 0.9rem 1rem 1.25rem;
    gap: 1rem;
  }
  
  .mobile-menu a {
    font-size: 0.7rem;
  }
  
  section {
    padding: 3.5rem 0;
  }
  
  .wrap {
    padding: 0 0.9rem;
  }
  
  .hero-body {
    padding: 3.5rem 0.9rem 2rem;
  }
  
  .hero-name-1, .hero-name-2 {
    font-size: clamp(1.8rem, 11vw, 3rem);
  }
  
  .hero-eyebrow {
    font-size: 0.5rem;
    margin-bottom: 0.9rem;
  }
  
  .hero-roles {
    gap: 0.3rem;
  }
  
  .hero-role {
    font-size: 0.5rem;
    padding: 0 0.5rem;
  }
  
  .btn-neon, .btn-outline {
    padding: 0.65rem 0.9rem;
    font-size: 0.6rem;
  }
  
  .about-big-num {
    font-size: clamp(2rem, 7vw, 3.2rem);
  }
  
  .display-lg {
    font-size: clamp(1.3rem, 3.5vw, 2rem);
  }
  
  .body-text {
    font-size: 0.85rem;
  }
  
  .tl-item {
    grid-template-columns: 50px 1fr;
  }
  
  .tl-year {
    font-size: 0.55rem;
  }
  
  .tl-dot {
    left: -1.75rem;
    width: 16px;
    height: 16px;
  }
  
  .tl-dot svg {
    width: 10px;
    height: 10px;
  }
  
  .bento-bg-num {
    font-size: 5rem;
  }
  
  .camp-logo {
    max-width: 140px;
  }
  
  .contact-big-text {
    font-size: clamp(1.75rem, 5vw, 2.8rem);
  }
}

/* ─── Touch device optimizations ──────────────────────────── */
@media (hover: none) and (pointer: coarse) {
  /* Remove custom cursor on touch devices */
  * {
    cursor: auto !important;
  }
  
  #cursor {
    display: none !important;
  }
  
  /* Ensure minimum touch target size (44px) */
  a, button, .contact-item, .stat-pill, .skill-chip, .pill, .topic-tag, .camp-badge {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Add active states for touch feedback */
  .btn-neon:active,
  .btn-outline:active,
  .contact-item:active,
  .nav-links a:active,
  .mobile-menu a:active,
  .stat-pill:active,
  .skill-chip:active,
  .pill:active,
  .topic-tag:active,
  .camp-badge:active,
  .tl-card:active,
  .bento-cell:active,
  .pillar:active,
  .fencing-row:active,
  .camp-photo-item:active {
    transform: scale(0.98);
    opacity: 0.9;
  }
  
  /* Improve hamburger menu touch target */
  .hamburger {
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
  }
  
  .hamburger span {
    width: 22px;
    height: 2px;
  }
  
  /* Make mobile menu links easier to tap */
  .mobile-menu a {
    padding: 0.5rem 0;
    min-height: 48px;
  }
  
  /* Improve WeChat QR interaction */
  .wechat-item {
    overflow: visible;
  }
  
  .wechat-qr-popup {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 0;
    pointer-events: none;
  }
  
  .wechat-item.qr-open .wechat-qr-popup {
    opacity: 1;
    pointer-events: auto;
  }
  
  /* Disable hover effects that don't work on touch */
  .hero-photo img:hover,
  .about-photo-wrap img:hover,
  .camp-photo-item img:hover,
  .tl-card:hover,
  .bento-cell:hover,
  .pillar:hover,
  .fencing-row:hover,
  .stat-pill:hover,
  .skill-chip:hover {
    transform: none;
  }
  
  /* Keep visual feedback but remove transform */
  .tl-item:hover .tl-card,
  .bento-cell:hover,
  .pillar:hover,
  .fencing-row:hover,
  .stat-pill:hover,
  .skill-chip:hover,
  .camp-photo-item:hover img {
    border-color: rgba(255,31,142,.3);
    box-shadow: 0 4px 16px var(--glow-pink);
  }
}

/* ─── Safe area support for notched devices ───────────────── */
@supports (padding: max(0px)) {
  body {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
  
  .nav-inner {
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
  }
  
  .wrap {
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
  }
  
  .mobile-menu {
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
  }
  
  .site-footer {
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
  }
}
