/* =================================================================
   METANEERING.COM — brand-accents.css
   Overlay: load AFTER style.css — does NOT modify style.css.

   Five-colour palette only: Burnt Orange, Ecru/Gold, Chefchaouen Blue,
   Van Dyke Brown, Pale Sage — no Steel Blue, no Magnolia (#F8F4FF).

   Scandinavian, editorial: flat surfaces, no shadows, no surface
   gradients; border-radius ≤ 4px except pill badges.
   ================================================================= */


/* === PALETTE & DESIGN TOKENS === */

:root {
  /* Final palette — all accents derive from these five */
  --orange:            #C2662D;
  --ecru-gold:         #CEB888;
  --chefchaouen:       #468FEA;
  --van-dyke:          #4A3C31;
  --pale-sage:         #f4f7d4;

  --chefchaouen-muted: rgba(70, 143, 234, 0.12);
  --chefchaouen-line:  rgba(70, 143, 234, 0.45);

  --link-company-hover: #468FEA;
  --brand-blue:         #468FEA;
  --brand-blue-muted:   rgba(70, 143, 234, 0.18);
  --brand-blue-line:    rgba(70, 143, 234, 0.50);

  --t-fast:  0.18s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-med:   0.3s  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-slow:  0.5s  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* === GLOBAL LINK CHOREOGRAPHY (EXCLUSIONS) === */

a:not(.nav__link):not(.nav__logo):not(.nav__contact):not(.nav__dropdown-item):not(.nav__dropdown-btn):not(.lang-switcher__option):not(.lang-switcher__btn):not(.lang-mobile__option):not(.nav__mobile-link):not(.nav__mobile-sublink):not(.nav__mobile-contact):not(.btn):not(.footer__link):not(.footer__legal-link):not(.footer__trust-item):not(.footer__eu-teaser-link):not(.footer__exali-seal-link):not(.read-link):not(.home-lux-link):not(.practice-home-link):not(.home-hit__stretch):not(.persp-actions__link--read):not(.persp-actions__link--pdf):not(.persp-actions__link--care):not(.mn-btn):not([data-mn-privacy]) {
  position: relative;
}


/* === READ LINK (GLOBAL) === */

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  transition: color var(--t-fast), gap var(--t-med);
}

.read-link:hover {
  color: var(--orange);
  gap: 0.65rem;
}

.read-link span[aria-hidden] {
  display: inline-block;
  transition: transform var(--t-med);
}

.read-link:hover span[aria-hidden] {
  transform: translateX(3px);
}


/* === HOMEPAGE — HERO === */

.hero {
  min-height: 100vh;
  min-height: 100dvh;
}

.hero__content {
  padding: 6rem 2rem 4rem;
}

.hero__headline {
  font-weight: 250;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}

.hero .divider {
  border: none;
  width: 3rem;
  height: 2px;
  background-color: var(--orange);
  margin-bottom: 2rem;
  opacity: 0.6;
}

.hero__claim {
  letter-spacing: 0.15em;
  font-size: clamp(0.7rem, 1.1vw, 0.875rem);
  color: var(--text3);
}

.hero__claim strong {
  color: var(--text);
}

.hero__lines {
  opacity: 0.08;
}

.hero__footer {
  bottom: 2.5rem;
}

.hero__footer-label {
  font-size: 0.625rem;
  letter-spacing: 0.15em;
}


/* === HOMEPAGE — SECTIONS & LATEST === */

.section--white,
.section--ecru {
  padding: 6rem 0;
}

.section-label::after {
  background-color: var(--orange);
  opacity: 0.2;
}

.eyebrow {
  color: var(--orange);
  opacity: 0.65;
}

.latest {
  padding: 6rem 0;
}

.latest .eyebrow {
  color: var(--orange);
  opacity: 0.75;
}

.latest__entry {
  padding: 2rem 0;
  transition: transform var(--t-med), opacity var(--t-fast);
}

.latest__entry:hover {
  transform: translateX(6px);
}

.latest__title a {
  transition: color var(--t-fast);
  position: relative;
}

