/* ---------- Self-hosted fonts (embedded, zero external requests) ---------- */
@font-face{
  font-family:'Playfair Display'; font-style:normal; font-weight:400; font-display:swap;
  src: url('assets/fonts/playfair-400.woff2') format('woff2');
}
@font-face{
  font-family:'Playfair Display'; font-style:normal; font-weight:500; font-display:swap;
  src: url('assets/fonts/playfair-500.woff2') format('woff2');
}
@font-face{
  font-family:'Playfair Display'; font-style:normal; font-weight:600; font-display:swap;
  src: url('assets/fonts/playfair-600.woff2') format('woff2');
}
@font-face{
  font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap;
  src: url('assets/fonts/inter-400.woff2') format('woff2');
}
@font-face{
  font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap;
  src: url('assets/fonts/inter-500.woff2') format('woff2');
}
@font-face{
  font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap;
  src: url('assets/fonts/inter-600.woff2') format('woff2');
}

:root{
  --navy: #0B1F3A;
  --navy-2: #14294D;
  --navy-soft: #1C3459;
  --gold: #C6A15B;
  --gold-light: #DAB876;
  --gold-dark: #A9843F;
  --white: #FFFFFF;
  --cream: #F7F6F3;
  --charcoal: #2B2F36;
  --muted: #6B7280;
  --border: #E7E3D9;
  --radius: 6px;
  --font-display: 'Playfair Display', Georgia, 'Songti SC', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-display-zh: 'Songti SC', 'STSong', 'SimSun', serif;
  --font-body-zh: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.4,0,.2,1);
}

/* Chinese pages: swap to system CJK fonts */
html[lang="zh-CN"]{
  --font-display: var(--font-display-zh);
  --font-body: var(--font-body-zh);
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button, input, textarea{ font-family:inherit; font-size:inherit; }
.container{ max-width:1400px; margin:0 auto; padding:0 48px; }
section{ padding:88px 0; }
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:400; color:var(--navy); }
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  color: var(--gold-dark); font-size:12.5px; font-weight:600;
  letter-spacing:0.16em; text-transform:uppercase; margin-bottom:16px;
}
.eyebrow::before{ content:''; width:24px; height:1px; background:var(--gold); }
.accent{ color: var(--gold); }
:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }

.divider-gold{ width:56px; height:2px; background:var(--gold); margin:18px auto 0; }
.divider-gold.left{ margin:18px 0 0; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:16px 32px; font-size:13px; font-weight:600;
  letter-spacing:0.06em; text-transform:uppercase;
  border-radius: var(--radius); border:1.5px solid transparent;
  cursor:pointer; transition: all 220ms var(--ease);
}
.btn:hover{ transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(11,31,58,0.35); }
.btn-gold{ background:var(--gold); color:var(--navy); }
.btn-gold:hover{ background:var(--gold-light); }
.btn-outline{ border-color: rgba(255,255,255,0.55); color:var(--white); background:transparent; }
.btn-outline:hover{ background:var(--gold); border-color:var(--gold); color:var(--navy); }
.btn-navy{ background:var(--navy); color:var(--white); }
.btn-navy:hover{ background:var(--gold); color:var(--navy); }
.btn-navy-outline{ border-color:var(--gold); color:var(--gold); background:transparent; }
.btn-navy-outline:hover{ background:var(--gold); color:var(--navy); }

/* Reveal on scroll */
.reveal{ opacity:0; transform: translateY(28px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in{ opacity:1; transform: translateY(0); }
.reveal-delay-1{ transition-delay: 90ms; }
.reveal-delay-2{ transition-delay: 180ms; }
.reveal-delay-3{ transition-delay: 270ms; }
.reveal-delay-4{ transition-delay: 360ms; }
.reveal-delay-5{ transition-delay: 450ms; }
.reveal-delay-6{ transition-delay: 540ms; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  html{ scroll-behavior:auto; }
}

/* Header */
header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  background: var(--navy);
  transition: height 220ms var(--ease), box-shadow 220ms var(--ease);
}
header.scrolled{ box-shadow: 0 8px 30px -12px rgba(0,0,0,0.5); }
.nav-wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:90px; transition: height 220ms var(--ease);
}
header.scrolled .nav-wrap{ height:70px; }
.logo{ display:flex; align-items:center; gap:12px; }
.logo-mark{
  height:44px; width:auto; display:block; flex-shrink:0;
  transition: height 220ms var(--ease);
}
header.scrolled .logo-mark{ height:36px; }
.logo-text{ line-height:1.15; }
.logo-text .name{ font-family:var(--font-display); font-size:20px; }
.logo-text .name .white{ color:var(--white); }
.logo-text .name .gold{ color:var(--gold); }
.logo-text .tag{
  font-size:8.5px; letter-spacing:0.16em; text-transform:uppercase;
  color: rgba(255,255,255,0.5); display:block; margin-top:2px;
}
nav.primary-nav{ display:flex; align-items:center; gap:40px; margin:0 auto; }
nav.primary-nav a{
  position:relative; color:rgba(255,255,255,0.85); font-size:14px; padding-bottom:6px;
}
nav.primary-nav a::after{
  content:''; position:absolute; left:0; right:100%; bottom:0; height:1.5px;
  background:var(--gold); transition: right 220ms var(--ease);
}
nav.primary-nav a:hover{ color:var(--gold-light); }
nav.primary-nav a:hover::after{ right:0; }
.nav-right{ display:flex; align-items:center; gap:24px; }
.lang-toggle{ color:rgba(255,255,255,0.65); font-size:13px; }
.lang-toggle button{ background:none; border:none; color:inherit; cursor:pointer; padding:2px 4px; }
.lang-toggle a{ color:inherit; padding:2px 4px; }
.lang-toggle a:hover{ color:var(--gold-light); }
.lang-toggle .active{ color:var(--gold); font-weight:600; }
.menu-toggle{
  display:none; background:none; border:none; cursor:pointer;
  width:30px; height:22px; position:relative;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after{
  content:''; position:absolute; left:0; right:0; height:2px; background:var(--white);
}
.menu-toggle::before{ top:0; } .menu-toggle span{ top:10px; } .menu-toggle::after{ bottom:0; }

/* Photo media */
.photo{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; display:block;
  transition: transform 600ms var(--ease);
}
.hero-media, .split .media, .about-media{ overflow:hidden; }
.hero-media:hover .photo,
.split .media:hover .photo,
.about-media:hover .photo{ transform: scale(1.04); }

/* Hero */
.hero{
  position:relative; margin-top:90px;
  background: var(--navy);
  display:grid; grid-template-columns: 1fr 1fr;
  min-height: 700px;
}
.hero-copy{
  display:flex; flex-direction:column; justify-content:center;
  padding: 80px 64px 80px 48px;
}
.hero-copy h1{
  color:var(--white); font-size:46px; line-height:1.28; font-weight:400;
  max-width:14ch; margin-bottom:24px;
}
.hero-copy p.lead{
  color: rgba(255,255,255,0.72); font-size:16px; max-width:44ch;
  margin-bottom:36px; line-height:1.75;
}
.hero-ctas{ display:flex; gap:18px; flex-wrap:wrap; margin-bottom:48px; }
.hero-media{ position:relative; }
.trust-row{
  display:flex; align-items:center; gap:0; flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,0.12); padding-top:28px;
}
.trust-item{
  display:flex; align-items:center; gap:10px;
  color:rgba(255,255,255,0.78); font-size:13px;
  padding-right:26px; margin-right:26px;
  border-right:1px solid rgba(255,255,255,0.15);
}
.trust-item:last-child{ border-right:none; margin-right:0; padding-right:0; }
.trust-item .dot{
  width:26px; height:26px; border-radius:50%; background:rgba(198,161,91,0.15);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}

