

/* =========================================
   Home STS Image Size
   ========================================= */

/* Ensure slide is a positioning context */
#home .slide-wrap {
  position: relative;
}

/* Hero wrapper: span viewport, center content */
#home .private-hero-image {
  position: relative;
  z-index: 5;
  width: 100vw;                 /* critical for % scaling */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding-top: clamp(80px, 12vh, 140px);
  padding-bottom: 20px;
}

/* Image scaling + opacity fix */
#home .private-hero-image img {
  width: 100%;
  max-width: 320px;
  height: auto;

  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* Responsive down-scaling */
@media (max-width: 1600px) {
  #home .private-hero-image img { width: 100%; }
}

@media (max-width: 1200px) {
  #home .private-hero-image img { width: 80%; }
}

@media (max-width: 900px) {
  #home .private-hero-image img { width: 70%; }
}

@media (max-width: 600px) {
  #home .private-hero-image img { width: 60%; }
}






/* =========================================
   Contact Form deep-link (footer -> accordion)
   ========================================= */

/* So the accordion header doesn't get hidden under the fixed toolbar */
#contact-form {
  scroll-margin-top: calc(var(--toolbar-h, 80px) + 20px);
}



/* =========================================
   Remove focus/active outline from Contact Form jump link
   ========================================= */

#contact a.js-open-contact-form,
#contact a.js-open-contact-form:focus,
#contact a.js-open-contact-form:active {
  outline: none;
  box-shadow: none;
}

/* Optional: only remove focus when triggered by mouse */
#contact a.js-open-contact-form:focus:not(:focus-visible) {
  outline: none;
}

#contact a.js-open-contact-form {
  -webkit-tap-highlight-color: transparent;
}



/* =========================================
   Features Text
   ========================================= */

#features-text .features-content {
  font-size: var(--fs-2);
  font-weight: 400;
}

@media (max-width: 1200px) {
  #features-text .features-content {
    font-size: var(--fs-1) !important;
  }
}

#features-text ul.features-content {
  padding-bottom: 20px;
  padding-left: 30px;
}

/* Target list items directly */
#features-text ul.features-content li {
  position: relative;
  padding-left: 36px;
  line-height: 1.5;
  margin-bottom: 12px;
  list-style: none;
}

/* Tick icon */
#features-text ul.features-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 22px;
  height: 22px;
  background-image: url("../../catmacs/tick-2-gold.png");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Intro list anchor styling */
#features-text ul.features-content li a {
  color: #c0b5a4;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Hover state */
#features-text ul.features-content li a:hover {
  color: #e8e8e8;
}

/* Visited and active states reset */
#features-text ul.features-content li a:visited,
#features-text ul.features-content li a:active,
#features-text ul.features-content li a:focus {
  color: #c0b5a4;
}


/* =========================================
   Features 1-cell centered grid
   ========================================= */

#features-text .features-grid {
  display: grid;
  grid-template-columns: 1fr;   /* single cell */
  width: 240px;                 /* fixed width */
  margin-left: auto;
  margin-right: auto;           /* horizontal centering */
}



/* =========================================
   Line Break <br> Mobile
   ========================================= */

br.br-mobile { display: none; }

@media (max-width: 1200px) {
  br.br-mobile { display: block; }
}



/* =========================================
   Accordion – remove numbering + fix wrapping
   ========================================= */

#info-list .acc-no {
  display: none !important;
}

/* Reclaim space previously used by the number */
#info-list .acc-block {
  grid-template-columns: 1fr auto !important;
}

/* Ensure title spans full width */
#info-list .acc-title {
  white-space: nowrap;
}



/* =========================================
   Accountable Grid
   ========================================= */

/* Inner grid wrapper (tablet+ default) */
#private-grid .private-grid-inner{
  display: grid;
  grid-template-columns: 1fr;          /* 1 column */
  grid-template-rows: auto auto auto;  /* 3 rows */
  row-gap: 18px;
  width: 100%;
}

/* All main cells v-align start */
#private-grid .private-grid-inner .acc-cell{
  align-self: start;                  /* v-align start within the grid row */
}

/* === Cell 1 === */
#private-grid .private-grid-inner .acc-1{
  text-align: left;
  padding-bottom: 20px;
}

/* === Cell 2 Nested Grid === */
#private-grid .private-grid-inner .acc-nested{
  display: grid;
  grid-template-columns: 45% 55%;
  column-gap: 0px;
  width: 100%;
  align-items: stretch;               /* row height set by image */
}

/* Nested cell 1: image v-start, h-left */
#private-grid .private-grid-inner .acc-n1{
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

#private-grid .private-grid-inner .acc-n1 img{
  display: block;
  max-width: 100%;
  height: auto;
}

/* Nested cell 2: text v-center, h-center */
#private-grid .private-grid-inner .acc-n2{
  display: flex;
  align-items: center;                /* v-center to image height */
  justify-content: center;            /* FIX: was invalid 'left' */
  text-align: center;
}

/* Cell 3: text v-start, h-center */
#private-grid .private-grid-inner .acc-3{
  text-align: center;
}

/* Hide mobile line by default (tablet+) */
#private-mobile{
  display: none;
}

#private-grid h2,
#private-grid h3{
  font-size: clamp(28px, 6vw, 100px);
}

@media (max-width: 700px){

  /* Hide ONLY the inner grid, not the whole section */
  #private-grid .private-grid-inner{
    display: none;
  }

  /* Show mobile single-line version */
  #private-mobile{
    display: block;
    text-align: center;
	line-height: 1.15;
  }

  #private-mobile a{
    line-height: inherit;
    margin: 0;
    padding: 0;
    display: inline;
  }
}


/* ==========================================================
   Private label -> expand / collapse (fade)
   ========================================================== */

#private-content {
  opacity: 0;
  transition: opacity 0.4s ease; /* must match JS duration */
}

/* when open */
#private-content.is-open {
  opacity: 1;
}

/* while closing */
#private-content.is-closing {
  opacity: 0;
}

/* Center the button under the grid */
#private-grid .branding-started-btn-wrap{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}




/* =========================================
   Private Label Benefits Grid
   1 row, 5 columns, v-align start, h-align center
========================================= */

#private-label-benefits{
  width: 100%;
}

/* Default (>=1200) */
#private-label-benefits{
  --plb-img-w: 80%; /* change this per breakpoint */
  --plb-gap: 10px;
}

#private-label-benefits .plb-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--plb-gap);

  align-items: start;       /* v-align start */
  justify-items: center;    /* h-align center per cell */

  width: 100%;
}

#private-label-benefits .plb-cell{
  width: 100%;
  display: flex;
  justify-content: center;  /* keep image centered */
  align-items: flex-start;  /* v-align start */
}

#private-label-benefits .plb-cell img{
  width: var(--plb-img-w);
  height: auto;
  display: block;
  object-fit: contain;
}

/* Stack into 1-column on mobile (<900px) */
@media (max-width: 899px){
  #private-label-benefits .plb-grid{
    grid-template-columns: 1fr;
  }
}

/* Image sizing controls */
@media (max-width: 599px){
  #private-label-benefits{
    --plb-img-w: 62%;
    --plb-gap: 18px;
  }
}

@media (min-width: 600px) and (max-width: 899px){
  #private-label-benefits{
    --plb-img-w: 50%;
    --plb-gap: 18px;
  }
}

@media (min-width: 900px) and (max-width: 1199px){
  #private-label-benefits{
    --plb-img-w: 78%;
    --plb-gap: 22px;
  }
}

/* >=1200 already handled by default variables above */




