/* Matea review round 2 — editorial clarity, balanced mobile menu, and outcome-first candidate briefs. */

.matea-hero-edited .hero-copy {
  max-width: 720px !important;
}

.matea-hero-edited .matea-hero-scope {
  display: block;
  margin-top: 11px;
  color: var(--matea-polish-champagne-light, #f2dda7);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

/* The proof block remains the strongest visual element; only the final action receives emphasis. */
.proof-stage .tag.is-target-action {
  border-color: rgba(242,221,167,.52) !important;
  background: linear-gradient(135deg, rgba(215,184,120,.22), rgba(215,184,120,.09)) !important;
  color: var(--matea-polish-champagne-light, #f2dda7) !important;
}

.proof-stage .lead-card-featured .tag.is-target-action {
  border-color: rgba(134,101,47,.34) !important;
  background: linear-gradient(180deg, #f3e8d1, #e9dcc1) !important;
  color: #5c4119 !important;
}

/* Candidate brief: one editorial flow instead of a CRM-like field matrix. */
.matea-evidence-edited .section-head h2 {
  max-width: 760px;
}

.matea-profile-brief {
  overflow: hidden;
}

.matea-profile-brief .map-head {
  align-items: end;
}

.matea-profile-brief .map-head h3 {
  font-family: var(--matea-font-display, Georgia, serif) !important;
  font-size: clamp(34px, 4vw, 50px) !important;
  font-weight: 520 !important;
  line-height: 1.02 !important;
  letter-spacing: -.035em !important;
}

.matea-profile-brief .map-head p {
  max-width: 48ch;
}

.matea-brief-panel {
  padding: clamp(20px, 3vw, 30px) !important;
  border: 1px solid rgba(216,212,204,.11) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 96% 0, rgba(215,184,120,.08), transparent 18rem),
    rgba(255,255,255,.025) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025) !important;
}

.matea-brief-panel .map-profile {
  grid-template-columns: 74px minmax(0,1fr);
  gap: 16px;
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(216,212,204,.12);
}

.matea-brief-panel .map-avatar {
  width: 74px !important;
  height: 74px !important;
  border-radius: 18px !important;
}

.matea-brief-panel .map-profile-top {
  align-items: center;
}

.matea-brief-panel .map-profile-top b {
  font-family: var(--matea-font-display, Georgia, serif) !important;
  font-size: clamp(27px, 3vw, 36px) !important;
  font-weight: 560 !important;
  letter-spacing: -.03em !important;
}

.matea-brief-panel .map-profile-copy > p {
  margin-top: 6px;
  color: #bdb4ad;
  font-size: 13px;
}

.matea-brief-panel .map-badge {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(215,184,120,.28);
  background: rgba(215,184,120,.10);
  color: var(--matea-polish-champagne-light, #f2dda7);
}

.matea-brief-flow {
  margin-top: 4px;
}

.matea-brief-step {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr);
  gap: 17px;
  align-items: start;
  padding: 20px 2px;
  border-top: 1px solid rgba(216,212,204,.10);
}

.matea-brief-step:first-child {
  border-top: 0;
}

.matea-brief-number {
  color: var(--matea-polish-champagne, #d7b878);
  font-family: var(--matea-font-display, Georgia, serif);
  font-size: 27px;
  font-weight: 560;
  line-height: 1;
}

.matea-brief-step small {
  display: block;
  margin: 0 0 7px;
  color: #928a84;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.matea-brief-step strong {
  display: block;
  max-width: 46ch;
  color: #f7f1e9;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.48;
  letter-spacing: -.01em;
}

.matea-brief-step.is-target {
  margin-top: 5px;
  padding: 20px;
  border: 1px solid rgba(215,184,120,.30);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(215,184,120,.12), rgba(255,255,255,.025));
}

.matea-brief-step.is-target .matea-brief-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(104,177,132,.14);
  color: #9be1b4;
  font-family: var(--matea-font-ui, sans-serif);
  font-size: 17px;
  font-weight: 800;
}

.matea-brief-step.is-target small {
  color: var(--matea-polish-champagne, #d7b878);
}

.matea-brief-step.is-target strong {
  max-width: 54ch;
  color: #fffaf2;
  font-family: var(--matea-font-display, Georgia, serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 560;
  line-height: 1.22;
  letter-spacing: -.025em;
}

/* Trust is strengthened without fabricated testimonials or additional page length. */
.control-split.matea-discretion {
  width: 100%;
  margin-top: 34px;
  padding: 0;
  border: 1px solid rgba(215,184,120,.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 0, rgba(215,184,120,.10), transparent 22rem),
    #11100f;
  color: #f7f1e9;
  overflow: hidden;
  display: block !important;
}

.matea-discretion-head {
  display: grid;
  grid-template-columns: minmax(150px,.38fr) minmax(0,1fr);
  gap: 34px;
  align-items: end;
  padding: 28px 30px;
  border-bottom: 1px solid rgba(216,212,204,.11);
}

.matea-discretion-head p {
  margin: 0;
  color: var(--matea-polish-champagne, #d7b878);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.matea-discretion-head h3 {
  max-width: 760px;
  margin: 0;
  color: #fffaf2;
  font-family: var(--matea-font-display, Georgia, serif) !important;
  font-size: clamp(30px, 3.6vw, 44px) !important;
  font-weight: 520 !important;
  line-height: 1.06 !important;
  letter-spacing: -.035em !important;
}

.matea-discretion-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
}

.matea-discretion-item {
  min-width: 0;
  padding: 24px 22px 26px;
  border-left: 1px solid rgba(216,212,204,.09);
}

.matea-discretion-item:first-child {
  border-left: 0;
}

.matea-discretion-item > span {
  display: block;
  margin-bottom: 24px;
  color: var(--matea-polish-champagne, #d7b878);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .10em;
}

.matea-discretion-item b {
  display: block;
  color: #f7f1e9;
  font-size: 14px;
  line-height: 1.35;
}

.matea-discretion-item p {
  margin: 8px 0 0;
  color: #aaa39b;
  font-size: 12px;
  line-height: 1.55;
}

/* The service remains one product, but the two starting situations become explicit. */
.matea-entry-modes {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(215,184,120,.18);
}

.matea-entry-modes > p {
  margin: 0 0 11px;
  color: var(--matea-polish-champagne, #d7b878);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.matea-entry-modes > div {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}

.matea-entry-modes article {
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid rgba(216,212,204,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}

.matea-entry-modes b,
.matea-entry-modes span {
  display: block;
}

.matea-entry-modes b {
  color: #f4eee6;
  font-size: 13px;
  line-height: 1.35;
}

.matea-entry-modes span {
  margin-top: 5px;
  color: #aaa299;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  /* Balanced overlay: centred navigation, no decorative empty rules. */
  .nav-panel.matea-menu-balanced {
    padding: clamp(28px, 6vh, 54px) 24px max(34px, calc(env(safe-area-inset-bottom) + 28px));
    grid-template-rows: minmax(0,1fr) auto;
    align-content: stretch;
    justify-items: center;
    gap: 20px;
  }

  .nav-panel.matea-menu-balanced .nav-links {
    width: min(100%, 340px);
    align-self: center;
    justify-items: center;
    gap: 4px;
  }

  .nav-panel.matea-menu-balanced .nav-links a {
    width: 100%;
    padding: 11px 16px;
    border: 0 !important;
    color: #f4ede7;
    font-size: clamp(23px, 6.4vw, 29px);
    font-weight: 560;
    line-height: 1.18;
    letter-spacing: -.025em;
    text-align: center;
  }

  .nav-panel.matea-menu-balanced .nav-links a:hover,
  .nav-panel.matea-menu-balanced .nav-links a:focus-visible {
    color: var(--matea-polish-champagne-light, #f2dda7);
  }

  .nav-panel.matea-menu-balanced .nav-language {
    width: auto;
    padding: 0;
    border: 0;
    align-self: end;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .nav-panel.matea-menu-balanced .nav-language-label {
    color: #8f8781;
    font-size: 10px;
    letter-spacing: .13em;
  }

  .nav-panel.matea-menu-balanced .language-switch {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(215,184,120,.055);
    font-size: 12px;
  }

  .matea-hero-edited.hero-copy-stage {
    min-height: auto !important;
    padding-top: 42px !important;
    padding-bottom: 48px !important;
  }

  .matea-hero-edited .hero-copy {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  .matea-hero-edited .matea-hero-scope {
    margin-top: 9px;
    font-size: 12px;
    line-height: 1.48;
  }

  .matea-hero-edited .hero-actions {
    margin-top: 22px !important;
  }

  .matea-profile-brief .map-head h3 {
    font-size: 34px !important;
  }

  .matea-brief-panel {
    padding: 18px !important;
    border-radius: 20px !important;
  }

  .matea-brief-panel .map-profile {
    grid-template-columns: 62px minmax(0,1fr);
    gap: 13px;
    padding-bottom: 17px;
  }

  .matea-brief-panel .map-avatar {
    width: 62px !important;
    height: 62px !important;
    border-radius: 16px !important;
  }

  .matea-brief-panel .map-profile-top b {
    font-size: 25px !important;
  }

  .matea-brief-panel .map-profile-copy > p {
    font-size: 11.5px;
  }

  .matea-brief-panel .map-badge {
    min-height: 30px;
    padding: 6px 9px;
    font-size: 9px;
  }

  .matea-brief-step {
    grid-template-columns: 36px minmax(0,1fr);
    gap: 12px;
    padding: 16px 0;
  }

  .matea-brief-number {
    font-size: 23px;
  }

  .matea-brief-step small {
    margin-bottom: 5px;
    font-size: 8.5px;
  }

  .matea-brief-step strong {
    font-size: 14px;
    line-height: 1.43;
  }

  .matea-brief-step.is-target {
    margin-top: 3px;
    padding: 16px;
    border-radius: 16px;
  }

  .matea-brief-step.is-target .matea-brief-number {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .matea-brief-step.is-target strong {
    font-size: 20px;
    line-height: 1.22;
  }

  .control-split.matea-discretion {
    width: 100% !important;
    margin-right: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    scroll-snap-type: none !important;
  }

  .matea-discretion-head {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px 22px;
  }

  .matea-discretion-head h3 {
    font-size: 32px !important;
  }

  .matea-discretion-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .matea-discretion-item {
    min-height: 152px;
    padding: 19px 18px 21px;
    border-top: 1px solid rgba(216,212,204,.09);
  }

  .matea-discretion-item:nth-child(odd) {
    border-left: 0;
  }

  .matea-discretion-item > span {
    margin-bottom: 18px;
  }

  .matea-entry-modes > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .matea-hero-edited .eyebrow {
    max-width: 28ch;
  }

  .matea-profile-brief .map-head p {
    display: none !important;
  }

  .matea-profile-brief .map-tabs {
    gap: 7px;
  }

  .matea-profile-brief .map-tab,
  .matea-profile-brief .map-tab:first-child {
    min-height: 46px;
    padding: 8px 6px;
    font-size: 10px;
  }

  .matea-discretion-grid {
    grid-template-columns: 1fr;
  }

  .matea-discretion-item {
    min-height: 0;
    border-left: 0;
  }

  .matea-discretion-item > span {
    margin-bottom: 12px;
  }
}

@media (max-width: 360px) {
  .nav-panel.matea-menu-balanced .nav-links a {
    padding-block: 9px;
    font-size: 22px;
  }

  .matea-hero-edited.hero-copy-stage {
    padding-top: 32px !important;
    padding-bottom: 38px !important;
  }

  .matea-brief-panel .map-profile {
    grid-template-columns: 54px minmax(0,1fr);
    gap: 10px;
  }

  .matea-brief-panel .map-avatar {
    width: 54px !important;
    height: 54px !important;
  }

  .matea-brief-panel .map-profile-top b {
    font-size: 22px !important;
  }

  .matea-brief-step.is-target strong {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-panel.matea-menu-balanced,
  .nav-panel.matea-menu-balanced * {
    transition: none !important;
  }
}
