:root {
  --bg: #05080c;
  --bg-soft: #090e14;
  --panel: #0c121a;
  --panel-2: #101823;
  --text: #f6f8fb;
  --muted: #9aa6b5;
  --muted-2: #697789;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --blue: #1475ff;
  --blue-2: #005bea;
  --blue-soft: rgba(20, 117, 255, 0.14);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: 1480px;
  --header-h: 86px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 6% 20%, rgba(15, 80, 160, .12), transparent 34%),
    linear-gradient(180deg, #05080c 0%, #07101a 44%, #05080c 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--blue); color: #fff; }

.container {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.display-title,
.section-title,
.course-title {
  margin: 0;
  letter-spacing: -.045em;
  font-weight: 650;
  line-height: .98;
}
.section-title { font-size: clamp(34px, 4.2vw, 68px); }
.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.65;
}
.blue { color: var(--blue); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--header-h);
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled,
.site-header.header-solid {
  background: rgba(5, 8, 12, .76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.header-inner {
  width: min(calc(100% - 64px), var(--container));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}
.brand-mark { width: 36px; height: 36px; object-fit: contain; }
.brand-word {
  font-size: 17px;
  font-weight: 750;
  line-height: .9;
  letter-spacing: -.035em;
}
.desktop-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 52px); }
.desktop-nav a {
  color: rgba(255,255,255,.78);
  font-size: 14px;
  transition: color .2s ease;
}
.desktop-nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-cta {
  min-height: 46px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
  transition: border-color .2s, background .2s, transform .2s;
}
.header-cta:hover { border-color: var(--blue); background: var(--blue-soft); transform: translateY(-1px); }
.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-button span {
  display: block;
  width: 25px;
  height: 1px;
  margin: 7px auto;
  background: #fff;
  transition: transform .25s, opacity .25s;
}
.menu-button.is-open span:first-child { transform: translateY(8px) rotate(45deg); }
.menu-button.is-open span:nth-child(2) { opacity: 0; }
.menu-button.is-open span:last-child { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 100px 28px 36px;
  background: rgba(4, 7, 11, .97);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.mobile-menu a { font-size: 30px; font-weight: 600; letter-spacing: -.035em; }
.mobile-menu .mobile-contact { margin-top: 32px; color: var(--blue); font-size: 16px; }

/* Buttons */
.button {
  min-height: 56px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 16px;
  background: rgba(8, 16, 25, .42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); border-color: var(--blue); background: rgba(20,117,255,.13); }
.button-primary { background: var(--blue); border-color: var(--blue); }
.button-primary:hover { background: #2a82ff; }
.button .arrow { font-size: 23px; font-weight: 300; line-height: 1; }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-media,
.hero-media picture,
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: center; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2,5,8,.92) 0%, rgba(3,7,11,.70) 38%, rgba(3,7,11,.22) 72%, rgba(2,5,8,.42) 100%),
    linear-gradient(180deg, rgba(0,0,0,.28) 0%, transparent 58%, rgba(2,6,10,.64) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 64px), var(--container));
  margin: 0 auto;
  padding-top: var(--header-h);
}
.hero-kicker {
  margin-bottom: 24px;
  color: rgba(255,255,255,.70);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.hero .display-title {
  max-width: 900px;
  font-size: clamp(58px, 7vw, 112px);
}
.hero-subtitle {
  max-width: 610px;
  margin: 30px 0 34px;
  color: rgba(255,255,255,.76);
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.55;
}
.hero-bottom {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: min(calc(100% - 64px), var(--container));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.hero-stats { display: flex; gap: 44px; }
.hero-stat strong { display: block; font-size: 22px; letter-spacing: -.04em; }
.hero-stat span { color: var(--muted); font-size: 12px; }
.scroll-cue { color: rgba(255,255,255,.62); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; writing-mode: vertical-rl; }

/* Home sections */
.about-section { padding: clamp(90px, 10vw, 160px) 0; }
.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, .7fr) 1.3fr;
  gap: clamp(50px, 7vw, 120px);
  align-items: center;
}
.about-text { max-width: 520px; }
.about-text .section-copy { margin-top: 32px; }
.about-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.about-media picture, .about-media img { width: 100%; }
.about-media img { aspect-ratio: 16/9; object-fit: cover; }
.about-media::after { content:""; position:absolute; inset:0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); border-radius: inherit; pointer-events:none; }
.about-numbers {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.about-number { padding: 24px 20px 0 0; }
.about-number strong { display: block; font-size: clamp(26px, 3vw, 42px); font-weight: 600; letter-spacing: -.045em; }
.about-number span { color: var(--muted); font-size: 13px; }

.horizontal-section { padding: clamp(70px, 8vw, 128px) 0; border-top: 1px solid var(--line); }
.horizontal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 310px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 90px);
}
.horizontal-heading { align-self: start; position: sticky; top: calc(var(--header-h) + 40px); }
.horizontal-heading h2 { margin: 0; font-size: clamp(30px, 3.4vw, 52px); letter-spacing: -.04em; line-height: 1.06; font-weight: 600; }
.carousel-controls { display: flex; gap: 10px; margin-top: 34px; }
.carousel-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.carousel-button:hover { border-color: var(--blue); background: var(--blue-soft); }
.carousel-viewport { position: relative; min-width: 0; overflow: hidden; }
.carousel-viewport::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 3;
  width: 90px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--bg));
}
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(285px, 32%);
  gap: 16px;
  overflow-x: auto;
  padding: 0 72px 18px 0;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  cursor: grab;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.carousel-card { scroll-snap-align: start; min-width: 0; }
