:root {
  color-scheme: dark;
  --background: #0b1017;
  --gold: #e9b66e;
  --gold-bright: #f2ca8c;
  --cream: #f6ebdc;
  --muted: #d2c8bb;
}

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

body {
  margin: 0;
  background: var(--background);
  color: var(--cream);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.shell {
  min-height: 100vh;
  min-height: 100svh;
  max-width: 112.5rem;
  margin-inline: auto;
}

.desktop-scene {
  display: none;
}

.panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.375rem;
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
  padding: 1.875rem clamp(1rem, 5vw, 2rem) 2.375rem;
}

.brand {
  text-align: center;
}

.mark {
  color: var(--gold);
  font-size: 2.6875rem;
  line-height: 1;
}

.brand h1 {
  margin: 0.5rem 0 0.5625rem;
  font: 500 clamp(2rem, 9vw, 2.6875rem) / 1.15 Georgia, serif;
  letter-spacing: -0.03em;
}

.brand p {
  margin: 0;
  color: #d9c6ad;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.mobile-scene {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #514331;
  border-radius: 1.25rem;
  box-shadow: 0 12px 35px #0006;
}

.links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.75rem;
  padding: 0.875rem 1.125rem;
  border: 1px solid #8b6c49;
  border-radius: 1.125rem;
  background: linear-gradient(145deg, #24211f, #151a21);
  color: var(--cream);
  text-decoration: none;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.tile:focus-visible,
.service-status:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

@media (hover: hover) {
  .tile:hover {
    transform: translateY(-3px);
    border-color: var(--gold-bright);
    box-shadow: 0 8px 20px #0006;
  }
}

.tile svg {
  flex: none;
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile-copy {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.tile strong {
  font: 500 1.375rem Georgia, serif;
}

.tile-copy > span {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

.service-status,
.foot {
  margin: 0;
  color: #b5a794;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.service-status:target {
  color: var(--gold-bright);
}

@media (min-width: 56rem) {
  .shell {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(24rem, 1fr);
  }

  .desktop-scene {
    display: block;
    background: linear-gradient(90deg, transparent 75%, var(--background)),
      #15100d url("desktop.webp") center / cover no-repeat;
  }

  .panel {
    max-width: none;
    gap: 1.625rem;
    padding: clamp(1.75rem, 4vw, 5.5rem);
    background: radial-gradient(ellipse at 80% 10%, #1e2b35 0%, var(--background) 65%);
  }

  .brand h1 {
    font-size: clamp(2.375rem, 4vw, 4rem);
  }

  .mobile-scene {
    display: none;
  }

  .links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .tile {
    flex-direction: column;
    justify-content: center;
    gap: 0.5625rem;
    min-height: 10.9375rem;
    padding: 1.25rem 0.625rem;
    border-radius: 1.375rem;
    text-align: center;
  }

  .tile svg {
    width: 2.1875rem;
    height: 2.1875rem;
  }

  .tile strong {
    font-size: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tile {
    transition: none;
  }

  .tile:hover {
    transform: none;
  }
}
