:root{
  --olive:#364025;
  --light-olive:#899064;
  --ink:#222;
  --text-muted:rgba(63,63,63,0.80);
  --font:"Poppins", sans-serif;
  --container:1126px;
}

*{ margin:0; padding:0; box-sizing:border-box; }
body{
  font-family:var(--font);
  background:#fff;
  color:var(--ink);
  overflow-x:hidden !important;
}

.jarred-about-page{ width:101%; color:var(--text-muted); }

.about-hero{
  width:100%;
  height:658px;
  overflow:hidden;
}
.about-hero img{
  width:100%;
  height:700px;
  object-fit:cover;
  display:block;
}

.jarred-about-page .about-abs{
  position:relative;
  padding:60px 0;
}

.jarred-about-page .about-abs .abs-canvas{
  position:relative;
  width:100%;
  min-height:1100px;
}

.jarred-about-page .about-abs .abs-row{
  position:absolute;
  width:1300px;
  left:50%;
  transform:translateX(-43%);
}

.jarred-about-page .about-abs .row-1{ top:0; height:378px; }
.jarred-about-page .about-abs .row-2{ top:480px; height:540px; }

.jarred-about-page .about-abs .abs-img{
  position:absolute;
  left:0; top:0;
  width:584px;
  border-radius:none;
  object-fit:cover;
  display:block;
}

.jarred-about-page .about-abs .img-left-378{ height: 380px; left:0; }
.jarred-about-page .about-abs .img-right-540{ height:600px; left:542px; }

.jarred-about-page .about-abs .abs-text{
  position:absolute;
  top:0;
  width:502px;
  text-align:justify;
  color:rgba(64,64,64,0.80);
  font:400 18px/27px "Poppins", sans-serif;
  word-wrap:break-word;
}

.jarred-about-page .about-abs .text-right-502{ left:624px;}
.jarred-about-page .about-abs .text-left-502{ left:0; }

.jarred-about-page .values-container{
  position:relative;
  width:100%;
  color:#fff;
  text-align:center;
  background:var(--olive);
  padding:100px 20px 40px;
  isolation:isolate;
  margin-bottom:100px;
}

.jarred-about-page .background{ display:none;}

.jarred-about-page .values-title{
  font-family:var(--font);
  font-size:32px;
  font-weight:600;
  margin-bottom:20px;
  color:#fff;
}

.jarred-about-page .values-subtext{
  max-width:900px;
  margin:0 auto 64px;
  font-family:var(--font);
  font-size:18px;
  font-weight:400;
  line-height:27px;
  color:var(--light-olive);
}

.jarred-about-page .values-grid{
  display:flex;
  justify-content:center;
  gap:40px;
  flex-wrap:wrap;
}

.jarred-about-page .value-card{
  width:340px;
  background:transparent;
  text-align:center;
  will-change:opacity, transform;
  opacity:0;
  transform:translateY(10px);
  transition:opacity .5s ease, transform .5s ease;
}

.jarred-about-page .value-card h3{
  font-family: var(--font);
  font-size: 25px;
  font-weight: 600;
  line-height: 40px;
  margin-bottom: 12px;
  color: #fff;
  max-width: 200px;
  text-align: center;      /* center the text */
  margin-left: auto;       /* center the box */
  margin-right: auto;      /* center the box */
}

.jarred-about-page .value-card p{
  color:var(--light-olive);
  font-family:var(--font);
  font-size:18px;
  font-weight:400;
  line-height:27px;
}

.jarred-about-page .values-grid.reveal .value-card{
  opacity:1;
  transform:translateY(0);
}
.jarred-about-page .values-grid.reveal .value-card:nth-child(1){ transition-delay:.05s; }
.jarred-about-page .values-grid.reveal .value-card:nth-child(2){ transition-delay:.15s; }
.jarred-about-page .values-grid.reveal .value-card:nth-child(3){ transition-delay:.25s; }
.jarred-about-page .values-grid.reveal .value-card:nth-child(4){ transition-delay:.35s; }
.jarred-about-page .values-grid.reveal .value-card:nth-child(5){ transition-delay:.45s; }
.jarred-about-page .values-grid.reveal .value-card:nth-child(6){ transition-delay:.55s; }

.jarred-about-page .values-grid--more{
  overflow:hidden;
  max-height:0;
  opacity:0;
  padding-top:50px;
  padding-bottom:50px;
  transform:translateY(16px);
  transition:max-height .6s ease, opacity .35s ease, transform .35s ease;
}
.jarred-about-page .values-grid--more.is-open{
  max-height:2000px;
  opacity:1;
  transform:translateY(0);
}

