:root {
  --navy-950: #071a2f;
  --navy-900: #0b2341;
  --navy-800: #12365e;
  --navy-700: #1a4d7f;
  --green: #198754;
  --green-soft: #e9f7ef;
  --yellow: #f6c744;
  --yellow-soft: #fff7d8;
  --white: #ffffff;
  --canvas: #f5f8fc;
  --line: #dce4ed;
  --text: #152338;
  --muted: #607087;
  --shadow-sm: 0 12px 32px rgba(11, 35, 65, 0.08);
  --shadow-lg: 0 28px 70px rgba(11, 35, 65, 0.15);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
ul {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy-950);
  font-weight: 780;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

p {
  color: var(--muted);
}

[hidden] {
  display: none !important;
}

::selection {
  color: var(--white);
  background: var(--navy-700);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: 86px;
}

.anchor-alias {
  position: absolute;
  inset-block-start: calc((var(--header-height) + 18px) * -1);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  inset: 12px auto auto 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy-950);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 720;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

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

.button--small {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.button--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  box-shadow: 0 12px 26px rgba(11, 35, 65, 0.18);
}

.button--primary:hover {
  box-shadow: 0 16px 34px rgba(11, 35, 65, 0.24);
}

.button--secondary {
  color: var(--navy-900);
  background: var(--white);
  border-color: var(--line);
}

.button--secondary:hover {
  border-color: #b8c8da;
  box-shadow: var(--shadow-sm);
}

.button--accent {
  color: var(--navy-950);
  background: linear-gradient(135deg, #ffdb65, var(--yellow));
  box-shadow: 0 12px 28px rgba(246, 199, 68, 0.2);
}

.button--accent:hover {
  background: #ffda60;
  box-shadow: 0 16px 32px rgba(246, 199, 68, 0.28);
}

.button--ghost-light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.button--ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(220, 228, 237, 0.82);
  backdrop-filter: blur(18px);
  transition:
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(11, 35, 65, 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 2px solid var(--white);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(11, 35, 65, 0.18);
}

.brand span {
  min-width: 0;
  display: grid;
  line-height: 1.15;
}

.brand strong {
  color: var(--navy-950);
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding-inline: 13px;
  color: #4f6178;
  border-radius: 10px;
  font-size: 0.91rem;
  font-weight: 680;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--navy-900);
  background: #edf3f9;
}

.nav-link::after {
  content: "";
  position: absolute;
  inset: auto 13px 5px;
  height: 2px;
  background: var(--green);
  border-radius: 99px;
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  width: 46px;
  height: 46px;
  display: none;
  place-content: center;
  gap: 5px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 4px;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-height) + 70px) 0 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(246, 199, 68, 0.18), transparent 24%),
    radial-gradient(circle at 92% 12%, rgba(25, 135, 84, 0.12), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(11, 35, 65, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 35, 65, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.hero-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-orb--one {
  width: 320px;
  height: 320px;
  inset: 19% auto auto -210px;
  background: rgba(246, 199, 68, 0.16);
}

.hero-orb--two {
  width: 260px;
  height: 260px;
  inset: auto -150px 8% auto;
  background: rgba(25, 135, 84, 0.12);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(46px, 7vw, 96px);
}

.hero-copy {
  padding-bottom: 42px;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  background: var(--green);
  border: 3px solid var(--green-soft);
  border-radius: 50%;
  box-sizing: content-box;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 5.8vw, 5.7rem);
}

.hero h1 span {
  display: block;
  color: var(--green);
}

.hero-intro {
  max-width: 650px;
  margin-bottom: 30px;
  color: #53657d;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

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

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-tags li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  color: #506279;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #dce5ee;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 680;
}

.hero-tags i {
  color: var(--navy-700);
}

.hero-art {
  position: relative;
  width: min(100%, 480px);
  justify-self: end;
  padding: 12px;
}

.logo-card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.logo-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
}

