/* ============================================================
   aupair.tw — theme.css
   Bright Future Education · Au Pair vertical (J-1 Au Pair USA)
   Palette: honey + sage + peach + ivory — warm, family, golden-hour
   Distinct from BFE (magenta), brightside (sky), university (violet).
   Light mode only.
   ============================================================ */

:root {
  /* Brand — warm honey + sage */
  --honey:           #E5B14F;
  --honey-deep:      #C8932B;
  --honey-soft:      #F5D89B;
  --honey-mist:      #FBEFD0;

  --peach:           #F4A988;
  --peach-deep:      #E58866;
  --peach-soft:      #FDE5D5;

  --sage:            #88B09F;
  --sage-deep:       #5F8A78;
  --sage-soft:       #DDE9E3;
  --sage-mist:       #EEF4F1;

  --terracotta:      #C66B4D;

  /* Surfaces */
  --ivory:           #FAF5EC;
  --ivory-warm:      #F4ECDC;
  --paper:           #FFFFFF;
  --ink:             #2A2520;
  --ink-soft:        #5C544C;
  --ink-mute:        #8A8278;
  --ink-faint:       rgba(42,37,32,0.40);
  --border:          rgba(42,37,32,0.10);
  --border-strong:   rgba(42,37,32,0.20);

  /* Dark contrast band */
  --dark:            #2A2520;
  --dark-2:          #3A332C;

  /* Gradients */
  --grad-warm:       linear-gradient(135deg, #E5B14F 0%, #F4A988 100%);
  --grad-honey:      linear-gradient(135deg, #F5D89B 0%, #E5B14F 100%);
  --grad-sunrise:    linear-gradient(135deg, #F5D89B 0%, #F4A988 50%, #C66B4D 100%);
  --grad-sage:       linear-gradient(135deg, #DDE9E3 0%, #88B09F 100%);
  --grad-silver:     linear-gradient(180deg, rgba(42,37,32,0.18) 0%, rgba(42,37,32,0.42) 100%);

  /* Shadows */
  --shadow-sm:       0 2px 8px rgba(42,37,32,0.05), 0 1px 2px rgba(42,37,32,0.04);
  --shadow:          0 16px 40px -16px rgba(42,37,32,0.18), 0 4px 12px -4px rgba(42,37,32,0.08);
  --shadow-honey:    0 14px 36px -10px rgba(229,177,79,0.55);
  --shadow-peach:    0 14px 36px -10px rgba(244,169,136,0.50);
  --shadow-sage:     0 14px 36px -10px rgba(136,176,159,0.50);

  /* Typography */
  --font:            'Inter', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --font-display:    'Fraunces', 'Inter', 'Noto Serif TC', Georgia, serif;
  --font-script:     'Caveat', 'Brush Script MT', cursive;

  /* Radii */
  --radius-sm:       10px;
  --radius-md:       18px;
  --radius-lg:       28px;
  --radius-xl:       40px;
  --radius-pill:     999px;

  --space-xl:        88px;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--honey-deep); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--terracotta); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: var(--ink);
}
h1 { font-size: clamp(48px, 7.5vw, 92px); letter-spacing: -0.035em; }
h2 { font-size: clamp(34px, 4.8vw, 56px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); }

p { color: var(--ink-soft); }

/* ============================================================
   Shader background stack — warm honey/peach/sage tones
   ============================================================ */

.mesh {
  position: fixed; inset: -15%; z-index: 0;
  pointer-events: none; opacity: 0.45;
  filter: blur(100px) saturate(135%);
  animation: hueShift 42s ease-in-out infinite;
}
.blob { position: absolute; border-radius: 50%; mix-blend-mode: screen; opacity: 0.38; }
.b1 { width: 60vw; height: 60vw; background: radial-gradient(circle, var(--honey) 0%, transparent 60%); top: -14%; left: -14%; animation: drift 32s ease-in-out infinite; }
.b2 { width: 56vw; height: 56vw; background: radial-gradient(circle, var(--peach) 0%, transparent 60%); top: 12%; right: -16%; animation: drift 38s ease-in-out infinite reverse; }
.b3 { width: 60vw; height: 60vw; background: radial-gradient(circle, var(--sage) 0%, transparent 65%); bottom: -22%; left: 18%; animation: drift 36s ease-in-out infinite; opacity: 0.30; }
.b4 { width: 44vw; height: 44vw; background: radial-gradient(circle, var(--terracotta) 0%, transparent 60%); bottom: 5%; right: 4%; animation: drift 42s ease-in-out infinite reverse; opacity: 0.22; }
.b5 { width: 38vw; height: 38vw; background: radial-gradient(circle, var(--honey-soft) 0%, transparent 60%); top: 42%; left: 38%; animation: drift 40s ease-in-out infinite; opacity: 0.25; }

@keyframes drift {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(6%,-4%) scale(1.10); }
  66% { transform: translate(-5%,6%) scale(0.95); }
}
@keyframes hueShift {
  0%, 100% { filter: blur(100px) saturate(135%) hue-rotate(0deg); }
  50% { filter: blur(100px) saturate(150%) hue-rotate(-12deg); }
}

.conic-nebula {
  position: fixed; inset: -30%; z-index: 0; pointer-events: none;
  background: conic-gradient(
    from 0deg at 50% 50%,
    rgba(229,177,79,0.10) 0deg,
    rgba(244,169,136,0.08) 90deg,
    rgba(136,176,159,0.08) 180deg,
    rgba(229,177,79,0.10) 360deg
  );
  filter: blur(80px) saturate(130%);
  animation: spinSlow 95s linear infinite;
  mix-blend-mode: screen; opacity: 0.50;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='180' height='180' filter='url(%23n)' opacity='1'/></svg>");
}

.particles { position: fixed; inset: 0; z-index: 2; pointer-events: none; }
.spark {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  opacity: 0; animation: rise linear infinite; mix-blend-mode: screen;
}
@keyframes rise {
  0% { transform: translateY(110vh) scale(0.5); opacity: 0; }
  10% { opacity: 0.45; }
  90% { opacity: 0.40; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.cursor-halo {
  position: fixed; left: 0; top: 0; z-index: 2; pointer-events: none;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(229,177,79,0.22), transparent 65%);
  filter: blur(48px);
  transform: translate(-9999px,-9999px);
  transition: opacity 0.35s;
  mix-blend-mode: screen; opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  body.has-cursor .cursor-halo { opacity: 1; }
}

/* Sun-ray rotating layer behind hero */
.sunrays {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.18;
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg, var(--honey) 8deg, transparent 16deg,
    transparent 45deg, var(--honey) 53deg, transparent 61deg,
    transparent 90deg, var(--honey) 98deg, transparent 106deg,
    transparent 135deg, var(--peach) 143deg, transparent 151deg,
    transparent 180deg, var(--honey) 188deg, transparent 196deg,
    transparent 225deg, var(--peach) 233deg, transparent 241deg,
    transparent 270deg, var(--honey) 278deg, transparent 286deg,
    transparent 315deg, var(--honey) 323deg, transparent 331deg
  );
  filter: blur(2px);
  animation: spinSlow 180s linear infinite;
}

/* ============================================================
   Layout primitives
   ============================================================ */

.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 3; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 3; }

