/* ============================================================
   Ксения Теселкина — портфолио
   Palette: lavender paper / ink / violet / lime marker
   Type: Unbounded (display) + Golos Text (body)
   ============================================================ */

:root {
  --bg: #f5f2fc;
  --bg-soft: #ece6fa;
  --ink: #191324;
  --ink-soft: #2a2138;
  --muted: #6f6584;
  --accent: #6c4df6;
  --accent-deep: #4b2ed6;
  --accent-soft: #ddd2ff;
  --lime: #e3ff4f;
  --white: #ffffff;
  --radius: 22px;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Golos Text", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

/* ---------- custom cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; }
  .cursor__dot {
    position: absolute; width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent); transform: translate(-50%, -50%);
  }
  .cursor__ring {
    position: absolute; width: 36px; height: 36px; border-radius: 50%;
    border: 1.5px solid var(--accent);
    transform: translate(-50%, -50%);
    transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), opacity 0.25s, background 0.25s;
    opacity: 0.5;
  }
  .cursor.is-hover .cursor__ring {
    width: 56px; height: 56px; opacity: 0.9;
    background: rgba(108, 77, 246, 0.08);
  }
}

/* ---------- intro loader ---------- */
.intro {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.7s var(--ease-out);
}
.intro.is-done { transform: translateY(-101%); }
.intro__word {
  display: flex; overflow: hidden;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 6vw, 4rem); color: var(--bg);
}
.intro__word span {
  display: inline-block;
  transform: translateY(110%);
  animation: intro-letter 0.6s var(--ease-out) forwards;
}
.intro__word span:nth-child(1) { animation-delay: 0.05s; color: var(--lime); }
.intro__word span:nth-child(2) { animation-delay: 0.1s; }
.intro__word span:nth-child(3) { animation-delay: 0.15s; }
.intro__word span:nth-child(4) { animation-delay: 0.2s; }
.intro__word span:nth-child(5) { animation-delay: 0.25s; }
.intro__word span:nth-child(6) { animation-delay: 0.3s; }
@keyframes intro-letter { to { transform: translateY(0); } }

/* ---------- header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
  transition: background 0.4s, box-shadow 0.4s, transform 0.4s var(--ease-out);
}
.header.is-scrolled {
  background: rgba(245, 242, 252, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(25, 19, 36, 0.06);
}
.header.is-hidden { transform: translateY(-100%); }

.header__logo { display: flex; align-items: center; gap: 12px; }
.header__logo-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--ink); color: var(--lime);
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
  transition: transform 0.3s var(--ease-out), border-radius 0.3s;
}
.header__logo:hover .header__logo-mark { transform: rotate(-8deg); border-radius: 50%; }
.header__logo-text { font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em; }

.header__nav { display: flex; gap: clamp(16px, 2.5vw, 34px); }
.header__link {
  position: relative; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft);
  padding: 4px 0;
}
.header__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.header__link:hover::after { transform: scaleX(1); transform-origin: left; }

.header__right { display: flex; align-items: center; gap: 20px; }
.lang { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.88rem; }
.lang__btn { color: var(--muted); padding: 4px 2px; transition: color 0.25s; letter-spacing: 0.04em; }
.lang__btn:hover { color: var(--ink); }
.lang__btn.is-active { color: var(--ink); box-shadow: 0 2px 0 var(--accent); }
.lang__divider { color: var(--muted); opacity: 0.5; }

.burger { display: none; position: relative; width: 42px; height: 42px; z-index: 1102; }
body.menu-open .header {
  z-index: 1200; background: transparent;
  box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  transform: none;
}
body.menu-open .lang { opacity: 0; pointer-events: none; }
.lang { transition: opacity 0.3s; }
body.menu-open .header__logo-mark { background: var(--lime); color: var(--ink); }
body.menu-open .header__logo-text { color: var(--bg); }
.burger span {
  position: absolute; left: 8px; width: 26px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out), background 0.3s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 24px; }
.burger.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); background: var(--bg); }
.burger.is-open span:nth-child(2) { top: 20px; transform: rotate(-45deg); background: var(--bg); }

/* ---------- mobile menu ---------- */
.mobmenu {
  position: fixed; inset: 0; z-index: 1100;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: 90px clamp(24px, 8vw, 60px) 40px;
  clip-path: circle(0% at calc(100% - 50px) 38px);
  transition: clip-path 0.6s var(--ease-out);
  visibility: hidden;
}
.mobmenu.is-open { clip-path: circle(150% at calc(100% - 50px) 38px); visibility: visible; }
.mobmenu__nav { display: flex; flex-direction: column; gap: 8px; }
.mobmenu__link {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.7rem, 7vw, 2.6rem); color: var(--bg);
  padding: 8px 0;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out), color 0.25s;
}
.mobmenu__link:hover { color: var(--lime); }
.mobmenu.is-open .mobmenu__link { opacity: 1; transform: translateY(0); }
.mobmenu.is-open .mobmenu__link:nth-child(1) { transition-delay: 0.15s; }
.mobmenu.is-open .mobmenu__link:nth-child(2) { transition-delay: 0.21s; }
.mobmenu.is-open .mobmenu__link:nth-child(3) { transition-delay: 0.27s; }
.mobmenu.is-open .mobmenu__link:nth-child(4) { transition-delay: 0.33s; }
.mobmenu.is-open .mobmenu__link:nth-child(5) { transition-delay: 0.39s; }
.mobmenu__footer {
  margin-top: 48px; display: flex; gap: 28px;
  color: var(--accent-soft); font-weight: 500;
  opacity: 0; transition: opacity 0.5s 0.45s;
}
.mobmenu.is-open .mobmenu__footer { opacity: 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 100px;
  font-weight: 600; font-size: 0.98rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, background 0.3s, color 0.3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn--primary {
  background: var(--ink); color: var(--white);
  box-shadow: 0 10px 30px -12px rgba(25, 19, 36, 0.5);
}
.btn--primary:hover { background: var(--accent-deep); box-shadow: 0 14px 34px -10px rgba(75, 46, 214, 0.55); }
.btn--ghost {
  border: 1.5px solid rgba(25, 19, 36, 0.25); color: var(--ink);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(25, 19, 36, 0.04); }
.btn--light { background: var(--lime); color: var(--ink); }
.btn--light:hover { background: var(--white); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 30px) clamp(20px, 4vw, 56px) 40px;
  overflow: hidden;
}
.hero__scribble {
  position: absolute; left: -8%; top: 22%;
  width: min(72vw, 860px); color: var(--accent-soft);
  opacity: 0.55; z-index: 0; pointer-events: none;
}
.hero__scribble-path {
  stroke-dasharray: 4200; stroke-dashoffset: 4200;
  animation: scribble-draw 4.8s 0.8s ease-out forwards;
}
@keyframes scribble-draw { to { stroke-dashoffset: 0; } }

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  max-width: 1280px; margin: 0 auto; width: 100%;
}

