/* ========== Manila Horizon — About Page Styles ========== */

/* ---------- About Hero ---------- */
.about-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.about-hero:hover .about-hero-img {
  transform: scale(1);
}

.about-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(14,26,36,0.88) 0%, rgba(14,26,36,0.45) 55%, rgba(14,26,36,0.1) 100%),
    linear-gradient(180deg, rgba(14,26,36,0.5) 0%, transparent 30%, rgba(14,26,36,0.7) 100%);
}

.about-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  gap: 56px;
  max-width: 680px;
}

.about-hero-title {
  margin-top: 20px;
}

.about-hero-sub {
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 560px;
}

.about-hero-mark {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}

.about-mark-svg {
  width: 48px;
  height: 48px;
  color: var(--gold);
  flex-shrink: 0;
}

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

.about-hero-scroll-hint {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.scroll-line {
  width: 1px;
  height: 64px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
  animation: scrollDrop 1.8s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---------- Mission & Vision ---------- */
.about-mv {
  padding: 140px 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--hairline);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.mv-card {
  background: var(--bg-3);
  border: 1px solid var(--hairline);
  padding: 60px 52px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s;
}

.mv-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.mv-card:hover {
  border-color: var(--hairline-strong);
  transform: translateY(-4px);
}

.mv-card:hover::before { opacity: 1; }

.mv-card-vision {
  background: linear-gradient(135deg, var(--bg-3) 0%, rgba(212,169,104,0.04) 100%);
}

.mv-number {
  position: absolute;
  top: 32px;
  right: 36px;
  font-size: 10px;
  color: var(--hairline-strong);
  letter-spacing: 0.4em;
}

.mv-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 32px;
}

.mv-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 32px;
  color: var(--ink);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}

.mv-body {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

.mv-accent-line {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-top: 36px;
  opacity: 0.5;
}

/* ---------- The Story ---------- */
.about-story {
  padding: 140px 0;
}

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

.story-img-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 120px;
}

.story-img-frame {
  position: relative;
  overflow: hidden;
}

.story-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.story-img-frame:hover .story-img {
  transform: scale(1.04);
}

.story-img-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(14,26,36,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 16px;
  color: var(--gold);
  font-size: 9px;
}

.story-img-secondary {
  overflow: hidden;
}

.story-img-sm {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.story-img-secondary:hover .story-img-sm {
  transform: scale(1.04);
}

.story-text-col {
  padding-top: 8px;
}

.story-body {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 20px;
}

.story-body:first-of-type {
  margin-top: 32px;
}

.story-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  font-size: 56px;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-lbl {
  margin-top: 10px;
  color: var(--muted);
  font-size: 9px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--hairline);
  flex-shrink: 0;
}

/* ---------- Brand Identity ---------- */
.about-brand {
  padding: 140px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.brand-head {
  max-width: 640px;
  margin-bottom: 72px;
}

.brand-intro {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
  margin-top: 24px;
}

.brand-identity-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2px;
}

.brand-block {
  background: var(--bg-3);
  border: 1px solid var(--hairline);
  padding: 48px 40px;
  transition: border-color 0.3s;
}

.brand-block:hover {
  border-color: var(--hairline-strong);
}

.brand-block-label {
  margin-bottom: 32px;
}

.brand-mark-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 48px 24px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  margin-bottom: 32px;
  transition: border-color 0.3s;
}

.brand-mark-display:hover {
  border-color: var(--gold);
}

.brand-mark-lg {
  width: 72px;
  height: 72px;
  color: var(--gold);
}

.brand-wordmark-lg {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.45em;
  color: var(--ink);
  text-transform: uppercase;
}

.brand-block-mark {
  background: linear-gradient(135deg, var(--bg-3) 0%, rgba(212,169,104,0.04) 100%);
}

.brand-block-body {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.7;
  margin: 0;
}

/* Colour palette */
.palette-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.swatch {}

.swatch-colour {
  height: 80px;
  margin-bottom: 12px;
  transition: transform 0.3s;
}

