/* ==========================================================================
   Site chrome — header and footer (SiteHeader.dc.html / SiteFooter.dc.html)
   The design's header is a single flex row with no @media query, which wraps
   badly under ~900px. The mobile nav below is an addition, not a translation.
   ========================================================================== */

/* --- Header -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-hdr-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-hdr-line);
  font-family: var(--f-sans);
}

.site-header__inner {
  max-width: var(--w-container);
  margin: 0 auto;
  padding-inline: clamp(16px, 3vw, 40px);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 40px);
  min-height: var(--h-header);
}

/* Wordmark — the design draws the mark in CSS, not as an image */
.brand { display: flex; align-items: center; gap: 10px; color: #fff; flex: 0 0 auto; text-decoration: none; }
.brand__mark { display: block; width: 14px; height: 26px; background: var(--c-accent); flex: 0 0 14px; }
.brand__text { font-size: 19px; font-weight: 900; letter-spacing: .1em; line-height: 1; }
.brand__text span { color: var(--c-hdr-dim); }
.brand:hover { color: #fff; }

.site-nav { flex: 1 1 auto; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.7vw, 26px);
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--c-hdr-nav);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
  transition: color .15s ease, border-color .15s ease;
}
.site-nav a:hover { color: #fff; }
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a,
.site-nav a[aria-current="page"] {
  color: var(--c-accent);
  border-bottom-color: var(--c-accent);
}

.header-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.header-tel {
  font-family: var(--f-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-hdr-bright);
  text-decoration: none;
}
.header-tel:hover { color: var(--c-accent); }
.header-cta {
  background: var(--c-accent);
  color: var(--c-hdr-ink);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 13px 20px;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover { background: var(--c-accent-hover); color: var(--c-hdr-ink); }

/* --- Mobile navigation (addition — the design has none) ------------------- */

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--c-hdr-line-2);
  cursor: pointer;
  position: relative;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--c-hdr-bright);
  transform: translateX(-50%);
  transition: transform .18s ease, opacity .18s ease;
  content: "";
}
.nav-toggle__bar { top: 50%; margin-top: -1px; }
.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after  { top:  6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after  { top: 0; transform: translateX(-50%) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }

  .site-header__inner { flex-wrap: nowrap; gap: 12px; }

  /* The nav and the actions collapse into one panel below the bar */
  .site-nav,
  .header-actions {
    display: none;
    width: 100%;
  }

  .site-header.is-open .site-nav,
  .site-header.is-open .header-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-top: 1px solid var(--c-hdr-line);
    padding: 8px clamp(16px, 3vw, 40px) 16px;
  }

  .site-header.is-open .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }
  .site-header.is-open .site-nav li { width: 100%; border-bottom: 1px solid var(--c-hdr-line); }
  .site-header.is-open .site-nav a {
    display: block;
    padding: 16px 0;
    border-bottom: 0;
    font-size: 14px;
  }
  .site-header.is-open .site-nav .current-menu-item > a,
  .site-header.is-open .site-nav a[aria-current="page"] {
    border-left: 3px solid var(--c-accent);
    padding-left: 12px;
  }

  .site-header.is-open .header-actions {
    align-items: stretch;
    gap: 14px;
    padding-top: 18px;
  }
  .site-header.is-open .header-tel { font-size: 18px; padding: 6px 0; }
  .site-header.is-open .header-cta { text-align: center; padding: 16px 20px; }
}

/* --- Footer -------------------------------------------------------------- */

.site-footer {
  background: var(--c-ftr-bg);
  border-top: 1px solid var(--c-hdr-line);
  padding: clamp(40px, 5vw, 64px) 0 32px;
  font-family: var(--f-sans);
}
.site-footer__grid {
  max-width: var(--w-container);
  margin: 0 auto;
  padding-inline: var(--pad-gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 32px;
  align-items: start;
}
.site-footer__logo {
  display: block;
  width: 176px;
  height: 92px;
  object-fit: cover;
  object-position: center 40%;
  background: #fff;
  margin-bottom: 18px;
}
.site-footer__tag {
  margin: 0;
  font-size: 13.5px;
  color: var(--c-ftr-dim);
  line-height: 1.7;
  max-width: 34ch;
}
.site-footer .label-mono { color: var(--c-ftr-dim); }
.site-footer__links { display: flex; flex-direction: column; gap: 9px; }
.site-footer__links a { font-size: 14px; color: var(--c-ftr-text); text-decoration: none; }
.site-footer__links a:hover { color: var(--c-accent); }
.site-footer__data {
  font-family: var(--f-mono);
  font-size: 13.5px;
  color: var(--c-ftr-text);
  line-height: 1.9;
  margin: 0;
}
.site-footer__data a { color: var(--c-ftr-text); text-decoration: none; }
.site-footer__data a:hover { color: var(--c-accent); }
.site-footer__seat { font-family: var(--f-mono); font-size: 13.5px; color: var(--c-ftr-dim); line-height: 1.9; margin-top: 10px; }
.site-footer__bar {
  max-width: var(--w-container);
  margin: 34px auto 0;
  padding: 28px var(--pad-gutter) 0;
  border-top: 1px solid var(--c-ftr-line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer__bar span { font-size: 12.5px; color: var(--c-ftr-faint); }
.site-footer__bar .mono { font-size: 12px; letter-spacing: .1em; }
