/* ==========================================================================
   Beyond Brew — homepage sections (in page order)
   ========================================================================== */

/* 01 Hero
   -------------------------------------------------------------------------- */
.hero { padding: 80px 0 100px; background: var(--black); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--white);
}
.pills b { color: var(--gold); font-weight: 600; }

.hero-shot { position: relative; min-height: 600px; background: radial-gradient(closest-side, rgba(199, 123, 48, .28), rgba(10, 10, 10, 0)); }
.hero-shot .ph { position: absolute; inset: 24px; }

/* 02 Hook
   -------------------------------------------------------------------------- */
.hook { background: var(--black); text-align: center; border-top: 1px solid var(--line-gold-soft); }
.hook-in { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.hook .h1 { font-size: clamp(56px, 10vw, 148px); }
.hook p { max-width: 560px; margin: 0 auto; font-size: 20px; color: var(--muted); }
.hook .hook-tag {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--white);
}

/* 03 Wow / benefits
   -------------------------------------------------------------------------- */
.wow { background: var(--black); }
.wow-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 40px 28px; margin-top: 72px; }
.wow-item { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.wow-item b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--white);
}
.wow-item span { font-size: 15px; line-height: 1.4; color: var(--muted); }

.ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
  margin-top: 88px;
  padding: 28px 12px;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--gold-light);
}
.strip i { color: var(--brand-green); font-style: normal; }

/* 04 Comparison table
   -------------------------------------------------------------------------- */
.compare { background: var(--black); border-top: 1px solid var(--line-gold-soft); }
.tbl-box { max-width: 860px; margin: 64px auto 0; overflow-x: auto; }

.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 18px; }
.tbl th,
.tbl td { padding: 20px 24px; text-align: center; border-bottom: 1px solid var(--line-white); }
.tbl th:first-child,
.tbl td:first-child { text-align: left; }
.tbl th {
  padding-top: 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.tbl th.us { color: var(--black); background: var(--gold); border-radius: 20px 20px 0 0; }
.tbl td.us {
  background: var(--card);
  border-left: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  color: var(--white);
  font-weight: 600;
}
.tbl tr:last-child td.us { border-bottom: 1px solid var(--gold); border-radius: 0 0 20px 20px; }
.tbl td:first-child { font-weight: 400; color: var(--white); }
.tbl .v { color: var(--muted); font-size: 16px; }

.fn { max-width: 860px; margin: 16px auto 0; font-size: 14px; color: var(--muted); text-align: left; }
.compare-cta { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 96px; text-align: center; }

/* 05 Product
   -------------------------------------------------------------------------- */
.product { background: var(--black); border-top: 1px solid var(--line-gold-soft); }
.prod-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.prod-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.prod-shot { display: flex; min-height: 640px; }
.prod-shot .ph { flex: 1; }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0 .45em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.facts i { font-style: normal; }
.tlink {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--gold);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* 06 Ingredients
   -------------------------------------------------------------------------- */
.ingr { background: var(--black); border-top: 1px solid var(--line-gold-soft); }
.ingr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; margin-top: 64px; }

.ing {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--line-gold);
  border-radius: 24px;
}
.ing .dot {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--forest-green);
}
.ing b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.ing span { display: block; margin-top: 8px; font-size: 16px; line-height: 1.45; color: var(--muted); }

.sign { margin-top: 96px; text-align: center; }
.sign .rule { margin-bottom: 36px; }
.sign .lead { margin-top: 16px; }

/* 07 Trust / certifications
   -------------------------------------------------------------------------- */
.trust { background: var(--black); border-top: 1px solid var(--line-gold-soft); padding: 160px 0; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 56px; margin-top: 80px; }

.tb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--white);
}

.seal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 124px;
  height: 124px;
  border: 2px solid var(--brand-green);
  border-radius: 50%;
  background: var(--black);
}
.seal.seal-gold { border-color: var(--gold); }
.seal em {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--white);
}
.seal .seal-sm { font-size: 26px; }
.seal small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.seal .lf { position: absolute; top: -16px; right: 6px; }

