:root {
  color-scheme: dark;
  --bg: #111015;
  --bg-soft: #18161d;
  --card: #2b2930;
  --card-hover: #34313a;
  --line: rgba(255, 255, 255, 0.06);
  --text: #f1edf4;
  --text-muted: rgba(241, 237, 244, 0.66);
  --accent: #d0bcff;
  --accent-ink: #2e1b52;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(208, 188, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #111015 0%, #15131a 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black 55%, transparent 100%);
}

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

.page-shell {
  width: min(1100px, calc(100% - 28px));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px 0;
}

.hero-card {
  width: 100%;
  margin-block: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 4vw, 40px);
  border-radius: 36px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(24, 22, 29, 0.94) 0%, rgba(17, 16, 21, 0.98) 100%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy h1,
.author-meta h2 {
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(208, 188, 255, 0.08);
  border: 1px solid rgba(208, 188, 255, 0.16);
  color: #e2d6ff;
  font-size: 0.84rem;
}

.hero-copy h1 {
  margin: 18px 0 0;
  max-width: 10ch;
  font-size: clamp(2.6rem, 5.8vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 42ch;
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-notes {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.hero-notes p {
  margin: 0;
  color: rgba(241, 237, 244, 0.58);
  font-size: 0.9rem;
  line-height: 1.65;
}

.filled-button,
.tonal-button,
.author-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 20px;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.filled-button,
.tonal-button {
  padding: 14px 20px;
}

.filled-button {
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: 0 10px 30px rgba(208, 188, 255, 0.2);
}

.tonal-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.filled-button:hover,
.tonal-button:hover,
.author-link:hover {
  transform: translateY(-2px);
}

.portfolio-preview {
  display: flex;
  justify-content: flex-end;
}

.author-card {
  position: relative;
  width: min(100%, 356px);
  padding: 28px 18px 18px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 180ms ease, border-color 220ms ease, background-color 220ms ease;
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.24);
}

.author-card:hover {
  transform: translateY(-4px);
  border-color: rgba(208, 188, 255, 0.24);
  background: var(--card-hover);
}

.card-shimmer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.1) 0%, transparent 68%);
  transition: opacity 220ms ease;
}

.author-card:hover .card-shimmer {
  opacity: 1;
}

.author-avatar-wrap {
  position: relative;
  margin-bottom: 22px;
}

.author-glow {
  position: absolute;
  inset: -18px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(208, 188, 255, 0.18) 0%, transparent 65%);
  filter: blur(24px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.author-card:hover .author-glow {
  opacity: 1;
}

.author-avatar {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  border-radius: 28px;
  image-rendering: pixelated;
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.32);
}

.author-meta {
  text-align: center;
}

.author-meta h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.author-meta p {
  margin: 8px 0 0;
  color: rgba(230, 225, 229, 0.48);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.author-links {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.author-link {
  min-height: 50px;
  padding: 12px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

.author-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.site-footer {
  width: 100%;
  padding: 16px 18px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #040404;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.footer-disclosure {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-disclosure summary {
  cursor: pointer;
  color: rgba(241, 237, 244, 0.58);
  font-size: 0.76rem;
  user-select: none;
  list-style: none;
}

.footer-disclosure summary::-webkit-details-marker {
  display: none;
}

.footer-disclosure summary::before {
  content: "+";
  display: inline-block;
  width: 14px;
  margin-right: 6px;
}

.footer-disclosure[open] summary::before {
  content: "-";
}

.footer-meta {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.footer-meta p {
  margin: 0;
  color: rgba(241, 237, 244, 0.46);
  font-size: 0.76rem;
  line-height: 1.55;
}

.footer-meta a {
  color: rgba(241, 237, 244, 0.7);
}

.footer-meta a:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .hero-card {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .portfolio-preview {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 18px, 1100px);
    padding: 18px 0;
  }

  .hero-card {
    gap: 20px;
    padding: 20px;
    border-radius: 28px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.3rem, 12vw, 3.8rem);
  }

  .author-links {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 14px;
  }
}
