/* ═══════════════════════════════════════════════════
   About page — site/new/assets/css/about.css
   Depends on: ../../../assets/css/main.css (tokens)
   ═══════════════════════════════════════════════════ */

/* ── NAV ── */
.abt-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
}

.abt-nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.abt-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.abt-nav-logo img {
  height: 26px;
  width: auto;
  filter: invert(45%) sepia(60%) saturate(500%) hue-rotate(145deg)
    brightness(90%);
}

.abt-nav-logo-text {
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.abt-nav-logo-text span {
  color: var(--teal);
}

.abt-nav-links {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex: 1;
}

.abt-nav-tab {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 4px 14px;
  position: relative;
  transition: color 0.15s;
  white-space: nowrap;
}

.abt-nav-tab + .abt-nav-tab::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 12px;
  width: 1px;
  background: var(--border);
}

.abt-nav-tab:hover {
  color: var(--ink);
}

.abt-nav-tab.active {
  color: var(--ink);
  font-weight: 600;
}

.abt-nav-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--teal);
  border-radius: 1px;
}

.abt-nav-cta {
  margin-left: auto;
}

.abt-nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

/* ── SUBNAV (injected when ?from= is set) ── */
.abt-subnav {
  position: sticky;
  top: 64px;
  z-index: 90;
  background: var(--bg);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 8px oklch(0% 0 0 / 0.07);
}

.abt-subnav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  gap: 2px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.abt-subnav-inner::-webkit-scrollbar {
  display: none;
}

.abt-subnav-link {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: oklch(40% 0.02 240);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  border-radius: 4px 4px 0 0;
  transition:
    color 0.15s,
    border-color 0.15s,
    background-color 0.15s;
  margin-bottom: -2px;
}

.abt-subnav-link:hover {
  color: var(--ink);
  background-color: oklch(92% 0.05 192 / 0.5);
}

.abt-subnav-link.active {
  color: var(--teal-dark);
  font-weight: 700;
  border-bottom-color: var(--teal);
  background-color: oklch(92% 0.05 192 / 0.4);
}

/* ── SHARED WRAPPERS ── */
.abt-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.abt-section-title {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 12px;
  text-wrap: pretty;
}

.abt-section-sub {
  font-size: 17px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.65;
  max-width: 600px;
  margin-bottom: 56px;
}

/* ── HERO ── */
.abt-hero {
  padding-top: 64px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.abt-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 70% at 50% -10%,
    oklch(94% 0.06 192 / 0.55) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.abt-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(
    ellipse 70% 80% at 50% 30%,
    black 20%,
    transparent 75%
  );
  opacity: 0.4;
}

.abt-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 32px 88px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.abt-hero-inner .hero-title {
  font-size: clamp(42px, 6vw, 58px);
  line-height: 1.08;
  margin-bottom: 22px;
}

.abt-hero-sub {
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 300;
  max-width: 620px;
  margin: 0 auto;
}

/* ── MISSION ── */
.abt-mission {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 96px 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mission-body {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.mission-img {
  width: 75%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin-left: auto;
}

.mission-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mission-value {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.15s;
}

.mission-value:hover {
  border-color: var(--teal-mid);
}

.mv-icon {
  font-size: 18px;
  color: var(--teal);
  flex-shrink: 0;
  line-height: 1.3;
  font-weight: 700;
}

.mission-value strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.mission-value span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── TIMELINE ── */
.abt-timeline {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 96px 0;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
}

.tl-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 28px;
}

.tl-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
}

.tl-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--teal-mid);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.tl-dot-active {
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 0 0 4px oklch(56% 0.13 192 / 0.2);
}

.tl-line {
  width: 2px;
  flex: 1;
  background: oklch(88% 0.05 192);
  margin: 6px 0;
  min-height: 24px;
}

.tl-content {
  padding-bottom: 52px;
}

.tl-item-last .tl-content {
  padding-bottom: 0;
}

.tl-year {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}

.tl-content h3 {
  font-family: var(--ff-display);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.2;
}

.tl-content p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}

.tl-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin-top: 20px;
}

.tl-content p em {
  font-style: italic;
  color: var(--ink);
}

.tl-hospital-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.tl-hospital-logos img {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
  filter: grayscale(30%);
  transition:
    opacity 0.15s,
    filter 0.15s;
}

.tl-hospital-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ── GOVERNANCE ── */
.abt-governance {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 96px 0;
}

.gov-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.gov-card {
  border-radius: 16px;
  padding: 36px;
  border: 1.5px solid var(--border);
  background: var(--bg);
}

.gov-card .gov-tag {
  background: var(--teal-light);
  color: var(--teal-dark);
  border: 1px solid oklch(82% 0.07 192);
}

