:root {
  --bg: #08131f;
  --bg-soft: #0f1d30;
  --card: rgba(16, 28, 45, 0.82);
  --card-border: rgba(136, 170, 214, 0.25);
  --text: #e8eff8;
  --muted: #a8bad1;
  --accent: #f58f3d;
  --accent-2: #2ec4b6;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body.site-shell {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 15%, rgba(58, 130, 246, 0.2), transparent 30%),
    radial-gradient(circle at 80% 5%, rgba(245, 143, 61, 0.18), transparent 28%),
    linear-gradient(160deg, #050b14 0%, #0a1728 45%, #0d2037 100%);
}

.aurora {
  position: fixed;
  inset: -20% auto auto -10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.2), rgba(46, 196, 182, 0));
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
  animation: float 9s ease-in-out infinite alternate;
}

.site-header {
  backdrop-filter: blur(10px);
  background: rgba(8, 19, 31, 0.65);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  color: var(--text);
}

.navbar-brand:hover {
  color: var(--text);
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(232, 239, 248, 0.2);
  object-fit: cover;
}

.brand-overline {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.1;
}

.nav-link {
  color: var(--muted);
  border-radius: 999px;
  padding: 0.45rem 0.9rem !important;
  transition: color 160ms ease, background-color 160ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(245, 143, 61, 0.2);
}

.social-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(127, 195, 255, 0.45);
  color: #b8ddff;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.social-pill:hover {
  color: #e7f5ff;
  border-color: rgba(166, 215, 255, 0.8);
  background: rgba(127, 195, 255, 0.15);
  text-decoration: none;
}

.hero-card,
.content-card,
.feature-card,
.stat-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.hero-card,
.content-card {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 280ms ease, transform 280ms ease;
}

.content-card {
  padding: 1.75rem;
}

.hero-card.is-visible,
.content-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card,
.stat-card {
  padding: 1.25rem;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  padding: 1.25rem;
}

.project-status {
  border-radius: 999px;
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

.status-live {
  background: rgba(46, 196, 182, 0.2);
  color: #91f0e5;
}

.status-in-progress {
  background: rgba(245, 143, 61, 0.2);
  color: #ffd0ad;
}

.status-planned {
  background: rgba(127, 195, 255, 0.2);
  color: #b8ddff;
}

.project-tag {
  border: 1px solid rgba(136, 170, 214, 0.45);
  color: #d6e8ff;
  border-radius: 999px;
  font-size: 0.8rem;
  padding: 0.2rem 0.55rem;
}

.photo-showcase h2 {
  font-family: "Space Grotesk", sans-serif;
}

.photo-controls {
  display: flex;
  gap: 0.5rem;
}

.photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 64vh;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(136, 170, 214, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  background: rgba(9, 18, 29, 0.9);
  min-height: 340px;
}

.photo-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.photo-stage-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.photo-stage-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(20px) saturate(1.1);
  transform: scale(1.06);
  opacity: 0.55;
}

.photo-loading {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.photo-meta {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1rem;
  background: linear-gradient(180deg, rgba(4, 10, 17, 0), rgba(4, 10, 17, 0.85));
  color: #dce9f8;
  font-size: 0.9rem;
}

.photo-toggle {
  color: #dce9f8;
  font-weight: 600;
  text-decoration: none;
}

.photo-toggle:hover {
  color: #ffffff;
}

.eyebrow {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 600;
}

.text-secondary,
.lead {
  color: var(--muted) !important;
}

.btn-brand {
  --bs-btn-color: #08131f;
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-color: #08131f;
  --bs-btn-hover-bg: #ff9f54;
  --bs-btn-hover-border-color: #ff9f54;
  --bs-btn-active-color: #08131f;
  --bs-btn-active-bg: #ff9f54;
  --bs-btn-active-border-color: #ff9f54;
  font-weight: 600;
}

.btn-outline-light {
  border-color: rgba(232, 239, 248, 0.45);
}

.btn-outline-light:hover {
  color: #08131f;
}

a {
  color: #7fc3ff;
}

a:hover {
  color: #a6d7ff;
}

@keyframes float {
  from {
    transform: translate(-2%, -1%);
  }
  to {
    transform: translate(4%, 2%);
  }
}

@media (max-width: 768px) {
  .brand-overline {
    font-size: 0.68rem;
  }

  .brand-title {
    font-size: 1rem;
  }

  .navbar-brand {
    max-width: calc(100% - 72px);
  }

  .social-pill {
    font-size: 0.8rem;
  }

  .content-card {
    padding: 1.25rem;
  }

  .photo-frame,
  .photo-stage,
  .photo-loading {
    min-height: 260px;
  }

  .photo-controls {
    width: 100%;
    justify-content: flex-start;
  }
}
