/* ============================================================
   KING MONGKUT CONNEXT — Premium Modern Design
   ============================================================ */

@font-face {
  font-family: "LINESeedSansTH";
  src: url("../fonts/LINESeedSansTH.ttf") format("truetype"),
    url("../fonts/LINESeedSansTH_Rg.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

/* ── Variables ──────────────────────────────────────────── */
:root {
  --primary:      #583826;
  --secondary:    #ffb51e;
  --gold-dark:    #d78500;
  --white:        #ffffff;
  --dark:         #160c00;
  --cream:        #fff7f2;
  --glass-bg:     rgba(255, 255, 255, 0.78);
  --glass-border: rgba(88, 56, 38, 0.18);
  --shadow-sm:    0 4px 16px rgba(88, 56, 38, 0.12);
  --shadow-md:    0 12px 32px rgba(88, 56, 38, 0.18);
  --shadow-lg:    0 24px 56px rgba(88, 56, 38, 0.22);
  --radius-pill:  999px;
  --radius-lg:    1.4rem;
  --radius-md:    1rem;
  --container:    min(1160px, calc(100vw - 2.4rem));
  --ease-out:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

img, svg, video, canvas, iframe { max-width: 100%; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100dvh;
  font-family: "LINESeedSansTH", sans-serif;
  color: var(--primary);
  background: var(--cream);
  position: relative;
  overflow-x: hidden;
}

/* Full-page background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(160deg,
      rgba(255, 255, 255, 0.68) 0%,
      rgba(255, 241, 230, 0.78) 45%,
      rgba(255, 255, 255, 0.7)  100%),
    url("../images/bg.png") center / cover no-repeat;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 8%  14%, rgba(255, 181, 30, 0.22)  0%, transparent 38%),
    radial-gradient(ellipse at 92% 20%, rgba(241, 190, 174, 0.28) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 90%, rgba(88,  56,  38,  0.10) 0%, transparent 42%);
  z-index: -1;
  pointer-events: none;
}

a { color: inherit; }

/* ── Accessibility ──────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: .5rem; top: -4rem;
  background: var(--secondary);
  color: var(--dark);
  padding: .5rem .8rem;
  border-radius: .4rem;
  z-index: 1400;
  font-weight: 700;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: .5rem; }

.btn:focus-visible, a:focus-visible {
  outline: 2.5px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Header / Nav ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: .8rem 1rem;
  transition: padding .3s var(--ease-out);
}

.glass-nav {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 1rem .55rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md), 0 1px 0 rgba(255,255,255,.9) inset;
}

/* Brand logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  flex-shrink: 0;
}
.brand-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
}

/* Site name */
.site-name {
  margin: 0;
  color: var(--primary);
  font-size: clamp(.88rem, 1.5vw, 1.05rem);
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
}

/* Nav links */
.nav-center {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(.7rem, 1.8vw, 1.3rem);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(.4rem, 1.4vw, .9rem);
  margin-left: auto;
}
.nav-link {
  position: relative;
  color: var(--primary);
  text-decoration: none;
  font-size: clamp(.78rem, 1.25vw, .9rem);
  font-weight: 600;
  padding: .25rem .1rem;
  transition: color .25s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 0; height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: width .3s var(--ease-out);
}
.nav-link:hover,
.nav-link[aria-current] { color: var(--gold-dark); }
.nav-link:hover::after,
.nav-link[aria-current]::after { width: 100%; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  appearance: none;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  padding: .7rem 1.4rem;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .02em;
  transition:
    transform    .28s var(--ease-out),
    box-shadow   .28s var(--ease-out),
    background   .25s,
    color        .25s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #3e2310 100%);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(88, 56, 38, .35);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--gold-dark) 0%, #b86c00 100%);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(215, 133, 0, .38);
}
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Sections ───────────────────────────────────────────── */
.section {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(1.8rem, 3.8vw, 3.4rem) 0;
}

/* Section heading style */
.section-title {
  margin: 0 0 .35rem;
  text-align: center;
  color: var(--primary);
  font-size: clamp(1.4rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.15;
}
.section-title-wrap {
  text-align: center;
  /* margin-bottom: clamp(1.4rem, 3vw, 2.2rem); */
}
.section-title-wrap .section-title { margin-bottom: .6rem; }
.section-accent {
  display: inline-block;
  width: 52px; height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--gold-dark));
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: calc(100dvh - 88px);
  display: grid;
  place-items: center;
}
.hero.section {
  width: 100%;
  max-width: none;
  padding: 0;
}
.hero-content {
  display: grid;
  justify-items: center;
  width: 100%;
  height: 100%;
}
.hero-poster-frame {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: var(--cream);
}
.hero-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
/* Subtle bottom fade for hero */
.hero-poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      transparent 60%,
      rgba(255, 247, 242, .45) 100%);
  pointer-events: none;
}

