:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --surface-muted: #eef3f8;
  --text: #15253a;
  --muted: #627286;
  --line: #d9e3ee;
  --accent: #1b63f0;
  --accent-strong: #0e4fd1;
  --shadow: 0 28px 80px rgba(16, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  background:
    radial-gradient(circle at top left, rgba(27, 99, 240, 0.1), transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
}

.page-shell {
  width: min(1200px, calc(100vw - 32px));
  margin: 20px auto;
  padding: 18px;
  border: 1px solid rgba(217, 227, 238, 0.9);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
  padding: 10px 10px 18px;
}

.brand {
  text-decoration: none;
  display: grid;
  gap: 6px;
  color: inherit;
}

.brand-kicker,
.section-kicker,
.label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-kicker,
.section-kicker {
  color: var(--accent);
}

.brand-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: inherit;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.language-switch .is-active {
  color: var(--accent);
}

.language-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: #aab4c0;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.language-toggle.is-english {
  background: #f97316;
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.22);
}

.language-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(16, 32, 51, 0.2);
  transition: transform 0.2s ease;
}

.language-toggle[aria-pressed="true"] .language-toggle-thumb {
  transform: translateX(20px);
}

.card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(16, 32, 51, 0.04);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 18px;
  padding: 30px;
  margin-bottom: 18px;
  background:
    radial-gradient(circle at top right, rgba(27, 99, 240, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
}

.hero h1,
.section h2,
.info-card h3 {
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.hero h1 {
  margin-top: 12px;
  font-size: clamp(38px, 5vw, 58px);
  max-width: 14ch;
}

.hero p,
.meta,
.info-card p,
.compact-list li {
  color: var(--muted);
  line-height: 1.8;
}

.hero-note {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-soft);
}

.section {
  margin-top: 18px;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding: 4px 6px;
}

.section h2 {
  font-size: clamp(28px, 4vw, 42px);
  max-width: 14ch;
}

.contact-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-card,
.info-card {
  width: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(16, 32, 51, 0.04);
}

.contact-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: #bcccdc;
  background: var(--surface-soft);
}

.contact-body {
  display: grid;
  gap: 4px;
}

.icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface-muted);
  display: grid;
  place-items: center;
}

.icon-wrap img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.mail-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: #f97316;
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 24px;
  font-weight: 700;
}

.name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.compact-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.compact-list li {
  position: relative;
  padding-left: 16px;
}

.compact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.info-card h3 {
  margin: 10px 0 12px;
  font-size: 26px;
}

.site-footer {
  margin-top: 18px;
  padding: 16px 8px 8px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .hero,
  .contact-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100%, calc(100vw - 16px));
    margin: 8px auto;
    padding: 12px;
    border-radius: 24px;
  }

  .site-header {
    flex-direction: column;
    padding: 6px 2px 12px;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-actions {
    width: 100%;
    justify-content: stretch;
  }

  .language-switch {
    width: 100%;
    justify-content: center;
  }

  .site-nav a {
    width: 100%;
    text-align: center;
  }

  .hero,
  .hero-note,
  .contact-card,
  .info-card {
    padding: 18px;
    border-radius: 22px;
  }

  .hero h1,
  .section h2,
  .info-card h3 {
    max-width: none;
    font-size: clamp(30px, 9vw, 40px);
  }

  .contact-card {
    grid-template-columns: 58px 1fr;
  }

  .icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .icon-wrap img {
    width: 32px;
    height: 32px;
  }

  .name {
    font-size: 18px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100%, calc(100vw - 12px));
    padding: 10px;
    border-radius: 20px;
  }

  .site-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav a {
    text-align: center;
  }

  .contact-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .contact-body {
    justify-items: center;
  }
}
