/*
Theme Name: ForgePatterns Clean
Theme URI: https://forgepatterns.com
Author: ForgePatterns
Description: Clean manageable WordPress theme for ForgePatterns / RipSaw ScrollForge. Normal pages, controlled brand palette, no JSON content layer.
Version: 0.7.0
Text Domain: forgepatterns-clean
Requires at least: 6.1
*/

:root {
  --fp-bg: #161210;
  --fp-charcoal: #1a1a1a;
  --fp-surface: #1f1b18;
  --fp-surface-2: #2a2420;
  --fp-orange: #e07a28;
  --fp-orange-bright: #f08c38;
  --fp-cream: #f0e8d8;
  --fp-muted: #9a8e82;
  --fp-muted-2: #6a5e54;
  --fp-rule: #3a3028;
  --fp-rule-soft: rgba(58, 48, 40, 0.72);
  --fp-max: 960px;
  --fp-wide: 1180px;
  --fp-gutter: clamp(20px, 4vw, 40px);
  --fp-nav-height: 148px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--fp-bg);
  color: var(--fp-cream);
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--fp-orange); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--fp-orange-bright); }
img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
  color: var(--fp-cream);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.12;
  margin: 0 0 0.55em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.1rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
p { margin: 0 0 1.15em; color: var(--fp-muted); }
li { color: var(--fp-muted); }

.has-forge-orange-color { color: var(--fp-orange) !important; }
.has-forge-cream-color { color: var(--fp-cream) !important; }
.has-muted-tan-color { color: var(--fp-muted) !important; }
.has-forge-bg-background-color { background-color: var(--fp-bg) !important; }
.has-dark-surface-background-color { background-color: var(--fp-surface) !important; }
.has-charcoal-background-color { background-color: var(--fp-charcoal) !important; }



/* ── LOGO + BRANDING ───────────────────────────── */
.nav-brand {
  color: var(--fp-cream);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}
.nav-brand:hover { color: var(--fp-cream); }
.nav-logo-img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  flex: 0 0 auto;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.site-nav .custom-logo-link { display: block; line-height: 0; flex: 0 0 auto; }
.site-nav .custom-logo {
  width: 130px;
  height: 130px;
  object-fit: contain;
  display: block;
}

/* Legacy selector kept so older markup still behaves. */
.nav-logo { color: var(--fp-cream); text-decoration: none; display: flex; flex-direction: column; line-height: 1.05; }

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo-img,
.site-footer .custom-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
}
.footer-tagline { color: var(--fp-muted-2); }
.footer-credit {
  flex-basis: 100%;
  text-align: center;
  color: var(--fp-muted-2);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-credit a { color: var(--fp-muted-2); text-decoration: none; }
.footer-credit a:hover { color: var(--fp-muted); }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--fp-nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--fp-gutter);
  background: rgba(22, 18, 16, 0.96);
  border-bottom: 1px solid var(--fp-rule-soft);
  backdrop-filter: blur(10px);
}
.nav-logo { color: var(--fp-cream); text-decoration: none; display: flex; flex-direction: column; line-height: 1.05; }
.nav-logo-main { font-family: "Playfair Display", Georgia, serif; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; }
.nav-logo-main em { color: var(--fp-orange); font-style: normal; }
.nav-logo-sub { color: var(--fp-muted-2); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.22em; margin-top: 6px; }
.nav-menu, .footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; }
.nav-menu a { color: var(--fp-muted); text-decoration: none; text-transform: uppercase; letter-spacing: 0.07em; font-size: 1.25rem; }
.footer-menu a { color: var(--fp-muted); text-decoration: none; text-transform: uppercase; letter-spacing: 0.07em; font-size: 0.85rem; }
.nav-menu a:hover, .footer-menu a:hover { color: var(--fp-cream); }
.nav-menu .menu-cta a { background: var(--fp-surface-2); color: var(--fp-orange) !important; border: 1px solid var(--fp-rule); padding: 9px 16px; border-radius: 8px; font-weight: 700; }

