/* Native CSS brand poster. DESIGN_VARIANCE: 6, MOTION_INTENSITY: 4,
   VISUAL_DENSITY: 2. Alternating left/right footprints follow the curve in walking order. */
@font-face {
  font-family: "Golos Text";
  src: url("assets/fonts/golostext/GolosText[wght].ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/sourcesans3/SourceSans3[wght].ttf") format("truetype");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
/* Палитра предварительная: #646D43 и #DBCFB4, цвета ещё не утверждены. */
:root {
  color-scheme: light;
  --sand: #DBCFB4;
  --forest: #646D43;
  --forest-hover: #646D43;
  --ink: #000000;
  --muted: #000000;
  --sage: #646D43;
  --cream: #FFFFFF;
  --inset: clamp(32px, 4.5vw, 88px);
}
* { box-sizing: border-box; }
html { min-width: 280px; background: var(--sand); }
body {
  margin: 0;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  isolation: isolate;
  background: var(--sand);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { color: var(--cream); background: var(--forest); }
/* Layer -1 is decorative. Page content is at the normal stacking level. */
.background { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; background: #ffffff; }
.background::before { content: ""; position: absolute; inset: 68% 0 0; background: var(--sand); mask: url("assets/beige-shape.svg") center / 100% 100% no-repeat; -webkit-mask: url("assets/beige-shape.svg") center / 100% 100% no-repeat; }
.landscape {
  position: absolute;
  inset: 0;
  background: var(--forest);
  mask: url("assets/green-shape.svg") center / 100% 100% no-repeat;
  -webkit-mask: url("assets/green-shape.svg") center / 100% 100% no-repeat;
}
.giant-paw {
  position: absolute;
  width: clamp(330px, 39vw, 670px);
  aspect-ratio: 1;
  right: -3vw;
  bottom: 2%;
  background: #DBCFB4;
  opacity: .43;
  transform: rotate(-20deg);
  mask: url("assets/icons/paw.svg") center / contain no-repeat;
  -webkit-mask: url("assets/icons/paw.svg") center / contain no-repeat;
}
.tracks { position: absolute; inset: 0; }
/* Steps advance along the path; two narrow lanes alternate left and right.
   Placement and rotation live on the wrapper so animation cannot move a print. */
.footstep { position: absolute; width: var(--paw-size); height: var(--paw-size); }
.print {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--sage);
  opacity: .18;
  mask: url("assets/icons/paw.svg") center / contain no-repeat;
  -webkit-mask: url("assets/icons/paw.svg") center / contain no-repeat;
}
.print.right { scale: -1 1; }
.brand {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: clamp(36px, 6vh, 68px) var(--inset) 0;
  width: fit-content;
}
.brand-mark { color: var(--forest); display: flex; }
.brand-mark img { display: block; width: clamp(60px, 5.6vw, 84px); height: clamp(60px, 5.6vw, 84px); object-fit: contain; }
.icon { display: inline-block; flex: 0 0 auto; background: currentColor; }
.icon-paw {
  width: clamp(56px, 5.2vw, 78px);
  height: clamp(56px, 5.2vw, 78px);
  mask: url("assets/icons/paw.svg") center / contain no-repeat;
  -webkit-mask: url("assets/icons/paw.svg") center / contain no-repeat;
}
.brand-name { color: var(--forest); font-family: "Golos Text", sans-serif; font-weight: 400; font-size: clamp(28px, 2.8vw, 43px); line-height: 1.18; letter-spacing: -.05em; }
.brand-description { margin: 5px 0 0; font-size: clamp(15px, 1.5vw, 22px); line-height: 1.4; color: var(--muted); }
.opening { align-self: center; padding: 52px var(--inset) 62px; width: fit-content; max-width: 69%; }
.headline { font-family: "Golos Text", sans-serif; font-weight: 700; font-size: clamp(88px, 12vw, 186px); line-height: .96; letter-spacing: -.045em; margin: 0 0 38px; }
.headline span { display: block; }
.telegram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 74px;
  padding: 19px 30px;
  border-radius: 999px;
  color: var(--cream);
  background: var(--forest);
  font-size: clamp(17px, 1.5vw, 23px);
  line-height: 1.4;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s ease, transform .25s ease;
}
.icon-telegram { width: 32px; height: 32px; mask: url("assets/icons/brand-telegram.svg") center / contain no-repeat; -webkit-mask: url("assets/icons/brand-telegram.svg") center / contain no-repeat; transition: transform .25s ease; }
.telegram-link:focus-visible { outline: 2px solid var(--forest); outline-offset: 6px; }
.telegram-link:active { transform: scale(.98); }
.footer { display: grid; gap: 7px; padding: 0 var(--inset) 32px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.footer-row { display: flex; align-items: flex-start; gap: 9px; }
.footer-icon { display: block; flex: 0 0 auto; color: var(--forest); margin-top: 2px; }
@media (hover: hover) {
  .telegram-link:hover { transform: translateY(-3px); background: var(--forest-hover); }
  .telegram-link:hover .icon-telegram { transform: translate(3px, -3px); }
}
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: reveal .8s cubic-bezier(.22, 1, .36, 1) backwards; }
  .headline { animation-delay: .12s; }
  .telegram-link { animation-delay: .24s; }
  .print { animation: footprint .55s ease-out backwards; animation-delay: calc(.4s + var(--step) * .19s); }
  .landscape { animation: landscape 1s cubic-bezier(.22, 1, .36, 1) backwards; }
  @keyframes reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes footprint { from { opacity: 0; transform: scale(.82); } }
  @keyframes landscape { from { opacity: 0; transform: translateX(26px); } }
}
@media (prefers-reduced-motion: reduce) { .telegram-link, .icon-telegram { transition: none; } }
@media (max-width: 1023px) and (min-width: 768px) {
  .brand { gap: 14px; }
  .opening { padding-top: 40px; padding-bottom: 48px; max-width: 73%; }
  .telegram-link { min-height: 64px; padding: 16px 23px; gap: 12px; }
  .icon-telegram { width: 27px; height: 27px; }
}
@media (max-width: 767px) {
  :root { --inset: 26px; }
  body { grid-template-rows: auto auto 1fr; }
  .brand { padding-top: 34px; gap: 12px; }
  .brand-name { font-size: clamp(24px, 5.6vw, 35px); letter-spacing: -.055em; }
  .brand-description { font-size: 14px; }
  .icon-paw { width: 48px; height: 48px; }
  .brand-mark img { width: 60px; height: 60px; }
  .opening { width: 100%; max-width: none; align-self: start; padding-top: clamp(60px, 12vh, 110px); padding-bottom: 112px; }
  .headline { font-size: clamp(58px, 16.5vw, 104px); margin-bottom: 30px; line-height: 1; letter-spacing: -.04em; }
  .telegram-link { font-size: 15px; min-height: 60px; gap: 12px; padding: 15px 21px; }
  .icon-telegram { width: 25px; height: 25px; }
  .landscape { inset: auto -3% -55px auto; width: 103%; height: clamp(280px, 44vh, 390px); mask-image: url("assets/green-shape-mobile.svg"); -webkit-mask-image: url("assets/green-shape-mobile.svg"); }
  .giant-paw { width: 270px; right: -5%; bottom: 3%; opacity: .34; }
  .print { opacity: .15; }
  .footer { align-self: start; padding-bottom: 24px; font-size: 12px; gap: 6px; }
  .footer-icon { width: 16px; height: 16px; }
}
@media (max-width: 359px) {
  :root { --inset: 20px; }
  .brand { gap: 9px; }
  .brand-name { font-size: 22px; }
  .brand-description { font-size: 12px; }
  .icon-paw { width: 42px; height: 42px; }
  .brand-mark img { width: 48px; height: 48px; }
  .headline { font-size: 56px; }
  .opening { padding-bottom: 88px; }
  .telegram-link { font-size: 14px; padding-inline: 17px; }
}
@media (max-height: 700px) and (min-width: 768px) {
  .brand { padding-top: 26px; }
  .headline { font-size: clamp(84px, 9.6vw, 126px); margin-bottom: 26px; }
  .opening { padding-top: 30px; padding-bottom: 30px; }
  .footer { padding-bottom: 20px; }
}
@media (max-height: 660px) and (max-width: 767px) {
  .opening { padding-top: 46px; padding-bottom: 58px; }
  .landscape { height: 270px; bottom: -70px; }
  .giant-paw { width: 210px; }
}
