/* The live JCIG palette: paper #fbfaf5, ink #20201d, olive #5f7800.
   Native serif display, quiet UI text, and generous reading columns. */
[hidden] { display: none !important; }
.nav-inner { grid-template-columns: auto 1fr auto; }
.nav-links { gap: clamp(.8rem, 1.5vw, 1.5rem); }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-links a[aria-current="page"] { color: var(--olive-deep); text-decoration: underline; text-underline-offset: 7px; }
.editorial-hero { padding-block: clamp(3.5rem, 7vw, 7rem); }
.editorial-hero h1 { max-width: 17ch; font-size: clamp(3.4rem, 6.5vw, 6.4rem); line-height: 1; }
.editorial-hero .hero-actions { margin-top: 2rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.section-heading h2, .section-title, .company-split h2 { font-size: clamp(2.3rem, 4vw, 3.8rem); }
.section-heading p { max-width: 48ch; color: var(--ink-soft); }
.company-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .7fr); gap: 5rem; align-items: center; }
.company-portrait { margin: 0; }
.company-portrait img { width: 100%; max-height: 480px; object-fit: cover; object-position: top; border-radius: 5px; }
.company-portrait figcaption { display: flex; flex-wrap: wrap; gap: .4rem 1rem; justify-content: space-between; padding-top: .75rem; font-size: .85rem; }
.company-portrait a, .company-prose a, .portfolio-intro a, .resource-links a, .source-note a { text-decoration: underline; text-underline-offset: 3px; color: var(--olive-deep); }
.company-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); }
.company-split p { margin-top: 1.25rem; max-width: 65ch; }
.company-prose p:first-child { margin-top: 0; }
.company-prose h3 { margin-block: 2rem .75rem; font-size: 1.75rem; }
.company-prose h3:first-child { margin-top: 0; }
.company-map { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); background: var(--surface-2); border-radius: 8px; }
.company-map article { padding: clamp(1.5rem, 3vw, 2.75rem); }
.company-map article + article { border-left: 1px solid var(--line-strong); }
.company-map h3 { font-size: 2rem; margin-bottom: 1rem; }
.company-map .read-link { margin-top: 1rem; }
.resource-links { display: flex; flex-direction: column; gap: 1rem; }
.resource-links a { min-height: 44px; padding-block: .5rem; }
.featured-story { display: grid; grid-template-columns: minmax(0,.55fr) minmax(0,1.45fr); background: #e9eddb; border: 1px solid #dce1cb; border-radius: 8px; padding: clamp(1.5rem, 4vw, 3.5rem); gap: clamp(2rem, 5vw, 5rem); }
.feature-context { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.feature-context img { width: 110px; height: 138px; object-fit: cover; object-position: top; border-radius: 3px; }
.feature-context a { font-size: .9rem; text-decoration: underline; }
.featured-story h2 { font-size: clamp(2.1rem, 4vw, 3.7rem); margin-block: 1rem 1.5rem; }
.featured-story article > p { margin-bottom: 1.2rem; }
.feature-note { font-size: .9rem; color: var(--ink-soft); }
.article-meta, .article-byline { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; font-size: .84rem; color: var(--ink-soft); }
.article-meta time { font-variant-numeric: tabular-nums; }
.article-meta > span:first-child { color: var(--olive-deep); font-weight: 650; }
.article-byline { justify-content: space-between; margin-top: 1.25rem; }
.journal-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2.5rem; }
.journal-entry { display: flex; flex-direction: column; padding-top: 1.5rem; border-top: 2px solid var(--line-strong); min-width: 0; }
.journal-entry h2 { font-size: clamp(1.7rem, 2.5vw, 2.2rem); margin-block: 1rem; line-height: 1.13; }
.journal-entry h2 a:hover, .featured-story h2 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.journal-entry > p { color: var(--ink-soft); font-size: .97rem; }
.journal-entry .article-byline { margin-top: auto; padding-top: 1.5rem; }
.read-link { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; color: var(--olive-deep); font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.two-columns { grid-template-columns: repeat(2,minmax(0,1fr)); }
.section-title { margin-bottom: 2rem; }
.filter-tools { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr) auto; gap: 1rem; align-items: end; margin-block: 2rem 3rem; }
.filter-tools label { display: flex; flex-direction: column; gap: .5rem; font-size: .88rem; font-weight: 650; }
.filter-tools input, .filter-tools select { width: 100%; min-height: 48px; padding: .7rem; border: 1px solid var(--line-strong); border-radius: 5px; background: var(--surface); color: var(--ink); font: inherit; font-size: 1rem; }
.filter-tools [data-count] { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; }
.empty-results { padding: 3rem 1rem; background: var(--surface-2); border-radius: 6px; }
.portfolio-intro { width: min(78ch, calc(100% - 48px)); margin-inline: auto; padding-bottom: 1rem; }
.venture-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr) minmax(0,.65fr); gap: 2rem; padding-block: 2rem; border-top: 1px solid var(--line-strong); align-items: start; }
.venture-row h2 { font-size: 1.8rem; margin-top: .65rem; }
.venture-row > p { color: var(--ink-soft); }
.venture-action { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; font-size: .85rem; }
.status-label { border: 1px solid var(--line-strong); background: var(--surface-2); padding: .2rem .6rem; border-radius: 4px; font-weight: 650; }
.status-label.live, .status-label.flagship { color: #3b5618; background: #e9eddb; border-color: #cbd7b8; }
.status-label.beta { color: #15596a; background: #e5f1f3; }
.app-directory { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.app-directory a { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; border: 1px solid var(--line-strong); border-radius: 5px; background: var(--surface); }
.app-directory a:hover { border-color: var(--olive); }
.app-directory span { color: var(--olive-deep); font-size: .85rem; }
.article-hero { padding-block: 3rem; max-width: 1000px; }
.article-hero .article-meta { margin-block: 2rem 1rem; }
.article-hero h1 { font-size: clamp(2.6rem, 5vw, 4.75rem); max-width: 24ch; }
.article-hero .page-lead { max-width: 64ch; }
.article-hero .article-byline { justify-content: flex-start; }
.source-note { margin-top: 1.5rem; color: var(--muted); font-size: .86rem; max-width: 80ch; }
.product-context { padding: 1.5rem; margin-bottom: 2rem; border: 1px solid var(--line-strong); background: var(--surface-2); font-size: .95rem; }
.product-context p { margin-block: .75rem; }
.article-layout { display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1.6fr); gap: clamp(2rem,5vw,5rem); padding-block: 3rem 5rem; border-top: 1px solid var(--line-strong); }
.article-toc nav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: .8rem; font-size: .9rem; }
.article-toc p { font-weight: 700; }
.article-toc a { color: var(--ink-soft); padding-block: .3rem; }
.article-toc a:hover { text-decoration: underline; }
.article-body { max-width: 72ch; font-size: 1.08rem; line-height: 1.8; overflow-wrap: break-word; }
.article-body h2 { margin-block: 3rem 1.25rem; font-size: clamp(1.9rem,3vw,2.7rem); }
.article-body > h2:first-child { margin-top: 0; }
.article-body h3 { margin-block: 2rem 1rem; font-size: 1.75rem; }
.article-body p, .article-body ul, .article-body ol { margin-bottom: 1.4rem; }
.article-body ul, .article-body ol { padding-left: 1.5rem; }
.article-body li { margin-bottom: .6rem; }
.article-body a { color: var(--olive-deep); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.article-body code { padding: .15em .3em; background: var(--surface-2); border-radius: 3px; font-size: .87em; }
.article-faq details { border-top: 1px solid var(--line-strong); padding-block: 1rem; }
.article-faq summary { cursor: pointer; font-weight: 650; min-height: 44px; }
.site-footer { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; padding-block: 3rem; }
.site-footer p { margin-block: 1rem; color: var(--ink-soft); }
.site-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.site-footer nav h2 { font-family: inherit; font-size: 1rem; font-weight: 650; margin-bottom: .5rem; }
.site-footer nav a { min-height: 32px; }
.footer-bar p { font-size: .82rem; }
.home-intro { padding-block: clamp(3rem,6vw,6rem); display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.8fr); gap: clamp(2rem,5vw,5rem); align-items: center; }
.home-intro h1 { max-width: 14ch; font-size: clamp(3.5rem,6.4vw,6rem); line-height: 1; }
.home-intro .hero-sub { font-size: 1.2rem; max-width: 48ch; margin-top: 1.75rem; }
.home-intro .hero-actions { margin-top: 2rem; }
.home-proof { padding: 2rem; background: #e9eddb; border-radius: 7px; }
.home-proof img { width: 92px; height: 118px; object-fit: cover; object-position: top; float: right; margin: 0 0 1rem 1rem; border-radius: 3px; }
.home-proof h2 { font-size: 2rem; margin-block: .8rem; }
.home-proof dl { clear: both; margin: 1.5rem 0 0; }
.home-proof dl div { border-top: 1px solid #cbd3b8; padding-block: .8rem; display: grid; grid-template-columns: 1fr 1.2fr; gap: 1rem; font-size: .9rem; }
.home-proof dd { margin: 0; }
.home-proof dt { color: var(--ink-soft); }
.home-proof > a { margin-top: 1rem; }
.press-grid .section-head { grid-column: 1 / -1; }
.press-download { padding: 2rem; background: #e9eddb; border: 1px solid #dce1cb; border-radius: 6px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.press-download h2 { font-size: 2rem; margin-bottom: .5rem; }
:focus-visible { outline: 3px solid var(--olive-deep); outline-offset: 4px; }
@media (max-width: 1000px) {
 .nav-cta { display: none; }
 .nav-inner { grid-template-columns: auto 1fr; }
 .nav-links { justify-content: flex-end; }
 .journal-grid, .app-directory { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .company-hero { gap: 2rem; }
 .article-layout { grid-template-columns: minmax(0,.55fr) minmax(0,1.45fr); }
}
@media (max-width: 960px) {
 .nav-links { justify-content: center; align-items: center; padding: 5rem 2rem 2rem; }
 .nav-links a { min-height: 48px; }
}
@media (max-width: 740px) {
 .nav-inner { grid-template-columns: 1fr auto; }
 .nav-toggle { grid-column: 2; }
 .nav-links { align-items: stretch; gap: .5rem; }
 .nav-links a { padding-inline: .5rem; }
 .editorial-hero h1, .home-intro h1 { font-size: clamp(3.2rem,12vw,5rem); }
 .home-intro, .company-hero, .company-split, .company-map, .featured-story, .article-layout { grid-template-columns: 1fr; }
 .home-proof { padding: 1.5rem; }
 .company-portrait { max-width: 400px; }
 .company-map article + article { border-left: 0; border-top: 1px solid var(--line-strong); }
 .feature-context { display: none; }
 .section-heading { display: block; }
 .section-heading p { margin-top: 1rem; }
 .journal-grid, .app-directory { grid-template-columns: 1fr; gap: 2rem; }
 .filter-tools { grid-template-columns: 1fr; }
 .filter-tools button { justify-self: start; }
 .venture-row { grid-template-columns: 1fr; gap: .8rem; }
 .venture-action { flex-direction: row; align-items: center; gap: 1rem; }
 .portfolio-intro { margin-inline: auto; }
 .article-toc { border-bottom: 1px solid var(--line-strong); padding-bottom: 1.5rem; }
 .article-toc nav { position: static; }
 .article-body { font-size: 1rem; }
 .site-footer { grid-template-columns: 1fr 1fr; gap: 2rem; }
 .site-footer > div { grid-column: 1 / -1; }
 .footer-bar { align-items: start; gap: 1rem; }
}
@media print {
 .nav, .footer, .article-toc, .filter-tools, .hero-actions { display: none; }
 .article-layout { display: block; }
 body { background: white; color: black; }
 .wrap { width: 100%; }
}