.hero__eyebrow {
  font-size: 0.92rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-deep);
  margin-bottom: clamp(16px, 2.5vh, 28px);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 7.2vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: clamp(18px, 3vh, 30px);
}
.hero__title-line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__title-word {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-out);
}
body.is-loaded .hero__title-word { transform: translateY(0); }
.hero__title-line:nth-child(2) .hero__title-word { transition-delay: 0.12s; }
.hero__title-word--outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.hero__sub {
  max-width: 34em; font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ink-soft); margin-bottom: clamp(22px, 3.5vh, 36px);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(28px, 5vh, 52px); }

.hero__stats { display: flex; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat__num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--ink);
}
.stat__label { font-size: 0.86rem; color: var(--muted); max-width: 11em; }

/* hero photo */
.hero__right { position: relative; }
.hero__photo-wrap { position: relative; max-width: 440px; margin-left: auto; }
.hero__blob {
  position: absolute; inset: -12% -10% -14% -10%;
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-deep) 65%, #35208f 100%);
  border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%;
  animation: blob-morph 14s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes blob-morph {
  0%   { border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%; }
  50%  { border-radius: 45% 55% 42% 58% / 55% 45% 55% 45%; }
  100% { border-radius: 52% 48% 58% 42% / 42% 58% 42% 58%; }
}

.photo { position: relative; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.photo img.is-missing { display: none; }
.photo__ph {
  position: absolute; inset: 0; z-index: 0;
  display: grid; place-items: center;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(227, 255, 79, 0.5), transparent 55%),
    linear-gradient(160deg, var(--accent-soft), var(--accent) 130%);
}
.photo__ph-label {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 600;
  color: rgba(25, 19, 36, 0.55);
  border: 1.5px dashed rgba(25, 19, 36, 0.35);
  padding: 8px 14px; border-radius: 100px;
}
.photo--hero {
  position: relative; z-index: 1;
  aspect-ratio: 4 / 5;
  border-radius: 48% 52% 42% 58% / 31% 29% 16% 21%;
}
.photo--hero img { object-position: 50% 18%; }
.photo--about { border-radius: 26px; aspect-ratio: 4 / 5; }
.photo--avatar { width: 52px; height: 52px; border-radius: 50%; flex: 0 0 auto; }

.hero__badge {
  position: absolute; top: -34px; left: -34px; z-index: 2;
  width: 116px; height: 116px;
}
.hero__badge-svg { width: 100%; height: 100%; animation: spin 16s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__badge-text { font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; fill: var(--ink); text-transform: uppercase; font-family: var(--font-body); }
.hero__badge-center {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: Arial, Helvetica, sans-serif; font-variant-emoji: text;
  font-size: 1.5rem; color: var(--accent);
}

.hero__chip {
  position: absolute; z-index: 2;
  background: var(--white); border-radius: 100px;
  padding: 10px 18px; font-size: 0.85rem; font-weight: 600;
  box-shadow: 0 12px 30px -10px rgba(25, 19, 36, 0.25);
  white-space: nowrap;
}
.hero__chip--1 { right: -6%; top: 18%; }
.hero__chip--2 { left: -10%; bottom: 16%; background: var(--lime); }

@media (max-width: 1200px) {
  .hero__chip--1 { right: -4%; top: 32%; }
}

.hero__scrollhint {
  position: absolute; bottom: 28px; left: clamp(20px, 4vw, 56px);
  display: flex; align-items: center; gap: 12px;
  font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.hero__scrollhint-line { width: 56px; height: 1.5px; background: var(--muted); overflow: hidden; position: relative; }
.hero__scrollhint-line::after {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  transform: translateX(-100%); animation: scroll-line 2s var(--ease-out) infinite;
}
@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  60% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--ink); color: var(--bg);
  padding: 18px 0; overflow: hidden;
  transform: rotate(-1.2deg) scale(1.02);
}
.marquee__track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__group { display: flex; align-items: center; flex: 0 0 auto; }
.marquee__group span {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(0.9rem, 1.6vw, 1.15rem); text-transform: uppercase;
  padding: 0 22px; white-space: nowrap;
}
.marquee__group i {
  color: var(--lime); font: inherit; font-style: normal;
  font-family: Arial, Helvetica, sans-serif; font-variant-emoji: text;
}

/* ---------- sections ---------- */
.section { padding: clamp(80px, 12vh, 140px) clamp(20px, 4vw, 56px); max-width: 1280px; margin: 0 auto; }
.section__head { margin-bottom: clamp(40px, 6vh, 72px); position: relative; }
.section__num {
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  color: var(--accent); display: inline-block; margin-bottom: 14px;
}
.section__num::after { content: " /"; color: var(--muted); opacity: 0.5; }
.section__num--light { color: var(--lime); }
.section__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.8rem, 4.4vw, 3.4rem);
  line-height: 1.1; letter-spacing: -0.01em;
  max-width: 16em;
}
.section__sub { margin-top: 18px; color: var(--muted); max-width: 40em; font-size: 1.05rem; }

/* word-by-word title reveal */
.reveal-words .word {
  display: inline-block; overflow: hidden; vertical-align: bottom;
}
.reveal-words .word > span {
  display: inline-block; transform: translateY(110%);
  transition: transform 0.7s var(--ease-out);
}
.reveal-words.is-visible .word > span { transform: translateY(0); }

