/* =====================================================
   DNDC — premium editorial styling
   ===================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #0e0c0a;            /* deep warm black */
  --bg-2: #14110e;          /* charcoal */
  --bg-3: #1d1815;          /* warm coal */
  --cream: #f1ead8;         /* paper cream */
  --cream-2: #e7dec7;       /* aged paper */
  --beige: #c9b699;         /* warm beige */
  --beige-2: #a08f72;
  --orange: #e26743;        /* logo coral */
  --orange-2: #c14e2a;
  --orange-soft: rgba(226, 103, 67, 0.14);
  --rust: #7c2d12;          /* deep rust */
  --line: rgba(241, 234, 216, 0.12);
  --line-strong: rgba(241, 234, 216, 0.24);

  --font-serif: 'Fraunces', 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --maxw: 1480px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }
html { -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  cursor: none;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
::selection { background: var(--orange); color: var(--bg); }

/* ---------- Custom Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid var(--cream);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999 !important;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cursor.is-hover { width: 64px; height: 64px; border-color: var(--orange); }
.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 4px; height: 4px;
  background: var(--cream);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999 !important;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
@media (hover: none) {
  body { cursor: auto; }
  button, a { cursor: pointer; }
  .cursor, .cursor-dot { display: none; }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
}
.loader__inner { width: min(90%, 720px); text-align: center; }
.loader__brand {
  display: flex;
  justify-content: center;
  align-items: center;
}
.loader__logo-svg {
  width: clamp(260px, 34vw, 420px);
  height: auto;
  color: var(--cream);
  overflow: visible;
}
.loader__logo-svg.small { width: clamp(220px, 24vw, 300px); }
.loader__frame {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: drawFrame 1.4s cubic-bezier(0.65, 0, 0.35, 1) 0.2s forwards;
}
.loader__wordmark, .loader__tagline {
  opacity: 0;
  transform: translateY(16px);
  transform-origin: center;
}
.loader__wordmark {
  animation: revealWord 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}
.loader__tagline {
  animation: revealWord 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}
@keyframes drawFrame {
  to { stroke-dashoffset: 0; }
}
@keyframes revealWord {
  to { opacity: 1; transform: translateY(0); }
}
.loader__sub {
  margin-top: 20px;
  display: flex; justify-content: center; gap: 12px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--beige);
  opacity: 0;
}
.loader__sub .dot { color: var(--orange); }
.loader__bar {
  margin: 56px auto 12px;
  width: 220px; height: 1px;
  background: var(--line);
  overflow: hidden;
}
.loader__bar-fill {
  height: 100%;
  width: 0%;
  background: var(--cream);
}
.loader__counter {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--beige);
  letter-spacing: 0.06em;
}
.loader--mini .loader__bar,
.loader--mini .loader__counter,
.loader--mini .loader__sub { display: none; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 60px);
  color: var(--cream);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(14, 12, 10, 0.72) 0%, rgba(14, 12, 10, 0) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.nav > * { pointer-events: auto; }
.nav__brand {
  display: flex; align-items: center;
  gap: 14px;
  line-height: 1;
}
.nav__brand-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav__brand:hover .nav__brand-logo {
  transform: rotate(-2deg) scale(1.04);
  box-shadow: 0 4px 22px rgba(226, 103, 67, 0.45);
}
.nav__brand-sub {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--beige);
  border-left: 1px solid var(--line-strong);
  padding-left: 14px;
  line-height: 1.3;
  max-width: 120px;
}
@media (max-width: 760px) {
  .nav__brand-sub { display: none; }
}
.nav__links {
  display: flex; gap: 36px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.nav__links a { position: relative; padding: 8px 0; }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 4px;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--cream);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.nav__cta:hover { background: var(--cream); color: var(--bg); }
.nav__cta svg { transition: transform 0.4s var(--ease); }
.nav__cta:hover svg { transform: rotate(-45deg); }

@media (max-width: 760px) {
  .nav__links { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.02em;
  font-weight: 500;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative;
  will-change: transform;
}
.btn--solid {
  background: var(--cream);
  color: var(--bg);
}
.btn--solid:hover { background: var(--orange); color: var(--cream); }
.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--cream);
}
.btn--ghost:hover { background: var(--cream); color: var(--bg); border-color: var(--cream); }
.btn--lg { padding: 20px 36px; font-size: 15px; }
.btn svg { transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px clamp(24px, 4vw, 56px) 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  grid-template-rows: 1fr auto;
  column-gap: clamp(32px, 5vw, 72px);
  row-gap: 36px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  top: 30%; right: -10%;
  width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(226, 103, 67, 0.08), transparent 60%);
  z-index: -1;
  pointer-events: none;
  filter: blur(50px);
}

/* === Editorial photo on the right === */
.hero__visual {
  grid-column: 2;
  grid-row: 1 / 2;
  position: relative;
  align-self: center;
  display: flex; flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 440px;
  justify-self: end;
}
.hero__visual-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  cursor: none;
  border: 1px solid var(--line);
  background: var(--bg-3);
  transform: translateZ(0);
}
.hero__visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(0.85);
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s var(--ease);
  will-change: transform;
}
.hero__visual-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 12, 10, 0.15) 0%, transparent 30%, rgba(14, 12, 10, 0.7) 100%),
    linear-gradient(135deg, rgba(226, 103, 67, 0.18), transparent 55%);
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}
.hero__visual-grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    repeating-radial-gradient(
      circle at 50% 50%,
      rgba(241, 234, 216, 0.05) 0,
      rgba(241, 234, 216, 0.05) 1px,
      transparent 1px,
      transparent 3px
    );
  mix-blend-mode: overlay;
}
.hero__visual-corner {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
}
.hero__visual-index {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 5px 8px;
  border: 1px solid rgba(241, 234, 216, 0.35);
  border-radius: 2px;
  backdrop-filter: blur(4px);
  background: rgba(14, 12, 10, 0.3);
}
.hero__visual-meta {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 12px;
  color: var(--cream);
}
.hero__visual-meta > div:first-child {
  display: flex; flex-direction: column;
  gap: 2px;
}
.hero__visual-eyebrow {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-style: italic;
}
.hero__visual-loc {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-2);
}
.hero__visual-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(241, 234, 216, 0.35);
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(14, 12, 10, 0.35);
  backdrop-filter: blur(6px);
  transform: translateY(6px);
  opacity: 0;
  transition: transform 0.6s var(--ease-out), opacity 0.5s var(--ease), background 0.4s var(--ease);
}
.hero__visual-wrap:hover .hero__visual-cta {
  transform: translateY(0);
  opacity: 1;
}
.hero__visual-wrap:hover .hero__visual-cta { background: var(--orange); border-color: var(--orange); color: var(--bg); }
.hero__visual-wrap:hover .hero__visual-img {
  transform: scale(1.05);
  filter: contrast(1.08) saturate(1);
}
.hero__visual-wrap:hover .hero__visual-tint { opacity: 0.7; }

