@font-face {
  font-family: Geist;
  src: url("assets/geist.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --background: #fbfbfb;
  --orange: #ff5300;
  --ink: #000;
  font-family: Geist, Arial, sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body {
  isolation: isolate;
  margin: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: grid;
  grid-template-rows: 32px minmax(0, 1fr) 36px;
  gap: 16px;
  padding: 20px clamp(16px, 3vw, 40px);
}
.scene-artwork {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #080808;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--orange); outline-offset: 8px; }
::selection { color: var(--background); background: var(--orange); }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header { min-width: 0; }
.wordmark { font-size: 25px; font-weight: 850; letter-spacing: -1.5px; line-height: 1; }
.contact { font-size: 13px; padding-block: 8px; }
.contact span { color: var(--ink); display: inline-block; margin-left: 10px; }
.contact:hover { text-decoration: underline; text-underline-offset: 4px; }
main { position: relative; isolation: isolate; min-width: 0; min-height: 0; display: grid; place-items: center; }
.glass-card {
  position: relative;
  width: min(360px, calc(100vw - 72px), calc(100dvh - 188px));
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vmin, 28px);
  padding: clamp(16px, 3vmin, 32px);
  text-align: center;
  color: #fff;
  background: rgb(255 255 255 / 16%);
  border: 1px solid rgb(255 255 255 / 40%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgb(0 0 0 / 18%), inset 0 1px 0 rgb(255 255 255 / 25%);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
}
.logo-stage { perspective: 900px; height: 46%; width: 100%; flex-shrink: 0; display: grid; place-items: center; }
.logo {
  height: 100%;
  aspect-ratio: 453 / 634;
  background: var(--orange);
  mask: url("assets/logo.svg") center / contain no-repeat;
  -webkit-mask: url("assets/logo.svg") center / contain no-repeat;
  animation: rotate-logo 16s linear infinite;
}
h1 { max-width: 14ch; margin: 0; font-size: clamp(16px, 2.6vmin, 26px); font-weight: 500; line-height: 1.2; letter-spacing: -0.045em; text-shadow: 0 1px 8px rgb(0 0 0 / 45%); }
.footer { font-size: 11px; line-height: 1.6; color: var(--ink); }
.footer p { margin: 0; }
.separator { margin-inline: 10px; color: var(--ink); }
.domain { color: var(--ink); }

@keyframes rotate-logo {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

@media (max-width: 540px) {
  .header { gap: 16px; }
  .contact { font-size: 11px; }
  .contact span { margin-left: 4px; }
  .footer { align-items: flex-end; gap: 16px; }
  .footer p:first-child > span:last-child { display: block; }
  .separator { display: none; }
  .domain { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .logo { animation: none; }
}
