
:root{
  --navy:#142a63;
  --navy-deep:#0e1f4a;
  --cream:#f4efe8;
  --cream-2:#ece5db;
  --ink:#1d2230;
  --muted:#697690;
  --line:rgba(20,42,99,0.10);
  --white:#ffffff;
  --shadow:0 18px 40px rgba(14,31,74,0.08);
  --radius:30px;
  --max:1440px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-width:1280px;
  font-family:"Plus Jakarta Sans",system-ui,sans-serif;
  color:var(--ink);
  background:var(--cream);
}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
button,input,textarea,select{font:inherit}

.container{
  width:min(calc(100% - 80px),var(--max));
  margin:0 auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(244,239,232,0.88);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(20,42,99,0.08);
}

.nav-shell{
  min-height:92px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:28px;
}

.brand,.footer-brand{
  display:inline-flex;
  align-items:center;
  gap:14px;
  font-weight:800;
  color:var(--navy-deep);
  letter-spacing:-0.03em;
}

.brand img,.footer-brand img{
  width:auto;
  height:42px;
  object-fit:contain;
  background:transparent !important;
}

.nav-links{
  justify-self:center;
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px;
  border-radius:999px;
  background:rgba(255,255,255,0.32);
  border:1px solid rgba(20,42,99,0.05);
  box-shadow:0 8px 24px rgba(14,31,74,0.03);
}

.nav-links a{
  padding:12px 22px;
  border-radius:999px;
  color:var(--muted);
  font-weight:600;
}

.nav-links a:hover{
  background:rgba(20,42,99,0.05);
  color:var(--navy);
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:14px;
}

.nav-text-link{
  font-weight:600;
  color:var(--ink);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:58px;
  padding:0 24px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:700;
}

.btn-primary{
  background:var(--navy);
  color:var(--white);
  box-shadow:0 10px 24px rgba(20,42,99,0.16);
}

.btn-secondary{
  background:transparent;
  color:var(--ink);
  border-color:rgba(29,34,48,0.35);
}

.btn-ghost{
  background:transparent;
  color:var(--navy);
  border-color:rgba(20,42,99,0.14);
}

.hero{
  padding:84px 0 40px;
}

.hero-grid{
  display:grid;
  grid-template-columns:0.94fr 1.06fr;
  gap:64px;
  align-items:center;
}

.hero-copy{
  max-width:660px;
}

.hero-copy h1{
  margin:0;
  font-size:clamp(5rem,7.4vw,7.1rem);
  line-height:0.94;
  letter-spacing:-0.07em;
  color:var(--navy-deep);
}

.hero-copy h1 span{
  display:block;
}

.hero-copy p{
  margin:24px 0 0;
  max-width:640px;
  color:var(--muted);
  font-size:1.28rem;
  line-height:1.6;
}

.hero-actions{
  display:flex;
  gap:16px;
  margin-top:34px;
}

.hero-visual{
  position:relative;
  min-height:560px;
}

.hero-card{
  position:absolute;
  overflow:hidden;
}

.hero-card-main{
  right:70px;
  top:18px;
  width:320px;
  height:430px;
  border-radius:180px 180px 36px 36px;
  background:var(--navy);
}

.hero-card-main-visual{
  position:absolute;
  left:40px;
  bottom:54px;
  width:210px;
  height:210px;
  display:grid;
  place-items:center;
  border-radius:34px;
  background:rgba(255,255,255,0.9);
  border:1px solid rgba(20,42,99,0.08);
  box-shadow:var(--shadow);
}

.hero-card-main-visual img{
  width:138px;
  height:auto;
}

.hero-card-tutor{
  display:grid;
  place-items:end center;
}

.hero-card-tutor img{
  position:relative;
  z-index:2;
  width:210px;
  height:175px;
  object-fit:contain;
}

.hero-card-tutor-one{
  left:30px;
  top:56px;
  width:250px;
  height:380px;
}

.hero-card-tutor-two{
  right:0;
  bottom:10px;
  width:290px;
  height:350px;
}

.hero-card-shape{
  position:absolute;
  inset:0;
}

.hero-card-shape-blue{
  border-radius:150px 150px 0 0;
  background:var(--navy);
}

.hero-card-shape-dark{
  border-radius:0 110px 110px 110px;
  background:#1d1d1f;
}