.section { padding: 96px 0; position: relative; }
.section-tight { padding: 60px 0; position: relative; }

.eyebrow {
  display: inline-block;
  font-family: var(--font);
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--honey-deep);
  margin-bottom: 14px;
}

.gr-text {
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gr-text-sunrise {
  background: var(--grad-sunrise);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 9s ease-in-out infinite;
}
.gr-silver {
  background: var(--grad-silver);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gr-sage { color: var(--sage-deep); }
.gr-honey { color: var(--honey-deep); }
@keyframes gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* Script accent — used for "au pair" cursive overlay */
.script-accent {
  font-family: var(--font-script);
  font-weight: 600;
  font-style: italic;
  color: var(--terracotta);
  letter-spacing: -0.01em;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 15px; font-weight: 700;
  cursor: pointer; border: 0;
  transition: all 0.2s cubic-bezier(0.34, 1.32, 0.64, 1);
  text-decoration: none; line-height: 1;
}
.btn-primary {
  background: var(--honey); color: var(--ink);
  box-shadow: var(--shadow-honey);
}
.btn-primary:hover {
  background: var(--honey-deep);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: 0 22px 50px -10px rgba(200,147,43,0.70);
}
.btn-peach {
  background: var(--peach); color: #fff;
  box-shadow: var(--shadow-peach);
}
.btn-peach:hover {
  background: var(--peach-deep);
  transform: translateY(-2px);
  color: #fff;
}
.btn-sage {
  background: var(--sage); color: #fff;
  box-shadow: var(--shadow-sage);
}
.btn-sage:hover {
  background: var(--sage-deep);
  transform: translateY(-2px); color: #fff;
}
.btn-outline {
  background: rgba(255,255,255,0.55);
  color: var(--ink);
  border: 1.5px solid var(--border-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: var(--ink); color: var(--ivory);
  border-color: var(--ink);
}
.btn-arrow { padding-right: 8px; }
.btn-arrow .arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.30);
  border-radius: 50%; font-size: 14px;
  transition: transform 0.2s;
}
.btn-arrow:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Glass cards
   ============================================================ */

.glass {
  background: linear-gradient(160deg, rgba(255,255,255,0.85), rgba(255,255,255,0.65));
  border: 1px solid var(--border);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 30px -16px rgba(42,37,32,0.18), inset 0 1px 0 rgba(255,255,255,0.50);
  transition: transform 0.25s cubic-bezier(0.34,1.32,0.64,1), border-color 0.2s, box-shadow 0.25s;
}
.glass:hover {
  transform: translateY(-3px);
  border-color: var(--honey);
  box-shadow: 0 22px 44px -14px rgba(42,37,32,0.30), 0 0 0 1px rgba(229,177,79,0.40);
}

/* ============================================================
   Topbar
   ============================================================ */

.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 236, 0.78);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  max-width: 1320px; margin: 0 auto;
}
.brand {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink); line-height: 1;
}
.brand .script {
  font-family: var(--font-script);
  font-size: 44px;
  font-weight: 600;
  color: var(--terracotta);
  margin-right: 2px;
  line-height: 0.85;
  letter-spacing: -0.01em;
}
.brand-zh {
  font-family: var(--font);
  font-size: 12px; font-weight: 700;
  color: var(--ink-mute);
  letter-spacing: 0.10em;
  margin-left: 4px;
  text-transform: uppercase;
}
.topbar-nav { display: flex; align-items: center; gap: 4px; }
.topbar-nav a {
  font-size: 14px; font-weight: 600;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.15s;
}
.topbar-nav a:hover {
  background: var(--honey-soft);
  color: var(--honey-deep);
}
.topbar-cta {
  background: var(--honey) !important;
  color: var(--ink) !important;
  padding: 9px 18px !important;
  font-weight: 800 !important;
  box-shadow: var(--shadow-honey);
}
.topbar-cta:hover {
  background: var(--terracotta) !important;
  color: var(--ivory) !important;
  box-shadow: 0 14px 30px -10px rgba(198,107,77,0.55);
}
@media (max-width: 800px) {
  .topbar-nav a:not(.topbar-cta) { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  padding: 88px 0 100px;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 56px; align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero h1 {
  max-width: 700px; margin-bottom: 28px;
}
.hero h1 .accent {
  display: inline-block; transform: rotate(-3deg);
  margin: 0 4px;
}
.hero-sub {
  max-width: 580px; font-size: clamp(17px, 1.6vw, 19px);
  color: var(--ink-soft); line-height: 1.75;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero visual — circular photo with sunray rotator */
.hero-visual {
  position: relative; aspect-ratio: 1 / 1;
  max-width: 460px; margin-left: auto;
}
.hero-photo {
  position: relative; z-index: 2;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, var(--honey-soft) 0%, var(--peach) 60%, var(--terracotta) 100%);
  box-shadow:
    0 30px 80px -20px rgba(42,37,32,0.40),
    0 0 0 8px rgba(255,255,255,0.40),
    0 0 0 9px rgba(229,177,79,0.30);
}
.hero-photo img {
  position: relative; z-index: 1;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 12s ease-out;
}
.hero-visual:hover .hero-photo img { transform: scale(1.08); }
.hero-badge {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--paper);
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sage); flex: none;
  box-shadow: 0 0 0 4px rgba(136,176,159,0.30);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(136,176,159,0.30); }
  50%      { box-shadow: 0 0 0 8px rgba(136,176,159,0.10); }
}
.hero-badge.tl { top: 8%; left: -4%; }
.hero-badge.br { bottom: 8%; right: -4%; background: var(--honey-soft); color: var(--honey-deep); }
.hero-badge.br .dot { background: var(--honey-deep); box-shadow: 0 0 0 4px rgba(200,147,43,0.30); }

