/* =========================================================
   Sergey Lazarev — International site
   Built from Figma: 1440 (desktop), 1024, 768, 393 (mobile).
   Between 1024 and 1440 key values interpolate linearly
   through --pp (0px at 1024 → 1px at 1440).
   ========================================================= */

:root {
  --dark: #191919;
  --cream: #f8f4e9;
  --gold: #dfc47b;
  --gold-hover: #e9d397;
  --beige: #f0ece8;
  --ink2: #1f1e1d;
  --card: #32312f;
  --blue: #174f7c;
  --muted: rgba(25, 25, 25, .7);
  --muted-light: rgba(248, 244, 233, .7);
  --white-70: rgba(255, 255, 255, .7);

  --serif: 'Ovo', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --lato: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --pp: calc((min(100vw, 1440px) - 1024px) / 416);
  --gutter: calc(40px + 60 * var(--pp));
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.25;
  color: var(--dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.br-m, .br-t { display: none; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Decorative canvas: the 1440px design frame, left-anchored below 1440 and centred above. */
.cv {
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(0px, calc(50% - 720px));
  width: 1440px;
  pointer-events: none;
}
.d { position: absolute; }
.d > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.b { position: absolute; display: block; inset: var(--b, 0); }
.b > img { width: 100%; height: 100%; max-width: none; }
.r { display: flex; align-items: center; justify-content: center; }
.r > .ri { flex: none; position: relative; width: var(--iw); height: var(--ih); transform: var(--t, none); }
.ri > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* ---------- type ---------- */
.h1, .h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.t-muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  padding: 12px 24px;
  border: 0;
  border-radius: 16px;
  font: 500 16px/24px var(--sans);
  text-align: center;
  white-space: nowrap;
  transition: background-color .2s, color .2s, opacity .2s;
}
.btn--cream { background: var(--cream); color: var(--dark); }
.btn--cream:hover { background: #fff; }
.btn--dark { background: var(--dark); color: var(--cream); }
.btn--dark:hover { background: #3a3a3a; }
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--gold);
  transition: background-color .2s, opacity .2s;
}
.btn-icon img { width: 24px; height: 24px; }
.btn-icon:hover { background: var(--gold-hover); }
.btn-icon--prev img { transform: scaleX(-1); }
.btn:disabled, .btn-icon:disabled { opacity: .2; cursor: default; }
.btn-pair { display: flex; align-items: flex-start; }
.btn-pair:hover .btn--cream { background: #fff; }
.btn-pair:hover .btn-icon { background: var(--gold-hover); }

.arrows {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
}
.arrows > * { pointer-events: auto; }

/* ---------- logo / header ---------- */
.logo { display: inline-flex; align-items: center; gap: 7.62px; color: var(--cream); }
.logo__mark { width: 28.77px; height: 37.69px; }
.logo__text { width: 64.79px; font: 600 11.43px/1.2 var(--lato); }
.logo--dark { color: var(--dark); }

.site-header { position: absolute; top: 24px; left: 0; right: 0; z-index: 10; }
.site-header__row { display: flex; align-items: center; justify-content: space-between; padding-block: 10px; }
.nav { display: flex; gap: 28px; }
.nav a {
  font: 600 14px/24px var(--lato);
  text-transform: uppercase;
  color: var(--cream);
  transition: color .2s;
}
.nav a:hover { color: var(--gold); }
.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 16px;
  background: rgba(248, 244, 233, .1);
  -webkit-backdrop-filter: blur(3.35px);
  backdrop-filter: blur(3.35px);
  font: 500 14px/24px var(--sans);
  color: var(--cream);
  white-space: nowrap;
  transition: background-color .2s;
}
.btn-login img { width: 16px; height: 16px; }
.btn-login:hover { background: rgba(248, 244, 233, .2); }
.burger { display: none; }

/* =========================================================
   01 HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  height: calc(828px + 14 * var(--pp));
  background: var(--dark);
  color: var(--cream);
}
.g27 { left: -218.53px; top: 294.14px; width: 795.48px; height: 795.48px; --b: -80.45%; }
.hero__library { left: -47.05px; top: -50.97px; width: 1533.46px; height: 863.03px; filter: blur(3px); }
.hero__library img { object-fit: cover; }
.g29 { left: -734.55px; top: -35.58px; width: 1668.53px; height: 1612.73px; --b: -22.32% -21.58%; }
.g34 { left: -734.55px; top: 643.55px; width: 965.9px; height: 933.6px; --b: -38.56% -37.27%; }
.g31 { left: 964.96px; top: -563.58px; width: 1082.88px; height: 1082.88px; --b: -28.42%; }
.g30 { left: 862.12px; top: 303.54px; width: 408.02px; height: 408.02px; --b: -78.43%; }
.g32 {
  left: calc(572.51px + 158.9 * var(--pp)); top: calc(212px - 36.34 * var(--pp));
  width: 278.78px; height: 285px; --b: -91.23% -93.26%;
}
.g33 {
  left: calc(323px + 158.9 * var(--pp)); top: calc(444.99px - 36.34 * var(--pp));
  width: 452.08px; height: 516.77px;
  --iw: 531.08px; --ih: 159.25px; --t: rotate(-52.07deg); --b: -100.47% -30.13%;
}
.g35 { left: 474.39px; top: 630.98px; width: 1452.85px; height: 337.13px; --b: -59.32% -13.77%; }
.g36 {
  left: 687.41px; top: 368.02px; width: 478.89px; height: 528.55px;
  --iw: 367.12px; --ih: 441.37px; --t: rotate(16.78deg); --b: -27.19% -32.69%;
}
.hero__portrait {
  left: calc(-354px + 160.42 * var(--pp)); top: calc(126px - 24.29 * var(--pp));
  width: calc(1632px + 129.99 * var(--pp)); height: calc(694px + 55.79 * var(--pp));
}
.hero__shape22 {
  left: calc(752px + 110.95 * var(--pp)); top: calc(436.19px + 16.68 * var(--pp));
  width: calc(342px + 134.77 * var(--pp)); height: calc(361px + 141.12 * var(--pp));
}
.hero__shape21 {
  left: calc(421px - 20.1 * var(--pp)); top: calc(-3.81px - 157.8 * var(--pp));
  width: calc(288px + 114.22 * var(--pp)); height: calc(304px + 119.28 * var(--pp));
}

.cv--top { left: 0; right: 0; width: auto; z-index: 2; }
.g37 {
  left: calc(max(0px, 50% - 720px) - 411.34px); bottom: -183.93px;
  width: 1605.9px; height: 277.21px;
  --iw: 1600.65px; --ih: 238.98px; --t: rotate(-1.37deg); --b: -50.21% -7.5%;
}
.hero__edge-r { right: 0; bottom: -4px; width: 439px; height: 27px; }
.hero__edge-l { left: -13px; bottom: -2px; width: 626px; height: 26px; }
.hero__edge-l img { transform: scaleX(-1); }
.hero__edge { left: 0; right: 0; bottom: 0; height: 22px; }
.hero__edge img { object-fit: cover; }
.hero__edge-m { display: none; }

.hero__inner { position: relative; z-index: 1; height: 100%; }
.hero__tagline {
  position: absolute;
  top: 154.55px;
  left: var(--gutter);
  font-size: 16px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--cream);
}
.hero__tagline em { font-style: normal; color: var(--gold); }
.hero__content {
  position: absolute;
  top: calc(272px + 58.86 * var(--pp));
  left: var(--gutter);
  width: calc(400px + 160 * var(--pp));
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero__title { color: var(--cream); }
.hero__title span { color: var(--gold); }
.hero__intro { display: flex; flex-direction: column; gap: 32px; }
.hero__text { max-width: calc(400px + 104.48 * var(--pp)); color: var(--muted-light); }
.hero__actions { position: relative; display: flex; }
.hero__signature {
  position: absolute;
  left: 274.34px;
  top: 5.45px;
  display: block;
  width: 148.57px;
  height: 39.09px;
  transform: rotate(-1.77deg);
  pointer-events: none;
}
.hero__signature img { width: 100%; height: 100%; max-width: none; }

.awards {
  position: absolute;
  top: 216.86px;
  right: calc(40px + 115.29 * var(--pp));
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.award { display: grid; justify-items: center; align-items: start; }
.award > * { grid-area: 1 / 1; }
.award__laurel { width: 101px; height: 66px; margin-top: 1px; }
.award__body { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 101px; }
.award--2 .award__body { width: 113px; }
.award__img { object-fit: cover; }
.award--1 .award__img { width: 88px; height: 114px; }
.award--2 .award__img { width: 41px; height: 113.68px; }
.award__name { font-size: 12px; line-height: 1.2; text-align: center; color: var(--cream); }
.award--2 .award__name { width: 102px; }

/* =========================================================
   02 ABOUT
   ========================================================= */
.about { overflow: hidden; background: var(--beige); padding: calc(70px + 30 * var(--pp)) 0 calc(80px + 20 * var(--pp)); }
.about__inner { max-width: 1030px; margin-inline: auto; }
.about__title { text-align: center; }
.about__info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: calc(40px - 16 * var(--pp));
  margin-top: 32px;
  padding-left: 3px;
}
.about__col { flex: 0 1 396px; }
.about__birth {
  flex: none;
  width: 124px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
}
.about__birth-label { font-size: 20px; line-height: 1.2; text-transform: uppercase; }
.about__birth-year { font-size: 64px; line-height: 1; letter-spacing: -0.03em; }
.about__more { font-weight: 500; color: var(--dark); }
.about__more:hover { text-decoration: underline; }
.about__media { position: relative; height: 414px; margin-top: 45px; }
.about__photo { position: absolute; inset: 0; overflow: hidden; }
.about__photo img,
.about__portrait img { position: absolute; left: 0; width: 100%; max-width: none; }
.about__photo img { left: 50%; width: 1030px; margin-left: -515px; top: -37.14%; height: 165.58%; }
.about__portrait {
  position: absolute;
  left: 50%;
  top: -49px;
  width: 1030px;
  height: 402px;
  margin-left: -515px;
  overflow: hidden;
  pointer-events: none;
}
.about__portrait img { top: -26.06%; height: 170.52%; }

.stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  padding-left: 3px;
}
.stat {
  position: relative;
  flex: none;
  width: 178px;
  height: 85px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.stat__laurel { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .1; }
.stat__num {
  position: relative;
  margin-bottom: -2px;
  font: 400 36px/1 var(--serif);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.stat__label { position: relative; width: 113px; color: var(--muted); }
.stat--wide { width: 189px; height: auto; }
.stat__wide { font: 400 20px/1.2 var(--serif); text-transform: uppercase; }

/* =========================================================
   03 TEN STEPS (slider)
   ========================================================= */
.steps {
  position: relative;
  overflow: hidden;
  height: calc(512px + 40 * var(--pp));
  background: #2a5fa8;
  color: #fff;
}
.steps__slides { position: absolute; inset: 0; }
.steps__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility .6s;
}
.steps__slide.is-active { opacity: 1; visibility: visible; }
.steps__inner { height: 100%; padding-top: calc(84px + 20 * var(--pp)); }
.steps__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: calc(380px + 123 * var(--pp));
  margin-left: calc(80px + 29 * var(--pp));
}
.steps__desc { margin-top: 12px; color: var(--white-70); }
.steps__text .btn { margin-top: 32px; }
.steps__controls {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(424px + 20 * var(--pp) - 8px);
  z-index: 2;
}
.steps__dots { display: flex; gap: 8px; width: 135px; margin-left: calc(80px + 29 * var(--pp)); }
.dot {
  position: relative;
  flex: 1;
  height: 20px;
  padding: 8px 0;
  border: 0;
  background: none;
}
.dot::before {
  content: '';
  display: block;
  height: 4px;
  border-radius: 32px;
  background: var(--cream);
  opacity: .2;
  transition: opacity .3s;
}
.dot.is-active::before { opacity: 1; }
.dot i {
  position: absolute;
  left: 0;
  top: 8px;
  width: 0;
  height: 4px;
  border-radius: 32px;
  background: var(--gold);
  transition: width .4s;
}
.dot.is-active i { width: 30px; }

