:root {
  color-scheme: dark;
  --black: #050303;
  --red: #ff1018;
  --red-dark: #9e0008;
  --white: #f8f7f7;
  --muted: #c8c5c6;
  --line: rgba(255, 255, 255, .26);
  font-family: Inter, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  isolation: isolate;
}
body::before, body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  inset: 0;
}
body::before {
  background:
    radial-gradient(ellipse at -5% 32%, rgba(255, 0, 15, .29), transparent 25%),
    radial-gradient(ellipse at 98% 95%, rgba(255, 0, 15, .31), transparent 22%),
    radial-gradient(ellipse at 91% 12%, rgba(124, 0, 0, .13), transparent 24%),
    linear-gradient(115deg, #080303 0%, #050303 55%, #080303 100%);
}
body::after {
  opacity: .5;
  background: linear-gradient(123deg, transparent 0 8.2%, rgba(255, 16, 24, .22) 8.25% 8.35%, transparent 8.4% 91.6%, rgba(255, 16, 24, .2) 91.7% 91.8%, transparent 91.9%);
}
.ember-field {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.ember-field span {
  position: absolute;
  bottom: -24px;
  left: var(--ember-left);
  width: 3px;
  height: 15px;
  border-radius: 50%;
  background: linear-gradient(to top, transparent, #ff2418 35%, #ffbd52 78%, transparent);
  box-shadow: 0 0 8px 2px rgba(255, 30, 18, .72), 0 0 20px 4px rgba(255, 10, 20, .28);
  opacity: 0;
  transform: rotate(18deg);
  animation: ember-rise var(--ember-duration) linear var(--ember-delay) infinite;
}
.ember-field span:nth-child(3n) {
  width: 2px;
  height: 9px;
  filter: blur(.5px);
  background: linear-gradient(to top, transparent, #ff4a24 30%, #ffe1a0 82%, transparent);
}
.ember-field span:nth-child(4n) {
  width: 4px;
  height: 19px;
  box-shadow: 0 0 11px 3px rgba(255, 30, 18, .8), 0 0 24px 6px rgba(255, 10, 20, .32);
}
.ember-field span:nth-child(1) { --ember-left: 5%; --ember-duration: 11s; --ember-delay: -7s; --ember-drift: 44px; }
.ember-field span:nth-child(2) { --ember-left: 12%; --ember-duration: 15s; --ember-delay: -12s; --ember-drift: -32px; }
.ember-field span:nth-child(3) { --ember-left: 21%; --ember-duration: 10s; --ember-delay: -3s; --ember-drift: 58px; }
.ember-field span:nth-child(4) { --ember-left: 29%; --ember-duration: 14s; --ember-delay: -9s; --ember-drift: -48px; }
.ember-field span:nth-child(5) { --ember-left: 37%; --ember-duration: 12s; --ember-delay: -5s; --ember-drift: 36px; }
.ember-field span:nth-child(6) { --ember-left: 45%; --ember-duration: 16s; --ember-delay: -14s; --ember-drift: -60px; }
.ember-field span:nth-child(7) { --ember-left: 53%; --ember-duration: 11s; --ember-delay: -8s; --ember-drift: 50px; }
.ember-field span:nth-child(8) { --ember-left: 61%; --ember-duration: 13s; --ember-delay: -4s; --ember-drift: -40px; }
.ember-field span:nth-child(9) { --ember-left: 69%; --ember-duration: 15s; --ember-delay: -11s; --ember-drift: 62px; }
.ember-field span:nth-child(10) { --ember-left: 77%; --ember-duration: 10s; --ember-delay: -6s; --ember-drift: -46px; }
.ember-field span:nth-child(11) { --ember-left: 84%; --ember-duration: 14s; --ember-delay: -10s; --ember-drift: 40px; }
.ember-field span:nth-child(12) { --ember-left: 92%; --ember-duration: 12s; --ember-delay: -2s; --ember-drift: -54px; }
.ember-field span:nth-child(13) { --ember-left: 16%; --ember-duration: 17s; --ember-delay: -15s; --ember-drift: 34px; }
.ember-field span:nth-child(14) { --ember-left: 74%; --ember-duration: 16s; --ember-delay: -13s; --ember-drift: -38px; }
.ember-field span:nth-child(15) { --ember-left: 2%; --ember-duration: 13s; --ember-delay: -6s; --ember-drift: -42px; }
.ember-field span:nth-child(16) { --ember-left: 9%; --ember-duration: 10s; --ember-delay: -8s; --ember-drift: 50px; }
.ember-field span:nth-child(17) { --ember-left: 18%; --ember-duration: 16s; --ember-delay: -14s; --ember-drift: -36px; }
.ember-field span:nth-child(18) { --ember-left: 25%; --ember-duration: 12s; --ember-delay: -4s; --ember-drift: 64px; }
.ember-field span:nth-child(19) { --ember-left: 33%; --ember-duration: 15s; --ember-delay: -11s; --ember-drift: -52px; }
.ember-field span:nth-child(20) { --ember-left: 41%; --ember-duration: 11s; --ember-delay: -7s; --ember-drift: 38px; }
.ember-field span:nth-child(21) { --ember-left: 49%; --ember-duration: 17s; --ember-delay: -16s; --ember-drift: -62px; }
.ember-field span:nth-child(22) { --ember-left: 57%; --ember-duration: 12s; --ember-delay: -3s; --ember-drift: 46px; }
.ember-field span:nth-child(23) { --ember-left: 65%; --ember-duration: 14s; --ember-delay: -9s; --ember-drift: -34px; }
.ember-field span:nth-child(24) { --ember-left: 73%; --ember-duration: 10s; --ember-delay: -5s; --ember-drift: 60px; }
.ember-field span:nth-child(25) { --ember-left: 81%; --ember-duration: 16s; --ember-delay: -12s; --ember-drift: -48px; }
.ember-field span:nth-child(26) { --ember-left: 89%; --ember-duration: 11s; --ember-delay: -2s; --ember-drift: 42px; }
.ember-field span:nth-child(27) { --ember-left: 97%; --ember-duration: 15s; --ember-delay: -13s; --ember-drift: -56px; }
.ember-field span:nth-child(28) { --ember-left: 14%; --ember-duration: 12s; --ember-delay: -10s; --ember-drift: 32px; }
.ember-field span:nth-child(29) { --ember-left: 30%; --ember-duration: 17s; --ember-delay: -15s; --ember-drift: -44px; }
.ember-field span:nth-child(30) { --ember-left: 46%; --ember-duration: 13s; --ember-delay: -6s; --ember-drift: 54px; }
.ember-field span:nth-child(31) { --ember-left: 62%; --ember-duration: 10s; --ember-delay: -8s; --ember-drift: -58px; }
.ember-field span:nth-child(32) { --ember-left: 78%; --ember-duration: 14s; --ember-delay: -4s; --ember-drift: 40px; }
.ember-field span:nth-child(33) { --ember-left: 94%; --ember-duration: 12s; --ember-delay: -11s; --ember-drift: -32px; }
.ember-field span:nth-child(34) { --ember-left: 6%; --ember-duration: 16s; --ember-delay: -14s; --ember-drift: 48px; }
.ember-field span:nth-child(35) { --ember-left: 23%; --ember-duration: 11s; --ember-delay: -3s; --ember-drift: -60px; }
.ember-field span:nth-child(36) { --ember-left: 39%; --ember-duration: 15s; --ember-delay: -9s; --ember-drift: 36px; }
.ember-field span:nth-child(37) { --ember-left: 55%; --ember-duration: 10s; --ember-delay: -5s; --ember-drift: -46px; }
.ember-field span:nth-child(38) { --ember-left: 71%; --ember-duration: 17s; --ember-delay: -12s; --ember-drift: 58px; }
.ember-field span:nth-child(39) { --ember-left: 87%; --ember-duration: 13s; --ember-delay: -2s; --ember-drift: -40px; }
.ember-field span:nth-child(40) { --ember-left: 11%; --ember-duration: 14s; --ember-delay: -7s; --ember-drift: 52px; }
.ember-field span:nth-child(41) { --ember-left: 51%; --ember-duration: 12s; --ember-delay: -10s; --ember-drift: -54px; }
.ember-field span:nth-child(42) { --ember-left: 83%; --ember-duration: 16s; --ember-delay: -15s; --ember-drift: 34px; }
@keyframes ember-rise {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(18deg) scale(.45); }
  12% { opacity: .9; }
  72% { opacity: .65; }
  100% { opacity: 0; transform: translate3d(var(--ember-drift), -110vh, 0) rotate(48deg) scale(.12); }
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid #ff6570; outline-offset: 4px; }

.site-header {
  width: min(100% - 9.5%, 1230px);
  height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(270px, 1fr) 1px minmax(390px, 1.65fr) minmax(220px, .9fr);
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 20;
}
.brand { display: flex; align-items: center; gap: 13px; white-space: nowrap; }
.brand img { width: 68px; height: 47px; object-fit: contain; }
.brand-name { font-size: 25px; letter-spacing: -.9px; font-weight: 750; }
.brand-name > span { color: var(--red); }
.header-divider { height: 31px; background: rgba(255, 255, 255, .46); }
.primary-navigation { height: 100%; display: flex; justify-content: center; align-items: center; gap: clamp(32px, 4.5vw, 64px); }
.nav-link { height: 100%; display: inline-flex; align-items: center; position: relative; font-size: 18px; font-weight: 500; transition: color .2s ease; }
.nav-link:hover { color: white; }
.nav-link.active { font-weight: 650; }
.nav-link.active::after { content: ""; height: 4px; border-radius: 5px; background: var(--red); position: absolute; bottom: 13px; left: 0; right: 0; box-shadow: 0 0 12px rgba(255, 16, 24, .7); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.icon-button {
  width: 52px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 13px;
  background: rgba(5, 3, 3, .45);
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
}
.icon-button:hover { border-color: var(--red); background: rgba(255, 16, 24, .12); transform: translateY(-1px); }
.icon-button svg { width: 25px; height: 25px; stroke-width: 2.2; }
.button-primary:hover { transform: translateY(-2px); background: #ff3038; box-shadow: 0 8px 26px rgba(255, 0, 12, .45); }
.profile-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,120,125,.65);
  border-radius: 50%;
  background: linear-gradient(145deg, #ff3b43, #a90008);
  box-shadow: 0 4px 17px rgba(255,16,24,.25), inset 0 1px 0 rgba(255,255,255,.2);
  color: #fff;
  font-size: 16px;
  font-weight: 750;
  text-transform: uppercase;
  transition: transform .22s ease, box-shadow .22s ease;
}
.profile-avatar:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 7px 22px rgba(255,16,24,.4); }
.profile-avatar svg { width: 20px; height: 20px; }
.menu-toggle { display: none; }

.hero {
  max-width: 1365px;
  min-height: 636px;
  height: calc(100svh - 78px);
  max-height: 690px;
  position: relative;
  margin: 0 auto;
  padding: 52px max(6.1%, calc((100% - 1200px) / 2)) 142px;
  display: flex;
  align-items: flex-start;
  isolation: isolate;
}
.hero-copy { position: relative; z-index: 3; width: 59%; padding-top: 1px; }
.eyebrow { display: flex; align-items: center; gap: 15px; color: #e6e2e3; font-size: 17px; letter-spacing: 5px; font-weight: 500; }
.eyebrow span { width: 37px; height: 1px; background: #e6e2e3; }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin: 0 1px; }
.hero h1 { margin: 23px 0 25px; max-width: 760px; font-size: clamp(42px, 4.7vw, 62px); line-height: .99; letter-spacing: -3.1px; font-weight: 750; }
.highlight { position: relative; display: inline-block; color: var(--red); white-space: nowrap; }
.highlight::after { content: ""; position: absolute; left: 17%; right: 1%; bottom: -16px; height: 15px; border-top: 5px solid var(--red); border-radius: 52% 45% 0 0; transform: rotate(-1.5deg); }
.hero-description { margin: 30px 0 28px; color: #e1dddd; font-size: 20px; line-height: 1.5; letter-spacing: -.25px; }
.hero-actions { display: flex; align-items: center; gap: 25px; }
.button { height: 60px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 0 26px; border: 1px solid transparent; border-radius: 15px; font-size: 19px; font-weight: 650; cursor: pointer; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; }
.button svg { width: 25px; height: 25px; stroke-width: 2.1; }
.button-primary { background: var(--red); box-shadow: 0 5px 25px rgba(255, 16, 24, .28); }
.button-primary svg { fill: currentColor; width: 21px; }
.button-secondary { border-color: rgba(255,255,255,.82); background: rgba(5,3,3,.57); }
.button-secondary:hover { border-color: var(--red); background: rgba(255,16,24,.12); transform: translateY(-2px); }
.button-secondary svg { width: 31px; height: 31px; }
.hero-visual { position: absolute; z-index: 1; width: min(50%, 640px); height: calc(100% + 28px); right: 3.2%; top: -4px; pointer-events: none; }
.portrait-halo { position: absolute; width: min(78%, 490px); aspect-ratio: 1; top: 8%; left: 17%; border: 5px solid rgba(255, 35, 44, .96); border-radius: 50%; background: radial-gradient(circle, rgba(151, 0, 7, .35) 0%, rgba(117, 0, 4, .2) 58%, rgba(5,3,3,0) 72%); box-shadow: 0 0 18px #ff1018, 0 0 47px rgba(255, 0, 12, .47), inset 0 0 36px rgba(255, 0, 12, .2); }
.portrait { position: absolute; z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; bottom: 0; right: -2%; filter: drop-shadow(0 10px 24px rgba(255, 0, 12, .1)); }
.feature-bar { position: absolute; z-index: 5; left: 5.7%; right: 5.7%; bottom: 58px; min-height: 160px; padding: 14px 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; border: 1px solid rgba(255, 16, 24, .9); border-radius: 21px; background: linear-gradient(110deg, rgba(31, 0, 2, .94), rgba(8, 3, 3, .96) 47%, rgba(31, 0, 2, .9)); box-shadow: 0 0 10px rgba(255, 16, 24, .55), 0 0 30px rgba(255, 0, 12, .27), inset 0 0 23px rgba(255, 0, 12, .1); }
.feature-card { min-width: 0; min-height: 130px; position: relative; padding: 12px 22px 12px 15px; display: flex; align-items: center; gap: 14px; overflow: hidden; border-radius: 12px; transition: background .28s, transform .28s, box-shadow .28s; }
.feature-card + .feature-card { border-left: 1px solid rgba(255,255,255,.25); border-radius: 0 12px 12px 0; }
.feature-card::after { content: ""; position: absolute; top: -50%; left: -70%; width: 35%; height: 200%; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent); transform: rotate(20deg); transition: left .65s ease; }
.feature-card:hover { z-index: 1; background: rgba(255, 16, 24, .08); transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.feature-card:hover::after { left: 135%; }
.feature-index { position: absolute; top: 5px; right: 13px; color: rgba(255,255,255,.36); font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.feature-icon { flex: 0 0 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(255, 16, 24, .85); border-radius: 15px; background: linear-gradient(140deg, rgba(255, 16, 24, .2), rgba(71, 0, 3, .5)); box-shadow: inset 0 0 11px rgba(255, 0, 12, .24), 0 0 12px rgba(255, 0, 12, .12); transition: transform .3s, box-shadow .3s, background .3s; }
.feature-card:hover .feature-icon { transform: rotate(-6deg) scale(1.06); background: rgba(255,16,24,.25); box-shadow: 0 0 22px rgba(255,0,12,.32); }
.feature-icon svg { width: 29px; height: 29px; stroke: #fff; stroke-width: 1.8; }
.feature-copy { min-width: 0; }
.feature-copy h2 { margin: 0 0 6px; font-size: clamp(13px, 1.25vw, 17px); letter-spacing: -.45px; line-height: 1.12; white-space: normal; font-weight: 700; }
.feature-copy p { margin: 0; color: #e2dede; font-size: clamp(10px, .92vw, 12px); line-height: 1.35; white-space: normal; }
.feature-arrow { position: absolute; right: 8px; bottom: 7px; width: 15px; height: 15px; color: rgba(255,255,255,.55); opacity: 0; transform: translate(-4px,4px); transition: opacity .25s, transform .25s, color .25s; }
.feature-card:hover .feature-arrow { opacity: 1; color: #ff555b; transform: translate(0,0); }

.catalog-section { max-width: 1170px; margin: 0 auto; padding: 94px 24px 60px; }
.section-heading { max-width: 680px; margin-bottom: 32px; }
.section-kicker { color: #ff5a60; font-size: 12px; font-weight: 700; letter-spacing: 2.2px; margin: 0 0 13px; }
.section-heading h2, .about-section h2 { margin: 0 0 12px; font-size: clamp(32px, 4vw, 46px); letter-spacing: -1.7px; line-height: 1.1; }
.section-heading h2 span, .about-section h2 span { color: var(--red); }
.section-heading > p:last-child, .about-section > p:last-child { color: var(--muted); line-height: 1.7; font-size: 16px; margin: 0; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.catalog-card { min-height: 210px; padding: 25px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 16px; background: linear-gradient(140deg, rgba(31, 13, 14, .88), rgba(10, 7, 7, .88)); transition: border-color .2s, transform .2s; }
.catalog-card:hover { border-color: rgba(255,16,24,.65); transform: translateY(-3px); }
.card-label { color: #ff555b; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; }
.catalog-card h3 { margin: 13px 0 8px; font-size: 20px; }
.catalog-card > p { min-height: 46px; color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0 0 16px; }
.card-footer { padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid rgba(255,255,255,.1); color: #a9a3a4; font-size: 12px; }
.ebook-section { padding-top: 58px; }
.about-section { max-width: 1170px; margin: 0 auto 80px; padding: 56px 44px; border: 1px solid rgba(255,16,24,.35); border-radius: 20px; background: radial-gradient(ellipse at 100% 20%, rgba(142,0,9,.2), transparent 48%), #0b0707; }
.about-section > p:last-child { max-width: 660px; }
.site-footer { max-width: 1170px; min-height: 82px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); }
.footer-brand { gap: 8px; }
.footer-brand img { width: 42px; height: 30px; }
.footer-brand .brand-name { font-size: 16px; }
.footer-brand sup { font-size: 8px; }
.site-footer > p { color: var(--muted); font-size: 13px; }

.search-results { padding-top: 14px; }
.search-hint, .empty-results { color: #aaa; font-size: 13px; }
.search-result { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.search-result a { display: block; font-weight: 650; }
.search-result span { display: block; margin-top: 5px; color: #aaa; font-size: 12px; }

@media (min-width: 1366px) {
  .hero { border-radius: 0; }
}
@media (max-width: 1100px) {
  .site-header { width: calc(100% - 48px); grid-template-columns: minmax(230px,1fr) 1px minmax(320px,1.3fr) minmax(190px,.9fr); gap: 20px; }
  .brand { gap: 8px; }
  .brand img { width: 55px; }
  .brand-name { font-size: 21px; }
  .primary-navigation { gap: 28px; }
  .nav-link { font-size: 16px; }
  .header-actions { gap: 10px; }
  .hero { padding-left: 5%; padding-right: 5%; }
  .hero-copy { width: 62%; }
  .hero h1 { font-size: clamp(45px, 5.7vw, 61px); letter-spacing: -2.7px; }
  .hero-visual { width: 53%; right: 0; }
  .feature-bar { left: 3.5%; right: 3.5%; padding: 16px 12px; }
  .feature { padding: 0 10px; gap: 12px; }
  .feature-icon { flex-basis: 50px; height: 50px; }
  .feature-icon svg { width: 27px; height: 27px; }
  .feature h2 { font-size: 16px; }
  .feature p { font-size: 12px; }
}
@media (max-width: 900px) {
  .site-header { display: flex; gap: 12px; }
  .header-divider { display: none; }
  .brand { margin-right: auto; }
  .menu-toggle { width: 42px; height: 42px; display: inline-grid; order: 2; }
  .primary-navigation { position: absolute; z-index: 20; left: 0; right: 0; top: 78px; height: auto; display: none; align-items: stretch; gap: 0; padding: 8px 18px 15px; border: 1px solid rgba(255,16,24,.3); border-radius: 0 0 13px 13px; background: rgba(6,3,3,.98); box-shadow: 0 20px 28px rgba(0,0,0,.4); }
  .primary-navigation.open { display: flex; flex-direction: column; }
  .nav-link { height: 46px; font-size: 15px; }
  .nav-link.active::after { width: 28px; height: 2px; right: auto; bottom: 5px; }
  .header-actions { order: 1; gap: 6px; }
  .header-actions .icon-button { width: 42px; height: 42px; }
  .profile-avatar { width: 40px; height: 40px; flex-basis: 40px; }

}
@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .site-header { height: 70px; width: calc(100% - 36px); display: flex; gap: 12px; }
  .brand { margin-right: auto; }
  .brand img { width: 48px; height: 40px; }
  .brand-name { font-size: 19px; letter-spacing: -.6px; }
  .header-divider { display: none; }
  .menu-toggle { width: 42px; height: 42px; display: inline-grid; order: 2; border-color: rgba(255,255,255,.22); }
  .menu-toggle svg { width: 22px; height: 22px; }
  .primary-navigation { position: absolute; left: -18px; right: -18px; top: 70px; height: auto; display: none; align-items: stretch; gap: 0; padding: 8px 18px 15px; border-bottom: 1px solid rgba(255,16,24,.3); background: rgba(6,3,3,.98); box-shadow: 0 20px 28px rgba(0,0,0,.4); }
  .primary-navigation.open { display: flex; flex-direction: column; }
  .nav-link { height: 46px; font-size: 15px; }
  .nav-link.active::after { width: 28px; height: 2px; right: auto; bottom: 5px; }
  .header-actions { order: 1; gap: 4px; }
  .header-actions .icon-button { width: 37px; height: 39px; border-radius: 10px; }
  .header-actions .icon-button svg { width: 20px; height: 20px; }
  .profile-avatar { width: 34px; height: 34px; flex-basis: 34px; font-size: 13px; }
  .hero { min-height: 930px; height: auto; max-height: none; display: block; padding: 42px 24px 265px; }
  .hero-copy { width: 100%; }
  .eyebrow { gap: 10px; font-size: 12px; letter-spacing: 3.4px; }
  .eyebrow span { width: 24px; }
  .eyebrow i { width: 5px; height: 5px; }
  .hero h1 { max-width: 580px; margin: 21px 0 20px; font-size: clamp(43px, 8.5vw, 60px); line-height: 1.01; letter-spacing: -2.3px; }
  .hero h1 br { display: none; }
  .highlight::after { bottom: -11px; height: 10px; border-top-width: 4px; }
  .hero-description { max-width: 520px; margin: 25px 0 22px; font-size: 16px; line-height: 1.55; }
  .desktop-break { display: none; }
  .hero-actions { flex-wrap: wrap; gap: 12px; }
  .hero-actions .button { min-height: 52px; height: auto; gap: 7px; padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 1.2; }
  .button { height: 52px; gap: 9px; padding: 0 16px; border-radius: 12px; font-size: 15px; }
  .button svg { width: 20px; height: 20px; }
  .button-secondary svg { width: 25px; height: 25px; }
  .hero-visual { top: auto; right: 0; bottom: 178px; width: min(100%, 450px); height: 435px; left: 50%; transform: translateX(-50%); }
  .portrait-halo { width: 76%; top: 3%; left: 13%; border-width: 4px; }
  .portrait { width: 100%; }
  .feature-bar { left: 18px; right: 18px; bottom: 18px; min-height: 0; padding: 15px 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 0; border-radius: 16px; }
  .feature { min-height: 54px; padding: 0 7px; gap: 9px; }
  .feature:nth-child(3) { border-left: 0; }
  .feature-icon { flex-basis: 42px; height: 42px; border-radius: 11px; }
  .feature-icon svg { width: 23px; height: 23px; }
  .feature h2 { font-size: clamp(12px, 3.4vw, 15px); letter-spacing: -.45px; white-space: normal; margin-bottom: 4px; }
  .feature p { font-size: clamp(9px, 2.7vw, 11px); white-space: normal; line-height: 1.25; }
  .catalog-section { padding: 68px 20px 38px; }
  .catalog-grid { grid-template-columns: 1fr; gap: 12px; }
  .catalog-card { min-height: 0; padding: 21px; }
  .catalog-card > p { min-height: 0; }
  .ebook-section { padding-top: 45px; }
  .about-section { margin: 20px 18px 50px; padding: 35px 24px; }
  .about-section h2 { font-size: 32px; }
  .site-footer { padding: 14px 20px; }
}
@media (max-width: 390px) {
  .site-header { width: calc(100% - 24px); gap: 7px; }
  .brand { gap: 5px; }
  .brand img { width: 40px; }
  .brand-name { font-size: 16px; }
  .header-actions { gap: 1px; }
  .header-actions .icon-button { width: 33px; }
  .profile-avatar { width: 30px; height: 30px; flex-basis: 30px; font-size: 12px; }
  .hero { padding-left: 18px; padding-right: 18px; min-height: 890px; }
  .hero h1 { font-size: 41px; letter-spacing: -2px; }
  .hero-actions { gap: 9px; }
  .button { padding: 0 12px; font-size: 14px; }
  .hero-visual { height: 400px; bottom: 177px; }
  .feature-bar { left: 12px; right: 12px; padding-left: 7px; padding-right: 7px; }
  .feature { gap: 7px; padding: 0 5px; }
  .feature-icon { flex-basis: 36px; height: 38px; }
  .feature-icon svg { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@keyframes copy-enter {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes portrait-enter {
  from { opacity: 0; transform: translate3d(24px, 12px, 0) scale(.97); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes portrait-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes halo-breathe {
  0%, 100% { box-shadow: 0 0 18px #ff1018, 0 0 44px rgba(255,0,12,.38), inset 0 0 30px rgba(255,0,12,.14); }
  50% { box-shadow: 0 0 24px #ff1018, 0 0 66px rgba(255,0,12,.52), inset 0 0 42px rgba(255,0,12,.24); }
}
@keyframes underline-draw {
  from { transform: scaleX(0) rotate(-1.5deg); }
  to { transform: scaleX(1) rotate(-1.5deg); }
}
@keyframes button-sheen {
  0%, 70%, 100% { transform: translateX(-160%) skewX(-18deg); }
  88% { transform: translateX(260%) skewX(-18deg); }
}
@keyframes icon-arrive {
  0% { opacity: 0; transform: translateY(10px) scale(.88); }
  70% { transform: translateY(-2px) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes menu-unfold {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-copy { animation: copy-enter .8s cubic-bezier(.2,.7,.25,1) both; }
.hero-visual { animation: portrait-enter 1s .12s cubic-bezier(.2,.7,.25,1) both; }
.portrait-halo { animation: halo-breathe 5s ease-in-out infinite; }
.portrait { animation: portrait-float 6s 1.2s ease-in-out infinite; }
.highlight::after { transform-origin: left center; animation: underline-draw .7s .55s cubic-bezier(.2,.75,.3,1) both; }
.nav-link::after { transform: scaleX(0); transform-origin: left; transition: transform .24s ease; }
.nav-link.active::after { transform: scaleX(1); }
.button { position: relative; overflow: hidden; }
.button::after { content: ""; position: absolute; inset: -20% auto -20% -30%; width: 25%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent); transform: translateX(-160%) skewX(-18deg); pointer-events: none; }
.button:hover::after { animation: button-sheen .8s ease-out; }
.feature-card.is-visible .feature-icon { animation: icon-arrive .55s both; }
.feature-card:nth-child(2).is-visible .feature-icon { animation-delay: .08s; }
.feature-card:nth-child(3).is-visible .feature-icon { animation-delay: .16s; }
.feature-card:nth-child(4).is-visible .feature-icon { animation-delay: .24s; }
.catalog-card { transition: border-color .25s, transform .3s cubic-bezier(.2,.7,.25,1), box-shadow .3s; }
.catalog-card:hover { box-shadow: 0 15px 34px rgba(255,0,12,.1); }
.js .reveal { opacity: 0; transform: translate3d(0, 20px, 0); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.25,1); }
.js .reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }
  body::after { display: none; }
  .site-header { position: relative; height: 66px; width: calc(100% - 28px); }
  .brand { gap: 7px; }
  .brand img { width: 42px; height: 36px; }
  .brand-name { font-size: clamp(16px, 4.8vw, 19px); }
  .header-actions { gap: 4px; }
  .header-actions .icon-button { width: 36px; height: 38px; border-radius: 11px; }
  .header-actions .icon-button svg { width: 18px; height: 18px; }
  .menu-toggle { width: 38px; height: 38px; }
  .primary-navigation { top: 66px; left: -14px; right: -14px; padding: 9px 16px 13px; }
  .primary-navigation.open { animation: menu-unfold .24s ease-out both; }
  .hero { display: flex; flex-direction: column; gap: 0; min-height: 0; height: auto; max-height: none; padding: 39px 20px 34px; }
  .hero-copy { order: 0; width: 100%; padding: 0; }
  .eyebrow { gap: 9px; font-size: 11px; letter-spacing: 3px; }
  .eyebrow span { width: 22px; }
  .hero h1 { margin: 20px 0 18px; font-size: clamp(39px, 9.5vw, 57px); line-height: 1.02; letter-spacing: -.065em; }
  .hero h1 br { display: none; }
  .highlight { white-space: normal; }
  .highlight::after { bottom: -8px; height: 8px; border-top-width: 3px; }
  .hero-description { max-width: 500px; margin: 22px 0 21px; font-size: 15px; line-height: 1.65; }
  .desktop-break { display: none; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hero-actions .button { min-width: 0; width: 100%; height: 51px; padding: 0 9px; gap: 7px; border-radius: 12px; font-size: clamp(12px, 3.5vw, 14px); white-space: nowrap; }
  .hero-actions .button svg { width: 18px; height: 18px; flex: 0 0 auto; }
  .hero-actions .button-secondary svg { width: 22px; height: 22px; }
  .hero-visual { position: relative; order: 1; inset: auto; left: auto; right: auto; bottom: auto; width: min(100%, 430px); height: clamp(315px, 96vw, 395px); margin: 8px auto 2px; transform: none; animation: portrait-enter .85s .15s both; }
  .portrait-halo { top: 4%; left: 12%; width: 76%; border-width: 3px; }
  .portrait { object-position: center bottom; }
  .feature-bar { position: relative; order: 2; inset: auto; width: 100%; min-height: 0; margin-top: 3px; padding: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; border-radius: 18px; box-shadow: 0 0 17px rgba(255,0,12,.26), inset 0 0 20px rgba(255,0,12,.08); }
  .feature-card, .feature-card + .feature-card { min-height: 108px; padding: 14px 10px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(38,0,2,.25)); }
  .feature-card:hover { transform: translateY(-2px); border-color: rgba(255,16,24,.5); }
  .feature-icon { flex-basis: auto; width: 39px; height: 39px; border-radius: 11px; }
  .feature-icon svg { width: 21px; height: 21px; }
  .feature-copy h2 { margin: 0 0 4px; font-size: clamp(13px, 3.8vw, 16px); letter-spacing: -.45px; white-space: normal; }
  .feature-copy p { font-size: clamp(10px, 3vw, 12px); line-height: 1.35; white-space: normal; }
  .feature-index { top: 10px; right: 11px; font-size: 9px; color: rgba(255,255,255,.42); }
  .feature-arrow { display: none; }
  .catalog-section { padding: 58px 19px 32px; }
  .section-heading h2 { font-size: clamp(30px, 8vw, 40px); }
  .catalog-grid { grid-template-columns: 1fr; gap: 12px; }
  .catalog-card { padding: 20px; }
  .catalog-card > p { min-height: 0; }
  .ebook-section { padding-top: 39px; }
  .about-section { margin: 18px 16px 42px; padding: 30px 21px; }
  .site-footer { padding: 13px 18px; }
}
@media (max-width: 380px) {
  .site-header { width: calc(100% - 22px); gap: 6px; }
  .brand { gap: 4px; }
  .brand img { width: 36px; }
  .brand-name { font-size: 15px; letter-spacing: -.55px; }
  .header-actions { gap: 1px; }
  .header-actions .icon-button { width: 32px; }
  .menu-toggle { width: 35px; }
  .hero { padding: 34px 16px 28px; }
  .hero h1 { font-size: clamp(37px, 10.1vw, 42px); }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-actions .button { height: 48px; font-size: 14px; }
  .hero-visual { height: 310px; }
  .feature-bar { gap: 7px; padding: 8px; }
  .feature-card, .feature-card + .feature-card { min-height: 102px; padding: 12px 9px; }
}
@media (min-width: 761px) and (max-width: 1050px) {
  .feature-bar { left: 3.5%; right: 3.5%; padding: 12px; }
  .feature-card { gap: 9px; padding: 10px 15px 10px 10px; }
  .feature-icon { flex-basis: 45px; height: 45px; border-radius: 12px; }
  .feature-icon svg { width: 25px; height: 25px; }
  .feature-copy h2 { font-size: clamp(13px, 1.45vw, 15px); }
  .feature-copy p { font-size: clamp(10px, 1.05vw, 11px); line-height: 1.35; white-space: normal; }
}

@keyframes header-arrive {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes nav-arrive {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes nav-reflection {
  from { transform: translateX(-160%) skewX(-20deg); }
  to { transform: translateX(200%) skewX(-20deg); }
}
@keyframes brand-shine {
  0%, 74%, 100% { transform: translateX(-160%) skewX(-20deg); }
  88% { transform: translateX(420%) skewX(-20deg); }
}
@keyframes logo-glow {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(255,255,255,.12)) drop-shadow(0 0 5px rgba(255,16,24,.12)); }
  50% { filter: drop-shadow(0 0 4px rgba(255,255,255,.28)) drop-shadow(0 0 12px rgba(255,16,24,.3)); }
}
@keyframes typing-reveal {
  from { width: 0; }
  to { width: calc(100% + 3px); }
}
@keyframes typing-caret {
  0%, 48% { border-color: var(--red); }
  49%, 100% { border-color: transparent; }
}

.site-header {
  margin-top: 9px;
  padding: 0 19px;
  height: 74px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 19px;
  background: linear-gradient(110deg, rgba(16, 8, 8, .83), rgba(7, 5, 5, .82) 52%, rgba(18, 5, 6, .84));
  box-shadow: 0 12px 35px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.045);
  backdrop-filter: blur(18px);
  animation: header-arrive .65s cubic-bezier(.2,.7,.25,1) both;
}
.brand { gap: 10px; }
.brand img { width: 63px; height: 42px; object-fit: contain; animation: logo-glow 4s ease-in-out infinite; transition: transform .3s ease; }
.brand:hover img { transform: rotate(-4deg) scale(1.06); }
.brand-name { position: relative; overflow: hidden; font-size: 23px; letter-spacing: -.95px; }
.brand-name::after { content: ""; position: absolute; z-index: 1; top: -25%; bottom: -25%; left: -55%; width: 32%; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255,255,255,.48), transparent); transform: skewX(-20deg); animation: brand-shine 6.5s 1.2s ease-in-out infinite; }
.brand-name > span { color: inherit; }
.brand-name .brand-normal { color: #fff; }
.brand-name .brand-accent { color: var(--red); }
.primary-navigation { gap: clamp(23px, 3.4vw, 47px); }
.nav-link { padding: 0 2px; color: #d3ced0; transition: color .22s ease, transform .22s ease, text-shadow .22s ease; animation: nav-arrive .5s both; }
.nav-link:nth-child(1) { animation-delay: .12s; }
.nav-link:nth-child(2) { animation-delay: .2s; }
.nav-link:nth-child(3) { animation-delay: .28s; }
.nav-link:nth-child(4) { animation-delay: .36s; }
.nav-link:hover, .nav-link.active { color: #fff; text-shadow: 0 0 20px rgba(255,255,255,.18); transform: translateY(-2px); }
.nav-label { display: inline-block; position: relative; }
.nav-label::after { content: ""; position: absolute; top: -25%; bottom: -25%; left: -55%; width: 35%; opacity: 0; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255,255,255,.85), transparent); transform: translateX(-160%) skewX(-20deg); }
.nav-link:hover .nav-label::after, .nav-link:focus-visible .nav-label::after { opacity: 1; animation: nav-reflection .7s ease-out; }
.nav-link.active::after { height: 3px; bottom: 10px; box-shadow: 0 0 12px rgba(255,16,24,.75); }
.header-actions { gap: 12px; }
.header-actions .icon-button { backdrop-filter: blur(8px); }
.header-actions .search-trigger { border-color: rgba(255,255,255,.23); }
.hero h1 { text-wrap: balance; }
.typing-reserve { display: inline-block; visibility: hidden; white-space: nowrap; }
.typing-text { position: absolute; top: 0; left: 0; width: 0; overflow: hidden; border-right: 2px solid var(--red); white-space: nowrap; animation: typing-reveal 1.18s steps(11, end) .9s forwards, typing-caret .72s step-end 2.08s infinite; }
.hero .eyebrow b { animation: nav-arrive .55s both; }
.hero .eyebrow b:nth-of-type(1) { animation-delay: .25s; }
.hero .eyebrow b:nth-of-type(2) { animation-delay: .4s; }
.hero .eyebrow b:nth-of-type(3) { animation-delay: .55s; }
.hero .eyebrow i { animation: icon-arrive .45s .35s both; }

@media (max-width: 900px) {
  .site-header { padding: 0 15px; }
  .primary-navigation { gap: 0; }
  .primary-navigation.open { gap: 0; }
}
@media (max-width: 760px) {
  .site-header { width: calc(100% - 16px); height: 64px; margin-top: 7px; padding: 0 6px; gap: 2px; border-radius: 15px; }
  .brand { gap: 5px; }
  .brand img { width: 35px; height: 28px; }
  .brand-name { font-size: clamp(14px, 4.35vw, 17px); letter-spacing: -.65px; }
  .header-actions { gap: 1px; }
  .header-actions .icon-button { width: 31px; height: 34px; border-radius: 9px; }
  .header-actions .icon-button svg { width: 17px; height: 17px; }
  .menu-toggle { width: 31px; height: 34px; border-radius: 9px; }
  .primary-navigation { top: 64px; }
}
@media (max-width: 380px) {
  .site-header { width: calc(100% - 12px); padding: 0 4px; gap: 1px; }
  .brand { min-width: 0; gap: 3px; }
  .brand img { width: 31px; height: 25px; }
  .brand-name { font-size: clamp(12px, 4vw, 14px); letter-spacing: -.7px; }
  .header-actions { gap: 0; }
  .header-actions .icon-button { width: 28px; height: 32px; }
  .menu-toggle { width: 29px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .ember-field { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .primary-navigation.open .nav-link,
  .primary-navigation.open .book-session-cta { opacity: 1; transform: none; }
}

.site-footer {
  position: relative;
  max-width: 1170px;
  margin: 0 auto 34px;
  padding: 0 30px;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: radial-gradient(ellipse at 92% 0%, rgba(255,16,24,.16), transparent 34%), linear-gradient(140deg, rgba(20,10,11,.98), rgba(7,5,5,.98) 58%, rgba(22,6,8,.98));
  box-shadow: 0 18px 55px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.055);
}
.footer-top {
  min-height: 205px;
  padding: 36px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid rgba(255,255,255,.11);
}
.footer-kicker { color: #ff6268; font-size: 10px; font-weight: 750; letter-spacing: 2px; }
.footer-intro h2 { margin: 12px 0 8px; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -1.3px; }
.footer-intro h2 span { color: var(--red); }
.footer-intro p { margin: 0; color: var(--muted); font-size: 14px; }
.footer-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; }
.footer-actions .button { height: 48px; padding: 0 17px; border-radius: 12px; font-size: 14px; }
.footer-actions .button svg { width: 18px; height: 18px; }
.footer-main { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { gap: 9px; }
.footer-brand img { width: 44px; height: 32px; }
.footer-brand .brand-name { font-size: 17px; }
.footer-brand sup { font-size: 8px; }
.footer-navigation { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
.footer-navigation a, .footer-bottom a { color: #c8c1c2; font-size: 13px; transition: color .2s ease; }
.footer-navigation a:hover, .footer-bottom a:hover { color: #fff; }
.footer-bottom { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom p { margin: 0; color: #8f8889; font-size: 11px; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.footer-bottom a svg { width: 14px; height: 14px; color: #ff6268; }

@media (max-width: 760px) {
  .site-footer { width: calc(100% - 28px); margin-bottom: 18px; padding: 0 19px; border-radius: 19px; }
  .footer-top { min-height: 0; padding: 28px 0; align-items: flex-start; flex-direction: column; gap: 22px; }
  .footer-intro h2 { max-width: 360px; font-size: 29px; }
  .footer-actions { justify-content: flex-start; gap: 9px; }
  .footer-actions .button { height: 44px; padding: 0 12px; font-size: 12px; }
  .footer-main { min-height: 0; padding: 20px 0; align-items: flex-start; flex-direction: column; gap: 17px; }
  .footer-navigation { width: 100%; justify-content: space-between; gap: 10px; }
  .footer-navigation a { font-size: 12px; }
  .footer-bottom { min-height: 48px; }
  .footer-bottom p { max-width: 70%; line-height: 1.5; }
}

@keyframes ambient-drift {
  0%, 100% { background-position: 0 0, 100% 100%, 100% 0, 0 0; }
  50% { background-position: 3% 6%, 96% 92%, 94% 7%, 0 0; }
}
@keyframes section-enter {
  from { opacity: 0; transform: translate3d(0, 22px, 0) scale(.99); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes card-enter {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 5px 25px rgba(255,16,24,.25); }
  50% { box-shadow: 0 7px 32px rgba(255,16,24,.43); }
}

.brand img { width: 82px; height: 54px; }
.footer-brand img { width: 48px; height: 35px; }
body::before { animation: ambient-drift 24s ease-in-out infinite; }
.hero-actions .button-primary { animation: cta-glow 4.5s ease-in-out 1.8s infinite; }
.catalog-section .section-heading.reveal.is-visible,
.about-section.reveal.is-visible,
.site-footer.reveal.is-visible,
.site-footer > p.reveal.is-visible { animation: section-enter .65s cubic-bezier(.2,.7,.25,1) both; }
.catalog-card.reveal.is-visible { animation: card-enter .58s cubic-bezier(.2,.7,.25,1) both; }
.catalog-card.reveal.is-visible:nth-child(2) { animation-delay: .08s; }
.catalog-card.reveal.is-visible:nth-child(3) { animation-delay: .16s; }
.feature-card.reveal.is-visible { animation: card-enter .52s cubic-bezier(.2,.7,.25,1) both; }
.feature-card.reveal.is-visible:nth-child(2) { animation-delay: .07s; }
.feature-card.reveal.is-visible:nth-child(3) { animation-delay: .14s; }
.feature-card.reveal.is-visible:nth-child(4) { animation-delay: .21s; }
.icon-button svg { transition: transform .22s ease; }
.icon-button:hover svg { transform: scale(1.1); }
.search-result { animation: card-enter .3s ease both; }
.site-footer .brand:hover img { transform: rotate(-4deg) scale(1.06); }

@media (max-width: 760px) {
  .brand img { width: 49px; height: 36px; }
  .footer-brand img { width: 40px; height: 30px; }
  .hero-actions .button-primary { animation-duration: 5.5s; }
}
@media (max-width: 380px) {
  .brand img { width: 44px; height: 33px; }
  .brand-name { font-size: clamp(13px, 4.2vw, 15px); }
}

@keyframes nav-pill-in {
  from { opacity: 0; transform: translateY(9px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes nav-underline-sweep {
  0% { transform: scaleX(.2); opacity: .4; }
  60% { transform: scaleX(1.12); opacity: 1; }
  100% { transform: scaleX(1); opacity: 1; }
}
@keyframes nav-shell-enter {
  from { opacity: 0; transform: translateY(-9px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes text-reflection {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}
@keyframes nav-icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
@keyframes mobile-card-enter {
  from { opacity: 0; transform: translateY(15px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (min-width: 901px) {
  .primary-navigation { gap: clamp(12px, 2.2vw, 32px); }
  .nav-link {
    height: 46px;
    padding: 0 15px;
    border-radius: 12px;
    isolation: isolate;
    transition: color .28s ease, transform .32s cubic-bezier(.2,.8,.2,1), text-shadow .28s ease;
  }
  .nav-link::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    border: 1px solid rgba(255,255,255,0);
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,16,24,.055));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 6px 20px rgba(0,0,0,0);
    opacity: 0;
    transform: translateY(4px) scale(.94);
    transition: opacity .25s ease, transform .32s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .25s ease;
  }
  .nav-link:hover::before, .nav-link:focus-visible::before {
    opacity: 1;
    transform: translateY(0) scale(1);
    border-color: rgba(255,255,255,.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 7px 22px rgba(0,0,0,.2);
  }
  .nav-link.active::before { opacity: .48; transform: none; }
  .nav-link::after {
    right: 15px;
    left: 15px;
    bottom: 1px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .36s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
  }
  .nav-link:hover::after, .nav-link:focus-visible::after, .nav-link.active::after {
    transform: scaleX(1);
    box-shadow: 0 0 15px rgba(255,16,24,.82);
  }
  .nav-link:hover .nav-label, .nav-link:focus-visible .nav-label { animation: nav-icon-float .45s ease both; }
  .nav-link:hover .nav-label::after, .nav-link:focus-visible .nav-label::after { animation: nav-reflection .75s ease-out; }
  .header-actions .icon-button { transition: transform .32s cubic-bezier(.2,.8,.2,1), border-color .25s ease, background .25s ease, box-shadow .3s ease; }
  .header-actions .icon-button:hover { transform: translateY(-3px) rotate(-3deg); box-shadow: 0 8px 22px rgba(255,16,24,.16); }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 82px; }
  body { background-color: #050303; }
  body::before {
    background:
      radial-gradient(ellipse at 2% 16%, rgba(255,0,15,.2), transparent 34%),
      radial-gradient(ellipse at 100% 48%, rgba(157,0,10,.16), transparent 34%),
      radial-gradient(ellipse at 80% 92%, rgba(255,0,15,.14), transparent 31%),
      linear-gradient(155deg,#080303 0%,#050303 58%,#090303 100%);
  }
  .site-header {
    position: sticky;
    top: 8px;
    z-index: 50;
    width: calc(100% - 24px);
    height: 62px;
    margin: 8px auto 0;
    padding: 0 7px;
    display: flex;
    gap: 3px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 16px;
    background: rgba(11,7,7,.88);
    box-shadow: 0 10px 30px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.055);
    backdrop-filter: blur(20px);
  }
  .site-header > .brand { min-width: 0; gap: 3px; margin-right: auto; }
  .site-header > .brand img { width: 48px; height: 36px; }
  .site-header .brand-name { font-size: clamp(14px,4.2vw,17px); letter-spacing: -.7px; }
  .site-header .header-actions { gap: 1px; }
  .site-header .header-actions .icon-button { width: 32px; height: 35px; border-radius: 10px; }
  .site-header .header-actions .icon-button svg { width: 17px; height: 17px; }
  .site-header .menu-toggle { width: 33px; height: 35px; border-radius: 10px; border-color: rgba(255,255,255,.18); }
  .site-header .primary-navigation {
    position: absolute;
    z-index: 21;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    height: auto;
    padding: 9px;
    display: none;
    align-items: stretch;
    gap: 5px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 16px;
    background: rgba(12,7,7,.97);
    box-shadow: 0 18px 40px rgba(0,0,0,.48), 0 0 25px rgba(255,0,12,.1);
    backdrop-filter: blur(20px);
  }
  .site-header .primary-navigation.open { display: flex; flex-direction: column; animation: menu-unfold .28s cubic-bezier(.2,.8,.2,1) both; }
  .site-header .nav-link { height: 43px; padding: 0 12px; border-radius: 10px; font-size: 14px; }
  .site-header .nav-link.active { background: linear-gradient(100deg,rgba(255,16,24,.14),rgba(255,16,24,.025)); }
  .site-header .nav-link.active::after { left: 12px; right: auto; bottom: 5px; width: 23px; height: 2px; }

  .hero {
    min-height: 0;
    height: auto;
    max-height: none;
    padding: 40px 20px 26px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-copy { width: 100%; }
  .hero h1 { max-width: 560px; margin-top: 19px; font-size: clamp(40px,9vw,57px); line-height: 1.03; }
  .hero-description { max-width: 520px; font-size: 15px; line-height: 1.62; }
  .hero-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .hero-actions .button { width: 100%; min-width: 0; height: 50px; padding: 0 9px; gap: 7px; border-radius: 12px; font-size: clamp(12px,3.55vw,14px); }
  .hero-actions .button svg { width: 18px; height: 18px; flex: 0 0 auto; }
  .hero-actions .button-secondary svg { width: 22px; height: 22px; }
  .hero-visual {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    bottom: auto;
    order: 1;
    width: min(100%,430px);
    height: clamp(320px,91vw,390px);
    margin: 9px auto 4px;
    border-radius: 26px;
    background: radial-gradient(ellipse at 50% 43%,rgba(145,0,8,.27),rgba(28,0,2,.1) 47%,transparent 72%);
  }
  .portrait-halo { top: 4%; left: 13%; width: 74%; border-width: 3px; }
  .portrait { width: 100%; object-fit: contain; object-position: center bottom; }
  .feature-bar {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    min-height: 0;
    padding: 9px;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
    border-radius: 18px;
    background: linear-gradient(145deg,rgba(31,0,2,.94),rgba(8,3,3,.97));
    box-shadow: 0 0 20px rgba(255,0,12,.2),inset 0 0 20px rgba(255,0,12,.08);
  }
  .feature-card, .feature-card + .feature-card {
    min-height: 105px;
    padding: 13px 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 9px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 13px;
    background: linear-gradient(145deg,rgba(255,255,255,.055),rgba(38,0,2,.25));
  }
  .feature-card:hover { transform: translateY(-2px); border-color: rgba(255,16,24,.48); }
  .feature-icon { flex: 0 0 37px; width: 37px; height: 37px; border-radius: 11px; }
  .feature-icon svg { width: 20px; height: 20px; }
  .feature-copy h2 { margin: 0 0 4px; font-size: clamp(13px,3.7vw,15px); white-space: normal; }
  .feature-copy p { font-size: clamp(10px,2.9vw,11px); line-height: 1.35; white-space: normal; }
  .feature-index { top: 9px; right: 10px; color: rgba(255,255,255,.45); }
  .feature-arrow { display: none; }

  .catalog-section { padding: 58px 19px 30px; }
  .section-heading { margin-bottom: 22px; }
  .section-heading h2 { font-size: clamp(30px,7.8vw,39px); line-height: 1.08; }
  .section-heading > p:last-child { font-size: 14px; line-height: 1.65; }
  .catalog-grid { grid-template-columns: 1fr; gap: 11px; }
  .catalog-card {
    min-height: 0;
    padding: 20px;
    border-color: rgba(255,255,255,.11);
    border-radius: 15px;
    background: linear-gradient(145deg,rgba(27,13,14,.95),rgba(9,7,7,.97));
  }
  .catalog-card h3 { margin-top: 11px; font-size: 19px; }
  .catalog-card > p { min-height: 0; margin-bottom: 15px; font-size: 13px; }
  .ebook-section { padding-top: 39px; }
  .about-section { margin: 16px 16px 40px; padding: 29px 21px; border-radius: 17px; }
  .about-section h2 { font-size: clamp(29px,7.5vw,36px); }
  .about-section > p:last-child { font-size: 14px; }
  .site-footer { padding: 12px 17px; }
  .footer-brand img { width: 37px; height: 28px; }
  .footer-brand .brand-name { font-size: 14px; }

  .js .feature-card.reveal.is-visible,
  .js .catalog-card.reveal.is-visible { animation: mobile-card-enter .5s cubic-bezier(.2,.75,.22,1) both; }
  .feature-card.reveal.is-visible:nth-child(2),
  .catalog-card.reveal.is-visible:nth-child(2) { animation-delay: .07s; }
  .feature-card.reveal.is-visible:nth-child(3),
  .catalog-card.reveal.is-visible:nth-child(3) { animation-delay: .14s; }
}
@media (max-width: 380px) {
  .site-header { width: calc(100% - 16px); padding: 0 5px; }
  .site-header > .brand { gap: 2px; }
  .site-header > .brand img { width: 42px; height: 32px; }
  .site-header .brand-name { font-size: clamp(13px,4.1vw,15px); }
  .site-header .header-actions .icon-button { width: 29px; }
  .site-header .menu-toggle { width: 30px; }
  .hero { padding: 34px 16px 24px; }
  .hero h1 { font-size: clamp(37px,9.7vw,41px); }
  .hero-actions { grid-template-columns: 1fr; gap: 8px; }
  .hero-actions .button { height: 47px; font-size: 14px; }
  .hero-visual { height: 310px; }
  .feature-card, .feature-card + .feature-card { min-height: 100px; padding: 11px 8px; }
  .catalog-section { padding-right: 16px; padding-left: 16px; }
}

@media (hover: none) {
  .feature-card:hover, .catalog-card:hover { transform: none; }
}
@media (min-width: 761px) {
  .site-header { padding-left: 9px; }
  .site-header > .brand { gap: 4px; }
}
@media (max-width: 760px) {
  .site-header > .brand { gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .typing-reserve { visibility: visible; }
  .typing-text { display: none; }
}

@keyframes mobile-drawer-links {
  from { opacity: 0; transform: translateX(13px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes hamburger-turn {
  to { transform: rotate(90deg); }
}
@keyframes hero-photo-arrive {
  from { opacity: 0; transform: translateY(18px) scale(.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes book-session-shimmer {
  0%, 62%, 100% { transform: translateX(-160%) skewX(-18deg); }
  82% { transform: translateX(470%) skewX(-18deg); }
}

.mobile-nav-head, .mobile-nav-foot, .mobile-nav-backdrop { display: none; }

@media (min-width: 901px) {
  .site-header { padding-left: 4px; }
  .site-header > .brand { gap: 1px; }
}

@media (min-width: 901px) {
  .primary-navigation {
    position: relative;
    isolation: isolate;
    justify-self: center;
    height: 50px;
    gap: 4px;
    padding: 4px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.018));
    box-shadow: 0 10px 28px rgba(0,0,0,.23), inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter: blur(16px);
    animation: none;
  }
  .primary-navigation .nav-link {
    z-index: 1;
    height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    color: #c9c4c5;
    font-size: 15px;
    font-weight: 550;
    text-shadow: none;
    transition: color .24s ease, transform .28s cubic-bezier(.2,.8,.2,1);
    animation: none;
  }
  .primary-navigation .nav-link:hover,
  .primary-navigation .nav-link:focus-visible,
  .primary-navigation .nav-link.active {
    color: #fff;
    transform: translateY(-1px);
    text-shadow: 0 0 14px rgba(255,255,255,.2);
  }
  .primary-navigation .nav-link::before,
  .primary-navigation .nav-link::after {
    content: none;
  }
  .primary-navigation .nav-label {
    transition: letter-spacing .25s ease;
  }
  .primary-navigation .nav-link:hover .nav-label,
  .primary-navigation .nav-link:focus-visible .nav-label {
    letter-spacing: .15px;
  }
  .primary-navigation .nav-label::after {
    content: "";
    top: -25%;
    bottom: -25%;
    left: -55%;
    width: 35%;
    opacity: 0;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent);
    transform: translateX(-160%) skewX(-20deg);
  }
  .primary-navigation .nav-link:hover .nav-label::after,
  .primary-navigation .nav-link:focus-visible .nav-label::after {
    opacity: 1;
    animation: nav-reflection .7s ease-out;
  }
  .primary-navigation .book-session-cta {
    position: relative;
    isolation: isolate;
    height: 40px;
    min-width: 128px;
    margin-left: 5px;
    padding: 0 13px;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    overflow: hidden;
    border: 1px solid rgba(255, 139, 143, .58);
    border-radius: 12px;
    background: linear-gradient(120deg, #ff3b43, var(--red) 52%, #b90009);
    box-shadow: 0 4px 17px rgba(255, 16, 24, .3), inset 0 1px 0 rgba(255,255,255,.2);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, border-color .25s;
  }
  .primary-navigation .book-session-cta::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -20% auto -20% -45%;
    width: 35%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
    transform: translateX(-160%) skewX(-18deg);
    animation: book-session-shimmer 3.6s ease-in-out infinite;
  }
  .primary-navigation .book-session-cta:hover,
  .primary-navigation .book-session-cta:focus-visible {
    border-color: rgba(255, 196, 198, .9);
    box-shadow: 0 7px 25px rgba(255, 16, 24, .48), inset 0 1px 0 rgba(255,255,255,.27);
    transform: translateY(-2px);
  }
  .primary-navigation .book-session-cta svg { width: 16px; height: 16px; }
}

.hero h1 .reflection-text {
  color: transparent;
  background: linear-gradient(105deg, #f8f7f7 0%, #f8f7f7 38%, #fff 45%, #c7c2c3 49%, #fff 53%, #f8f7f7 61%, #f8f7f7 100%);
  background-size: 250% 100%;
  background-position: 100% 0;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-reflection 6s ease-in-out infinite;
}
.hero h1 .typing-text {
  color: transparent;
  background: linear-gradient(105deg, #ff1018 0%, #ff1018 38%, #ff8589 46%, #c70008 50%, #ff8589 54%, #ff1018 62%, #ff1018 100%);
  background-size: 250% 100%;
  background-position: 100% 0;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: typing-reveal 1.18s steps(11, end) .9s forwards, typing-caret .72s step-end 2.08s infinite, text-reflection 6s ease-in-out 2s infinite;
}

@media (max-width: 1250px) {
  .mobile-nav-backdrop {
    position: fixed;
    z-index: 69;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    display: block;
    border: 0;
    background: rgba(0,0,0,.68);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(0);
    transition: opacity .34s ease, backdrop-filter .34s ease;
  }
  .mobile-nav-backdrop.visible {
    opacity: 1;
    pointer-events: auto;
    backdrop-filter: blur(5px);
  }
  .primary-navigation {
    position: fixed;
    z-index: 70;
    inset: 0 0 0 auto;
    width: min(390px, 88vw);
    height: 100vh;
    height: 100dvh;
    padding: max(28px, env(safe-area-inset-top)) 23px max(24px, env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 9px;
    overflow-y: auto;
    border: 0;
    border-left: 1px solid rgba(255,255,255,.11);
    border-radius: 24px 0 0 24px;
    background:
      radial-gradient(ellipse at 100% 0,rgba(255,16,24,.18),transparent 40%),
      linear-gradient(155deg,#120a0b 0%,#090606 56%,#100708 100%);
    box-shadow: -28px 0 90px rgba(0,0,0,.48),inset 1px 0 0 rgba(255,255,255,.04);
    transform: translate3d(105%,0,0);
    visibility: hidden;
    pointer-events: none;
    transition: transform .48s cubic-bezier(.22,.85,.25,1), visibility .48s;
    will-change: transform;
  }
  .primary-navigation.open {
    transform: translate3d(0,0,0);
    visibility: visible;
    pointer-events: auto;
    animation: none;
  }
  .mobile-nav-head {
    min-height: 126px;
    margin: 0 0 14px;
    padding: 21px 17px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    background: linear-gradient(130deg,rgba(255,255,255,.065),rgba(255,16,24,.075));
  }
  .mobile-nav-kicker { color: #ff6a70; font-size: 9px; font-weight: 750; letter-spacing: 1.8px; }
  .mobile-nav-head h2 { margin: 11px 0 3px; font-size: 27px; letter-spacing: -1px; }
  .mobile-nav-head p { margin: 0; color: #aaa1a2; font-size: 12px; }
  .mobile-nav-close { width: 38px; height: 38px; border-color: rgba(255,255,255,.15); }
  .mobile-nav-close svg { width: 19px; height: 19px; }
  .primary-navigation .nav-link {
    min-height: 58px;
    height: 58px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 14px;
    background: rgba(255,255,255,.025);
    color: #d3cccd;
    font-size: 16px;
    font-weight: 550;
    opacity: 0;
    transform: translateX(13px);
    transition: color .25s, background .28s, border-color .25s, transform .28s;
  }
  .primary-navigation.open .nav-link {
    animation: mobile-drawer-links .4s cubic-bezier(.2,.8,.2,1) both;
  }
  .primary-navigation.open .nav-link:nth-of-type(1) { animation-delay: .1s; }
  .primary-navigation.open .nav-link:nth-of-type(2) { animation-delay: .15s; }
  .primary-navigation.open .nav-link:nth-of-type(3) { animation-delay: .2s; }
  .primary-navigation.open .book-session-cta { animation: mobile-drawer-links .4s .25s cubic-bezier(.2,.8,.2,1) both; }
  .primary-navigation .nav-link:hover,
  .primary-navigation .nav-link.active {
    color: #fff;
    border-color: rgba(255,16,24,.28);
    background: linear-gradient(100deg,rgba(255,16,24,.14),rgba(255,255,255,.025));
  }
  .primary-navigation .nav-link::before { content: none; }
  .primary-navigation .nav-link::after {
    position: static;
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-top: 1.5px solid #ff5960;
    border-right: 1.5px solid #ff5960;
    border-radius: 0;
    background: none;
    box-shadow: none;
    content: "";
    opacity: 0;
    transform: translate(-5px,4px) rotate(45deg);
    transition: opacity .2s, transform .25s;
  }
  .primary-navigation .nav-link.active::after,
  .primary-navigation .nav-link:hover::after {
    box-shadow: none;
    opacity: 1;
    transform: translate(0,0) rotate(45deg);
  }
  .primary-navigation .nav-label::after { content: none; }
  .primary-navigation .book-session-cta {
    position: relative;
    isolation: isolate;
    min-height: 58px;
    height: 58px;
    margin: 4px 0 0;
    padding: 0 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    overflow: hidden;
    border: 1px solid rgba(255, 139, 143, .58);
    border-radius: 14px;
    background: linear-gradient(120deg, #ff3b43, var(--red) 52%, #b90009);
    box-shadow: 0 5px 20px rgba(255, 16, 24, .28), inset 0 1px 0 rgba(255,255,255,.2);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    opacity: 0;
    transform: translateX(13px);
  }
  .primary-navigation .book-session-cta::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -20% auto -20% -45%;
    width: 35%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
    transform: translateX(-160%) skewX(-18deg);
    animation: book-session-shimmer 3.6s ease-in-out infinite;
  }
  .primary-navigation .book-session-cta svg { width: 19px; height: 19px; }
  .mobile-nav-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding: 19px 6px 6px;
    color: #aaa1a2;
    font-size: 12px;
    letter-spacing: .2px;
  }
  .mobile-nav-foot svg { width: 17px; height: 17px; color: #ff4d55; }
  .mobile-nav-foot b { color: #ff4d55; padding: 0 3px; }
  .menu-toggle.is-open { border-color: rgba(255,16,24,.48); background: rgba(255,16,24,.12); }
  .menu-toggle.is-open svg { animation: hamburger-turn .28s ease both; }
  body.mobile-navigation-open { overflow: hidden; }
}

@media (max-width: 760px) {
  .hero { gap: 0; }
  .hero-visual { order: 0; height: clamp(285px,76vw,370px); margin: 3px auto 13px; animation: hero-photo-arrive .7s .08s cubic-bezier(.2,.75,.22,1) both; }
  .hero-copy { order: 1; }
  .hero-copy + .feature-bar { margin-top: 22px; }
  .hero-copy .eyebrow { margin-top: 0; }
  .mobile-nav-backdrop { z-index: 89; }
  .primary-navigation { z-index: 90; }
  button, a { -webkit-tap-highlight-color: transparent; }
}
@media (max-width: 390px) {
  .hero-visual { height: 276px; margin-bottom: 11px; }
  .primary-navigation { padding-right: 19px; padding-left: 19px; }
}
@media (hover: none) and (pointer: coarse) {
  button:focus, a:focus,
  button:focus-visible, a:focus-visible {
    outline: none !important;
    box-shadow: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.header-actions { position: relative; z-index: 25; }
.nav-search {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 44px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 13px;
  background: rgba(5,3,3,.72);
  transition: width .38s cubic-bezier(.2,.8,.2,1), flex-basis .38s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .25s;
}
.nav-search.open {
  z-index: 40;
  width: 252px;
  flex-basis: 252px;
  border-color: rgba(255,92,98,.68);
  box-shadow: 0 7px 24px rgba(0,0,0,.3), 0 0 20px rgba(255,16,24,.13);
  background: #100a0a;
}
.header-actions .nav-search .search-trigger {
  position: absolute;
  z-index: 2;
  left: 0;
  width: 40px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: transparent;
}
.header-actions .nav-search.open .search-trigger { color: #ff686e; }
.nav-search input {
  position: absolute;
  inset: 0 40px 0 40px;
  width: calc(100% - 80px);
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s .08s;
}
.nav-search.open input {
  opacity: 1;
  pointer-events: auto;
}
.nav-search input::placeholder { color: #9c9293; }
.header-actions .nav-search .search-close {
  position: absolute;
  right: 3px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transform: scale(.8);
  transition: opacity .2s, transform .2s, color .2s;
}
.nav-search.open .search-close {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.header-actions .nav-search .search-close:hover { color: #ff686e; }
.nav-search .search-results {
  position: absolute;
  z-index: 3;
  top: calc(100% + 10px);
  right: 0;
  width: min(340px, calc(100vw - 32px));
  max-height: min(55vh, 390px);
  overflow: auto;
  padding: 7px 15px;
  border: 1px solid rgba(255,16,24,.36);
  border-radius: 15px;
  background: #100a0a;
  box-shadow: 0 18px 48px rgba(0,0,0,.58), 0 0 24px rgba(255,0,12,.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, visibility .2s, transform .2s;
}
.nav-search.has-query .search-results {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-search .search-results:empty { display: none; }

@media (min-width: 1251px) {
  .site-header.search-open .primary-navigation .book-session-cta {
    width: 0;
    min-width: 0;
    flex-basis: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-width: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(.9);
  }
}

@media (min-width: 901px) {
  .primary-navigation { animation: none; }
  .primary-navigation .nav-link {
    border-radius: 12px;
    background: transparent;
    transition: color .22s ease, background .22s ease;
  }
  .primary-navigation .nav-link:hover,
  .primary-navigation .nav-link:focus-visible,
  .primary-navigation .nav-link.active {
    background: linear-gradient(135deg, rgba(255,16,24,.2), rgba(126,0,5,.08));
  }
}

@media (min-width: 761px) and (max-width: 1250px) {
  .site-header {
    width: calc(100% - 48px);
    display: flex;
    gap: 12px;
    padding: 0 15px;
  }
  .header-divider { display: none; }
  .site-header > .brand { margin-right: auto; }
  .site-header .menu-toggle {
    width: 42px;
    height: 42px;
    display: inline-grid;
    order: 2;
  }
  .site-header .header-actions { order: 1; gap: 8px; }
  .site-header .header-actions .icon-button { width: 40px; height: 40px; }
}

@media (max-width: 1250px) {
  .site-header.search-open > .brand { display: none; }
  .site-header.search-open .header-actions { margin-left: auto; }
  .nav-search.open {
    width: clamp(124px, calc(100vw - 195px), 220px);
    flex-basis: clamp(124px, calc(100vw - 195px), 220px);
  }
  .nav-search .search-results { right: 0; }
}
@media (min-width: 761px) and (max-width: 1250px) {
  .nav-search .search-results {
    position: fixed;
    top: calc(env(safe-area-inset-top) + 82px);
    left: 24px;
    right: 24px;
    width: auto;
  }
}
@media (max-width: 760px) {
  .nav-search .search-results {
    position: fixed;
    top: calc(env(safe-area-inset-top) + 78px);
    left: 16px;
    right: 16px;
    width: auto;
  }
}

@media (max-width: 760px) {
  .site-header { gap: 9px; }
  .site-header .header-actions { gap: 10px; }
  .site-header .menu-toggle { width: 36px; }
  .site-header .profile-avatar { width: 34px; height: 34px; flex-basis: 34px; }
}
@media (max-width: 380px) {
  .site-header { gap: 7px; }
  .site-header > .brand img { width: 36px; height: 28px; }
  .site-header .brand-name { font-size: clamp(12px, 3.8vw, 13px); }
  .site-header .header-actions { gap: 8px; }
  .site-header .menu-toggle { width: 33px; }
  .site-header .profile-avatar { width: 32px; height: 32px; flex-basis: 32px; }
}

#app-root { min-height: 100vh; }
body[data-navigating="true"] #app-root::before {
  content: "";
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 34%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), #ff9296);
  box-shadow: 0 0 12px rgba(255, 16, 24, .65);
  pointer-events: none;
  animation: spa-loading 1s ease-in-out infinite alternate;
}
.spa-message-page {
  min-height: 100vh;
  padding: 48px 24px;
  display: grid;
  place-items: center;
  text-align: center;
}
.spa-message { width: min(100%, 620px); }
.spa-message h1 { margin: 12px 0; font-size: clamp(34px, 6vw, 58px); letter-spacing: -2px; }
.spa-message > p:not(.section-kicker) { margin: 0 auto 26px; max-width: 480px; color: var(--muted); line-height: 1.7; }
.spa-message .button { border: 0; }
@keyframes spa-loading {
  from { transform: translateX(-8%); opacity: .7; }
  to { transform: translateX(205%); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-navigating="true"] #app-root::before { animation-duration: 2s; }
}
@media (min-width: 761px) {
  .portrait {
    top: 8%;
    right: calc(45% - min(39%, 245px));
    bottom: auto;
    width: 76%;
    height: auto;
    object-position: center top;
  }
}
.portrait-halo::before,
.portrait-halo::after,
.about-portrait-glow::before,
.about-portrait-glow::after {
  content: "";
  position: absolute;
  inset: -19px;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 7% 22% at 50% 1%, rgba(255, 223, 141, .96), rgba(255, 82, 27, .7) 34%, transparent 76%),
    radial-gradient(ellipse 8% 19% at 84% 15%, rgba(255, 182, 83, .92), rgba(255, 48, 20, .66) 36%, transparent 76%),
    radial-gradient(ellipse 7% 22% at 99% 52%, rgba(255, 223, 141, .86), rgba(255, 58, 21, .64) 35%, transparent 76%),
    radial-gradient(ellipse 8% 18% at 82% 86%, rgba(255, 183, 81, .94), rgba(255, 48, 20, .64) 37%, transparent 76%),
    radial-gradient(ellipse 7% 22% at 49% 99%, rgba(255, 227, 151, .9), rgba(255, 60, 19, .68) 34%, transparent 76%),
    radial-gradient(ellipse 8% 19% at 16% 84%, rgba(255, 179, 78, .9), rgba(255, 45, 20, .66) 36%, transparent 76%),
    radial-gradient(ellipse 7% 22% at 1% 49%, rgba(255, 220, 137, .88), rgba(255, 54, 18, .67) 34%, transparent 76%),
    radial-gradient(ellipse 8% 19% at 18% 14%, rgba(255, 183, 83, .92), rgba(255, 48, 20, .65) 36%, transparent 76%);
  mask: radial-gradient(farthest-side, transparent calc(100% - 34px), #000 calc(100% - 12px));
}
.portrait-halo::before,
.about-portrait-glow::before {
  inset: -24px;
  opacity: .58;
  filter: blur(15px);
  animation: halo-fire-spin 8s linear infinite, halo-fire-flicker 2.4s ease-in-out infinite alternate;
}
.portrait-halo::after,
.about-portrait-glow::after {
  inset: -15px;
  opacity: .68;
  filter: blur(10px);
  animation: halo-fire-spin 13s linear infinite reverse, halo-fire-flicker 3.1s ease-in-out infinite alternate;
}
@keyframes halo-fire-spin {
  to { transform: rotate(1turn); }
}
@keyframes halo-fire-flicker {
  from { opacity: .48; }
  to { opacity: .88; }
}
