/* ============================================================
   pocra WordPress theme — compiled from the pocra design system.
   Tokens (colors / type / spacing / materials) + template styles.
   ============================================================ */

/* ---------------- tokens ---------------- */
:root {
  /* cool neutrals */
  --slate-0:   oklch(1 0 0);
  --slate-50:  oklch(0.984 0.004 258);
  --slate-100: oklch(0.965 0.006 258);
  --slate-200: oklch(0.925 0.009 258);
  --slate-300: oklch(0.872 0.012 258);
  --slate-400: oklch(0.715 0.018 258);
  --slate-500: oklch(0.598 0.022 258);
  --slate-600: oklch(0.498 0.026 260);
  --slate-700: oklch(0.398 0.030 262);
  --slate-800: oklch(0.300 0.032 264);
  --slate-900: oklch(0.228 0.030 264);
  --ink:       oklch(0.135 0.024 266);

  /* electric azure */
  --azure-400: oklch(0.690 0.170 256);
  --azure-500: oklch(0.620 0.205 256);
  --azure-600: oklch(0.548 0.205 258);
  --azure-700: oklch(0.470 0.180 260);

  /* cyan reflection */
  --cyan-300:  oklch(0.870 0.110 210);

  /* semantic */
  --bg-base:        var(--slate-50);
  --surface:        var(--slate-0);
  --surface-muted:  var(--slate-100);
  --text-primary:   var(--ink);
  --text-secondary: var(--slate-600);
  --text-tertiary:  var(--slate-500);
  --text-link:      var(--azure-600);
  --accent:         var(--azure-500);
  --accent-hover:   var(--azure-600);
  --on-accent:      var(--slate-0);
  --border-subtle:  oklch(0.300 0.032 264 / 0.10);
  --border-default: oklch(0.300 0.032 264 / 0.16);
  --ring:           oklch(0.620 0.205 256 / 0.55);

  /* type */
  --font-display: 'Archivo', 'Helvetica Neue', system-ui, sans-serif;
  --font-text:    'Hanken Grotesk', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* spacing / radii */
  --space-2: 0.5rem;  --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem;  --space-6: 2rem;    --space-7: 3rem;  --space-8: 4rem;
  --radius-sm: 10px; --radius-md: 14px; --radius-lg: 20px; --radius-xl: 28px; --radius-pill: 999px;
  --gutter: clamp(1rem, 3vw, 1.5rem);
  --container-max: 1240px;

  /* materials */
  --glass-bg:        oklch(1 0 0 / 0.55);
  --glass-border:    oklch(1 0 0 / 0.55);
  --glass-highlight: oklch(1 0 0 / 0.65);
  --glass-dark-bg:        oklch(0.2 0.03 264 / 0.55);
  --glass-dark-border:    oklch(1 0 0 / 0.16);
  --glass-dark-highlight: oklch(1 0 0 / 0.22);

  --shadow-1: 0 1px 2px oklch(0.2 0.03 264 / 0.08), 0 1px 1px oklch(0.2 0.03 264 / 0.04);
  --shadow-2: 0 2px 6px oklch(0.2 0.03 264 / 0.10), 0 1px 2px oklch(0.2 0.03 264 / 0.06);
  --shadow-3: 0 8px 24px oklch(0.2 0.03 264 / 0.12), 0 2px 6px oklch(0.2 0.03 264 / 0.08);
  --shadow-4: 0 20px 48px oklch(0.18 0.03 266 / 0.18), 0 6px 16px oklch(0.18 0.03 266 / 0.10);

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ---------------- base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-text);
  font-size: 1rem; line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.022em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
a { color: var(--text-link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ring); }

.kicker {
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-tertiary);
}
.kicker--on-photo { color: var(--cyan-300); }
.meta { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-tertiary); }

/* ---------------- materials ---------------- */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-3), inset 0 1px 0 0 var(--glass-highlight);
}
.glass-dark {
  background: var(--glass-dark-bg);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-dark-border);
  box-shadow: var(--shadow-4), inset 0 1px 0 0 var(--glass-dark-highlight);
  color: var(--slate-50);
}

