:root {
  --bg: #ffffff;
  --text: #000000;
  --tone-light: #ffffff;
  --tone-dark: #000000;
  --content-width: 720px;
  --content-offset-left: 24px;
  --module-lead-width: 52px;
  --module-lead-gap: 20px;
  --space-1: 12px;
  --space-2: 20px;
  --space-3: 32px;
  --space-4: 48px;
  --space-5: 72px;
  --space-6: 104px;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  margin: 0;
  padding: 0;
}

button:hover {
  cursor: pointer;
}

button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

body[data-has-media="true"] {
  background: #000000;
}

body[data-has-media="true"] .background-media {
  opacity: 1;
}

body[data-has-media="true"] .background-media__video,
body[data-has-media="true"] .background-media__image {
  opacity: 0;
}

body[data-has-media="true"][data-media-ready="true"][data-background-kind="video"] .background-media__video,
body[data-has-media="true"][data-media-ready="true"][data-background-kind="image"] .background-media__image {
  opacity: 1;
}

.background-media {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 240ms ease;
}

.background-media__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: opacity 280ms ease;
}

.background-media__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: opacity 280ms ease;
}

.adaptive-tone {
  position: relative;
  z-index: 2;
  color: var(--tone-dark);
  transition: color 180ms ease;
}

.adaptive-tone[data-tone="light"] {
  color: var(--tone-light);
}

.adaptive-tone[data-tone="dark"] {
  color: var(--tone-dark);
}

body[data-contrast-mode="blend"] .adaptive-tone {
  color: #ffffff;
  mix-blend-mode: difference;
}

body[data-contrast-mode="sampled"] .adaptive-tone,
body[data-contrast-mode="none"] .adaptive-tone {
  mix-blend-mode: normal;
}

body[data-contrast-mode="blend"] .timeline::before,
body[data-contrast-mode="blend"] .timeline-row::before {
  background: #ffffff;
  mix-blend-mode: difference;
}

.language-toggle {
  position: fixed;
  top: 28px;
  right: 32px;
  z-index: 20;
  padding: 6px 0;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.language-toggle span {
  opacity: 0.34;
  transition: opacity 180ms ease;
}

.language-toggle[data-locale="en"] #language-toggle-en,
.language-toggle[data-locale="zh"] #language-toggle-zh,
.language-toggle:hover span,
.language-toggle:focus-visible span {
  opacity: 1;
}

.language-toggle__divider {
  opacity: 1;
}

.layout {
  flex: 1 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 2fr);
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.left-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: var(--space-4);
  display: block;
}

.left-panel__inner {
  max-width: 420px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 0;
  position: relative;
}

.identity-block {
  display: grid;
  gap: 0;
  min-width: 0;
}

.portrait-shell {
  width: min(240px, 100%);
  aspect-ratio: 4 / 5;
  position: relative;
  margin: clamp(0px, 4vh, 36px) 0 0;
  overflow: hidden;
  flex-shrink: 1;
  min-height: 0;
  justify-self: start;
}

.portrait-shell[data-has-image="false"] {
  display: flex;
  align-items: flex-end;
}

.portrait-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: left top;
}

.portrait-placeholder {
  display: none;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.portrait-shell[data-has-image="false"] .portrait-placeholder {
  display: block;
}

.eyebrow {
  margin: 0 0 var(--space-2);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.name {
  margin: 0;
  font-size: 4.75rem;
  line-height: 0.92;
  font-weight: 700;
  white-space: pre-line;
}

body[data-locale="en"] .name {
  font-size: 4.1rem;
  line-height: 0.96;
}

.title {
  margin: var(--space-2) 0 0;
  max-width: 300px;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
}

.identity-meta {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  justify-items: start;
}

.identity-location {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  line-height: 1.4;
  font-weight: 700;
}

.identity-location::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border: 1.5px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg) translateY(-1px);
  transform-origin: center;
}

