/* ===== Theme ===== */
:root {
  --bg: #222222;          /* dark charcoal */
  --bg-raised: #2c2b29;   /* card surface */
  --bg-hover: #353330;
  --tan: #d2b48c;         /* accent */
  --tan-soft: #a8906f;
  --text: #ece4d8;
  --muted: #b3aa9c;
  --line: rgba(210, 180, 140, 0.28);
  --radius: 0px 10px 0px 10px;   /* opposite corners rounded */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  background: var(--bg);
  background-image: radial-gradient(ellipse at top, #2a2826 0%, var(--bg) 60%);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 56px 20px 64px;
  text-align: center;
}

/* ===== Profile ===== */
.profile-photo {
  display: block;
  width: 160px;
  height: 160px;
  margin: 0 auto 22px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--tan);
  padding: 4px;
  background: var(--bg-raised);
}

.profile-name {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.5rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--tan);
}

.about {
  margin: 0 auto;
  max-width: 460px;
  padding: 16px 22px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.about p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ===== Filigree divider ===== */
.filigree {
  color: var(--tan);
  margin: 34px auto 30px;
  max-width: 460px;
}
.filigree svg { display: block; width: 100%; height: auto; }

/* ===== Link cards ===== */
.links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.card:hover,
.card:focus-visible {
  background: var(--bg-hover);
  border-color: var(--tan);
  transform: translateY(-2px);
  outline: none;
}

.card-img {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius);
  background: #1a1a1a;
}

.card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  /* offset so text centers on the card, not the leftover space */
  padding-right: 88px;
}

.card-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--tan);
}

.card-desc {
  font-size: 0.92rem;
  color: var(--muted);
}

@media (max-width: 480px) {
  .wrap { padding-top: 40px; }
  .profile-name { font-size: 2.1rem; }
  .card-text { padding-right: 0; }
}
