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

:root {
  --ink: #0d0d0d;
  --paper: #f7f3ee;
  --gold: #b8935a;
  --muted: #6b6155;
  --surface: #131310;
  --surface2: #1a1916;
  --border: rgba(184, 147, 90, 0.18);
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  font-family: "Outfit", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 1;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.mono {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.93);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

body > .wrap > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.8rem 0;
  border-bottom: 1px solid #e8e2d9;
  animation: slideRight 0.7s var(--ease) both;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.monogram {
  width: 42px;
  height: 42px;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

header nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

header nav a {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
}

header nav a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.hero {
  position: relative;
  margin: 2.5rem -2rem 0;
  padding: 7rem 2rem 6rem;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  animation: scaleIn 0.9s var(--ease) 0.15s both;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1555066931-4365d14bab8c?w=1920&q=80");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 10s var(--ease);
  z-index: 0;
}

.hero:hover::before {
  transform: scale(1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 7, 5, 0.88) 0%,
    rgba(8, 7, 5, 0.7) 55%,
    rgba(8, 7, 5, 0.38) 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: #fff;
  animation: fadeUp 0.9s var(--ease) 0.3s both;
}

.hero em {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}

.hero p {
  margin-top: 1.8rem;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.05rem;
  font-weight: 350;
  line-height: 1.7;
  animation: fadeUp 0.9s var(--ease) 0.5s both;
}

.hero-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(184, 147, 90, 0.7);
  animation: fadeIn 1.2s var(--ease) 0.7s both;
}

.hero-badge::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 2.8rem;
  margin-top: 5.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: slideRight linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 35%;
}

.section-label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.profile-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
  align-items: start;
}

article {
  background: var(--surface);
  color: white;
  padding: 2.5rem 2.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.2);
  animation: fadeUp linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 35%;
}

article h2 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

article h2::after {
  content: "";
  height: 2px;
  width: 60px;
  background: var(--gold);
  opacity: 0.8;
}

article p {
  color: #c5c0b8;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

article ul,
article ol {
  margin: 1.2rem 0 1.8rem 1.5rem;
  color: #ddd;
}

article li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

article h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin: 2rem 0 0.8rem;
  color: var(--gold);
  letter-spacing: -0.01em;
}

article figure {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

article figure img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  animation: profileReveal linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 40%;
}

@keyframes profileReveal {
  from {
    opacity: 0;
    transform: scale(0.88);
    filter: grayscale(60%);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: grayscale(0%);
  }
}

article figcaption {
  margin-top: 0.8rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

aside {
  background: var(--surface2);
  color: white;
  padding: 2.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.25);
  animation: fadeUp linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

aside h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: white;
}

aside a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 0.2s;
}

aside a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

aside .contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

aside dl {
  margin-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

aside dt {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
}

aside dd {
  color: #ccc;
  margin-bottom: 1rem;
  font-size: 1rem;
}

footer {
  margin-top: 5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #e8e2d9;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  animation: fadeIn linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 50%;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--gold);
}

@media (max-width: 800px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero {
    min-height: 420px;
    padding: 5rem 1.5rem;
  }
}

@media (max-width: 500px) {
  .wrap {
    padding: 1.2rem;
  }
  .hero {
    margin: 1.5rem -1.2rem 0;
    border-radius: 16px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
}