@media (max-width: 980px) { .hero-visual { margin: 0 auto; max-width: 360px; } }

/* Hero stats */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 28px; margin-top: 72px; padding-top: 36px;
  border-top: 1px solid var(--border);
  position: relative; z-index: 3;
}
@media (max-width: 820px) { .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.stat { padding: 0 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 50px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1;
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 13px; font-weight: 600;
  color: var(--ink-soft);
  margin-top: 8px; letter-spacing: 0.04em; line-height: 1.4;
}

/* ============================================================
   Marquee — scrolling banner of host-family states
   ============================================================ */

.marquee {
  background: var(--ink);
  color: var(--ivory);
  padding: 18px 0; overflow: hidden;
  position: relative; z-index: 3;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.marquee-track {
  display: flex; gap: 40px;
  animation: scroll-marq 40s linear infinite;
  width: max-content;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 600;
  letter-spacing: 0.03em; white-space: nowrap;
}
.marquee-item .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--honey);
}
@keyframes scroll-marq {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   Countries grid — 11 destinations
   ============================================================ */

.countries-band {
  background:
    radial-gradient(circle at 20% 30%, var(--honey-mist) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, var(--sage-mist) 0%, transparent 55%),
    var(--ivory);
  padding: 96px 0;
}

.countries-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1100px) { .countries-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .countries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .countries-grid { grid-template-columns: 1fr; } }

