:root {
  --wine: #6e1234;
  --wine-deep: #4f0c24;
  --rose: #b84d66;
  --blush: #f0dde1;
  --mist: #e4d2d0;
  --stone: #9a8682;
  --sage: #5f7263;
  --pearl: #faf4f5;
  --ink: #2a1c22;
  --line: rgba(110, 18, 52, 0.14);
  --glass: rgba(255, 248, 249, 0.55);
  --glass-strong: rgba(255, 248, 249, 0.82);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  color: var(--ink);
  font-family: "Figtree", "DM Sans", sans-serif;
  background:
    radial-gradient(ellipse 90% 55% at 15% -10%, rgba(184, 77, 102, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 5%, rgba(95, 114, 99, 0.18), transparent 50%),
    radial-gradient(ellipse 80% 45% at 50% 100%, rgba(110, 18, 52, 0.16), transparent 55%),
    linear-gradient(165deg, #ecd8d4 0%, #d9c5c1 42%, #c9b4b0 100%);
  background-attachment: fixed;
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, #fff7f8, #f0dde1 70%);
  transition: opacity .5s ease, visibility .5s ease;
}
.loading-screen.is-hidden { opacity: 0; visibility: hidden; }
.loader-brand { display: grid; justify-items: center; gap: 18px; }
.loader-brand img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  animation: logoPulse 1.2s ease-in-out infinite;
}
.loader-brand span {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(110, 18, 52, 0.15);
  border-top-color: var(--wine);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes logoPulse { 50% { transform: scale(.94); opacity: .75; } }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes softFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

main {
  min-height: 100vh;
  padding: 28px 20px 36px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.profile {
  width: min(100%, 560px);
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 250, 251, 0.72) 0%, rgba(240, 221, 225, 0.45) 28%, rgba(184, 77, 102, 0.18) 100%),
    linear-gradient(160deg, #f7e9e8 0%, #e7d0ce 55%, #d4b8b6 100%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 18px 48px rgba(74, 34, 42, 0.14);
  animation: riseIn .7s ease both;
}
.profile::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.35), transparent 28%),
    radial-gradient(circle at 12% 78%, rgba(95, 114, 99, 0.12), transparent 32%);
  z-index: 0;
}
.profile > * { position: relative; z-index: 1; }

.header {
  height: 72px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(255, 252, 253, 0.9), rgba(255, 248, 249, 0.55));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: transparent;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand strong,
.brand small { display: block; }
.brand strong {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--wine);
  line-height: 1;
}
.brand small {
  margin-top: 3px;
  color: var(--stone);
  font-size: 9px;
  letter-spacing: .18em;
  font-weight: 600;
}
.location {
  color: var(--stone);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}

.logo-banner {
  height: 168px;
  display: grid;
  place-items: center;
  background: transparent;
}
.logo-banner img {
  width: 158px;
  height: 158px;
  object-fit: contain;
  background: transparent;
  animation: softFloat 4.5s ease-in-out infinite, riseIn .8s ease both;
  animation-delay: 0s, .1s;
}

.details {
  padding: 4px 22px 28px;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

h1 {
  margin: 0;
  font: 600 clamp(30px, 7vw, 40px) / 1.08 "Cormorant Garamond", "Playfair Display", Georgia, serif;
  color: var(--wine-deep);
  text-align: center;
  letter-spacing: .01em;
  animation: riseIn .75s ease both;
  animation-delay: .15s;
}

.tagline {
  margin: 12px auto 22px;
  max-width: 34ch;
  color: rgba(42, 28, 34, 0.72);
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
  font-weight: 500;
  animation: riseIn .75s ease both;
  animation-delay: .22s;
}

.social-row {
  display: grid;
  grid-template-columns: repeat(3, 64px);
  gap: 14px 18px;
  margin: 0 auto 24px;
  justify-content: center;
  animation: riseIn .75s ease both;
  animation-delay: .3s;
}
.social-row a {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--glass-strong);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.social-row a:hover {
  transform: translateY(-3px);
  border-color: rgba(110, 18, 52, 0.28);
  background: #fff;
}
.social-row a:active { transform: scale(.97); }
.social-row a img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  transition: transform .22s ease;
}
.social-row a:nth-child(1) img { width: 58px; height: 58px; }
.social-row a:nth-child(4) img { width: 46px; height: 46px; }
.social-row a:hover img { transform: scale(.96); }

.actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 auto;
  max-width: 500px;
  animation: riseIn .75s ease both;
  animation-delay: .38s;
}
.button {
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(110, 18, 52, 0.18);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--wine);
  background: var(--glass-strong);
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(110, 18, 52, 0.3);
}
.button:first-child {
  background: linear-gradient(135deg, var(--wine) 0%, #8a1d42 55%, var(--rose) 140%);
  border-color: transparent;
  color: #fff;
}
.button:first-child:hover {
  background: linear-gradient(135deg, var(--wine-deep) 0%, var(--wine) 70%);
  color: #fff;
}

h2 {
  margin: 28px 0 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--wine);
  text-align: center;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}
h2::before,
h2::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(110, 18, 52, 0.35), transparent);
}

.contact-list {
  max-width: 500px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  animation: riseIn .75s ease both;
  animation-delay: .45s;
}
.contact-list a,
.info-row {
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.contact-list span,
.info-row span {
  position: relative;
  padding-left: 28px;
  color: rgba(42, 28, 34, 0.62);
  font-size: 13px;
  font-weight: 650;
}
.contact-list strong,
.info-row strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.contact-list a:nth-child(1) span::before,
.contact-list a:nth-child(2) span::before,
.contact-list a:nth-child(4) span::before,
.info-row span::before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--rose);
  opacity: .9;
}
.contact-list a:nth-child(1) span::before { content: "☎"; }
.contact-list a:nth-child(2) span::before { content: "✉"; }
.info-row span::before { content: "#"; }
.contact-list a:nth-child(4) span::before { content: "⌖"; }

.site-footer {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 18px 20px;
  text-align: center;
  color: rgba(42, 28, 34, 0.7);
  font-size: 12px;
  line-height: 1.7;
  border-radius: 18px;
  background: rgba(255, 248, 249, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.45);
  animation: riseIn .75s ease both;
  animation-delay: .52s;
}
.site-footer p { margin: 0; }
.site-footer strong {
  color: var(--wine);
  font-size: 13px;
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: .04em;
}
.site-footer a {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 760px) {
  main { padding: 0; gap: 0; }
  .profile {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }
  .header {
    height: 70px;
    padding: 0 16px;
  }
  .brand-mark { width: 44px; height: 44px; }
  .brand strong { font-size: 18px; }
  .logo-banner { height: 150px; }
  .logo-banner img { width: 142px; height: 142px; }
  .details { padding: 0 16px 24px; }
  h1 { font-size: 34px; }
  .tagline { font-size: 14px; margin-bottom: 18px; }
  .social-row {
    grid-template-columns: repeat(3, 58px);
    gap: 12px 14px;
    margin-bottom: 18px;
  }
  .social-row a { width: 58px; height: 58px; }
  .social-row a img { width: 38px; height: 38px; }
  .social-row a:nth-child(1) img { width: 52px; height: 52px; }
  .social-row a:nth-child(4) img { width: 42px; height: 42px; }
  .button { min-height: 46px; border-radius: 11px; font-size: 13px; }
  .contact-list a,
  .info-row { grid-template-columns: 92px 1fr; }
  .site-footer {
    width: 100%;
    border-radius: 0;
    border: 0;
    border-top: 1px solid var(--line);
    background: rgba(255, 248, 249, 0.35);
  }
}

@media (max-width: 380px) {
  .brand strong { font-size: 16px; }
  .location { font-size: 11px; }
  .logo-banner { height: 136px; }
  .logo-banner img { width: 128px; height: 128px; }
  .actions { gap: 8px; }
  .contact-list a,
  .info-row { grid-template-columns: 84px 1fr; }
  .contact-list span,
  .info-row span { padding-left: 24px; font-size: 12px; }
  .contact-list strong,
  .info-row strong { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .profile,
  .logo-banner img,
  h1,
  .tagline,
  .social-row,
  .actions,
  .contact-list,
  .site-footer {
    animation: none;
  }
}