/* generic reveal */
.reveal, .reveal-line {
  opacity: 0; transform: translateY(34px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible, .reveal-line.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- about ---------- */
.about__grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 80px); align-items: start;
}
.about__photo-col { position: sticky; top: calc(var(--header-h) + 20px); }
.about__lead {
  font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600;
  line-height: 1.45; margin-bottom: 22px;
}
.about__body { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 40px; }
.about__facts { list-style: none; display: flex; flex-direction: column; }
.fact {
  display: grid; grid-template-columns: minmax(130px, 190px) 1fr;
  gap: 18px; padding: 22px 0;
  border-top: 1px solid rgba(25, 19, 36, 0.12);
  transition: padding-left 0.35s var(--ease-out);
}
.fact:last-child { border-bottom: 1px solid rgba(25, 19, 36, 0.12); }
.fact:hover { padding-left: 10px; }
.fact__k { font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; color: var(--accent-deep); }
.fact__v { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- experience / timeline ---------- */
.timeline { display: flex; flex-direction: column; }
.timeline__item {
  display: grid; grid-template-columns: minmax(110px, 170px) 1fr;
  gap: clamp(18px, 3vw, 48px);
  padding: clamp(28px, 4vh, 44px) 0;
  border-top: 1px solid rgba(25, 19, 36, 0.12);
  position: relative;
  transition: background 0.35s;
}
.timeline__item:last-child { border-bottom: 1px solid rgba(25, 19, 36, 0.12); }
.timeline__item::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 100%; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.timeline__item:hover::before { transform: scaleX(1); }
.timeline__period {
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em;
  padding-top: 6px;
}
.timeline__role {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem); margin-bottom: 12px; line-height: 1.25;
}
.timeline__desc { color: var(--ink-soft); max-width: 44em; margin-bottom: 16px; }
.timeline__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.timeline__tags span {
  font-size: 0.8rem; font-weight: 600; color: var(--accent-deep);
  background: var(--accent-soft); border-radius: 100px; padding: 5px 13px;
}
.timeline__actions { margin-top: 20px; }
.btn--small { min-height: 42px; padding: 10px 18px; font-size: 0.84rem; }

/* ---------- projects catalog ---------- */
.projects-hero { padding-top: clamp(102px, 12vh, 124px); padding-bottom: 6px; }
.projects-hero__eyebrow {
  margin-bottom: 0; font-family: var(--font-display); font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-deep);
}
.projects-hero__title {
  max-width: 1050px; font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.98; letter-spacing: -0.055em; font-weight: 650;
}
.projects-hero__lead { max-width: 760px; margin-top: 28px; color: var(--ink-soft); font-size: clamp(1rem, 1.6vw, 1.25rem); }
.projects-catalog { padding-top: 10px; }
.projects-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 34px; }
.projects-filter {
  border: 1px solid rgba(25, 19, 36, 0.15); border-radius: 999px; background: transparent;
  color: var(--ink); padding: 10px 16px; font: 600 0.8rem var(--font-body); cursor: pointer;
}
.projects-filter.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.project-card {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 360px; border: 1px solid rgba(25, 19, 36, 0.09); border-radius: var(--radius);
  background: var(--white); padding: clamp(24px, 3vw, 38px); display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, opacity 0.25s;
}
.project-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(108deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.8) 48%, rgba(245, 242, 252, 0.38) 100%);
}
.project-card--with-cover { background: #e9e5f8; }
.project-card--with-cover::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(108, 77, 246, 0.04), transparent 38%, rgba(108, 77, 246, 0.07));
}
.project-card > :not(.project-card__cover) { position: relative; z-index: 2; }
.project-card__cover {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.76; filter: saturate(0.94) contrast(1.07) brightness(0.92); pointer-events: none;
}
.project-card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px -28px rgba(75, 46, 214, 0.5); }
.project-card[hidden] { display: none; }
.project-card__meta { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 34px; color: var(--muted); font-size: 0.8rem; }
.project-card__title { font: 600 clamp(1.3rem, 2.2vw, 2rem)/1.15 var(--font-display); letter-spacing: -0.035em; }
.project-card__desc { margin: 18px 0 24px; color: var(--ink-soft); }
.project-card__role { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(25, 19, 36, 0.1); font-size: 0.86rem; color: var(--accent-deep); font-weight: 600; }
.project-card__details { margin-top: 22px; border-top: 1px solid rgba(25, 19, 36, 0.1); padding-top: 18px; }
.project-card__details summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  cursor: pointer; list-style: none; font-weight: 650; color: var(--ink);
}
.project-card__details summary::-webkit-details-marker { display: none; }
.project-card__details summary::after {
  content: "+"; display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); transition: transform 0.25s;
}
.project-card__details[open] summary::after { transform: rotate(45deg); }
.project-card__content { padding-top: 20px; }
.project-card__label { margin: 18px 0 9px; font: 600 0.72rem var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.project-card__tasks { display: grid; gap: 8px; margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: 0.9rem; }
.project-card__materials { display: flex; flex-wrap: wrap; gap: 8px; }
.project-card__material {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent-deep); font-size: 0.8rem; font-weight: 650;
}
.project-card__material::after { content: "↗"; }
.project-card__material--archive { background: rgba(25, 19, 36, 0.06); color: var(--ink-soft); }
.project-card__gallery {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
}
.project-card__gallery-item {
  display: flex; min-width: 0; flex-direction: column; overflow: hidden;
  border: 1px solid rgba(25, 19, 36, 0.1); border-radius: 14px;
  background: var(--bg-soft); color: var(--ink-soft);
  transition: transform 0.25s var(--ease-out), border-color 0.25s, box-shadow 0.25s;
}
.project-card__gallery-item:hover,
.project-card__gallery-item:focus-visible {
  transform: translateY(-2px); border-color: var(--accent);
  box-shadow: 0 12px 26px -18px rgba(75, 46, 214, 0.7); outline: none;
}
.project-card__gallery-item img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff;
}
.project-card__gallery-caption { padding: 8px 10px; font-size: 0.72rem; line-height: 1.35; }
.projects-results { margin: -18px 0 24px; color: var(--muted); font-size: 0.84rem; }
.projects-back { display: inline-flex; margin-bottom: 26px; color: var(--accent-deep); font-weight: 600; }
.projects-note { padding-top: 20px; }
.projects-note__inner {
  display: grid; grid-template-columns: minmax(180px, 0.6fr) minmax(300px, 1.5fr) auto;
  align-items: center; gap: 30px; padding: clamp(28px, 5vw, 58px); border-radius: var(--radius-lg);
  background: var(--ink); color: var(--white);
}
.projects-note__eyebrow { color: var(--lime); font: 600 0.78rem var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; }
.projects-note h2 { font: 600 clamp(1.35rem, 2.4vw, 2.2rem)/1.18 var(--font-display); }

