/* Sun City About page (matches reference layout) */
.about-page {
  --about-warm: #f3f1ea;
  --about-navy: #0f2433;
  font-family: var(--font);
}

.about-hero {
  position: relative;
  background-color: var(--about-navy);
  background-image: url("../assets/about/page-hero-banner.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: clamp(4.5rem, 12vw, 7.5rem) 0 clamp(3.5rem, 8vw, 5rem);
  isolation: isolate;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 36, 51, 0.9) 0%,
    rgba(15, 36, 51, 0.78) 45%,
    rgba(15, 36, 51, 0.62) 100%
  );
  z-index: 0;
}

.about-hero .section-eyebrow {
  color: #c4a035;
  margin: 0 0 1.25rem;
}

.about-hero .container {
  width: var(--container);
  max-width: var(--container);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.about-hero .section-eyebrow,
.about-hero h1,
.about-hero-lead {
  max-width: 44rem;
  margin-inline: 0;
  text-align: left;
}

.about-hero h1 {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(2.35rem, 5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.about-hero-lead {
  margin: 1.5rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.about-band {
  background: var(--about-warm);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.about-band + .about-band {
  border-top: 1px solid rgba(15, 36, 51, 0.08);
}

.about-band--light {
  background: #ffffff;
}

.about-mv-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.about-mv-head h2 {
  margin: 0.5rem 0 0.75rem;
  font-family: var(--font);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--about-navy);
}

.about-mv-intro {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #5c6570;
}

.about-mv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.about-mv-card {
  padding: 1.75rem 1.65rem 1.85rem;
  background: var(--about-warm);
  border: 1px solid rgba(15, 36, 51, 0.08);
  border-top: 3px solid #c4a035;
}

.about-mv-label {
  margin: 0 0 0.5rem;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4a035;
}

.about-mv-card h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font);
  font-size: clamp(1.625rem, 3.1vw, 2.125rem);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.03em;
  color: var(--about-navy);
}

.about-mv-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #1a3547;
}

.about-values-band {
  --about-values-bg: #0f2433;
  --about-values-line: rgba(255, 255, 255, 0.1);
  --about-values-accent: #e07a45;
  --about-values-cell: rgba(15, 36, 51, 0.82);
  position: relative;
  background-color: var(--about-values-bg);
  background-image: url("../assets/about/core-values-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  isolation: isolate;
}

.about-values-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 36, 51, 0.94) 0%,
    rgba(15, 36, 51, 0.88) 50%,
    rgba(15, 36, 51, 0.92) 100%
  );
  z-index: 0;
}

.about-values-band > .container {
  position: relative;
  z-index: 1;
}

.about-values-band.about-band + .about-band {
  border-top: none;
}

.about-values-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.5rem 3rem;
  align-items: start;
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--about-values-line);
}

.about-values-eyebrow {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--about-values-accent);
}

.about-values-head-copy {
  max-width: 36rem;
}

.about-values-head-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--font);
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #ffffff;
}

.about-values-intro {
  margin: 0;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.52);
}

.about-values-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(11rem, auto) minmax(11rem, auto) minmax(10rem, auto);
  gap: 1px;
  background: var(--about-values-line);
  border: 1px solid var(--about-values-line);
}

.about-value-cell {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.35rem, 2.5vw, 1.85rem) clamp(1.25rem, 2.5vw, 1.75rem);
  background: var(--about-values-cell);
}

.about-value-cell--span-2 {
  grid-row: 1 / 3;
  grid-column: 1;
  justify-content: space-between;
  min-height: 22rem;
}

.about-value-cell:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.about-value-cell:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.about-value-cell:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
}

.about-value-cell:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
}

.about-value-cell--wide {
  grid-column: 1 / -1;
  grid-row: 3;
  justify-content: space-between;
  min-height: 10.5rem;
}

.about-value-cell--wide .about-value-content {
  max-width: 28rem;
  margin-top: auto;
}

.about-value-cell--span-2 .about-value-content {
  margin-top: auto;
}

.about-value-num {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--about-values-accent);
  font-variant-numeric: tabular-nums;
}

.about-value-content h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.2vw, 1.625rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #ffffff;
}

.about-value-content p {
  margin: 0 0 1rem;
  max-width: 22rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.48);
}

.about-value-cell--wide .about-value-content p {
  max-width: none;
}

.about-value-rule {
  display: block;
  width: 1.75rem;
  height: 2px;
  background: var(--about-values-accent);
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.about-media {
  border-left: 4px solid #c4a035;
  padding-left: 0.5rem;
}

.about-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  vertical-align: top;
}

