:root {
  --v191-blue: #09449e;
  --v191-orange: #fe6813;
  --v191-header-action: #c94c00;
  --v191-white: #fff;
  --v191-ink: #252525;
  --v191-header-control: clamp(92px, 7.8vw, 110px);
}

/* V19.2 shell: artist palettes stay intact while navigation and commission actions match the site. */
.maestros-shell .maestros-header {
  min-height: 96px;
  height: auto;
  padding: 16px var(--pad);
  grid-template-columns: minmax(238px, 290px) minmax(0, 1fr) auto;
  gap: 28px;
  background: var(--v191-blue);
}

.maestros-shell .maestros-brand .logo-mark {
  filter: brightness(0) invert(1);
}

.maestros-shell .maestros-wordmark,
.maestros-shell .site-nav a,
.maestros-shell .site-nav a.active {
  color: var(--v191-white);
}

.maestros-shell .site-nav {
  min-width: 0;
  gap: clamp(6px, 1vw, 14px);
}

.maestros-shell .site-nav a {
  width: var(--v191-header-control);
  min-height: 54px;
  flex: 0 0 var(--v191-header-control);
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  transition: background-color 180ms ease, color 180ms ease;
}

.maestros-shell .site-nav a:hover,
.maestros-shell .site-nav a:focus-visible,
.maestros-shell .site-nav a.active {
  background: var(--v191-header-action);
  color: var(--v191-white);
}

.maestros-shell .header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.maestros-shell .site-language {
  width: var(--v191-header-control);
  min-height: 54px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, .55);
}

.maestros-shell .site-language a,
.maestros-shell .site-language span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--v191-white);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.maestros-shell .site-language span + a {
  border-left: 1px solid rgba(255, 255, 255, .55);
}

.maestros-shell .site-language [aria-current="page"] {
  background: var(--v191-header-action);
}

.maestros-shell .site-language a:hover {
  background: var(--v191-white);
  color: var(--v191-blue);
}

.maestros-shell .site-language a:focus-visible {
  outline: 3px solid var(--second);
  outline-offset: 3px;
}

.maestros-shell .header-contact {
  width: var(--v191-header-control);
  min-height: 54px;
  padding: 0;
  border: 1px solid transparent;
  background: var(--v191-white);
  color: var(--v191-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.maestros-shell .header-contact:hover,
.maestros-shell .header-contact:focus-visible {
  border-color: var(--v191-header-action);
  background: var(--v191-header-action);
  color: var(--v191-white);
}

.maestros-shell .menu-button {
  width: 54px;
  height: 54px;
  padding: 12px;
  border: 0;
  background: var(--v191-white);
}

.maestros-shell .menu-button span {
  width: 100%;
  background: var(--v191-blue);
}

.maestros-shell .menu-button[aria-expanded="true"] {
  background: var(--v191-header-action);
}

.maestros-shell .menu-button[aria-expanded="true"] span {
  background: var(--v191-white);
}

.maestros-shell .mobile-nav {
  background: var(--v191-blue);
}

.maestros-shell .mobile-nav a,
.maestros-shell .mobile-nav a.active {
  border-bottom-color: rgba(255, 255, 255, .25);
  color: var(--v191-white);
}

.maestros-shell .mobile-nav a:hover,
.maestros-shell .mobile-nav a:focus-visible,
.maestros-shell .mobile-nav a.active {
  background: var(--v191-header-action);
  color: var(--v191-white);
}

.maestros-path {
  padding: 28px var(--pad) 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  color: var(--v191-blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.maestros-path a {
  border-bottom: 1px solid currentColor;
}

.maestros-path a:hover {
  color: var(--v191-orange);
}

.maestros-path a:focus-visible {
  outline: 3px solid var(--v191-orange);
  outline-offset: 4px;
}

.maestros-path [aria-current="page"] {
  color: var(--v191-ink);
}

/* V19.2: a clear commission action at the end of every published profile. */
.maestro-commission {
  padding: clamp(54px, 7vw, 104px) var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr);
  align-items: end;
  gap: clamp(28px, 6vw, 96px);
  border-top: 1px solid rgba(21, 29, 55, .18);
  background: var(--paper);
  color: var(--dark);
}

.maestro-commission__copy {
  max-width: 840px;
}

.maestro-commission .kicker {
  margin: 0 0 18px;
}

.maestro-commission h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(42px, 6.8vw, 108px);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .88;
  text-transform: uppercase;
}

.maestro-commission__action {
  align-self: end;
}

.maestro-commission__action p {
  max-width: 38ch;
  margin: 0 0 24px;
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.45;
}

.maestro-commission__button {
  min-height: 70px;
  padding: 18px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--dark);
  background: var(--dark);
  color: var(--paper);
  font-size: clamp(13px, 1.15vw, 17px);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.maestro-commission__button:hover {
  transform: translate(-4px, -4px);
  background: var(--second);
  color: var(--dark);
}

.maestro-commission__button:focus-visible {
  outline: 4px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .maestros-shell .maestros-header {
    grid-template-columns: 230px minmax(0, 1fr) auto;
    gap: 16px;
  }

  .maestros-shell .site-nav {
    gap: 6px;
  }

  .maestros-shell .site-nav a,
  .maestros-shell .header-contact {
    font-size: 11px;
  }
}

@media (max-width: 1100px) {
  .maestros-shell .maestros-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .maestros-shell .site-nav,
  .maestros-shell .header-contact {
    display: none;
  }

  .maestros-shell .menu-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
}

@media (max-width: 760px) {
  .maestro-commission {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .maestro-commission__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .maestro-commission__button {
    transition: none;
  }

  .maestro-commission__button:hover {
    transform: none;
  }
}

@media (max-width: 820px) {
  .maestros-shell .maestros-header {
    min-height: 88px;
    height: auto;
  }

  .maestros-shell .mobile-nav {
    inset: 88px 0 0;
    padding: 24px;
  }

  .maestros-shell .mobile-nav a:last-child {
    width: auto;
    min-height: 58px;
    margin-top: 0;
    padding: 15px 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    color: var(--v191-white);
  }
}

@media (max-width: 520px) {
  .maestros-shell .maestros-header {
    min-height: 76px;
    padding: 11px 15px;
    gap: 10px;
  }

  .maestros-shell .maestros-brand {
    gap: 10px;
  }

  .maestros-shell .maestros-brand .logo-mark {
    width: 42px;
    height: 42px;
  }

  .maestros-shell .maestros-wordmark {
    font-size: 17px;
  }

  .maestros-shell .site-language {
    width: 88px;
    min-height: 54px;
  }

  .maestros-shell .menu-button {
    width: 54px;
    height: 54px;
    padding: 12px;
  }

  .maestros-shell .mobile-nav {
    inset: 76px 0 0;
  }

  .maestros-path {
    padding: 22px 20px 0;
  }
}

@media (max-width: 350px) {
  .maestros-shell .maestros-wordmark {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .maestros-shell .site-nav a,
  .maestros-shell .header-contact {
    transition: none;
  }
}
