/* Homepage V2 overrides
   Put all custom adjustments for the imported static homepage here. */

:root {
  --color-dark-green: #25281B;
  --color-wine: #681B22;
  --color-salmon: #FF5E48;
  --color-white-bone: #FEFBF6;
}


/*
* native height so that the scrollbar is not doubled
*/
body {
  height: auto;
}

/**
* hides the nav because they
* used the nav as filters on the blog page, so it's not a NAV anymore, it's a filter
*/
/* header nav {
  display: none;
} */

main {
  font-family: 'Robert', serif;
}

main * {
  font-family: 'Robert', serif;
  color: black !important;
}

section:nth-of-type(1) {
  padding-top: 0;
}

section:nth-of-type(2) {
  display: flex !important;
}

/**
 * Homepage V2 — Hero
 */
section.homepage-hero {
    color: var(--color-dark-green);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 80px 20px;
    height: 90vh;
    gap: 1rem;
}

.homepage-hero img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    object-fit: cover;
    object-position: center;
    display: block;
    height: 90vh !important;
}

.homepage-hero h1 {
  font-size: 2rem !important;
  font-weight: bold;
  max-width: 500px;
}

.homepage-hero h2 {
  font-size: 1.25rem !important;
  font-weight: normal;
  line-height: 1.6;
  max-width: 500px;;
  margin: 0 auto;
}

.homepage-hero .arrow svg {
  margin-top: 2rem;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
}

.arrow-bounce {
  width: 3rem;
  height: 3rem;
  display: block;
  margin: 2rem auto;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/**
* TAG LINE
*/
.tagline-banner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--color-white-bone);
}

.tagline-banner h2 {
  font-size: 3.5rem !important;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: var(--color-dark-green) !important;
}

.tagline-banner .tag-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.tagline-banner span {
  display: inline-block;
  margin: 0 0.3rem;
}

.tagline-banner .banner-img {
  width: 100%;
  /* max-width: 960px; */
  margin: 2rem 0;
}

.tagline-banner .banner-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.tagline-banner .subtext {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  padding: 1rem 0;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-dark-green) !important;
}

/**
 * Problem & Solution
 */
#problem-solution.homepage-v2-section.problem-solution {
  background-color: var(--color-white-bone);
  color: var(--color-dark-green) !important;
  padding: 6rem 2rem;
}

.ps-wrap {
  display: flex;
  gap: 3rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  flex-direction: row;
  justify-content: space-between;
}

.ps-left-title,
.ps-left-title * {
  font-size: 3rem !important;
  font-weight: 600;
  line-height: 3rem  !important;
  margin: 0;
  color: var(--color-dark-green) !important;
  text-align: left;
}

.ps-left {width: 50%;padding-right: 16rem;}

.ps-right {
  display: flex;
  gap: 3rem;
  width: 60%;
  flex-direction: column;
  flex-grow: 1;
}

.ps-block {
  display: flex;
  gap: 2rem;
}

.ps-block-title {
  font-size: 1.5rem!important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-dark-green) !important;
}

.ps-block-content {
  font-size: 1.125rem !important;
  line-height: 1.7;
  color: var(--color-dark-green) !important;
}

.ps-block-content a {
  text-decoration: underline;
}

/**
 * Image Showcase
 */
#image-showcase.homepage-v2-section.image-showcase {
  padding: 0;
}
.image-showcase__media {
  margin: 0;
}
.image-showcase__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/**
 * Use Cases
 */
#use-cases.homepage-v2-section.use-cases {
  background-color: var(--color-wine);
  color: var(--color-salmon) !important;
  padding: 4rem 1.5rem;
}
.use-cases .uc-wrap {
  max-width: 1200px;
  margin: 0 auto;
}
.use-cases .uc-headline {
  color: var(--color-salmon) !important;
  font-size: clamp(22px, 3vw, 28px) !important;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
}
.use-cases .uc-list { margin-bottom: 2rem; }
.use-cases .uc-label-row,
.use-cases .uc-row {
  display: flex;
  gap: 2rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 2px solid var(--color-salmon);
  justify-content: space-between;
}
.use-cases .uc-label { font-weight: 600; }
.use-cases .uc-item,
.use-cases .uc-label,
.use-cases .uc-tail { color: var(--color-salmon) !important; }

.use-cases .uc-images {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.use-cases .uc-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
}
/**
 * Responsive
 */

/* Tablet (<= 991px) */
@media (max-width: 991px) {
  .ps-wrap {
    grid-template-columns: 1fr;
  }
  .ps-left-title {
    margin-bottom: 2rem;
  }
  .use-cases .uc-images { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile (<= 767px) */
@media (max-width: 767px) {
  .use-cases .uc-images { grid-template-columns: repeat(2, 1fr); }
}

/**
 * Unboxing
 */
#unboxing.homepage-v2-section.unboxing {
  background-color: var(--color-white-bone);
  color: var(--color-dark-green);
  padding: 4rem 1.5rem;
}
.unboxing .unbox-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}
.unboxing .unbox-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.unboxing .unbox-col { flex: 1 1 0; }
.unboxing .unbox-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  aspect-ratio: 1 / 1;
  background: rgba(0,0,0,0.05);
}
.unboxing .unbox-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem;
}
.unboxing .unbox-desc {
  font-size: 1rem;
  line-height: 1.7;
}

/* Tablet */
@media (max-width: 991px) {
  .unboxing .unbox-row {
    gap: 2rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .unboxing .unbox-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Small mobile */
@media (max-width: 479px) {
  #unboxing.homepage-v2-section.unboxing { padding: 3rem 1rem; }
  .unboxing .unbox-title { font-size: 1.5rem; }
}
/* Small mobile (<= 479px) */
@media (max-width: 479px) {
  /* small mobile overrides */
}