.teacher-card {
  position: relative;
  height: 440px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
}
.teacher-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: saturate(.72) contrast(1.04); }
.teacher-card::after { content:""; position:absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(3,7,11,.95)); }
.card-content { position: absolute; z-index: 2; inset: auto 24px 24px; }
.card-tag { color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.card-title { margin: 9px 0 8px; font-size: 22px; font-weight: 580; letter-spacing: -.035em; line-height: 1.12; }
.card-meta { color: var(--muted); font-size: 13px; line-height: 1.5; }
.demo-label { display:inline-flex; margin-top: 13px; padding: 5px 8px; border:1px solid var(--line); border-radius:999px; color:var(--muted-2); font-size:10px; text-transform:uppercase; letter-spacing:.05em; }
.review-card {
  position: relative;
  height: 370px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
}
.review-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.58) brightness(.76); }
.review-card::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.06),rgba(3,7,11,.9)); }
.play-icon { position:absolute; z-index:3; top:24px; right:24px; width:50px; height:50px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.65); border-radius:50%; backdrop-filter:blur(10px); font-size:17px; }
.carousel-progress { width: 180px; height: 2px; margin-top: 22px; overflow:hidden; background:rgba(255,255,255,.13); }
.carousel-progress span { display:block; width:25%; height:100%; background:var(--blue); transform-origin:left center; transition:width .15s linear; }

/* Courses split */
.courses-section { border-top: 1px solid var(--line); }
.courses-split { display: grid; grid-template-columns: 1fr 1fr; }
.course-tile {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-right: 1px solid rgba(255,255,255,.18);
}
.course-tile:last-child { border-right: 0; }
.course-tile picture, .course-tile img { position:absolute; inset:0; width:100%; height:100%; }
.course-tile img { object-fit: cover; transition: transform .8s cubic-bezier(.2,.65,.2,1); }
.course-tile:hover img { transform: scale(1.035); }
.course-tile::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(2,5,8,.08),rgba(3,7,11,.85) 83%); }
.course-tile-content { position:relative; z-index:2; width:100%; padding: clamp(34px, 5vw, 76px); }
.course-tile h2 { margin:0; font-size:clamp(48px,5vw,80px); letter-spacing:-.05em; line-height:1; }
.course-tile p { max-width: 420px; margin:20px 0 28px; color:rgba(255,255,255,.74); font-size:17px; line-height:1.5; }
.course-price-line { margin-bottom: 24px; color: rgba(255,255,255,.64); font-size: 13px; }
.course-price-line strong { color:#fff; font-size:19px; font-weight:550; margin-left:6px; }

/* Final contact block */

.contact-footer {
  padding: clamp(88px, 9vw, 142px) 0 28px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 77% 25%, rgba(20,117,255,.07), transparent 32%),
    var(--bg);
}

