.hh-skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brand-ink);
  color: #ffffff;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}

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

:focus-visible {
  outline: 2px solid var(--brand-navy);
  outline-offset: 3px;
}

/* Morphing 2-Bar Apple-Style Burger Icon Inside Menu Pill */
.hh-mobile-toggle {
  gap: 8px;
  transition: background-color 180ms ease, transform 140ms var(--ease-out), color 180ms ease;
}

.hh-mobile-toggle:hover {
  background: rgba(15, 29, 45, 0.1);
}

.hh-mobile-toggle:active {
  transform: scale(0.95);
}

.hh-header.is-open .hh-mobile-toggle {
  background: var(--brand-ink);
  color: #ffffff;
}

.hh-burger {
  position: relative;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hh-burger span {
  position: absolute;
  width: 13px;
  height: 1.7px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 320ms cubic-bezier(0.32, 0.72, 0, 1);
}

.hh-burger span:first-child {
  transform: translateY(-3.2px);
}

.hh-burger span:last-child {
  transform: translateY(3.2px);
}

.hh-header.is-open .hh-burger span:first-child {
  transform: translateY(0) rotate(45deg);
}

.hh-header.is-open .hh-burger span:last-child {
  transform: translateY(0) rotate(-45deg);
}

/* Frosted Background Scrim Behind Expanded Floating Header */
.hh-menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(15, 29, 45, 0.22);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 280ms cubic-bezier(0.23, 1, 0.32, 1), visibility 280ms;
}

.hh-menu-scrim.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Interruptible Dynamic-Island Sheet Expansion (grid-template-rows: 0fr -> 1fr) */
.hh-header.is-open {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 28px 64px -12px rgba(15, 29, 45, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.hh-mobile-drawer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    grid-template-rows 260ms cubic-bezier(0.23, 1, 0.32, 1),
    opacity 200ms cubic-bezier(0.23, 1, 0.32, 1),
    visibility 260ms;
}

.hh-header.is-open .hh-mobile-drawer {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    grid-template-rows 380ms cubic-bezier(0.32, 0.72, 0, 1),
    opacity 260ms cubic-bezier(0.23, 1, 0.32, 1),
    visibility 0ms;
}

.hh-mobile-drawer__clip {
  overflow: hidden;
  min-height: 0;
}

.hh-mobile-drawer__content {
  padding: 12px 18px 20px;
  border-top: 1px solid rgba(15, 29, 45, 0.07);
  transform: translateY(-8px) scale(0.99);
  transition: transform 340ms cubic-bezier(0.32, 0.72, 0, 1);
}

.hh-header.is-open .hh-mobile-drawer__content {
  transform: translateY(0) scale(1);
}

.hh-mobile-drawer__nav {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 4px;
}

.hh-mobile-drawer__nav li,
.hh-mobile-langs,
.hh-mobile-cta {
  opacity: 0;
  transform: translateY(-6px);
  filter: blur(2px);
  transition:
    opacity 180ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 220ms cubic-bezier(0.23, 1, 0.32, 1),
    filter 200ms ease;
}

.hh-header.is-open .hh-mobile-drawer__nav li,
.hh-header.is-open .hh-mobile-langs,
.hh-header.is-open .hh-mobile-cta {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition:
    opacity 280ms cubic-bezier(0.32, 0.72, 0, 1) calc(var(--stagger, 0) * 22ms + 40ms),
    transform 340ms cubic-bezier(0.32, 0.72, 0, 1) calc(var(--stagger, 0) * 22ms + 40ms),
    filter 260ms ease calc(var(--stagger, 0) * 22ms + 40ms);
}

.hh-mobile-drawer__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 600;
  color: var(--brand-ink);
  transition: background-color 160ms ease, transform 140ms var(--ease-out);
}

.hh-mobile-drawer__nav a:hover {
  background: var(--bg-soft);
}

.hh-mobile-drawer__nav a.is-current {
  background: rgba(20, 54, 93, 0.08);
  color: var(--brand-navy);
}

.hh-mobile-drawer__nav a:active {
  transform: scale(0.985);
}

.hh-mobile-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 29, 45, 0.07);
}

.hh-mobile-langs a {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--bg-soft);
  color: var(--brand-ink);
  transition: background-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out);
}

.hh-mobile-langs a:active {
  transform: scale(0.96);
}

.hh-mobile-langs a.is-active {
  background: var(--brand-ink);
  color: #ffffff;
}

.hh-mobile-cta {
  margin-top: 14px;
}

#main-content,
#catalog-materials,
#rfq-form,
#rfq-confirmation,
#quick-rfq,
#applications-showcase {
  scroll-margin-top: 104px;
}
