/* ============================================================
   layout.css — nav, footer, shared section wrappers
   ============================================================ */

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 0.5px solid var(--rule);
  padding: 0 2rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-wordmark {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo {
  display: block;
  height: 34px;
  width: auto;
  mix-blend-mode: multiply;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--ink); }

/* On-shift badge */
.on-shift-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-pale);
  border: 0.5px solid rgba(196,134,42,0.25);
  border-radius: 100px;
  padding: 5px 14px 5px 8px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.on-shift-badge:hover { background: #EDDFBE; }

.on-shift-badge--empty {
  background: transparent;
  border-color: transparent;
  color: var(--ink-faint);
  font-size: 13px;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.shift-dot-wrap {
  position: relative;
  width: 8px; height: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.shift-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-shift);
}
.shift-dot::after {
  content: '';
  position: absolute;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: rgba(90,155,90,0.22);
  animation: shift-pulse 2.2s ease-in-out infinite;
}

@keyframes shift-pulse {
  0%, 100% { transform: scale(0.8); opacity: 0.8; }
  50%       { transform: scale(1.3); opacity: 0.2; }
}

.shift-name { font-weight: 500; color: var(--ink); }

/* ── Page wrapper ── */
.page {
  padding-top: var(--nav-height);
}

/* ── Section containers ── */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 80px 0;
}

.section--ruled {
  border-top: 0.5px solid var(--rule);
}

.section--dark {
  background: var(--ink);
}

/* ── Section label ── */
.section-label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 0.5px;
  background: var(--ink-faint);
}

.section--dark .section-label {
  color: rgba(255,255,255,0.35);
}
.section--dark .section-label::before {
  background: rgba(255,255,255,0.2);
}

/* ── Footer ── */
.footer {
  border-top: 0.5px solid var(--rule);
  padding: 40px 0;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-wordmark {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo {
  display: block;
  height: 56px;
  width: auto;
  mix-blend-mode: multiply;
  opacity: 0.55;
}
.footer-wordmark:hover .footer-logo { opacity: 0.8; }

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-link {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--ink); }

.footer-copy {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-faint);
}

/* ── Mobile ── */
@media (max-width: 700px) {
  .nav-right .nav-link { display: none; }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }
  .footer-links { justify-content: center; }
}