.contact-footer-main {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(48px, 8vw, 126px);
  align-items: center;
}

.contact-cta h2 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(48px, 5.4vw, 82px);
  line-height: .97;
  letter-spacing: -.055em;
}

.contact-lead {
  max-width: 520px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.contact-primary {
  width: auto;
  min-width: 250px;
  background: rgba(255,255,255,.035);
}

.contact-map {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #060a0f;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
  filter: grayscale(1) invert(.91) hue-rotate(175deg) saturate(.48) brightness(.62) contrast(1.12);
}

.contact-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(3,7,11,.05), rgba(3,7,11,.20));
}

.map-caption {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  background: rgba(3,7,11,.78);
  backdrop-filter: blur(16px);
}

.map-caption div {
  display: grid;
  gap: 4px;
}

.map-caption strong {
  font-size: 15px;
  font-weight: 560;
}

.map-caption span {
  color: var(--muted);
  font-size: 12px;
}

.map-caption a {
  flex: 0 0 auto;
  color: rgba(255,255,255,.88);
  font-size: 13px;
}

.map-caption a:hover {
  color: var(--blue);
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(58px, 7vw, 96px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-links > * {
  min-width: 0;
  padding: 24px 26px 24px 0;
  border-right: 1px solid var(--line);
}

.contact-links > *:not(:first-child) {
  padding-left: 26px;
}

.contact-links > *:last-child {
  border-right: 0;
}

.contact-links span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-links strong {
  color: rgba(255,255,255,.88);
  font-size: 15px;
  font-weight: 500;
}

.contact-links a:hover strong {
  color: var(--blue);
}

.contact-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 28px;
  color: var(--muted-2);
  font-size: 12px;
}

.contact-footer-brand .brand-mark {
  width: 30px;
  height: 30px;
}

.contact-footer-brand .brand-word {
  font-size: 14px;
}

.course-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.course-footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 32px;
  color: var(--muted-2);
  font-size: 12px;
}

.course-footer-contact {
  color: rgba(255,255,255,.82);
  font-size: 13px;
}

.course-footer-contact:hover {
  color: var(--blue);
}