.logo-card-label,
.logo-card-note {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  background: rgba(7, 26, 47, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  backdrop-filter: blur(12px);
}

.logo-card-label {
  inset: 30px auto auto 30px;
  padding: 7px 12px;
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.logo-card-note {
  inset: auto 30px 30px;
  padding: 9px 13px;
  font-size: 0.78rem;
  font-weight: 700;
}

.logo-card-note i {
  color: #61d99e;
}

.art-accent {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
}

.art-accent--yellow {
  width: 150px;
  height: 150px;
  inset: -22px -22px auto auto;
  background: var(--yellow);
}

.art-accent--green {
  width: 92px;
  height: 92px;
  inset: auto auto -12px -18px;
  background: var(--green);
}

.value-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 52px;
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -14px 40px rgba(11, 35, 65, 0.055);
}

.value-strip > div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 26px;
}

.value-strip > div + div {
  border-left: 1px solid var(--line);
}

.value-strip span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--navy-900);
  background: var(--yellow-soft);
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 820;
}

.value-strip p {
  margin: 0;
  font-size: 0.88rem;
}

.value-strip strong {
  display: block;
  color: var(--navy-950);
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  align-items: end;
  gap: clamp(30px, 6vw, 88px);
}

.section-heading h2 {
  max-width: 700px;
  margin-bottom: 0;
  font-size: clamp(2.15rem, 4vw, 3.75rem);
}

.section-heading > p,
.heading-action > p {
  max-width: 480px;
  margin: 0;
}

.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}

.founder-card {
  position: relative;
  margin: 0;
}

.founder-photo {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #e8edf2;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
}

