/* ── DESIGN TOKENS ── */
:root {
  --paper: #F5F1EE;
  --paper-mid: #E8E3DF;
  --ink: #1C1917;
  --ink-dim: rgba(28, 25, 23, 0.55);
  --ink-light: rgba(28, 25, 23, 0.72);
  --granite: #847E89;
  --line: rgba(28, 25, 23, 0.10);
  --line-paper: rgba(245, 241, 238, 0.12);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}

/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ── SELECTION ── */
::selection {
  background: var(--granite);
  color: #fff;
}

/* ── HEADER / NAV ── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 48px;
  height: 64px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, border-color 0.3s;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover .logo-img {
  transform: rotate(20deg);
}

.logo-wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

nav a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color 0.2s;
}

nav a:hover {
  color: var(--ink);
}

.nav-cta {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: 9px 20px;
  transition: background 0.2s, color 0.2s;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 900px) {
  nav ul {
    display: none;
  }

  header {
    padding: 0 24px;
  }
}

/* ── SECTION SHELL ── */
section {
  position: relative;
}

.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 600px) {
  .inner {
    padding: 0 24px;
  }
}

/* ── EYEBROW LABEL ── */
.eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: '//';
  font-size: 10px;
  color: var(--ink-dim);
}

.eyebrow-light {
  color: rgba(245, 241, 238, 0.45);
}

.eyebrow-light::before {
  color: rgba(245, 241, 238, 0.45);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--paper);
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: grayscale(85%) contrast(115%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Subtle radial gradient overlay to guarantee 100% legibility on copy while keeping video ambient */
  background:
    radial-gradient(ellipse 70% 60% at 25% 45%, rgba(245, 241, 238, 0.92) 0%, rgba(245, 241, 238, 0.76) 55%, rgba(245, 241, 238, 0.68) 100%),
    linear-gradient(rgba(28, 25, 23, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 25, 23, 0.07) 1px, transparent 1px);
  background-size: auto, 80px 80px, 80px 80px;
  background-position: center, top left, top left;
}

.hero-left {
  padding: 120px 48px 120px 48px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 6.5vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  color: var(--ink);
}

.hero h1 em {
  font-style: italic;
  color: var(--granite);
}

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-light);
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.btn-primary {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 16px 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: #3a3330;
  transform: translateY(-1px);
}

.btn-ghost {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color 0.2s;
}

.btn-ghost:hover {
  color: var(--ink);
}

.hero-right {
  padding: 120px 48px 120px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-stat .num {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}

.hero-stat .label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-left {
    padding: 100px 24px 48px;
  }

  .hero-right {
    padding: 0 24px 80px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
  }
}

/* ── ABOUT (dark ink) ── */
.about {
  background: var(--ink);
  color: var(--paper);
  padding: 120px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
  align-items: start;
}

.about-col {
  padding: 0 64px;
}

.about-col:first-child {
  padding-left: 0;
}

.about-col:last-child {
  padding-right: 0;
}

.about-divider {
  background: rgba(245, 241, 238, 0.12);
  align-self: stretch;
}

.about h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.15;
  margin-top: 20px;
  margin-bottom: 24px;
}

.accent-rule {
  width: 40px;
  height: 1px;
  background: var(--granite);
  margin-bottom: 28px;
}

.about p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(245, 241, 238, 0.65);
  line-height: 1.8;
  margin-bottom: 16px;
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-divider {
    display: none;
  }

  .about-col {
    padding: 0 0 48px;
  }

  .about-col:first-child {
    padding-left: 0;
  }
}

/* ── PROCESS (paper) ── */
.process {
  background: var(--paper);
  padding: 120px 0;
}

.process-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: end;
  gap: 48px;
  margin-bottom: 64px;
}

.process h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  grid-column: 2;
}

.process-eyebrow {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  padding-bottom: 8px;
}

.process-rule {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--line);
  margin-bottom: 0;
}

.process-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.process-col {
  padding: 48px 40px 48px 0;
  border-right: 1px solid var(--line);
  position: relative;
}

.process-col:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 40px;
}

.process-col:nth-child(2) {
  padding-left: 40px;
}

.process-num {
  font-family: var(--serif);
  font-size: 80px;
  font-weight: 300;
  line-height: 1;
  color: var(--paper-mid);
  margin-bottom: 24px;
  display: block;
}

.process-col h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--ink);
}

.process-col p {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.8;
}

