/*
Theme Name: Jackson Creek Outdoors
Theme URI: https://jacksoncreekoutdoors.com
Author: Jackson Creek Outdoors
Author URI: https://jacksoncreekoutdoors.com
Description: A block theme for Jackson Creek Outdoors — hunting, fishing, wild food and ridge running in the Blue Ridge. Zodiak and Work Sans on a spruce-and-ochre palette, with automatic dark mode, editorial post cards, and gear-kit patterns built for affiliate content.
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jco
Tags: blog, portfolio, one-column, two-columns, block-patterns, full-site-editing, custom-colors, custom-logo, custom-menu, featured-images, editor-style, wide-blocks, accessibility-ready
*/

/* ============================================================================
   This file is generated. Source order:
     1. base.css       — reset and element defaults
     2. style.css      — the Jackson Creek Outdoors design system
     3. wp-bridge.css  — maps WordPress block markup onto that system
   ========================================================================= */




/* ============================================================================
   1. BASE — reset and element defaults
   ============================================================================ */


/* base.css */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  hanging-punctuation: first last;
  scroll-padding-top: var(--space-16);
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body, sans-serif);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul[role='list'],
ol[role='list'] {
  list-style: none;
}
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
  line-height: 1.15;
}
p,
li,
figcaption {
  text-wrap: pretty;
  max-width: 72ch;
}

::selection {
  background: oklch(from var(--color-primary) l c h / 0.25);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

button {
  cursor: pointer;
  background: none;
  border: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}

a,
button,
[role='button'],
[role='link'],
input,
textarea,
select {
  transition:
    color var(--transition-interactive),
    background var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive);
}

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


/* ============================================================================
   2. DESIGN SYSTEM — tokens, components, dark mode
   ============================================================================ */


/* ============================================
   Jackson Creek Outdoors — design tokens
   Blue Ridge: spruce green, weathered paper, ochre
   ============================================ */

:root,
[data-theme='light'] {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Surfaces — weathered paper */
  --color-bg: #f6f4ef;
  --color-surface: #fbfaf6;
  --color-surface-2: #fdfcfa;
  --color-surface-offset: #eeeae1;
  --color-surface-offset-2: #e6e1d6;
  --color-divider: #ded8cc;
  --color-border: #d3ccbd;

  /* Text — spruce ink */
  --color-text: #1e231f;
  --color-text-muted: #666b63;
  --color-text-faint: #a3a79d;
  --color-text-inverse: #f6f4ef;

  /* Primary — spruce */
  --color-primary: #2c4a3b;
  --color-primary-hover: #1d3428;
  --color-primary-active: #14241c;
  --color-primary-highlight: #dde5de;

  /* Accent — trail-blaze ochre (sparingly: tags, rules) */
  --color-accent: #9b5f1e;
  --color-accent-soft: #eae0d1;

  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.625rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px oklch(0.2 0.01 120 / 0.07);
  --shadow-md: 0 4px 14px oklch(0.2 0.01 120 / 0.09);
  --shadow-lg: 0 14px 38px oklch(0.2 0.01 120 / 0.14);

  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1240px;

  --font-display: 'Zodiak', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #12150f;
  --color-surface: #181c15;
  --color-surface-2: #1d221a;
  --color-surface-offset: #1c211a;
  --color-surface-offset-2: #232920;
  --color-divider: #262c23;
  --color-border: #363d32;
  --color-text: #d8dbd1;
  --color-text-muted: #8b9084;
  --color-text-faint: #626759;
  --color-text-inverse: #14170f;
  --color-primary: #86ad92;
  --color-primary-hover: #a3c4ac;
  --color-primary-active: #bcd5c2;
  --color-primary-highlight: #23301f;
  --color-accent: #cf9257;
  --color-accent-soft: #2a2318;
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.4);
  --shadow-md: 0 4px 14px oklch(0 0 0 / 0.45);
  --shadow-lg: 0 14px 38px oklch(0 0 0 / 0.55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #12150f;
    --color-surface: #181c15;
    --color-surface-2: #1d221a;
    --color-surface-offset: #1c211a;
    --color-surface-offset-2: #232920;
    --color-divider: #262c23;
    --color-border: #363d32;
    --color-text: #d8dbd1;
    --color-text-muted: #8b9084;
    --color-text-faint: #626759;
    --color-text-inverse: #14170f;
    --color-primary: #86ad92;
    --color-primary-hover: #a3c4ac;
    --color-primary-active: #bcd5c2;
    --color-primary-highlight: #23301f;
    --color-accent: #cf9257;
    --color-accent-soft: #2a2318;
  }
}

