/* Joey Escopel Pages: base tokens, reset, layout, type, buttons, shared components.
   Class contract: never rename or remove a shipped class. Only add. */
.je {
  --je-ink: #16213A;
  --je-ink-soft: #2C3958;
  --je-muted: #56617A;
  --je-base: #F5F6F8;
  --je-white: #FFFFFF;
  --je-tint: #F1F3FF;
  --je-tint-2: #E9EDFF;
  --je-rule: #D8DDE6;
  --je-link: #2443D6;
  --je-link-hover: #1A31A8;
  --je-yellow: #FFD84D;
  --je-yellow-soft: #FFE98F;
  --je-max: 1240px;
  --je-gutter: clamp(16px, 4vw, 32px);
  --je-font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--je-font);
  color: var(--je-ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Reset inside the scope so theme spacing does not leak in */
.je :where(p, h1, h2, h3, h4, ul, ol, figure, table, details) { margin: 0; }
.je :where(*) { box-sizing: border-box; }
/* Beats theme block-gap rules such as :root :where(.is-layout-flow) > * */
.je.je-sec :where(*) { margin-block-start: 0; margin-block-end: 0; }
.je.je-sec { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.je .wp-block-group__inner-container { display: contents; }
.je img { max-width: 100%; height: auto; display: block; }
.je a { color: var(--je-link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
.je a:hover { color: var(--je-link-hover); text-decoration-thickness: 2px; }
.je :focus-visible { outline: 3px solid var(--je-link); outline-offset: 3px; border-radius: 2px; }
.je strong { color: var(--je-ink); }

/* Sections */
.je.je-sec { max-width: none; padding: clamp(56px, 7vw, 88px) 0; }
.je.je-bg-base { background: var(--je-base); }
.je.je-bg-white { background: var(--je-white); }
.je.je-bg-tint { background: var(--je-tint); }
.je.je-bg-ink { background: var(--je-ink); color: #DCE1EC; }
.je .je-wrap { width: 100%; max-width: var(--je-max); margin-left: auto !important; margin-right: auto !important; padding: 0 var(--je-gutter); display: flex; flex-direction: column; gap: 1rem; }

/* Type */
.je h1, .je h2, .je h3 { color: var(--je-ink); font-family: var(--je-font); text-wrap: balance; }
.je .je-hero-title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 820; line-height: 1.06; letter-spacing: -.03em; }
.je .je-h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 790; line-height: 1.15; letter-spacing: -.025em; max-width: 24ch; }
.je h3 { font-size: 1.25rem; font-weight: 720; line-height: 1.25; letter-spacing: -.012em; }
.je .je-lede { font-size: clamp(1.06rem, 1.5vw, 1.2rem); line-height: 1.6; color: var(--je-ink-soft); max-width: 58ch; }
.je .je-intro { font-size: 1.06rem; color: var(--je-ink-soft); max-width: 66ch; }
.je .je-note, .je .je-meta { font-size: .9rem; color: var(--je-muted); }
.je .je-eyebrow { font-size: .78rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--je-muted); margin-bottom: -.4rem; }
.je .je-label { font-size: .75rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--je-muted); }
.je .je-label-accent { color: var(--je-link); }
.je .je-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 650; color: var(--je-ink); background: var(--je-tint-2); padding: 4px 12px; border-radius: 4px; }
.je .je-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--je-link); }
.je .je-tag { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--je-ink); background: var(--je-tint-2); padding: 2px 8px; border-radius: 3px; }

