:root {
  --bg: #f2f1ed;
  --card: #ffffff;
  --ink: #141414;
  --muted: #6d6c67;
  --line: #e4e2dc;
  --shadow: 0 1px 2px rgb(20 20 20 / 0.04), 0 18px 48px -12px rgb(20 20 20 / 0.14);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f0e;
    --card: #191918;
    --ink: #ecebe6;
    --muted: #9c9b95;
    --line: #2b2b29;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 18px 48px -12px rgb(0 0 0 / 0.6);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 48px 16px;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.card {
  width: 100%;
  max-width: 760px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1640 / 624;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.identity {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 36px 44px;
}

.avatar img {
  display: block;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px var(--card), 0 0 0 5px var(--line);
}

h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.022em;
}

.title {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 44px;
  padding: 32px 44px 40px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

address {
  font-style: normal;
  font-size: 0.98rem;
  line-height: 1.7;
}

address strong { font-weight: 600; }

.muted { color: var(--muted); }

@media (max-width: 600px) {
  body { padding: 16px; place-items: start center; }
  .card { border-radius: 16px; }
  .identity {
    flex-direction: column;
    gap: 18px;
    padding: 28px 24px 26px;
    text-align: center;
  }
  .avatar img { width: 112px; height: 112px; }
  .details {
    grid-template-columns: 1fr;
    padding: 24px 24px 30px;
  }
}
