/* Bring in the fonts */
@font-face {
    font-family: 'Heuvel Grotesk';
    src: url('../fonts/HeuvelGrotesk-Regular.woff2') format('woff2'),
         url('../fonts/HeuvelGrotesk-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Heuvel Grotesk';
    src: url('../fonts/HeuvelGrotesk-SemiBold.woff2') format('woff2'),
         url('../fonts/HeuvelGrotesk-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Heuvel Grotesk';
    src: url('../fonts/HeuvelGrotesk-Bold.woff2') format('woff2'),
         url('../fonts/HeuvelGrotesk-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Heuvel Grotesk';
    src: url('../fonts/HeuvelGrotesk-Black.woff2') format('woff2'),
         url('../fonts/HeuvelGrotesk-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Variables */
:root {
  /* Colors */
  --color-purple-dark: #4A0072;
  --color-purple: #8000C2;
  --color-purple-light: #E8E6FF;
  --color-purple-mid: #CBC3E3;
  --color-purple-xlight: #F5F4FF;
  --color-purple-grey: #8d739a;
  --color-orange-dark: #CC3E00;
  --color-orange: #FF4E00;
  --color-orange-light: #ffdfc7;
  --color-green: #8EA604;
  --color-green-light: #f2f9c7;
  --color-green-dark: #778B04;
  --color-off-black: #444444;
  --color-off-white: #FAF9F6;
  --color-off-grey: #D0D4D9;
  
  /* Typography */
  --font-family: 'Heuvel Grotesk', sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.7;
  
  /* Common values */
  --border-radius-lg: 35px;
  --section-padding: 2rem 5%;
  
  /* Backgrounds */
  --background-hero: radial-gradient(circle at 50% 50%, #d0d0d0 0%, #d0d0d0 25%, #909090 100%);
  --bg-img: url("../../images/texture.png");
}

/* Base styles */
html {
  scroll-behavior: smooth;
  font-size: var(--font-size-base);
}

body {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--font-family);
  font-weight: 400;
  line-height: var(--line-height-base);
  color: var(--color-off-black);
  background: var(--bg-img) repeat 0 0;
  background-color: var(--color-off-white);
  background-blend-mode: multiply;
}

/* Universal image styling - rounded corners and shadow for all images except contact section */
img {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Remove styling from contact section images */
#contact img,
#anim-head img {
  border-radius: 0;
  box-shadow: none;
}

/* Remove styling from images in lightbox */
.gslide-image img,
.glightbox-container img {
  border-radius: 0;
  box-shadow: none;
}

/* Image icon overlays - for lightbox and external links */
.image-icon-overlay {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: #FAF9F6;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  z-index: 10;
}

.image-icon-overlay svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  color: #000;
}

/* Ensure parent containers are positioned for absolute icon placement */
.gallery-container a,
.single-image-wrapper a,
.image-holder a,
.demo-image-link {
  position: relative;
}

a{
  color: var(--color-purple-dark);
}

a:hover{
  color: var(--color-purple);
}

strong, .strong{ 
	/* font-family: var(--font-family-SBld); */
	font-weight: 600;
}


.plain{
  /* font-family: var(--font-family); */
  font-weight: 400;
  color: var(--color-off-black);
}

/* Paragraph spacing */
p {
  margin-bottom: 1.25rem;
  /* max-width: 800px;
  margin: 0 auto; */
}

p:last-child {
  margin-bottom: 0;
}

/* List spacing */
ul{
  max-width: 800px;
  margin: 0 auto;
}

ul h4{
  position: relative;
  left: -30px;
}

ol, ul {
  margin-bottom: 1.5rem;
}

ol li, ul li {
  margin-bottom: 0.5rem;
}

ol li:last-child, ul li:last-child {
  margin-bottom: 0;
}

.image-fit{
  width: 85%;
  margin: 0 auto;
  display: block;
}

/* .img-spacer{
  margin: 20px auto;
} */

/* Typography - Mobile First */
h1, h2 {
  font-size: 34px;
  line-height: 1.1;
  	/* font-family: var(--font-family-Blk); */
	font-weight: 900;;
}

h1 {
  background-color: var(--color-purple-dark);
  color: var(--color-off-white);
  padding: 1rem;
  text-align: center;
  border-radius: 0 0 35px 35px;
  margin: 0;
}
h1.page2{
  padding-top: 86px;
  position: relative;
}

h2 {
  line-height: 1.2;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-off-black);
}

#contact h2 {
  margin-bottom: 0;
}

h3, h4 {
  font-size: 22px;
  line-height: 1.4;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
  .side-by-side h3{
    font-size: 18px;
  }

h2, h4 {
  	/* font-family: var(--font-family-Blk); */
	font-weight: 900;;
}

h5 {
  width: 100%;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-purple-dark);
  border-bottom: 1px solid var(--color-purple-dark);
}

h5.on-dark{
  color: var(--color-off-white);
  border-bottom: 1px solid var(--color-off-grey);

}

/* h2 with h3 following - remove bottom border */
h2:has(+ h3) {
  border-bottom: none;
  margin-bottom: 0;
}

/* h3 styling */
h3, section.style2 h3.subhead {
  background-color: var(--color-purple-dark);
  color: var(--color-off-white);
  border-radius: 15px 15px 0 0;
  padding: 15px 30px 5px 30px;
  width: auto;
  margin: 1rem 0 2rem 0;
}

/* h3 that follows h2 - negative margin to connect */
h2 + h3 {
  margin: -1rem 0 2rem 0;
}
.special{
  color: var(--color-purple-dark);
}
.center-narrow{
  width: 75%;
  text-align: center;
  position: relative;
  margin: 0 auto;
}

/* h3 in dark sections - flip colors */
.style3 h3,
.style4 h3 {
  background-color: var(--color-purple-light);
  color: var(--color-purple-dark);
}

h3.subhead {
  color: var(--color-off-white);
  text-align: center;
  /* padding: 10px 0 0 0; */
  margin: 1rem 0 1rem 0;
  /* border-bottom: 5px solid var(--color-purple-dark); */
  letter-spacing: 5px;
  text-transform: uppercase;
}

h2 + h3.subhead{
  margin-top: 1rem;
}

.box-title, .box-title-sml {
  	/* font-family: var(--font-family-Blk); */
	font-weight: 900;;
  font-size: 14vw;
  text-align: center;
  line-height: 0.5;
  text-shadow: 0 0 8px #fff;
  display: block;
  letter-spacing: .2px;
}
.box-title-sml{
  font-size: 10vw;
}


.box-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    z-index: 3;
    position: relative;
}

.box-subtitle {
    font-size: 28px;
    line-height: 1.2;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    padding: 8px;
    font-weight: 700;
    text-align: center;
    max-width: 80%;
    opacity: 0;
    transform: translateY(-10px);
}

.box-subtitle.animate-in {
    animation: subtitleFadeIn 0.6s ease-out forwards;
    animation-delay: 0.2s;
}

@keyframes subtitleFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .box-content {
        gap: 1rem;
    }
    
    .box-subtitle {
        font-size: 18px;
        padding: 6px;
        border-radius: 18px;
        max-width: 90%;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 900px) {
    .box-subtitle {
        font-size: 22px;
        padding: 7px;
        border-radius: 22px;
    }
}



.eyebrow {
  position: relative;
  top: 24px;
  left: inherit;
	/* font-family: var(--font-family-Bld); */
	font-weight: 700;
  letter-spacing: 5px;
  font-size: 14px;
  margin-bottom: 0;
}

.eyebrow.dark {
  color: var(--color-purple-light);
}

bigQuote, medQuote {
  display: block;
  font-size: 1.2em;
  line-height: 1.6;
  margin: 1.5rem 0;
  padding-bottom: 4px;
  color: var(--color-purple-dark);
  	/* font-family: var(--font-family-Blk); */
	font-weight: 900;;
  letter-spacing: .2px;
}
medQuote{
	/* font-family: var(--font-family-SBld); */
	font-weight: 600;
  letter-spacing: 0;
}

/* Layout - Mobile First */
.wrapOuter {
  width: 100%;
  position: relative;
  overflow-x: hidden;
}

.wrapInner {
  width: 90%;
  position: relative;
  margin: 0 auto;
  padding: 3rem 5%;
}

#contact .wrapInner {
  padding-bottom: 0;
}

