/* â”€â”€ Shared: Navigation Bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--navbar-height);
  background: var(--background);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--clr-border);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: var(--background);
  border-color: var(--clr-border);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

/* â”€â”€ Shared: Header inner container â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.navbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* App topbar: 3-column grid — brand left | nav centred | actions right */
.app-topbar__inner {
  padding: 0 28px;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0;
}

.app-topbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

/* â”€â”€ Shared: Brand title (far left) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.navbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
  text-decoration: none;
}

.navbar__brand:focus-visible {
  outline: 2px solid rgba(230, 148, 32, 0.45);
  outline-offset: 4px;
  border-radius: 4px;
}

.navbar__brand-text {
  display: inline-block;
  line-height: 1;
  background: var(--brand-heading-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* â”€â”€ Shared: Right nav links â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex-shrink: 0;
}

/* Text style aligned with .navbar__nav-launch (no border / fill — label only) */
.navbar__nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: rgba(245, 236, 220, 0.9);
  padding: 0.55rem 12px;
  border-radius: 100px;
  position: relative;
  transition: color var(--transition);
  white-space: nowrap;
}

.navbar__nav-btn:hover {
  color: var(--primary);
  background: none;
}

.navbar__nav-btn:focus-visible {
  outline: 2px solid rgba(230, 148, 32, 0.45);
  outline-offset: 3px;
}

.navbar__nav-btn.active {
  color: var(--primary);
}

/* Status dot wrapper (app page) */
.navbar__status {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-left: 8px;
  border-left: 1px solid var(--clr-border);
}

/* ── Auth widget (app topbar, top-right) ───────────────────────────────── */
.topbar__auth {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.topbar__auth-signin {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-text-secondary);
  text-decoration: none;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.topbar__auth-signin:hover {
  color: var(--primary);
  background: var(--clr-saffron-glow);
}

.topbar__auth-user {
  position: relative;
}

.topbar__auth-avatar {
  all: unset;
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(230, 148, 32, 0.12);
  border: 1.5px solid rgba(230, 148, 32, 0.25);
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color var(--transition), background var(--transition);
}
.topbar__auth-avatar:hover,
.topbar__auth-avatar[aria-expanded="true"] {
  background: rgba(230, 148, 32, 0.20);
  border-color: var(--primary);
}
.topbar__auth-avatar:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.topbar__auth-initials {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.topbar__auth-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.topbar__auth-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 190px;
  background: rgba(12, 10, 6, 0.95);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  padding: 0.5rem;
  z-index: 200;
}
.topbar__auth-menu[hidden] { display: none; }

.topbar__auth-email {
  font-size: 0.76rem;
  color: var(--clr-text-muted);
  padding: 0.35rem 0.55rem 0.55rem;
  word-break: break-all;
  line-height: 1.45;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0.35rem;
}

.topbar__auth-signout {
  all: unset;
  box-sizing: border-box;
  display: block;
  width: 100%;
  padding: 0.45rem 0.55rem;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.topbar__auth-signout:hover {
  background: rgba(204, 106, 106, 0.12);
  color: #e07070;
}
.topbar__auth-signout:focus-visible {
  outline: 2px solid #e07070;
  outline-offset: 2px;
}

/* â”€â”€ Shared: Mobile hamburger toggle â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: background var(--transition);
}

.navbar__toggle:hover {
  background: rgba(230, 148, 32, 0.07);
}

.navbar__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease, background var(--transition);
}

.navbar__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.navbar__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* â”€â”€ Soft Ambient Glow â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/*
   Two radial blobs blurred heavily â€” no contrast filter, so edges stay
   completely smooth and organic. mix-blend-mode: screen makes the black
   base invisible; only the diffuse saffron light shows on the dark page.
*/
/* -- Video Background ---------------------------------------------------- */
#video-bg-container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.25;
}

#video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* -- Launch App: minimal outline, generous frame (not a heavy “chunk”) */
.navbar__nav-launch {
  margin-left: 1.25rem;
  padding: 0.55rem 1.65rem;
  min-height: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
  gap: 0;
  border-radius: 100px;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(230, 148, 32, 0.38);
  color: rgba(245, 236, 220, 0.9);
  background: rgba(230, 148, 32, 0.04);
  box-shadow: none;
}
.navbar__nav-launch:hover {
  background: rgba(230, 148, 32, 0.1);
  border-color: rgba(230, 148, 32, 0.55);
  color: var(--primary);
  transform: none;
  box-shadow: none;
}
.navbar__nav-launch:active {
  transform: none;
}
.navbar__nav-launch:focus-visible {
  outline: 2px solid rgba(230, 148, 32, 0.55);
  outline-offset: 3px;
}
.navbar__nav-launch::after {
  display: none !important;
}