/* Caption row below the photo */
.hero__visual-caption {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.hero__visual-caption .num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--cream);
}
.hero__visual-caption .lbl {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--beige);
  line-height: 1.5;
}
.hero__content {
  grid-column: 1;
  grid-row: 1 / 2;
  display: flex; flex-direction: column;
  justify-content: center;
  max-width: 760px;
}
.hero__tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--beige);
  margin-bottom: 24px;
  width: fit-content;
  backdrop-filter: blur(6px);
}
.dot-glow {
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--orange);
  animation: pulse 2.4s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 6.2vw, 96px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--cream);
}
.hero__title .line { display: block; overflow: hidden; padding: 0.04em 0; }
.hero__title .line > * { display: inline-block; }
.hero__title .italic {
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  padding-left: 0.1em;
}
.hero__sub {
  margin-top: 24px;
  max-width: 460px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--cream-2);
}
.hero__cta {
  margin-top: 28px;
  display: flex; gap: 12px;
  flex-wrap: wrap;
}
.hero__stack {
  margin-top: 32px;
  display: flex; align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__stack-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--beige);
  padding-right: 16px;
  border-right: 1px solid var(--line);
}
.hero__stack ul {
  display: flex; flex-wrap: wrap;
  gap: 6px;
}
.hero__stack li {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--cream-2);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.hero__stack li:hover {
  background: var(--orange);
  color: var(--bg);
  border-color: var(--orange);
}
.hero__meta {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero__meta-item { display: flex; flex-direction: column; gap: 4px; }
.hero__meta-item .num {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero__meta-item .lbl {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--beige);
}
.hero__scroll {
  justify-self: end;
  display: flex; align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--beige);
}
.hero__scroll-line {
  width: 60px; height: 1px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute; top: 0; left: -50%;
  width: 50%; height: 100%;
  background: var(--orange);
  animation: scrollLine 2.4s ease infinite;
}
@keyframes scrollLine {
  0% { left: -50%; }
  100% { left: 100%; }
}
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding-top: 120px;
  }
  .hero__content { grid-column: 1; grid-row: 1; }
  .hero__visual { grid-column: 1; grid-row: 2; min-height: 420px; }
  .hero__meta { grid-row: 3; grid-template-columns: repeat(3, 1fr); }
  .hero__scroll { display: none; }
}
@media (max-width: 600px) {
  .hero__meta { grid-template-columns: 1fr 1fr; }
  .hero__visual { min-height: 360px; }
  .hero__visual-caption .num { font-size: 36px; }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 28px 0;
}
.marquee__track {
  display: flex; align-items: center;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 24s linear infinite;
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 72px);
  font-style: italic;
  color: var(--cream);
}
.marquee__track i {
  font-style: normal;
  color: var(--orange);
  font-size: 0.5em;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Section common ---------- */
.section__head {
  padding: 110px clamp(20px, 4vw, 60px) 48px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: end;
}
.section__index {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--beige);
}
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 1000px;
}
.section__title .italic { font-style: italic; color: var(--orange); font-weight: 400; }
.section__title span { display: inline-block; padding-right: 0.18em; overflow: hidden; }
.section__lede {
  grid-column: 2 / 3;
  max-width: 540px;
  margin-top: 32px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream-2);
}
@media (max-width: 860px) {
  .section__head { grid-template-columns: 1fr; padding-top: 100px; }
  .section__lede { grid-column: 1; }
}

