/* ==========================================================================
   Navbar — Pensive Works identity bar (subpage variant)
   ========================================================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--indigo);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.terracotta-line {
  height: 6px;
  background-color: var(--terracotta);
  width: 100%;
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.7rem var(--padding-x) 0;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.navbar-monogram {
  margin-left: auto;
  width: 25px;
  height: 25px;
  border: 2.5px double rgba(var(--almost-white-rgb), 0.55);
  flex-shrink: 0;
  text-decoration: none;
  display: block;
  margin-bottom: 0.7rem;
}

.navbar-monogram:hover {
  border-color: rgba(var(--almost-white-rgb), 0.8);
}

.navbar-monogram-inner {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'EB Garamond', 'Garamond', serif;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1;
  color: var(--almost-white);
}

.navbar-inner a,
.navbar-inner a:visited,
.navbar-inner a:link {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--almost-white);
  text-decoration: none;
  opacity: 0.8;
  padding-bottom: 0.7rem;
}

.navbar-inner a:hover,
.navbar-inner a:focus {
  opacity: 1;
  text-decoration: none;
}

.navbar-inner a[href*="products"]::after {
  content: '';
  position: absolute;
  left: -0.2rem;
  right: -0.2rem;
  bottom: 0;
  height: 1px;
  background-color: rgba(var(--almost-white-rgb), 0.25);
}