.latest__title a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--orange);
  transition: width var(--t-med);
}

.latest__title a:hover {
  color: var(--orange);
}

.latest__title a:hover::after {
  width: 100%;
}

.latest__type {
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
  color: var(--orange);
  opacity: 0.6;
}


/* === HOMEPAGE — FOUNDER CARD === */

.founder-card {
  transition: transform var(--t-med);
}

.founder-card:hover {
  transform: translateY(-2px);
}

.founder-card__portrait {
  transition: filter var(--t-slow);
}

.founder-card:hover .founder-card__portrait {
  filter: grayscale(30%);
}

.founder-card__label {
  color: var(--orange);
}

.founder-card__name {
  transition: color var(--t-fast);
}

.founder-card:hover .founder-card__name {
  color: var(--orange);
}


/* === HOMEPAGE — LUXEMBOURG & PRACTICE === */

#luxembourg .claim {
  font-size: clamp(0.8rem, 1.4vw, 1.0625rem);
  letter-spacing: 0.1em;
}

#luxembourg .eyebrow {
  opacity: 0.45;
}

.practice-home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--t-fast), gap var(--t-med);
}

.practice-home-link:hover {
  color: var(--chefchaouen);
  gap: 0.85rem;
}

.practice-home-link span[aria-hidden] {
  display: inline-block;
  transition: transform var(--t-med);
}

.practice-home-link:hover span[aria-hidden] {
  transform: translateX(4px);
}


/* === HOMEPAGE — CAREERS === */

#careers h2 {
  font-weight: 350;
  letter-spacing: -0.01em;
}


/* === BUTTONS (GLOBAL) === */

.btn {
  transition:
    background-color var(--t-fast),
    color var(--t-fast),
    border-color var(--t-fast),
    transform var(--t-fast);
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background-color: var(--van-dyke);
  border-color: var(--van-dyke);
  color: var(--bg);
}

.btn--primary:hover {
  background-color: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.btn--outline {
  transition:
    background-color var(--t-fast),
    color var(--t-fast),
    border-color var(--t-fast),
    transform var(--t-fast);
}

.btn--outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  background-color: rgba(194, 102, 45, 0.04);
}


/* === NAV === */

.nav__link--active {
  color: var(--text);
  position: relative;
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--orange);
  border-radius: 1px;
}

.nav__link {
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 1.5px;
  background-color: var(--orange);
  transition: width var(--t-med), left var(--t-med);
  border-radius: 1px;
}

.nav__link:hover::after {
  width: 100%;
  left: 0;
}

.nav__link--active::after {
  width: 100%;
  left: 0;
}


/* === CARDS (NO SHADOW) === */

.card {
  transition:
    border-color var(--t-fast),
    transform var(--t-med);
}

.card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}


/* === INNER PAGE HERO & BLOCKQUOTES === */

section.page-hero {
  border-top: 3px solid var(--orange);
}

blockquote,
.article-body blockquote {
  border-left-color: var(--orange);
  border-left-width: 3px;
}

.section--white + .section--ecru,
.section--ecru + .section--white {
  border-top: 1px solid rgba(194, 102, 45, 0.12);
}

/* Utility: soft section tint (replaces legacy pink/magnolia) */
.section--pale-sage {
  background-color: var(--pale-sage);
}

/* Legacy class name — map to Pale Sage (no #F8F4FF) */
.section--magnolia {
  background-color: var(--pale-sage);
}


/* === BRAND “E” + LEGACY PERSP ACTIONS === */

.brand-e--steel {
  --brand-e-accent-a: #468FEA;
  --brand-e-accent-b: #7AB3F5;
}

.persp-actions__link--read {
  color: var(--chefchaouen);
  background-color: rgba(70, 143, 234, 0.14);
  border-color: rgba(70, 143, 234, 0.45);
  transition:
    background-color var(--t-fast),
    border-color var(--t-fast),
    color var(--t-fast);
}

.persp-actions__link--read:hover {
  color: var(--chefchaouen);
  background-color: rgba(70, 143, 234, 0.28);
}


/* === HERO SCROLL HINT === */