/* ============================================
   Layout primitives
   ============================================ */

.wrap {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-12));
}
.wrap--default {
  max-width: var(--content-default);
}
.wrap--narrow {
  max-width: var(--content-narrow);
}

section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 100;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}
.skip-link:focus {
  top: var(--space-4);
}

/* ============================================
   Typography
   ============================================ */

a {
  color: inherit;
}

.eyebrow {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.eyebrow::before {
  content: '';
  width: var(--space-6);
  height: 1px;
  background: var(--color-accent);
  flex: none;
}
.eyebrow--plain::before {
  display: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
}

.h-hero {
  font-size: var(--text-3xl);
  line-height: 1.02;
}
.h-section {
  font-size: var(--text-xl);
}
.h-page {
  font-size: var(--text-2xl);
  line-height: 1.05;
}
.h-card {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-lg);
  letter-spacing: -0.005em;
  line-height: 1.25;
}

.lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: 46ch;
}

.meta {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
  font-weight: 500;
}

.tag {
  display: inline-block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--color-accent);
  border: 1px solid oklch(from var(--color-accent) l c h / 0.35);
  border-radius: var(--radius-full);
  padding: 0.2em 0.75em;
  line-height: 1.5;
}

/* ============================================
   Header
   ============================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-interactive);
}
.header--scrolled {
  border-bottom-color: var(--color-divider);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  margin-right: auto;
}
.brand__mark {
  color: var(--color-primary);
  flex: none;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.brand__name span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav a {
  font-size: var(--text-sm);
  text-decoration: none;
  color: var(--color-text-muted);
  font-weight: 500;
  padding-block: var(--space-2);
}
.nav a:hover {
  color: var(--color-text);
}
.nav a[aria-current='page'] {
  color: var(--color-text);
  box-shadow: inset 0 -2px 0 var(--color-accent);
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  border: 1px solid transparent;
  flex: none;
}
.icon-btn:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

.nav-toggle {
  display: none;
}

@media (max-width: 820px) {
  .nav-toggle {
    display: grid;
  }
  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-2) clamp(var(--space-5), 5vw, var(--space-12))
      var(--space-5);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 200ms ease,
      transform 200ms ease,
      visibility 200ms;
  }
  .nav[data-open='true'] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav a {
    padding-block: var(--space-4);
    border-bottom: 1px solid var(--color-divider);
    font-size: var(--text-base);
  }
  .nav a:last-child {
    border-bottom: none;
  }
  .nav a[aria-current='page'] {
    box-shadow: none;
    color: var(--color-primary);
  }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  min-height: 44px;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
}
[data-theme='dark'] .btn--primary,
.btn--primary {
  color: var(--color-bg);
}
.btn--ghost {
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn--ghost:hover {
  border-color: var(--color-text-muted);
  background: var(--color-surface-offset);
}
.btn--light {
  background: oklch(1 0 0 / 0.92);
  color: #1e231f;
}
.btn--light:hover {
  background: #fff;
}
.btn--outline-light {
  border-color: oklch(1 0 0 / 0.45);
  color: #fff;
}
.btn--outline-light:hover {
  border-color: #fff;
  background: oklch(1 0 0 / 0.12);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  color: var(--color-primary);
}
.link-arrow svg {
  transition: transform var(--transition-interactive);
}
.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: flex-end;
  padding-block: var(--space-20) clamp(var(--space-10), 4vw, var(--space-16));
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    oklch(0.18 0.02 145 / 0.92) 0%,
    oklch(0.2 0.02 145 / 0.62) 42%,
    oklch(0.25 0.02 145 / 0.22) 100%
  );
}
.hero__inner {
  color: #fff;
  max-width: 48rem;
}
.hero .h-hero {
  font-size: clamp(2.25rem, 1rem + 3.1vw, 4rem);
}
.hero .eyebrow {
  color: oklch(1 0 0 / 0.78);
}
.hero .eyebrow::before {
  background: var(--color-accent);
}
.hero h1 {
  margin-block: var(--space-5) var(--space-5);
  color: #fff;
}
.hero p {
  color: oklch(1 0 0 / 0.85);
  font-size: var(--text-base);
  max-width: 30rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

/* ============================================
   Contour divider (SVG-free CSS motif)
   ============================================ */