.country-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-sm);
  background: var(--ink);
  transition: transform 0.3s cubic-bezier(0.34, 1.32, 0.64, 1), box-shadow 0.3s;
  text-decoration: none;
  display: block;
}
.country-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.country-card .photo {
  position: absolute; inset: 0; z-index: 0;
}
.country-card .photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 8s ease-out;
}
.country-card:hover .photo img { transform: scale(1.10); }
.country-card .photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(42,37,32,0.75) 100%);
}
.country-card .label {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 22px 22px 20px;
  color: #fff;
}
.country-card .flag {
  font-size: 28px; line-height: 1; margin-bottom: 6px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.30));
}
.country-card h3 {
  color: #fff; font-size: 22px;
  margin: 0 0 2px; letter-spacing: -0.01em;
}
.country-card .en {
  font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.10em; text-transform: uppercase;
}
.country-card .tag-flagship {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: var(--honey); color: var(--ink);
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(229,177,79,0.40);
}

/* ============================================================
   Programs tier comparison — 5 program cards
   ============================================================ */

.tiers-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .tiers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tiers-grid { grid-template-columns: 1fr; } }
.tier-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform 0.3s cubic-bezier(0.34, 1.32, 0.64, 1), box-shadow 0.3s, border-color 0.2s;
  display: flex; flex-direction: column;
}
.tier-card:hover {
  transform: translateY(-4px);
  border-color: var(--honey);
  box-shadow: var(--shadow);
}
.tier-card .tier-head {
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--honey-deep); margin-bottom: 8px;
}
.tier-card h3 {
  font-size: 20px; line-height: 1.25;
  margin-bottom: 14px;
}
.tier-card .tier-en {
  font-size: 12px; font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: 0.05em; margin-bottom: 14px;
}
.tier-card p {
  font-size: 14px; line-height: 1.7;
  color: var(--ink-soft); margin-bottom: 18px; flex: 1;
}
.tier-card .tier-meta {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto;
}
.tier-card .tier-meta span {
  display: inline-block;
  padding: 4px 10px; font-size: 12px; font-weight: 700;
  background: var(--honey-mist); color: var(--honey-deep);
  border-radius: var(--radius-pill);
}
.tier-card.featured {
  background: linear-gradient(160deg, var(--honey-mist) 0%, var(--peach-soft) 100%);
  border-color: var(--honey);
}
.tier-card.featured::before {
  content: 'FLAGSHIP'; position: absolute; top: -10px; right: 20px;
  background: var(--ink); color: var(--honey);
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.15em;
  padding: 4px 12px; border-radius: var(--radius-pill);
}

