/* ==========================================================================
   THE TRUE TOMATO — founder.html & about.html specific components
   (built on the design system in style.css)
   ========================================================================== */

/* ============ SHARED PAGE HERO (reuses .hero intro classes) ============ */
.phero {
  position: relative; min-height: 86vh;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center; gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.2rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.phero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.phero__copy { position: relative; z-index: 2; }
.phero__visual { position: relative; z-index: 2; display: grid; place-items: center; }
@media (max-width: 980px) { .phero { grid-template-columns: 1fr; min-height: auto; } }

/* ============ FOUNDER: POLAROID ============ */
.polaroid {
  position: relative; background: #fff; padding: 1.1rem 1.1rem 3.6rem;
  border: 2px solid var(--ink); box-shadow: var(--shadow);
  transform: rotate(3deg); max-width: min(360px, 78vw);
  transition: transform .5s var(--ease-juice);
}
.polaroid:hover { transform: rotate(.5deg) scale(1.03); }
.polaroid img { width: 100%; display: block; border: 1.5px solid rgba(39,22,14,.2); }
.polaroid figcaption {
  position: absolute; left: 0; right: 0; bottom: .8rem; text-align: center;
  font-family: var(--font-hand); font-size: 1.5rem; color: var(--ink);
}
.polaroid__tape {
  position: absolute; top: -14px; left: 50%; width: 110px; height: 30px;
  transform: translateX(-50%) rotate(-4deg);
  background: rgba(224,169,62,.65); border: 1px dashed rgba(39,22,14,.25);
}
.phero__note2 {
  position: absolute; right: 2%; bottom: 4%;
  font-size: 1.3rem; transform: rotate(-5deg); color: var(--tomato); z-index: 3;
}

/* ============ FOUNDER: THE LETTER ============ */
.letter { padding: clamp(4rem, 9vw, 8rem) clamp(1.2rem, 5vw, 4rem); position: relative; }
.letter__paper {
  max-width: 820px; margin: 0 auto; background: var(--paper);
  border: 2px solid var(--ink); border-radius: 14px; box-shadow: var(--shadow);
  padding: clamp(2.2rem, 5vw, 4rem) clamp(1.6rem, 5vw, 4rem);
  background-image: repeating-linear-gradient(transparent, transparent 35px, rgba(39,22,14,.06) 36px);
  transform: rotate(-.4deg); position: relative;
}
.letter__stamp {
  position: absolute; top: 1.4rem; right: 1.6rem; width: 74px; height: 88px;
  border: 2px dashed var(--tomato); border-radius: 6px; display: grid; place-items: center;
  font-size: 2rem; background: var(--cream); transform: rotate(6deg);
}
.letter__paper p { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 36px; margin-bottom: 36px; color: var(--ink); }
.letter__paper p:first-of-type::first-letter {
  font-size: 4.2em; float: left; line-height: .82; padding: .05em .12em 0 0;
  color: var(--tomato); font-weight: 600; font-variation-settings: "SOFT" 100, "WONK" 1;
}
.hl {
  background: linear-gradient(120deg, rgba(216,52,28,.28), rgba(216,52,28,.28));
  background-repeat: no-repeat; background-size: 0% 88%; background-position: 0 60%;
  border-radius: 4px; padding: 0 .1em;
}
.letter__sig { display: flex; align-items: baseline; gap: 1rem; margin-top: 1rem; }
.letter__sig .hand { font-size: 2.4rem; color: var(--tomato); transform: rotate(-3deg); }
.letter__sig .mono { font-size: .72rem; color: var(--ink-soft); letter-spacing: .14em; }

/* ============ FOUNDER: 2KG → 1KG RATIO ============ */
.ratio { background: var(--vine); border-block: 2.5px solid var(--ink); padding: clamp(4rem, 9vw, 7rem) 1.2rem; text-align: center; color: var(--cream); overflow: hidden; }
.ratio h2 { color: var(--cream); }
.ratio__stage { position: relative; max-width: 720px; margin: 2.5rem auto 0; height: 300px; }
.ratio__pot { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 240px; }
.ratio__tomato { position: absolute; top: -60px; width: 54px; will-change: transform; }
.ratio__figures { display: flex; justify-content: center; gap: clamp(2rem, 8vw, 6rem); margin-top: 2.4rem; flex-wrap: wrap; }
.ratio__fig b { display: block; font-size: clamp(3rem, 7vw, 5rem); color: var(--khand); font-variation-settings: "SOFT" 100, "WONK" 1; font-variant-numeric: tabular-nums; }
.ratio__fig span { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .16em; opacity: .9; }
.ratio__arrow { font-size: clamp(2.4rem, 5vw, 4rem); align-self: center; transform: rotate(-6deg); }

/* ============ FOUNDER: TIMELINE ============ */
.tl { padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 5vw, 4rem); position: relative; }
.tl__rail {
  position: absolute; left: 50%; top: 16rem; bottom: 8rem; width: 6px;
  background: rgba(39,22,14,.12); border-radius: 99px; transform: translateX(-50%);
}
.tl__rail span { display: block; width: 100%; height: 0%; background: var(--tomato); border-radius: 99px; }
.tl__items { max-width: 1000px; margin: 0 auto; display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); position: relative; }
.tl__item {
  width: calc(50% - 3rem); background: var(--paper); border: 2px solid var(--ink);
  border-radius: var(--r-md); padding: 1.6rem 1.8rem; box-shadow: var(--shadow); position: relative;
}
.tl__item:nth-child(odd) { margin-right: auto; transform: rotate(-.8deg); }
.tl__item:nth-child(even) { margin-left: auto; transform: rotate(.8deg); }
.tl__item::after {
  content: "🍅"; position: absolute; top: 1.4rem; font-size: 1.4rem;
  filter: drop-shadow(0 2px 3px rgba(39,22,14,.3));
}
.tl__item:nth-child(odd)::after { right: -4.35rem; }
.tl__item:nth-child(even)::after { left: -4.35rem; }
.tl__item .mono { font-size: .68rem; color: var(--tomato); letter-spacing: .18em; display: block; margin-bottom: .4rem; }
.tl__item h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.tl__item p { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 760px) {
  .tl__rail { left: 12px; }
  .tl__item { width: calc(100% - 3rem); margin-left: 3rem !important; }
  .tl__item::after { left: -2.6rem !important; right: auto; }
}

