/* =========================================================
   Infinity Academy · Website styles
   Continuing the brand visual language: warm off-white / deep ink-blue /
   muted green accent / flowing node motif.
   ========================================================= */

:root {
  /* Palette */
  --bg:        #FAFAF7;
  --bg-soft:   #F3F2EC;
  --bg-warm:   #EFEDE4;
  --ink:       #1F2C3D;
  --ink-2:     #2C3E50;
  --ink-3:     #4A5A6E;
  --mute:      #8A94A3;
  --line:      #E2E0D8;
  --line-soft: #ECEAE2;
  --accent:    #3A5A4A;       /* deep green */
  --accent-2:  #5C7EA8;       /* dusty blue */
  --accent-soft: rgba(58,90,74,0.08);

  /* Type */
  --f-sans:  "Inter", "Noto Sans SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-serif: "Noto Serif SC", "Source Serif Pro", Georgia, serif;

  /* Scale tweaks */
  --t-base: 17px;

  /* Layout */
  --max: 1280px;
  --pad-x: clamp(24px, 5vw, 80px);
  --nav-h: 76px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  scroll-behavior: smooth;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

/* =====================================================
   Nav
   ===================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  background: rgba(250, 250, 247, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 250, 247, 0.88);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--ink-2);
}
.brand .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13.5px;
  color: var(--ink-3);
}
.nav-links a {
  position: relative;
  letter-spacing: 0.04em;
  transition: color .2s ease;
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--ink-2);
  transition: right .25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { right: 0; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--mute);
  text-transform: uppercase;
  background: transparent;
  border: 0;
  padding: 4px 0;
}
.lang-toggle b {
  color: var(--ink-2);
  font-weight: 500;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  transition: all .2s ease;
}
.cta-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.cta-btn .arrow {
  transition: transform .2s ease;
}
.cta-btn:hover .arrow { transform: translateX(3px); }

.cta-btn.ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--line);
}
.cta-btn.ghost:hover {
  border-color: var(--ink-2);
  background: transparent;
  color: var(--ink);
}

@media (max-width: 1100px) {
  .nav-links { gap: 22px; font-size: 12.5px; }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
}

/* =====================================================
   Reveal animation
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s cubic-bezier(.2,.6,.2,1),
              transform .9s cubic-bezier(.2,.6,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* =====================================================
   Typographic primitives
   ===================================================== */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.eyebrow .idx {
  color: var(--mute);
  margin-right: 14px;
  font-weight: 400;
}

.h-display {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.h-display .ital {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.h-section {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
}
.h-section .ital {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.lead {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.6;
  color: var(--ink-2);
  font-weight: 300;
}

.body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-3);
  font-weight: 300;
}

.hairline {
  height: 1px;
  background: var(--line);
  width: 100%;
}
.hairline.short {
  width: 56px;
  background: var(--ink-2);
  height: 2px;
}

.section {
  padding: clamp(80px, 11vw, 160px) 0;
  position: relative;
}
.section + .section { border-top: 1px solid var(--line-soft); }
.section.tinted { background: var(--bg-soft); border-top-color: transparent; }
.section.dark {
  background: var(--ink);
  color: #EFEFEA;
}
.section.dark .eyebrow { color: rgba(255,255,255,0.55); }
.section.dark .h-section,
.section.dark .h-display { color: #FFFFFF; }
.section.dark .lead,
.section.dark .body { color: rgba(255,255,255,0.78); }
.section.dark .hairline { background: rgba(255,255,255,0.18); }
.section.dark .hairline.short { background: #fff; }

.section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 56px;
  margin-bottom: 72px;
  align-items: start;
}
.section-head .eyebrow { padding-top: 8px; }
@media (max-width: 760px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 48px;
  }
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 80px) 0 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-grid {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { order: -1; min-height: 320px; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--mute);
  text-transform: uppercase;
  margin-bottom: 36px;
}
.hero-eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(58,90,74,0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(58,90,74,0.45); }
  60%  { box-shadow: 0 0 0 14px rgba(58,90,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(58,90,74,0); }
}
.hero-title {
  font-size: clamp(56px, 7.2vw, 108px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--ink);
  margin: 0 0 36px;
}
.hero-title .line {
  display: block;
  white-space: nowrap;
}
.hero-title .ital {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.6;
  color: var(--ink-2);
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 44px;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-bottom: 56px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-meta .item {
  display: flex; flex-direction: column; gap: 6px;
}
.hero-meta .lbl {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
}
.hero-meta .val {
  font-size: 15px;
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  max-height: 640px;
  background: transparent;
  overflow: visible;
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 55% 50%, #000 35%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0) 92%);
          mask-image: radial-gradient(ellipse 75% 75% at 55% 50%, #000 35%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0) 92%);
}
.hero-visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Flowing animated path */
.flow-path {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 3s cubic-bezier(.2,.6,.2,1) .4s forwards;
}
.flow-path.b { animation-delay: .8s; }
.flow-path.c { animation-delay: 1.2s; }
.flow-path.d { animation-delay: 1.6s; }
@keyframes draw {
  to { stroke-dashoffset: 0; }
}
.flow-node {
  opacity: 0;
  animation: pop .8s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes pop {
  0%   { opacity: 0; transform: scale(0.3); }
  100% { opacity: 1; transform: scale(1); }
}

/* =====================================================
   Who we are
   ===================================================== */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 96px;
  align-items: start;
}
@media (max-width: 880px) {
  .who-grid { grid-template-columns: 1fr; gap: 48px; }
}
.who-body p {
  margin: 0 0 28px;
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink-2);
  font-weight: 300;
  text-wrap: pretty;
}
.who-body p:last-child { margin-bottom: 0; }
.who-body p strong { font-weight: 600; color: var(--ink); }

.who-stats {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.who-stat .v {
  font-family: var(--f-serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.who-stat .v sup {
  font-size: 18px;
  font-weight: 300;
  color: var(--accent);
  margin-left: 4px;
  vertical-align: super;
}
.who-stat .lbl {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
}

/* =====================================================
   Philosophy (numbered principles)
   ===================================================== */
.principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.principle {
  display: grid;
  grid-template-columns: 56px 1fr 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
  transition: background .25s ease;
}
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle:hover { background: rgba(255,255,255,0.5); }
.principle .num {
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--accent);
  font-weight: 500;
}
.principle .head {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.principle .body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-3);
  font-weight: 300;
}
@media (max-width: 760px) {
  .principle {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 0;
  }
}

/* =====================================================
   Methods (4 cards)
   ===================================================== */
.methods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
@media (max-width: 1100px) { .methods { grid-template-columns: repeat(2, 1fr); gap: 56px 48px; } }
@media (max-width: 600px)  { .methods { grid-template-columns: 1fr; } }
.method {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  position: relative;
}
.method .idx {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 18px;
}
.method .title {
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
.method .desc {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-3);
  font-weight: 300;
}

/* =====================================================
   Learning path (interactive stepper)
   ===================================================== */
.path { position: relative; }

.phase-stepper {
  margin-top: 32px;
}

.phase-path {
  position: relative;
  width: 100%;
  height: 220px;
  margin: 20px 0 80px;
}
.phase-path svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.phase-node {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  outline: none;
}
.phase-node .pn-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink-2);
  transition: all .25s ease;
  z-index: 2;
}
.phase-node .pn-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: all .3s ease;
  z-index: 1;
}
.phase-node:hover .pn-ring { border-color: var(--accent); }
.phase-node:hover .pn-dot { background: var(--accent); }
.phase-node.active .pn-ring {
  width: 44px;
  height: 44px;
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 6px rgba(58, 90, 74, 0.06);
}
.phase-node.active .pn-dot {
  width: 14px;
  height: 14px;
  background: var(--accent);
}

.phase-node .pn-meta {
  position: absolute;
  left: 50%;
  top: calc(50% + 36px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  white-space: nowrap;
  pointer-events: none;
  gap: 4px;
}
.phase-node .pn-idx {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
}
.phase-node .pn-name {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  transition: color .25s ease;
}
.phase-node .pn-en {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--mute);
  font-weight: 400;
}
.phase-node.active .pn-name { color: var(--accent); }
.phase-node.active .pn-idx { color: var(--accent); }

/* Phase content panel — single column, generous, animated */
.phase-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
  padding: 48px 0 8px;
  border-top: 1px solid var(--line);
  animation: fadeUp .45s ease both;
}
.phase-panel .pp-head .pp-eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}
.phase-panel .pp-head .pp-eyebrow .pp-en {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--mute);
  margin-left: 4px;
}
.phase-panel .pp-name {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 18px;
}
.phase-panel .pp-sub {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink-2);
  margin: 0;
}
.phase-panel .pp-body .tag-grid {
  margin-bottom: 28px;
}
.phase-panel .pp-foot {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-3);
  font-weight: 300;
  margin-top: 8px;
  max-width: 640px;
}

