:root {
  --bg: #040606;
  --text: #f3f5f4;
  --muted: #a9b0ae;
  --accent: #78d6dc;
  --accent-soft: rgba(120, 214, 220, 0.18);
  --line: rgba(255, 255, 255, 0.13);
  --safe-top: max(24px, env(safe-area-inset-top));
  --safe-right: max(24px, env(safe-area-inset-right));
  --safe-bottom: max(22px, env(safe-area-inset-bottom));
  --safe-left: max(24px, env(safe-area-inset-left));
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.splash {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 30%, rgba(78, 129, 130, 0.07), transparent 30%),
    linear-gradient(115deg, #020303 0%, #070909 72%, #030404 100%);
}

.splash__photo,
.splash__veil,
.splash__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.splash__photo {
  z-index: -4;
  background-image: url("assets/evgeny-ross.jpg");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: auto 100%;
  filter: saturate(0.82) contrast(1.03);
  animation: reveal-photo 1.4s cubic-bezier(.2,.8,.2,1) both;
}

.splash__veil {
  z-index: -3;
  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.02) 0%,
      rgba(0, 0, 0, 0.02) 36%,
      rgba(3, 5, 5, 0.48) 53%,
      rgba(3, 5, 5, 0.94) 72%,
      #030505 100%),
    linear-gradient(180deg, rgba(0,0,0,.28), transparent 30%, rgba(0,0,0,.34));
}

.splash__grain {
  z-index: 4;
  opacity: 0.12;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}

.header {
  position: absolute;
  z-index: 2;
  top: var(--safe-top);
  left: var(--safe-left);
  right: var(--safe-right);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo {
  display: block;
  width: clamp(138px, 12vw, 205px);
  height: auto;
  opacity: 0.94;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 18px rgba(80, 210, 218, 0.16));
}

.header__domain {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100% - 48px));
  margin-left: clamp(54%, 61vw, 66%);
  padding-top: clamp(185px, 22vh, 270px);
  padding-bottom: 120px;
  animation: reveal-copy 1s .18s cubic-bezier(.2,.8,.2,1) both;
}

.hero__eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.78;
}

.hero__title span,
.hero__title strong {
  display: block;
}

.hero__title span {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(52px, 5.4vw, 96px);
  font-weight: 400;
}

.hero__title strong {
  margin-top: 0.18em;
  color: #fff;
  font-size: clamp(76px, 8.1vw, 146px);
  font-weight: 400;
}

.hero__rule {
  width: 76px;
  height: 1px;
  margin: 42px 0 28px;
  background: linear-gradient(90deg, var(--accent), transparent);
  box-shadow: 0 0 14px var(--accent-soft);
}

.hero__status {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero__text {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.7;
}

.hero__signature {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 34px;
  padding: 0 16px;
  border: 1px solid rgba(120, 214, 220, 0.28);
  border-radius: 999px;
  background: rgba(5, 10, 10, 0.38);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  color: rgba(221, 250, 251, 0.88);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
}

.hero__signature a {
  color: var(--accent);
  text-decoration: none;
}

.footer {
  position: absolute;
  z-index: 2;
  left: var(--safe-left);
  right: var(--safe-right);
  bottom: var(--safe-bottom);
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.58;
}

@keyframes reveal-photo {
  from { opacity: 0; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes reveal-copy {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .splash__photo {
    background-position: -90px bottom;
  }

  .splash__veil {
    background:
      linear-gradient(90deg, rgba(0,0,0,.03), rgba(3,5,5,.2) 33%, rgba(3,5,5,.9) 67%, #030505 100%),
      linear-gradient(180deg, rgba(0,0,0,.2), transparent 35%, rgba(0,0,0,.4));
  }

  .hero {
    width: calc(48% - 40px);
    margin-left: 52%;
  }
}

@media (max-width: 720px) {
  .splash {
    display: flex;
    align-items: flex-end;
  }

  .splash__photo {
    background-size: auto 74%;
    background-position: 24% top;
    filter: saturate(0.78) contrast(1.04);
  }

  .splash__veil {
    background:
      linear-gradient(180deg,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.06) 29%,
        rgba(3, 5, 5, 0.58) 53%,
        #030505 72%,
        #030505 100%),
      linear-gradient(90deg, rgba(0,0,0,.16), transparent 62%);
  }

  .header {
    align-items: flex-start;
  }

  .header__logo {
    width: 148px;
  }

  .header__domain {
    max-width: 90px;
    text-align: right;
    line-height: 1.6;
  }

  .hero {
    width: 100%;
    margin: 0;
    padding: 52vh var(--safe-right) 92px var(--safe-left);
  }

  .hero__eyebrow {
    margin-bottom: 13px;
  }

  .hero__title {
    line-height: 0.83;
  }

  .hero__title span {
    font-size: clamp(48px, 15vw, 70px);
  }

  .hero__title strong {
    font-size: clamp(70px, 23vw, 108px);
  }

  .hero__rule {
    margin: 30px 0 22px;
  }

  .hero__text {
    max-width: 34rem;
    line-height: 1.55;
  }

  .hero__signature {
    margin-top: 24px;
  }

  .footer {
    font-size: 8px;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 420px) {
  .hero {
    padding-top: 49vh;
  }

  .hero__text {
    max-width: 300px;
  }

  .footer span:last-child,
  .footer__dot {
    display: none;
  }
}

@media (max-height: 650px) and (min-width: 721px) {
  .header {
    top: 14px;
  }

  .header__logo {
    width: 130px;
  }

  .hero {
    padding-top: 116px;
    padding-bottom: 70px;
  }

  .hero__rule {
    margin: 26px 0 20px;
  }

  .hero__signature {
    margin-top: 22px;
  }

  .footer {
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 720px) and (max-height: 740px) {
  .hero {
    padding-top: 43vh;
    padding-bottom: 72px;
  }

  .hero__title span {
    font-size: clamp(43px, 13vw, 60px);
  }

  .hero__title strong {
    font-size: clamp(64px, 20vw, 90px);
  }

  .hero__rule {
    margin: 22px 0 18px;
  }

  .hero__signature {
    margin-top: 18px;
  }
}
