:root {
  --paper: #f3f5f2;
  --white: #ffffff;
  --ink: #111418;
  --muted: #5c626a;
  --line: #cfd4d0;
  --violet: #6c63ff;
  --pink: #ff3d91;
  --neon: #dbff3d;
  --blue-soft: #dce8ff;
  --max: 1420px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 99; background: var(--neon); padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem clamp(1.25rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(17,20,24,.16);
  background: rgba(243,245,242,.88);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 680; letter-spacing: -.02em; }
.brand-mark { width: 17px; height: 17px; border: 4px solid var(--ink); border-right-color: var(--pink); border-radius: 50%; transform: rotate(-25deg); }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.5rem); }
nav a { text-decoration: none; font-size: .9rem; font-weight: 620; }
nav a:not(.nav-cta):hover { color: var(--violet); }
.nav-cta { border: 1px solid var(--ink); border-radius: 999px; padding: .55rem 1rem; transition: .2s ease; }
.nav-cta:hover { background: var(--ink); color: white; }

.hero {
  max-width: var(--max);
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 7rem) clamp(1.25rem, 4vw, 4.5rem) clamp(3.5rem, 6vw, 6rem);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 8rem);
}
.eyebrow, .section-label, .service-kicker { font-size: .76rem; font-weight: 760; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before, .section-label::before { content: ""; display: inline-block; width: 2rem; height: 3px; background: var(--pink); margin: 0 .7rem .2rem 0; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 12ch; margin: 1.6rem 0 1.8rem; font-size: clamp(3.35rem, 7vw, 7.8rem); line-height: .92; letter-spacing: -.075em; font-weight: 710; }
h1 em, h2 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 em { color: var(--violet); }
.hero-intro { max-width: 650px; margin-bottom: 2.3rem; font-size: clamp(1.12rem, 1.55vw, 1.45rem); line-height: 1.55; color: #363b42; }
.hero-actions { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-width: 250px; padding: .95rem 1.15rem; text-decoration: none; border-radius: 2px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: var(--violet); }
.text-link { font-weight: 650; text-underline-offset: 5px; }

.hero-visual { position: relative; justify-self: end; width: min(100%, 490px); }
.portrait-crop { position: relative; z-index: 2; aspect-ratio: .78; overflow: hidden; border-radius: 47% 47% 12px 12px; background: var(--blue-soft); box-shadow: 18px 18px 0 var(--neon); }
.portrait-crop img { width: 120%; max-width: none; height: auto; transform: translate(-8.3%, -5%); }
.orbit { position: absolute; border: 1px solid var(--violet); border-radius: 50%; z-index: 1; pointer-events: none; }
.orbit-one { width: 118%; aspect-ratio: 1; left: -24%; top: -12%; }
.orbit-two { width: 82%; aspect-ratio: 1; right: -13%; bottom: -13%; border-color: var(--pink); }
.visual-note { position: absolute; z-index: 3; left: -1.5rem; bottom: 2rem; padding: .65rem .85rem; background: var(--white); font-size: .68rem; font-weight: 800; letter-spacing: .12em; transform: rotate(-90deg); transform-origin: left bottom; }

.signal-strip { overflow: hidden; border-block: 1px solid var(--ink); background: var(--neon); }
.signal-track { width: max-content; min-width: 100%; padding: .9rem 2rem; display: flex; justify-content: space-around; align-items: center; gap: 2rem; font-size: .8rem; font-weight: 820; letter-spacing: .11em; text-transform: uppercase; }
.signal-track i { font-style: normal; color: var(--pink); }

.section-pad { max-width: var(--max); margin: 0 auto; padding: clamp(5.5rem, 10vw, 10rem) clamp(1.25rem, 4vw, 4.5rem); }
.positioning-grid, .research-grid, .profile-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(3rem, 8vw, 9rem); }
.positioning h2, .section-heading h2, .process h2, .research h2, .profile h2, .cta h2 { margin: 1.5rem 0 0; font-size: clamp(2.65rem, 5.5vw, 6.2rem); line-height: 1; letter-spacing: -.06em; font-weight: 690; }
.positioning h2 span { color: var(--violet); }
.lead { font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.42; letter-spacing: -.025em; }
.positioning-grid > div:last-child { align-self: end; max-width: 600px; }
.positioning-grid > div:last-child p:last-child { color: var(--muted); }

.services { max-width: none; background: var(--ink); color: white; }
.services > * { max-width: calc(var(--max) - 2 * clamp(1.25rem, 4vw, 4.5rem)); margin-inline: auto; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 5rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 6rem); }
.section-heading .section-label { grid-column: 1 / -1; }
.section-heading h2 { margin: 0; }
.section-heading > p:last-child { max-width: 470px; margin: 0 0 .8rem; color: #c6cbd2; font-size: 1.1rem; }
.services .section-label::before { background: var(--neon); }
.service-list { border-top: 1px solid #42464d; }
.service-card { display: grid; grid-template-columns: 90px 1fr .65fr; gap: 2rem 3rem; padding: 3rem 0; border-bottom: 1px solid #42464d; transition: color .25s ease; }
.service-card:hover { color: var(--neon); }
.service-card:hover .service-main p { color: white; }
.service-number { color: var(--neon); font-size: .85rem; font-weight: 800; }
.service-main h3 { max-width: 14ch; margin: .5rem 0 1.1rem; font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.08; letter-spacing: -.04em; }
.service-main p { max-width: 650px; color: #c6cbd2; }
.service-card ul { margin: 2.1rem 0 0; padding: 0; list-style: none; color: #c6cbd2; }
.service-card li { padding: .55rem 0; border-bottom: 1px solid #34383e; }

.process { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 9rem); }
.process h2 { font-size: clamp(2.6rem, 4.8vw, 5.3rem); }
.process-steps { list-style: none; margin: 0; padding: 0; }
.process-steps li { display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.process-steps li:last-child { border-bottom: 1px solid var(--line); }
.process-steps > li > span { color: var(--violet); font-size: .8rem; font-weight: 800; }
.process-steps strong { display: block; font-size: 1.25rem; letter-spacing: -.02em; }
.process-steps p { margin: .25rem 0 0; color: var(--muted); }

.research { max-width: none; background: var(--blue-soft); }
.research-grid { max-width: calc(var(--max) - 2 * clamp(1.25rem, 4vw, 4.5rem)); margin-inline: auto; }
.research h2 { color: var(--violet); }
.research-body { align-self: end; }
.research-body > p { font-size: 1.15rem; }
.research-tags { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.research-tags span { padding: .55rem .8rem; border: 1px solid var(--ink); border-radius: 999px; font-size: .82rem; font-weight: 650; }
.empathy-feature { max-width: calc(var(--max) - 2 * clamp(1.25rem, 4vw, 4.5rem)); margin: clamp(4rem, 8vw, 7rem) auto 0; padding-top: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid rgba(17,20,24,.28); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 9rem); }
.empathy-feature h3 { max-width: 10ch; margin: .75rem 0 0; font-size: clamp(2.5rem, 4.7vw, 5.2rem); line-height: 1; letter-spacing: -.055em; }
.empathy-feature .service-kicker { color: var(--pink); }
.empathy-copy > p { font-size: 1.08rem; }
.empathy-copy > p:first-child { font-size: clamp(1.2rem, 1.8vw, 1.55rem); line-height: 1.45; letter-spacing: -.02em; }
.empathy-principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 2rem 0 1.25rem; border-top: 1px solid rgba(17,20,24,.28); }
.empathy-principles span { padding: .9rem 0; border-bottom: 1px solid rgba(17,20,24,.28); font-weight: 700; }
.empathy-principles span:nth-child(odd) { margin-right: 1rem; }
.empathy-copy small { color: var(--muted); }

.profile { background: var(--white); max-width: none; }
.profile-grid { max-width: calc(var(--max) - 2 * clamp(1.25rem, 4vw, 4.5rem)); margin-inline: auto; }
.profile h2 em { color: var(--pink); }
.profile-copy > p:nth-child(2) { color: var(--muted); }
.credentials { margin-top: 3rem; border-top: 1px solid var(--line); }
.credentials > div { position: relative; padding: 1.1rem 0 1.1rem 24px; border-bottom: 1px solid var(--line); }
.credentials span { color: var(--pink); font-size: .72rem; font-weight: 800; }
.credentials p { margin: 0; font-weight: 650; }
.credentials small { color: var(--muted); font-weight: 450; }

.cta { max-width: none; min-height: 76vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: white; background: var(--violet); }
.cta .section-label::before { background: var(--neon); }
.cta h2 { max-width: 15ch; }
.cta > p:not(.section-label) { max-width: 590px; margin: 2rem 0; font-size: 1.2rem; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.cta-actions .text-link { color: white; }
.button-neon { background: var(--neon); color: var(--ink); }
.button-neon:hover { background: var(--pink); }

footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1.5rem 3rem; align-items: center; padding: 3rem clamp(1.25rem, 4vw, 4.5rem); color: white; background: var(--ink); }
footer p, footer small { margin: 0; color: #aeb4bc; }
footer > div { display: flex; gap: 1.2rem; flex-wrap: wrap; }
footer > div a { font-size: .9rem; text-underline-offset: 5px; }
footer small { grid-column: 1 / -1; border-top: 1px solid #34383e; padding-top: 1.25rem; }
footer .brand-mark { border-color: white; border-right-color: var(--pink); }

.legal-main { max-width: var(--max); min-height: calc(100vh - 76px); margin: 0 auto; padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 4vw, 4.5rem) clamp(6rem, 11vw, 10rem); }
.legal-hero { max-width: 900px; padding-bottom: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--ink); }
.legal-hero h1 { max-width: none; margin-bottom: 1.5rem; color: var(--violet); }
.legal-hero .lead { margin-bottom: 0; }
.legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 1px; background: var(--ink); border: 1px solid var(--ink); }
.legal-grid article { min-height: 330px; padding: clamp(2rem, 5vw, 4rem); background: var(--paper); }
.legal-grid .service-kicker, .legal-responsibility .service-kicker { color: var(--pink); }
.legal-grid h2, .legal-responsibility h2 { max-width: 16ch; margin: .8rem 0 2rem; font-size: clamp(2rem, 3.8vw, 4rem); line-height: 1.05; letter-spacing: -.05em; }
.legal-grid address { font-style: normal; font-size: 1.15rem; }
.legal-grid a { font-weight: 700; text-underline-offset: 5px; }
.legal-responsibility { max-width: 900px; margin-top: clamp(4rem, 8vw, 7rem); padding-left: clamp(1.25rem, 4vw, 3rem); border-left: 5px solid var(--neon); }
.legal-responsibility p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.08rem; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; width: min(82vw, 470px); margin-top: 1rem; }
  .positioning-grid, .research-grid, .profile-grid, .process, .section-heading, .empathy-feature { grid-template-columns: 1fr; }
  .section-heading .section-label { grid-column: auto; }
  .service-card { grid-template-columns: 50px 1fr; }
  .service-card ul { grid-column: 2; }
  footer { grid-template-columns: 1fr auto; }
  footer > p { grid-column: 1 / -1; }
  .legal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-header { min-height: 68px; }
  .brand { font-size: .92rem; }
  .nav-cta { padding: .48rem .8rem; }
  h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .button { width: 100%; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .cta-actions { width: 100%; flex-direction: column; }
  .service-card { grid-template-columns: 1fr; }
  .service-card ul { grid-column: 1; }
  .service-number { margin-bottom: -.8rem; }
  footer { grid-template-columns: 1fr; }
  footer > p, footer small { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}

/* Section navigation: visible on desktop and mobile. */
:root { --section-header-height: 80px; }
main section[id] { scroll-margin-top: calc(var(--section-header-height) + 20px); }
.section-header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem clamp(1rem, 2vw, 2rem); }
.section-header .brand { font-size: .9rem; min-width: 0; }
.section-header .brand-mark { flex-shrink: 0; }
.section-nav { display: flex; align-items: center; flex-shrink: 0; flex-wrap: nowrap; gap: .15rem; }
.section-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .6rem .65rem; white-space: nowrap; border-radius: 6px; font-size: .875rem; line-height: 1.25; transition: background .15s, color .15s; }
.section-nav a:hover { background: #e4e1ff; color: var(--ink); }
.section-nav a[aria-current="location"] { background: var(--ink); color: var(--neon); }
.section-nav a:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
@media (max-width: 900px) { .section-nav a:not(.nav-cta) { display: inline-flex; } }
@media (max-width: 560px) {
  :root { --section-header-height: 132px; }
  .section-header { padding-inline: 1rem; gap: .6rem; }
  .section-header .brand { font-size: .875rem; }
  .section-header .brand-mark { flex-shrink: 0; }
  .section-nav { gap: .25rem; }
  .section-nav a { padding: .5rem .7rem; font-size: .875rem; }
}

@media (max-width: 560px) {
  .section-header { flex-wrap: wrap; }
  .section-nav { width: 100%; flex-wrap: wrap; }
}

/* Bilingual navigation */
.site-header { flex-wrap: wrap; gap: 12px 20px; }
.language-switch { display: flex; align-items: center; gap: 3px; border: 1px solid #bbb; border-radius: 999px; padding: 3px; }
.language-switch a { display: inline-flex !important; align-items: center; justify-content: center; min-height: 38px; padding: 6px 12px; border-radius: 999px; font-size: .82rem; text-decoration: none; }
.language-switch a[aria-current="page"] { background: var(--ink); color: var(--neon); }
.language-switch a:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
@media(max-width:560px) { .language-switch { margin-left: auto; } .site-header .section-nav { order: 3; } }

/* Research: shared introductory layout and numbered topics. */
.research-inner { max-width: calc(var(--max) - 2 * clamp(1.25rem, 4vw, 4.5rem)); margin-inline: auto; }
.research .section-heading > p:last-child { color: var(--muted); }
.research-topics { border-top: 1px solid rgba(17,20,24,.25); }
.research-topic { display: grid; grid-template-columns: 60px minmax(0, .85fr) minmax(0, 1.15fr); gap: 2rem 3rem; padding: 3rem 0; border-bottom: 1px solid rgba(17,20,24,.25); }
.research-number { font-size: 1rem; font-weight: 650; color: var(--violet); }
.research-topic h3 { margin: .8rem 0 0; font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1.12; letter-spacing: -.035em; overflow-wrap: break-word; }
.research-topic .service-kicker { color: var(--muted); margin-top: 0; }
.research-topic-copy { margin: 0; font-size: 1.08rem; line-height: 1.7; }
@media(max-width:900px) { .research-topic { grid-template-columns: 40px minmax(0,1fr); gap: 1rem 1.5rem; } .research-topic-copy { grid-column: 2; } }
@media(max-width:560px) { .research-topic { grid-template-columns: minmax(0,1fr); } .research-topic-copy { grid-column: 1; } }

/* Match the research title hover to its topic number. */
.research-topic h3 { transition: color .25s ease; }
.research-topic:hover h3 { color: var(--violet); }
@media (prefers-reduced-motion: reduce) { .research-topic h3 { transition: none; } }

/* Equal-weight profile details without a chronological sequence. */
.credentials .credential-marker { position: absolute; left: 0; top: 1.1rem; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); margin-top: .65rem; }

/* Single-column profile aligned to the section's left content edge. */
.profile-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.profile-grid > div:first-child, .profile-grid > .profile-copy { grid-column: 1; }
.profile-copy { width: 100%; max-width: 78ch; }


/* Profile titles use the same pink as their markers on hover. */
.credentials p { transition: color .25s ease; }
.credentials > div:hover p { color: var(--pink); }
@media (prefers-reduced-motion: reduce) { .credentials p { transition: none; } }
