/* ── About page — hero, story, timeline, leadership, investors, values ── */

/* ── OUR STORY ── */
.story {
  background: var(--nav-bg);
  padding: clamp(140px, 16vw, 220px) 0 clamp(80px, 10vw, 160px);
}
.story-inner {
  width: 100%;
  max-width: 100%;
  padding: 0 var(--edge-pad);
}

/* ── Key facts strip ── */
.story-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(28px, 3.5vw, 48px) 0;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.story-fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 clamp(16px, 2vw, 32px);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.story-fact:first-child {
  padding-left: 0;
  border-left: none;
}
.story-fact:last-child {
  padding-right: 0;
}
.story-fact-num {
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 800;
  color: var(--warm-white);
  line-height: 1;
  letter-spacing: -0.03em;
}
.story-fact-label {
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 500;
  color: rgba(240, 237, 232, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════
   TIMELINE — Left Spine Editorial
   ═══════════════════════════════ */

/* ── Timeline — centered spine, alternating side + size ── */
.tl {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

/* Spine — centered vertical line */
.tl::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(183, 150, 93, 0.15);
  transform: translateX(-50%);
}

/* Each moment — positioned relative to spine + scroll reveal */
.tl-moment {
  position: relative;
  padding-bottom: clamp(36px, 4vw, 52px);
  width: 50%;
  opacity: 0;
  transform: translateY(18px);
  will-change: transform, opacity;
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.tl-moment:last-child {
  padding-bottom: 0;
}

/* Left-side moments — right-aligned to spine */
.tl-moment--left {
  padding-right: clamp(28px, 3.5vw, 48px);
  margin-left: 0;
  margin-right: auto;
}
.tl-moment--left .tl-content {
  text-align: right;
}
.tl-moment--left .tl-img {
  margin-left: auto;
}
.tl-moment--left .tl-desc {
  margin-left: auto;
}

/* Right-side moments — left-aligned from spine */
.tl-moment--right {
  padding-left: clamp(28px, 3.5vw, 48px);
  margin-left: 50%;
}
.tl-moment--right .tl-content {
  text-align: left;
}

/* Dot — on the spine */
.tl-dot {
  position: absolute;
  top: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--nav-bg);
  z-index: 1;
  opacity: 0;
  transition: opacity 400ms ease 300ms;
}
.tl-moment--left .tl-dot {
  right: -4px;
}
.tl-moment--right .tl-dot {
  left: -4px;
}

/* Year */
.tl-year {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(183, 150, 93, 0.84);
  margin-bottom: 8px;
}

/* Title */
.tl-title {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700;
  color: var(--warm-white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 8px 0;
}

/* Description */
.tl-desc {
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.55;
  color: rgba(240, 237, 232, 0.5);
  font-weight: 400;
  max-width: 380px;
  margin-bottom: clamp(14px, 1.5vw, 20px);
}

/* Image */
.tl-img {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-width: 85%;
}
.tl-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Scroll reveal visible state ── */
.tl-moment.tl-visible {
  opacity: 1;
  transform: translateY(0);
}

.tl-moment.tl-visible .tl-dot {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .tl-moment {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .tl-dot {
    opacity: 1;
    transition: none;
  }
}

/* ── Mobile — single column, left spine ── */
@media (max-width: 768px) {
  .tl {
    max-width: 100%;
    padding-left: clamp(20px, 4vw, 28px);
  }
  .tl::before {
    left: 0;
    transform: none;
  }
  .tl-moment {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    padding-bottom: clamp(40px, 5vw, 56px);
  }
  .tl-moment--left .tl-content,
  .tl-moment--right .tl-content {
    text-align: left;
  }
  .tl-moment--left .tl-img,
  .tl-moment--left .tl-desc {
    margin-left: 0;
  }
  .tl-desc {
    max-width: 100%;
  }
  .tl-dot,
  .tl-moment--left .tl-dot,
  .tl-moment--right .tl-dot {
    left: calc(-1 * clamp(20px, 4vw, 28px));
    right: auto;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
  }
  .tl-title {
    font-size: clamp(17px, 4.5vw, 22px);
  }
}


/* ══════════════════════════════
   ABOUT PAGE — Light theme
   ══════════════════════════════ */
.page-about {
  background: var(--cream);
}

/* About hero — full-width image with text overlay */
.about-hero {
  position: relative;
  width: 100%;
  height: clamp(500px, 66vh, 780px);
  overflow: hidden;
}

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

.about-hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

/* Light global wash — just enough to take the edge off highlights */
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    /* Localized gradient: darkens bottom-left where text sits */
    linear-gradient(
      to top right,
      rgba(16, 32, 39, 0.62) 0%,
      rgba(16, 32, 39, 0.38) 35%,
      rgba(16, 32, 39, 0.10) 70%,
      transparent 100%
    ),
    /* Subtle global base wash */
    linear-gradient(
      to top,
      rgba(16, 32, 39, 0.15) 0%,
      rgba(16, 32, 39, 0.05) 50%,
      transparent 100%
    );
}

.about-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--edge-pad) clamp(44px, 5.5vw, 76px);
}

.about-hero-headline {
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: #fff;
  margin: 0;
  max-width: 680px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.about-hero-sub {
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  max-width: 540px;
  line-height: 1.5;
  margin: clamp(12px, 1.5vw, 20px) 0 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5), 0 2px 16px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
  .about-hero {
    height: clamp(380px, 63vh, 528px);
  }
  .about-hero-headline {
    font-size: clamp(24px, 6vw, 34px);
    font-weight: 700;
    max-width: 360px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  }
  .about-hero-content {
    padding-bottom: clamp(28px, 5vw, 40px);
  }
  .about-hero-sub {
    font-size: clamp(13px, 3.5vw, 15px);
    max-width: 320px;
  }
}

/* About investors — standalone section above footer */
.about-investors {
  background: var(--cream);
  padding: clamp(72px, 8vw, 104px) var(--edge-pad) clamp(72px, 8vw, 104px);
  text-align: center;
  overflow: hidden;
  position: relative;
}
.about-investors::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--edge-pad);
  right: var(--edge-pad);
  height: 1px;
  background: rgba(16, 32, 39, 0.06);
}

