/* /about only — loaded after site.css.

   Not a landing page, and not one repeated grid either: every section has
   its own shape (value cards, a centred timeline, one expectations panel,
   team cards). The photo shows only behind the header and the closing
   Discord panel (.join from site.css). */

.about {
  padding: calc(var(--nav-h) + clamp(3rem, 9vw, 6rem)) 0 var(--section-y);
  background: linear-gradient(180deg, rgba(10, 14, 11, 0.55) 0, var(--bg-veil) 26rem, var(--bg-veil) calc(100% - 10rem), rgba(10, 14, 11, 0) 100%);
}

/* ---------- header ---------- */
.about-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: end; padding-bottom: clamp(3rem, 7vw, 5rem); }
.about-head h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.035em; }
.about-intro { display: grid; gap: 1rem; }
.about-intro p:not(.lead) { color: var(--muted); }
.about-intro em { color: var(--heading); }
@media (max-width: 860px) { .about-head { grid-template-columns: 1fr; } }

/* ---------- sections: heading on top, a hairline between them ---------- */
.about-sec { padding-block: clamp(3rem, 7vw, 5rem);
  /* Hairline only as wide as the content, not the padded wrap. */
  background: linear-gradient(var(--line), var(--line)) no-repeat center top / calc(100% - 2 * var(--gutter)) 1px; }
.about-h { margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; }

/* ---------- values: glass cards, the first one leads ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: value; }
.value { display: flex; flex-direction: column; gap: 0.6rem; padding: clamp(1.4rem, 2.6vw, 1.9rem); counter-increment: value; }
.value::before { content: counter(value, decimal-leading-zero); font: 800 0.95rem/1 var(--font-display); color: var(--primary-hi); font-variant-numeric: tabular-nums; }
.value h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.value p { color: var(--muted); }
.value:first-child { grid-column: span 2; justify-content: flex-end; min-height: 15rem;
  background: radial-gradient(90% 120% at 0% 100%, rgba(45, 184, 31, 0.22), transparent 65%), var(--glass); border-color: rgba(91, 224, 67, 0.28); }
.value:first-child h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.value:first-child p { color: var(--text); max-width: 46ch; font-size: 1.05rem; }
@media (max-width: 960px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .values { grid-template-columns: 1fr; }
  .value:first-child { grid-column: auto; min-height: 0; }
}

/* ---------- story: chapters per year, the year sticks while you read ---------- */
.sec-story .about-h { text-align: center; }
.chapters { display: grid; gap: clamp(2.25rem, 4.5vw, 3rem); max-width: 50rem; margin-inline: auto; }
.chapter { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: clamp(1rem, 3vw, 2.25rem); align-items: start; }
.chapter-year {
  position: sticky; top: calc(var(--nav-h) + 1.75rem);
  font: 800 clamp(2.2rem, 4vw, 3.1rem)/0.95 var(--font-display); letter-spacing: -0.04em;
  /* Solid and quiet: an outline would show the variable font's overlaps. */
  color: rgba(234, 239, 235, 0.2);
}
.chapter-now .chapter-year { color: var(--primary-hi); font-size: clamp(1.7rem, 3vw, 2.3rem); }

.moments { position: relative; display: grid; }
/* The rail: a hairline down the left, a green dot per moment. */
.moments::before { content: ""; position: absolute; left: 4px; top: 0.6rem; bottom: 0.6rem; width: 1px; background: var(--line-strong); }
.moments li { position: relative; padding: 0 0 1.6rem 1.75rem; }
.moments li:last-child { padding-bottom: 0; }
.moments li::before { content: ""; position: absolute; left: 0; top: 0.35rem; width: 9px; height: 9px; border-radius: 50%; background: var(--primary-hi); box-shadow: 0 0 0 4px var(--bg); }
.moments time { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary-hi); }
.moments h3 { margin: 0.25rem 0 0.3rem; font-size: 1.15rem; font-weight: 700; }
.moments p { color: var(--muted); }
.moments em { color: var(--heading); }

.now { padding-left: 1.75rem; border-left: 2px solid var(--primary); }
.now-num { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.9rem; font: 800 clamp(2.2rem, 4.5vw, 3.2rem)/1 var(--font-display); letter-spacing: -0.03em; color: var(--heading); font-variant-numeric: tabular-nums; }
.now-num small { font: 600 1rem/1.3 var(--font-body); letter-spacing: 0; color: var(--muted); }
.now > p:last-child { margin-top: 0.75rem; color: var(--text); }

@media (max-width: 640px) {
  .chapter { grid-template-columns: 1fr; gap: 0.75rem; }
  .chapter-year { position: static; }
}

/* ---------- expectations: one glass panel, a 3 x 2 grid with hairlines ---------- */
.expect { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; }
.expect li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0.9rem; padding: clamp(1.3rem, 2.4vw, 1.75rem); border-color: var(--line); border-style: solid; border-width: 0 0 1px 1px; margin: 0 0 -1px -1px; }
.expect .ic { width: 2.25rem; height: 2.25rem; padding: 0.45rem; border-radius: 50%; background: var(--primary-tint); color: var(--primary-hi); }
.expect h3 { font-size: 1.1rem; font-weight: 700; }
.expect p { margin-top: 0.3rem; color: var(--muted); }
.expect code { padding: 0.1em 0.4em; border-radius: 4px; background: rgba(255, 255, 255, 0.07); font-size: 0.9em; color: var(--text); }
@media (max-width: 960px) { .expect { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .expect { grid-template-columns: 1fr; } }

/* ---------- built by many: players, admins, behind the scenes ---------- */
.team-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.5rem 3rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.team-head .about-h { margin-bottom: 0; }
.team-intro { color: var(--text); max-width: 50ch; }
.team-sub { margin: clamp(2.25rem, 4.5vw, 3rem) 0 1.1rem; font: 600 0.8rem/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--subtle); }
.team-head + .team-sub { margin-top: 0; }

/* The players come first and get the most room. */
.crowd { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.crowd li { padding-top: 1.1rem; border-top: 2px solid var(--primary); }
.crowd h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.crowd p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 1000px) { .crowd { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .crowd { grid-template-columns: 1fr; } }

/* Admins: names in display type, what they do underneath. */
.staff { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; }
.staff li { display: grid; align-content: start; gap: 0.35rem; padding: clamp(1.1rem, 2.2vw, 1.5rem); border-color: var(--line); border-style: solid; border-width: 0 0 1px 1px; margin: 0 0 -1px -1px; color: var(--muted); }
.staff-names { color: var(--muted); }
.staff b { font: 800 1.1rem/1.25 var(--font-display); color: var(--heading); }
.staff span { font-size: 0.92rem; }
.staff-more { grid-column: span 2; }
.staff-more b { color: var(--primary-hi); }
@media (max-width: 860px) { .staff { grid-template-columns: repeat(2, minmax(0, 1fr)); } .staff-more { grid-column: auto; } }
@media (max-width: 560px) { .staff { grid-template-columns: 1fr; } }

/* Nicky and Voju: short cards, deliberately smaller than everything above. */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.person { display: grid; gap: 0.5rem; align-content: start; padding: clamp(1.2rem, 2.5vw, 1.5rem); }
.person-role { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary-hi); }
.person h4 { margin-top: -0.25rem; font-size: 1.3rem; font-weight: 800; }
.person p:not(.person-role) { color: var(--muted); }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } }
