.tf-skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--tf-gold);
  color: var(--tf-charcoal);
  font-weight: 860;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.tf-skip-link:focus {
  transform: translateY(0);
}

.wp-site-blocks {
  min-height: 100vh;
}

.tf-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  margin-block-start: 0;
  padding: 14px clamp(18px, 4vw, 46px);
  background: rgba(17, 20, 14, 0.92);
  border-bottom: 1px solid rgba(251, 248, 237, 0.12);
  backdrop-filter: blur(18px);
  transition: background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease, padding 240ms ease;
}

.tf-site-header.is-scrolled {
  background: rgba(17, 20, 14, 0.96);
  border-bottom-color: rgba(220, 233, 130, 0.16);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.tf-header-inner {
  width: min(1240px, 100%);
  min-height: 62px;
  margin-inline: auto;
  gap: 24px;
}

.tf-logo {
  display: inline-flex;
  align-items: center;
  width: min(245px, 52vw);
  flex: 0 0 auto;
}

.tf-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.tf-main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 34px);
  font-size: 0.9rem;
  font-weight: 760;
}

.tf-main-nav a {
  color: rgba(251, 248, 237, 0.82);
  text-decoration: none;
}

.tf-main-nav a:hover {
  color: var(--tf-gold);
}

.tf-main-nav a[aria-current="page"] {
  color: var(--tf-gold);
}

/* Experiences mega-menu (desktop) */
.tf-nav-item.tf-has-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.tf-nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.tf-nav-caret {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -2px);
  transition: transform 220ms ease;
  opacity: 0.75;
}

.tf-has-dropdown:hover .tf-nav-caret,
.tf-has-dropdown:focus-within .tf-nav-caret {
  transform: rotate(225deg) translate(-1px, -1px);
  opacity: 1;
}

.tf-mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 16px;
  width: min(880px, 94vw);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  translate: 0 8px;
  transition: opacity 200ms ease, translate 200ms ease, visibility 0s linear 200ms;
  z-index: 60;
}

.tf-has-dropdown:hover .tf-mega-menu,
.tf-has-dropdown:focus-within .tf-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  translate: 0 0;
  transition: opacity 200ms ease, translate 200ms ease;
}

.tf-mega-inner {
  display: flex;
  align-items: stretch;
  gap: 26px;
  padding: 26px 28px;
  border-radius: 22px;
  border: 1px solid rgba(220, 233, 130, 0.18);
  background:
    linear-gradient(180deg, rgba(251, 248, 237, 0.08), rgba(251, 248, 237, 0.035)),
    rgba(17, 20, 14, 0.97);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.tf-mega-cols {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px 22px;
  align-content: start;
}

.tf-mega-col {
  min-width: 0;
}

.tf-mega-heading {
  margin: 0 0 10px;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--tf-gold);
  font-weight: 840;
}

