/*
Theme Name: Schwimmflugel Forge
Theme URI: https://schwimmflugel.com/
Author: Schwimmflugel Designs
Description: Custom block theme for Schwimmflugel Designs - services, portfolio, blog/projects, and future store. Warm editorial dark engineering hub.
Version: 1.23.4
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: Proprietary
Text Domain: schwimmflugel-forge
*/

/* ═══ STYLE LAYOUT — Schwimmflugel Forge 1.4.1 ════════════════════
 *
 * Remaining systems, in source order:
 *
 *  1. Theme header (above) + Google Fonts import
 *  2. Reset, base, scrollbar, focus
 *  3. Skip-to-content, body, atmospheric background
 *  4. Header / nav / mega menu / mobile nav
 *  5. WordPress content compat + block color slugs
 *  6. Footer
 *  7. Responsive (980px, 620px, 480px) — baseline + mobile toggle fix
 *  8. .sfd-rich-page system — used by home page only
 *  9. :root forge tokens + .sfd-dynamic-page wrapper
 * 10. content-shell :has() workaround for default page.html
 * 11. Teal/Blue Accents override layer
 * 12. SFD validation teal pushes
 * 13. Local QA mobile fixes
 * 14. Staging build-out (.forge-page + page-* styles)
 * 15. About page animations + stat counters + skill badge
 *
 * Removed in 1.4.0 dedup pass:
 *  - System 3 inner classes (sfd-hero-dynamic, sfd-stat-card, sfd-depth-card,
 *    sfd-project-tile, sfd-step, sfd-kicker-card, sfd-btn-dynamic, sfd-stat-number,
 *    sfd-stat-grid, sfd-card-grid, sfd-proof-band, sfd-final-cta, sfd-portfolio-mosaic,
 *    sfd-tile-overlay, sfd-visual-panel, sfd-feature-split, sfd-diagonal, etc.)
 *  - System 5 (SFD validation visual corrections) — re-overrides of the above
 *  - Reason: no active page uses these class names. Their visual rules were
 *    duplicated or overridden before reaching the rendered output.
 *
 * ═══════════════════════════════════════════════════════════════════ */