@media (max-width: 720px) {
  .projects-grid { grid-template-columns: 1fr; }
  .projects-hero__title { font-size: clamp(2.4rem, 13vw, 4rem); }
  .project-card { min-height: 0; }
  .project-card__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projects-note__inner { grid-template-columns: 1fr; align-items: flex-start; }
}

/* ---------- workshops ---------- */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.card {
  position: relative;
  background: var(--white); border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 34px);
  display: flex; flex-direction: column; gap: 14px;
  border: 1px solid rgba(25, 19, 36, 0.07);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, background 0.4s;
  will-change: transform;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  opacity: 0; transition: opacity 0.4s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(75, 46, 214, 0.3); }
.card:hover::after { opacity: 1; }
.card__num {
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
  color: var(--accent);
}
.card__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.3;
}
.card__desc { color: var(--muted); font-size: 0.94rem; flex-grow: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card__tag {
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink); background: var(--lime);
  padding: 5px 12px; border-radius: 100px;
}
.card__arrow {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid rgba(25, 19, 36, 0.15);
  color: var(--ink);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.35s var(--ease-out);
}
.card__arrow svg { width: 16px; height: 16px; }
.card:hover .card__arrow {
  background: var(--accent); border-color: var(--accent); color: var(--white);
  transform: rotate(45deg);
}
.workshops__cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.workshops__cta {
  margin-top: clamp(36px, 6vh, 60px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  background: var(--bg-soft); border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 44px);
}
.workshops__cta p {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

/* ---------- channel ---------- */
.channel {
  max-width: none; margin: 0;
  background: var(--ink); color: var(--bg);
  border-radius: clamp(24px, 4vw, 48px);
  margin-inline: clamp(8px, 1.2vw, 20px);
}
.channel__inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.channel__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.08;
  margin: 10px 0 20px; color: var(--white);
}
.channel__desc { color: rgba(245, 242, 252, 0.75); font-size: 1.05rem; max-width: 34em; margin-bottom: 32px; }

.tgcard {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 30px);
  backdrop-filter: blur(6px);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.4s var(--ease-out);
}
.tgcard__head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.tgcard__head strong { display: block; font-size: 1.05rem; color: var(--white); }
.tgcard__head span { font-size: 0.82rem; color: rgba(245, 242, 252, 0.55); }
.tgcard__msg {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px 16px 16px 16px;
  padding: 13px 16px; font-size: 0.92rem;
  color: rgba(245, 242, 252, 0.9);
}
.tgcard__msg--accent { background: var(--accent); color: var(--white); }

/* ---------- contact ---------- */
.contact__links { display: flex; flex-direction: column; }
.contact__link {
  display: grid; grid-template-columns: minmax(90px, 160px) 1fr auto;
  align-items: center; gap: 18px;
  padding: clamp(24px, 4vh, 40px) 0;
  border-top: 1px solid rgba(25, 19, 36, 0.12);
  transition: padding-left 0.35s var(--ease-out);
}
.contact__link:last-child { border-bottom: 1px solid rgba(25, 19, 36, 0.12); }
.contact__link:hover { padding-left: 14px; }
.contact__link-label {
  font-size: 0.82rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--muted);
}
.contact__link-value {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.05rem, 2.6vw, 1.7rem);
  transition: color 0.3s;
  overflow-wrap: anywhere;
}
.contact__link:hover .contact__link-value { color: var(--accent-deep); }
.contact__link svg { width: 26px; height: 26px; transition: transform 0.35s var(--ease-out); }
.contact__link:hover svg { transform: translate(4px, -4px); }

/* ---------- footer ---------- */
.footer { padding-top: clamp(30px, 5vh, 60px); overflow: hidden; }
.footer__marquee { overflow: hidden; opacity: 0.08; }
.footer__marquee-track {
  display: flex; width: max-content;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(4rem, 12vw, 10rem); text-transform: uppercase; white-space: nowrap;
  animation: marquee 24s linear infinite;
}
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px clamp(20px, 4vw, 56px) 30px;
  font-size: 0.88rem; color: var(--muted);
  flex-wrap: wrap;
}
.footer__up {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgba(25, 19, 36, 0.2);
  font-size: 1.1rem; color: var(--ink);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease-out);
}
.footer__up:hover { background: var(--ink); color: var(--lime); }

/* ============================================================
   STUDY PAGE
   ============================================================ */
.shero {
  position: relative;
  min-height: 88svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 30px) clamp(20px, 4vw, 56px) 60px;
  overflow: hidden;
}
.shero__inner { max-width: 1280px; margin: 0 auto; width: 100%; position: relative; z-index: 1; }
.shero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 7.6vw, 6rem);
  line-height: 1.02; letter-spacing: -0.01em; text-transform: uppercase;
  margin: clamp(14px, 2.5vh, 26px) 0 clamp(18px, 3vh, 30px);
}
.shero__sub { max-width: 38em; }
.shero__scribble {
  position: absolute; right: -6%; bottom: -8%;
  width: min(52vw, 620px); color: var(--accent-soft);
  opacity: 0.6; z-index: 0; pointer-events: none;
  transform: rotate(-8deg);
}
.shero__chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(30px, 5vh, 50px); }
.shero__chip {
  padding: 12px 20px; border-radius: 100px;
  background: var(--white); border: 1px solid rgba(25, 19, 36, 0.1);
  font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 10px 26px -14px rgba(25, 19, 36, 0.25);
  animation: chip-float 5s ease-in-out infinite;
}
.shero__chip--lime { background: var(--lime); animation-delay: 1.2s; }
.shero__chip--violet { background: var(--accent); color: var(--white); animation-delay: 2.4s; }
@keyframes chip-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(-1.2deg); }
}

