:root {
  --ink: #141414;
  --paper: #f5f1e8;
  --muted: #6b655d;
  --line: #d4c9b9;
  --red: #b9382f;
  --green: #315b45;
  --blue: #244d63;
  --gold: #d89a2b;
  --white: #fffaf0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}
a { color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(20, 20, 20, 0.16);
  background: rgba(245, 241, 232, 0.93);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo {
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 16px; }
.brand small { color: var(--muted); font-size: 12px; }
nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
nav a { padding: 8px 10px; color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
nav a:hover { color: var(--ink); }

.masthead {
  position: relative;
  min-height: min(720px, 86vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}
.masthead::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 20, 20, 0.82), rgba(20, 20, 20, 0.18)),
    linear-gradient(0deg, rgba(20, 20, 20, 0.72), rgba(20, 20, 20, 0));
}
.masthead > img { position: absolute; inset: 0; }
.masthead-copy {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 36px));
  margin: 0 clamp(18px, 4vw, 56px) 56px;
}
.masthead-badge {
  width: clamp(98px, 14vw, 168px);
  height: clamp(98px, 14vw, 168px);
  margin-bottom: 22px;
  border: 3px solid rgba(255, 250, 240, 0.9);
  border-radius: 50%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
}
.kicker, .section-label {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.masthead .kicker { color: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.04;
  letter-spacing: 0;
}
.masthead h1 {
  max-width: 700px;
  font-size: clamp(32px, 4.3vw, 58px);
}
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}
h3 { font-size: 22px; line-height: 1.12; }
.masthead-copy p:last-child {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 250, 240, 0.9);
  font-size: 19px;
}
.ticker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--ink);
  background: var(--gold);
}
.ticker span {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 10px 16px;
  border-right: 1px solid rgba(20, 20, 20, 0.42);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}
.ticker span:last-child { border-right: 0; }
.content-grid, .post-strip, .shop-band, .photo-led, .archive-page, .article-page, .gallery-page, .upload-page, .wiki-page {
  padding: clamp(34px, 6vw, 76px) clamp(18px, 4vw, 56px);
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.lead-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1fr);
  min-height: 420px;
  border: 1px solid var(--line);
  background: var(--white);
}
.story-body { align-self: center; padding: clamp(24px, 4vw, 44px); }
.story-body p:not(.section-label), .prompt-panel p, .post-card p, .product p, .photo-led p, .article-header p {
  color: var(--muted);
}
.text-link { color: var(--red); font-weight: 900; text-decoration-thickness: 2px; }
.prompt-panel {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border: 1px solid var(--ink);
  background: var(--green);
  color: var(--white);
}
.prompt-panel .section-label { color: var(--gold); }
.prompt-panel p { color: rgba(255, 250, 240, 0.78); }
.button-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  margin-top: 10px;
  border-radius: 4px;
  padding: 0 18px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}