/* ============================================================
   Stories — testimonial wall
   ============================================================ */

.stories-band {
  background: var(--dark); color: #fff;
  padding: 100px 0;
  position: relative; overflow: hidden;
  z-index: 3;
}
.stories-band::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(229,177,79,0.25), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(244,169,136,0.20), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(136,176,159,0.12), transparent 60%);
}
.stories-band .container { position: relative; z-index: 1; }
.stories-band h2 { color: #fff; }
.stories-band .section-header {
  margin-bottom: 56px;
}
.stories-band .section-header-link {
  color: var(--honey-soft);
  border-bottom-color: var(--honey);
}

.stories-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .stories-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .stories-grid { grid-template-columns: 1fr; } }
.story-card {
  position: relative;
  padding: 32px 28px 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  transition: transform 0.3s cubic-bezier(0.34,1.32,0.64,1), border-color 0.2s;
}
.story-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229,177,79,0.40);
}
.story-card .quote-mark {
  position: absolute; top: 12px; right: 22px;
  font-family: var(--font-display);
  font-size: 80px; font-weight: 900;
  color: var(--honey); opacity: 0.30;
  line-height: 0.7;
}
.story-card .quote {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 500;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 24px;
}
.story-card .byline {
  display: flex; align-items: center; gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.story-card .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-warm);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  color: var(--ink); flex: none;
}
.story-card .name {
  font-size: 14px; font-weight: 800; color: #fff;
  line-height: 1.2;
}
.story-card .school {
  font-size: 12px; color: rgba(255,255,255,0.65);
  margin-top: 2px;
}
.story-card .destination {
  display: inline-block;
  padding: 3px 10px; margin-top: 6px;
  background: rgba(229,177,79,0.20);
  color: var(--honey-soft);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: var(--radius-pill);
}

/* Alumni schools — small chips strip */
.school-strip {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin-top: 56px;
  max-width: 880px; margin-left: auto; margin-right: auto;
}
.school-chip {
  font-size: 12px; font-weight: 600;
  padding: 6px 12px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

/* ============================================================
   Benefits — 4-card bento with photo on big card
   ============================================================ */

.benefits-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 20px; grid-auto-rows: minmax(260px, auto);
}
@media (max-width: 980px) { .benefits-grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 640px) { .benefits-grid { grid-template-columns: 1fr; } }