/* ---- landing hero extras ---- */
.header__cta { padding: 11px 22px; font-size: 0.88rem; }
.lhero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid rgba(25, 19, 36, 0.1);
  border-radius: 100px; padding: 10px 20px;
  font-weight: 600; font-size: 0.88rem;
  box-shadow: 0 10px 26px -14px rgba(25, 19, 36, 0.25);
  margin-bottom: clamp(18px, 3vh, 30px);
}
.lhero__pulse {
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(108, 77, 246, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(108, 77, 246, 0); }
}
.lhero__title { font-size: clamp(1.9rem, 5.4vw, 4.2rem); }
.lhero__em { font-style: normal; color: var(--accent-deep); }
.lhero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(24px, 4vw, 56px); margin-top: clamp(28px, 5vh, 48px); }
.lhero__countdown {
  display: flex; align-items: baseline; gap: 8px;
  background: var(--ink); color: var(--bg);
  border-radius: 18px; padding: 16px 22px;
}
.lhero__countdown-label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(245, 242, 252, 0.6); margin-right: 6px;
}
.lhero__countdown-num { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--lime); }
.lhero__countdown-u { font-size: 0.78rem; color: rgba(245, 242, 252, 0.6); margin-right: 4px; }
.lhero__stats { gap: clamp(20px, 3vw, 44px); }

/* pain */
.pain__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.pain__text p { margin-bottom: 18px; color: var(--ink-soft); font-size: 1.05rem; }
.pain__accent {
  font-weight: 600; color: var(--ink) !important;
  border-left: 4px solid var(--accent); padding-left: 18px;
  background: linear-gradient(90deg, rgba(227, 255, 79, 0.35), transparent 70%);
  padding-top: 10px; padding-bottom: 10px; border-radius: 0 12px 12px 0;
}

/* fit: two honest columns */
.fit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.fit__col {
  border-radius: var(--radius); padding: clamp(24px, 3vw, 36px);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.fit__col--yes { background: var(--white); border: 1px solid rgba(25, 19, 36, 0.07); }
.fit__col--no { background: var(--bg-soft); border: 1px dashed rgba(25, 19, 36, 0.2); }
.fit__col:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -20px rgba(75, 46, 214, 0.25); }
.fit__title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; margin-bottom: 18px;
}
.fit__mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  font-size: 1rem; flex: 0 0 auto;
}
.fit__mark--yes { background: var(--lime); color: var(--ink); }
.fit__mark--no { background: var(--ink); color: var(--bg); }
.fit__col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.fit__col li { position: relative; padding-left: 22px; font-size: 0.96rem; color: var(--ink-soft); }
.fit__col--yes li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.fit__col--no li::before { content: "→"; position: absolute; left: 0; color: var(--muted); font-weight: 700; }

/* speed cards */
.speed__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); margin-bottom: clamp(28px, 4vh, 44px); }
.speedcard {
  background: var(--white); border: 1px solid rgba(25, 19, 36, 0.07);
  border-radius: var(--radius); padding: clamp(24px, 3vw, 34px);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
  will-change: transform;
}
.speedcard:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(75, 46, 214, 0.3); }
.speedcard--accent { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.speedcard__time {
  display: inline-block;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--accent-deep);
  margin-bottom: 14px;
}
.speedcard--accent .speedcard__time { color: var(--lime); }
.speedcard h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-bottom: 10px; line-height: 1.3; }
.speedcard p { font-size: 0.93rem; color: var(--muted); }
.speedcard--accent p { color: rgba(245, 242, 252, 0.7); }

.speed__list {
  background: var(--bg-soft); border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 40px);
}
.speed__list-title { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin-bottom: 16px; }
.speed__list ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.speed__list li { position: relative; padding-left: 24px; color: var(--ink-soft); font-size: 0.97rem; }
.speed__list li::before {
  content: "\2733\FE0E"; position: absolute; left: 0; color: var(--accent);
  font-family: Arial, Helvetica, sans-serif; font-variant-emoji: text;
}
.speed__free { margin-top: 20px; font-weight: 600; font-family: var(--font-display); font-size: 1rem; }

/* program days */
.days { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); margin-bottom: clamp(24px, 4vh, 40px); }
.day {
  border-radius: var(--radius); overflow: hidden;
  background: var(--white); border: 1px solid rgba(25, 19, 36, 0.07);
}
.day--accent { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.day__head { padding: clamp(22px, 2.6vw, 30px) clamp(22px, 2.6vw, 32px) 0; }
.day__label {
  display: inline-block; padding: 6px 14px; border-radius: 100px;
  background: var(--lime); color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  margin-bottom: 14px;
}
.day__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 6px; }
.day__date { font-size: 0.85rem; color: var(--muted); }
.day--accent .day__date { color: rgba(245, 242, 252, 0.55); }
.day__modules { padding: clamp(18px, 2.4vw, 26px) clamp(22px, 2.6vw, 32px) clamp(24px, 2.8vw, 34px); display: flex; flex-direction: column; gap: 22px; }
.module { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.module__num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(25, 19, 36, 0.18);
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
}
.day--accent .module__num { border-color: rgba(255, 255, 255, 0.25); color: var(--lime); }
.module h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; margin-bottom: 10px; padding-top: 8px; }
.module ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.module li { position: relative; padding-left: 20px; font-size: 0.93rem; color: var(--ink-soft); }
.day--accent .module li { color: rgba(245, 242, 252, 0.8); }
.module li::before { content: "•"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }
.day--accent .module li::before { color: var(--lime); }

/* outcome */
.outcome {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: var(--white); border-radius: var(--radius);
  padding: clamp(26px, 3.4vw, 44px);
  margin-bottom: clamp(24px, 4vh, 40px);
}
.outcome__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 2.2vw, 1.6rem); margin-bottom: 20px; }
.outcome__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; margin-bottom: 20px; }
.outcome__list li { position: relative; padding-left: 26px; font-size: 0.97rem; }
.outcome__list li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); font-weight: 700; }
.outcome__note { font-weight: 600; color: var(--lime); font-family: var(--font-display); font-size: 0.95rem; }