.jarred-about-page .view-more-btn{
  position:absolute;
  left:50%;
  bottom:-32px;
  transform:translateX(-50%);
  width:230px;
  height:64px;
  background:#fff;
  border:2px solid #364025;
  border-radius:50px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  cursor:pointer;
  transition:background .25s ease, border-color .25s ease, transform .2s ease, box-shadow .25s ease;
  box-shadow:0 2px 8px rgba(0,0,0,.10);
  box-sizing:border-box;
  z-index:1;
}
.jarred-about-page .view-more-btn span{
  color:rgba(63,63,63,.8);
  font-size:16px;
  font-family:var(--font);
  font-weight:400;
}

.jarred-about-page .view-more-btn::after{
  content:"";
  width:12px; height:12px;
  border-right:2px solid rgba(63,63,63,.8);
  border-bottom:2px solid rgba(63,63,63,.8);
  transform:rotate(45deg);
  transition:transform .25s ease, border-color .25s ease;
}

.jarred-about-page .view-more-btn:hover{
  background:var(--light-olive);
  border-color:var(--light-olive);
  transform:translateX(-50%) translateY(-1px);
  box-shadow:0 6px 18px rgba(0,0,0,.12);
}
.jarred-about-page .view-more-btn:hover span{ color:#fff; }
.jarred-about-page .view-more-btn:hover::after{ border-color:#fff; }

.jarred-about-page .view-more-btn.is-open::after{
  transform:rotate(225deg);
}

.jarred-about-split .split-wrap{
  max-width:1160px;
  margin:0 auto;
  padding:10px 20px 20px;
}

.split-row{
  display:flex;
  gap:40px;
  align-items:center;
  justify-content:space-between;
  margin-bottom:50px;
}

.img-text{ flex-direction:row; }
.text-img{ flex-direction:row; }

.split-image, .split-text{ flex:1 1 0; }

.split-image img{
  width:100%;
  height:500px;
  border-radius:none;
  object-fit:cover;
  display:block;
}

.split-text{
  font-size:18px;
  font-weight:400;
  line-height:27px;
  text-align:justify;
  white-space: pre-line;
}

.about-hscroll{
  padding:0;
  background:transparent;
}
.about-hscroll .hshell{
  position:relative;
  width:100vw;
  margin-left:calc(50% - 50vw);
  overflow:hidden;
}

.about-hscroll .hs-track{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:600px;
  gap:0;
  overflow:hidden;
  scroll-behavior:smooth;
}

.about-hscroll .hs-item{
  border-radius:0;
  overflow:hidden;
  background:#000;
  height:500px;
}

.about-hscroll .hs-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.about-hscroll .hs-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:48px;
  height:48px;
  border:0;
  border-radius:999px;
  cursor:pointer;
  display:grid;
  place-items:center;
  z-index:5;
  background:rgba(255,255,255,0.92);
  box-shadow:0 10px 22px rgba(0,0,0,0.18);
  transition:transform .15s ease, background .15s ease;
}
.about-hscroll .hs-btn.prev{ left:16px; }
.about-hscroll .hs-btn.next{ right:16px; }
.about-hscroll .hs-btn i{ font-size:20px; color:#364025; line-height:1; }
.about-hscroll .hs-btn:hover{ transform:translateY(-50%) scale(1.06); }
.about-hscroll .hs-btn:active{ transform:translateY(-50%) scale(0.96); }

/* Css Ventures */
.ventures {
  background: var(--olive);
  color: #fff;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(60px, 6vw, 90px) 20px;
  text-align: center;
  padding-bottom: 40px;
}

.ventures-inner {
  max-width: 1150px;
  margin: 0 auto;
}

.ventures-title {
  font-weight: 600;
  font-size: 32px;
  line-height: 1.4;
  margin-bottom: 18px;
}

.ventures-sub {
  max-width: 950px;
  margin: 0 auto clamp(60px, 5vw, 80px);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--light-olive, #B8BEAD);
}

/* UPDATED GRID — 3 → 2 → 1 */
.ventures-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 per row on desktop */
  justify-content: center;
  gap: 60px 20px;
}

/* Cards */
.venture-card {
  border-radius: 20px;
  border: none;
  padding: 32px 32px 26px;
  text-align: center;
  background: transparent;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: transform .25s ease, box-shadow .25s ease;
}

.venture-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}