.rule {
  height: 1px;
  background: var(--color-divider);
  border: none;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-divider);
}
.section-head__text > * + * {
  margin-top: var(--space-3);
}

/* ============================================
   Pillars
   ============================================ */

.pillars {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.pillar {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pillar:hover {
  border-color: var(--color-text-faint);
  box-shadow: var(--shadow-md);
}
.pillar__img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--color-surface-offset);
}
.pillar__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.pillar:hover .pillar__img img {
  transform: scale(1.04);
}
.pillar__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}
.pillar__body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.pillar__body .link-arrow {
  margin-top: auto;
  padding-top: var(--space-3);
}

/* ============================================
   Feature grid (field notes)
   ============================================ */

.feature-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(3, 1fr);
}
.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-decoration: none;
  color: inherit;
}
.card__img {
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  background: var(--color-surface-offset);
}
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover .card__img img {
  transform: scale(1.04);
}
.card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.card:hover .h-card {
  color: var(--color-primary);
}

.card--feature {
  grid-column: span 2;
  grid-row: span 2;
}
.card--feature .card__img {
  aspect-ratio: 16 / 11;
}
.card--feature .h-card {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-xl);
}
.card--row {
  flex-direction: row;
  gap: var(--space-5);
  align-items: flex-start;
}
.card--row .card__img {
  flex: none;
  width: 132px;
  aspect-ratio: 1;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .card--feature {
    grid-column: auto;
    grid-row: auto;
  }
  .card--row {
    flex-direction: column;
  }
  .card--row .card__img {
    width: 100%;
    aspect-ratio: 4 / 3;
  }
}

/* ============================================
   Video / watch
   ============================================ */

.video-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.vcard {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  background: var(--color-surface-offset);
  isolation: isolate;
}
.vcard img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.vcard::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    oklch(0.15 0.02 145 / 0.9),
    oklch(0.2 0.02 145 / 0.25) 55%,
    oklch(0.3 0.02 145 / 0.05)
  );
}
.vcard:hover img {
  transform: scale(1.06);
}
.vcard__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.vcard__title {
  font-weight: 600;
  font-size: var(--text-sm);
  color: #fff;
  line-height: 1.3;
}
.vcard__meta {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: oklch(1 0 0 / 0.7);
  font-weight: 500;
}
.vcard__play {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  background: oklch(1 0 0 / 0.16);
  border: 1px solid oklch(1 0 0 / 0.3);
  backdrop-filter: blur(6px);
  color: #fff;
}

/* ============================================
   Gear
   ============================================ */

.disclosure {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  background: var(--color-accent-soft);
  border: 1px solid oklch(from var(--color-accent) l c h / 0.28);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  margin-bottom: var(--space-10);
}
.disclosure svg {
  flex: none;
  color: var(--color-accent);
  margin-top: 2px;
}
.disclosure p {
  font-size: var(--text-sm);
  color: var(--color-text);
  max-width: 78ch;
}
.disclosure strong {
  font-weight: 600;
}

.kit-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.kit {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  gap: var(--space-5);
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
}
.kit__num {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text-faint);
  line-height: 1;
}
.kit__name {
  font-weight: 600;
  font-size: var(--text-base);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.kit__why {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}
.kit__cta {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--color-text-faint);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.4em 1em;
  white-space: nowrap;
}

/* Once a real affiliate link is added, the badge becomes a live button.
   The dashed, faint treatment above is only the awaiting-approval state. */
.kit__cta:has(a) {
  color: var(--color-text-inverse);
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 0;
  transition: background var(--transition), border-color var(--transition);
}
.kit__cta:has(a):hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}
.kit__cta a {
  display: block;
  padding: 0.4em 1em;
  color: inherit;
  text-decoration: none;
  background: none;
}
.kit__cta a:hover {
  color: inherit;
  text-decoration: none;
}
@media (max-width: 700px) {
  .kit {
    grid-template-columns: 2rem 1fr;
    align-items: start;
  }
  .kit__cta {
    grid-column: 2;
  }
}

