:root {
  color-scheme: dark;
  background: #080a0f;
  color: #f3f5f9;
  font: 1rem/1.65 system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: #7dd3fc; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid #7dd3fc; outline-offset: 4px; }

.profile-shell {
  max-inline-size: 54rem;
  margin-inline: auto;
  padding: 1.25rem clamp(1rem, 5vw, 3rem) 4rem;
}

.profile-header,
.profile-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
}

.profile-header {
  justify-content: space-between;
  padding-block-end: 1rem;
  border-block-end: 1px solid #374151;
}

[aria-current="page"] { font-weight: 700; color: #f3f5f9; }

.profile-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-block: 2rem;
}

.profile-intro img {
  inline-size: clamp(6rem, 23vw, 10rem);
  block-size: auto;
  border-radius: 1rem;
}

.profile-intro div { flex: 1 1 16rem; min-inline-size: 0; }
.profile-intro p { color: #b9c5d6; }
.profile-latin { text-align: start; }
h1 { margin: 0; font-size: clamp(1.9rem, 6vw, 3.1rem); line-height: 1.25; }
h2 { margin: 0; font-size: 1.35rem; }
p { margin: .35rem 0 0; }
section { margin-block: 1.6rem; }
.profile-resources { padding-inline-start: 1.25rem; }
.profile-resources li + li { margin-block-start: .25rem; }

html[lang="ar"] { font-family: Tahoma, Arial, sans-serif; }
html[lang="bn"] { font-family: "Noto Sans Bengali", "Nirmala UI", system-ui, sans-serif; }
