/* Schulman Team child theme: header shell.
   Styles the Elementor Theme Builder header template that carries the class st-header.
   Requires tokens.css and components.css. Colors come from tokens only; no raw color values here.
   The Solid button and all hover and focus states are Proposed in the design system, not approved brand standards. */

.st-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  min-height: var(--st-header-height);
}

/* Brand: site title placeholder until the client's vector logo is supplied. */
.st-header .st-header__brand {
  flex: 1 1 auto;
  min-width: 0;
}
.st-header .st-header__brand .elementor-heading-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.st-header .st-header__brand a {
  color: var(--ink);
  text-decoration: none;
}

/* Navigation links */
.st-header .st-header__nav .elementor-item {
  min-height: var(--control-height);
  padding: 0 var(--space-3);
  color: var(--ink);
  fill: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
}
.st-header .st-header__nav .elementor-item:hover,
.st-header .st-header__nav .elementor-item:focus,
.st-header .st-header__nav .elementor-item.elementor-item-active {
  color: var(--link);
  fill: var(--link);
}

/* Mobile menu button: 44px tap target */
.st-header .st-header__nav .elementor-menu-toggle {
  width: var(--control-height);
  height: var(--control-height);
  margin: 0;
  padding: 0;
  border-radius: var(--radius-sm);
  background: var(--concrete-200);
  color: var(--ink);
}
.st-header .st-header__nav .elementor-menu-toggle:hover {
  background: var(--concrete-300);
}
.st-header .st-header__nav .elementor-menu-toggle svg {
  fill: var(--ink);
}

/* Mobile menu panel */
.st-header .st-header__nav .elementor-nav-menu--dropdown {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.st-header .st-header__nav .elementor-nav-menu--dropdown .elementor-item {
  min-height: var(--control-height);
  padding: var(--space-2) var(--space-3);
  background: var(--surface);
  color: var(--ink);
}
.st-header .st-header__nav .elementor-nav-menu--dropdown .elementor-item:hover,
.st-header .st-header__nav .elementor-nav-menu--dropdown .elementor-item:focus {
  background: var(--surface-muted);
  color: var(--ink);
}

/* Contact actions */
.st-header .st-header__actions {
  flex: 0 0 auto;
  width: auto;
}
.st-header .st-header__actions .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--control-height);
  padding: 0 var(--space-3);
  border: 0;
  border-radius: var(--radius-sm);
  font-family: var(--font-eyebrow);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.st-header .st-header__call .elementor-button {
  background: var(--concrete-200);
  color: var(--charcoal-500);
  fill: var(--charcoal-500);
}
.st-header .st-header__call .elementor-button:hover,
.st-header .st-header__call .elementor-button:focus {
  background: var(--concrete-300);
  color: var(--charcoal-500);
}
.st-header .st-header__contact .elementor-button {
  background: var(--charcoal-500);
  color: var(--offwhite-500);
  fill: var(--offwhite-500);
}
.st-header .st-header__contact .elementor-button:hover,
.st-header .st-header__contact .elementor-button:focus {
  background: var(--charcoal-600);
  color: var(--offwhite-500);
}

/* Focus ring on every header control */
.st-header a:focus-visible,
.st-header .elementor-menu-toggle:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

/* Tablet and phone: brand, actions, then the menu button on the far right */
@media (max-width: 1024px) {
  .st-header .st-header__brand { order: 1; }
  .st-header .st-header__actions { order: 2; }
  .st-header .st-header__nav { order: 3; flex: 0 0 auto; width: auto; }
}

/* Small phones: tighter labels so the bar never overflows */
@media (max-width: 480px) {
  :root { --st-header-height: 60px; }
  .st-header .st-header__brand .elementor-heading-title { font-size: 15px; }
  .st-header .st-header__actions .elementor-button {
    padding: 0 var(--space-2);
    letter-spacing: 0.15em;
  }
}