.bcard {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.34, 1.32, 0.64, 1);
}
.bcard:hover { transform: translateY(-4px); }
.bcard.span-big  { grid-column: span 7; min-height: 380px; }
.bcard.span-med  { grid-column: span 5; }
.bcard.span-small { grid-column: span 4; }
.bcard.span-third { grid-column: span 4; }
@media (max-width: 980px) {
  .bcard.span-big   { grid-column: 1 / -1; }
  .bcard.span-med   { grid-column: 1 / -1; }
  .bcard.span-small { grid-column: span 3; }
  .bcard.span-third { grid-column: span 3; }
}
@media (max-width: 640px) {
  .bcard.span-small, .bcard.span-third { grid-column: 1 / -1; }
}
.bcard-honey {
  background: linear-gradient(135deg, var(--honey-mist) 0%, var(--honey-soft) 100%);
  border: 1px solid var(--honey-soft);
}
.bcard-sage {
  background: linear-gradient(135deg, var(--sage-mist) 0%, var(--sage-soft) 100%);
  border: 1px solid var(--sage-soft);
}
.bcard-peach {
  background: linear-gradient(135deg, var(--peach-soft) 0%, #FFEBDF 100%);
  border: 1px solid var(--peach-soft);
}
.bcard-photo {
  position: relative; color: #fff;
  background: var(--ink);
  min-height: 380px;
}
.bcard-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: 0;
}
.bcard-photo::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, transparent 30%, rgba(42,37,32,0.65) 100%);
}
.bcard-photo > * { position: relative; z-index: 2; }
.bcard-photo h3 { color: #fff; }
.bcard-photo p  { color: rgba(255,255,255,0.85); }
.bcard-dark {
  background: var(--ink); color: #fff;
  position: relative; overflow: hidden;
}
.bcard-dark::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(229,177,79,0.30), transparent 60%);
}
.bcard-dark > * { position: relative; z-index: 1; }
.bcard-dark h3 { color: #fff; }
.bcard-dark p  { color: rgba(255,255,255,0.80); }

.bcard .icon { font-size: 40px; line-height: 1; margin-bottom: 18px; }
.bcard .meta {
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 8px;
}
.bcard-dark .meta, .bcard-photo .meta { color: rgba(255,255,255,0.65); }
.bcard h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 10px; }
.bcard p  { font-size: 14.5px; line-height: 1.7; }

/* ============================================================
   Section header
   ============================================================ */

.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 44px; flex-wrap: wrap;
}
.section-header h2 { max-width: 720px; margin: 0; }
.section-header-link {
  font-size: 14px; font-weight: 700; color: var(--honey-deep);
  border-bottom: 1.5px dashed var(--honey);
  padding-bottom: 2px;
}
.section-header-link:hover { color: var(--terracotta); border-color: var(--terracotta); }

/* ============================================================
   Eligibility checklist — 2-col w/ animated check
   ============================================================ */

.elig-band {
  background:
    radial-gradient(circle at 20% 30%, var(--honey-mist) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, var(--sage-mist) 0%, transparent 55%),
    var(--ivory-warm);
  padding: 96px 0;
}
.elig-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
}
@media (max-width: 720px) { .elig-grid { grid-template-columns: 1fr; } }
.elig-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-bottom: 1px dashed var(--border);
}
.elig-check {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--sage); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900; flex: none;
  box-shadow: 0 4px 12px rgba(95,138,120,0.30);
}
.elig-text {
  font-size: 15.5px; font-weight: 600;
  color: var(--ink); line-height: 1.5;
}
.elig-text small {
  display: block; font-size: 13px; font-weight: 500;
  color: var(--ink-soft); margin-top: 2px;
}

/* ============================================================
   Timeline — process steps
   ============================================================ */

