@font-face {
  font-family: 'Barlow Condensed';
  src: url('assets/fonts/barlow-condensed-800-italic.ttf') format('truetype');
  font-style: italic;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url('assets/fonts/inter-variable.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --body: Inter, system-ui, sans-serif;
  --display: 'Barlow Condensed', Impact, 'Roboto Condensed', 'Arial Narrow', sans-serif;
  --brand-red: #cf0716;
  --action: #c91221;
  --action-hover: #d61c2c;
  --header-height: 74px;
  --gutter: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 12px); }
body { margin: 0; background: var(--dark); color: var(--text); font: 400 1rem/1.65 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
::selection { background: var(--accent); color: var(--on-accent); }

.wrap { width: min(1220px, 100% - var(--gutter) * 2); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  z-index: 50;
  top: 12px;
  left: var(--gutter);
  transform: translateY(-150%);
  padding: 10px 16px;
  background: var(--text);
  color: var(--dark);
}

.skip-link:focus { transform: none; }
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--dark);
  border-bottom: 1px solid var(--dark-line);
}

.nav-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: var(--header-height);
}

.brand { display: inline-flex; width: fit-content; align-items: center; padding: 5px 0; }
.brand img { width: 79px; height: auto; filter: brightness(1.42); }
.header nav { display: flex; gap: clamp(17px, 2.6vw, 38px); }
.header nav a, .header-contact, .back-top { font-size: .875rem; font-weight: 700; }
.header nav a { display: flex; align-items: center; min-height: 46px; color: var(--muted); }
.header nav a:hover, .footer a:hover, .hero-scroll:hover { color: var(--accent-strong); }

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  padding: 8px 13px;
  min-height: 42px;
  border: 1px solid var(--control-dark);
}