@media (max-width: 880px) {
  .phase-path { height: 320px; }
  .phase-panel { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
}
@media (max-width: 640px) {
  /* On mobile, switch to a vertical stack of nodes; hide the SVG */
  .phase-path { display: none; }
  .phase-stepper::before {
    content: "Tip: swipe to select a phase";
    display: none;
  }
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  border-radius: 2px;
  transition: all .2s ease;
}
.tag .tag-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  margin-right: 10px;
}
.tag:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* =====================================================
   Voices
   ===================================================== */
.voices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .voices { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .voices { grid-template-columns: 1fr; } }
.voice {
  padding: 36px 32px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  transition: transform .3s ease, border-color .3s ease;
}
.voice::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  opacity: 0.55;
}
.voice:hover {
  transform: translateY(-3px);
  border-color: var(--line);
}
.voice .quote {
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
}
.voice .quote.en { font-style: italic; font-size: 16px; line-height: 1.55; }
.voice .attr {
  margin-top: 28px;
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.12em;
  font-weight: 500;
  text-transform: uppercase;
}

/* =====================================================
   Achievements
   ===================================================== */
.ach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}
@media (max-width: 880px) { .ach-grid { grid-template-columns: 1fr; gap: 48px; } }
.ach-col .cat {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}
.ach-col .cat-title {
  font-size: 26px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: -0.005em;
}
.ach-item {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.ach-item .marker {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink-2);
  transform: translateY(7px);
}
.ach-item .text {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
}
.ach-item .text .sub {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--mute);
  font-weight: 300;
}

