.pin-spacer{
  background: linear-gradient(0deg, #E8F0ED 0%, #e8ede8 100%);
}
.intro {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--panel-b);
  padding: 2rem;
}
.intro .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 1.1rem;
}
.intro h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  line-height: 1.05;
  max-width: 16ch;
}
.intro .scroll-hint {
  margin-top: 3rem;
  font-size: 0.78rem;
  color: var(--brown);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.scroll-hint .arrow {
  width: 1px;
  height: 34px;
  background: var(--orange);
  position: relative;
  animation: pulse 1.8s ease-in-out infinite;
}
.scroll-hint .arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  transform: translateX(-50%);
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

.progress-rail {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--dash);
  z-index: 50;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--orange);
  transform-origin: left;
}

.track {
  display: flex;
  align-items: stretch;
  height: 100%;
  will-change: transform;
}

.panel {
  flex: 0 0 auto;
  height: 100%;
  position: relative;
  display: flex;
  align-items: stretch;
}

img.ph {
  height: 100%;
  width: auto;
  display: block;
  object-fit: cover;
}

.dash-row {
  height: 12px;
  background-image: repeating-linear-gradient(
    to right,
    var(--dash) 0 2px,
    transparent 2px 11px
  );
  opacity: 0.75;
}

/* ---------- Section 1: The Early Years ---------- */
.s1-title {
  background: var(--panel-a);
  width: 26vw;
  min-width: 300px;
  display: flex;
  align-items: center;
}
.s1-title .inner {
  padding: 0 3rem;
}
.s1-title h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.05;
}
.s1-title h2 b {
  display: block;
  font-weight: 700;
}
.s1-underline {
  margin-top: 1.4rem;
  width: 110px;
  height: 14px;
}
.s1-underline path {
  stroke-dasharray: 130;
  stroke-dashoffset: 130;
}

.s1-text {
  background: var(--panel-b);
  width: 36vw;
  min-width: 400px;
  position: relative;
  padding: 0 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.s1-text .dash-row {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 130px;
}
.s1-text .dash-row.bottom {
  top: auto;
  bottom: 22px;
  left: 24px;
  right: auto;
}
.swoosh {
  position: absolute;
  top: 38%;
  left: 52%;
  width: 170px;
  height: 110px;
  overflow: visible;
}
.swoosh path {
  fill: none;
  stroke: url(#swooshGrad);
  stroke-width: 9;
  stroke-linecap: round;
}
.swoosh path.solid {
  stroke: var(--orange);
  stroke-width: 6;
}
.date-block {
  position: relative;
  max-width: 280px;
}
.date-block .year {
  font-family: 'LT Superior Serif';
    font-size: 32px;
    margin-bottom: 5px;
    color: var(--black);
}
.date-block .desc {
    font-size: 16px;
    color: var(--black);
     line-height: 1.5;
}
.s1-d1 {
  align-self: flex-start;
}
.s1-d2 {
  align-self: flex-end;
  margin-top: 2.6rem;
}

/* ---------- Section 2: 1989 / 1992 / 1997 ---------- */
.s2-text {
  background: var(--panel-c);
  width: 44vw;
  min-width: 460px;
  position: relative;
  padding: 0 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.s2-text .dash-row.top {
  position: absolute;
  top: 20px;
  left: 24px;
  right: 24px;
  width: auto;
}
.s2-text .dash-row.bot {
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: 24px;
  width: auto;
}
.s2-row {
  display: flex;
  gap: 4rem;
}
.s2-row.second {
  margin-top: 2.4rem;
  padding-left: 8rem;
}

/* ---------- Section 3: The First Venture ---------- */
.s3-text {
  background: var(--panel-d);
  width: 40vw;
  min-width: 420px;
  position: relative;
  padding: 0 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.s3-text .dash-row.tl {
  position: absolute;
  top: 20px;
  left: 24px;
  width: 120px;
}
.s3-text .dash-row.bl {
  position: absolute;
  bottom: 20px;
  left: 24px;
  width: 120px;
}
.s3-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
}
.s3-title b {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  margin-top: 0.1rem;
}
.s3-para {
  margin-top: 1rem;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--brown);
  max-width: 32ch;
}
.s3-inset {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 118px;
  height: auto;
  border: 3px solid var(--panel-b);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.s3-elbow {
  position: absolute;
  width: 120px;
  height: 90px;
  left: 16px;
  top: 48%;
  overflow: visible;
}
.s3-elbow path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
}
.s3-date {
  margin-top: 2.6rem;
  margin-left: 3.2rem;
}
.s3-date .year {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}
.s3-date .desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--brown);
  max-width: 30ch;
}

