
/* =========================================================
   MERIDIAN DYNAMICS — ABOUT PAGE
   Uses the existing styles.css design tokens
   ========================================================= */

.about-page {
  background: var(--bg-primary);
  color: var(--text-primary);
}

/* =========================
   01 — HERO
   ========================= */

.about-hero {
  position: relative;
  isolation: isolate;
  min-height: max(760px, 100svh);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;

  padding: 150px clamp(24px, 7.5vw, 120px) 100px;

  background:
    radial-gradient(
      ellipse at 85% 48%,
      rgba(201, 111, 61, 0.075),
      transparent 35%
    ),
    var(--bg-primary);
}

.about-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.about-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(32px, 5vh, 58px);

  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.6;

  animation: about-reveal 0.9s 0.08s both;
}

.about-eyebrow-dot {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}

.about-hero-title {
  max-width: 1200px;
  margin: 0;

  font-family: var(--font-body);
  font-size: clamp(3.5rem, 8.8vw, 8.8rem);
  font-weight: 400;
  letter-spacing: -0.085em;
  line-height: 0.96;

  text-wrap: balance;
}

.about-title-line {
  display: block;
  width: fit-content;
  max-width: 100%;

  animation: about-reveal 1s var(--ease-cinematic) both;
}

.about-title-line:nth-child(1) {
  animation-delay: 0.12s;
}

.about-title-line:nth-child(2) {
  animation-delay: 0.23s;
}

.about-title-line:nth-child(3) {
  animation-delay: 0.34s;
}

.about-title-accent {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.055em;
}

.about-period {
  color: var(--text-primary);
}

.about-hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;

  max-width: 1200px;
  margin-top: clamp(38px, 6vh, 72px);
  padding-top: 26px;
  border-top: 1px solid var(--border);

  animation: about-reveal 0.9s 0.48s both;
}

.about-hero-description {
  max-width: 430px;
  color: var(--text-secondary);

  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 300;
  line-height: 1.9;
}

.about-work-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;

  padding-bottom: 7px;
  border-bottom: 1px solid rgba(201, 111, 61, 0.65);

  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;

  transition: color 0.3s ease, border-color 0.3s ease;
}

.about-link-arrow {
  display: inline-block;
  color: var(--accent);
  font-size: 18px;
  transition: transform 0.3s var(--ease-cinematic);
}

.about-work-link:hover {
  color: var(--accent);
}

.about-work-link:hover .about-link-arrow {
  transform: translateY(4px);
}

.about-hero-footer {
  position: absolute;
  left: clamp(24px, 7.5vw, 120px);
  right: clamp(24px, 7.5vw, 120px);
  bottom: 26px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.09em;
}

.about-hero-footer a {
  transition: color 0.25s ease;
}

.about-hero-footer a:hover {
  color: var(--accent);
}

/* =========================
   02 — WHAT WE SOLVE
   ========================= */

.about-solutions {
  padding: clamp(100px, 12vw, 180px) 32px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.about-solutions-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.about-section-heading {
  max-width: 760px;
  margin-bottom: 76px;
}

.about-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;

  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.about-section-heading h2 {
  max-width: 720px;

  font-family: var(--font-body);
  font-size: clamp(2.6rem, 6.5vw, 6rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.07em;
}

.about-section-heading h2 span {
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: -0.035em;
}

.about-section-intro {
  max-width: 450px;
  margin-top: 26px;

  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
}

/* Editorial rows, not cards */

.about-principles {
  border-top: 1px solid var(--border);
}

.about-principle {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 24px;

  min-height: 140px;
  padding: 30px 10px;

  border-bottom: 1px solid var(--border);

  transition:
    padding 0.4s var(--ease-cinematic),
    background-color 0.3s ease;
}

.principle-number {
  align-self: start;
  padding-top: 8px;

  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;

  transition: color 0.3s ease;
}

.principle-content h3 {
  font-family: var(--font-body);
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.1;

  transition: color 0.3s ease;
}

.principle-content h3 span {
  color: var(--accent);
}

.principle-content p {
  margin-top: 10px;

  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
}

.principle-arrow {
  color: var(--text-muted);
  font-size: 20px;
  opacity: 0;
  transform: translate(-5px, 5px);

  transition:
    opacity 0.3s ease,
    transform 0.3s var(--ease-cinematic),
    color 0.3s ease;
}

.about-principle:hover {
  padding-left: 20px;
  padding-right: 0;
}

.about-principle:hover .principle-number,
.about-principle:hover .principle-arrow {
  color: var(--accent);
}

.about-principle:hover .principle-content h3 {
  color: var(--text-primary);
}

.about-principle:hover .principle-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.about-solutions-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;

  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

/* =========================
   ANIMATIONS
   ========================= */

@keyframes about-reveal {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes about-orbit-in {
  from {
    opacity: 0;
    transform: translate(24px, -50%) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translate(0, -50%) scale(1);
  }
}

/* =========================
   TABLET
   ========================= */

@media (max-width: 900px) {
  .about-hero {
    padding-left: 36px;
    padding-right: 36px;
  }

  .about-hero-title {
    font-size: clamp(4rem, 10vw, 7rem);
  }

  .about-hero-orbit {
    right: -25%;
    opacity: 0.65;
  }

  .about-hero-footer {
    left: 36px;
    right: 36px;
  }

  .about-principle {
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    gap: 18px;
  }
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 600px) {
  .about-hero {
    min-height: 100svh;
    padding: 132px 24px 112px;
  }

  .about-eyebrow {
    max-width: 290px;
    margin-bottom: 42px;
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .about-hero-title {
    font-size: clamp(3.2rem, 12.5vw, 5rem);
    letter-spacing: -0.085em;
    line-height: 0.99;
  }

  .about-title-line {
    width: auto;
  }

  .about-hero-orbit {
    width: 340px;
    right: -190px;
    top: 43%;
    opacity: 0.5;
  }

  .about-hero-grid {
    background-size: 64px 64px;
  }

  .about-hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    margin-top: 38px;
    padding-top: 20px;
  }

  .about-hero-description {
    max-width: 340px;
    font-size: 14px;
    line-height: 1.8;
  }

  .about-hero-footer {
    left: 24px;
    right: 24px;
    bottom: 20px;
    font-size: 8px;
  }

  .about-footer-center {
    display: none;
  }

  .about-solutions {
    padding: 90px 24px;
  }

  .about-section-heading {
    margin-bottom: 48px;
  }

  .about-section-label {
    font-size: 9px;
  }

  .about-section-heading h2 {
    font-size: clamp(2.6rem, 11vw, 4rem);
  }

  .about-section-intro {
    font-size: 14px;
  }

  .about-principle {
    grid-template-columns: 28px minmax(0, 1fr) 16px;
    gap: 12px;
    min-height: 116px;
    padding: 26px 0;
  }

  .about-principle:hover {
    padding-left: 0;
  }

  .principle-content h3 {
    font-size: clamp(1.35rem, 6.3vw, 2rem);
    overflow-wrap: anywhere;
  }

  .principle-content p {
    font-size: 13px;
  }

  .principle-arrow {
    opacity: 1;
    transform: none;
    font-size: 16px;
  }

  .about-solutions-footer {
    flex-direction: column;
    gap: 8px;
    font-size: 8px;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  .about-hero-orbit,
  .about-title-line,
  .about-eyebrow,
  .about-hero-bottom {
    animation: none;
  }

  .about-principle,
  .principle-number,
  .principle-content h3,
  .principle-arrow {
    transition: none;
  }
}