/* Highlighter mark (works with the editor's Highlight format too) */
.je mark.has-inline-color, .je .je-q {
  background: linear-gradient(transparent 42%, var(--je-yellow-soft) 42%, var(--je-yellow-soft) 94%, transparent 94%) !important;
  color: inherit !important; padding: 0 .12em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Buttons */
.je .wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.je .wp-block-button .wp-block-button__link {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: .8rem 1.5rem !important; border-radius: 4px !important;
  font: 650 .97rem/1.2 var(--je-font) !important; text-decoration: none !important; border: 2px solid transparent !important;
  transition: background-color .12s ease, border-color .12s ease, color .12s ease;
}
.je .je-btn-yellow .wp-block-button__link { background: var(--je-yellow) !important; color: var(--je-ink) !important; border-color: var(--je-yellow) !important; }
.je .je-btn-yellow .wp-block-button__link:hover { background: var(--je-yellow-soft) !important; border-color: var(--je-yellow-soft) !important; }
.je .je-btn-ink .wp-block-button__link { background: var(--je-ink) !important; color: #fff !important; border-color: var(--je-ink) !important; }
.je .je-btn-ink .wp-block-button__link:hover { background: var(--je-link) !important; border-color: var(--je-link) !important; }
.je .je-btn-ghost .wp-block-button__link { background: transparent !important; color: var(--je-ink) !important; border: 1px solid var(--je-rule) !important; }
.je .je-btn-ghost .wp-block-button__link:hover { background: #fff !important; border-color: var(--je-ink) !important; }
.je .je-btn-text .wp-block-button__link { background: transparent !important; color: var(--je-ink) !important; padding: .8rem .2rem !important; min-height: 48px; text-decoration: underline !important; text-underline-offset: .2em; }
.je .je-btn-dark-ghost .wp-block-button__link { background: rgba(255,255,255,.14) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.14) !important; }
.je .je-btn-dark-ghost .wp-block-button__link:hover { background: rgba(255,255,255,.22) !important; border-color: rgba(255,255,255,.22) !important; }
.je.je-bg-ink :focus-visible { outline-color: var(--je-yellow); }

/* Icons: class on the block, glyph from Material Symbols */
.je .je-ic::before, .je .je-ic-after .wp-block-button__link::after, .je .je-arrow-link a::after, .je .je-checks li::before {
  font-family: "Material Symbols Outlined"; font-weight: 400; font-style: normal; font-size: 1.15em; line-height: 1;
  letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr;
  font-feature-settings: "liga"; -webkit-font-feature-settings: "liga"; font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  display: inline-block; width: 1em; height: 1em; overflow: hidden; vertical-align: -0.18em;
}
.je .je-ic::before { content: var(--je-i); margin-right: .45em; color: var(--je-link); }
.je .je-ic-after .wp-block-button__link::after { content: var(--je-i); }
.je .je-i-arrow_outward { --je-i: "arrow_outward"; }
.je .je-i-build { --je-i: "build"; }
.je .je-i-calendar_today { --je-i: "calendar_today"; }
.je .je-i-chat_bubble { --je-i: "chat_bubble"; }
.je .je-i-open_in_new { --je-i: "open_in_new"; }
.je .je-i-query_stats { --je-i: "query_stats"; }
.je .je-i-verified { --je-i: "verified"; }
.je .je-i-verified_user { --je-i: "verified_user"; }
.je .je-arrow-link { font-weight: 650; }
.je .je-arrow-link a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.je .je-arrow-link a::after { content: "arrow_forward"; }
.je .je-arrow-link a:hover { text-decoration: underline; }

/* Cards and lists shared by pages */
.je .je-checks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.je .je-checks li { position: relative; padding-left: 1.8em; font-size: .95rem; }
.je .je-checks li::before { content: "check_circle"; position: absolute; left: 0; top: .2em; color: var(--je-link); }

/* FAQ (core Details) */
.je .je-faq-inner { max-width: 860px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.je .je-faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: .8rem; }
.je .je-faq-item { background: var(--je-white); border: 1px solid var(--je-rule); border-radius: 4px; padding: 0; }
.je .je-faq-item summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative; font-weight: 700; font-size: 1.06rem; color: var(--je-ink); }
.je .je-faq-item summary::-webkit-details-marker { display: none; }
.je .je-faq-item summary::after {
  content: "expand_more"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); transition: transform .15s ease;
  font-family: "Material Symbols Outlined"; font-size: 1.5rem; font-weight: 400; font-style: normal; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap;
  font-feature-settings: "liga"; -webkit-font-feature-settings: "liga"; width: 1em; height: 1em; overflow: hidden; color: var(--je-muted);
}
.je .je-faq-item[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.je .je-faq-item > :not(summary) { padding: 0 22px 20px; color: var(--je-ink-soft); }

/* Final CTA */
.je.je-final .je-wrap { align-items: center; text-align: center; gap: 1.1rem; }
.je .je-eyebrow-dark { color: #8E99B5; }
.je .je-final-title { color: #fff !important; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 820; letter-spacing: -.03em; }
.je .je-final-text { color: #DCE1EC; font-size: 1.12rem; max-width: 52ch; }
.je .je-final-actions { justify-content: center; margin-top: .6rem; }
.je .je-final-small { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: #8E99B5; margin-top: .6rem; }

/* Footer note */
.je.je-footnote { padding: 36px 0; border-top: 1px solid var(--je-rule); }
.je .je-footnote-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px 48px; font-size: .92rem; }
.je .je-footnote-about { display: flex; flex-direction: column; gap: 6px; max-width: 62ch; }
.je .je-footnote-contact { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-content: start; }
@media (max-width: 760px) { .je .je-footnote-grid { grid-template-columns: 1fr; } }

/* Editor only */
.editor-styles-wrapper .je.je-sec { margin-top: 0; margin-bottom: 0; }

/* Theme title band and boxed content fallback (prefer the theme settings) */
body:has(.je-hero) .entry-hero, body:has(.je-hero) .page-hero-section,
body:has(.je-bloghead) .entry-hero, body:has(.je-bloghead) .page-hero-section { display: none; }

@media (prefers-reduced-motion: reduce) { .je *, .je *::before, .je *::after { transition: none !important; } }

/* Home page sections (also reused by About where class names match) */

/* Hero */
.je.je-hero { padding-top: clamp(48px, 6vw, 80px); }
.je .je-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.je .je-hero-main { display: flex; flex-direction: column; gap: 1.1rem; }
.je .je-hero-actions { margin-top: .4rem; }
@media (max-width: 900px) { .je .je-hero-grid { grid-template-columns: 1fr; } }

/* Evidence card */
.je .je-evidence { background: var(--je-white); border: 1px solid var(--je-rule); border-radius: 6px; padding: 0 22px 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 1px 0 var(--je-rule); }
.je .je-evidence-head { margin: 0 -22px; padding: 18px 22px 14px; background: var(--je-tint); border-bottom: 1px solid var(--je-rule); display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: end; }
.je .je-evidence-head .je-label { grid-column: 1 / -1; }
.je .je-evidence-title { font-size: 1.15rem; font-weight: 720; color: var(--je-ink); }
.je .je-evidence-date { font-size: .85rem; color: var(--je-muted); font-weight: 550; }
.je .je-evidence-rows { background: var(--je-tint); border-radius: 4px; padding: 6px 16px; }
.je .je-evrow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--je-rule); font-size: .92rem; }
.je .je-evrow:last-child { border-bottom: 0; }
.je .je-evrow p:last-child { white-space: nowrap; }
.je .je-evrow strong { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.je .je-evrow span { font-size: .78rem; color: var(--je-muted); }
.je .je-evrow .je-accent strong { color: var(--je-link); }
.je .je-evidence-fix { background: var(--je-tint); border-radius: 4px; padding: 12px 14px; font-size: .92rem; display: flex; flex-direction: column; gap: 4px; }
.je .je-evidence-fix-label { font-weight: 700; color: var(--je-ink); }

/* Trust bar */
.je.je-trust { padding: 22px 0; border-top: 1px solid var(--je-rule); border-bottom: 1px solid var(--je-rule); }
.je .je-trust-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.je .je-trust-cell { padding: 6px 18px; border-left: 1px solid var(--je-rule); }
.je .je-trust-cell:first-child { border-left: 0; padding-left: 0; }
.je .je-trust-big { font-size: 1.35rem; font-weight: 780; color: var(--je-ink); letter-spacing: -.02em; line-height: 1.2; }
.je .je-trust-accent .je-trust-big { color: var(--je-link); }
.je .je-trust-small { font-size: .74rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--je-muted); }
@media (max-width: 900px) {
  .je .je-trust-grid { grid-template-columns: 1fr 1fr; gap: 14px 0; }
  .je .je-trust-cell { border-left: 0; padding-left: 0; }
}

/* Services */
.je .je-snippet { background: var(--je-white); border: 1px solid var(--je-rule); border-radius: 4px; padding: 16px 18px; max-width: 780px; font-size: 1.05rem; margin-top: .4rem; }
.je .je-svc-list { display: flex; flex-direction: column; gap: 14px; margin-top: 1.4rem; }
.je .je-svc { background: var(--je-white); border: 1px solid var(--je-rule); border-radius: 4px; padding: 26px 28px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 10px 40px; }
.je .je-svc-label { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--je-link); margin-bottom: 4px; }
.je .je-svc-body { display: flex; flex-direction: column; gap: 12px; }
.je .je-proof { background: var(--je-tint); padding: 10px 12px; border-radius: 3px; font-size: .9rem; color: var(--je-ink-soft); }
@media (max-width: 760px) { .je .je-svc { grid-template-columns: 1fr; padding: 22px; } }

/* Results */
.je .je-feature { background: var(--je-white); border: 1px solid var(--je-rule); border-radius: 6px; margin-top: 1.6rem; overflow: hidden; }
.je .je-feature-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 28px; background: var(--je-tint); border-bottom: 1px solid var(--je-rule); }
.je .je-feature-headtext { display: flex; flex-direction: column; gap: 4px; }
.je .je-feature-headtext h3 { font-size: 1.5rem; }
.je .je-feature-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; padding: 24px 28px 28px; }
.je .je-feature-text { display: flex; flex-direction: column; gap: 16px; }
.je .je-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.je .je-metric { background: var(--je-tint); border-radius: 4px; padding: 16px 18px; }
.je .je-metric-big { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 820; letter-spacing: -.03em; line-height: 1.05; color: var(--je-ink); font-variant-numeric: tabular-nums; }
.je .je-metric-accent .je-metric-big { color: var(--je-link); }
.je .je-metric-small { font-size: .8rem; font-weight: 600; color: var(--je-muted); margin-top: 4px; }
.je .je-case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 1.6rem; }
.je .je-case { background: var(--je-white); border: 1px solid var(--je-rule); border-radius: 6px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.je .je-case-top { display: flex; justify-content: space-between; gap: 8px; }
.je .je-case-tag { font-size: .74rem; font-weight: 700; color: var(--je-ink-soft); }
.je .je-case-body { font-size: .94rem; }
.je .je-case-proof { list-style: none; padding: 12px 14px; background: var(--je-tint); border-radius: 4px; display: flex; flex-direction: column; gap: 8px; font-size: .9rem; font-weight: 650; color: var(--je-ink); }
.je .je-case .je-arrow-link { margin-top: auto; padding-top: 8px; }
.je .je-quote { background: var(--je-white); border: 1px solid var(--je-rule); border-radius: 6px; padding: clamp(24px, 3vw, 36px); max-width: 900px; width: 100%; margin: 2rem auto 0; display: flex; flex-direction: column; gap: 18px; }
.je .je-quote-text { font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.55; color: var(--je-ink); font-style: italic; }
.je .je-quote-by { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 4px 12px; font-size: .92rem; color: var(--je-muted); }
.je .je-midcta { background: var(--je-white); border: 1px solid var(--je-rule); border-radius: 6px; padding: 26px 30px; margin-top: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.je .je-midcta-text { display: flex; flex-direction: column; gap: 4px; }
.je .je-midcta-text p { font-size: .92rem; color: var(--je-muted); }
@media (max-width: 960px) { .je .je-feature-body, .je .je-case-grid { grid-template-columns: 1fr; } }

/* Method */
.je .je-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 1.4rem; }
.je .je-step { background: var(--je-white); border: 1px solid var(--je-rule); border-radius: 6px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.je .je-step-num { width: 40px; height: 40px; display: grid; place-items: center; background: var(--je-ink); color: #fff; font-weight: 750; border-radius: 3px; }
.je .je-workbox { background: var(--je-tint); border-radius: 6px; padding: 28px 30px; margin-top: 1.4rem; display: flex; flex-direction: column; gap: 18px; }
.je .je-work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.je .je-work-item { font-size: .92rem; display: grid; grid-template-columns: auto 1fr; gap: 0 10px; }
.je .je-work-item.je-ic::before { font-size: 1.5em; margin: 0; }
@media (max-width: 900px) { .je .je-steps, .je .je-work-grid { grid-template-columns: 1fr; } }

/* Pricing */
.je .je-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 1.8rem; align-items: stretch; }
.je .je-plan { background: var(--je-white); border: 1px solid var(--je-rule); border-radius: 6px; padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.je .je-plan-lead { border: 2px solid var(--je-ink); }
.je .je-plan-lead::before { content: "Start here"; position: absolute; top: -11px; left: 22px; background: var(--je-ink); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 2px; }
.je .je-plan-lead > .je-label { color: var(--je-link); }
.je .je-price { font-size: clamp(2.2rem, 3.6vw, 2.9rem); font-weight: 820; letter-spacing: -.03em; color: var(--je-ink); line-height: 1; margin-top: 6px; }
.je .je-price-unit { font-size: .82rem; font-weight: 600; color: var(--je-muted); margin-top: -4px; }
.je .je-plan-body { font-size: .94rem; }
.je .je-plan-btn { margin-top: auto; padding-top: 10px; }
.je .je-plan-btn .wp-block-button, .je .je-plan-btn .wp-block-button__link { width: 100%; }
@media (max-width: 900px) { .je .je-plans { grid-template-columns: 1fr; } }

/* 1.1.0: hero with photo card */
.je .je-hero-grid-photo { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; }
.je .je-hero-photo { position: relative; width: 100%; max-width: 460px; justify-self: end; background: linear-gradient(180deg, var(--je-tint) 0%, var(--je-white) 78%); border: 1px solid var(--je-rule); border-radius: 6px; padding: 24px 22px 22px; display: flex; flex-direction: column; align-items: center; }
.je .je-hero-photo-img { width: 100%; margin: 0 !important; }
.je .je-hero-photo-img img { width: 100%; max-height: 440px; object-fit: contain; object-position: center bottom; }
.je .je-namecard { position: relative; z-index: 1; width: 100%; margin-top: -34px !important; background: rgba(255, 255, 255, .96); border: 1px solid var(--je-rule); border-radius: 4px; padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.je .je-namecard-text { display: flex; flex-direction: column; gap: 2px; }
.je .je-namecard-name { font-size: 1.15rem; font-weight: 740; color: var(--je-ink); letter-spacing: -.01em; line-height: 1.25; }
.je .je-namecard-role { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--je-link); }
.je .je-namecard-tag { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: .76rem; font-weight: 650; color: var(--je-ink); background: var(--je-tint-2); padding: 5px 10px; border-radius: 999px; }
.je .je-namecard-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--je-link); }
@media (max-width: 900px) {
  .je .je-hero-grid-photo { grid-template-columns: 1fr; }
  .je .je-hero-photo { justify-self: center; max-width: 420px; }
}

/* 1.1.0: trust bar with alternating tinted cells */
.je .je-trust-grid-tint { gap: 8px; }
.je .je-trust-grid-tint .je-trust-cell, .je .je-trust-grid-tint .je-trust-cell:first-child { border-left: 0; padding: 10px 16px; border-radius: 4px; }
.je .je-trust-grid-tint .je-trust-cell:nth-child(even) { background: var(--je-tint); }
@media (max-width: 900px) { .je .je-trust-grid-tint .je-trust-cell:last-child { grid-column: 1 / -1; } }

/* 1.1.0: price on one line ("From US$400 fixed price") */
.je .je-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 6px !important; }
.je .je-price-row .je-price, .je .je-price-row .je-price-unit { margin-top: 0 !important; }
.je .je-price-pre { font-size: .82rem; font-weight: 600; color: var(--je-muted); }