/* Course pages */
.course-page { background: var(--bg); }
.course-hero {
  position:relative;
  min-height:86svh;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  padding: calc(var(--header-h) + 70px) 0 70px;
}
.course-hero picture, .course-hero img { position:absolute; inset:0; width:100%; height:100%; }
.course-hero img { object-fit:cover; }
.course-hero::before { content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg,rgba(2,5,8,.94),rgba(2,5,8,.58) 52%,rgba(2,5,8,.18)),linear-gradient(180deg,rgba(2,5,8,.15),rgba(2,5,8,.78)); }
.course-hero-inner { position:relative; z-index:2; width:min(calc(100% - 64px),var(--container)); margin:auto; }
.course-breadcrumbs { margin-bottom:28px; color:var(--muted); font-size:12px; }
.course-title { max-width:900px; font-size:clamp(64px,8vw,126px); }
.course-lead { max-width:670px; margin:26px 0 34px; color:rgba(255,255,255,.76); font-size:clamp(17px,1.5vw,22px); line-height:1.55; }
.course-actions { display:flex; flex-wrap:wrap; align-items:center; gap:14px; }
.hero-price { margin-left:20px; }
.hero-price del { color:var(--muted); font-size:16px; }
.hero-price strong { display:block; margin-top:4px; font-size:34px; letter-spacing:-.04em; }
.info-strip { border-bottom:1px solid var(--line); }
.info-strip-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.info-cell { min-height:125px; padding:28px 26px; border-right:1px solid var(--line); }
.info-cell:last-child { border-right:0; }
.info-cell small { display:block; margin-bottom:8px; color:var(--muted); }
.info-cell strong { font-size:18px; font-weight:550; }
.course-content-section { padding:clamp(80px,9vw,145px) 0; }
.course-intro-grid { display:grid; grid-template-columns:.7fr 1.3fr; gap:clamp(50px,8vw,130px); }
.course-intro-grid .section-copy { max-width:800px; }
.feature-row { margin-top:62px; display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--line); }
.feature { padding:28px 34px 0 0; }
.feature strong { display:block; margin-bottom:9px; font-size:20px; font-weight:550; }
.feature span { color:var(--muted); line-height:1.55; font-size:14px; }
.program-section { padding:clamp(70px,8vw,125px) 0; border-top:1px solid var(--line); }
.program-header { display:grid; grid-template-columns:.7fr 1.3fr; gap:clamp(50px,8vw,130px); margin-bottom:56px; }
.program-list { border-top:1px solid var(--line); }
details.program-item { border-bottom:1px solid var(--line); }
.program-item summary { list-style:none; cursor:pointer; padding:28px 0; display:grid; grid-template-columns:90px 1fr 40px; align-items:center; gap:20px; }
.program-item summary::-webkit-details-marker { display:none; }
.program-index { color:var(--blue); font-size:13px; }
.program-name { font-size:clamp(20px,2vw,30px); font-weight:540; letter-spacing:-.025em; }
.program-plus { width:36px; height:36px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; transition:transform .25s; }
details[open] .program-plus { transform:rotate(45deg); }
.program-body { padding:0 60px 30px 110px; color:var(--muted); line-height:1.7; }
.program-body ul { margin:0; padding-left:18px; columns:2; column-gap:60px; }
.program-body li { margin-bottom:8px; break-inside:avoid; }
.payment-section { padding:clamp(75px,8vw,120px) 0; border-top:1px solid var(--line); }
.payment-card { display:grid; grid-template-columns:1fr .8fr; gap:60px; padding:clamp(34px,5vw,72px); border:1px solid var(--line); border-radius:var(--radius-lg); background:linear-gradient(135deg,rgba(20,117,255,.10),rgba(255,255,255,.02)); }
.payment-steps { display:grid; gap:16px; margin-top:28px; color:var(--muted); }
.payment-step { display:flex; gap:14px; align-items:flex-start; }
.payment-step b { width:27px; height:27px; flex:0 0 27px; display:grid; place-items:center; border:1px solid rgba(20,117,255,.45); border-radius:50%; color:var(--blue); font-size:12px; }
.payment-aside { align-self:center; padding:34px; border:1px solid var(--line); border-radius:var(--radius-md); background:rgba(5,8,12,.55); }
.payment-aside del { color:var(--muted); }
.payment-aside .big-price { margin:7px 0 24px; font-size:clamp(42px,5vw,66px); font-weight:620; letter-spacing:-.05em; }
.course-final { padding:clamp(80px,10vw,150px) 0; text-align:center; }
.course-final h2 { margin:0 auto 20px; max-width:900px; font-size:clamp(48px,6vw,92px); line-height:.98; letter-spacing:-.055em; }
.course-final p { margin:0 auto 32px; max-width:600px; color:var(--muted); line-height:1.6; }
.mobile-sticky-cta { display:none; }

/* Reveal */
.reveal { opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity:1; transform:none; }

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .container, .header-inner, .hero-content, .hero-bottom, .course-hero-inner { width:min(calc(100% - 36px), var(--container)); }
  .desktop-nav, .header-cta { display:none; }
  .menu-button { display:block; }
  .brand-mark { width:32px; height:32px; }
  .about-grid, .contact-footer-main, .course-intro-grid, .program-header, .payment-card { grid-template-columns:1fr; }
  .about-text { max-width:720px; }
  .about-media { order:2; }
  .horizontal-layout { grid-template-columns:1fr; gap:32px; }
  .horizontal-heading { position:static; display:flex; align-items:flex-end; justify-content:space-between; gap:20px; }
  .carousel-controls { margin-top:0; }
  .carousel-track { grid-auto-columns:minmax(270px,43%); }
  .courses-split { grid-template-columns:1fr; }
  .course-tile { min-height:520px; border-right:0; border-bottom:1px solid var(--line); }
  .contact-footer-main { gap: 52px; }
  .course-footer-inner { grid-template-columns:1fr auto; }
  .course-footer-inner > span { grid-column:1 / -1; }
  .info-strip-grid { grid-template-columns:repeat(2,1fr); }
  .info-cell:nth-child(2) { border-right:0; }
  .info-cell:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .feature-row { grid-template-columns:1fr; }
  .feature { padding:25px 0; border-bottom:1px solid var(--line); }
  .program-body { padding-left:0; }
}

