html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Adjust this value based on your header height */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

a {
  text-decoration: none;
  color: #5b80c6;
}
a:not(:has(img)):not(:has(video)) {
  transition: opacity 0.3s ease;
}
a:not(:has(img)):not(:has(video)):hover {
  opacity: 0.4;
}
a img {
  transition: transform 0.4s ease;
}
a img:hover {
  transform: scale(1.05);
}
p {
  font-size: 1.3rem;
  line-height: 2rem;
  font-weight: 400;
}

.columns {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-items: flex-start;
  margin: 0 auto;
  padding: 0;
  max-width: 1800px;
  width: 100%;
}
.columns h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 3rem);
}
@media (min-width: 1024px) {
  .columns {
    flex-direction: row;
  }
}

.social-icons {
  display: flex;
  gap: 1rem;
}
.social-icons a img {
  position: relative;
  height: calc(1vw + 2rem);
  width: auto;
  transition: transform 0.3s ease;
}
.social-icons a img:hover {
  transform: scale(1.3);
}

hr {
  border: none;
  border-bottom: 1px solid #d5d5d5;
  padding: 2rem 0 0 0;
  margin: 0 auto 2rem auto;
}

.scaling-fade-in {
  opacity: 0;
  transform: scale(0.8);
  animation: fadeScaleIn 2.5s ease-out forwards;
}

@keyframes fadeScaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.blur-fade-in {
  opacity: 0;
  transform: scale(0.95);
  filter: blur(20px);
  animation: fadeScaleBlurIn 2.5s ease-out forwards;
}

@keyframes fadeScaleBlurIn {
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}
.highlight-reveal {
  position: relative;
  display: inline-block;
  z-index: 1;
  padding: 1em;
}

.highlight-reveal::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 222, 33, 0.3);
  z-index: -1;
  transition: width 1.5s ease-out;
}

/* only animate when .in-view is added */
.highlight-reveal.in-view::before {
  transition-delay: 2s;
  width: 100%;
}

section {
  padding: 3rem 4vw;
  margin: 0 auto;
}
section .section-header-content {
  text-align: center;
}
section .section-header-content h1 {
  font-size: calc(6vw + 1rem);
  margin: 0;
  max-width: 1800px;
}
@media (min-width: 769px) {
  section .section-header-content h1 {
    font-size: calc(1.68vw + 1rem);
  }
}
section .section-header-content h2 {
  font-weight: 300;
}
section .text-block {
  max-width: 68%;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}
section article {
  margin: 0 auto;
  padding: 0 1rem;
  max-width: 900px;
}
section article header h3 {
  text-transform: uppercase;
  color: #9e9e9e;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.05rem;
  margin: 0 0 1rem 0;
}
section article header h1 {
  font-size: clamp(3rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin: 0;
}
section article header h2 {
  margin: 1rem 0;
  font-size: 1.4rem;
  font-weight: 200;
  max-width: 68%;
}
section article figure {
  margin: 2rem 0;
}
section article .summary {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 3rem;
}
section article .summary .summary-box {
  border: 2px solid #d5d5d5;
  border-radius: 0.6rem;
  padding: 1.6rem;
}
section article .summary .summary-box h1 {
  font-size: 1rem;
  margin: 0 0 0.4rem 0;
}
section article .summary .summary-box p {
  font-size: 1rem;
  line-height: 1.2rem;
  font-weight: 200;
  margin: 0;
}
@media (min-width: 769px) {
  section article .summary {
    flex-direction: row;
  }
}
section article h1 {
  font-size: calc(1.1vw + 1rem);
}
@media (min-width: 769px) {
  section article .ultrawide {
    padding: 2rem;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }
}
section article .ultrawide * {
  max-width: 1800px;
}
@media (min-width: 769px) {
  section article .superwide {
    padding: 2rem;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }
}
section article .superwide * {
  max-width: 1440px;
}
@media (min-width: 769px) {
  section article .extrawide {
    padding: 2rem;
    width: 100vw;
    height: auto;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }
}
section article .extrawide * {
  max-width: 1080px;
}

ul.credits {
  list-style: none;
  margin: 0 auto;
  padding: 0;
}
ul.credits li {
  font-weight: 300;
}
ul.credits li span {
  font-weight: 600;
}
ul.credits li.title {
  border-bottom: 1px solid #f5f5f5;
  padding-bottom: 4px;
  margin-bottom: 4px;
}

footer #footer-content {
  padding: 3rem 4vw;
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
}
footer #footer-content h1 {
  font-size: 1rem;
}
footer #footer-content h1 a {
  color: black;
  font-weight: 400;
}
footer #footer-content .social-icons {
  margin-left: auto;
}