/* About page sections. Scoped to About-only classes so the homepage is untouched. */
.je .je-about-hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.je .je-portrait { background: var(--je-white); border: 1px solid var(--je-rule); border-top: 3px solid var(--je-ink); border-radius: 6px; overflow: hidden; }
.je .je-portrait-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.je .je-portrait-cap { padding: 14px 20px; border-top: 1px solid var(--je-rule); display: flex; flex-direction: column; gap: 2px; }

.je.je-story, .je.je-hours, .je.je-timeline, .je.je-fit, .je.je-tools { border-top: 1px solid var(--je-rule); }
.je .je-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); margin-top: 1.2rem; }
.je .je-story-col { display: flex; flex-direction: column; gap: 1rem; }
.je .je-callout { background: var(--je-white); border: 1px solid var(--je-rule); border-left: 4px solid var(--je-ink); border-radius: 4px; padding: 16px 20px; color: var(--je-ink); font-weight: 550; }
@media (max-width: 900px) { .je .je-story-grid { grid-template-columns: 1fr; } }

.je .je-hours-table { margin-top: 1rem; background: var(--je-white); border: 1px solid var(--je-rule); border-radius: 6px; overflow-x: auto; }
.je .je-hours-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.je .je-hours-table th { background: #EEF1F6; color: var(--je-ink); text-align: left; padding: 12px 18px; font-weight: 700; border: 0; border-bottom: 1px solid var(--je-rule); }
.je .je-hours-table td { padding: 13px 18px; border: 0; border-bottom: 1px solid var(--je-rule); white-space: nowrap; }
.je .je-hours-table tr:last-child td { border-bottom: 0; }
.je .je-hours-table td:last-child { white-space: normal; }

.je .je-tl { border-left: 2px solid var(--je-rule); margin: 1.2rem 0 0 6px; padding-left: 26px; display: flex; flex-direction: column; gap: 26px; }
.je .je-tl-item { position: relative; display: flex; flex-direction: column; gap: 4px; }
.je .je-tl-item::before { content: ""; position: absolute; left: -33px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--je-ink); border: 2px solid var(--je-base); }
.je .je-tl-now::before { background: var(--je-yellow); border-color: var(--je-ink); }
.je .je-tl-when { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--je-muted); }
.je .je-tl-title { font-size: 1.15rem; }
.je .je-tl-body { font-size: .96rem; max-width: 80ch; }

