:root {
  color-scheme: light;

  --bg: #ffffff;
  --ink: #10131a;
  --muted: #6a7280;
  --accent: #e7791a;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2.5rem, 7vw, 4rem);
  padding: clamp(2rem, 6vw, 4rem) 1.5rem;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: color-mix(in srgb, var(--accent) 25%, transparent);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.75rem, 5vw, 2.5rem);
  width: 100%;
  max-width: 46rem;
  animation: rise 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.1rem, 3.5vw, 1.6rem);
}

.brand-title {
  margin: 0;
  line-height: 0;
}

.logo {
  display: block;
  width: clamp(238px, 64vw, 396px);
  height: auto;
}

.logo--small {
  width: clamp(190px, 50vw, 300px);
}

.tagline {
  margin: 0;
  margin-right: -0.22em; /* balance trailing letter-spacing */
  color: var(--muted);
  font-size: clamp(0.68rem, 1.9vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.9rem;
  margin: 0;
  font-style: normal;
  font-size: clamp(0.9rem, 2.4vw, 1rem);
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 0;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.contact-item:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.contact-item svg {
  width: 1rem;
  height: 1rem;
  flex: none;
  opacity: 0.65;
  transition: opacity 180ms ease;
}

.contact-item:hover svg {
  opacity: 1;
}

.footer {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.note {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.9rem, 2.6vw, 1.05rem);
}

.note a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  text-underline-offset: 4px;
  transition: color 180ms ease;
}

.note a:hover {
  color: var(--ink);
}

.note strong {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.06em;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 26em) {
  .contact {
    flex-direction: column;
    gap: 0.9rem;
  }
}

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