section#hero {
  padding: 0 0 2rem 0;
  background: linear-gradient(45deg, #f5f5f5, #fff, #f5f5f5, #fff, #f5f5f5, #fff);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
section#hero .hero-content {
  max-width: 1120px;
  margin: 0 auto;
  text-align: left;
  padding: 2rem 4vw 2rem 4vw;
}
section#hero .hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  margin: 0;
  max-width: 1800px;
}
section#hero .hero-content h2 {
  max-width: 600px;
  font-weight: 300;
}

section#case-studies {
  max-width: 1800px;
  margin: 0 auto;
}
section#case-studies .section-header-content {
  padding: 3rem 0;
}
section#case-studies .studies {
  padding: 0;
  display: flex;
  flex-direction: column;
}
@media (min-width: 769px) {
  section#case-studies .studies {
    flex-direction: row;
    gap: 1rem;
  }
}
section#case-studies .study {
  margin-bottom: 4rem;
}
@media (min-width: 769px) {
  section#case-studies .study {
    flex-direction: row;
    flex: 50%;
  }
}
@media (min-width: 992px) {
  section#case-studies .study {
    flex: 24%;
    border: none;
  }
}
section#case-studies .study img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}
section#case-studies .study h1 {
  margin: 0;
}
section#case-studies .study h1 a {
  color: black;
  transition: color 0.3s ease;
}
section#case-studies .study h1 a:hover {
  color: #5b80c6;
}

section#design {
  padding: 0 4rem;
  max-width: 1800px;
  margin: 0 auto;
}
section#design .section-header-content {
  padding: 3rem 4vw;
}

section#great-toy-drive header {
  text-align: center;
  padding: 0 4vw;
}
section#great-toy-drive header img {
  max-width: 600px;
}
section#great-toy-drive h2 {
  text-align: center;
  max-width: 68%;
  font-weight: 200;
  margin: 3rem auto;
  font-size: clamp(2rem, 4vw, 10rem);
  color: #d4af37; /* base gold tone */
  overflow: hidden;
}
section#great-toy-drive h2::after {
  content: "";
  position: absolute;
  top: 0;
  left: -20%;
  width: 15%;
  height: 100%;
  background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  animation: shimmer-pass 12s ease-in-out infinite;
}
@keyframes shimmer-pass {
  0% {
    left: -20%;
  }
  100% {
    left: 120%;
  }
}

section#talk-about-it .columns {
  align-items: center;
  padding: 2rem 0;
}
section#talk-about-it .columns .column {
  padding: 2rem;
}

section#good-energy .columns {
  align-items: center;
}
section#good-energy .columns .column p,
section#good-energy .columns .column h1 {
  text-align: center;
}
section#good-energy .good-energy-logo {
  padding: 4rem;
  max-width: 400px;
}
section#good-energy .ev8-side {
  margin: 0 auto;
}
section#good-energy .text-block {
  padding-top: 0;
}
section#good-energy .text-block h1 {
  font-size: clamp(2.3rem, 3vw, 50rem);
}
@media (min-width: 1024px) {
  section#good-energy .columns .column p,
  section#good-energy .columns .column h1 {
    text-align: left;
  }
}

.image-gallery {
  margin: 0 auto;
}
.image-gallery .image-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  /* No wrap so they stay on a single line */
  flex-wrap: nowrap;
  box-sizing: border-box;
  margin-bottom: 4px;
}
.image-gallery .image-row .image-container {
  display: flex;
  align-items: center; /* vertically center if you like */
  justify-content: center;
  overflow: hidden;
}
.image-gallery .image-row .image-container img {
  width: 100%;
  height: auto;
  display: block; /* remove extra spacing from inline images */
}
@media (min-width: 769px) {
  .image-gallery .image-row {
    flex-direction: row;
  }
}

.video-gallery {
  margin: 0 auto;
}
.video-gallery .video-row .video-container {
  margin-bottom: 0.4rem;
}
@media (min-width: 769px) {
  .video-gallery .video-row {
    display: flex;
    width: 100%;
    gap: 1rem;
    margin-bottom: 0.4rem;
  }
  .video-gallery .video-row .video-container {
    margin-bottom: 0.4rem;
  }
}