.venture-logo-wrap img {
  max-width: 284px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.venture-name {
  font-size: 20px;
  font-weight: 600;
  color: #899064;
  margin: 0 0 6px;
}

.venture-tagline {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 12px;
}

.venture-desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: #fff;
  text-align: justify;
  margin: 0 0 18px;
}

.venture-link {
  font-size: 18px;
  font-weight: 600;
  color: #899064;
  text-decoration: underline;
  line-height: 1.6;
  display: inline-block;
  word-break: break-all;
}

.venture-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.30);
}

/* Portfolio CTA */
.portfolio-cta {
  position:relative;
  width:100vw;
  margin-left:calc(50% - 50vw);
  overflow:hidden;
  min-height:clamp(360px, 48vw, 680px);
}

.portfolio-cta::before {
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:120px;
  background:var(--olive);
  z-index:3;
}

.portfolio-cta__bg {
  position:absolute;
  inset:0;
  z-index:1;
  overflow:hidden;
}

.portfolio-cta__bg img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

.portfolio-cta__overlay {
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom, rgba(255,255,255,0.4), rgba(255,255,255,0.4)), rgba(0,0,0,0.2);
  z-index:2;
}

.portfolio-cta__inner {
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:4;
  transform:translateY(60px);
}

.portfolio-btn {
  --btn-bg:#4B3D1A;
  --btn-shadow:0 10px 24px rgba(0, 0, 0, 0.3);
  display:inline-block;
  background:var(--btn-bg);
  color:#fff;
  text-decoration:none;
  padding:18px 40px;
  border-radius:none;
  font:400 18px/1.25 "Poppins", sans-serif;
  letter-spacing:.2px;
  box-shadow:var(--btn-shadow);
  transition:.5s ease-in-out;
}

.portfolio-btn:hover {
  transform:translateY(-1px);
  filter:brightness(1.07);
}

html, body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

