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

:root {
  --bg: #000000;
  --card: #1c1c1c;
  --gold: #d4af37;
  --gold-light: #e8c278;
  --gold-muted: #c9a84c;
  --text: #e8d5a3;
  --border: rgba(212, 175, 55, 0.28);
  --max-width: 500px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.card {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 18px 48px;
}

.hero {
  text-align: center;
  margin-bottom: 22px;
}

.profile-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
  width: 155px;
  height: 155px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold-muted);
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.18);
}

.profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.08);
}

.name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.1rem, 8vw, 2.5rem);
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.btn-save {
  display: block;
  width: 100%;
  padding: 15px 24px;
  background: linear-gradient(180deg, #f0c96a 0%, #d4af37 55%, #b8942e 100%);
  color: #1a1200;
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-align: center;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
}

.btn-save:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.48);
}

.btn-save:active {
  transform: translateY(0);
}

.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 20px;
  margin-bottom: 14px;
}

.section-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: var(--gold-muted);
  margin-bottom: 14px;
}

.panel p {
  margin-bottom: 12px;
  color: var(--text);
}

.panel p:last-of-type {
  margin-bottom: 0;
}

.sub-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 5px;
  margin-top: 18px;
  margin-bottom: 10px;
}

.focus-list {
  list-style: disc;
  padding-left: 1.4rem;
}

.focus-list li {
  margin-bottom: 6px;
  color: var(--text);
}

.focus-list li:last-child {
  margin-bottom: 0;
}

.gallery-section {
  margin-bottom: 0;
}

.gallery-intro {
  text-align: center;
  padding: 20px 18px;
}

.gallery-heading {
  font-size: 1.2rem;
  line-height: 1.45;
  margin-bottom: 0;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.gallery-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin: 0;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.contact-panel {
  margin-bottom: 0;
}

.contact-list {
  font-style: normal;
}

.contact-list p {
  margin-bottom: 8px;
  font-size: 1rem;
}

.contact-list p:last-child {
  margin-bottom: 0;
}

.label {
  color: var(--gold-light);
  font-weight: 600;
  display: inline-block;
  min-width: 3.5rem;
}

.contact-list a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-list a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

@media (min-width: 520px) {
  .card {
    padding: 44px 24px 60px;
  }

  .panel {
    padding: 26px 24px;
  }

  .profile-wrap {
    width: 170px;
    height: 170px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn-save {
    transition: none;
  }
}
