:root {
  --bg: #fff4e6;        /* soft, light orange background */
  --card: #ffffff;       /* keep cards white for contrast */
  --accent: #ff8c42;     /* vibrant orange for buttons and links */
  --muted: #6b4c2a;      /* warm brown for secondary text */
  --max-width: 900px;
  --radius: 14px;
  --gap: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(180deg, var(--bg), #fff);
  color: #111827;
  line-height: 1.55;
  display: flex;
  justify-content: center;
  padding: 32px 18px;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: var(--max-width);
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 6px 30px rgba(12, 20, 40, 0.06);
  display: block; /* stack image above text */
  gap: var(--gap);
}

.photo {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #e6eefc;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  margin-bottom: 20px;
}

.photo img {
  width: 100%;
  height: auto; /* keeps image proportion */
  display: block;
}

.meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

h1 {
  margin: 0 0 8px 0;
  font-size: 26px;
  letter-spacing: -0.2px;
}

.subtitle {
  margin: 0 0 14px 0;
  color: var(--muted);
  font-weight: 600;
}

.bio {
  font-size: 16px;
  color: #111827;
}

.links {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(11, 108, 255, 0.14);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: rgba(11, 108, 255, 0.14);
}

.small {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
}

footer {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

/* accessible focus */
a:focus,
button:focus {
  outline: 3px solid rgba(11, 108, 255, 0.18);
  outline-offset: 3px;
}

/* Mobile adjustments */
@media (max-width: 720px) {
  .card {
    padding: 20px;
  }
}
