/* =====================================================================
   Going Off-Grid — brand tokens (see brand/index.html for the guide)
   Charcoal + Solar Amber on warm Paper. YouTube red is only for
   Subscribe / Watch actions. One light theme, on purpose.
   ===================================================================== */
:root {
  /* palette */
  --charcoal: #161916;      /* hero, footer, dark bands */
  --charcoal-2: #20241f;
  --amber: #f0a81c;         /* Solar Amber: primary actions, highlights */
  --amber-hover: #ffbb33;
  --amber-soft: #fcefd2;
  --amber-deep: #b87800;    /* amber as text on light backgrounds (large text only) */
  --paper: #f5f2ea;         /* page background */
  --panel: #fffdf8;         /* cards */
  --ink: #1c1e1b;           /* text */
  --slate: #5d6058;         /* secondary text */
  --line: #e1dccf;
  --copper: #8a5a00;        /* links on light backgrounds */
  --yt-red: #e62117;

  /* roles */
  --bg: var(--paper); --surface: var(--panel); --muted: var(--slate); --link: var(--copper);
  --accent: var(--amber); --accent-ink: var(--ink); --accent-soft: var(--amber-soft);
  --dark: var(--charcoal); --dark-2: var(--charcoal-2); --on-dark: #f1efe7; --on-dark-muted: #a9ada2;

  /* shape & type */
  --radius: 14px;
  --shadow: 0 1px 2px rgb(0 0 0 / .05), 0 6px 20px -8px rgb(0 0 0 / .12);
  --wrap: 1180px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); font-variation-settings: "wdth" 100; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; font-weight: 800; font-stretch: 112%; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.05rem; font-stretch: 100%; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 99; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.center { text-align: center; margin: 40px 0; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.small { font-size: .9rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5em; font: 600 .95rem/1 var(--font); padding: .7em 1.05em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; cursor: pointer; transition: transform .12s, background .12s, border-color .12s; white-space: nowrap; }
.btn:hover { border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #ffbb33; border-color: #ffbb33; }
.btn--ghost { background: transparent; }
.btn--lg { font-size: 1.02rem; padding: .85em 1.3em; }
.btn--sub { background: var(--yt-red); border-color: var(--yt-red); color: #fff; padding: .55em .9em; font-size: .88rem; }
.btn--sub:hover { background: #c81a12; border-color: #c81a12; }
.btn--coffee { background: #ffdd00; border-color: #ffdd00; color: #1c1e1b; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-stretch: 115%; font-size: 1.15rem; letter-spacing: -.01em; }
.ico-plug { width: 104px; height: 31px; flex: none; background: currentColor; -webkit-mask: url(/img/plugs.svg) center / contain no-repeat; mask: url(/img/plugs.svg) center / contain no-repeat; }
@media (max-width: 380px) { .ico-plug { width: 84px; height: 25px; } }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:not(.btn):hover { background: var(--accent-soft); }
.nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav .btn { margin-left: 8px; }
.menu { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu span, .menu span::before, .menu span::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); content: ""; transition: transform .2s; }
.menu span { top: 21px; } .menu span::before { left: 0; top: -7px; } .menu span::after { left: 0; top: 7px; }
.menu[aria-expanded="true"] span { background: transparent; }
.menu[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 860px) {
  .menu { display: block; }
  .nav { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 8px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 14px; }
  .nav .btn { margin: 16px 0 0; justify-content: center; padding: .85em; }
}

/* ---------- hero ---------- */
.hero { background: var(--dark); color: var(--on-dark); padding: 56px 0 64px; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 20%, rgb(240 168 28 / .18), transparent 70%); pointer-events: none; }
.hero__grid { display: grid; gap: 40px; align-items: center; position: relative; }
@media (min-width: 900px) { .hero { padding: 80px 0 88px; } .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { color: var(--on-dark-muted); font-size: 1.15rem; max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn--ghost { color: var(--on-dark); border-color: #3b4039; }
.hero .btn--ghost:hover { border-color: var(--on-dark); }
.hero__photo { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .7); border: 1px solid #2c312b; rotate: 1.5deg; }
.hero__photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--muted); margin-bottom: .6em; }
.eyebrow--light { color: var(--accent); }

/* ---------- bands ---------- */
.band { padding: 64px 0; }
.band--alt { background: var(--surface); border-block: 1px solid var(--line); }
.band--dark { background: var(--dark-2); color: var(--on-dark); }
.band__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.band__head h2 { margin: 0; }
.more-link { font-weight: 700; text-decoration: none; }

/* videos */
.latest { display: grid; gap: 24px; }
@media (min-width: 900px) { .latest { grid-template-columns: 1.5fr 1fr; } .video-grid--side { grid-template-columns: 1fr 1fr !important; } }
.video-grid { display: grid; gap: 24px 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.video h3 { margin: 10px 0 2px; font-size: .98rem; line-height: 1.3; }
.video--big h3 { font-size: 1.3rem; font-stretch: 105%; }
.video h3 a { color: inherit; text-decoration: none; }
.video h3 a:hover { text-decoration: underline; }
.meta { color: var(--muted); font-size: .85rem; margin: 0; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #000; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s, opacity .3s; }
.yt:hover img { transform: scale(1.03); opacity: .85; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; translate: -50% -50%; border-radius: 12px; background: rgb(0 0 0 / .7); transition: background .2s; }
.yt__play::after { content: ""; position: absolute; left: 26px; top: 13px; border: 9px solid transparent; border-left: 15px solid #fff; border-right: 0; }
.yt:hover .yt__play { background: var(--yt-red); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* categories */
.cats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.cat { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; color: #fff; text-decoration: none; background: #222; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat:hover img { transform: scale(1.05); }
.cat__body { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgb(0 0 0 / .85)); display: flex; flex-direction: column; }
.cat__body strong { font-size: 1.1rem; font-stretch: 110%; }
.cat__body span { font-size: .85rem; opacity: .8; }

/* deals */
.deals { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.deal { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s; }
.deal:hover { border-color: var(--accent); }
.deal__logo { width: 64px; height: 64px; flex: none; border-radius: 10px; background: #fff; display: grid; place-items: center; padding: 6px; border: 1px solid var(--line); }
.deal__logo img { max-height: 100%; object-fit: contain; }
.deal__body { display: flex; flex-direction: column; gap: 2px; font-size: .9rem; color: var(--muted); }
.deal__body strong { color: var(--ink); font-size: 1rem; }
.deal__code code { background: var(--accent-soft); color: var(--ink); padding: 1px 6px; border-radius: 5px; font-size: .85rem; }

.live { display: grid; gap: 24px; align-items: center; }
@media (min-width: 800px) { .live { grid-template-columns: 1fr auto; gap: 48px; } }
.live p:last-child { color: var(--on-dark-muted); max-width: 46em; margin: 0; }
.story { max-width: 760px; }
.prose p { font-size: 1.08rem; }

/* ---------- page heads ---------- */
.page-head { padding: 48px 0 32px; border-bottom: 1px solid var(--line); background: var(--surface); }
.page-head--dark { background: var(--dark); color: var(--on-dark); border: 0; padding-bottom: 48px; }
.page-head--dark .lede, .page-head--dark .small { color: var(--on-dark-muted); }
.page-head .lede { font-size: 1.15rem; color: var(--muted); max-width: 44em; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: inherit; }
.hosts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.page-head--dark .btn--ghost { color: var(--on-dark); border-color: #3b4039; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { font: 600 .88rem/1 var(--font); padding: .6em .95em; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); text-decoration: none; cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip--ghost { background: var(--surface); }

.search { margin-top: 24px; max-width: 560px; }
.search input { width: 100%; font: 500 1.05rem var(--font); padding: 14px 18px 14px 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 16px center / 20px; color: var(--ink); }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.empty { padding: 40px 0; color: var(--muted); text-align: center; }

.disclosure { font-size: .85rem; color: var(--muted); border-left: 3px solid var(--accent); padding: 4px 0 4px 12px; margin: 28px 0 8px; }

/* ---------- products ---------- */
.gear-section { padding-top: 32px; }
.gear-section h2 { display: flex; align-items: center; gap: 10px; padding-top: 16px; }
.count { font: 600 .8rem/1 var(--font); background: var(--accent-soft); color: var(--ink); padding: 5px 9px; border-radius: 999px; }
.count:empty { display: none; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); padding: 8px 0 24px; }
.product { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.product[hidden] { display: none; }
.product__media { aspect-ratio: 4 / 3; background: #e9e5da; overflow: hidden; }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product--text { border-top: 4px solid var(--accent); }
@media (max-width: 599px) {
  .grid { gap: 12px; }
  .product:not(.product--text) { display: grid; grid-template-columns: 112px 1fr; }
  .product__media { aspect-ratio: auto; height: 100%; min-height: 120px; }
  .product__body { padding: 12px 14px; }
  .product h3 { font-size: .98rem; }
  .btn--buy { font-size: .8rem; padding: .55em .8em; }
}
.product__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.product__body .eyebrow { font-size: .68rem; margin-bottom: .4em; }
.product h3 { margin-bottom: .4em; }
.note { color: var(--muted); font-size: .9rem; margin: 0 0 .5em; }
.desc { color: var(--muted); font-size: .9rem; line-height: 1.5; margin: 0 0 .75em; }
.docs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.doc { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; text-decoration: none; padding: 5px 9px; border-radius: 7px; background: var(--accent-soft); color: var(--ink); }
.doc:hover { text-decoration: underline; }
.buy { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.btn--buy { font-size: .85rem; padding: .6em .9em; }
.files { list-style: none; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.more { padding: 40px 0 72px; border-top: 1px solid var(--line); margin-top: 24px; }

/* ---------- suppliers ---------- */
.suppliers { display: grid; gap: 20px; padding-block: 40px 72px; }
.supplier { display: grid; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
@media (min-width: 700px) { .supplier { grid-template-columns: 200px 1fr; gap: 32px; padding: 28px; } }
.supplier__logo { background: #fff; border-radius: 12px; display: grid; place-items: center; padding: 14px; height: 110px; border: 1px solid var(--line); }
@media (min-width: 700px) { .supplier__logo { height: auto; aspect-ratio: 4 / 3; padding: 18px; } }
.supplier__logo img { max-height: 100%; object-fit: contain; }
@media (min-width: 700px) { .supplier__logo img { max-height: 120px; } }
.supplier h2 { font-size: 1.5rem; }
.tip { background: var(--accent-soft); padding: 10px 14px; border-radius: 10px; font-size: .95rem; }
.coupon { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 18px; }
.coupon__label { font-weight: 700; }
.coupon__code { display: inline-flex; align-items: center; gap: 10px; border: 2px dashed var(--accent); background: var(--bg); border-radius: 10px; padding: 8px 12px; cursor: pointer; color: var(--ink); font: inherit; }
.coupon__code code { font-size: 1rem; }
.coupon__hint { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.coupon__code.is-copied .coupon__hint { color: #2e8b57; }

.expect { list-style: none; padding: 0; margin: 40px 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.expect li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.expect span { color: var(--muted); font-size: .95rem; }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: var(--on-dark-muted); padding: 56px 0 24px; margin-top: 0; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.footer h2 { color: var(--on-dark); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-stretch: 100%; margin-bottom: 14px; }
.footer a:not(.btn) { display: block; color: var(--on-dark-muted); text-decoration: none; padding: 3px 0; }
.footer a:not(.btn):hover { color: var(--accent); }
.footer__logo { width: 125px; opacity: .9; }
.footer__coffee p { font-size: .95rem; }
.footer__fine { border-top: 1px solid #2a2e29; margin-top: 40px; padding-top: 20px; font-size: .8rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__fine p { margin: 0; max-width: 60em; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- tags & codes on product cards ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 10px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 700; line-height: 1; padding: 6px 8px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.tag:hover { border-color: var(--ink); }
.tag--review { background: var(--yt-red); border-color: var(--yt-red); color: #fff; }
.tag--review:hover { background: #c81a12; border-color: #c81a12; }
.tag .ico { width: 1em; height: 1em; }
.codes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.code { display: inline-flex; align-items: center; gap: 8px; border: 1.5px dashed var(--accent); background: var(--bg); color: var(--ink); border-radius: 8px; padding: 5px 9px; font: inherit; font-size: .8rem; cursor: pointer; }
.code code { font-size: .82rem; }
.code .coupon__hint { font-size: .68rem; letter-spacing: .02em; text-transform: none; }
.code.is-copied { border-style: solid; border-color: #2e8b57; }

.watch { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--yt-red); text-decoration: none; margin: 2px 0 10px; }
.watch:hover span { text-decoration: underline; }
.chips--sub { margin-top: 10px; align-items: center; }
.chips__label { font-size: .8rem; font-weight: 700; color: var(--muted); margin-right: 2px; }
.chips--sub .chip { font-size: .8rem; padding: .5em .8em; }
.latest-one { max-width: 820px; }
@media (max-width: 599px) {
  .page-head .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .page-head .chips::-webkit-scrollbar { display: none; }
  .page-head .chips > * { flex: none; }
}

[hidden] { display: none !important; }
@media (max-width: 599px) {
  .product:not(.product--text) { grid-template-columns: 120px minmax(0, 1fr); align-items: start; }
  .product__body { min-width: 0; }
  .btn--buy { white-space: normal; text-align: left; }
  .product__media { aspect-ratio: 4 / 3; height: auto; min-height: 0; margin: 14px 0 0 12px; border-radius: 8px; }
}

/* ---------- journey, featured gear, CTA ---------- */
.band--tight { padding: 40px 0 8px; }
.steps { display: grid; gap: 10px; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: step; }
.step { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; line-height: 1.25; }
.step::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); transform: scaleX(.25); transform-origin: left; transition: transform .2s; }
.step:hover::after { transform: scaleX(1); }
.step__year { font: 700 .78rem/1 var(--mono); color: var(--link); }
.step strong { font-size: .98rem; }
.steps--dark { margin-top: 28px; }
.steps--dark .step { background: var(--dark-2); border-color: #2c312b; color: var(--on-dark); }
.steps--dark .step__year { color: var(--accent); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .steps { display: flex; overflow-x: auto; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 62%; }
}

.journey { padding-block: 16px 40px; }
.chapter { padding: 40px 0 12px; scroll-margin-top: 72px; }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter__head { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; margin-bottom: 22px; }
.chapter__year { font: 800 clamp(2.2rem, 6vw, 3.4rem)/1 var(--font); font-stretch: 112%; color: var(--amber-deep); }
.chapter h2 { margin-bottom: 6px; }
.chapter p { color: var(--muted); margin: 0; max-width: 46em; }
@media (max-width: 599px) { .chapter__head { grid-template-columns: 1fr; gap: 6px; } }

.feats { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.feat { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.feat img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.feat__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.feat h3 { margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: .9rem; line-height: 1.5; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feat__links { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.feat .watch { margin: 0; }
.sub-head { margin: 40px 0 14px; font-size: 1.05rem; }

.band--accent { background: var(--accent); padding: 44px 0; }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta h2 { margin: 0 0 4px; }
.cta p { margin: 0; }
.page-head--dark .hero__cta { margin-top: 24px; }
.page-head--dark .btn--ghost { color: var(--on-dark); border-color: #3b4039; }

/* tablet: keep cards readable between phone and desktop */
@media (min-width: 600px) and (max-width: 1023px) {
  .grid, .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat { aspect-ratio: 1; }
  .cat__body strong { font-size: .95rem; }
  .band { padding: 44px 0; }
}

/* ---------- gear filters ---------- */
.filters { margin-top: 24px; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.filters .search { margin: 0; max-width: none; }
.filters__panel { display: grid; gap: 12px 16px; grid-template-columns: repeat(2, minmax(0, 220px)) auto auto; align-items: end; justify-content: start; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.field select { appearance: none; -webkit-appearance: none; font: 600 .98rem var(--font); color: var(--ink); text-transform: none; letter-spacing: 0; padding: 12px 40px 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6058' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; cursor: pointer; width: 100%; }
.field select:focus, .check input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.check { display: inline-flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); font-weight: 600; font-size: .95rem; cursor: pointer; white-space: nowrap; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.check:has(input:checked) { border-color: var(--ink); background: var(--amber-soft); }
.filters__toggle { display: none; justify-self: start; }
.filters__n { background: var(--ink); color: var(--bg); border-radius: 999px; font-size: .75rem; min-width: 20px; height: 20px; display: inline-grid; place-items: center; padding: 0 6px; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 24px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--amber-soft); }
.results-bar[hidden] { display: none; }
.results-bar p { margin: 0; font-weight: 700; }
.results-bar .btn { padding: .5em .9em; font-size: .88rem; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--link); text-decoration: underline; cursor: pointer; }
.type-group { padding-top: 28px; }
.type-group h2 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); padding-top: 8px; border-top: 1px solid var(--line); margin-bottom: 4px; }
.type-group:first-child h2 { border-top: 0; }
@media (max-width: 1023px) { .filters__panel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .filters { grid-template-columns: minmax(0, 1fr) auto; }
  .filters__toggle { display: inline-flex; padding: .85em 1em; }
  .filters__panel { display: none; grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
  .filters.is-open .filters__panel { display: grid; }
  .check { white-space: normal; }
}
