/* extracted from pages.html */
.preview-photo { aspect-ratio: 4/3; overflow: hidden; background: var(--surface-gray); }
  .preview-photo img { width: 100%; height: 100%; object-fit: cover; }
  .preview-photo.dark { background: var(--ink-deep); position: relative; }
  .preview-photo.dark::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad-turf-h); }
  .preview-photo.dark .pv-content { position: absolute; inset: 0; padding: 1.5rem; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
  .preview-photo.dark .pv-content .pv-eyebrow { font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lightning); }
  .preview-photo.dark .pv-content .pv-headline { font-family: var(--font-display); font-size: 1.25rem; font-weight: 900; color: #fff; letter-spacing: 0.005em; line-height: 1.1; }

/* extracted from sections.html */
/* ============================================================
     SECTIONS PAGE — every pattern in No Limit Turf's voice.
     Top-of-page Pattern Index grid (NOT a left sidebar).
     Brand vocabulary: grass + lightning + sage, Lato single-family
     with ALL-CAPS heads, warm-cream surfaces.
     ============================================================ */
  body { background: var(--bg); }

  /* ===== Branded catalog chrome — No Limit Turf vocabulary =====
     Grass rule strips, lightning-glow halo, sage body copy,
     all-caps Lato 900 heads, lightning chip accents */

  .sx-header {
    background: var(--bg-warm);
    border-bottom: 1px solid var(--border);
    padding: 96px 0 80px;
    position: relative;
    overflow: hidden;
  }
  /* Grass rule across the top — No Limit Turf's signature opener */
  .sx-header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--brand);
  }
  /* Decorative lime-green soft glow */
  .sx-header::after {
    content: "";
    position: absolute;
    right: -120px; top: -120px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(220,235,56,0.30) 0%, rgba(90,165,1,0.08) 45%, rgba(90,165,1,0) 75%);
    pointer-events: none;
  }
  .sx-header .container { position: relative; z-index: 1; padding: 0 clamp(1rem, 4vw, 3rem); }
  .sx-header .display {
    font-size: clamp(2.5rem, 6vw, 5.25rem);
    line-height: 1.05;
    margin-bottom: 18px;
    max-width: 20ch;
    letter-spacing: 0.005em;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 900;
    text-transform: uppercase;
  }
  .sx-header .lede { max-width: 60ch; color: var(--sage); font-size: 1.05rem; line-height: 1.6; font-weight: 300; }
  .sx-header .meta {
    display: flex;
    gap: 36px;
    margin-top: 36px;
    padding: 24px 28px;
    background: rgba(255,255,255,0.92);
    border-left: 4px solid var(--brand);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sage);
    flex-wrap: wrap;
    box-shadow: var(--shadow-card);
    font-weight: 700;
  }
  .sx-header .meta strong {
    color: var(--ink);
    display: block;
    margin-top: 4px;
    font-weight: 900;
    letter-spacing: 0.005em;
    text-transform: uppercase;
    font-size: 14px;
    font-family: var(--font-display);
  }

  /* Pattern Index — white panel with grass dot bullets */
  .container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 3rem); }

  .sx-index {
    background: var(--bg-pure);
    border: 1px solid var(--border);
    border-top: 4px solid var(--brand);
    border-radius: var(--radius-md);
    margin: 32px 0;
    padding: 36px 44px;
    box-shadow: var(--shadow-card);
    position: relative;
  }
  .sx-index::before {
    content: "Pattern Index";
    display: block;
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand);
    font-weight: 900;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
  }
  .sx-index .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px 22px;
  }
  @media (max-width: 800px) { .sx-index .grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 480px) { .sx-index .grid { grid-template-columns: 1fr; } }
  .sx-index a {
    font-family: var(--font-mono), monospace;
    font-size: 12px;
    color: var(--ink);
    padding: 11px 14px;
    background: var(--bg-warm);
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--t-base) var(--ease);
    position: relative;
    overflow: hidden;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }
  .sx-index a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.35s var(--ease-out-expo);
  }
  .sx-index a:hover {
    color: var(--brand);
    background: #fff;
    padding-left: 20px;
    box-shadow: var(--shadow-card-hover);
  }
  .sx-index a:hover::before {
    transform: translate(50%, -50%) scale(1);
  }
  .sx-index a .num {
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 0.16em;
    color: var(--brand);
    font-weight: 900;
  }

  /* Pattern divider — grass rule (No Limit Turf signature transition) */
  .sx-pattern {
    position: relative;
    padding: 80px 0 0;
  }
  .sx-pattern::before {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: var(--brand);
    margin-bottom: 28px;
    border-radius: 2px;
  }
  .sx-pattern:first-of-type::before { display: none; }

  .sx-pattern .pattern-meta {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 56px;
    padding: 0 0 28px;
  }
  @media (max-width: 800px) {
    .sx-pattern .pattern-meta { grid-template-columns: 1fr; gap: 16px; }
  }
  .sx-pattern .pattern-meta .id {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand);
    font-weight: 900;
    padding: 14px 16px;
    background: var(--brand-tint);
    border-left: 4px solid var(--brand);
    border-radius: var(--radius-sm);
  }
  .sx-pattern .pattern-meta .id .num {
    display: block;
    color: var(--ink);
    font-size: 10px;
    margin-bottom: 4px;
    opacity: 0.72;
    letter-spacing: 0.18em;
  }
  .sx-pattern .pattern-meta .id .signature {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 10px;
    background: var(--lightning);
    color: var(--ink);
    font-size: 9px;
    letter-spacing: 0.14em;
    border-radius: 999px;
    font-weight: 900;
  }
  .sx-pattern .pattern-meta .name {
    font-family: var(--font-display), sans-serif;
    font-size: 22px;
    color: var(--ink);
    font-weight: 900;
    margin: 0 0 8px;
    letter-spacing: 0.005em;
    text-transform: uppercase;
  }
  .sx-pattern .pattern-meta .purpose {
    font-size: 16px;
    color: var(--sage);
    line-height: 1.55;
    margin: 0;
    max-width: 64ch;
    font-weight: 300;
  }

  /* Demo wrapper — soft radii + halo on hover */
  .sx-demo {
    background: var(--bg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-md);
    padding: 1.25rem;
  }
  .sx-demo.bare {
    background: transparent;
    padding: 0;
  }
  .sx-demo.no-pad { padding: 0; }
  .sx-demo.warm { background: var(--bg-warm); }

  /* Demo label — grass pill in upper-left */
  .sx-demo > .demo-label {
    position: absolute;
    top: 14px;
    left: 18px;
    z-index: 5;
    font-family: var(--font-display);
    font-size: 9px;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: #fff;
    background: var(--brand);
    padding: 5px 11px;
    border-radius: 999px;
    pointer-events: none;
    font-weight: 900;
  }
  .sx-demo > .demo-label.lightning {
    background: var(--lightning);
    color: var(--ink);
  }


/* pipeline safety net — minimal fallbacks for common heading stacks */
.hero-photo > .container > .eyebrow,
.hero-photo > .container > .kicker,
section > .container > .eyebrow:not(.with-bar-inline),
section > .container > .kicker {
  display: block;
}
section > .container > .kicker {
  font-family: var(--font-italic, Georgia, serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--vip-gold-deep, #b08d3a);
}
section > .container > .kicker + .display,
section > .container > .kicker + h1,
section > .container > .kicker + h2 { margin-top: 8px; }
