/* Quantavera static site. Layout follows the Resintoi "Home A" structure.
   No external requests: fonts are self-hosted. */

@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* Palette: change these to re-theme the whole site */
  --bg: #f3f1eb;
  --surface: #fbfaf7;
  --surface-2: #e8e5dc;
  --ink: #141a16;
  --tone-medium: #59625b;
  --tone-subtle: #9aa199;
  --line: #d9d5ca;
  --forest: #17301f;
  --forest-2: #22402c;
  --accent: #c8d98a;
  --clay: #b8875a;
  --on-dark: #f3f1eb;
  --on-dark-subtle: rgba(243, 241, 235, .55);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --container: 1280px;
  --gutter: clamp(16px, 3.2vw, 40px);
  --section: clamp(80px, 11vw, 160px);
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
section { scroll-margin-top: 90px; }

/* Type scale (mirrors template naming) */
.h0 { font-size: clamp(64px, 12vw, 200px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; white-space: nowrap; }
.h1-quote { font-size: clamp(36px, 5vw, 72px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.02; }
.h2 { font-size: clamp(44px, 5.5vw, 80px); font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.h3 { font-size: clamp(30px, 3.8vw, 54px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.08; margin: 0; }
.h5 { font-size: clamp(21px, 2vw, 26px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; margin: 0; }
.h6 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; margin: 0; }
.text-large { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; }
.text-small { font-size: 14px; line-height: 1.5; }
.label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.label-large { font-size: 13px; font-weight: 500; letter-spacing: .02em; }
.tone-subtle { color: var(--tone-subtle); }
.tone-medium { color: var(--tone-medium); }
p { margin: 0; }

/* Brand mark (seed + sprout), used as label icon like the template's "plus" */
.mark { width: 14px; height: 14px; flex: none; color: var(--forest); }
.label-master { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.on-dark .mark, .on-dark .label-master { color: var(--on-dark); }

/* Buttons: text slides, arrow swaps sides on hover */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 20px 0 22px; border-radius: 999px; overflow: hidden;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  background: var(--ink); color: var(--bg); isolation: isolate;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--forest-2); transform: translateY(101%); transition: transform .45s var(--ease); border-radius: inherit; }
.btn:hover::before { transform: none; }
.btn .ico { width: 14px; height: 14px; transition: transform .45s var(--ease), opacity .3s; }
.btn .ico.left { position: absolute; left: 18px; opacity: 0; transform: translateX(-16px); }
.btn .txt { transition: transform .45s var(--ease); }
.btn:hover .ico.left { opacity: 1; transform: none; }
.btn:hover .txt { transform: translateX(20px); }
.btn:hover .ico.right { opacity: 0; transform: translateX(16px); }
.btn.light { background: var(--on-dark); color: var(--ink); }
.btn.light::before { background: var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost::before { background: var(--surface-2); }
.btn.small { height: 40px; font-size: 14px; padding: 0 16px 0 18px; }

/* Navbar */
.navbar { position: fixed; inset: 0 0 auto 0; z-index: 60; padding: 14px var(--gutter); pointer-events: none; }
.navbar-inner {
  pointer-events: auto; max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 60px; padding: 0 8px 0 20px; border-radius: 999px;
  background: rgba(251, 250, 247, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(20, 26, 22, .04), 0 10px 30px -18px rgba(20, 26, 22, .25);
}
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.brand .mark { width: 20px; height: 20px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--tone-medium); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { color: var(--bg); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); color: var(--bg); cursor: pointer; }
.menu-toggle span { display: block; width: 16px; height: 1.5px; margin: 4px auto; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.menu-open .menu-toggle span:first-child { transform: translateY(2.75px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-2.75px) rotate(-45deg); }

/* Hero (Home A): top row with mark + tags, bottom grid with heading + wordmark + image */
.hero { padding: 120px 0 clamp(40px, 6vw, 72px); }
.hero-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.hero-top .mark { width: 34px; height: 34px; }
.hero-tags { display: flex; gap: 22px; }
.hero-tags span { position: relative; }
.hero-tags span + span::before { content: ""; position: absolute; left: -12px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--tone-subtle); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); padding-top: clamp(36px, 5vw, 64px); align-items: stretch; }
.hero-left { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.hero-left .h3 { max-width: 13ch; }
.hero-intro { max-width: 42ch; margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.wordmark-svg { width: 100%; height: auto; color: var(--ink); }

.hero-image { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 560px; }
.img-cover { position: absolute; inset: -8% 0; background-size: cover; background-position: center; will-change: transform; }

/* Contact tile with pulse dot, expands on hover/focus (template: hero-home-a_contact-tile) */
.contact-tile {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  background: rgba(251, 250, 247, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r-md); padding: 16px 18px; outline: none;
}
.contact-tile-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.pulse { position: relative; width: 12px; height: 12px; flex: none; }
.pulse i { position: absolute; inset: 0; border-radius: 50%; background: #5d8b4a; }
.pulse i:first-child { animation: ping 2s var(--ease) infinite; opacity: .5; }
@keyframes ping { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
.contact-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-sm); overflow: hidden; max-height: 0; opacity: 0; margin-top: 0; transition: max-height .5s var(--ease), opacity .3s, margin-top .5s var(--ease); }
.contact-details > * { background: var(--surface); padding: 12px 14px; text-decoration: none; }
.contact-details .label { color: var(--tone-subtle); font-size: 10.5px; display: block; margin-bottom: 2px; }
.contact-tile:hover .contact-details, .contact-tile:focus-within .contact-details, .contact-tile.open .contact-details { max-height: 120px; opacity: 1; margin-top: 14px; }

/* Marquees */
.marquee { overflow: hidden; position: relative; }
.marquee-track { display: flex; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.marquee-track > * { flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee.fade::before, .marquee.fade::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 2; pointer-events: none; }
.marquee.fade::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee.fade::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.chips-marquee { padding: 8px 0 0; }
.chips-marquee .chip { display: inline-flex; align-items: center; gap: 12px; padding: 0 30px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--tone-medium); }
.chips-marquee .chip .mark { width: 12px; height: 12px; color: var(--tone-subtle); }
.text-marquee { padding: clamp(24px, 4vw, 48px) 0; }
.text-marquee .h0 { padding-right: .35em; }
.text-marquee .h0 .dim { color: var(--tone-subtle); }

/* Divider that draws in */
.divider { height: 1px; background: var(--line); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.divider.in { transform: none; }

/* Intro: heading + image grid with abstract marks */
.intro-head { max-width: 980px; }
.intro-grid { display: grid; grid-template-columns: 5fr 2fr 5fr; gap: 20px; margin-top: clamp(48px, 6vw, 80px); align-items: end; }
.intro-left { display: flex; flex-direction: column; gap: 18px; }
.intro-left .frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; }
.intro-left .text-small { max-width: 36ch; color: var(--tone-medium); }
.intro-marks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; justify-items: center; align-self: center; color: var(--tone-subtle); }
.intro-marks .mark { width: 38px; height: 38px; color: inherit; transition: transform .8s var(--ease), color .4s; }
.intro-marks .mark:nth-child(1) { color: var(--forest); }
.intro-marks .mark:nth-child(5) { grid-column: 1 / -1; color: var(--accent); }
.intro-grid:hover .intro-marks .mark { transform: rotate(90deg); }
.intro-right { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; }

/* Combo tabs: sticky label column + tab list + image pane with overlay stats */
.tabs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); }
.tabs-head { max-width: 30ch; margin-bottom: 36px; }
.tab-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.tab {
  text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line);
  padding: 22px 0; cursor: pointer; color: var(--tone-subtle); font: inherit; transition: color .3s;
}
.tab-title { display: flex; align-items: center; gap: 12px; font-size: clamp(19px, 1.6vw, 22px); font-weight: 500; letter-spacing: -0.02em; }
.tab-title svg { width: 22px; height: 22px; flex: none; }
.tab-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.tab-body > p { overflow: hidden; color: var(--tone-medium); max-width: 48ch; }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"] .tab-body { grid-template-rows: 1fr; }
.tab[aria-selected="true"] .tab-body > p { padding-top: 12px; }
.tab-panes { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 600px; background: var(--forest); }
.tab-pane { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.tab-pane.active { opacity: 1; visibility: visible; }
.pane-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; background: linear-gradient(180deg, rgba(20,26,22,.35) 0%, rgba(20,26,22,0) 40%, rgba(20,26,22,.15) 100%); color: var(--on-dark); }
.pane-stats { display: flex; gap: 36px; }
.pane-stats .v { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; letter-spacing: -0.02em; }
.pane-stats .k { color: var(--on-dark-subtle); font-size: 14px; }
.pane-tile { background: rgba(251,250,247,.95); color: var(--ink); border-radius: var(--r-md); padding: 18px; max-width: 320px; display: flex; flex-direction: column; gap: 22px; }
.pane-tile .mark { width: 22px; height: 22px; }

/* Services horizontal tiles */
.center-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.center-head .label-master { justify-content: center; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service { background: var(--surface); border-radius: var(--r-lg); padding: 28px; min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; transition: transform .5s var(--ease); }
.service:hover { transform: translateY(-6px); }
.service svg.illu { width: 88px; height: 88px; }
.service p { color: var(--tone-medium); margin-top: 10px; }
.service .badge { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); color: var(--tone-medium); }
.service.later { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }

/* Stats list rows: label left, big value right */
.stats-list { margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.stat-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.stat-row .label-large { color: var(--tone-medium); max-width: 32ch; }
.stat-row .h2 { text-align: right; }
.stat-row .h2 .dim { color: var(--tone-subtle); }

/* Gallery: tall image + two stacked, content on the right */
.gallery-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.gallery-left { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; }
.gallery-big { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; }
.gallery-stack { display: grid; gap: 16px; grid-template-rows: 1fr 1fr; }
.gallery-stack > div { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.gallery-right .text-large { color: var(--tone-medium); margin: 24px 0 32px; max-width: 44ch; }

/* Quote band (in place of testimonials) */
.quote-band { background: var(--surface); border-radius: var(--r-lg); padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.quote-band .h5 { color: var(--tone-medium); max-width: 44ch; margin-bottom: clamp(40px, 6vw, 96px); }
.quote-band .h1-quote { max-width: 16ch; }
.quote-sign { text-align: right; }

/* Footer (dark, background image, giant wordmark marquee) */
.footer { position: relative; overflow: hidden; background: var(--forest); color: var(--on-dark); border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: var(--section); }
.footer-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; }
.footer-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,48,31,.6), rgba(23,48,31,.95)); }
.footer-inner { position: relative; z-index: 2; padding-top: clamp(64px, 8vw, 120px); }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; padding-bottom: clamp(48px, 6vw, 88px); }
.footer-top .h3 { max-width: 14ch; margin-bottom: 32px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-links .label-large { color: var(--on-dark-subtle); margin-bottom: 16px; display: block; }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; font-size: 15px; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-marquee { position: relative; z-index: 2; padding: 12px 0 8px; }
.footer-marquee .wm { font-size: clamp(80px, 15vw, 240px); font-weight: 700; letter-spacing: -0.06em; line-height: .9; padding-right: .3em; color: var(--on-dark); opacity: .9; display: inline-flex; align-items: center; gap: .25em; }
.footer-marquee .wm .mark { width: .5em; height: .5em; color: var(--accent); }
.footer-legal { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0 26px; border-top: 1px solid rgba(243,241,235,.15); color: var(--on-dark-subtle); }

/* Legal pages */
.legal { padding: 140px 0 40px; }
.legal .container { max-width: 840px; }
.legal h1 { margin: 0 0 40px; }
.legal h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--tone-medium); }
.legal p + p { margin-top: 12px; }
.legal address { font-style: normal; line-height: 1.7; }
.legal ul { padding-left: 20px; }
.legal .updated { margin-top: 56px; font-size: 14px; color: var(--tone-subtle); }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0 0; }