@media (max-width: 640px) {
  .container, .header-inner, .hero-content, .hero-bottom, .course-hero-inner { width:calc(100% - 32px); }
  .site-header { height:68px; }
  .brand-word { font-size:15px; }
  .hero { min-height:100svh; align-items:flex-end; padding-bottom:110px; }
  .hero-media img { object-position:center; }
  .hero::before { background:linear-gradient(180deg,rgba(2,5,8,.30) 0%,rgba(2,5,8,.50) 35%,rgba(2,5,8,.95) 90%); }
  .hero-content { padding:100px 0 35px; }
  .hero-kicker { font-size:10px; margin-bottom:16px; }
  .hero .display-title { font-size:clamp(47px,14vw,68px); max-width:100%; }
  .hero-subtitle { margin:22px 0 27px; font-size:15px; max-width:92%; }
  .button { min-height:54px; width:100%; justify-content:space-between; }
  .hero-bottom { bottom:22px; }
  .hero-stats { gap:22px; }
  .hero-stat strong { font-size:18px; }
  .hero-stat span { font-size:10px; }
  .scroll-cue { display:none; }
  .about-section { padding:76px 0; }
  .about-grid { gap:38px; }
  .about-media { border-radius:20px; }
  .about-media img { aspect-ratio:4/5; }
  .about-numbers { margin-top:32px; }
  .about-number { padding-right:10px; }
  .about-number strong { font-size:28px; }
  .about-number span { font-size:10px; }
  .horizontal-section { padding:64px 0; }
  .horizontal-heading { align-items:center; }
  .horizontal-heading h2 { font-size:32px; max-width:230px; }
  .carousel-button { width:42px; height:42px; }
  .carousel-controls .carousel-button:first-child { display:none; }
  .carousel-track { grid-auto-columns:82%; gap:12px; padding-right:48px; }
  .carousel-viewport::after { width:44px; }
  .teacher-card { height:410px; }
  .review-card { height:360px; }
  .carousel-progress { width:130px; }
  .course-tile { min-height:70svh; }
  .course-tile-content { padding:28px 20px; }
  .course-tile h2 { font-size:50px; }
  .course-tile p { font-size:15px; max-width:85%; }
  .contact-footer { padding:72px 0 22px; }
  .contact-footer-main { gap:38px; }
  .contact-cta h2 { font-size:46px; }
  .contact-lead { font-size:14px; margin:22px 0 28px; }
  .contact-primary { width:100%; }
  .contact-map, .contact-map iframe { min-height:340px; height:340px; }
  .map-caption { left:12px; right:12px; bottom:12px; padding:14px; }
  .contact-links { grid-template-columns:1fr 1fr; margin-top:48px; }
  .contact-links > * { padding:20px 18px 20px 0; }
  .contact-links > *:not(:first-child) { padding-left:18px; }
  .contact-links > *:nth-child(2) { border-right:0; }
  .contact-links > *:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .contact-footer-bottom { padding-top:22px; }
  .course-footer-inner { grid-template-columns:1fr auto; gap:20px; }
  .course-footer-inner > span { grid-column:1 / -1; }
  .course-hero { min-height:100svh; padding-bottom:44px; }
  .course-hero::before { background:linear-gradient(180deg,rgba(2,5,8,.25),rgba(2,5,8,.94) 74%); }
  .course-title { font-size:clamp(54px,16vw,78px); }
  .course-lead { font-size:15px; }
  .course-actions { display:block; }
  .hero-price { margin:24px 0 0; }
  .info-strip-grid { grid-template-columns:1fr 1fr; }
  .info-cell { min-height:105px; padding:22px 15px; }
  .info-cell strong { font-size:14px; }
  .section-title { font-size:42px; }
  .feature-row { margin-top:38px; }
  .program-item summary { grid-template-columns:48px 1fr 36px; gap:12px; padding:23px 0; }
  .program-name { font-size:19px; }
  .program-body { padding:0 0 24px; font-size:14px; }
  .program-body ul { columns:1; }
  .payment-card { padding:26px 20px; gap:36px; }
  .payment-aside { padding:24px 18px; }
  .course-final { padding-bottom:120px; }
  .mobile-sticky-cta {
    position:fixed;
    z-index:60;
    left:12px;
    right:12px;
    bottom:12px;
    display:block;
    padding:7px;
    border:1px solid var(--line-strong);
    border-radius:18px;
    background:rgba(5,8,12,.86);
    backdrop-filter:blur(18px);
  }
  .mobile-sticky-cta .button { background:var(--blue); border-color:var(--blue); }
}

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