.box-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 0;
}

#contact .box-container{
  overflow: hidden;
  padding: 1rem 1rem 0 1rem;
}

.box-item {
  padding: 0;
  position: relative;
  /* overflow: hidden; */
  height: auto;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.triplets .box-item {
  display: block;
}

.triplets .box-item:has(bighonk){
  padding-bottom: 10rem;
}

.side-by-side{
  display: block;
  border: solid 1px var(--color-purple-dark);
  border-radius: 45px;
  background-color: var(--color-off-white);
  background-image: var(--bg-img);
  background-blend-mode: multiply;
}

.side-by-side h3{
  width: auto;
  margin-top: 0;
}

.side-by-side h4, .side-by-side ul, .side-by-side p{
  padding: 0 20px;
}

.side-by-side h4{
  margin-top: .8em;
}
.side-by-side ul, .side-by-side p{
  padding-bottom: 40px;
}

#contact .box-item {
  padding-bottom: 0;
  margin-bottom: 0;
  display: block;
}

.box-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.box-item > *:not(.box-canvas) {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}


bighonk{
  font-size: 7rem;
  font-weight: 900;
  width: 100%;
  text-align: center;
  display: block;
  color: var(--color-purple-mid);
  position: absolute !important;
  bottom: 0;
}

.box-item .img-spacer{
  margin: 35px auto;
}

