/* ===== Reset & Base ===== */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #f4f4f6;
  background: #121016;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ===== Background: 3 images crossfade + gradient overlay ===== */
.background { position: fixed; inset: 0; z-index: 0; overflow: hidden; }

/* Crossfade with single image source per keyframe (reliable) */
.bg-layer {
  position: absolute; inset: 0;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  filter: grayscale(100%) opacity(.10) brightness(1.30);
  animation: fadeImages 24s ease-in-out infinite;
}
@keyframes fadeImages {
  0%, 33%   { background-image: url("assets/bg1.jpg"); }
  34%, 66%  { background-image: url("assets/bg2.jpg"); }
  67%, 100% { background-image: url("assets/bg3.jpg"); }
}

/* Gradient overlay (your palette) + subtle radials */
.overlay {
  position: absolute; inset: 0; z-index: 1;
  /* background: */
    /* radial-gradient(1000px 600px at 25% 25%, rgba(255,255,255,0.08), transparent 60%), */
    /* radial-gradient(800px 500px at 80% 80%, rgba(255,255,255,0.06), transparent 60%), */
    /* linear-gradient(135deg, #2c2a31 0%, #121016 100%); */
}

/* ===== Content (no boxes) ===== */
.stack {
  position: relative; z-index: 2;
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 2rem; gap: 1rem;
}
.logo {
  width: min(360px, 70vw);
  height: auto;
  filter: drop-shadow(0 10px 36px rgba(0,0,0,.5));
}
.title {
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 600;
  color: #f1f1f5;
}
.tagline {
  color: #bebec9;
  font-size: clamp(14px, 2vw, 18px);
  max-width: 720px;
}

/* ===== Icon Buttons (chips) ===== */
.actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; margin-top: 10px;
}
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.08);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.40);
  transition: all .25s ease;
}
.chip:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0,0,0,.60);
}
.chip.primary {
  background: #ffffff;
  color: #111;
  border-color: #ffffff;
}
.chip.primary:hover {
  background: #cf2e2e;
  color: #fff;
  border-color: #cf2e2e;
  box-shadow: 0 10px 30px rgba(207,46,46,.60);
}
.icon { width: 18px; height: 18px; fill: currentColor; }

/* ===== Inline Contacts ===== */
.contacts {
  margin-top: 1rem;
  color: #c9c9d4;
  font-size: 14px;
}
.contacts .mini {
  background: none; border: none; color: inherit;
  cursor: pointer; padding: 0;
  text-decoration: none; border-bottom: 1px dashed transparent;
}
.contacts .mini:hover { border-bottom-color: currentColor; }
.dot { margin: 0 8px; color: #7e7e8a; }

/* ===== Footer ===== */
.foot {
  position: fixed; left: 0; right: 0; bottom: 12px;
  text-align: center; font-size: 12px; color: #9a9aab; z-index: 2;
}
.sep { margin: 0 8px; color: #777; }
.foot a {
  color: #cf2e2e;
  text-decoration: none;
  font-weight: 600;
  transition: color .2s ease;
}
.foot a:hover { color: #ffffff; }

/* ===== Responsive tweaks ===== */
@media (max-width: 480px) {
  .chip { padding: 10px 14px; font-size: 14px; }
  .icon { width: 16px; height: 16px; }
}