.tf-mega-link {
  display: block;
  padding: 7px 8px;
  margin: 0 -8px;
  border-radius: 10px;
  color: rgba(251, 248, 237, 0.82);
  font-size: 0.9rem;
  font-weight: 680;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.tf-mega-link:hover,
.tf-mega-link:focus-visible {
  background: rgba(251, 248, 237, 0.08);
  color: var(--tf-gold);
}

.tf-mega-feature {
  flex: 0 0 232px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 16px;
  background: rgba(220, 233, 130, 0.08);
  border: 1px solid rgba(220, 233, 130, 0.16);
}

.tf-mega-feature-all {
  margin-top: auto;
}

.tf-mega-feature-title {
  margin: 0 0 6px;
  color: var(--tf-paper);
  font-weight: 840;
  font-size: 0.98rem;
}

.tf-mega-feature-text {
  margin: 0 0 14px;
  color: rgba(251, 248, 237, 0.72);
  font-size: 0.84rem;
  line-height: 1.5;
}

.tf-mega-feature-cta {
  width: 100%;
  margin-bottom: 12px;
}

.tf-mega-feature-all {
  display: inline-block;
  color: var(--tf-gold);
  font-size: 0.84rem;
  font-weight: 760;
  text-decoration: none;
}

.tf-mega-feature-all:hover {
  text-decoration: underline;
}

/* Scoped to beat the generic `.tf-main-nav a` colour on nav links/buttons. */
.tf-main-nav .tf-mega-feature-cta,
.tf-main-nav .tf-mega-feature-cta:hover {
  color: var(--tf-charcoal);
}

.tf-main-nav .tf-mega-feature-all,
.tf-main-nav .tf-mega-feature-all:hover {
  color: var(--tf-gold);
}

/* Simple nav dropdowns (Resources, About) */
.tf-mega-menu.tf-nav-simple {
  width: max-content;
  min-width: 210px;
}

.tf-nav-simple-inner {
  display: grid;
  gap: 2px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(220, 233, 130, 0.18);
  background:
    linear-gradient(180deg, rgba(251, 248, 237, 0.08), rgba(251, 248, 237, 0.035)),
    rgba(17, 20, 14, 0.97);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.tf-main-nav .tf-nav-simple-link {
  display: block;
  padding: 9px 14px;
  border-radius: 10px;
  color: rgba(251, 248, 237, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.tf-main-nav .tf-nav-simple-link:hover {
  background: rgba(251, 248, 237, 0.08);
  color: var(--tf-gold);
}

.tf-main-nav .tf-nav-simple-link.is-lead {
  margin-bottom: 4px;
  color: var(--tf-charcoal);
  background: var(--tf-gold);
  font-weight: 820;
}

.tf-main-nav .tf-nav-simple-link.is-lead:hover {
  background: #edf5a6;
  color: var(--tf-charcoal);
}

.tf-mobile-menu-toggle,
.tf-mobile-nav {
  display: none;
}

.tf-mobile-menu-toggle {
  position: relative;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid rgba(220, 233, 130, 0.34);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(251, 248, 237, 0.1), rgba(251, 248, 237, 0.04)),
    rgba(17, 20, 14, 0.52);
  color: var(--tf-paper);
  font: inherit;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.tf-mobile-menu-toggle:hover,
.tf-mobile-menu-toggle.is-open {
  border-color: rgba(220, 233, 130, 0.72);
  background:
    linear-gradient(180deg, rgba(220, 233, 130, 0.18), rgba(251, 248, 237, 0.05)),
    rgba(17, 20, 14, 0.62);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24), 0 0 0 4px rgba(220, 233, 130, 0.08);
  transform: translateY(-1px);
}

.tf-mobile-menu-toggle:focus-visible {
  outline: 3px solid rgba(220, 233, 130, 0.72);
  outline-offset: 4px;
}

.tf-mobile-menu-icon {
  display: grid;
  gap: 4px;
  width: 21px;
}

.tf-mobile-menu-icon span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 220ms ease, opacity 180ms ease, width 180ms ease;
}

.tf-mobile-menu-icon span:nth-child(2) {
  width: 15px;
  justify-self: end;
}

.tf-mobile-menu-toggle.is-open .tf-mobile-menu-icon span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.tf-mobile-menu-toggle.is-open .tf-mobile-menu-icon span:nth-child(2) {
  opacity: 0;
  transform: translateX(4px);
}

.tf-mobile-menu-toggle.is-open .tf-mobile-menu-icon span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.tf-mobile-nav {
  flex: 1 1 100%;
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(220, 233, 130, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(251, 248, 237, 0.08), rgba(251, 248, 237, 0.035)),
    rgba(17, 20, 14, 0.92);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
  transform-origin: top center;
}

.tf-mobile-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 16px;
  color: rgba(251, 248, 237, 0.86);
  font-weight: 780;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.tf-mobile-nav a:hover {
  background: rgba(251, 248, 237, 0.08);
  color: var(--tf-gold);
  transform: translateX(2px);
}

.tf-mobile-nav a[aria-current="page"] {
  background: rgba(220, 233, 130, 0.12);
  color: var(--tf-gold);
}

.tf-mobile-nav .tf-mobile-nav-cta {
  grid-column: 1 / -1;
  justify-content: center;
  background: var(--tf-gold);
  color: var(--tf-charcoal);
  box-shadow: 0 12px 28px rgba(220, 233, 130, 0.2);
}

/* Experiences disclosure (mobile) */
.tf-mobile-sub {
  grid-column: 1 / -1;
  width: 100%;
  border: 1px solid rgba(220, 233, 130, 0.14);
  border-radius: 16px;
  background: rgba(251, 248, 237, 0.04);
  overflow: hidden;
}

.tf-mobile-sub > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 0 16px;
  color: rgba(251, 248, 237, 0.86);
  font-weight: 780;
  cursor: pointer;
  list-style: none;
}

.tf-mobile-sub > summary::-webkit-details-marker {
  display: none;
}

.tf-mobile-sub > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 220ms ease;
  opacity: 0.75;
}

.tf-mobile-sub[open] > summary {
  color: var(--tf-gold);
}

.tf-mobile-sub[open] > summary::after {
  transform: rotate(225deg);
  opacity: 1;
}

.tf-mobile-subpanel {
  display: grid;
  padding: 4px 8px 12px;
}

.tf-mobile-subheading {
  margin: 12px 10px 2px;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(220, 233, 130, 0.7);
  font-weight: 820;
}

.tf-mobile-subpanel a {
  min-height: 44px;
  padding: 0 12px;
  font-size: 0.92rem;
  font-weight: 660;
}

.tf-mobile-subpanel .tf-mobile-suball {
  font-weight: 800;
  color: var(--tf-gold);
}

.tf-header-cta,
.tf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 820;
  text-decoration: none;
  white-space: nowrap;
}

.tf-header-cta,
.tf-button-primary {
  background: var(--tf-gold);
  color: var(--tf-charcoal);
  box-shadow: 0 10px 30px rgba(220, 233, 130, 0.22);
}

.tf-header-cta:hover,
.tf-button-primary:hover {
  transform: translateY(-2px);
  background: #edf5a6;
}

.tf-button-secondary {
  border: 1px solid rgba(251, 248, 237, 0.38);
  color: var(--tf-paper);
}

.tf-button-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--tf-gold);
  color: var(--tf-gold);
}

