/* Empiria Partners · brand layer (loaded last on every page)
   Navy #0C1A2E field, ivory #F2EBD8 type and buttons, gold #C9A256 as a restrained accent:
   section labels and the epsilon mark, a thin rule on lists, hover states, key numbers.
   Buttons stay ivory at rest; hover is gold with navy type. Type: Instrument Serif (upright) + Outfit (body and UI, R7). */
:root {
  --accent: #F2EBD8;        /* ivory: buttons, focus */
  --accent-2: #FFFFFF;
  --gold: #C9A256;
  --gold-rule: rgba(201,162,86,0.5);
  --gold-deep: #9E7C3C;
  --gold-light: #E4C482;
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 48px; --s-6: 64px; --s-7: 88px;
  interpolate-size: allow-keywords;
}

/* 1 · Serif upright, no coloured emphasis */
h1 em, h2 em, h3 em, .sec-title em, .hero h1 em, .fam-q em, .led strong em, .team-close p em,
.news-hero h1 em, .news-item h2 em, .val-page h1 em, .legal-hero h1 em, .brand-amp, .footer-col .brand-line em {
  font-style: normal !important; color: inherit !important;
}
.pills-note, .field .hint, .hint, .f label i { font-style: normal !important; }
.pills-note { font-size: 13px; }

/* 2 · Labels: gold type with the small epsilon mark, pinned to the first line */
.eyebrow, .sec-tag, .hero-inner .eyebrow {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px;
  color: var(--gold) !important;
  letter-spacing: 0.2em;
  line-height: 1.6;
}
.eyebrow::before, .sec-tag::before, .news-hero .eyebrow::before, .legal-hero .eyebrow::before,
.val-page .eyebrow::before, .hero .eyebrow::before {
  content: '' !important;
  display: block !important;
  width: 11px !important;
  height: 15px !important;
  background: url(/brand-epsilon.svg) center / contain no-repeat !important;
  flex: none !important;
  /* Sit on the first line box: (line-height - mark height) / 2 */
  margin-top: calc((1.6em - 15px) / 2) !important;
  margin-top: calc((1lh - 15px) / 2) !important;
}

/* 3 · Flat navy fields; one lighter navy band for rhythm */
.grid-overlay { display: none !important; }
.hero, .news-hero, .legal-hero { background: var(--bg) !important; }
.services, .val-home-cta { background: var(--bg-elev) !important; color: var(--ink) !important; }
.hero:not(:has(.hero-img)), .news-hero, .legal-hero { position: relative; overflow: hidden; }
.news-hero > *, .legal-hero > *, .hero:not(:has(.hero-img)) > * { position: relative; z-index: 1; }
/* Shared large background epsilon on every page (home, Team, Transactions, legal, privacy, cookie, valuation).
   The whole glyph sits inside the hero, with a clear margin above the gold rule and from the right edge.
   Never clipped, never bleeding. Size follows the hero height (as tall as will fit). */
.val-page { position: relative; }
.val-page > * { position: relative; z-index: 1; }
.hero:not(:has(.hero-img))::after,
.news-hero::after,
.legal-hero::after,
.val-page::after {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
  top: 48px;
  right: 48px;
  bottom: auto;
  left: auto;
  transform: none;
  height: calc(100% - 96px);
  width: auto;
  aspect-ratio: 3 / 4;
  background: url(/brand-epsilon.svg) center / contain no-repeat;
  opacity: 0.16;
}
/* Valuation has no short hero: keep the same contained mark in a first-screen band. */
.val-page::after {
  top: 48px;
  height: 424px;
}
@media (max-width: 767px) {
  .hero:not(:has(.hero-img))::after,
  .news-hero::after,
  .legal-hero::after,
  .val-page::after {
    top: 32px;
    right: 28px;
    height: calc(100% - 64px);
    opacity: 0.16;
  }
  .val-page::after {
    top: 32px;
    height: 300px;
  }
}
.footer-col .brand-line::before, footer .ft > div:first-child::before {
  content: ''; display: block; width: 16px; height: 22px; background: url(/brand-epsilon.svg) center / contain no-repeat; margin-bottom: 12px;
}