/* ---------- Section 4: Turning to Energy ---------- */
.s4-text {
  background: var(--panel-a);
  width: 42vw;
  min-width: 460px;
  position: relative;
  padding: 0 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.s4-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.2rem;
}
.s4-title b {
  display: block;
  font-size: 2.3rem;
  font-weight: 700;
}
.s4-underline {
  margin-top: 0.6rem;
  width: 190px;
  height: 14px;
}
.s4-underline path {
  stroke-dasharray: 230;
  stroke-dashoffset: 230;
}
.s4-dates {
  display: flex;
  gap: 3.5rem;
  margin-top: 1.6rem;
}
.s4-dates .date-block {
  max-width: 230px;
}
.s4-dates .date-block.offset {
  margin-top: 1.4rem;
}
.s4-inset-wrap {
  position: absolute;
  bottom: 20px;
  right: 26px;
  text-align: right;
}
.s4-inset {
  width: 150px;
  height: auto;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  display: block;
}
.s4-caption {
  font-size: 0.62rem;
  line-height: 1.4;
  color: var(--brown);
  margin-top: 0.4rem;
  max-width: 150px;
}

.end-panel {
  background: var(--panel-b);
  width: 28vw;
  min-width: 320px;
  display: flex;
  align-items: center;
}
.end-panel .inner {
  padding: 0 3rem;
}
.end-panel h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.3;
}
.end-panel p {
  margin-top: 1rem;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--brown);
  max-width: 32ch;
}


.mobile-view {
  display: none;
}

.timeline--content--1 {
  background: #ebd3c8;
  min-width: 404px;
  display: block;
  padding-top: 82px;
  padding-left: 50px;
}

.timeline--image--1, .timeline--image--2, .timeline--image--3, .timeline--image--4, .timeline--image--5{ position:relative; }

.timeline--content--1 .inner {
    padding: 0;
}

.timeline--content--1 h2 {
    font-family: 'LT Superior Serif';
    font-size: 48px;
    color: var(--black);
}

.timeline--content--1 h2 > span {
    font-size: 95px;
    display: block;
}

.timeline--content--2 {
    background: #FCEFE9;
    min-width: 845px;
    /* width: 100%; */
}

.timeline--content--2 .s1-d1 {
    min-width: 310px;
}

.timeline--content--2 .s1-d2 {
    min-width: 330px;
}

.timeline--content--3 {
    min-width: 860px;
    /* width: 100%; */
    background: #FCEFE9;
}

.timeline--content--3 .s2-row {
    justify-content: space-between;
    position: relative;
    top: 20px;
}

.timeline--content--3 .s2-row .date-block:nth-child(1) {
    min-width: 305px;
    width: 100%;
}

.timeline--content--3 .s2-row .date-block:nth-child(2) {
    min-width: 375px;
    width: 100%;
}

.timeline--content--3 .s2-row.second {
    padding-left: 0;
    justify-content: flex-end;
}

.timeline--content--3 .s2-row.second .date-block {
    min-width: 345px;
    width: 100%;
    position: relative;
    top: 20px;
}

.timeline--content--4 {
    background: #FCEFE9;
    min-width: 925px;
    /* width: 100%; */
    padding-left: 40px;
    padding-right: 60px;
}

.timeline--content--4 .s3-title {
    font-size: 40px;
    font-family: 'LT Superior Serif';
    line-height: 1;
    color: var(--black);
    margin-top: 5px;
}

.timeline--content--4 .s3-title > span {
    font-size: 95px;
    display: block;
    line-height: 0.8;
}

.timeline--content--4 .s3-para {
    min-width: 325px;
    width: 100%;
    margin-top: 0;
    color: var(--black);
}

.timeline--content--4 .s3-date {
    min-width: 430px;
    margin-left: auto;
    margin-right: 0;
    max-width: min-content;
}

.timeline--content--4 .s3-date .desc {
    max-width: 100%;
    font-size: 16px;
    color: var(--black);
    line-height: 1.5;
}

.timeline--content--4 .s3-date .year {
    font-size: 32px;
    font-family: 'LT Superior Serif';
    font-weight: 400;
    margin-bottom: 5px;
}

.timeline--content--4 .s3-inset {
    min-width: 213px;
    right: 60px;
    top: 30%;
}

.timeline--content--5 {
    min-width: 790px;
    /* width: 100%; */
    background: #F3DCD2;
    padding-left: 40px;
    padding-right: 30px;
}
.timeline--content--5 .s4-title {
    font-size: 40px;
    font-family: 'LT Superior Serif';
    line-height: 1;
    color: var(--black);
    margin-top: 35px;
}

.timeline--content--5 .s4-title > span {
    font-size: 95px;
    display: block;
    line-height: 1;
}

.timeline--content--5 .s4-dates {
    justify-content: space-between;
    gap: 20px;
    margin-top: 7%;
}

.timeline--content--5 .s4-dates .date-block {
    min-width: 405px;
    /* width: 100%; */
}

.timeline--content--5 .s4-dates .date-block.offset {
    min-width: 255px;
    /* width: 100%; */
    margin-top: 0;
}

.timeline--image--1, .timeline--image--2, .timeline--image--3, .timeline--image--4, .timeline--image--5 {
    position: relative;
}