@keyframes scrollHint {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50%      { opacity: 0.6; transform: translateY(6px); }
}

.hero__footer-label:last-child::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.75rem;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text3);
  animation: scrollHint 2.5s ease-in-out infinite;
  vertical-align: middle;
}


/* === PERSPECTIVES HUB — TEASER ROW (NO SHADOW LIFT) === */

article.perspectives-teaser:hover {
  transform: none;
}


/* === PERSPECTIVES HUB — ACTION BUTTONS (PALETTE) === */

.perspectives-teaser__actions .perspectives-teaser__btn--read {
  color: var(--chefchaouen);
  background-color: rgba(70, 143, 234, 0.14);
  border-color: rgba(70, 143, 234, 0.45);
  box-shadow: none;
  transition:
    background-color var(--t-fast),
    border-color var(--t-fast),
    color var(--t-fast);
}

/* Read — hover overrides style.css Steel Blue (rgba(30,107,158,…)) */
.perspectives-teaser__actions .perspectives-teaser__btn--read:hover,
.perspectives-teaser__actions .perspectives-teaser__btn--read:focus-visible {
  color: var(--chefchaouen);
  background-color: rgba(70, 143, 234, 0.28);
  border-color: rgba(70, 143, 234, 0.7);
  outline: none;
}

.perspectives-teaser__actions .perspectives-teaser__btn--care {
  /* Van Dyke — align with style.css intent */
  color: var(--van-dyke);
  background-color: var(--van-dyke-muted);
  border-color: var(--van-dyke-line-btn);
  box-shadow: none;
}

.perspectives-teaser__actions .perspectives-teaser__btn--care:hover,
.perspectives-teaser__actions .perspectives-teaser__btn--care:focus-visible {
  color: var(--van-dyke);
  background-color: rgba(74, 60, 49, 0.39);
  border-color: rgba(74, 60, 49, 0.83);
  outline: none;
}

/* PDF — Burnt Orange (replaces legacy gold #C5A54A outside palette) */
.perspectives-teaser__actions a.long-voyage-pdf:not(.long-voyage-pdf--ghost) {
  color: var(--orange);
  background-color: rgba(194, 102, 45, 0.14);
  border-color: rgba(194, 102, 45, 0.45);
  box-shadow: none;
  transition:
    background-color var(--t-fast),
    border-color var(--t-fast),
    color var(--t-fast);
}

.perspectives-teaser__actions a.long-voyage-pdf:not(.long-voyage-pdf--ghost):hover,
.perspectives-teaser__actions a.long-voyage-pdf:not(.long-voyage-pdf--ghost):focus-visible {
  color: var(--orange);
  background-color: rgba(194, 102, 45, 0.28);
  border-color: rgba(194, 102, 45, 0.7);
  outline: none;
}

.perspectives-teaser__actions .perspectives-teaser__btn--pdf-disabled,
.perspectives-teaser__actions span.long-voyage-pdf--ghost {
  color: var(--orange);
  background-color: rgba(194, 102, 45, 0.14);
  border-color: rgba(194, 102, 45, 0.45);
  box-shadow: none;
}


/* === FOOTER — ACCENTS & COMPACT LAYOUT === */

.footer {
  padding: 2rem 0 1.25rem;
}

.footer__grid {
  gap: 1.5rem;
  padding-bottom: 1.5rem;
}

.footer__description {
  font-size: 0.8125rem;
  line-height: 1.35;
}

.footer h3,
.footer h4,
.footer__heading {
  color: var(--ecru-gold);
  letter-spacing: 0.1em;
}

.footer__heading {
  margin-bottom: 0.4rem;
  margin-top: 0.65rem;
}

.footer__links {
  gap: 0.25rem;
}

/* Match style.css: Explore column link list row gap */
.footer__grid > div:nth-child(2) > ul.footer__links {
  gap: 0.25rem;
}

.footer__bottom {
  padding-top: 0.9rem;
}

.footer__link {
  line-height: 1.32;
  transition: color var(--t-fast), padding-left var(--t-med);
}

.footer__address {
  line-height: 1.32;
}