/* ---------- Courses ---------- */
.courses {
  background: var(--bg);
  padding-bottom: 120px;
}
.courses__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 1.6vw, 24px);
  margin: 0 clamp(20px, 4vw, 60px);
}
.course-card {
  position: relative;
  padding: 36px 32px 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-2);
  display: flex; flex-direction: column;
  gap: 20px;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out),
              border-color 0.5s var(--ease),
              background 0.5s var(--ease),
              box-shadow 0.5s var(--ease);
}
.course-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background: var(--bg-3);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.7);
}

/* Thin accent line that draws across the top on hover */
.course-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--card-color, var(--orange));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s var(--ease-out);
}
.course-card:hover::before { transform: scaleX(1); }

.course-card__top {
  display: flex; justify-content: space-between; align-items: center;
}
.course-card__num {
  font-family: var(--font-serif);
  font-size: 12px;
  color: var(--beige);
  letter-spacing: 0.04em;
  transition: color 0.5s var(--ease);
}
.course-card:hover .course-card__num { color: var(--card-color, var(--orange)); }
.course-card__level {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-2);
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.course-card:hover .course-card__level {
  color: var(--card-color, var(--orange));
  border-color: var(--card-color, var(--orange));
}

.course-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}
.course-card:hover h3 { transform: translateX(4px); }

.course-card > p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--cream-2);
  max-width: 440px;
  margin: 0;
}

.course-card__tech {
  display: flex; flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}
.course-card__tech li {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--cream-2);
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.course-card:hover .course-card__tech li {
  border-color: var(--line-strong);
  color: var(--cream);
}

.course-card__kpis {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.course-card__kpis > div {
  display: flex; flex-direction: column;
  gap: 5px;
}
.course-card__kpis .k {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--beige);
}
.course-card__kpis .v {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.course-card__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--beige);
  transition: color 0.5s var(--ease);
}
.course-card:hover .course-card__foot { color: var(--cream); }
.course-card__foot .arrow {
  font-size: 14px;
  color: var(--cream-2);
  transition: transform 0.5s var(--ease-out), color 0.4s var(--ease);
  display: inline-block;
}
.course-card:hover .course-card__foot .arrow {
  transform: translate(4px, -4px);
  color: var(--card-color, var(--orange));
}

/* Roomier 3-column layout on large screens so each card can breathe */
@media (min-width: 1100px) {
  .courses__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .courses__grid { grid-template-columns: 1fr; }
  .course-card { padding: 30px 24px 26px; }
}

/* ---------- About ---------- */
.about {
  position: relative;
  padding: 140px clamp(20px, 4vw, 60px) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.about__index {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--beige);
  margin-bottom: 60px;
}
.about__head {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 92px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 1400px;
}
.about__head .word {
  display: inline-block;
  margin-right: 0.18em;
  opacity: 0.18;
  transition: opacity 0.4s var(--ease);
}
.about__head .word.italic { font-style: italic; color: var(--orange); font-weight: 400; }
.about__counters {
  margin-top: 120px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-top: 60px;
  border-top: 1px solid var(--line);
}
.counter { display: flex; flex-direction: column; gap: 8px; }
.counter__num {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.counter__lbl {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--beige);
}
@media (max-width: 860px) {
  .about__counters { grid-template-columns: repeat(2, 1fr); }
}

