/* PD growth pages (stories, how it works, gift). Builds on /style.css tokens; nothing here changes other pages. */
.gx { padding-top: calc(var(--bar) + 48px); max-width: 1120px; }
.gx h1 { font-size: clamp(38px, 5.2vw, 68px); max-width: 14em; margin-top: 8px; }
.gx h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 20px; }
.gx h3 { font-size: 18px; font-weight: 500; margin: 0 0 6px; letter-spacing: -.01em; }
.gx a:not(.btn) { color: var(--accent); text-underline-offset: 3px; }
.gx p, .gx li { color: #dcd7cc; line-height: 1.65; }
.gx-kick { font-family: var(--mono); font-size: 14px; color: var(--muted) !important; letter-spacing: .02em; }
.gx-lead { margin-top: 20px; font-size: 19px; max-width: 40em; color: var(--ink) !important; }
.gx-crumb { font-family: var(--mono); font-size: 14px; margin-bottom: 16px; }
.gx-crumb a::before { content: "← "; }
.gx-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.gx-fine { margin-top: 12px; font-size: 14px; color: var(--muted) !important; }
.gx-sec { margin-top: 80px; }
.gx-end { padding: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.gx-end .gx-cta { margin-top: 20px; }

/* before: the photos, one row that scrolls sideways on a phone */
.gx-photos { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(120px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.gx-photos li { scroll-snap-align: start; }
.gx-photos img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--r-md); background: var(--raise); }
.gx-photos figcaption { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.gx-photos figcaption b { display: block; color: var(--ink); font-weight: 500; }
figure { margin: 0; }

/* after: clip + stills */
.gx-clip { margin: 0 0 24px; }
.gx-clip video { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--r-lg); background: #000; border: 1px solid var(--line); }
.gx-clip figcaption, .gx-stills figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.gx-stills figcaption b { color: var(--ink); font-weight: 500; }
.gx-film { margin-top: 48px; }
.gx-clips--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .gx-clips--2 { grid-template-columns: 1fr; } }
.gx-stills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gx-stills img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); background: var(--raise); }

.gx-two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.gx-list { list-style: disc; padding-left: 22px; display: grid; gap: 10px; }
.gx-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin: 0; }
.gx-facts div { background: var(--surface); padding: 18px 20px; }
.gx-facts dt { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.gx-facts dd { margin: 6px 0 0; font-size: 20px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.gx-made { margin-top: 20px; max-width: 46em; }
.gx-credits { padding-left: 22px; display: grid; gap: 6px; font-size: 15px; }
.gx-more { display: grid; gap: 8px; font-size: 17px; }

/* stories index */
.gx-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.gx-card a { display: grid; gap: 8px; color: var(--ink) !important; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; padding-bottom: 24px; height: 100%; transition: border-color .2s, transform .2s cubic-bezier(.2,.7,.2,1); }
.gx-card a:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.gx-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 12px; }
.gx-card__who { padding: 0 24px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.gx-card__t { padding: 0 24px; font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -.015em; }
.gx-card__p { padding: 0 24px; color: #dcd7cc; line-height: 1.55; }

/* how it works */
.gx-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; counter-reset: s; }
.gx-steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; }
.gx-steps li::before { content: "Step " counter(s); display: block; font-family: var(--mono); font-size: 13px; color: var(--accent); margin-bottom: 10px; }
.gx-steps p { font-size: 15px; }
.gx-before { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; align-items: end; margin-bottom: 20px; }
.gx-before img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--r-md); }
.gx-before span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
.gx-faq { border-top: 1px solid var(--line); padding: 4px 0; }
.gx-faq:last-of-type { border-bottom: 1px solid var(--line); }
.gx-faq summary { cursor: pointer; font-size: 18px; font-weight: 500; padding: 14px 0; min-height: 44px; }
.gx-faq summary:hover { color: var(--accent); }
.gx-faq p { padding: 0 0 18px; max-width: 46em; }

@media (max-width: 900px) {
  .gx-stills { grid-template-columns: 1fr 1fr; }
  .gx-two { grid-template-columns: 1fr; gap: 0; }
  .gx-two > div + div { margin-top: 48px; }
  .gx-cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .gx { padding-top: calc(var(--bar) + 32px); }
  .gx-sec { margin-top: 56px; }
  .gx-stills { grid-template-columns: 1fr; }
  .gx-photos img { height: 160px; }
  .gx-before { grid-template-columns: 1fr; }
  .gx-before img { height: 240px; }
  .gx-end { padding: 24px; }
  .gx-cta .btn { width: 100%; }
  .bar__nav a { padding: 12px 6px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .gx-card a { transition: none; } }
/* phone header on these pages: Stories, How it works, Account (base CSS hides the first link) */
@media (max-width: 640px) {
  .bar__nav a:first-child { display: inline-block; }
  .bar__nav a:nth-child(3) { display: none; }
  .brand span { display: none; }
}
