/* =========================
  08-reference-stack.css
========================= */

.ref-stack {
  background: #000;
}

.ref-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 38% 62%;
  align-items: center;
  gap: 50px;
  padding: 80px 7vw;
  background: #000;
  color: #fff;
  overflow: hidden;
}

.ref-panel figure {
  margin: 0;
  height: 70vh;
  overflow: hidden;
  border-radius: 2px;
}

.ref-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ref-text span {
  display: block;
  margin-bottom: 18px;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #00fac9;
}

.ref-text h2 {
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 300;
  line-height: .95;
}


.ref-description {
    max-width: 550px;
    font-size: 1.15rem;
    line-height: 1.7;
    opacity: .8;
	color:#ddd;
	font-weight:300;
}

.ref-description p {
    margin: 0;
}

.no-wrap {
    white-space: nowrap;
}

.ref-partner {
    margin-top: 22px;
    font-size: .85rem;
    color: rgba(255,255,255,.65);
    letter-spacing: .03em;
}

.ref-partner strong {
    color: #00fac9;
    font-weight: 300;
}

.ref-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
    margin: 25px 0 0;
    padding: 0;
}

.ref-badges li {
    padding: 8px 18px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 3px;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}


.ref-cta-button {
  display: inline-block;
  margin-top: 42px;
  padding: 15px 34px;
  border: 1px solid #00fac9;
  color: #00fac9;
  text-decoration: none;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: .25s;
}

.ref-cta-button:hover,
.ref-cta-button:focus {
  background: #00fac9;
  color: #000;
}

.ref-cta-button:focus {
    outline: none;
    box-shadow: none;
}

.ref-cta-button:focus-visible {
    background: #00fac9;
    color: #111;
    outline: 2px solid #00fac9;
    outline-offset: 5px;
    box-shadow: none;
}





/* 08 Reference Stack – Tablet Landscape */
@media (min-width: 901px) and (max-width: 1100px) {

    .ref-panel {
        grid-template-columns: 44% 56%;
        gap: 36px;
    }

    .ref-panel figure {
        height: 50vh;
    }

	 .ref-panel:last-child {
        min-height: 78vh;
        height: 78vh;
    }
}



/* 08 Reference Stack – Tablet Portrait */
@media (min-width: 768px) and (max-width: 900px) {

    .ref-panel {
        grid-template-columns: 1fr;
        gap: 45px;
        padding: 110px 20px 70px;
    }

    .ref-panel figure {
        width: 100%;
        height: 42vh;
    }

    .ref-panel img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}





@media (max-width: 767px) {
    .ref-panel {
        position: sticky;
        top: 0;
        height: 100svh;
        min-height: 100svh;
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        gap: 24px;
        padding: 85px 20px 24px;
    }

    .ref-text h2 {
        font-size: 2.1rem;
        line-height: 1;
        margin-bottom: 14px;
    }

    .ref-description {
        font-size: 1.1rem;
        line-height: 1.5;
		color:#ddd;
    }

    .ref-badges {
        gap: 8px;
        margin-top: 16px;
    }

    .ref-badges li {
        padding: 6px 12px;
        font-size: .7rem;
    }

    .ref-cta-button {
        margin-top: 20px;
        padding: 11px 22px;
    }

    .ref-panel figure {
        width: 100%;
        height: 30vh;
        min-height: 0;
    }
}