/* ---------------- icon buttons / search ---------------- */
.pocra-iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  background: transparent; color: var(--text-secondary); cursor: pointer;
  transition: background 120ms var(--ease), color 120ms var(--ease), transform 120ms var(--ease);
}
.pocra-iconbtn:hover { background: var(--surface-muted); color: var(--text-primary); }
.pocra-iconbtn:active { transform: scale(0.92); }
.pocra-iconbtn svg { width: 18px; height: 18px; }
.pocra-iconbtn__sun { display: none; }
html[data-theme="dark"] .pocra-iconbtn__moon { display: none; }
html[data-theme="dark"] .pocra-iconbtn__sun { display: block; }

.pocra-search {
  position: fixed; top: 76px; right: var(--space-5); z-index: 60;
  border-radius: var(--radius-md); padding: 10px;
  animation: pocraDrop 240ms var(--ease);
}
.pocra-search[hidden] { display: none; }
.pocra-search input {
  width: min(320px, 70vw); height: 40px; padding: 0 14px;
  font-family: var(--font-text); font-size: 1rem; color: var(--text-primary);
  background: var(--surface); border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
}
.pocra-search input:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ring); }

/* ---------------- night glass (dark mode) ---------------- */
html[data-theme="dark"] {
  --bg-base:        var(--ink);
  --surface:        var(--slate-900);
  --surface-muted:  var(--slate-800);
  --text-primary:   var(--slate-50);
  --text-secondary: var(--slate-300);
  --text-tertiary:  var(--slate-400);
  --text-link:      oklch(0.800 0.130 212);
  --accent:         var(--azure-400);
  --accent-hover:   oklch(0.775 0.130 256);
  --on-accent:      var(--ink);
  --border-subtle:  oklch(1 0 0 / 0.08);
  --border-default: oklch(1 0 0 / 0.14);
  --ring:           oklch(0.800 0.130 212 / 0.60);
  --glass-bg:        var(--glass-dark-bg);
  --glass-border:    var(--glass-dark-border);
  --glass-highlight: var(--glass-dark-highlight);
}
html[data-theme="dark"] .pocra-chip:hover { background: var(--slate-800); }
html[data-theme="dark"] .pocra-chip.is-active { background: var(--accent); color: var(--on-accent) !important; }

/* ---------------- buttons ---------------- */
.pocra-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px;
  font-family: var(--font-text); font-size: 1rem; font-weight: 600;
  border-radius: var(--radius-md); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; text-decoration: none !important;
  transition: transform 120ms var(--ease), background 120ms var(--ease);
}
.pocra-btn:hover { transform: translateY(-1px); }
.pocra-btn:active { transform: scale(0.97); }
.pocra-btn--sm { height: 32px; padding: 0 14px; font-size: 0.875rem; border-radius: var(--radius-sm); }
.pocra-btn--primary {
  background: var(--accent); color: var(--on-accent) !important;
  box-shadow: var(--shadow-2), inset 0 1px 0 0 oklch(1 0 0 / 0.30);
}
.pocra-btn--primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-3), inset 0 1px 0 0 oklch(1 0 0 / 0.30); }
.pocra-btn--ghost { background: transparent; color: var(--text-secondary) !important; }
.pocra-btn--ghost:hover { color: var(--text-primary) !important; }

/* ---------------- glass bar (header) ---------------- */
.pocra-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: var(--space-5);
  height: 64px; padding: 0 var(--space-5);
  border-left: none; border-right: none; border-top: none;
}
.pocra-bar__left { flex: none; }
.pocra-bar__center {
  display: flex; align-items: center; justify-content: center; gap: var(--space-5);
  flex: 1; min-width: 0;
  transition: opacity 260ms var(--ease), transform 260ms var(--ease), filter 260ms var(--ease);
}
.pocra-bar__right { flex: none; display: flex; align-items: center; gap: var(--space-3); margin-left: auto; }