.claim {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 640px;
  margin: 96px auto 0;
  padding: 28px 32px;
  border: 1px solid var(--gold);
  border-radius: 24px;
  text-align: left;
}
.claim .num {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
}
.claim p {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--white);
}

/* 08 Reviews
   -------------------------------------------------------------------------- */
.reviews { background: var(--black); border-top: 1px solid var(--line-gold-soft); }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; margin-top: 64px; }

.rv {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line-gold);
  border-radius: 24px;
}
.rv .ph { aspect-ratio: 4 / 5; border: 0; border-bottom: 1px dashed var(--line-dashed); border-radius: 0; }
.rv-body { display: flex; flex-direction: column; gap: 14px; padding: 28px; }
.rv-body .stars { margin: 0; justify-content: flex-start; }
.rv-body p { font-size: 17px; color: var(--white); }
.rv-body b {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.rv-cta { display: flex; flex-direction: column; align-items: center; gap: 28px; margin-top: 80px; text-align: center; }

/* 09 Where to buy
   -------------------------------------------------------------------------- */
.buy { background: var(--black); border-top: 1px solid var(--line-gold-soft); }
.rt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 64px auto 0;
}
.rt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 32px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line-gold);
  border-radius: 24px;
}
.rt h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.rt ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 18px; color: var(--white); }
.online { display: flex; flex-direction: column; align-items: center; gap: 24px; margin-top: 72px; }

/* 10 Founder
   -------------------------------------------------------------------------- */
.founder { background: var(--cream); color: var(--coffee-brown); }
.f-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 80px; align-items: start; }
.f-photo { position: sticky; top: 120px; }
.f-photo .ph { aspect-ratio: 4 / 5; border-radius: 32px; }
.f-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }

.founder .eyebrow { color: var(--ochre); }
.founder .h2 { color: var(--forest-green); font-size: clamp(40px, 5vw, 68px); }
.founder p { color: var(--coffee-brown); font-size: 19px; font-weight: 400; }
.founder .big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--forest-green);
}
.founder .big.big-quote { font-size: 30px; line-height: 1.2; text-transform: none; }

.sig { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; padding-top: 22px; border-top: 1px solid var(--gold); }
.sig b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--coffee-brown);
}
.sig span { font-size: 16px; font-weight: 400; color: var(--coffee-brown); }

/* 11 Final call to action
   -------------------------------------------------------------------------- */
.final { background: var(--black); overflow: hidden; padding: 140px 0; }
.final-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.final-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.final .h1 { font-size: clamp(60px, 8.4vw, 120px); }
.final-shot { position: relative; min-height: 640px; background: radial-gradient(closest-side, rgba(199, 123, 48, .4), rgba(10, 10, 10, 0)); }
.final-shot .ph { position: absolute; inset: 24px; }

.tag {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--white);
}

/* Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero { padding: 48px 0 72px; }
  .hero-grid,
  .prod-grid,
  .f-grid,
  .final-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-shot,
  .final-shot,
  .prod-shot { min-height: 440px; }
  .f-photo { position: static; }
  .trust { padding: 96px 0; }
  .final { padding: 88px 0; }
  .claim { flex-direction: column; text-align: center; }
  .badges { gap: 40px; margin-top: 56px; }

  /* Reviews become a swipeable row with the next card peeking in */
  .rv-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(85%, 340px);
    gap: 16px;
    margin: 48px -24px 0;
    padding: 0 24px 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 24px;
    scrollbar-width: none;
  }
  .rv-grid::-webkit-scrollbar { display: none; }
  .rv { scroll-snap-align: start; }
}

