/* ─── TGDC — Header & Navigation ─── */

/* ── Header shell ── */
#tgdc-hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  padding: 20px 0;
  transition: padding .5s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease), backdrop-filter .5s;
}

#tgdc-hdr.tgdc-scrolled {
  background: rgba(250, 248, 243, .96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(28, 29, 25, .08);
}

/* ── Nav layout ── */
.tgdc-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
}



.tgdc-brand {
  flex-shrink: 0;
}

/* ── Logo swap ── */
.tgdc-logo {
  width: 260px;
  max-width: 50vw;
  height: auto;
}

.tgdc-logo-dark {
  display: none;
}

.tgdc-logo-light {
  display: block;
}

#tgdc-hdr.tgdc-scrolled .tgdc-logo-dark {
  display: block;
}

#tgdc-hdr.tgdc-scrolled .tgdc-logo-light {
  display: none;
}

/* ── Primary menu ── */


.tgdc-menu-list,
.tgdc-menu ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.tgdc-menu-list a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(242, 237, 227, .82);
  transition: color .3s;
}

.tgdc-menu-list a:hover {
  color: var(--gold);
}

#tgdc-hdr.tgdc-scrolled .tgdc-menu-list a {
  color: var(--ink-soft);
}

#tgdc-hdr.tgdc-scrolled .tgdc-menu-list a:hover {
  color: var(--forest);
}

/* ── Desktop CTA button ── */
.tgdc-header-cta .tgdc-btn {
    background: rgba(0, 0, 0, .2);
    color: var(--gold-pale);
    border: 1px solid rgba(196, 160, 90, 1);
    transition: background .4s, color .4s, border-color .4s;
}

.tgdc-header-cta .tgdc-btn:hover {
  background: rgba(196, 160, 90, .18);
}

#tgdc-hdr.tgdc-scrolled .tgdc-header-cta .tgdc-btn {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

/* ── Nav right (icon + burger) ── */
.tgdc-nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tgdc-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(242, 237, 227, .4);
  border-radius: 50%;
  color: rgba(242, 237, 227, .85);
  transition: border-color .3s, color .3s;
}

.tgdc-nav-cta svg {
  width: 18px;
  height: 18px;
}

.tgdc-nav-cta:hover {
  border-color: var(--gold);
  color: var(--gold);
}

#tgdc-hdr.tgdc-scrolled .tgdc-nav-cta {
  border-color: var(--forest);
  color: var(--forest);
}

.tgdc-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.tgdc-burger span {
  display: block;
  height: 1.5px;
  background: rgba(242, 237, 227, .85);
  border-radius: 2px;
  transition: background .3s, transform .3s, opacity .3s;
}

#tgdc-hdr.tgdc-scrolled .tgdc-burger span {
  background: var(--forest);
}

.tgdc-burger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.tgdc-burger.open span:nth-child(2) {
  opacity: 0;
}

.tgdc-burger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Mobile menu overlay ── */
.tgdc-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transform: translateY(-100%);
  transition: transform .42s var(--ease);
  z-index: 999;
  padding: 0 24px !important;
  opacity: 0;
  visibility: hidden;
}


.tgdc-mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transform: none;
}

.tgdc-mm-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.tgdc-mm-links a,
.tgdc-mm-links li a {
  font-family: var(--serif);
  font-size: clamp(34px, 9vw, 50px);
  color: rgba(242, 237, 227, .85);
  letter-spacing: .01em;
  padding: 6px 0;
  transition: color .3s;
}

.tgdc-mm-links a:hover,
.tgdc-mm-links li a:hover {
  color: var(--gold);
}

.tgdc-mm-close {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 32px;
  color: var(--cream);
  opacity: .7;
  transition: opacity .2s;
}

.tgdc-mm-close:hover {
  opacity: 1;
}

.tgdc-mm-logo{
  position: absolute;
  top: 37px;
  left: 20px;
}

.tgdc-mm-logo img {
  width: 260px;
}

/* ── Hide menu/header CTA on mobile ── */
@media (max-width: 860px) {

  .tgdc-menu,
  .tgdc-header-cta {
    display: none;
  }
}


  .tgdc-nav-cta {
    display: none;
  }
  .tgdc-burger{
    display: none;
  }