/* 4 · Shared two-column layout: sticky head on the left, typographic rows on the right */
.split { display: grid; gap: var(--s-5); }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .split-head { position: sticky; top: 112px; }
}
.split-head .sec-title, .split-head .sec-h { margin-bottom: 0 !important; max-width: 11em; }
.split-head .eyebrow, .split-head .sec-tag { margin-bottom: 20px !important; }
.split-head .sec-p { margin-top: 20px; }
.split-body > :first-child { margin-top: 0; }

/* Approach */
.approach-list { list-style: none; border-top: 1px solid var(--gold-rule); }
.approach-row { display: grid; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--line-2); }
.approach-row h3 { font-family: 'Instrument Serif', serif !important; font-weight: 400 !important; font-size: clamp(26px, 2.6vw, 32px) !important; line-height: 1.1 !important; letter-spacing: -0.015em !important; color: var(--ink); transition: color .25s; }
.approach-row p { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); max-width: 46ch; }
.approach-row:hover h3 { color: var(--gold); }
@media (min-width: 700px) { .approach-row { grid-template-columns: 200px minmax(0, 1fr); gap: var(--s-4); padding: 32px 0; align-items: baseline; } }

/* Services: same grammar (label above, title | text) */
.services .services-grid { display: block; border-top: 1px solid var(--gold-rule); }
.services .service-row, .services .service-row:nth-child(2n), .services .service-row:nth-last-child(-n+2) {
  display: grid; gap: 10px; padding: 30px 0; border: 0; border-bottom: 1px solid var(--line-2);
}
.services .service-row .label { grid-area: label; margin: 0; color: var(--gold) !important; }
.services .service-row h3 { grid-area: title; font-family: 'Instrument Serif', serif !important; font-weight: 400 !important; font-size: clamp(26px, 2.6vw, 32px) !important; line-height: 1.1 !important; letter-spacing: -0.015em !important; color: var(--ink); transition: color .25s; }
.services .service-row p { grid-area: text; color: var(--ink-2) !important; max-width: 52ch; }
.services .service-row { grid-template-areas: "label" "title" "text"; }
.services .service-row:hover h3 { color: var(--gold) !important; }
/* Sectors: one typographic row per sector, sticky title on the left */
.sectors-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--gold-rule); }
.sector-row { padding: 28px 0; border-bottom: 1px solid var(--line-2); }
.sector-row h3 { font-family: 'Instrument Serif', serif !important; font-weight: 400 !important; font-size: clamp(26px, 2.6vw, 32px) !important; line-height: 1.1 !important; letter-spacing: -0.015em !important; color: var(--ink); margin: 0; transition: color .25s; }
.sector-row:hover h3 { color: var(--gold); }
@media (min-width: 700px) { .sector-row { padding: 32px 0; } }
.sectors .pills-note { margin-top: 16px; }
.sectors .split-head .sec-lead { margin-top: 20px; margin-bottom: 0 !important; }

/* Contact + valuation CTA on the same grid */
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 7fr !important; gap: 80px !important; } }
.contact-grid { gap: var(--s-5) !important; }
.val-home-cta .sec-lead { margin-bottom: var(--s-2) !important; max-width: 46ch; }
.val-home-cta .val-perks { margin: 0 0 var(--s-4) !important; }
.val-perks { color: var(--muted) !important; }