.header-contact:hover { border-color: var(--accent); color: var(--accent-strong); }
.header-contact .icon { width: 20px; height: 20px; }
.menu-button { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 2px solid var(--brand-red);
  background: radial-gradient(ellipse at 68% 65%, #241418 0%, var(--dark) 61%);
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.07fr 1fr;
  align-items: center;
  min-height: clamp(580px, 48vw, 685px);
}

.hero-copy { position: relative; z-index: 2; padding-block: 52px 56px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
  color: var(--muted);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .21em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  flex: none;
  width: 20px;
  height: 3px;
  background: var(--accent);
  transform: skewX(-20deg);
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  line-height: .97;
  text-transform: uppercase;
}

h1 { font-size: clamp(3.65rem, 6.5vw, 6.2rem); letter-spacing: -.026em; }
h1 span, h1 em { display: block; }
h1 em { color: var(--accent-strong); }
h2 { font-size: clamp(3rem, 5.8vw, 5.4rem); letter-spacing: -.024em; }
h2 em { color: var(--accent-strong); }
h3 { font-size: clamp(2rem, 3.7vw, 3.3rem); }
.hero-tagline { margin-top: 24px; font-weight: 700; font-size: clamp(1.1rem, 1.85vw, 1.4rem); }
.hero-description { max-width: 36ch; margin-top: 5px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 20px; margin-top: 26px; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 11px 18px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
  transition: background-color .18s, border-color .18s, color .18s;
}

.button .button-arrow { width: 18px; height: 18px; margin-left: 8px; }
.button-accent { background: var(--action); color: #fff; }
.button-accent:hover { background: var(--action-hover); }
.button-outline { border: 1px solid var(--control-dark); }
.button-outline:hover { border-color: var(--accent-strong); color: var(--accent-strong); background: #231416; }
.button-dark { background: var(--dark); color: var(--text); }
.button-dark:hover { background: #232025; }
.hero-scroll { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; color: var(--muted); font-size: .8125rem; }
.hero-scroll .icon { width: 18px; height: 18px; }

.hero-visual {
  position: relative;
  align-self: stretch;
  min-width: 0;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0 calc(-1 * var(--gutter)) 0 -11%;
  background: repeating-linear-gradient(111deg, transparent 0 41px, #d22c3418 42px 43px, transparent 44px 82px);
  mask-image: linear-gradient(90deg, transparent, #000 52%);
}

.hero-stripe {
  position: absolute;
  inset: 0 -20% 0 -2%;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, #ffffff0a 3px 4px),
    linear-gradient(148deg, #f31828 5%, #c00917 42%, #58080f 85%);
  clip-path: polygon(39% 0, 89% 0, 54% 100%, 4% 100%);
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0 -20% 0 -2%;
  background: linear-gradient(145deg, #e91023, #9c111c 70%, #47090f);
  clip-path: polygon(94% 0, 96% 0, 61% 100%, 59% 100%);
}

.hero-photo {
  position: absolute;
  z-index: 1;
  right: 3.5%;
  bottom: -7%;
  width: auto;
  height: 101%;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(12px 0 30px #10070752);
}

.section { padding-block: clamp(64px, 7vw, 106px); }
.pillars { background: var(--dark); }
.pillars h2 { margin-bottom: clamp(22px, 3.1vw, 40px); }
.pillars h2 em { white-space: nowrap; }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(23px, 3.1vw, 40px);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #25191e, var(--surface) 62%);
}

.pillar::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 56px;
  height: 4px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}

.pillar h3 { max-width: 14ch; font-size: clamp(1.95rem, 3.35vw, 3.2rem); }
.pillar p { max-width: 33ch; color: var(--muted); }
.pillar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  margin-top: auto;
  color: var(--accent-strong);
  font-size: .875rem;
  font-weight: 700;
}

.pillar a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pillar a .icon { width: 17px; height: 17px; }

@media (max-width: 880px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 12px; }
  .pillar h3, .pillar p { max-width: none; }
}

.modalities { background: var(--background); }
.modalities h2 { margin-bottom: clamp(29px, 4vw, 52px); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  padding: clamp(24px, 3.4vw, 46px);
  border: 1px solid var(--line);
  background: linear-gradient(132deg, #1c191d, var(--surface) 58%);
}
.service::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 66px;
  height: 3px;
  background: var(--accent);
}

.service-icon {
  display: grid;
  place-content: center;
  width: 49px;
  height: 49px;
  margin-bottom: 22px;
  color: var(--accent-strong);
  background: #a016221d;
  border: 1px solid #b2323b;
}

.service-icon .icon { width: 24px; height: 24px; }
.service h3 { margin-bottom: 14px; }
.service-description { max-width: 44ch; color: var(--muted); }
.service-detail { margin-top: 10px; margin-bottom: 24px; color: var(--muted); font-size: .875rem; }
.service .button { margin-top: auto; }

.training { background: var(--dark); }
.training-layout, .about-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(28px, 6vw, 95px);
}

.photo-frame { position: relative; align-self: stretch; overflow: hidden; min-height: 440px; }
.photo-frame img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; }
.photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid #ffffff26;
  background: linear-gradient(0deg, #0a0a0c55, transparent 35%);
}

.training-visual { border-bottom: 3px solid var(--brand-red); }
.training-visual img { object-position: 50% 0; }
.training-copy h2 { max-width: 12ch; }
.training-copy h2 em, .about h2 em { display: block; }
.training-points { list-style: none; padding: 0; margin: 22px 0 0; }
.training-points li { display: grid; grid-template-columns: 27px 1fr; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.training-points li > .icon { color: var(--accent-strong); margin-top: 2px; }
.training-points h3 { margin-bottom: 6px; font: 700 1rem/1.35 var(--body); text-transform: none; }
.training-points p { color: var(--muted); font-size: .9375rem; }

.about { background: var(--surface); border-top: 1px solid var(--line); }
.about-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-areas: "intro portrait" "story portrait";
  grid-template-rows: auto 1fr;
  align-items: start;
  row-gap: 25px;
}

.about-intro { grid-area: intro; }
.about-cref {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 19px;
  padding: 6px 12px;
  border-left: 3px solid var(--brand-red);
  background: var(--dark);
  color: var(--muted);
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}

.about-cref strong { color: var(--text); }
.about-story {
  grid-area: story;
  display: grid;
  gap: 16px;
  max-width: 65ch;
  color: var(--muted);
}

.about-story p:first-child { color: var(--text); }
.about-visual {
  grid-area: portrait;
  align-self: start;
  min-height: 0;
  aspect-ratio: 4 / 5;
  border-bottom: 3px solid var(--brand-red);
  background: var(--dark);
}

.about-visual img { object-position: 50% 0; }

.closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(105deg, #9e0a16, #b6101d 65%, #9c0c17);
}

.closing::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-linear-gradient(117deg, transparent 0 28px, #ff5a5124 29px 30px, transparent 31px 58px);
  mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
}

.closing-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding-block: clamp(44px, 6vw, 82px);
}
.closing h2 { font-size: clamp(2.8rem, 5.8vw, 5.2rem); }
.closing h2 span { display: block; }
.closing .button { flex: none; }

.footer { background: var(--footer); color: var(--muted-dark); }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 22px; }
.back-top { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; }
.back-top .icon { width: 18px; height: 18px; }
.footer-agency {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
  font-size: .875rem;
}
.footer-agency p + p { margin-top: 3px; }
.footer-agency strong { color: var(--text); }
.footer-agency a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--text); }
.footer-agency a span { overflow-wrap: anywhere; }
.footer-agency .icon { width: 19px; height: 19px; color: var(--accent-strong); }
@media (max-width: 720px) {
  .footer-agency { flex-direction: column; align-items: flex-start; }
}
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; padding-block: 14px 19px; border-top: 1px solid var(--line); font-size: .75rem; }