.notfound { min-height: 72vh; display: grid; place-items: center; text-align: center; padding-top: 100px; }
.notfound .h3 { margin: 0 auto 18px; }
.notfound .text-large { color: var(--tone-medium); margin-bottom: 32px; }

/* Reveal + staggered words (template: fade-text / stagger-text) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.stagger .w { display: inline-block; opacity: .12; transition: opacity .6s var(--ease); }
.stagger.in .w { opacity: 1; }
.no-js .reveal { opacity: 1; transform: none; }
.no-js .divider { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger .w { opacity: 1 !important; transform: none !important; transition: none !important; }
  .divider { transform: none; transition: none; }
  .marquee-track { animation: none; }
  .pulse i:first-child { animation: none; }
  .img-cover { transform: none !important; }
}

/* Responsive */
@media (max-width: 991px) {
  .hero-grid, .tabs-grid, .gallery-grid, .footer-top { grid-template-columns: 1fr; }
  .hero-image { min-height: 0; aspect-ratio: 4 / 5; }
  .tab-panes { min-height: 0; aspect-ratio: 4 / 5; }
  .services-grid { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .intro-grid { grid-template-columns: 1fr 1fr; }
  .intro-marks { display: none; }
  .quote-band { grid-template-columns: 1fr; }
  .quote-sign { text-align: left; }
}
@media (max-width: 767px) {
  .navbar { padding: 10px 12px; }
  .nav-links {
    position: fixed; left: 12px; right: 12px; top: 80px; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-radius: var(--r-lg); padding: 10px 20px 20px;
    box-shadow: 0 20px 50px -20px rgba(20,26,22,.35);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
  }
  .nav-links li { border-bottom: 1px solid var(--surface-2); }
  .nav-links li:last-child { border: 0; padding-top: 16px; }
  .nav-links a { display: block; padding: 14px 0; font-size: 18px; color: var(--ink); }
  .nav-links .btn { display: inline-flex; padding: 0 20px; font-size: 15px; }
  .menu-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .menu-toggle { display: block; }
  .hero { padding-top: 100px; }
  .hero-tags { gap: 18px; }
  .hero-tags span:first-child { display: none; }
  .hero-tags span:nth-child(2)::before { display: none; }
  .contact-details { grid-template-columns: 1fr; }
  .contact-tile:hover .contact-details, .contact-tile:focus-within .contact-details, .contact-tile.open .contact-details { max-height: 220px; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-right { aspect-ratio: 4 / 3; }
  .gallery-left { grid-template-columns: 1fr; }
  .gallery-big { aspect-ratio: 4 / 3; }
  .gallery-stack { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .gallery-stack > div { aspect-ratio: 1; }
  .stat-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .stat-row .h2 { text-align: left; }
  .pane-stats { gap: 22px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}

/* Green navbar (matches footer) */
.navbar-inner { background: rgba(23, 48, 31, .94); color: var(--on-dark); box-shadow: 0 10px 30px -18px rgba(20, 26, 22, .45); }
.navbar-inner .brand .mark { color: var(--accent); }
.nav-links .btn { background: var(--on-dark); color: var(--ink); }
.nav-links .btn::before { background: var(--accent); }
.menu-toggle { background: var(--on-dark); color: var(--forest); }
@media (min-width: 768px) {
  .nav-links a:not(.btn) { color: var(--on-dark-subtle); }
  .nav-links a:not(.btn):hover { color: var(--on-dark); }
}
@media (max-width: 767px) {
  .nav-links .btn { background: var(--forest); color: var(--on-dark); }
}

/* University of Vienna research credit */
.research { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.research img { height: 46px; width: auto; }
.on-dark-research { margin-top: 40px; color: var(--on-dark-subtle); }
.on-dark-research img { height: 42px; }
@media (max-width: 767px) { .research { flex-direction: column; align-items: flex-start; gap: 10px; } }

/* Language switch */
.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.lang-switch span { color: var(--on-dark-subtle); }
.nav-links .lang-switch a { color: var(--on-dark-subtle); padding: 4px 2px; }
.nav-links .lang-switch a[aria-current="true"] { color: var(--on-dark); }
@media (max-width: 767px) {
  .nav-links .lang-switch { padding: 14px 0; gap: 10px; font-size: 16px; }
  .nav-links .lang-switch a { display: inline; padding: 0; color: var(--tone-subtle); border: 0; }
  .nav-links .lang-switch a[aria-current="true"] { color: var(--ink); }
  .lang-switch span { color: var(--tone-subtle); }
}
