/* ==========================================================================
   LearnWithAICE — "Kinetica" dark theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0A0A0D;
  --bg-raise: #121216;
  --surface: #17171C;
  --surface-2: #1E1E25;
  --ink: #F5F5F2;
  --ink-soft: #B7B8C2;
  --ink-faint: #7B7C87;
  --line: #2A2A32;
  --lime: #D7FF3E;
  --lime-deep: #B8E016;
  --lime-tint: rgba(215, 255, 62, 0.12);
  --violet: #8B7CFF;
  --white: #FFFFFF;
  --green-check: #6FE39B;

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(.22, .9, .32, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}



h1,
h2,
h3,
h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.06;
  margin: 0;
  color: var(--white);
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}



/* -------------------------------------------------- eyebrow / kicker */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  color: var(--lime);
  background: var(--lime-tint);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .14em;
  border: 1px solid rgba(215, 255, 62, .25);
}

.kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px 2px rgba(215, 255, 62, .7);
}

/* -------------------------------------------------- header / nav */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 13, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 20px 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .02em;
  color: var(--white);
  text-transform: uppercase;
}
img.logo {
  width: 250px;
  max-width: 100%;
}

.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0A0A0D;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 0 22px -4px rgba(215, 255, 62, .8);
}

nav.links {
  display: flex;
  align-items: center;
  gap: 34px;
}

nav.links a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: color .25s var(--ease);
}

nav.links a:hover {
  color: var(--white);
}

nav.links a.active {
  color: var(--white);
}

nav.links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .04em;
  border: 1px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}

.btn-primary {
  background: var(--lime);
  color: #0A0A0D;
}

.btn-primary:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(215, 255, 62, .45);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--white);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
}

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





/* -------------------------------------------------- marquee */
.marquee-strip {
  background: var(--bg-raise);
  color: var(--white);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.marquee-track {
  display: inline-flex;
  animation: marquee 32s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  padding: 0 26px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.marquee-track span::after {
  content: "//";
  margin-left: 26px;
  color: var(--lime);
  font-weight: 700;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* -------------------------------------------------- hero */
.hero {
  padding: 76px 0 76px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 5.6vw, 66px);
  text-transform: uppercase;
}

.hero h1 em {
  font-style: normal;
  color: var(--lime);
}

.hero .lede {
  margin-top: 24px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 54px;
  flex-wrap: wrap;
}

.hero-stats .stat b {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  color: var(--white);
}

.hero-stats .stat span {
  font-size: 12px;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.hero-art {
  position: relative;
  border-radius: var(--radius-l);
  background: linear-gradient(155deg, var(--surface), var(--bg-raise));
  border: 1px solid var(--line);
  min-height: 420px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-art .glow {
  position: absolute;
  inset: -40% -40% auto auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(215, 255, 62, .35), transparent 70%);
  filter: blur(10px);
}

.hero-art .card-float {
  position: absolute;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 16px 18px;
  color: #fff;
  animation: float 6s ease-in-out infinite;
}

.hero-art .card-float.c1 {
  top: 14%;
  left: 8%;
  animation-delay: 0s;
}

.hero-art .card-float.c2 {
  bottom: 16%;
  right: 8%;
  animation-delay: 1.4s;
}

.hero-art .card-float.c3 {
  top: 44%;
  left: 38%;
  animation-delay: 2.8s;
}

.hero-art .card-float b {
  display: block;
  font-size: 14px;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.hero-art .card-float span {
  font-size: 11px;
  color: rgba(255, 255, 255, .7);
  margin-top: 4px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-16px);
  }
}



/* ---- NEW HERO V2 (Homepage) ---- */
.hero-v2 {
  padding: 120px 0;
  background: linear-gradient(135deg, rgba(139, 124, 255, .05), rgba(215, 255, 62, .02));
  border-bottom: 1px solid var(--line);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  text-align: center;
  max-width: 680px;
}

.hero-text h1 {
  font-size: clamp(48px, 7vw, 72px);
  text-transform: none;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero-text h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--lime), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text .lede {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  text-transform: none;
}

.hero-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.badge {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--ink-soft);
  text-transform: uppercase;
}



/* -------------------------------------------------- section-head */
.section-head {
  margin-bottom: 50px;
}

.section-head h2 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-head p {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0;
  max-width: 600px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head.center h2,
.section-head.center p {
  margin-left: auto;
  margin-right: auto;
}

/* ========== NEW SECTIONS ========== */

/* WHAT IS AICE SECTION */
.section-what-is-aice {
  padding: 80px 0;
  background: var(--bg-raise);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.what-is-card {
  text-align: center;
}

.what-is-card h2 {
  margin-bottom: 48px;
}

.journey-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.journey-step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 70px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius-s);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  transition: all .3s var(--ease);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.journey-step:hover {
  border-color: var(--lime);
  box-shadow: 0 12px 24px rgba(215, 255, 62, .15);
  transform: translateY(-2px);
}

.flow-arrow {
  font-size: 20px;
  color: var(--ink-faint);
  margin: 0 -8px;
}



/* COURSES SECTION */
.courses-section {
  padding: 100px 0;
}

.courses-section .section-head {
  text-align: center;
  margin-bottom: 60px;
}

.courses-section h2 {
  text-transform: uppercase;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.course-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  text-decoration: none;
  transition: all .3s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.course-card:hover {
  border-color: var(--lime);
  box-shadow: 0 12px 24px rgba(215, 255, 62, .15);
  transform: translateY(-4px);
}

.course-card:hover::before {
  transform: scaleX(1);
}

.course-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--lime-tint);
  border-radius: var(--radius-s);
  font-weight: 700;
  font-size: 14px;
  color: var(--lime);
  margin-bottom: 20px;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.course-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 12px;
  text-transform: uppercase;
      margin: 0 auto;
}

.course-card p {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  flex-grow: 1;
  text-transform:unset;
  letter-spacing: .04em;
  font-weight: 500;
  margin: 0 auto;
}

.view-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--lime);
  transition: all .3s var(--ease);
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.course-card:hover .view-link {
  gap: 10px;
}