/* Scroll indicator */
.hero-scroll-cue {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  z-index: 2;
  opacity: .65;
  animation: scrollCue 2.4s ease-in-out infinite;
}
.hero-scroll-cue span {
  display: block;
  width: 22px; height: 34px;
  border: 2px solid var(--primary);
  border-radius: 11px;
  position: relative;
}
.hero-scroll-cue span::before {
  content: "";
  position: absolute;
  left: 50%; top: 5px;
  width: 4px; height: 7px;
  background: var(--primary);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 2.4s ease-in-out infinite;
}
@keyframes scrollCue {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}
@keyframes scrollDot {
  0%, 100% { top: 5px; opacity: 1; }
  80%       { top: 18px; opacity: 0; }
}

/* CTA buttons below the hero */
.hero-actions {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(1.4rem, 3.5vw, 2.2rem) 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
}
.hero-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  max-width: 320px;
  text-align: center;
  padding: clamp(.85rem, 2.6vw, 1.26rem) clamp(1.6rem, 4.6vw, 2.52rem);
  font-size: clamp(1.05rem, 3vw, 1.66rem);
}

/* ── Section inner layout ───────────────────────────────── */
.section-inner {
  display: grid;
  gap: 1.4rem;
}
.section-inner.narrow {
  max-width: 960px;
  margin: 0 auto;
}

/* ── Media cards (image + video) ────────────────────────── */
.media-card {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(88, 56, 38, .12);
  background: rgba(255, 255, 255, .85);
  box-shadow: var(--shadow-md);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.media-card img {
  display: block;
  width: 100%; height: auto;
}
.image-hover img {
  transition: transform .5s var(--ease-out);
}
.image-hover:hover { box-shadow: var(--shadow-lg); }
.image-hover:hover img { transform: scale(1.02); }

/* ── Course Schedule Calendar ────────────────────────────── */
.course-calendar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 3vw, 2.2rem);
}
.cal-card {
  border: 2px solid #f5821f;
  border-radius: 26px;
  padding: clamp(1.1rem, 2.6vw, 1.9rem) clamp(1.2rem, 3vw, 2.1rem) clamp(1.4rem, 3vw, 2.3rem);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.cal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.cal-title {
  text-align: center;
  color: #14324a;
  font-weight: 800;
  font-size: clamp(1.15rem, 2.6vw, 1.9rem);
  letter-spacing: .12em;
  margin: 0 0 clamp(.8rem, 2vw, 1.4rem);
  font-family: "Montserrat", "LINESeedSansTH", sans-serif;
}
.cal-weekday-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: .4rem;
}
.cal-weekday {
  text-align: center;
  font-weight: 700;
  font-size: clamp(.78rem, 1.6vw, 1.2rem);
  letter-spacing: .04em;
  color: #14324a;
  font-family: "Montserrat", "LINESeedSansTH", sans-serif;
}
.cal-weekday.sun { color: #ef4e23; }
.cal-divider {
  border-bottom: 2px solid #8a8f94;
  margin: .25rem 0 .75rem;
}
.cal-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: clamp(.3rem, 1vw, .5rem);
}
.cal-day {
  height: clamp(2rem, 5vw, 2.9rem);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(.85rem, 1.8vw, 1.3rem);
  font-family: "Montserrat", "LINESeedSansTH", sans-serif;
}
.cal-day .cal-num { color: #2c3e4e; font-weight: 600; }
.cal-day.sun .cal-num { color: #ef4e23; font-weight: 700; }
.cal-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(1.8rem, 4.4vw, 2.65rem);
  height: clamp(1.8rem, 4.4vw, 2.65rem);
  border-radius: .7rem;
  background: linear-gradient(145deg, #fbb13c 0%, #f79420 42%, #ef4e23 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 9px rgba(239, 78, 35, .32);
  cursor: default;
  transition: transform .25s var(--ease-out);
  animation: calPulse 2.6s ease-in-out infinite;
}
.cal-badge:hover { transform: scale(1.15); }

@keyframes calPulse {
  0%, 100% { box-shadow: 0 4px 9px rgba(239, 78, 35, .32); }
  50%       { box-shadow: 0 4px 16px rgba(239, 78, 35, .55), 0 0 0 5px rgba(239, 78, 35, .14); }
}

.cal-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  margin: clamp(1.2rem, 3vw, 1.8rem) 0 0;
  font-size: .85rem;
  font-weight: 600;
  color: #7a5535;
}
.cal-legend-dot {
  width: 14px; height: 14px;
  flex-shrink: 0;
  border-radius: 4px;
  background: linear-gradient(145deg, #fbb13c 0%, #f79420 42%, #ef4e23 100%);
  box-shadow: 0 2px 6px rgba(239, 78, 35, .35);
}

@media (max-width: 767.98px) {
  .course-calendar { grid-template-columns: 1fr; }
}

.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.video-wrap iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}

/* ── Shared icon badge ──────────────────────────────────── */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--gold-dark));
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.icon-badge .icon,
.perk-list .icon { width: 22px; height: 22px; }

