/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme {
  :root,
  :host {
    --font-sans:
      ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono:
      ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: 0.25rem;
    --default-transition-duration: 0.15s;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *,
  :after,
  :before,
  ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }
  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }
  html,
  :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(
      --default-font-family,
      ui-sans-serif,
      system-ui,
      sans-serif,
      "Apple Color Emoji",
      "Segoe UI Emoji",
      "Segoe UI Symbol",
      "Noto Color Emoji"
    );
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b,
  strong {
    font-weight: bolder;
  }
  code,
  kbd,
  samp,
  pre {
    font-family: var(
      --default-mono-font-family,
      ui-monospace,
      SFMono-Regular,
      Menlo,
      Monaco,
      Consolas,
      "Liberation Mono",
      "Courier New",
      monospace
    );
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(
      --default-mono-font-variation-settings,
      normal
    );
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub,
  sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol,
  ul,
  menu {
    list-style: none;
  }
  img,
  svg,
  video,
  canvas,
  audio,
  iframe,
  embed,
  object {
    vertical-align: middle;
    display: block;
  }
  img,
  video {
    max-width: 100%;
    height: auto;
  }
  button,
  input,
  select,
  optgroup,
  textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }
  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not ((-webkit-appearance: -apple-pay-button))) or
    (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }
    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button,
  input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }
  ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button {
    height: auto;
  }
  ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer components;