.timeline {
  position: relative;
  padding-left: 56px;
}
.timeline::before {
  content: ''; position: absolute;
  left: 22px; top: 12px; bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--honey) 0%, var(--peach) 50%, var(--sage) 100%);
  border-radius: 1px;
}
.tstep {
  position: relative;
  margin-bottom: 36px;
}
.tstep:last-child { margin-bottom: 0; }
.tstep::before {
  content: ''; position: absolute;
  left: -41px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--honey);
  box-shadow: 0 0 0 4px rgba(229,177,79,0.20);
}
.tstep .num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  color: var(--honey-deep);
  letter-spacing: 0.10em; margin-bottom: 6px;
  text-transform: uppercase;
}
.tstep h3 { font-size: 22px; margin-bottom: 8px; }
.tstep p {
  font-size: 15px; line-height: 1.7;
  color: var(--ink-soft); max-width: 620px;
}

/* ============================================================
   FAQ — accordion-feel collapsible details
   ============================================================ */

.faq-item {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; cursor: pointer;
  font-size: 17px; font-weight: 700;
  color: var(--ink);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '＋'; flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--honey-soft); color: var(--honey-deep);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900;
  transition: all 0.2s;
}
.faq-item[open] summary::after {
  content: '−';
  background: var(--honey);
  color: var(--paper);
  transform: rotate(180deg);
}
.faq-item p {
  margin-top: 14px;
  font-size: 15px; line-height: 1.75;
  color: var(--ink-soft);
}

/* ============================================================
   CTA band
   ============================================================ */

.cta-band {
  padding: 96px 0; text-align: center;
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 30% 40%, var(--honey-mist) 0%, transparent 55%),
    radial-gradient(circle at 70% 60%, var(--peach-soft) 0%, transparent 55%),
    var(--ivory);
}
.cta-band h2 { margin-bottom: 18px; }
.cta-band p {
  max-width: 620px; margin: 0 auto 36px;
  font-size: 17px; color: var(--ink-soft); line-height: 1.7;
}
.cta-ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   Footer — BFE credibility row + standard sitemap
   ============================================================ */

footer {
  background: var(--dark);
  color: rgba(255,255,255,0.85);
  padding: 80px 0 32px;
  position: relative; z-index: 4;
  overflow: hidden;
}
footer::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(229,177,79,0.18), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(244,169,136,0.10), transparent 50%);
}
.footer-bfe {
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  padding: 24px 0; margin-bottom: 48px;
  position: relative; z-index: 1;
}
.footer-bfe-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  font-size: 14px; color: rgba(255,255,255,0.70);
}
.footer-bfe-inner strong { color: #fff; font-weight: 800; }
.footer-bfe a {
  color: var(--honey-soft); font-weight: 700;
  border-bottom: 1px dashed var(--honey);
  padding-bottom: 1px;
}
.footer-bfe a:hover { color: #fff; border-color: #fff; }

footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px; margin-bottom: 32px;
  position: relative; z-index: 1;
}
@media (max-width: 800px) { footer .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
footer h4 {
  color: #fff; font-size: 12px; font-weight: 800;
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 16px;
}
footer a {
  color: rgba(255,255,255,0.72);
  display: block; padding: 4px 0; font-size: 14px;
  border: 0;
}
footer a:hover { color: var(--honey); }
footer .brand {
  color: #fff;
}
footer .brand-zh { color: rgba(255,255,255,0.55); }
footer .brand-tag {
  font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.7;
  max-width: 320px; margin-top: 10px;
}
.social-row {
  display: flex; gap: 10px; margin-top: 18px;
}
.social-row a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0;
  background: rgba(255,255,255,0.08);
  border-radius: 50%; font-size: 14px;
  font-weight: 700;
  transition: all 0.18s;
}
.social-row a:hover {
  background: var(--honey); color: var(--ink);
  transform: translateY(-2px);
}
footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 20px; text-align: center;
  font-size: 12px; color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  position: relative; z-index: 1;
}

/* Floating apply FAB (mobile) */
.apply-fab {
  position: fixed; bottom: 20px; right: 20px; z-index: 50;
  display: none;
}
@media (max-width: 800px) {
  .apply-fab { display: inline-flex; }
}

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
  }
  .reveal.in { opacity: 1; transform: none; }
}