@media (max-width: 980px) {
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 3px; }
  .hero-photo { right: -9%; }
}

@media (max-width: 880px) {
  :root { --header-height: 65px; }
  .nav-wrap { grid-template-columns: 1fr auto; gap: 10px 16px; }
  .brand img { width: 70px; }
  .header-contact { grid-column: 2; grid-row: 1; }
  .header nav { grid-column: 1 / -1; flex-wrap: wrap; gap: 6px 20px; }
  .with-menu .nav-wrap { grid-template-columns: 1fr auto auto; }
  .with-menu .menu-button {
    grid-column: 3;
    grid-row: 1;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--control-dark);
    background: transparent;
  }
  .menu-button span { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .18s; }
  .menu-button[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .with-menu .header nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--dark);
    border-bottom: 1px solid var(--control-dark);
  }
  .with-menu .header nav.open { display: flex; }
  .header nav a { min-height: 49px; }
}

@media (max-width: 720px) {
  .hero-layout { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding-block: 37px 6px; }
  .hero h1 { font-size: clamp(2.65rem, 11.8vw, 5.9rem); }
  .eyebrow { font-size: .6875rem; margin-bottom: 14px; letter-spacing: .17em; }
  .hero-tagline { margin-top: 16px; }
  .hero-description { font-size: .9375rem; }
  .hero-actions { margin-top: 20px; gap: 2px; }
  .hero-actions .button { justify-content: flex-start; }
  .hero-scroll { min-height: 42px; }
  .hero-visual { height: clamp(290px, 77vw, 500px); margin-inline: calc(-1 * var(--gutter)); }
  .hero-visual::before { inset: 0 0 0 -5%; }
  .hero-stripe, .hero-visual::after { inset: 0 -16% 0 6%; }
  .hero-photo { height: 105%; right: 50%; bottom: -8%; transform: translateX(52%); }
  .section { padding-block: 56px; }
  .service-grid, .training-layout, .about-layout { grid-template-columns: 1fr; }
  .about-layout { grid-template-areas: "intro" "portrait" "story"; grid-template-rows: auto; }
  .about-layout .about-visual { aspect-ratio: 1.07; max-height: 460px; }
  .service .button { justify-content: flex-start; }
  .training-copy { grid-row: 1; }
  .training-copy h2 { max-width: none; }
  .photo-frame { min-height: 0; aspect-ratio: 1.07; }
  .closing-layout { flex-direction: column; align-items: flex-start; gap: 22px; }
  .footer-main { align-items: flex-start; flex-wrap: wrap; column-gap: 16px; row-gap: 3px; }
}

@media (max-width: 390px) {
  .hero-actions .button, .closing .button, .service .button { width: 100%; gap: 8px; padding-inline: 12px; }
  .button .button-arrow { margin-left: auto; }

}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.header-number { display: none; }
@media (min-width: 1180px) {
  .header-number { display: inline; margin-left: 3px; color: var(--muted); white-space: nowrap; }
}

.motivation {
  background: #1b1014;
  border-bottom: 1px solid #56252c;
}

.motivation-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block: 0;
  padding: 0;
  list-style: none;
}

.motivation-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(5px, 1.7vw, 19px);
  min-height: 65px;
  padding: 10px 7px;
  font: italic 800 clamp(1.45rem, 2.7vw, 2.45rem)/.99 var(--display);
  text-transform: uppercase;
  text-align: center;
}