/* ── Stat strip ─────────────────────────────────────────── */
.stat-strip-section { padding-top: clamp(1.2rem, 3vw, 2rem); padding-bottom: clamp(1.2rem, 3vw, 2rem); }
.stat-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .5rem;
  padding: 1.3rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.stat-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-value { font-weight: 800; font-size: 1rem; color: var(--primary); }
.stat-label { font-size: .78rem; color: #7a5535; }

/* ── Feature grid (Why choose) ──────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.feature-card {
  position: relative;
  padding: clamp(1.3rem, 2.8vw, 1.8rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(88, 56, 38, .14);
  background: linear-gradient(145deg, rgba(255, 255, 255, .88) 0%, rgba(255, 240, 220, .55) 100%);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card .icon-badge { margin-bottom: .9rem; }
.feature-card h3 {
  margin: 0 0 .5rem;
  color: var(--primary);
  font-size: clamp(1rem, 1.9vw, 1.2rem);
  font-weight: 800;
}
.feature-card p {
  margin: 0;
  color: #7a5535;
  line-height: 1.8;
  font-size: clamp(.88rem, 1.5vw, .98rem);
}

/* ── Curriculum accordion ───────────────────────────────── */
.curriculum-intro {
  max-width: 760px;
  margin: .6rem auto 0;
  text-align: center;
  color: #7a5535;
  line-height: 1.8;
  font-size: clamp(.9rem, 1.6vw, 1.02rem);
}
.curriculum-list {
  display: grid;
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
}
.curriculum-item {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(88, 56, 38, .14);
  background: rgba(255, 255, 255, .85);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .3s var(--ease-out);
}
.curriculum-item[open] { box-shadow: var(--shadow-md); }
.curriculum-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  -webkit-tap-highlight-color: transparent;
}
.curriculum-item summary::-webkit-details-marker { display: none; }
.curriculum-item summary::marker { content: ""; }
.module-badge {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--gold-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.02rem;
  box-shadow: var(--shadow-sm);
}
.module-titles { flex: 1; min-width: 0; display: grid; gap: .1rem; }
.module-titles h3 {
  margin: 0;
  font-size: clamp(.96rem, 1.8vw, 1.12rem);
  font-weight: 800;
  color: var(--primary);
}
.module-titles span {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold-dark);
}
.chevron {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--primary);
  transition: transform .3s var(--ease-out);
}
.curriculum-item[open] .chevron { transform: rotate(180deg); }
.curriculum-body {
  padding: 0 1.3rem 1.3rem;
  display: grid;
  gap: .7rem;
}
@media (min-width: 640px) {
  .curriculum-body { grid-template-columns: 1fr 1fr; }
}
.topic-chip {
  background: rgba(255, 240, 220, .5);
  border: 1px solid rgba(88, 56, 38, .1);
  border-radius: var(--radius-md);
  padding: .85rem 1rem;
}
.topic-chip strong {
  display: block;
  color: var(--primary);
  font-size: .9rem;
  margin-bottom: .3rem;
}
.topic-chip p {
  margin: 0;
  color: #7a5535;
  font-size: .84rem;
  line-height: 1.7;
}

