/* =========================================================
   ABOUT PAGE — Meet Michelle layout
   ========================================================= */

:root {
  --about-cream: #F3E9E2;
  --about-peach: #F7D7DA;
  --about-peach-strong: #E9B4B9;
  --about-border: #E8DFD8;
  --about-navy: #1B365D;
  --about-section-y: clamp(3.5rem, 6vw, 5.5rem);
}

/* Page title band */
.about-band {
  background: var(--about-cream);
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  text-align: center;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(2.5rem, 5vw, 3.75rem));
}

.about-band__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 600;
  color: #2C2C2C;
  margin: 0;
}

/* Shared section typography */
.about-section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #2C2C2C;
  line-height: 1.2;
  margin: 0 0 1.25rem;
}

.about-section__title--center {
  text-align: center;
  margin-bottom: 2.75rem;
}

.about-section__lead {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #6C8191;
  text-align: center;
  max-width: 640px;
  margin: -1.75rem auto 2.75rem;
}

.about-btn {
  display: inline-block;
  padding: 0.8125rem 1.875rem;
  background: var(--about-peach-strong);
  color: #2C2C2C;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  transition: background 0.2s ease;
}

.about-btn:hover {
  background: #F2C7B9;
  color: #2C2C2C;
}

/* Intro — text + photo with offset shape */
.about-intro {
  padding: var(--about-section-y) 0;
  background: #fff;
}

.about-intro__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-intro__text {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text);
  margin: 0 0 1.75rem;
}

.about-intro__media {
  position: relative;
  isolation: isolate;
}

.about-intro__shape {
  position: absolute;
  top: -1.75rem;
  left: -2.5rem;
  width: 55%;
  height: 100%;
  background: var(--about-cream);
  z-index: -1;
}

.about-intro__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Professional background — alternating timeline */
.about-timeline {
  padding: var(--about-section-y) 0;
  background: #fff;
}

.about-timeline__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 940px;
  position: relative;
}

.about-timeline__list::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: var(--about-peach-strong);
}

.about-timeline__item {
  position: relative;
  display: flex;
  margin-bottom: 1.5rem;
}

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

/* Node on the central line, aligned with each card connector */
.about-timeline__item::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 50%;
  width: 15px;
  height: 15px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--about-peach-strong);
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--about-peach-strong);
  z-index: 1;
}

.about-timeline__item:nth-child(odd) {
  justify-content: flex-start;
}

.about-timeline__item:nth-child(even) {
  justify-content: flex-end;
}

.about-timeline__card {
  position: relative;
  width: calc(50% - 2.25rem);
  background: #fff;
  border: 1px solid var(--about-border);
  padding: 1.75rem 1.875rem;
  text-align: center;
}

.about-timeline__item:nth-child(even) .about-timeline__card {
  background: var(--about-peach);
  border-color: var(--about-peach);
}

.about-timeline__card::after {
  content: '';
  position: absolute;
  top: 2.5rem;
  width: 2.25rem;
  height: 1px;
  background: var(--about-peach-strong);
}

.about-timeline__item:nth-child(odd) .about-timeline__card::after {
  left: 100%;
}

.about-timeline__item:nth-child(even) .about-timeline__card::after {
  right: 100%;
}

.about-timeline__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--about-peach-strong);
  margin-bottom: 0.5rem;
}

.about-timeline__card-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: #2C2C2C;
  margin: 0 0 0.75rem;
}

.about-timeline__card-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0;
}

/* Strengths — photo + skill bars */
.about-strengths {
  padding: var(--about-section-y) 0;
  background: #fff;
}

.about-strengths__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-strengths__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-strengths__content p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text);
  margin: 0 0 1rem;
}

.about-skills {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.about-skill__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.about-skill__label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #2C2C2C;
}

.about-skill__value {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--about-peach-strong);
}

.about-skill__track {
  height: 8px;
  background: var(--about-cream);
  overflow: hidden;
}

.about-skill__bar {
  display: block;
  height: 100%;
  background: var(--about-peach-strong);
}

/* Languages and philosophy */
.about-languages {
  position: relative;
  padding: var(--about-section-y) 0;
  background: var(--about-cream);
  overflow: hidden;
}

.about-languages__deco {
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 150px;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(233, 180, 185, 0.55) 0,
    rgba(233, 180, 185, 0.55) 1px,
    transparent 1px,
    transparent 9px
  );
  pointer-events: none;
}

.about-languages__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}

.about-lang-card {
  background: var(--about-peach);
  padding: 2rem 1.5rem;
  text-align: center;
}

.about-lang-card__title {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2C2C2C;
  margin: 0 0 0.875rem;
}

.about-lang-card__text {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0;
}

/* Beyond real estate */
.about-beyond {
  padding: var(--about-section-y) 0;
  background: #fff;
}

.about-beyond__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-beyond__content p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text);
  margin: 0 0 1rem;
}

.about-beyond__motto {
  font-weight: 600;
  color: #2C2C2C !important;
}

.about-beyond__content .about-btn {
  margin-top: 1rem;
}

.about-beyond__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .about-languages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .about-intro__grid,
  .about-strengths__grid,
  .about-beyond__grid {
    grid-template-columns: 1fr;
  }

  .about-intro__media {
    order: -1;
  }

  .about-intro__shape {
    display: none;
  }

  .about-timeline__list::before {
    left: 0.5rem;
    transform: none;
  }

  .about-timeline__item::before {
    left: 0.5rem;
  }

  .about-timeline__item,
  .about-timeline__item:nth-child(even) {
    justify-content: flex-start;
  }

  .about-timeline__card {
    width: 100%;
    margin-left: 2.25rem;
    text-align: left;
  }

  .about-timeline__item:nth-child(odd) .about-timeline__card::after,
  .about-timeline__item:nth-child(even) .about-timeline__card::after {
    left: auto;
    right: 100%;
  }

  .about-languages__deco {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .about-languages__grid {
    grid-template-columns: 1fr;
  }
}