.contact-trigger {
  justify-self: start;
  font-size: 0.875rem;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.contact-trigger:hover,
.contact-trigger:focus-visible {
  text-decoration-thickness: 2px;
}

.auth-trigger {
  justify-self: start;
  font-size: 0.875rem;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.auth-trigger:hover,
.auth-trigger:focus-visible {
  text-decoration-thickness: 2px;
}

.auth-status {
  max-width: 100%;
  font-size: 0.75rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.right-panel {
  min-width: 0;
}

.right-panel__inner {
  width: min(calc(100% - var(--content-offset-left)), var(--content-width));
  margin-left: var(--content-offset-left);
  margin-right: auto;
  padding: var(--space-6) var(--space-4) var(--space-6);
}

.module + .module {
  margin-top: var(--space-5);
}

.module-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: var(--module-lead-width) minmax(0, 1fr);
  gap: var(--module-lead-gap);
  align-items: baseline;
  text-align: left;
  transition: transform 220ms ease;
}

.module-trigger:hover,
.module-trigger:focus-visible {
  transform: translateY(-2px);
}

.module-index {
  font-size: 0.75rem;
  font-weight: 700;
}

.module-title {
  font-size: 2.375rem;
  line-height: 1.08;
  font-weight: 700;
}

.module-shell {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 360ms ease;
}

.module.is-open .module-shell {
  grid-template-rows: 1fr;
}

.module-shell__inner {
  overflow: hidden;
  padding-top: 0;
}

.module.is-open .module-shell__inner {
  padding-top: var(--space-4);
}

.competencies-list {
  display: grid;
  gap: var(--space-3);
}

.projects-list {
  display: grid;
  gap: 28px;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.project-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.project-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease;
}

.project-card__media:hover .project-card__image,
.project-card__media:focus-visible .project-card__image {
  transform: scale(1.03);
}

.project-card__body {
  display: grid;
  gap: 10px;
  align-content: start;
}

.project-card__title {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.28;
  font-weight: 700;
}

.project-card__description {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 400;
}

.project-card__link {
  justify-self: start;
  color: inherit;
  font-size: 0.875rem;
  line-height: 1.3;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.project-card__link:hover,
.project-card__link:focus-visible {
  text-decoration-thickness: 2px;
}

.competency-item {
  display: grid;
  gap: 8px;
}

.competency-item__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 700;
}

.competency-item__body {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.72;
  font-weight: 400;
}

.module-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--space-4);
}

.collapse-button {
  font-size: 0.875rem;
  font-weight: 700;
}

.collapse-button:hover,
.collapse-button:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.timeline {
  position: relative;
  display: grid;
  gap: var(--space-3);
  padding: var(--space-1) 0;
  color: var(--tone-dark);
  transition: color 180ms ease;
}

.timeline[data-tone="light"] {
  color: var(--tone-light);
}

.timeline[data-tone="dark"] {
  color: var(--tone-dark);
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: currentColor;
}

.timeline-tone {
  position: relative;
  z-index: 2;
  color: inherit;
}

body[data-contrast-mode="blend"] .timeline-tone {
  color: #ffffff;
  mix-blend-mode: difference;
}

body[data-contrast-mode="sampled"] .timeline-tone,
body[data-contrast-mode="none"] .timeline-tone {
  mix-blend-mode: normal;
}

.timeline-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  padding-left: 38px;
}

.timeline-row::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 999px;
  transform: translate(-50%, 0);
}

.timeline-node {
  position: relative;
  text-align: left;
}

.timeline-node__button {
  width: 100%;
  text-align: inherit;
  transition: transform 220ms ease;
}

.timeline-node__header {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.timeline-node__logo-shell {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.timeline-node__logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.timeline-node__summary {
  min-width: 0;
}

.timeline-node__logo-placeholder {
  display: none;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
}

.timeline-node__logo-shell[data-has-logo="false"] .timeline-node__logo {
  display: none;
}

.timeline-node__logo-shell[data-has-logo="false"] .timeline-node__logo-placeholder {
  display: block;
}

.timeline-node__button:hover,
.timeline-node__button:focus-visible {
  transform: translateY(-2px);
}

.timeline-node__kind {
  display: block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.timeline-node__name,
.timeline-node__role,
.timeline-node__period {
  display: block;
}

.timeline-node__name {
  font-size: 1.0625rem;
  line-height: 1.42;
  font-weight: 700;
}

.timeline-node__role,
.timeline-node__period {
  font-size: 0.9375rem;
  line-height: 1.58;
  font-weight: 400;
}

.timeline-node__details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms ease;
}

.timeline-node.is-open .timeline-node__details {
  grid-template-rows: 1fr;
}

.timeline-node__details-inner {
  overflow: hidden;
}

.timeline-node__details-copy {
  display: grid;
  gap: var(--space-2);
  padding-top: var(--space-2);
  padding-left: 76px;
}

.timeline-node__detail {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.72;
}

.timeline-node__hint {
  display: inline-block;
  margin-top: var(--space-2);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  --contact-origin-x: 50vw;
  --contact-origin-y: 50vh;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.14);
  opacity: 0;
}

.contact-modal__panel {
  position: relative;
  z-index: 1;
  width: min(440px, calc(100vw - 48px));
  padding: 26px 24px 22px;
  background: #ffffff;
  color: #000000;
  transform-origin: var(--contact-origin-x) var(--contact-origin-y);
  transform: translate3d(0, 0, 0) scale(0.18);
  opacity: 0;
}

.contact-modal__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0) 32%),
    #ffffff;
  z-index: -1;
}

.contact-modal[data-open="true"] .contact-modal__backdrop {
  opacity: 1;
}