@layer utilities {
  .visible {
    visibility: visible;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .end {
    inset-inline-end: var(--spacing);
  }
  .table {
    display: table;
  }
  .transition {
    transition-property:
      color,
      background-color,
      border-color,
      outline-color,
      text-decoration-color,
      fill,
      stroke,
      --tw-gradient-from,
      --tw-gradient-via,
      --tw-gradient-to,
      opacity,
      box-shadow,
      transform,
      translate,
      scale,
      rotate,
      filter,
      -webkit-backdrop-filter,
      backdrop-filter,
      display,
      content-visibility,
      overlay,
      pointer-events;
    transition-timing-function: var(
      --tw-ease,
      var(--default-transition-timing-function)
    );
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
}
:root {
  --ink: #101a2a;
  --muted: #667085;
  --paper: #f5f3ee;
  --white: #fff;
  --navy: #071522;
  --cyan: #2cc9c3;
  --cyan-dark: #168f8b;
  --magenta: #d44e78;
  --line: #101a2a24;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans), sans-serif;
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
.topbar {
  z-index: 20;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  background: #f5f3eee6;
  justify-content: space-between;
  align-items: center;
  height: 78px;
  padding: 0 5vw;
  display: flex;
  position: sticky;
  top: 0;
}
.monogram {
  letter-spacing: -0.08em;
  font-size: 1.15rem;
  font-weight: 900;
}
.topbar nav {
  gap: 2rem;
  font-size: 0.84rem;
  font-weight: 700;
  display: flex;
}
.topbar nav a {
  transition: color 0.2s;
}
.topbar nav a:hover {
  color: var(--cyan-dark);
}
.availability {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
}
.availability span {
  background: var(--cyan);
  border-radius: 50%;
  width: 8px;
  height: 8px;
  box-shadow: 0 0 0 5px #2cc9c324;
}
.header-actions {
  align-items: center;
  gap: 1.2rem;
  display: flex;
}
.language-switch {
  border: 1px solid var(--line);
  background: #ffffffb8;
  border-radius: 999px;
  align-items: center;
  gap: 0.18rem;
  padding: 0.22rem;
  display: flex;
}
.language-switch > span {
  color: #a6adb5;
  font-size: 0.65rem;
}
.language-switch button {
  min-width: 32px;
  height: 28px;
  color: var(--muted);
  cursor: pointer;
  font: 800 0.68rem var(--font-sans);
  letter-spacing: 0.05em;
  background: 0 0;
  border: 0;
  border-radius: 999px;
  padding: 0 0.42rem;
}
.language-switch button.active {
  background: var(--ink);
  color: #fff;
}
.language-switch button:focus-visible {
  outline: 2px solid var(--cyan-dark);
  outline-offset: 2px;
}
.hero {
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 5vw;
  min-height: calc(100vh - 78px);
  padding: 8vw 7vw 6vw;
  display: grid;
  overflow: hidden;
}
.kicker {
  color: var(--cyan-dark);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  font-size: 0.75rem;
  font-weight: 900;
}
.hero h1 {
  letter-spacing: -0.05em;
  max-width: 950px;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5.25rem);
  font-weight: 750;
  line-height: 0.98;
}
h1 em,
h2 em {
  color: var(--magenta);
  font-family: var(--font-display), serif;
  font-weight: 500;
}
.hero-lead {
  max-width: 790px;
  color: var(--muted);
  margin: 2rem 0 0;
  font-size: clamp(1rem, 1.4vw, 1.28rem);
  line-height: 1.8;
}
.hero-lead strong {
  color: var(--ink);
}
.hero-actions {
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2.2rem 0 2.8rem;
  display: flex;
}
.button {
  border-radius: 999px;
  align-items: center;
  gap: 1rem;
  min-height: 50px;
  padding: 0 1.4rem;
  font-size: 0.88rem;
  font-weight: 800;
  display: inline-flex;
}
.button.primary {
  background: var(--ink);
  color: #fff;
}
.button.primary:hover {
  background: var(--cyan-dark);
}
.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
}
.hero-facts {
  gap: clamp(1.5rem, 4vw, 4rem);
  display: flex;
}
.hero-facts div {
  flex-direction: column;
  display: flex;
}
.hero-facts strong {
  letter-spacing: -0.05em;
  font-size: 1.8rem;
}
.hero-facts span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
}
.portrait-shell {
  background: radial-gradient(circle at 50% 25%, #163c51, var(--navy) 58%);
  border-radius: 48% 48% 8rem 8rem;
  place-items: end center;
  min-height: 570px;
  display: grid;
  position: relative;
  overflow: hidden;
  box-shadow: 0 35px 80px #07152238;
}
.portrait-shell:before {
  content: "";
  border: 1px solid #ffffff21;
  border-radius: 50%;
  position: absolute;
  inset: 8%;
}
.portrait-glow {
  aspect-ratio: 1;
  filter: blur(35px);
  background: #2cc9c32e;
  border-radius: 50%;
  width: 65%;
  position: absolute;
  top: 12%;
}
.portrait-image {
  object-fit: cover;
  object-position: 50% 8%;
  width: 100%;
  height: 112%;
  position: absolute;
  inset: 0;
}
.portrait-shell > p {
  z-index: 2;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: linear-gradient(#0000, #071522eb);
  width: 100%;
  margin: 0;
  padding: 1.2rem;
  font-size: 0.76rem;
}
.portrait-shell small {
  color: #fff9;
}
.statement {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr 4fr;
  gap: 5vw;
  padding: 6vw 12vw;
  display: grid;
}
.statement > p {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cyan-dark);
  margin: 0.6rem 0;
  font-size: 0.75rem;
  font-weight: 900;
}
.statement h2 {
  letter-spacing: -0.035em;
  max-width: 1100px;
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 3.35rem);
  line-height: 1.2;
}
.skills-section {
  border-bottom: 1px solid var(--line);
  background: #f8f7f3;
  padding: 8vw;
}
.skills-grid {
  background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  display: grid;
}
.skill-group {
  background: #f8f7f3;
  flex-direction: column;
  min-height: 360px;
  padding: 2rem;
  display: flex;
}
.skill-group:nth-child(5) {
  grid-column: 1/-1;
  min-height: 290px;
}
.skill-group-heading {
  align-items: baseline;
  gap: 1.2rem;
  display: flex;
}
.skill-group-heading > span {
  color: var(--magenta);
  font-family: var(--font-display), serif;
  font-size: 1.4rem;
}
.skill-group h3 {
  letter-spacing: -0.035em;
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
}
.skill-group > p {
  max-width: 640px;
  color: var(--muted);
  margin: 1.2rem 0 2rem;
  line-height: 1.7;
}
.skill-tags {
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  display: flex;
}
.skill-tags span {
  border: 1px solid var(--line);
  color: #465061;
  background: #fff;
  border-radius: 0.55rem;
  padding: 0.5rem 0.68rem;
  font-size: 0.7rem;
  font-weight: 800;
}
.skills-note {
  color: var(--muted);
  margin: 1.4rem 0 0;
  font-size: 0.72rem;
}
.languages-block {
  background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 1px;
  margin-top: 4rem;
  display: grid;
}
.languages-heading,
.language-card {
  background: var(--paper);
  min-height: 170px;
  padding: 1.5rem;
}
.languages-heading .kicker {
  margin-bottom: 0.8rem;
}
.languages-heading h3 {
  letter-spacing: -0.03em;
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.25;
}
.language-card {
  flex-direction: column;
  justify-content: flex-end;
  display: flex;
}
.language-card strong {
  font-size: 1.2rem;
}
.language-card span {
  color: var(--muted);
  margin-top: 0.45rem;
  font-size: 0.75rem;
  line-height: 1.5;
}
.timeline-section {
  padding: 8vw 8vw 10vw;
}
.section-heading {
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 8vw;
  margin-bottom: 4rem;
  display: grid;
}
.section-heading h2 {
  white-space: pre-line;
  letter-spacing: -0.045em;
  margin: 0;
  font-size: clamp(2.1rem, 3.65vw, 4.2rem);
  line-height: 1.04;
}
.section-heading > p {
  max-width: 620px;
  color: var(--muted);
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}
.filters {
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 4rem;
  display: flex;
}
.filters button {
  cursor: pointer;
  border: 1px solid var(--line);
  color: var(--muted);
  background: 0 0;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-size: 0.78rem;
  font-weight: 800;
}
.filters button.active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}
.timeline-list {
  max-width: 1160px;
  margin: 0 auto;
}
.timeline-item {
  grid-template-columns: 180px 1fr;
  display: grid;
}
.time-marker {
  letter-spacing: 0.08em;
  padding-top: 2.6rem;
  font-size: 0.74rem;
  font-weight: 900;
  position: relative;
}
.time-marker:after {
  content: "";
  background: var(--line);
  width: 1px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 28px;
}
.time-marker i {
  z-index: 1;
  background: var(--paper);
  border: 3px solid var(--cyan-dark);
  border-radius: 50%;
  width: 11px;
  height: 11px;
  position: absolute;
  top: 3rem;
  right: 23px;
}
.time-card {
  border-top: 1px solid var(--line);
  padding: 2.5rem 1rem 3.2rem 3rem;
}
.card-eyebrow {
  color: var(--magenta);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 900;
}
.time-card h3 {
  letter-spacing: -0.04em;
  margin: 0;
  font-size: clamp(1.6rem, 2.5vw, 2.6rem);
}
.place {
  color: var(--cyan-dark);
  margin: 0.4rem 0 1.4rem;
  font-weight: 800;
}
.summary {
  max-width: 810px;
  color: var(--muted);
  line-height: 1.75;
}
.tags {
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
  display: flex;
}
.tags span {
  border: 1px solid var(--line);
  color: #465061;
  background: #fff;
  border-radius: 0.5rem;
  padding: 0.42rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 750;
}
.source-link {
  color: var(--cyan-dark);
  margin-top: 1rem;
  font-size: 0.76rem;
  font-weight: 850;
  display: inline-block;
}
.source-link:hover {
  text-decoration: underline;
}
.timeline-empty {
  border: 1px solid var(--line);
  text-align: center;
  border-radius: 1.5rem;
  padding: 4rem;
}
.timeline-empty a {
  color: var(--cyan-dark);
  font-weight: 800;
}
.parex-feature {
  color: #fff;
  background: #102031;
  padding: 8vw;
}
.parex-intro {
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 8vw;
  display: grid;
}
.parex-intro .kicker {
  grid-column: 1/-1;
  margin-bottom: -4rem;
}
.parex-intro h2 {
  letter-spacing: -0.045em;
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.1rem, 3.65vw, 4.2rem);
  line-height: 1.04;
}
.parex-intro > p:last-child {
  color: #b8c1cb;
  margin: 0;
  line-height: 1.8;
}
.parex-stats {
  background: #ffffff26;
  border: 1px solid #ffffff26;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 5rem;
  display: grid;
}
.parex-stats div {
  background: #102031;
  flex-direction: column;
  padding: 1.5rem;
  display: flex;
}
.parex-stats strong {
  color: var(--cyan);
  letter-spacing: -0.04em;
  font-size: clamp(1.35rem, 2vw, 2rem);
}
.parex-stats span {
  color: #9aa7b5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
  font-size: 0.7rem;
}
.parex-projects {
  background: #ffffff21;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 2rem;
  display: grid;
}
.parex-projects article {
  background: #102031;
  padding: 2rem;
}
.parex-projects article > span {
  color: var(--magenta);
  font-family: var(--font-display), serif;
  font-size: 1.45rem;
}
.parex-projects h3 {
  margin: 1.5rem 0 0.7rem;
  font-size: 1.35rem;
}
.parex-projects p {
  color: #aeb9c4;
  margin: 0;
  line-height: 1.7;
}
.education-section {
  border-top: 1px solid var(--line);
  background: #ebe8e1;
  padding: 8vw;
}
.education-grid {
  background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  display: grid;
}
.education-card {
  background: var(--paper);
  flex-direction: column;
  min-height: 220px;
  padding: 1.8rem;
  display: flex;
}
.education-card > p {
  color: var(--magenta);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 900;
}
.education-card h3 {
  letter-spacing: -0.025em;
  margin: 2rem 0 0.8rem;
  font-size: 1.28rem;
  line-height: 1.3;
}
.education-card span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}
.credentials {
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  display: grid;
}
.credentials > div {
  border: 1px solid var(--line);
  background: #ffffff73;
  border-radius: 1rem;
  padding: 1.5rem;
}
.credentials span {
  color: var(--cyan-dark);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  font-size: 0.7rem;
  font-weight: 900;
  display: block;
}
.credentials strong {
  display: block;
}
.credentials p {
  color: var(--muted);
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
}
.skills-heading {
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 2.4rem 0 0.8rem;
  font-size: 0.72rem;
  font-weight: 900;
}
.learning-topics {
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.7rem;
  display: flex;
}
.learning-topics span {
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 750;
}
.publications-section {
  background: #f8f7f3;
  padding: 8vw;
}
.publication-list {
  border-top: 1px solid var(--line);
}
.publication-card {
  border-bottom: 1px solid var(--line);
  grid-template-columns: 90px 1fr 50px;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  display: grid;
}
.publication-card > span {
  color: var(--magenta);
  font-family: var(--font-display), serif;
  font-size: 1.55rem;
}
.publication-card h3 {
  letter-spacing: -0.025em;
  margin: 0 0 0.55rem;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.35;
}
.publication-card p {
  color: var(--cyan-dark);
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
}
.publication-card small {
  color: var(--muted);
  line-height: 1.5;
}
.publication-card > a {
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  place-items: center;
  width: 42px;
  height: 42px;
  font-weight: 900;
  display: grid;
}
.publication-card > a:hover {
  background: var(--cyan-dark);
}
.projects-section {
  background: var(--navy);
  color: #fff;
  padding: 8vw;
}
.section-heading.light > p {
  color: #a9b3c0;
}
.project-grid {
  background: #ffffff26;
  border: 1px solid #ffffff26;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  display: grid;
}
.project-card {
  background: var(--navy);
  flex-direction: column;
  min-height: 520px;
  padding: 2.2rem;
  transition:
    background 0.25s,
    transform 0.25s;
  display: flex;
}
.project-card:hover {
  background: #0c2131;
  transform: translateY(-5px);
}
.project-number {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 2rem;
}
.project-subtitle {
  color: #9fabb7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: auto 0 1rem;
  font-size: 0.72rem;
  font-weight: 800;
}
.project-card h3 {
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
  font-size: 1.8rem;
}
.project-card > p:not(.project-subtitle) {
  color: #b7c0c9;
  line-height: 1.7;
}
.project-tech {
  color: var(--cyan);
  margin-top: 1.2rem;
  font-size: 0.74rem;
  line-height: 1.7;
}
.project-links {
  gap: 1.2rem;
  margin-top: 1.6rem;
  font-size: 0.78rem;
  font-weight: 850;
  display: flex;
}
.project-links a:hover {
  color: var(--cyan);
}
.personal-section {
  background: #f4f1ea;
  padding: 8vw;
  overflow: hidden;
}
.life-map-layout {
  grid-template-columns: 1.35fr 0.65fr;
  align-items: center;
  gap: 5vw;
  display: grid;
}
.life-map {
  border: 1px solid var(--line);
  background: #ffffff94;
  border-radius: 2rem;
  min-height: 470px;
  padding: 1.2rem;
  position: relative;
  box-shadow: 0 24px 60px #10203114;
}
.life-map svg {
  width: 100%;
  height: auto;
  display: block;
}
.map-background {
  opacity: 0.92;
}
.map-route {
  fill: none;
  stroke: var(--magenta);
  stroke-width: 3px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 8 8;
  animation: 12s linear infinite route-flow;
}
.map-point circle {
  fill: var(--cyan-dark);
  stroke: #fff;
  stroke-width: 3px;
}
.map-point .pulse {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2px;
  opacity: 0.35;
  transform-origin: 50%;
  animation: 2.8s ease-out infinite map-pulse;
}
.map-point text {
  fill: var(--ink);
  font: 800 15px var(--font-sans);
}
.map-point text.stage {
  fill: var(--muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
}
.map-legend {
  color: var(--muted);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.4rem 1rem 1rem;
  font-size: 0.67rem;
  font-weight: 800;
  display: flex;
}
.map-legend i {
  color: var(--magenta);
  font-style: normal;
}
.personal-copy {
  border-top: 1px solid var(--line);
}
.personal-copy p {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  margin: 0;
  padding: 1.5rem 0;
  font-size: 0.96rem;
  line-height: 1.85;
}
.interests-title {
  color: var(--cyan-dark);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 4rem 0 1rem;
  font-size: 0.72rem;
  font-weight: 900;
}
.interest-grid {
  border: 1px solid var(--line);
  background: var(--line);
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  display: grid;
}
.interest-card {
  background: #f4f1ea;
  flex-direction: column;
  min-height: 190px;
  padding: 1.5rem;
  display: flex;
}
.interest-card > span {
  color: var(--magenta);
  font-family: var(--font-display);
  font-size: 1.4rem;
}
.interest-card h3 {
  letter-spacing: -0.035em;
  margin: auto 0 0.55rem;
  font-size: 1.35rem;
}
.interest-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.5;
}
@keyframes route-flow {
  to {
    stroke-dashoffset: -160px;
  }
}
@keyframes map-pulse {
  0% {
    opacity: 0.5;
  }
  70%,
  to {
    opacity: 0;
    r: 25;
  }
}
.contact-section {
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 8vw;
  padding: 9vw;
  display: grid;
}
.contact-section h2 {
  letter-spacing: -0.045em;
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 4.4rem);
  line-height: 1.03;
}
.contact-section > div > p:last-child {
  max-width: 700px;
  color: var(--muted);
  line-height: 1.8;
}
.contact-card {
  border-top: 1px solid var(--line);
  flex-direction: column;
  display: flex;
}
.contact-card a,
.contact-card p {
  border-bottom: 1px solid var(--line);
  margin: 0;
  padding: 1.1rem 0;
  font-size: 0.9rem;
}
.contact-card a {
  justify-content: space-between;
  font-weight: 800;
  display: flex;
}
.contact-card a:hover {
  color: var(--cyan-dark);
}
footer {
  background: var(--ink);
  color: #fff;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 5vw;
  font-size: 0.72rem;
  display: flex;
}
footer p {
  color: #98a2b2;
}
@media (width<=1120px) {
  .topbar nav {
    gap: 1rem;
    font-size: 0.72rem;
  }
  .availability {
    display: none;
  }
}
@media (width<=900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 14vw;
  }
  .portrait-shell {
    justify-self: center;
    width: 100%;
    max-width: 520px;
    min-height: 440px;
  }
  .statement,
  .section-heading,
  .contact-section,
  .project-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .languages-block {
    grid-template-columns: repeat(2, 1fr);
  }
  .skill-group:nth-child(5) {
    grid-column: auto;
  }
  .education-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .parex-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .parex-intro .kicker {
    grid-column: auto;
    margin-bottom: 0;
  }
  .parex-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-card {
    min-height: 400px;
  }
  .project-subtitle {
    margin-top: auto;
  }
  .life-map-layout {
    grid-template-columns: 1fr;
  }
  .interest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (width<=620px) {
  .topbar {
    height: 66px;
  }
  .topbar nav {
    display: none;
  }
  .header-actions {
    gap: 0.5rem;
  }
  .hero {
    min-height: auto;
    padding: 4.5rem 1.25rem;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero-facts {
    justify-content: space-between;
    gap: 1rem;
  }
  .hero-facts strong {
    font-size: 1.45rem;
  }
  .portrait-shell {
    min-height: 380px;
  }
  .statement,
  .skills-section,
  .timeline-section,
  .projects-section,
  .personal-section,
  .contact-section,
  .parex-feature,
  .education-section,
  .publications-section {
    padding: 4.5rem 1.25rem;
  }
  .education-grid,
  .credentials {
    grid-template-columns: 1fr;
  }
  .publication-card {
    grid-template-columns: 54px 1fr;
    gap: 1rem;
  }
  .publication-card > a,
  .publication-card > i {
    grid-column: 2;
  }
  .parex-stats,
  .parex-projects,
  .languages-block {
    grid-template-columns: 1fr;
  }
  .life-map {
    border-radius: 1.2rem;
    min-height: 0;
    padding: 0.35rem;
  }
  .map-point text {
    font-size: 12px;
  }
  .map-point text.stage {
    font-size: 8px;
  }
  .map-legend {
    display: none;
  }
  .interest-grid {
    grid-template-columns: 1fr;
  }
  .statement {
    gap: 1rem;
  }
  .section-heading {
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }
  .timeline-item {
    grid-template-columns: 1fr;
  }
  .time-marker {
    padding: 1.5rem 0 0.4rem;
  }
  .time-marker:after,
  .time-marker i {
    display: none;
  }
  .time-card {
    padding: 1.4rem 0 2.5rem;
  }
  footer {
    flex-wrap: wrap;
    gap: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* Variante oscura para comparar el CV con un fondo negro elegante. */
:root {
  --ink: #f3f5f7;
  --muted: #a4adb8;
  --paper: #07090c;
  --white: #11161c;
  --navy: #030507;
  --cyan: #36d9d0;
  --cyan-dark: #36c8c1;
  --magenta: #ec668f;
  --line: #ffffff1f;
}
body {
  background: #07090c;
  color: var(--ink);
}
.topbar {
  background: #07090ce8;
}
.language-switch,
.button.secondary,
.skill-tags span,
.tags span {
  color: #d8dde4;
  background: #11161c;
}
.language-switch button.active,
.button.primary,
.filters button.active,
.learning-topics span,
.publication-card > a {
  color: #07090c;
  background: var(--cyan);
  border-color: var(--cyan);
}
.hero-lead strong {
  color: #ffffff;
}
.skills-section,
.skill-group,
.publications-section {
  background: #0b0e12;
}
.education-section,
.personal-section {
  background: #080b0f;
}
.languages-heading,
.language-card,
.education-card,
.interest-card {
  background: #0d1116;
}
.credentials > div,
.life-map {
  background: #10151bcc;
  box-shadow: 0 24px 60px #00000066;
}
.time-marker i {
  background: #07090c;
}
.parex-feature,
.parex-stats div,
.parex-projects article {
  background: #0b1219;
}
.projects-section,
.project-card {
  background: #020406;
}
.project-card:hover {
  background: #0a1820;
}
.map-background {
  opacity: .52;
  filter: brightness(.7) contrast(1.15);
}
.map-point circle {
  stroke: #07090c;
}
.contact-section {
  background: #07090c;
}
footer {
  background: #020304;
}