/* V2 high-resolution media positioning */
.hero-media img { object-position: center center; }
.course-tile:first-child img { object-position: center center; }
.course-tile:last-child img { object-position: center center; }
.teacher-card img,
.review-card img {
  image-rendering: auto;
  filter: saturate(.86) contrast(1.03);
}
@media (max-width: 640px) {
  .hero-media img { object-position: 63% center; }
  .course-tile:first-child img { object-position: 45% center; }
  .course-tile:last-child img { object-position: 57% center; }
}


/* V4 — larger header identity and seamless section flow */
:root {
  --header-h: 96px;
}

/* Larger logo only in the main header */
.site-header .brand {
  gap: 14px;
}

.site-header .brand-mark {
  width: 52px;
  height: 52px;
}

.site-header .brand-word {
  font-size: 21px;
  line-height: .88;
  letter-spacing: -.04em;
}

/* The glass header remains, but without a separating line */
.site-header.is-scrolled,
.site-header.header-solid {
  border-bottom: 0;
  box-shadow: 0 16px 50px rgba(0, 0, 0, .12);
}

/* Major sections merge into one continuous composition */
.horizontal-section,
.courses-section,
.contact-footer,
.course-content-section,
.program-section,
.payment-section,
.course-footer {
  border-top: 0 !important;
}

.info-strip {
  border-bottom: 0 !important;
}

/* Internal content should not begin with a divider either */
.about-numbers,
.feature-row {
  border-top: 0;
}

/* Soft spacing replaces divider lines */
.about-numbers {
  column-gap: 28px;
}

.horizontal-section,
.courses-section,
.contact-footer,
.course-content-section,
.program-section,
.payment-section {
  position: relative;
}

/* Remove visible line where two course panels meet */
.course-tile {
  border-right: 0 !important;
  border-bottom: 0 !important;
}

@media (max-width: 640px) {
  :root {
    --header-h: 76px;
  }

  .site-header {
    height: 76px;
  }

  .site-header .brand {
    gap: 10px;
  }

  .site-header .brand-mark {
    width: 42px;
    height: 42px;
  }

  .site-header .brand-word {
    font-size: 17px;
    line-height: .9;
  }
}


/* V5 — serious minimalism, stronger conversion, smoother image blending */
body {
  background:
    radial-gradient(circle at 8% 16%, rgba(14, 67, 130, .10), transparent 32%),
    linear-gradient(180deg, #05080c 0%, #071018 42%, #05080c 100%);
}

.desktop-nav a,
.contact-links strong,
.course-footer-contact {
  letter-spacing: -.01em;
}

.header-cta {
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.16);
}

.button {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.035);
}

.button:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.28);
  transform: translateY(-1px);
}

.button-primary {
  background: rgba(20,117,255,.92);
  border-color: rgba(20,117,255,.92);
}

.button-primary:hover {
  background: rgba(20,117,255,1);
  border-color: rgba(20,117,255,1);
}

.hero-main-cta {
  min-width: 230px;
}

.hero .display-title {
  max-width: 1020px;
}

.hero-subtitle {
  max-width: 720px;
  margin: 26px 0 34px;
  color: rgba(255,255,255,.78);
  font-size: clamp(16px, 1.28vw, 20px);
  line-height: 1.6;
}

.hero::after,
.course-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 170px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5,8,12,0), rgba(5,8,12,.88) 62%, rgba(5,8,12,1) 100%);
}

.hero-bottom {
  bottom: 24px;
}

.hero-stats {
  gap: 34px;
}

.hero-stat strong {
  font-size: 20px;
}

.hero-stat span {
  margin-top: 3px;
  display: inline-block;
}

.about-media {
  background: #070c12;
  box-shadow: 0 36px 80px rgba(0, 0, 0, .26);
}

.about-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,8,12,.02) 0%, rgba(5,8,12,.04) 58%, rgba(5,8,12,.42) 100%),
    linear-gradient(90deg, rgba(5,8,12,.03), transparent 22%, transparent 78%, rgba(5,8,12,.10));
}