/* tools */
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.tools__col { background: var(--white); border: 1px solid rgba(25, 19, 36, 0.07); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 30px); }
.tools__title { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; margin-bottom: 16px; }
.tools__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tools__chips span {
  padding: 8px 16px; border-radius: 100px; font-size: 0.88rem; font-weight: 600;
  background: var(--accent-soft); color: var(--accent-deep);
}
.tools__chips--alt span { background: var(--bg-soft); color: var(--muted); }

/* author */
.author__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.author__photo-col { max-width: 400px; }
.author__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.1rem); margin-bottom: 10px; }
.author__meta { color: var(--muted); margin-bottom: 28px; font-size: 0.98rem; }
.author__facts { list-style: none; margin-bottom: 30px; }

/* signup landing extras */
.signup__includes { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.signup__includes li { position: relative; padding-left: 26px; color: rgba(245, 242, 252, 0.85); }
.signup__includes li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); font-weight: 700; }
.signup__after { font-size: 0.88rem; color: rgba(245, 242, 252, 0.55); }
.sform__price {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
}
.sform__price span { color: rgba(245, 242, 252, 0.65); font-size: 0.9rem; }
.sform__price strong { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--lime); }
.sform__price small { flex-basis: 100%; color: rgba(245, 242, 252, 0.5); font-size: 0.82rem; }
.sform__note a { text-decoration: underline; text-underline-offset: 3px; }
.sform input::placeholder, .sform textarea::placeholder { color: rgba(245, 242, 252, 0.3); }

/* sticky cta */
.stickycta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 12px clamp(16px, 4vw, 32px);
  background: rgba(25, 19, 36, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--bg);
  transform: translateY(110%);
  transition: transform 0.45s var(--ease-out);
}
.stickycta.is-visible { transform: translateY(0); }
.stickycta__text { font-size: 0.9rem; white-space: nowrap; }
.stickycta__btn { background: var(--lime); color: var(--ink); padding: 12px 22px; font-size: 0.9rem; }
.stickycta__btn:hover { background: var(--white); }

/* footer legal */
.footer__bottom--legal { flex-direction: column; align-items: flex-start; gap: 12px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 600; }
.footer__legal a { transition: color 0.25s; }
.footer__legal a:hover { color: var(--accent-deep); }

@media (max-width: 1024px) {
  .pain__grid, .author__grid { grid-template-columns: 1fr; }
  .days { grid-template-columns: 1fr; }
  .speed__cards { grid-template-columns: 1fr; }
  .fit__grid { grid-template-columns: 1fr; }
  .tools { grid-template-columns: 1fr; }
  .header__cta { display: none; }
}
@media (max-width: 720px) {
  .speed__list ul, .outcome__list { grid-template-columns: 1fr; }
  .lhero__badge { font-size: 0.76rem; padding: 9px 14px; }
  .lhero__meta { gap: 20px; }
  .stickycta { gap: 10px; }
  .stickycta__text { display: none; }
  .stickycta__btn { width: 100%; justify-content: center; }
}

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(24px, 4vh, 40px); }
.filters__btn {
  padding: 11px 22px; border-radius: 100px;
  border: 1.5px solid rgba(25, 19, 36, 0.18);
  font-weight: 600; font-size: 0.9rem; color: var(--ink-soft);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.filters__btn:hover { border-color: var(--ink); transform: translateY(-2px); }
.filters__btn.is-active { background: var(--ink); color: var(--lime); border-color: var(--ink); }
#programGrid .card { transition: transform 0.4s var(--ease-out), box-shadow 0.4s, opacity 0.4s var(--ease-out), scale 0.4s var(--ease-out); }
#programGrid .card.is-hidden { display: none; }

/* formats */
.fmts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.fmt {
  position: relative;
  background: var(--white); border: 1px solid rgba(25, 19, 36, 0.07);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
  will-change: transform;
}
.fmt:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(75, 46, 214, 0.3); }
.fmt--accent { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.fmt__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 2rem; color: var(--accent-soft); display: block; margin-bottom: 14px;
}
.fmt--accent .fmt__num { color: var(--lime); }
.fmt__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.25rem); margin-bottom: 12px; line-height: 1.3; }
.fmt__desc { font-size: 0.95rem; color: var(--muted); margin-bottom: 20px; }
.fmt--accent .fmt__desc { color: rgba(245, 242, 252, 0.7); }
.fmt__list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.fmt__list li { position: relative; padding-left: 22px; font-size: 0.92rem; font-weight: 500; }
.fmt__list li::before {
  content: "\2733\FE0E"; position: absolute; left: 0; color: var(--accent);
  font-family: Arial, Helvetica, sans-serif; font-variant-emoji: text;
}
.fmt--accent .fmt__list li::before { color: var(--lime); }

/* steps */
.steps {
  list-style: none; counter-reset: step;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px); position: relative;
}
.steps::before {
  content: ""; position: absolute; top: 26px; left: 4%; right: 4%;
  height: 1.5px; background: rgba(25, 19, 36, 0.14);
}
.step { position: relative; padding-top: 66px; }
.step__num {
  position: absolute; top: 0; left: 0;
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid rgba(25, 19, 36, 0.2);
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.35s var(--ease-out);
}
.step:hover .step__num { background: var(--accent); border-color: var(--accent); color: var(--white); transform: rotate(-8deg) scale(1.08); }
.step__title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-bottom: 8px; }
.step__desc { font-size: 0.93rem; color: var(--muted); }

