/* ===== ABOUT PAGE — Inherits from style.css ===== */

/* Active nav state */
nav a.nav-active {
  opacity: 0.4;
  pointer-events: none;
}

/* ===== MAIN WRAPPER ===== */
#about-main {
  padding-top: 56px;
  /* clear fixed header */
}

.edu-divider--inner {
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}

.edu-degree-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dimmer);
  margin-bottom: 1.5rem;
}

/* Compact degree rows */
.edu-row {
  display: grid;
  grid-template-columns: 110px 1fr 1fr;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.25rem 0;
}

.edu-row-level {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dimmer);
}

.edu-row-degree {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 300;
  color: var(--white);
}

.edu-row-detail {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--dim);
  font-style: italic;
}

/* ===== HERO ===== */
.about-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 5rem 3.5rem 3.5rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.about-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1.8rem;
}

.about-title {
  font-family: var(--font-body);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
}

.about-tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--dim);
  max-width: 480px;
}

.about-hero-line {
  height: 1px;
  background: rgba(245, 244, 240, 0.12);
  margin-top: 4rem;
  width: 100%;
}

/* ===== SECTION LABEL ===== */
.about-section-label {
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  padding: 0 3.5rem;
}

.section-tag {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ===== BIO ===== */
.about-bio {
  padding: 7rem 3.5rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-bio-grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 5rem;
  align-items: start;
}

.about-bio-text {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.about-bio-text p {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--dim);
}

.about-bio-text p:first-child {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--white);
  line-height: 1.65;
}

.about-bio-intro {
  font-size: clamp(1.2rem, 2vw, 1.65rem) !important;
  font-weight: 400 !important;
  color: var(--white) !important;
  line-height: 1.45 !important;
  letter-spacing: -0.015em;
}

.about-bio-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #141414;
}

.about-bio-image.img-missing .img-placeholder {
  display: flex;
}

.about-bio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  display: block;
  transition: transform 0.8s ease;
}

.about-bio-image:hover img {
  transform: scale(1.03);
}

.about-bio-image .img-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  color: var(--dimmer);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

/* ===== EDUCATION ===== */
.about-education {
  padding: 5rem 3.5rem;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(245, 244, 240, 0.08);
}

.edu-card {
  background: rgba(245, 244, 240, 0.03);
  border: 1px solid rgba(245, 244, 240, 0.08);
  padding: 3rem;
  border-radius: 2px;
}

.edu-logo-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.edu-school {
  font-family: var(--font-body);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.edu-years {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--dim);
}

.edu-divider {
  height: 1px;
  background: rgba(245, 244, 240, 0.1);
  margin-bottom: 2.5rem;
}

.edu-body {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.edu-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dimmer);
  margin-bottom: 0.75rem;
}

.edu-value {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--white);
}

.edu-secondary {
  color: var(--dim);
  font-style: italic;
}

.edu-courses {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.edu-courses li {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--dim);
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}

.edu-courses li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--dimmer);
  font-size: 0.7rem;
}

/* ===== AWARDS ===== */
.about-awards {
  padding: 5rem 3.5rem;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(245, 244, 240, 0.08);
}

.awards-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* Year group: year pin left, items stacked right */
.award-year-group {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 3rem;
  align-items: start;
}

.award-year-marker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--dimmer);
  padding-top: 0.35rem;
  position: sticky;
  top: 72px;
  /* below fixed header */
}

.award-items {
  display: flex;
  flex-direction: column;
}

/* Individual award within a year */
.award-item {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 2.5rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(245, 244, 240, 0.07);
  transition: background 0.3s ease;
}

.award-item:first-child {
  padding-top: 0;
}

.award-item:last-child {
  border-bottom: none;
}

.award-item:hover {
  background: rgba(245, 244, 240, 0.015);
}

.award-month {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dimmer);
  margin-bottom: 0.5rem;
}

.award-title {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.award-desc {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--dim);
}

.award-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f5f4f0;
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.award-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.6s ease;
}

.award-item:hover .award-image img {
  transform: scale(1.04);
}

.award-image--empty {
  background: transparent;
}

/* ===== FOOTER CTA ===== */
.about-footer-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 3.5rem 6rem;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(245, 244, 240, 0.08);
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.25s ease, gap 0.25s ease;
}

.cta-link:hover {
  opacity: 1;
  gap: 1.2rem;
}

.cta-arrow {
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.cta-link:hover .cta-arrow {
  transform: translateX(-4px);
}

.cta-link:last-child:hover .cta-arrow {
  transform: translateX(4px);
}

/* ===== REVEAL OVERRIDES for about page ===== */
/* Reuse .reveal / .reveal-stagger from style.css */
.reveal-stagger>* {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.in-view>*:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

.reveal-stagger.in-view>*:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}

.reveal-stagger.in-view>*:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.28s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {

  .about-bio,
  .about-education,
  .about-awards,
  .about-footer-cta,
  .about-section-label {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .about-bio-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-bio-image {
    max-width: 360px;
    aspect-ratio: 4/3;
  }

  .award-year-group {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .award-year-marker {
    position: static;
  }

  .award-item {
    grid-template-columns: 1fr;
  }

  .award-image {
    display: none;
  }
}

@media (max-width: 600px) {
  .edu-row {
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto;
  }

  .edu-row-detail {
    grid-column: 2;
  }
}