.founder-card figcaption {
  width: calc(100% - 34px);
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1px 14px;
  margin: -38px auto 0;
  padding: 13px 15px 13px 18px;
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(220, 228, 237, 0.95);
  border-radius: 17px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.founder-card figcaption span {
  color: var(--green);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.founder-card figcaption strong {
  color: var(--navy-950);
  font-size: 1.03rem;
}

.founder-card figcaption a {
  grid-area: 1 / 2 / 3 / 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: #0a66c2;
  border-radius: 12px;
  transition: transform 180ms ease;
}

.founder-card figcaption a:hover {
  transform: translateY(-2px);
}

.about-copy {
  max-width: 700px;
}

.about-lead {
  margin-bottom: 18px;
  color: var(--navy-900);
  font-size: clamp(1.22rem, 2vw, 1.6rem);
  font-weight: 680;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.experience-card {
  margin-top: 28px;
  padding: clamp(24px, 4vw, 36px);
  color: var(--white);
  background:
    radial-gradient(circle at 92% 10%, rgba(246, 199, 68, 0.2), transparent 28%),
    linear-gradient(140deg, var(--navy-950), var(--navy-800));
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.experience-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.mini-label {
  display: block;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.experience-card .mini-label,
.quiz-card .mini-label {
  color: #75e0a9;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  color: #dce9f6;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
}

.status-pill i {
  color: #55d493;
  font-size: 0.5rem;
}

.experience-card h3 {
  max-width: 520px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(1.45rem, 2.7vw, 2rem);
}

.approach-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.approach-list > div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

.approach-list > div > span {
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 800;
}

.approach-list p {
  margin: 7px 0 0;
  color: #bfd0e1;
  font-size: 0.78rem;
  line-height: 1.5;
}

.approach-list strong {
  display: block;
  color: var(--white);
  font-size: 0.86rem;
}

.skills-section {
  background:
    linear-gradient(180deg, rgba(232, 240, 248, 0.58), rgba(245, 248, 252, 0)),
    var(--canvas);
  border-block: 1px solid var(--line);
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.skill-card {
  position: relative;
  min-width: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(11, 35, 65, 0.045);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.skill-card:hover {
  transform: translateY(-6px);
  border-color: #bdccdc;
  box-shadow: var(--shadow-sm);
}

.skill-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy-700);
  border-radius: 13px;
}

.skill-icon--green {
  background: var(--green);
}

.skill-icon--yellow {
  color: var(--navy-950);
  background: var(--yellow);
}

.skill-icon--navy {
  background: var(--navy-950);
}

.skill-number {
  position: absolute;
  inset: 24px 24px auto auto;
  color: #aab7c6;
  font-size: 0.75rem;
  font-weight: 800;
}

.skill-card h3 {
  margin: 20px 0 9px;
  font-size: 1.26rem;
}

.skill-card p {
  min-height: 74px;
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.skill-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.skill-card li {
  padding: 6px 9px;
  color: #506178;
  background: #f1f5f9;
  border-radius: 8px;
  font-size: 0.71rem;
  font-weight: 700;
}

.projects-section {
  background: var(--white);
}

.heading-action {
  display: grid;
  gap: 12px;
}

.text-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-800);
  font-size: 0.9rem;
  font-weight: 780;
}

.text-link:hover {
  color: var(--green);
}

.project-shell {
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
}

.project-tabs {
  display: flex;
  gap: 8px;
  padding: 12px;
  overflow-x: auto;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.project-tabs button {
  min-width: max-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 10px;
  font-weight: 750;
  cursor: pointer;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.project-tabs button:hover {
  color: var(--navy-900);
  background: #f0f4f8;
}

.project-tabs button[aria-selected="true"] {
  color: var(--white);
  background: var(--navy-900);
}

.project-tabs button[aria-selected="true"] i {
  color: var(--yellow);
}

.project-panel {
  position: relative;
  padding: clamp(20px, 4vw, 34px);
}

.watch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(310px, 0.7fr);
  gap: 18px;
}

.video-feature {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.video-shell {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--navy-950);
}

.video-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-poster {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  background: var(--navy-950);
  border: 0;
  cursor: pointer;
}

.video-poster:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: -6px;
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.video-poster:hover img {
  transform: scale(1.035);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 26, 47, 0.05), rgba(7, 26, 47, 0.7)),
    linear-gradient(90deg, rgba(7, 26, 47, 0.2), transparent 48%);
}

.play-button {
  position: absolute;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  color: var(--navy-950);
  background: var(--yellow);
  border: 7px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background-clip: padding-box;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
  transition: transform 180ms ease;
}

.video-poster:hover .play-button {
  transform: scale(1.08);
}

.play-button i {
  margin-left: 3px;
}

.poster-label {
  position: absolute;
  inset: auto auto 18px 18px;
  padding: 6px 10px;
  color: var(--white);
  background: rgba(7, 26, 47, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 720;
}

.video-feature-meta {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 18px;
}

.video-feature-meta span {
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.video-feature-meta h3 {
  margin: 4px 0 0;
  font-size: clamp(1.02rem, 2vw, 1.25rem);
}

.video-feature-meta a {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--navy-900);
  background: var(--yellow-soft);
  border-radius: 11px;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.video-feature-meta a:hover {
  color: var(--white);
  background: var(--navy-900);
  transform: translateY(-2px);
}

.lesson-list {
  display: grid;
  gap: 9px;
}

.lesson-card {
  width: 100%;
  min-height: 66px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.lesson-card:hover {
  transform: translateX(-3px);
  border-color: #b9c9d9;
  box-shadow: 0 8px 20px rgba(11, 35, 65, 0.07);
}

.lesson-card.is-selected {
  border-color: rgba(25, 135, 84, 0.45);
  box-shadow: inset 3px 0 0 var(--green);
}

.lesson-index {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--navy-900);
  background: #edf3f8;
  border-radius: 9px;
  font-size: 0.71rem;
  font-weight: 820;
}

.lesson-card.is-selected .lesson-index {
  color: #11643e;
  background: var(--green-soft);
}

.lesson-card > span:nth-child(2) {
  min-width: 0;
  display: grid;
  line-height: 1.28;
}

.lesson-card small {
  color: var(--muted);
  font-size: 0.66rem;
}

.lesson-card strong {
  overflow: hidden;
  color: var(--navy-950);
  font-size: 0.83rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lesson-card > i {
  color: #a1adba;
  font-size: 0.72rem;
}

.lesson-card.is-selected > i {
  color: var(--green);
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  color: #748296;
  font-size: 0.76rem;
}

.privacy-note i {
  color: var(--green);
}

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

.reel-card {
  position: relative;
  min-height: 190px;
  display: grid;
  align-content: end;
  gap: 16px;
  overflow: hidden;
  padding: 22px;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 12%, rgba(246, 199, 68, 0.32), transparent 32%),
    linear-gradient(145deg, var(--navy-900), var(--navy-700));
  border-radius: 18px;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.reel-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.reel-number {
  position: absolute;
  inset: 18px 18px auto auto;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
  font-weight: 800;
}

.reel-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, #f9ce34, #ee2a7b 52%, #6228d7);
  border-radius: 13px;
}

.reel-icon--green {
  background: var(--green);
}

.reel-icon--yellow {
  color: var(--navy-950);
  background: var(--yellow);
}

.reel-card > span:nth-last-of-type(1) {
  display: grid;
}

.reel-card small {
  color: #b9cada;
  font-size: 0.7rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reel-card strong {
  margin-top: 3px;
  color: var(--white);
  font-size: 1.12rem;
}

.reel-arrow {
  position: absolute;
  inset: auto 20px 22px auto;
  color: var(--yellow);
}

.panel-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding: 13px 16px;
  color: var(--navy-800);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.85rem;
}

.panel-link:hover {
  color: var(--green);
  border-color: #b9c9d9;
}

.quiz-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(22px, 4vw, 44px);
  padding: clamp(28px, 5vw, 52px);
  color: var(--white);
  background:
    radial-gradient(circle at 70% 18%, rgba(25, 135, 84, 0.35), transparent 28%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  border-radius: 20px;
}

.quiz-mark {
  position: relative;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  color: var(--navy-950);
  background: var(--yellow);
  border: 8px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background-clip: padding-box;
}

.quiz-mark span {
  font-size: 2.25rem;
  font-weight: 850;
}

.quiz-mark i {
  position: absolute;
  inset: auto -7px -7px auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border: 3px solid var(--navy-800);
  border-radius: 50%;
  font-size: 0.7rem;
}

.quiz-card h3 {
  margin: 7px 0 10px;
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 2.25rem);
}

.quiz-card p {
  max-width: 610px;
  margin: 0;
  color: #c3d2e0;
}

.contact-section {
  padding-top: 60px;
  background: var(--canvas);
}

.contact-panel {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 40px 70px;
  padding: clamp(30px, 6vw, 64px);
  color: var(--white);
  background:
    radial-gradient(circle at 92% 10%, rgba(246, 199, 68, 0.22), transparent 24%),
    radial-gradient(circle at 8% 100%, rgba(25, 135, 84, 0.22), transparent 25%),
    var(--navy-950);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.section-kicker--light {
  color: #78dda9;
}

.contact-copy h2 {
  max-width: 650px;
  margin-bottom: 16px;
  color: var(--white);
  font-size: clamp(2.1rem, 4vw, 3.6rem);
}

.contact-copy > p:not(.section-kicker) {
  max-width: 590px;
  margin-bottom: 26px;
  color: #bfd0e1;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-details {
  display: grid;
  align-content: center;
  gap: 12px;
}

.contact-details a {
  display: grid;
  gap: 3px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  transition: background-color 160ms ease;
}

.contact-details a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.contact-details span {
  color: #81d9ac;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-details strong {
  overflow-wrap: anywhere;
  color: var(--white);
  font-size: 0.93rem;
}

.social-links {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.social-links a {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px;
  color: #d9e5f0;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 720;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease,
    border-color 160ms ease;
}

.social-links a:hover {
  color: var(--navy-950);
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-3px);
}

.social-links i {
  font-size: 1.05rem;
}

.site-footer {
  padding-block: 24px;
  background: var(--canvas);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 10px;
}

.footer-brand span {
  display: grid;
  line-height: 1.2;
}

.footer-brand strong {
  color: var(--navy-950);
  font-size: 0.86rem;
}

.footer-brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.66rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.75rem;
}

.reveal-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.reveal-enabled [data-reveal][data-reveal-delay="1"] {
  transition-delay: 90ms;
}

.reveal-enabled [data-reveal][data-reveal-delay="2"] {
  transition-delay: 160ms;
}

.reveal-enabled [data-reveal][data-reveal-delay="3"] {
  transition-delay: 230ms;
}

.reveal-enabled [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
    gap: 46px;
  }

  .hero h1 {
    font-size: clamp(3rem, 6vw, 4.8rem);
  }

  .skill-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .skill-card p {
    min-height: auto;
  }

  .social-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding-block: 70px;
  }

  .js .nav-toggle {
    display: grid;
  }

  .js .primary-nav {
    position: fixed;
    inset: calc(var(--header-height) + 10px) 20px auto;
    display: grid;
    gap: 16px;
    padding: 16px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 0s linear 180ms;
  }

  .js .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .nav-list {
    display: grid;
    gap: 4px;
  }

  .nav-link {
    width: 100%;
    min-height: 46px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    width: 100%;
  }

  .hero {
    padding-top: calc(var(--header-height) + 54px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-copy {
    padding-bottom: 10px;
  }

  .hero-art {
    width: min(100%, 410px);
    justify-self: center;
  }

  .value-strip {
    margin-top: 34px;
  }

  .value-strip > div {
    align-items: flex-start;
    padding: 18px;
  }

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

  .section-heading {
    margin-bottom: 34px;
  }

  .about-grid {
    grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
    gap: 34px;
  }

  .approach-list {
    grid-template-columns: 1fr;
  }

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

  .lesson-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .lesson-card:last-child {
    grid-column: 1 / -1;
  }

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

  .quiz-card {
    grid-template-columns: auto 1fr;
  }

  .quiz-card .button {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding-block: 58px;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-height) + 42px);
  }

  .hero h1 {
    font-size: clamp(2.75rem, 12vw, 4.1rem);
  }

  .value-strip {
    grid-template-columns: 1fr;
    border-bottom: 1px solid var(--line);
    border-radius: 18px;
  }

  .value-strip > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .founder-card {
    width: min(100%, 390px);
    margin-inline: auto;
  }

  .founder-photo {
    max-height: 480px;
  }

  .skill-grid,
  .reel-grid {
    grid-template-columns: 1fr;
  }

  .skill-card {
    padding: 21px;
  }

  .lesson-list {
    grid-template-columns: 1fr;
  }

  .lesson-card:last-child {
    grid-column: auto;
  }

  .quiz-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .quiz-mark {
    width: 74px;
    height: 74px;
  }

  .social-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
}

@media (max-width: 480px) {
  .brand strong {
    font-size: 0.88rem;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }

  .hero-tags {
    gap: 7px;
  }

  .hero-tags li {
    font-size: 0.76rem;
  }

  .logo-card {
    padding: 10px;
    border-radius: 22px;
  }

  .logo-card img {
    border-radius: 15px;
  }

  .logo-card-label {
    inset: 20px auto auto 20px;
  }

  .logo-card-note {
    inset: auto 20px 20px;
    font-size: 0.7rem;
  }

  .project-panel {
    padding: 14px;
  }

  .video-feature-meta {
    align-items: flex-start;
  }

  .lesson-card strong {
    white-space: normal;
  }

  .contact-panel {
    border-radius: 22px;
  }

  .social-links a {
    min-height: 58px;
    flex-direction: column;
    gap: 4px;
    font-size: 0.7rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