/* About horizontal */
.about__horizontal {
  margin-top: 140px;
  margin-left: calc(clamp(20px, 4vw, 60px) * -1);
  margin-right: calc(clamp(20px, 4vw, 60px) * -1);
  height: 100vh;
  overflow: hidden;
  position: relative;
}
.about__horizontal-track {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(20px, 4vw, 60px);
  will-change: transform;
}
.hpanel {
  flex: 0 0 clamp(320px, 38vw, 500px);
  height: 65%;
  max-height: 550px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.hpanel:hover { border-color: var(--line-strong); transform: translateY(-6px); }
.hpanel::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(217, 119, 66, 0.12), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.hpanel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
  filter: brightness(.85);
  transition: transform .8s ease, filter .8s ease;
}


.hpanel:hover .hpanel__img {
  transform: scale(1.08);
  filter: brightness(.45);
}
.hpanel__num {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 0.04em;
  position: relative; z-index: 2;
}
.hpanel h3, .hpanel p { position: relative; z-index: 2; }
.hpanel h3 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-top: auto;
}
.hpanel p {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--cream-2);
  max-width: 320px;
}

.hpanel::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(
    to top,
    rgba(0,0,0,.85),
    rgba(0,0,0,.3),
    transparent
  );
  opacity:0;
  transition:.5s ease;
}

.hpanel:hover::after{
  opacity:1;
}

.hpanel__num,
.hpanel h3,
.hpanel p{
  position:absolute;
  left:32px;
  z-index:5;
  opacity:0;
  transform:translateY(30px);
  transition:.6s ease;
}

.hpanel__num{
  bottom:150px;
  color:#d97742;
}

.hpanel h3{
  bottom:70px;
  margin:0;
  margin-bottom: 30px;
  color:white;
  font-size:2rem;
}

.hpanel p{
  bottom:25px;
  max-width:80%;
  color:#f5f5f5;
  margin:0;
}

.hpanel:hover .hpanel__num,
.hpanel:hover h3,
.hpanel:hover p{
  opacity:1;
  transform:translateY(0);
}

.hpanel:hover h3{
  transition-delay:.1s;
}

.hpanel:hover p{
  transition-delay:.2s;
}
@media (max-width: 860px) {
  .about__horizontal { height: auto; margin: 80px 0 0; }
  .about__horizontal-track { flex-direction: column; padding: 0 clamp(20px, 4vw, 60px); transform: none !important; }
  .hpanel { flex: 0 0 auto; height: auto; padding: 40px 28px; }
}

/* ---------- Why ---------- */
.why { background: var(--bg); padding-bottom: 120px; }
.why__list {
  margin: 0 clamp(20px, 4vw, 60px);
  border-top: 1px solid var(--line);
}
.why__item {
  position: relative;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 80px 1fr 2fr 60px;
  gap: 40px;
  align-items: center;
  transition: padding 0.5s var(--ease);
  cursor: none;
}
.why__num {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--beige);
}
.why__item h3 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: color 0.4s var(--ease), transform 0.5s var(--ease);
}
.why__item p {
  font-size: 16px;
  color: var(--cream-2);
  max-width: 540px;
  transition: opacity 0.4s var(--ease);
}
.why__arrow {
  font-size: 22px;
  color: var(--beige);
  justify-self: end;
  transition: color 0.4s var(--ease), transform 0.5s var(--ease);
}
.why__item:hover h3 { color: var(--orange); transform: translateX(12px); }
.why__item:hover .why__arrow { color: var(--orange); transform: translate(6px, -6px); }
@media (max-width: 860px) {
  .why__item { grid-template-columns: 40px 1fr 40px; padding: 32px 0; }
  .why__item p { grid-column: 2; }
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg); padding-bottom: 140px; overflow: hidden; }
.testimonials__rail {
  display: flex; gap: 32px;
  padding: 40px clamp(20px, 4vw, 60px);
  will-change: transform;
}
.t-card {
  flex: 0 0 clamp(300px, 32vw, 460px);
  padding: 40px 32px;
  background: rgba(241, 234, 216, 0.04);
  border: 1px solid var(--line);
  border-radius: 6px;
  backdrop-filter: blur(12px);
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 280px;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease);
}
.t-card:hover {
  background: rgba(217, 119, 66, 0.08);
  border-color: rgba(217, 119, 66, 0.3);
}
.t-card p {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.t-card footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px;
}
.t-card__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
}
.t-card__person { display: flex; flex-direction: column; gap: 3px; }
.t-card__name { font-weight: 500; color: var(--cream); }
.t-card__role { font-size: 12px; color: var(--beige); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Placements ---------- */
.placements { background: var(--bg); padding-bottom: 140px; }
.placements__grid {
  margin: 40px clamp(20px, 4vw, 60px) 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 32px);
}
.placement-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-2);
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.placement-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.7);
}
.placement-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.placement-card figcaption {
  padding: 20px 22px 24px;
  display: flex; flex-direction: column; gap: 6px;
  border-top: 1px solid var(--line);
}
.placement-card__name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.placement-card__role {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--cream-2);
}
.placement-card__pkg {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(226, 103, 67, 0.35);
  border-radius: 999px;
  padding: 4px 12px;
}
@media (max-width: 860px) {
  .placements__grid { grid-template-columns: 1fr; max-width: 460px; }
}