.site-main { min-height: calc(100vh - var(--fp-nav-height)); }
.fp-page-header, .fp-post-header {
  max-width: var(--fp-max);
  margin: 0 auto;
  padding: 34px var(--fp-gutter) 18px;
}
.fp-content {
  max-width: var(--fp-max);
  margin: 0 auto;
  padding: 24px var(--fp-gutter) 40px;
}
.fp-rule { max-width: calc(var(--fp-max) - (var(--fp-gutter) * 2)); height: 1px; background: var(--fp-rule-soft); margin: 0 auto; }

.fp-content > *:first-child { margin-top: 0; }
.fp-content .wp-block-group.alignwide { max-width: var(--fp-wide); }
.fp-content .alignwide { max-width: var(--fp-wide); margin-left: calc((var(--fp-max) - var(--fp-wide)) / 2); margin-right: calc((var(--fp-max) - var(--fp-wide)) / 2); }
.fp-content .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: none; width: 100vw; }

/* Unified button: dark background, orange text, slightly rounded — all buttons share this look */
.wp-block-button__link, .btn-primary,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: var(--fp-surface-2);
  color: var(--fp-orange) !important;
  border: 1px solid var(--fp-rule);
  border-radius: 8px;
  padding: 13px 24px;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.wp-block-button__link:hover, .btn-primary:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--fp-surface);
  border-color: var(--fp-orange);
  color: var(--fp-orange-bright) !important;
}
/* Help-page "Download PDF Guide" is an inline-styled link in page content;
   these overrides keep it matching the unified button look on the live site. */
.fp-home-section-inner a[href$=".pdf"] {
  background: var(--fp-surface-2) !important;
  color: var(--fp-orange) !important;
  border: 1px solid var(--fp-rule) !important;
  border-radius: 8px !important;
}
.fp-home-section-inner a[href$=".pdf"]:hover {
  background: var(--fp-surface) !important;
  border-color: var(--fp-orange) !important;
  color: var(--fp-orange-bright) !important;
}

.wp-block-quote {
  border-left: 3px solid var(--fp-orange);
  background: var(--fp-surface);
  padding: 22px 26px;
  color: var(--fp-muted);
}
.wp-block-quote p { font-family: "Playfair Display", Georgia, serif; color: var(--fp-cream); font-size: 1.5rem; line-height: 1.35; }
.wp-block-quote cite { color: var(--fp-muted); font-style: normal; }

