:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: #111013;
  color: #fff8f2;
  --accent: #ff7837;
  --muted: #c1b8b5;
  --line: #ffffff22;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(ellipse at 82% 47%, #321a17 0%, transparent 52%);
}

.layout {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100% - clamp(2rem, 10vw, 9rem), 84rem);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
}

.site-header,
.site-footer {
  padding-block: 1.45rem;
  color: var(--muted);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.brand,
.status,
.contact {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}

.brand {
  color: #fff8f2;
  font-size: .94rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 2.25rem;
  aspect-ratio: 1;
  border: 1px solid var(--accent);
  border-radius: .55rem;
  color: var(--accent);
  font-size: 1.2rem;
  letter-spacing: 0;
}

.brand-logo {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

.status {
  margin: 0;
  font-size: .875rem;
}

.status span {
  width: .45rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 .8rem #ff783766;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  align-items: center;
  padding-block: clamp(3rem, 8vw, 7rem);
}

.hero-content { animation: enter .7s ease-out both; }

.specialties {
  margin: 0 0 1.3rem;
  color: var(--accent);
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.65;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5.3vw, 5.75rem);
  line-height: 1.03;
  letter-spacing: -.066em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

h1 em {
  color: var(--accent);
  font-style: normal;
}

.description {
  max-width: 48ch;
  margin: 1.65rem 0 1.15rem;
  color: var(--muted);
  line-height: 1.7;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
}

.availability {
  margin: 0 0 1.5rem;
  font-weight: 600;
  line-height: 1.5;
}

.contact {
  max-width: 100%;
  min-height: 3.25rem;
  padding: .7rem 1rem;
  border: 1px solid transparent;
  border-radius: .6rem;
  background: var(--accent);
  color: #211008;
  font-weight: 750;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: background-color .2s, transform .2s;
}

.contact:hover {
  background: #ff9b69;
  transform: translateY(-2px);
}

.contact:focus-visible {
  outline: 2px solid #fff8f2;
  outline-offset: 4px;
}

.envelope {
  position: relative;
  flex: none;
  width: 1rem;
  height: .75rem;
  border: 1.5px solid currentColor;
  border-radius: .15rem;
  overflow: hidden;
}

.envelope::after {
  position: absolute;
  top: -.3rem;
  left: .16rem;
  width: .55rem;
  height: .55rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  content: "";
  transform: rotate(45deg);
}

.art {
  position: relative;
  width: min(100%, 35rem);
  aspect-ratio: 1;
  justify-self: center;
  pointer-events: none;
  background:
    radial-gradient(ellipse, #f3632029, transparent 67%),
    repeating-linear-gradient(90deg, #fc946512 0 1px, transparent 1px 2rem),
    repeating-linear-gradient(#fc946512 0 1px, transparent 1px 2rem);
  mask-image: radial-gradient(ellipse, #000 40%, transparent 73%);
  animation: enter 1s ease-out both;
}

.orbit, .sphere, .light { position: absolute; }

.orbit {
  border: 1px solid #ff9d6380;
  border-radius: 50%;
}

.orbit-outer { inset: 11%; }
.orbit-inner { inset: 20%; border-color: #ff9d6340; }
.orbit-cross { inset: 26% 9%; transform: rotate(-35deg); }

.sphere {
  inset: 25%;
  border: 1px solid #ff985f;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 23%, #ffc194, #d85221 21%, #541d17 47%, #1d1116 70%);
  box-shadow: inset -.5rem -.6rem 2rem #ff6f3833, 0 0 4rem #ff6f3840;
}

.light {
  width: .42rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffad79;
  box-shadow: 0 0 1rem .2rem #ff5d20a0;
  animation: shimmer 4s ease-in-out 3 both;
}

.light-first { top: 20%; left: 73%; }
.light-second { bottom: 26%; left: 19%; animation-delay: .6s; }
.light-third { bottom: 27%; right: 15%; animation-delay: 1.2s; }

.site-footer {
  border-top: 1px solid var(--line);
  font-size: .875rem;
  line-height: 1.5;
}

@keyframes enter {
  from { opacity: 0; translate: 0 .65rem; }
  to { opacity: 1; translate: 0; }
}

@keyframes shimmer {
  50% { opacity: .5; scale: .75; }
}

@media (max-width: 50rem) {
  .hero { grid-template-columns: 1fr; gap: 1.25rem; }
  h1 { max-width: 14ch; font-size: clamp(2.5rem, 8.6vw, 4.8rem); }
  .art { width: min(100%, 22rem); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content, .art, .light { animation: none; }
  .contact { transition: none; }
  .contact:hover { transform: none; }
}
