/* group.css — shared layout for the listing pages (news, portfolio), the
   article pages under /pages/news/, and the venture pages. One system:
   a half-viewport hero, a card grid, and a plain article column, all in the
   site's existing voice (black ground, Plus Jakarta Sans, thin weights).
   Everything is prefixed gp- so nothing collides with the legacy sheets. */

/* ---------------- hero ---------------- */

.gp-hero {
  min-height: 50vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.1rem;
  padding: 8rem 40px 2.8rem;
  border-bottom: 1px solid #1c1c1c;
}

.gp-eyebrow {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.gp-hero h1 {
  margin: 0;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  font-weight: 300;
  letter-spacing: -2px;
  line-height: 1.04;
  max-width: 18ch;
  text-wrap: balance;
}

.gp-hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}

.gp-stand {
  margin: 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.58);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.98rem;
  font-weight: 200;
  line-height: 1.65;
}

.gp-meta {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.gp-hero-link,
.gp-more {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 3px;
  white-space: nowrap;
  transition: border-color 0.25s ease;
}

.gp-hero-link:hover,
.gp-more:hover { border-color: #00e7b1; }

/* ---------------- card grid ---------------- */

.gp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.2rem;
  padding: 2.8rem 40px 5.5rem;
}

.gp-card {
  background: #0d0d0d;
  border: 1px solid #1d1d1d;
  border-radius: 4px;
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color 0.3s ease;
}

.gp-card:hover { border-color: #333; }

.gp-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.gp-card-meta {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.gp-card h2 {
  margin: 0;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.28rem;
  font-weight: 400;
  letter-spacing: -0.4px;
  line-height: 1.3;
}

.gp-card-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 200;
  line-height: 1.72;
}

.gp-card .gp-more { margin-top: auto; align-self: flex-start; }

/* ---------------- article ---------------- */

.gp-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 3.6rem 40px 5rem;
  box-sizing: content-box;
}

.gp-article p {
  color: rgba(255, 255, 255, 0.72);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.02rem;
  font-weight: 200;
  line-height: 1.85;
  margin: 0 0 1.35rem;
}

.gp-article h2 {
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.4px;
  margin: 2.4rem 0 0.9rem;
}

.gp-article a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.gp-article a:hover { border-color: #00e7b1; }

.gp-links {
  border-top: 1px solid #1c1c1c;
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.gp-links a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.88rem;
  font-weight: 300;
}

/* ---------------- ownership columns (portfolio) ---------------- */

.gp-own {
  padding: 4.5rem 40px 5rem;
  border-top: 1px solid #1c1c1c;
}

.gp-own > h2 {
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 300;
  letter-spacing: -1px;
  margin: 0 0 2.4rem;
}

.gp-own-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.4rem;
}

.gp-own-grid h3 {
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 0.6rem;
}

.gp-own-grid p {
  color: rgba(255, 255, 255, 0.6);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 200;
  line-height: 1.72;
  margin: 0;
}

/* ---------------- timeline (about) ---------------- */

.gp-timeline {
  padding: 4.5rem 40px 5rem;
}

.gp-timeline > h2 {
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 300;
  letter-spacing: -1px;
  margin: 0 0 1.6rem;
}

.gp-tl-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 2rem;
  padding: 1.15rem 0;
  border-top: 1px solid #1c1c1c;
}

.gp-tl-row:last-of-type { border-bottom: 1px solid #1c1c1c; }

.gp-tl-label {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  padding-top: 0.25rem;
}

.gp-tl-row p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.98rem;
  font-weight: 200;
  line-height: 1.7;
  max-width: 62ch;
}

.gp-tl-more { margin-top: 1.6rem; }

/* ---------------- closing brand section ---------------- */

.gp-brand {
  min-height: 52vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.6rem;
  padding: 4rem 40px;
  border-top: 1px solid #1c1c1c;
}

.gp-brand img { width: 54px; height: auto; }

.gp-brand p {
  margin: 0;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  font-weight: 300;
  letter-spacing: -1.5px;
  line-height: 1.1;
  text-wrap: balance;
}

.gp-brand a {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 0.65rem 1.7rem;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.gp-brand a:hover { border-color: #00e7b1; color: #00e7b1; }

/* ---------------- mobile ---------------- */

@media only screen and (max-width: 812px) {
  .gp-hero { padding: 6.5rem 1rem 2rem; min-height: 46vh; }
  .gp-grid { padding: 1.6rem 1rem 3.5rem; grid-template-columns: 1fr; }
  .gp-article { padding: 2.4rem 1rem 3.5rem; }
  .gp-own, .gp-timeline { padding: 3rem 1rem 3.5rem; }
  .gp-tl-row { grid-template-columns: 1fr; gap: 0.35rem; }
  .gp-hero-row { align-items: flex-start; flex-direction: column; gap: 1rem; }
}