.fp-section-label, .is-style-fp-section-label {
  display: inline-block;
  color: var(--fp-orange);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.is-style-fp-lead { color: var(--fp-muted); font-size: clamp(1.08rem, 1.5vw, 1.22rem); line-height: 1.75; }
.is-style-fp-card {
  background: var(--fp-surface);
  border: 1px solid var(--fp-rule);
  border-radius: 6px;
  padding: clamp(22px, 3vw, 34px);
}
.is-style-fp-orange-word mark, mark.has-inline-color { background: transparent; }

.wp-block-columns.fp-card-grid { gap: 2px; background: var(--fp-rule); border: 1px solid var(--fp-rule); border-radius: 6px; overflow: hidden; }
.wp-block-columns.fp-card-grid > .wp-block-column { background: var(--fp-surface); padding: 30px; }

.site-footer {
  border-top: 1px solid var(--fp-rule-soft);
  padding: 30px var(--fp-gutter) 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  color: var(--fp-muted-2);
  font-size: 0.85rem;
}
.footer-brand { font-family: "Playfair Display", Georgia, serif; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-brand span { color: var(--fp-orange); }

input, textarea, select {
  width: 100%;
  background: var(--fp-bg);
  border: 1px solid var(--fp-rule);
  color: var(--fp-cream);
  padding: 12px 14px;
  border-radius: 4px;
  font: inherit;
}
label { display: block; color: var(--fp-cream); font-weight: 600; margin-bottom: 6px; }

@media (max-width: 760px) {
  .site-nav { align-items: flex-start; flex-direction: column; }
  .nav-brand { min-width: 0; }
  .site-nav .custom-logo, .nav-logo-img { width: 64px; height: 64px; }
  .nav-menu { gap: 12px 18px; }
  .fp-content .alignwide { margin-left: 0; margin-right: 0; }
  .site-footer { flex-direction: column; text-align: center; }
}


/* ── HOMEPAGE PATTERNS ───────────────────────────── */
.fp-home-hero {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(18px, 2.4vw, 30px) var(--fp-gutter);
  position: relative;
  overflow: hidden;
}
.fp-home-hero::before,
.fp-philosophy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 12% 42%, rgba(224,122,40,0.08), transparent 64%);
  pointer-events: none;
}
.fp-home-hero > * { position: relative; z-index: 1; }
.fp-home-hero h1 { max-width: 780px; }
.fp-home-hero .is-style-fp-lead { max-width: 560px; }
.fp-hero-image-card {
  position: relative;
  background: var(--fp-surface);
  border: 1px solid var(--fp-rule);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,0.42);
}
.fp-hero-image-card .wp-block-image { margin: 0; }
.fp-hero-image-card img { width: 100%; display: block; opacity: 0.82; }
.fp-image-note {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fp-muted);
  background: rgba(22,18,16,0.86);
  border-top: 1px solid var(--fp-rule);
  padding: 12px 16px;
  margin: 0;
}
.fp-tagline-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 34px;
  padding: 20px var(--fp-gutter);
  background: var(--fp-surface);
  border-top: 1px solid var(--fp-rule-soft);
  border-bottom: 1px solid var(--fp-rule-soft);
}
.fp-tagline-bar p {
  margin: 0;
  color: var(--fp-muted-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fp-tagline-bar p::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--fp-orange);
  vertical-align: middle;
}
.fp-home-section {
  padding: clamp(28px, 3.6vw, 46px) var(--fp-gutter);
}
.fp-home-section-inner {
  max-width: var(--fp-max);
  margin-left: auto;
  margin-right: auto;
}
.fp-home-intro { text-align: center; }
.fp-home-intro .is-style-fp-lead { max-width: 760px; margin-left: auto; margin-right: auto; }
.fp-showcase {
  background: var(--fp-surface);
  border-top: 1px solid var(--fp-rule-soft);
  border-bottom: 1px solid var(--fp-rule-soft);
}
.fp-showcase-grid {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 54px);
  align-items: center;
  max-width: var(--fp-wide);
  margin: 0 auto;
}
/* IMAGE RULE — DO NOT CHANGE WITHOUT READING THIS:
   object-fit: cover crops the image. Removing max-height makes it full size and huge.
   The correct rule is: max-height on the img + object-fit: contain.
   The dark background hides any letterbox bars. This is intentional. */
.fp-showcase-image {
  border: 1px solid var(--fp-rule);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0,0,0,0.38);
  align-self: center;
}
.fp-showcase-image .wp-block-image { margin: 0; }
.fp-showcase-image img { width: 100%; max-height: 400px; object-fit: contain; object-position: center; display: block; }
.fp-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch !important;
  gap: 2px;
  background: var(--fp-rule);
  border: 1px solid var(--fp-rule);
  border-radius: 7px;
  overflow: hidden;
  margin-top: 34px;
}
.fp-feature-grid > * {
  align-self: stretch !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
.fp-feature-card {
  background: var(--fp-surface);
  padding: clamp(24px, 3vw, 34px);
  box-sizing: border-box;
  min-height: 290px;
}
.fp-feature-card h3 { font-size: 1.18rem; }
.fp-feature-card p { color: var(--fp-muted); font-size: 0.98rem; line-height: 1.65; }
.fp-two-crafts {
  background: var(--fp-surface);
  border-top: 1px solid var(--fp-rule-soft);
  border-bottom: 1px solid var(--fp-rule-soft);
}
.fp-two-crafts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--fp-wide);
  margin: 0 auto;
  border: 1px solid var(--fp-rule);
  border-radius: 7px;
  overflow: hidden;
}
.fp-craft-panel {
  background: var(--fp-surface);
  padding: clamp(30px, 4vw, 52px);
}
.fp-craft-panel + .fp-craft-panel { border-left: 1px solid var(--fp-rule); }
.fp-craft-panel ul { margin: 20px 0 0; padding-left: 1.2em; color: var(--fp-muted); }
.fp-craft-panel li { margin-bottom: 8px; }
.fp-philosophy {
  position: relative;
  text-align: center;
  padding: clamp(34px, 4.2vw, 54px) var(--fp-gutter);
  overflow: hidden;
}
.fp-philosophy > * { position: relative; z-index: 1; }
.fp-philosophy blockquote {
  border: 0;
  background: transparent;
  padding: 0;
  max-width: 760px;
  margin: 0 auto;
}
.fp-philosophy blockquote p {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.18;
}
.fp-beta-cta {
  background: var(--fp-surface);
  border-top: 1px solid var(--fp-rule-soft);
}
.fp-beta-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  max-width: var(--fp-wide);
  margin: 0 auto;
  padding: clamp(28px, 3.6vw, 46px) var(--fp-gutter);
}
.fp-steps-card {
  background: var(--fp-surface-2);
  border: 1px solid var(--fp-rule);
  border-radius: 7px;
  padding: clamp(22px, 3vw, 32px);
}
.fp-steps-card ol { margin: 0; padding-left: 1.4em; color: var(--fp-muted); }
.fp-steps-card li { margin-bottom: 14px; }
.fp-steps-card li:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .fp-home-hero,
  .fp-showcase-grid,
  .fp-two-crafts-grid,
  .fp-beta-cta-grid {
    grid-template-columns: 1fr;
  }
  .fp-feature-grid { grid-template-columns: 1fr; }
  .fp-craft-panel + .fp-craft-panel { border-left: 0; border-top: 1px solid var(--fp-rule); }
}


