:root {
  --home-card-radius: 24px;
}

.home-page .home-section {
  margin-top: 1.5rem;
  padding: 1.25rem 0.9rem;
}

.home-page .section-footer {
  margin: 1rem 0;
  padding: 0.75rem 0;
  border-top: 4px solid var(--bs-body-bg);
  min-height: 2rem;
}

.featured-project-card {
  border-radius: var(--home-card-radius);
  overflow: hidden;
  margin-bottom: 0;
  color: #fff;
}

.featured-carousel-wrap {
  min-height: 260px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.featured-carousel-wrap .carousel {
  transform: rotate(-4deg);
  padding: 12px;
  overflow: hidden;
}

.featured-carousel-image {
  min-height: 260px;
  max-height: 320px;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
}

.featured-carousel-wrap .carousel-item {
  height: 260px;
  min-height: 260px;
  align-items: center;
  justify-content: center;
}

.featured-carousel-wrap .carousel-item.active,
.featured-carousel-wrap .carousel-item-next,
.featured-carousel-wrap .carousel-item-prev {
  display: flex;
}

.featured-copy-wrap {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
}

.featured-copy-wrap h3 {
  margin-bottom: 0.25rem;
  color: #fff;
  font-size: clamp(1.45rem, 2.2vw, 2.25rem);
}

.featured-copy-wrap p {
  color: #f5ebff;
}


.supply-tag {
  background: var(--gs-light-light-purple);
  border: 2px solid var(--gs-purple);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  color: var(--gs-dark-purple);
  transform: translate3d(0, 0, 0);
}

.supply-tag:hover, .supply-tag:active {
  background: var(--gs-light-purple);
  border: 2px solid var(--gs-dark-purple);
  color: var(--gs-dark-purple);
  transform: translate3d(0, -2px, 0);
}

.supply-tag img {
  padding: .25rem;
}

.featured-projects-outer {
  --bs-gutter-x: 0;
  margin-top: 0rem;
  padding: 0.5rem 0.9rem 0.6rem;
}

.featured-projects-track {
  padding: 0;
  border-radius: var(--home-card-radius);
  background: var(--gs-dark-purple);
  box-shadow: 0px 8px 10px -6px rgba(0, 0, 0, 0.5);
}

.featured-project-slide {
  display: none;
}

.featured-project-slide.is-active {
  display: block;
}
.featured-pagination {
  background-color: var(--gs-dark-purple);
}

.featured-pagination .page-link {
  border: none;
  color: var(--gs-light-purple);
  background-color: var(--gs-dark-purple);
  font-weight: 400;
}

.featured-pagination .page-item.active .page-link {
  color: var(--gs-yellow);
  border-bottom: 1px solid var(--gs-yellow);
}

.featured-pagination .page-item.disabled .page-link {
  opacity: 0.5;
}

.featured-pagination .page-link:focus {
  box-shadow: 0 0 0 0.25rem rgba(106, 13, 173, 0.25);
  border: 1px solid white;
}

.masonry-grid > div {
  margin-bottom: 1rem;
}

.masonry-grid .project-card {
  overflow: hidden;
  border: none;
}

.masonry-grid .project-card .project-facts {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.value-prop, .auth-panel {
  background: #fff;
  border-radius: var(--home-card-radius);
  padding: 1rem;
  box-shadow: 0px 8px 10px -6px rgba(0, 0, 0, 0.5);
}

/* Value prop title: mascot sits in <h3>, height matches one heading line.
   Do not set line-height: 0 on ancestors — 1lh on dotlottie-wc would become 0. */
.value-prop-title .mascot-lottie {
  height: auto;
  align-items: center;
  font: inherit;
  padding-bottom: 0.25rem;
}

.value-prop-title .mascot-lottie dotlottie-wc {
  font: inherit;
  line-height: inherit;
  /* Fallback when lh is unavailable or mis-resolves on the custom element */
  height: 1.2em !important;
  width: auto !important;
  min-height: 1em !important;
  display: block;
}

@supports (height: 1lh) {
  .value-prop-title .mascot-lottie dotlottie-wc {
    height: 1lh !important;
    min-height: 1em !important;
  }
}

.value-prop-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.value-prop-list dt i {
  font-size: larger;
  color: var(--gs-purple);
  padding-top: 0.25rem;
}

.value-prop-list dd {
  margin-left: 1.5rem;
  color: #6c757d;
  font-size: 0.95em;
  line-height: 1.4;
}

/* Season projects FAQ: independent panels (no data-bs-parent), GlueStick open-state styling */
.faq-list.accordion {
  --bs-accordion-active-color: var(--gs-dark-purple);
  --bs-accordion-active-bg: var(--gs-light-purple);
  --bs-accordion-btn-focus-border-color: var(--gs-purple);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(106, 13, 173, 0.22);
  /* Chevron when expanded (matches --gs-dark-purple #3c0777) */
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233c0777'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-list .accordion-button:not(.collapsed) {
  font-weight: 700;
  box-shadow: none;
}

.faq-list .accordion-collapse.show .accordion-body {
  color: var(--gs-black);
  font-weight: 400;
  line-height: 1.55;
  border-left: 0.25rem solid var(--gs-light-purple);
}

.auth-section {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: var(--home-card-radius);
}

/* —— Auth forms (home sign in / sign up) —— */
.auth-panel-forms {
  padding: 1.25rem 1.35rem 1.5rem;
}

.auth-form-header {
  margin-bottom: 1.25rem;
}

.auth-form-title {
  font-family: var(--bs-header-font-family);
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  font-weight: var(--bs-header-font-weight);
  color: var(--gs-dark-purple);
  line-height: 1.15;
  margin: 0 0 0.35rem;
}

.auth-form-lead {
  font-family: var(--bs-font-family);
  font-size: var(--bs-body-font-size);
  font-weight: 500;
  color: #6b7280;
  margin: 0;
  line-height: 1.45;
}
.auth-form-lead .h5 {
  color: var(--gs-teal);
}

.auth-form-label {
  font-family: var(--bs-font-family);
  font-weight: 700;
  color: #374151;
  font-size: 0.9rem;
}

.auth-forgot-link {
  font-family: var(--bs-font-family);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--gs-teal);
}

.auth-forgot-link:hover,
.auth-forgot-link:focus {
  color: #2dd4bf;
  text-decoration: underline;
}
.auth-form-title-toggle {
  margin-bottom: 0.75rem;
}

.auth-mode-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  cursor: pointer;
  position: relative;
}

