/* Customer proof shares the site's typography and canonical brand tokens. */
.nav-story {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  color: var(--gg-paper);
  font: 400 12px/1.4 var(--gg-font-mono);
  text-decoration: none;
  white-space: pre;
  transition: color 180ms ease;
}

.nav-story:hover,
.nav-story[aria-current="page"] {
  color: var(--gg-signal);
}

.story-eyebrow {
  margin: 0 0 28px;
  color: var(--gg-paper-muted);
  font: 400 12px/1.5 var(--gg-font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.customer-feature {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.6fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
  padding-block: clamp(76px, 8vw, 116px);
  scroll-margin-top: 32px;
}

.customer-feature-intro h2 {
  margin: 0 0 20px;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.customer-feature-context {
  max-width: 28ch;
  margin-bottom: 24px;
  color: var(--gg-paper-muted);
  font-size: 16px;
  line-height: 1.6;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding-block: 8px;
  color: var(--gg-paper);
  font-size: 16px;
  line-height: 1.5;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: color 180ms ease;
}

.story-link span {
  color: var(--gg-signal);
  transition: transform 180ms ease;
}

.story-link:visited { color: var(--gg-paper-muted); }
.story-link:hover { color: var(--gg-signal); }
.story-link:hover span { transform: translate(2px, -2px); }
.story-link:active { color: var(--gg-signal-deep); }

.customer-quote {
  position: relative;
  margin: 0;
  padding-top: 52px;
}

.quote-mark {
  position: absolute;
  top: -10px;
  left: -4px;
  color: var(--gg-signal);
  font-size: 100px;
  line-height: 1;
  pointer-events: none;
}

.customer-quote blockquote { margin: 0; }

.customer-quote blockquote p {
  margin: 0 0 32px;
  font-size: clamp(30px, 3.15vw, 46px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.045em;
  text-wrap: pretty;
}

.quote-emphasis { color: var(--gg-signal); }

.story-attribution {
  display: grid;
  gap: 4px;
  color: var(--gg-paper-muted);
  font-size: 14px;
  line-height: 1.6;
}

.story-author {
  color: var(--gg-paper);
  font-size: 16px;
  font-weight: 500;
}

/* This page reads as an editorial story, with no dependence on scripts. */
.stories-page {
  background:
    radial-gradient(ellipse at 88% 5%, var(--gg-signal-wash), transparent 38rem),
    var(--gg-ink);
}

.stories-page .site-header { position: relative; }

.stories-intro {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(68px, 8vw, 112px) 0 clamp(60px, 7vw, 96px);
}

.stories-intro h1 {
  max-width: 900px;
  margin: 0 0 28px;
  font-size: clamp(52px, 7.3vw, 104px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.stories-intro > p:last-child {
  max-width: 550px;
  margin-bottom: 0;
  color: var(--gg-paper-muted);
  font-size: 20px;
  line-height: 1.6;
  text-wrap: pretty;
}

.customer-story {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(52px, 6vw, 88px) 0;
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.6fr);
  gap: clamp(48px, 7vw, 112px);
  border-top: 1px solid var(--gg-line);
  scroll-margin-top: 28px;
}

.customer-story h2 {
  margin: 0 0 24px;
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.story-details { margin: 36px 0 0; }

.story-details dt {
  padding-top: 24px;
  border-top: 1px solid var(--gg-line);
  color: var(--gg-paper-muted);
  font: 400 12px/1.5 var(--gg-font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-details dd {
  margin: 12px 0 24px;
  font-size: 16px;
  line-height: 1.65;
}

.story-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.story-tools li {
  padding: 6px 10px;
  border: 1px solid var(--gg-line-strong);
  border-radius: 6px;
  color: var(--gg-paper);
  font-size: 14px;
}

.story-full { margin: 0; }
.story-full blockquote { margin: 0; }

.story-full blockquote p {
  max-width: 65ch;
  margin: 0 0 28px;
  color: var(--gg-paper-muted);
  font-size: 19px;
  line-height: 1.75;
  text-wrap: pretty;
}

.story-full blockquote p:first-child {
  margin-bottom: 36px;
  color: var(--gg-paper);
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.4;
  letter-spacing: -0.035em;
}

.story-full figcaption {
  padding-top: 28px;
  border-top: 1px solid var(--gg-line);
}

.story-next {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 100px) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-top: 1px solid var(--gg-line);
}

.story-next h2 {
  max-width: 650px;
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.story-next p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--gg-paper-muted);
  font-size: 18px;
  line-height: 1.6;
}

.story-next .button { flex: none; }

/* Give the expanded footer comfortable, separate touch targets. */
.site-footer {
  color: var(--gg-paper-muted);
  font-size: 12px;
}

.site-footer > span:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 16px;
}

.site-footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-underline-offset: 4px;
}

.site-footer a:hover { color: var(--gg-paper); }
.site-footer a:visited { color: var(--gg-paper-faint); }

@media (max-width: 900px) {
  .customer-feature,
  .customer-story { grid-template-columns: minmax(200px, 0.8fr) minmax(0, 1.4fr); gap: 40px; }
  .customer-quote blockquote p { font-size: 34px; }
}

@media (max-width: 768px) {
  .nav-account { gap: 16px; }
  .nav-story-full { display: none; }
  .nav-story { text-transform: capitalize; }
  .customer-feature { grid-template-columns: 1fr; gap: 40px; padding-block: 64px; }
  .customer-feature-intro h2 { font-size: 28px; }
  .customer-feature-context { max-width: 40ch; margin-bottom: 8px; }
  .customer-quote { padding-top: 42px; }
  .customer-quote blockquote p { font-size: clamp(30px, 6vw, 40px); }
  .quote-mark { font-size: 84px; }
  .story-eyebrow { margin-bottom: 20px; }
  .stories-intro { padding-block: 64px; }
  .stories-intro > p:last-child { font-size: 18px; }
  .customer-story { grid-template-columns: 1fr; gap: 40px; padding-block: 48px; }
  .story-details { margin-top: 28px; }
  .story-details dd { margin-bottom: 0; }
  .story-details .story-workflows { display: none; }
  .story-full blockquote p { font-size: 17px; line-height: 1.75; }
  .story-full blockquote p:first-child { font-size: 25px; }
  .story-next { align-items: flex-start; flex-direction: column; gap: 28px; }
  .site-footer { padding-block: 28px; gap: 12px; }
}

@media (max-width: 375px) {
  .nav-account { gap: 10px; }
  .nav-story { font-size: 11px; }
  .stories-intro h1 { font-size: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .story-link:hover span { transform: none; }
}