/* -------------------------------------------------------
   0.4.4 — Homepage hero image scale + left fade blend
   ------------------------------------------------------- */

.fp-hero {
  position: relative;
  overflow: hidden;
}

.fp-hero .wp-block-columns {
  position: relative;
  z-index: 1;
  align-items: center;
}

.fp-hero .fp-hero-media,
.fp-hero .fp-homepage-hero-image {
  position: relative;
  min-height: clamp(380px, 50vw, 620px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
}

.fp-hero .fp-hero-media::before,
.fp-hero .fp-homepage-hero-image::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -12%;
  bottom: -12%;
  left: -22%;
  width: 42%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--fp-bg) 0%,
    rgba(22, 18, 16, 0.92) 20%,
    rgba(22, 18, 16, 0.58) 54%,
    rgba(22, 18, 16, 0) 100%
  );
}

.fp-hero .fp-hero-media::after,
.fp-hero .fp-homepage-hero-image::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: -12% -8%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 72% 50%, rgba(0, 0, 0, 0) 0%, rgba(22, 18, 16, 0) 48%, var(--fp-bg) 100%),
    linear-gradient(180deg, rgba(22, 18, 16, 0.15) 0%, rgba(22, 18, 16, 0) 30%, rgba(22, 18, 16, 0.38) 100%);
}

.fp-hero .fp-hero-media figure,
.fp-hero .fp-hero-media .wp-block-image,
.fp-hero .fp-homepage-hero-image figure,
.fp-hero .fp-homepage-hero-image .wp-block-image {
  width: min(920px, 64vw);
  max-width: none;
  margin: 0;
  transform: translateX(7%);
  position: relative;
}

.fp-hero .fp-hero-media img,
.fp-hero .fp-homepage-hero-image img {
  width: 100%;
  height: auto;
  max-width: none;
  display: block;
  opacity: 0.78;
  border: 1px solid var(--fp-rule);
  border-radius: 6px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
}

.fp-hero .fp-hero-tag {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 4vw, 48px);
  bottom: clamp(18px, 4vw, 48px);
}

@media (min-width: 1000px) {
  .fp-hero .wp-block-column:first-child {
    flex-basis: 46% !important;
  }

  .fp-hero .wp-block-column:last-child {
    flex-basis: 54% !important;
  }
}

@media (max-width: 900px) {
  .fp-hero .fp-hero-media,
  .fp-hero .fp-homepage-hero-image {
    min-height: auto;
    overflow: hidden;
    margin-top: 28px;
  }

  .fp-hero .fp-hero-media::before,
  .fp-hero .fp-homepage-hero-image::before {
    display: none;
  }

  .fp-hero .fp-hero-media figure,
  .fp-hero .fp-hero-media .wp-block-image,
  .fp-hero .fp-homepage-hero-image figure,
  .fp-hero .fp-homepage-hero-image .wp-block-image {
    width: 100%;
    transform: none;
  }

  .fp-hero .fp-hero-media img,
  .fp-hero .fp-homepage-hero-image img {
    opacity: 0.82;
  }
}