/* Two-thirds / One-third layout - Mobile First */
.twothirds-third {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.twothirds,
.third {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.third {
  text-align: center;
}

.third img {
  max-width: 75%;
  height: auto;
  margin: 0 auto;
}

/* Box Sections - Mobile First */
#box-a {
  background: radial-gradient(#E8E6FF 25%, var(--color-off-white) 75%), var(--bg-img);
  background-blend-mode: multiply;
}

/* Transparent version for case study pages with canvas animations */
.box-item.has-canvas {
  background: transparent !important;
}

/* Takeaway boxes - same styling as challenge boxes */
#takeaway-a {
  background: radial-gradient(#E8E6FF 25%, var(--color-off-white) 75%), var(--bg-img);
  background-blend-mode: multiply;
}

#takeaway-d {
  background: radial-gradient(#ffdfc7 25%, var(--color-off-white) 75%), var(--bg-img);
  background-blend-mode: multiply;
}

#box-b, #box-c, #box-f {
  position: relative;
  top: -29px;
}

#box-c.c2{
  top: 29px;
  padding-bottom: 29px;
}

#box-c {
  order: 4;
}

#box-d {
  background: radial-gradient(#ffdfc7 25%, var(--color-off-white) 75%), var(--bg-img);
  background-blend-mode: multiply;
  order: 3;
}

#box-e {
  background: radial-gradient(#f2f9c7 25%, var(--color-off-white) 75%), var(--bg-img);
  background-blend-mode: multiply;
  order: 5;
}

#box-d, #box-e{
  padding-top: 10px;
}

#box-f {
  order: 6;
}

/* Navigation - Mobile First */
#bignav {
  width: 45%;
  max-width: 240px;
  min-width: 300px;
  height: 100%;
  position: fixed;
  top: 0;
  right: -300px;
  overflow-x: hidden;
  transition: right ease-in-out 0.3s;
  background-color: var(--color-purple-dark);
  border-radius: 60px 0 0 60px;
  z-index: 100;
}
#homelink{
  background-color: var(--color-purple-dark);
  height: 1px;
}

#bignav.sticky {
	position: fixed;
	top: 0;
  }

nav ul {
  padding: 60px 0 0 0;
  font-size: 18px;
	/* font-family: var(--font-family-Bld); */
	font-weight: 700;
  margin: 0 auto;
  width: 100%;
  display: block;
  list-style: none;
  /* background-color: var(--color-purple-dark); */
}

nav ul.main-nav {
  padding: 60px 0 0 0;
  min-width: 100%;
}

/* Subsection nav - only visible on case study pages on desktop, hidden on mobile */
nav ul.subsection-nav {
  display: none;
  padding: 0;
  margin: 0 auto;
  width: fit-content;
  font-size: 14px;
  /* font-family: var(--font-family); */
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav ul.subsection-nav li {
  display: inline-block;
  padding: 5px 15px;
}

/* nav ul.subsection-nav li.label{
  display: none;
} */

nav ul.subsection-nav a {
  color: var(--color-purple-mid);
}

nav ul.subsection-nav a:hover {
  color: var(--color-purple-light);
}

nav li {
  padding: 10px 20px;
  font-size: 18px;
  display: block;
}

/* Nested dropdown lists - mobile */
nav .dropdown {
  padding: 0 0 0 20px;
  font-size: 16px;
  /* font-family: var(--font-family); */
  font-weight: 400;
  list-style: none;
}

nav .dropdown > li {
  padding: 5px 20px;
}

/* Subsections - mobile */
nav .subsections {
  padding: 0 0 0 20px;
  font-size: 12px;
  /* font-family: var(--font-family); */
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  list-style: none;
}

nav .subsections li {
  padding: 3px 10px;
}

nav .subsections a {
  color: var(--color-purple-mid);
}

nav .subsections a:hover {
  color: var(--color-purple-light);
}

/* Main nav links - PAGE LINKS level */
nav > ul > li > a,
nav > ul > li > .main-link,
nav ul.main-nav > li > a,
nav ul.main-nav > li > .main-link {
  color: var(--color-purple-light);
	/* font-family: var(--font-family-Bld); */
	font-weight: 700;
  text-transform: uppercase;
}

/* Sub-page links (case studies) - Title Case, regular weight */
nav .dropdown > li > a {
  color: var(--color-purple-light);
  /* font-family: var(--font-family); */
  font-weight: 400;
  text-transform: none;
}

nav li.noLink{
  color: var(--color-purple-mid);
}

nav a {
  color: var(--color-off-white);
  text-decoration: none;
}

nav a:hover {
  color: #FFF;
}

nav .dark{
  color: var(--color-purple-mid);
}

.btn-open-img, .btn-close-img{
  height: 26px;
  width: 26px;
  padding: 2px;
}

.closebtn, 
.openBtn {
  display: block;
  position: absolute;
  top: 25px;
  right: 25px;
  background-color: var(--color-purple-light);
  padding: 10px;
  border-radius: 30px;
  height: 30px;
  width: 30px;
  cursor: pointer;
}

.openBtn {
  position: fixed;
  background-color: var(--color-purple);
  z-index: 50;
}

.closebtn:hover {
  background-color: var(--color-off-white);
}

.openBtn:hover {
  background-color: var(--color-purple-dark);
}

#navCover {
  /* display: none; */
  visibility: hidden;
  z-index: 10;
  height: 100%;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  background-color: var(--color-purple-dark);
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
#navCover.active{
  visibility: visible;
  opacity: .65;
}