.timeline--content--1, .timeline--content--2, .timeline--content--3, .timeline--content--4, .timeline--content--5 {
    overflow: hidden;
}

.timeline--image--1 .bottom--title, .timeline--image--2 .bottom--title, .timeline--image--3 .bottom--title, .timeline--image--4 .bottom--title, .timeline--image--5 .bottom--title {
    position: absolute;
    bottom: 30px;
    right: 30px;
    color: var(--white);
    font-size: 16px;
    max-width: 335px;
}

.timeline--image--1:before, .timeline--image--2:before, .timeline--image--3:before, .timeline--image--4:before, .timeline--image--5:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(360deg, var(--black) -30%, transparent 15%);
}

.lines {
  width: 100%;
  height: 60px;

  background: repeating-linear-gradient(to right, #c8c1be 0, #c8c1be 2px, transparent 2px, transparent 40px);
  position: absolute;
    left: -15px;
    width: 100%;
    top: 25px;
}

.lines-bottom{
	width: 100%;
  height: 60px;

  background: repeating-linear-gradient(to right, #c8c1be 0, #c8c1be 2px, transparent 2px, transparent 40px);
  position: absolute;
    left: -15px;
    width: 33%;
    bottom: 25px;
}

.horizontal-wrap {
    position: relative;
        z-index: 2;
    overflow: hidden;
}

.horizontal-sticky {
    position: sticky;
    top: 0;
    height: 544px;
    overflow: auto;
}
.horizontal-sticky::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}

.track {
    display: flex;
    align-items: stretch;
    height: 100%;
    will-change: transform;
}
.bg--svg {
    position: absolute;
    right: 0;
    top: 315px;
}
.bg--svg--2{
	top: 115px;
  left: 0;
}

.bg--svg--2 img{
	width: 100%;
}
.bg--svg.bg--svg-4 {
    top: 267px;
}
.bg--svg.bg--svg-5 {
    left: 0;
    top: 260px;
}
.bg--svg.bg--svg-5 img {
    width: 100%;
}

@media (max-width: 768px) {
  .mobile-view {
    display: block !important;
  }
  .horizontal-sticky{
    overflow: auto;
    height: 450px;
  }
  .horizontal-wrap{
    height: 450px;
  }

  /*  */
  .timeline--content--1 h2 {
    font-size: 32px;
}

.timeline--content--1 h2 > span {
    font-size: 65px;
}
.timeline--content--1 {
    min-width: 270px;
}

.lines, .lines-bottom {
    height: 30px;
}

.s1-text {
    padding: 0 1.8rem;
}

.timeline--content--2 .s1-d1 {
    margin-top: 0px;
    min-width: 250px;
}

.date-block .year {
    font-size: 26px;
    margin-bottom: 0px;
}

.date-block .desc {
    font-size: 14px;
}

.timeline--content--4 .s3-title {
    font-size: 32px;
}

.timeline--content--4 .s3-title > span {
    font-size: 65px;
}

.timeline--content--4 .s3-date {
    min-width: 400px;
}

.timeline--content--2 {
    min-width: 700px;
    row-gap: 20px;
}

.timeline--content--3 {
    min-width: 700px;
    row-gap: 70px;
}

.timeline--content--3 .s2-row .date-block:nth-child(1) {
    min-width: 250px;
}

.timeline--content--3 .s2-row .date-block:nth-child(2) {
    min-width: 250px;
}

.timeline--content--3 .s2-row {
    margin-top: 0px;
    padding-right: 10px;
}

.timeline--content--3 .s2-row.second {
    padding-bottom: 10px;
}

.timeline--content--5 .s4-title {
    font-size: 32px;
}

.timeline--content--5 .s4-title > span {
    font-size: 65px;
}

.timeline--content--5 {
    min-width: 650px;
}

.timeline--content--5 .s4-dates .date-block {min-width: 300px;}

.timeline--content--5 .s4-dates .date-block.offset {
    min-width: 270px;
}
.bg--svg.bg--svg--1 {
    top: 240px;
        min-width: 200px;
        right: -110px;
}

.bg--svg img {
    width: 100%;
}

.bg--svg.bg--svg--2 {
    min-width: 100%;
    max-width: unset;
    top: 80px;
}
.bg--svg.bg--svg-3 {
            min-width: max-content;
        left: 0px;
        top: 240px;
}

.bg--svg.bg--svg-4 {
    top: 202px;
    min-width: 100%;
    max-width: unset;
}

.bg--svg.bg--svg-5 {
            /* max-width: 350px; */
            top: 195px;
            left: 0px;
            width: 100%;
}
.timeline--content--4 .s3-para{
  font-size: 14px;
}

.timeline--image--1 .bottom--title, .timeline--image--2 .bottom--title, .timeline--image--3 .bottom--title, .timeline--image--4 .bottom--title, .timeline--image--5 .bottom--title {
    font-size: 14px;
}

}