:root {
  color-scheme: light;
  --paper: #f3efe7;
  --ink: #192a2d;
  --soft-ink: #536164;
  --accent: #df5d44;
  --line: rgba(25, 42, 45, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 18%, rgba(223, 93, 68, 0.1), transparent 24rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.5rem, 3vw, 3rem) clamp(1.25rem, 5vw, 5rem);
  overflow: hidden;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.support-contact {
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.3em;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.support-contact:hover {
  color: var(--ink);
}

.support-contact:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0.4rem;
  border-radius: 0.1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wordmark-mark {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--soft-ink);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.28rem rgba(223, 93, 68, 0.14);
}

.hero {
  width: min(100%, 88rem);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(19rem, 0.92fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
  padding: clamp(4rem, 9vh, 8rem) 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--accent);
  font-size: clamp(0.74rem, 1vw, 0.86rem);
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1 {
  max-width: 8ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 12vw, 11rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.76;
}

.intro {
  max-width: 32rem;
  margin: clamp(2.25rem, 5vw, 4.5rem) 0 0;
  color: var(--soft-ink);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.65;
}

.chime {
  position: relative;
  justify-self: center;
  width: min(38vw, 34rem);
  aspect-ratio: 1;
}

.chime::before {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.chime-orbit,
.chime-core,
.chime-line,
.chime-weight {
  position: absolute;
  display: block;
}

.chime-orbit {
  inset: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  animation: breathe 7s ease-in-out infinite;
}

.chime-orbit-two {
  inset: 8%;
  animation-delay: -2.3s;
}

.chime-orbit-three {
  inset: 26%;
  animation-delay: -4.6s;
}

.chime-core {
  inset: 38%;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 1.5rem 4rem rgba(223, 93, 68, 0.28);
}

.chime-line {
  top: 50%;
  left: 50%;
  width: 1px;
  height: 31%;
  background: var(--ink);
  transform-origin: top;
  animation: sway 5s ease-in-out infinite;
}

.chime-weight {
  left: calc(50% - 0.45rem);
  bottom: 15%;
  width: 0.9rem;
  height: 0.9rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  animation: drift 5s ease-in-out infinite;
}

.site-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--soft-ink);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.not-found {
  min-height: 100vh;
  display: grid;
  align-content: space-between;
  padding: clamp(1.5rem, 5vw, 5rem);
}

.not-found > div {
  padding: 5rem 0;
}

.not-found .intro a {
  text-decoration-color: var(--accent);
  text-underline-offset: 0.35em;
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.985);
  }
  50% {
    opacity: 1;
    transform: scale(1.015);
  }
}

@keyframes sway {
  0%,
  100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(3deg);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateX(-0.55rem);
  }
  50% {
    transform: translateX(0.55rem);
  }
}

@media (max-width: 760px) {
  .page-shell {
    min-height: 100svh;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  h1 {
    font-size: clamp(4.75rem, 25vw, 8rem);
  }

  .chime {
    justify-self: end;
    width: min(70vw, 22rem);
  }
}

@media (max-width: 430px) {
  .status {
    font-size: 0;
  }

  .status span {
    display: block;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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