/* Why section */
.why{ background:var(--white); }
.why-head{ text-align:center; max-width:640px; margin:0 auto 64px; }
.why-head h2{ font-size:34px; letter-spacing:0.01em; }
.why-head p{ color:var(--muted); font-size:15.5px; margin-top:18px; }
.why-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:56px; text-align:center; }
.why-card{ padding:36px 20px; border-radius:var(--radius); transition: box-shadow 260ms var(--ease), transform 260ms var(--ease); }
.why-card:hover{ box-shadow: 0 20px 45px -20px rgba(11,31,58,0.25); transform: translateY(-4px); }
.why-icon{
  width:70px; height:70px; margin:0 auto 26px; border-radius:50%;
  border:1.5px solid var(--gold); display:flex; align-items:center; justify-content:center;
  transition: transform 300ms var(--ease);
}
.why-card:hover .why-icon{ transform: scale(1.08) rotate(-4deg); }
.why-card h3{ font-size:20px; margin-bottom:12px; }
.why-card p{ color:var(--muted); font-size:14.5px; max-width:32ch; margin:0 auto; }

/* Split feature sections */
.split{ display:grid; align-items:stretch; }
.split.schools{ grid-template-columns: 55% 45%; }
.split.teachers{ grid-template-columns: 45% 55%; }
.split.schools-why{ grid-template-columns: 45% 55%; }
.split .copy{ padding:96px 64px; display:flex; flex-direction:column; justify-content:center; }
.split.bg-cream{ background:var(--cream); }
.split h2{ font-size:32px; line-height:1.3; margin-bottom:20px; }
.split p.desc{ color:var(--muted); margin-bottom:28px; max-width:46ch; }
.check-list{ margin-bottom:36px; }
.check-list li{ display:flex; align-items:flex-start; gap:13px; font-size:14.5px; margin-bottom:15px; }
.check-list svg{ flex-shrink:0; margin-top:3px; }
.check-list li span{ line-height:1.6; }
.split .media{ position:relative; min-height:480px; }

/* Light page hero */
.page-hero{
  margin-top:90px; background:var(--white);
  display:grid; grid-template-columns:45% 55%; min-height:640px;
}
.page-hero-copy{
  display:flex; flex-direction:column; justify-content:center;
  padding:80px 64px 80px 48px;
}
.page-hero-copy h1{ font-size:44px; line-height:1.28; max-width:16ch; }
.page-hero-copy .divider-gold.left{ margin:20px 0 24px; }
.page-hero-copy p.lead{ color:var(--muted); font-size:16px; max-width:46ch; margin-bottom:36px; line-height:1.75; }
.page-hero-media{ position:relative; overflow:hidden; }
.page-hero-media:hover .photo{ transform: scale(1.04); }

/* Nav active state */
nav.primary-nav a.active{ color:var(--gold-light); }

/* Divided card grid */
.why-grid.divided .why-card{ border-right:1px solid var(--border); }
.why-grid.divided .why-card:last-child{ border-right:none; }

/* Process — 5-step variant */
.process-track-5{ grid-template-columns:repeat(5,1fr) !important; }
.step-num{
  display:block; font-family:var(--font-display); font-size:15px;
  color:var(--gold-dark); margin-bottom:8px;
}

/* CTA banner */
.cta-banner{ background:var(--navy); padding:64px 0; }
.cta-banner-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:32px; flex-wrap:wrap;
}
.cta-banner-left{ display:flex; align-items:center; gap:24px; }
.cta-icon{
  width:64px; height:64px; border-radius:50%; border:1.5px solid var(--gold);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.cta-banner-left h2{ color:var(--white); font-size:26px; margin-bottom:6px; }
.cta-banner-left p{ color:rgba(255,255,255,0.7); font-size:14.5px; }

/* Process */
.process{ background:var(--cream); text-align:center; }
.process h2{ font-size:34px; }
.process-track{ display:grid; grid-template-columns:repeat(6,1fr); gap:16px; position:relative; margin-top:72px; }
.process-track::before{
  content:''; position:absolute; top:34px; left:8%; right:8%; height:1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px); z-index:0;
}
.step{ position:relative; z-index:1; padding:0 6px; }
.step-icon{
  width:68px; height:68px; border-radius:50%; background:var(--navy);
  display:flex; align-items:center; justify-content:center; margin:0 auto 20px;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
  border: 2px solid transparent;
}
.step:hover .step-icon{ transform: scale(1.08); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(198,161,91,0.15); }
.step h4{ font-size:14.5px; color:var(--navy); margin-bottom:8px; font-weight:600; letter-spacing:0.01em; }
.step p{ font-size:12.5px; color:var(--muted); }