.contact-modal[data-open="true"] .contact-modal__panel {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
}

.contact-modal[data-animate="true"][data-open="true"] .contact-modal__backdrop {
  animation: contact-backdrop-in 220ms ease both;
}

.contact-modal[data-animate="true"][data-open="true"] .contact-modal__panel {
  animation: contact-panel-in 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.contact-modal__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.contact-modal__title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 700;
}

.contact-modal__close {
  flex: 0 0 auto;
  min-width: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
}

.contact-list {
  margin-top: 26px;
  display: grid;
  gap: 20px;
}

.contact-item {
  display: grid;
  gap: 6px;
}

.contact-item__label {
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-item__value {
  color: inherit;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 400;
  text-decoration: none;
  word-break: break-word;
}

.contact-item__value:hover,
.contact-item__value:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

body[data-contact-open="true"] {
  overflow: hidden;
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  --auth-origin-x: 50vw;
  --auth-origin-y: 50vh;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.14);
  opacity: 0;
}

.auth-modal__panel {
  position: relative;
  z-index: 1;
  width: min(440px, calc(100vw - 48px));
  max-height: min(680px, calc(100vh - 48px));
  overflow-y: auto;
  padding: 26px 24px 22px;
  background: #ffffff;
  color: #000000;
  transform-origin: var(--auth-origin-x) var(--auth-origin-y);
  transform: translate3d(0, 0, 0) scale(0.18);
  opacity: 0;
  overscroll-behavior: contain;
}

.auth-modal__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0) 32%),
    #ffffff;
  z-index: -1;
}

.auth-modal[data-open="true"] .auth-modal__backdrop {
  opacity: 1;
}

.auth-modal[data-open="true"] .auth-modal__panel {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
}

.auth-modal[data-animate="true"][data-open="true"] .auth-modal__backdrop {
  animation: auth-backdrop-in 220ms ease both;
}