/* 5 · Photo bands */
.place-break .pb-caption { background: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; padding: 0; z-index: 1; font-family: 'Instrument Serif', serif; font-size: 24px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.place-break::after { content: ''; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(to bottom, transparent, rgba(12,26,46,0.7)); pointer-events: none; }
.place-break.is-london .pb-img { object-position: center 78%; }

/* 6 · Header: all items identical (font, size, weight, height, alignment).
   "Valutazione" differs only by ivory colour and a thin gold underline. */
.nav-links { align-items: center; }
.nav-links a, .nav-links a.nav-cta {
  display: inline-block; font-size: 13.5px !important; font-weight: 450 !important; letter-spacing: 0.005em !important;
  text-transform: none !important; line-height: 1.4 !important; padding: 0 !important; margin: 0 !important;
  border: 0 !important; border-radius: 0 !important; background: none !important; height: auto !important;
  transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.nav-cta { color: var(--ink) !important; text-decoration: underline; text-decoration-color: var(--gold-rule); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.nav-links a.nav-cta:hover { color: var(--gold) !important; background: none !important; text-decoration-color: var(--gold); }
.drawer a.nav-cta {
  font-family: 'Instrument Serif', serif !important; font-size: 18px !important; letter-spacing: 0 !important; text-transform: none !important;
  padding: 16px 0 !important; margin: 0 !important; width: auto !important; border: 0 !important; border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important; background: none !important; color: var(--ink) !important;
}
.nav-links a.is-current { color: var(--ink); }

/* 7 · Buttons: ivory at rest, gold on hover with navy type (readable contrast) */
.btn-gold, .btn, .news-actions a.primary, a.btn, .sticky .btn, button.btn, button.btn-gold { background: var(--ink) !important; color: var(--bg) !important; border: 1px solid var(--ink) !important; border-radius: 2px; }
.btn-gold:hover, .btn:hover, .news-actions a.primary:hover, a.btn:hover, .sticky .btn:hover,
button.btn:hover, button.btn-gold:hover,
.btn-gold:focus-visible, .btn:focus-visible, button.btn:focus-visible, button.btn-gold:focus-visible {
  background: var(--gold) !important; border-color: var(--gold) !important; color: var(--bg) !important;
}
.top-cta { border-color: var(--ink) !important; color: var(--ink) !important; background: transparent !important; }
.top-cta:hover, .top-cta:focus-visible { background: var(--gold) !important; border-color: var(--gold) !important; color: var(--bg) !important; }
.news-actions a { border-radius: 2px; }
.news-actions a.secondary:hover { border-color: var(--gold); color: var(--ink); }

/* 8 · Gold accents: labels, hovers, a few key numbers */
.service-row .label, .news-item-meta .tag, .team-rail-kicker, .val-section-label { color: var(--gold) !important; }
.contact-block .label, .footer-col h5, .legal-line { color: var(--muted) !important; }
.contact-block .value a:hover, .footer-col li a:hover, .footer-row a:hover, .footer a:hover, .ft-l a:hover, .lang-switch a:hover { color: var(--gold) !important; border-color: var(--gold) !important; }
.person-li:hover, .person-toggle-label:hover, .person-more > summary:hover { color: var(--gold) !important; }
.stat-n b { color: var(--gold) !important; }

/* 9 · Spacing scale */
.section, .sec, .formsec, .val-page { padding: var(--s-6) 0 !important; }
@media (min-width: 768px) { .section, .sec, .formsec, .val-page { padding: var(--s-7) 0 !important; } }
.hero:not(:has(.hero-img)) { padding: 72px 0 !important; }
@media (min-width: 768px) { .hero:not(:has(.hero-img)) { padding: 104px 0 96px !important; } }
.news-hero, .legal-hero { padding: 80px 0 40px !important; border-bottom: 0 !important; }
@media (min-width: 768px) { .news-hero, .legal-hero { padding: 104px 0 48px !important; } }
.news-hero h1 { margin-bottom: 16px !important; }
.news-hero .eyebrow, .legal-hero .eyebrow, .sec-tag, .val-page .eyebrow { margin-bottom: 20px !important; }
.sec-title { margin-bottom: 24px !important; }
footer { padding: var(--s-5) 0 24px !important; }
.footer-top { padding-bottom: var(--s-5) !important; margin-bottom: var(--s-3) !important; }
.team-close { margin-top: var(--s-7) !important; padding-top: var(--s-5) !important; }

/* 10 · Hero-to-content: one treatment on transactions, team and legal pages */
.news-list, .team-body, .legal-body { padding: 0 0 var(--s-6) !important; }
@media (min-width: 768px) { .news-list, .team-body, .legal-body { padding: 0 0 var(--s-7) !important; } }
.team-layout, .legal-body > .container { border-top: 1px solid var(--gold-rule); padding-top: 40px; }
@media (min-width: 768px) { .team-layout, .legal-body > .container { padding-top: 52px; } }
.team-rail { padding-top: 0 !important; }

/* 10b · Transactions: each entry uses the split layout, logos sit beside the text */
.news-item { padding: 40px 0 !important; border-top: 1px solid var(--line-2); }
.news-item:first-child { border-top: 1px solid var(--gold-rule); }
.news-item:last-child { border-bottom: 0 !important; padding-bottom: 0 !important; }
@media (min-width: 768px) { .news-item { padding: 52px 0 !important; } .news-item:last-child { padding-bottom: 0 !important; } }
.news-item-meta { display: flex; flex-wrap: wrap; gap: 4px 20px !important; margin-bottom: 16px !important; align-items: baseline; }
.news-item-meta .sep { display: none !important; }
.news-item h2 { margin-bottom: 0 !important; max-width: 16em; }
.news-item .split-body p { max-width: 60ch; margin-bottom: 16px; }
.news-item .logos-band { display: block !important; margin: 28px 0 0 !important; padding: 22px 0 0 !important; border: 0 !important; border-top: 1px solid var(--line-2) !important; text-align: left; }
.news-item .logos-band .featured-logo { width: auto !important; text-align: left !important; margin: 0 0 18px !important; }
.news-item .logos-band .featured-logo img { height: 40px !important; display: block; }
.news-item .logos-band .sub-logos { display: flex; flex-wrap: wrap; gap: 20px 28px !important; align-items: center; justify-content: flex-start !important; width: auto !important; }
.news-item .logos-band .sub-logos img { height: 26px !important; opacity: .9; }
.news-item .news-actions { margin-top: 24px !important; }

/* 11 · Valuation page: same split as the rest */
.val-wrap { max-width: none !important; }
.val-intro h1 { font-size: clamp(38px, 4.6vw, 60px) !important; margin-bottom: 20px !important; max-width: 10em; }
.val-intro .val-lead { margin-bottom: 14px; }
.val-intro .val-perks { margin: 0 !important; }
.val-main .val-form, .val-main .val-contact-form { border-top: 1px solid var(--gold-rule) !important; padding-top: 32px !important; }
.val-main > .val-success { margin-top: 0; }

/* 12 · Ad landing page */
.hero-img { }
.split-body .deliv, .split-body .steps { display: block !important; border-top: 1px solid var(--gold-rule) !important; margin-top: 0 !important; gap: 0 !important; }
.split-body .deliv li, .split-body .step { display: grid !important; grid-template-columns: 1fr !important; gap: 6px !important; padding: 26px 0 !important; border: 0 !important; border-bottom: 1px solid var(--line-2) !important; }
.split-body .deliv h3, .split-body .step h3 { margin: 0 !important; padding: 0 !important; font-family: 'Instrument Serif', serif !important; font-weight: 400 !important; font-size: clamp(26px, 2.6vw, 32px) !important; line-height: 1.1 !important; letter-spacing: -0.015em !important; color: var(--ink); }
.split-body .deliv p, .split-body .step p { grid-column: auto !important; max-width: 44ch; margin: 0; }
.step .big, .deliv .n { display: none !important; }
@media (min-width: 700px) {
  .split-body .deliv li, .split-body .step { grid-template-columns: 200px minmax(0, 1fr) !important; gap: 32px !important; align-items: baseline; }
}
.split-body .led { margin-top: 0 !important; border-top: 1px solid var(--gold-rule) !important; }
.split-body .led li { grid-template-columns: 1fr !important; gap: 4px !important; padding: 22px 0 !important; }
.split-body .led small { text-align: left !important; }
.split-body .faq { margin-top: 0 !important; max-width: none !important; border-top: 1px solid var(--gold-rule) !important; }
.split-body .cta-row { margin-top: var(--s-4) !important; }
.stat { background: var(--bg) !important; }
.stat-n b { font-size: clamp(60px, 16vw, 88px) !important; }
.succ-box { background: transparent !important; border: 0 !important; border-top: 1px solid var(--gold-rule) !important; padding-left: 0 !important; padding-right: 0 !important; }
.fam-tags { display: block !important; border-top: 1px solid var(--gold-rule); }
.fam-tags span { display: block; border: 0 !important; border-bottom: 1px solid var(--line-2) !important; padding: 14px 0 !important; font-family: 'Instrument Serif', serif; font-size: 22px !important; letter-spacing: -0.01em !important; text-transform: none !important; color: var(--ink) !important; font-weight: 400 !important; }
@media (min-width: 900px) { .fam .wrap { align-items: start !important; } }

@media (prefers-reduced-motion: reduce) { .reveal, .rv { transition: none; } }
.val-form .hp-field + .val-section-label { margin-top: 0; padding-top: 0; border-top: 0; }


/* 13 · Page hero lead (Team matches Transactions) */
.news-hero .lead, .legal-hero .lead {
  font-size: 17px !important; line-height: 1.65; color: var(--ink-2) !important;
  max-width: 60ch; margin: 0;
}
.news-hero h1 { margin-bottom: 16px !important; }
.news-hero .lead { margin-top: 0; }

/* 14 · Contact / footer telephone rows: number column + aligned labels, full-width rules */
.contact-block .value {
  display: grid !important;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 24px;
  align-items: baseline;
  width: 100%;
  margin: 0 !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid var(--line-2);
}
.contact-block .value + .value { margin-top: 0 !important; }
.contact-block .value a {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  white-space: nowrap;
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.contact-block .value .meta-loc {
  margin-left: 0 !important;
  justify-self: start;
  align-self: baseline;
}
@media (max-width: 559px) {
  .contact-block .value {
    grid-template-columns: 1fr;
    gap: 2px 0;
    padding: 12px 0 !important;
  }
}

/* Footer contact rows (tel / pec + label) */
.footer-col li:has(a[href^="tel:"]),
.footer-col li:has(a[href^="mailto:"]):has(.meta) {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 16px;
  align-items: baseline;
}
.footer-col li a[href^="tel:"] {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  white-space: nowrap;
}
@media (max-width: 559px) {
  .footer-col li:has(a[href^="tel:"]),
  .footer-col li:has(a[href^="mailto:"]):has(.meta) {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }
}

/* 15 · Mobile header: same as home on every page (hamburger + drawer) */
.nav-toggle { display: none; }
@media (max-width: 799px) {
  .nav-right { display: none !important; }
  .nav-toggle {
    display: inline-flex !important; flex-direction: column; gap: 4px;
    padding: 10px 8px; margin-right: -8px;
    background: none; border: 0; cursor: pointer; color: inherit;
  }
  .nav-toggle span { width: 22px; height: 1.5px; background: var(--ink-2); transition: 0.3s; display: block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
  .drawer { display: none; flex-direction: column; padding: 8px 0 24px; border-top: 1px solid var(--line); }
  .drawer.open { display: flex !important; }
  .drawer a {
    padding: 16px 0; font-size: 18px;
    font-family: 'Instrument Serif', serif;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
  .drawer a:last-of-type { border-bottom: none; }
}
@media (min-width: 800px) {
  .nav-toggle { display: none !important; }
  .drawer, .drawer.open { display: none !important; }
}

/* 16 · Header logo hover: a short tilt + gold sheen across the epsilon (no underline) */
.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.brand .brand-mark {
  transform-origin: 50% 60%;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.5s ease;
}
.brand .brand-name {
  transition: filter 0.5s ease, color 0.5s ease;
}
/* Sheen overlay, clipped to the epsilon and aligned with the 22x30 mark */
.brand::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 30px;
  pointer-events: none;
  transform: translateY(-50%) rotate(0deg);
  transform-origin: 50% 60%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 244, 220, 0) 42%,
    rgba(255, 246, 228, 0.92) 50%,
    rgba(228, 196, 130, 0.35) 56%,
    transparent 66%,
    transparent 100%
  );
  background-size: 220% 100%;
  background-position: 130% 0;
  opacity: 0;
  -webkit-mask-image: url(/brand-epsilon.svg);
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url(/brand-epsilon.svg);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  transition:
    background-position 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.2s ease,
    transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (hover: hover) {
  .brand:hover .brand-mark, .brand:focus-visible .brand-mark {
    transform: rotate(-7deg);
    filter: brightness(1.16);
  }
  .brand:hover .brand-name, .brand:focus-visible .brand-name {
    filter: brightness(1.18);
  }
  .brand:hover::after, .brand:focus-visible::after {
    background-position: -40% 0;
    opacity: 1;
    transform: translateY(-50%) rotate(-7deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand .brand-mark, .brand::after, .brand .brand-name { transition: none; }
  .brand:hover .brand-mark, .brand:focus-visible .brand-mark { transform: none; filter: none; }
  .brand:hover .brand-name, .brand:focus-visible .brand-name { filter: none; }
  .brand:hover::after, .brand:focus-visible::after {
    background-position: 130% 0;
    opacity: 0;
    transform: translateY(-50%) rotate(0deg);
  }
}


/* 18 · Language switch: no separators; same type as the surrounding nav; current language in gold */
.lang-switch .sep { display: none !important; }
.lang-switch {
  gap: 16px !important;
  font-feature-settings: normal;
}
.lang-switch a,
.lang-switch span {
  font-family: inherit;
  text-transform: none !important;
  letter-spacing: 0.005em !important;
  font-weight: 450;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
.lang-switch a,
.lang-switch span:not(.active) { color: var(--ink-2) !important; }
.lang-switch .active {
  color: var(--gold) !important;
  font-family: inherit !important;
  font-weight: 450 !important;
}
.lang-switch a:hover { color: var(--gold) !important; }

@media (min-width: 800px) {
  .nav-right .lang-switch,
  .nav-right .lang-switch a,
  .nav-right .lang-switch span {
    font-family: 'Instrument Sans', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    letter-spacing: 0.005em !important;
    text-transform: none !important;
  }
}

@media (max-width: 799px) {
  .drawer .lang-switch {
    display: flex !important;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 20px !important;
    margin: 20px 0 0 !important;
    padding: 0;
    border: 0 !important;
  }
  .drawer .lang-switch a,
  .drawer .lang-switch span,
  .drawer .lang-switch .active {
    font-family: 'Instrument Serif', serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    padding: 8px 0 !important;
    border: 0 !important;
    line-height: 1.2;
  }
  .drawer .lang-switch a { border-bottom: 0 !important; }
  .drawer .lang-switch a,
  .drawer .lang-switch span:not(.active) { color: var(--ink-2) !important; }
  .drawer .lang-switch .active { color: var(--gold) !important; }
}

/* 17 · Team card contact links (email then LinkedIn) */
.person-links { grid-area: li; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 16px; }
.person-links .person-li { margin-top: 0 !important; }

/* 18 · R7 body type: Outfit (as in the Trasmetal IM) replaces Inter for body and sans UI.
   Instrument Serif keeps the wordmark and the headings; the epsilon is untouched. */
@font-face {
  font-family: 'Instrument Sans';
  src: url(/fonts/InstrumentSans-Variable.woff2) format('woff2'),
       url(/fonts/InstrumentSans-Variable.ttf) format('truetype');
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
body, button, input, select, textarea,
.approach-num, .contact-block .value .meta-loc,
.brand-stack .brand-legal, .brand-legal-footer, .person-li {
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
/* Weights per the IM: Regular body and nav, Light hero subtitle,
   SemiBold tracked uppercase labels, Medium numbers */
.nav-links a, .nav-links a.nav-cta, .pill, .lang-switch a, .lang-switch span { font-weight: 400; }
.lang-switch .active { font-weight: 500; }
.hero-sub { font-weight: 300; }
.eyebrow, .sec-tag, .lang-switch, .service-row .label, .pills-label,
.contact-block .label, .footer-col h5, .brand-stack .brand-legal, .brand-legal-footer,
.nav-cta, .val-home-cta .val-perks, .btn-gold,
.news-hero .eyebrow, .team-rail-kicker, .person-toggle-label, .person-role, .person-more > summary, .person-li {
  font-weight: 600;
}
.approach-num, .ep-cookie__btn { font-weight: 500; }
/* Mobile drawer stays Instrument Serif */
.drawer a.nav-cta { font-weight: 500; }
.drawer .lang-switch, .drawer .lang-switch a, .drawer .lang-switch span { font-weight: 400; }