/* About */
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:center; }
.about-grid h2{ font-size:32px; margin-bottom:22px; }
.about-grid p{ color:var(--muted); margin-bottom:18px; max-width:48ch; }
.about-media{ aspect-ratio:5/4; position:relative; border-radius:var(--radius); overflow:hidden; }

/* Contact */
.contact{ background:var(--white); position:relative; }
.contact h2{ font-size:32px; }
.contact .why-head{ margin-bottom:64px; }
.contact-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:72px; position:relative; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px; }
.field{ display:flex; flex-direction:column; }
.field.full{ grid-column:1 / -1; }
label{ font-size:12.5px; color:var(--muted); margin-bottom:7px; letter-spacing:0.02em; }
input, textarea{
  border:1px solid var(--border); background:var(--white);
  padding:14px 15px; border-radius:var(--radius); color:var(--charcoal);
  transition: border-color 200ms var(--ease);
}
input:focus, textarea:focus{ border-color:var(--gold); outline:none; }
textarea{ resize:vertical; min-height:120px; }
.contact-info h3{
  font-size:14px; color:var(--gold-dark); letter-spacing:0.12em;
  text-transform:uppercase; margin-bottom:30px; font-weight:600;
}
.info-row{ display:flex; gap:16px; margin-bottom:26px; align-items:flex-start; }
.info-row .ic{
  width:42px; height:42px; border-radius:50%; border:1.5px solid var(--gold);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.info-row strong{ display:block; font-size:14.5px; color:var(--navy); margin-bottom:3px; font-weight:600; }
.info-row span{ font-size:13.5px; color:var(--muted); }

/* Global Reach (Small Square Fix) */
.global-reach {
  margin-top: 48px;
  text-align: center;
}

.global-reach img {
  width: 100%;
  max-width: 180px;      /* Restricts maximum width to a small size */
  max-height: 180px;     /* Restricts maximum height to match width */
  aspect-ratio: 1 / 1;   /* Enforces square proportions */
  object-fit: contain;   /* Preserves original aspect ratio inside the square */
  margin: 0 auto;
  display: block;
}

.global-reach p {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-top: 12px;
}

/* Footer */
footer{ background:var(--navy); color:rgba(255,255,255,0.68); padding-top:80px; }
.footer-grid{
  display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr 1fr; gap:32px;
  padding-bottom:56px; border-bottom:1px solid rgba(255,255,255,0.1);
}
.footer-brand p{ font-size:13px; margin:18px 0 22px; max-width:32ch; color:rgba(255,255,255,0.5); }
.social-row{ display:flex; gap:12px; }
.social-row a{
  width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,0.25);
  display:flex; align-items:center; justify-content:center;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}
.social-row a:hover{ border-color:var(--gold); background:rgba(198,161,91,0.12); }
.footer-col h5{ color:var(--gold); font-size:12.5px; letter-spacing:0.12em; text-transform:uppercase; margin-bottom:20px; }
.footer-col li{ margin-bottom:12px; font-size:13.5px; }
.footer-col a:hover{ color:var(--gold-light); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding:24px 0; font-size:12.5px; color:rgba(255,255,255,0.4);
}
.footer-bottom .legal{ display:flex; gap:22px; }

/* Responsive */
@media (max-width:1100px){
  .container{ padding:0 32px; }
  .hero-copy{ padding:64px 40px; }
  .hero-copy h1{ font-size:38px; }
  .split .copy{ padding:64px 40px; }
}
@media (max-width:980px){
  section{ padding:64px 0; }
  .hero{ grid-template-columns:1fr; min-height:auto; }
  .hero-media{ min-height:340px; order:-1; }
  .page-hero{ grid-template-columns:1fr; min-height:auto; }
  .page-hero-media{ min-height:340px; order:-1; }
  .why-grid{ grid-template-columns:1fr; gap:40px; }
  .why-grid.divided .why-card{ border-right:none; border-bottom:1px solid var(--border); padding-bottom:32px; }
  .why-grid.divided .why-card:last-child{ border-bottom:none; }
  .split.schools, .split.teachers, .split.schools-why{ grid-template-columns:1fr; }
  .split .media{ min-height:320px; order:-1; }
  .about-grid{ grid-template-columns:1fr; }
  .about-media{ order:-1; }
  .contact-grid{ grid-template-columns:1fr; }
  .process-track{ grid-template-columns:repeat(3,1fr); row-gap:48px; }
  .process-track-5{ grid-template-columns:repeat(3,1fr) !important; }
  .process-track::before{ display:none; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .trust-row{ gap:10px 0; }
  .trust-item{ border-right:none; margin-right:0; padding-right:0; width:100%; }
  .cta-banner-inner{ flex-direction:column; text-align:center; }
  .cta-banner-left{ flex-direction:column; }
}
@media (max-width:700px){
  .container{ padding:0 20px; }
  nav.primary-nav, .nav-right .lang-toggle, .nav-right .btn{ display:none; }
  .menu-toggle{ display:block; }
  .hero-copy h1{ font-size:30px; }
  .page-hero-copy h1{ font-size:28px; }
  .field-row{ grid-template-columns:1fr; }
  .process-track{ grid-template-columns:1fr 1fr; }
  .process-track-5{ grid-template-columns:1fr 1fr !important; }
  .footer-grid{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; gap:12px; text-align:center; }
  .hero-ctas .btn, .split .copy .btn, .about-grid .btn{ width:100%; justify-content:center; }
  .cta-banner .btn{ width:100%; justify-content:center; }
}

/* ============================================================
   SHARED COMPONENTS
   ============================================================ */

/* Contact method cards */
.contact-cards{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; align-items:stretch; }
.contact-card{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius);
  padding:32px 24px; text-align:center; display:flex; flex-direction:column; align-items:center;
  transition: box-shadow 260ms var(--ease), transform 260ms var(--ease);
}
.contact-card:hover{ transform:translateY(-4px); box-shadow:0 20px 45px -20px rgba(11,31,58,0.2); }
.contact-card .cc-icon{
  width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}