.motivation-list li + li { border-left: 1px solid #56252c; }
.motivation-list li::before {
  content: '';
  flex: 0 0 17px;
  height: 15px;
  background: linear-gradient(115deg, transparent 25%, var(--accent-strong) 25% 36%, transparent 36% 52%, var(--accent-strong) 52% 64%, transparent 64%);
}

.evolution {
  background:
    radial-gradient(ellipse at 76% 6%, #291218 0, transparent 51%),
    var(--dark);
  border-block: 1px solid var(--line);
}

.evolution-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(25px, 7vw, 112px);
}

.evolution-head h2 em { display: block; }
.evolution-head > p:not(.eyebrow) { max-width: 37ch; margin-top: 20px; color: var(--muted); }

.result-carousel {
  min-width: 0;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand-red);
  background: var(--surface);
}

.result-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px clamp(8px, 1.5vw, 18px);
  border-bottom: 1px solid var(--line);
}

.carousel-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 4px 6px;
  border: 1px solid transparent;
  background: transparent;
  font-size: .8125rem;
  font-weight: 700;
}
.carousel-toggle .icon { width: 18px; height: 18px; color: var(--accent-strong); }
.carousel-toggle:hover { color: var(--accent-strong); border-color: var(--line); }
.carousel-position { flex: none; font-size: .8125rem; color: var(--muted); }
.carousel-arrows { display: flex; gap: 5px; }

.result-slides {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.result-carousel.is-ready .result-slides { overflow: hidden; }
.result-card { display: grid; min-width: 0; scroll-snap-align: start; }
.result-card:focus-visible { outline-offset: -3px; }
.result-media {
  display: block;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 80%, #351519, #171315 68%, #101012);
}
.result-media img {
  width: 100%;
  height: clamp(420px, 43vw, 570px);
  object-fit: contain;
  transition: scale .35s;
}

@media (hover: hover) {
  .result-card:hover img { scale: 1.012; }
}

.result-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  padding: 9px clamp(12px, 1.6vw, 20px);
  border-top: 1px solid var(--line);
  font-size: .875rem;
  font-weight: 700;
}

.result-card:hover .result-action { color: var(--accent-strong); }
.result-action .icon { width: 17px; height: 17px; color: var(--accent-strong); }


.result-dialog {
  max-width: calc(100% - 24px);
  max-height: calc(100% - 24px);
  width: min(690px, 100%);
  padding: 0;
  border: 1px solid var(--control-dark);
  background: var(--dark);
  color: var(--text);
}

.result-dialog::backdrop { background: #050507e8; }
body:has(.result-dialog[open]) { overflow: hidden; }
.result-dialog-inner { display: grid; justify-items: stretch; gap: 10px; padding: clamp(8px, 2vw, 18px); }
.result-dialog-top, .result-dialog-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.result-dialog-top h2 { font-size: clamp(1.65rem, 5vw, 2.6rem); }
.result-dialog img {
  margin-inline: auto;
  display: block;
  width: 100%;
  height: min(72vh, 760px);
  height: min(72svh, 760px);
  object-fit: contain;
  background: #131313;
}

.result-dialog-controls p { font-weight: 700; font-size: .875rem; color: var(--muted); }
.icon-button {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--control-dark);
  background: var(--surface);
}
.icon-button:hover { border-color: var(--accent-strong); color: var(--accent-strong); }

.contact-panel {
  background: var(--dark);
  border-top: 1px solid var(--line);
  padding-block: clamp(52px, 6.2vw, 88px);
}

.contact-panel h2 { margin-bottom: clamp(24px, 3.2vw, 42px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.21fr); gap: 12px; }
.contact-card {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 18px;
  gap: clamp(8px, 1.1vw, 16px);
  align-items: center;
  min-height: 92px;
  padding: clamp(14px, 1.8vw, 24px);
  border: 1px solid var(--control-dark);
  background: var(--surface);
  transition: background .2s, border-color .2s;
}