/* ── Pricing card ────────────────────────────────────────── */
.pricing-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(88, 56, 38, .14);
  background: linear-gradient(145deg, rgba(255, 255, 255, .92) 0%, rgba(255, 240, 220, .6) 100%);
  box-shadow: var(--shadow-md);
}
.seats-badge {
  display: inline-block;
  margin-bottom: 1.2rem;
  padding: .45rem 1.1rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--primary) 0%, #3e2310 100%);
  color: var(--white);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .03em;
}
.price-tag {
  margin: 0;
  font-size: clamp(2.1rem, 6vw, 3.1rem);
  font-weight: 800;
  color: var(--gold-dark);
  line-height: 1.1;
}
.price-tag small {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}
.price-sub { margin: .3rem 0 1.5rem; color: #7a5535; font-weight: 600; }
.perk-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin: 0 0 1.7rem;
  padding: 0;
  list-style: none;
}
.perk-list li {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(88, 56, 38, .14);
  padding: .5rem .95rem;
  border-radius: var(--radius-pill);
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary);
}
.pricing-note {
  margin: 1.5rem auto 0;
  max-width: 520px;
  font-size: .8rem;
  color: #7a5535;
  line-height: 1.8;
}

/* ── Floating CTA ────────────────────────────────────────── */
.floating-cta {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1200;
  opacity: 0;
  transform: translateY(16px) scale(.92);
  pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.floating-cta.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ── Executive Experience ───────────────────────────────── */
.executive-section { padding-bottom: clamp(1.2rem, 3vw, 2rem); }

.executive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.executive-card {
  position: relative;
  padding: clamp(1.3rem, 2.8vw, 2rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(88, 56, 38, .14);
  background: linear-gradient(145deg,
    rgba(255, 255, 255, .88) 0%,
    rgba(255, 240, 220, .55) 100%);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.executive-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--secondary), var(--gold-dark));
  border-radius: 4px 0 0 4px;
}
.executive-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.executive-card h3 {
  margin: 0 0 .65rem;
  color: var(--primary);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 800;
}
.executive-card p {
  margin: 0;
  color: #7a5535;
  line-height: 1.8;
  font-size: clamp(.92rem, 1.6vw, 1.1rem);
}

/* ── CEO Talk ───────────────────────────────────────────── */
.ceo-talk-grid {
  --ceo-cols: 4;
  --ceo-gap: clamp(.9rem, 2vw, 1.5rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--ceo-gap);
}

.ceo-talk-frame {
  flex: 0 0 calc((100% - (var(--ceo-cols) - 1) * var(--ceo-gap)) / var(--ceo-cols));
  max-width: calc((100% - (var(--ceo-cols) - 1) * var(--ceo-gap)) / var(--ceo-cols));
  aspect-ratio: 5 / 7;
  perspective: 1200px;
}

.ceo-talk-card {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(165deg, #fffaf3 0%, #ffe9cc 100%);
  border: 1px solid rgba(88, 56, 38, .1);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s var(--ease-out);
}

/* subtle gold radial glow at top */
.ceo-talk-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 90% 55% at 50% 0%,
    rgba(255, 181, 30, .32) 0%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 1;
}

.ceo-talk-card:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 181, 30, .5);
}

.ceo-talk-person {
  position: absolute;
  width: 110%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 5;
  filter: drop-shadow(0 14px 22px rgba(88, 56, 38, .3));
  object-fit: contain;
  transition: transform .5s var(--ease-out);
}

.ceo-talk-card:hover .ceo-talk-person {
  transform: translateX(-50%) translateY(-6px);
}

.ceo-talk-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6.8rem;
  padding: 0 1rem .95rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: linear-gradient(
    to top,
    rgba(255, 252, 246, .98) 0%,
    rgba(255, 252, 246, .86) 55%,
    transparent 100%
  );
}

/* gold shimmer line that expands on hover */
.ceo-talk-text::after {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  opacity: 0;
  transform: scaleX(.3);
  transform-origin: center;
  transition: opacity .4s, transform .45s var(--ease-out);
}

.ceo-talk-card:hover .ceo-talk-text::after {
  opacity: 1;
  transform: scaleX(1);
}