.je .je-fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 1.2rem; }
.je .je-fit-card { background: var(--je-white); border: 1px solid var(--je-rule); border-radius: 6px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.je .je-fit-yes { border-top: 3px solid var(--je-ink); }
.je .je-fit-no { border-top: 3px solid #B42318; }
.je .je-fit-no h3 { color: #B42318; }
.je .je-fit-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: .95rem; }
.je .je-fit-list li { position: relative; padding-left: 26px; }
.je .je-fit-yes .je-fit-list li::before { content: "\2713"; position: absolute; left: 0; font-weight: 800; color: var(--je-ink); }
.je .je-fit-no .je-fit-list li::before { content: "\2715"; position: absolute; left: 0; font-weight: 800; color: #B42318; }
@media (max-width: 760px) { .je .je-fit-grid { grid-template-columns: 1fr; } }

.je .je-tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 1.2rem; }
.je .je-tool { background: var(--je-white); border: 1px solid var(--je-rule); border-radius: 6px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.je .je-tool h3 { font-size: 1rem; }
.je .je-tool p { font-size: .86rem; color: var(--je-muted); line-height: 1.4; }
.je .je-proofbox { background: var(--je-white); border: 1px solid var(--je-rule); border-radius: 6px; padding: clamp(24px, 3.5vw, 40px); display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 3vw, 44px); align-items: center; margin-top: 2rem; }
.je .je-proofbox-quote { display: flex; flex-direction: column; gap: 12px; }
.je .je-proofbox-nums { border-left: 1px solid var(--je-rule); padding-left: clamp(18px, 2.5vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.je .je-num { font-size: .88rem; color: var(--je-muted); }
.je .je-num-big { font-size: 1.9rem; font-weight: 820; letter-spacing: -.025em; color: var(--je-ink); line-height: 1.05; }
@media (max-width: 900px) {
  .je .je-proofbox { grid-template-columns: 1fr; }
  .je .je-proofbox-nums { border-left: 0; padding-left: 0; border-top: 1px solid var(--je-rule); padding-top: 20px; }
}

/* Blog page: header, category links and the Query Loop grid */
.je.je-bloghead { padding-bottom: 28px; }
.je .je-cats { list-style: none; padding: 0; margin-top: .6rem !important; display: flex; flex-wrap: wrap; gap: 10px; }
.je .je-cats li a { display: inline-block; padding: .5rem 1rem; border: 1.5px solid var(--je-rule); border-radius: 999px; color: var(--je-ink); font-weight: 600; font-size: .92rem; text-decoration: none; background: var(--je-white); }
.je .je-cats li a:hover { border-color: var(--je-ink); }
.je.je-posts { padding-top: 12px; }
.je .je-loop-grid { list-style: none; padding: 0; margin: 0; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 22px; }
.je .je-loop-grid > li { margin: 0 !important; width: auto !important; }
.je .je-loop-grid > li:first-child { grid-column: 1 / -1; }
.je .je-post { background: var(--je-white); border: 1px solid var(--je-rule); border-top: 2px solid var(--je-ink); border-radius: 6px; padding: 22px; height: 100%; display: flex; flex-direction: column; gap: 10px; }
.je .je-loop-grid > li:first-child .je-post { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; align-content: start; }
.je .je-loop-grid > li:first-child .je-post > :not(.je-post-img) { grid-column: 2; }
.je .je-loop-grid > li:first-child .je-post-img { grid-column: 1; grid-row: 1 / span 4; }
.je .je-loop-grid > li:first-child .je-post:not(:has(.je-post-img)) { display: flex; }
.je .je-loop-grid > li:first-child .je-post:not(:has(.je-post-img)) > * { max-width: 72ch; }
.je .je-loop-grid > li:first-child .je-post-title { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.je .je-post-img { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: var(--je-tint-2); margin: 0 0 4px !important; }
.je .je-post-img a { display: block; height: 100%; }
/* Fixed box: a missing or oversized featured image can no longer stretch the card */
.je .je-post-img img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; aspect-ratio: auto; object-fit: cover; border-radius: 0; font-size: 0; color: transparent; }
.je .je-post-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .8rem; color: var(--je-muted); }
.je .je-post-cat a { font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--je-ink); background: var(--je-tint-2); padding: 2px 8px; border-radius: 3px; text-decoration: none; }
.je .je-post-title { font-size: 1.2rem; font-weight: 740; line-height: 1.25; letter-spacing: -.015em; }
.je .je-post-title a { color: var(--je-ink); text-decoration: none; }
.je .je-post-title a:hover { text-decoration: underline; text-decoration-color: var(--je-link); }
.je .je-post-excerpt { font-size: .95rem; display: flex; flex-direction: column; gap: 12px; }
.je .je-post-excerpt .wp-block-post-excerpt__more-text { margin-top: auto; }
.je .je-post-excerpt .wp-block-post-excerpt__more-link { font-weight: 650; text-decoration: none; }
.je .je-post-excerpt .wp-block-post-excerpt__more-link::after { content: " \2192"; }
.je .je-dated { font-size: .88rem; color: var(--je-muted); border-left: 2px solid var(--je-rule); padding-left: 12px; max-width: 70ch; margin-top: 1.4rem !important; }
@media (max-width: 960px) {
  .je .je-loop-grid { grid-template-columns: 1fr !important; }
  .je .je-loop-grid > li:first-child .je-post { display: flex; }
}

/* 1.1.2: pagination under the post grid (only shows when there are more than 12 posts) */
.je .je-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; margin-top: 1.6rem !important; font-weight: 650; font-size: .95rem; }
.je .je-pager a, .je .je-pager .page-numbers { text-decoration: none; color: var(--je-ink); }
.je .je-pager .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--je-rule); border-radius: 4px; background: var(--je-white); }
.je .je-pager a.page-numbers:hover { border-color: var(--je-ink); }
.je .je-pager .page-numbers.current { background: var(--je-ink); border-color: var(--je-ink); color: #fff; }
.je .je-pager .wp-block-query-pagination-previous, .je .je-pager .wp-block-query-pagination-next { color: var(--je-link); }
