/* The approved artwork supplies the logo lettering; navigation stays HTML.
   A clipped SVG viewport displays only the logo from the saved reference. */
.site-header {
  height: clamp(80px, 5.64vw, 110px);
  border-bottom: 0;
}
.site-header::before,
.site-header::after {
  content: none;
}
.brand {
  position: absolute;
  left: 6%;
  top: 15px;
  width: min(29vw, 540px);
  display: block;
  transform: none;
  z-index: 1;
}
.brand-art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 540 / 150;
  overflow: hidden;
}
.site-header nav {
  margin-left: auto;
}
.header-divider {
  position: absolute;
  left: 0;
  top: calc(100% - 2px);
  width: 100%;
  height: max(clamp(32px, 3.05vw, 55px), calc(min(29vw, 540px) * 0.274074 - clamp(80px, 5.64vw, 110px) + 20px));
  overflow: visible;
  pointer-events: none;
}
.divider-fill {
  fill: #020708;
}
.divider-line {
  fill: none;
  stroke: var(--orange);
  stroke-width: 4px;
  stroke-linejoin: miter;
}
.menu-toggle { display: none; }
@media (max-width: 1000px) {
  .site-header {
    height: 100px;
    padding: 0 4%;
    align-items: center;
  }
  .brand { left: 4%; top: 18px; width: 320px; }
  .header-divider { height: 32px; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    margin-left: auto;
    border: 1px solid #394348;
    border-radius: 4px;
    background: #0c1417;
    cursor: pointer;
  }
  .menu-toggle span { height: 2px; width: 100%; background: var(--orange); }
  .site-header nav {
    display: none;
    position: absolute;
    left: auto;
    right: 4%;
    top: calc(100% + 34px);
    bottom: auto;
    height: auto;
    min-width: 210px;
    padding: 10px;
    background: #071012;
    border: 1px solid var(--orange);
    border-radius: 4px;
    box-shadow: 0 8px 24px #0009;
    z-index: 4;
  }
  .site-header nav.is-open { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .site-header nav a { padding: 14px; font-size: 14px; }
  .site-header nav a.active::after { display: none; }
}
@media (max-width: 650px) {
  .site-header { height: 96px; padding: 0 3%; }
  .brand { left: 4%; top: 17px; width: min(73vw, 330px); }
  .header-divider { height: 20px; }
  .site-header nav { top: calc(100% + 22px); right: 3%; }
}

/* Geometry is measured from the logo, including tablet widths. */
.header-divider { top: calc(100% - 2px); }