.contact-card h3{ font-size:18px; margin-bottom:10px; }
.contact-card p{ color:var(--muted); font-size:13.5px; margin-bottom:16px; }
.contact-card .cc-detail{ font-weight:600; color:var(--navy); margin-bottom:16px; font-size:14px; }
.contact-card .btn{ width:100%; justify-content:center; margin-top:auto; }
.contact-card.featured{
  border-color:var(--gold); border-width:1.5px; transform:translateY(-10px);
  box-shadow:0 24px 50px -22px rgba(198,161,91,0.4); position:relative;
}
.contact-card.featured:hover{ transform:translateY(-14px); }
.contact-card .cc-badge{
  position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background:var(--gold); color:var(--navy); font-size:11px; font-weight:700;
  letter-spacing:0.06em; text-transform:uppercase; padding:5px 14px; border-radius:20px;
}
.contact-card.featured .cc-icon{ width:64px; height:64px; }
.contact-card img.qr{ width:150px; height:150px; object-fit:contain; border:1px solid var(--border); border-radius:8px; padding:8px; margin-bottom:14px; }
.contact-card .wechat-btn{ background:#07C160; color:#fff; }
.contact-card .wechat-btn:hover{ background:#06a852; }

/* Discover China grid */
.discover-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.discover-card{
  position:relative; border-radius:var(--radius); overflow:hidden; min-height:200px;
  display:flex; align-items:flex-end;
}
.discover-card img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition: transform 500ms var(--ease); }
.discover-card:hover img{ transform:scale(1.06); }
.discover-card::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(11,31,58,0.88) 0%, rgba(11,31,58,0.35) 55%, rgba(11,31,58,0.05) 100%);
}
.discover-card .dc-text{ position:relative; z-index:1; padding:20px; color:#fff; }
.discover-card h4{ font-family:var(--font-display); font-size:17px; margin-bottom:4px; color:#fff; }
.discover-card p{ font-size:12.5px; color:rgba(255,255,255,0.82); }

/* Icon row */
.icon-row{ display:grid; grid-template-columns:repeat(7,1fr); gap:14px; position:relative; margin-top:56px; }
.icon-row::before{
  content:''; position:absolute; top:28px; left:6%; right:6%; height:1px;
  background:repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px); z-index:0;
}
.icon-row .ir-item{ position:relative; z-index:1; text-align:center; padding:0 4px; }
.icon-row .ir-icon{
  width:56px; height:56px; border-radius:50%; background:var(--white); border:1.5px solid var(--gold);
  display:flex; align-items:center; justify-content:center; margin:0 auto 14px;
}
.icon-row h5{ font-size:13px; font-weight:600; color:var(--navy); margin-bottom:6px; }
.icon-row p{ font-size:11.5px; color:var(--muted); line-height:1.5; }

/* Job listing cards */
.job-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.job-card{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius);
  padding:26px; transition: box-shadow 260ms var(--ease), transform 260ms var(--ease);
}
.job-card:hover{ transform:translateY(-3px); box-shadow:0 20px 45px -22px rgba(11,31,58,0.22); }
.job-card .jc-top{ display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:14px; gap:10px; }
.jc-badge{ font-size:11px; font-weight:600; padding:4px 10px; border-radius:20px; background:var(--cream); color:var(--navy); }
.jc-badge.tier{ background:rgba(198,161,91,0.15); color:var(--gold-dark); }
.job-card h3{ font-size:19px; margin-bottom:6px; }
.jc-location{ font-size:13px; color:var(--muted); display:flex; align-items:center; gap:6px; margin-bottom:10px; }
.jc-salary{ font-size:16px; font-weight:600; color:var(--gold-dark); font-family:var(--font-display); margin-bottom:12px; }
.jc-benefits{ list-style:none; margin-bottom:14px; }
.jc-benefits li{ font-size:13px; color:var(--charcoal); display:flex; align-items:center; gap:8px; margin-bottom:6px; }
.jc-desc{ font-size:13px; color:var(--muted); margin-bottom:14px; line-height:1.6; }
.jc-tags{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; }
.jc-tag{ font-size:11px; background:var(--cream); color:var(--navy); padding:4px 10px; border-radius:20px; }
.jc-actions{ display:flex; gap:12px; }
.jc-actions .btn{ flex:1; justify-content:center; padding:12px 16px; font-size:12px; }

/* Filter bar */
.filter-bar{
  background:var(--white); border-radius:var(--radius); box-shadow:0 20px 50px -25px rgba(11,31,58,0.3);
  padding:28px 32px; margin-top:-56px; position:relative; z-index:5;
}
.filter-row{ display:grid; grid-template-columns:repeat(5,1fr); gap:16px; margin-bottom:16px; }
.filter-row:last-child{ margin-bottom:0; grid-template-columns:repeat(2,1fr); }
.filter-field label{ display:block; font-size:11.5px; color:var(--muted); margin-bottom:6px; letter-spacing:0.02em; }
.filter-field input, .filter-field select{
  width:100%; border:1px solid var(--border); border-radius:4px; padding:10px 12px; font-size:13.5px; color:var(--charcoal); background:var(--white);
}
.filter-field input:focus, .filter-field select:focus{ border-color:var(--gold); outline:none; }
.salary-pills{ display:flex; gap:8px; flex-wrap:wrap; }
.salary-pill{
  border:1px solid var(--border); border-radius:20px; padding:8px 16px; font-size:12.5px; background:var(--white);
  cursor:pointer; color:var(--charcoal);
}
.salary-pill.active{ background:var(--navy); color:#fff; border-color:var(--navy); }

/* FAQ accordion */
.faq-list{ max-width:900px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--border); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  padding:20px 4px; display:flex; justify-content:space-between; align-items:center;
  font-family:var(--font-body); font-size:15px; font-weight:600; color:var(--navy);
}
.faq-q .plus{ font-size:20px; color:var(--gold); transition: transform 250ms var(--ease); flex-shrink:0; margin-left:16px; }
.faq-item.open .faq-q .plus{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height 350ms var(--ease); }
.faq-item.open .faq-a{ max-height:600px; }
.faq-a-inner{ padding:0 4px 22px; color:var(--muted); font-size:14px; line-height:1.75; }
.faq-a-inner ul{ margin:10px 0 0 20px; list-style:disc; }
.faq-2col{ display:grid; grid-template-columns:1fr 1fr; gap:0 48px; }

