/* brand.css — brand and line of tobacco (019, build P6 → blue world P10): the brand hero is a plate of the brand's colours,
   flavour cards stand on flavour plates with the text on the blue under them (S03 Darkside, S05 Starline), shop mechanics (S06). */

/* 3.B1 hero: packs in two planes on the brand colour, light smoke */
.bh { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(560px, 62vh, 900px); display: grid; align-items: center; color: var(--navy); }
.bh .crumbs, .bh .bh__count, .bh .cap { color: rgba(15, 36, 64, .74); }
.bh__bg { position: absolute; inset: 0; z-index: -3; background: var(--bh, linear-gradient(135deg, #ecebe7, #c9c6bf)); }
.bh__smoke { position: absolute; left: 30%; bottom: -12%; width: min(110vw, 2400px); z-index: -2; opacity: .5; pointer-events: none;
  -webkit-mask-image: radial-gradient(50% 50% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(50% 50% at 50% 50%, #000 55%, transparent 100%); }   /* a cut edge of white smoke reads as a box on the dark brands */
.bh__fly { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bh__p { position: absolute; filter: drop-shadow(0 26px 30px rgba(10, 20, 40, .3)); }
.bh__p--near { right: 4%; top: 12%; width: min(46vw, 980px); transform: rotate(-6deg); }
.bh__p--far1 { right: 42%; top: 6%; width: min(13vw, 300px); opacity: .85; transform: rotate(12deg); }
.bh__p--far2 { right: 2%; bottom: 4%; width: min(10vw, 240px); opacity: .75; transform: rotate(-18deg); }
.bh__in { position: relative; padding-block: clamp(40px, 4vw, 90px); }
.bh__cap { margin-top: clamp(28px, 3vw, 60px); }
.bh__t { margin-top: 12px; font: 400 clamp(64px, 7.4vw, 210px)/.92 var(--f-display); letter-spacing: -.02em; max-width: 9ch; overflow-wrap: anywhere; }
.bh__lead { margin-top: 18px; font: 600 var(--fs-3)/1.3 var(--f-text); max-width: 26ch; }
.bh__count { margin-top: 12px; font-weight: 600; color: var(--ink-2); }
.bh__pills { display: flex; gap: 10px; margin-top: clamp(22px, 2vw, 40px); }
.bh__pills .chip { background: rgba(255, 255, 255, .85); color: var(--navy); box-shadow: none; min-height: 44px; padding: 0 20px; font-size: 15px; }
.bh__pills .chip b { color: rgba(15, 36, 64, .6); }
.p-brand .bh.is-dark { color: #fff; }
.p-brand .bh.is-dark .crumbs, .p-brand .bh.is-dark .bh__count, .p-brand .bh.is-dark .cap { color: rgba(255, 255, 255, .7); }

/* 3.B2 lines and packs */
.bl { padding-top: clamp(56px, 5vw, 120px); }
.bl__head { display: flex; align-items: end; justify-content: space-between; gap: var(--gutter); margin-bottom: clamp(20px, 2vw, 40px); }
.bl__lines { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(280px, 22vw, 460px), 1fr)); gap: var(--gutter); }
.bline { display: grid; gap: 12px; align-content: start; padding: clamp(18px, 1.6vw, 30px); border-radius: var(--r-xl); background: var(--panel); }
.bline.is-on { background: var(--card); box-shadow: inset 0 0 0 2px var(--ink); }
.bline__t { font: 600 var(--fs-2)/1.2 var(--f-text); }
.bline__n { font-size: var(--fs-0); color: var(--ink-2); }
.bline .chips .chip b { color: var(--ink-3); }

/* 3.B3 strength scale (Darkside BASE · CORE · RARE bar) */
.bs { padding-top: clamp(40px, 4vw, 90px); }
.bs__panel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center;
  padding: clamp(26px, 2.6vw, 60px); border-radius: var(--r-xl); background: var(--panel); }
.bs__txt { grid-column: 1 / span 5; display: grid; gap: 12px; }
.bs__d { color: var(--ink-2); max-width: 46ch; }
.bs__scale { grid-column: 7 / span 6; display: grid; gap: 12px; }
.bsr { display: grid; grid-template-columns: minmax(120px, 170px) 1fr auto; gap: 16px; align-items: center; }
.bsr__l { font-weight: 600; }
.bsr__bar { position: relative; height: 14px; border-radius: 7px; background: rgba(244, 239, 232, .12); overflow: hidden; }
.bsr__bar i { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, var(--ink) 0 6px, #c7d5e6 6px 12px); transform-origin: left;
  border-radius: inherit; transition: transform 1s var(--ease); }
.bsr__n { font-size: var(--fs-0); color: var(--ink-2); min-width: 7ch; text-align: right; }

/* 3.B4 flavour cards: the pack on its flavour plate, the text on the blue under it (S05 Starline) — grow 1.06 over 400 ms */
.bf__tools { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.bf__ribbon .ribbon__track { padding: 20px 4px 26px; margin: -20px -4px -6px; }
.fcard { position: relative; display: grid; grid-template-rows: auto 1fr; transition: transform .4s var(--ease-h); transform-origin: 50% 40%; }
.fcard:hover { transform: scale(1.06); z-index: 2; }
.fcard__art { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-l); overflow: hidden; }
.fcard__art img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.fcard__grp { position: absolute; left: 12px; top: 12px; padding: 6px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .86); color: var(--navy);
  font: 600 12px/1 var(--f-text); letter-spacing: .05em; text-transform: uppercase; }
.fcard__body { display: grid; gap: 8px; padding: 14px 0 0; }
.fcard__n { font: 500 15px/1.3 var(--f-text); min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fcard__pr { font-size: 14px; color: var(--ink-2); min-height: 1.3em; }
.fcard__w { display: flex; flex-wrap: wrap; gap: 6px; }
.fw { min-height: 32px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid rgba(244, 239, 232, .3); background: transparent;
  font: 600 14px/30px var(--f-text); color: var(--ink); cursor: pointer; }
span.fw { cursor: default; }
.fw.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.fcard__buy { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.fcard__buy .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
.bf__all { display: inline-flex; margin-top: 18px; }

/* 3.B5 brand text */
.bt { padding-top: clamp(20px, 2vw, 40px); }
.bt__d { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bt__d summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: clamp(18px, 1.6vw, 30px) 0; cursor: pointer; list-style: none;
  font: 600 var(--fs-2)/1.3 var(--f-text); }
.bt__d summary::-webkit-details-marker { display: none; }
.bt__body { display: grid; gap: 12px; padding: 0 0 clamp(20px, 2vw, 36px); max-width: 78ch; color: var(--ink-2); }
.bt__body ul { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }

/* 3.B6 neighbour lines · 3.B7 how to get it */
.bn__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.btile { position: relative; display: grid; align-content: end; gap: 6px; min-height: clamp(240px, 17vw, 420px); padding: clamp(20px, 1.8vw, 36px);
  border-radius: var(--r-xl); background: var(--bt, var(--panel)); overflow: hidden; isolation: isolate; color: var(--navy); }
.btile img { position: absolute; right: 4%; top: 8%; height: 82%; width: auto; object-fit: contain; z-index: -1; transition: transform .5s var(--ease);
  filter: drop-shadow(0 18px 20px rgba(10, 20, 40, .28)); }
.btile:hover img { transform: translateY(-6px) rotate(-2deg); }
.btile__t { font: 400 clamp(24px, 1.8vw, 44px)/1.05 var(--f-display); max-width: 12ch; }
.btile__n { font-size: var(--fs-1); color: rgba(15, 36, 64, .78); font-weight: 600; }
.bn__get { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; margin-top: clamp(28px, 3vw, 60px);
  padding: clamp(20px, 2vw, 36px); border-radius: var(--r-xl); background: var(--mist); }
