/* ==========================================================================
   Tier-1 look (Ben chose "Draft C", 20 November 2026): bold black header, Bebas Neue display headings, Roboto text,
   product photos on white, rounded white cards with a soft shadow on a light grey page, one brand red (#d8232a).
   Loaded after site.css. Part 1 restyles shared pieces through the design tokens and the base components; part 2 holds
   the new home-page components, every one under its own t1- class so nothing here can leak into another component.
   ========================================================================== */
:root {
  --red: #d8232a; --red-dark: #a8141b; --red-text: #b3111d;
  --ink: #0b0b0e; --graphite: #1d1d1d; --mist: #dedede; --paper: #ffffff;
  --line: #c9c9c9; --line-soft: #e2e2e2; --text: #222222; --text-muted: #4a4a4a;
  --font-body: 'Roboto', Helvetica, Arial, sans-serif;
  --font-display: 'Bebas Neue', 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --t1-page: #eeeeee; --t1-radius: 10px; --t1-shadow: 0 4px 18px rgba(0, 0, 0, .12);
}
body { background: var(--t1-page); font-size: 16px; }

/* ---------- Type: Bebas Neue for page and section titles, Roboto for everything else ---------- */
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: .6px; line-height: .95; }
h1 { font-size: 52px; } h2 { font-size: 40px; }
h3, h4 { font-family: var(--font-body); text-transform: none; font-weight: 500; letter-spacing: 0; line-height: 1.25; }
h3 { font-size: 20px; } h4 { font-size: 17px; }
@media (min-width: 640px) { h1 { font-size: 68px; } h2 { font-size: 50px; } }
@media (min-width: 900px) { h1 { font-size: 84px; } h2 { font-size: 58px; } h3 { font-size: 21px; } }
.lead { font-size: 18px; }