/* Checkbox first in DOM so ~ siblings can style labels; visually hidden */
.auth-mode-toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.auth-mode-toggle-track {
  display: none;
  width: 3.5rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: #d1d5db;
  border: 2px solid #9ca3af;
  transition: background 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.auth-mode-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(2rem - 8px);
  height: calc(2rem - 8px);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.auth-mode-toggle:has(.auth-mode-toggle-input:focus-visible) .auth-mode-toggle-track {
  outline: 2px solid var(--gs-purple);
  outline-offset: 2px;
}

/* Unchecked = Sign Up (left); thumb left. Checked = Sign In (right); thumb right. */
.auth-mode-toggle-input:checked ~ .auth-mode-toggle-track {
  background: #c4b5fd;
  border-color: var(--gs-purple);
}

.auth-mode-toggle-input:checked ~ .auth-mode-toggle-track .auth-mode-toggle-thumb {
  transform: translateX(1.5rem);
}

/* JS: unchecked → sign-up form, checked → sign-in form */
.auth-mode-toggle .sign-up-text,
.auth-mode-toggle .sign-in-text {
  transition: opacity 0.2s ease, font-weight 0.2s ease;
  opacity: 0.45;
  font-weight: 600;
  transform: translate3d(0, 0, 0);
}
.auth-mode-toggle .sign-up-text:hover,
.auth-mode-toggle .sign-in-text:hover {
  transform: translate3d(0, 0, 0) rotate(2deg);
}

.auth-mode-toggle-input:not(:checked) ~ .sign-up-text {
  opacity: 1;
  font-weight: 700;
  text-decoration: underline;
}

.auth-mode-toggle-input:checked ~ .sign-in-text {
  opacity: 1;
  font-weight: 700;
  text-decoration: underline;
}


.auth-input-group {
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #fafafa;
  align-items: stretch;
}

.auth-input-group:focus-within {
  border-color: var(--gs-light-purple);
  box-shadow: 0 0 0 3px rgba(106, 13, 173, 0.12);
  background: #fff;
}

.auth-input-group .auth-input-icon {
  background: transparent;
  border: none;
  color: #9ca3af;
  padding: 0.65rem 0.85rem;
  font-size: 1rem;
}

.auth-input-group .auth-input-icon:first-child {
  padding-left: 1.1rem;
}

.auth-input-group .auth-toggle-password {
  cursor: pointer;
  padding-right: 1rem;
}

.auth-input-group .auth-toggle-password:hover,
.auth-input-group .auth-toggle-password:focus {
  color: var(--gs-purple);
  outline: none;
}

.auth-form-control {
  border: none !important;
  background: transparent !important;
  padding: 0.65rem 0.75rem 0.65rem 0;
  font-size: 0.95rem;
  box-shadow: none !important;
}

.auth-form-control::placeholder {
  color: #b0b8c4;
}

.auth-form-control:focus {
  box-shadow: none !important;
}

.auth-standalone-page {
  min-height: 50vh;
}

.auth-standalone-card {
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

.auth-secondary-link {
  font-family: var(--bs-font-family);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gs-purple);
  text-decoration: none;
}

.auth-secondary-link:hover,
.auth-secondary-link:focus {
  color: var(--gs-teal);
  text-decoration: underline;
}

.auth-form-alert--success {
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  font-weight: 600;
  font-size: 0.9rem;
}

.home-action-btn {
  width: fit-content;
}

.supply-spotlight {
  background: #fff;
  border-radius: var(--home-card-radius);
  padding: 1rem;
}

.supply-spotlight h4,
.supply-spotlight .supply-spotlight__supply-name {
  color: var(--gs-teal);
  font-weight: 600;
}

.supply-spotlight-cta {
  background: var(--gs-light-yellow);
  border-radius: var(--home-card-radius);
  padding: 1rem;
}

.supply-title-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0.5rem;
}