.jarred-about-page{
  overflow-x:hidden;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

html, body, .jarred-about-page { overflow-x:hidden; }

/* =========================
   MEDIA QUERIES
========================= */

/* About absolute rows responsive */
@media (max-width:1024px){
  .jarred-about-page .about-abs .abs-canvas{
    min-height:unset;
  }
  .jarred-about-page .about-abs .abs-row{
    position:relative;
    top:0;
    transform:none;
    width:min(94vw,1126px);
    margin:0 auto 48px;
    height:auto;
  }
  .jarred-about-page .about-abs .abs-img,
  .jarred-about-page .about-abs .abs-text{
    position:relative;
    left:0; top:0;
    width:100%;
  }
  .jarred-about-page .about-abs .img-left-378,
  .jarred-about-page .about-abs .img-right-540{
    height:auto;
    margin-bottom:16px;
  }
}

@media (max-width:600px){
  .jarred-about-page .about-abs .abs-row{ margin-bottom:40px; }
  .jarred-about-page .about-abs .abs-text{
    font-size:16px;
    line-height:25px;
  }
}

/* Values layout tweaks */
@media (max-width:768px){
  .jarred-about-page .values-container{
    padding:80px 16px 110px;
  }
  .jarred-about-page .value-card{ width:min(340px,100%); }
  .jarred-about-page .view-more-btn{
    width:210px;
    height:58px;
    bottom:-29px;
  }
  .jarred-about-page .values-subtext{ margin-bottom:56px; }
}

@media (prefers-reduced-motion:reduce){
  .jarred-about-page .value-card,
  .jarred-about-page .values-grid--more,
  .jarred-about-page .view-more-btn{
    transition:none !important;
  }
}

/* Split rows */
@media (max-width:1024px){
  .split-row{ gap:28px; margin-bottom:60px; }
}

@media (max-width:768px){
  .split-row{ flex-direction:column; }
  .split-text{ font-size:16px; line-height:25px; }
  .jarred-about-split .split-wrap{ padding-bottom:80px; }
}

@media (max-width:480px){
  .split-text{ font-size:15px; line-height:24px; }
  .split-row{ margin-bottom:50px; }
}

/* Values font sizes at breakpoints */
@media (max-width:1024px) {
  .jarred-about-page .values-title { font-size:40px; }
  .jarred-about-page .values-subtext { font-size:17px; margin-bottom:60px; }
  .jarred-about-page .values-grid { gap:30px; }
}

@media (max-width:768px) {
  .jarred-about-page .values-title { font-size:36px; }
  .jarred-about-page .values-subtext { font-size:16px; line-height:25px; margin-bottom:50px; }
  .jarred-about-page .value-card { width:100%; max-width:380px; }
  .jarred-about-page .value-card h3 { font-size:26px; line-height:34px; }
  .jarred-about-page .value-card p { font-size:16px; }
  .jarred-about-page .view-more-btn { width:200px; height:55px; margin-top:70px; }
}

@media (max-width:480px) {
  .jarred-about-page .values-title { font-size:28px; }
  .jarred-about-page .values-subtext { font-size:15px; }
  .jarred-about-page .value-card h3 { font-size:22px; }
  .jarred-about-page .value-card p { font-size:15px; line-height:24px; }
  .jarred-about-page .view-more-btn { width:180px; height:50px; }
}

/* Old generic about row responsiveness (kept) */
@media (max-width:1200px){
  .about-img{ width:48%; }
  .about-text{ width:48%; }
}
@media (max-width:1024px){
  .about-row{ flex-direction:column; align-items:center; }
  .about-img, .about-text{ width:100%; }
  .about-img.tall{ height:auto; }
  .values-grid{ grid-template-columns:1fr; gap:28px; }
  .value-item{ max-width:680px; }
  .values-title{ font-size:40px; }
}
@media (max-width:600px){
  .about-section{ padding:60px 20px; }
  .about-text{ font-size:16px; line-height:25px; }
  .values-title{ font-size:34px; }
}

/* Carousel sizing */
@media (max-width:520px){
  .about-hscroll .hs-track{ grid-auto-columns:100vw; }
  .about-hscroll .hs-item{ height:100vw; }
}

/* Portfolio CTA */
@media (max-width:768px) {
  .portfolio-cta { min-height:360px; }
  .portfolio-cta::before { height:80px; }
  .portfolio-cta__inner { transform:translateY(40px); }
  .portfolio-btn { font-size:18px; padding:14px 24px; border-radius:10px; }
}

/* Hero image responsive */
@media (max-width:768px){
  .about-hero{ height:auto; }
  .about-hero img{
    height:48vh;
    object-fit:cover;
    object-position:center top;
  }
}

/* Absolute about section padding mobile */
@media (max-width:768px){
  .jarred-about-page .about-abs{ padding:36px 16px; }
  .jarred-about-page .about-abs .abs-row{ margin-bottom:32px; }
  .jarred-about-page .about-abs .abs-text{
    font-size:16px;
    line-height:25px;
    text-align:justify;
  }
}

@media (max-width:768px){
  .jarred-about-page .about-abs .abs-img{
    width:100%;
    height:auto;
    margin-bottom:12px;
  }
}

/* Values full-width on smaller screens */
@media (max-width:900px){
  .jarred-about-page .values-container{
    width:100vw;
    margin-left:calc(50% - 50vw);
    padding:80px 18px 110px;
  }
  .jarred-about-page .values-title{ font-size:30px; }
  .jarred-about-page .values-subtext{
    max-width:680px;
    margin-bottom:50px;
    font-size:16px;
    line-height:25px;
  }
  .jarred-about-page .value-card{ width:100%; max-width:380px; margin-inline:auto; }
  .jarred-about-page .view-more-btn{
    left:50%;
    transform:translateX(-50%);
    bottom:-28px;
    width:200px;
    height:55px;
  }
}

/* Split rows mobile stacking override */
@media (max-width:768px){
  .split-row{
    flex-direction:column;
    gap:16px;
    margin-bottom:44px;
    align-items:stretch;
  }
  .split-row .split-image{ order:-1; }
  .split-image img{
    width:100%;
    height:auto;
    max-height:none;
    display:block;
  }
  .split-text{
    font-size:16px;
    line-height:25px;
    text-align:justify;
  }
  .jarred-about-split .split-wrap{ padding:8px 16px 70px; }
}

/* Carousel arrows small screens */
@media (max-width:520px){
  .about-hscroll .hs-btn{ width:42px; height:42px; }
  .about-hscroll .hs-btn i{ font-size:18px; }
}

/* Ventures section text & padding tweaks at <=900px (kept) */
@media (max-width:900px){
  .ventures{ padding:56px 16px 8px; }
  .ventures-sub{
    max-width:680px;
    font-size:16px;
    line-height:25px;
    margin-bottom:48px;
    text-align:justify !important;
  }
  .ventures-row{ gap:34px; }
  .ventures-row img{ width:220px; }
}
@media (max-width:600px){
  .ventures-row{ flex-direction:column; gap:26px; }
  .ventures-row img{ width:180px; }
}

/* UPDATED responsive grid for .ventures-grid */
@media (max-width:1100px) {
  .ventures-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 per row */
    gap: 50px 40px;
  }
}

