/* styles/about.css */

/*––––– Variables –––––*/
:root {
  --bg: #111;
  --fg: #ddd;
  --highlight: #e54e3b;
  --font-sans: 'Montserrat', sans-serif;
}

/*––––– Global Reset –––––*/
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/*––––– Base Styles –––––*/
body.dark-theme {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
}

/*––––– Skip Link –––––*/
.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  background: var(--highlight);
  color: #fff;
  padding: 0.5rem;
  text-decoration: none;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 1rem;
}

/*––––– Primary Nav –––––*/
.nav--primary {
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  position: absolute;
  width: 100%;
  z-index: 10;
}
.nav--primary .logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--fg);
  text-decoration: none;
}

/*––––– About Hero Section –––––*/
.about-hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50vh;
  text-align: center;
}
.about-hero .eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--fg);
}
.about-hero .hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  display: inline-grid;
  grid-auto-flow: row;
  gap: 0.2em;
  line-height: 1;
}
.about-hero .hero-title .highlight {
  color: var(--highlight);
}

/*––––– Floating Accent Dot –––––*/
.accent-dot {
  position: absolute;
  top: 20%;
  right: 25%;
  width: 1rem;
  height: 1rem;
  background: var(--highlight);
  border-radius: 50%;
  opacity: 0.8;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-1rem); }
}

/*––––– About Content –––––*/
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 60rem;
  margin: 3rem auto;
  padding: 0 1rem;
}
.about-content .bio h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.about-content .bio p {
  margin-bottom: 1rem;
}
.about-content .bio ul {
  list-style: disc inside;
  margin-top: 1rem;
}
.about-content .photo img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  border: 2px solid var(--highlight);
}

/*––––– Side‐bars –––––*/
.side-bar {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}
.side-bar--left {
  left: 1rem;
}
.side-bar--right {
  right: 0;
}

/*––––– Social Links (Left) –––––*/
.social-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.social-list a {
  color: var(--fg);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.875rem;
  transition: color 0.3s;
}
.social-list a:hover {
  color: var(--highlight);
}

/*––––– Navigation Tabs (Right) –––––*/
.external-tab {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: var(--highlight);
  color: #fff;
  padding: 0.75rem 0.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: transform 0.3s;
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
  margin: 3rem 0;
}
.external-tab:hover {
  transform: translateX(-0.5rem);
}

/*––––– Footer –––––*/
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.875rem;
  color: #777;
}

/*––––– Responsive –––––*/
@media (max-width: 800px) {
  .about-content {
    grid-template-columns: 1fr;
  }
}
