/* ---------- Our Story page ---------- */
.story-page { background: var(--bg); }

.intro-active .story-hero-bg { z-index: 3001; }

/* ---------- Hero ---------- */
.story-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(ellipse at 72% 55%, #1B2A4A 0%, #0D1730 70%);
}

.story-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 16vh;
  background: linear-gradient(to bottom, rgba(245,246,248,0) 0%, rgba(245,246,248,0.4) 50%, var(--bg) 100%);
  pointer-events: none;
  z-index: 2;
}

.story-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.story-hero-building {
  position: absolute;
  right: 4%;
  top: 50%;
  height: min(118vh, 165vw);
  aspect-ratio: 1080 / 1920;
  transform: translateY(-48%);
  opacity: 0.55;
}

.story-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(to right, rgba(230,233,238,.05) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(to bottom, rgba(230,233,238,.05) 0 1px, transparent 1px 120px);
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, black 10%, transparent 70%);
          mask-image: radial-gradient(ellipse at 30% 50%, black 10%, transparent 70%);
}

.story-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: var(--nav-h) 48px 0;
}

.story-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #D9BE85;
  opacity: 0;
}

.story-eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: #D9BE85;
}

.story-title {
  margin: 26px 0 30px;
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: clamp(46px, 8vw, 120px);
  line-height: 1.04;
  letter-spacing: -0.5px;
}

.story-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.story-title .line > span { display: inline-block; transform: translateY(110%); }
.story-title .accent { font-weight: 400; color: #D9BE85; }

.story-lead {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(230,233,238,0.78);
  opacity: 0;
}

.story-scroll {
  position: absolute;
  left: 50%;
  bottom: calc(16vh + 10px);
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(230,233,238,0.75);
  opacity: 0;
}

.story-scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(230,233,238,0.2);
  position: relative;
  overflow: hidden;
}

.story-scroll-line::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 40%;
  background: var(--accent);
  animation: scrollDrop 1.8s cubic-bezier(.6,0,.4,1) infinite;
}

@media (max-height: 760px) {
  .story-scroll { display: none; }
}

@keyframes scrollDrop {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding: 120px 0 140px;
  background: var(--bg);
}

.timeline-head {
  text-align: center;
  padding: 0 24px 40px;
}

.timeline-head > * { opacity: 0; transform: translateY(30px); }

.timeline-track {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 48px 0;
}

.timeline-chapters {
  position: relative;
  padding-bottom: 80px;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  background: rgba(20,33,61,0.12);
}

.timeline-line-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(166,138,78,0.25), var(--accent));
  transform: scaleY(0);
  transform-origin: top center;
}

.timeline-head-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(166,138,78,0.18), 0 0 24px rgba(166,138,78,0.55);
}

.chapter {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 150px;
  align-items: center;
  padding: 80px 0;
}

.chapter-node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid rgba(166,138,78,0.6);
  background: var(--bg);
  transform: translate(-50%, -50%);
  transition: background .5s ease, box-shadow .5s ease, border-color .5s ease;
  z-index: 2;
}

.chapter-node.is-active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 7px rgba(166,138,78,0.14);
}

.chapter-text { text-align: right; }
.chapter:nth-of-type(even) .chapter-text { order: 2; text-align: left; }
.chapter:nth-of-type(even) .chapter-media { order: 1; }

.chapter-num {
  display: block;
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: clamp(64px, 7vw, 96px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(166,138,78,0.7);
  margin-bottom: 18px;
}

.chapter-text h3 {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 34px);
  color: var(--heading);
  margin-bottom: 16px;
}

.chapter-text p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--body);
  max-width: 430px;
  margin-left: auto;
}

.chapter:nth-of-type(even) .chapter-text p { margin-left: 0; }

.chapter-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 40px 70px -40px rgba(20,33,61,0.45);
  clip-path: inset(0 0 100% 0);
}

.chapter-media img {
  position: absolute;
  left: 0;
  top: -8%;
  width: 100%;
  height: 116%;
  object-fit: cover;
}

.timeline-end {
  position: relative;
  text-align: center;
  padding: 40px 0 0;
}

.chapter-node-end { top: 0; }

.timeline-count {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: clamp(110px, 17vw, 230px);
  line-height: 1;
  color: var(--heading);
}

.timeline-count sup {
  font-size: 0.4em;
  color: var(--accent);
  vertical-align: top;
  position: relative;
  top: 0.35em;
}

.timeline-count-label {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--body);
  margin-top: 18px;
}

/* ---------- Director ---------- */
.director {
  position: relative;
  padding: 140px 48px 180px;
  background: var(--bg);
}

.director-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(50px, 8vw, 130px);
  align-items: center;
}

.director-portrait { position: relative; }

.director-frame {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(166,138,78,0.55);
  opacity: 0;
}

.director-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(160deg, #1B2A4A 0%, #0D1730 100%);
  clip-path: inset(100% 0 0 0);
}