/* ============ FILM (Why We Created This) ============ */
.film { background: var(--ink); color: var(--cream); border-block: 2.5px solid var(--ink); padding: clamp(5rem, 10vw, 8rem) clamp(1.2rem, 5vw, 4rem); position: relative; overflow: hidden; }
.film__frame {
  position: relative; max-width: 920px; margin: 0 auto;
  border: 3px solid var(--cream); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
  background: #000; aspect-ratio: 16 / 9;
}
.film__frame video { width: 100%; height: 100%; display: block; object-fit: cover; }
.film__poster {
  position: absolute; inset: 0; z-index: 2; cursor: pointer; border: 0; padding: 0;
  background: none; display: grid; place-items: center;
}
.film__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.film__play {
  position: relative; z-index: 2; width: clamp(84px, 10vw, 120px); aspect-ratio: 1;
  border-radius: 50%; background: var(--tomato); border: 3px solid var(--cream);
  display: grid; place-items: center; box-shadow: 0 16px 40px rgba(0,0,0,.5);
  transition: transform .4s var(--ease-juice);
}
.film__poster:hover .film__play { transform: scale(1.15) rotate(-8deg); }
.film__play::after { content: ""; border-style: solid; border-width: 16px 0 16px 28px; border-color: transparent transparent transparent var(--cream); margin-left: 6px; }
.film__poster figcaption, .film__label {
  position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); z-index: 2;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .2em; color: var(--cream);
  background: rgba(39,22,14,.7); padding: .6em 1.2em; border-radius: 99px; white-space: nowrap;
}
.film__marq { margin-top: 3rem; text-align: center; }
.film__marq .hand { color: var(--khand); font-size: clamp(1.3rem, 2.4vw, 1.8rem); }