.footer__link:hover {
  color: var(--ecru-gold);
  padding-left: 4px;
}


/* === FOUNDER PAGE — HERO TAGLINE & EXPERTISE PANEL === */

.founder-page__tagline footer {
  color: var(--orange);
  opacity: 0.72;
}

.founder-page__role {
  color: var(--ecru-gold);
}

.founder-expertise-panel {
  background-color: rgba(244, 247, 212, 0.88);
  border-color: rgba(70, 143, 234, 0.38);
}

.founder-expertise-panel__hint {
  color: var(--chefchaouen);
}

.founder-card--full {
  border-left: 3px solid var(--orange);
}

#founder-projects .founder-project__meta {
  color: var(--orange);
  opacity: 0.88;
}

.founder-nav-links {
  border-top-color: rgba(194, 102, 45, 0.28);
}


/* === FOUNDER — PUBLICATIONS TIMELINE === */

/* Spine: gradient (UI line only — not a filled “surface”) */
#founder-publications .founder-pub-list {
  position: relative;
  padding-left: 1.25rem;
  margin-left: 0.25rem;
}

#founder-publications .founder-pub-list::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(
    to bottom,
    rgba(194, 102, 45, 0.08),
    rgba(194, 102, 45, 0.42)
  );
}

#founder-publications .founder-pub-list .pub-entry {
  position: relative;
  padding-left: 1.1rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  transition: background-color var(--t-med);
  border-radius: 4px;
  margin-left: -0.25rem;
  padding-right: 0.5rem;
}

/* Dots 1–8: Burnt Orange */
#founder-publications .founder-pub-list .pub-entry::before {
  content: '';
  position: absolute;
  left: -1.38rem;
  top: 2rem;
  width: 11px;
  height: 11px;
  border-radius: 4px;
  background-color: var(--orange);
  border: 2px solid rgba(245, 240, 232, 0.95);
  box-sizing: border-box;
  transition: transform var(--t-med), background-color var(--t-fast), border-color var(--t-fast);
  z-index: 1;
}

/* Entries 9+: Ecru / Gold */
#founder-publications .founder-pub-list .pub-entry:nth-child(n + 9)::before {
  background-color: var(--ecru-gold);
  border-color: rgba(206, 184, 136, 0.75);
}

/* Last entry: anchor dot — Van Dyke + gold ring */
#founder-publications .founder-pub-list .pub-entry:last-child::before {
  width: 14px;
  height: 14px;
  left: -1.48rem;
  top: 1.85rem;
  background-color: var(--van-dyke);
  border: 2px solid var(--ecru-gold);
}

/* Connector segment: dot ↔ spine */
#founder-publications .founder-pub-list .pub-entry::after {
  content: '';
  position: absolute;
  left: -0.88rem;
  top: calc(2rem + 4px);
  width: 0.65rem;
  height: 3px;
  background-color: rgba(194, 102, 45, 0.42);
  border-radius: 1px;
  z-index: 0;
}

#founder-publications .founder-pub-list .pub-entry:nth-child(n + 9)::after {
  background-color: rgba(206, 184, 136, 0.5);
}

#founder-publications .founder-pub-list .pub-entry:last-child::after {
  top: calc(1.85rem + 5px);
  width: 0.55rem;
}

/* Hover: Pale Sage row + scaled dot (keep palette per entry tier) */
#founder-publications .founder-pub-list .pub-entry:hover {
  background-color: rgba(244, 247, 212, 0.92);
}

#founder-publications .founder-pub-list .pub-entry:hover::before {
  transform: scale(1.3);
}

#founder-publications .founder-pub-list .pub-entry:nth-child(-n + 8):hover::before {
  background-color: var(--orange);
}

#founder-publications .founder-pub-list .pub-entry:nth-child(n + 9):hover::before {
  background-color: var(--ecru-gold);
}

#founder-publications .founder-pub-list .pub-entry:last-child:hover::before {
  background-color: var(--van-dyke);
  border-color: var(--ecru-gold);
}

