/* About — "An independent studio, run by the person who builds it".
   Measured off the reference at 1920/1440/1280/1100/991/767/479/390 and written fresh.
   Breakpoints: ≥1920, ≥1440, 1280–1439 (base), ≤1279, ≤991, ≤767, ≤479. */

.st-about {
  position: relative; z-index: 1;
  padding: 80px 0;
  /* no overflow here — .st-about__glow clips the glow sideways (see below) */
  color: var(--ink);
}
.st-about__container { max-width: 1680px; margin: 0 auto; padding: 0 32px; }

.st-about__label {
  margin: 0 0 49px;
  font: 400 12px/18px var(--mono); letter-spacing: .06em; text-transform: uppercase;
}

/* ── top: headline + community stat ─────────────────────────────────────── */
.st-about__top {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 79px;
}
.st-about__title {
  max-width: 550px; margin-top: 65px;
  font: 500 80px/1.1 var(--sans);
}
.st-about__accent { font-family: var(--serif); font-style: italic; font-weight: 400; }

.st-about__stat {
  position: relative; flex: none;
  width: 376px; padding-top: 140px;
  text-align: center;
}
.st-about__num { font: 500 160px/1.1 var(--sans); color: rgba(255,255,255,.6); }
.st-about__num-label { font: 400 17px/1.5 var(--sans); color: rgba(255,255,255,.6); }

/* five product marks, one dark tile each, scattered + tilted above the number */
.st-about__mark {
  position: absolute;
  width: 64px; height: 64px; padding: 12px;
  object-fit: contain; max-width: none;
  background: #1A1D1E; border-radius: 24%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 0 0 1px rgba(255,255,255,.06), 0 14px 30px rgba(0,0,0,.45);
}
.st-about__mark--heirloom  { width: 80px; top: 16%; left: 0;   transform: rotate(-8deg); }
.st-about__mark--ticketlab { top: 0;   left: 21%; transform: rotate(5deg); }
.st-about__mark--botmaker  { top: 18%; left: 41%; transform: rotate(-3deg); }
.st-about__mark--totem     { top: 1%;  left: 61%; transform: rotate(7deg); }
.st-about__mark--kinetic   { top: 16%; left: 81%; transform: rotate(-5deg); }

/* ── quotes row ─────────────────────────────────────────────────────────── */
.st-about__quotes {
  display: grid; grid-template-columns: 1fr 1fr 380px; gap: 84px;
}
.st-about__quote-mark {
  font: 400 18px/27px var(--mono); letter-spacing: .06em; color: rgba(255,255,255,.4);
}
.st-about__quote-text { font: 500 16px/27px var(--sans); }
.st-about__quote-text--1 { max-width: 320px; }
.st-about__quote-text--2 { max-width: 350px; }

.st-about__talk {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  margin-top: 26px;
}
.st-about__talk-text { margin-bottom: 6px; font: 500 16px/24px var(--sans); }

/* the shared split button, at the reference's compact 42px size */
.st-about .st-about__cta { gap: 2px; font-size: 15px; line-height: 1; letter-spacing: -.01em; }
.st-about__cta .st-btn__arrow { width: 42px; height: 42px; box-shadow: var(--ice-shadow); }
.st-about__cta .st-btn__arrow svg { width: 16px; height: 16px; }
.st-about__cta .st-btn__text { height: 42px; padding: 0 22px; box-shadow: var(--ice-shadow); }