/* Stats band */
.stats-band{ background:var(--navy); padding:56px 0; }
.stats-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
.stat-item{ display:flex; align-items:flex-start; gap:18px; }
.stat-item .stat-icon{ flex-shrink:0; }
.stat-item .stat-num{ font-family:var(--font-display); font-size:30px; color:var(--gold); line-height:1; margin-bottom:6px; }
.stat-item h5{ color:#fff; font-size:15px; margin-bottom:4px; font-weight:600; }
.stat-item p{ color:rgba(255,255,255,0.6); font-size:12.5px; }

/* Values grid */
.values-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:32px; }

/* Split CTA */
.split-cta{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.split-cta-card{ padding:40px; border-radius:var(--radius); }
.split-cta-card.navy{ background:var(--navy); }
.split-cta-card.cream{ background:var(--cream); }
.split-cta-card .eyebrow{ color:var(--gold-light); }
.split-cta-card.cream .eyebrow{ color:var(--gold-dark); }
.split-cta-card h3{ font-size:24px; margin-bottom:20px; line-height:1.3; }
.split-cta-card.navy h3{ color:#fff; }

/* Who grid */
.who-grid{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.who-card{ display:grid; grid-template-columns:38% 62%; background:var(--white); border-radius:var(--radius); overflow:hidden; border:1px solid var(--border); }
.who-card .wc-media{ position:relative; min-height:100%; }
.who-card .wc-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.who-card .wc-body{ padding:28px 24px; display:flex; flex-direction:column; }
.wc-icon{ width:44px; height:44px; border-radius:50%; background:var(--cream); display:flex; align-items:center; justify-content:center; margin-bottom:14px; }
.who-card h3{ font-size:19px; margin-bottom:8px; }
.who-card p.wc-desc{ font-size:13.5px; color:var(--muted); margin-bottom:14px; }
.who-card .check-list{ margin-bottom:18px; }
.who-card .check-list li{ font-size:13px; margin-bottom:8px; }

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-hero{ background:var(--white); margin-top:90px; padding:56px 0 0; }
.auth-hero-inner{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.auth-hero-media{ position:relative; border-radius:var(--radius); overflow:hidden; aspect-ratio:4/3; }
.auth-hero-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.auth-hero-copy h1{ font-size:38px; line-height:1.25; margin-bottom:16px; max-width:14ch; }
.auth-hero-copy .lead{ color:var(--muted); font-size:15.5px; max-width:46ch; }

.auth-main{ padding:56px 0 100px; }
.auth-grid{ display:grid; grid-template-columns:1.15fr 0.85fr; gap:32px; align-items:start; }

.auth-card{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius);
  box-shadow:0 24px 60px -30px rgba(11,31,58,0.25); padding:44px;
}
.auth-card-head{ display:flex; align-items:center; gap:16px; margin-bottom:28px; }
.auth-card-head .ac-icon{ width:52px; height:52px; border-radius:50%; background:var(--navy); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.auth-card h2{ font-size:24px; margin-bottom:4px; }
.auth-card .ac-sub{ color:var(--muted); font-size:13.5px; }

.form-group{ margin-bottom:20px; }
.form-group label{ display:block; font-size:13px; font-weight:600; color:var(--charcoal); margin-bottom:7px; }
.form-group label .req{ color:var(--gold-dark); }
.input-wrap{ position:relative; }
.input-wrap .iw-icon{ position:absolute; left:14px; top:50%; transform:translateY(-50%); color:var(--muted); pointer-events:none; display:flex; }
.input-wrap input, .input-wrap select{
  width:100%; border:1px solid var(--border); border-radius:6px; padding:13px 14px 13px 42px;
  font-size:14px; color:var(--charcoal); background:var(--white); font-family:var(--font-body);
}
.input-wrap input:focus, .input-wrap select:focus{ border-color:var(--gold); outline:none; }
.input-wrap .pw-toggle{
  position:absolute; right:14px; top:50%; transform:translateY(-50%); background:none; border:none;
  cursor:pointer; color:var(--muted); display:flex; padding:0;
}
.form-hint{ font-size:12px; color:var(--muted); margin-top:7px; }
.form-row-2{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }

.oauth-btn{
  width:100%; display:flex; align-items:center; justify-content:center; gap:10px;
  border:1px solid var(--border); background:var(--white); border-radius:6px; padding:12px;
  font-size:14px; font-weight:600; color:var(--charcoal); cursor:pointer; margin:4px 0 4px;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.oauth-btn:hover{ border-color:var(--gold); box-shadow:0 6px 18px -10px rgba(0,0,0,0.2); }
.auth-divider{ display:flex; align-items:center; gap:14px; margin:18px 0; color:var(--muted); font-size:12px; }
.auth-divider::before, .auth-divider::after{ content:''; flex:1; height:1px; background:var(--border); }

.form-check{ display:flex; align-items:flex-start; gap:10px; font-size:13px; color:var(--charcoal); margin-bottom:22px; }
.form-check input{ margin-top:3px; }
.form-check a{ color:var(--gold-dark); text-decoration:underline; }
.form-row-between{ display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; font-size:13px; }
.form-row-between a{ color:var(--gold-dark); }
.remember-check{ display:flex; align-items:center; gap:8px; color:var(--charcoal); }

.upload-box{
  border:1.5px dashed var(--border); border-radius:6px; padding:24px; text-align:center;
  cursor:pointer; transition: border-color 200ms var(--ease); background:var(--cream);
}
.upload-box:hover{ border-color:var(--gold); }
.upload-box p{ font-size:13.5px; color:var(--charcoal); margin-bottom:4px; }

/* ---------- Legal pages (Privacy / Cookie / Terms) ---------- */
.legal-page{ background:var(--cream); padding-top:132px; }
.legal-container{ max-width:860px; }

.legal-meta{
  padding-bottom:28px; margin-bottom:40px;
  border-bottom:1px solid var(--border);
}
.legal-meta .eyebrow{
  display:inline-block; font-size:12px; font-weight:500;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--gold-dark); margin-bottom:14px;
}
.legal-meta h1{
  font-family:var(--font-display); font-weight:500;
  font-size:42px; line-height:1.18; color:var(--navy); margin:0;
}
.legal-lang-note{
  margin:12px 0 0; font-size:14px; color:var(--muted); font-style:italic;
}

.legal-body{ color:var(--charcoal); font-size:16px; line-height:1.75; }
.legal-body h2{
  font-family:var(--font-display); font-weight:500;
  font-size:24px; line-height:1.3; color:var(--navy);
  margin:52px 0 18px; padding-top:4px;
}
.legal-body h2:first-child{ margin-top:0; }
.legal-body p{ margin:0 0 20px; }
/* Chinese translation blocks: the bold run that opens each ZH section */
.legal-body p > strong{ color:var(--navy); font-weight:600; }
.legal-body ul, .legal-body ol{ margin:0 0 20px; padding-left:22px; }
.legal-body li{ margin-bottom:8px; }
.legal-body a{ color:var(--gold-dark); text-decoration:underline; }
.legal-body a:hover{ color:var(--navy); }

/* Marks values still to be confirmed before launch */
.todo-fill{
  background:#FDF3D8; border-bottom:1px dashed var(--gold-dark);
  padding:1px 4px; border-radius:3px;
}

@media (max-width:980px){
  .legal-page{ padding-top:108px; }
  .legal-meta h1{ font-size:32px; }
  .legal-body{ font-size:15px; }
  .legal-body h2{ font-size:21px; margin:40px 0 14px; }
}

/* ---------- Dashboard shell (Teacher + Employer dashboards) ---------- */
.dash-body{ background:var(--cream); }

.dash-header{
  position:sticky; top:0; z-index:40; background:var(--white);
  border-bottom:1px solid var(--border);
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 32px;
}
.dash-header .logo-text .name .white{ color:var(--navy); }
.dash-header-right{ display:flex; align-items:center; gap:14px; }
.dash-icon-btn{
  width:38px; height:38px; border-radius:50%; border:1px solid var(--border);
  background:var(--white); display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:background 200ms var(--ease), border-color 200ms var(--ease);
}
.dash-icon-btn:hover{ background:var(--cream); border-color:var(--gold); }
.dash-profile{ display:flex; align-items:center; gap:10px; padding-left:8px; border-left:1px solid var(--border); }
.dash-avatar{
  width:38px; height:38px; border-radius:50%; background:var(--navy); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-size:15px; flex-shrink:0;
}
.dash-profile-name{ font-size:13.5px; font-weight:600; color:var(--navy); line-height:1.3; }
.dash-profile-role{ font-size:11.5px; color:var(--muted); }

.dash-layout{ display:grid; grid-template-columns:250px 1fr; align-items:start; max-width:1400px; margin:0 auto; }

.dash-sidebar{
  position:sticky; top:65px; align-self:start;
  padding:28px 18px; border-right:1px solid var(--border);
  height:calc(100vh - 65px); overflow-y:auto;
}
.dash-nav-group{ margin-bottom:26px; }
.dash-nav-label{
  font-size:11px; font-weight:600; color:var(--muted);
  text-transform:uppercase; letter-spacing:.08em; padding:0 12px 8px;
}
.dash-nav-item{
  display:flex; align-items:center; gap:11px; padding:10px 12px; border-radius:var(--radius);
  font-size:13.5px; color:var(--charcoal); text-decoration:none; cursor:pointer;
  transition:background 180ms var(--ease), color 180ms var(--ease); position:relative;
}
.dash-nav-item svg{ flex-shrink:0; }
.dash-nav-item:hover{ background:var(--cream); }
.dash-nav-item.active{ background:var(--navy); color:var(--white); }
.dash-nav-item.active svg path{ stroke:var(--white); }
.dash-nav-item.locked{ color:var(--muted); }
.dash-nav-item .lock-icon{ margin-left:auto; color:var(--muted); display:flex; }
.dash-sidebar-support{
  margin-top:8px; padding:20px 16px; background:var(--white); border:1px solid var(--border);
  border-radius:var(--radius); text-align:left;
}
.dash-sidebar-support .ss-icon{
  width:34px; height:34px; border-radius:50%; background:var(--cream);
  display:flex; align-items:center; justify-content:center; margin-bottom:10px;
}
.dash-sidebar-support h5{ font-size:13.5px; color:var(--navy); margin-bottom:6px; }
.dash-sidebar-support p{ font-size:12px; color:var(--muted); line-height:1.6; margin-bottom:10px; }
.dash-sidebar-support a{ font-size:12.5px; font-weight:600; color:var(--gold-dark); text-decoration:none; }
.dash-sidebar-support a:hover{ color:var(--navy); }

.dash-main{ padding:28px 32px 60px; min-width:0; }

.dash-welcome{
  position:relative; border-radius:var(--radius); overflow:hidden;
  min-height:150px; display:flex; align-items:center; margin-bottom:24px;
}
.dash-welcome img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.dash-welcome::before{
  content:''; position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(11,31,58,0.92) 0%, rgba(11,31,58,0.55) 65%, rgba(11,31,58,0.25) 100%);
}
.dash-welcome-text{ position:relative; padding:28px 34px; color:var(--white); max-width:560px; }
.dash-welcome-text h1{ font-size:24px; color:var(--white); margin-bottom:8px; }
.dash-welcome-text p{ font-size:13.5px; color:rgba(255,255,255,0.85); line-height:1.6; }

.dash-stats-row{ display:grid; grid-template-columns:repeat(4, 1fr); gap:18px; margin-bottom:24px; }
.dash-stat-card{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius);
  padding:20px;
}
.dash-stat-top{ display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.dash-stat-icon{ width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.dash-stat-num{ font-family:var(--font-display); font-size:24px; color:var(--navy); line-height:1.1; }
.dash-stat-label{ font-size:12px; color:var(--muted); margin-top:2px; }
.dash-stat-cta{ font-size:12px; font-weight:600; color:var(--gold-dark); text-decoration:none; }
.dash-stat-cta:hover{ color:var(--navy); }
.dash-progress{ height:6px; border-radius:4px; background:var(--cream); overflow:hidden; margin:4px 0 10px; }
.dash-progress-fill{ height:100%; background:var(--gold); border-radius:4px; transition:width 400ms var(--ease); }

.dash-row{ display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; margin-bottom:18px; }
.dash-card{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:22px;
}
.dash-card-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; gap:10px; }
.dash-card-head h3{ font-size:15.5px; color:var(--navy); }
.dash-card-head a{ font-size:12px; font-weight:600; color:var(--gold-dark); text-decoration:none; white-space:nowrap; }
.dash-card-head a:hover{ color:var(--navy); }
.dash-loading{ font-size:13px; color:var(--muted); padding:20px 0; text-align:center; }
.dash-empty{ text-align:center; padding:26px 10px; }
.dash-empty svg{ margin-bottom:10px; opacity:.6; }
.dash-empty p{ font-size:12.5px; color:var(--muted); }

.quicklink-grid{ display:flex; flex-direction:column; gap:4px; }
.quicklink-item{
  display:flex; align-items:center; gap:10px; padding:10px 8px; border-radius:var(--radius);
  font-size:13px; color:var(--charcoal); text-decoration:none; transition:background 180ms var(--ease);
}
.quicklink-item:hover{ background:var(--cream); }

.dash-footer{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:22px 32px; border-top:1px solid var(--border); font-size:12px; color:var(--muted);
}

/* Employer: registration progress + locked recruitment state */
.reg-progress{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius);
  padding:22px; margin-bottom:18px;
}
.reg-progress-grid{ display:grid; grid-template-columns:1.4fr 1fr; gap:28px; align-items:center; }
.reg-steps{ display:grid; grid-template-columns:repeat(4, 1fr); gap:14px; }
.reg-step{ text-align:center; font-size:12.5px; color:var(--muted); }
.reg-step h5{ font-size:12.5px; color:var(--charcoal); margin:10px 0 2px; line-height:1.35; }
.reg-step p{ font-size:11px; color:var(--muted); }
.reg-step-circle{
  width:34px; height:34px; margin:0 auto; border-radius:50%; border:1.5px solid var(--border);
  background:var(--white); display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-size:13px; color:var(--muted);
}
.reg-step.done .reg-step-circle{ background:var(--navy); border-color:var(--navy); color:var(--white); }
.reg-step.done h5{ color:var(--navy); }
.reg-step.current .reg-step-circle{ border-color:var(--gold); color:var(--gold-dark); }
.reg-step.current h5{ color:var(--navy); }
.reg-step.locked .reg-step-circle{ color:var(--muted); }
.reg-cta{
  background:var(--cream); border-radius:var(--radius); padding:24px; text-align:center;
}
.reg-cta h4{ font-size:16px; color:var(--navy); margin:8px 0 8px; }
.reg-cta p{ font-size:12.5px; color:var(--muted); line-height:1.6; margin-bottom:16px; }

.activation-banner{
  display:flex; align-items:center; gap:16px; background:var(--white);
  border:1px solid var(--gold); border-radius:var(--radius); padding:20px 22px; margin-bottom:24px;
}
.activation-banner .ab-icon{
  width:42px; height:42px; border-radius:50%; background:var(--cream);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.activation-banner h3{ font-size:15.5px; color:var(--navy); margin-bottom:4px; }
.activation-banner p{ font-size:13px; color:var(--muted); line-height:1.6; }

.hero-ctas{ display:flex; gap:12px; }

.locked-card{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius);
  padding:22px; text-align:center;
}
.locked-card .lc-icon{
  width:44px; height:44px; border-radius:50%; margin:0 auto 14px;
  display:flex; align-items:center; justify-content:center;
}
.locked-card h4{ font-size:14.5px; color:var(--navy); margin-bottom:8px; }
.locked-card p{ font-size:12.5px; color:var(--muted); line-height:1.6; margin-bottom:16px; }

.check-list{ list-style:none; }
.check-list li{ display:flex; align-items:flex-start; gap:10px; margin-bottom:12px; font-size:13px; color:var(--charcoal); line-height:1.5; }
.check-list li svg{ flex-shrink:0; margin-top:1px; }

/* Modals (Coming Soon / Locked / WeChat) shared across dashboard pages */
.modal-overlay{
  display:none; position:fixed; inset:0; background:rgba(11,31,58,0.55);
  align-items:center; justify-content:center; z-index:100; padding:20px;
}
.modal-overlay.open{ display:flex; }
.modal-box{
  background:var(--white); border-radius:var(--radius); padding:32px 28px;
  max-width:440px; width:100%; position:relative;
}
.modal-close{
  position:absolute; top:14px; right:14px; width:30px; height:30px; border-radius:50%;
  border:none; background:var(--cream); color:var(--navy); font-size:18px; line-height:1;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
}
.modal-close:hover{ background:var(--border); }
.modal-box h3{ color:var(--navy); margin-bottom:10px; }
.modal-box p{ font-size:13.5px; color:var(--muted); line-height:1.6; }

@media (max-width:980px){
  .dash-layout{ grid-template-columns:1fr; }
  .dash-sidebar{ position:static; height:auto; border-right:none; border-bottom:1px solid var(--border); }
  .dash-stats-row{ grid-template-columns:repeat(2, 1fr); }
  .dash-row{ grid-template-columns:1fr; }
  .reg-progress-grid{ grid-template-columns:1fr; }
  .dash-main{ padding:22px 18px 40px; }
  .dash-header{ padding:12px 18px; }
}

/* Teacher dashboard: profile checklist, applications, interviews, opportunities */
.check-item{
  display:flex; align-items:center; gap:10px; padding:9px 0; font-size:13px; color:var(--muted);
  border-bottom:1px solid var(--border);
}
.check-item:last-child{ border-bottom:none; }
.check-item.done{ color:var(--charcoal); }
.check-item .ci-dot{
  width:18px; height:18px; border-radius:50%; border:1.5px solid var(--border);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.check-item.done .ci-dot{ background:var(--gold); border-color:var(--gold); }

.dash-empty a{ display:inline-block; margin-top:10px; font-size:12.5px; font-weight:600; color:var(--gold-dark); text-decoration:none; }
.dash-empty a:hover{ color:var(--navy); }

.app-item, .interview-item, .opp-item{
  display:flex; align-items:center; gap:14px; padding:14px 0; border-bottom:1px solid var(--border);
}
.app-item:last-child, .interview-item:last-child, .opp-item:last-child{ border-bottom:none; }

.opp-logo{
  width:38px; height:38px; border-radius:50%; background:var(--cream);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.app-info, .interview-info, .opp-info{ flex:1; min-width:0; }
.app-info h4, .interview-info h4, .opp-info h4{ font-size:13.5px; color:var(--navy); margin-bottom:2px; }
.app-info p, .opp-school{ font-size:12px; color:var(--muted); }
.opp-loc{ display:flex; align-items:center; gap:5px; font-size:12px; color:var(--muted); margin-top:2px; }

.app-meta{ text-align:right; flex-shrink:0; }
.app-date{ font-size:11px; color:var(--muted); margin-top:6px; }
.status-badge{
  font-size:11px; font-weight:600; padding:4px 10px; border-radius:20px; white-space:nowrap;
}
.status-badge.received{ background:var(--cream); color:var(--navy); }
.status-badge.review{ background:rgba(107,114,128,0.12); color:var(--muted); }
.status-badge.interview{ background:rgba(198,161,91,0.18); color:var(--gold-dark); }
.status-badge.offer{ background:rgba(30,138,76,0.12); color:#1E8A4C; }

.interview-date{
  width:52px; height:52px; border-radius:var(--radius); background:var(--cream);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; text-align:center;
}
.interview-date .im{ font-size:11px; font-weight:600; color:var(--navy); }
.interview-time{ font-size:11.5px; color:var(--muted); margin-top:4px; }

.opp-actions{ display:flex; flex-direction:column; align-items:flex-end; gap:8px; flex-shrink:0; }
.opp-actions .btn{ padding:8px 14px; font-size:11.5px; white-space:nowrap; }
.bookmark-btn{
  width:32px; height:32px; border-radius:50%; border:1px solid var(--border); background:var(--white);
  color:var(--muted); display:flex; align-items:center; justify-content:center; cursor:pointer;
  transition:color 180ms var(--ease), border-color 180ms var(--ease);
}
.bookmark-btn:hover{ color:var(--gold-dark); border-color:var(--gold); }
.bookmark-btn.saved{ color:var(--gold-dark); border-color:var(--gold); background:rgba(198,161,91,0.1); }

@media (max-width:600px){
  .app-item, .interview-item, .opp-item{ flex-wrap:wrap; }
  .app-meta{ text-align:left; width:100%; padding-left:52px; }
  .opp-actions{ flex-direction:row; width:100%; padding-left:52px; }
}

/* Auth pages: error banner (Sign In / Sign Up) — hidden by default,
   only shown once JS adds .show after a real failed attempt. This was
   previously undefined, so the banner's static placeholder text was
   permanently visible to every visitor regardless of outcome. */
.error-banner{
  display:none; background:rgba(185,28,28,0.08); border:1px solid rgba(185,28,28,0.25);
  color:#B91C1C; border-radius:var(--radius); padding:12px 16px; font-size:13px;
  line-height:1.5; margin-bottom:20px;
}
.error-banner.show{ display:block; }

/* Profile section shared chrome: page header, sub-nav tabs, save toast */
.dash-page-head{ margin-bottom:20px; }
.dash-page-head h1{ font-size:24px; color:var(--navy); margin-bottom:6px; }
.dash-page-head p{ font-size:13.5px; color:var(--muted); }

.profile-subnav{
  display:flex; flex-wrap:wrap; gap:4px; border-bottom:1px solid var(--border);
  margin-bottom:24px; padding-bottom:0;
}
.profile-subnav a{
  padding:10px 14px; font-size:13px; font-weight:500; color:var(--muted);
  text-decoration:none; border-bottom:2px solid transparent; margin-bottom:-1px;
  transition:color 180ms var(--ease), border-color 180ms var(--ease);
}
.profile-subnav a:hover{ color:var(--navy); }
.profile-subnav a.active{ color:var(--navy); border-bottom-color:var(--gold); font-weight:600; }

.toast-success{
  display:none; background:rgba(30,138,76,0.08); border:1px solid rgba(30,138,76,0.25);
  color:#1E8A4C; border-radius:var(--radius); padding:12px 16px; font-size:13px;
  line-height:1.5; margin-bottom:20px;
}
.toast-success.show{ display:block; }

/* Profile Overview cards */
.overview-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; }
.overview-card{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:20px;
}
.overview-card-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-bottom:8px; }
.overview-card-head h4{ font-size:14.5px; color:var(--navy); }
.overview-status{
  font-size:10.5px; font-weight:600; padding:3px 9px; border-radius:20px; white-space:nowrap; text-transform:uppercase; letter-spacing:.03em;
}
.overview-status.complete{ background:rgba(30,138,76,0.12); color:#1E8A4C; }
.overview-status.incomplete{ background:rgba(198,161,91,0.18); color:var(--gold-dark); }
.overview-card p{ font-size:12.5px; color:var(--muted); line-height:1.6; margin-bottom:14px; }
.overview-card a{ font-size:12.5px; font-weight:600; color:var(--gold-dark); text-decoration:none; }
.overview-card a:hover{ color:var(--navy); }

/* Documents list */
.doc-row{
  display:flex; align-items:center; gap:14px; padding:16px 0; border-bottom:1px solid var(--border);
}
.doc-row:last-child{ border-bottom:none; }
.doc-icon{
  width:38px; height:38px; border-radius:50%; background:var(--cream);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.doc-info{ flex:1; min-width:0; }
.doc-info h4{ font-size:13.5px; color:var(--navy); margin-bottom:2px; }
.doc-info p{ font-size:12px; color:var(--muted); }
.doc-status{ font-size:11px; font-weight:600; padding:4px 10px; border-radius:20px; white-space:nowrap; flex-shrink:0; }
.doc-status.uploaded{ background:rgba(30,138,76,0.12); color:#1E8A4C; }
.doc-status.missing{ background:var(--cream); color:var(--muted); }
.doc-actions{ display:flex; gap:8px; flex-shrink:0; }
.doc-actions .btn{ padding:8px 14px; font-size:12px; white-space:nowrap; }

@media (max-width:900px){
  .overview-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:600px){
  .overview-grid{ grid-template-columns:1fr; }
  .doc-row{ flex-wrap:wrap; }
  .doc-actions{ width:100%; padding-left:52px; }
}

/* Auth pages: the "Don't have an account? / Remembered it?" line under forms.
   Previously undefined, so it sat unstyled directly under the submit button. */
.auth-switch{ margin-top:18px; text-align:center; font-size:13px; color:var(--muted); line-height:1.7; }
.auth-switch a{ color:var(--gold-dark); font-weight:600; text-decoration:none; }
.auth-switch a:hover{ color:var(--navy); }