@media (max-width:700px) {
  .ventures-grid {
    grid-template-columns: 1fr; /* 1 per row */
    gap: 40px;
  }
}

/* Portfolio button padding extra tweaks */
@media (max-width:768px){
  .portfolio-cta{ min-height:360px; }
  .portfolio-cta__inner{ transform:translateY(40px); }
  .portfolio-btn{ padding:14px 24px; font-size:18px; }
}

/* Super-responsive absolute about section override */
@media (max-width:900px){
  .jarred-about-page .about-abs{
    width:100% !important;
    margin:0 auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
    display:block;
    text-align:justify !important;
  }
  .jarred-about-page .about-abs .abs-row{
    position:relative !important;
    left:0 !important;
    right:0 !important;
    transform:none !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    margin:0 auto 44px !important;
    text-align:justify !important;
  }
  .jarred-about-page .about-abs .abs-img,
  .jarred-about-page .about-abs .abs-img img{
    width:min(92vw,560px) !important;
    max-width:560px !important;
    height:auto !important;
    display:block !important;
    margin:0 auto 14px !important;
    object-fit:cover !important;
    border-radius:10px !important;
  }
  .jarred-about-page .about-abs .img-left-378,
  .jarred-about-page .about-abs .img-right-540{
    height:auto !important;
  }
  .jarred-about-page .about-abs .abs-text{
    position:static !important;
    left:0 !important; right:0 !important; top:0 !important;
    width:min(92vw,560px) !important;
    max-width:560px !important;
    margin:0 auto !important;
    text-align:center !important;
    font-size:16px;
    line-height:25px;
  }
}

@media (max-width:520px){
  .jarred-about-page .about-abs .abs-img{ width:92% !important; max-width:380px !important; }
  .jarred-about-page .about-abs .abs-text{ width:92% !important; }
}

/* Old ventures hover-layout leftovers (safe to keep) */
@media (max-width:900px){
  .ventures-row img {
    width:320px !important;
    max-width:90% !important;
    height:auto !important;
  }
  .ventures-row {
    gap:50px !important;
  }
}

@media (max-width:600px){
  .ventures-row { flex-direction:column; gap:40px !important; }
  .ventures-row img { width:280px !important; }
}

@media (min-width:901px){
  .ventures-row img { width:500px !important; }
}

@media (max-width:900px){
  .venture-info {
    width:min(90vw,420px) !important;
    padding:18px 20px !important;
    font-size:15px !important;
    line-height:24px !important;
    border-radius:10px !important;
    transform:translate(-50%, 60%) scale(1) !important;
  }
  .venture-info h3 {
    font-size:20px !important;
    line-height:28px !important;
    margin-bottom:10px !important;
  }
  .venture-info p {
    font-size:15px !important;
    line-height:23px !important;
    text-align:justify !important;
  }
}

@media (max-width:600px){
  .venture-info {
    width:min(94vw,360px) !important;
    padding:16px 18px !important;
    font-size:14px !important;
    line-height:22px !important;
  }
  .venture-info h3 { font-size:18px !important; }
}

/* Portfolio button font tweaks */
@media (max-width:900px){
  .portfolio-btn {
    font-size:16px !important;
    padding:12px 26px !important;
    border-radius:8px !important;
  }
}
@media (max-width:600px){
  .portfolio-btn {
    font-size:15px !important;
    padding:10px 22px !important;
  }
}

/* Text justification helpers */
@media (max-width:900px){
  .jarred-about-page .values-subtext {
    text-align:justify !important;
    text-justify:inter-word !important;
  }
  .jarred-about-page .value-card p {
    text-align:justify !important;
    text-justify:inter-word !important;
  }
  .jarred-about-page .value-card h3 {
    text-align:center !important;
    margin-bottom:8px !important;
  }
}

@media (max-width:900px){
  .jarred-about-page .about-abs .abs-text {
    text-align:justify !important;
    text-justify:inter-word !important;
  }
}

/* Scroll reveal base animation */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.js .reveal.in {
  opacity: 1;
  transform: translateY(0);
}