/* faq accordion */
.acc { display: flex; flex-direction: column; max-width: 860px; }
.acc__item { border-top: 1px solid rgba(25, 19, 36, 0.12); }
.acc__item:last-child { border-bottom: 1px solid rgba(25, 19, 36, 0.12); }
.acc__q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(20px, 3vh, 28px) 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(0.98rem, 1.7vw, 1.15rem);
  cursor: pointer; list-style: none;
  transition: color 0.3s;
}
.acc__q::-webkit-details-marker { display: none; }
.acc__q:hover { color: var(--accent-deep); }
.acc__icon {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid rgba(25, 19, 36, 0.2);
  font-size: 1.2rem; font-weight: 400; font-family: var(--font-body);
  transition: transform 0.4s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s;
}
.acc__item[open] .acc__icon { transform: rotate(45deg); background: var(--ink); color: var(--lime); border-color: var(--ink); }
.acc__a {
  padding: 0 60px 26px 0; color: var(--ink-soft); max-width: 46em;
  animation: acc-open 0.45s var(--ease-out);
}
@keyframes acc-open {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* signup */
.signup {
  max-width: none; margin: 0;
  background: var(--ink); color: var(--bg);
  border-radius: clamp(24px, 4vw, 48px);
  margin-inline: clamp(8px, 1.2vw, 20px);
}
.signup__inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 80px); align-items: start;
}
.sform { display: flex; flex-direction: column; gap: 18px; }
.sform__field { display: flex; flex-direction: column; gap: 8px; }
.sform__label { font-size: 0.85rem; font-weight: 600; color: rgba(245, 242, 252, 0.65); }
.sform input, .sform textarea {
  font: inherit; color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px; padding: 14px 18px;
  transition: border-color 0.3s, background 0.3s;
  resize: vertical;
}
.sform input:focus, .sform textarea:focus {
  outline: none; border-color: var(--lime);
  background: rgba(255, 255, 255, 0.1);
}
.sform__submit { align-self: flex-start; background: var(--lime); color: var(--ink); }
.sform__submit:hover { background: var(--white); }
.sform__note { font-size: 0.82rem; color: rgba(245, 242, 252, 0.5); }

@media (max-width: 1024px) {
  .fmts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps::before { display: none; }
  .signup__inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .shero { min-height: auto; }
  .steps { grid-template-columns: 1fr; }
  .acc__a { padding-right: 0; }
}

/* ============================================================
   RESUME PAGE
   ============================================================ */
.header__link.is-current { color: var(--accent-deep); }
.header__link.is-current::after { transform: scaleX(1); }

.rpage { max-width: 900px; margin: 0 auto; padding: calc(var(--header-h) + 40px) clamp(20px, 4vw, 56px) 60px; }

.rhero { padding: clamp(20px, 5vh, 50px) 0 clamp(30px, 5vh, 50px); border-bottom: 1px solid rgba(25, 19, 36, 0.12); }
.rhero__identity {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(20px, 5vw, 56px);
}
.rhero__name {
  flex: 1 1 auto;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 6vw, 4rem); line-height: 1.05;
  text-transform: uppercase; letter-spacing: -0.01em;
  margin: 14px 0 22px;
}
.rhero__portrait {
  flex: 0 0 auto; width: clamp(112px, 17vw, 170px); aspect-ratio: 1;
  object-fit: cover; object-position: 50% 0%; border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px -22px rgba(75, 46, 214, 0.65);
}
.rhero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.rhero__chip {
  display: inline-block; padding: 8px 16px; border-radius: 100px;
  background: var(--white); border: 1px solid rgba(25, 19, 36, 0.1);
  font-size: 0.88rem; font-weight: 600;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
a.rhero__chip:hover { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.rhero__chip--plain { background: transparent; border-style: dashed; color: var(--muted); }
.rhero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.rsection { padding: clamp(30px, 5vh, 50px) 0; border-bottom: 1px solid rgba(25, 19, 36, 0.12); }
.rsection--cta { border-bottom: none; }
.rsection__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  margin-bottom: clamp(18px, 3vh, 30px);
}
.rsection__title::before {
  content: "\2733\FE0E\0020"; color: var(--accent); font-size: 0.8em;
  font-family: Arial, Helvetica, sans-serif; font-variant-emoji: text;
}
.rsummary { font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--ink-soft); max-width: 60em; }

.rskills { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 22px); }
.rskill {
  background: var(--white); border: 1px solid rgba(25, 19, 36, 0.07);
  border-radius: var(--radius); padding: clamp(18px, 2.4vw, 26px);
}
.rskill h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  margin-bottom: 14px; color: var(--accent-deep);
}
.rskill__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.rskill__tags span {
  font-size: 0.82rem; font-weight: 500;
  background: var(--bg-soft); border-radius: 100px; padding: 5px 13px;
}

.rjob {
  display: grid; grid-template-columns: minmax(110px, 150px) 1fr;
  gap: clamp(16px, 3vw, 36px);
  padding: clamp(18px, 3vh, 28px) 0;
}
.rjob + .rjob { border-top: 1px dashed rgba(25, 19, 36, 0.14); }
.rjob__period {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 600;
  color: var(--muted); padding-top: 4px; text-transform: uppercase; letter-spacing: 0.06em;
}
.rjob__role {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1rem, 1.8vw, 1.2rem); line-height: 1.3; margin-bottom: 10px;
}
.rjob__list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.rjob__list li {
  position: relative; padding-left: 22px; color: var(--ink-soft); font-size: 0.97rem;
}
.rjob__list li::before {
  content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}
.rjob__note { color: var(--muted); font-size: 0.95rem; }