/* ---------- Buttons: small, rounded, sentence case ---------- */
.btn { font-family: var(--font-body); font-weight: 500; font-size: 15px; letter-spacing: 0; text-transform: none; border-radius: 4px; border-width: 1px; min-height: 46px; padding: 0 20px; }
.btn.sm { min-height: 44px; font-size: 14px; padding: 0 14px; }
.btn.line { border-color: #111; color: #111; }
.btn.line:hover { background: #111; color: #fff; }
.btn.dark { background: #111; border-color: #111; }
.btn.dark:hover { background: #333; border-color: #333; }

/* ---------- Page chrome ---------- */
.offer-bar { background: #000; }
.offer-tag { background: var(--red); color: #fff; border-radius: 2px; }
.offer-bar .offer-sell { display: none; } /* replaced by the Sell surplus button in the strip */
.t1-strip { display: none; }
@media (min-width: 900px) {
  .t1-strip { display: flex; gap: 8px; margin-left: 18px; flex-shrink: 0; }
  .offer-bar .t1-strip a { display: inline-flex; min-height: 0; padding: 6px 14px; border: 1px solid #9a9a9a; border-radius: 3px; font-size: 12px; font-weight: 500; letter-spacing: .6px; text-transform: uppercase; }
  .offer-bar .t1-strip a:hover { background: #fff; color: #000; }
}
.hdr { background: #1d1d1d; border-bottom: 0; }
.nav a { font-family: var(--font-body); font-weight: 400; font-size: 16px; letter-spacing: 0; text-transform: none; }
.nav .has-sub > a::after { content: " \25BE"; font-size: 11px; color: #b5b5b5; }
.nav .sub { background: #1d1d1d; border: 0; border-radius: 0 0 6px 6px; box-shadow: 0 12px 24px rgba(0, 0, 0, .35); }
.nav .sub a { font-size: 15px; letter-spacing: 0; }
.hdr-quote { font-family: var(--font-body); font-weight: 400; font-size: 15px; letter-spacing: 0; text-transform: none; }
.mobile-nav { background: #1d1d1d; }
.mobile-nav a { font-family: var(--font-body); font-size: 17px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.shop-bar { background: #111; }
.shop-bar a { font-family: var(--font-body); font-weight: 400; font-size: 15px; letter-spacing: 0; text-transform: none; }
.crumbs { font-size: 13px; }
main > .crumbs { background: #fff; border-bottom: 1px solid #dddddd; padding: 4px 0; }
.ftr { background: #000; }
.ftr h4 { font-family: var(--font-display); font-weight: 400; font-size: 22px; letter-spacing: 1px; text-transform: uppercase; }

/* ---------- Sections ---------- */
.dark { background: #101012 linear-gradient(105deg, #0a0a0a 0%, #1c1c1c 48%, #3f3f3f 100%); }
.deal-hero, .deals-hero { background: #101012 linear-gradient(110deg, #07070a 0%, #0b0b0e 42%, #5c0d13 100%); }
.graphite { background: #1d1d1d; }
.proof .figure { font-family: var(--font-display); font-weight: 400; letter-spacing: 1px; }
.deals-proof b { font-family: var(--font-display); font-weight: 400; font-size: 36px; letter-spacing: 1px; }

/* ---------- Cards and tiles: white, rounded, soft shadow; product photos always on white ---------- */
.tile, .card, .pcard, .dept, .door, .platform, .partner-campaign, .partner-card { border: 0; border-radius: var(--t1-radius); box-shadow: var(--t1-shadow); }
.card, .pcard, .dept, .partner-campaign { overflow: hidden; }
.pcard, .dept, .platform { border-top: 0; }
.pcard:hover, .dept:hover, .cat-tile:hover { box-shadow: 0 8px 26px rgba(0, 0, 0, .2); }
.card .photo, .pcard-photo, .dept-photo, .photo-tile, .deal-card-photo { background: #ffffff; }
.card .photo.light, .pcard-photo.light, .dept-photo.light, .photo-tile.light { border: 0; }
.photo-tile { border-radius: var(--t1-radius); box-shadow: var(--t1-shadow); }
.pcard-noimg { color: var(--text); } .pcard-noimg i { color: var(--text-muted); }
.type-tile { color: var(--text); } .type-tile .t1 { color: var(--text-muted); } .type-tile .t3 { color: var(--red-text); }
.pcard-model { font-family: var(--font-body); font-weight: 500; font-size: 18px; }
.pcard-model a { color: var(--red-text); }
.dept-body b { font-family: var(--font-body); font-weight: 500; font-size: 20px; letter-spacing: 0; text-transform: none; }
.badge { border-radius: 3px; }
table.spec { background: #fff; border-radius: var(--t1-radius); box-shadow: var(--t1-shadow); overflow: hidden; }
table.spec th, table.spec td { padding: 12px 18px; }
table.spec th { background: #f6f6f6; color: var(--text); font-weight: 500; }
table.spec tr:first-child th, table.spec tr:first-child td { border-top: 0; }
.field input, .field select, .field textarea { border-radius: 4px; }

/* ==========================================================================
   Part 2: home page (t1- components)
   ========================================================================== */
.t1-hero { background: #101012 linear-gradient(105deg, #0a0a0a 0%, #1c1c1c 45%, #4a4a4a 100%); color: #fff; padding: 36px 0 120px; overflow: hidden; }
.t1-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.t1-hero h1 { font-size: 64px; line-height: .9; margin: 0 0 18px; color: #fff; }
.t1-hero h1 em { font-style: normal; color: #ff3b47; }
.t1-hero-text p { font-size: 16px; color: #e6e6e6; max-width: 54ch; margin: 0 0 10px; }
.t1-hero-text .btn-row { margin-top: 20px; }
.t1-slides { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.t1-slides::-webkit-scrollbar { display: none; }
.t1-slide { flex: 0 0 86%; scroll-snap-align: start; border-radius: var(--t1-radius); overflow: hidden; background: #000; color: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.t1-slide:hover { text-decoration: none; }
.t1-slide-img { display: block; height: 220px; }
.t1-slide-img img { width: 100%; height: 100%; object-fit: cover; }
.t1-slide-cap { display: block; padding: 14px 20px 18px; }
.t1-slide-cap small { display: flex; gap: 12px; align-items: center; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: #c4c4c4; }
.t1-slide-cap small img { height: 14px; width: auto; background: #fff; padding: 3px 6px; border-radius: 2px; box-sizing: content-box; }
.t1-slide-cap b { display: block; font-size: 20px; font-weight: 500; margin-top: 8px; }
@media (min-width: 900px) {
  .t1-hero { padding: 54px 0 130px; }
  .t1-hero-grid { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 56px; }
  .t1-hero h1 { font-size: 104px; }
  .t1-slide { flex-basis: 500px; } .t1-slide-img { height: 320px; }
  .t1-slides { margin-right: calc(-1 * var(--gutter)); }
}
@media (min-width: 1100px) { .t1-hero h1 { font-size: 112px; white-space: nowrap; } .t1-hero-grid { grid-template-columns: minmax(0, 500px) minmax(0, 1fr); } }

.t1-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 18px; margin-top: -84px; position: relative; padding-bottom: 8px; }
.t1-pc { background: #fff; border-radius: var(--t1-radius); box-shadow: 0 6px 22px rgba(0, 0, 0, .16); padding: 0 22px 22px; display: flex; flex-direction: column; color: var(--text); }
.t1-pc-photo { height: 150px; display: flex; align-items: center; justify-content: center; margin: -26px 0 8px; }
.t1-pc-photo img { max-height: 170px; width: auto; max-width: 92%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .28)); }
.t1-pc h3 { font-size: 21px; margin: 0 0 6px; }
.t1-pc p { font-size: 14px; color: var(--text-muted); margin: 0 0 16px; }
.t1-pc .btn-row { margin-top: 2px; gap: 6px; }
.t1-pc .btn-row .btn { min-height: 44px; padding: 0 12px; font-size: 13.5px; }
.t1-pc-red { background: #a8141b linear-gradient(160deg, #d8232a, #8e1118); color: #fff; padding: 24px 22px 22px; }
.t1-pc-red small { letter-spacing: 3px; font-size: 12px; text-transform: uppercase; }
.t1-pc-red .t1-big { font-family: var(--font-display); font-size: 44px; line-height: 1; letter-spacing: 1px; margin: 4px 0 12px; }
.t1-pc-red ul { list-style: disc; padding-left: 18px; margin: 0 0 16px; font-size: 14px; }
.t1-pc-red li { margin: 0 0 7px; }
.t1-pc-red li a { color: #fff; }
.t1-pc-red .btn { background: #111; border-color: #111; align-self: flex-start; }
@media (min-width: 640px) { .t1-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .t1-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.t1-band { padding: 48px 0 56px; text-align: center; }
.t1-band h2 { color: #444444; margin: 0 0 22px; }
.t1-wide { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; text-align: left; }
.t1-wd { background: #fff; border-radius: 8px; box-shadow: var(--t1-shadow); display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; color: var(--text); }
.t1-wd:hover { text-decoration: none; box-shadow: 0 8px 26px rgba(0, 0, 0, .2); }
.t1-wd-text { padding: 24px 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.t1-wd-text > * { max-width: 100%; overflow-wrap: anywhere; }
.t1-wd-text b { font-size: 22px; font-weight: 500; line-height: 1.2; }
.t1-wd-text span.t1-short { font-size: 14px; color: var(--text-muted); }
.t1-wd-text span.t1-when { font-size: 14px; font-weight: 500; }
.t1-wd-text .btn { margin-top: 8px; }
.t1-wd-img { background: #f3f3f3 linear-gradient(135deg, #f3f3f3, #d9d9d9); display: flex; align-items: center; justify-content: center; padding: 18px; min-height: 180px; }
.t1-wd-img img { max-height: 190px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .25)); }
.t1-wd-img.t1-cover { padding: 0; } .t1-wd-img.t1-cover img { width: 100%; height: 100%; max-height: none; object-fit: cover; filter: none; }
.t1-lbl { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 10px; border-radius: 3px; background: #0e6b3f; color: #fff; }
.t1-lbl.t1-open { background: var(--red-text); }
.t1-band-more { margin: 22px 0 0; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
@media (min-width: 640px) { .t1-wd { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
@media (min-width: 1000px) { .t1-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } .t1-band { padding: 64px 0 72px; } }

.t1-story { background: #101012 linear-gradient(110deg, #07070a 0%, #0b0b0e 42%, #5c0d13 100%); color: #fff; overflow: hidden; }
.t1-story-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-items: center; padding: 48px 0; }
.t1-story-co { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.t1-story-co img { height: 20px; width: auto; }
.t1-story-co i { width: 1px; height: 24px; background: #777; display: block; }
.t1-story-co span { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: #dddddd; }
.t1-story h2 { color: #fff; font-size: 56px; line-height: .92; margin: 0 0 16px; }
.t1-story .t1-s2 { font-size: 21px; margin: 0 0 10px; }
.t1-story p { color: #dddddd; max-width: 52ch; margin: 0 0 22px; }
.t1-story-img img { width: 100%; max-width: 620px; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); }
@media (min-width: 900px) { .t1-story-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 500px; } .t1-story h2 { font-size: 88px; } }

.t1-prog { background: #dedede; padding: 48px 0 56px; text-align: center; }
.t1-prog h2 { color: #444444; margin: 0 0 22px; }
.t1-pg3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; text-align: left; }
.t1-pgc { background: #111; color: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 6px 22px rgba(0, 0, 0, .25); display: flex; flex-direction: column; }
.t1-pgc:hover { text-decoration: none; }
.t1-pgc-img { display: flex; align-items: center; justify-content: center; height: 200px; background: #101012 linear-gradient(135deg, #1a1a1a, #3d3d3d); }
.t1-pgc-img img { width: 100%; height: 100%; object-fit: cover; }
.t1-pgc-img.t1-contain img { width: auto; height: 180px; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .5)); }
.t1-pgc-cap { padding: 18px 22px 22px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.t1-pgc-cap small { letter-spacing: 3px; font-size: 12px; text-transform: uppercase; color: #c4c4c4; }
.t1-pgc-cap b { font-size: 24px; font-weight: 500; margin: 4px 0 6px; }
.t1-pgc-cap span.t1-what { color: #d0d0d0; font-size: 14px; margin: 0 0 16px; }
.t1-pgc-cap .btn { margin-top: auto; }
.t1-also { margin-top: 30px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px 34px; color: #444444; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.t1-also img { height: 28px; width: auto; }
.t1-also img[data-brand="asrock-rack"] { height: 40px; }
@media (min-width: 900px) { .t1-pg3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .t1-prog { padding: 64px 0 72px; } .t1-pgc-img { height: 230px; } }

/* ==========================================================================
   Part 3: product page (system.njk), t1-pd / t1-kn / t1-spec / t1-rel
   ========================================================================== */
.t1-pd { background: #fff; padding: 28px 0 44px; }
.t1-pd-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.t1-pd-main { display: flex; align-items: center; justify-content: center; min-height: 260px; padding: 10px; background: #fff; box-shadow: none; border-radius: 0; aspect-ratio: auto; }
.t1-pd-main img { max-height: 440px; width: auto; max-width: 100%; object-fit: contain; }
.t1-pd-cap { text-align: center; margin: 6px 0 0; }
.t1-pd-maker { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin: 0 0 8px; }
.t1-pd-buy h1.mpn { font-family: var(--font-body); font-weight: 500; font-size: 30px; line-height: 1.15; letter-spacing: 0; text-transform: none; margin: 0 0 8px; overflow-wrap: anywhere; }
.t1-pd-buy .plain { font-size: 18px; margin: 0 0 12px; }
.t1-pd-sku { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid #dddddd; margin: 0 0 16px; }
.t1-pd-sku .price { font-family: var(--font-body); font-weight: 500; font-size: 17px; text-transform: none; letter-spacing: 0; }
.t1-pd-cta .btn { flex: 1 1 200px; max-width: 250px; }
.t1-pd-buy .good-to-know { margin: 18px 0 0; }
.t1-pd-h { font-family: var(--font-body); font-weight: 400; font-size: 23px; letter-spacing: 0; text-transform: none; line-height: 1.2; border-top: 1px solid #dddddd; padding-top: 16px; margin: 20px 0 12px; }
.t1-pd-feat { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 28px; font-size: 15px; }
.t1-pd-feat li { position: relative; padding-left: 20px; }
.t1-pd-feat li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: #666666; }
.t1-pd-links { display: flex; gap: 22px; flex-wrap: wrap; margin: 0; }
@media (min-width: 900px) {
  .t1-pd { padding: 40px 0 56px; }
  .t1-pd-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .t1-pd-main { min-height: 440px; }
  .t1-pd-buy h1.mpn { font-size: 36px; }
  .t1-pd-feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.t1-pd-story .t1-pd-name { font-family: var(--font-display); font-size: 56px; line-height: .92; letter-spacing: .6px; text-transform: uppercase; color: #fff; margin: 0 0 16px; overflow-wrap: anywhere; }
.t1-pd-story .t1-s2 { color: #e6e6e6; max-width: 46ch; margin-bottom: 22px; }
.t1-story-img.t1-plate img { background: #fff; border-radius: var(--t1-radius); padding: 22px; max-width: 520px; filter: none; box-shadow: 0 30px 40px rgba(0, 0, 0, .5); }
@media (min-width: 900px) { .t1-pd-story .t1-pd-name { font-size: 88px; } .t1-pd-story .t1-story-grid { min-height: 420px; } }
.t1-kn { padding: 0 0 48px; }
.t1-kn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: -40px; position: relative; }
.t1-kc { background: #fff; border-radius: var(--t1-radius); box-shadow: 0 6px 22px rgba(0, 0, 0, .16); padding: 20px 16px 18px; text-align: center; }
.t1-kc b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 48px; line-height: 1; letter-spacing: 1px; color: var(--red-text); text-transform: uppercase; }
.t1-kc span { font-size: 14.5px; color: var(--text); }
@media (min-width: 900px) { .t1-kn-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } .t1-kc b { font-size: 64px; } .t1-kn { padding-bottom: 64px; } }
.t1-spec { padding: 0 0 56px; }
.t1-spec h2 { color: #444444; text-align: center; margin: 0 0 20px; }
.t1-spec table.spec { margin-top: 0; }
.t1-spec table.spec th { width: 30%; }
.t1-spec-note { margin: 12px 0 0; }
.t1-rel { background: #dedede; }
.t1-rel-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; text-align: left; }
.t1-it { background: #fff; border-radius: var(--t1-radius); padding: 14px 16px 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; color: var(--text); box-shadow: var(--t1-shadow); }
.t1-it:hover { text-decoration: none; box-shadow: 0 8px 26px rgba(0, 0, 0, .2); }
.t1-it-photo { align-self: stretch; height: 160px; display: flex; align-items: center; justify-content: center; padding: 8px; }
.t1-it-photo img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.t1-it-mk { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); }
.t1-it b { font-size: 16.5px; font-weight: 500; color: var(--red-text); line-height: 1.3; overflow-wrap: anywhere; }
.t1-it-sp { font-size: 13.5px; color: var(--text-muted); margin-bottom: 8px; }
.t1-it .btn { margin-top: auto; }
@media (min-width: 640px) { .t1-rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .t1-rel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.t1-story-img img { max-height: 340px; width: auto; max-width: 100%; }
@media (min-width: 900px) { .t1-story-img img { max-height: 520px; } }
.t1-wd-img.t1-white { background: #ffffff; } .t1-wd-img.t1-white img { filter: none; }