.auth-modal[data-animate="true"][data-open="true"] .auth-modal__panel {
  animation: auth-panel-in 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.auth-modal__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.auth-modal__title {
  min-width: 0;
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.auth-modal__close {
  flex: 0 0 auto;
  min-width: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
}

.auth-form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.auth-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.auth-field__label {
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
}

.auth-input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #000000;
  border-radius: 0;
  padding: 9px 11px;
  background: #ffffff;
  color: #000000;
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.auth-input:focus {
  outline: 2px solid #000000;
  outline-offset: 2px;
}

.auth-form-message {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.auth-submit {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  background: #000000;
  color: #ffffff;
  font-size: 0.875rem;
  line-height: 1.3;
  font-weight: 700;
}

.auth-submit:hover,
.auth-submit:focus-visible {
  background: #222222;
}

.auth-submit:disabled,
.auth-mode-switch:disabled {
  cursor: wait;
  opacity: 0.5;
}

.auth-mode-switch {
  display: block;
  margin: 18px auto 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.auth-mode-switch:hover,
.auth-mode-switch:focus-visible {
  text-decoration-thickness: 2px;
}

body[data-auth-open="true"] {
  overflow: hidden;
}

@keyframes contact-backdrop-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes contact-panel-in {
  from {
    transform: translate3d(0, 0, 0) scale(0.18);
    opacity: 0;
  }

  to {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }
}

@keyframes auth-backdrop-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes auth-panel-in {
  from {
    transform: translate3d(0, 0, 0) scale(0.18);
    opacity: 0;
  }

  to {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-modal[data-animate="true"][data-open="true"] .contact-modal__backdrop,
  .contact-modal[data-animate="true"][data-open="true"] .contact-modal__panel,
  .auth-modal[data-animate="true"][data-open="true"] .auth-modal__backdrop,
  .auth-modal[data-animate="true"][data-open="true"] .auth-modal__panel {
    animation: none;
  }
}

@media (max-width: 1080px) {
  :root {
    --content-offset-left: 12px;
  }

  .name {
    font-size: 3.8rem;
  }

  body[data-locale="en"] .name {
    font-size: 3.4rem;
  }

  .right-panel__inner {
    padding-top: var(--space-5);
  }

  .module-title {
    font-size: 2rem;
  }
}

@media (max-width: 820px) {
  :root {
    --module-lead-width: 40px;
    --module-lead-gap: 16px;
  }

  .layout {
    grid-template-columns: 1fr;
    min-height: 100svh;
    align-content: start;
  }

  .left-panel {
    position: relative;
    height: auto;
    min-height: 0;
    display: block;
    padding: 52px 24px 10px;
  }

  .left-panel__inner {
    max-width: 100%;
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(136px, 38vw) minmax(0, 1fr);
    align-items: start;
    column-gap: 18px;
  }

  .portrait-shell {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 184px;
    margin: 0;
  }

  .portrait-image {
    object-fit: contain;
    object-position: center top;
  }

  .identity-block {
    align-self: start;
    gap: 8px;
    min-width: 0;
  }

  .name {
    font-size: 2.3rem;
    line-height: 0.96;
    overflow-wrap: anywhere;
  }

  body[data-locale="en"] .name {
    font-size: 1.95rem;
    line-height: 1.02;
  }

  .title {
    margin-top: 0;
    max-width: none;
    font-size: 0.95rem;
    line-height: 1.36;
    overflow-wrap: anywhere;
  }

  .identity-meta {
    margin-top: 12px;
    gap: 8px;
  }

  .identity-location {
    gap: 9px;
    font-size: 0.8125rem;
    line-height: 1.35;
  }

  .contact-trigger {
    font-size: 0.8125rem;
  }

  .auth-trigger {
    font-size: 0.8125rem;
  }

  .auth-status {
    font-size: 0.6875rem;
  }

  .right-panel__inner {
    width: 100%;
    margin-left: 0;
    padding: 2px 24px 20px;
  }

  .module + .module {
    margin-top: 24px;
  }

  .module-title {
    font-size: 1.65rem;
  }

  .project-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-card__media {
    max-width: 320px;
  }

  .timeline::before {
    left: 0;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    padding-left: 28px;
  }

  .timeline-row::before {
    left: 0;
    transform: translateY(0);
  }

  .timeline-node__header {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
  }

  .timeline-node__logo-shell {
    width: 48px;
    height: 48px;
  }

  .timeline-node__details-copy {
    padding-left: 64px;
  }

  .contact-modal {
    padding: 20px;
  }

  .auth-modal {
    padding: 20px;
  }
}

@media (max-width: 540px) {
  :root {
    --module-lead-width: 34px;
    --module-lead-gap: 12px;
  }

  .language-toggle {
    top: 14px;
    right: 18px;
  }

  .left-panel {
    min-height: 0;
    padding: 44px 18px 6px;
  }

  .left-panel__inner {
    grid-template-columns: minmax(112px, 36vw) minmax(0, 1fr);
    column-gap: 14px;
  }

  .portrait-shell {
    max-width: 132px;
  }

  .identity-block {
    gap: 6px;
  }

  .name {
    font-size: 1.86rem;
  }

  body[data-locale="en"] .name {
    font-size: 1.56rem;
    line-height: 1.04;
  }

  .title {
    margin-top: 6px;
    max-width: none;
    font-size: 0.84rem;
    line-height: 1.3;
  }

  .identity-meta {
    margin-top: 10px;
    gap: 6px;
  }

  .identity-location {
    gap: 8px;
    font-size: 0.75rem;
  }

  .identity-location::before {
    width: 9px;
    height: 9px;
    border-width: 1.25px;
  }

  .contact-trigger {
    font-size: 0.75rem;
  }

  .auth-trigger {
    font-size: 0.75rem;
  }

  .auth-status {
    font-size: 0.6875rem;
  }

  .module-trigger {
    grid-template-columns: var(--module-lead-width) minmax(0, 1fr);
    gap: var(--module-lead-gap);
  }

  .right-panel__inner {
    padding: 0 18px 12px;
  }

  .module + .module {
    margin-top: 18px;
  }

  .module-title {
    font-size: 1.32rem;
  }

  .projects-list {
    gap: 22px;
  }

  .project-card {
    gap: 14px;
  }

  .project-card__title {
    font-size: 1rem;
  }

  .project-card__description {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .project-card__link {
    font-size: 0.8125rem;
  }

  .timeline-node__name {
    font-size: 1rem;
  }

  .timeline-node__header {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .timeline-node__logo-shell {
    width: 42px;
    height: 42px;
  }

  .timeline-node__details-copy {
    padding-left: 56px;
  }

  .contact-modal {
    padding: 18px;
    place-items: center;
  }

  .contact-modal__panel {
    width: min(420px, calc(100vw - 36px));
    padding: 22px 18px 18px;
  }

  .contact-modal__header {
    align-items: center;
  }

  .contact-modal__title {
    font-size: 1rem;
  }

  .contact-list {
    margin-top: 20px;
    gap: 18px;
  }

  .contact-item__value {
    font-size: 0.9375rem;
    line-height: 1.5;
  }

  .auth-modal {
    padding: 18px;
    place-items: center;
  }

  .auth-modal__panel {
    width: min(420px, calc(100vw - 36px));
    max-height: calc(100vh - 36px);
    padding: 22px 18px 18px;
  }

  .auth-modal__header {
    align-items: center;
  }

  .auth-modal__title {
    font-size: 1rem;
  }

  .auth-form {
    margin-top: 20px;
    gap: 14px;
  }
}

.auth-field[hidden] {
  display: none;
}