/* ============================================
   Newsletter
   ============================================ */

.signup {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-10), 6vw, var(--space-20));
}
.signup img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.signup::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    oklch(0.19 0.03 150 / 0.95) 0%,
    oklch(0.22 0.03 150 / 0.8) 62%,
    oklch(0.25 0.03 150 / 0.55) 100%
  );
}
.signup h2,
.signup .eyebrow {
  color: #fff;
}
.signup .eyebrow {
  color: oklch(1 0 0 / 0.75);
}
.signup p {
  color: oklch(1 0 0 / 0.82);
  font-size: var(--text-sm);
  max-width: 52ch;
}
.signup__inner > * + * {
  margin-top: var(--space-5);
}
.form-row {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  max-width: 460px;
}
.form-row input {
  flex: 1 1 220px;
  min-height: 44px;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid oklch(1 0 0 / 0.35);
  background: oklch(1 0 0 / 0.1);
  color: #fff;
  font-size: var(--text-sm);
}
.form-row input::placeholder {
  color: oklch(1 0 0 / 0.55);
}
.form-row input:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.form-note {
  font-size: var(--text-xs);
  color: oklch(1 0 0 / 0.62);
}
.form-status {
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 500;
  min-height: 1.4em;
  margin-top: var(--space-3);
}
.form-status.is-ok {
  color: #fff;
}

/* ============================================
   Split / about
   ============================================ */

.split {
  display: grid;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.split--wide-left {
  grid-template-columns: 1.15fr 1fr;
}
.split__media img {
  border-radius: var(--radius-lg);
  width: 100%;
}
.split__text > * + * {
  margin-top: var(--space-5);
}
.split__text p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
}
@media (max-width: 860px) {
  .split,
  .split--wide-left {
    grid-template-columns: 1fr;
  }
}

.figure figcaption {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bleed {
  width: 100%;
  height: clamp(240px, 40vh, 460px);
  object-fit: cover;
}

/* ============================================
   Prose (article)
   ============================================ */

.prose {
  max-width: 68ch;
}
.prose > * + * {
  margin-top: var(--space-5);
}
.prose h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-12);
}
.prose h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-lg);
  margin-top: var(--space-10);
}
.prose p,
.prose li {
  font-size: var(--text-base);
  line-height: 1.7;
  max-width: 68ch;
}
.prose ul,
.prose ol {
  padding-left: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.prose a {
  color: var(--color-primary);
  text-underline-offset: 3px;
}
.prose blockquote {
  border-left: 2px solid var(--color-accent);
  padding-left: var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.4;
  color: var(--color-text);
}
.prose blockquote p {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
.callout {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
}
.callout .meta {
  margin-bottom: var(--space-2);
  display: block;
}
.callout p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.article-head {
  padding-block: clamp(var(--space-10), 6vw, var(--space-16)) var(--space-8);
}
.article-head > * + * {
  margin-top: var(--space-5);
}
.article-meta {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  border-top: 1px solid var(--color-divider);
  background: var(--color-surface-offset);
  padding-block: clamp(var(--space-12), 6vw, var(--space-16)) var(--space-8);
  margin-top: clamp(var(--space-12), 8vw, var(--space-24));
}
.footer__grid {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
}
@media (max-width: 860px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}
.footer h3 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer a {
  font-size: var(--text-sm);
  text-decoration: none;
  color: var(--color-text-muted);
}
.footer a:hover {
  color: var(--color-text);
}
.footer__about p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  max-width: 38ch;
}
.footer__bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
}
.footer__bottom p {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ============================================
   Motion
   ============================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Gear kit layout */
.split--kit {
  grid-template-columns: 0.8fr 1.5fr;
  align-items: start;
}
@media (max-width: 860px) {
  .split--kit {
    grid-template-columns: 1fr;
  }
}
.kit-figure {
  position: sticky;
  top: calc(var(--space-16) + 2.5rem);
}
.kit-figure img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
@media (max-width: 860px) {
  .kit-figure {
    position: static;
  }
  .kit-figure img {
    aspect-ratio: 16 / 10;
  }
}


/* ============================================================================
   3. WORDPRESS BRIDGE — block markup mapped to the system
   ============================================================================ */


/* ============================================
   WordPress block bridge
   Maps core block output onto the Jackson Creek
   Outdoors design system defined above.
   ============================================ */

.wp-site-blocks {
  display: flow-root;
}

/* Keep the sticky header clear of the admin bar */
body.admin-bar .header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .header {
    top: 46px;
  }
}

