/* Mjfadeaway83 — store blog design system
   Sneaker/resell character: ink black, warm paper, varsity red, gold accent.
   Architecture mirrors the sister sites (ribbon / masthead / post-card article). */
:root {
  --red: #c8102e;
  --red-deep: #9a0b22;
  --gold: #e9a319;
  --gold-soft: #fbeecd;
  --paper: #f6f3ec;
  --surface: #fffdf8;
  --surface-2: #efe9db;
  --ink: #16171b;
  --ink-soft: #655f52;
  --line: #e2dac6;
  --shadow: 0 1px 2px rgba(30, 22, 8, .06), 0 8px 24px -12px rgba(30, 22, 8, .18);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --red: #e8445c;
    --red-deep: #c8102e;
    --gold: #e9a319;
    --gold-soft: #453510;
    --paper: #121215;
    --surface: #1d1d21;
    --surface-2: #28261f;
    --ink: #f2ede1;
    --ink-soft: #b3aa97;
    --line: #3a362b;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: rgba(233, 163, 25, .35); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display { font-family: "Archivo", "Arial Narrow", system-ui, sans-serif; }
a { color: var(--red); }
img { display: block; max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- top ribbon ---------- */
.ribbon { background: var(--ink); color: #f2ede1; font-size: 13px; }
.ribbon .wrap {
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  align-items: center; justify-content: space-between;
  padding-top: 7px; padding-bottom: 7px;
}
.ribbon strong { font-weight: 700; color: var(--gold); }
.ribbon a { color: #f2ede1; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- masthead ---------- */
.masthead { border-bottom: 3px solid var(--red); background: var(--surface); }
.masthead .wrap {
  display: flex; align-items: center; gap: 14px;
  padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-badge { width: 46px; height: 46px; flex: none; }
.brand-badge img { width: 46px; height: 46px; }
.brand-name { font-family: "Archivo", sans-serif; font-weight: 900; font-size: 25px; letter-spacing: .01em; line-height: 1; text-transform: uppercase; }
.brand-name span { color: var(--red); }
.brand-tag { font-size: 12.5px; color: var(--ink-soft); letter-spacing: .04em; margin-top: 3px; }
.mainnav { display: flex; gap: 4px; flex-wrap: wrap; }
.mainnav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px;
  padding: 8px 12px; border-radius: 8px;
}
.mainnav a:hover { background: var(--surface-2); }
.mainnav a.store-link { background: var(--red); color: #fff; }
.mainnav a.store-link:hover { background: var(--red-deep); }

/* ---------- hero ---------- */
.hero { padding: 46px 0 10px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.02; font-weight: 900; margin: 0 0 14px; letter-spacing: -.01em; text-transform: uppercase; }
.hero h1 em { font-style: normal; color: var(--red); box-shadow: inset 0 -0.32em 0 var(--gold-soft); }
.hero p.lede { font-size: 18px; color: var(--ink-soft); margin: 0 0 22px; max-width: 34em; }
.hero-stats { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 22px; }
.hero-stats .stat b { display: block; font-family: "Archivo", sans-serif; font-size: 24px; font-weight: 900; color: var(--red); line-height: 1.1; }
.hero-stats .stat span { font-size: 13px; color: var(--ink-soft); }
.store-card {
  background: var(--ink); color: #f2ede1; border-radius: 14px; padding: 24px;
  box-shadow: var(--shadow); border-top: 5px solid var(--red);
}
.store-card h2 { margin: 0 0 8px; font-size: 22px; font-weight: 900; color: #fff; text-transform: uppercase; }
.store-card p { margin: 0 0 16px; font-size: 14.5px; color: #cfc9b8; }
.btn {
  display: inline-block; font: inherit; font-weight: 700; cursor: pointer; border: 0; border-radius: 9px;
  padding: 12px 18px; background: var(--red); color: #fff; text-decoration: none; white-space: nowrap;
}
.btn:hover { background: var(--red-deep); }
.btn-gold { background: var(--gold); color: #241a02; }
.btn-gold:hover { background: #cf8a10; }

/* ---------- sections ---------- */
section.block { padding: 34px 0 6px; }
.section-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.section-head h2 { font-size: 28px; font-weight: 900; margin: 0; text-transform: uppercase; }
.section-head p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.section-head .rule { flex: 1; height: 2px; background: var(--line); min-width: 40px; align-self: center; }

/* ---------- category doors ---------- */
.door-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.door-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px; box-shadow: var(--shadow); display: grid; gap: 6px; text-decoration: none; color: var(--ink);
}
.door-card:hover { border-color: var(--red); }
.door-card .door-kicker { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.door-card h3 { margin: 0; font-size: 21px; font-weight: 900; }
.door-card p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
.door-card .door-go { font-size: 14px; font-weight: 700; color: var(--red); margin-top: 6px; }

/* ---------- article cards (home + blog index) ---------- */
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.article-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  text-decoration: none; color: var(--ink);
}
.article-card:hover { border-color: var(--red); }
.article-card .card-head { background: var(--ink); color: #f2ede1; padding: 20px 22px 16px; }
.article-card .card-kicker { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.article-card .card-head h3 { margin: 4px 0 0; font-size: 23px; line-height: 1.15; color: #fff; font-weight: 900; }
.article-card .card-body { padding: 16px 22px 20px; display: grid; gap: 8px; }
.article-card .card-body p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
.article-card .card-meta { font-size: 13px; color: var(--ink-soft); }
.article-card .card-go { font-size: 14px; font-weight: 700; color: var(--red); }

/* ---------- article page (post-card pattern) ---------- */
.article-main { padding: 34px 0 10px; }
.back-link { display: inline-block; margin: 0 0 16px; font-weight: 700; font-size: 14.5px; }
.top-note { margin: 0 0 18px; font-size: 13px; color: var(--ink-soft); font-style: italic; max-width: 62em; }
.post-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; box-shadow: var(--shadow);
}
.post-head { background: var(--ink); color: #f2ede1; padding: 26px 28px; }
.post-kicker { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.post-head h1 { margin: 5px 0 6px; font-size: clamp(26px, 3.6vw, 36px); line-height: 1.12; color: #fff; font-weight: 900; }
.post-byline { margin: 0; font-size: 13.5px; color: #cfc9b8; }
.post-body { padding: 26px 28px 8px; max-width: 46em; }
.post-body p { margin: 0 0 15px; font-size: 16.5px; line-height: 1.65; }
.post-body ul, .post-body ol { margin: 0 0 15px; padding-left: 22px; font-size: 16.5px; line-height: 1.65; display: grid; gap: 6px; }
.post-body h2, .post-body h4 {
  font-family: "Archivo", sans-serif; font-size: 20px; font-weight: 900;
  margin: 26px 0 8px; display: flex; align-items: baseline; gap: 10px;
}
.post-body h4 .rule-num {
  font-family: "Inter", sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .08em;
  background: var(--red); color: #fff; border-radius: 999px; padding: 3px 10px; flex: none;
  position: relative; top: -2px; white-space: nowrap;
}
.post-body a { font-weight: 600; }
.post-recap { background: var(--surface-2); border-radius: 12px; padding: 18px 20px; margin: 22px 0 6px; }
.post-recap h4 { margin-top: 0; }
.post-recap p { margin-bottom: 0; }
.post-cta {
  border-top: 1px solid var(--line); margin-top: 22px; padding: 22px 28px 26px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: center;
}
.post-cta h4 { margin: 0 0 5px; font-size: 20px; font-weight: 900; font-family: "Archivo", sans-serif; }
.post-cta p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
.post-cta .cta-links { display: grid; gap: 10px; justify-items: start; }
.post-disclosure { padding: 0 28px 24px; font-size: 12.5px; color: var(--ink-soft); font-style: italic; }
.related { margin: 30px 0 8px; }
.related h2 { font-size: 22px; margin: 0 0 12px; font-weight: 900; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.related a { font-weight: 700; font-size: 16.5px; }
.related li span { display: block; font-size: 13.5px; color: var(--ink-soft); font-weight: 400; }

/* ---------- prose pages (About) ---------- */
.prose { max-width: 46em; }
.prose p { font-size: 16.5px; line-height: 1.65; margin: 0 0 15px; }
.prose h2 { font-size: 24px; font-weight: 900; margin: 28px 0 8px; }
.page-head { padding: 40px 0 4px; }
.page-head h1 { font-size: clamp(32px, 4.6vw, 48px); font-weight: 900; margin: 0 0 10px; text-transform: uppercase; line-height: 1.05; }
.page-head p.lede { font-size: 18px; color: var(--ink-soft); margin: 0; max-width: 36em; }

/* ---------- footer ---------- */
footer { margin-top: 48px; border-top: 3px solid var(--red); background: var(--surface); }
footer .wrap { padding-top: 28px; padding-bottom: 34px; display: grid; gap: 18px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 26px; }
footer h4 { margin: 0 0 8px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); font-family: "Archivo", sans-serif; }
footer p, footer li { font-size: 13.5px; color: var(--ink-soft); }
footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
footer a { color: var(--red); }
.foot-note { border-top: 1px solid var(--line); padding-top: 16px; font-size: 12.5px; color: var(--ink-soft); display: grid; gap: 8px; }

/* ---------- shop page ---------- */
.door-grid.four { grid-template-columns: repeat(4, 1fr); }
.shop-section {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px; box-shadow: var(--shadow); display: grid; gap: 8px; margin-bottom: 18px;
}
.shop-section .door-kicker { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.shop-section h2 { margin: 0; font-size: 25px; font-weight: 900; font-family: "Archivo", sans-serif; }
.shop-section p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); max-width: 52em; }
.shop-section p b { color: var(--ink); }
.shop-section .shop-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
.search-note { font-size: 13.5px; color: var(--ink-soft); }
.search-note code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; font-weight: 700;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; color: var(--ink);
}

/* ---------- contact / follow ---------- */
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.social-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px; box-shadow: var(--shadow); display: grid; gap: 6px; text-decoration: none; color: var(--ink);
}
.social-card:hover { border-color: var(--red); }
.social-card .door-kicker { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.social-card h3 { margin: 0; font-size: 20px; font-weight: 900; }
.social-card p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
.social-card .door-go { font-size: 14px; font-weight: 700; color: var(--red); margin-top: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .door-grid { grid-template-columns: 1fr; }
  .door-grid.four { grid-template-columns: 1fr 1fr; }
  .social-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .post-cta { grid-template-columns: 1fr; }
  .post-body { padding: 22px 20px 6px; }
  .post-head { padding: 20px; }
  .post-disclosure { padding: 0 20px 22px; }
  .mainnav a { padding: 11px 12px; }
  .btn { min-height: 48px; }
}
@media (max-width: 600px) {
  .door-grid.four { grid-template-columns: 1fr; }
  .wrap { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .brand-name { font-size: 21px; }
  .brand-badge, .brand-badge img { width: 40px; height: 40px; }
  .masthead .wrap { gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .mainnav { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; gap: 6px; }
  .mainnav a { text-align: center; font-size: 13.5px; background: var(--surface-2); }
  .mainnav a.store-link { background: var(--red); }
  .hero { padding-top: 28px; }
  .hero h1 { font-size: clamp(31px, 10.4vw, 42px); }
  .hero p.lede { font-size: 16.5px; }
  .post-head h1 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