/* Hero Section - Mobile First */
#canvcont {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #d0d0d0 0%, #d0d0d0 25%, #8d739a 100%), var(--bg-img);
  background-blend-mode: multiply;
  border-bottom: 1px solid var(--color-off-black);
}

.canvas-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.canvas-layer.back-canvas {
  z-index: 1;
}

.canvas-layer.front-canvas {
  z-index: 3;
}

.hello-text {
  position: absolute;
  left: 50%;
  top: calc(33% - 90px);
  font: 900 77px/.6 var(--font-family);
  color: var(--color-purple-dark);
  text-align: center;
  transform: translate(-50%, 0);
  z-index: 2;
  width: 320px;
  text-shadow: 0 0 8px #fff;
}

.title-line-h,
.title-line-v,
.title-text,
.title-subtitle {
  position: absolute;
  right: 17%;
  color: var(--color-off-black);
  opacity: 0;
  z-index: 10;
}

.title-line-h {
  display: none;
}

.title-line-v {
  display: block;
  top: 50%;
  left: 50%;
  height: 33%;
  width: 1px;
  background-color: var(--color-off-black);
  transform-origin: top;
  animation: drawLineV 1.5s ease-out forwards;
  opacity: 1;
}

.titlediv {
  position: absolute;
  bottom: 17%;
  left: 55%;
  max-width: 35%;
}

.title-text {
  font-size: 30px;
  	/* font-family: var(--font-family-Bld); */
	font-weight: 700;;
  line-height: 1;
  padding-bottom: 1px;
  color: var(--color-purple-dark);
  animation: fadeInUp 0.5s ease-out forwards;
  animation-delay: 1.5s;
}

.title-subtitle {
  font-size: 12px;
  max-width: 15%;
  animation: fadeInDown 0.5s ease-out forwards;
  animation-delay: 1.5s;
}

.title-text, .title-subtitle {
  position: relative;
  text-align: left;
  top: auto;
  left: auto;
  right: auto;
  width: auto;
  max-width: 100%;
}

/* Form Styles - Mobile First */
.contactForm {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-field {
  position: relative;
}

.form-field label {
  display: block;
  margin-bottom: 0.5rem;
  	/* font-family: var(--font-family-Bld); */
	font-weight: 700;;
}

.form-field input,
.form-field textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-green);
  border-radius: 4px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-green-dark);
  box-shadow: 0 0 0 2px var(--color-green-light);
}

.submit-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--color-green-dark);
  color: white;
  border: none;
  border-radius: 2rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background-color: var(--color-green);
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

#form-messages {
  border-radius: 4px;
  font-size: 18px;
  text-align: center;
}

#form-messages.success {
  background-color: var(--color-green-light);
  border: 1px solid var(--color-green);
  color: var(--color-green-dark);
}

#form-messages.error {
  background-color: #fee2e2;
  border: 1px solid #ef4444;
  color: #b91c1c;
}
#form-messages.success, #form-messages.error  {
  margin-bottom: 1.5rem;
  padding: 1rem;
}

.last-name-field {
  display: none;
}

.postformLink, .postRefLink {
	padding-bottom: 2rem;
	text-align: center;
	font-size: 16px;
  font-weight: 400;
  }

  .postformLink a:hover, .postRefLink a:hover{
  font-weight: 600;
  }

  .postformLink a{
	  color: var(--color-purple);
  }

  .postRefLink a{
	  color: var(--color-orange-light);
  }

/* Special Sections - Mobile First */
#about p {
  padding-bottom: 0;
  margin-bottom: 0;
}

#about .eyebrow,
#gallery .eyebrow {
  color: var(--color-purple);
}

#quotes .eyebrow, bigQuote.light {
  color: var(--color-off-white);
}