/* ─── Custom scrollbar ─────────────────────────────────────── */::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #100f0d; }
::-webkit-scrollbar-thumb { background: rgba(224, 123, 57, .4); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(224, 123, 57, .7); }
/* ─── Text selection ───────────────────────────────────────── */::selection { background: rgba(224, 123, 57, .35); color: #f4eee6; }
/* ─── Focus visible ───────────────────────────────────────── */:focus-visible { outline: 2px solid #e07b39; outline-offset: 3px; border-radius: 3px; }
/* ─── Reset & Base ───────────────────────────────────────────── */* { box-sizing: border-box; cursor: default; }
a, button { cursor: pointer; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {  html { scroll-behavior: auto; }
  .mega, .mega-scrim { transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
/* ─── Skip to content ────────────────────────────────────────── */.skip-to-content {  position: absolute;  top: -999px;  left: 16px;  z-index: 9999;  padding: 10px 18px;  background: #e07b39;  color: #fff;  font-weight: 600;  border-radius: 0 0 8px 8px;  text-decoration: none;  transition: top .2s;}
.skip-to-content:focus { top: 0; }
body {  margin: 0;  background: #100f0d;  color: #f4eee6;  font-family: 'Source Sans 3', system-ui, sans-serif;  overflow-x: hidden;}
a { text-decoration: none; color: inherit; }
/* ─── Atmospheric background ────────────────────────────────── */body::before {  content: "";  position: fixed;  inset: 0;  z-index: -3;  background:    radial-gradient(circle at 80% 10%, rgba(224, 123, 57, .22), transparent 28%),    radial-gradient(circle at 10% 22%, rgba(60, 146, 176, .13), transparent 32%),    #100f0d;}
/* ─── Header / Navigation ──────────────────────────────────── */.site-header {  position: sticky;  top: 0;  z-index: 40;  background: rgba(16, 15, 13, .88);  border-bottom: 1px solid rgba(244, 238, 230, .12);  backdrop-filter: blur(18px);  -webkit-backdrop-filter: blur(18px);  transition: box-shadow .3s;}
.site-header.scrolled {  box-shadow: 0 4px 32px rgba(0, 0, 0, .45);}
.site-header .inner {  display: flex;  align-items: center;  justify-content: space-between;  height: 96px;  padding: 0 clamp(22px, 5vw, 76px);}
.site-header .brand {  display: flex;  align-items: center;  gap: 0;  line-height: 1;}
.brand-monogram {  display: none;  height: 36px;  width: auto;  flex-shrink: 0;}
.brand-name {  display: none;}
.brand-logo-wrap {  display: flex;  flex-direction: column;  align-items: center;}
.brand-logo {  height: 62px;  width: auto;  display: block;}
.brand-subline {  font-family: 'JetBrains Mono', monospace;  font-size: 10px;  text-transform: uppercase;  letter-spacing: .14em;  color: #b8afa4;  white-space: nowrap;}
.site-header nav {  display: flex;  align-items: stretch;  justify-content: flex-end;  gap: 28px;  font-family: 'IBM Plex Sans', system-ui, sans-serif;  font-size: 16px;  font-weight: 700;}
.site-header nav a,.site-header nav .pill,.site-header nav .cta {  display: inline-flex;  align-items: center;  opacity: .76;  transition: opacity .2s, color .2s;  vertical-align: middle;}
.site-header nav .pill,.site-header nav .cta {  opacity: 1;}
.site-header nav a:hover {  opacity: 1;  color: #ffad72;}
.site-header nav a.active {  opacity: 1;  color: #e07b39;  border-bottom: 1px solid currentColor;  padding-bottom: 2px;}
.site-header nav .cta {  display: inline-flex;  align-items: center;  gap: 8px;  padding: 12px 24px;  border-radius: 999px;  background: #e07b39;  color: #fff;  font-size: 16px;  font-weight: 700;  opacity: 1;  transition: background .2s, transform .1s;}
.site-header nav .cta:hover {  background: #c96a2d;  color: #fff;  transform: translateY(-1px);}
/* ─── Pill (Explore) ─────────────────────────────────────────── */.pill {  display: inline-flex;  align-items: center;  gap: 8px;  padding: 12px 20px;  border-radius: 999px;  border: 1px solid rgba(244, 238, 230, .14);  background: rgba(244, 238, 230, .045);  font-size: 15px;  font-weight: 700;  cursor: pointer;  transition: background .2s, border-color .2s;}
.pill:hover {  background: rgba(244, 238, 230, .1);  border-color: rgba(244, 238, 230, .25);  transform: translateY(-1px);  color: #ffad72;}
/* ─── Mega menu (Explore dropdown) ───────────────────────────── */.mega-scrim {  display: none;  position: fixed;  inset: 96px 0 0;  background: rgba(8, 7, 6, .58);  z-index: 30;  opacity: 0;  transition: opacity .25s ease;}
.mega {  display: block;  position: fixed;  top: 104px;  left: clamp(18px, 5vw, 76px);  right: clamp(18px, 5vw, 76px);  z-index: 35;  border-radius: 30px;  background: #15130f;  border: 1px solid rgba(244, 238, 230, .14);  box-shadow: 0 38px 120px rgba(0, 0, 0, .55);  padding: 24px;  opacity: 0;  transform: translateY(-10px);  pointer-events: none;  transition: opacity .25s ease, transform .25s ease;}
.mega.is-open {  opacity: 1;  transform: translateY(0);  pointer-events: auto;}
.mega-scrim.is-open {  opacity: 1;  pointer-events: auto;}
.mega-head {  display: flex;  justify-content: space-between;  align-items: flex-start;  gap: 20px;  margin-bottom: 18px;}
.mega-label {  margin: 0;  font-family: 'JetBrains Mono', monospace;  font-size: 11px;  text-transform: uppercase;  letter-spacing: .14em;  color: #b8afa4;}
.mega-grid {  display: grid;  grid-template-columns: repeat(4, 1fr);  gap: 14px;}
.mega-card {  background: #1d1a15;  border: 1px solid rgba(244, 238, 230, .1);  border-radius: 22px;  padding: 22px;  min-height: 160px;  display: flex;  flex-direction: column;  gap: 10px;  transition: background .2s, border-color .2s;}
.mega-card:hover {  background: #242019;  border-color: rgba(244, 238, 230, .2);}
.mega-card small {  font-family: 'JetBrains Mono', monospace;  font-size: 10px;  letter-spacing: .12em;  text-transform: uppercase;  color: #e6a06d;}
.mega-card p {  margin: 0;  font-size: 15px;  color: #b8afa4;  line-height: 1.55;}
/* ─── Mobile menu toggle ──────────────────────────────────────── */.mobile-toggle { display: none; }
/* ─── Main content area ────────────────────────────────────── */.site-main {  min-height: 60vh;}
/* ─── WordPress content compatibility ──────────────────────── */.wp-site-blocks {  min-height: 100vh;  background: #100f0d;  color: #f4eee6;}
.wp-block-post-title,.wp-block-query-title {  font-family: 'IBM Plex Sans', system-ui, sans-serif;  letter-spacing: -.04em;}
.content-shell {  max-width: 980px;  margin: 0 auto;  padding: 72px clamp(22px, 5vw, 76px);}
.content-shell :where(p, li) {  font-size: 18px;  line-height: 1.7;  color: #c7bfb4;}
.content-shell :where(h1, h2, h3) {  margin-top: 1.2em;  margin-bottom: .45em;}
.content-shell a {  color: #ffad72;  text-decoration: underline;  text-decoration-thickness: 1px;  text-underline-offset: 3px;}
.post-list {  display: grid;  gap: 20px;  max-width: 1120px;  margin: 0 auto;  padding: 72px clamp(22px, 5vw, 76px);}
.post-list article {  background: #191713;  border: 1px solid rgba(244, 238, 230, .11);  border-radius: 24px;  padding: 28px;}
.screen-reader-text {  position: absolute;  left: -9999px;}
/* ─── Footer ───────────────────────────────────────────────── */.site-footer {  border-top: 1px solid rgba(244, 238, 230, .1);  padding: 32px clamp(22px, 5vw, 76px);}
.site-footer .inner {  display: flex;  flex-direction: column;  align-items: center;  gap: 14px;}
.footer-row {  display: grid;  grid-template-columns: 1fr auto 1fr;  align-items: center;  width: 100%;}
.footer-left { justify-self: start; display: flex; flex-direction: column; gap: 4px; }
.footer-center { justify-self: center; }
.footer-right { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.footer-version { font-size: 13px; opacity: .75; }
.footer-meta { font-size: 13px; }
.footer-social {  display: flex;  align-items: center;  gap: 16px;}
.footer-social a {  color: #b8afa4;  transition: color .2s;  display: flex;  align-items: center;}
.footer-social a:hover {  color: #f4eee6;}
.site-footer p {  margin: 0;  font-size: 15px;  color: #b8afa4;  white-space: nowrap;}
.site-footer a {  font-size: 15px;  color: #b8afa4;  transition: color .2s;}
.site-footer a:hover {  color: #f4eee6;}
/* ─── Responsive ───────────────────────────────────────────── */@media (max-width: 980px) {  .site-header nav a:not(.cta):not(.pill) {    display: none;  }
  .mega-grid {    grid-template-columns: 1fr 1fr;  }
  .brand-logo {    height: 50px;  }
}
@media (max-width: 620px) {  .site-header .inner {    height: 76px;    padding: 0 18px;  }
  .brand-logo-wrap {    display: flex;  }
  .brand-logo {    height: 40px;  }
  .brand-subline {    font-size: 0.65rem;  }
  .brand-monogram {    display: none;  }
  .site-header nav {    gap: 10px;  }
  .site-header nav .cta {    display: none;  }
  .mega {    top: 76px;    left: 14px;    right: 14px;    padding: 16px;    padding-bottom: 24px; /* extra bottom padding so last card isn't flush with screen edge */    max-height: calc(100vh - 76px - 24px);    overflow-y: auto;    overscroll-behavior: contain;    -webkit-overflow-scrolling: touch;  }
  .mega-head .cta {    display: inline-flex;    align-items: center;    gap: 8px;    padding: 9px 16px;    border-radius: 999px;    background: #e07b39;    color: #fff;    font-size: 13px;    font-weight: 700;    opacity: 1;  }
  .mega-scrim {    inset: 76px 0 0;  }
  .mega-head {    display: flex;    justify-content: space-between;    align-items: flex-start;    margin-bottom: 14px;  }
  .mega-label {    font-size: 11px;    margin: 0;  }
  .mega-grid {    grid-template-columns: 1fr;    gap: 12px;  }
  .mega-card {    padding: 16px 18px;    min-height: unset;    border-radius: 18px;  }
  .mega-card small {    font-size: 11px;  }
  .mega-card p {    font-size: 15px;    line-height: 1.5;  }
}
@media (max-width: 480px) {  .site-header .inner {    height: 70px;    padding: 0 16px;  }
  .site-header .brand {    min-width: 0;    overflow: hidden;  }
  .site-header .brand-logo-wrap {    display: flex;    flex-direction: column;    align-items: flex-start;    min-width: 0;    max-width: calc(100vw - 120px); /* leave room for Explore pill + gap */  }
  .site-header .brand-logo {    display: block;    height: 34px;    width: auto;    max-width: 100%;  }
  .brand-subline {    display: none;  }
  .site-header nav .pill {    padding: 9px 14px;    font-size: 14px;    flex-shrink: 0;  }
.site-footer {    padding: 32px 22px;  }
  .site-footer .inner {    gap: 12px;  }
  .footer-row {    display: flex;    flex-direction: column;    align-items: center;    gap: 10px;    justify-content: center;  }
  .footer-left,  .footer-center,  .footer-right {    justify-self: unset;  }
  .footer-social {    display: flex;    flex-direction: row;    align-items: center;    gap: 20px;  }
  .site-footer p {    font-size: 14px;    text-align: center;  }
  .site-footer .inner > .footer-row > a {    font-size: 14px;  }
}
/* ─── Block Color Palette (WordPress color slugs) ────────────── */.has-carbon-background-color { background-color: #1a1917; }
.has-graphite-background-color { background-color: #1d1b18; }
.has-panel-background-color { background-color: #242119; }
.has-ink-background-color { background-color: #100f0d; }
.has-orange-background-color { background-color: #e07b39; }
.has-carbon-color { color: #1a1917; }
.has-graphite-color { color: #1d1b18; }
.has-panel-color { color: #242119; }
.has-ink-color { color: #100f0d; }
.has-orange-color { color: #e07b39; }
.has-cream-color { color: #f4eee6; }
.has-silver-color { color: #b8afa4; }
.has-muted-color { color: #8a8478; }
.has-platinum-color { color: #d4cfc8; }
.has-white-color { color: #ffffff; }
/* ─── Block Button Styles ────────────────────────────────────── */.wp-block-button.is-style-sf-primary .wp-block-button__link {  background-color: #e07b39;  color: #ffffff;  border-radius: 999px;  padding: 12px 24px;  font-weight: 700;  font-size: 0.95rem;  font-family: 'IBM Plex Sans', system-ui, sans-serif;}
.wp-block-button.is-style-sf-outline .wp-block-button__link {  background-color: transparent;  color: #f4eee6;  border-radius: 999px;  padding: 12px 24px;  font-weight: 600;  font-size: 0.95rem;  font-family: 'IBM Plex Sans', system-ui, sans-serif;  border: 1px solid rgba(244,238,230,0.2);}
.wp-block-button.is-style-sf-outline .wp-block-button__link:hover {  border-color: rgba(244,238,230,0.4);  background-color: rgba(244,238,230,0.05);}
/* ─── Full-bleed wrapper ──────────────────────────────────────── */.sfdv {  width: 100vw;  margin-left: calc(50% - 50vw);  margin-right: calc(50% - 50vw);  overflow-x: hidden;}
/* ─── Hero Section ───────────────────────────────────────────── */.hero-section {  background-color: #100f0d;}
.hero-image img {  border-radius: 18px;  box-shadow: 0 20px 60px rgba(0,0,0,0.5);}
/* ─── Route Cards ─────────────────────────────────────────────── */.route-card-inner {  border: 1px solid rgba(244,238,230,0.08);  height: 100%;  transition: border-color 0.2s, background-color 0.2s;}
.route-card-inner:hover {  border-color: rgba(244,238,230,0.18);  background-color: #242119;}
.route-card .wp-block-buttons {  margin-top: auto;}
/* ─── Capability Cards ───────────────────────────────────────── */.cap-card {  border: 1px solid rgba(244,238,230,0.06);  height: 100%;  transition: border-color 0.2s, transform 0.2s;}
.cap-card:hover {  border-color: rgba(224,123,57,0.3);  transform: translateY(-2px);}
.engagement-list {  list-style: none;  padding: 0;  margin: 0;}
.engagement-list li {  padding-left: 1.25rem;  position: relative;  margin-bottom: 0.25rem;}
.engagement-list li::before {  content: '→';  position: absolute;  left: 0;  color: #e07b39;  font-size: 0.85rem;}
/* ─── Project Cards ──────────────────────────────────────────── */.project-card {  border: 1px solid rgba(244,238,230,0.06);  overflow: hidden;  transition: transform 0.2s, border-color 0.2s;}
.project-card:hover {  transform: translateY(-3px);  border-color: rgba(244,238,230,0.15);}
/* ─── LED Feature ────────────────────────────────────────────── */.led-feature {  border: 1px solid rgba(244,238,230,0.08);}
/* ─── Process Steps ─────────────────────────────────────────── */.process-step {  border: 1px solid rgba(244,238,230,0.1) !important;  transition: border-color 0.2s, transform 0.2s;}
.process-step:hover {  border-color: rgba(224,123,57,0.35) !important;  transform: translateY(-2px);}
/* ─── Page canvas ────────────────────────────────────────────── */.page-canvas {  background-color: #100f0d;}
/* ─── Block Typography base ──────────────────────────────────── */.wp-block-heading {  font-family: 'IBM Plex Sans', system-ui, sans-serif;  font-weight: 700;  line-height: 1.2;}
.wp-block-paragraph {  font-family: 'IBM Plex Sans', system-ui, sans-serif;  line-height: 1.7;}
.has-text-align-center {  text-align: center;}
.alignwide {  max-width: 1200px;  margin-left: auto;  margin-right: auto;}
/* ─── Label tag ──────────────────────────────────────────────── */.label-tag {  margin-bottom: 1.25rem;}
/* ─── Image size constraints ────────────────────────────────── *//* Hero image — contained within its 45% column, capped height */.hero-image img {  width: 100%;  height: auto;  max-height: 480px;  object-fit: cover;}
/* Project card images — fixed max-height so cards are uniform */.project-card img {  width: 100%;  height: 200px;  object-fit: cover;  display: block;}
/* HELLO LED feature image — contained within its 40% column */.led-feature .wp-block-image img {  width: 100%;  height: auto;  max-height: 380px;  object-fit: cover;}
/* General wp-block-image guard — prevent any inline oversized img */.wp-block-image img {  max-width: 100%;  height: auto;}
/* ─── Rich Variant B restoration (local wp-env review) ───────── */:root {  --sfd-ink:#0a0a0a; --sfd-carbon:#1a1a1a; --sfd-graphite:#2a2a2a;  --sfd-steel:#3a3a3a; --sfd-iron:#5a5a5a; --sfd-silver:#9a9a9a;  --sfd-chrome:#cacaca; --sfd-platinum:#e8e8e8; --sfd-white:#f5f5f5;  --sfd-orange:#ff6b35; --sfd-cyan:#00d4ff;  --sfd-space-1:0.5rem; --sfd-space-2:1rem; --sfd-space-3:1.5rem; --sfd-space-4:2rem;  --sfd-space-6:3rem; --sfd-space-8:4rem; --sfd-space-12:6rem; --sfd-space-16:8rem;  --sfd-max-w:1200px; --sfd-mono:'JetBrains Mono',monospace; --sfd-display:'Inter','IBM Plex Sans',system-ui,sans-serif;}
.sfd-rich-page, .sfd-rich-page * { box-sizing:border-box; }
.sfd-rich-page {  background:    radial-gradient(circle at 82% 7%, rgba(255,107,53,0.18), transparent 30rem),    radial-gradient(circle at 12% 38%, rgba(255,107,53,0.10), transparent 26rem),    radial-gradient(circle at 78% 70%, rgba(255,107,53,0.08), transparent 28rem),    var(--sfd-ink);  color:var(--sfd-platinum); font-family:var(--sfd-display); overflow:hidden;}
.sfd-rich-page a { color:var(--sfd-cyan); text-decoration:none; }
.sfd-rich-page a:hover { color:var(--sfd-orange); }
.sfd-rich-page img { max-width:100%; height:auto; display:block; }
.sfd-hero { position:relative; min-height:85vh; height:720px; overflow:hidden; margin-top:0; }
.sfd-hero-bg { position:absolute; inset:0; background-image:url('assets/processed-images/sfd-hero-hello-led.jpg'); background-size:cover; background-position:center center; transform:scale(1.02); }
.sfd-hero-overlay { position:absolute; inset:0; background:linear-gradient(135deg,rgba(10,10,10,0.92) 0%,rgba(10,10,10,0.66) 48%,rgba(10,10,10,0.36) 100%); }
.sfd-hero::after { content:''; position:absolute; inset:auto 0 0 0; height:180px; background:linear-gradient(transparent,var(--sfd-ink)); z-index:1; pointer-events:none; }
.sfd-hero-content { position:relative; z-index:2; max-width:var(--sfd-max-w); margin:0 auto; padding:var(--sfd-space-16) var(--sfd-space-3) var(--sfd-space-12); height:100%; display:flex; flex-direction:column; justify-content:flex-end; }
.sfd-eyebrow, .sfd-hero-eyebrow { font-family:var(--sfd-mono); font-size:0.72rem; letter-spacing:0.14em; text-transform:uppercase; color:var(--sfd-cyan); margin:0 0 var(--sfd-space-2); }
.sfd-hero h1 { font-size:clamp(2.6rem,5.8vw,5.4rem); font-weight:900; line-height:1.0; letter-spacing:-0.04em; color:var(--sfd-white); max-width:14ch; margin:0 0 var(--sfd-space-3); }
.sfd-hero h1 span { color:var(--sfd-orange); text-shadow:0 0 28px rgba(255,107,53,0.25); }
.sfd-hero-bottom { display:flex; align-items:flex-end; justify-content:space-between; gap:var(--sfd-space-4); flex-wrap:wrap; }
.sfd-hero-sub { font-size:1.05rem; color:var(--sfd-silver); line-height:1.65; max-width:52ch; margin:0 0 var(--sfd-space-4); }
.sfd-actions { display:flex; gap:var(--sfd-space-2); flex-wrap:wrap; align-items:center; }
.sfd-btn {  font-family:var(--sfd-mono); font-size:0.78rem; font-weight:800; letter-spacing:0.08em;  text-transform:uppercase; padding:0.9rem 1.55rem; border:1px solid transparent;  border-radius:999px; cursor:pointer; transition:transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;  display:inline-flex; align-items:center; justify-content:center; gap:0.45rem; line-height:1; min-height:46px;  box-shadow:0 10px 28px rgba(0,0,0,0.28); white-space:nowrap;}
.sfd-btn:hover { transform:translateY(-2px); }
.sfd-btn-primary { background:var(--sfd-orange); color:var(--sfd-ink)!important; border-color:rgba(255,107,53,0.9); }
.sfd-btn-primary:hover { background:var(--sfd-cyan); border-color:var(--sfd-cyan); color:var(--sfd-ink)!important; box-shadow:0 0 28px rgba(0,212,255,0.35), 0 18px 42px rgba(0,0,0,0.34); }
.sfd-btn-outline { background:rgba(10,10,10,0.34); color:var(--sfd-chrome)!important; border-color:rgba(202,202,202,0.34); backdrop-filter:blur(6px); box-shadow:inset 0 0 0 1px rgba(255,255,255,0.04), 0 10px 28px rgba(0,0,0,0.22); }
.sfd-btn-outline:hover { background:rgba(58,58,58,0.82); border-color:var(--sfd-cyan); color:var(--sfd-white)!important; box-shadow:0 0 22px rgba(0,212,255,0.16), 0 18px 42px rgba(0,0,0,0.34); }
.sfd-btn-secondary { background:var(--sfd-cyan); color:var(--sfd-ink)!important; border-color:var(--sfd-cyan); }
.sfd-btn-secondary:hover { background:var(--sfd-orange); border-color:var(--sfd-orange); color:var(--sfd-ink)!important; box-shadow:0 0 28px rgba(255,107,53,0.26), 0 18px 42px rgba(0,0,0,0.34); }
.sfd-scroll-hint { font-family:var(--sfd-mono); font-size:0.65rem; color:var(--sfd-iron); letter-spacing:0.1em; text-transform:uppercase; display:flex; align-items:center; gap:0.5rem; }
.sfd-scroll-line { width:40px; height:1px; background:var(--sfd-iron); }
.sfd-capabilities { padding:var(--sfd-space-12) var(--sfd-space-3); max-width:var(--sfd-max-w); margin:0 auto; }
.sfd-cap-header { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:var(--sfd-space-6); flex-wrap:wrap; gap:var(--sfd-space-3); }
.sfd-cap-header h2, .sfd-section-title { font-size:clamp(1.6rem,2.7vw,2.6rem); font-weight:900; letter-spacing:-0.02em; color:var(--sfd-white); margin:0; }
.sfd-cap-header p { color:var(--sfd-silver); max-width:44ch; font-size:0.95rem; line-height:1.5; margin:0.6rem 0 0; }
.sfd-cap-header a, .sfd-about-content a { font-family:var(--sfd-mono); font-size:0.75rem; letter-spacing:0.06em; text-transform:uppercase; color:var(--sfd-cyan); }
.sfd-cap-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--sfd-space-3); }
.sfd-cap-card { background:linear-gradient(180deg,rgba(42,42,42,0.9),rgba(26,26,26,0.96)); border:1px solid var(--sfd-steel); padding:var(--sfd-space-4); transition:all 0.25s; position:relative; overflow:hidden; min-height:210px; }
.sfd-cap-card::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background:var(--sfd-orange); transform:scaleX(0); transform-origin:left; transition:transform 0.3s; }
.sfd-cap-card::after { content:''; position:absolute; width:120px; height:120px; right:-60px; bottom:-60px; border-radius:50%; background:radial-gradient(circle,rgba(0,212,255,0.12),transparent 65%); opacity:0; transition:opacity 0.25s; }
.sfd-cap-card:hover { border-color:var(--sfd-orange); transform:translateY(-4px); box-shadow:0 18px 42px rgba(0,0,0,0.35); }
.sfd-cap-card:hover::before { transform:scaleX(1); }
.sfd-cap-card:hover::after { opacity:1; }
.sfd-cap-icon { font-size:1.9rem; margin-bottom:var(--sfd-space-2); }
.sfd-cap-card h3 { font-size:1rem; font-weight:800; color:var(--sfd-white); margin:0 0 var(--sfd-space-1); }
.sfd-cap-card p { font-size:0.86rem; color:var(--sfd-silver); line-height:1.55; margin:0; }
.sfd-marquee-strip { background:var(--sfd-graphite); border-top:1px solid var(--sfd-steel); border-bottom:1px solid var(--sfd-steel); padding:var(--sfd-space-3) 0; overflow:hidden; width:100vw; margin-left:calc(50% - 50vw); box-shadow:0 0 35px rgba(255,107,53,0.05) inset; }
.sfd-marquee-track { display:flex!important; gap:var(--sfd-space-6); width:max-content; white-space:nowrap; animation:sfdMarquee 30s linear infinite!important; will-change:transform; }
.sfd-marquee-item { font-family:var(--sfd-mono); font-size:1.08rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--sfd-iron); flex-shrink:0; }
.sfd-marquee-item span { color:var(--sfd-orange); margin-left:var(--sfd-space-6); }
@keyframes sfdMarquee { 0%{transform:translateX(0)}
 100%{transform:translateX(-50%)}
 }
.sfd-featured {  padding:var(--sfd-space-12) 0;  background:    radial-gradient(circle at 15% 18%, rgba(255,107,53,0.08), transparent 28rem),    var(--sfd-carbon);  width:100vw; margin-left:calc(50% - 50vw);}
.sfd-featured-inner { max-width:var(--sfd-max-w); margin:0 auto; padding:0 var(--sfd-space-3); }
.sfd-section-header { margin-bottom:var(--sfd-space-8); }
.sfd-featured-grid { display:grid; grid-template-columns:2fr 1fr; grid-template-rows:260px 260px; gap:var(--sfd-space-3); }
.sfd-featured-item { position:relative; overflow:hidden; border:1px solid var(--sfd-steel); transition:border-color 0.25s, transform 0.25s; background:var(--sfd-ink); min-height:240px; }
.sfd-featured-item:first-child { grid-row:1/3; }
.sfd-featured-item:hover { border-color:var(--sfd-cyan); transform:translateY(-2px); }
.sfd-featured-item img { width:100%; height:100%; object-fit:cover; transition:transform 0.45s, filter 0.45s; filter:saturate(0.88) contrast(1.05); }
.sfd-featured-item:hover img { transform:scale(1.05); filter:saturate(1.05) contrast(1.1); }
.sfd-featured-overlay { position:absolute; bottom:0; left:0; right:0; padding:var(--sfd-space-3); background:linear-gradient(transparent,rgba(10,10,10,0.94)); z-index:2; }
.sfd-featured-overlay h4 { font-size:1rem; font-weight:800; color:var(--sfd-white); margin:0.2rem 0 0; }
.sfd-featured-overlay .sfd-cat { font-family:var(--sfd-mono); font-size:0.65rem; color:var(--sfd-orange); letter-spacing:0.08em; text-transform:uppercase; margin:0; }
.sfd-featured-cta { text-align:center; margin-top:var(--sfd-space-6); }
.sfd-led { padding:var(--sfd-space-6) var(--sfd-space-3); max-width:var(--sfd-max-w); margin:0 auto; }
.sfd-led-card { position:relative; overflow:hidden; min-height:250px; border:1px solid var(--sfd-steel); background:linear-gradient(135deg,rgba(42,42,42,0.86),rgba(10,10,10,0.96)); display:grid; grid-template-columns:1.05fr 0.95fr; gap:var(--sfd-space-4); align-items:center; padding:var(--sfd-space-4); box-shadow:0 22px 56px rgba(0,0,0,0.26); }
.sfd-led-card::before { content:''; position:absolute; inset:0; background:radial-gradient(circle at 82% 30%,rgba(0,212,255,0.18),transparent 28%),radial-gradient(circle at 18% 70%,rgba(255,107,53,0.15),transparent 32%); pointer-events:none; }
.sfd-led-content, .sfd-led-visual { position:relative; z-index:1; }
.sfd-led-content h2 { font-size:clamp(1.6rem,2.7vw,2.5rem); font-weight:900; color:var(--sfd-white); letter-spacing:-0.02em; margin:0 0 var(--sfd-space-2); }
.sfd-led-content p { color:var(--sfd-silver); line-height:1.65; margin:0; max-width:54ch; }
.sfd-led-visual { min-height:150px; border:1px solid rgba(202,202,202,0.18); background:repeating-linear-gradient(90deg,rgba(0,212,255,0.13) 0 2px,transparent 2px 18px),linear-gradient(135deg,rgba(255,107,53,0.16),rgba(0,212,255,0.08)); display:flex; align-items:center; justify-content:center; font-family:var(--sfd-mono); font-size:0.72rem; letter-spacing:0.16em; text-transform:uppercase; color:var(--sfd-chrome); overflow:hidden; }
.sfd-led-visual img, .sfd-led-visual .sfd-led-image img, .sfd-led-visual .wp-block-post-featured-image img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter:saturate(0.9) contrast(1.05) brightness(0.72); }
.sfd-led-visual .sfd-led-image, .sfd-led-visual .wp-block-post-featured-image { position:absolute; inset:0; margin:0; }
.sfd-led-visual::after { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(10,10,10,0.18),rgba(10,10,10,0.62)); }
.sfd-led-visual span { position:relative; z-index:2; border:1px solid rgba(202,202,202,0.24); background:rgba(10,10,10,0.54); padding:0.85rem 1.1rem; }
.sfd-about { padding:var(--sfd-space-12) var(--sfd-space-3); max-width:var(--sfd-max-w); margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:var(--sfd-space-8); align-items:center; }
.sfd-about img { border:1px solid var(--sfd-steel); width:100%; height:340px; object-fit:cover; box-shadow:0 24px 60px rgba(0,0,0,0.35); }
.sfd-about-content h2 { font-size:clamp(1.6rem,2.7vw,2.4rem); font-weight:900; letter-spacing:-0.02em; color:var(--sfd-white); margin:0 0 var(--sfd-space-3); }
.sfd-about-content p { color:var(--sfd-silver); line-height:1.7; margin:0 0 var(--sfd-space-2); font-size:0.96rem; }
.sfd-cta { background:var(--sfd-graphite); border-top:1px solid var(--sfd-steel); padding:var(--sfd-space-12) var(--sfd-space-3); width:100vw; margin-left:calc(50% - 50vw); position:relative; overflow:hidden; }
.sfd-cta::before { content:''; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:560px; height:560px; background:radial-gradient(circle,rgba(255,107,53,0.12),transparent 68%); border-radius:50%; filter:blur(35px); pointer-events:none; }
.sfd-cta-inner { max-width:800px; margin:0 auto; text-align:center; position:relative; z-index:1; }
.sfd-cta-inner h2 { font-size:clamp(1.9rem,3.7vw,3.2rem); font-weight:900; color:var(--sfd-white); margin:0 0 var(--sfd-space-2); }
.sfd-cta-inner p { color:var(--sfd-silver); max-width:52ch; margin:0 auto var(--sfd-space-4); line-height:1.65; }
@media(max-width:900px){ .sfd-hero{height:auto;min-height:620px}
.sfd-hero-bottom{flex-direction:column;align-items:flex-start}
.sfd-cap-grid{grid-template-columns:1fr}
.sfd-featured-grid{grid-template-columns:1fr;grid-template-rows:auto}
.sfd-featured-item:first-child{grid-row:auto}
.sfd-featured-item{height:320px}
.sfd-led{padding:var(--sfd-space-4) var(--sfd-space-2)}
.sfd-led-card{grid-template-columns:1fr;padding:var(--sfd-space-3);min-height:0;gap:var(--sfd-space-3)}
.sfd-led-visual{min-height:96px}
.sfd-led-content h2{font-size:1.45rem}
.sfd-led-content p{font-size:0.92rem;line-height:1.55}
.sfd-about{grid-template-columns:1fr}
.sfd-scroll-hint{display:none}
 }
/* ─── Dynamic page rebuild — local wp-env review v1.4 concept ───────── */:root {  --forge-deep:#0b0a08;  --forge-ink:#100f0d;  --forge-panel:#191713;  --forge-panel-2:#242119;  --forge-cream:#f4eee6;  --forge-muted:#b8afa4;  --forge-dim:#8a8478;  --forge-orange:#e07b39;  --forge-blue:#3c92b0;  --forge-cyan:#7fd3e8;  --forge-glow: rgba(224,123,57,.26);}
.dynamic-site-main { overflow:hidden; background:#0b0a08; }
.sfd-dynamic-page { width:100vw; margin-left:calc(50% - 50vw); background:  radial-gradient(circle at 82% 8%, rgba(224,123,57,.24), transparent 34rem),  radial-gradient(circle at 8% 22%, rgba(60,146,176,.16), transparent 30rem),  radial-gradient(circle at 72% 72%, rgba(224,123,57,.10), transparent 36rem),  #0b0a08; color:var(--forge-cream); font-family:'IBM Plex Sans',system-ui,sans-serif; }
.sfd-dynamic-page * { box-sizing:border-box; }
.sfd-dynamic-page a { color:inherit; }
/* Local dynamic pages may render through the default page.html template; make that wrapper full-bleed and hide duplicate WP titles. */main.content-shell:has(.sfd-dynamic-page) { max-width:none; padding:0; }
main.content-shell:has(.sfd-dynamic-page) > .wp-block-post-title { display:none; }
/* ─── Design Corrections: Teal/Blue Accents ─────────────────────────────── *//* Teal accent border utility */.sfd-teal-border { border-color: rgba(60,146,176,.40) !important; }
.sfd-teal-glow { box-shadow: 0 0 22px rgba(60,146,176,.22), 0 0 44px rgba(60,146,176,.10) !important; }
/* Teal/cyan section eyebrow */.sfd-eyebrow-teal { color: var(--forge-cyan) !important; }
.sfd-eyebrow-teal::before { background: linear-gradient(90deg, var(--forge-blue), transparent) !important; }
/* ─── Instrumentation-Style Stat Cards ────────────────────────────────────── */.sfd-stat-card {  /* Enhance with instrument-panel depth */  background:    linear-gradient(160deg, rgba(36,33,25,.96), rgba(16,15,13,.94)),    radial-gradient(circle at 30% 70%, rgba(60,146,176,.08), transparent 60%) !important;  border-color: rgba(60,146,176,.22) !important;  box-shadow:    0 18px 54px rgba(0,0,0,.26),    inset 0 1px 0 rgba(127,211,232,.08),    inset 0 -1px 0 rgba(0,0,0,.3) !important;  transition: transform .24s, box-shadow .24s, border-color .24s;}
.sfd-stat-card:hover {  border-color: rgba(127,211,232,.50) !important;  box-shadow:    0 22px 64px rgba(0,0,0,.32),    0 0 32px rgba(60,146,176,.28),    0 0 64px rgba(60,146,176,.12),    inset 0 1px 0 rgba(127,211,232,.15) !important;  transform: translateY(-4px);}
/* Instrument panel backlit glow behind number */.sfd-stat-card::before {  content: "";  position: absolute;  inset: 0;  border-radius: inherit;  background: radial-gradient(circle at 50% 40%, rgba(60,146,176,.18), transparent 65%);  pointer-events: none;  z-index: 0;}
.sfd-stat-card > * { position: relative; z-index: 1; }
/* LED number display — teal glow behind the stat number */.sfd-stat-number {  position: relative;  display: inline-block;  color: var(--forge-cyan) !important;  text-shadow:    0 0 12px rgba(127,211,232,.70),    0 0 28px rgba(127,211,232,.40),    0 0 56px rgba(60,146,176,.25) !important;}
/* Small LED dot indicator on stat card */.sfd-stat-card .sfd-led {  display: block;  width: 8px;  height: 8px;  border-radius: 50%;  background: var(--forge-cyan);  box-shadow: 0 0 8px rgba(127,211,232,.80), 0 0 16px rgba(127,211,232,.40);  margin-bottom: .6rem;  animation: sfd-led-pulse 2.4s ease-in-out infinite alternate;}
@keyframes sfd-led-pulse {  from { opacity: .6; box-shadow: 0 0 6px rgba(127,211,232,.60); }
  to { opacity: 1;  box-shadow: 0 0 12px rgba(127,211,232,.90), 0 0 24px rgba(127,211,232,.50); }
}
/* Teal radial in stat card ::after (keep orange as secondary accent) */.sfd-stat-card::after {  background: radial-gradient(circle, rgba(60,146,176,.22), transparent 68%) !important;}
/* ─── Section Contrast& Alternation ─────────────────────────────────────── *//* Lighten alternating sections for rhythm */.sfd-page-section-alt {  background: linear-gradient(180deg, rgba(25,23,19,.96), rgba(16,15,13,.98)) !important;}
/* Teal-accented section divider */.sfd-teal-divider {  border-top: 1px solid rgba(60,146,176,.30);  box-shadow: 0 1px 0 rgba(127,211,232,.08);}
/* Section with teal ambient glow */.sfd-section-glow-teal {  background:    radial-gradient(circle at 50% 0%, rgba(60,146,176,.14), transparent 55%),    radial-gradient(circle at 15% 80%, rgba(60,146,176,.08), transparent 40%),    linear-gradient(180deg, rgba(16,15,13,.98), rgba(11,10,8,1)) !important;}
/* Teal proof band variant */.sfd-proof-band-teal {  background: linear-gradient(90deg,rgba(60,146,176,.14),rgba(127,211,232,.08),rgba(16,15,13,.88)) !important;  border-block: 1px solid rgba(60,146,176,.28) !important;}
/* ─── Portfolio Visual Tiles & Artifact Placeholders ─────────────────────── *//* Mosaic tile with teal hover accent */.sfd-project-tile {  border-color: rgba(60,146,176,.20) !important;  transition: transform .26s, border-color .26s, box-shadow .26s !important;}
.sfd-project-tile:hover {  border-color: rgba(127,211,232,.55) !important;  box-shadow: 0 26px 90px rgba(0,0,0,.34), 0 0 28px rgba(60,146,176,.20) !important;}
/* Teal tile overlay accent line */.sfd-tile-overlay small { color: var(--forge-cyan) !important; }
/* Placeholder pattern when no image — subtle grid artifact */.sfd-tile-placeholder {  width: 100%;  height: 100%;  background:    repeating-linear-gradient(0deg, transparent 0 40px, rgba(60,146,176,.04) 40px 41px),    repeating-linear-gradient(90deg, transparent 0 40px, rgba(60,146,176,.04) 40px 41px),    linear-gradient(160deg, rgba(36,33,25,.96), rgba(16,15,13,.94));  display: flex;  align-items: center;  justify-content: center;  flex-direction: column;  gap: 12px;}
.sfd-tile-placeholder-icon {  width: 48px;  height: 48px;  border-radius: 14px;  background: rgba(60,146,176,.14);  border: 1px solid rgba(60,146,176,.30);  display: grid;  place-items: center;  font-size: 1.4rem;  box-shadow: 0 0 24px rgba(60,146,176,.18);}
.sfd-tile-placeholder-label {  font-family: 'JetBrains Mono', monospace;  font-size: .68rem;  letter-spacing: .14em;  text-transform: uppercase;  color: rgba(127,211,232,.60);}
/* ─── Asymmetry / Diagonal Rhythm ────────────────────────────────────────── *//* Stronger diagonal clip with teal accent edge */.sfd-diagonal-teal {  clip-path: polygon(0 0, 100% 3%, 100% 100%, 0 97%);  border-top: 2px solid rgba(60,146,176,.35);  box-shadow: inset 0 2px 0 rgba(127,211,232,.10);}
/* Diagonal transition strip between sections */.sfd-diagonal-strip {  height: 60px;  background: linear-gradient(135deg, rgba(60,146,176,.12), transparent 60%);  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 60%);  margin-block: -30px;  position: relative;  z-index: 2;}
/* ─── Mobile Responsive Enhancements ─────────────────────────────────────── */@media (max-width: 900px) {  .sfd-stat-card:hover { transform: translateY(-2px); }
  .sfd-stat-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 560px) {  .sfd-stat-grid { grid-template-columns: 1fr !important; }
  .sfd-stat-card { min-height: 120px; }
}
/* Local QA fixes: mobile header/nav overflow prevention. */.mobile-toggle {  display: none;  align-items: center;  justify-content: center;  min-height: 42px;  padding: 0 14px;  border: 1px solid rgba(244, 238, 230, 0.18);  border-radius: 999px;  background: rgba(244, 238, 230, 0.06);  color: #f4eee6;  font: 700 0.78rem/1 'IBM Plex Sans', sans-serif;  letter-spacing: 0.06em;  text-transform: uppercase;}
@media (max-width: 980px) {  .site-header nav a:not(.cta):not(.pill) {    display: none !important;  }
}
@media (max-width: 620px) {  .site-header .inner {    position: relative;    overflow: visible;  }
  .site-header .brand {    flex: 1 1 auto;    min-width: 0;    max-width: calc(100vw - 112px);  }
  .site-header .brand-logo-wrap {    min-width: 0;    max-width: 100%;  }
  .site-header .brand-logo {    display: block;    width: auto !important;    max-width: 100% !important;    min-width: 1px;    height: 34px;    object-fit: contain;  }
  .mobile-toggle {    display: inline-flex;    flex: 0 0 auto;  }
  .site-header nav {    position: absolute;    top: calc(100% + 10px);    left: 16px;    right: 16px;    z-index: 1001;    display: none !important;    flex-direction: column;    align-items: stretch !important;    justify-content: flex-start !important;    gap: 10px !important;    width: auto;    max-width: calc(100vw - 32px);    padding: 14px;    border: 1px solid rgba(244, 238, 230, 0.12);    border-radius: 20px;    background: rgba(16, 15, 13, 0.98);    box-shadow: 0 24px 60px rgba(0,0,0,.35);  }
  .site-header.is-mobile-open nav {    display: flex !important;  }
  .site-header.is-mobile-open nav a,  .site-header.is-mobile-open nav a:not(.cta):not(.pill) {    display: inline-flex !important;    justify-content: center;    width: 100%;  }
  .site-header.is-mobile-open nav .cta {    display: inline-flex !important;  }
}
/* Staging safety: hide duplicated shell fragments if DB page content contains template parts. */.dynamic-site-main .skip-to-content,.dynamic-site-main .site-header,.dynamic-site-main .mega-scrim,.dynamic-site-main .mega,.dynamic-site-main .site-footer {  display: none !important;}
/* Fix: WordPress global block spacing was pushing the site header 24px below the viewport. */.wp-site-blocks > .skip-to-content,.wp-site-blocks > .site-header,.wp-site-blocks > .mega-scrim,.wp-site-blocks > .mega {  margin-block-start: 0;}
/* ─── Staging build-out: Services, Field Notes, and single posts ───────── */.forge-page {  color: #f4eee6;  background: #100f0d;}
.page-hero {  padding: clamp(4rem, 8vw, 7rem) clamp(22px, 5vw, 76px) clamp(2rem, 4vw, 3rem);  max-width: 1180px;  margin: 0 auto;}
.page-hero h1 {  max-width: 980px;  font-size: clamp(2.4rem, 6vw, 5rem);  line-height: .95;  letter-spacing: -.055em;  margin: 0 0 1.2rem;}
.page-hero .lede, .field-note-post .lede, .post-body-forge .lede {  max-width: 760px;  color: #d8cfc4;  font-size: clamp(1.05rem, 1.8vw, 1.35rem);  line-height: 1.55;}
.section-label,.section-kicker {  font-family: 'JetBrains Mono', ui-monospace, monospace;  color: #e07b39;  text-transform: uppercase;  letter-spacing: .16em;  font-size: .72rem;  font-weight: 700;  margin-bottom: 1rem;}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.service-grid-section,.two-column-panel,.page-cta-panel {  max-width: 1180px;  margin: 0 auto;  padding: clamp(2rem, 5vw, 4.5rem) clamp(22px, 5vw, 76px);}
.service-card-grid {  display: grid;  grid-template-columns: repeat(3, minmax(0, 1fr));  gap: 18px;}
.service-card,.forge-post-card,.page-cta-panel,.two-column-panel {  background: linear-gradient(145deg, rgba(25,23,19,.96), rgba(16,15,13,.92));  border: 1px solid rgba(244,238,230,.11);  border-radius: 18px;  box-shadow: 0 22px 60px rgba(0,0,0,.24);}
.service-card { padding: 24px; min-height: 240px; }
.service-card h2 { font-size: 1.28rem; margin: 12px 0 10px; }
.service-card p { color: #cfc6ba; line-height: 1.58; }
.card-index { font-family: 'JetBrains Mono', monospace; color: #e07b39; font-size: .76rem; }
.process-band {  max-width: 1180px;  margin: 24px auto;  padding: 18px clamp(22px, 5vw, 76px);  display: grid;  grid-template-columns: repeat(4, 1fr);  gap: 3px;  background: rgba(244,238,230,.09);  border: 1px solid rgba(244,238,230,.12);  border-radius: 18px;  overflow: hidden;}
.process-band > * { background: #191713; padding: 18px; display: grid; gap: 6px; list-style: none; }
.process-band strong { color: #e07b39; font-family: 'JetBrains Mono', monospace; }
.process-band span { color: #f4eee6; font-weight: 700; }
.two-column-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 64px); }
.two-column-panel h2, .page-cta-panel h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; margin: 0; }
.two-column-panel p, .two-column-panel li, .page-cta-panel p { color: #d8cfc4; line-height: 1.65; }
/* Restore the orange section-kicker inside two-column-panels and the page CTA panel.
 * Without this, the muted-cream color cascade on the parent panel's <p> overwrites
 * the brand orange kicker that signals "new section starts here" — a site-wide
 * bug the about page surfaced. */
.two-column-panel .section-kicker,
.page-cta-panel .section-kicker { color: var(--forge-orange, #e07b39); }
.field-notes-grid {  display: grid;  grid-template-columns: repeat(3, minmax(0, 1fr));  gap: 18px;  max-width: 1180px;  margin: 0 auto;  padding: 0 clamp(22px, 5vw, 76px) clamp(4rem, 7vw, 6rem);}
.forge-post-card { padding: 24px; }
.post-card-title { font-size: 1.25rem; line-height: 1.16; margin: 0 0 12px; }
.post-card-title a { color: #f4eee6; text-decoration: none; }
.post-card-title a:hover { color: #e07b39; }
.post-card-meta,.post-meta-bar {  display: flex;  flex-wrap: wrap;  gap: 10px;  align-items: center;  color: #b8afa4;  font-family: 'JetBrains Mono', ui-monospace, monospace;  font-size: .76rem;  text-transform: uppercase;  letter-spacing: .06em;}
.post-card-excerpt { color: #cfc6ba; line-height: 1.55; }
.field-note-post {  max-width: 820px;  margin: 0 auto;  padding: clamp(3rem, 7vw, 6rem) clamp(22px, 5vw, 48px);}
.post-title-forge {  font-size: clamp(2.25rem, 5.5vw, 4.2rem);  line-height: .98;  letter-spacing: -.045em;  margin: 18px 0 28px;}
.post-body-forge {  font-size: 1.08rem;  line-height: 1.72;  color: #e8dfd4;}
.post-body-forge h2 {  color: #f4eee6;  font-size: clamp(1.55rem, 3vw, 2.2rem);  margin: 48px 0 16px;  padding-top: 18px;  border-top: 1px solid rgba(224,123,57,.28);}
.post-body-forge h3 { color: #e07b39; margin: 32px 0 12px; }
.post-body-forge a { color: #e07b39; text-underline-offset: 3px; }
.post-body-forge code {  font-family: 'JetBrains Mono', ui-monospace, monospace;  background: rgba(224,123,57,.14);  color: #e07b39;  padding: .1em .35em;  border-radius: 4px;}
.post-tags-forge {  margin-top: 44px;  padding-top: 22px;  border-top: 1px solid rgba(244,238,230,.12);}
.empty-note { max-width: 1180px; margin: 0 auto 4rem; padding: 0 clamp(22px, 5vw, 76px); color: #b8afa4; }
/* Path-specific page identities */.page-employers .page-hero {  background:    linear-gradient(180deg, rgba(12,18,22,.92), rgba(16,15,13,.72)),    radial-gradient(circle at 85% 20%, rgba(127,211,232,.18), transparent 28%);  border-bottom: 1px solid rgba(127,211,232,.14);}
.employers-metrics {  max-width: 1180px;  margin: 0 auto;  padding: 0 clamp(22px, 5vw, 76px) 2rem;  display: grid;  grid-template-columns: repeat(3, 1fr);  gap: 1px;  background: rgba(127,211,232,.12);  border-top: 1px solid rgba(127,211,232,.2);  border-bottom: 1px solid rgba(127,211,232,.2);}
.employers-metric {  background: linear-gradient(180deg, rgba(17,28,33,.96), rgba(16,15,13,.96));  padding: 24px;  display: grid;  gap: 8px;}
.employers-metric strong {  font-family: 'IBM Plex Sans', sans-serif;  font-size: clamp(2rem, 4vw, 3rem);  letter-spacing: -.04em;  color: #7fd3e8;}
.employers-metric span { color: #cad4d6; line-height: 1.55; }
.employers-timeline {  max-width: 1180px;  margin: 0 auto;  padding: 2rem clamp(22px, 5vw, 76px) 0;  display: grid;  gap: 18px;}
.timeline-row {  display: grid;  grid-template-columns: 220px 1fr;  gap: 28px;  padding: 26px 0;  border-top: 1px solid rgba(127,211,232,.16);}
.timeline-row:last-child { border-bottom: 1px solid rgba(127,211,232,.16); }
.timeline-meta {  display: grid;  gap: 8px;  align-content: start;}
.timeline-year,.timeline-role {  font-family: 'JetBrains Mono', monospace;  font-size: .78rem;  letter-spacing: .1em;  text-transform: uppercase;}
.timeline-year { color: #7fd3e8; }
.timeline-role { color: #b8afa4; }
.timeline-copy h2 {  font-size: clamp(1.5rem, 2.7vw, 2.2rem);  margin: 0 0 12px;}
.timeline-copy p { margin: 0; color: #d2d8da; line-height: 1.65; max-width: 70ch; }
.employers-split {  background: linear-gradient(145deg, rgba(14,24,29,.88), rgba(16,15,13,.92));  border-color: rgba(127,211,232,.18);}
.employers-proof-band {  max-width: 1180px;  margin: 28px auto;  padding: 32px clamp(22px, 5vw, 76px);  display: grid;  grid-template-columns: .85fr 1.15fr;  gap: 32px;  border-top: 1px solid rgba(127,211,232,.22);  border-bottom: 1px solid rgba(127,211,232,.22);  background: linear-gradient(90deg, rgba(60,146,176,.14), rgba(16,15,13,.92));}
.employers-proof-band p { color: #d2d8da; line-height: 1.65; margin: 0; }
.employers-proof-band h2 { margin: 0; }
.page-clients .page-hero {  padding-top: clamp(1.5rem, 3vw, 2.75rem);  background:    linear-gradient(180deg, rgba(54,32,18,.38), rgba(16,15,13,.64)),    radial-gradient(circle at 80% 25%, rgba(224,123,57,.18), transparent 30%);}
.page-clients .page-hero > .sfd-availability-banner {  margin: 0 auto clamp(2.75rem, 5vw, 4.5rem);}
.clients-service-grid { gap: 20px; }
.clients-service-card:nth-child(odd) {  transform: translateY(10px);}

.clients-case-strip {  max-width: 1180px;  margin: 0 auto;  padding: 2rem clamp(22px, 5vw, 76px);  display: grid;  grid-template-columns: 1fr 1fr;  gap: 20px;}
.clients-case-strip article {  border-radius: 24px;  padding: 28px;  background: linear-gradient(135deg, rgba(24,21,17,.98), rgba(46,28,18,.9));  border: 1px solid rgba(224,123,57,.14);}
.clients-case-strip small {  font-family: 'JetBrains Mono', monospace;  font-size: .72rem;  letter-spacing: .12em;  text-transform: uppercase;  color: #e6a06d;}
.clients-case-strip h2 {  font-size: clamp(1.5rem, 2.5vw, 2.1rem);  margin: 12px 0 10px;}
.clients-case-strip p { margin: 0; color: #d7c9bd; line-height: 1.62; }
.clients-fit-panel {  background: linear-gradient(145deg, rgba(33,23,17,.96), rgba(16,15,13,.94));  border-color: rgba(224,123,57,.14);}
.clients-cta-panel {  background: linear-gradient(135deg, rgba(224,123,57,.18), rgba(244,238,230,.05));}
.page-contact .page-hero {  background:    linear-gradient(180deg, rgba(37,26,19,.86), rgba(16,15,13,.68)),    radial-gradient(circle at 82% 22%, rgba(224,123,57,.22), transparent 32%),    radial-gradient(circle at 16% 70%, rgba(60,146,176,.12), transparent 28%);  border-bottom: 1px solid rgba(224,123,57,.16);}
.contact-section-head {  max-width: 780px;  margin: 0 0 24px;}
.contact-section-head h2 {  font-size: clamp(1.7rem, 3vw, 2.45rem);  line-height: 1.08;  letter-spacing: -.025em;  margin: 0;}
.contact-route-card { min-height: 210px; }
.contact-route-card h3 {  font-size: 1.18rem;  margin: 12px 0 10px;}
.contact-form-section {  max-width: 1180px;  margin: 0 auto;  padding: clamp(2rem, 5vw, 4.5rem) clamp(22px, 5vw, 76px);}
.contact-form-shell {  display: grid;  grid-template-columns: .82fr 1.18fr;  gap: clamp(24px, 5vw, 56px);  align-items: start;  padding: clamp(24px, 4vw, 42px);  border: 1px solid rgba(244,238,230,.12);  border-radius: 24px;  background: linear-gradient(145deg, rgba(25,23,19,.98), rgba(16,15,13,.94));  box-shadow: 0 28px 78px rgba(0,0,0,.30);  position: relative;  overflow: hidden;}
.contact-form-shell::before {  content: '';  position: absolute;  inset: 0;  pointer-events: none;  background: radial-gradient(circle at 8% 0%, rgba(224,123,57,.16), transparent 34%), radial-gradient(circle at 92% 100%, rgba(60,146,176,.12), transparent 32%);}
.contact-form-intro,.contact-entry-form { position: relative; z-index: 1; }
.contact-form-intro h2 {  font-size: clamp(2rem, 4vw, 3.3rem);  line-height: 1;  letter-spacing: -.04em;  margin: 0 0 18px;}
.contact-form-intro p {  color: #d8cfc4;  line-height: 1.68;  margin: 0 0 22px;}
.contact-form-cues {  margin: 0;  padding: 0;  list-style: none;  display: grid;  gap: 12px;}
.contact-form-cues li {  color: #cfc6ba;  line-height: 1.5;  padding: 12px 0 12px 20px;  border-top: 1px solid rgba(244,238,230,.1);  position: relative;}
.contact-form-cues li::before {  content: '→';  position: absolute;  left: 0;  color: #e07b39;}
.contact-entry-form {  display: grid;  gap: 18px;}
.contact-entry-form label {  display: grid;  gap: 8px;  color: #f4eee6;  font-family: 'JetBrains Mono', ui-monospace, monospace;  font-size: .72rem;  letter-spacing: .11em;  text-transform: uppercase;}
.contact-entry-form label span em,.contact-form-required span {  color: #e07b39;  font-style: normal;}
.contact-form-required {  margin: 0;  color: #b8afa4;  font-family: 'JetBrains Mono', ui-monospace, monospace;  font-size: .7rem;  letter-spacing: .1em;  text-transform: uppercase;}
.contact-form-grid {  display: grid;  grid-template-columns: 1fr 1fr;  gap: 16px;}
.contact-entry-form input,.contact-entry-form select,.contact-entry-form textarea {  width: 100%;  border: 1px solid rgba(244,238,230,.16);  border-radius: 14px;  background: rgba(244,238,230,.055);  color: #f4eee6;  font: 500 1rem/1.4 'Source Sans 3', system-ui, sans-serif;  letter-spacing: 0;  text-transform: none;  padding: 13px 15px;  transition: border-color .18s, background .18s, box-shadow .18s;}
.contact-entry-form select { color-scheme: dark; }
.contact-entry-form textarea {  min-height: 180px;  resize: vertical;}
.contact-entry-form input::placeholder,.contact-entry-form textarea::placeholder { color: rgba(216,207,196,.52); }
.contact-entry-form input:focus,.contact-entry-form select:focus,.contact-entry-form textarea:focus {  outline: none;  border-color: rgba(224,123,57,.78);  background: rgba(244,238,230,.08);  box-shadow: 0 0 0 3px rgba(224,123,57,.14);}
.contact-form-consent {  grid-template-columns: auto 1fr;  align-items: start;  gap: 10px !important;  font-family: 'Source Sans 3', system-ui, sans-serif !important;  font-size: .95rem !important;  letter-spacing: 0 !important;  line-height: 1.45;  text-transform: none !important;  color: #d8cfc4 !important;}
.contact-form-consent input {  width: 18px;  height: 18px;  margin-top: 2px;  accent-color: #e07b39;}
.contact-form-website {  position: absolute;  left: -9999px;  width: 1px;  height: 1px;  overflow: hidden;}
.contact-form-submit {  justify-self: start;  border: 0;}
.contact-form-notice {  border-radius: 14px;  padding: 12px 14px;  font-weight: 700;  line-height: 1.45;}
.contact-form-notice-success {  color: #f4eee6;  background: rgba(60,146,176,.16);  border: 1px solid rgba(127,211,232,.34);}
.contact-form-notice-error {  color: #fff2e8;  background: rgba(224,123,57,.14);  border: 1px solid rgba(224,123,57,.42);}
.contact-cta-panel {  background: linear-gradient(135deg, rgba(244,238,230,.06), rgba(224,123,57,.14));}
.page-field-notes .page-hero {  max-width: 980px;  padding-bottom: 2rem;  border-bottom: 1px solid rgba(244,238,230,.1);}
.field-notes-feature {  max-width: 1180px;  margin: 0 auto;  padding: 1rem clamp(22px, 5vw, 76px) 0;  display: grid;  grid-template-columns: 1.2fr .8fr;  gap: 26px;}
.field-note-featured-entry,.field-note-topics {  border-radius: 0;  border: 1px solid rgba(244,238,230,.1);  background: rgba(20,19,17,.9);}
.field-note-featured-entry {  padding: 34px;}
.field-note-featured-entry small {  font-family: 'JetBrains Mono', monospace;  font-size: .72rem;  letter-spacing: .14em;  text-transform: uppercase;  color: #b8afa4;}
.field-note-featured-entry h2 {  font-size: clamp(2rem, 3.4vw, 3rem);  line-height: 1.02;  margin: 14px 0 12px;}
.field-note-featured-entry p { color: #ddd4ca; line-height: 1.72; max-width: 56ch; }
.field-note-featured-entry a {  font-family: 'JetBrains Mono', monospace;  font-size: .75rem;  letter-spacing: .1em;  text-transform: uppercase;  color: #f4eee6;}
.field-note-topics {  padding: 24px;  display: flex;  flex-wrap: wrap;  align-content: start;  gap: 10px;}
.field-note-topics span {  padding: 10px 12px;  border-top: 1px solid rgba(244,238,230,.16);  width: calc(50% - 5px);  color: #cfc6ba;  font-family: 'JetBrains Mono', monospace;  font-size: .74rem;  text-transform: uppercase;  letter-spacing: .08em;}
.field-notes-editorial {  max-width: 820px;  margin: 0 auto;  padding: 3rem clamp(22px, 5vw, 48px) 1rem;}
.field-notes-editorial-copy h2 {  font-size: clamp(2rem, 4vw, 3.4rem);  line-height: 1.03;  margin: 0 0 18px;}
.field-notes-editorial-copy p {  color: #e3dad1;  line-height: 1.78;  font-size: 1.06rem;  max-width: 64ch;}
.field-notes-columns {  max-width: 1180px;  margin: 0 auto;  padding: 1rem clamp(22px, 5vw, 76px) 0;  display: grid;  grid-template-columns: 1fr 1fr;  gap: 28px;}
.field-note-column {  display: grid;  gap: 18px;  align-content: start;}
.field-note-entry {  padding: 26px 0;  border-top: 1px solid rgba(244,238,230,.1);}
.field-note-entry h2 {  font-size: clamp(1.3rem, 2vw, 1.7rem);  margin: 10px 0;}
.field-note-entry p {  margin: 0;  color: #d8cfc4;  line-height: 1.72;}
.field-note-column-accent {  padding-left: 24px;  border-left: 1px solid rgba(244,238,230,.1);}
.field-note-quote {  background: linear-gradient(180deg, rgba(244,238,230,.04), rgba(244,238,230,.01));  padding: 28px 24px;  border-bottom: 1px solid rgba(244,238,230,.1);}
.field-note-quote p {  font-family: 'IBM Plex Sans', sans-serif;  font-size: clamp(1.4rem, 2.4vw, 2rem);  line-height: 1.12;  color: #f4eee6;}
.field-notes-cta-panel {  background: transparent;  box-shadow: none;  border-width: 1px 0 0;  border-radius: 0;}
.page-portfolio .page-hero {  background:    linear-gradient(180deg, rgba(22,21,18,.94), rgba(16,15,13,.72)),    radial-gradient(circle at 78% 24%, rgba(224,123,57,.12), transparent 30%);}
/* About page hero: cooler / quieter than the warm-orange services hero and the
 * teal employers hero. A neutral charcoal base with a soft cream radial lets the
 * about-hero-geo floating shapes read as foreground, not as warm orange competing
 * with the brand accent. Distinct on its own, consistent with the family. */
.page-about .page-hero {  background:    linear-gradient(180deg, rgba(20,18,16,.92), rgba(16,15,13,.74)),    radial-gradient(circle at 80% 22%, rgba(244,238,230,.10), transparent 32%),    radial-gradient(circle at 12% 80%, rgba(60,146,176,.06), transparent 30%);  border-bottom: 1px solid rgba(244,238,230,.10);}
/* About CTA panel: a softer cream-tinted accent than .clients-cta-panel (warm orange).
 * The about page signals "personal statement," not "sell a service," so the
 * finish should feel quieter — closer to the cream tones already used in the
 * hero, with just enough warmth to mark the page's close. */
.page-cta-panel.about-cta-panel { background: linear-gradient(135deg, rgba(244,238,230,.07), rgba(224,123,57,.06)); border-color: rgba(244,238,230,.14); }
/* About page vertical rhythm. The default page-content blocks have no
 * margin-bottom, so .two-column-panel + .two-column-panel + .page-cta-panel
 * would stack flush (8px gap = paragraph margin leaking through), making the
 * boxes look like they overlap. Give each "content section" a top margin
 * so they breathe. The .process-band already has its own margin: 24px auto so
 * we exclude it via :not(.process-band) so we don't double it. The .page-hero
 * is the first child and stays flush. */
.page-about > .service-grid-section,
.page-about > .two-column-panel,
.page-about > .page-cta-panel { margin-top: clamp(2.5rem, 5vw, 4rem); }
.portfolio-route-band {  max-width: 1180px;  margin: 0 auto;  padding: 0 clamp(22px, 5vw, 76px) 2rem;  display: grid;  grid-template-columns: 1fr 1fr;  gap: 18px;}
.portfolio-route-card,.portfolio-evidence-block {  border-radius: 22px;  padding: 28px;  border: 1px solid rgba(244,238,230,.12);  background: linear-gradient(145deg, rgba(27,24,20,.98), rgba(16,15,13,.94));}
.portfolio-route-card small,.portfolio-evidence-block small {  font-family: 'JetBrains Mono', monospace;  font-size: .72rem;  letter-spacing: .12em;  text-transform: uppercase;  color: #b8afa4;}
.portfolio-route-card h2,.portfolio-evidence-block h2 {  font-size: clamp(1.5rem, 2.6vw, 2.1rem);  margin: 12px 0 10px;}
.portfolio-route-card p,.portfolio-evidence-block p {  margin: 0;  color: #d8cfc4;  line-height: 1.65;}
.portfolio-proof-grid .service-card {  min-height: 260px;}
.portfolio-proof-card:nth-child(2) {  transform: translateY(18px);}
.portfolio-evidence-strip {  max-width: 1180px;  margin: 0 auto;  padding: 1rem clamp(22px, 5vw, 76px) 0;  display: grid;  grid-template-columns: 1fr 1fr;  gap: 18px;}
.portfolio-reading-panel {  background: linear-gradient(145deg, rgba(22,20,17,.96), rgba(16,15,13,.92));}
.portfolio-cta-panel {  background: linear-gradient(135deg, rgba(244,238,230,.06), rgba(224,123,57,.12));}
@media (max-width: 860px) {  .service-card-grid,  .field-notes-grid,  .process-band,  .two-column-panel { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .employers-metrics,  .clients-case-strip,  .field-notes-feature,  .field-notes-columns,  .employers-proof-band,  .portfolio-route-band,  .portfolio-evidence-strip,  .timeline-row,  .contact-form-shell { grid-template-columns: 1fr; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .contact-form-shell { padding: 24px; }
  .clients-service-card:nth-child(odd) { transform: none; }
  .portfolio-proof-card:nth-child(2) { transform: none; }
  .field-note-topics span { width: 100%; }
  .field-note-column-accent {    padding-left: 0;    border-left: 0;  }
}
/* ─── About page: scroll-triggered animations ─── */@keyframes fadeSlideUp {  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-on-scroll {  opacity: 1;  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);}
/* JS sets <html class="sfd-has-reveal"> on first run. We then hide .animate-on-scroll
 * and reveal it via IntersectionObserver + .is-visible. The default-state opacity:1
 * above is the no-JS fallback so the content is always visible if JS is off or
 * fails to load. */
html.sfd-has-reveal .animate-on-scroll { opacity: 0; }
html.sfd-has-reveal .animate-on-scroll.is-visible { animation: fadeSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
/* ─── Animated hero geometric shapes ─── */.about-hero {  position: relative;  overflow: hidden;}
.about-hero-geo {  position: absolute;  inset: 0;  pointer-events: none;  overflow: hidden;}
.about-hero-geo span {  position: absolute;  border-radius: 4px;  opacity: 0.07;  animation: geoFloat 18s ease-in-out infinite;}
/* Page-scoped: lift the floating shapes' opacity on the about page so they read
 * as foreground motion against the new path-specific hero gradient, and hide
 * them on narrow viewports so they don't visually compete with the headline. */
.page-about .about-hero-geo span { opacity: 0.13; }
@media (max-width: 860px) { .about-hero-geo { display: none; } }
.about-hero-geo span:nth-child(1) {  width: 180px; height: 180px;  background: #e07b39;  top: 8%; right: -5%;  transform: rotate(22deg);  animation-duration: 22s;  animation-delay: 0s;}
.about-hero-geo span:nth-child(2) {  width: 90px; height: 90px;  border: 2px solid #f4eee6;  top: 55%; right: 12%;  animation-duration: 16s;  animation-delay: -5s;}
.about-hero-geo span:nth-child(3) {  width: 40px; height: 40px;  background: #e07b39;  top: 30%; right: 22%;  transform: rotate(45deg);  animation-duration: 13s;  animation-delay: -9s;}
.about-hero-geo span:nth-child(4) {  width: 140px; height: 140px;  border: 1.5px solid rgba(244,238,230,0.4);  bottom: 5%; left: -3%;  animation-duration: 20s;  animation-delay: -3s;}
.about-hero-geo span:nth-child(5) {  width: 60px; height: 60px;  background: rgba(224,123,57,0.5);  bottom: 18%; left: 8%;  transform: rotate(15deg);  animation-duration: 17s;  animation-delay: -11s;}
@keyframes geoFloat {  0%,100% { transform: translateY(0) rotate(var(--r, 22deg)) scale(1); }
  33%      { transform: translateY(-18px) rotate(calc(var(--r, 22deg) + 8deg)) scale(1.04); }
  66%      { transform: translateY(10px) rotate(calc(var(--r, 22deg) - 5deg)) scale(0.97); }
}
/* ─── Stat counters strip ─── */.about-stats {  border-top: 1px solid rgba(244,238,230,0.08);  border-bottom: 1px solid rgba(244,238,230,0.08);  padding: clamp(1.8rem, 3vw, 2.4rem) clamp(22px, 5vw, 76px);  display: flex;  gap: clamp(2rem, 5vw, 5rem);  align-items: center;  flex-wrap: wrap;}
.about-stats-item {  display: flex;  flex-direction: column;  gap: 4px;}
.about-stats-number {  font-family: 'IBM Plex Sans', sans-serif;  font-size: clamp(2rem, 4vw, 2.8rem);  font-weight: 700;  color: #f4eee6;  line-height: 1;  letter-spacing: -0.03em;}
.about-stats-number span { color: #e07b39; }
.about-stats-label {  font-family: 'JetBrains Mono', monospace;  font-size: 10px;  letter-spacing: 0.14em;  text-transform: uppercase;  color: #b8afa4;}
/* ─── Skill badge hover ─── */.skill-badge {  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;  cursor: default;}
.skill-badge:hover {  background: rgba(224,123,57,0.18) !important;  transform: translateY(-2px);  box-shadow: 0 4px 16px rgba(224,123,57,0.25);}

/* ─── Project query blocks (1.5.0 — posts in Project category) ───── */
/* Homepage Selected Work — pulls sticky Project posts in an asymmetric 2-col grid.
   The post-template <ul> IS the layout container, not display:contents, because
   WP's responsive `is-flex-container.columns-3 > li { width: calc(33.33% - .83em) }`
   rule collapses grid items when they become direct grid children. */
.sfd-project-featured { display:block; }
.sfd-project-featured > .wp-block-post-template {
  display:grid;
  grid-template-columns:2fr 1fr;
  grid-template-rows:280px 280px;
  gap:24px;
  list-style:none;
  margin:0;
  padding:0;
}
.sfd-project-featured .wp-block-post { position:relative; overflow:hidden; border:1px solid var(--sfd-steel); transition:border-color 0.25s, transform 0.25s; background:linear-gradient(135deg, #1a1813 0%, #0b0a08 100%); margin:0; width:100% !important; }
.sfd-project-featured .wp-block-post:first-child { grid-row:1/3; }
.sfd-project-featured .wp-block-post:hover { border-color:var(--sfd-cyan); transform:translateY(-2px); }
.sfd-project-featured .sfd-featured-card { position:absolute; inset:0; display:flex; flex-direction:column; justify-content:flex-end; }
.sfd-project-featured .sfd-featured-card .wp-block-post-featured-image { position:absolute; inset:0; margin:0; }
.sfd-project-featured .sfd-featured-card .wp-block-post-featured-image img { width:100%; height:100%; object-fit:cover; transition:transform 0.45s, filter 0.45s; filter:saturate(0.88) contrast(1.05); }
.sfd-project-featured .wp-block-post:hover .sfd-featured-card .wp-block-post-featured-image img { transform:scale(1.05); filter:saturate(1.05) contrast(1.1); }
.sfd-project-featured .sfd-featured-card .wp-block-post-featured-image:empty { display:block; background:radial-gradient(circle at 30% 40%, rgba(224,123,57,0.18), transparent 60%), radial-gradient(circle at 70% 80%, rgba(60,146,176,0.16), transparent 55%); }
.sfd-project-featured .sfd-featured-overlay { position:relative; z-index:2; padding:var(--sfd-space-3); background:linear-gradient(transparent, rgba(10,10,10,0.94)); margin-top:auto; }
.sfd-project-featured .sfd-featured-overlay h4 { font-size:1rem; font-weight:800; color:var(--sfd-white); margin:0.2rem 0 0; line-height:1.25; }
.sfd-project-featured .sfd-featured-overlay h4 a { color:inherit; text-decoration:none; display:inline-block; }
.sfd-project-featured .sfd-featured-overlay h4 a:hover { color:var(--sfd-cyan); }
.sfd-project-featured .sfd-cat, .sfd-project-featured .sfd-cat a { font-family:var(--sfd-mono); font-size:0.65rem; color:var(--sfd-orange); letter-spacing:0.08em; text-transform:uppercase; margin:0; display:block; text-decoration:none; }
.sfd-project-featured .sfd-cat a:hover { color:var(--sfd-cyan); }
.sfd-project-featured .sfd-featured-overlay h4 a::after { content:""; position:absolute; inset:0; z-index:3; }

/* Portfolio page — pulls all Project posts in a 3-col equal grid.
   Same reason as above: the <ul> is the flex container so the WP
   `width: calc(33.33% - .83em)` rule applies correctly to flex items. */
.portfolio-projects-query { display:block; }
.portfolio-projects-query > .wp-block-post-template {
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  list-style:none;
  margin:0;
  padding:0;
}
.portfolio-projects-query .wp-block-post {
  margin:0;
  flex:0 0 calc(33.3333% - 14px);
  max-width:calc(33.3333% - 14px);
  min-width:0;
}
.portfolio-projects-query .portfolio-selected-card { position:relative; display:flex; flex-direction:column; height:100%; background:var(--sfd-panel, #191713); border:1px solid var(--sfd-steel, rgba(244,238,230,0.08)); border-radius:6px; overflow:hidden; transition:border-color 0.25s, transform 0.25s; }
.portfolio-projects-query .portfolio-selected-card:hover { border-color:var(--sfd-cyan, #7fd3e8); transform:translateY(-3px); }
.portfolio-projects-query .portfolio-selected-card .wp-block-post-featured-image { margin:0; aspect-ratio:4/3; overflow:hidden; background:linear-gradient(135deg, #1a1813 0%, #0b0a08 100%); }
.portfolio-projects-query .portfolio-selected-card .wp-block-post-featured-image img { width:100%; height:100%; object-fit:cover; display:block; transition:transform 0.45s, filter 0.45s; filter:saturate(0.88) contrast(1.05); }
.portfolio-projects-query .portfolio-selected-card:hover .wp-block-post-featured-image img { transform:scale(1.05); filter:saturate(1.05) contrast(1.1); }
.portfolio-projects-query .portfolio-selected-card .wp-block-post-featured-image:empty { display:block; }
.portfolio-projects-query .portfolio-selected-body { padding:1.25rem 1.5rem 1.6rem; display:flex; flex-direction:column; gap:0.55rem; flex:1; }
.portfolio-projects-query .wp-block-post-terms { margin:0; font-family:var(--sfd-mono); font-size:0.76rem; color:var(--sfd-orange); letter-spacing:0.12em; text-transform:uppercase; }
.portfolio-projects-query .wp-block-post-terms a { color:var(--sfd-orange); text-decoration:none; }
.portfolio-projects-query .wp-block-post-terms a:hover { color:var(--sfd-cyan); }
.portfolio-projects-query .wp-block-post-title { font-size:1.28rem; margin:0; line-height:1.3; }
.portfolio-projects-query .wp-block-post-title a { color:var(--sfd-white); text-decoration:none; }
.portfolio-projects-query .wp-block-post-title a:hover { color:var(--sfd-cyan); }
.portfolio-projects-query .wp-block-post-excerpt { color:#cfc6ba; line-height:1.58; margin:0; font-size:0.96rem; }
.portfolio-projects-query .portfolio-selected-card .wp-block-post-title a::after { content:""; position:absolute; inset:0; z-index:1; }

/* Mobile: 1 column for both */
@media (max-width: 720px) {
  .sfd-project-featured > .wp-block-post-template { grid-template-columns:1fr !important; grid-template-rows:repeat(3, 220px) !important; }
  .sfd-project-featured .wp-block-post:first-child { grid-row:auto; }
  .portfolio-projects-query .wp-block-post { flex:0 0 100%; max-width:100%; }
}

/* Empty state for the project queries */
.wp-block-query .wp-block-query__no-results { padding:2rem; text-align:center; color:#b8afa4; }

/* ─── Single project page (1.4.2) ─────────────────────────── */
.forge-single-project .project-detail { max-width:880px; margin:0 auto; padding:clamp(1.5rem, 4vw, 3rem) clamp(22px, 5vw, 76px) clamp(3rem, 6vw, 5rem); }
.forge-single-project .project-detail-meta { margin-bottom:0.75rem; }
.forge-single-project .project-detail-cat { font-family:var(--sfd-mono); font-size:0.78rem; color:var(--sfd-orange); letter-spacing:0.14em; text-transform:uppercase; }
.forge-single-project .project-detail-cat a { color:var(--sfd-orange); text-decoration:none; }
.forge-single-project .project-detail-cat a:hover { color:var(--sfd-cyan); }
.forge-single-project .project-detail-title { font-family:'IBM Plex Sans', sans-serif; font-size:clamp(2rem, 5vw, 3.4rem); font-weight:700; line-height:1.1; letter-spacing:-0.02em; color:var(--sfd-white); margin:0 0 1.5rem; }
.forge-single-project .project-detail-hero { margin:0 0 2rem; border-radius:6px; overflow:hidden; border:1px solid var(--sfd-steel, rgba(244,238,230,0.08)); }
.forge-single-project .project-detail-hero img { width:100%; height:auto; display:block; }
.forge-single-project .project-detail-body { color:#cfc6ba; line-height:1.7; font-size:1.05rem; }
.forge-single-project .project-detail-body p { margin:0 0 1.1rem; }
.forge-single-project .project-detail-body h2 { font-family:'IBM Plex Sans', sans-serif; color:var(--sfd-white); font-size:1.6rem; margin:2.2rem 0 0.8rem; }
.forge-single-project .project-detail-body h3 { font-family:'IBM Plex Sans', sans-serif; color:var(--sfd-white); font-size:1.25rem; margin:1.8rem 0 0.7rem; }
.forge-single-project .project-detail-body a { color:var(--sfd-orange); }
.forge-single-project .project-detail-body a:hover { color:var(--sfd-cyan); }
.forge-single-project .project-detail-back { margin-top:3rem; padding-top:1.5rem; border-top:1px solid rgba(244,238,230,0.08); }
.forge-single-project .project-detail-back a { font-family:var(--sfd-mono); font-size:0.84rem; color:var(--sfd-orange); text-decoration:none; letter-spacing:0.08em; text-transform:uppercase; }
.forge-single-project .project-detail-back a:hover { color:var(--sfd-cyan); }

/* ─── Curated portfolio grid + project modals (1.11.0) ─── */
.sfd-portfolio-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 76px) clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sfd-portfolio-card {
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(180deg, #2E3137 0%, #1C1E22 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}
.sfd-portfolio-card:hover,
.sfd-portfolio-card:focus-visible {
  border-color: var(--sfd-orange, #ff7a1a);
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.45);
  outline: none;
}
.sfd-portfolio-card:focus-visible {
  box-shadow: 0 0 0 2px var(--sfd-orange, #ff7a1a), 0 18px 42px rgba(0,0,0,0.45);
}
.sfd-portfolio-card-image {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1a1813 0%, #0b0a08 100%);
  overflow: hidden;
}
.sfd-portfolio-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.05);
  transition: transform 0.45s, filter 0.45s;
}
.sfd-portfolio-card:hover .sfd-portfolio-card-image img,
.sfd-portfolio-card:focus-visible .sfd-portfolio-card-image img {
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.1);
}
.sfd-portfolio-card-body {
  padding: 1.1rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.sfd-portfolio-card-tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sfd-orange, #ff7a1a);
  margin: 0;
}
.sfd-portfolio-card-body h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--sfd-white, #f4eee6);
  margin: 0;
}
.sfd-portfolio-card-body p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #cfc6ba;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sfd-portfolio-card-cta {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sfd-cyan, #7fd3e8);
  margin-top: auto;
  padding-top: 0.4rem;
}
.sfd-portfolio-card:hover .sfd-portfolio-card-cta,
.sfd-portfolio-card:focus-visible .sfd-portfolio-card-cta { color: var(--sfd-white, #f4eee6); }

@media (max-width: 980px) {
  .sfd-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .sfd-portfolio-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* Project detail modal — native <dialog> with a centered card and a backdrop click-to-close. */
dialog.sfd-modal {
  border: none;
  padding: 0;
  background: transparent;
  color: var(--sfd-white, #f4eee6);
  max-width: min(880px, calc(100vw - 32px));
  width: 100%;
  max-height: calc(100vh - 32px);
  margin: auto;
}
dialog.sfd-modal::backdrop {
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(4px);
}
dialog.sfd-modal[open] { animation: sfd-modal-in 0.22s ease-out; }
@keyframes sfd-modal-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.sfd-modal-card {
  background: linear-gradient(180deg, #232529 0%, #16171a 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 32px);
  box-shadow: 0 28px 80px rgba(0,0,0,0.55);
}
.sfd-modal-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.4rem 1.5rem 1rem;
  position: relative;
}
.sfd-modal-head .sfd-portfolio-card-tag { margin-top: 0.45rem; }
.sfd-modal-head h2 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(1.4rem, 3.2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  flex: 1;
  padding-right: 2rem;
}
.sfd-modal-close {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--sfd-white, #f4eee6);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.sfd-modal-close:hover,
.sfd-modal-close:focus-visible {
  background: rgba(255,255,255,0.12);
  border-color: var(--sfd-orange, #ff7a1a);
  outline: none;
}
.sfd-modal-figure {
  margin: 0;
  background: linear-gradient(135deg, #1a1813 0%, #0b0a08 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sfd-modal-figure img {
  width: 100%;
  height: auto;
  max-height: 50vh;
  object-fit: cover;
  display: block;
}
.sfd-modal-body {
  padding: 1.3rem 1.5rem 1.5rem;
  color: #d8cfc4;
  line-height: 1.65;
  font-size: 0.98rem;
  overflow-y: auto;
}
.sfd-modal-body p { margin: 0 0 0.9rem; }
.sfd-modal-body p:last-child { margin-bottom: 0; }
.sfd-modal-body h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--sfd-white, #f4eee6);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.4rem 0 0.5rem;
  letter-spacing: -0.005em;
}
.sfd-modal-body h3:first-child { margin-top: 0; }
.sfd-modal-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 50vh;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  margin: 0.4rem 0 1.2rem;
  background: #000;
}
.sfd-modal-inline-figure {
  margin: 0.4rem 0 1.2rem;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, #1a1813 0%, #0b0a08 100%);
}
.sfd-modal-inline-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.sfd-modal-foot {
  padding: 0 1.5rem 1.4rem;
}
@media (max-width: 620px) {
  dialog.sfd-modal { max-width: calc(100vw - 16px); }
  .sfd-modal-head { padding: 1.1rem 1.1rem 0.8rem; }
  .sfd-modal-body { padding: 1.1rem 1.1rem 1.2rem; }
  .sfd-modal-foot { padding: 0 1.1rem 1.2rem; }
}

/* ─── Field note pattern toolkit (1.6.0 — inserter drops for posts) ─── */
.field-note-photo { margin: 32px 0; }
.field-note-photo .wp-block-image { margin: 0; }
.field-note-photo img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(244, 238, 230, 0.10);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  display: block;
  background: linear-gradient(160deg, rgba(36, 33, 25, 0.96), rgba(16, 15, 13, 0.94));
}
.field-note-photo figcaption,
.field-note-photo .wp-element-caption {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.76rem;
  color: #b8afa4;
  text-align: center;
  margin-top: 12px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.field-note-photo-cover { margin: 8px 0 36px; }
.field-note-photo-cover img {
  border-radius: 18px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.field-note-photo-inline { margin: 32px auto; max-width: 720px; }
.field-note-photo-inline img { aspect-ratio: 4 / 3; object-fit: cover; }
.field-note-photo-pair,
.field-note-photo-trio { gap: 14px; }
.field-note-photo-pair .wp-block-image,
.field-note-photo-trio .wp-block-image { height: 100%; display: flex; flex-direction: column; }
.field-note-photo-pair .wp-block-image img,
.field-note-photo-trio .wp-block-image img { flex: 1; aspect-ratio: 4 / 3; object-fit: cover; }
.field-note-photo-pair figcaption,
.field-note-photo-trio figcaption { margin-top: 10px; }
.field-note-photo-aside { align-items: center; gap: clamp(20px, 4vw, 40px); }
.field-note-photo-aside .wp-block-image { margin: 0; }
.field-note-photo-aside .field-note-aside-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.field-note-photo-aside h4 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.1rem;
  color: #e07b39;
  margin: 0 0 4px;
  font-weight: 700;
}
.field-note-photo-aside p {
  color: #d8cfc4;
  line-height: 1.62;
  font-size: 1rem;
  margin: 0;
}
.field-note-photo-aside ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
}
.field-note-photo-aside li {
  color: #cfc6ba;
  font-size: 0.98rem;
  line-height: 1.55;
}
@media (max-width: 720px) {
  .field-note-photo-aside .field-note-aside-copy { padding-top: 4px; }
}
.field-note-pull-quote {
  border-left: 3px solid #e07b39;
  padding: 8px 0 8px 24px;
  margin: 36px 0;
  background: linear-gradient(90deg, rgba(224, 123, 57, 0.06), transparent 60%);
}
.field-note-pull-quote p {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.34;
  color: #f4eee6;
  font-style: normal;
  margin: 0;
  font-weight: 500;
}
.field-note-pull-quote .field-note-pull-quote-cite {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  color: #b8afa4;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 14px;
  font-style: normal;
}
.field-note-data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.98rem;
  background: rgba(25, 23, 19, 0.6);
  border: 1px solid rgba(244, 238, 230, 0.10);
  border-radius: 12px;
  overflow: hidden;
}
.field-note-data-table th,
.field-note-data-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(244, 238, 230, 0.08);
  text-align: left;
  vertical-align: top;
}
.field-note-data-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e07b39;
  background: rgba(224, 123, 57, 0.08);
  border-bottom: 1px solid rgba(224, 123, 57, 0.28);
}
.field-note-data-table td { color: #d8cfc4; }
.field-note-data-table tbody tr:last-child td { border-bottom: 0; }
.post-body-forge .wp-block-code,
.field-note-code {
  background: rgba(10, 10, 10, 0.7);
  border: 1px solid rgba(244, 238, 230, 0.10);
  border-radius: 12px;
  padding: 0;
  margin: 28px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #f4eee6;
}
.post-body-forge .wp-block-code code,
.field-note-code code {
  background: transparent;
  color: #f4eee6;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.92rem;
  line-height: 1.6;
  padding: 18px 20px;
  display: block;
  overflow-x: auto;
}
@media (max-width: 600px) {
  .field-note-photo-pair,
  .field-note-photo-trio { gap: 10px; }
}
.single-post .site-main,
.post-type-archive .site-main { background: #100f0d; }

/* ─── Engagement filter (portfolio + field notes) ─── */
.sfd-engagement-filter { margin: 1.25rem 0 1.75rem; }
.sfd-engagement-filter .sfd-eyebrow { margin: 0 0 0.6rem; }
.sfd-pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sfd-pill {
  display: inline-block;
  padding: 0.42rem 0.95rem;
  border: 1px solid var(--sfd-steel, #2a2a2a);
  border-radius: 999px;
  color: var(--sfd-silver, #c2c2c2);
  text-decoration: none;
  font-family: var(--sfd-mono, 'JetBrains Mono', monospace);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.sfd-pill:hover { color: var(--sfd-white, #f4eee6); border-color: var(--sfd-orange, #ff6b35); }
.sfd-pill-active {
  color: var(--sfd-white, #f4eee6);
  border-color: var(--sfd-orange, #ff6b35);
  background: rgba(255, 107, 53, 0.12);
}

/* ─── Field notes listing on /blog/ ─── */
.field-notes-listing { margin-top: 0.5rem; }
.field-notes-query { display: flex; flex-direction: column; gap: 1.25rem; }
.field-note-listing-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--sfd-steel, #2a2a2a);
  background: linear-gradient(135deg, rgba(42,42,42,0.4), rgba(10,10,10,0.6));
  align-items: start;
}
.field-note-listing-item .wp-block-post-featured-image { margin: 0; }
.field-note-listing-item .wp-block-post-featured-image img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border: 1px solid rgba(202,202,202,0.18); }
.field-note-listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  font-family: var(--sfd-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sfd-chrome, #b8b8b8);
  margin-bottom: 0.4rem;
}
.field-note-listing-meta .sfd-cat a { color: var(--sfd-orange, #ff6b35); text-decoration: none; }
.field-note-listing-meta .sfd-cat a:hover { color: var(--sfd-cyan, #7fd3e8); }
.field-note-listing-item h3 { margin: 0 0 0.5rem; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.field-note-listing-item h3 a { color: var(--sfd-white, #f4eee6); text-decoration: none; }
.field-note-listing-item h3 a:hover { color: var(--sfd-orange, #ff6b35); }
.field-note-listing-item p { color: var(--sfd-silver, #c2c2c2); margin: 0; line-height: 1.55; }
.field-notes-empty { color: var(--sfd-silver, #c2c2c2); font-style: italic; padding: 1rem 0; }
.field-notes-empty a { color: var(--sfd-orange, #ff6b35); }
@media (max-width: 700px) {
  .field-note-listing-item { grid-template-columns: 1fr; }
  .field-note-listing-item .wp-block-post-featured-image img { aspect-ratio: 16/9; }
}

/* ─── Build-log cross-link to related project ─── */
.field-note-related-project {
  font-family: var(--sfd-mono, 'JetBrains Mono', monospace);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--sfd-silver, #c2c2c2);
  border-left: 2px solid var(--sfd-orange, #ff6b35);
  padding: 0.25rem 0 0.25rem 0.75rem;
  margin: 0.5rem 0 1.25rem;
}
.field-note-related-project a { color: var(--sfd-orange, #ff6b35); text-decoration: none; }
.field-note-related-project a:hover { color: var(--sfd-cyan, #7fd3e8); }

/* ════════════════════════════════════════════════════════════════════════════
   VISUAL REVIEW FIXES (1.10.0)
   Pacing, equal-height rows, oversized assets, orphaned grid items.
   ════════════════════════════════════════════════════════════════════════════ */

/* 1. Home page "How I work" — banner image was 340px tall and dominated the row.
      Contain it and let the layout breathe. */
.sfd-about img {
  max-height: 240px;
  height: auto;
  object-fit: contain;
  background: linear-gradient(160deg, #1a1813 0%, #0b0a08 100%);
}

/* 2. For-employers stat row — three columns need equal heights even when the
      third column's text wraps to more lines. Use grid auto-rows: 1fr on the
      grid parent + min-height on each card so all three stretch to the row
      max, and display:flex on the card so content fills cleanly. */
.sfd-stat-grid { align-items: stretch; }
.sfd-stat-grid > .sfd-stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}
.sfd-stat-grid > .sfd-stat-card p {
  flex: 1;
}

/* 3. Services "Typical engagements" + tags card row was uneven — left card
      taller than the right. Make the grid parent stretch children. */
.service-grid-section {
  display: block; /* section already wraps its content; ensure inner grids stretch */
}
.service-grid-section > .sfd-stat-grid,
.service-grid-section > [style*="grid-template-columns"] {
  align-items: stretch;
}

/* 4. Blog page "Featured note" + topics row and "Build logs / side quests" rows
      were uneven heights. Make the two-column grids stretch children. */
.field-notes-feature {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}
.field-note-topics {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.field-notes-columns {
  align-items: stretch;
}
.field-notes-columns .field-note-column {
  display: flex;
  flex-direction: column;
}

/* 5. Tag archive (and any 3-column card grid) — last row orphan.
      When the last row has 1 card, center it. When the last row has 2,
      span the gap sensibly. The grid items are <li> elements (the inner
      .post-card sits inside the <li>). */
.field-notes-grid > li:nth-last-child(1):nth-child(3n+1) {
  grid-column: 1 / -1;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  justify-self: center;
}
.field-notes-grid > li:nth-last-child(2):nth-child(3n+1) {
  grid-column: 1 / span 2;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  justify-self: center;
}
.field-notes-grid > li:nth-last-child(2):nth-child(3n+2) {
  grid-column: 2 / span 2;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  justify-self: center;
}

/* 6. Tag archive card padding — tighten the vertical rhythm inside each card
      so the list doesn't feel sparse. */
.field-notes-grid .post-card {
  padding: 1.5rem 1.75rem;
}

/* 7. Tag archive spacing — give the grid more breathing room. */
.field-notes-grid {
  gap: 1.25rem;
}

/* 8. Page hero h1 line-height — was 1.0 on .sfd-hero but page-hero children
      get a tighter clamp; harmonize so headlines don't read as too cramped. */
.page-hero h1 {
  line-height: 1.05;
}

/* 9. Slightly tighter section vertical rhythm between blocks to avoid the
      "wall of whitespace" feeling. */
.sfd-rich-page > section + section,
.forge-page > section + section {
  margin-top: -0.5rem;
}

/* 10. Featured image at the top of single posts: cap height so the post hero
       image doesn't dominate when the source image is huge. */
.post-body-forge .wp-block-post-featured-image img,
.field-note-post .wp-block-post-featured-image img {
  max-height: 720px;
  object-fit: cover;
  width: 100%;
}

/* 11. Mobile: tighter top padding on section heroes so first screen shows
       content. */
@media (max-width: 700px) {
  .page-hero { padding: 64px 1.25rem 48px; }
  .sfd-hero-content { padding: 80px 1.25rem 56px; }
  .sfd-about { padding: 56px 1.25rem; gap: 1.5rem; }
  .sfd-about img { max-height: 180px; }
}

/* 12. Landing page capability-card image thumbnails. */
.sfd-cap-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  border-radius: 18px;
  background: linear-gradient(180deg, #2E3137 0%, #1C1E22 100%);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 12px 28px rgba(0,0,0,0.45),
    0 2px 6px rgba(0,0,0,0.35);
  min-height: 320px;
  padding: 0 0 22px;
  overflow: hidden;
  isolation: isolate;
}
a.sfd-cap-card {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
a.sfd-cap-card:hover,
a.sfd-cap-card:focus-visible {
  text-decoration: none;
}
.sfd-cap-card:focus-visible {
  outline: 2px solid var(--sfd-orange, #ff7a1a);
  outline-offset: 3px;
}
/* Image wrapper: image is inside, gradient overlay fades it to card surface */
.sfd-cap-thumb-wrap {
  position: relative;
  width: calc(100% + 2px);
  height: 165px;
  margin: -1px -1px 0;
  overflow: hidden;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  z-index: 0;
}
.sfd-cap-thumb {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 165px !important;
  max-width: none;
  margin: 0;
  padding: 0;
  object-fit: cover;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  filter: saturate(.94) contrast(1.05);
  z-index: 0;
  aspect-ratio: auto !important;
}
/* 5-stop gradient fade: image -> card surface, so the image bottom blends into the card */
.sfd-cap-thumb-wrap::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(46,49,55,0)    0%,
    rgba(46,49,55,0)   55%,
    rgba(46,49,55,0.35) 78%,
    rgba(46,49,55,0.75) 92%,
    #2E3137            100%
  );
  pointer-events: none;
  z-index: 1;
}
/* Orange accent bar that visually links the image to the text below */
.sfd-cap-card::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 165px;
  width: 28px;
  height: 3px;
  background: var(--sfd-orange, #ff7a1a);
  transform: translateX(-50%);
  z-index: 4;
  border-radius: 2px;
}
/* Centered body block */
.sfd-cap-card .sfd-cap-icon {
  position: relative;
  z-index: 2;
  margin-top: 14px;
  margin-bottom: 2px;
  font-size: 1.5rem;
  line-height: 1;
}
.sfd-cap-card h3 {
  font-size: 1rem;
  margin: 2px 0 8px;
  text-align: center;
  padding: 0 8px;
}
.sfd-cap-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
  font-size: 0.84rem;
  text-align: center;
  margin: 0 auto;
  max-width: 30ch;
  padding: 0 12px;
}
@media (max-width: 620px) {
  .sfd-cap-thumb-wrap { height: 140px; }
  .sfd-cap-card::after { top: 140px; }
  .sfd-cap-card { min-height: 290px; padding-bottom: 18px; }
}

/* 13. Lower-half photo treatment — bridge real photos to the MiniMax card style.
   Cap cards use a charcoal surface + 18px radius + 5-stop fade gradient.
   Apply the same chrome + a shared tonal filter so the project photos, the
   "Field Journal" callout, and the "How I Work" image sit on the same
   surface as the cap grid. No HTML changes required. */
.sfd-project-featured .wp-block-post {
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(11,10,8,0) 0%, rgba(11,10,8,0) 55%, rgba(11,10,8,0.45) 80%, #0b0a08 100%),
    linear-gradient(135deg, #1a1813 0%, #0b0a08 100%);
}
.sfd-project-featured .wp-block-post::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,10,8,0) 0%, rgba(11,10,8,0) 55%, rgba(11,10,8,0.35) 80%, rgba(11,10,8,0.78) 95%, #0b0a08 100%);
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}
.sfd-project-featured .sfd-featured-card .wp-block-post-featured-image img {
  border-radius: 18px;
  filter: saturate(.82) contrast(1.05) brightness(.88);
}

.sfd-led-visual {
  border-radius: 18px;
}
.sfd-led-visual img,
.sfd-led-visual .sfd-led-image img,
.sfd-led-visual .wp-block-post-featured-image img {
  border-radius: 18px;
}

.sfd-about img {
  border-radius: 0;
  filter: saturate(.82) contrast(1.05) brightness(.88);
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, #000 6%, #000 94%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
          mask-image:
    linear-gradient(to right,  transparent 0%, #000 6%, #000 94%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
  box-shadow:
    inset 0 80px 100px -40px rgba(11,10,8,0.85),
    inset 0 -180px 110px -30px rgba(11,10,8,0.85);
}

/* Shared orange-tint highlight on the cap-card family. Keeps the lower-half
   photos from feeling pasted-in by giving them a single warm accent that
   matches the cap card orange. */
.sfd-project-featured .wp-block-post::before,
.sfd-about > img {
  /* no-op placeholder so future per-surface accents slot in here without
     re-deriving the layout. */
}
@media (max-width: 620px) {
  .sfd-project-featured .wp-block-post,
  .sfd-project-featured .sfd-featured-card .wp-block-post-featured-image img,
  .sfd-led-visual,
  .sfd-led-visual img,
  .sfd-led-visual .sfd-led-image img,
  .sfd-led-visual .wp-block-post-featured-image img,
  .sfd-about img { border-radius: 0; }
}
/* =========================================================================
   Field Notes journal page (/field-notes/)
   - background image of an open leather journal on a desk
   - index state: centered grid of post cards with editorial text filter strip
   - reader state: single article card on dimmed background
   ========================================================================= */

.page-field-notes-journal{
  position:relative;
  background:#0a0907;
  color:#f4eee6;
  min-height:100vh;
  overflow-x:hidden;
  font-family:'Source Sans 3',system-ui,sans-serif;
}
.page-field-notes-journal::before{
  content:'';position:fixed;inset:0;z-index:0;pointer-events:none;
  background-image:url('assets/field-notes/journal-bg.jpg');
  background-size:cover;background-position:center center;background-repeat:no-repeat;
}
.page-field-notes-journal::after{
  content:'';position:fixed;inset:0;z-index:1;pointer-events:none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 30%, rgba(0,0,0,0) 55%),
    radial-gradient(ellipse at 50% 60%, transparent 55%, rgba(0,0,0,.45) 100%);
}

/* === Header panel === */
.fnj-head{
  position:relative;z-index:10;
  /* Fill the .fnj-wrap parent so the head panel spans the same horizontal
   * space as the two-column .fnj-grid below it (each card is ~530px; together
   * the two columns span the full 1080px .fnj-wrap). Previously the head was
   * capped at 780px which left a 300px gap on the right where the grid below
   * started — visually misaligned. Inner padding keeps the text on a comfortable
   * reading width even though the panel itself fills the row. */
  max-width:100%;margin:0 0 36px;
  padding:24px 28px;
  background:rgba(16,15,13,.78);
  border:1px solid rgba(244,238,230,.18);
  border-radius:18px;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}
.fnj-head .kicker{
  margin:0 0 8px;
  font:600 .7rem/1 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.18em;text-transform:uppercase;color:#e07b39;
}
.fnj-head h1{
  margin:0 0 10px;
  font-size:clamp(1.8rem,3.4vw,2.8rem);
  line-height:1.05;letter-spacing:-.025em;color:#f4eee6;
  font-weight:800;
}
.fnj-head .sub{
  margin:0;color:#b8afa4;font-size:1.02rem;line-height:1.55;
}

/* === Search + filter strip + sort controls === */
.fnj-search{
  display:flex;gap:8px;align-items:stretch;
  margin:18px 0 0;
}
.fnj-search input[type="search"]{
  flex:1;min-width:0;
  background:rgba(244,238,230,.06);
  border:1px solid rgba(244,238,230,.18);
  border-radius:8px;
  color:var(--ink);
  padding:10px 14px;
  font:500 .95rem/1.3 'Source Sans 3',system-ui,sans-serif;
  letter-spacing:0;text-transform:none;
}
.fnj-search input[type="search"]:focus{
  outline:none;border-color:rgba(224,123,57,.7);box-shadow:0 0 0 3px rgba(224,123,57,.12);
}
.fnj-search input[type="search"]::placeholder{color:rgba(216,207,196,.45)}
/* Color the search input's browser-default X clear button to match the site palette. */
.fnj-search input[type="search"]::-webkit-search-cancel-button{
  -webkit-appearance:none;appearance:none;
  width:14px;height:14px;border-radius:50%;
  background:
    linear-gradient(45deg,transparent 45%,#d8cfc4 45%,#d8cfc4 55%,transparent 55%),
    linear-gradient(-45deg,transparent 45%,#d8cfc4 45%,#d8cfc4 55%,transparent 55%);
  cursor:pointer;opacity:.6;transition:opacity .15s;
}
.fnj-search input[type="search"]::-webkit-search-cancel-button:hover{opacity:1}
.fnj-search-btn{
  appearance:none;cursor:pointer;
  background:#e07b39;color:#100f0d;border:0;border-radius:8px;
  padding:0 18px;
  font:600 .72rem/1 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.12em;text-transform:uppercase;
  transition:background .15s;
}
.fnj-search-btn:hover{background:#d96a25}

/* === Editorial filter strip === */
.fnj-filter{
  display:flex;gap:22px;flex-wrap:wrap;align-items:baseline;
  margin:14px 0 0;padding-top:14px;border-top:1px solid rgba(244,238,230,.18);
  font:600 .7rem/1 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.16em;text-transform:uppercase;
}
.fnj-filter button{
  appearance:none;background:none;border:0;cursor:pointer;
  padding:4px 0;color:#b8afa4;position:relative;transition:color .15s;
  display:inline-flex;align-items:baseline;gap:8px;
}
.fnj-filter-count{
  font:500 .6rem/1 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.05em;
  color:rgba(244,238,230,.4);
}
.fnj-filter button:hover{color:#d8cfc4}
.fnj-filter button:hover .fnj-filter-count{color:rgba(244,238,230,.65)}
.fnj-filter button.active{color:#e07b39}
.fnj-filter button.active .fnj-filter-count{color:rgba(224,123,57,.7)}
.fnj-filter button.active::after{
  content:'';position:absolute;left:0;right:0;bottom:-6px;height:2px;background:#e07b39;
}

/* === Sort + result count row === */
.fnj-controls{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  margin:12px 0 4px;
}
.fnj-controls>.fnj-clear{order:2;margin-left:auto}
.fnj-clear{
  font:600 .65rem/1 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.12em;text-transform:uppercase;
  color:#d8cfc4;
  border:1px solid rgba(244,238,230,.22);
  border-radius:6px;
  padding:6px 10px;
  text-decoration:none;
  transition:background .15s, border-color .15s, color .15s;
}
.fnj-clear:hover{background:rgba(224,123,57,.12);border-color:rgba(224,123,57,.5);color:#f4eee6}
.fnj-sort{display:flex;align-items:center;gap:10px}
.fnj-sort-label{
  font:600 .7rem/1 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.14em;text-transform:uppercase;color:#b8afa4;
}
.fnj-sort-select{
  appearance:none;cursor:pointer;
  background:rgba(244,238,230,.06);
  border:1px solid rgba(244,238,230,.18);
  border-radius:8px;
  color:var(--ink);
  padding:7px 30px 7px 12px;
  font:600 .72rem/1 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.1em;text-transform:uppercase;
  background-image:linear-gradient(45deg, transparent 50%, #b8afa4 50%), linear-gradient(135deg, #b8afa4 50%, transparent 50%);
  background-position:calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size:5px 5px, 5px 5px;
  background-repeat:no-repeat;
}
.fnj-sort-select:focus{outline:none;border-color:rgba(224,123,57,.7)}
.fnj-count{
  margin:0;
  font:500 .7rem/1 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.1em;text-transform:uppercase;color:#b8afa4;
}
.fnj-empty{
  position:relative;z-index:10;
  margin:0;
  padding:24px 28px;
  background:rgba(16,15,13,.78);
  border:1px solid rgba(244,238,230,.18);
  border-radius:14px;
  color:#b8afa4;
}
.fnj-empty a{color:#e07b39;text-decoration:underline}


/* === Post grid (2 cols on PC, 1 col on mobile) === */
.fnj-wrap{
  /* Center the whole field-notes UI on wide viewports so the journal
     background image sits on the right as decoration rather than fighting
     the cards. Cards stay a comfortable reading width. */
  max-width:1080px;
  margin:0 auto;
}
.fnj-grid{
  position:relative;z-index:10;
  list-style:none;margin:0;padding:0;
  display:grid;gap:20px;
  grid-template-columns:repeat(2, minmax(0,1fr));
  /* Equalize card heights within each row. The default `align-items: stretch`
   * doesn't always propagate when cards are nested grids (160px thumb + 1fr body
   * with a flex column inside) because the flex column's intrinsic min-content
   * size blocks the outer grid stretch. Explicit `align-items: stretch` plus a
   * `min-height` floor on the cards makes every card in a row share the same
   * height. 304px is the natural height of the tallest card currently in the
   * grid (HELLO LED matrix and Flash Controller); bump if a longer excerpt
   * appears. The grid-auto-rows default auto-flow continues to place the lone
   * BadDoctor card on its own row at row 4. */
  align-items:stretch;
}
@media (max-width:900px){
  .fnj-grid{grid-template-columns:1fr}
}
.fnj-card{
  display:grid;grid-template-columns:160px 1fr;gap:20px;
  background:rgba(16,15,13,.78);
  border:1px solid rgba(244,238,230,.18);
  border-radius:16px;
  padding:18px;
  text-decoration:none;color:inherit;
  transition:transform .15s, box-shadow .15s, border-color .15s;
  min-height:304px;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}
.fnj-card:hover{
  transform:translateY(-2px);
  border-color:rgba(224,123,57,.5);
  box-shadow:0 18px 40px rgba(0,0,0,.5);
}
.fnj-card .thumb{
  aspect-ratio:1/1;border-radius:10px;
  background:linear-gradient(135deg,#3a2820,#1a120c);
  background-size:cover;background-position:center;
  display:grid;place-items:center;
  font:700 .7rem/1 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.18em;text-transform:uppercase;color:rgba(244,238,230,.7);
  border:1px solid rgba(244,238,230,.18);
}
.fnj-card .body{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}
.fnj-card .tag{
  align-self:flex-start;
  font:600 .62rem/1 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.12em;text-transform:uppercase;color:#e07b39;
  border:1px solid rgba(224,123,57,.4);
  padding:3px 9px;border-radius:999px;
}
.fnj-buckets{display:flex;flex-wrap:wrap;gap:4px;margin:2px 0 4px}
.fnj-bucket{
  font:600 .55rem/1 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.12em;text-transform:uppercase;
  color:#d8cfc4;
  background:rgba(244,238,230,.08);
  border:1px solid rgba(244,238,230,.22);
  padding:3px 8px;border-radius:999px;
}
.fnj-bucket-mechanical{color:#b8dceb;border-color:rgba(184,220,235,.5);background:rgba(184,220,235,.08)}
.fnj-bucket-pcb{color:#f7d96c;border-color:rgba(247,217,108,.5);background:rgba(247,217,108,.08)}
.fnj-bucket-firmware{color:#f7b1ce;border-color:rgba(247,177,206,.5);background:rgba(247,177,206,.08)}
.fnj-bucket-software{color:#c8e5b8;border-color:rgba(200,229,184,.5);background:rgba(200,229,184,.08)}
.fnj-bucket-other{color:#cdc4b8;border-color:rgba(205,196,184,.4);background:rgba(205,196,184,.08)}
.fnj-card h3{margin:0;font-size:1.1rem;line-height:1.2;color:#f4eee6;letter-spacing:-.01em}
.fnj-card .meta{
  margin:0;
  font:500 .65rem/1 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.1em;text-transform:uppercase;color:#b8afa4;
}
.fnj-card .excerpt{margin:4px 0 0;color:#d8cfc4;font-size:.92rem;line-height:1.45}
.fnj-card .read{
  margin-top:auto;
  font:600 .68rem/1 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.14em;text-transform:uppercase;
  color:#d8cfc4;  /* was #e07b39 (full orange); desaturated so the orange project tag stays the primary CTA on each card */
  transition:color .15s;
}
.fnj-card:hover .read{color:#e07b39}  /* hover restores the orange accent */

/* === Reader state === */
.page-field-notes-journal.is-reader::after{
  background:
    linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 30%, rgba(0,0,0,.15) 60%, rgba(0,0,0,.4) 100%),
    radial-gradient(ellipse at 50% 50%, transparent 50%, rgba(0,0,0,.55) 100%);
}
.fnj-back{
  display:inline-flex;align-items:center;gap:6px;
  position:relative;z-index:10;
  margin:0 0 24px;
  font:600 .72rem/1 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.14em;text-transform:uppercase;
  color:#e07b39;
  background:rgba(16,15,13,.92);
  border:1px solid rgba(244,238,230,.18);
  border-radius:999px;
  padding:10px 16px;
  text-decoration:none;
  transition:background .15s, border-color .15s;
  white-space:nowrap;max-width:100%;
}
@media (max-width:900px){
  .fnj-back{white-space:normal;font-size:.65rem;letter-spacing:.1em;padding:8px 12px}
}
.fnj-back:hover{background:rgba(224,123,57,.18);border-color:rgba(224,123,57,.5)}
.fnj-reader{
  position:relative;z-index:10;
  max-width:960px;  /* was 780px; widened so the article reads fuller on wide viewports and balances against the journal image */
  margin:0 auto;
  background:rgba(16,15,13,.92);
  border:1px solid rgba(244,238,230,.18);
  border-radius:18px;
  padding:36px 44px;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}
.fnj-reader .kicker{
  margin:0 0 8px;
  font:600 .7rem/1 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.16em;text-transform:uppercase;color:#e07b39;
}
.fnj-reader h1{
  margin:0 0 12px;
  font-size:clamp(1.6rem,3vw,2.4rem);
  line-height:1.05;letter-spacing:-.025em;color:#f4eee6;
}
.fnj-reader .dek{
  margin:0 0 20px;font-size:1.05rem;line-height:1.55;color:#d8cfc4;
}
.fnj-reader hr{border:0;border-top:1px solid rgba(244,238,230,.18);margin:20px 0}
.fnj-reader .body p{margin:0 0 14px;color:#f4eee6;font-size:1.02rem;line-height:1.7}
.fnj-reader .body h2{
  margin:28px 0 12px;
  font-size:1.25rem;line-height:1.2;color:#f4eee6;letter-spacing:-.01em;
}

/* === Field notes project hub + sibling trail === */
.fnj-wrap--reader{margin-top:18px}
.fnj-project-wrap{max-width:960px;margin:0 auto}
.fnj-project-hero{
  position:relative;z-index:10;
  background:rgba(16,15,13,.88);
  border:1px solid rgba(244,238,230,.18);
  border-radius:18px;
  padding:34px 38px;
  margin:0 0 24px;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}
.fnj-project-hero .kicker,
.fnj-project-trail .kicker{
  margin:0 0 8px;
  font:600 .7rem/1 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.16em;text-transform:uppercase;color:#e07b39;
}
.fnj-project-hero h1{
  margin:0 0 12px;
  font-size:clamp(1.8rem,4vw,3rem);
  line-height:1.02;letter-spacing:-.035em;color:#f4eee6;
}
.fnj-project-hero .sub{margin:0 0 16px;max-width:680px;color:#d8cfc4;font-size:1.05rem;line-height:1.55}
.fnj-project-meta{
  margin:0;
  font:600 .72rem/1 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.12em;text-transform:uppercase;color:#b8afa4;
}
.fnj-project-timeline{position:relative;z-index:10;list-style:none;margin:0;padding:0;display:grid;gap:18px}
.fnj-project-step{display:grid;grid-template-columns:42px 1fr;gap:14px;align-items:start}
.fnj-project-step-number{
  display:grid;place-items:center;width:42px;height:42px;border-radius:50%;
  background:rgba(224,123,57,.12);border:1px solid rgba(224,123,57,.42);
  color:#e07b39;font:700 .72rem/1 'JetBrains Mono',ui-monospace,monospace;
}
.fnj-project-card{grid-template-columns:150px 1fr;min-height:180px}
.fnj-project-card h2{margin:0;font-size:1.15rem;line-height:1.2;color:#f4eee6;letter-spacing:-.01em}

/* Project trail at top of reader (compact pill bar) */
.fnj-project-trail{
  position:relative;z-index:10;
  max-width:960px;margin:14px auto 0;
  background:rgba(16,15,13,.84);
  border:1px solid rgba(244,238,230,.16);
  border-radius:14px;
  padding:14px 16px 12px;
}
.fnj-project-trail .kicker{margin:0;font-size:.62rem;letter-spacing:.18em}
.fnj-project-trail-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}
.fnj-project-trail-head .kicker{margin:0}
.fnj-project-hub-link{
  font:600 .62rem/1 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.12em;text-transform:uppercase;
  color:#e07b39;text-decoration:none;
}
.fnj-project-hub-link:hover{color:#f7a87a}
.fnj-project-trail ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.fnj-project-trail li{
  display:inline-flex;align-items:center;gap:8px;
  padding:6px 10px;border-radius:999px;
  background:rgba(244,238,230,.04);
  border:1px solid rgba(244,238,230,.08);
  font:500 .7rem/1.2 'JetBrains Mono',ui-monospace,monospace;
  color:#b8afa4;
}
.fnj-project-trail li.current{border-color:rgba(224,123,57,.45);background:rgba(224,123,57,.1)}
.fnj-project-trail li.current a{color:#f4eee6}
.fnj-project-trail .fnj-project-step{color:#e07b39;display:inline}
.fnj-project-trail a{color:#f4eee6;text-decoration:none}
.fnj-project-trail a:hover{color:#e07b39}
.fnj-project-trail time{color:#b8afa4}

/* Project card on the index (one card per project, not per post) */
.fnj-card--project{border-color:rgba(224,123,57,.32)}
.fnj-card--project:hover{border-color:rgba(224,123,57,.6)}
.fnj-project-children{
  list-style:none;margin:8px 0 10px;padding:0;
  display:grid;gap:3px;
  font:500 .7rem/1.4 'JetBrains Mono',ui-monospace,monospace;
  color:#cdc4b8;
}
.fnj-project-children li{
  position:relative;padding-left:14px;
}
.fnj-project-children li::before{
  content:'·';position:absolute;left:4px;color:#e07b39;
}

/* === Field notes latest (sliding hero) === */
.fnj-hero{
  position:relative;z-index:10;
  margin:8px 0 18px;
  background:rgba(16,15,13,.78);
  border:1px solid rgba(244,238,230,.18);
  border-radius:18px;
  padding:18px 18px 14px;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}
.fnj-hero-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px}
.fnj-hero-head .kicker{
  margin:0;
  font:600 .7rem/1 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.16em;text-transform:uppercase;color:#e07b39;
}
.fnj-hero-sub{
  margin:0;
  font:500 .65rem/1 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.08em;color:#b8afa4;
}
.fnj-hero-viewport{position:relative;display:grid}
.fnj-hero-slide{
  grid-column:1;grid-row:1;
  opacity:0;visibility:hidden;
  transition:opacity .4s ease;
  pointer-events:none;
}
.fnj-hero-slide.is-active{opacity:1;visibility:visible;pointer-events:auto}
.fnj-hero-link{
  display:grid;grid-template-columns:240px 1fr;gap:20px;align-items:stretch;
  text-decoration:none;color:inherit;
  background:rgba(244,238,230,.04);
  border:1px solid rgba(244,238,230,.08);
  border-radius:14px;
  padding:14px;
  transition:background .15s, border-color .15s, transform .15s;
}
.fnj-hero-link:hover{
  background:rgba(224,123,57,.08);
  border-color:rgba(224,123,57,.42);
  transform:translateY(-1px);
}
.fnj-hero-media{
  aspect-ratio:1/1;border-radius:10px;overflow:hidden;
  background:linear-gradient(135deg,#3a2820,#1a120c);
  background-size:cover;background-position:center;
  display:grid;place-items:center;
  font:700 .7rem/1 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.18em;text-transform:uppercase;color:rgba(244,238,230,.7);
  border:1px solid rgba(244,238,230,.12);
}
.fnj-hero-body{display:flex;flex-direction:column;gap:6px;min-width:0;padding:4px 2px}
.fnj-hero-tag{
  align-self:flex-start;
  font:600 .62rem/1 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.12em;text-transform:uppercase;color:#e07b39;
  border:1px solid rgba(224,123,57,.4);
  background:rgba(224,123,57,.08);
  border-radius:999px;padding:6px 10px;
}
.fnj-hero-body h2{margin:4px 0 0;font-size:1.2rem;line-height:1.2;color:#f4eee6;letter-spacing:-.015em}
.fnj-hero-meta{margin:0;font:500 .68rem/1 'JetBrains Mono',ui-monospace,monospace;letter-spacing:.08em;color:#b8afa4}
.fnj-hero-excerpt{margin:0;color:#d8cfc4;font-size:.92rem;line-height:1.45}
.fnj-hero-cta{
  margin-top:auto;
  font:600 .7rem/1 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.12em;text-transform:uppercase;color:#e07b39;
}
.fnj-hero-dots{display:flex;gap:6px;margin-top:10px;justify-content:flex-end}
.fnj-hero-dot{
  width:9px;height:9px;border-radius:50%;
  background:rgba(244,238,230,.18);
  border:1px solid transparent;
  padding:0;cursor:pointer;
  transition:background .15s, border-color .15s, transform .15s;
}
.fnj-hero-dot:hover{background:rgba(244,238,230,.34)}
.fnj-hero-dot.is-active{
  background:#e07b39;border-color:rgba(224,123,57,.6);
  transform:scale(1.15);
}
.fnj-hero-dot:focus-visible{outline:2px solid #e07b39;outline-offset:2px}

/* === Topbar tweaks for journal pages === */
.page-field-notes-journal .wp-site-header,
.page-field-notes-journal .wp-block-template-part.site-header{
  position:relative;z-index:30;
  background:transparent;
}
.page-field-notes-journal .wp-site-header::before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.78), rgba(0,0,0,0));
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  z-index:-1;
}

/* === SFD select (custom dropdown) ===
 * The button + listbox dropdown that replaces native <select> open panels.
 * Trigger and panel share the same dark-cream palette as inputs/buttons.
 * Variants (sfd-select--fnj-sort-select) inherit the existing field-notes
 * sort pill styling.
 */
.sfd-select{
  position:relative;display:block;width:100%;
}
.sfd-select__native{
  position:absolute !important;
  width:1px !important;height:1px !important;
  padding:0 !important;margin:-1px !important;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0 !important;
}
.sfd-select__trigger{
  position:relative;z-index:1;
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  width:100%;
  appearance:none;cursor:pointer;
  background:rgba(244,238,230,.06);
  border:1px solid rgba(244,238,230,.18);
  border-radius:14px;
  color:#f4eee6;
  font:500 1rem/1.4 'Source Sans 3',system-ui,sans-serif;
  letter-spacing:0;text-transform:none;
  padding:13px 44px 13px 15px;
  transition:border-color .18s, background .18s, box-shadow .18s;
}
.sfd-select__trigger:hover{
  border-color:rgba(244,238,230,.32);
  background:rgba(244,238,230,.08);
}
.sfd-select__trigger:focus,
.sfd-select.is-open .sfd-select__trigger{
  outline:none;
  border-color:rgba(224,123,57,.78);
  background:rgba(244,238,230,.08);
  box-shadow:0 0 0 3px rgba(224,123,57,.14);
}
.sfd-select__trigger.is-placeholder .sfd-select__label{color:rgba(216,207,196,.62)}
.sfd-select__label{
  flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;
}
.sfd-select__chevron{
  position:absolute;right:16px;top:50%;transform:translateY(-50%) rotate(45deg);
  width:8px;height:8px;
  border-right:2px solid #b8afa4;
  border-bottom:2px solid #b8afa4;
  pointer-events:none;
  transition:transform .18s, border-color .18s;
}
.sfd-select.is-open .sfd-select__chevron{
  transform:translateY(-65%) rotate(-135deg);
  border-color:#e07b39;
}

.sfd-select__panel{
  position:absolute;left:0;top:0;
  z-index:50;
  background:#0d0c0a;
  border:1px solid rgba(244,238,230,.22);
  border-radius:14px;
  box-shadow:0 18px 40px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.2) inset;
  overflow:hidden;
  display:flex;flex-direction:column;
}
.sfd-select__list{
  list-style:none;margin:0;padding:6px;
  max-height:inherit;overflow-y:auto;
  scrollbar-width:thin;scrollbar-color:rgba(244,238,230,.18) transparent;
}
.sfd-select__list::-webkit-scrollbar{width:8px}
.sfd-select__list::-webkit-scrollbar-thumb{background:rgba(244,238,230,.18);border-radius:4px}
.sfd-select__option{
  position:relative;
  padding:9px 12px;
  border-radius:8px;
  color:#f4eee6;
  font:500 .95rem/1.3 'Source Sans 3',system-ui,sans-serif;
  letter-spacing:0;text-transform:none;
  cursor:pointer;
  transition:background .12s, color .12s;
}
.sfd-select__option.is-disabled{color:rgba(216,207,196,.4);cursor:not-allowed}
.sfd-select__option.is-active,
.sfd-select__option:hover{
  background:rgba(224,123,57,.16);
  color:#f4eee6;
}
.sfd-select__option.is-selected::after{
  content:'✓';position:absolute;right:12px;top:50%;transform:translateY(-50%);
  color:#e07b39;font:600 .9rem/1 'JetBrains Mono',ui-monospace,monospace;
}

/* Variant: the field-notes sort pill (mono uppercase, compact). */
.sfd-select--fnj-sort-select .sfd-select__trigger{
  border-radius:8px;
  padding:7px 32px 7px 12px;
  font:600 .72rem/1 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.1em;text-transform:uppercase;
  color:var(--ink);
}
.sfd-select--fnj-sort-select .sfd-select__panel{
  border-radius:10px;
}
.sfd-select--fnj-sort-select .sfd-select__option{
  padding:7px 12px;
  font:600 .72rem/1.2 'JetBrains Mono',ui-monospace,monospace;
  letter-spacing:.1em;text-transform:uppercase;
}
.sfd-select--fnj-sort-select .sfd-select__option.is-selected::after{
  font:600 .7rem/1 'JetBrains Mono',ui-monospace,monospace;
}

/* Original <select> stays usable when JS is disabled. We keep the native
 * fallback styling but make the panel a dark hint via color-scheme. */
.contact-entry-form select{color-scheme:dark}

/* === Mobile fallback === */
@media (max-width:900px){
  .fnj-filter{gap:14px;font-size:.65rem}
  .fnj-search{flex-wrap:wrap}
  .fnj-search input[type="search"]{font-size:.85rem}
  .fnj-controls{flex-direction:column;align-items:flex-start;gap:8px}
  .fnj-card{grid-template-columns:84px 1fr;gap:12px;padding:12px;min-height:auto}
  .fnj-project-step{grid-template-columns:1fr;gap:8px}
  .fnj-project-step-number{width:34px;height:34px}
  .fnj-project-card{grid-template-columns:84px 1fr}
  .fnj-project-trail{margin:10px 14px 0;padding:12px 12px 10px}
  .fnj-project-trail ol{gap:4px}
  .fnj-project-trail li{padding:4px 8px;font-size:.65rem}
  .fnj-card h3{font-size:1rem}
  .fnj-card .excerpt{font-size:.85rem}
  .fnj-reader{padding:24px 22px}
  .fnj-hero-link{grid-template-columns:1fr;gap:12px;padding:12px}
  .fnj-hero-media{aspect-ratio:16/9}
    .fnj-hero-body h2{font-size:1.05rem}
    .fnj-hero-excerpt{font-size:.85rem}
    .sfd-select__panel{font-size:1rem}
  }

  /* ─── Clients page: availability banner + Upwork CTA + testimonials + recent projects (v1.18.2) ─── */

    /* Defeat the site-wide `.forge-page > section + section { margin-top: -0.5rem }`
     * rule for our new sections. That global rule was pulling every consecutive
     * <section> child up by 8px, which made the Upwork card / testimonials /
     * recent projects / closing CTA visibly stack on top of each other (negative
     * margin causing adjacent cards to overlap). We bump each affected section
     * to clamp(2rem, 4vw, 3rem) so they breathe — same rhythm the other agent
     * applied to the about page in 8af57b9 via `.page-about > .service-grid-section,
     * .page-about > .two-column-panel, .page-about > .page-cta-panel`. Specificity
     * (0,3,1) beats the global rule's (0,2,1). */
    .page-clients > .clients-upwork-band,
    .page-clients > .clients-testimonials,
    .page-clients > .clients-recent-projects,
    .page-clients > .clients-cta-panel {
      margin-top: clamp(2rem, 4vw, 3rem);
    }

    /* Belt-and-braces: the inner cards must not be transformed or have their
       * own negative margins, otherwise the section-level fix above doesn't
       * translate into clean vertical spacing. The .clients-cta-panel is
       * already covered by the section-level rule above, so no extra override. */
      .page-clients .clients-upwork-card,
      .page-clients .clients-testimonial,
      .page-clients .clients-recent-project {
        transform: none;
        margin-top: 0;
        margin-bottom: 0;
      }

    /* Availability banner: lives at the top of the services page, state controlled
     * from Appearance > Customize > Clients Availability. Two visible states:
     *   - accepting: cool/cyan (on-brand with the employers page accent)
     *   - limited:   warm amber-orange, sits next to the existing brand orange without
     *                colliding visually. Optional "Expected return <date>" pill renders
     *                to the right of the headline on wide viewports.
     * 'off' state renders nothing (banner is suppressed server-side).
     */
  .sfd-availability-banner {
    max-width: 1180px;
    margin: clamp(2rem, 4vw, 3rem) auto 0;
    padding: 0 clamp(22px, 5vw, 76px);
  }
  .sfd-availability-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    border-radius: 16px;
    border: 1px solid rgba(127,211,232,.28);
    background: linear-gradient(135deg, rgba(20,32,38,.92), rgba(16,15,13,.92));
    box-shadow: 0 14px 40px rgba(0,0,0,.22);
  }
  .sfd-availability-state-limited .sfd-availability-inner {
    border-color: rgba(224,123,57,.34);
    background: linear-gradient(135deg, rgba(40,26,18,.94), rgba(16,15,13,.92));
  }
  .sfd-availability-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(127,211,232,.12);
    border: 1px solid rgba(127,211,232,.32);
    color: #cfeaf0;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .sfd-availability-state-limited .sfd-availability-pill {
    background: rgba(224,123,57,.14);
    border-color: rgba(224,123,57,.42);
    color: #f4d4be;
  }
  .sfd-availability-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7fd3e8;
    box-shadow: 0 0 0 3px rgba(127,211,232,.18);
    animation: sfd-availability-pulse 2.6s ease-in-out infinite;
  }
  .sfd-availability-state-limited .sfd-availability-dot {
      background: #e07b39;
      box-shadow: 0 0 0 3px rgba(224,123,57,.18);
    }
    /* Closed state: red palette + X glyph (not a pulsing dot). Sits next to the
     * existing brand orange and the amber "limited" palette without colliding
     * visually. Used when Kevin is not taking new client work but still wants
     * a visible "reach out to get on the contact list" CTA instead of a
     * fully-hidden banner (state 'off'). The banner now lives INSIDE the
     * hero section (v1.18.7), so the hero's warm background gradient provides
     * the visual context — no special blending needed on the banner itself. */
    .sfd-availability-state-closed .sfd-availability-inner {
      border-color: rgba(220, 80, 80, .42);
      background: linear-gradient(135deg, rgba(46, 18, 18, .96), rgba(16, 15, 13, .92));
    }
    .sfd-availability-state-closed .sfd-availability-pill {
      background: rgba(220, 80, 80, .14);
      border-color: rgba(220, 80, 80, .48);
      color: #f4cdcd;
    }
    .sfd-availability-x {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: #c44;
      color: #fff;
      font-size: 10px;
      font-weight: 700;
      line-height: 1;
      /* Center the glyph optically — U+2715 has odd metrics in JetBrains Mono. */
      padding-bottom: 1px;
      box-shadow: 0 0 0 3px rgba(220, 80, 80, .18);
    }
  @keyframes sfd-availability-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: .55; }
  }
  .sfd-availability-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
  }
  .sfd-availability-headline {
    color: var(--forge-cream, #f4eee6);
    font-weight: 700;
    font-size: clamp(.95rem, 1.4vw, 1.05rem);
    line-height: 1.3;
  }
  .sfd-availability-message {
    color: #c2b9ad;
    font-size: clamp(.85rem, 1.1vw, .95rem);
    line-height: 1.5;
  }
  .sfd-availability-return {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(244,238,230,.06);
    border: 1px solid rgba(244,238,230,.16);
    color: var(--forge-cream, #f4eee6);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .sfd-availability-return-label {
    color: var(--forge-orange, #e07b39);
  }
  .sfd-availability-cta {
    white-space: nowrap;
  }

  /* Upwork CTA card: replaces the failed iframe embed. Upwork sends
   * X-Frame-Options: SAMEORIGIN so any iframe/object/embed attempt resolves
   * to about:blank in every modern browser (verified 2026-06-24). The card
   * surfaces the Upwork identity (logo, profile link, what to expect) so
   * visitors who want platform-backed procurement still get a clear path.
   */
  .clients-upwork-band {
    max-width: 1180px;
    margin: 28px auto 0;
    padding: 0 clamp(22px, 5vw, 76px);
  }
  .clients-upwork-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    padding: 22px 24px;
    border-radius: 18px;
    border: 1px solid rgba(127,211,232,.22);
    background:
      linear-gradient(135deg, rgba(14,28,33,.92), rgba(16,15,13,.92));
    box-shadow: 0 18px 50px rgba(0,0,0,.22);
  }
  .clients-upwork-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #14a800;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
    flex-shrink: 0;
  }
  .clients-upwork-card-icon img {
    width: 30px;
    height: 30px;
    display: block;
  }
  .clients-upwork-card-copy { min-width: 0; }
  .clients-upwork-card-eyebrow {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--forge-orange, #e07b39);
    margin: 0 0 6px;
  }
  .clients-upwork-card h2 {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.15;
    margin: 0 0 6px;
    color: var(--forge-cream, #f4eee6);
  }
  .clients-upwork-card p {
    margin: 0;
    color: #c2b9ad;
    font-size: .95rem;
    line-height: 1.55;
  }
  .clients-upwork-card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
  .clients-upwork-card-actions .sfd-btn {
    white-space: nowrap;
  }

  /* Testimonials strip: the two verified client reviews. Quoted verbatim from
   * the freelancer-platform reviews Kevin provided; rendered as honest quote
   * cards rather than inflated marketing copy.
   */
  .clients-testimonials {
    max-width: 1180px;
    margin: clamp(2rem, 4vw, 3rem) auto 0;
    padding: 0 clamp(22px, 5vw, 76px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .clients-testimonial {
    border-radius: 18px;
    padding: 26px 26px 24px;
    background: linear-gradient(145deg, rgba(25,23,19,.96), rgba(16,15,13,.92));
    border: 1px solid rgba(244,238,230,.12);
    box-shadow: 0 18px 50px rgba(0,0,0,.22);
    display: grid;
    gap: 14px;
    position: relative;
  }
  .clients-testimonial::before {
    content: '\201C';
    position: absolute;
    top: -14px;
    left: 18px;
    font-family: 'IBM Plex Sans', serif;
    font-size: 4rem;
    line-height: 1;
    color: var(--forge-orange, #e07b39);
    opacity: .85;
  }
  .clients-testimonial blockquote {
    margin: 0;
    padding: 0;
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.55;
    color: var(--forge-cream, #f4eee6);
    font-family: 'IBM Plex Sans', sans-serif;
  }
  .clients-testimonial blockquote::before,
  .clients-testimonial blockquote::after { content: none; }
  .clients-testimonial-meta {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #b8afa4;
  }
  .clients-testimonial-stars {
    color: var(--forge-orange, #e07b39);
    letter-spacing: 2px;
    font-size: .82rem;
  }

  /* Recent projects strip: small "what kind of work lands here" card row.
   * Renders before the working-together CTA so clients can see concrete work
   * examples right next to the engagement call-to-action.
   */
  .clients-recent-projects {
    max-width: 1180px;
    margin: clamp(2rem, 4vw, 3rem) auto 0;
    padding: 0 clamp(22px, 5vw, 76px);
    display: grid;
    gap: 14px;
  }
  .clients-recent-projects-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 18px;
  }
  .clients-recent-projects-head p {
    margin: 0;
    color: var(--forge-orange, #e07b39);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 700;
  }
  .clients-recent-projects-head h2 {
    margin: 6px 0 0;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    line-height: 1.1;
    color: var(--forge-cream, #f4eee6);
  }
  .clients-recent-projects-head a {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--forge-cyan, #7fd3e8);
  }
  .clients-recent-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .clients-recent-project {
    border-radius: 16px;
    border: 1px solid rgba(244,238,230,.12);
    background: linear-gradient(145deg, rgba(22,20,17,.96), rgba(16,15,13,.92));
    padding: 22px;
    display: grid;
    gap: 10px;
    transition: border-color .18s, transform .18s;
  }
  .clients-recent-project:hover {
    border-color: rgba(224,123,57,.32);
    transform: translateY(-2px);
  }
  .clients-recent-project-tag {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--forge-orange, #e07b39);
  }
  .clients-recent-project h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.22;
    color: var(--forge-cream, #f4eee6);
  }
  .clients-recent-project p {
    margin: 0;
    color: #c2b9ad;
    font-size: .92rem;
    line-height: 1.55;
  }
  .clients-recent-project-link {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--forge-cyan, #7fd3e8);
    margin-top: 4px;
  }

  /* Working-together CTA: keep existing visual but pull the Upwork messaging
   * into the panel itself so the closing block reads as one coherent set of
   * engagement paths (contact + Upwork + employer overview).
   */
  .page-cta-panel.clients-cta-panel .clients-cta-upwork-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(20,168,0,.12);
    border: 1px solid rgba(20,168,0,.36);
    color: #c9efc1;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  .page-cta-panel.clients-cta-panel .clients-cta-upwork-line::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #14a800;
    box-shadow: 0 0 0 3px rgba(20,168,0,.18);
  }

  /* Mobile: stack the availability banner, upwork card, testimonials, and
   * recent projects into single columns. Keep the pill readable by letting
   * the inner wrap rather than truncating.
   */
  @media (max-width: 860px) {
    .sfd-availability-inner,
    .clients-upwork-card {
      grid-template-columns: 1fr;
      text-align: left;
    }
    .sfd-availability-cta,
    .clients-upwork-card-actions { justify-self: start; }
    .clients-upwork-card-actions { width: 100%; }
    .clients-testimonials,
    .clients-recent-projects-grid { grid-template-columns: 1fr; }
    .clients-recent-projects-head { grid-template-columns: 1fr; align-items: start; }
    .sfd-availability-return { justify-self: start; }
  }

/* ─── Store page: marketplace-first commerce hub ───────────── */
.page-store {  position: relative;  overflow: hidden;}
.page-store::before {  content: "";  position: absolute;  inset: 0 auto auto 50%;  width: min(680px, 80vw);  height: min(680px, 80vw);  transform: translate(-12%, -38%);  pointer-events: none;  background: radial-gradient(circle, rgba(224,123,57,.18), rgba(60,146,176,.08) 46%, transparent 72%);  filter: blur(2px);}
.store-hero {  position: relative;  padding-top: clamp(5rem, 9vw, 8rem);}
.store-hero h1 {  max-width: 1060px;}
.store-routing-panel,.store-inventory-band,.store-detail-grid,.store-paths-section,.store-catalog-section {  max-width: 1180px;  margin: 0 auto;  padding: clamp(2rem, 5vw, 4.5rem) clamp(22px, 5vw, 76px);  position: relative;}
.store-routing-panel {  display: grid;  grid-template-columns: .95fr 1.05fr;  gap: clamp(24px, 5vw, 64px);  align-items: end;  margin-top: 8px;  border-radius: 24px;  border: 1px solid rgba(244,238,230,.13);  background: linear-gradient(135deg, rgba(224,123,57,.16), rgba(25,23,19,.95) 42%, rgba(60,146,176,.12));  box-shadow: 0 28px 80px rgba(0,0,0,.28);}
.store-routing-panel h2,.store-paths-head h2,.store-inventory-band h2,.store-cta-panel h2,.store-catalog-head h2 {  font-size: clamp(2rem, 4vw, 3.45rem);  line-height: 1;  letter-spacing: -.04em;  margin: 0;}
.store-routing-note {  color: #d8cfc4;  font-size: 1.08rem;  line-height: 1.65;}
.store-paths-head {  display: flex;  justify-content: space-between;  align-items: end;  gap: 24px;  margin-bottom: 22px;}
.store-path-grid {  display: grid;  grid-template-columns: 1.18fr .91fr .91fr;  gap: 18px;}
.store-path-grid-two {  grid-template-columns: 1.05fr .95fr;}
.store-path-card,.store-detail-card {  background: linear-gradient(145deg, rgba(25,23,19,.96), rgba(16,15,13,.93));  border: 1px solid rgba(244,238,230,.12);  border-radius: 20px;  box-shadow: 0 22px 60px rgba(0,0,0,.24);  padding: clamp(22px, 3vw, 32px);}
.store-path-featured {  background: linear-gradient(150deg, rgba(224,123,57,.2), rgba(25,23,19,.98) 45%, rgba(16,15,13,.94));  border-color: rgba(224,123,57,.34);}
.store-path-meta {  display: flex;  align-items: center;  justify-content: space-between;  gap: 12px;  margin-bottom: 18px;}
.store-path-badge {  font-family: 'JetBrains Mono', monospace;  color: #100f0d;  background: #e07b39;  border-radius: 999px;  padding: 7px 11px;  font-size: .68rem;  font-weight: 800;  letter-spacing: .08em;  text-transform: uppercase;}
.store-path-card h3,.store-detail-card h3 {  font-size: clamp(1.35rem, 2vw, 1.75rem);  line-height: 1.05;  margin: 0 0 12px;}
.store-path-card p,.store-detail-card p,.store-inventory-band p {  color: #cfc6ba;  line-height: 1.62;}
.store-card-link {  display: inline-flex;  margin-top: 8px;  color: #ffad72;  font-weight: 800;}
.store-card-link:hover {  color: #f4eee6;}
.store-catalog-section {  margin-top: clamp(1rem, 3vw, 2rem);}
.store-catalog-head {  display: grid;  grid-template-columns: 1fr auto;  gap: 24px;  align-items: end;  margin-bottom: 18px;}
.store-catalog-head p:not(.section-kicker) {  color: #cfc6ba;  max-width: 620px;  line-height: 1.6;}
.store-catalog-count {  font-family: 'JetBrains Mono', monospace;  color: #b8afa4;  border: 1px solid rgba(244,238,230,.14);  border-radius: 999px;  padding: 9px 13px;  font-size: .72rem;  letter-spacing: .1em;  text-transform: uppercase;}
.store-filter-row {  display: flex;  flex-wrap: wrap;  gap: 10px;  margin: 0 0 20px;}
.store-filter-chip {  border: 1px solid rgba(244,238,230,.16);  border-radius: 999px;  background: rgba(25,23,19,.84);  color: #d8cfc4;  cursor: pointer;  font-family: 'JetBrains Mono', monospace;  font-size: .72rem;  font-weight: 800;  letter-spacing: .1em;  padding: 10px 14px;  text-transform: uppercase;  transition: background .18s, border-color .18s, color .18s, transform .18s;}
.store-filter-chip:hover,.store-filter-chip.is-active {  background: #e07b39;  border-color: #e07b39;  color: #100f0d;  transform: translateY(-1px);}
.store-product-grid {  display: grid;  grid-template-columns: repeat(3, minmax(0, 1fr));  gap: 18px;}
.store-product-card {  overflow: hidden;  border-radius: 22px;  border: 1px solid rgba(244,238,230,.12);  background: linear-gradient(145deg, rgba(25,23,19,.97), rgba(16,15,13,.93));  box-shadow: 0 22px 60px rgba(0,0,0,.24);}
.store-product-image {  position: relative;  aspect-ratio: 4 / 3;  overflow: hidden;  background: radial-gradient(circle at 30% 20%, rgba(224,123,57,.28), transparent 34%), linear-gradient(145deg, rgba(60,146,176,.2), rgba(244,238,230,.05));}
.store-product-image img {  width: 100%;  height: 100%;  object-fit: cover;  display: block;}
.store-product-image.is-coming-soon img,.store-product-image.is-coming-soon .store-product-placeholder {  filter: grayscale(1);  opacity: .46;}
.store-product-placeholder {  width: 100%;  height: 100%;  display: grid;  place-items: center;  background: repeating-linear-gradient(135deg, rgba(244,238,230,.09) 0 1px, transparent 1px 16px), radial-gradient(circle at 50% 35%, rgba(224,123,57,.22), transparent 42%);}
.store-product-placeholder span {  font-family: 'JetBrains Mono', monospace;  color: rgba(244,238,230,.82);  border: 1px solid rgba(244,238,230,.2);  border-radius: 14px;  padding: 14px 16px;  letter-spacing: .16em;}
.store-coming-soon-banner {  position: absolute;  left: -44px;  top: 24px;  width: 190px;  transform: rotate(-34deg);  background: #e07b39;  color: #100f0d;  box-shadow: 0 12px 30px rgba(0,0,0,.36);  font-family: 'JetBrains Mono', monospace;  font-size: .68rem;  font-weight: 900;  letter-spacing: .12em;  padding: 8px 12px;  text-align: center;  text-transform: uppercase;}
.store-product-body {  padding: 22px;}
.store-product-meta {  display: flex;  justify-content: space-between;  align-items: center;  gap: 10px;  margin-bottom: 12px;}
.store-product-type,.store-product-price {  font-family: 'JetBrains Mono', monospace;  font-size: .68rem;  font-weight: 800;  letter-spacing: .1em;  text-transform: uppercase;}
.store-product-type {  color: #ffad72;}
.store-product-price {  color: #f4eee6;}
.store-product-card h3 {  font-size: 1.28rem;  line-height: 1.08;  margin: 0 0 10px;}
.store-product-card p {  color: #cfc6ba;  line-height: 1.58;  margin: 0 0 14px;}
.store-product-tags {  display: flex;  flex-wrap: wrap;  gap: 7px;  margin-bottom: 16px;}
.store-product-tags span {  color: #b8afa4;  background: rgba(244,238,230,.07);  border: 1px solid rgba(244,238,230,.1);  border-radius: 999px;  font-size: .72rem;  padding: 5px 8px;}
.store-product-cta {  width: 100%;}
.store-product-cta-disabled {  cursor: default;  opacity: .72;  transform: none !important;}
.store-catalog-loading,.store-catalog-empty,.store-catalog-error {  color: #cfc6ba;  border: 1px dashed rgba(244,238,230,.16);  border-radius: 18px;  padding: 22px;}
.store-inventory-band {  display: grid;  grid-template-columns: auto 1fr;  gap: clamp(20px, 4vw, 42px);  align-items: center;  border-top: 1px solid rgba(244,238,230,.12);  border-bottom: 1px solid rgba(244,238,230,.12);  background: linear-gradient(90deg, rgba(244,238,230,.06), rgba(60,146,176,.08), rgba(244,238,230,.03));}
.store-status-light {  width: clamp(84px, 13vw, 150px);  aspect-ratio: 1;  border-radius: 999px;  background: radial-gradient(circle at 38% 32%, #ffcf91, #e07b39 34%, rgba(224,123,57,.18) 35%, transparent 68%);  box-shadow: 0 0 50px rgba(224,123,57,.28), inset 0 0 0 1px rgba(244,238,230,.16);}
.store-detail-grid {  display: grid;  grid-template-columns: repeat(3, minmax(0, 1fr));  gap: 18px;}
.store-cta-panel {  margin-top: 16px;  margin-bottom: clamp(2rem, 5vw, 4rem);  border-color: rgba(224,123,57,.24);}
@media (max-width: 980px) {  .store-routing-panel,.store-path-grid,.store-detail-grid,.store-product-grid {    grid-template-columns: 1fr;  }  .store-paths-head {    display: block;  }  .store-catalog-head {    grid-template-columns: 1fr;  }}
@media (max-width: 720px) {  .store-routing-panel,.store-inventory-band,.store-detail-grid,.store-paths-section,.store-catalog-section {    padding-left: 22px;    padding-right: 22px;  }  .store-inventory-band {    grid-template-columns: 1fr;  }  .store-status-light {    width: 82px;  }  .store-path-meta {    align-items: flex-start;    flex-direction: column;  }  .store-product-body {    padding: 18px;  }}

/* WPForms contact integration */
.sfd-wpforms-contact {
  width: min(calc(100% - 44px), 780px); margin: clamp(2rem, 5vw, 4rem) auto;
  padding: clamp(22px, 4vw, 38px); border: 1px solid rgba(244,238,230,.14);
  border-radius: 18px; background: linear-gradient(145deg, rgba(28,25,21,.9), rgba(16,15,13,.96));
}
.sfd-wpforms-contact .wpforms-container { width: 100% !important; max-width: none !important; margin: 0 !important; }
.sfd-wpforms-contact .wpforms-field-label { color: #f4eee6 !important; font-weight: 700 !important; }
.sfd-wpforms-contact input[type="text"],
.sfd-wpforms-contact input[type="email"],
.sfd-wpforms-contact textarea {
  width: 100% !important; max-width: none !important; color: #f4eee6 !important;
  background: rgba(16,15,13,.82) !important; border: 1px solid rgba(244,238,230,.18) !important;
  border-radius: 12px !important; padding: 12px 14px !important;
}
.sfd-wpforms-contact input:focus,
.sfd-wpforms-contact textarea:focus { border-color: #7fd3e8 !important; box-shadow: 0 0 0 3px rgba(127,211,232,.14) !important; }
.sfd-wpforms-contact button[type="submit"] { border: 0 !important; border-radius: 999px !important; background: #e07b39 !important; color: #100f0d !important; font-weight: 800 !important; padding: 12px 20px !important; }
.contact-form-privacy { color: #b8afa4; font-size: .86rem; line-height: 1.55; }
.contact-form-privacy a { color: #7fd3e8; }
.sfd-contact-delivery-notice { margin: 0 0 16px; border-radius: 12px; padding: 12px 14px; font-weight: 700; line-height: 1.45; }
.sfd-contact-delivery-notice.is-success { color: #f4eee6; background: rgba(60,146,176,.16); border: 1px solid rgba(127,211,232,.34); }
.sfd-contact-delivery-notice.is-error { color: #fff2e8; background: rgba(224,123,57,.14); border: 1px solid rgba(224,123,57,.42); }

/* Analytics consent */
.footer-analytics-settings { appearance: none; border: 0; background: transparent; color: inherit; cursor: pointer; font: inherit; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.sfd-consent[hidden] { display: none; }
.sfd-consent { position: fixed; z-index: 10000; left: 18px; right: 18px; bottom: 18px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 24px; max-width: 1120px; margin: auto; padding: 18px 20px; border: 1px solid rgba(244,238,230,.2); border-radius: 18px; background: rgba(16,15,13,.98); box-shadow: 0 22px 70px rgba(0,0,0,.52); }
.sfd-consent strong { color: #f4eee6; }
.sfd-consent p { margin: 5px 0 0; color: #cfc6ba; line-height: 1.5; }
.sfd-consent-actions { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.sfd-consent-policy { color: #7fd3e8; font-size: .85rem; }
@media (max-width: 760px) { .sfd-consent { grid-template-columns: 1fr; gap: 14px; } .sfd-consent-actions { flex-wrap: wrap; white-space: normal; } }