.rlangs { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.rlangs li { position: relative; padding-left: 22px; color: var(--ink-soft); }
.rlangs li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.rcerts__lead { max-width: 56em; margin: -10px 0 24px; color: var(--muted); }
.rcarousels { display: grid; gap: clamp(34px, 5vw, 52px); }
.rcarousel { min-width: 0; }
.rcarousel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px;
}
.rcarousel__title {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, 2vw, 1.25rem);
}
.rcarousel__controls { display: flex; flex: 0 0 auto; gap: 8px; }
.rcarousel__button {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(25, 19, 36, 0.16); background: var(--white); color: var(--ink);
  font: 600 1.05rem var(--font-body); cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease-out), opacity 0.25s;
}
.rcarousel__button:hover:not(:disabled),
.rcarousel__button:focus-visible { background: var(--ink); color: var(--lime); border-color: var(--ink); transform: scale(1.05); }
.rcarousel__button:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; }
.rcarousel__button:disabled { cursor: default; opacity: 0.28; }
.rcarousel__viewport {
  overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.rcarousel__viewport::-webkit-scrollbar { display: none; }
.rcarousel__viewport:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; border-radius: var(--radius); }
.rcarousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3);
  align-items: stretch; gap: 20px; padding: 4px 2px 22px;
}
.rcert {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  scroll-snap-align: start; background: var(--white); border: 1px solid rgba(25, 19, 36, 0.08);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.rcert:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(75, 46, 214, 0.3); }
.rcert__link { position: relative; display: block; background: #f5f4f8; }
.rcert img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
.rcert__zoom {
  position: absolute; top: 10px; right: 10px; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; background: rgba(25, 19, 36, 0.86);
  color: var(--lime); font-size: 0.9rem; transition: transform 0.25s var(--ease-out), background 0.25s;
}
.rcert__link:hover .rcert__zoom,
.rcert__link:focus-visible .rcert__zoom { transform: translate(2px, -2px); background: var(--accent-deep); }
.rcert__link:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.rcert figcaption { flex: 1; padding: 12px 16px; font-size: 0.85rem; font-weight: 600; }

@media (max-width: 720px) {
  .rjob { grid-template-columns: 1fr; gap: 6px; }
  .rskills { grid-template-columns: 1fr; }
  .rcarousel__track { grid-auto-columns: calc((100% - 16px) / 2); gap: 16px; }
}
@media (max-width: 480px) {
  .rcarousel__track { grid-auto-columns: 86%; gap: 14px; }
  .rcarousel__button { width: 38px; height: 38px; }
  .rhero__identity { align-items: flex-end; gap: 14px; }
  .rhero__portrait { width: 96px; border-width: 4px; }
}

/* ---------- branded resume PDF ---------- */
@page { size: A4; margin: 12mm 11mm 14mm; background: #f5f2fc; }
@media print {
  .grain, .cursor, .header, .mobmenu, .footer, .no-print { display: none !important; }
  html, body {
    background: var(--bg) !important; color: var(--ink) !important;
    -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important;
  }
  body { font-size: 9pt; line-height: 1.45; }
  .rpage { padding: 0; max-width: none; }
  .rhero { padding: 0 0 9mm; border-bottom-color: rgba(25, 19, 36, 0.16); }
  .rhero__identity { align-items: center; gap: 6mm; }
  .rhero__name { margin: 3mm 0 5mm; font-size: 26pt; line-height: 1; }
  .rhero__portrait {
    width: 29mm; height: 29mm; border-width: 1mm;
    box-shadow: none; print-color-adjust: exact;
  }
  .hero__eyebrow { font-size: 7.5pt; }
  .rhero__meta { gap: 2mm; margin-bottom: 0; }
  .rhero__chip {
    padding: 2mm 3.5mm; border-color: rgba(25, 19, 36, 0.14);
    background: var(--white) !important; font-size: 7.5pt;
  }
  .rhero__chip--plain { background: transparent !important; }
  .rsection { padding: 7mm 0; border-bottom-color: rgba(25, 19, 36, 0.14); }
  .rsection__title { margin-bottom: 4mm; font-size: 14pt; break-after: avoid; }
  .rsummary { max-width: none; font-size: 9pt; line-height: 1.5; }
  .rskills { gap: 3mm; }
  .rskill {
    padding: 4mm; border-color: rgba(25, 19, 36, 0.1);
    background: var(--white) !important; break-inside: avoid;
  }
  .rskill h3 { margin-bottom: 2.5mm; font-size: 8.5pt; }
  .rskill__tags { gap: 1.5mm; }
  .rskill__tags span { padding: 1.3mm 2.5mm; background: var(--bg-soft) !important; font-size: 7pt; }
  .rjob { grid-template-columns: 29mm 1fr; gap: 5mm; padding: 4mm 0; break-inside: avoid; }
  .rjob__period { font-size: 7pt; }
  .rjob__role { margin-bottom: 2mm; font-size: 9pt; }
  .rjob__list { gap: 1.5mm; }
  .rjob__list li { padding-left: 4mm; font-size: 7.8pt; line-height: 1.42; }
  .rjob__note { font-size: 7.8pt; }
  .rlangs { gap: 2mm; }
  .rlangs li { font-size: 8pt; }
  .reveal, .reveal-line { opacity: 1 !important; transform: none !important; }
  .reveal-words .word > span { transform: none !important; }
  a { color: inherit; text-decoration: none; }
}

/* ---------- language switch fade ---------- */
[data-i18n] { transition: opacity 0.25s ease; }
body.is-translating [data-i18n] { opacity: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { min-height: auto; padding-bottom: 80px; }
  .hero__photo-wrap { margin: 30px auto 0; max-width: 380px; }
  .hero__chip--1 { right: -2%; }
  .hero__chip--2 { left: -4%; }
  .hero__scrollhint { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .channel__inner { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .about__photo-col { position: static; max-width: 420px; }
}

@media (max-width: 720px) {
  .header__nav { display: none; }
  .burger { display: block; }
  .header__logo-text { display: none; }

  .hero__title { font-size: clamp(2.3rem, 11.5vw, 3.4rem); }
  .hero__stats { gap: 20px; }
  .stat { flex: 1 1 40%; }
  .hero__photo-wrap { margin-top: 52px; }
  .hero__badge { width: 92px; height: 92px; top: -14px; left: -6px; }
  .hero__chip { font-size: 0.78rem; padding: 8px 14px; }
  .hero__chip--1 { right: -2%; top: 34%; }
  .hero__chip--2 { left: 0; bottom: 10%; }

  .cards { grid-template-columns: 1fr; }
  .timeline__item { grid-template-columns: 1fr; gap: 10px; }
  .fact { grid-template-columns: 1fr; gap: 6px; }
  .contact__link { grid-template-columns: 1fr auto; }
  .contact__link-label { grid-column: 1 / -1; }
  .workshops__cta { flex-direction: column; align-items: flex-start; }
  .channel { border-radius: 24px; margin-inline: 8px; }
  .footer__bottom { justify-content: center; text-align: center; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .reveal-line, .reveal-words .word > span, .hero__title-word { opacity: 1; transform: none; }
}