@media (max-width: 860px) {
  .process-header {
    grid-template-columns: 1fr;
  }

  .process h2 {
    grid-column: 1;
  }

  .process-eyebrow {
    grid-row: auto;
  }

  .process-cols {
    grid-template-columns: 1fr;
  }

  .process-col {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 40px 0;
  }

  .process-col:last-child {
    padding-left: 0;
    border-bottom: none;
  }

  .process-col:nth-child(2) {
    padding-left: 0;
  }
}

/* ── SERVICES (paper-mid) ── */
.services {
  background: var(--paper-mid);
  padding: 120px 0;
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: end;
  gap: 48px;
  margin-bottom: 64px;
}

.services h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  grid-column: 2;
}

.services-eyebrow {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  padding-bottom: 8px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

.service-card {
  padding: 44px 36px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: transparent;
  transition: background 0.25s;
}

.service-card:last-child {
  border-right: none;
}

.service-card:hover {
  background: rgba(28, 25, 23, 0.04);
}

.service-icon {
  width: 36px;
  height: 36px;
  color: var(--granite);
  flex-shrink: 0;
}

.service-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
}

.service-card p {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.8;
  flex-grow: 1;
}

.service-link {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--granite);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.service-card:hover .service-link {
  gap: 10px;
}

@media (max-width: 860px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .service-card:last-child {
    border-bottom: none;
  }

  .services-header {
    grid-template-columns: 1fr;
  }

  .services h2 {
    grid-column: 1;
  }
}

/* ── PLANS (dark ink) ── */
.work {
  background: var(--ink);
  color: var(--paper);
  padding: 120px 0;
}

.work-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: end;
  gap: 48px;
  margin-bottom: 64px;
}

.work h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  grid-column: 2;
  color: var(--paper);
}

.work-eyebrow {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  padding-bottom: 8px;
}

.work-rule {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--line-paper);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line-paper);
  margin-top: 64px;
}

.work-card {
  padding: 44px 36px;
  border-right: 1px solid var(--line-paper);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.work-card:last-child {
  border-right: none;
}

.work-card.featured {
  background: rgba(245, 241, 238, 0.04);
}

.work-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--granite);
}

.work-tier {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 241, 238, 0.45);
  margin-bottom: 24px;
}

.work-price {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  color: var(--paper);
  line-height: 1;
  margin-bottom: 6px;
}

.work-period {
  font-size: 12px;
  font-weight: 300;
  color: rgba(245, 241, 238, 0.45);
  margin-bottom: 4px;
}

.work-media {
  font-size: 12px;
  font-weight: 300;
  color: rgba(245, 241, 238, 0.45);
  margin-bottom: 36px;
}

.work-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
  margin-bottom: 40px;
}

.work-features li {
  font-size: 13px;
  font-weight: 300;
  color: rgba(245, 241, 238, 0.65);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.work-features li::before {
  content: '—';
  color: rgba(245, 241, 238, 0.30);
  flex-shrink: 0;
  line-height: 1.6;
}

.work-cta {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border: 1px solid rgba(245, 241, 238, 0.25);
  padding: 13px 20px;
  text-align: center;
  color: rgba(245, 241, 238, 0.75);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  display: block;
}

.work-cta:hover {
  border-color: var(--paper);
  color: var(--paper);
}

.work-cta.featured-cta {
  background: var(--granite);
  border-color: var(--granite);
  color: #fff;
}

.work-cta.featured-cta:hover {
  background: #736d77;
  border-color: #736d77;
}

@media (max-width: 860px) {
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card {
    border-right: none;
    border-bottom: 1px solid var(--line-paper);
  }

  .work-card:last-child {
    border-bottom: none;
  }

  .work-header {
    grid-template-columns: 1fr;
  }

  .work h2 {
    grid-column: 1;
  }
}

/* ── CONTACT (paper) ── */
.contact {
  background: var(--paper);
  padding: 120px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  margin-top: 20px;
  margin-bottom: 48px;
}

.contact-detail {
  margin-bottom: 20px;
}

.contact-detail span {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--granite);
  margin-bottom: 4px;
}

.contact-detail strong {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
}

.field {
  margin-bottom: 28px;
}

.field label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--granite);
  display: block;
  margin-bottom: 10px;
}

.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  padding: 10px 0;
  outline: none;
  transition: border-color 0.2s;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--ink);
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ── FOOTER ── */
footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer .foot-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.foot-logo .logo-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.foot-logo:hover .logo-img {
  transform: rotate(20deg);
}

.foot-logo .logo-wordmark {
  font-size: 14px;
}