/* ── bottom: product names | proof ──────────────────────────────────────── */
.st-about__bottom {
  display: grid; grid-template-columns: 1fr 380px; gap: 60px;
  margin-top: 80px; padding: 20px 0 14px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.st-about__products {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px;
  height: 95px; padding-right: 40px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.st-about__products span {
  font: 400 15px/12.5px var(--mono); letter-spacing: -.01em; color: rgba(255,255,255,.62);
}
.st-about__proof { display: flex; align-items: center; gap: 32px; }
.st-about__proof-item { display: flex; flex-direction: column; gap: 32px; }
.st-about__proof-label { font: 400 14px/1.3 var(--sans); color: rgba(255,255,255,.7); }
.st-about__proof-value { font: 500 32px/1 var(--sans); }

/* the teal glow: taller than the section, bleeding up into Projects and down behind Milestones
   (whose frosted cards blur it). The WRAPPER does the clipping: it spans the section's width (so
   phones can't scroll sideways) but reaches 2× the section height above and 2.5× below, so the glow
   is never cut at the section's own edges. (A section-level overflow-x: clip was cutting it off hard
   at the bottom edge in some browsers — seen 2026-09-28.) Image `top` is a % of the wrapper:
   wrapper = 5.5 × section height, so top = (2 + T) / 5.5 for a glow at T × section height. */
.st-about__glow {
  position: absolute; z-index: -1; left: 0; right: 0; top: -200%; bottom: -250%;
  overflow: hidden; pointer-events: none;
}
.st-about__bg {
  position: absolute; left: 0; top: 23.64%; /* T = -70% */
  width: auto; height: 3900px; max-width: none;
  pointer-events: none; /* edges feathered by the wide-screen rule at the end of this file */
}

/* ≥1440: content inset 90px, bigger headline, fixed first quote column */
@media (min-width: 1440px) {
  .st-about__content { padding: 0 90px; }
  .st-about__top { gap: 114px; }
  .st-about__title { max-width: 650px; font-size: 92px; }
  .st-about__stat { margin-right: 60px; }
  .st-about__quotes { grid-template-columns: 354px 1fr 322px; gap: 102px; }
  .st-about__bottom { grid-template-columns: 1fr 322px; gap: 97px; }
  .st-about__products { padding-right: 128px; }
  .st-about__bg { top: 24.55%; } /* T = -65% */
}
@media (min-width: 1920px) {
  .st-about__label { font-size: 14px; line-height: 21px; }
}

/* ≤1279: two-column quotes, smaller stat */
@media (max-width: 1279px) {
  .st-about__container { padding: 0 64px; }
  .st-about__label { margin-bottom: 39px; }
  .st-about__top { align-items: stretch; margin-bottom: 49px; }
  .st-about__title { max-width: 344px; font-size: 50px; }
  .st-about__stat { width: 305px; padding-top: 134px; }
  .st-about__num { margin: 10px 0; font-size: 124px; }
  .st-about__quotes { grid-template-columns: 1fr 1fr; gap: 32px 85px; max-width: 753px; }
  .st-about__quote-text--2 { max-width: 350px; }
  .st-about__talk { grid-column: 2; margin-top: 0; }
  .st-about__bottom { grid-template-columns: 1fr 240px; gap: 40px; }
  .st-about__proof { gap: 24px; }
  .st-about__proof-value { font-size: 24px; }
  .st-about__bg { top: 7.27%; height: 4600px; } /* T = -160% */
}

/* ≤991: stacked bottom row */
@media (max-width: 991px) {
  .st-about__container { padding: 0 48px; }
  .st-about__top { margin-bottom: 16px; }
  .st-about__title { max-width: 303px; font-size: 40px; }
  .st-about__num { font-size: 100px; }
  .st-about__quotes { gap: 32px 45px; max-width: none; }
  .st-about__quote-text--1 { max-width: 303px; }
  .st-about__quote-text--2 { max-width: 320px; }
  .st-about__bottom {
    display: flex; flex-direction: column; gap: 24px;
    padding: 0; border-top: 0;
  }
  .st-about__products {
    height: auto; padding: 0 0 24px;
    border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .st-about__proof-item { gap: 16px; }
  .st-about__bg { top: 3.64%; width: 1280px; height: 4600px; } /* T = -180% */
}

/* ≤767: single column, centred stat and proof */
@media (max-width: 767px) {
  .st-about__container { padding: 0 16px; }
  .st-about__label { margin-bottom: 32px; }
  .st-about__top { flex-direction: column; }
  .st-about__title { margin-top: 0; }
  .st-about__stat { margin: 0 auto; }
  .st-about__quotes { display: flex; flex-direction: column; gap: 13px; }
  .st-about__quote-mark { font-size: 16px; line-height: 24px; }
  .st-about__quote-text { line-height: 24px; }
  .st-about__talk { margin-top: 27px; }
  .st-about__cta .st-btn__text { padding: 0 16px; }
  .st-about__bottom { align-items: center; }
  .st-about__products { justify-content: center; }
  .st-about__proof { max-width: 320px; justify-content: space-between; }
  .st-about__bg { top: 19.09%; } /* T = -95% */
}
@media (max-width: 479px) {
  .st-about__top { margin-bottom: 43px; }
  .st-about__quote-text--1 { max-width: 320px; }
  .st-about__proof { justify-content: center; }
}

/* "Join our Discord" hover = the reference's (the old split-button hover):
   lift 2px, brighten, arrow turns -45°. Scoped here; base .st-btn keeps its own. */
.st-about .st-btn:hover { transform: translateY(-2px); }
.st-about .st-btn:hover .st-btn__arrow, .st-about .st-btn:hover .st-btn__text { filter: brightness(1.06); }
.st-about .st-btn:hover .st-btn__arrow { border-radius: 0 50% 50% 50%; }
.st-about .st-btn:hover .st-btn__arrow svg { transform: rotate(-45deg); }
.st-about .st-btn { transition: transform .25s ease; }

/* Wide screens (>1400px): the glow image is 1400px wide, so it ended in a hard
   vertical edge. Stretch it to the viewport and feather its right and bottom
   edges so it always dissolves into the black instead of stopping. */
.st-about__bg {
  width: max(100%, 1400px) !important; object-fit: cover; object-position: left top;
  -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 100%), linear-gradient(to bottom, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask-image: linear-gradient(to right, #000 55%, transparent 100%), linear-gradient(to bottom, #000 80%, transparent 100%);
}