/* =========================================================
   04 LET US GUIDE YOU (quiz)
   ========================================================= */
.guide { position: relative; overflow: hidden; background: var(--beige); padding: 100px 0; }
.guide__bg {
  position: absolute;
  right: calc(max(0px, 50% - 720px) - 163.23px);
  top: -128.07px;
  width: 1004.35px;
  height: 1247.35px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.guide__bg-in {
  flex: none;
  position: relative;
  width: 848px;
  height: 1136px;
  transform: rotate(8.37deg);
  -webkit-mask: var(--mask-quiz) 4.487px -20.982px / 1059.916px 1208.338px no-repeat;
  mask: var(--mask-quiz) 4.487px -20.982px / 1059.916px 1208.338px no-repeat;
}
.guide__bg-in img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.guide__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.guide__head { width: 574px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.guide__lead { width: 418px; max-width: 100%; }
.quiz {
  width: 100%;
  max-width: 1240px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 48px;
  border-radius: 32px;
  background: #fff;
}
.quiz__progress { display: flex; flex-direction: column; gap: 12px; }
.progress { align-self: stretch; height: 4px; border-radius: 32px; background: var(--cream); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 32px; background: var(--gold); transition: width .3s; }
.quiz__question { display: flex; flex-direction: column; gap: 16px; }
.quiz__title { font: 400 48px/1 var(--serif); letter-spacing: -0.025em; }
.quiz__answers { display: flex; gap: 24px; }
.answer {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 2px solid transparent;
  border-radius: 16px;
  background: var(--cream);
  cursor: pointer;
  transition: border-color .2s;
}
.answer:hover { border-color: rgba(223, 196, 123, .5); }
.answer:has(input:checked) { border-color: var(--gold); }
.answer:has(input:focus-visible) { outline: 2px solid var(--dark); outline-offset: 2px; }
.answer input { position: absolute; opacity: 0; pointer-events: none; }
.answer__title { font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; }
.answer__text { color: var(--muted); }
.quiz__nav { display: flex; align-items: flex-start; justify-content: space-between; }

/* =========================================================
   05 RESEARCH
   ========================================================= */
.research {
  position: relative;
  overflow: hidden;
  height: 925px;
  background: var(--dark);
  color: var(--cream);
}
.research .cv { left: calc(50% - 720px); }
.g42 { left: 917px; top: -496px; width: 892px; height: 842px; --b: -47.51% -44.84%; }
.research__strip1 { left: -139.14px; top: 657.3px; width: 745.28px; height: 467.4px; --iw: 242px; --ih: 705px; --t: rotate(109.89deg); }
.research__strip2 { left: 606px; top: 497px; width: 1342.03px; height: 854.6px; --iw: 438px; --ih: 1269px; --t: rotate(-110.5deg) scaleY(-1); }
.research__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-top: 100px;
}
.research__main { width: 816px; display: flex; flex-direction: column; gap: 32px; }
.research__kicker { font-weight: 500; line-height: 1.2; text-transform: uppercase; color: var(--gold); }
.research__main .h2 + .research__cols { margin-top: -16px; }
.research__cols { display: flex; gap: 24px; color: var(--white-70); }
.research__cols p { width: 396px; }
.research__author { flex: none; width: 292px; display: flex; flex-direction: column; gap: 20px; }
.research__author-text { display: flex; flex-direction: column; gap: 12px; }
.research__name { color: var(--muted-light); }
.research__author .h4 { color: var(--cream); }
.research__collage { z-index: 1; }
.research__card {
  position: absolute;
  left: 100.99px;
  top: 580.74px;
  width: 183px;
  height: 284px;
  padding: 20px;
  background: #618d84;
  transform: rotate(6.57deg);
}
.research__card img { width: 143px; height: 152px; object-fit: cover; }
.research__card figcaption { margin-top: 16px; font-size: 12px; font-style: italic; line-height: 1.25; color: var(--dark); }
.research__ridero { left: 210.43px; top: 459.29px; width: 267.91px; height: 231.27px; --iw: 226.76px; --ih: 170.07px; --t: rotate(-17.81deg); }
.research__clip { left: 143.61px; top: 390.8px; width: 215.65px; height: 215.65px; --iw: 172.6px; --ih: 172.6px; --t: rotate(-17.06deg); }
.research__paper { left: 936.03px; top: 540.22px; width: 402.94px; height: 402.94px; --iw: 337.02px; --ih: 337.02px; --t: rotate(-12.71deg); }
.research__torn { left: 955.68px; top: 552.04px; width: 355.99px; height: 355.99px; --iw: 297.76px; --ih: 297.76px; --t: rotate(-12.71deg); }
.research__torn .ri {
  overflow: hidden;
  -webkit-mask: var(--mask-research-torn) -14.262px -3.217px / 390.951px 390.951px no-repeat;
  mask: var(--mask-research-torn) -14.262px -3.217px / 390.951px 390.951px no-repeat;
}
.research__torn .ri img { inset: auto; left: -45.98%; top: 8.7%; width: 165.42%; height: 92.87%; object-fit: fill; }
.research__lecture {
  position: absolute;
  left: 417px;
  top: 434.2px;
  width: 604px;
  height: 372px;
  overflow: hidden;
  border: 12px solid #fff;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 47px 100px rgba(0, 0, 0, .74);
}
.research__lecture img { width: 100%; height: 100%; object-fit: cover; object-position: bottom; }
.research__palette { left: 975.36px; top: 346px; width: 322.28px; height: 322.28px; --iw: 271.99px; --ih: 271.99px; --t: rotate(11.91deg); }
.research__quill { left: 280px; top: 645px; width: 137px; height: 205px; }
.research__quill img { object-fit: cover; transform: scaleX(-1); }

/* =========================================================
   06 BOOK (slider)
   ========================================================= */
.book { position: relative; overflow: hidden; height: calc(508px + 92 * var(--pp)); background: var(--beige); }
.book__bg { position: absolute; left: 0; right: 0; top: -2px; height: 811px; pointer-events: none; }
.book__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.book__shelf {
  position: absolute;
  left: calc(50% + .5px);
  top: 240px;
  width: 1199px;
  height: 513px;
  transform: translateX(-50%);
  opacity: .2;
  pointer-events: none;
}
.book__shelf img { width: 100%; height: 100%; object-fit: cover; }
.book__inner { position: relative; z-index: 1; display: flex; align-items: flex-start; padding-top: calc(70px + 26 * var(--pp)); }
.book__text {
  width: calc(501px + 104 * var(--pp));
  margin: calc(4 * var(--pp)) 0 0 calc(80px + 28 * var(--pp));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.langs { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.flags { display: flex; gap: 6px; }
.flag {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  overflow: hidden;
  border: 1px solid var(--beige);
  border-radius: 50%;
  background: #fff;
}
.flag img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.flag--more { display: flex; align-items: center; justify-content: center; background: #ded4c6; }
.flag--more img { width: 10px; height: 2px; }
.book__text .h2 { margin-bottom: 12px; }
.book__desc { margin-bottom: 32px; }
.book__cover {
  position: relative;
  flex: none;
  width: calc(250px + 43 * var(--pp));
  height: calc(348px + 60 * var(--pp));
  margin-left: calc(22px + 34 * var(--pp));
}
.book__cover-img { position: absolute; inset: 0; overflow: hidden; }
.book__cover-img img { position: absolute; left: -23.45%; top: -12.81%; width: 148.3%; height: 133.17%; max-width: none; }
.book__note {
  position: absolute;
  left: calc(88px + 121 * var(--pp));
  top: calc(-40px - 5 * var(--pp));
  width: calc(110px + 44.26 * var(--pp));
  height: calc(223px + 40 * var(--pp));
  background: url(../assets/img/paper-handwriting.webp) center / cover;
  -webkit-mask: var(--mask-book-note) 0 0 / 100% 100% no-repeat;
  mask: var(--mask-book-note) 0 0 / 100% 100% no-repeat;
}
.book__tape {
  position: absolute;
  left: calc(63px + 265.65 * var(--pp));
  top: calc(-24px - 1.68 * var(--pp));
  width: calc(35px + 13.96 * var(--pp));
  height: calc(24px + 4.92 * var(--pp));
  max-width: none;
}
.book__torn { position: absolute; left: -42px; right: 0; bottom: -209px; height: 272px; pointer-events: none; z-index: 2; }
.book__torn img { width: 100%; height: 100%; max-width: none; }

/* =========================================================
   07 NEWS
   ========================================================= */
.news { background: #fff; padding: 100px 0; }
.news__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.news__list { display: flex; flex-direction: column; gap: 24px; }
.post {
  position: relative;
  display: flex;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(25, 25, 25, .1);
}
.post:last-child { padding-bottom: 0; border-bottom: 0; }
.post__img { flex: none; width: 478px; height: 240px; overflow: hidden; border-radius: 16px; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post:hover .post__img img { transform: scale(1.04); }
.post__body { width: 549px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.post__text { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.post__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.tag { padding: 6px 12px; border-radius: 900px; background: var(--beige); font-size: 14px; line-height: 1.25; }
.post__go { position: absolute; top: 0; right: 0; }

/* =========================================================
   08 QUOTE
   ========================================================= */
.quote { position: relative; overflow: hidden; padding: 100px 0; background: var(--blue); color: var(--cream); }
.quote__bg { left: -45.66px; top: 84px; width: 1126px; height: 732px; --iw: 732px; --ih: 1126px; --t: rotate(-90deg); }
/* Figma positions masks in the unrotated outer frame, so the mask sits on .d, not on the rotated .ri */
.quote__bg {
  -webkit-mask: var(--mask-quote) -337px 30px / 1357px 1357px no-repeat;
  mask: var(--mask-quote) -337px 30px / 1357px 1357px no-repeat;
}
.quote__bg .ri { overflow: hidden; border-radius: 16px; opacity: .15; }
.quote__bg .ri img { object-fit: cover; object-position: bottom; }
.quote__bg .ri::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0) 42.779%);
}
.quote__inner { position: relative; display: flex; align-items: center; gap: 64px; }
.quote__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.quote__label { color: var(--muted-light); }
.quote__q { font: 400 56px/1 var(--serif); letter-spacing: -0.03em; }
.quote__sign { width: 203px; height: 58px; }
.quote__text .btn { margin-top: 16px; }
.quote__media { flex: none; display: grid; }
.quote__media > * { grid-area: 1 / 1; }
.quote__painting {
  position: relative;
  width: 395.76px;
  height: 429.56px;
  margin: 61.37px 0 0 49.8px;
  overflow: hidden;
  border-radius: 16px;
}
.quote__painting img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.quote__painting::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0) 42.779%);
}
.quote__photo { position: relative; width: 395.76px; height: 429.56px; overflow: hidden; border-radius: 16px; }
.quote__photo img { position: absolute; left: 0; top: -29.79%; width: 100%; height: 138.38%; max-width: none; }

/* =========================================================
   09 VIDEO
   ========================================================= */
.video { position: relative; overflow: hidden; height: calc(787px + 88 * var(--pp)); background: var(--ink2); color: var(--cream); }
.video__head {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 100px;
  text-align: center;
}
.video__head p { width: 504px; max-width: 100%; }
.video__stage { position: absolute; left: 50%; top: calc(100% - 319.5px); width: 0; height: 0; }
.vcard {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--w);
  height: var(--h);
  z-index: var(--z);
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  transform: translate(calc(-50% + var(--x)), -50%);
  transition: transform .5s ease, width .5s ease, height .5s ease;
}
/* thumbnails are 4:3 with letterbox bars — scale past them like the design does */
.vcard img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 112%;
  height: auto;
  aspect-ratio: 4 / 3;
  max-width: none;
  transform: translate(-50%, -50%);
}
.vcard::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--gold);
  border-radius: inherit;
  opacity: 0;
  transition: opacity .5s;
}
.vcard[data-slot="0"] { --x: -572.5px; --w: 285px; --h: 175px; --z: 1; }
.vcard[data-slot="1"] { --x: -450.5px; --w: 387px; --h: 237px; --z: 2; }
.vcard[data-slot="2"] { --x: -322.5px; --w: 467px; --h: 287px; --z: 3; }
.vcard[data-slot="3"] { --x: -145.5px; --w: 609px; --h: 375px; --z: 4; }
.vcard[data-slot="4"] { --x: 0px;      --w: 714px; --h: 439px; --z: 6; }
.vcard[data-slot="4"]::after { opacity: 1; }
.vcard[data-slot="5"] { --x: 145.5px;  --w: 609px; --h: 375px; --z: 5; }
.vcard[data-slot="6"] { --x: 329.5px;  --w: 467px; --h: 287px; --z: 3; }
.vcard[data-slot="7"] { --x: 447.5px;  --w: 387px; --h: 237px; --z: 2; }
.vcard[data-slot="8"] { --x: 578.5px;  --w: 285px; --h: 175px; --z: 1; }
.vcard.no-anim { transition: none; }
.video__play {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 7;
  width: 185px;
  height: 185px;
  max-width: none;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.video__fade { position: absolute; top: calc(100% - 505px); z-index: 8; width: 250px; height: 362px; pointer-events: none; }
.video__fade--l { left: 0; background: linear-gradient(to right, var(--ink2), rgba(31, 30, 29, 0)); }
.video__fade--r { right: 0; background: linear-gradient(to left, var(--ink2), rgba(31, 30, 29, 0)); }
.video__arrows { top: calc(100% - 319.93px); z-index: 9; }

/* =========================================================
   10 APP
   ========================================================= */
.app { padding-bottom: 101px; background: var(--ink2); }
.app__card { position: relative; height: 450px; overflow: hidden; border-radius: 32px; background: var(--card); color: var(--cream); }
.app__bg {
  position: absolute;
  left: -370.35px;
  top: -109.2px;
  width: 1309.86px;
  height: 1317.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  -webkit-mask: var(--mask-app) -623.512px -139.662px / 1757px 1757px no-repeat;
  mask: var(--mask-app) -623.512px -139.662px / 1757px 1757px no-repeat;
}
.app__bg-in {
  flex: none;
  position: relative;
  width: 732px;
  height: 1126px;
  overflow: hidden;
  border-radius: 16px;
  opacity: .15;
  transform: rotate(-44.21deg);
}
.app__bg-in img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.app__scene { position: absolute; inset: 0; pointer-events: none; }
.app__stage { position: absolute; left: 0; top: 0; width: 1239px; height: 450px; transform-origin: 0 0; }
.g50 { left: 527px; top: 406.99px; width: 519.2px; height: 515.03px; --iw: 379.96px; --ih: 358.1px; --t: rotate(37.24deg); --b: -88.91% -83.8%; }
.g49 { left: 556.37px; top: 37px; width: 974.6px; height: 966.77px; --iw: 713.24px; --ih: 672.2px; --t: rotate(37.24deg); --b: -32.87% -30.98%; }

.phone { position: absolute; left: 733.17px; top: 46px; width: 317.03px; height: 646px; }
.phone__screen {
  position: absolute;
  left: 14.63px;
  top: 14.04px;
  width: 287.55px;
  height: 619.71px;
  overflow: hidden;
  border-radius: 40.55px;
  background: #fff;
}
.phone__screen img { width: 100%; height: 622.28px; max-width: none; object-fit: cover; object-position: top; }
.phone__frame { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.phone__island {
  position: absolute;
  left: 112.09px;
  top: 22.52px;
  width: 91.68px;
  height: 26.58px;
  border-radius: 38.52px;
  background: #000;
}
.phone__island::after {
  content: '';
  position: absolute;
  left: 71.26px;
  top: 6.55px;
  width: 13.1px;
  height: 13.1px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #2b3346, #0b0d12 60%);
}
.phone__status {
  position: absolute;
  left: 52.19px;
  top: 29.28px;
  width: 226.15px;
  display: flex;
  justify-content: space-between;
  color: #000;
}
.phone__time { font: 600 13.52px/16px system-ui, -apple-system, 'SF Pro Display', sans-serif; }
.phone__icons { display: flex; align-items: center; gap: 7px; margin-top: 3px; opacity: .9; }
.phone__icons img { width: 12.57px; height: 8.91px; }
.sig { display: flex; align-items: flex-end; gap: 1px; height: 8.11px; }
.sig b { display: block; width: 2.46px; border-radius: .25px; background: #000; }
.sig b:nth-child(1) { height: 2.95px; }
.sig b:nth-child(2) { height: 4.42px; }
.sig b:nth-child(3) { height: 6.15px; }
.sig b:nth-child(4) { height: 8.11px; }
.bat { position: relative; width: 17.94px; height: 7.13px; }
.bat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 15.73px;
  height: 7.13px;
  border: .74px solid rgba(0, 0, 0, .6);
  border-radius: 1.23px;
}
.bat::after {
  content: '';
  position: absolute;
  left: 16.96px;
  top: 2.46px;
  width: .98px;
  height: 2.21px;
  border-radius: 0 2.21px 2.21px 0;
  background: rgba(0, 0, 0, .6);
}
.bat b { position: absolute; left: .49px; top: .49px; width: 14.75px; height: 6.15px; border-radius: .98px; background: #000; }

.app__main {
  position: absolute;
  left: 48px;
  top: 48px;
  width: 560px;
  height: 354px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.app__lead { width: 413px; max-width: 100%; margin-top: 12px; color: var(--muted-light); }
.stores { display: flex; gap: 16px; }
.stores img { width: 180px; height: 53px; }
.stores a { transition: opacity .2s; }
.stores a:hover { opacity: .8; }

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 80px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  color: var(--dark);
  filter: drop-shadow(0 4px 7.1px rgba(0, 0, 0, .25));
}
.chip__icon {
  position: relative;
  flex: none;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 8px;
  background: #efebe7;
}
.chip--books { left: 616px; top: 213px; width: 210px; }
.chip--books > span:last-child { width: 117.17px; }
.chip--books .chip__icon img { position: absolute; left: 7.97px; top: 9.0px; width: 33.89px; height: 30.56px; }
.chip--med { left: 1009px; top: 313px; width: 186px; }
.chip--med > span:last-child { width: 94px; }
.chip--med .chip__icon img { position: absolute; left: 7px; top: 9px; width: 35px; height: 29.01px; }

.bubble { position: absolute; display: flex; align-items: center; gap: 12px; }
.bubble__text { color: #fff; }
.bubble__pill {
  display: flex;
  align-items: center;
  padding: 12px;
  border-radius: 0 60px 60px 37px;
  background: #fff;
  filter: drop-shadow(0 4px 7.1px rgba(0, 0, 0, .25));
}
.bubble--readers { left: 616px; top: 341px; }
.bubble--readers .bubble__text { width: 89px; }
.bubble--readers .bubble__pill { transform: scaleX(-1); }
.bubble--readers .bubble__pill img {
  width: 36px;
  height: 36px;
  margin-right: -8px;
  border: 1px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}
.bubble--readers .bubble__pill img:last-child { margin-right: 0; }
.bubble--langs { left: 986px; top: 139px; }
.bubble--langs .bubble__text { width: 96px; }
.bubble__pill--flags .flag { width: 30.8px; height: 30.8px; margin-right: -8px; border-color: #fff; }
.bubble__pill--flags .flag:last-child { margin-right: 0; }

/* =========================================================
   11 FOOTER
   ========================================================= */
.footer { padding: 100px 0; background: #fff; }
.footer > .container { display: flex; flex-direction: column; gap: 48px; }
.footer__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.subscribe { display: flex; gap: 8px; }
.subscribe input {
  width: 280px;
  padding: 11px 24px;
  border: 1px solid rgba(25, 25, 25, .3);
  border-radius: 16px;
  background: #fff;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
  color: var(--dark);
  outline: none;
  transition: border-color .2s;
}
.subscribe input::placeholder { color: var(--muted); opacity: 1; }
.subscribe input:focus { border-color: var(--dark); }
.footer__line { width: 100%; height: 0; margin: 0; border: 0; border-top: 1px solid rgba(25, 25, 25, .1); }
.footer__main { display: flex; align-items: stretch; gap: 132px; }
.footer__about { flex: none; width: 396px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.footer__about > div:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.socials { display: flex; gap: 14.4px; }
.socials img { width: 24px; height: 24px; }
.socials a { transition: opacity .2s; }
.socials a:hover { opacity: .6; }
.footer__nav { flex: 1 1 0; min-width: 0; display: flex; gap: 64px; }
.footer__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__col-title { margin-bottom: 2px; font: 400 14px/1.25 var(--lato); color: var(--muted); }
.footer__col a { font: 400 16px/1.25 var(--lato); transition: color .2s; }
.footer__col a:hover { color: #9b7f33; }
.footer__cards { display: flex; align-items: flex-start; gap: 24px; }
.fcard {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  border-radius: 24px;
  background: var(--beige);
}
.fcard--gap { gap: 16px; align-self: stretch; }
.fcard__text { display: flex; flex-direction: column; gap: 8px; }
.fcard__title { font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; }
.fcard__link:hover { text-decoration: underline; }
.fcard__link--u { text-decoration: underline; text-underline-offset: 3px; }
.stores--sm { gap: 12px; }
.stores--sm img { width: 135px; height: 40px; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border-radius: 16px;
  background: var(--beige);
  color: var(--muted);
  white-space: nowrap;
}
.footer__legal { display: flex; gap: 32px; }
.footer__legal a:hover { color: var(--dark); }

/* ---------- mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  padding: 80px 16px 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: rgba(25, 25, 25, .97);
  color: var(--cream);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.mobile-menu nav a { font: 600 20px/1.2 var(--lato); text-transform: uppercase; }
.mobile-menu nav a:hover { color: var(--gold); }


/* =========================================================
   ≤1279 — 1024 layout
   ========================================================= */
@media (max-width: 1279px) {
  .hero__signature { display: none; }
  .steps__desc br, .book__desc br { display: none; }
  .guide { padding: 80px 0; }

  /* research: author moves under the collage, collage scaled to 78.5% */
  .research { height: 965px; }
  .research .cv { left: calc(50% - 512px); width: 1024px; }
  .research__inner { flex-direction: column; padding-top: 80px; }
  .research__main { width: 100%; }
  .research__cols p { flex: 1 1 0; width: auto; }
  .research__author {
    position: absolute;
    top: 783px;
    left: var(--gutter);
    right: var(--gutter);
    width: auto;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .research__author-text { max-width: 738px; }
  .research__strip1 { left: 588px; top: 495px; width: 707px; height: 244px; --t: rotate(90deg); }
  .research__strip2 { display: none; }
  .research__ridero, .research__clip, .research__paper, .research__torn,
  .research__lecture, .research__palette, .research__quill { scale: .785; }
  .research__card { left: 57.5px; top: 470px; transform: rotate(6.57deg) scale(.785); }
  .research__ridero { left: 109.05px; top: 433.87px; }
  .research__clip { left: 62.68px; top: 367.68px; }
  .research__paper { left: 663.53px; top: 497.53px; }
  .research__torn { left: 683.5px; top: 505.5px; }
  .research__lecture { left: 235px; top: 345px; }
  .research__palette { left: 747.36px; top: 296.36px; }
  .research__quill { left: 285px; top: 528px; }

  /* news: two equal columns, no arrow buttons */
  .news { padding: 70px 0 80px; }
  .post__go { display: none; }
  .post__img, .post__body { flex: 1 1 0; width: auto; }

  /* quote */
  .quote { padding: 80px 0; }
  .quote__inner { gap: 20px; }
  .quote__q { max-width: 570px; }
  .quote__painting { width: 301px; height: 327px; margin: 47px 0 0 38px; }
  .quote__photo { width: 301px; height: 327px; }

  /* video */
  .video__head { padding-top: 80px; }
  .video__head p { width: auto; }
  .video__stage { top: calc(100% - 291.5px); }
  .video__fade { top: calc(100% - 507px); height: 431px; }
  .video__arrows { top: calc(100% - 291px); }
  .vcard[data-slot="0"] { --x: -382px; }
  .vcard[data-slot="1"] { --x: -295px; }
  .vcard[data-slot="2"] { --x: -219px; }
  .vcard[data-slot="3"] { --x: -94px; }
  .vcard[data-slot="4"] { --w: 701px; --h: 431px; }
  .vcard[data-slot="5"] { --x: 93px; }
  .vcard[data-slot="6"] { --x: 208px; }
  .vcard[data-slot="7"] { --x: 291px; }
  .vcard[data-slot="8"] { --x: 387px; }

  /* app */
  .app { padding-bottom: 54px; }
  .app__card { height: 497px; }
  .app__bg { left: -434.35px; top: -219.2px; }
  .app__main { width: 413px; height: 401px; }
  .phone { left: 481px; top: 36px; }
  .g50 { left: 589px; top: 344px; width: 318px; height: 315px; --iw: 232.7px; --ih: 219.3px; }
  .g49 { left: 800px; top: 192px; width: 597px; height: 592px; --iw: 436.9px; --ih: 411.8px; }
  .chip--books { left: 463px; top: 192px; }
  .chip--med { left: 728px; top: 375px; }
  .bubble--readers { left: 697px; top: 288px; flex-direction: row-reverse; }
  .bubble--langs { left: 706px; top: 99px; }

  /* footer: help cards stack */
  .footer__main { justify-content: space-between; gap: 40px; }
  .footer__nav { flex: none; width: 416px; }
  .footer__col { flex: none; width: 96px; }
  .footer__cards { flex-direction: column; align-items: stretch; }
  .fcard--gap { align-self: auto; }
}


/* =========================================================
   ≤1023 — tablet (768 layout)
   ========================================================= */
@media (max-width: 1023px) {
  :root { --gutter: 40px; }
  body { font-size: 15px; }
  .btn { font-size: 15px; }
  .h1, .h2 { font-size: 36px; }
  .h4 { font-size: 24px; }
  .br-t { display: inline; }

  /* header */
  .site-header {
    top: 0;
    z-index: 45;
    border-bottom: 1px solid rgba(248, 244, 233, .05);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }
  .site-header__row { padding-block: 12px; }
  .site-header .nav, .site-header .btn-login { display: none; }
  .site-header .logo { gap: 6.86px; }
  .site-header .logo__mark { width: 25.89px; height: 33.92px; }
  .site-header .logo__text { width: 58.31px; font-size: 10.29px; color: #fff; }
  .burger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: none;
  }
  .burger img { width: 22px; height: 16px; transition: opacity .2s; }
  .burger::before, .burger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--cream);
    opacity: 0;
    transition: opacity .2s;
  }
  .burger::before { transform: rotate(45deg); }
  .burger::after { transform: rotate(-45deg); }
  .burger.is-open img { opacity: 0; }
  .burger.is-open::before, .burger.is-open::after { opacity: 1; }

  /* hero: dark stage 722px, intro moves below it */
  .hero { height: auto; background: linear-gradient(#f8f3f2, #fff); color: var(--dark); }
  .hero > .cv:first-child { left: 0; width: 100%; bottom: auto; height: 722px; overflow: hidden; background: var(--dark); }
  .hero__library { left: -264.94px; top: -111.42px; width: 1364.14px; height: 767.74px; filter: blur(2.1px); }
  .g29 { left: -614px; top: 173.69px; width: 1167.35px; height: 1128.31px; }
  .g34 { left: -600.29px; top: 577.54px; width: 675.77px; height: 653.17px; }
  .g31 { left: 615.23px; top: -489px; width: 1017px; height: 1018px; }
  .g30 { left: 518.23px; top: 326px; width: 383px; height: 383px; }
  .g32 { left: 395.23px; top: 206px; width: 262px; height: 268px; }
  .g33 { left: 161px; top: 424.83px; width: 424.74px; height: 485.52px; --iw: 498.96px; --ih: 149.62px; }
  .g27, .g35, .g36, .hero__shape21, .hero__shape22, .g37,
  .hero__edge, .hero__edge-l, .hero__edge-r { display: none; }
  .hero__portrait { left: -384px; top: 60px; width: 1541px; height: 656px; }
  .hero__portrait img { object-fit: cover; }
  .cv--top { bottom: auto; height: 722px; }
  .hero__edge-m { display: block; left: -13.08px; right: -13.08px; top: 698.28px; height: 28.86px; }
  .hero__inner { height: auto; padding-top: 734px; padding-bottom: 64px; }
  .hero__content, .hero__intro, .hero__actions { display: contents; }
  .hero__tagline { top: 101px; max-width: 373px; font-size: 15px; }
  .hero__tagline br:first-of-type { display: none; }
  .hero__title { position: absolute; top: 153px; left: var(--gutter); width: 373px; font-size: 42px; }
  .awards { top: 289px; left: var(--gutter); right: auto; gap: 28px; flex-direction: row-reverse; justify-content: flex-end; }
  .award__laurel { width: 64px; height: 41.82px; margin-top: .63px; }
  .award__body { width: 64px; }
  .award--1 .award__body { width: 100px; }
  .award--1 .award__img { width: 55.68px; height: 72.35px; }
  .award--2 .award__img { width: 25.98px; height: 72.04px; }
  .award__name { font-size: 13px; }
  .award--2 .award__name { width: 64px; }
  .hero__signature { display: block; top: 450px; left: var(--gutter); width: 269px; height: 97.93px; transform: none; }
  .hero__text { max-width: none; color: var(--muted); }
  .hero .btn-pair { margin-top: 20px; }
  .hero .btn-pair .btn { background: var(--dark); color: #fff; }
  .hero .btn-pair:hover .btn { background: #3a3a3a; }

  /* about */
  .about { padding: 64px 0; background: #faf8f3; }
  .about__inner { max-width: none; }
  .about__title { text-align: left; }
  .about__info { display: block; margin-top: 8px; padding: 0; }
  .about__birth { display: none; }
  .about__col:last-child { margin-top: 16px; }
  .about__more { display: block; }
  .about__media { height: auto; aspect-ratio: 1030 / 414; margin-top: 49px; }
  .about__photo img { left: 0; width: 100%; margin-left: 0; }
  .about__portrait { left: 0; width: 100%; margin-left: 0; top: -11.84%; height: 97.1%; }
  .stats { display: grid; grid-template-columns: repeat(4, 168px); justify-content: space-between; margin-top: 24px; padding: 0; }
  .stat { width: 168px; }
  .stat--wide { grid-column: 1 / -1; order: -1; width: auto; margin-bottom: 16px; }
  .stat__wide { font-size: 16px; line-height: 1.25; }

  /* ten steps: text column with arrows around the button */
  .steps { height: 403px; }
  .steps__slide { background-position: 55% center; }
  .steps__inner { padding-top: 64px; }
  .steps__text {
    display: grid;
    grid-template-rows: auto auto 1fr;
    justify-items: center;
    width: 324px;
    height: 246px;
    margin-left: 0;
    text-align: center;
  }
  .steps__text .h2 br, .steps__desc br { display: none; }
  .steps__text .btn { align-self: end; width: 204px; margin-top: 24px; }
  .steps .arrows { top: 262px; transform: none; width: calc(324px + 2 * var(--gutter)); max-width: none; margin: 0; }
  .steps__controls { top: 326px; }
  .steps__dots { margin-left: calc((324px - 135px) / 2); }

  /* guide */
  .guide { padding: 64px 0; background: #faf8f3; }
  .guide__bg { display: none; }
  .guide__inner { gap: 32px; }
  .guide__head { width: 100%; gap: 8px; }
  .guide__lead { width: auto; }
  .quiz { gap: 28px; padding: 20px; border-radius: 24px; }
  .quiz__question { gap: 8px; }
  .quiz__title { font-size: 28px; }
  .quiz__answers { gap: 12px; }
  .answer { padding: 18px; }
  .answer__title { font-size: 16px; }
  .answer__text { font-size: 12px; }

  /* research: centred text, smaller collage, author under it */
  .research { height: 871px; }
  .research .cv { left: calc(50% - 384px); width: 768px; }
  .research__inner { padding-top: 64px; align-items: center; text-align: center; }
  .research__main { align-items: center; gap: 8px; }
  .research__kicker { max-width: 334px; font-size: 15px; }
  .research__main .h2 + .research__cols { margin-top: 0; }
  .research__cols { display: block; }
  .research__cols p { width: auto; }
  .research__cols p:nth-child(2) { display: none; }
  .research__author { top: 656px; flex-direction: column; align-items: center; text-align: center; }
  .research__author-text { max-width: 449px; }
  .research__name { font-size: 15px; }
  .research__strip1, .research__paper, .research__torn { display: none; }
  /* on tablet/mobile the cards sit on top of the lecture photo */
  .research__lecture { z-index: 1; left: 81.5px; top: 218.5px; scale: .8195; }
  .research__card { z-index: 2; left: 13.5px; top: 376.5px; transform: rotate(6.57deg) scale(.72); }
  .research__ridero { z-index: 2; left: 515.05px; top: 302.4px; scale: .755; }
  .research__clip { z-index: 3; left: 470.97px; top: 252.6px; scale: .756; }
  .research__quill { z-index: 3; left: 128px; top: 427px; scale: 1; }
  .research__palette { z-index: 3; left: 491.9px; top: 410.9px; scale: .57; }
  .g42 { left: -373px; top: 479.5px; scale: .507; }

  /* book: everything centred, cover in the middle */
  .book { height: auto; padding: 64px 0; }
  .book__bg { top: 0; bottom: 0; height: auto; }
  .book__shelf { top: 427px; width: 1449px; height: 457px; }
  .book__torn, .book__note, .book__tape { display: none; }
  .book__inner { flex-direction: column; align-items: center; padding-top: 0; text-align: center; }
  .book__text { display: contents; }
  .langs { order: 1; flex-direction: column; gap: 8px; margin-bottom: 24px; }
  .book__text .h2 { order: 2; margin-bottom: 8px; }
  .book__desc { order: 3; margin-bottom: 24px; }
  .book__desc br { display: none; }
  .book__cover { order: 4; width: 350px; height: 487px; margin: 0; }
  .book__text .btn { order: 5; margin-top: 24px; }
  .book .arrows { top: auto; bottom: 355.5px; transform: none; }

  /* news: two cards, button at the bottom */
  .news { padding: 64px 0; }
  .news .container { display: flex; flex-direction: column; align-items: center; }
  .news__head { display: contents; }
  .news__head .h2 { order: 1; margin-bottom: 24px; text-align: center; }
  .news__list { order: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: 100%; }
  .news__head .btn { order: 3; margin-top: 24px; }
  .post { flex-direction: column; gap: 16px; padding: 0; border: 0; }
  .post:nth-child(3) { display: none; }
  .post__img { flex: none; width: 100%; height: 167px; }
  .post__body { flex: 1 1 auto; width: auto; justify-content: flex-start; }
  .post__title { font-size: 28px; line-height: 1; }
  .post__text .t-muted { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

  /* quote: stacked and centred */
  .quote { padding: 64px 0; }
  .quote__inner { flex-direction: column; gap: 48px; text-align: center; }
  .quote__text { flex: none; width: 100%; align-items: center; }
  .quote__q { max-width: none; font-size: 36px; }
  .quote__sign { width: 124px; height: 39px; }
  .quote__text .btn { margin-top: 8px; }
  .quote__painting { width: 241px; height: 263px; margin: 37px 0 0 30px; }
  .quote__photo { width: 241px; height: 263px; }

  /* video: five cards */
  .video { height: 557px; }
  .video__head { padding-top: 64px; }
  .video__head .h2 br { display: none; }
  .video__head p { width: auto; }
  .video__stage { top: calc(100% - 217.5px); }
  .vcard { transition: transform .5s ease, width .5s ease, height .5s ease, opacity .3s; }
  .vcard[data-slot="0"], .vcard[data-slot="1"], .vcard[data-slot="2"] { --x: -233px; --w: 314px; --h: 193px; }
  .vcard[data-slot="3"] { --x: -115px; --w: 410px; --h: 252px; }
  .vcard[data-slot="4"] { --w: 500px; --h: 307px; }
  .vcard[data-slot="5"] { --x: 115px; --w: 410px; --h: 252px; }
  .vcard[data-slot="6"], .vcard[data-slot="7"], .vcard[data-slot="8"] { --x: 233px; --w: 314px; --h: 193px; }
  .vcard[data-slot="0"], .vcard[data-slot="1"], .vcard[data-slot="7"], .vcard[data-slot="8"] { opacity: 0; pointer-events: none; }
  .video__fade { top: calc(100% - 371px); width: 134px; height: 307px; }
  .video__arrows { top: calc(100% - 217px); }

  /* app: text left, phone scene right (desktop scene scaled to 60.9%) */
  .app { padding-bottom: 64px; }
  .app__card { height: 355px; }
  .app__bg { left: -131.8px; top: 128px; transform: scale(.358); transform-origin: 0 0; }
  .app__stage { left: calc(50% - 344px); transform: translate(-34.5px, 6px) scale(.609); }
  .phone { left: 733.17px; top: 46px; }
  .g50 { left: 527px; top: 406.99px; width: 519.2px; height: 515.03px; --iw: 379.96px; --ih: 358.1px; }
  .g49 { left: 556.37px; top: 37px; width: 974.6px; height: 966.77px; --iw: 713.24px; --ih: 672.2px; }
  .chip--books { left: 621.5px; top: 256.2px; }
  .chip--med { left: 974.5px; top: 445px; }
  .bubble--readers { left: 621.5px; top: 476.2px; flex-direction: row; }
  .bubble--langs { left: 951.6px; top: 131.4px; }
  .app__main { left: 32px; top: 32px; width: 280px; height: auto; justify-content: flex-start; gap: 24px; }
  .app__main .h2 { font-size: 32px; }
  .app .stores { flex-direction: column; gap: 14px; }
  .app .stores img { width: 149px; height: 44px; }

  /* footer: centred column */
  .footer { padding: 64px 0; }
  .footer > .container { gap: 32px; }
  .footer__head { flex-direction: column; align-items: stretch; gap: 24px; text-align: center; }
  .subscribe input { flex: 1 1 auto; width: auto; min-width: 0; }
  .footer__main { flex-direction: column; gap: 48px; text-align: center; }
  .footer__about { width: auto; align-items: center; }
  .footer__about > div:first-child { align-items: center; }
  .footer__nav { width: auto; gap: 12px; }
  .footer__col { flex: 1 1 0; width: auto; align-items: center; }
  .footer__col-title { font-size: 13px; }
  .footer__col a { max-width: 110px; font-size: 15px; }
  .footer__cards { gap: 16px; }
  .fcard { align-items: center; padding: 20px 24px; text-align: center; }
  .fcard__title { font-size: 18px; }
  .footer__bottom { flex-direction: column; gap: 24px; padding: 0; background: none; text-align: center; white-space: normal; }
  .footer__legal { flex-direction: column; gap: 12px; }
}

/* =========================================================
   ≤767 — mobile (393 layout)
   ========================================================= */
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .br-m { display: inline; }

  /* hero */
  .hero > .cv:first-child, .cv--top { height: 762px; }
  .hero__edge-m { left: 0; right: -2px; top: 740px; height: 28px; }
  .hero__library { left: calc(50% - 648.94px); }
  .g29, .g34, .g31, .g30, .g32, .g33 { translate: calc(50vw - 384px) 0; }
  .hero__portrait { left: calc(50% - 694.5px); top: 231px; width: 1234px; height: 526px; }
  .hero__inner { padding-top: 774px; }
  .hero__tagline { top: 100px; left: var(--gutter); right: var(--gutter); max-width: none; text-align: center; }
  .hero__title { top: 152px; left: var(--gutter); right: var(--gutter); width: auto; text-align: center; }
  .awards { top: 280px; flex-direction: column-reverse; justify-content: flex-end; align-items: flex-start; gap: 28px; }
  .award--2 .award__body, .award--2 .award__name { width: 103px; }
  .hero__signature { top: 678px; left: auto; right: 13px; width: 170px; height: 61.93px; }
  .hero__text { text-align: center; }
  .hero .btn-pair { width: 100%; }
  .hero .btn-pair .btn { flex: 1 1 auto; }

  /* about */
  .about__title { text-align: center; }
  .about__media { width: 558px; margin-top: 43px; margin-left: calc((100% - 558px) / 2); }
  .stats { grid-template-columns: repeat(2, 168px); justify-content: center; column-gap: 12px; row-gap: 20px; }
  .stat--wide { margin-bottom: 4px; }
  .stat__wide { display: block; max-width: 230px; margin-inline: auto; }

  /* ten steps: text on blue, flowers underneath */
  .steps { height: 634px; }
  .steps__slide { background-color: #3569a3; background-size: auto 420px; background-position: 60% 312px; background-repeat: no-repeat; }
  .steps__slide::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 312px;
    height: 110px;
    background: linear-gradient(#3569a3, rgba(53, 105, 163, 0));
  }
  .steps__inner { position: relative; }
  .steps__text { width: 100%; height: 247px; }
  .steps__text .h2 br { display: inline; }
  .steps__desc { margin-top: 8px; }
  .steps__text .btn { width: 241px; }
  .steps .arrows { top: 263px; width: 100%; }
  .steps__controls { top: 327px; }
  .steps__dots { margin-inline: auto; }

  /* guide */
  .guide__lead { max-width: 258px; }
  .quiz { width: auto; margin-inline: calc(-1 * var(--gutter)); padding: 20px 16px; border-radius: 0; text-align: center; }
  .quiz__progress, .quiz__question { align-items: center; }
  .quiz__title { max-width: 264px; }
  .quiz__question p { max-width: 263px; }
  .quiz__answers { flex-direction: column; }

  /* research */
  .research { height: 1009px; }
  .research .cv { left: calc(50% - 196.5px); width: 393px; }
  .research__cols p { max-width: 334px; }
  .research__author { top: 768px; }
  .research__author-text { max-width: 299px; }
  .research__author .btn-pair { width: 100%; }
  .research__author .btn { flex: 1 1 auto; }
  .research__lecture { left: -105.5px; top: 282px; scale: .558; }
  .research__ridero { left: 168.55px; top: 487.4px; scale: .519; }
  .research__clip { left: 146.17px; top: 450px; scale: .519; }
  .research__card { left: 14.5px; top: 488px; }
  .research__quill { left: 128px; top: 539px; }
  .research__palette { left: 164.9px; top: 523.9px; scale: .58; }
  .g42 { top: 591.5px; }

  /* book */
  .book__cover { width: 203px; height: 283px; }
  .book__shelf { top: 326px; width: 1135px; height: 358px; }
  .book .arrows { top: auto; bottom: 64px; }
  .book__text .btn { width: 241px; }

  /* news */
  .news__list { grid-template-columns: 1fr; }
  .post { padding-bottom: 24px; border-bottom: 1px solid rgba(25, 25, 25, .1); text-align: center; }
  .post:nth-child(2) { padding-bottom: 0; border-bottom: 0; }
  .post__img { height: 181px; }
  .post__text { align-items: center; }
  .news__head .btn { width: 100%; }

  /* quote */
  .quote__text .btn { width: 100%; }
  .quote__media { align-self: flex-start; width: 100%; }
  .quote__painting, .quote__photo { width: calc(100% - 40px); height: auto; aspect-ratio: 321 / 350; }
  .quote__painting { margin: 50px 0 0 40px; }

  /* video: nine small cards */
  .video { height: 441px; }
  .video__head .h2 br { display: inline; }
  .video__stage { top: calc(100% - 140px); }
  .vcard { border-radius: 8px; }
  .vcard[data-slot] { opacity: 1; pointer-events: auto; }
  .vcard[data-slot="0"] { --x: -195px; --w: 93px;  --h: 57px; }
  .vcard[data-slot="1"] { --x: -155px; --w: 127px; --h: 78px; }
  .vcard[data-slot="2"] { --x: -113px; --w: 153px; --h: 94px; }
  .vcard[data-slot="3"] { --x: -55px;  --w: 199px; --h: 123px; }
  .vcard[data-slot="4"] { --x: 0px;    --w: 248px; --h: 152px; }
  .vcard[data-slot="5"] { --x: 53px;   --w: 199px; --h: 123px; }
  .vcard[data-slot="6"] { --x: 114px;  --w: 153px; --h: 94px; }
  .vcard[data-slot="7"] { --x: 152px;  --w: 127px; --h: 78px; }
  .vcard[data-slot="8"] { --x: 195px;  --w: 93px;  --h: 57px; }
  .video__play { width: 88.7px; height: 88.7px; }
  .video__fade { top: calc(100% - 216px); width: 116px; height: 167px; }
  .video__arrows { top: calc(100% - 139px); }

  /* app: phone scene on top, text below */
  .app__card { height: auto; }
  .app__bg { left: -370.35px; top: 110.8px; transform: none; }
  .app__scene { position: relative; inset: auto; height: 220px; overflow: hidden; }
  .app__stage { left: calc(50% - 180.5px); transform: translate(-378.5px, -5px) scale(.609); }
  .chip--books { left: 633px; top: 96.9px; }
  .chip--med { left: 981.1px; top: 269.3px; }
  .bubble--readers { left: 620px; top: 284px; }
  .bubble--langs { left: 949.9px; top: 144.5px; }
  .app__main { position: relative; left: auto; top: auto; width: auto; align-items: center; padding: 24px; text-align: center; }
  .app__main > div { width: 100%; }
  .app__main .h2 { max-width: 300px; margin-inline: auto; }
  .app__main .h2 br { display: none; }
  .app__lead { width: auto; }
  .app .stores { flex-direction: row; justify-content: center; }

  /* footer */
  .footer__head .h2 { font-size: 32px; }
  .subscribe { flex-direction: column; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 36px; }
}