/* Date/type line — Ecru/Gold pill (whole line; no HTML change) */
#founder-publications .pub-entry__type {
  display: inline-block;
  max-width: 100%;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--van-dyke);
  margin-bottom: 0.6rem;
  padding: 0.32rem 0.55rem;
  background-color: rgba(206, 184, 136, 0.2);
  border: 1px solid rgba(206, 184, 136, 0.5);
  border-radius: 4px;
}


/* === FOUNDER — PUBLICATIONS vs PROJECTS (VISUAL BREAK) === */

section#founder-publications {
  border-bottom: 6px solid var(--van-dyke);
}

section#founder-projects {
  border-top: 3px solid var(--chefchaouen);
  /* Pale Sage tint — not Magnolia */
  background-color: rgba(244, 247, 212, 0.55);
}

#founder-projects .page-inner__prose > h2:first-of-type {
  color: var(--chefchaouen);
  border-bottom: 2px solid rgba(206, 184, 136, 0.85);
  display: inline-block;
  padding-bottom: 0.35rem;
  margin-bottom: 1rem;
}


/* === PROSE & PRIMARY (BRIDGE) === */

.page-inner__prose blockquote {
  border-left-color: var(--orange);
  border-left-width: 3px;
}


/* === HOMEPAGE — FULL-SECTION HIT TARGET === */

.home-hit {
  position: relative;
  cursor: pointer;
}

.home-hit__inner {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.home-hit__stretch {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.home-hit__mailto {
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.home-hit__intro .section-label {
  margin-bottom: 1.35rem;
}

span.home-lux-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 29, 35, 0.22);
  transition: color var(--t-fast), border-color var(--t-fast);
}

.home-hit:hover span.home-lux-link {
  color: var(--link-company-hover);
  border-bottom-color: var(--link-company-hover);
}

span.practice-home-link {
  color: var(--orange);
  text-decoration: none;
  transition: color var(--t-fast), filter var(--t-fast);
}

.home-hit:hover span.practice-home-link {
  filter: brightness(0.88);
}

.home-hit__stretch:focus-visible {
  outline: none;
}

.home-hit:focus-within {
  outline: 2px solid var(--chefchaouen);
  outline-offset: 4px;
}


/* === PERSPECTIVES HUB — cover thumbnail ~2.2× (overlay; base sizes in style.css) === */

.page-hero--perspectives-cover .page-hero__thumb {
  max-width: 22rem;
  width: min(57vw, 22rem);
}

@media (max-width: 520px) {
  .page-hero--perspectives-cover .page-hero__thumb {
    max-width: 16.5rem;
    width: min(75vw, 16.5rem);
  }
}


/* === FOCUS & SELECTION === */

:focus-visible {
  outline: 2px solid var(--chefchaouen);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background-color: rgba(194, 102, 45, 0.15);
  color: var(--text);
}


/* === RESPONSIVE === */

@media (max-width: 768px) {
  .hero__content {
    padding: 4rem 1.5rem 3rem;
  }

  .section--white,
  .section--ecru {
    padding: 4rem 0;
  }

  .latest {
    padding: 4rem 0;
  }

  .latest__entry:hover {
    transform: none;
  }

  .founder-card:hover {
    transform: none;
  }

  .nav__link::after {
    display: none;
  }

  .card:hover {
    transform: none;
  }

  #founder-publications .founder-pub-list {
    padding-left: 1rem;
  }

  #founder-publications .founder-pub-list .pub-entry::before {
    left: -1.15rem;
  }

  #founder-publications .founder-pub-list .pub-entry::after {
    left: -0.72rem;
    width: 0.45rem;
  }
}

/* === FOOTER — MOBILE (EXTRA COMPACT) === */

@media (max-width: 767px) {
  .footer {
    padding: 2rem 0 1.25rem;
  }

  .footer__grid {
    gap: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

/* === TEMP: homepage careers teaser (home-careers-teaser) offline ===
   Restore: remove class home-careers-teaser--offline from <section id="careers">
   on en/de/fr/nl/it/es index.html, then delete this block. */
section#careers.home-careers-teaser--offline {
  display: none !important;
}