.style2 { /* #gallery .wrapInner */
  background: radial-gradient(circle at 50% 50%, #FAF9F6 0%, #FAF9F6 25%, #D5CDED 100%);
  border-top: 2px solid var(--color-purple-mid);
  border-bottom: 2px solid var(--color-purple-mid);
  color: var(--color-off-black);
  padding-bottom: 5rem !important;
}

/* Tablet Breakpoint */
@media (min-width: 768px) {
.style2 { /* #gallery .wrapInner */
  border: 2px solid var(--color-purple-mid);
}
}

.style5 { /* #gallery .wrapInner */
  background: radial-gradient(circle at 50% 50%, #FAF9F6 0%, #FAF9F6 25%, #FFCCA3 100%);
  border: 2px solid var(--color-purple-mid);
}

ul.deeds{
	border-left: 8px solid var(--color-purple-dark);
}

ul.deeds li {
  margin-bottom: 0.75rem;
}

ul.deeds li:last-child {
  margin-bottom: 0;
}

 .style3 { /* #quotes.wrapOuter */
  /* background: var(--bg-img) repeat 0 0; */
  background-color: var(--color-orange-dark);
  /* background-blend-mode: multiply; */
  color: var(--color-off-white);
  margin-top: 0;
}

.style4 {
  /* background: var(--bg-img) repeat 0 0; */
  background-color: var(--color-purple-dark);
  /* background-blend-mode: multiply; */
  color: var(--color-off-white);
  padding-bottom: 3rem;
}

.centered-list-wrapper {
  max-width: 600px;  /* Adjust as needed */
  margin: 0 auto;
  padding: 0 1rem;
}

#footer.wrapOuter {
  background-color: var(--color-purple-dark);
  color: var(--color-off-white);
  text-align: center;
}

/* Component Lists - Mobile First */
.box-container ul {
  padding-left: 30px;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.box-container ul li {
  margin-bottom: 0.75rem;
}

.box-container ul li:last-child {
  margin-bottom: 0;
}

#box-b ul, #takeaway-b ul {
  border-left: 10px solid var(--color-purple);
}

#box-c ul {
  border-left: 10px solid var(--color-orange);
}

#box-c.c2 ul {
  border-left: 10px solid var(--color-purple);
}

#box-f ul, #takeaway-b ul, #takeaway-c ul   {
  border-left: 10px solid var(--color-green);
}

.companyList {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: center;
}

.companyList li {
  flex: 0 1 calc(50% - 14px);
  line-height: 1;
}

/* Animation Components - Mobile First */
#ribbonCanvas {
  background: transparent;
  width: 100%;
  height: 100%;
  min-height: 400px;
  top: -2rem;
  position: relative;
  z-index: 4;
}

.animWrapper,
.animBack,
.animFront,
.animHole {
  width: 100%;
  height: 100%;
  position: absolute;
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: contain;
}

.animWrapper {
  background-image: url("../../images/botHole.png");
  position: relative;
  width: 95%;
  height: 100%;
}

.animHole {
  opacity: 0;
  background-image: url("../../images/botHole.png");
  animation: fadeIn .5s;
}

.animBack {
  background-image: url("../../images/botBack.png");
  animation: headTopAnim 2s;
  animation-fill-mode: forwards;
}

.animBackCover {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: contain;
  background-image: url("../../images/botBackInit.png");
  animation: headTopFadeout 1s;
  animation-fill-mode: forwards;
  animation-delay: .75s;
}

.animFront {
  background-image: url("../../images/botFront.png");
  top: 0;
  z-index: 10;
}

/* Scroll Component */
.scrollDown {
  position: absolute;
  width: 3vw;
  height: 3vw;
  left: calc(50% - 1.5vw);
  background: transparent;
  transform: rotate(45deg);
  transition: transform .5s;
  border: 1px solid transparent;
  border-bottom-color: var(--color-off-black);
  border-right-color: var(--color-off-black);
  animation: scrollBounce 1500ms ease-in-out infinite alternate;
}

.scrollDown:hover {
  transform: rotate(45deg) scale(1.25);
}
.ScrollDownWrap{
  position: absolute;
  bottom: 5vh;
  height: 20vh;
  width: 20vw;
  left: calc(50% - 10vw);
  z-index: 10;
  display: block;
}


@media (min-width: 768px) {
  .ScrollDownWrap{
    bottom: 0;
  }
}

/* Single image wrapper - pure visual styling, works with or without links/lightbox */
.single-image-wrapper,
.image-holder {
  margin: 2.5rem 0;
  text-align: center;
}

single-image-wrapper:last-child{
  margin-bottom: 0;
}

.single-image-wrapper img,
.image-holder img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Only apply hover effect to linked/interactive images */
.single-image-wrapper a:hover img,
.image-holder a:hover img,
a.single-image-wrapper:hover img,
a.image-holder:hover img {
  transform: translateY(-5px);
}

.image-holder {
  font-style: italic;
}

.image-holder.light {
  color: var(--color-purple-grey);
}

.image-holder.dark {
  color: var(--color-purple-light);
}

.subhead.dark {
  color: var(--color-purple-dark);
}

h2.subhead.dark, h5.dark {
  color: var(--color-off-white);
  border-color: var(--color-off-white);
}

/* Demo boxes styling */
#demo-responsive,
#demo-gradients,
#demo-notch,
#demo-flexbox {
  display: block;
  padding: 1.5rem;
}

#demo-responsive h4,
#demo-gradients h4,
#demo-notch h4,
#demo-flexbox h4 {
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

#demo-responsive p,
#demo-gradients p,
#demo-notch p,
#demo-flexbox p {
  margin-bottom: 0.75rem;
}