.about-stat-bar {
  display: flex;
  align-items: stretch;
  background: rgba(15, 36, 51, 0.95);
  color: #ffffff;
}

.about-stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.2rem 1.35rem;
}

.about-stat-divider {
  width: 1px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.2);
}

.about-stat-num {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #c4a035;
  font-variant-numeric: tabular-nums;
}

.about-stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.about-copy h2 {
  margin: 0 0 1.15rem;
  font-family: var(--font);
  font-size: clamp(1.95rem, 3.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--about-navy);
  max-width: 36rem;
}

.about-copy > p {
  margin: 0 0 1rem;
  max-width: 38rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #1a3547;
}

.about-copy > p:last-of-type {
  margin-bottom: 1.75rem;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.about-feature {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(15, 36, 51, 0.06);
}

.about-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5ecd4;
  color: var(--about-navy);
}

.about-feature h3 {
  margin: 0 0 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--about-navy);
}

.about-feature p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #5c6570;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.about-history-head {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.about-history-head h2 {
  margin: 0.5rem 0 0.75rem;
  font-family: var(--font);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--about-navy);
}

.about-history-intro {
  margin: 0;
  max-width: 40rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #1a3547;
}

.about-history-slider {
  border-top: 1px solid rgba(15, 36, 51, 0.12);
  padding-top: 2rem;
}

.about-history-slider-toolbar {
  margin-bottom: 1.5rem;
}

.about-history-years {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 0.15rem 0;
}

.about-history-years::-webkit-scrollbar {
  display: none;
}

.about-history-year-btn {
  flex-shrink: 0;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(15, 36, 51, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--about-navy);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.about-history-year-btn:hover {
  border-color: rgba(196, 160, 53, 0.45);
}

.about-history-year-btn.is-active {
  border-color: var(--about-navy);
  background: var(--about-navy);
  color: #ffffff;
}

.about-history-slider-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.about-history-slider-viewport::-webkit-scrollbar {
  display: none;
}

.about-history-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.about-history-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(15, 36, 51, 0.08);
  border-left: 3px solid #c4a035;
  min-height: 13.5rem;
  box-sizing: border-box;
}

.about-history-slide-title {
  margin: 0 0 0.85rem;
  font-family: var(--font);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--about-navy);
}

.about-history-slide-year {
  color: #c4a035;
}

.about-history-slide-sep {
  margin: 0 0.35rem;
  font-weight: 600;
  color: rgba(15, 36, 51, 0.35);
}

.about-history-slide p {
  margin: 0;
  max-width: 40rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #1a3547;
}

.about-history-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.about-history-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(15, 36, 51, 0.2);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.about-history-dot.is-active {
  background: var(--about-navy);
  transform: scale(1.15);
}

.about-history-dot:hover {
  background: #c4a035;
}

.about-team-band {
  background: #f7f8f9;
}

.about-team-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  align-items: end;
  margin-bottom: 2rem;
}

.about-team-head h2 {
  margin: 0.5rem 0 0;
  font-family: var(--font);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--about-navy);
}

.about-team-head > p {
  margin: 0;
  justify-self: end;
  max-width: 26rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #5c6570;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.about-team-card {
  background: #ffffff;
  border: 1px solid #e8eaed;
  overflow: hidden;
}

.about-team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.about-team-card-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.about-team-card-body h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--about-navy);
}

.about-team-role {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #b8922a;
}

.about-team-card-body p:last-child {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #5c6570;
}

.about-cta-band {
  background: var(--about-navy);
  color: #ffffff;
  padding: clamp(2.75rem, 6vw, 4rem) 0;
}

.about-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.about-cta-inner h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #ffffff;
}

.about-cta-inner p {
  margin: 0;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .about-split,
  .about-team-head,
  .about-mv-grid {
    grid-template-columns: 1fr;
  }

  .about-values-head {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-values-bento {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .about-value-cell--span-2,
  .about-value-cell:nth-child(2),
  .about-value-cell:nth-child(3),
  .about-value-cell:nth-child(4),
  .about-value-cell:nth-child(5),
  .about-value-cell--wide {
    grid-column: 1;
    grid-row: auto;
    min-height: 0;
    justify-content: flex-start;
  }

  .about-value-cell--span-2 .about-value-content,
  .about-value-cell--wide .about-value-content {
    margin-top: 0;
  }

  .about-team-head > p {
    justify-self: start;
  }

  .about-team-grid {
    grid-template-columns: 1fr;
    max-width: 20rem;
  }
}

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

  .about-team-grid {
    max-width: none;
  }
}