/* ---- Header ---------------------------------- */

.header .wp-block-group {
  gap: 0;
}
.header .brand .wp-block-site-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0;
}
.header .brand .wp-block-site-title a {
  text-decoration: none;
  color: var(--color-text);
}

/* Core navigation styled to match the static nav */
.header .wp-block-navigation {
  gap: var(--space-6);
  font-size: var(--text-sm);
  font-weight: 500;
}
.header .wp-block-navigation .wp-block-navigation-item__content {
  text-decoration: none;
  color: var(--color-text-muted);
  padding-block: var(--space-2);
}
.header .wp-block-navigation .wp-block-navigation-item__content:hover {
  color: var(--color-text);
}
.header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.header .wp-block-navigation .current_page_item > .wp-block-navigation-item__content {
  color: var(--color-text);
  box-shadow: inset 0 -2px 0 var(--color-accent);
}
.header .wp-block-navigation__responsive-container-open,
.header .wp-block-navigation__responsive-container-close {
  color: var(--color-text-muted);
}
.header .wp-block-navigation__responsive-container.is-menu-open {
  background: var(--color-surface);
  padding: var(--space-16) var(--space-6) var(--space-10);
}
.header
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item__content {
  color: var(--color-text);
  font-size: var(--text-lg);
}

/* ---- Generic block resets -------------------- */

.wp-block-group.header,
.wp-block-group.footer {
  max-width: none;
}

.wp-block-image {
  margin: 0;
}
.wp-block-image img {
  border-radius: var(--radius-lg);
}
.wp-block-image.is-style-square img,
.pillar__img img,
.card__img img,
.vcard img,
.signup img,
.hero__bg img {
  border-radius: 0;
}

.wp-block-buttons {
  gap: var(--space-3);
}
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  min-height: 44px;
  border: 1px solid transparent;
  background: var(--color-primary);
  color: var(--color-bg);
}
.wp-block-button__link:hover {
  background: var(--color-primary-hover);
}
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--color-surface-offset);
  border-color: var(--color-text-muted);
}
/* On dark photographic panels */
.hero .wp-block-button__link,
.signup .wp-block-button__link {
  background: oklch(1 0 0 / 0.94);
  color: #1e231f;
}
.hero .wp-block-button__link:hover,
.signup .wp-block-button__link:hover {
  background: #fff;
}
.hero .wp-block-button.is-style-outline .wp-block-button__link,
.signup .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  border-color: oklch(1 0 0 / 0.45);
  color: #fff;
}
.hero .wp-block-button.is-style-outline .wp-block-button__link:hover,
.signup .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: oklch(1 0 0 / 0.14);
  border-color: #fff;
}

/* ---- Section scaffolding --------------------- */

.jco-section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}
.jco-section--tight {
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
}

.jco-eyebrow {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0;
}
.jco-eyebrow::before {
  content: '';
  width: var(--space-6);
  height: 1px;
  background: var(--color-accent);
  flex: none;
}
.hero .jco-eyebrow,
.signup .jco-eyebrow {
  color: oklch(1 0 0 / 0.78);
}

/* ---- Query loop / post cards ----------------- */

.jco-loop {
  display: grid;
  gap: var(--space-8) var(--space-6);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.jco-loop > li {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: 0;
}
.jco-loop .wp-block-post-featured-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  background: var(--color-surface-offset);
  margin: 0;
}
.jco-loop .wp-block-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.jco-loop li:hover .wp-block-post-featured-image img {
  transform: scale(1.04);
}
.jco-loop .wp-block-post-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-lg);
  letter-spacing: -0.005em;
  line-height: 1.25;
  margin: 0;
}
.jco-loop .wp-block-post-title a {
  text-decoration: none;
  color: inherit;
}
.jco-loop li:hover .wp-block-post-title a {
  color: var(--color-primary);
}
.jco-loop .wp-block-post-excerpt {
  margin: 0;
}
.jco-loop .wp-block-post-excerpt__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}
.jco-loop .wp-block-post-excerpt__more-link {
  display: none;
}
.jco-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
  font-weight: 500;
}
.jco-card-meta a {
  text-decoration: none;
  color: var(--color-accent);
}
.jco-card-meta .wp-block-post-date,
.jco-card-meta .wp-block-post-terms {
  font-size: inherit;
  letter-spacing: inherit;
}