.view-all-cta {
  display: flex;
  justify-content: center;
}

/* HOW IT WORKS SECTION */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-raise);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.how-it-works .section-head {
  margin-bottom: 60px;
}

.how-it-works h2 {
  text-transform: uppercase;
}

.process-flow {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  max-width: 100%;
  margin: 0 auto;
  justify-content: center;
  flex-wrap: wrap;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: auto;
}

.step-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--lime);
  font-family: 'Space Grotesk', sans-serif;
}

.step-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.flow-connector {
  font-size: 28px;
  color: var(--ink-faint);
  margin: 16px 0;
}



/* FAQ SECTION */
.faq-section {
  padding: 100px 0;
}

.faq-section .section-head {
  margin-bottom: 60px;
}

.faq-section h2 {
  text-transform: uppercase;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: all .3s var(--ease);
}

.faq-item:hover {
  border-color: var(--lime);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  transition: all .3s var(--ease);
  user-select: none;
  background: var(--surface);
}

.faq-question:hover {
  background: var(--surface-2);
}

.faq-question h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  flex: 1;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.faq-toggle {
  font-size: 24px;
  font-weight: 300;
  color: var(--lime);
  transition: transform .3s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s var(--ease);
  border-top: 1px solid var(--line);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* CTA BAND SECTION */
.cta-band-section {
  padding: 80px 0;
}

.cta-band {
  border-radius: var(--radius-l);
  background: linear-gradient(135deg, var(--surface), var(--bg-raise));
  border: 1px solid var(--line);
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -40%;
  width: 50%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(215, 255, 62, .25), transparent 70%);
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(26px, 3.6vw, 38px);
  max-width: 480px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.cta-band p {
  color: var(--ink-soft);
  margin-top: 12px;
  max-width: 44ch;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* -------------------------------------------------- footer */
footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
  background: var(--bg-raise);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}



.footer-grid h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid a {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color .25s var(--ease);
}

.footer-grid a:hover {
  color: var(--lime);
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* -------------------------------------------------- page hero (inner pages) */
.page-hero {
  padding: 60px 0 50px;
  border-bottom: 1px solid var(--line);
}

.page-hero .crumb {
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-bottom: 18px;
  display: flex;
  gap: 8px;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  text-transform: uppercase;
}

.page-hero p {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 60ch;
}

/* -------------------------------------------------- photography */
.media {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(.15) contrast(1.05);
  transition: transform .7s var(--ease);
}

.media:hover img {
  transform: scale(1.05);
}

.media .media-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 24px;
  background: linear-gradient(0deg, rgba(10, 10, 13, .92), transparent 75%);
  color: #fff;
}

.media .media-caption b {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  display: block;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.media .media-caption span {
  font-size: 12px;
  color: var(--ink-soft);
}

.hero-photo {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  min-height: 440px;
 
  box-shadow: var(--shadow);
 
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  filter: grayscale(.2) contrast(1.05);
}



.hero-photo .card-float {
  z-index: 2;
}

.hero-photo .glow {
  z-index: 1;
  mix-blend-mode: screen;
}

.card-media {
  border-radius: var(--radius-m) var(--radius-m) 0 0;
  overflow: hidden;
  aspect-ratio: 16/10;
  margin: -30px -30px 20px;
  position: relative;
}

/* .card-media::after {
  content: "MAKE IT REAL";
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--lime);
  color: #0A0A0D;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .08em;
  padding: 5px 10px;
  border-radius: 6px;
} */

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
  filter: grayscale(.15) contrast(1.05);
}

.program-card:hover .card-media img {
  transform: scale(1.06);
}

.course-media {
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
}

.course-media img {
  width: 100%;
  height: 100%;
  
  filter: grayscale(.15) contrast(1.05);
}

.strip-media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}