.image-strip {
  margin: 0 auto;
}
.image-strip .image-row {
  display: flex;
  flex-direction: row;
  gap: 4px;
  width: 100%;
  /* No wrap so they stay on a single line */
  flex-wrap: nowrap;
  box-sizing: border-box;
  margin-bottom: 4px;
}
.image-strip .image-row .image-container {
  display: flex;
  align-items: center; /* vertically center if you like */
  justify-content: center;
  overflow: hidden;
}
.image-strip .image-row .image-container img {
  width: 100%;
  height: auto;
  display: block; /* remove extra spacing from inline images */
}
.image-strip .masonry {
  display: block;
}
.image-strip .strip {
  display: none;
}
@media (min-width: 769px) {
  .image-strip .masonry {
    display: none;
  }
  .image-strip .strip {
    display: block;
  }
  .image-strip .image-row {
    flex-direction: row;
  }
}

.image-carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 40px 0;
}

.image-carousel {
  display: flex;
  width: 100%;
  position: relative;
}

.image-track {
  display: flex;
  animation: scroll 100s linear infinite;
}

.carousel-item {
  flex-shrink: 0;
  height: 300px; /* Fixed height as shown in the example */
  transition: height ease-in-out 1s;
  margin-right: 6px; /* Space between images */
}
@media (max-width: 768px) {
  .carousel-item {
    height: 180px;
  }
}

.carousel-item img,
video {
  height: 100%;
  border-radius: 0;
  width: auto;
  object-fit: cover;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%); /* Move exactly one track width */
  }
}
header a {
  color: black;
  padding: 1rem 0;
  display: inline-block;
  transition: color 0.3s ease-out, transform 0.3s ease !important;
}
header a:hover {
  color: #5b80c6;
}
header #header-content {
  max-width: 1800px;
  padding: 1rem 4vw;
  margin: auto;
  display: flex;
  align-items: center;
}
header #header-content h1 {
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 2rem);
  letter-spacing: 0.03rem;
}
header #header-content .menu {
  margin-left: auto;
}
header #header-content .menu .hamburger {
  height: 2rem;
  position: absolute;
  top: 2rem;
  right: 2rem;
}
header #header-content .menu .hamburger img {
  width: auto;
  height: 100%;
  object-fit: contain;
}
header #header-content .menu .hamburger.mobile-menu-cancel {
  height: 1.6rem;
}
@media (min-width: 769px) {
  header #header-content .menu .hamburger {
    display: none;
  }
}
header #header-content .menu .mobile-menu-wrapper {
  display: flex;
  align-items: center;
  list-style: none;
  top: 0;
  left: 0;
  position: absolute;
  background: white;
  width: 100%;
  transform: translateY(-140%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
header #header-content .menu .mobile-menu-wrapper ul {
  width: 80%;
  list-style: none;
  padding: 4rem 2rem;
  margin: 0;
}
header #header-content .menu .mobile-menu-wrapper ul li {
  font-weight: 400;
  width: 100%;
  font-size: 1.2rem;
  padding: 1rem;
  border-top: 1px dotted #d5d5d5;
}
header #header-content .menu .mobile-menu-wrapper ul li:last-child {
  border-bottom: 1px dotted #d5d5d5;
}
header #header-content .menu .mobile-menu-wrapper.animate {
  transition: transform 0.3s ease-out;
}
header #header-content .menu .mobile-menu-wrapper.active {
  display: block;
  transform: translateY(0%);
}
@media (min-width: 769px) {
  header #header-content .menu .mobile-menu-wrapper {
    position: relative;
    transform: translateY(0%);
    box-shadow: none;
    background: none;
  }
  header #header-content .menu .mobile-menu-wrapper ul {
    display: flex;
    width: auto;
    padding: 0;
    gap: 1rem;
  }
  header #header-content .menu .mobile-menu-wrapper ul li {
    font-size: 1rem;
    width: auto;
    border: none;
  }
  header #header-content .menu .mobile-menu-wrapper ul li:last-child {
    border: none;
  }
}

.header-image {
  height: 300px;
  display: flex;
  align-items: flex-end;
  padding: 0 4vw;
}
.header-image .content {
  margin: 0 auto;
  max-width: 1800px;
  width: 100%;
}
.header-image .content h1 {
  margin: 0;
  padding: 0;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.7;
  text-align: left;
}
.header-image .content h2 {
  color: white;
  font-weight: 200;
  letter-spacing: 0.1;
}

/*# sourceMappingURL=main.css.map */