.featured-strip{
  margin-top:34px;
  padding:20px 28px;
  border-radius:28px;
  background:rgba(255,255,255,0.42);
  border:1px solid rgba(20,42,99,0.06);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.featured-strip p{
  margin:0;
  font-size:1rem;
  font-weight:600;
  color:var(--navy);
}

.featured-list{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.featured-list span{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(20,42,99,0.06);
  color:var(--navy);
  font-weight:600;
  font-size:0.95rem;
}

.section{
  padding:120px 0;
}

.split-section{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:start;
}

.section-title-wrap h2,
.section-heading h2,
.faq-copy h2,
.contact-copy h2{
  margin:0;
  font-size:clamp(3rem,4.8vw,5rem);
  line-height:0.94;
  letter-spacing:-0.06em;
  color:var(--navy-deep);
}

.section-copy-wrap p,
.section-heading p,
.faq-copy p,
.contact-copy p{
  margin:0;
  color:var(--muted);
  font-size:1.24rem;
  line-height:1.65;
}

.section-heading{
  display:grid;
  gap:20px;
  margin-bottom:38px;
}

.section-heading.center{
  justify-items:center;
  text-align:center;
}

.section-heading.center h2{
  max-width:none;
}

.section-heading.center p{
  max-width:820px;
}

.section-heading.split-heading{
  grid-template-columns:1fr 1fr;
  align-items:end;
}

.section-heading.split-heading p{
  max-width:580px;
  justify-self:end;
}

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

.subject-card{
  min-height:270px;
  padding:28px;
  border-radius:30px;
  border:1px solid rgba(20,42,99,0.08);
  background:rgba(255,255,255,0.44);
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:1fr 130px;
  gap:18px;
  align-items:center;
}

.subject-chip{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  background:#2d7dff;
  color:#fff;
  font-size:0.8rem;
  font-weight:800;
  letter-spacing:-0.01em;
}

.subject-copy h3{
  margin:16px 0 10px;
  font-size:1.85rem;
  line-height:0.98;
  letter-spacing:-0.05em;
  color:var(--navy-deep);
}

.subject-copy p{
  margin:0;
  max-width:24ch;
  color:var(--muted);
  font-size:1.02rem;
  line-height:1.58;
}

.subject-art{
  display:grid;
  place-items:center;
}

.subject-art img{
  width:130px;
  height:104px;
  object-fit:contain;
}

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

.tutor-card{
  padding:22px;
  border-radius:30px;
  border:1px solid rgba(20,42,99,0.08);
  background:rgba(255,255,255,0.44);
  box-shadow:var(--shadow);
}

.tutor-visual{
  height:250px;
  border-radius:26px;
  background:linear-gradient(180deg,rgba(20,42,99,0.12),rgba(20,42,99,0.03));
  display:grid;
  place-items:center;
  margin-bottom:20px;
}

.tutor-visual img{
  width:160px;
  height:130px;
  object-fit:contain;
}

.tutor-card h3,
.faq-item h3{
  margin:0 0 12px;
  font-size:1.45rem;
  line-height:1.08;
  letter-spacing:-0.04em;
  color:var(--navy-deep);
}

.tutor-card p,
.faq-item p{
  margin:0;
  color:var(--muted);
  font-size:1.02rem;
  line-height:1.62;
}

.faq-shell{
  display:grid;
  grid-template-columns:0.9fr 1.1fr;
  gap:34px;
  align-items:start;
}

.faq-items{
  display:grid;
  gap:18px;
}

.faq-item{
  padding:26px;
  border-radius:28px;
  border:1px solid rgba(20,42,99,0.08);
  background:rgba(255,255,255,0.44);
  box-shadow:var(--shadow);
}

.contact-shell{
  display:grid;
  grid-template-columns:0.92fr 1.08fr;
  gap:34px;
  align-items:start;
}

.contact-form{
  padding:26px;
  border-radius:30px;
  border:1px solid rgba(20,42,99,0.08);
  background:rgba(255,255,255,0.52);
  box-shadow:var(--shadow);
}

.field-row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-bottom:16px;
}

.contact-form label{
  display:block;
}

.contact-form span{
  display:block;
  margin-bottom:8px;
  font-size:0.94rem;
  font-weight:700;
  color:var(--navy-deep);
}

.contact-form input,
.contact-form textarea,
.contact-form select{
  width:100%;
  padding:15px 16px;
  border-radius:18px;
  border:1px solid rgba(20,42,99,0.12);
  background:rgba(255,255,255,0.9);
  color:var(--ink);
}

.contact-form textarea{
  min-height:150px;
  resize:vertical;
  margin-bottom:20px;
}

.site-footer{
  padding:34px 0 44px;
}

.footer-shell{
  padding-top:22px;
  border-top:1px solid rgba(20,42,99,0.1);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.footer-shell p{
  margin:0;
  color:var(--muted);
}


/* ===== Reverted hero visual ===== */
.hero-visual {
  position: relative;
  height: 520px;
  min-height: 520px;
}

.hero-card,
.hero-card-main,
.hero-card-main-visual,
.hero-card-tutor,
.hero-card-tutor-one,
.hero-card-tutor-two,
.hero-card-shape {
  display: none !important;
}

.shape {
  position: absolute;
}

.shape-back {
  right: 60px;
  top: 0;
  width: 320px;
  height: 420px;
  background: #142a63;
  border-radius: 180px 180px 40px 40px;
}

.shape-middle {
  right: 40px;
  bottom: 20px;
  width: 260px;
  height: 200px;
  background: #cfd5df;
  opacity: 0.7;
  border-radius: 40px;
}

.shape-front {
  left: 40px;
  top: 80px;
  width: 240px;
  height: 300px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  border-radius: 40px;
  border: 1px solid rgba(0,0,0,0.05);
}

.floating-card {
  position: absolute;
  left: 90px;
  top: 160px;
  width: 160px;
  height: 160px;
  background: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.floating-card img {
  width: 90px;
  height: auto;
  object-fit: contain;
}


/* ===== Scroll curriculum story ===== */
.curriculum-story{
  padding: 0;
}

.curriculum-scroll-space{
  height: 420vh;
  position: relative;
}

.curriculum-sticky{
  position: sticky;
  top: 92px;
  height: calc(100vh - 92px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.curriculum-shell{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.curriculum-intro h2{
  margin: 0;
  font-size: clamp(3.2rem, 5vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  color: var(--navy-deep);
  max-width: 7ch;
}

.curriculum-intro p{
  margin: 22px 0 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.65;
}

.curriculum-stage{
  position: relative;
  min-height: 650px;
}

.curriculum-wheel{
  position: relative;
  width: 100%;
  height: 650px;
}

.curriculum-center-mark{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 1px dashed rgba(20,42,99,0.08);
  opacity: 0.55;
}

.orbit-card{
  position: absolute;
  width: 220px;
  min-height: 220px;
  padding: 22px;
  border-radius: 30px;
  background: rgba(255,255,255,0.48);
  border: 1px solid rgba(20,42,99,0.08);
  box-shadow: var(--shadow);
  display: grid;
  align-content: start;
  gap: 14px;
  transform-origin: center center;
  transition: transform 0.45s ease, opacity 0.45s ease, filter 0.45s ease, box-shadow 0.45s ease;
  opacity: 0.45;
  filter: blur(1px);
}

.orbit-card h3{
  margin: 0;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy-deep);
}

.orbit-card img{
  width: 120px;
  height: 98px;
  object-fit: contain;
  justify-self: center;
  margin-top: 6px;
}

.orbit-card.is-active{
  opacity: 1;
  filter: blur(0);
  box-shadow: 0 22px 50px rgba(14,31,74,0.12);
}

.curriculum-panel{
  position: absolute;
  right: 0;
  top: 50%;
  width: 360px;
  min-height: 320px;
  transform: translateY(-50%);
  padding: 30px;
  border-radius: 32px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(20,42,99,0.08);
  box-shadow: 0 24px 54px rgba(14,31,74,0.1);
  backdrop-filter: blur(14px);
}

.panel-progress{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.progress-line{
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(20,42,99,0.08);
  overflow: hidden;
  position: relative;
}

.progress-line i{
  position: absolute;
  inset: 0 auto 0 0;
  width: 16.66%;
  background: var(--navy);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.progress-count{
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

.panel-copy{
  display: none;
}

.panel-copy.is-active{
  display: block;
}

.panel-kicker{
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(20,42,99,0.06);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.panel-copy h3{
  margin: 18px 0 12px;
  font-size: 2.3rem;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--navy-deep);
}

.panel-copy p{
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 26ch;
}


/* ===== Hero animation pack ===== */
.hero {
  overflow: clip;
}

.hero-copy h1,
.hero-copy p,
.hero-actions,
.hero-visual {
  will-change: transform, opacity;
}

.hero-fade {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-loaded .hero-fade {
  opacity: 1;
  transform: translateY(0);
}

.hero-loaded .hero-fade-1 { transition-delay: 0.05s; }
.hero-loaded .hero-fade-2 { transition-delay: 0.18s; }
.hero-loaded .hero-fade-3 { transition-delay: 0.31s; }
.hero-loaded .hero-fade-4 { transition-delay: 0.44s; }

.floating-card {
  animation: heroFloat 5.5s ease-in-out infinite;
  will-change: transform;
}

@keyframes heroFloat {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.shape-back,
.shape-middle,
.shape-front {
  transition: transform 0.18s linear;
  will-change: transform;
}

.hero-visual {
  transition: transform 0.25s ease;
  transform-style: preserve-3d;
}

.btn {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary:hover {
  box-shadow: 0 16px 30px rgba(20,42,99,0.22);
}

.btn-secondary:hover,
.btn-ghost:hover {
  background: rgba(255,255,255,0.45);
}

.featured-strip {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.58s;
}

.hero-loaded .featured-strip {
  opacity: 1;
  transform: translateY(0);
}

.floating-card {
  --scroll-shift: 0px;
}
@keyframes heroFloat {
  0%   { transform: translateY(calc(0px + var(--scroll-shift))); }
  50%  { transform: translateY(calc(-10px + var(--scroll-shift))); }
  100% { transform: translateY(calc(0px + var(--scroll-shift))); }
}


.subjects-section,
.curriculum-story {
  padding-top: 88px !important;
}

.how-section {
  padding-top: 110px;
  padding-bottom: 120px;
}

.flowchart {
  display: grid;
  grid-template-columns: 1fr 54px 1fr 54px 1fr 54px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 40px;
}

.flow-step {
  min-height: 320px;
  padding: 32px 28px;
  border-radius: 30px;
  background: rgba(255,255,255,0.50);
  border: 1px solid rgba(20,42,99,0.08);
  box-shadow: var(--shadow);
}

.flow-number {
  margin-bottom: 14px;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: var(--navy-deep);
  text-align: center;
}

.flow-step h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--navy-deep);
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.62;
}

.flow-arrow {
  display: grid;
  place-items: center;
  font-size: 3rem;
  line-height: 1;
  color: var(--navy);
  font-weight: 800;
}

.how-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.how-note {
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255,255,255,0.34);
  border: 1px solid rgba(20,42,99,0.06);
}

.how-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy-deep);
  font-size: 1rem;
}

.how-note span {
  color: var(--muted);
  line-height: 1.55;
}


/* ===== Tutor spotlight (lighter Apple-style) ===== */
.tutor-spotlight {
  padding: 0;
}

.tutor-spotlight-space {
  position: relative;
  height: 300vh;
}

.tutor-spotlight-sticky {
  position: sticky;
  top: 92px;
  height: calc(100vh - 92px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.tutor-spotlight-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.tutor-spotlight-copy h2 {
  margin: 0;
  font-size: clamp(3rem, 4.8vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  color: var(--navy-deep);
  max-width: 8ch;
}

.tutor-spotlight-intro {
  margin: 20px 0 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.65;
}

.tutor-spotlight-progress {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 360px;
  margin: 30px 0 28px;
}

.tutor-spotlight-progress .progress-line {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(20,42,99,0.08);
  overflow: hidden;
  position: relative;
}

.tutor-spotlight-progress .progress-line i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 25%;
  background: var(--navy);
  border-radius: 999px;
  transition: width 0.35s ease;
}

.tutor-spotlight-progress .progress-count {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy);
}

.tutor-copy-panel {
  display: none;
  max-width: 460px;
}

.tutor-copy-panel.is-active {
  display: block;
}

.tutor-role {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(20,42,99,0.07);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.tutor-copy-panel h3 {
  margin: 18px 0 10px;
  font-size: 2.7rem;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--navy-deep);
}

.tutor-copy-panel .tutor-atar {
  margin: 0 0 10px;
  color: #2d7dff;
  font-weight: 800;
  font-size: 1.1rem;
}

.tutor-copy-panel .tutor-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
  font-size: 1.04rem;
  max-width: 34ch;
}

.tutor-spotlight-visual {
  display: grid;
  gap: 22px;
  justify-items: center;
}

.tutor-spotlight-frame {
  position: relative;
  width: 430px;
  height: 600px;
  border-radius: 38px;
  overflow: hidden;
  border: 1px solid rgba(20,42,99,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.45));
  box-shadow: 0 24px 60px rgba(14,31,74,0.12);
}

.tutor-spotlight-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 16%, rgba(255,255,255,0.35), rgba(255,255,255,0.0) 45%);
  z-index: 2;
  pointer-events: none;
}

.tutor-photo {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.tutor-photo.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.tutor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tutor-mini-nav {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.tutor-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  background: rgba(20,42,99,0.16);
  cursor: pointer;
  transition: transform 0.22s ease, background-color 0.22s ease;
}

.tutor-dot.is-active {
  background: var(--navy);
  transform: scale(1.15);
}

.tutors-grid {
  display: none !important;
}