.pocra-wordmark {
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  letter-spacing: -0.035em; color: var(--text-primary) !important;
  text-decoration: none !important;
  display: inline-flex; align-items: baseline;
}
.pocra-wordmark__dot {
  display: inline-block; width: 0.155em; height: 0.155em;
  border-radius: 50%; background: var(--accent);
  margin: 0 0.1em;
}
.pocra-wordmark__sub { color: var(--text-tertiary); font-weight: 600; }

.pocra-bar__nav a {
  position: relative;
  font-size: 0.875rem; font-weight: 500; color: var(--text-secondary);
  padding: 6px 2px; text-decoration: none !important;
  transition: color 160ms var(--ease);
}
.pocra-bar__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 240ms var(--ease);
}
.pocra-bar__nav a:hover,
.pocra-bar__nav .current-menu-item a,
.pocra-bar__nav .current-cat a { color: var(--text-primary); }
.pocra-bar__nav a:hover::after,
.pocra-bar__nav .current-menu-item a::after,
.pocra-bar__nav .current-cat a::after { transform: scaleX(1); }
.pocra-bar__nav li { list-style: none; display: inline-flex; }

/* category chips (filter pill & mobile menu) */
.pocra-chip {
  display: inline-flex; align-items: center; height: 26px; padding: 0 11px; flex: none;
  white-space: nowrap;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: none; border-radius: var(--radius-pill); cursor: pointer;
  background: transparent; color: var(--text-secondary) !important;
  text-decoration: none !important;
  transition: background 140ms var(--ease), color 140ms var(--ease), transform 140ms var(--ease);
}
.pocra-chip:hover { background: var(--surface-muted); color: var(--text-primary) !important; transform: translateY(-1px); }
.pocra-chip.is-active { background: var(--accent); color: var(--on-accent) !important; }

/* mobile burger + menu */
.pocra-bar__burger { display: none; }
.pocra-burger__close { display: none; }
.pocra-bar__burger[aria-expanded="true"] .pocra-burger__open { display: none; }
.pocra-bar__burger[aria-expanded="true"] .pocra-burger__close { display: block; }
.pocra-mobilemenu {
  position: fixed; top: 76px; left: var(--space-4); right: var(--space-4); z-index: 60;
  border-radius: var(--radius-lg); padding: var(--space-4);
  display: flex; flex-direction: column; gap: var(--space-2);
  animation: pocraDrop 280ms var(--ease);
}
.pocra-mobilemenu[hidden] { display: none; }
.pocra-mobilemenu li { list-style: none; }
.pocra-mobilemenu > a, .pocra-mobilemenu li a {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  letter-spacing: -0.02em; color: var(--text-primary); text-decoration: none !important;
  padding: 6px 4px; display: block;
}
.pocra-mobilemenu__cats { display: flex; flex-wrap: wrap; gap: 6px; padding-top: var(--space-3); border-top: 1px solid var(--border-subtle); margin-top: var(--space-2); }
.pocra-mobilemenu__cats .pocra-chip { background: var(--surface-muted); }
@keyframes pocraDrop {
  from { opacity: 0; transform: translateY(-10px) scale(0.99); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .pocra-mobilemenu { animation: none; } }

/* ---------------- cover ---------------- */
.pocra-cover {
  position: relative; height: 100vh; min-height: 620px; overflow: hidden;
  background: linear-gradient(165deg, oklch(0.46 0.07 236), oklch(0.15 0.03 266) 58%, oklch(0.3 0.1 210));
}
.pocra-cover__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; pointer-events: none;
  transition: opacity 900ms var(--ease);
}
.pocra-cover__slide.is-active { opacity: 1; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .pocra-cover__slide { transition: none; } }

/* CSS-only slideshow fallback — cycles the featured slides even when
   theme.js never executes (blocked by a consent manager, stripped by AMP,
   or deferred away by an optimizer). The moment theme.js initializes it
   adds .has-js and takes over with the dot navigation. */