.swatch:hover .swatch-colour {
  transform: scaleY(1.06);
}

.swatch-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 4px;
}

.swatch-hex {
  font-size: 9px;
  color: var(--muted);
}

/* Typography */
.type-showcase {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.type-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
}

.type-item:last-child { border-bottom: none; }

.type-sample {
  margin-bottom: 8px;
}

.type-display {
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  font-size: 40px;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}

.type-serif {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  color: var(--gold);
  line-height: 1.1;
}

.type-mono {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--muted);
  text-transform: uppercase;
}

.type-meta {
  font-size: 9px;
  color: var(--muted);
}

/* ---------- Values ---------- */
.about-values {
  padding: 140px 0;
}

.values-head {
  max-width: 640px;
  margin-bottom: 72px;
}

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

.value-card {
  background: var(--bg-2);
  border: 1px solid var(--hairline);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.4s;
}

.value-card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.value-card:hover {
  border-color: var(--hairline-strong);
  transform: translateY(-6px);
}

.value-card:hover::after {
  transform: scaleX(1);
}

.value-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 56px;
  font-weight: 300;
  color: var(--hairline-strong);
  line-height: 1;
  margin-bottom: 24px;
  transition: color 0.3s;
}

.value-card:hover .value-num {
  color: rgba(212,169,104,0.3);
}

.value-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 18px;
  line-height: 1.2;
}

.value-body {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.7;
  margin: 0;
}

/* ---------- Team ---------- */
.about-team {
  padding: 140px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--hairline);
}

.team-head {
  max-width: 640px;
  margin-bottom: 64px;
}

.team-intro {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
  margin-top: 24px;
}

.team-gallery {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 360px 360px;
  gap: 16px;
}

.team-photo {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
}

.team-photo-wide {
  grid-column: span 1;
}

.team-photo-wide:first-child {
  grid-row: span 2;
}

.team-photo-wide:last-child {
  grid-column: span 2;
}

.team-photo-stack {
  display: contents;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.team-photo:hover img {
  transform: scale(1.06);
}

.team-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(0deg, rgba(14,26,36,0.85) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.team-photo:hover .team-photo-caption {
  opacity: 1;
}

.team-photo-caption span {
  font-size: 12px;
  color: var(--ink-soft);
}

.team-photo-caption .eyebrow {
  color: var(--gold);
}

/* ---------- About CTA ---------- */
.about-cta {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.about-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-cta-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.about-cta:hover .about-cta-img {
  transform: scale(1);
}

.about-cta-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,26,36,0.6) 0%, rgba(14,26,36,0.8) 100%);
}

.about-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 100px;
}

.about-cta-headline {
  margin-top: 20px;
  margin-bottom: 0;
}

.about-cta-sub {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  margin: 24px auto 40px;
  max-width: 400px;
}

.about-cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .brand-identity-grid {
    grid-template-columns: 1fr 1fr;
  }

  .brand-block-mark {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .about-hero-content {
    max-width: 100%;
    padding-top: 120px;
    padding-bottom: 80px;
  }

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

  .mv-card {
    padding: 48px 32px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .story-img-col {
    position: static;
  }

  .brand-identity-grid {
    grid-template-columns: 1fr;
  }

  .brand-block-mark {
    grid-column: span 1;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }

  .team-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 260px 260px;
  }

  .team-photo-wide:first-child {
    grid-row: auto;
    grid-column: span 2;
  }

  .team-photo-wide:last-child {
    grid-column: span 2;
  }

  .story-stats {
    gap: 24px;
  }

  .stat-num { font-size: 44px; }
}

@media (max-width: 640px) {
  .about-hero-content {
    padding-top: 100px;
    padding-bottom: 60px;
    gap: 36px;
  }

  .about-hero-scroll-hint { display: none; }

  .mv-card { padding: 36px 24px; }

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

  .team-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 240px);
  }

  .team-photo-wide:first-child,
  .team-photo-wide:last-child {
    grid-column: span 1;
  }

  .story-stats {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }

  .stat-divider { display: none; }

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

  .about-cta-content {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}