@media (max-width: 640px) {
  /* hero */
  .hero { padding: 32px 0 56px; }
  .hero-copy { gap: 22px; }
  .hero-shot,
  .final-shot { min-height: 0; aspect-ratio: 1 / 1; }
  .hero-shot .ph,
  .final-shot .ph { inset: 12px; }

  /* hook */
  .hook-in { gap: 28px; }
  .hook p { font-size: 18px; }
  .hook .hook-tag { font-size: 28px; }

  /* benefits: two columns, last odd item spans both */
  .wow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; margin-top: 48px; }
  .wow-item { gap: 14px; }
  .wow-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .wow-item b { font-size: 21px; }
  .wow-item span { font-size: 14px; }
  .ico { width: 68px; height: 68px; }
  .ico img { width: 36px; height: 36px; }

  /* strip: stack the three claims instead of wrapping around bullets */
  .strip { flex-direction: column; gap: 6px; margin-top: 56px; padding: 24px 12px; }
  .strip i { display: none; }

  /* comparison: compact card — feature names get the width,
     two narrow value columns, Beyond Brew marked with gold badges */
  .tbl-box {
    margin-top: 40px;
    padding: 4px 16px;
    background: var(--card);
    border: 1px solid var(--line-gold);
    border-radius: 20px;
  }
  .tbl { table-layout: fixed; font-size: 15px; }
  .tbl th:nth-child(2),
  .tbl th:nth-child(3) { width: 72px; }
  .tbl th,
  .tbl td { padding: 14px 0; }
  .tbl th {
    padding: 18px 0 14px;
    vertical-align: bottom;
    font-size: 10px;
    line-height: 1.35;
    letter-spacing: .12em;
  }
  .tbl th.us { background: none; color: var(--gold-light); border-radius: 0; }
  .tbl td.us { background: none; border: 0; border-bottom: 1px solid var(--line-white); color: var(--gold-light); font-size: 14px; }
  .tbl tr:last-child td,
  .tbl tr:last-child td.us { border: 0; border-radius: 0; }
  .tbl td:first-child { padding-right: 8px; font-size: 15px; line-height: 1.35; }
  .tbl .v { font-size: 13px; }
  .tbl td img { vertical-align: middle; }
  .tbl td.us img {
    box-sizing: content-box;
    width: 16px;
    height: 16px;
    padding: 7px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    background: rgba(184, 146, 58, .14);
  }
  .tbl td:not(.us):not(.v) img { width: 18px; height: 18px; }
  .fn { margin-top: 14px; font-size: 13px; }
  .compare-cta { margin-top: 64px; }
}

@media (max-width: 400px) {
  .tbl-box { padding: 4px 12px; }
  .tbl th:nth-child(2),
  .tbl th:nth-child(3) { width: 58px; }
  .tbl th { letter-spacing: .06em; }
  .tbl td:first-child { font-size: 14px; }

  /* product */
  .prod-shot { min-height: 0; aspect-ratio: 5 / 6; }
  .prod-copy { gap: 20px; }
  .facts { flex-direction: column; gap: 4px; }
  .facts i { display: none; }
  .tlink { padding: 12px 0 4px; }

  /* ingredients */
  .ingr-grid { margin-top: 40px; gap: 14px; }
  .ing { padding: 22px; gap: 16px; }
  .ing b { font-size: 22px; }
  .ing span { font-size: 15px; }
  .sign { margin-top: 64px; }
  .sign .rule { margin-bottom: 28px; }

  /* trust */
  .trust { padding: 72px 0; }
  .badges { gap: 32px 24px; margin-top: 48px; }
  .seal { width: 108px; height: 108px; }
  .seal em { font-size: 30px; }
  .seal .seal-sm { font-size: 24px; }
  .claim { margin-top: 56px; padding: 24px 20px; gap: 16px; }
  .claim p { font-size: 24px; }

  /* reviews / where to buy */
  .rv-body { padding: 22px; }
  .rv-cta { margin-top: 56px; gap: 22px; }
  .rt-grid { margin-top: 40px; gap: 16px; }
  .rt { padding: 32px 24px; }
  .rt h3 { font-size: 30px; }
  .online { margin-top: 48px; }

  /* founder */
  .f-grid { gap: 32px; }
  .f-copy { gap: 18px; }
  .founder p { font-size: 17px; }
  .founder .big { font-size: 28px; }
  .founder .big.big-quote { font-size: 24px; }
  .sig b { font-size: 30px; }

  /* final */
  .final { padding: 64px 0; }
  .final-copy { gap: 22px; }
  .tag { font-size: 22px; }
}
