:root {
  color-scheme: dark;
  --paper: #1c281f;
  --sage: #27362a;
  --khaki: #4d6050;
  --olive: #b3c3a9;
  --ink: #eef2e9;
  --muted: #cbd5c8;
  --hairline: #465548;
  --olive-hover: #d4e0cd;
  --interlude: #233026;
  --rain-shade: 22 33 25;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header: 72px;
  --gutter: clamp(20px, 5vw, 88px);
  --gap: clamp(28px, 4.2vw, 64px);
  --split: minmax(0, 5.2fr) minmax(0, 6.8fr);
  --sticky-top: clamp(96px, 17svh, 158px);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, ol { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
html:has(:focus-visible) { scroll-behavior: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; }
h1, h2, h3 { font-weight: 600; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1280px); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 5;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  color: var(--ink);
  background: var(--paper);
  padding: 12px 16px;
  border: 1px solid var(--olive);
  border-radius: 4px;
}
.skip-link:focus { transform: translateY(0); }

.nav {
  position: fixed;
  z-index: 3;
  top: 0;
  inset-inline: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
}
.nav__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: calc(var(--header) - 1px);
  gap: 20px;
}
.brand {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: var(--olive);
  border-radius: 5px;
}
.brand__mark::before {
  content: "";
  width: 14px;
  height: 11px;
  border: 1px solid var(--paper);
  background: linear-gradient(var(--paper), var(--paper)) no-repeat center 2px / 100% 1px;
}
.nav__links { display: flex; gap: clamp(12px, 2.5vw, 38px); }
.nav__links a, .nav__telegram, .to-top {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
}
.nav__telegram { justify-self: end; color: var(--olive); font-weight: 650; }
.nav__links a::after, .nav__telegram::after, .to-top::after {
  content: "";
  position: absolute;
  inset: auto 0 7px;
  height: 1px;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms var(--ease);
}
.nav__links a:is(:hover, :focus-visible, [aria-current])::after,
:is(.nav__telegram, .to-top):is(:hover, :focus-visible)::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding-block: calc(var(--header) + clamp(30px, 6.5svh, 88px)) clamp(36px, 8svh, 100px);
}
.hero__grid, .section__head, .scene-layout, .contact__layout {
  display: grid;
  grid-template-columns: var(--split);
  gap: var(--gap);
  min-width: 0;
}
.hero__grid { align-items: center; }
h1 { font-size: clamp(2.8rem, 5.05vw, 5.1rem); line-height: 1.005; letter-spacing: -.059em; }
h1 em {
  display: block;
  color: var(--olive);
  font: inherit;
  font-size: .88em;
  text-wrap: balance;
}

.hero__copy p, .section__head p, .scene-cue p, .contact p {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  line-height: 1.55;
}
.hero__copy p { margin-top: 24px; max-width: 36ch; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 52px;
  padding: 11px 22px;
  border-radius: 6px;
  background: var(--olive);
  color: var(--paper);
  font-size: 1rem;
  font-weight: 650;
  text-decoration: none;
  transition: background-color 180ms ease, transform 200ms var(--ease);
}
.btn:hover { background: var(--olive-hover); }
.hero .btn { margin-top: 30px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: translateY(1px); }
}

.film {
  display: grid;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--khaki);
  border-radius: 12px;
  background: var(--sage);
}
.film img, .film video {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  object-fit: cover;
}
.film--mockup :is(img, video) { filter: brightness(.79) saturate(.92); }
.film video { opacity: 0; pointer-events: none; }
.film.is-live video { opacity: 1; }