/* -------------------------------------------------------
   Help / Documentation page styles
   ------------------------------------------------------- */

/* Note callouts */
.fp-help-note {
  background: var(--fp-surface);
  border-left: 3px solid var(--fp-orange);
  padding: 12px 18px;
  border-radius: 0 4px 4px 0;
  color: var(--fp-muted);
  font-style: italic;
  font-size: 0.95rem;
  margin-top: 4px !important;
  margin-bottom: 1.4em !important;
}

/* Table blocks */
.fp-home-section-inner .wp-block-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 0.96rem;
}
.fp-home-section-inner .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}
.fp-home-section-inner .wp-block-table td,
.fp-home-section-inner .wp-block-table th {
  padding: 10px 16px;
  border: 1px solid var(--fp-rule);
  vertical-align: top;
  text-align: left;
  line-height: 1.5;
  color: var(--fp-muted);
}
.fp-home-section-inner .wp-block-table thead td,
.fp-home-section-inner .wp-block-table th {
  background: var(--fp-rule);
  color: var(--fp-cream);
  font-weight: 700;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fp-home-section-inner .wp-block-table tbody tr:nth-child(even) td {
  background: rgba(58, 48, 40, 0.25);
}

/* Keyboard shortcut styling */
kbd {
  display: inline-block;
  background: var(--fp-rule);
  border: 1px solid var(--fp-muted-2);
  border-radius: 4px;
  padding: 1px 7px;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--fp-cream);
  white-space: nowrap;
}

/* Section anchors — offset for fixed nav */
.fp-help-anchor {
  display: block;
  position: relative;
  top: calc(-1 * var(--fp-nav-height, 148px));
  visibility: hidden;
}

