:root{
  --bg: #0a1e2c;
  --text: #ffffff;
  --accent: #d8c722; /* golden yellow */
}

*{ box-sizing: border-box; }

html, body{ height: 100%; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-align: center;
}

/* Loader */
#loader{
  position: fixed;
  inset: 0;
  display: grid;
  place-content: center;
  place-items: center;
  gap: 18px;
  background: var(--bg);
  z-index: 1000;
  transition: opacity .4s ease;
}
#loader.hidden{ opacity: 0; pointer-events: none; }

.loader-logo{
  width: clamp(120px, 28vw, 220px);
  height: auto;
  user-select: none;
}

.progress{
  width: clamp(140px, 40vw, 240px);
  height: 6px;
  background: rgba(216,199,34,0.25); /* track */
  border-radius: 999px;
  overflow: hidden;
}
.progress .bar{
  width: 0%;
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
  transition: width .12s ease;
}

/* Main layout */
.container{
  min-height: 100svh;           /* handles mobile browser chrome */
  display: grid;
  place-content: center;
  place-items: center;
  gap: 28px;                     /* extra space between description, icons, email */
  padding: 24px;
}

.logo{ width: clamp(140px, 30vw, 260px); height: auto; }

/* Description — smaller + 50% white */
.tagline{
  max-width: 60ch;
  margin: 0;
  line-height: 1.55;
  font-size: clamp(14px, 0.98rem, 16px);
  color: rgba(255,255,255,.8);
}

/* Social icons — 75% white, hover to full */
.socials{ display: flex; align-items: center; justify-content: center; }
.socials--plain{ gap: 22px; }
.socials--plain a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}
.socials--plain a:hover{ color: #fff; transform: translateY(-2px); }
.socials--plain svg{ width: 32px; height: 32px; display: block; }

/* Email line — lead-in 75% white, address in accent */
.email{
  margin: 0;
  font-size: clamp(10px, 0.98rem, 16px);
  color: rgba(255,255,255,.75);
}
.email .email-link{
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dashed rgba(216,199,34,.5);
}
.email .email-link:hover{ border-bottom-color: rgba(216,199,34,.9); }

/* Reveal animation (appear from bottom) */
.reveal{ opacity: 0; transform: translateY(24px); }
body.loaded .reveal{ animation: rise .6s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes rise{ to{ opacity: 1; transform: none; } }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  #loader, #loader .bar{ transition: none !important; }
  .reveal, body.loaded .reveal{ animation: none !important; opacity:1; transform:none; }
}
