/* Examples page only. Do not replace styles.css — append or ship alongside it. */

.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.examples-hero {
  padding: clamp(48px, 8vw, 112px) 0 clamp(48px, 6vw, 80px);
}
.examples-hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  margin-bottom: 28px;
  max-width: 16em;
}
.examples-hero .lead {
  margin-bottom: 0;
  max-width: 38em;
}

.examples-note {
  margin: 36px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  max-width: 38em;
  color: var(--ink);
  font-size: 1rem;
}
.examples-note strong { font-weight: 600; }

.examples-grid-wrap {
  padding: 0 0 var(--section);
}
.examples-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.5vw, 48px);
}
.example-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.example-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--cream-2);
}
.example-card figcaption {
  margin-top: 16px;
  letter-spacing: 0;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.example-kicker {
  display: block;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 8px;
}
.example-label {
  display: block;
  color: var(--muted);
  font-size: .84rem;
  margin-top: 4px;
}

.examples-cta .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/*
  The live homepage hamburger kicks in at 960px. This page (and the homepage
  after an Examples link is added) has one more nav item, which collides with
  the wordmark around 1024–1140px. Raise the breakpoint here; when publishing,
  copy this rule into styles.css so the homepage matches.
*/
@media (max-width: 1140px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 16px var(--gutter) 40px;
    border-top: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
    overflow-y: auto;
  }
  .site-nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .site-nav a:not(.btn) { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 28px; min-height: 56px; font-size: .95rem; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 960px) {
  .examples-grid { grid-template-columns: repeat(2, 1fr); }
  .examples-hero h1 { max-width: none; }
}

@media (max-width: 640px) {
  .site-nav { top: 68px; }
  .examples-grid { grid-template-columns: 1fr; max-width: 560px; }
}

@media (min-width: 961px) {
  .footer-inner { grid-template-columns: 1.1fr 1.4fr 1fr; }
}