/* =====================================================
   Collaboration
   ===================================================== */
.collab-statement {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.005em;
  max-width: 1100px;
}
.collab-statement strong { font-weight: 500; }
.collab-tags {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =====================================================
   Contact / Footer
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

.form {
  display: grid;
  gap: 22px;
}
.field {
  display: grid;
  gap: 8px;
}
.field label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  font: inherit;
  font-size: 16px;
  padding: 8px 0;
  outline: none;
  transition: border-color .2s ease;
  font-family: var(--f-sans);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,0.32); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-bottom-color: #fff; }
.field textarea { resize: vertical; min-height: 80px; }
.field select option { color: var(--ink); }

.field.row {
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 12px;
}
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--ink);
  border: 0;
  padding: 14px 26px;
  font-size: 14px;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: all .2s ease;
}
.btn-submit:hover { background: var(--accent); color: #fff; }
.btn-submit .arrow { transition: transform .2s ease; }
.btn-submit:hover .arrow { transform: translateX(4px); }
.form-note {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}

.contact-info {
  display: grid;
  gap: 28px;
}
.contact-info .row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  align-items: baseline;
}
.contact-info .row .lbl {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.contact-info .row .val {
  font-size: 18px;
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.contact-info .row .val .sub {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  letter-spacing: 0;
}

.success {
  display: none;
  padding: 40px 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 2px;
}
.success.show { display: block; animation: fadeUp .5s ease both; }
.success .ttl {
  font-family: var(--f-serif);
  font-size: 28px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 12px;
}
.success .msg {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

.footer {
  padding: 64px 0 56px;
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.footer .ftitle {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  margin-bottom: 18px;
}
.footer ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.footer a { color: rgba(255,255,255,0.75); font-size: 14px; }
.footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
}

/* =====================================================
   Background ambience
   ===================================================== */
.amb-svg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  width: 100%; height: 100%;
  z-index: 0;
}
.section > .container,
.hero-grid { position: relative; z-index: 1; }


/* =========================================================
   AWARDS WALL + CERT GALLERY + LIGHTBOX
   ========================================================= */
.awards-wall {
  margin: 16px 0 72px;
  padding: 40px 48px;
  background: #fff;
  border: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 56px;
  align-items: center;
}
.aw-stats { display: flex; gap: 56px; }
.aw-stat { display: flex; flex-direction: column; gap: 8px; }
.aw-stat .v {
  font-family: var(--f-sans);
  font-size: 52px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.aw-stat .v sup { font-size: 22px; vertical-align: super; color: var(--accent); margin-left: 2px; font-weight: 400; }
.aw-stat .lbl {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
}
.aw-comps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 20px;
  padding-left: 56px;
  border-left: 1px solid var(--line);
}
.aw-comps .comp {
  font-family: var(--f-sans);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.aw-comps .comp.ghost {
  font-size: 14px;
  color: var(--mute);
  font-weight: 400;
  letter-spacing: 0.04em;
  font-style: italic;
}
.aw-comps .comp-divider {
  width: 1px;
  height: 18px;
  background: var(--line);
}
@media (max-width: 980px) {
  .awards-wall { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .aw-comps { padding-left: 0; border-left: none; padding-top: 28px; border-top: 1px solid var(--line); }
  .aw-stats { flex-wrap: wrap; gap: 32px; }
}

/* Achievement accent marker */
.ach-item .marker.accent { background: var(--accent); width: 10px; height: 10px; }

/* Cert gallery */
.cert-gallery-head { margin-bottom: 32px; }
.cert-gallery-head .cert-h {
  font-family: var(--f-sans);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 12px 0 14px;
}
.cert-gallery-head .cert-note {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 720px;
  font-weight: 400;
}
.cert-row-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
  margin: 24px 0 24px;
}
.cert-row-label .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink-2);
}
.cert-row-label .dot.accent { background: var(--accent); }
.cert-row-label .sub {
  margin-left: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mute);
  font-weight: 400;
  text-transform: none;
  font-style: italic;
}