footer .foot-links {
  display: flex;
  gap: 32px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

footer .foot-links a:hover {
  color: var(--ink);
}

footer .copyright {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  color: var(--ink-dim);
  letter-spacing: 0.06em;
}

@media (max-width: 600px) {
  footer {
    padding: 24px;
  }

  footer .foot-links {
    display: none;
  }
}


/* ── 404 ERROR PAGE ── */
body.page-404 {
  height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  background: linear-gradient(90deg, rgba(47, 54, 64, 1) 23%, rgba(24, 27, 32, 1) 100%);
  font-family: var(--serif);
}

.moon {
  background: linear-gradient(90deg, rgba(208, 208, 208, 1) 48%, rgba(145, 145, 145, 1) 100%);
  position: absolute;
  top: -100px;
  left: -300px;
  width: 900px;
  height: 900px;
  border-radius: 100%;
  box-shadow: 0px 0px 30px -4px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.moon__crater {
  position: absolute;
  border-radius: 100%;
  background: linear-gradient(90deg, rgba(122, 122, 122, 1) 38%, rgba(195, 195, 195, 1) 100%);
  opacity: 0.6;
}

.moon__crater1 {
  top: 250px;
  left: 500px;
  width: 60px;
  height: 180px;
}

.moon__crater2 {
  top: 650px;
  left: 340px;
  width: 40px;
  height: 80px;
  transform: rotate(55deg);
}

.moon__crater3 {
  top: -20px;
  left: 40px;
  width: 65px;
  height: 120px;
  transform: rotate(250deg);
}

.star {
  background: grey;
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 100%;
  transform: rotate(250deg);
  opacity: 0.4;
  animation-name: shimmer;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes shimmer {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.7;
  }
}

.star1 {
  top: 40%;
  left: 50%;
  animation-delay: 1s;
}

.star2 {
  top: 60%;
  left: 90%;
  animation-delay: 3s;
}

.star3 {
  top: 10%;
  left: 70%;
  animation-delay: 2s;
}

.star4 {
  top: 90%;
  left: 40%;
}

.star5 {
  top: 20%;
  left: 30%;
  animation-delay: 0.5s;
}

.error {
  position: absolute;
  left: 100px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  color: #caced5;
  z-index: 10;
}

.error__title {
  font-family: var(--serif);
  font-size: 9em;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #f5f6fa;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.error__subtitle {
  font-family: var(--serif);
  font-size: 2.2em;
  font-weight: 400;
  font-style: italic;
  margin-top: 8px;
  color: #dcdde1;
}

.error__description {
  font-family: var(--sans);
  font-weight: 300;
  opacity: 0.75;
  font-size: 1.05em;
  margin-top: 8px;
  color: #141414;
}

.error__actions {
  display: flex;
  gap: 12px;
  margin-top: 2.5em;
}

.error__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-width: 8em;
  padding: 0.7em 2em;
  outline: none;
  border: 1px solid #718093;
  background-color: transparent;
  border-radius: 8em;
  color: #dcdde1;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 0.85em;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.error__button:hover {
  color: #fff;
  border-color: #f5f6fa;
  transform: translateY(-2px);
}

.error__button--active {
  background-color: #e67e22;
  border-color: #e67e22;
  color: white;
}

.error__button--active:hover {
  box-shadow: 0px 4px 15px rgba(230, 126, 34, 0.4);
  background-color: #d35400;
  border-color: #d35400;
  color: white;
}

.astronaut {
  position: absolute;
  width: 185px;
  height: 300px;
  left: 70%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(20deg) scale(1.2);
  z-index: 5;
}

.astronaut__cord {
  position: absolute;
  top: -45px;
  left: -20px;
  width: 500px;
  height: 500px;
  pointer-events: none;
  z-index: -1;
}

.astronaut__head {
  background-color: white;
  position: absolute;
  top: 60px;
  left: 60px;
  width: 60px;
  height: 60px;
  border-radius: 2em;
}

.astronaut__head-visor-flare1 {
  background-color: #7f8fa6;
  position: absolute;
  top: 28px;
  left: 40px;
  width: 10px;
  height: 10px;
  border-radius: 2em;
  opacity: 0.5;
}

.astronaut__head-visor-flare2 {
  background-color: #718093;
  position: absolute;
  top: 40px;
  left: 38px;
  width: 5px;
  height: 5px;
  border-radius: 2em;
  opacity: 0.3;
}

.astronaut__backpack {
  background-color: #bfbfbf;
  position: absolute;
  top: 90px;
  left: 47px;
  width: 86px;
  height: 90px;
  border-radius: 8px;
}

.astronaut__body {
  background-color: #e6e6e6;
  position: absolute;
  top: 115px;
  left: 55px;
  width: 70px;
  height: 80px;
  border-radius: 8px;
}

.astronaut__body__chest {
  background-color: #d9d9d9;
  position: absolute;
  top: 140px;
  left: 68px;
  width: 45px;
  height: 25px;
  border-radius: 6px;
}

.astronaut__arm-left1 {
  background-color: #e6e6e6;
  position: absolute;
  top: 127px;
  left: 9px;
  width: 65px;
  height: 20px;
  border-radius: 8px;
  transform: rotate(-30deg);
}

.astronaut__arm-left2 {
  background-color: #e6e6e6;
  position: absolute;
  top: 102px;
  left: 7px;
  width: 20px;
  height: 45px;
  border-radius: 8px;
  transform: rotate(-12deg);
  border-top-left-radius: 8em;
  border-top-right-radius: 8em;
}

.astronaut__arm-right1 {
  background-color: #e6e6e6;
  position: absolute;
  top: 113px;
  left: 100px;
  width: 65px;
  height: 20px;
  border-radius: 8px;
  transform: rotate(-10deg);
}

.astronaut__arm-right2 {
  background-color: #e6e6e6;
  position: absolute;
  top: 78px;
  left: 141px;
  width: 20px;
  height: 45px;
  border-radius: 8px;
  transform: rotate(-10deg);
  border-top-left-radius: 8em;
  border-top-right-radius: 8em;
}

.astronaut__arm-thumb-left {
  background-color: #e6e6e6;
  position: absolute;
  top: 110px;
  left: 21px;
  width: 10px;
  height: 6px;
  border-radius: 8em;
  transform: rotate(-35deg);
}

.astronaut__arm-thumb-right {
  background-color: #e6e6e6;
  position: absolute;
  top: 90px;
  left: 133px;
  width: 10px;
  height: 6px;
  border-radius: 8em;
  transform: rotate(20deg);
}

.astronaut__wrist-left {
  background-color: #e67e22;
  position: absolute;
  top: 122px;
  left: 6.5px;
  width: 21px;
  height: 4px;
  border-radius: 8em;
  transform: rotate(-15deg);
}

.astronaut__wrist-right {
  background-color: #e67e22;
  position: absolute;
  top: 98px;
  left: 141px;
  width: 21px;
  height: 4px;
  border-radius: 8em;
  transform: rotate(-10deg);
}

.astronaut__leg-left {
  background-color: #e6e6e6;
  position: absolute;
  top: 188px;
  left: 50px;
  width: 23px;
  height: 75px;
  transform: rotate(10deg);
}

.astronaut__leg-right {
  background-color: #e6e6e6;
  position: absolute;
  top: 188px;
  left: 108px;
  width: 23px;
  height: 75px;
  transform: rotate(-10deg);
}

.astronaut__foot-left {
  background-color: white;
  position: absolute;
  top: 240px;
  left: 43px;
  width: 28px;
  height: 20px;
  transform: rotate(10deg);
  border-radius: 3px;
  border-top-left-radius: 8em;
  border-top-right-radius: 8em;
  border-bottom: 4px solid #e67e22;
}

.astronaut__foot-right {
  background-color: white;
  position: absolute;
  top: 240px;
  left: 111px;
  width: 28px;
  height: 20px;
  transform: rotate(-10deg);
  border-radius: 3px;
  border-top-left-radius: 8em;
  border-top-right-radius: 8em;
  border-bottom: 4px solid #e67e22;
}

@media (max-width: 860px) {
  .error {
    left: 40px;
  }

  .error__title {
    font-size: 7em;
  }

  .astronaut {
    left: 75%;
    transform: translate(-50%, -50%) rotate(15deg) scale(0.95);
  }
}

@media (max-width: 650px) {
  body.page-404 {
    overflow-y: auto;
  }

  .error {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    text-align: center;
    padding: 60px 20px 20px;
  }

  .error__title {
    font-size: 5.5em;
  }

  .error__actions {
    justify-content: center;
  }

  .astronaut {
    position: relative;
    left: 50%;
    top: auto;
    margin: 40px 0 60px;
    transform: translateX(-50%) rotate(10deg) scale(0.85);
  }

  .moon {
    width: 500px;
    height: 500px;
    top: -200px;
    left: -200px;
  }
}