/* Community Builder Toolbox — site styles (2026 redesign). No build step. */
:root {
  --paper: #faf7f2;
  --paper-2: #f2ece2;
  --ink: #1d1a17;
  --ink-2: #5a524a;
  --ink-3: #8a8178;
  --line: #e2d9cc;
  --red: #b3261e;
  --red-dark: #8c1c16;
  --gold: #b8892f;
  --serif: "Noto Serif SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Noto Sans SC", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
  margin-bottom: .8em;
}
.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 46em; }
.muted { color: var(--ink-3); font-size: .9rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 247, 242, .92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; gap: 20px; margin-left: auto; font-size: .92rem; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--red); }
.lang { font-size: .88rem; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; text-decoration: none; color: var(--ink-2); }
@media (max-width: 860px) { .nav { display: none; } .lang { margin-left: auto; } }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 6px;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  border: 1px solid var(--red); transition: background .15s, color .15s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-ghost { color: var(--red); background: transparent; }
.btn-ghost:hover { background: var(--red); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero h1 { max-width: 15em; }
.hero-photo { margin-top: 48px; border-radius: 10px; overflow: hidden; position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: center 80%; }
figcaption { font-size: .82rem; color: var(--ink-3); padding-top: 8px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 48px 0 0; }
.stat { padding: 28px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; color: var(--red); }
.stat span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .stat:first-child { border-top: 0; }
}

/* Sections */
section.block { padding: 88px 0; }
section.alt { background: var(--paper-2); }
.section-head { max-width: 46em; margin-bottom: 40px; }

/* Communities */
.community { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; margin-bottom: 56px; }
.community:last-child { margin-bottom: 0; }
.community .photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.community .photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; aspect-ratio: 4 / 3; }
.community .photos img.wide { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--red-dark); background: #f6e3df; border-radius: 999px; padding: 2px 10px; margin: 0 6px 6px 0; }
.timeline { list-style: none; padding: 0; margin: 1.2em 0; border-left: 2px solid var(--line); }
.timeline li { padding: 0 0 10px 18px; position: relative; font-size: .95rem; color: var(--ink-2); }
.timeline li::before { content: ""; position: absolute; left: -6px; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 2px solid var(--red); }
.timeline b { color: var(--ink); font-weight: 600; margin-right: 6px; }
.card-plain { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
@media (max-width: 860px) { .community { grid-template-columns: 1fr; } }

/* Grids of cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-2); font-size: .97rem; margin: 0; }
.card .num { font-family: var(--serif); color: var(--gold); font-size: 1rem; font-weight: 700; display: block; margin-bottom: .4em; }
.card .poster { margin: -26px -26px 20px; border-radius: 10px 10px 0 0; overflow: hidden; background: var(--paper-2); }
.card .poster img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 20%; }
.card .meta { font-size: .85rem; color: var(--ink-3); margin-top: 10px; }
.subhead { font-family: var(--serif); font-size: 1.4rem; margin: 56px 0 20px; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: step; border-top: 2px solid var(--red); padding-top: 14px; font-size: .95rem; color: var(--ink-2); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--serif); font-weight: 700; color: var(--red); font-size: 1.3rem; }
.steps b { display: block; color: var(--ink); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }

/* Split (sponsors) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: 10px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 1.2em 0; }
.checks li { padding: 6px 0 6px 28px; position: relative; color: var(--ink-2); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* Toolbox */
.playbook { display: grid; gap: 0; border-top: 1px solid var(--line); }
.playbook details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.playbook summary {
  cursor: pointer; list-style: none; display: grid; grid-template-columns: 56px 1fr auto; gap: 12px;
  align-items: baseline; padding: 20px 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 700;
}
.playbook summary::-webkit-details-marker { display: none; }
.playbook summary .n { color: var(--gold); font-size: 1rem; }
.playbook summary .pm { color: var(--red); font-family: var(--sans); font-weight: 400; font-size: 1.4rem; line-height: 1; }
.playbook details[open] .pm { transform: rotate(45deg); }
.playbook .body { padding: 0 0 24px 68px; color: var(--ink-2); max-width: 52em; }
.playbook .body ul { margin: .4em 0 0; padding-left: 1.2em; }
.playbook .body li { margin-bottom: .3em; }
@media (max-width: 700px) { .playbook .body { padding-left: 0; } .playbook summary { grid-template-columns: 40px 1fr auto; } }

/* Join band */
.band { background: var(--ink); color: #f3ede4; }
.band h2 { color: #fff; }
.band .lead { color: #cfc6ba; }
.band .btn-ghost { color: #fff; border-color: #fff; }
.band .btn-ghost:hover { background: #fff; color: var(--ink); }

/* Footer */
footer { padding: 40px 0 56px; font-size: .88rem; color: var(--ink-3); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
footer a { color: var(--ink-2); }
