:root {
  --navy: #081426;
  --navy-2: #0a1930;
  --navy-3: #102640;
  --gold: #c9a84c;
  --gold-2: #f0cf6a;
  --slate: #8a9bb5;
  --white: #f8fbff;
  --muted-white: rgba(248, 251, 255, 0.74);
  --line: rgba(201, 168, 76, 0.22);
  --glass: rgba(255, 255, 255, 0.055);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--navy);
}

body {
  min-height: 100%;
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--white);
  background:
    linear-gradient(140deg, rgba(8, 20, 38, 0.95), rgba(11, 28, 52, 0.98)),
    radial-gradient(circle at 20% 18%, rgba(201, 168, 76, 0.16), transparent 34%),
    radial-gradient(circle at 82% 10%, rgba(138, 155, 181, 0.16), transparent 32%),
    var(--navy);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 80%);
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
}

.profile {
  width: min(100%, 520px);
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.profile::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(201, 168, 76, 0.48), transparent 32%, rgba(138, 155, 181, 0.18));
}

.brand-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.logo {
  width: 174px;
  height: auto;
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: 116px 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.portrait-wrap {
  width: 116px;
  aspect-ratio: 1;
  border-radius: 18px;
  padding: 3px;
  background: linear-gradient(145deg, var(--gold-2), rgba(201, 168, 76, 0.08));
  overflow: hidden;
}

.portrait {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: 15px;
  background: var(--navy-2);
}

.intro {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.summary {
  margin: 14px 0 0;
  color: var(--slate);
  font-size: 0.96rem;
  line-height: 1.6;
}

.link-list {
  display: grid;
  gap: 12px;
}

.link-card {
  min-height: 74px;
  display: grid;
  grid-template-columns: 44px 1fr 22px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 12px;
  text-decoration: none;
  background: var(--glass);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(240, 207, 106, 0.72);
  background: rgba(255, 255, 255, 0.085);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  outline: none;
}

.link-card.primary {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.24), rgba(255, 255, 255, 0.06));
}

.link-card.contact {
  border-color: rgba(240, 207, 106, 0.46);
}

.icon {
  width: 44px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 1.32rem;
  background: rgba(201, 168, 76, 0.12);
}

.copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.label {
  color: var(--gold-2);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.copy strong {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.25;
}

.arrow {
  color: var(--gold-2);
  font-size: 1.2rem;
  text-align: right;
}

.footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(201, 168, 76, 0.16);
  text-align: center;
}

.footer p {
  margin: 0;
  color: rgba(138, 155, 181, 0.72);
  font-size: 0.78rem;
}

@media (max-width: 520px) {
  .page-shell {
    align-items: flex-start;
    padding: 18px 12px;
  }

  .profile {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .profile::before {
    border-radius: 18px;
  }

  .logo {
    width: 154px;
  }

  .hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .portrait-wrap {
    width: 104px;
    border-radius: 16px;
  }

  .portrait {
    border-radius: 13px;
  }

  h1 {
    font-size: 1.72rem;
  }

  .summary {
    font-size: 0.92rem;
  }

  .link-card {
    grid-template-columns: 40px 1fr 18px;
    min-height: 72px;
    padding: 13px 12px;
    gap: 10px;
  }

  .icon {
    width: 40px;
    border-radius: 9px;
  }

  .label {
    font-size: 0.67rem;
  }

  .copy strong {
    font-size: 0.95rem;
  }
}