/* Demo image links - use standard gallery styling */
.demo-image-link {
  display: block;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.demo-image-link:hover {
  transform: translateY(-5px);
}

.demo-image-link img {
  width: 100%;
  height: auto;
  display: block;
}

/* Culture and Legacy boxes styling */
#culture-from,
#culture-to,
#legacy-team,
#legacy-enabled {
  display: block;
  padding: 1.5rem;
  color: var(--color-off-white);
}

#culture-from h4,
#culture-to h4,
#legacy-team h4,
#legacy-enabled h4 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--color-off-white);
}

#culture-from ul,
#culture-to ul,
#legacy-team ul,
#legacy-enabled ul {
  border-left-color: var(--color-off-white);
}

#culture-from, #culture-from h4, #culture-from ul,
#culture-to, #culture-to h4, #culture-to ul{
  color: var(--color-off-black);
  border-left-color: var(--color-purple);
}

/* Animation Keyframes */
@keyframes fadeIn {
  from { 
    opacity: 0;
    transform: translateY(10%);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drawLineH {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes drawLineV {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes headTopAnim {
  from { transform: rotate(0) translate(0,0); }
  to { transform: rotate(-33deg) translate(-10.5%,-31.5%); }
}

@keyframes headTopFadeout {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes fadeInUp {
  from { 
    opacity: 0;
    transform: translateY(5px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from { 
    opacity: 0;
    transform: translateY(-5px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollBounce {
  from { bottom: 7vh; }
  to { bottom: 8vh; }
}

/* H3 Scroll Animation */
@keyframes scaleUpFromBottom {
  from {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: bottom center;
  }
  to {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: bottom center;
  }
}

h3 {
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: none;
}

h3.noanim {
  opacity: 1;
  transform: scale(1);
  animation: none;
}

h3.animate-in {
  animation: scaleUpFromBottom 0.4s ease-out forwards;
}



/* Tablet Breakpoint */
@media (min-width: 768px) {
  h1, h2 {
    font-size
    : 60px;
  }
  
  h2 {
    margin-top: 2rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
  }
  h1.page2{
    padding-top: 125px;
  }
  
  h3, h4 {
    font-size: 28px;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
  }
  .side-by-side h3{
    font-size: 23px;
  }

  h3.subhead {
    margin: 2rem 0 1.5rem 0;
    border-radius: 45px 45px 0 0;
  }

.image-fit{
  max-width: 50%;
}
  
  /* .box-title {
    font-size: 16vw;
  } */
  .box-container{
    padding: 1rem 0;
  }

  .box-item {
  min-height: 160px;
  max-width: 600px;;
  }

  #box-d, #box-e{
    padding-top: 30px;
  }

  bigQuote {
    font-size: 1.35em;
    padding-bottom: 8px;
    margin: 2rem 0;
  }

  p {
    margin-bottom: 1.5rem;
  }

  .box-container ul li {
    margin-bottom: 0.85rem;
  }

  ul.deeds li {
    margin-bottom: 0.85rem;
  }

  .single-image-wrapper,
  .image-holder {
    margin: 3rem 0;
  }
  
  .wrapInner {
    width: 85%;
    padding: 3.5rem 5%;
  }

  #box-b, #box-c, #box-f {
    top: 0;
  }

.style2 { /* #gallery .wrapInner */
	border-radius: 60px;
  }

  .eyebrow {
    top: 36px;
    font-size: 16px;
  }
  
  #bignav {
    width: 100%;
    max-width: none;
    min-width: none;
    height: auto;
    position: relative;
    right: auto;
    border-radius: 0;
    overflow: visible;
    background-color: transparent;
  }
  
  nav ul {
    padding: 0;
    display: flex;
    justify-content: center;
    background-color: var(--color-purple-dark);
    border-bottom: 1px solid var(--color-purple);
  }

  nav ul.main-nav {
    padding: 0;
  }

  /* Show subsection nav on desktop for case study pages */
  nav ul.subsection-nav {
    display: flex;
    padding: 0;
    background-color: var(--color-purple-mid);
    justify-content: center;
    border-radius: 0 0 20px 20px;
    border: 2px var(--color-purple-dark) solid;
  }

  nav ul.subsection-nav li {
    display: inline-block;
    padding: 5px 15px;
  }

  nav ul.subsection-nav li.label{
    color: var(--color-off-black);
    	/* font-family: var(--font-family-Bld); */
	font-weight: 700;;
  }

  nav ul.subsection-nav a {
    color: var(--color-purple-dark);
  font-family: var(--font-family);
    /* font-weight: 400; */
    text-decoration: underline;
  }

  nav ul.subsection-nav a:hover {
    color: var(--color-purple);
  }
  
  nav > ul > li,
  nav ul.main-nav > li {
    display: inline-block;
    padding: 10px 13px;
    font-size: 16px;
    position: relative;
  }

  /* Desktop dropdown */
  nav .has-dropdown .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-purple-dark);
    border-radius: 0 0 15px 15px;
    border-left: 2px solid var(--color-purple-light);
    border-right: 2px solid var(--color-purple-light);
    border-bottom: 2px solid var(--color-purple-light);
    padding: 5px 0;
    min-width: 160px; 
    z-index: 1000;
    list-style: none;
    line-height: 1;
  }

  nav .has-dropdown .dropdown li {
    padding: 8px 20px;
    display: block;
    text-align: center;
  }

  /* Show dropdown on hover - desktop only */
  nav .has-dropdown:hover .dropdown {
    display: block;
  }

  /* Hide mobile subsections on desktop */
  nav .has-dropdown .dropdown .subsections {
    display: none;
  }
  
  nav .closebtn, .openBtn, #navCover {
    display: none;
  }

  .hello-text {
    font-size: 86px;
    width: 350px;
  }

  .title-text {
    font-size: 43px;
  }

  .title-subtitle {
    /* max-width: 30%; */
    font-size: 14px;
  }

  #form-messages {
    font-size: 24px;
  }

  .companyList li {
    flex: 0 1 calc(50% - 14px);
	font-size: 18px;
  }

 .style3 { /* #quotes.wrapOuter */
    margin-top: 4rem;
  }

  #ribbonCanvas {
    background: transparent;
    top: -3.5rem;
  }
}

/* Desktop Breakpoint */
@media (min-width: 900px) {
html {
	font-size: 18px;
}

  h1, h2 {
    font-size: 72px;
  }

  h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }
  
  h3, h4 {
    font-size: 36px;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
  }
  .side-by-side h3{
    font-size: 30px;
  }

  /* Desktop h3 styling - larger radius and padding */
  h3 {
    border-radius: 45px 45px 0 0;
    padding: 15px 30px 5px 30px;
    width: 100%;
  }

.image-fit{
  max-width: 85%;
}

/* Breakthrough Projects images - responsive sizing */
.image-holder .image-fit {
  width: 85%;
  max-width: 800px;
}

#box-c.c2{
  top: 0;
  padding-bottom: 0;
}
  
  .box-title {
    font-size: 6vw;
    cursor: pointer;
  }
  .box-title-sml{
    font-size: 4vw;
    cursor: pointer;
  }
  
  .wrapInner {
    max-width: 1200px;
    width: 80%;
    padding: 4rem 5%;
  }

  .eyebrow {
    top: 45px;
  }
  
  .box-container {
    grid-template-columns: 1fr 1fr;
    padding: 1rem;
  }

  .box-container.triplets {
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0;
  }
  
  /* .box-item {
    height: 400px;
	font-weight: 700;
  } */

  #contact .box-item {
	height: auto;
  }

  .box-item.flex-height {
  height: auto;
  min-height: 160px; /* Keep minimum for consistency */
}

  .postformLink{
	/* font-weight: 400; */
  font-family: var(--font-family);
  }

  /* Two-thirds / One-third stays stacked on tablet */
  .third img {
    max-width: 75%;
  }

  .companyList li {
    flex: 0 1 calc(33.333% - 14px);
    font-size: 22px;
	line-height: 1.6;
  }
  
  nav li {
    padding: 10px 20px;
    font-size: 18px;
  }
  
  .hello-text {
    left: 33%;
    top: 34%;
    font-size: 117px;
    width: 480px;
  }

  h3.subhead {
    margin: 3.5rem 0 2.5rem 0;
  }

  p {
    margin-bottom: 1.75rem;
  }

  .box-container ul li {
    margin-bottom: 1rem;
  }

  ul.deeds li {
    margin-bottom: 1rem;
  }

  .single-image-wrapper,
  .image-holder {
    margin: 3.5rem 0;
  }

  #demo-responsive h4,
  #demo-gradients h4,
  #demo-notch h4,
  #demo-flexbox h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
  }

  p.subhead{
    margin-left: 4rem;
    margin-right: 4rem;
  }

  .title-line-h {
    display: block;
    top: 33%;
    left: 30%;
    width: 50%;
    height: 1px;
    background-color: var(--color-off-black);
    transform-origin: left;
    animation: drawLineH 1.5s ease-out forwards;
    opacity: 1;
    right: auto;
  }

  .title-line-v {
    display: none;
  }

  .title-text,
  .title-subtitle {
    position: absolute;
    right: 20%;
  }

  .title-text {
    top: calc(33% - 49px);
  }

  .title-subtitle {
    top: calc(33% + 15px);
    text-align: right;
    max-width: 20%;
	font-size: 18px;
  }

  .titlediv {
    position: static;
  }

  #box-c {
    order: 3;
  }
  
  #box-d, #box-d-static {
    order: 4;
  }