.section {
  display: grid;
  align-items: center;
  padding-block: clamp(66px, 10vw, 148px);
  border-top: 1px solid var(--hairline);
}
.services, .help, .contact { background: var(--sage); }
.section h2 {
  font-size: clamp(2.45rem, 5vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -.052em;
}
.section__head { align-items: end; margin-bottom: clamp(30px, 5svh, 60px); }
.section__head p { max-width: 43ch; }
.section__head strong { color: var(--ink); font-weight: 650; }
.scene-layout {
  grid-template-areas: "cues media";
  align-items: start;
}
.scene-layout .film { grid-area: media; }
.motion-enabled .scene-layout .film { position: sticky; top: var(--sticky-top); }
.scene-cues { grid-area: cues; }
.scene-cue {
  position: relative;
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: clamp(126px, 18svh, 198px);
  padding: 23px 12px 23px 0;
  border-top: 1px solid var(--hairline);
}
.scene-cue:last-child { border-bottom: 1px solid var(--hairline); }
.scene-cue[data-active] { border-top-color: var(--olive); }
.scene-cue h3 { font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.15; letter-spacing: -.036em; }
.scene-cue[data-active] h3 { color: var(--olive); }
.scene-cue p { max-width: 40ch; }

.interlude {
  display: grid;
  padding-block: clamp(58px, 9vw, 124px);
  background: var(--interlude);
  border-top: 1px solid var(--hairline);
}
.interlude p {
  max-width: 43ch;
  padding-inline-start: clamp(16px, 3vw, 45px);
  border-inline-start: 1px solid var(--olive);
  color: var(--olive);
  font-size: clamp(1.45rem, 3vw, 2.7rem);
  line-height: 1.26;
  letter-spacing: -.033em;
}
.process__layout, .faq__layout {
  display: grid;
  min-width: 0;
  gap: var(--gap);
}
.process {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: min(100svh, 960px);
}
.process__layout {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
}
.process__copy {
  grid-column: 2;
  text-shadow: 0 1px 12px rgb(var(--rain-shade) / .48);
}
.rain-panel { position: absolute; inset: 0; }
.rain-panel__film {
  position: absolute;
  inset: 0;
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
}
.rain-panel__film :is(img, video) { object-position: 42% center; }
.rain-panel::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgb(var(--rain-shade) / .32), transparent 36%),
    linear-gradient(90deg,
      rgb(var(--rain-shade) / .08) 0%,
      rgb(var(--rain-shade) / .14) 30%,
      rgb(var(--rain-shade) / .72) 51%,
      rgb(var(--rain-shade) / .82) 70%,
      rgb(var(--rain-shade) / .86) 100%);
}
.rain-panel__control {
  position: absolute;
  z-index: 3;
  top: clamp(22px, 3.5vw, 47px);
  left: max(var(--gutter), calc((100% - 1280px) / 2));
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: rgb(var(--rain-shade) / .88);
  border: 1px solid color-mix(in srgb, var(--olive) 58%, transparent);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 160ms ease;
}
.rain-panel__control:hover { background: var(--sage); }
.rain-panel__control:focus-visible,
.faq summary:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; }
.rain-panel__control[hidden] { display: none; }
.rain-panel__icon {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-block: 6px solid transparent;
  border-inline-start: 9px solid currentColor;
}
.rain-panel[data-playing] .rain-panel__icon {
  width: 10px;
  height: 12px;
  margin-left: 0;
  border-block: 0;
  border-inline: 3px solid currentColor;
}
[data-rain-label] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.process__copy > p, .steps p, .help__grid p, .faq__items p {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.58;
}
.process__copy > p { max-width: 53ch; margin-top: clamp(16px, 2vw, 25px); }
.steps {
  list-style: none;
  padding: 0;
  margin-top: 26px;
  counter-reset: step;
}
.steps li {
  position: relative;
  counter-increment: step;
  padding: 16px 0 16px 42px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 27%, transparent);
}
.steps li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--ink) 27%, transparent); }
.steps h3 { margin-bottom: 4px; font-size: clamp(1.125rem, 1.7vw, 1.42rem); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 0;
  color: var(--olive);
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}
.help__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(20px, 4vw, 56px);
}
.help__grid article { border-top: 1px solid var(--hairline); padding: 24px 0 32px; }
.help__grid h3 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  letter-spacing: -.026em;
}
.help__grid p { max-width: 36ch; }
.faq__layout { grid-template-columns: var(--split); align-items: start; }
.faq__items { border-bottom: 1px solid var(--hairline); }
.faq__items details { border-top: 1px solid var(--hairline); }
.faq__items summary {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 56px;
  padding: 16px 36px 16px 0;
  color: var(--ink);
  font-size: clamp(1.0625rem, 1.55vw, 1.32rem);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq__items summary::-webkit-details-marker { display: none; }
.faq__items summary::before, .faq__items summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 5px;
  width: 13px;
  height: 1px;
  background: var(--olive);
}
.faq__items summary::after { transform: rotate(90deg); transition: transform 160ms var(--ease); }
.faq__items details[open] summary::after { transform: rotate(0deg); }
.faq__items summary:hover, .faq__items details[open] summary { color: var(--olive); }
.faq__items p { max-width: 59ch; padding: 0 25px 20px 0; }
.contact { min-height: min(62svh, 620px); }
.contact__layout { align-items: end; }
.contact h2 { max-width: 14ch; }
.contact p { max-width: 42ch; }
.contact__body { display: grid; justify-items: start; gap: 24px; }
.closing { border-top: 1px solid var(--hairline); }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 70px;
  padding-block: 8px;
}
.footnote { color: var(--muted); font-size: .9rem; text-underline-offset: 4px; }
.footnote:hover { color: var(--olive); }