.about-media::after {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

.about-numbers {
  margin-top: 40px;
}

.horizontal-heading h2 {
  max-width: 280px;
}

.carousel-button {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.02);
}

.carousel-button:hover {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.22);
}

.teacher-card,
.review-card {
  border-color: rgba(255,255,255,.07);
  background: linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,.01));
}

.teacher-card::before,
.review-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,8,12,.00) 0%, rgba(5,8,12,.10) 44%, rgba(5,8,12,.82) 100%),
    linear-gradient(90deg, rgba(5,8,12,.04), transparent 20%, transparent 80%, rgba(5,8,12,.10));
}

.teacher-card::after {
  content:"";
  position:absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(3,7,11,.92));
}

.review-card::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(5,8,12,.08), rgba(3,7,11,.92));
}

.teacher-card img {
  filter: saturate(.84) contrast(1.04);
}

.review-card img {
  filter: saturate(.70) brightness(.86) contrast(1.02);
}

.card-content {
  inset: auto 24px 22px;
}

.card-title {
  font-size: 20px;
  margin: 10px 0 8px;
}

.card-meta {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,.68);
}

.play-icon,
.demo-label {
  display: none !important;
}

.carousel-progress {
  background: rgba(255,255,255,.08);
}

.course-tile {
  isolation: isolate;
}

.course-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,8,12,.06) 0%, rgba(5,8,12,.03) 24%, rgba(5,8,12,.74) 86%, rgba(5,8,12,.96) 100%),
    linear-gradient(90deg, rgba(5,8,12,.08) 0%, rgba(5,8,12,.02) 18%, rgba(5,8,12,.02) 82%, rgba(5,8,12,.10) 100%);
}

.course-tile::after {
  background: linear-gradient(180deg, rgba(2,5,8,.04), rgba(3,7,11,.80) 84%);
}

.course-tile-content {
  padding: clamp(36px, 5vw, 76px);
}

.course-tile p {
  max-width: 470px;
  margin: 18px 0 24px;
  font-size: 16px;
  line-height: 1.55;
}

.course-price-line {
  margin-bottom: 22px;
}

.contact-footer {
  background:
    radial-gradient(circle at 77% 25%, rgba(20,117,255,.04), transparent 34%),
    var(--bg);
}

.contact-cta h2 {
  max-width: 700px;
}

.contact-map {
  border-color: rgba(255,255,255,.07);
  box-shadow: 0 28px 70px rgba(0,0,0,.22);
}

.contact-links {
  border-top-color: rgba(255,255,255,.08);
  border-bottom-color: rgba(255,255,255,.08);
}

.contact-links > * {
  border-right-color: rgba(255,255,255,.08);
}

.course-breadcrumbs {
  color: rgba(255,255,255,.56);
}

.course-lead {
  max-width: 640px;
  font-size: clamp(16px, 1.38vw, 20px);
}

.hero-price small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.info-cell {
  border-right-color: rgba(255,255,255,.08);
}

.price-note {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.payment-aside {
  border-color: rgba(255,255,255,.08);
  background: rgba(5,8,12,.46);
}

.payment-aside .big-price {
  margin-top: 8px;
}

.course-final p {
  max-width: 560px;
}


@media (max-width: 980px) {
  .course-tile p {
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .hero-subtitle {
    max-width: 100%;
    margin: 20px 0 24px;
    font-size: 14px;
  }

  .hero::after,
  .course-hero::after {
    height: 120px;
  }

  .hero-stats {
    gap: 18px;
  }

  .hero-stat strong {
    font-size: 17px;
  }

  .about-media::before,
  .course-tile::before {
    background:
      linear-gradient(180deg, rgba(5,8,12,.02) 0%, rgba(5,8,12,.10) 42%, rgba(5,8,12,.82) 100%);
  }

  .horizontal-heading h2 {
    max-width: 240px;
  }

  .card-title {
    font-size: 18px;
  }

  .card-meta {
    font-size: 12px;
  }

  .course-tile p {
    max-width: 100%;
    font-size: 14px;
  }

  .contact-links strong {
    font-size: 14px;
  }

}