.contact-card:hover { background: #26181d; border-color: var(--accent-strong); }
.contact-card .contact-icon { color: var(--accent-strong); width: 25px; height: 25px; }
.contact-card > .icon:last-child { width: 18px; height: 18px; }
.contact-card strong { display: block; font-size: clamp(.875rem, 1.35vw, 1.08rem); line-height: 1.4; overflow-wrap: anywhere; }
.contact-label { display: block; margin-bottom: 4px; color: var(--muted); font-size: .75rem; font-weight: 700; }
.closing p { margin-top: 17px; max-width: 48ch; color: #fff; }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { min-height: 73px; }
}

@media (max-width: 720px) {
  .motivation-list { width: 100%; }
  .motivation-list li { min-height: 59px; font-size: clamp(1.15rem, 4.5vw, 1.65rem); }
  .motivation-list li::before { display: none; }
  .evolution-layout { grid-template-columns: 1fr; }
  .result-media img { height: min(117vw, 520px); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy .eyebrow,
  .hero h1 > *,
  .hero-tagline,
  .hero-description,
  .hero-actions {
    animation: statement-in .65s cubic-bezier(.2, .7, .25, 1) backwards;
  }

  .hero h1 > :nth-child(1) { animation-delay: .07s; }
  .hero h1 > :nth-child(2) { animation-delay: .14s; }
  .hero h1 > :nth-child(3) { animation-delay: .23s; }
  .hero-tagline, .hero-description { animation-delay: .3s; }
  .hero-actions { animation-delay: .38s; }
  .hero-photo { animation: portrait-in .8s cubic-bezier(.2, .7, .25, 1) .08s backwards; }
  .hero-stripe { animation: stripe-in .8s cubic-bezier(.22, .8, .3, 1) backwards; }

  .in-view { animation: statement-in .54s cubic-bezier(.17, .65, .25, 1) backwards; }
  .service.in-view:nth-child(2), .contact-card.in-view:nth-child(2) { animation-delay: .08s; }
  .contact-card.in-view:nth-child(3) { animation-delay: .16s; }
  .motivation-list.in-view li { animation: statement-in .49s cubic-bezier(.17, .65, .25, 1) backwards; }
  .motivation-list.in-view li:nth-child(2) { animation-delay: .11s; }
  .motivation-list.in-view li:nth-child(3) { animation-delay: .22s; }
  .result-card.is-active .result-media img { animation: result-in .48s cubic-bezier(.22, .7, .3, 1) both; }
  .result-dialog[open] { animation: statement-in .24s ease-out; }
}

@keyframes statement-in {
  from { opacity: .3; translate: 0 16px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes portrait-in {
  from { opacity: 0; translate: 24px 0; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes stripe-in {
  from { opacity: .38; translate: 16% 0; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes result-in {
  from { opacity: .25; translate: 14px 0; }
  to { opacity: 1; translate: 0 0; }
}

.ebook-section { padding-block: clamp(36px, 5vw, 68px); background: var(--dark); }
.ebook-promo {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 26px 36px;
  padding: clamp(24px, 4.8vw, 60px);
  overflow: hidden;
  border: 1px solid #71373e;
  border-left: 4px solid var(--accent);
  background: linear-gradient(110deg, #211417, #2c131a 60%, #1b1115);
}
.ebook-promo::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-linear-gradient(116deg, transparent 0 25px, #ff556027 26px 27px, transparent 28px 55px);
  mask-image: linear-gradient(90deg, transparent 40%, #000 95%);
}
.ebook-promo h2 { font-size: clamp(2.55rem, 5.2vw, 4.9rem); }
.ebook-promo .eyebrow { color: var(--text); margin-bottom: 13px; }
.ebook-description { max-width: 50ch; margin-top: 12px; color: var(--muted); }

.questions { background: var(--background); border-block: 1px solid var(--line); }
.questions-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  grid-template-areas: "heading questions" "support questions";
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 24px clamp(28px, 7vw, 104px);
}
.questions-intro { grid-area: heading; }
.questions-intro em { display: block; }
.faq-list { grid-area: questions; border-top: 1px solid var(--control-dark); }
.faq-item { border-bottom: 1px solid var(--control-dark); }
.faq-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  align-items: center;
  gap: 15px;
  min-height: 63px;
  padding: 13px 6px 13px 0;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-strong); }
.faq-item p { max-width: 59ch; padding: 0 24px 17px 0; color: var(--muted); }
.faq-icon { position: relative; width: 22px; height: 22px; color: var(--accent-strong); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; top: 10px; left: 4px; width: 14px; height: 2px; background: currentColor; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { display: none; }

.student-support {
  grid-area: support;
  padding: 17px 21px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-red);
  background: var(--dark-panel);
}
.student-support h3 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.student-support p { margin-block: 9px 15px; max-width: 39ch; color: var(--muted); font-size: .9375rem; }
.student-support strong { color: var(--text); }
.student-support .button { min-height: 46px; padding-inline: 13px; }

@media (max-width: 720px) {
  .ebook-promo, .questions-layout { grid-template-columns: 1fr; }
  .ebook-promo .button { justify-self: start; }
  .questions-layout { grid-template-areas: "heading" "questions" "support"; grid-template-rows: auto; }
  .student-support .button { justify-content: flex-start; width: 100%; }
}