.strip-media .media {
  aspect-ratio: 4/3;
}

.photo-credit {
  font-size: 11px;
  color: var(--ink-faint);
  margin-top: 8px;
  text-align: right;
}

/* -------------------------------------------------- misc */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}



.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--lime-tint);
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(215, 255, 62, .25);
}

/* -------------------------------------------------- kinetica extras: tool strip + path steps + testimonials */
.tool-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.tool-chip {
  padding: 14px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}

.tool-chip:hover {
  border-color: var(--lime);
  color: var(--lime);
  transform: translateY(-3px);
}

.path-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
}

.path-step {
  flex: 1 1 180px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 24px 20px;
  margin: 6px;
  position: relative;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}

.path-step:hover {
  border-color: var(--lime);
  transform: translateY(-4px);
}

.path-step .arrow {
  display: none;
}

.path-step b {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: .04em;
  display: block;
  margin-bottom: 8px;
}

.path-step span {
  font-size: 13px;
  color: var(--ink-soft);
}

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



.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 28px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--lime);
}

.testimonial-card p {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
}

.testimonial-card .who {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-faint);
}

.testimonial-card .who b {
  color: var(--white);
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .02em;
}

/* ================================================== 
   REVEAL ANIMATIONS
   ================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal-stagger .reveal {
  transition-delay: calc(0.08s * var(--i, 0));
}



/* ================================================== 
   RESPONSIVE ADJUSTMENTS
   ================================================== */


/* Device-based typography scale */
:root {
  --type-body: 16px;
  --type-copy: 16px;
  --type-h1: 56px;
  --type-h2: 36px;
  --type-h3: 22px;
  --type-h3-compact: 19px;
  --type-h4: 18px;
  --type-action: 13px;
  --type-meta: 12px;
  --type-nav-cta: 12px;
}

body {
  font-size: var(--type-body);
  line-height: 1.6;
}

body h1,
body .hero h1,
body .hero-text h1,
body .page-hero h1 {
  font-size: var(--type-h1);
  line-height: 1.08;
}

body h2,
body .section-head h2,
body .section-head.center h2,
body .what-is-card h2,
body .how-it-works h2,
body .faq-section h2,
body .cta-band h2 {
  font-size: var(--type-h2);
  line-height: 1.14;
}

body h3,
body .course-intro h3 {
  font-size: var(--type-h3);
  line-height: 1.2;
}

body .program-card h3,
body .course-card h3 {
  font-size: var(--type-h3-compact);
  line-height: 1.25;
}

body h4 {
  font-size: var(--type-h4);
  line-height: 1.3;
}

body .faq-question h4 {
  font-size: var(--type-h4);
}

body h5,
body .footer-grid h5 {
  font-size: 14px;
  line-height: 1.3;
}

body p,
body li,
body summary,
body .section-head p,
body .hero .lede,
body .hero-text .lede,
body .page-hero p,
body .course-intro p,
body .faq-answer p,
body .check-list li,
body .accordion-body li,
body .footer-grid a {
  font-size: var(--type-copy);
  line-height: 1.55;
}

body nav.links a,
body .btn {
  font-size: var(--type-action);
}