.pocra-cover--cycle-2 .pocra-cover__slide,
.pocra-cover--cycle-3 .pocra-cover__slide,
.pocra-cover--cycle-4 .pocra-cover__slide,
.pocra-cover--cycle-5 .pocra-cover__slide {
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}
.pocra-cover--cycle-2 .pocra-cover__slide { animation-name: pocraCycle2; animation-duration: 13s; }
.pocra-cover--cycle-3 .pocra-cover__slide { animation-name: pocraCycle3; animation-duration: 19.5s; }
.pocra-cover--cycle-4 .pocra-cover__slide { animation-name: pocraCycle4; animation-duration: 26s; }
.pocra-cover--cycle-5 .pocra-cover__slide { animation-name: pocraCycle5; animation-duration: 32.5s; }
@keyframes pocraCycle2 { 0% { opacity: 0; } 5% { opacity: 1; } 50% { opacity: 1; } 55% { opacity: 0; } 100% { opacity: 0; } }
@keyframes pocraCycle3 { 0% { opacity: 0; } 5% { opacity: 1; } 33.33% { opacity: 1; } 38.33% { opacity: 0; } 100% { opacity: 0; } }
@keyframes pocraCycle4 { 0% { opacity: 0; } 5% { opacity: 1; } 25% { opacity: 1; } 30% { opacity: 0; } 100% { opacity: 0; } }
@keyframes pocraCycle5 { 0% { opacity: 0; } 5% { opacity: 1; } 20% { opacity: 1; } 25% { opacity: 0; } 100% { opacity: 0; } }
/* JS took over (dots) → stop the CSS cycle */
.pocra-cover.has-js .pocra-cover__slide { animation: none; }
/* reduced motion → static first slide */
@media (prefers-reduced-motion: reduce) {
  .pocra-cover--cycle-2 .pocra-cover__slide,
  .pocra-cover--cycle-3 .pocra-cover__slide,
  .pocra-cover--cycle-4 .pocra-cover__slide,
  .pocra-cover--cycle-5 .pocra-cover__slide { animation: none; }
}
.pocra-cover__dots {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.pocra-cover__dots button {
  width: 8px; height: 8px; padding: 0; border: none; border-radius: var(--radius-pill);
  background: oklch(1 0 0 / 0.4); cursor: pointer;
  transition: background 120ms var(--ease), transform 120ms var(--ease);
}
.pocra-cover__dots button:hover { transform: scale(1.3); }
.pocra-cover__dots button.is-active { background: #fff; }

/* cover entrance (once, on load) */
@media (prefers-reduced-motion: no-preference) {
  .pocra-cover__headline > * { animation: pocraUp 700ms var(--ease) backwards; }
  .pocra-cover__headline > *:nth-child(2) { animation-delay: 90ms; }
  .pocra-cover__headline > *:nth-child(3) { animation-delay: 180ms; }
  .pocra-cover__chip { animation: pocraUp 700ms 260ms var(--ease) backwards; }
}
@keyframes pocraUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.pocra-cover__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, oklch(0.13 0.02 266 / 0.4), transparent 26%, transparent 52%, oklch(0.11 0.02 266 / 0.72));
}
.pocra-cover__content {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-6);
  padding: 0 var(--gutter) var(--space-7);
}
.pocra-cover__headline { max-width: 780px; }
.pocra-cover__headline h1 {
  font-weight: 900; font-size: clamp(48px, 7vw, 104px);
  line-height: 0.92; letter-spacing: -0.035em; color: #fff;
  margin: 14px 0 var(--space-5);
}
.pocra-cover__chip {
  flex: none; border-radius: var(--radius-md); padding: 14px 18px;
  display: flex; flex-direction: column; gap: 6px; text-decoration: none !important;
}
.pocra-cover__chip-title { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: #fff; }
.pocra-cover__chip-meta { font-family: var(--font-mono); font-size: 11px; color: var(--slate-300); }
.pocra-cover__chip-camera { color: var(--cyan-300); }

/* ---------------- gallery (front page) ---------------- */
.pocra-gallery { scroll-margin-top: 80px; }
.pocra-gallery-intro { padding: var(--space-8) var(--gutter) 0; }
.pocra-gallery-intro .kicker { margin-bottom: 10px; }
.pocra-gallery-intro__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-5);
  border-bottom: 1px solid var(--border-subtle); padding-bottom: var(--space-4);
}
.pocra-gallery-intro h2 { font-weight: 900; font-size: clamp(44px, 6vw, 88px); letter-spacing: -0.035em; line-height: 0.95; }