/* Help page section navigation */
.fp-help-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.fp-help-nav a {
  display: inline-block;
  padding: 8px 18px;
  background: var(--fp-rule);
  border: 1px solid var(--fp-rule);
  border-radius: 4px;
  color: var(--fp-cream);
  text-decoration: none;
  font-size: 0.92rem;
  font-family: "Source Sans 3", system-ui, sans-serif;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.fp-help-nav a:hover {
  background: var(--fp-orange);
  border-color: var(--fp-orange);
  color: var(--fp-bg);
}

/* Four-workshop grid (How RipSaw Works) */
.fp-workshop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: var(--fp-rule);
  border: 1px solid var(--fp-rule);
  border-radius: 7px;
  overflow: hidden;
  margin-top: 28px;
}
.fp-workshop-grid > * {
  align-self: stretch !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
.fp-workshop-grid .fp-feature-card { min-height: 0; }
@media (max-width: 680px) {
  .fp-workshop-grid { grid-template-columns: 1fr; }
}

/* ── THE WORKSHOP — "At the Bench" Q&A (native moderated comments) ── */
.fp-qa-wrap{max-width:var(--fp-max);margin:0 auto;padding:6px var(--fp-gutter) 64px;}
.fp-qa-form{margin:8px 0 40px;background:var(--fp-surface);border:1px solid var(--fp-rule);border-radius:12px;padding:24px;}
.fp-qa-form-title{font-family:"Source Sans 3",system-ui,sans-serif;font-size:1.35rem;font-weight:700;color:var(--fp-cream);margin:0 0 6px;}
.fp-qa-note{color:var(--fp-muted-2);font-size:.84rem;margin:0 0 16px;}
.fp-qa-field textarea,.fp-qa-form input[type=text],.fp-qa-form input[type=email],.fp-qa-form input[type=url]{width:100%;background:var(--fp-bg);border:1px solid var(--fp-rule);border-radius:8px;color:var(--fp-cream);padding:12px 14px;font-family:inherit;font-size:.96rem;margin-bottom:12px;}
.fp-qa-field textarea{min-height:120px;resize:vertical;}
.fp-qa-form .form-submit{margin:4px 0 0;}
.fp-qa-form .submit{background:var(--fp-orange);color:var(--fp-bg);border:0;border-radius:8px;padding:11px 24px;font-weight:800;letter-spacing:.02em;cursor:pointer;font-size:.95rem;}
.fp-qa-form .submit:hover{background:var(--fp-orange-bright);}
.fp-qa-form .comment-form-cookies-consent,.fp-qa-form .comment-form-cookies-consent label,.fp-qa-form .comment-notes{font-size:.8rem;color:var(--fp-muted-2);}
.fp-qa-title{font-family:"Source Sans 3",system-ui,sans-serif;font-size:1.2rem;font-weight:700;color:var(--fp-cream);margin:18px 0 18px;}
.fp-qa-list{list-style:none;margin:0;padding:0;}
.fp-qa-list li.comment{margin:0 0 20px;}
.fp-qa-list .children{list-style:none;margin:14px 0 0 54px;padding:0;}
.fp-qa-list .comment-body{background:var(--fp-surface);border:1px solid var(--fp-rule);border-radius:10px;padding:16px 18px;}
.fp-qa-list .comment-author{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.fp-qa-list .comment-author .avatar{border-radius:50%;border:1px solid var(--fp-rule);}
.fp-qa-list .fn{font-style:normal;font-weight:700;color:var(--fp-cream);font-size:.95rem;}
.fp-qa-list .says{display:none;}
.fp-qa-list .comment-metadata,.fp-qa-list .comment-metadata a{font-size:.78rem;color:var(--fp-muted-2);text-decoration:none;}
.fp-qa-list .comment-content,.fp-qa-list .comment-content p{color:var(--fp-muted);margin:8px 0 0;font-size:.96rem;}
.fp-qa-list .reply{margin-top:8px;font-size:.82rem;}
.fp-qa-list .reply a{color:var(--fp-orange);font-weight:600;}
.fp-qa-list .comment-awaiting-moderation{color:var(--fp-muted-2);font-style:italic;font-size:.85rem;}
/* the post author's replies (you) get a MAKER badge + orange accent automatically */
.fp-qa-list .bypostauthor > .comment-body{border-left:3px solid var(--fp-orange);}
.fp-qa-list .bypostauthor > .comment-body .fn::after{content:"Maker";background:var(--fp-orange);color:var(--fp-bg);font-size:.6rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:2px 7px;border-radius:999px;margin-left:9px;vertical-align:middle;}
/* sticky/pinned posts, if The Workshop uses Posts for the journal */
article.sticky,.fp-content .sticky{position:relative;}
article.sticky::before{content:"\1F4CC Pinned";display:inline-block;background:var(--fp-orange);color:var(--fp-bg);font-size:.62rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;padding:3px 10px;border-radius:999px;margin-bottom:10px;}

/* ── THE WORKSHOP — page layout (native, editable blocks) ───── */
.fp-wk-band{position:relative;overflow:hidden;background:var(--fp-bg);}
.fp-wk-band::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 55% 60% at 82% 0%,rgba(224,122,40,.09),transparent 64%);pointer-events:none;}
.fp-wk{position:relative;z-index:1;max-width:1180px;margin:0 auto;padding:54px var(--fp-gutter) 40px;}
.fp-wk h1{font-family:"Playfair Display",Georgia,serif;font-weight:900;font-size:clamp(2.2rem,4.4vw,3.3rem);line-height:1.05;margin:0 0 14px;color:var(--fp-cream);}
.fp-wk > h2{font-family:"Source Sans 3",system-ui,sans-serif;font-size:1.35rem;font-weight:700;color:var(--fp-cream);margin:50px 0 18px;}
.fp-wk .fp-wk-hint{font-style:normal;color:var(--fp-muted-2);font-size:.85rem;font-weight:400;margin-left:8px;}
.fp-wk-pinned{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.fp-wk-pin{position:relative;background:linear-gradient(#241d18,#1b1611);border:1px solid var(--fp-rule);border-left:3px solid var(--fp-orange);border-radius:10px;padding:22px 24px;}
.fp-wk-pin::before{content:"\1F4CC\00A0 Pinned";position:absolute;top:14px;right:16px;background:var(--fp-orange);color:var(--fp-bg);font-size:.62rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:3px 9px;border-radius:999px;}
.fp-wk-pin .fp-wk-date{color:var(--fp-muted-2);font-size:.78rem;letter-spacing:.04em;margin:0 0 6px;}
.fp-wk-pin h3{font-family:"Playfair Display",serif;font-size:1.25rem;margin:0 0 8px;color:var(--fp-cream);}
.fp-wk-pin p{color:var(--fp-muted);margin:0;font-size:.96rem;}
.fp-wk-board{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;align-items:start;}
.fp-wk-col{background:var(--fp-surface);border:1px solid var(--fp-rule);border-radius:10px;padding:16px;}
.fp-wk-ch{display:flex !important;align-items:center;gap:9px;font-family:"Source Sans 3",system-ui,sans-serif !important;font-weight:700;font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;color:var(--fp-cream);margin:0 0 12px;}
.fp-wk-ch::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--fp-muted);flex:0 0 auto;}
.fp-wk-col.now .fp-wk-ch::before{background:var(--fp-orange);}
.fp-wk-col.done .fp-wk-ch::before{background:#5a8a5a;}
.fp-wk-col ul{list-style:none;margin:0;padding:0;}
.fp-wk-col li{background:var(--fp-surface-2);border:1px solid var(--fp-rule);border-radius:7px;padding:9px 12px;margin:0 0 8px;font-size:.9rem;color:var(--fp-cream);}
.fp-wk-col.done li{color:var(--fp-muted);}
.fp-wk-col.done li::before{content:"\2713\00A0";color:#5a8a5a;font-weight:800;}
.fp-wk-entry{display:flex;gap:20px;padding:22px 0;border-top:1px solid var(--fp-rule-soft);}
.fp-wk-entry .fp-wk-when{flex:0 0 84px;color:var(--fp-muted-2);font-size:.82rem;padding-top:2px;margin:0;}
.fp-wk-entry .fp-wk-ebody{flex:1;min-width:0;}
.fp-wk-entry h3{font-family:"Playfair Display",serif;font-size:1.3rem;margin:0 0 6px;color:var(--fp-cream);}
.fp-wk-entry p{color:var(--fp-muted);margin:0 0 10px;}
.fp-wk .wk-video{position:relative;display:block;width:300px;max-width:100%;aspect-ratio:16/9;border-radius:9px;overflow:hidden;border:1px solid var(--fp-rule);background:linear-gradient(135deg,#2a221c,#15110e);cursor:pointer;text-decoration:none;}
.fp-wk .wk-video .wk-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:52px;height:52px;border-radius:50%;background:rgba(224,122,40,.94);display:flex;align-items:center;justify-content:center;transition:transform .15s;}
.fp-wk .wk-video:hover .wk-play{transform:translate(-50%,-50%) scale(1.08);}
.fp-wk .wk-video .wk-play::before{content:"";border-left:16px solid #161210;border-top:10px solid transparent;border-bottom:10px solid transparent;margin-left:4px;}
.fp-wk .wk-video .wk-vcap{position:absolute;left:10px;bottom:9px;font-size:.78rem;color:#f0e8d8;background:rgba(22,18,16,.72);padding:3px 9px;border-radius:5px;}
.wk-lightbox{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:24px;}
.wk-lightbox.open{display:flex;}
.wk-lb-backdrop{position:absolute;inset:0;background:rgba(8,6,5,.9);}
.wk-lb-inner{position:relative;z-index:1;width:min(980px,92vw);}
.wk-lb-frame{position:relative;width:100%;aspect-ratio:16/9;background:#000;border:1px solid var(--fp-rule);border-radius:10px;overflow:hidden;display:flex;align-items:center;justify-content:center;}
.wk-lb-frame iframe{width:100%;height:100%;border:0;display:block;}
.wk-lb-placeholder{color:var(--fp-muted);text-align:center;padding:20px;line-height:1.5;}
.wk-lb-placeholder small{color:var(--fp-muted-2);}
.wk-lb-close{position:absolute;top:-44px;right:0;background:transparent;border:0;color:var(--fp-cream);font-size:2.2rem;line-height:1;cursor:pointer;}
@media(max-width:820px){.fp-wk-pinned,.fp-wk-board{grid-template-columns:1fr;}.fp-wk-entry{flex-direction:column;gap:6px;}}
/* WordPress injects block-gap top-margins on grid children — zero them so columns/cards top-align */
.fp-wk-pinned > *,.fp-wk-board > *{margin-block-start:0 !important;margin-top:0 !important;}