body .nav-actions > .btn {
  font-size: var(--type-nav-cta);
}

body .kicker,
body .badge,
body .tag,
body .page-hero .crumb,
body .footer-bottom,
body .hero-stats .stat span,
body .hero-art .card-float span {
  font-size: var(--type-meta);
}

/* Responsive media queries: descending width breakpoints */

/* Responsive device breakpoints, widest to narrowest */

body > section {
  padding-top: 76px !important;
  padding-bottom: 76px !important;
}

@media (max-width: 1199px) {
:root {
    --type-h1: 48px;
    --type-h2: 32px;
    --type-h3: 21px;
    --type-h3-compact: 18px;
    --type-h4: 17px;
  }
}

@media (max-width: 991px) {
.hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    display: none;
  }

body > section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

button.nav-toggle {
        width: 40px !important;
        height: 40px !important;
        border-radius: 8px !important;
        border: 1px solid #ffffff !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

.nav {
    gap: 12px;
    padding-left: 20px;
    padding-right: 20px;
  }

  img.logo {
    width: min(200px, calc(100vw - 214px));
  }

  nav.links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 101;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: var(--bg-raise);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }

  nav.links.is-open {
    display: flex;
  }

  nav.links a {
    padding: 12px;
    border-radius: 8px;
  }

  nav.links a:hover,
  nav.links a.active {
    background: var(--surface-2);
  }

  nav.links a.active::after {
    display: none;
  }

  .nav-actions > .btn {
    display: inline-flex;
    white-space: nowrap;
    padding: 8px 10px;
    font-size: 10px;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--white);
  }

.footer-grid {
   grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
        gap: 20px;
  }
  body h5, body .footer-grid h5 {
   
    margin-top:10;
}
}

@media (max-width: 767px) {
.two-col {
    grid-template-columns: 1fr;
  }

.testimonial-grid {
    grid-template-columns: 1fr;
  }

.hero-v2 {
    padding: 80px 0;
  }

  .hero-badges {
    flex-direction: column;
    gap: 8px;
  }

:root {
    --type-body: 15px;
    --type-copy: 15px;
    --type-h1: 40px;
    --type-h2: 29px;
    --type-h3: 20px;
    --type-h3-compact: 18px;
    --type-h4: 16px;
    --type-action: 13px;
  }

.strip-media {
    grid-template-columns: 1fr;
  }

  .process-flow {
    flex-direction: column;
    gap: 0;
    max-width: 400px;
  }

  .process-step {
    width: 100%;
  }

  .flow-connector {
    font-size: 28px;
    margin: 16px 0;
    transform: none;
  }
}

