@charset "UTF-8";

:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f8f5f1;
  background: #101116;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background:
    radial-gradient(ellipse 40% 45% at 37% 49%, #e9782c09, transparent),
    radial-gradient(ellipse 40% 45% at 63% 49%, #8195ad09, transparent),
    linear-gradient(180deg, #15161c 0%, #101116 80%);
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 48px;
}

.wordmark { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 22px; letter-spacing: -.7px; }
.wordmark img { object-fit: contain; }
.wordmark-accent { color: #ff9558; }
.masthead-note { font-size: 10px; font-weight: 650; letter-spacing: 2.4px; color: #85858f; }

main { align-self: center; text-align: center; padding: 40px 24px 70px; }
.intro { animation: enter .65s ease both; }
.eyebrow { margin: 0 0 18px; color: #c39a80; font-size: 10px; font-weight: 650; letter-spacing: 3px; }
h1 { margin: 0; font-size: clamp(28px, 4vw, 48px); line-height: 1.15; font-weight: 550; letter-spacing: -1.6px; }
.subtitle { margin: 17px 0 0; color: #a6a5b0; font-size: 16px; }
.profiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px clamp(24px, 4vw, 64px); max-width: 1000px; margin: 52px auto 0; }
.profile { --accent: #ff9b62; display: flex; flex-direction: column; align-items: center; text-decoration: none; color: inherit; outline: none; border-radius: 28px; animation: enter .65s .08s ease both; -webkit-tap-highlight-color: transparent; }
.profile-panel { --accent: #ffd566; animation-delay: .16s; }
.profile-3d { --accent: #80cfff; animation-delay: .24s; }
.avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(160px, 21vw, 246px);
  aspect-ratio: 1;
  border-radius: 32px;
  border: 1px solid #ffffff13;
  background: radial-gradient(ellipse at 50% 40%, #613e2e45, transparent 75%), linear-gradient(135deg, #ffffff08, #ffffff02);
  box-shadow: 0 18px 48px #00000026, inset 0 1px 0 #ffffff08;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.profile-panel .avatar { background: radial-gradient(ellipse at 50% 40%, #53515c4a, transparent 75%), linear-gradient(135deg, #ffffff08, #ffffff02); }
.profile-3d .avatar { background: radial-gradient(ellipse at 50% 40%, #2b576048, transparent 75%), linear-gradient(135deg, #ffffff08, #ffffff02); border-style: dashed; }
.avatar img { display: block; width: 87%; height: 87%; object-fit: contain; filter: drop-shadow(0 10px 10px #00000040); transition: transform .3s ease; }
.profile-name { position: relative; margin-top: 24px; font-size: 24px; font-weight: 550; letter-spacing: -.4px; transition: color .2s ease; }
.profile-description { margin-top: 8px; color: #a6a5b0; font-size: 13px; line-height: 1.5; }
.coming-soon { border: 1px solid #ffffff12; border-radius: 20px; padding: 3px 10px; font-size: 11px; color: #bec7d2; background: #ffffff05; }
.arrow { position: absolute; left: calc(100% + 9px); top: 50%; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: translate(-5px, -50%); transition: opacity .2s ease, transform .2s ease; }

.profile:focus-visible .avatar { outline: 3px solid #f8f5f1; outline-offset: 6px; transform: translateY(-6px); }
.profile:focus-visible .profile-name { color: var(--accent); }
.profile:focus-visible .arrow { opacity: 1; transform: translate(0, -50%); }

@media (hover: hover) {
  a.profile:hover .avatar { transform: translateY(-8px); border-color: var(--accent); box-shadow: 0 24px 64px #00000040, 0 0 32px #f6a56a0a; }
  a.profile:hover .avatar img { transform: scale(1.035); }
  a.profile:hover .profile-name { color: var(--accent); }
  a.profile:hover .arrow { opacity: 1; transform: translate(0, -50%); }
}
a.profile:active .avatar { transform: translateY(-2px) scale(.98); }
.selection-hint { display: flex; gap: 9px; align-items: center; justify-content: center; margin: 47px 0 0; font-size: 11px; color: #85858f; letter-spacing: .2px; animation: enter .65s .24s ease both; }
.selection-hint > span { width: 4px; height: 4px; border-radius: 50%; background: #d18d64; }
footer { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 25px 20px; font-size: 10px; color: #85858f; }
footer > :first-child { letter-spacing: 2px; font-size: 9px; }
.footer-line { width: 22px; height: 1px; background: #ffffff26; }

@keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 601px) and (max-height: 800px) {
  .masthead { padding: 24px 40px; }
  main { padding: 20px 20px 24px; }
  .profiles { margin-top: 40px; }
  .selection-hint { margin-top: 30px; }
}

@media (max-width: 600px) {
  .masthead { padding: 24px; justify-content: center; }
  .masthead-note { display: none; }
  .wordmark { font-size: 21px; }
  main { padding: 32px 18px 48px; }
  h1 { letter-spacing: -.8px; }
  .eyebrow { font-size: 9px; letter-spacing: 2.2px; margin-bottom: 16px; }
  .subtitle { font-size: 14px; margin-top: 14px; }
  .profiles { gap: 30px 24px; margin-top: 40px; }
  .avatar { width: clamp(120px, 38vw, 190px); border-radius: 24px; }
  .profile-name { font-size: 21px; margin-top: 21px; }
  .profile-description { font-size: 11px; margin-top: 6px; }
  .coming-soon { font-size: 10px; }
  .selection-hint { margin-top: 36px; font-size: 10px; }
  footer { padding-bottom: max(24px, env(safe-area-inset-bottom)); font-size: 9px; gap: 10px; }
}

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