.about-investors .investors-constrained {
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.about-investors .investors-eyebrow {
  margin-bottom: clamp(24px, 2.5vw, 36px);
}

/* Story section */
.page-about .story {
  background: var(--cream);
  padding-top: clamp(48px, 5vw, 72px);
}

/* Facts strip */
.page-about .story-facts {
  border-top-color: rgba(16, 32, 39, 0.1);
  border-bottom-color: rgba(16, 32, 39, 0.1);
}
.page-about .story-fact {
  border-left-color: rgba(16, 32, 39, 0.1);
}
.page-about .story-fact-num {
  color: var(--nav-bg);
}
.page-about .story-fact-label {
  color: rgba(16, 32, 39, 0.65);
}

/* Timeline spine + dot */
.page-about .tl::before {
  background: rgba(138, 115, 70, 0.2);
}
.page-about .tl-dot {
  background: #8a7346;
  box-shadow: 0 0 0 3px var(--cream);
}

/* Timeline text */
.page-about .tl-year {
  color: var(--gold-dark);
}
.page-about .tl-title {
  color: var(--nav-bg);
}
.page-about .tl-desc {
  color: rgba(16, 32, 39, 0.65);
}


/* Footer stays dark — no overrides needed */


/* Note: .values and .testimonial styles are in base.css (shared with careers page) */

/* Careers CTA section (standalone, after investors) */
.about-careers-cta {
  background:
    radial-gradient(ellipse 78% 58% at 50% 42%, rgba(255, 255, 255, 0.45) 0%, transparent 72%),
    var(--cream);
  padding: clamp(128px, 14vw, 192px) var(--edge-pad);
  position: relative;
  overflow: hidden;
}
.about-careers-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--edge-pad);
  right: var(--edge-pad);
  height: 1px;
  background: rgba(16, 32, 39, 0.08);
  z-index: 1;
}
/* Subtle grid lines that fade out toward the edges — visual nod to the headline */
.about-careers-cta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right,  rgba(16, 32, 39, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 32, 39, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.about-careers-cta-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}
.about-careers-cta-headline {
  font-size: clamp(38px, 5.4vw, 80px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--nav-bg);
  margin: 0 0 clamp(20px, 1.8vw, 32px) 0;
  text-wrap: balance;
}
.about-careers-cta-em {
  font-weight: 700;
  color: var(--gold);
}
.about-careers-cta-body {
  font-size: clamp(18px, 1.35vw, 22px);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(16, 32, 39, 0.72);
  margin: 0 auto clamp(32px, 3.4vw, 48px);
  max-width: 620px;
}
.about-careers-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold);
  color: var(--nav-bg);
  padding: 16px 36px;
  border-radius: 8px;
  font-size: clamp(16px, 1.15vw, 18px);
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 14px rgba(183, 150, 93, 0.18);
}
.about-careers-cta-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 22px rgba(183, 150, 93, 0.28);
}
.about-careers-cta-btn-arrow {
  display: inline-block;
  color: var(--nav-bg);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-careers-cta-btn:hover .about-careers-cta-btn-arrow {
  transform: translateX(4px);
}
@media (prefers-reduced-motion: reduce) {
  .about-careers-cta-btn,
  .about-careers-cta-btn:hover,
  .about-careers-cta-btn-arrow {
    transform: none !important;
    transition: none !important;
  }
}
@media (max-width: 768px) {
  .about-careers-cta {
    padding: clamp(88px, 14vw, 120px) var(--edge-pad);
  }
  .about-careers-cta-grid {
    background-size: 48px 48px;
  }
  .about-careers-cta-headline {
    font-size: clamp(32px, 8.2vw, 52px);
    letter-spacing: -0.03em;
    line-height: 1.02;
  }
  .about-careers-cta-body {
    font-size: clamp(16px, 4.2vw, 18px);
    max-width: none;
    margin-bottom: clamp(28px, 6.5vw, 40px);
  }
  .about-careers-cta-btn {
    padding: 14px 28px;
  }
}



/* ══════════════════════════════════════
   LEADERSHIP SECTION (About page)
   ══════════════════════════════════════ */

.leadership {
  margin-top: clamp(56px, 7vw, 96px);
}

.leadership-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
  margin-bottom: clamp(16px, 2vw, 24px);
}