.gov-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.gov-card h3 {
  font-family: var(--ff-display);
  font-size: 30px;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.1;
}

.gov-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.gov-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gov-list li {
  font-size: 13px;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.gov-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-mid);
}

.gov-note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  padding: 18px 22px;
  background: var(--teal-light);
  border: 1px solid oklch(88% 0.05 192);
  border-left: 3px solid var(--teal);
  border-radius: 8px;
}

/* ── TEAM ── */
.abt-team {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 96px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition:
    box-shadow 0.15s,
    border-color 0.15s;
}

.team-card:hover {
  border-color: var(--teal-mid);
  box-shadow: 0 8px 32px oklch(56% 0.13 192 / 0.1);
}

.team-photo-wrap {
  background: var(--teal-light);
  aspect-ratio: 4/3;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.team-info {
  padding: 24px 24px 26px;
}

.team-name {
  font-family: var(--ff-display);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 2px;
}

.team-role {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
  line-height: 1.4;
}

.team-bio {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.team-contact {
  font-size: 12px;
  color: var(--teal-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.team-contact:hover {
  color: var(--teal);
}

/* ── ADVISORY ── */
.advisory-title {
  font-family: var(--ff-display);
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 10px;
}

.advisory-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 36px;
}

.advisory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.advisory-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  transition: border-color 0.15s;
}

.advisory-item:hover {
  border-color: var(--teal-mid);
}

.advisory-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--teal-light);
  border: 1.5px solid oklch(82% 0.07 192);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--teal-dark);
  flex-shrink: 0;
}

.advisory-item strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
  line-height: 1.3;
}

.advisory-item span {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── CTA ── */
.abt-cta {
  background: var(--teal-dark);
  padding: 80px 32px;
}

.abt-cta-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.abt-cta-title {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--white);
  margin-bottom: 14px;
  text-wrap: pretty;
}

.abt-cta-sub {
  font-size: 17px;
  color: oklch(85% 0.04 192);
  margin-bottom: 36px;
  font-weight: 300;
  line-height: 1.65;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.abt-cta-actions {
  display: flex;
  justify-content: center;
}

.abt-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  color: var(--teal-dark);
  padding: 13px 32px;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.18s,
    transform 0.12s;
}

.abt-cta-btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
}

/* ── FOOTER ── */
.abt-footer {
  background: var(--navy);
  color: oklch(65% 0.02 240);
  padding: 24px 32px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.abt-footer a {
  color: oklch(65% 0.02 240);
  text-decoration: none;
  transition: color 0.15s;
}

.abt-footer a:hover {
  color: var(--teal-mid);
}

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: oklch(65% 0.02 240);
  text-decoration: none;
  border: 1px solid oklch(35% 0.02 240);
  border-radius: 6px;
  padding: 6px 12px;
  transition:
    color 0.15s,
    border-color 0.15s;
  white-space: nowrap;
}

.footer-linkedin:hover {
  color: #0a66c2;
  border-color: #0a66c2;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .advisory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .gov-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

  .abt-nav-links {
    display: none;
  }

  .abt-nav-hamburger {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .abt-nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition:
      transform 0.25s ease,
      opacity 0.2s ease;
    display: block;
    position: absolute;
    transform-origin: center;
  }

  .abt-nav-hamburger span:nth-child(1) {
    transform: translateY(-6px);
  }

  .abt-nav-hamburger span:nth-child(2) {
    transform: translateY(0);
  }

  .abt-nav-hamburger span:nth-child(3) {
    transform: translateY(6px);
  }

  .abt-nav-hamburger[aria-expanded='true'] span:nth-child(1) {
    transform: rotate(45deg);
  }

  .abt-nav-hamburger[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
  }

  .abt-nav-hamburger[aria-expanded='true'] span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .abt-nav-cta {
    display: none;
  }

  .abt-subnav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 85;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .abt-subnav.abt-nav-menu-open {
    max-height: 560px;
  }

  .abt-subnav-inner {
    padding: 12px 16px;
    gap: 0;
    overflow-x: visible;
    flex-direction: column;
    max-width: none;
    display: flex;
  }

  .abt-subnav-link {
    padding: 10px 0;
    font-size: 14px;
    border-bottom: none;
    color: var(--ink);
    font-weight: 500;
  }

  .abt-subnav-link.active {
    border-bottom: none;
    color: var(--teal-dark);
    font-weight: 600;
  }

  .abt-subnav-link:hover {
    color: var(--teal);
  }
}

@media (max-width: 640px) {
  .abt-footer {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .advisory-grid {
    grid-template-columns: 1fr;
  }

  .tl-item {
    grid-template-columns: 36px 1fr;
    gap: 0 16px;
  }

  .tl-hospital-logos img {
    height: 22px;
  }
}
