:root {
  color-scheme: dark;
  --ink: #f3f5f2;
  --muted: #a3abae;
  --line: rgb(243 245 242 / 18%);
  --field: #10151d;
  --ember: #ff7254;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--field);
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(
      circle at 79% 17%,
      rgb(255 114 84 / 13%),
      transparent 24rem
    ),
    radial-gradient(
      circle at 12% 90%,
      rgb(68 122 138 / 12%),
      transparent 21rem
    ),
    var(--field);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  width: min(100% - 3rem, 70rem);
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
}

.masthead,
footer,
.channels a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.mark {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.status,
.eyebrow,
footer {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.status span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0.8rem var(--ember);
}

.intro {
  margin: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.eyebrow {
  margin: 0 0 1.3rem;
  color: var(--ember);
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 10vw, 8.5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.88;
  white-space: nowrap;
}

.lede {
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.channels a {
  gap: 1rem;
  min-height: 4.4rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 600;
  text-decoration: none;
  transition:
    color 160ms ease,
    padding 160ms ease;
}

.channel-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: transform 160ms ease;
}

.destination {
  color: var(--muted);
  font-size: 0.72em;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.channels a:nth-child(odd) {
  padding-right: 1.5rem;
  border-right: 1px solid var(--line);
}
.channels a:nth-child(even) {
  padding-left: 1.5rem;
}
.channels a span:last-child {
  color: var(--ember);
  font-size: 1.3em;
  font-weight: 400;
}
.channels a:hover {
  color: var(--ember);
}
.channels a:hover .channel-details {
  transform: translateX(0.25rem);
}

footer {
  margin-top: 1.7rem;
}
footer p {
  margin: 0;
}
.contact {
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration-color: var(--ember);
  text-underline-offset: 0.25rem;
  text-transform: none;
}

@media (max-width: 540px) {
  .site-shell {
    width: min(100% - 2rem, 70rem);
    padding-top: 1.25rem;
  }
  .status {
    font-size: 0.62rem;
  }
  .intro {
    margin-bottom: 3.5rem;
  }
  .channels {
    grid-template-columns: 1fr;
  }
  .channels a:nth-child(odd),
  .channels a:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