.director-monogram {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: clamp(110px, 14vw, 190px);
  letter-spacing: 6px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(217,190,133,0.75);
}

.director-photo img {
  position: absolute;
  left: 0;
  top: -6%;
  width: 100%;
  height: 112%;
  object-fit: cover;
}

.director-copy .section-eyebrow { opacity: 0; }

.director-name {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: clamp(54px, 8vw, 118px);
  line-height: 0.98;
  letter-spacing: -1px;
  color: var(--heading);
  margin: 10px 0 26px;
}

.director-name .line { display: block; overflow: hidden; padding-bottom: 0.05em; }
.director-name .line > span { display: inline-block; transform: translateY(110%); }
.director-name .line:nth-child(2) > span { font-weight: 400; }

.director-role {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 30px;
  opacity: 0;
}

.director-role i {
  display: block;
  width: 46px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.director-desc {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--body);
  opacity: 0;
}

.director-quote {
  position: relative;
  max-width: 560px;
  margin-top: 40px;
  padding-left: 28px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--heading);
  opacity: 0;
}

.director-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--accent);
  transform: scaleY(var(--q, 0));
  transform-origin: top;
}

/* ---------- Future ---------- */
.future {
  position: relative;
  padding: 240px 48px 220px;
  background: #0D1730;
  color: #fff;
}

.future::before,
.future::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 220px;
  pointer-events: none;
  z-index: 0;
}

.future::before { top: 0; background: linear-gradient(to bottom, var(--bg), rgba(13,23,48,0)); }
.future::after { bottom: 0; background: linear-gradient(to top, var(--bg), rgba(13,23,48,0)); }

.future-head {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto 80px;
  text-align: center;
}

.future-head > * { opacity: 0; transform: translateY(30px); }

.future-lead {
  max-width: 560px;
  margin: 22px auto 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(230,233,238,0.72);
}

.future-stack {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: 6vh;
}

.future-card {
  position: sticky;
  top: calc(var(--nav-h) + 3vh + var(--i) * 26px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: clamp(360px, 56vh, 460px);
  margin-bottom: 24vh;
  overflow: hidden;
  border-radius: 4px;
  background: linear-gradient(145deg, #1B2A4A 0%, #14213D 100%);
  border: 1px solid rgba(230,233,238,0.09);
  box-shadow: 0 -20px 60px -30px rgba(0,0,0,0.55);
  transform-origin: top center;
  will-change: transform;
}

.future-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5vw, 64px);
}

.future-tag {
  align-self: flex-start;
  padding: 7px 14px;
  border: 1px solid rgba(217,190,133,0.45);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #D9BE85;
  margin-bottom: 30px;
}

.future-num {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 54px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(217,190,133,0.6);
  margin-bottom: 14px;
}

.future-copy h3 {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 38px);
  margin-bottom: 16px;
}

.future-copy p {
  max-width: 420px;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(230,233,238,0.72);
}

.future-img {
  position: relative;
  overflow: hidden;
}

.future-img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, #17243F 0%, rgba(23,36,63,0) 35%);
}

.future-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
}

.future-close {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 90px;
}

.future-close-line {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.25;
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(30px);
}

.story-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 40px 18px 46px;
  border: 1px solid #D9BE85;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  overflow: hidden;
  opacity: 0;
  transition: color .4s ease;
}

.story-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #D9BE85;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}

.story-cta:hover { color: #0D1730; }
.story-cta:hover::before { transform: scaleX(1); }
.story-cta-arrow { display: flex; transition: transform .4s cubic-bezier(.4,0,.2,1); }
.story-cta:hover .story-cta-arrow { transform: translateX(5px); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .story-hero-content { padding: var(--nav-h) 24px 0; }
  .story-hero-building { right: -30%; opacity: 0.35; }

  .timeline-track { padding: 30px 20px 0; }
  .timeline-line { left: 26px; transform: none; }
  .timeline-head-dot { left: 0.5px; }
  .chapter {
    grid-template-columns: 1fr;
    row-gap: 28px;
    padding: 50px 0 50px 46px;
  }
  .chapter-node { left: 26.5px; top: 70px; }
  .chapter-text, .chapter:nth-of-type(even) .chapter-text { order: 1; text-align: left; }
  .chapter:nth-of-type(even) .chapter-media { order: 2; }
  .chapter-text p { margin-left: 0; }
  .timeline-end { padding: 40px 0 0 46px; text-align: left; }
  .chapter-node-end { left: 26.5px; top: 0; }

  .director { padding: 100px 24px 120px; }
  .director-inner { grid-template-columns: 1fr; }
  .director-portrait { max-width: 420px; }

  .future { padding: 200px 20px 180px; }
  .future-card { position: relative; top: auto; margin-bottom: 24px; grid-template-columns: 1fr; grid-template-rows: auto 220px; }
  .future-img { order: 2; }
  .future-img::before { background: linear-gradient(to bottom, #17243F 0%, rgba(23,36,63,0) 40%); }
}