.cert-grid {
  display: grid;
  gap: 24px;
}
.cert-grid.inst { grid-template-columns: repeat(4, 1fr); }
.cert-grid.student { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) {
  .cert-grid.inst { grid-template-columns: repeat(2, 1fr); }
  .cert-grid.student { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cert-grid.inst, .cert-grid.student { grid-template-columns: 1fr; }
}

.cert {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cert:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px -18px rgba(31, 44, 61, 0.28);
  border-color: var(--ink-2);
}
.cert img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-soft);
}
.cert-grid.student .cert img { object-position: center; }
.cert .cap {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cert .cap .t {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.cert .cap .s {
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.04em;
  font-weight: 400;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 22, 32, 0.92);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lb-frame {
  position: relative;
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.lb-frame img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.5);
}
.lb-meta {
  text-align: center;
  color: rgba(255,255,255,0.92);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lb-title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.lb-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}
.lb-close {
  position: fixed;
  top: 24px;
  right: 32px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.lb-close:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }

/* =====================================================
   Collaboration CTA
   ===================================================== */
.collab-cta {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
  padding: 48px 56px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  position: relative;
}
.collab-cta::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
}
.collab-cta .cc-eyebrow {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 16px;
}
.collab-cta .cc-title {
  font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; line-height: 1.25;
  color: var(--ink); letter-spacing: -0.01em; margin-bottom: 14px;
}
.collab-cta .cc-sub {
  font-size: 16px; line-height: 1.65; color: var(--ink-3); font-weight: 300; max-width: 520px;
}
.collab-cta .cc-action { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.collab-cta .cc-btn { font-size: 15px; padding: 16px 26px; }
.collab-cta .cc-note { font-size: 13px; color: var(--mute); letter-spacing: 0.04em; }
@media (max-width: 880px) {
  .collab-cta { grid-template-columns: 1fr; padding: 36px 28px; gap: 28px; }
}
.nav-partner { color: var(--accent) !important; font-weight: 500 !important; }
.nav-partner::after {
  content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); margin-l