.pocra-filterbar {
  position: sticky; top: 78px; z-index: 40;
  display: flex; justify-content: center;
  padding: 0 var(--gutter); margin-top: var(--space-5);
  pointer-events: none;
}
.pocra-filterbar__pill {
  pointer-events: auto;
  position: relative;
  display: flex; align-items: center; gap: 4px;
  max-width: 100%; overflow-x: auto;
  padding: 7px 9px; border-radius: var(--radius-pill);
}
/* sliding thumb under the active filter chip (created by JS) */
.pocra-filterbar__thumb {
  position: absolute; top: 7px; left: 0; height: 26px; width: 0;
  border-radius: var(--radius-pill);
  background: var(--accent);
  box-shadow: var(--shadow-2), inset 0 1px 0 0 oklch(1 0 0 / 0.30);
  transition: transform 340ms var(--ease), width 340ms var(--ease);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { .pocra-filterbar__thumb { transition: none; } }
.pocra-filterbar__pill .pocra-chip { position: relative; z-index: 1; }
.pocra-filterbar__pill.has-thumb .pocra-chip.is-active { background: transparent !important; }
.pocra-filterbar__pill .pocra-chip.is-active { color: var(--on-accent) !important; transition-delay: 0ms, 60ms, 0ms; }
.pocra-filterbar__sep { width: 1px; height: 18px; background: var(--border-strong, var(--border-default)); margin: 0 4px; flex: none; }

.pocra-viewtoggle { display: flex; gap: 2px; }
.pocra-viewtoggle button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 26px; padding: 0;
  border: none; border-radius: var(--radius-pill);
  background: transparent; color: var(--text-secondary); cursor: pointer;
  transition: background 140ms var(--ease), color 140ms var(--ease), transform 140ms var(--ease);
}
.pocra-viewtoggle button:hover { background: var(--surface-muted); transform: translateY(-1px); }
.pocra-viewtoggle button.is-active { background: var(--accent); color: var(--on-accent); }
.pocra-viewtoggle svg { width: 14px; height: 14px; }

/* ---------------- editorial grid ---------------- */
.pocra-archive-head { padding: 120px var(--gutter) 0; }
.pocra-archive-head h1 { font-weight: 900; font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.03em; }

.pocra-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: var(--space-6) var(--space-5);
  padding: var(--space-6) var(--gutter) var(--space-8);
  counter-reset: card;
}
.pocra-card { counter-increment: card; min-width: 0; grid-column: span 2; }
.pocra-card:nth-child(5n+1) { grid-column: span 4; }
.pocra-card.is-hidden { display: none; }
.pocra-card.anim-in { animation: pocraCardIn 420ms var(--ease) backwards; }
@keyframes pocraCardIn {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .pocra-card.anim-in { animation: none; } }

.pocra-card__link { display: block; position: relative; text-decoration: none !important; color: inherit; }
.pocra-card__plate {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-2);
  transform: translateZ(0);
  transition: box-shadow 240ms var(--ease);
}
.pocra-card__link:hover .pocra-card__plate { box-shadow: var(--shadow-4); }
.pocra-card__plate img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  transition: transform 700ms var(--ease);
}
.pocra-card:nth-child(5n+1) .pocra-card__plate img { aspect-ratio: 16 / 10; }
.pocra-card__link:hover .pocra-card__plate img { transform: scale(1.045); }
.pocra-card__placeholder { aspect-ratio: 4 / 5; background: linear-gradient(150deg, oklch(0.45 0.07 236), oklch(0.16 0.03 266) 60%); }
.pocra-card:nth-child(5n+1) .pocra-card__placeholder { aspect-ratio: 16 / 10; }
.pocra-card__count {
  position: absolute; top: 10px; right: 10px;
  display: inline-flex; align-items: center; gap: 5px;
  border-radius: var(--radius-pill); padding: 4px 10px;
  font-family: var(--font-mono); font-size: 11px; color: #fff;
}
.pocra-card__count::before { content: "▣"; font-size: 10px; }
/* glass caption overlaid on the photo — compact chip, bottom-right (like the cover chip) */
.pocra-card__caption {
  position: absolute; right: 12px; bottom: 12px;
  max-width: calc(100% - 24px);
  border-radius: var(--radius-md); padding: 12px 16px;
  background: var(--glass-dark-bg);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-dark-border);
  box-shadow: var(--shadow-3), inset 0 1px 0 0 var(--glass-dark-highlight);
}
.pocra-card__caption .kicker { color: var(--cyan-300); }
.pocra-card__caption .meta { color: var(--slate-300); margin-top: 5px; }
.pocra-card__title {
  font-weight: 800; font-size: 22px; letter-spacing: -0.022em;
  color: #fff; margin: 4px 0 0; line-height: 1.05;
}
.pocra-card:nth-child(5n+1) .pocra-card__title { font-size: clamp(24px, 2.4vw, 32px); }

