:root {
  --signal: #ed2939;
  --signal-deep: #9e1725;
  --ink: #11100e;
  --paper: #f4f0e8;
  --line: rgba(244, 240, 232, 0.48);
  --page-pad: clamp(1.1rem, 3vw, 3.5rem);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--ink);
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(244, 240, 232, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(244, 240, 232, 0.07) 1px, transparent 1px),
    var(--ink);
  background-size: 6.25vw 6.25vw;
}

.site-shell::before {
  position: absolute;
  inset: 0;
  z-index: 4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.16;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.site-header,
.site-footer {
  position: relative;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-right: var(--page-pad);
  padding-left: var(--page-pad);
}

.site-header {
  min-height: 5.75rem;
  border-bottom: 1px solid var(--line);
  background: rgba(17, 16, 14, 0.86);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border: 2px solid var(--paper);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 900;
}

.brand-domain,
.site-status,
.eyebrow,
.contact-label,
.site-footer {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #d8ff52;
  box-shadow: 0 0 0 0.28rem rgba(216, 255, 82, 0.18);
  animation: pulse 2.4s ease-out infinite;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  min-height: 34rem;
  padding: clamp(2rem, 5vw, 5.5rem) var(--page-pad) clamp(2.2rem, 4vw, 4.2rem);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 16, 14, 0.9) 0%, rgba(17, 16, 14, 0.7) 30%, rgba(17, 16, 14, 0.2) 56%, rgba(17, 16, 14, 0.14) 100%),
    linear-gradient(180deg, rgba(17, 16, 14, 0.04), rgba(17, 16, 14, 0.36));
  content: "";
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--ink);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 74% 46%, rgba(244, 240, 232, 0.05), rgba(17, 16, 14, 0.32) 72%);
  content: "";
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.025);
  animation: image-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100%, 67rem);
}

.eyebrow {
  margin: 0 0 1.1rem;
}

h1 {
  margin: 0;
  max-width: 9ch;
  color: var(--paper);
  font-family: Impact, "Arial Black", Arial, sans-serif;
  font-size: clamp(4rem, 10.5vw, 10.75rem);
  font-weight: 900;
  line-height: 0.76;
  text-transform: uppercase;
}

h1 span {
  display: block;
  animation: title-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

h1 span:last-child {
  animation-delay: 0.08s;
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(10rem, 0.65fr) minmax(17rem, 1fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  width: min(100%, 46rem);
  margin-top: clamp(1.6rem, 3vw, 3rem);
  padding-top: 1.15rem;
  border-top: 2px solid var(--paper);
}

.hero-kicker,
.hero-description {
  margin: 0;
}

.hero-kicker {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-description {
  max-width: 34rem;
  font-size: clamp(0.92rem, 1.3vw, 1.08rem);
  font-weight: 600;
  line-height: 1.42;
}

.contact-block {
  position: relative;
  z-index: 5;
  display: grid;
  justify-items: start;
  gap: 0.55rem;
}

.contact-label {
  opacity: 0.74;
}

.contact-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  min-height: 3.15rem;
  padding: 0.2rem 0.2rem 0.2rem 0;
  border-bottom: 2px solid currentColor;
  font-size: clamp(0.88rem, 1.3vw, 1.12rem);
  font-weight: 800;
  isolation: isolate;
  text-decoration: none;
}

.contact-link::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0;
  z-index: -1;
  background: var(--paper);
  content: "";
  transition: height 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--ink);
  outline: none;
}

.contact-link:hover::before,
.contact-link:focus-visible::before {
  height: 100%;
}

.contact-arrow {
  font-size: 1.35em;
  line-height: 1;
  transition: transform 180ms ease;
}

.contact-link:hover .contact-arrow,
.contact-link:focus-visible .contact-arrow {
  transform: translate(0.16rem, -0.16rem);
}

.site-footer {
  min-height: 4.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgba(244, 240, 232, 0.7);
  line-height: 1.45;
}

.site-footer p {
  max-width: 38rem;
  margin: 0;
}

.site-footer a {
  text-underline-offset: 0.18rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--paper);
}

@keyframes title-in {
  from {
    opacity: 0;
    transform: translateY(0.8em);
  }
}

@keyframes image-in {
  from {
    opacity: 0;
    transform: scale(1.1);
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 0.55rem rgba(216, 255, 82, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(216, 255, 82, 0);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 44rem;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(17, 16, 14, 0.82) 0%, rgba(17, 16, 14, 0.46) 54%, rgba(17, 16, 14, 0.82) 100%),
      linear-gradient(90deg, rgba(237, 41, 57, 0.48), transparent 72%);
  }

  .hero-content {
    padding-top: 1rem;
  }

  .site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

@media (max-width: 600px) {
  .site-shell {
    background-size: 4rem 4rem;
  }

  .site-header {
    min-height: 4.75rem;
  }

  .brand-domain {
    display: none;
  }

  .hero {
    min-height: 42rem;
    padding-top: 2.6rem;
    padding-bottom: 2.8rem;
  }

  .hero-media img {
    object-position: 57% center;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(17, 16, 14, 0.88) 0%, rgba(17, 16, 14, 0.38) 52%, rgba(17, 16, 14, 0.86) 100%),
      linear-gradient(90deg, rgba(237, 41, 57, 0.56), transparent 75%);
  }

  h1 {
    max-width: none;
    font-size: clamp(3.35rem, 17vw, 5.2rem);
    line-height: 0.8;
  }

  .hero-copy {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-width: 23rem;
  }

  .hero-description {
    max-width: 22rem;
  }

  .contact-block {
    justify-items: stretch;
  }

  .contact-link {
    justify-content: space-between;
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

}

@media (max-height: 720px) and (min-width: 901px) {
  .site-header {
    min-height: 4.5rem;
  }

  .hero {
    min-height: 29rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .contact-block {
    bottom: 2rem;
  }

  .site-footer {
    min-height: 3.7rem;
  }
}

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