.ceo-talk-text h3 {
  color: var(--primary);
  font-size: clamp(.72rem, .85vw, .82rem);
  line-height: 1.3;
  font-weight: 800;
  margin: 0 0 .28rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ceo-talk-text p {
  color: var(--gold-dark);
  font-size: clamp(.6rem, .7vw, .65rem);
  line-height: 1.45;
  font-weight: 600;
  margin: 0;
  opacity: .95;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  margin-top: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(160deg, #1e0e02 0%, #2d1a09 100%);
  border-top: 3px solid var(--secondary);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(255,181,30,.08) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 30%, rgba(88,56,38,.15)   0%, transparent 50%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  padding: clamp(2.2rem, 4.5vw, 3.5rem) 0 clamp(1.6rem, 3.5vw, 2.4rem);
  display: grid;
  gap: 2.2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .7rem;
}
.footer-brand p { margin: 0; }
.footer-brand img { flex-shrink: 0; }
.footer-brand h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: .06em;
}
.footer-social {
  display: flex;
  gap: .65rem;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.social-icon svg { width: 19px; height: 19px; }
.social-icon:hover,
.social-icon:focus-visible {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .38);
}

.footer-line {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: #e8c89a;
  font-weight: 700;
  font-size: .85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity .2s;
}
.footer-line span { color: var(--secondary); }
.footer-line:hover,
.footer-line:focus-visible { opacity: .75; }

.footer-tagline {
  margin: .35rem 0 0;
  color: #c99a63;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.footer-contact {
  margin: 0;
  font-style: normal;
  color: #e8c89a;
  line-height: 1.7;
  display: grid;
  gap: 1.1rem;
}
.footer-contact p { margin: 0; }
.footer-contact a {
  /* color: var(--secondary); */
  text-decoration: none;
  font-weight: 600;
  transition: opacity .2s;
}
.footer-contact a:hover,
.footer-contact a:focus-visible { opacity: .75; }

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}
.icon-badge-sm {
  width: 36px; height: 36px;
  margin-top: .1rem;
}
.icon-badge-sm .icon { width: 18px; height: 18px; }

.footer-bottom {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  padding: 1.1rem 0 clamp(1.4rem, 3vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
}
.footer-bottom p {
  margin: 0;
  color: #b98f5c;
  font-size: .8rem;
}
.back-to-top {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 700;
  font-size: .82rem;
  transition: opacity .2s, transform .2s;
}
.back-to-top:hover,
.back-to-top:focus-visible {
  opacity: .8;
  transform: translateY(-2px);
}

/* ── Scroll reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ── Float animation ────────────────────────────────────── */
.floating { animation: floaty 6s ease-in-out infinite; }
.floating.delay { animation-delay: 1s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-10px); }
}

/* ── Responsive: Tablet (≤1023px) ──────────────────────── */
@media (max-width: 1023.98px) {
  .section { padding: clamp(1.5rem, 3.2vw, 2.6rem) 0; }
  .hero { min-height: calc(100dvh - 112px); }
  .executive-grid { gap: .9rem; }
  .feature-grid { gap: .9rem; }
  .ceo-talk-grid { --ceo-cols: 3; }
}

/* ── Responsive: Mobile (≤767px) ───────────────────────── */
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: minmax(200px, .6fr) 1fr;
    align-items: start;
  }
}

@media (max-width: 767.98px) {
  .glass-nav {
    border-radius: var(--radius-md);
    padding: .65rem;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem;
  }
  .brand-logo { order: 1; }
  .glass-nav > .btn { order: 2; }
  .nav-center {
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
  }
  .site-name { order: -1; }
  .nav-menu {
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: .35rem;
  }
  .hero { min-height: unset; height: auto; }
  .hero.section { padding: 0; }
  .hero-content { height: auto; }
  .hero-poster-frame { height: auto; }
  .hero-poster {
    height: auto;
    object-fit: contain;
    object-position: center top;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero-actions .btn {
    max-width: none;
    width: 100%;
  }
  .executive-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .ceo-talk-grid { --ceo-cols: 2; }
  .curriculum-body { grid-template-columns: 1fr; }
  .section-title { font-size: clamp(1.25rem, 5.5vw, 1.8rem); }
  .hero-scroll-cue { display: none; }
  .floating-cta { right: .8rem; bottom: .8rem; padding: .65rem 1.1rem; font-size: .85rem; }
}

/* ── Responsive: Small mobile (≤479px) ─────────────────── */
@media (max-width: 479.98px) {
  .site-header { padding: .55rem .5rem; }
  .brand-logo { width: 42px; height: 42px; }
  .site-name { font-size: .84rem; }
  .nav-link { font-size: .76rem; }
  .btn { font-size: .86rem; padding: .62rem 1rem; }
  .hero { min-height: unset; }
  .footer-grid { padding: 1.5rem 0; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .price-tag { font-size: clamp(1.8rem, 8vw, 2.4rem); }
}

/* ── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

#ceo-talk-title{
  font-size: clamp(1.25rem, 4vw, 1.7rem) !important;
}