.style2 { /* #gallery .wrapInner */
    border-radius: 65px;
  }
  
  #footer.wrapOuter {
    border-radius: 35px 35px 0 0;
  }

  /* Two-thirds / One-third layout - desktop */
  .twothirds-third {
    grid-template-columns: 2fr 1fr;
    gap: 5%;
    align-items: center;
  }

  .third img {
    max-width: 100%;
  }

  .title-subtitle a {
    color: var(--color-off-black);
    text-decoration: none;
    border-bottom: 1px solid var(--color-off-black);
    transition: border-color 0.3s ease;
  }

  .title-subtitle a:hover {
    border-color: transparent;
  }
}

/* Super Wide Desktop Breakpoint */
@media (min-width: 1800px) {
  .box-title {
    font-size: 108px;
  }
}


/* Color Palette Section */
.color-palette-section {
  margin: 3.5rem 0;
  display: flex;
  flex-direction: column;
  /* gap: 1.5rem; */
  border: 1px solid var(--color-off-grey);
  border-radius: 15px;
}

.color-set {
  display: flex;
  flex-direction: column;
  padding: 1rem .5rem;
  /* border-radius: 15px; */
}

/* Set backgrounds */
.color-set.set-1 {
  background-color: #000000;
    border-radius: 15px 15px 0 0;
}

