/* Secondary-page layouts. Core colors and components live in styles.css. */
.page-shell {
  padding: clamp(4rem, 9vw, 7rem) 0 5rem;
}

.page-card {
  border-top: 1px solid var(--border);
  padding-top: clamp(2rem, 5vw, 4rem);
}

.page-card > .section-heading {
  margin-bottom: clamp(2rem, 6vw, 4rem);
}

.page-card h1 {
  font-size: clamp(3.75rem, 10vw, 8rem);
  line-height: 0.85;
  text-align: center;
}

.contact-card {
  width: min(100%, 920px);
  margin-inline: auto;
}

.contact-intro {
  max-width: 44rem;
  margin: 0 auto 1.5rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.8;
  text-align: center;
}

.contact-intro a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.2em;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 1rem;
}

.profile-card,
.content-card {
  border: 1px solid var(--border);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
}

.profile-card {
  position: sticky;
  top: 6.5rem;
  padding: 1rem;
}

.profile-spotlight {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(255, 61, 46, 0.24), transparent 38%),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(255, 255, 255, 0.04) 23px 24px),
    #0b0b0b;
}

.profile-spotlight::after {
  content: 'PROFILE / 0708';
  position: absolute;
  left: 1rem;
  bottom: 0.8rem;
  color: var(--acid);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
}

.profile-spotlight svg {
  width: min(78%, 280px);
  height: auto;
  opacity: 0.8;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.5));
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.content-card {
  padding: clamp(1.4rem, 4vw, 2.5rem);
}

.bio-theme {
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.generated-bio-body p {
  margin: 0 0 1.15rem;
  color: var(--muted);
  line-height: 1.8;
}

.generated-bio-body p:first-child {
  color: var(--text);
  font-size: 1.12rem;
}

.interests,
.growth-timeline {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.interests h2,
.growth-timeline h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.interests ul,
.growth-timeline ol {
  padding: 0;
  list-style: none;
}

.interests ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0;
}

.interests li {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--border);
  color: var(--acid);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.growth-timeline ol {
  display: grid;
  gap: 0;
  margin: 1.25rem 0 0;
  counter-reset: timeline;
}

.growth-timeline li {
  position: relative;
  padding: 1.25rem 1rem 1.25rem 3.3rem;
  border-top: 1px solid var(--border);
  counter-increment: timeline;
}

.growth-timeline li::before {
  content: counter(timeline, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.3rem;
  color: var(--accent);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
}

.growth-timeline p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.landing-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.landing-copy .about-text {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

@media (max-width: 800px) {
  .about-grid,
  .landing-copy {
    grid-template-columns: 1fr;
  }

  .profile-card {
    position: static;
  }

  .profile-spotlight {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding-top: 4rem;
  }

  .page-card > .section-heading {
    grid-template-columns: 1fr;
  }

  .page-card h1 {
    font-size: clamp(3.3rem, 18vw, 5rem);
  }
}