/* Match reference image width; keeps left edge aligned with project column below */
.supply-title-wrap dotlottie-wc.supply-title-lottie {
  flex-shrink: 0;
  display: block;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  max-width: 42px;
}

.supply-reference-image {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.supply-title-wrap h3 {
  margin: 0;
}

.supply-title-wrap .supply-spotlight__supply-name {
  line-height: 1.25;
}

.empty-state {
  background: #fff;
  border: 4px dashed var(--gs-purple);
  border-radius: var(--home-card-radius);
  padding: 1rem;
}
.featured-pagination-wrap {
  padding: 1rem 0 2rem 0;
}

@media (max-width: 992px) {
  .featured-home-section {
    border: 0;
    background: transparent;
    padding: 0;
    margin-top: 0.75rem;
  }

  .featured-home-section .section-header {
    display: none;
  }

 .featured-pagination-wrap {
    padding: 1rem 0 2rem 0;
  }

  .featured-carousel-image {
    height: 300px;
    min-height: 350px;
    max-height: 320px;
  }

  .featured-carousel-wrap .carousel {
    transform: none;
    border: 0;
    border-radius: 0;
  }

  .featured-carousel-wrap .carousel-item {
    height: 300px;
    min-height: 300px;
  }

  .featured-pagination .page-link {
    padding: 0.35rem 0.65rem;
  }

  .featured-pagination .featured-page-index {
    display: none;
  }

  .featured-pagination .featured-page-mobile-status {
    display: block;
  }
}

.circle-container {
  display: flex; /* Use flexbox to align circles in a row */
  justify-content: flex-start; /* Adjust as needed (e.g., center, space-between) */
  /* Add some left padding to the container to prevent the first circle from being cut off */
}

.circle {
  width: 60px;
  height: 60px;
  background-color: var(--gs-light-blue); /* Example color, use Bootstrap utility classes like bg-primary if preferred */
  border-radius: 50%; /* Makes the div a circle */
  border: 2px solid white; /* Optional: border for better visual separation */
  /* Key to overlapping: use negative margin to pull subsequent circles back */
  margin-left: -20px; 
  position: relative; /* Essential for z-index to work */
  /* Default z-index can be set, then overridden for specific circles */
  z-index: 0; 
}

.circle img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}
/* Specific colors and z-index for visual effect */
.circle-1 {
  background-color: var(--gs-light-purple);
  z-index: 3; /* Appears on top of others */
  margin-left: 0; /* The first circle should have no negative margin */
}

.circle-2 {
  background-color: var(--gs-yellow); /* Yellow */
  z-index: 2; 
}

.circle-3 {
  background-color: var(--gs-light-green); /* Green */
  z-index: 1; 
}

.small-project-overlay {
  opacity: 0;
  position: absolute;
  top: 0;
  height: 100%;
  font-size: clamp(.75rem, 5vw, 1.25rem);
}
.small-project-overlay:hover {
  transition: opacity 0.2s ease;
  opacity: .8;
}