/* ---------------- list view ---------------- */
.pocra-grid.is-list { display: flex; flex-direction: column; gap: 0; counter-reset: card; }
.pocra-grid.is-list .pocra-card { border-bottom: 1px solid var(--border-subtle); }
.pocra-grid.is-list .pocra-card__link {
  display: grid; grid-template-columns: 132px 1fr; gap: var(--space-5);
  align-items: center; padding: var(--space-4) 0;
}
.pocra-grid.is-list .pocra-card__plate { border-radius: var(--radius-md); }
.pocra-grid.is-list .pocra-card__plate img,
.pocra-grid.is-list .pocra-card__placeholder { aspect-ratio: 3 / 2 !important; }
.pocra-grid.is-list .pocra-card__caption {
  position: static; padding: 0; border: none; background: none; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0;
}
.pocra-grid.is-list .pocra-card__caption .kicker { color: var(--text-tertiary); }
.pocra-grid.is-list .pocra-card__caption .meta { color: var(--text-tertiary); margin-top: 0; }
.pocra-grid.is-list .pocra-card__title { color: var(--text-primary); font-size: 24px !important; margin: 4px 0 6px; }
.pocra-grid.is-list .pocra-card__count { display: none; }

/* ---------------- session page ---------------- */
.pocra-session {
  max-width: var(--container-max); margin: 0 auto;
  padding: 96px var(--gutter) 0;
}
.pocra-session__topnav {
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--space-4); flex-wrap: wrap;
}
.pocra-session__pn { display: flex; gap: var(--space-4); }
.pocra-session__pn a {
  font-family: var(--font-text); font-size: 0.875rem; font-weight: 600;
  white-space: nowrap;
  color: var(--text-secondary); background: var(--surface-muted);
  border: 1px solid var(--border-default); border-radius: var(--radius-sm);
  padding: 6px 14px; text-decoration: none !important;
}
.pocra-session__pn a:hover { color: var(--text-primary); }
.pocra-session__header {
  padding: var(--space-6) 0 var(--space-5);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-6);
}
.pocra-session__header h1 {
  font-weight: 900; font-size: clamp(36px, 5vw, 64px);
  line-height: 1; letter-spacing: -0.03em; max-width: 18ch;
  margin-top: 12px;
}
.pocra-session__meta { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-4); flex-wrap: wrap; }
.pocra-session__meta .meta { white-space: nowrap; }
.pocra-session__tags a { color: var(--text-link); }
.pocra-session__gear { color: var(--text-link); }

/* gear pictograms (camera / film) */
.pocra-gear { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.pocra-gear + .pocra-gear { margin-left: 12px; }
.pocra-gear svg { width: 13px; height: 13px; flex: none; opacity: 0.85; }
.pocra-cover__chip-camera { display: flex; flex-wrap: wrap; gap: 4px 0; }

/* frame stream: style core image & gallery blocks as the stacked frames */
.pocra-session__frames { padding-bottom: var(--space-8); counter-reset: frame; }
.pocra-session__frames .wp-block-image,
.pocra-session__frames .wp-block-gallery .wp-block-image,
.pocra-session__frames figure.gallery-item { margin: 0 0 var(--space-6); }
.pocra-session__frames .wp-block-gallery { display: block; }
.pocra-session__frames .wp-block-gallery .wp-block-image { width: 100% !important; }
.pocra-session__frames img {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
}
.pocra-session__frames figure { counter-increment: frame; position: relative; }
.pocra-session__frames figure::after {
  content: counter(frame, decimal-leading-zero);
  display: block; margin-top: 10px; text-align: right;
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-tertiary);
}
.pocra-session__frames figcaption {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-tertiary);
  margin-top: 10px;
}
.pocra-session__frames p { max-width: 66ch; color: var(--text-secondary); margin-bottom: var(--space-5); }