.color-set.set-2 {
  background-color: #F2F0F1;
    border-radius: 0;
}

.color-set.set-3 {
  background-color: #ffffff;
    border-radius: 0 0 15px 15px;
}

.set-title {
  font-size: 18px;
  	/* font-family: var(--font-family-Bld); */
	font-weight: 700;;
  margin: 0 0 1.5rem 0;
  text-align: center;
}

/* Title colors for different sets */
.set-1 .set-title {
  color: #ffffff;
}

.set-2 .set-title,
.set-3 .set-title {
  color: var(--color-off-black);
}

.color-swatches {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: space-around;
}

.color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.color-square {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.secondary .color-square{
  width: 60px;
  height: 60px;
}

.color-name {
  	/* font-family: var(--font-family-Bld); */
	font-weight: 700;;
  font-size: 14px;
  line-height: 1.3;
}

/* Text color for different sets */
.set-1 .color-name {
  color: #ffffff;
}

.set-2 .color-name,
.set-3 .color-name {
  color: var(--color-off-black);
}

/* CenturyLink Colors */
.ctl-mint-green {
  background-color: #48BD97;
}

.ctl-vibrant-blue {
  background-color: #0047BB;
}

.ctl-navy-blue {
  background-color: #001E60;
}

/* Lumen Blues */
.lumen-light-blue {
  background-color: #38C6F4;
}

.lumen-blue {
  background-color: #0C9ED9;
}

.lumen-medium-blue {
  background-color: #0075C9;
}

/* Lumen Warm Colors */
.lumen-orange {
  background-color: #FB8429;
}

.lumen-deep-orange {
  background-color: #F95E4A;
}

.lumen-dark-teal {
  background-color: #0F3133;
}

/*Lumen secondary colors */

.lumen-dark-orange {
  background-color: #E77528;
}

.lumen-light-orange {
  background-color: #FF9E18;
}

.lumen-navy {
  background-color: #083176;
}

.lumen-red {
  background-color: #E1251B;
}


/* Tablet and Desktop - 3 sets in a row */
@media (min-width: 768px) {
  .color-palette-section {
    flex-direction: row;
    /* gap: 1.5rem; */
  }

  .color-set {
    flex: 1;
    padding: 2rem 1rem;
  }

  /* Set backgrounds */
  .color-set.set-1 {
    border-radius: 15px 0 0 15px;
  }

  .color-set.set-2 {
    border-radius: 0;
  }

  .color-set.set-3 {
    border-radius: 0 15px 15px 0;
  }

  .set-title {
    font-size: 18px;
    	/* font-family: var(--font-family-Bld); */
	font-weight: 700;;
    margin: 0 0 1.5rem 0;
    text-align: center;
  }

  .color-swatches {
    gap: 0.25rem;
  }

  .color-square {
    width: 55px;
    height: 55px;
  }
  .color-swatches.secondary{
    padding-top: 5px;
  }
  .secondary .color-square{
    width: 45px;
    height: 45px;
  }

  .color-name {
    font-size: 12px;
  }

  .set-title {
    font-size: 16px;
    margin-bottom: 1.25rem;
  }
}

/* Desktop - larger squares */
@media (min-width: 900px) {
  .color-set {
    padding: 1rem .5rem;
  }

  .color-swatches {
    gap: .5rem;
  }

  .color-square {
    width: 60px;
    height: 60px;
  }
  .color-swatches.secondary{
    padding-top: 5px;
  }
  .secondary .color-square{
    width: 50px;
    height: 50px;
  }
}

/* Desktop - larger squares */
@media (min-width: 1200px) {
  /* .color-palette-section {
    gap: 2rem;
  } */

  .color-set {
    padding: 2.5rem 1.5rem;
  }

  .color-swatches {
    gap: 1rem;
  }

  .color-square {
    width: 75px;
    height: 75px;
  }
  .color-swatches.secondary{
    padding-top: 5px;
  }
  .secondary .color-square{
    width: 65px;
    height: 65px;
  }

  .color-name {
    font-size: 14px;
  }

  .set-title {
    font-size: 18px;
    margin-bottom: 1.5rem;
  }
}