.wp-block-query-pagination {
  margin-top: var(--space-16);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-sm);
  font-weight: 500;
  gap: var(--space-5);
}
.wp-block-query-pagination a {
  text-decoration: none;
  color: var(--color-primary);
}
.wp-block-query-pagination-numbers .current {
  color: var(--color-text);
  font-weight: 600;
}
.wp-block-query-no-results {
  padding: var(--space-12) 0;
  color: var(--color-text-muted);
}

/* ---- Single post ----------------------------- */

.jco-article-head {
  padding-block: clamp(var(--space-10), 6vw, var(--space-16)) var(--space-8);
}
.jco-article-head > * + * {
  margin-top: var(--space-5);
}
.jco-article-head .wp-block-post-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-2xl);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
}
.jco-article-head .wp-block-post-excerpt__excerpt {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: 46ch;
  margin: 0;
}
.jco-meta-row {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  flex-wrap: wrap;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
  font-weight: 500;
}
.jco-meta-row a {
  text-decoration: none;
  color: var(--color-accent);
}
.jco-hero-figure img {
  width: 100%;
  height: clamp(240px, 40vh, 460px);
  object-fit: cover;
  border-radius: 0;
}

/* Post content — inherits the .prose rules defined above */
.jco-prose {
  max-width: 68ch;
}
.jco-prose > * + * {
  margin-top: var(--space-5);
}
.jco-prose > h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  font-size: var(--text-xl);
  margin-top: var(--space-12);
}
.jco-prose > h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-lg);
  margin-top: var(--space-10);
}
.jco-prose p,
.jco-prose li {
  font-size: var(--text-base);
  line-height: 1.7;
  max-width: 68ch;
}
.jco-prose ul,
.jco-prose ol {
  padding-left: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.jco-prose a {
  color: var(--color-primary);
  text-underline-offset: 3px;
}
.jco-prose blockquote {
  border-left: 2px solid var(--color-accent);
  padding-left: var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.4;
}
.jco-prose blockquote p {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
.jco-prose .wp-block-image {
  margin-top: var(--space-8);
}
.jco-prose .wp-block-image figcaption {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.jco-prose .wp-block-separator {
  border: none;
  border-top: 1px solid var(--color-divider);
  margin-block: var(--space-12);
  max-width: none;
}
.jco-prose .wp-block-pullquote,
.jco-prose .wp-block-quote {
  margin-block: var(--space-8);
}

.jco-post-nav {
  margin-top: var(--space-16);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
  font-size: var(--text-sm);
  font-weight: 600;
}
.jco-post-nav a {
  text-decoration: none;
  color: var(--color-primary);
}

/* ---- Footer ---------------------------------- */

.footer .wp-block-site-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 400;
  margin: 0;
}
.footer .wp-block-site-title a {
  text-decoration: none;
  color: var(--color-text);
}
.footer .wp-block-heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-4);
}
.footer .wp-block-navigation {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}
.footer .wp-block-navigation .wp-block-navigation-item__content {
  font-size: var(--text-sm);
  text-decoration: none;
  color: var(--color-text-muted);
}
.footer .wp-block-navigation .wp-block-navigation-item__content:hover {
  color: var(--color-text);
}
.footer p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.footer .jco-fine-print p {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ---- Search + 404 ---------------------------- */

.wp-block-search__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
  display: block;
}
.wp-block-search__input {
  min-height: 44px;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: var(--text-sm);
}
.wp-block-search__button {
  background: var(--color-primary);
  color: var(--color-bg);
  border: none;
  border-radius: var(--radius-md);
  padding-inline: var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  min-height: 44px;
}

/* ---- Comments -------------------------------- */

.wp-block-comments {
  margin-top: var(--space-16);
  padding-top: var(--space-10);
  border-top: 1px solid var(--color-divider);
}
.wp-block-comments .wp-block-heading {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  margin-bottom: var(--space-8);
}
.wp-block-comment-author-name a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
}
.wp-block-comment-date {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.comment-form input:not([type='submit']),
.comment-form textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-size: var(--text-sm);
}
.comment-form .submit {
  background: var(--color-primary);
  color: var(--color-bg);
  border: none;
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-6);
  font-weight: 600;
  font-size: var(--text-sm);
  min-height: 44px;
}