/* ============ REELS (What customers say) ============ */
.reels { padding: clamp(5rem, 10vw, 8rem) clamp(1.2rem, 5vw, 4rem); background: var(--cream-deep); border-bottom: 2.5px solid var(--ink); }
.reels__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; max-width: 1060px; margin: 0 auto; }
.reel {
  position: relative; border: 3px solid var(--ink); border-radius: 34px;
  overflow: hidden; background: #000; aspect-ratio: 9 / 16;
  box-shadow: var(--shadow); transition: transform .45s var(--ease-juice);
}
.reel:hover { transform: translateY(-10px) rotate(-1deg); }
.reel::before {
  content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 16px; background: var(--ink); border-radius: 99px; z-index: 3;
}
.reel iframe { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.reel__tag {
  position: absolute; bottom: -1px; left: -1px; z-index: 3;
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em;
  background: var(--khand); border: 2px solid var(--ink); border-radius: 0 14px 0 0;
  padding: .5em 1em;
}

/* ============ PROMISE STAMPS ============ */
.promise { padding: clamp(5rem, 10vw, 8rem) clamp(1.2rem, 5vw, 4rem); }
.promise__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.4rem; max-width: 1060px; margin: 0 auto; }
.stamp {
  border: 2.5px dashed var(--tomato); border-radius: 14px; padding: 1.6rem 1.4rem;
  text-align: center; background: var(--paper); transform: rotate(var(--tilt, -1deg));
  transition: transform .4s var(--ease-juice), background .3s;
}
.stamp:hover { transform: rotate(0) scale(1.05); background: #FCE4D8; }
.stamp i { font-style: normal; font-size: 2.2rem; display: block; margin-bottom: .6rem; }
.stamp b { font-size: 1.1rem; display: block; }
.stamp span { font-family: var(--font-hand); color: var(--tomato); font-size: 1.15rem; }

/* ============ ABOUT: TRUTH CARDS ============ */
.truths { padding: clamp(4rem, 9vw, 8rem) clamp(1.2rem, 5vw, 4rem); }
.truths__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.6rem; max-width: 1240px; margin: 0 auto; }
.truth {
  position: relative; background: var(--paper); border: 2px solid var(--ink);
  border-radius: var(--r-lg); padding: 2.2rem 1.9rem; overflow: hidden;
  transition: transform .45s var(--ease-juice), box-shadow .45s;
}
.truth:hover { transform: translateY(-10px) rotate(-.8deg); box-shadow: var(--shadow); }
.truth__no {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em;
  color: var(--tomato); display: block; margin-bottom: .9rem;
}
.truth h3 { font-size: 1.55rem; margin-bottom: .6rem; }
.truth p { color: var(--ink-soft); font-size: .98rem; }
.truth__big {
  position: absolute; right: -.1em; bottom: -.25em; font-size: 7rem; line-height: 1;
  font-weight: 640; color: rgba(216,52,28,.08); pointer-events: none;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.truth--feature { background: var(--tomato); color: var(--cream); }
.truth--feature h3, .truth--feature p { color: var(--cream); }
.truth--feature .truth__no { color: var(--khand); }
.truth--feature .truth__big { color: rgba(250,241,223,.14); }

/* ============ ABOUT: LIVE POUR VIDEO CARD ============ */
.pour {
  position: relative; border: 2.5px solid var(--ink); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow); max-width: min(440px, 86vw);
  transform: rotate(2deg); background: #000;
}
.pour video { width: 100%; display: block; aspect-ratio: 4 / 5; object-fit: cover; }
.pour figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em;
  background: rgba(39,22,14,.75); color: var(--cream); padding: .8em 1.2em; text-align: center;
}
.pour__live {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em;
  background: var(--tomato); color: var(--cream); border: 2px solid var(--cream);
  border-radius: 99px; padding: .45em 1em; display: flex; align-items: center; gap: .5em;
}
.pour__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cream); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* ============ ABOUT: CERTIFICATION STRIP ============ */
.certs { background: var(--khand); border-block: 2.5px solid var(--ink); padding: clamp(2.5rem, 5vw, 4rem) clamp(1.2rem, 5vw, 4rem); }
.certs__row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.2rem, 4vw, 3rem); max-width: 1100px; margin: 0 auto; }
.cert {
  display: flex; align-items: center; gap: .8rem; font-family: var(--font-mono);
  font-size: .78rem; letter-spacing: .1em; background: var(--paper);
  border: 2px solid var(--ink); border-radius: 999px; padding: .8em 1.5em;
  box-shadow: 3px 3px 0 var(--ink); transition: transform .3s var(--ease-juice);
}
.cert:hover { transform: translateY(-4px) rotate(-1.5deg); }
.cert i { font-style: normal; font-size: 1.25rem; }

/* ============ BREADCRUMB KICKER ============ */
.crumb {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em;
  color: var(--ink-soft); margin-bottom: 1rem; display: inline-flex; gap: .7em; align-items: center;
}
.crumb a { color: var(--vine); text-decoration: none; }
.crumb a:hover { color: var(--tomato); }

/* page hero reuses .hero__title sizing but slightly smaller */
.phero .hero__title { font-size: clamp(3rem, 7.6vw, 6.8rem); }