/* ---------- CTA Strip ---------- */
.cta-strip {
  padding: 160px clamp(20px, 4vw, 60px);
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(217, 119, 66, 0.08), transparent 60%);
  pointer-events: none;
}
.cta-strip__title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 7vw, 120px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 56px;
}
.cta-strip__title .italic { font-style: italic; color: var(--orange); font-weight: 400; display: inline-block; }
.cta-strip__title span { display: inline-block; padding-right: 0.18em; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg);
  padding: 100px clamp(20px, 4vw, 60px) 40px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--line);
}
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__logo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__col h4 {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--beige);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer__col a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--cream);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
  position: relative;
}
.footer__col a:hover { color: var(--orange); transform: translateX(6px); }

.footer__big {
  margin: 80px 0 40px;
  font-family: var(--font-serif);
  font-size: clamp(120px, 25vw, 380px);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-align: center;
  color: var(--cream);
  display: flex;
  justify-content: center;
  gap: 0.02em;
  overflow: hidden;
}
.footer__char {
  display: inline-block;
  transition: transform 0.6s var(--ease-out), color 0.6s var(--ease-out);
}
.footer__char:hover { transform: translateY(-12px); color: var(--orange); }
.footer__bottom {
  display: flex; justify-content: space-between;
  font-size: 12px;
  color: var(--beige);
  letter-spacing: 0.04em;
}
@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; gap: 8px; }
}

/* ---------- Chatbot ---------- */
.chatbot {
  position: fixed; right: 24px; bottom: 24px;
  z-index: 200;
}
.chatbot__toggle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--bg);
  display: grid; place-items: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.chatbot__toggle:hover { transform: scale(1.05); background: var(--orange); color: var(--cream); }
.chatbot__panel {
  position: absolute; right: 0; bottom: 76px;
  width: min(360px, calc(100vw - 48px));
  height: 480px;
  background: rgba(20, 17, 14, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  overflow: hidden;
}
.chatbot.is-open .chatbot__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.chatbot__head {
  padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.chatbot__id { display: flex; align-items: center; gap: 12px; }
.chatbot__id strong { display: block; font-size: 14px; }
.chatbot__id span { font-size: 11px; color: var(--beige); letter-spacing: 0.06em; }
.chatbot__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 18px;
}
.chatbot__close { font-size: 22px; color: var(--beige); line-height: 1; padding: 4px 8px; }
.chatbot__close:hover { color: var(--cream); }
.chatbot__body {
  flex: 1;
  padding: 18px 20px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 12px;
}
.msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.4;
}
.msg--bot { background: rgba(241, 234, 216, 0.06); color: var(--cream); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg--user { background: var(--cream); color: var(--bg); align-self: flex-end; border-bottom-right-radius: 4px; }
.msg--typing { display: flex; gap: 4px; padding: 14px 16px; }
.msg--typing span {
  width: 6px; height: 6px;
  background: var(--cream);
  border-radius: 50%;
  animation: typing 1.2s ease infinite;
}
.msg--typing span:nth-child(2) { animation-delay: 0.2s; }
.msg--typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.chatbot__quick {
  display: flex; gap: 8px;
  padding: 0 20px 12px;
  flex-wrap: wrap;
}
.chatbot__quick button {
  padding: 8px 12px;
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--beige);
  transition: background 0.3s, color 0.3s;
}
.chatbot__quick button:hover { background: var(--cream); color: var(--bg); }
.chatbot__form {
  display: flex;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  gap: 8px;
}
.chatbot__form input {
  flex: 1;
  background: none;
  border: none;
  color: var(--cream);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  padding: 8px 0;
  cursor: none;
}
.chatbot__form input::placeholder { color: var(--beige); }
.chatbot__form button {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--bg);
  display: grid; place-items: center;
  transition: transform 0.3s var(--ease);
}
.chatbot__form button:hover { transform: rotate(-15deg); }