@media (max-width: 575px) {
.journey-flow {
    flex-direction: row;
    gap: 12px;
  }
  .hero-cta{
    justify-content: center;
  }


  .flow-arrow {
    font-size: 32px;
    margin: -8px 0;
    margin: 0;
    transform: rotate(0deg);
  }

  .cta-actions .btn {
    width: 100%;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
:root {
    --type-h1: 34px;
    --type-h2: 26px;
    --type-h3: 19px;
    --type-h3-compact: 17px;
    --type-h4: 16px;
    --type-meta: 12px;
    --type-action: 12px;
    --type-nav-cta: 10px;
  }
}

@media (max-width: 380px) {
.nav {
    gap: 8px;
    padding: 14px 20px;
  }

  img.logo {
    width: min(200px, calc(100vw - 214px));
  }

  .brand {
    gap: 7px;
    font-size: 13px;
  }

  .brand .mark {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
  }

  .nav-actions {
    gap: 7px;
  }

  .nav-actions > .btn {
    padding: 8px 8px;
    font-size: 9px;
  }

.hero-photo.reveal.is-visible {
        height: 300px !important;
        min-height: 300px !important;
    }
}

@media (max-width: 375px) {
:root {
    --type-h1: 28px;
    --type-h2: 24px;
    --type-h3: 18px;
    --type-h3-compact: 16px;
    --type-h4: 15px;
    --type-action: 12px;
  }
}

@media (orientation: landscape) and (min-width: 568px) and (max-width: 1000px) {
.hero {
    padding: 32px 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 28px;
  }

  .hero-photo {
    height: min(68vh, 380px);
    min-height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

.reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Program page: keep controls and week content usable on narrow screens. */
@media (max-width: 575px) {
  .page-hero {
    padding: 38px 0 32px;
  }

  .page-hero p {
    font-size: 15px;
  }

  .tabbar {
    gap: 8px;
    margin-bottom: 24px;
  }

  .tabbar button {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    padding: 10px 12px;
    font-size: 11px;
    line-height: 1.25;
  }

  .level-toggle {
    display: flex;
    width: 100%;
    margin-bottom: 24px;
  }

  .level-toggle button {
    flex: 1;
    min-width: 0;
    padding: 9px 8px;
    font-size: 11px;
  }

  .course-intro {
    gap: 24px;
    padding: 20px;
    margin-bottom: 28px;
    border-radius: var(--radius-m);
  }

  .course-intro h3 {
    font-size: 19px;
  }

  .course-intro p {
    font-size: 14px;
  }

  .course-media {
    margin-bottom: 18px;
  }

  .course-facts {
    gap: 10px;
  }

  .course-facts .fact {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 10px 12px;
    font-size: 12px;
  }

  .course-facts .fact span {
    text-align: right;
    overflow-wrap: anywhere;
  }

  .accordion-item summary {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px;
    font-size: 15px;
    line-height: 1.25;
  }

  .accordion-item summary > span:first-child {
    flex: 1 1 100%;
    padding-right: 28px;
  }

  .accordion-item summary .tag {
    margin: 0;
  }

  .accordion-item summary .plus {
    margin-top: -34px;
  }

  .accordion-body {
    padding: 0 16px 18px;
  }


  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
 
  .footer-grid > div:first-child p {
    width: 100%;
    max-width: none !important;
  }
 
  .footer-grid > div:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    margin: 0 auto;
  }
 
  .footer-grid > div:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    margin: 0 auto;
  }
 
  .footer-grid > div:nth-child(4) {
    grid-column: 1 / -1;

  }
  .footer-grid{
    gap: 5px;
    grid-template-columns: 1fr 1fr;
  }

  .process-flow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }
 
  .process-flow .flow-connector {
    display: none;}

    .section-what-is-aice .journey-flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
    grid-template-rows: 70px 24px 70px;
    grid-template-areas:
      "step-one arrow-one step-two"
      ". . arrow-down"
      "step-three arrow-three step-four";
    gap: 8px 4px;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
 
  .section-what-is-aice .journey-step {
    grid-area: auto;
    width: 100%;
    max-width: none;
    min-width: 0;
  }
 
  .section-what-is-aice .journey-step:nth-child(1) {
    grid-area: step-one;
  }
 
  .section-what-is-aice .flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-size: 24px;
    line-height: 1;
    transform: none;
  }
 
  .section-what-is-aice .flow-arrow:nth-child(2) {
    grid-area: arrow-one;
            display: none;
  }
 
  .section-what-is-aice .journey-step:nth-child(3) {
    grid-area: step-two;
    
  }
 
  .section-what-is-aice .flow-arrow:nth-child(4) {
    grid-area: arrow-down;
    transform: rotate(90deg);
    display: none;
  }
 
  .section-what-is-aice .journey-step:nth-child(5) {
    grid-area: step-three;
  }
 
  .section-what-is-aice .flow-arrow:nth-child(6) {
    grid-area: arrow-three;
    display: none;
  }
 
  .section-what-is-aice .journey-step:nth-child(7) {
    grid-area: step-four;
}

@media (max-width: 400px) {
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  body > section {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }

  .page-hero {
    padding-top: 30px;
    padding-bottom: 26px;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  .tabbar button {
    flex-basis: 100%;
    text-align: left;
  }

  .course-intro {
    padding: 16px;
  }

  .course-facts .fact {
    display: block;
  }

  .course-facts .fact b,
  .course-facts .fact span {
    display: block;
    text-align: left;
  }

  .course-facts .fact span {
    margin-top: 3px;
  }

  .accordion-item summary .plus {
    margin-top: -34px;
  }
}

@media (max-width: 320px) {
  .nav-actions > .btn {
    display: none;
  }

  .course-intro {
    gap: 20px;
  }

  .level-toggle button {
    font-size: 10px;
    padding-left: 5px;
    padding-right: 5px;
  }
}

@media (orientation: landscape) and (min-width: 568px) and (max-width: 1000px) {
  .course-intro > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .course-facts {
    gap: 12px;
  }
}
