/* COP-016: content-led layout additions; accepted image and motion layers are unchanged. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero h1 { font-size: clamp(52px, 5.1vw, 80px); line-height: 1.02; overflow-wrap: break-word; }
.hero__inner { row-gap: 56px; }
.hero__details { min-width: 0; }
.hero__details > p { max-width: 42ch; line-height: 1.65; }
.site-nav { gap: clamp(16px, 1.8vw, 30px); }
.site-nav a { white-space: nowrap; }
.site-nav a[aria-current="page"] { color: var(--signal); }
.profile-panel { max-width: none; }
.profile-field__meta { flex-wrap: wrap; gap: 8px; }
.development__copy { align-items: start; }
.development__copy p, .process-list p, .entry-card p { max-width: 65ch; }
.ecosystem-categories { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ecosystem-category { padding: 30px 24px 30px 0; border-bottom: 1px solid var(--line); font-size: clamp(18px, 2vw, 26px); line-height: 1.35; }
.contact-unavailable { color: var(--muted); font-size: 14px; margin-top: 24px; }
.footer-identifiers { display: grid; grid-template-columns: 1fr; gap: 14px; }
.footer-identifiers > div { display: grid; grid-template-columns: minmax(90px, 140px) minmax(0, 1fr); gap: 14px; }
.footer-identifiers dd { margin: 0; overflow-wrap: anywhere; }
.site-footer__grid { align-items: start; }
.legal-main { padding-top: 150px; }
.content-main { padding-top: clamp(130px, 14vw, 190px); padding-bottom: clamp(80px, 9vw, 140px); min-height: 65vh; }
.content-heading { max-width: 960px; margin-bottom: 48px; }
.content-heading h1 { font-size: clamp(38px, 6vw, 80px); line-height: 1.08; font-weight: 500; letter-spacing: -.045em; margin: 0 0 28px; overflow-wrap: anywhere; }
.content-heading > p { max-width: 65ch; font-size: 18px; color: var(--muted); }
.ir-section + .ir-section { margin-top: 80px; }
.ir-section h2, .admin-main h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.2; font-weight: 500; }
.ir-teaser h2 { font-size: clamp(38px, 5vw, 68px); margin-bottom: 36px; }
.ir-teaser { border-top: 1px solid var(--line); }
.publication-list, .admin-list { list-style: none; padding: 0; margin: 28px 0 36px; }
.publication-list > li, .admin-list > li { padding: 28px 0; border-top: 1px solid var(--line); }
.publication-list h3 { font-size: clamp(22px, 2.3vw, 32px); font-weight: 500; letter-spacing: -.025em; line-height: 1.25; margin: 18px 0; overflow-wrap: anywhere; }
.publication-list p { max-width: 78ch; color: var(--muted); overflow-wrap: anywhere; }
.publication-meta { display: flex; flex-wrap: wrap; gap: 12px 20px; font-family: var(--mono); font-size: 12px; color: var(--muted); line-height: 1.6; }
.publication-badge, .status-badge { color: var(--signal); border: 1px solid var(--line); padding: 2px 8px; }
.publication-actions, .admin-actions { display: flex; gap: 12px 24px; flex-wrap: wrap; }
.publication-link { display: inline-block; padding-block: 10px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.empty-state { padding: 28px; border: 1px solid var(--line); color: var(--muted); }
.result-count { color: var(--muted); font-size: 14px; margin-top: 24px; }
.filter-form { display: flex; gap: 20px; align-items: end; flex-wrap: wrap; padding-block: 20px; border-block: 1px solid var(--line); }
.filter-form label { flex: 1 1 150px; min-width: 0; }
.filter-form > a { padding-block: 12px; }
.filter-form select, .cms-form input:not([type="checkbox"]), .cms-form select, .cms-form textarea, .admin-filter input, .admin-filter select { display: block; width: 100%; min-height: 48px; margin-top: 8px; padding: 12px; background: #101315; color: var(--text); border: 1px solid #626a63; border-radius: 0; font: inherit; font-size: 16px; }
select { color-scheme: dark; }
.cms-form textarea { resize: vertical; line-height: 1.6; }
.filter-form button, .cms-form button, .admin-nav button, .admin-filter button { min-height: 48px; padding: 12px 22px; border: 1px solid var(--signal); background: var(--signal); color: #101510; font: inherit; font-weight: 600; cursor: pointer; }
.report-detail { max-width: 960px; margin-inline: auto; }
.report-detail .content-heading { margin-top: 40px; }
.report-body { max-width: 78ch; line-height: 1.8; overflow-wrap: anywhere; }
.report-body p + p { margin-top: 24px; }
.admin-main { max-width: 1100px; }
.admin-nav { display: flex; align-items: center; gap: 14px 26px; flex-wrap: wrap; border-block: 1px solid var(--line); padding: 18px 0; }
.admin-nav form { margin-left: auto; }
.admin-nav a { padding-block: 10px; }
.admin-nav button { background: transparent; color: var(--text); border-color: var(--line); }
.admin-note { color: var(--muted); max-width: 90ch; font-size: 14px; margin-block: 24px 36px; }
.cms-form { display: grid; gap: 24px; max-width: 840px; }
.cms-form.login-form { max-width: 450px; }
.form-columns, .dashboard-counts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.form-columns > *, .form-field { min-width: 0; }
.dashboard-counts section { border-top: 1px solid var(--line); padding: 12px 0 24px; }
.dashboard-counts dl { display: grid; grid-template-columns: 1fr auto; max-width: 300px; }
.dashboard-counts dd { margin: 0; font-size: 24px; }
.form-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.form-errors { padding: 20px; border: 1px solid #ffaaa2; margin-bottom: 28px; }
.form-errors h2 { margin: 0; font-size: 22px; }
.field-error { color: #ffbcb5; margin: 8px 0 0; }
[aria-invalid="true"] { border-color: #ffbcb5 !important; }
.flash { padding: 18px; border-left: 3px solid var(--signal); background: #171b16; }
.confirmation { display: flex; gap: 14px; align-items: start; }
.confirmation input { width: 22px; height: 22px; flex: 0 0 22px; }
.admin-list h2 { font-size: 24px; margin-bottom: 8px; overflow-wrap: anywhere; }
.admin-filter { display: flex; flex-wrap: wrap; align-items: end; gap: 20px; margin-top: 32px; }
.admin-filter label { flex: 1 1 200px; }
@media (max-width: 1100px) {
    .hero__inner { grid-template-columns: minmax(0, 1.4fr) minmax(270px, 1fr); }
    .site-header__inner { min-height: 72px; }
    .menu-toggle { position: relative; z-index: 3; padding: 12px; display: flex; align-items: center; gap: 10px; cursor: pointer; }
    .menu-toggle__label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
    .menu-toggle__icon { width: 24px; height: 14px; display: flex; flex-direction: column; justify-content: space-between; }
    .menu-toggle__icon i { display: block; width: 100%; height: 1px; background: currentColor; }
    .menu-open .menu-toggle__icon i:first-child { transform: translateY(6.5px) rotate(45deg); }
    .menu-open .menu-toggle__icon i:last-child { transform: translateY(-6.5px) rotate(-45deg); }
    .site-nav { position: fixed; inset: 0; padding: 116px 24px 36px; flex-direction: column; align-items: stretch; gap: 0; background: #111510; visibility: hidden; opacity: 0; pointer-events: none; overflow-y: auto; }
    .menu-open .site-nav { visibility: visible; opacity: 1; pointer-events: auto; }
    .site-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: clamp(26px, 5vw, 44px); font-weight: 500; letter-spacing: -.035em; line-height: 1.2; text-transform: none; white-space: normal; }
    .site-nav a::after { display: none; }
    html:not(.motion-ready) .site-header { position: relative; }
    html:not(.motion-ready) .site-header__inner { height: auto; flex-wrap: wrap; padding-block: 18px; }
    html:not(.motion-ready) .menu-toggle { display: none; }
    html:not(.motion-ready) .site-nav { position: static; padding: 20px 0 0; width: 100%; visibility: visible; opacity: 1; pointer-events: auto; background: transparent; }
    html:not(.motion-ready) .site-nav a { font-size: 18px; }
}
@media (max-width: 768px) {
    .hero__inner { gap: 0; padding-top: 110px; min-height: max(900px, 100svh); }
    .hero__statement { padding-top: 80px; }
    .hero h1 { font-size: clamp(40px, 10.5vw, 68px); line-height: 1.06; }
    .hero__details { margin-top: 24px; }
    .hero__details > p { max-width: none; }
    .ecosystem-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ecosystem-category { padding-block: 24px; font-size: 18px; }
    .form-columns, .dashboard-counts { grid-template-columns: 1fr; }
    .admin-nav form { margin-left: 0; }
    .content-main { padding-top: 120px; }
    .filter-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .filter-form > a { grid-column: 1 / -1; }
    .empty-state { padding: 20px; }
    .footer-identifiers > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 420px) {
    .ecosystem-categories, .filter-form { grid-template-columns: 1fr; }
    .hero__actions { align-items: flex-start; flex-direction: column; }
    .content-heading h1 { font-size: 36px; }
}

/* Keep long CTA labels and client copy in natural flow. */
.entry-point { min-height: 0; }
.entry-point > a { white-space: normal; overflow-wrap: anywhere; }
.hero__actions { flex-wrap: wrap; }
.admin-actions a { padding-block: 10px; }

/* COP-023: report authoring and structured detail */
.report-editor .editor-toolbar, .editor-toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 12px; }
.cms-form .editor-toolbar button { min-height: 40px; padding: 7px 11px; background: #252d28; color: var(--text); border-color: #626a63; font-size: 14px; }
.editor-surface { display: none; min-height: 240px; padding: 16px; border: 1px solid #626a63; background: #101315; line-height: 1.7; overflow-wrap: anywhere; }
.report-editor.is-ready .editor-surface { display: block; }
.report-editor.is-ready textarea { display: none; }
.editor-surface:focus-visible, .editor-toolbar button:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.report-body :is(p,h2,h3,ul,ol), .editor-surface :is(p,h2,h3,ul,ol) { margin: 0 0 1.1em; }
.report-body h2, .editor-surface h2 { font-size: clamp(26px,3vw,38px); line-height: 1.2; }
.report-body h3, .editor-surface h3 { font-size: clamp(21px,2.4vw,29px); line-height: 1.3; }
.report-body :is(ul,ol), .editor-surface :is(ul,ol) { padding-left: 1.6em; }
.report-body li + li, .editor-surface li + li { margin-top: .5em; }
.report-body a { text-decoration: underline; text-underline-offset: 4px; }