@keyframes enter {
  from { opacity: .84; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero__copy p, .hero .btn, .hero .film { animation: enter 620ms var(--ease) both; }
  .hero__copy p { animation-delay: 55ms; }
  .hero .btn { animation-delay: 100ms; }
  .hero .film { animation-delay: 80ms; }
}

@media (max-width: 1000px) and (min-width: 761px) {
  h1 { font-size: clamp(2.65rem, 5.3vw, 4.1rem); }
}
@media (max-width: 760px) {
  :root { --gap: 28px; --sticky-top: calc(var(--header) + 12px); }
  .hero__grid, .section__head, .scene-layout, .contact__layout { grid-template-columns: 1fr; }
  .process__layout, .faq__layout { grid-template-columns: minmax(0, 1fr); }
  .process__copy { grid-column: 1; }
  .rain-panel__film :is(img, video) { object-position: 34% center; }
  .rain-panel::after {
    background: linear-gradient(180deg,
      rgb(var(--rain-shade) / .08) 0%,
      rgb(var(--rain-shade) / .23) 12%,
      rgb(var(--rain-shade) / .79) 23%,
      rgb(var(--rain-shade) / .84) 45%,
      rgb(var(--rain-shade) / .91) 100%);
  }
  .help__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding-block: calc(var(--header) + 40px) 38px; }
  h1 { font-size: clamp(2.57rem, 8.25vw, 4.3rem); }
  h1 em { font-size: .96em; }
  .hero__copy p { margin-top: 18px; }
  .hero .btn { margin-top: 24px; }
  .section { align-items: start; min-height: auto; padding-block: clamp(54px, 10vw, 76px); }
  .process { padding-block-start: clamp(220px, 52vw, 290px); }
  .section__head { gap: 14px; }
  .scene-layout { display: flex; flex-direction: column; }
  .scene-cues { width: 100%; }
  .scene-layout .film { z-index: 1; }
  .scene-cue { min-height: clamp(132px, 20svh, 185px); }
  .steps li { padding-inline-start: 32px; }
  .contact__layout { gap: 18px; }
}
@media (max-width: 540px) {
  :root { --header: 92px; }
  .nav__bar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 46px 45px;
    gap: 0 10px;
  }
  .nav__links { grid-area: 2 / 1 / 3 / 3; justify-content: space-between; gap: 8px; }
  .nav__links a { font-size: .875rem; }
  .nav__telegram { grid-area: 1 / 2; }
  .btn { width: 100%; }
  .help__grid { grid-template-columns: 1fr; }
  .footer__inner { flex-wrap: wrap; column-gap: 16px; row-gap: 2px; }
  .footnote { order: 3; flex-basis: 100%; margin-bottom: 8px; }
}
@media (max-height: 530px) {
  .motion-enabled .scene-layout .film { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:is(:hover, :active) { transform: none; }
  .film video { display: none; }
  .motion-enabled .scene-layout .film { position: static; }
}

/* Compositions for the continuous grass film and service previews. */
.hero { min-height: min(90svh, 850px); padding-block: calc(var(--header) + 56px) 64px; }
.hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; }
.hero .film { border-radius: 8px; }
.section { padding-block: clamp(56px, 6.5vw, 96px); border-top: 0; }
.services { background: linear-gradient(var(--paper), var(--sage) 96px, var(--sage) calc(100% - 60px), var(--interlude)); }
.interlude { padding-block: 40px 64px; border-top: 0; }
.interlude p { max-width: 62ch; font-size: clamp(1.2rem, 2.3vw, 1.85rem); }
.service-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-card { min-width: 0; }
.service-card__preview { overflow: hidden; border-radius: 7px; background: #8a977e; border: 1px solid var(--khaki); }
.service-card__preview img { display: block; width: 100%; height: auto; transition: transform 550ms var(--ease); filter: brightness(.85) saturate(.75); }
.service-card:hover img { transform: scale(1.035) translateY(-2px); }
.service-card h3 { font-size: clamp(1.3rem, 1.85vw, 1.7rem); margin-top: 20px; margin-bottom: 10px; letter-spacing: -.035em; }
.service-card p, .help-intro { font-size: clamp(1rem, 1.3vw, 1.125rem); color: var(--muted); line-height: 1.55; }
.process { overflow: visible; min-height: 0; padding-block: 0; background: #263529; }
.process__layout { width: 100%; max-width: none; grid-template-columns: 3fr 2fr; gap: 0; }
.process__copy { grid-column: 2; padding: clamp(36px, 4.5vw, 70px) clamp(24px, 3vw, 54px); text-shadow: none; background: #263529; }
.process h2 { font-size: clamp(2.15rem, 3.55vw, 3.5rem); }
.process__copy > p { font-size: 1.0625rem; margin-top: 18px; }
.rain-panel { position: relative; min-width: 0; height: 100%; }
.rain-panel__film { height: 100%; }
.rain-panel__film :is(img, video) { object-position: 46% center; }
.rain-panel::after { background: linear-gradient(90deg, transparent 80%, #263529 100%); }
.rain-panel__control { top: auto; bottom: 22px; left: 24px; }
.steps { margin-top: 22px; }
.steps li { padding-block: 14px; padding-inline-start: 32px; }
.steps li::before { top: 17px; }
.steps h3 { font-size: 1.15rem; }
.steps p { font-size: 1rem; }
.help { background: linear-gradient(#263529, var(--sage) 180px, var(--sage) calc(100% - 60px), var(--paper)); padding-top: 44px; }
.help-intro { max-width: 66ch; margin-bottom: 28px; }
.help__grid article { padding: 20px 0 24px; }
.faq { background: linear-gradient(var(--paper), var(--paper) 80%, var(--sage)); }
.contact { min-height: 0; padding-block: 64px; }
@media (max-width: 1000px) and (min-width: 761px) {
  .process__layout { grid-template-columns: 3fr 2fr; }
  .process__copy { padding-inline: 22px; }
  .process h2 { font-size: 2.25rem; }
}
@media (max-width: 760px) {
  .hero { min-height: 0; padding-block: calc(var(--header) + 34px) 50px; }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .service-cards { grid-template-columns: 1fr; gap: 32px; }
  .service-card__preview { aspect-ratio: 16/9; }
  .service-card h3 { margin-top: 16px; }
  .process { padding-block: 0; }
  .process__layout { display: flex; flex-direction: column; }
  .rain-panel { width: 100%; height: auto; aspect-ratio: 16/10; }
  .rain-panel::after { background: linear-gradient(0deg, #263529, transparent 30%); }
  .process__copy { padding: 22px var(--gutter) 44px; }
  .process h2 { font-size: clamp(2.15rem, 7.7vw, 3rem); }
  .rain-panel__control { top: 16px; bottom: auto; left: var(--gutter); }
      .help { padding-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-card:hover img { transform: none; }
}

.rain-panel__control[data-playing] .rain-panel__icon { width:10px; height:12px; margin-left:0; border-block:0; border-inline:3px solid currentColor; } 
/* Cool gray palette follows the rain footage. */
:root {
  --paper: #222725;
  --sage: #303532;
  --khaki: #565f58;
  --olive: #bdc6bb;
  --ink: #eef0eb;
  --muted: #ccd2ca;
  --hairline: #4a534c;
  --olive-hover: #d6ddd2;
  --interlude: #2a302c;
  --rain-shade: 30 37 32;
}
.process, .process__copy { background: #2b322e; }
.rain-panel::after { background: linear-gradient(90deg, transparent 84%, #2b322e 100%); }
.help { background: linear-gradient(#2b322e, var(--sage) 130px, var(--sage) calc(100% - 60px), var(--paper)); padding-top: 64px; }
.help-title { max-width: 14ch; margin-bottom: 22px; }
@media (max-width: 760px) {
  .rain-panel::after { background: linear-gradient(0deg, #2b322e, transparent 30%); }
  .help { padding-top: 44px; }
}
