:root {
  --bg: #f5f7fb;
  --bg-elev: #ffffff;
  --text: #1a2540;
  --muted: #6b7280;
  --accent: #1f6feb;
  --accent-contrast: #ffffff;
  --chip: #f0f4fb;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #f5f7fb 100%);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Apple Color Emoji, Segoe UI Emoji;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid #e5ebf5;
}

.header-content {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
}

.identity .name {
  margin: 0;
  font-size: 2rem;
  letter-spacing: 0.2px;
}

.identity .role,
.identity .org {
  margin: 4px 0 0;
  color: var(--muted);
}

.lang-switch {
  display: inline-flex;
  gap: 8px;
}

.lang-btn {
  appearance: none;
  border: 1px solid #dce3f0;
  background: #ffffff;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.lang-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.lang-btn:hover {
  transform: translateY(-1px);
}

main {
  padding: 32px 0 64px;
  display: grid;
  gap: 20px;
}

.card {
  background: var(--bg-elev);
  border: 1px solid #e8eef7;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.section-title {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.contact-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.contact-item .label {
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-item .value {
  margin-top: 2px;
}

.link {
  color: var(--text);
  text-decoration-color: rgba(26, 37, 64, 0.25);
}

.link:hover {
  color: #0f172a;
  text-decoration-color: rgba(26, 37, 64, 0.6);
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.link-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--chip);
  border: 1px solid #dce3f0;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.link-chip:hover {
  background: #e7eef9;
  transform: translateY(-1px);
}

.content .section-note {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid #e5ebf5;
  padding: 24px 0;
  color: var(--muted);
}

[data-lang] {
  display: none;
}

[data-lang].visible {
  display: block;
}

.link-chip.visible {
  display: inline-flex;
}
