.fastov-header-skipLink {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 12px;
  padding: 11px 15px;
  color: var(--white);
  background: var(--navy-deep);
  transform: translateY(-160%);
  transition: transform 160ms var(--ease-out);
}

.fastov-header-skipLink:focus { transform: translateY(0); }

.fastov-header-progress {
  position: fixed;
  z-index: 520;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.fastov-header-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--copper-dark);
  transform: scaleX(0);
  transform-origin: left;
}

@supports (animation-timeline: scroll()) {
  .fastov-header-progress span {
    animation: editorial-reading-progress linear both;
    animation-timeline: scroll(root block);
  }
}

@keyframes editorial-reading-progress { to { transform: scaleX(1); } }

.fastov-header-header {
  position: sticky;
  z-index: 500;
  top: 0;
  min-height: 78px;
  color: var(--ink);
  border-bottom: 1px solid rgba(16, 38, 45, .18);
  background: rgba(243, 239, 231, .94);
}

@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .fastov-header-header {
    background: rgba(243, 239, 231, .84);
    -webkit-backdrop-filter: blur(12px) saturate(1.05);
    backdrop-filter: blur(12px) saturate(1.05);
  }
}

.fastov-header-inner {
  display: grid;
  grid-template-columns: minmax(190px, .9fr) minmax(420px, 1.45fr) auto;
  align-items: center;
  gap: clamp(20px, 3vw, 46px);
  width: min(100% - 40px, 1360px);
  min-height: 78px;
  margin: 0 auto;
}

.fastov-header-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: max-content;
  min-height: 48px;
}

.fastov-header-brand img { width: 98px; height: auto; }
.fastov-header-brand span {
  max-width: 132px;
  padding-left: 13px;
  color: var(--ink-soft);
  border-left: 1px solid rgba(16, 38, 45, .28);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.fastov-header-desktopNav { display: flex; justify-content: center; gap: clamp(15px, 2vw, 29px); }
.fastov-header-desktopNav a, .fastov-header-mobileNav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 620;
}

.fastov-header-desktopNav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: '';
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms var(--ease-out);
}

.fastov-header-desktopNav a:hover, .fastov-header-desktopNav a[aria-current='page'], .fastov-header-mobileNav a:hover, .fastov-header-mobileNav a[aria-current='page'] { color: var(--copper-dark); }
.fastov-header-desktopNav a:hover::after, .fastov-header-desktopNav a[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }

.fastov-header-call {
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  column-gap: 16px;
  min-width: 190px;
  min-height: 50px;
  padding: 7px 14px;
  color: var(--white);
  background: var(--copper-dark);
  border: 1px solid #713723;
  transition: background-color 160ms ease, transform 140ms var(--ease-out);
}

.fastov-header-call small, .fastov-header-call strong { grid-column: 1; }
.fastov-header-call small { color: rgba(255,255,255,.76); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.fastov-header-call strong { margin-top: 1px; font-size: 13px; }
.fastov-header-call span { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 18px; transition: transform 160ms var(--ease-out); }
.fastov-header-call:hover { color: var(--white); background: #6f3422; }
.fastov-header-call:hover span { transform: translate(2px, -2px); }
.fastov-header-call:active { transform: scale(.975); }

.fastov-header-menu { display: none; position: relative; }
.fastov-header-menu summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  min-width: 86px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
}
.fastov-header-menu summary::-webkit-details-marker { display: none; }
.fastov-header-menu summary i, .fastov-header-menu summary i::before, .fastov-header-menu summary i::after {
  display: block;
  width: 19px;
  height: 1px;
  background: currentColor;
  content: '';
  transition: transform 180ms var(--ease-out);
}
.fastov-header-menu summary i { position: relative; }
.fastov-header-menu summary i::before { position: absolute; transform: translateY(-6px); }
.fastov-header-menu summary i::after { position: absolute; transform: translateY(6px); }
.fastov-header-menu[open] summary i { background: transparent; }
.fastov-header-menu[open] summary i::before { transform: rotate(45deg); }
.fastov-header-menu[open] summary i::after { transform: rotate(-45deg); }
.fastov-header-menu > div {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(320px, calc(100vw - 28px));
  padding: 8px 18px 14px;
  border: 1px solid rgba(16,38,45,.2);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(16,38,45,.12);
  transform-origin: top right;
}
.fastov-header-menu:not([open]) > div { display: none; }
.fastov-header-mobileNav { display: grid; }
.fastov-header-mobileNav a { justify-content: space-between; border-bottom: 1px solid var(--line); }
.fastov-header-mobileNav a::after { content: '↗'; font-size: 15px; }

@media (max-width: 1120px) {
  .fastov-header-inner { grid-template-columns: 1fr auto auto; }
  .fastov-header-desktopNav { display: none; }
  .fastov-header-menu { display: block; grid-column: 2; grid-row: 1; }
  .fastov-header-call { grid-column: 3; }
}

@media (max-width: 650px) {
  .fastov-header-header, .fastov-header-inner { min-height: 68px; }
  .fastov-header-inner { grid-template-columns: minmax(90px, 1fr) auto; gap: 14px; width: calc(100% - 28px); }
  .fastov-header-brand img { width: 92px; }
  .fastov-header-brand span, .fastov-header-call { display: none; }
  .fastov-header-menu { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .fastov-header-progress { display: none; }
  .fastov-header-skipLink, .fastov-header-desktopNav a::after, .fastov-header-call, .fastov-header-call span, .fastov-header-menu summary i, .fastov-header-menu summary i::before, .fastov-header-menu summary i::after { transition: none; }
}

/* Direct calling remains available on narrow screens. */
@media (max-width: 650px) {
 .fastov-header-inner { grid-template-columns: minmax(68px, 1fr) auto auto; gap: 8px; }
 .fastov-header-brand img { width: 76px; }
 .fastov-header-call { display: flex; grid-column: 2; grid-row: 1; min-width: 0; min-height: 44px; padding: 8px 10px; }
 .fastov-header-call small, .fastov-header-call span { display: none; }
 .fastov-header-call strong { margin: 0; font-size: 13px; white-space: nowrap; }
 .fastov-header-menu { grid-column: 3; }
 .fastov-header-menu summary { min-width: 44px; justify-content: center; }
 .fastov-header-menu summary > span { display: none; }
}
