/* ── NAVBAR ── */
.tc-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  display: flex;
  justify-content: center;
  padding: 1.2rem 1.5rem;
  pointer-events: none;
  transform: translateY(-100%);
  opacity: 0;
  animation: tc-nav-fallback-in 0.9s 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.home .tc-nav,
body.front-page .tc-nav,
body.page-template-template-home .tc-nav {
  animation: none;
}
.tc-nav-inner {
  pointer-events: all;
  width: 100%;
  max-width: 900px;
}
.tc-nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,0,0,0);
  border: 1px solid rgba(222,220,208,0.25);
  border-radius: 100px;
  padding: 0.55rem 0.6rem 0.55rem 1.8rem;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  gap: 0.55rem;
}
.tc-nav-pill.tc-scrolled {
  background: rgba(0,0,0,0.82);
  border-color: rgba(222,220,208,0.18);
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.tc-nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex: 1;
}
.tc-nav-link {
  color: rgba(222,220,208,0.75);
  font-family: Montserrat, sans-serif;
  font-size: clamp(0.65rem, 1vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.tc-nav-link:hover,
.tc-nav-link.tc-active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.tc-nav-logo {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: #000;
  border: 1px solid rgba(222,220,208,0.4);
  display: block;
  flex-shrink: 0;
  opacity: 1;
  transition: transform 0.3s ease, border-color 0.3s, background-size 0.3s;
}
.tc-nav-logo img {
  display: block;
  width: 70%;
  height: 70%;
  margin: 15%;
  object-fit: contain;
}
.tc-nav-logo:hover {
  transform: scale(1.07);
  border-color: rgba(222,220,208,0.8);
  background-size: 74%;
}
.tc-nav-login {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: #000;
  border: 1px solid rgba(222,220,208,0.4);
  flex-shrink: 0;
  transition: transform 0.3s ease, border-color 0.3s;
  text-decoration: none;
}
.tc-nav-login:hover {
  transform: scale(1.07);
  border-color: rgba(222,220,208,0.8);
}
.tc-nav-login img {
  width: 22px;
  height: 22px;
  opacity: 0.85;
  display: block;
}

/* Hamburger circle button */
.tc-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 52px;
  height: 52px;
  background: #000;
  border: 1px solid rgba(222,220,208,0.4);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  align-items: center;
  flex-shrink: 0;
  transition: border-color 0.2s;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
}
.tc-hamburger:hover { border-color: rgba(222,220,208,0.8); }
.tc-hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #dedcd0;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.tc-hamburger.tc-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.tc-hamburger.tc-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.tc-hamburger.tc-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay — opacity toggle, NOT display toggle */
.tc-mobile-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 8999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.tc-mobile-overlay.tc-open {
  opacity: 1;
  pointer-events: all;
}
.tc-mobile-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  width: 44px; height: 44px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.tc-mobile-close:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}
.tc-mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.tc-mobile-link {
  color: rgba(255,255,255,0.85);
  font-family: Montserrat, sans-serif;
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.4rem 1rem;
  opacity: 0;
  transform: translateY(24px);
  transition: color 0.2s;
  display: block;
}
.tc-mobile-link:hover { color: #fff; }
.tc-mobile-overlay.tc-open .tc-mobile-link {
  animation: tc-link-in 0.5s cubic-bezier(0.16,1,0.3,1) forwards;
}
.tc-mobile-overlay.tc-open .tc-mobile-link:nth-child(1) { animation-delay: 0.05s; }
.tc-mobile-overlay.tc-open .tc-mobile-link:nth-child(2) { animation-delay: 0.10s; }
.tc-mobile-overlay.tc-open .tc-mobile-link:nth-child(3) { animation-delay: 0.15s; }
.tc-mobile-overlay.tc-open .tc-mobile-link:nth-child(4) { animation-delay: 0.20s; }
.tc-mobile-overlay.tc-open .tc-mobile-link:nth-child(5) { animation-delay: 0.25s; }
@keyframes tc-link-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes tc-nav-fallback-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tc-mobile-footer {
  position: absolute;
  bottom: 2.5rem;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(222,220,208,0.12);
  padding-top: 1.5rem;
}
.tc-mobile-login {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.55);
  font-family: Montserrat, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
  opacity: 0;
  animation: none;
}
.tc-mobile-overlay.tc-open .tc-mobile-login {
  animation: tc-link-in 0.5s cubic-bezier(0.16,1,0.3,1) 0.35s forwards;
}
.tc-mobile-login:hover { color: rgba(255,255,255,0.9); }
.tc-mobile-login img { opacity: 0.6; }
.tc-mobile-login:hover img { opacity: 1; }

/* Responsive ─ 720px matches original */
@media (max-width: 720px) {
  .tc-nav-links  { display: none; }
  .tc-nav-login  { display: none; }
  .tc-hamburger  { display: flex; }
  .tc-nav-pill {
    padding: 0.45rem 0.5rem;
    justify-content: space-between;
    gap: 0.5rem;
  }
}