/* ---- Utility --------------------------------- */

.jco-stack > * + * {
  margin-top: var(--space-5);
}
.jco-measure {
  max-width: 46ch;
}
.jco-hero-copy {
  max-width: 48rem;
}
.jco-hero-copy p {
  color: oklch(1 0 0 / 0.85);
  max-width: 30rem;
}
.hero .wp-block-post-title,
.hero h1,
.hero h2 {
  color: #fff;
}
.signup .wp-block-heading,
.signup p {
  color: #fff;
}
.signup p {
  color: oklch(1 0 0 / 0.82);
  font-size: var(--text-sm);
  max-width: 52ch;
}

/* Skip link supplied by WordPress */
.skip-link.screen-reader-text:focus {
  top: var(--space-4);
  left: var(--space-4);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  z-index: 100;
}

/* ---- Grid/flex children: cancel WP blockGap margins ---- */

.wp-block-group.footer__grid > *,
.wp-block-group.pillars > *,
.wp-block-group.kit > *,
.wp-block-group.kit-list > *,
.wp-block-group.kit__body > *,
.wp-block-group.split > *,
.wp-block-group.split--kit > *,
.wp-block-group.header__inner > *,
.wp-block-group.brand > *,
.wp-block-group.footer__bottom > *,
.wp-block-group.video-grid > *,
.wp-block-group.jco-loop > * {
  margin-block-start: 0;
}
.wp-block-group.kit__body > * + * {
  margin-block-start: var(--space-2);
}

/* ---- Kit rows: numbers via CSS counter ---- */

.kit-list {
  counter-reset: jcokit;
}
.wp-block-group.kit {
  grid-template-columns: 2.5rem 1fr auto;
}
.wp-block-group.kit::before {
  counter-increment: jcokit;
  content: counter(jcokit, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text-faint);
  line-height: 1;
}
.kit__name,
.kit__why,
.kit__cta {
  margin: 0;
}
.kit__cta {
  align-self: center;
}
@media (max-width: 700px) {
  .wp-block-group.kit {
    grid-template-columns: 2rem 1fr;
  }
  .wp-block-group.kit .kit__cta {
    grid-column: 2;
    justify-self: start;
    margin-top: var(--space-3);
  }
}

/* ---- Pillars as groups ---- */

.wp-block-group.pillars {
  display: grid;
}
.pillar__body > * + * {
  margin-top: var(--space-3);
}
.pillar__eyebrow {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0;
}
.pillar__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
}
.pillar__body p {
  margin: 0;
}
.pillar__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  color: var(--color-primary);
  margin-top: auto;
  padding-top: var(--space-3);
}

/* ---- Section heads ---- */

.jco-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-divider);
}
.wp-block-group.jco-section-head > * {
  margin-block-start: 0;
}
.jco-section-head .wp-block-heading {
  font-size: var(--text-xl);
  margin: 0;
}
.jco-section-head p {
  margin: 0;
}
.jco-section-head__text > * + * {
  margin-top: var(--space-3);
}

/* ---- Watch links ---- */

.wp-block-group.video-grid {
  display: grid;
}
.vcard__body > * {
  margin: 0;
}

/* ---- Page header ---- */

.jco-page-head {
  padding-block: clamp(var(--space-12), 7vw, var(--space-20)) var(--space-10);
  border-bottom: 1px solid var(--color-divider);
}
.jco-page-head > * + * {
  margin-top: var(--space-5);
}
.jco-page-head .wp-block-post-title,
.jco-page-head .wp-block-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-2xl);
  line-height: 1.05;
  margin: 0;
}
.jco-page-head p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: 46ch;
  margin: 0;
}

/* ---- Watch strip: exactly four socials, so pin the track count.
       The source rule uses auto-fill, which leaves empty tracks here. ---- */

.video-grid {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Social cards sit mid-page and are small; eager-load so the scrim never
   flashes over an empty surface. */
.vcard img {
  background: var(--color-surface-offset-2);
}

/* ---- Page list in the footer: drop the redundant Home link ---- */

.footer .wp-block-page-list .wp-block-pages-list__item a[aria-current="page"] {
  color: var(--color-accent);
}