.section-heading, .shop-band > div:first-child {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.section-heading h2 { max-width: 620px; margin: 0; }
.post-list, .product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.post-card, .product {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 22px;
}
.post-card span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.post-card h3, .product h3 { margin-bottom: 12px; }
.post-card a, .lead-story a { text-decoration-thickness: 2px; }
.shop-band { background: var(--ink); color: var(--white); }
.shop-band .section-label { color: var(--gold); }
.product { position: relative; background: #f7f2e8; color: var(--ink); }
.shirt {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.02;
  padding: 22px;
  color: var(--white);
  text-align: center;
  clip-path: polygon(25% 0, 75% 0, 88% 12%, 78% 28%, 78% 100%, 22% 100%, 22% 28%, 12% 12%);
}
.product .shirt {
  margin-bottom: 18px;
}
.shirt-front { position: relative; }
.shirt-front img {
  position: absolute;
  top: 31%;
  left: 54%;
  width: 16%;
  height: auto;
  border: 1px solid rgba(255, 250, 240, 0.72);
  border-radius: 50%;
  background: var(--white);
}
.cream-shirt.shirt-front img { border-color: rgba(20, 20, 20, 0.35); }
.black-shirt { background: #111; }
.cream-shirt { background: #e3dac8; color: #121212; }
.green-shirt { background: var(--green); }
.photo-led {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}
.photo-led img {
  min-height: 420px;
  border: 1px solid var(--line);
}
.photo-led div { max-width: 650px; }
footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
footer p { margin: 0; }
.archive-header, .article-wrap { max-width: 980px; margin: 0 auto; }
.archive-header { margin-bottom: 28px; }
.archive-list { margin-inline: auto; max-width: 1180px; }
.article-header { max-width: 860px; margin: 0 auto 28px; }
.article-header h1 { color: var(--ink); }
.feature-image {
  margin: 0 auto 32px;
  max-width: 1120px;
}
.feature-image img { max-height: 620px; border: 1px solid var(--line); }
.article-content {
  max-width: 760px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}
.article-content img { height: auto; }
.kg-width-wide {
  width: min(100vw - 36px, 1120px);
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}
.kg-width-full {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}
.kg-width-full img,
.kg-width-wide img {
  width: 100%;
}
.article-content a { color: var(--red); }
.pagination {
  margin-top: 32px;
  text-align: center;
  font-weight: 900;
}
.gallery-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}
.gallery-hero > div {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--white);
  padding: clamp(24px, 4vw, 44px);
}
.gallery-hero > p,
.gallery-hero p,
.upload-intro p {
  color: var(--muted);
}
.gallery-hero img {
  min-height: 420px;
  border: 1px solid var(--line);
}
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.evidence-card {
  min-height: 360px;
  border: 1px solid var(--line);
  background: var(--white);
}
.evidence-card img {
  height: 240px;
}
.evidence-card div {
  padding: 22px;
}
.evidence-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.evidence-card p {
  color: var(--muted);
}
.evidence-card-large {
  grid-column: span 2;
}
.evidence-placeholder {
  display: flex;
  align-items: end;
  background:
    linear-gradient(135deg, rgba(49, 91, 69, 0.94), rgba(36, 77, 99, 0.9)),
    var(--green);
  color: var(--white);
}
.evidence-placeholder span {
  color: var(--gold);
}
.evidence-placeholder p {
  color: rgba(255, 250, 240, 0.78);
}
.upload-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: start;
}
.upload-intro {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: clamp(24px, 4vw, 44px);
}
.evidence-uploader {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: clamp(22px, 4vw, 34px);
}
.evidence-uploader label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.evidence-uploader input[type="text"],
.evidence-uploader textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px;
  background: #fffdf7;
  color: var(--ink);
  font: inherit;
  line-height: 1.4;
  text-transform: none;
}
.drop-zone {
  min-height: 120px;
  place-items: center;
  border: 2px dashed var(--line);
  background: #fffdf7;
  cursor: pointer;
}
.drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.drop-zone span {
  color: var(--red);
}
.upload-preview {
  display: grid;
  min-height: 260px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  overflow: hidden;
}
.upload-preview img {
  height: auto;
  max-height: 520px;
}
.upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.upload-actions button {
  width: fit-content;
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  padding: 0 18px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}
.upload-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 900;
}
.saved-drafts {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.saved-drafts h2 {
  margin-bottom: 12px;
  font-size: 28px;
}
.draft-empty {
  margin: 0;
  color: var(--muted);
}
.draft-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  background: #fffdf7;
  padding: 14px;
}
.draft-item + .draft-item {
  margin-top: 10px;
}
.draft-item h3 {
  margin-bottom: 4px;
  font-size: 18px;
}
.draft-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.draft-item div:last-child {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.draft-item button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 12px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}
.wiki-header {
  max-width: 980px;
  margin: 0 auto 24px;
}
.wiki-header p:not(.section-label) {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}
.wiki-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto 24px;
}
.wiki-tools article,
.wiki-card,
.member-gate {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 22px;
}
.wiki-tools span,
.wiki-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.wiki-tools p,
.wiki-card p,
.member-gate p {
  color: var(--muted);
}
.wiki-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}
.wiki-card h2 {
  font-size: clamp(25px, 3vw, 36px);
}
.member-gate {
  max-width: 760px;
  margin: 0 auto;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.94), rgba(245, 241, 232, 0.98)),
    var(--white);
}
.wiki-gate {
  margin-top: 24px;
}
.member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.button-secondary {
  background: var(--ink);
  color: var(--white);
}

@media (max-width: 880px) {
  .site-header, .section-heading, .shop-band > div:first-child, footer {
    align-items: flex-start;
    flex-direction: column;
  }
  nav { justify-content: flex-start; }
  .masthead { min-height: 78vh; }
  .ticker, .content-grid, .lead-story, .post-list, .product-grid, .photo-led, .gallery-hero, .evidence-grid, .upload-shell, .wiki-tools, .wiki-list {
    grid-template-columns: 1fr;
  }
  .evidence-card-large {
    grid-column: auto;
  }
  .upload-intro {
    position: static;
  }
  .draft-item {
    align-items: flex-start;
    flex-direction: column;
  }
  .ticker span { border-right: 0; border-bottom: 1px solid rgba(20, 20, 20, 0.42); }
  .ticker span:last-child { border-bottom: 0; }
  .lead-story, .prompt-panel { min-height: auto; }
  .lead-story img, .photo-led img { min-height: 300px; }
}

@media (max-width: 520px) {
  .site-header { position: static; }
  nav a { padding-left: 0; }
  .masthead-copy { margin-bottom: 34px; }
  h1 { font-size: 40px; }
  .masthead-copy p:last-child { font-size: 16px; }
}
