:root {
  --midnight-black: #1a1a1a;
  --crimson-flame: #e74c3c;
  --pure-snow: #ffffff;
  --page-gutter: clamp(1.5rem, 5vw, 5.5rem);
  --editorial-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --brand-sans: Futura, "Century Gothic", "Avenir Next", Avenir, Arial, sans-serif;
  --support-sans: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--pure-snow);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--midnight-black);
  background: var(--pure-snow);
  font-family: var(--brand-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.maintenance-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.site-header {
  padding: clamp(1.75rem, 4vw, 3.25rem) var(--page-gutter) 0;
}

.brand {
  display: inline-flex;
  width: clamp(8.75rem, 13vw, 11.5rem);
  line-height: 0;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.hero {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: clamp(3.5rem, 11vh, 8rem) var(--page-gutter) clamp(2rem, 4vw, 3.25rem);
  overflow: hidden;
}

.hero__content {
  align-self: center;
  max-width: 46rem;
}

h1 {
  max-width: 39rem;
  margin: 0;
  font-family: var(--editorial-serif);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.88;
}

.intro {
  max-width: 25rem;
  margin: clamp(2rem, 4vw, 3.25rem) 0 0;
  color: rgba(26, 26, 26, 0.72);
  font-family: var(--support-sans);
  font-size: clamp(0.95rem, 1.25vw, 1.125rem);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.6;
}

.hero__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 3rem;
}

.return-message {
  margin: 0;
  color: rgba(26, 26, 26, 0.7);
  font-family: var(--support-sans);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.contact-links {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.contact-links a {
  position: relative;
  padding: 0.45rem 0;
  color: var(--midnight-black);
  font-family: var(--support-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.contact-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--crimson-flame);
  content: "";
  transform: scaleX(0.32);
  transform-origin: left;
  transition: transform 180ms ease;
}

.contact-links a:hover::after {
  transform: scaleX(1);
}

.brand:focus-visible,
.contact-links a:focus-visible {
  outline: 2px solid var(--crimson-flame);
  outline-offset: 5px;
}

.thread {
  position: absolute;
  display: flex;
  gap: 0.5rem;
  opacity: 0.72;
  pointer-events: none;
}

.thread span {
  display: block;
  width: clamp(1.1rem, 2.4vw, 2rem);
  height: 2px;
  background: var(--crimson-flame);
  transform: rotate(-58deg);
  transform-origin: center;
}

.thread--upper {
  top: clamp(2.5rem, 7vw, 6rem);
  right: clamp(2.25rem, 8vw, 9rem);
}

.thread--lower {
  right: var(--page-gutter);
  bottom: clamp(1.5rem, 3.5vw, 3rem);
  gap: 0.35rem;
}

.thread--lower span {
  width: clamp(0.75rem, 1.5vw, 1.1rem);
  background: var(--midnight-black);
  opacity: 0.38;
}

@media (max-width: 42rem) {
  .hero {
    padding-top: clamp(4rem, 14vh, 6rem);
  }

  h1 {
    font-size: clamp(3.25rem, 15vw, 4.5rem);
    line-height: 0.9;
  }

  .hero__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .thread--upper {
    top: 2rem;
    right: 1.75rem;
  }

  .thread--lower {
    display: none;
  }
}

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