/* Roadmode — what-we-make.html (product page for new followers).
   Loaded after giveaway.css: only what this page adds or changes. */

/* ---------- Top: title, lead ---------- */
.showcase { padding-top: 14px; }
.showcase-head { text-align: center; }
.showcase-head .display { margin: 18px 0 14px; font-size: clamp(44px, 12.4vw, 72px); }
.showcase-head .lead { max-width: 34em; margin: 0 auto; }
.showcase-head .lead b { color: var(--ink); font-weight: 500; }
.showcase-body { margin-top: 12px; }
/* Rating under the carousel: much larger than on the giveaway page (asked on 2026-11-20: close to three times) */
.showcase .proof { margin-top: 36px; gap: 14px 18px; }
.showcase .faces img { width: 52px; height: 52px; border-width: 3px; margin-left: -15px; }
.showcase .faces img:first-child { margin-left: 0; }
.showcase .proof-text { text-align: center; font-size: 15px; line-height: 1.3; }
.showcase .proof-text b { font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.showcase .proof-text .stars { gap: 3px; vertical-align: -3px; }
.showcase .proof-text .stars svg { width: 22px; height: 22px; }

/* The card keeps the photo and the name; price and details are in the sheet next to it */
.showcase .card-blurb, .showcase .card-info .value { display: none; }
.showcase .card-info { padding: 12px 14px 14px; text-align: center; }
.showcase .card-title { justify-content: center; }
/* No check mark on these cards: here the carousel shows the products, the pick is made in the giveaway section */
.showcase .card-check { display: none; }

/* ---------- Product sheet ---------- */
/* Every sheet sits in the same grid cell, so nothing moves when the product changes */
.sheets { display: grid; align-items: start; max-width: calc(560px + 2 * var(--gutter)); margin: 10px auto 0; padding: 0 var(--gutter); }
.sheet {
  grid-area: 1 / 1; min-width: 0; text-align: left;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
}
.sheet.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sheet-kicker { font-size: 13px; color: var(--slate); font-variant-numeric: tabular-nums; }
.sheet-name { margin-top: 6px; font-size: clamp(30px, 6.4vw, 44px); line-height: 1.05; letter-spacing: -.046em; font-weight: 700; color: var(--ink); }
.sheet-pitch { margin-top: 14px; font-size: 17px; line-height: 1.4; letter-spacing: -.01em; color: var(--charcoal); }

.sheet-benefits { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.sheet-benefits li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.4; color: var(--granite); }
.sheet-benefits svg { width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: var(--ink); color: var(--white); }
.sheet-benefits b { color: var(--ink); font-weight: 500; }

/* The two buttons are the last item of the list of benefits: one group with it */
.sheet-benefits li.sheet-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 12px; }
.sheet-actions .link { font-size: 15px; }
/* What "win this one" means, right under that link. Where the pair doesn't fit next to the button (phones), it goes
   under it, on the full width. */
.sheet-win-group { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.sheet-win { font-size: 13px; line-height: 1.4; color: var(--slate); }

/* ---------- Shop: three large photos, then two, centred ---------- */
.shop .shop-rail { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 16px; margin-top: 0; }
.shop .shop-item { flex: 0 1 calc((100% - 32px) / 3); min-width: 0; }
.shop .shop-item b { margin-top: 12px; font-size: 17px; letter-spacing: -.02em; }
.shop .shop-item span { font-size: 14px; }
.shop-cta { margin-top: 36px; text-align: center; }

/* ---------- Giveaway: the same carousel again, to pick the prize ---------- */
.win-form { text-align: center; }
.win-picker { margin: 0 auto; }
.win-picker .stage { margin-top: 0; }
.win-pick { margin: 6px 0 26px; font-size: 16px; color: var(--granite); }
.win-pick b { color: var(--ink); font-weight: 700; letter-spacing: -.02em; }

/* ---------- Giveaway rules, in a window over the page ---------- */
.rules-dialog {
  width: min(760px, calc(100vw - 24px)); max-height: min(86vh, 860px); padding: 0; overflow: hidden;
  border: 1px solid var(--ink); border-radius: var(--r-img); background: var(--white); color: var(--charcoal);
}
.rules-dialog[open] { display: flex; flex-direction: column; }
.rules-dialog::backdrop { background: rgba(0, 0, 0, .45); }
.rules-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 16px 16px 22px; border-bottom: 1px solid var(--mist); }
.rules-head .heading { margin: 0; font-size: 24px; }
.rules-body { overflow-y: auto; overscroll-behavior: contain; padding: 4px 22px 26px; text-align: left; }
.rules-body .faq summary { padding: 16px 0; font-size: 16px; }
.rules-body .faq details:first-of-type { border-top: 0; }
.rules-body .rules { margin-top: 22px; }

/* Phones: the box follows the sheet in front (height set by what-we-make.js) */
@media (max-width: 960px) {
  .sheets { transition: height .25s ease; }
  .shop .shop-item { flex-basis: calc((100% - 16px) / 2); }
  .shop .shop-item b { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .sheet { transform: none; transition: none; }
  .sheets { transition: none; }
}

/* ---------- Desktop: carousel on the left, sheet on the right ---------- */
@media (min-width: 961px) {
  .showcase-head .display { font-size: clamp(56px, 6.2vw, 80px); }
  /* 15 % smaller than the first large version, and closer to the carousel (asked on 2026-11-20) */
  .showcase .proof { margin-top: 36px; gap: 14px 24px; }
  .showcase .faces img { width: 72px; height: 72px; border-width: 3px; margin-left: -20px; }
  .showcase .proof-text { text-align: left; font-size: 19px; line-height: 1.25; }
  .showcase .proof-text b { font-size: 31px; }
  .showcase .proof-text .stars { gap: 3px; vertical-align: -3px; }
  .showcase .proof-text .stars svg { width: 31px; height: 31px; }
  .showcase-body {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: start;
    max-width: var(--max); margin: 12px auto 0; padding: 0 var(--gutter);
  }
  .showcase .stage, .win-picker .stage {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  }
  .sheets { max-width: 520px; margin: 26px 0 0; padding: 0; } /* level with the top of the card in front */
  /* Same height as the card of the carousel: --level is that card's height, set by what-we-make.js */
  /* The buttons follow the last benefit, with the same kind of gap as the rest: a short sheet ends higher than the
     card, it is not stretched (asked on 2026-11-20: no large blank block before the buttons). */
  .sheet { min-height: var(--level, 0px); }

  /* The carousel of the giveaway is the twin of the one at the top: what-we-make.js gives it the same width and the
     same card width. These two values only hold until that script has run. */
  .win-picker { max-width: 556px; --card-w: 380px; }
}