.leadership-eyebrow::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--gold-dark);
  flex-shrink: 0;
}

.leadership-headline {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--teal);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 4vw, 56px);
}

.leadership-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 3vw, 36px);
  align-items: start;
}

.leadership-photo {
  width: clamp(150px, 15vw, 220px);
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #d5d1cc;
  flex-shrink: 0;
}

.leadership-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.leadership-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 4px;
}

.leadership-name {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 8px 0;
}

.leadership-title {
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.01em;
  margin: 0 0 clamp(14px, 1.5vw, 22px) 0;
}

.leadership-bio {
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 400;
  color: rgba(16, 32, 39, 0.65);
  line-height: 1.65;
  margin: 0 0 clamp(14px, 1.5vw, 20px) 0;
  max-width: 44ch;
}

/* Timeline wrapper — eyebrow + generous spacing */
.tl-wrapper {
  margin-top: 0;
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.tl-eyebrow {
  display: block;
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #746547;
  margin: 0 0 clamp(32px, 4vw, 52px) 0;
  text-align: center;
}

@media (max-width: 900px) {
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: clamp(40px, 6vw, 56px);
  }
}

@media (max-width: 480px) {
  .leadership-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .leadership-photo {
    width: clamp(100px, 28vw, 140px);
  }
}

/* ── Mobile: fix story-facts grid (cascade override) ── */
@media (max-width: 900px) {
  .story-facts {
    grid-template-columns: repeat(2, 1fr);
    row-gap: clamp(24px, 3vw, 36px);
  }
  .story-fact:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }
}