/* ---------- Utility ---------- */
.italic { font-style: italic; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}



/* ===== Lead Modal ===== */
/* =========================================
   PREMIUM LEAD MODAL
========================================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,12,10,.82);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-overlay.active {
  display: flex;
}

.modal{
  width:100%;
  max-width:520px;

  background:
    radial-gradient(
      circle at top,
      rgba(226,103,67,.08),
      transparent 45%
    ),
    linear-gradient(
      180deg,
      #1d1815,
      #14110e
    );

  border:1px solid rgba(241,234,216,.12);

  border-radius:32px;

  padding:3rem;

  box-shadow:
    0 30px 100px rgba(0,0,0,.55);

  position:relative;

  overflow:hidden;

  animation:modalReveal .45s var(--ease-out);
}

@keyframes modalReveal {
  from{
    opacity:0;
    transform:translateY(20px) scale(.95);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

.modal::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;

  background:linear-gradient(
    90deg,
    var(--orange),
    var(--orange-2)
  );

  border-radius:28px 28px 0 0;
}

.modal-title{
  font-family:var(--font-serif);
  font-size:2rem;
  color:var(--cream);
  margin-bottom:.6rem;
  letter-spacing:-.02em;
}

.modal-subtitle{
  color:var(--beige);
  margin-bottom:1.8rem;
  line-height:1.7;
}

.lead-form input{
  width:100%;

  padding:1rem 1.2rem;

  margin-bottom:1rem;

  border-radius:16px;

  background:rgba(255,255,255,.025);

  border:1px solid rgba(241,234,216,.10);

  color:var(--cream);

  transition:.35s;
}

.lead-form input:focus{
  outline:none;

  border-color:var(--orange);

  background:rgba(255,255,255,.04);

  transform:translateY(-1px);
}

.lead-form input::placeholder{
  color:var(--beige-2);
}

.lead-form input:focus{
  outline:none;

  border-color:var(--orange);

  box-shadow:
    0 0 0 4px rgba(226,103,67,.12);

  background:rgba(255,255,255,.05);
}

.lead-form button{
  width:100%;
  margin-top:.5rem;

  display:flex;
  align-items:center;
  justify-content:center;

  text-align:center;
  cursor: grab !important;
}

.form-note{
  margin-top:1rem;
  text-align:center;
  font-size:.82rem;
  color:var(--beige-2);
}

.modal-close{
  position:absolute;
  top:14px;
  right:18px;

  width:40px;
  height:40px;

  border-radius:50%;

  background:rgba(255,255,255,.04);

  border:1px solid var(--line);

  color:var(--cream);

  cursor:pointer;

  transition:.3s;
}

.modal-close:hover{
  background:var(--orange-soft);
  border-color:var(--orange);
  transform:rotate(90deg);
}

.custom-cursor,
.custom-cursor-dot {
  z-index: 10001 !important;
  pointer-events: none;
}

.modal-overlay,
.modal-overlay *{
  cursor:auto !important;
}

.modal-overlay {
  z-index: 9999;
}


/* chat bot  */

.mentor-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  margin-top:12px;
  padding:10px 16px;

  border-radius:999px;

  background:#25D366;
  color:#fff;

  font-size:.9rem;
  font-weight:600;

  text-decoration:none;

  transition:.3s ease;
}

.mentor-btn:hover{
  transform:translateY(-2px);
  background:#1ebe5d;
}




/* Address  */

.location-strip{
  padding:120px 6vw;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  text-align:center;
}

.location-strip__label{
  display:block;
  font-size:.85rem;
  text-transform:uppercase;
  letter-spacing:.15em;
  color:var(--orange);
  margin-bottom:16px;
}

.location-strip h3{
  font-size:clamp(2rem,4vw,4rem);
  margin-bottom:12px;
  font-weight:700;
}

.location-strip p{
  color:var(--cream-2);
  font-size:1.1rem;
  margin-bottom:24px;
}

.location-strip__link{
  text-decoration:none;
  color:var(--orange);
  font-weight:600;
}