/* ---------------- static pages ---------------- */
.pocra-page .pocra-session__header { border-bottom: none; margin-bottom: var(--space-4); }
.pocra-prose { max-width: 66ch; padding-bottom: var(--space-8); }
.pocra-prose p { margin-bottom: var(--space-4); color: var(--text-secondary); }

/* Gutenberg wide / full alignments inside the frame stream */
.pocra-session__frames .alignwide { width: 100%; }
.pocra-session__frames .alignfull {
  width: 100vw; max-width: 100vw;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
}
.pocra-session__frames .alignfull img { border-radius: 0; }

/* ---------------- comments ---------------- */
.pocra-comments { max-width: 66ch; padding: var(--space-6) 0 var(--space-8); border-top: 1px solid var(--border-subtle); }
.pocra-comments__title { font-size: 22px; letter-spacing: -0.02em; margin-bottom: var(--space-5); }
.pocra-comments__list { list-style: none; padding: 0; margin: 0 0 var(--space-6); }
.pocra-comments__list .comment { padding: var(--space-4) 0; border-bottom: 1px solid var(--border-subtle); }
.pocra-comments__list .avatar { border-radius: var(--radius-pill); }
.pocra-comments__list .comment-meta,
.pocra-comments__list .comment-metadata a { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-tertiary); }
.pocra-comments__list .reply a { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-link); }
.comment-form label { display: block; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%; padding: 10px 14px; margin-bottom: var(--space-4);
  font-family: var(--font-text); font-size: 1rem; color: var(--text-primary);
  background: var(--surface); border: 1px solid var(--border-default);
  border-radius: var(--radius-md); box-shadow: var(--shadow-1);
}
.comment-form input:focus-visible, .comment-form textarea:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ring); }

/* ---------------- pagination ---------------- */
.pocra-pagination { padding: 0 var(--gutter) var(--space-8); }
.pocra-pagination .nav-links { display: flex; gap: 8px; }
.pocra-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  font-family: var(--font-mono); font-size: 0.875rem;
  border-radius: var(--radius-sm); border: 1px solid var(--border-default);
  color: var(--text-secondary); text-decoration: none !important;
}
.pocra-pagination .page-numbers.current { background: var(--accent); color: var(--on-accent); border-color: transparent; }

/* ---------------- footer ---------------- */
.pocra-footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-6) var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--space-4);
}
.pocra-wordmark--footer { font-size: 16px; color: var(--text-secondary) !important; }
.pocra-footer__links { display: flex; align-items: center; gap: var(--space-5); }
.pocra-footer__links li { list-style: none; display: inline-flex; }
.pocra-footer__links a { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-tertiary); }

/* ---------------- responsive ---------------- */
@media (max-width: 900px) {
  .pocra-bar__center { display: none; }
  .pocra-bar__burger { display: inline-flex; }
  .pocra-cover__content { flex-direction: column; align-items: flex-start; }
  .pocra-cover__chip { display: none; }
  .pocra-grid { grid-template-columns: 1fr 1fr; gap: var(--space-5) var(--space-4); }
  .pocra-card { grid-column: span 1; }
  .pocra-card:nth-child(5n+1) { grid-column: span 2; }
  .pocra-grid.is-list .pocra-card__link { grid-template-columns: 96px 1fr; }
}
@media (max-width: 560px) {
  .pocra-grid { grid-template-columns: 1fr; }
  .pocra-card, .pocra-card:nth-child(5n+1) { grid-column: span 1; }
}
