/* Shared TOUR-KINETIC chrome: header, nav menu, and footer. */

.tk-site-header,
.tk-site-footer {
  color: var(--card, #f7f1e3);
  background:
    linear-gradient(180deg, rgba(247, 198, 0, 0.08), rgba(247, 198, 0, 0)),
    var(--ink, #1d1a16) var(--grain, none);
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tk-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 3vw, 34px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
}

.tk-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.tk-brand-main {
  font-family: var(--cond, Impact, sans-serif);
  font-size: clamp(24px, 3.3vw, 34px);
  line-height: 0.95;
  letter-spacing: 1px;
}

.tk-brand-main span {
  color: var(--accent, #f7c600);
}

.tk-brand-sub {
  color: rgba(247, 241, 227, 0.72);
  font-family: var(--label, system-ui, sans-serif);
  font-size: 0.66rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.tk-nav-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tk-primary-nav,
.tk-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tk-primary-nav a,
.tk-footer-nav a {
  border-radius: 8px;
  color: rgba(247, 241, 227, 0.78);
  font-family: var(--label, system-ui, sans-serif);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-decoration: none;
  text-transform: uppercase;
}

.tk-primary-nav a {
  min-height: 40px;
  padding: 11px 12px;
}

.tk-primary-nav a:hover,
.tk-primary-nav a:focus-visible,
.tk-primary-nav a[aria-current="page"] {
  color: var(--ink, #1d1a16);
  background: var(--accent, #f7c600);
  outline: none;
}

.tk-menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.tk-menu-button span {
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--card, #f7f1e3);
}

.tk-menu-button span::before,
.tk-menu-button span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--card, #f7f1e3);
}

.tk-menu-button span::before {
  top: -6px;
}

.tk-menu-button span::after {
  top: 6px;
}

.tk-menu-button:hover,
.tk-menu-button:focus-visible {
  border-color: var(--accent, #f7c600);
  outline: none;
}

.tk-site-header.is-open .tk-menu-button {
  background: var(--accent, #f7c600);
}

.tk-site-header.is-open .tk-menu-button span,
.tk-site-header.is-open .tk-menu-button span::before,
.tk-site-header.is-open .tk-menu-button span::after {
  background: var(--ink, #1d1a16);
}

.tk-site-footer {
  margin-top: 56px;
  padding: 28px clamp(18px, 3vw, 34px);
  border-top: 7px solid var(--accent, #f7c600);
}

.tk-footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(220px, 1.1fr) minmax(220px, 1fr);
  gap: 22px;
  width: min(1240px, 100%);
  margin: 0 auto;
  align-items: start;
}

.tk-footer-brand {
  display: inline-block;
  color: var(--card, #f7f1e3);
  font-family: var(--cond, Impact, sans-serif);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 0.95;
  letter-spacing: 1px;
  text-decoration: none;
}

.tk-footer-brand span {
  color: var(--accent, #f7c600);
}

.tk-site-footer p {
  margin: 0;
  color: rgba(247, 241, 227, 0.74);
  font-size: 0.92rem;
  line-height: 1.5;
}

.tk-footer-nav {
  justify-content: flex-start;
}

.tk-footer-nav a {
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.tk-footer-nav a:hover,
.tk-footer-nav a:focus-visible {
  color: var(--ink, #1d1a16);
  background: var(--accent, #f7c600);
  outline: none;
}

.tk-site-footer a:not(.tk-footer-brand) {
  color: var(--accent, #f7c600);
}

@media (max-width: 820px) {
  .tk-site-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .tk-nav-wrap {
    display: contents;
  }

  .tk-site-header.tk-js .tk-menu-button {
    display: inline-flex;
    order: 2;
    margin-left: auto;
  }

  .tk-site-header.tk-js .tk-primary-nav {
    display: none;
    width: 100%;
    flex-basis: 100%;
    order: 3;
    padding-top: 4px;
  }

  .tk-site-header.tk-js.is-open .tk-primary-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tk-site-header.tk-js.is-open .tk-primary-nav a {
    display: grid;
    place-items: center;
    min-width: 0;
    text-align: center;
  }

  .tk-footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  .tk-brand-main {
    font-size: 22px;
  }

  .tk-brand-sub {
    font-size: 0.58rem;
  }

  .tk-site-header.tk-js.is-open .tk-primary-nav {
    grid-template-columns: 1fr;
  }
}
