/*
 * =========================================================
 * OLYTIC SOLUTIONS - About Page Styles
 * about.css  /  Route: /about
 *
 * Covers:
 *   - Intro block (founder headshot left, copy right)
 *   - Core Values (2x2 card grid)
 *   - Final CTA (Obsidian, left-aligned)
 *
 * Load order:
 *   tokens → typography → buttons → nav → footer → layout → about
 * =========================================================
 */

/* ─────────────────────────────────────────────────────── */
/* INTRO BLOCK                                              */
/* ─────────────────────────────────────────────────────── */

.about-intro {
  padding-top: var(--space-20);
  /* Bottom padding kept shorter than top since Core Values follows
     immediately after on the same background, with no divider. */
  padding-bottom: var(--space-10);
  background-color: var(--color-obsidian);
}

.about-intro__inner {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: var(--space-16);
  align-items: center;
}

/* ── Founder headshot ── */
.about-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  text-align: center;
}

.about-photo__img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
  margin-bottom: var(--space-3);
}

.about-photo__name {
  font-family: var(--font-sans);
  font-weight: var(--weight-bold);
  font-size: var(--text-base);
  color: #FFFFFF;
}

.about-photo__role {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.50);
}

.about-photo__linkedin-label {
  display: none;
}

.about-photo__linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-2);
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-fast) ease;
}

.about-photo__linkedin svg {
  width: 20px;
  height: 20px;
}

.about-photo__linkedin:hover,
.about-photo__linkedin:focus-visible {
  color: var(--color-gold);
}

/* ── Body copy ── */
.about-intro__copy {
  padding-top: var(--space-2);
}

/* Same large white heading treatment as .about-cta h2 below */
.about-intro__heading {
  display: block;
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: var(--weight-bold);
  color: #FFFFFF;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-6);
}

.about-intro__copy p {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--leading-body);
  margin-bottom: var(--space-5);
}

.about-intro__copy p:last-child {
  margin-bottom: 0;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .about-intro__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  /* Founder card: white card on the dark band, photo centered */
  .about-photo {
    margin: 0 auto;
    width: 100%;
    max-width: 320px;
    background-color: #FFFFFF;
    border-top: 3px solid var(--color-gold);
    border-radius: var(--radius-lg);
    padding: var(--space-8) var(--space-6) var(--space-6);
    gap: var(--space-1);
  }

  .about-photo__img {
    width: 120px;
    height: 120px;
  }

  .about-photo__name {
    color: var(--color-obsidian);
    font-size: var(--text-lg);
    margin-top: var(--space-1);
  }

  .about-photo__role {
    color: var(--color-muted);
  }

  .about-photo__linkedin {
    margin-top: var(--space-4);
    gap: var(--space-2);
    color: var(--color-teal);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    text-decoration: none;
    padding: var(--space-2) var(--space-4);
    border: 1.5px solid rgba(13, 107, 110, 0.35);
    border-radius: 999px;
  }

  .about-photo__linkedin-label {
    display: inline;
  }
}

@media (max-width: 500px) {
  .about-intro {
    padding-top: var(--space-12);
    padding-bottom: var(--space-8);
  }
}


/* ─────────────────────────────────────────────────────── */
/* CORE VALUES                                              */
/* ─────────────────────────────────────────────────────── */

.values-section {
  padding-top: var(--space-10);
  padding-bottom: var(--space-16);
  background-color: var(--color-obsidian);
}

/* ── Brand column + list, framed by a gold accent arc ── */
.values__layout {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--space-16);
  /* Stretch (grid's default) so .values__brand takes the full row
     height, i.e. the taller value list's height, not just its own
     content's height. The heading still centers within that via its
     own flex centering below. */
  align-items: stretch;
}

.values__brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Gold ")" arc, now spanning .values__brand's full (stretched) height
   so it matches the value list beside it rather than just the heading. */
.values__arc {
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
}

.values__heading {
  font-family: var(--font-sans);
  font-weight: var(--weight-bold);
  font-size: var(--text-2xl);
  line-height: 1.15;
  letter-spacing: var(--tracking-tight);
  color: var(--color-gold);
  text-align: center;
  margin: 0;
}

.values__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Icon sits in its own column so the title and description below it
   share one left edge, instead of the description falling back to
   the icon's edge. */
.values__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.values__item-icon {
  display: block;
  line-height: 0;
  flex-shrink: 0;
  margin-top: 2px; /* optically aligns with the title's cap-height */
}

.values__item-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.values__item h3 {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: #FFFFFF;
  line-height: var(--leading-snug);
  margin: 0;
}

.values__item p {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.72);
  line-height: var(--leading-body);
  max-width: 62ch;
  margin: 0;
}

/* ─── Motion: Core Values reveal (js-gated) ─── */
html.js .values__item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease,
              transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}

html.js .values__list.is-visible .values__item { opacity: 1; transform: none; }
html.js .values__list.is-visible .values__item:nth-child(2) { transition-delay: 0.08s; }
html.js .values__list.is-visible .values__item:nth-child(3) { transition-delay: 0.16s; }
html.js .values__list.is-visible .values__item:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html.js .values__item { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 768px) {
  .values__layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .values__arc {
    display: none;
  }
}

@media (max-width: 500px) {
  .values-section {
    padding-top: var(--space-8);
    padding-bottom: var(--space-10);
  }
}


/* ─────────────────────────────────────────────────────── */
/* FINAL CTA                                                */
/* ─────────────────────────────────────────────────────── */

.about-cta {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
  background-color: var(--color-obsidian);
}

.about-cta__inner {
  max-width: 680px;
}

.about-cta__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-gold);
  display: block;
  margin-bottom: var(--space-5);
}

.about-cta h2 {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: var(--weight-bold);
  color: #FFFFFF;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-6);
}

.about-cta p {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--leading-body);
  margin-bottom: var(--space-8);
}

@media (max-width: 500px) {
  .about-cta {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }
}
