/* SERGEEW COACH. Visual language of V20 on the standalone prototype. */
@font-face {
  font-family:"IBM Plex Mono";
  src:url("assets/plex-mono-cyr.woff2") format("woff2");
  font-weight:400;
  font-display:swap;
  unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family:"IBM Plex Mono";
  src:url("assets/plex-mono-latin.woff2") format("woff2");
  font-weight:400;
  font-display:swap;
  unicode-range:U+0020-007F,U+00A0-00FF,U+2000-206F,U+2190-22FF;
}
:root {
  --ivory:#f8f7ee;
  --ink:#20231f;
  --blue:#30362d;
  --gold:#e4c78c;
  --gold-text:#735826;
  --muted:#51564c;
  --line:#d8d8cc;
  --night:#141613;
  --raised:#262b24;
  --dark-line:#494f44;
  --white-on-dark:#f7f7ee;
  --muted-on-dark:#d3d6ca;
  --lime:#dfff4f;
  --lime-hover:#ecff92;
  --mono:"IBM Plex Mono",monospace;
  --space:clamp(54px,8vw,116px);
  --round:25px;
}
.button {
  border-radius:999px;
  background:var(--lime);
  color:var(--night);
  border-color:var(--lime);
  min-height:48px;
}
.button:hover {
  background:var(--lime-hover);
  color:var(--night);
  border-color:var(--lime-hover);
}
.site-header {background:#f8f7eef7;}
.site-menu summary {border-radius:999px;}
.section h2 {
  font-size:clamp(2.55rem,5.4vw,5.15rem);
  letter-spacing:-.06em;
}
.hero {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:var(--night);
  color:var(--white-on-dark);
  border:0;
}
.hero-grid {
  grid-template-columns:minmax(0,1fr);
  align-items:end;
  min-height:clamp(630px,53vw,790px);
  padding-block:clamp(54px,8vw,120px) clamp(45px,6.8vw,106px);
}
.hero-copy {width:min(100%,800px);position:relative;z-index:1;}
.hero-author {font-size:1.02rem;color:var(--white-on-dark);}
.hero-author span {
  color:var(--gold);
  font:400 .76rem/1.55 var(--mono);
  margin-top:6px;
}
.hero h1 {
  font-size:clamp(4.15rem,8.3vw,8rem);
  line-height:.89;
  letter-spacing:-.075em;
  text-wrap:wrap;
}
.hero-title-line,.hero-title-accent {
  display:block;
  text-transform:uppercase;
}
.hero-title-accent {color:var(--lime);}
.hero-second {
  color:var(--white-on-dark);
  font-size:.38em;
  margin-top:19px;
  max-width:31ch;
}
.hero-intro {
  color:var(--muted-on-dark);
  font:400 clamp(.92rem,1.25vw,1.04rem)/1.63 var(--mono);
  max-width:52ch;
  margin-block:19px 22px;
}
.hero-photo {
  position:absolute;
  inset:0 0 0 22%;
  width:auto;
  height:auto;
  aspect-ratio:auto;
  z-index:-2;
  overflow:hidden;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:var(--night);
}
.hero-photo picture {display:block;width:100%;height:100%;}
.hero-photo img {width:100%;height:100%;object-fit:cover;object-position:63% 33%;}
.hero-photo::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,var(--night) 0%,#141613df 13%,#1416137e 36%,#14161313 73%),
             linear-gradient(0deg,#141613ed 0%,#14161319 58%,transparent 76%);
}
.hero-orbit {
  position:absolute;
  z-index:-1;
  width:min(76vw,1110px);
  aspect-ratio:2 / 1;
  top:15%;
  right:-10%;
  opacity:.61;
  border:1px solid #dfc58e81;
  border-radius:50%;
  transform:rotate(-19deg);
  pointer-events:none;
}
.hero-orbit i {position:absolute;width:7px;aspect-ratio:1;border-radius:50%;background:var(--lime);}
.hero-orbit i:first-child {top:12%;right:16%;}
.hero-orbit i:last-child {bottom:16%;left:13%;}
.hero :is(a,button):focus-visible {outline-color:var(--lime);}
.motion-play {
  position:absolute;
  z-index:2;
  right:var(--gutter);
  top:21px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 13px;
  min-height:40px;
  border:1px solid #ffffff74;
  border-radius:999px;
  background:#141613be;
  color:var(--white-on-dark);
  font:400 .69rem/1.35 var(--mono);
  cursor:pointer;
}
.motion-play[hidden] {display:none;}
.motion-play::before {
  content:"";
  border-left:8px solid var(--lime);
  border-block:4px solid transparent;
}
.motion-play:hover {border-color:var(--lime);background:var(--night);}
.about {background:#fffdf6;}
.about-photo {border-radius:var(--round);}
.credentials {gap:12px 19px;}
.credentials dt {font-weight:800;}
.credentials dd {font:400 .79rem/1.55 var(--mono);}
.section-label {font:400 .8rem/1.5 var(--mono);color:var(--gold);}
.product-grid,.case-grid {gap:clamp(14px,2.6vw,36px);}
.product {
  border-radius:var(--round);
  box-shadow:none;
  background:#fffdf8;
}
.product-image {aspect-ratio:1.9;}
.product-image img {filter:none;object-position:center;}
.product-copy {padding:clamp(16px,2.2vw,30px);}
.product-copy h3 {min-height:0;}
.product-copy>p:not(.status) {min-height:0;}
.status {font:400 .72rem/1.35 var(--mono);color:var(--night);background:var(--lime);border-color:var(--lime);}
.status.muted {background:#efede3;border-color:var(--line);color:#50534a;}
.cover-peptides {
  background:linear-gradient(130deg,#171916,#292f23);
}
.cover-peptides span {border-color:#dfff4f8f;}
.cover-gym {background:linear-gradient(155deg,#292f23,#131511 80%);}
.cover-gym span {border-color:#dfff4f73;background:linear-gradient(90deg,#272d23,#454f32 52%,#1f261b);}
.results {background:var(--night);color:var(--white-on-dark);}
.case {background:var(--raised);border-color:var(--dark-line);border-radius:var(--round);}
.case-featured {border-color:#b99a61;}
.case figcaption {padding:14px 16px 19px;}
.case small {color:var(--muted-on-dark);font:400 .78rem/1.5 var(--mono);}
.case-metrics b {color:var(--lime);}
.case-image.after span {background:var(--lime);color:var(--night);}
.contact {background:#edede4;color:var(--ink);}
.contact .section-label {color:var(--gold-text);}
.contact .gold {color:var(--gold-text);}
.contact p:not(.section-label):not(.form-status):not(.preview-note) {color:var(--muted);}
.application {border:1px solid var(--line);border-radius:var(--round);background:#fffdf8;}
.application .button {border-color:var(--night);background:var(--night);color:var(--white-on-dark);}
.application .button:hover {background:var(--lime);color:var(--night);border-color:var(--lime);}
.site-footer {background:var(--ivory);}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .product-image img {transition:transform .55s cubic-bezier(.15,.7,.23,1);}
  .product:is(:hover,:focus-within) .product-image img {transform:scale(1.045);}
}
@media (prefers-reduced-motion:no-preference) {
  .hero-orbit {animation:orbit-in 3s cubic-bezier(.17,.7,.22,1) both;}
  .hero-orbit i {animation:point-in 2.2s .45s ease-out both;}
  .hero-photo img {animation:cover-in 2s cubic-bezier(.18,.7,.24,1) both;}
  .motion-in-view {animation:section-in .65s cubic-bezier(.2,.65,.28,1) both;}
}
.hero.motion-replay .hero-orbit {animation:orbit-in 3s cubic-bezier(.17,.7,.22,1) both;}
.hero.motion-replay .hero-orbit i {animation:point-in 2.2s .45s ease-out both;}
.hero.motion-replay .hero-photo img {animation:cover-in 2s cubic-bezier(.18,.7,.24,1) both;}
.hero.motion-reset :is(.hero-orbit,.hero-orbit i,.hero-photo img) {animation:none;}
@keyframes orbit-in {
  from {opacity:0;transform:translate(4%,6%) rotate(-42deg) scale(.91);}
  to {opacity:.61;transform:translate(0,0) rotate(-19deg) scale(1);}
}
@keyframes point-in {
  0% {opacity:0;transform:translate(-28px,13px) scale(.3);}
  70% {opacity:1;transform:scale(1.3);}
  100% {opacity:1;transform:scale(1);}
}
@keyframes cover-in {from {transform:scale(1.06);} to {transform:scale(1);}}
@keyframes section-in {from {opacity:.6;transform:translateY(12px);} to {opacity:1;transform:translateY(0);}}
@media(max-width:760px) {
  :root {--space:46px;--round:19px;}
  .hero-grid {min-height:0;padding-block:clamp(228px,65vw,430px) 34px;}
  .hero-photo {inset:0;}
  .hero-photo picture {height:77%;}
  .hero-photo img {object-position:51% 13%;}
  .hero-photo::after {background:linear-gradient(0deg,var(--night) 18%,#141613fb 31%,#141613c5 47%,#14161328 69%,transparent 86%);}
  .hero-orbit {width:102vw;top:14%;right:-22%;}
  .hero h1 {font-size:clamp(2.55rem,10.7vw,5rem);margin-top:16px;line-height:.91;}
  .hero-author {margin-bottom:0;font-size:.92rem;}
  .hero-author span {font-size:.69rem;}
  .hero-second {margin-top:14px;font-size:.5em;}
  .hero-intro {margin-block:13px 17px;font-size:.87rem;}
  .section h2 {font-size:clamp(2.25rem,9.5vw,4.25rem);}
  .motion-play {font-size:.63rem;top:13px;min-height:36px;}
}
@media(max-width:350px) {
  .hero h1 {font-size:2.32rem;}
  .hero-grid {padding-top:215px;}
}

.unified-home .hero h1 {
  font-size:clamp(3.55rem,6.4vw,6.35rem);
  line-height:.96;
}
.home-hero-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 20px;
}
.home-proof-link {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:var(--white-on-dark);
  font-weight:700;
}
.home-proof-link:hover {color:var(--lime);}
.unified-home .hero :focus-visible {outline-color:var(--lime);}
.contact-email-link {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  margin-top:10px;
  color:var(--gold-text);
  font-weight:700;
}
@media(max-width:760px) {
  .unified-home .hero h1 {font-size:clamp(2.45rem,8.55vw,4.1rem);}
}
@media(max-width:365px) {
  .unified-home .hero h1 {font-size:2.3rem;}
}
