/* =====================
   VARIABLES
===================== */
:root {
  --olive: #364025;
  --light-olive: #899064;
  --font: "Poppins", sans-serif;
}

/* =====================
   RESET & GLOBAL
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  background: #fff;
  color: #222;
  overflow-x: hidden;
}

/* =====================
   HERO SECTION
===================== */
.jarred-page .hero { 
    margin-top: -72px; 
    width: 100%; 
    height: 175vh; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    overflow: hidden; 
} 

.jarred-page .hero img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: right center; 
}

/* =====================
   BIO SECTION
===================== */
.jarred-page .bio {
  width: 100%;
  background: #364025;
  color: #fff;
  text-align: center;

  /* FIXED — perfect vertical & horizontal centering */
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 60px 30px;
}

.bio-content {
  width: min(600px, 92vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 40px 0;
}

/* Title */
.bio-title {
  font-family: "Prociono", serif;
  font-weight: 400;
  font-size: clamp(36px, 6vw, 62px);
  letter-spacing: .5px;
  margin-bottom: 18px;
  position: relative;
}

.bio-title::after {
  content: "";
  display: block;
  width: 600px;
  height: 4px;
  margin: 10px auto 0;
  background: rgba(255,255,255,.35);
  border-radius: 2px;
}

/* Subtitle */
.bio-subtitle {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: 32px;
  margin: 6px 0 50px;
  color: #e9ecdf;
}

/* Group wrapper */
.bio-involve {
  width: 100%;
  max-width: 820px;
  margin: 0 auto 20px;
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

/* Paragraph lines */
.bio-line {
  font-weight: 200;
  font-size: 25px;
  line-height: 1.6;
  color: #f1f3ea;
  margin-bottom: 10px;
}

/* Links */
.bio-link {
  display: inline-block;
  font-weight: 200;
  font-size: 25px;
  color: #fff;
  text-decoration: underline;
  margin: 4px 0 22px;
  transition: opacity .2s ease;
}
.bio-link:hover { opacity: .8; }

/* CTA Button */
.bio-cta {
  margin-top: 30px;
  align-self: center;
  padding: 16px 44px;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  background: #899064;
  border: none;
  cursor: pointer;
  transition: transform .08s ease, opacity .2s ease;
  text-decoration: none;
}
.bio-cta:hover { opacity: .9; }
.bio-cta:active { transform: translateY(1px); }

/* =========================================================
   MEDIA QUERIES 
========================================================= */

@media (max-width:1400px){
  .jarred-page .hero img { object-position:center right; }
}

@media (max-width:1200px){
  .bio-title::after { width:520px; }
}

@media (max-width:992px){
  .jarred-page .hero { min-height:80vh; }
  .jarred-page .hero img { object-position:center top; }

  .bio-subtitle { font-size:28px; }
  .bio-line, .bio-link { font-size:20px; }
}

/* 768px */
@media (max-width:768px){
  .bio-title::after{ width:360px; }
  .bio-content{ width:min(640px,92vw); }
  .bio-subtitle{ font-size:24px; }
}

/* HERO fix for tablets */
@media (max-width:992px) {
  .jarred-page .hero {
    height: 150vh;
  }
  .jarred-page .hero img {
    object-position: center top;
  }
}

/* MOBILE FIX — centers content perfectly */
@media (max-width:600px) {
  .jarred-page .bio {
    min-height: 100vh; /* FILLS full phone screen */
    padding: 40px 24px;
  }

  .bio-title::after{ width:200px; height:3px; }
  .bio-content{ max-width:90%; padding:30px 0; }

  .bio-title{ font-size:40px; }
  .bio-subtitle{ font-size:25px; margin-bottom:28px; }
  .bio-line, .bio-link{ font-size: 20px; }
}

@media (max-width:400px){
  .jarred-page .hero { height:75vh; }
  .jarred-page .hero img { object-position:center 10%; }
}

@media (max-width:480px){
  .jarred-page .hero{ min-height:72vh; }
  .jarred-page .hero img{ object-position:center 12%; }
  .bio-title{ font-size:32px; }
}

@media (max-width:360px){
  .jarred-page .hero{ min-height:70vh; }
  .jarred-page .hero img{ object-position:center 10%; }
  .bio-title{ font-size:30px; }
}

/* ===== SAFE FADE ===== */
@media (prefers-reduced-motion: no-preference){
  html.js .reveal{
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .8s ease, transform .8s ease;
    will-change: opacity, transform;
  }
  html.js .reveal.in{
    opacity: 1;
    transform: none;
  }
}
