:root {
    --editorial-ink: #17202b;
    --editorial-paper: #f5f1e8;
    --editorial-rule: #c8c1b4;
    --editorial-accent: #a5412d;
    --editorial-blue: #284766;
    --font-display: 'Manrope', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

body {
    background: var(--editorial-paper);
    color: var(--editorial-ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.topline {
    background: var(--editorial-ink);
    color: #d9d5cc;
    letter-spacing: .08em;
}

.topline a { color: #fff; }
.site-header { background: rgba(245, 241, 232, .97); border-color: var(--editorial-rule); }
.header-inner { height: 88px; }
.brand { font-family: Georgia, serif; font-size: 31px; letter-spacing: -.04em; }
.brand>span:nth-child(2)>span { color: var(--editorial-accent); }
.brand small { font-family: Arial, sans-serif; color: #6e6a64; letter-spacing: .16em; }
.brand-mark {
    width: 38px;
    height: 45px;
    border: 1px solid var(--editorial-ink);
    border-radius: 0;
    background: transparent;
    color: var(--editorial-accent);
    font-size: 27px;
}
.brand-logo {
    display: block;
    width: 224px;
    height: auto;
}
.brand-footer {
    width: max-content;
    padding: 7px 11px;
    background: var(--editorial-paper);
}
.brand-footer .brand-logo { width: 190px; }

.site-header nav { gap: 25px; font-size: 13px; }
.site-header nav>a:hover,.site-header nav>a[aria-current=page] { border-color: var(--editorial-accent); }
.site-header nav .nav-cta { border-radius: 0; background: var(--editorial-accent); }
.site-header nav .nav-cta:hover { background: var(--editorial-ink); }

.hero { background: #f9f7f2; border-color: var(--editorial-rule); }
.hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
    min-height: 590px;
    gap: 72px;
    padding-top: 70px;
    padding-bottom: 74px;
}

.hero h1,.page-hero h1,.resource-hero h1,.library-hero h1 {
    font-weight: 500;
    letter-spacing: -.042em;
}

.hero h1 { max-width: 720px; font-size: clamp(51px, 5.5vw, 70px); line-height: 1.01; }
.hero .lead { max-width: 700px; font-size: 18px; }
.eyebrow { color: #68645e; letter-spacing: .12em; }
.eyebrow>span { background: transparent; color: var(--editorial-accent); border: 1px solid var(--editorial-accent); border-radius: 0; }
.hero-search,.library-search { box-shadow: none; border-color: #aaa398; }
.hero-search button,.library-search button { background: var(--editorial-ink); }
.topic-links a { font-weight: 600; }

.hero-feature {
    min-height: 445px;
    padding: 30px;
    border: 1px solid var(--editorial-ink);
    border-top: 7px solid var(--editorial-accent);
    background: #e8e1d3;
    color: var(--editorial-ink);
    box-shadow: none;
}

.hero-feature:hover { transform: translateY(-3px); }
.feature-number { color: var(--editorial-accent); }
.feature-number span { color: #6c6861; }
.feature-contents { display: grid; border-top: 1px solid #aaa397; margin: 32px 0; }
.feature-contents span { padding: 13px 0; border-bottom: 1px solid #aaa397; font-size: 13px; }
.hero-feature p { color: #625e58; }
.hero-feature h2 { font-size: 36px; line-height: 1.1; }
.hero-feature>div:last-child>span { color: var(--editorial-accent); }

.proof-strip { background: var(--editorial-paper); color: var(--editorial-ink); border-bottom: 1px solid var(--editorial-rule); }
.proof-strip .wrap { min-height: 78px; }
.proof-strip p { color: #5e5a54; }
.proof-strip strong { color: var(--editorial-ink); }
.proof-strip .wrap>div { color: #5f5b55; }

.section { padding-top: 86px; padding-bottom: 90px; }
.section-heading { padding-bottom: 23px; border-bottom: 2px solid var(--editorial-ink); }
.section-heading h2,.newsletter-panel h2,.ownership-band h2 { font-weight: 500; }
.text-link { border-color: var(--editorial-accent); }

.resource-grid { gap: 42px 28px; }
.resource-card { border-top: 1px solid var(--editorial-rule); padding-top: 15px; }
.cover {
    min-height: 250px;
    border-radius: 0;
    padding: 23px;
    background: var(--editorial-blue);
    isolation: isolate;
}

.cover-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.cover:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(11,21,35,.36) 0%, rgba(11,21,35,.1) 34%, rgba(11,21,35,.86) 100%);
    pointer-events: none;
}

.cover:after { content: none; }
.resource-card .cover:hover { transform: translateY(-3px); box-shadow: 0 12px 22px rgba(23,32,43,.12); }
.resource-card .cover:hover .cover-image,.featured-resource .cover:hover .cover-image { transform: scale(1.025); }
.cover strong { max-width: 90%; font-size: 27px; font-weight: 500; text-shadow: 0 2px 18px rgba(0,0,0,.38); }
.cover-kicker { padding: 7px 9px; width: max-content; max-width: 100%; background: rgba(15,25,35,.78); }
.cover-mark { font-family: Georgia, serif; }
.cover-mark span { color: #fff; }
.cover-ink { background: #222c38; }
.cover-rust { background: #9e4634; }
.cover-ochre { background: #9b722f; }
.cover-slate { background: #536171; }
.cover-navy { background: #284766; }
.cover-teal { background: #326f6d; }
.cover-steel { background: #536b7b; }
.cover-paper { background: #ddd3c2; color: #fff; border: 1px solid #aaa296; }
.cover-wine { background: #704151; }
.cover-paper .cover-mark span { color: #fff; }
.resource-card-body { padding: 18px 0 0; }
.meta { min-height: 31px; color: #77716a; line-height: 1.45; }
.meta span { color: var(--editorial-accent); }
.resource-card h3 { font-size: 25px; font-weight: 500; }
.card-audience { margin: 14px 0 6px; padding-top: 12px; border-top: 1px solid #d4cdc1; font-size: 12px!important; font-style: italic; color: #6d6862!important; }

.category-band { background: #e7e0d3; }
.category-grid { border-color: #b9b1a4; }
.category-grid a { border-color: #b9b1a4; }
.category-grid a:hover { background: #f9f7f2; }
.category-grid strong { font-weight: 500; }
.newsletter-panel { border-top: 1px solid var(--editorial-rule); }

.library-hero,.page-hero,.resource-hero { background: #e9e3d8; border-color: var(--editorial-rule); }
.library-hero h1 { font-size: 58px; }
.library-layout { grid-template-columns: 220px 1fr; gap: 58px; }
.filters a[aria-current=page] { color: var(--editorial-accent); }
.result-head { border-bottom: 2px solid var(--editorial-ink); padding-bottom: 18px; }
.result-head h2 { font-weight: 500; }

.resource-hero-grid { grid-template-columns: 1.08fr .72fr; gap: 70px; }
.resource-hero h1 { font-size: 57px; }
.resource-meta span { border-color: #b8b0a4; background: transparent; }
.resource-facts { margin: 32px 0 0; padding-top: 10px; border-top: 1px solid #b9b1a5; }
.resource-facts>div { display: grid; grid-template-columns: 125px 1fr; gap: 18px; padding: 9px 0; border-bottom: 1px solid #cfc7ba; }
.resource-facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #6d6861; }
.resource-facts dd { margin: 0; font-size: 14px; font-weight: 600; }
.cover-large { min-height: 420px; box-shadow: 9px 9px 0 #beb5a8; }
.resource-cover { position: relative; margin: 0; border: 1px solid #a9a093; background: #d8d0c3; box-shadow: 9px 9px 0 #beb5a8; overflow: hidden; }
.resource-cover img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.resource-cover figcaption { display: flex; justify-content: space-between; gap: 18px; padding: 14px 16px; border-top: 1px solid #a9a093; background: var(--editorial-paper); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.resource-cover figcaption span { color: #69645e; }
.resource-detail>article h2 { font-weight: 500; }
.detail-rule { margin-top: 38px; border-top: 2px solid var(--editorial-ink); }
.detail-rule span { display: inline-block; padding-top: 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.detail-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 36px 0; }
.detail-columns h3 { font: 500 23px Georgia,serif; margin: 0 0 10px; }
.detail-columns p { margin: 0; font-size: 14px; color: #625e58; }
.gate,.form-panel { box-shadow: 7px 7px 0 #cfc7bb; }
.button,.newsletter-form>div button { border-radius: 0; background: var(--editorial-accent); }
.button:hover,.newsletter-form>div button:hover { background: var(--editorial-ink); }
.ownership-band { background: var(--editorial-ink); }
.ownership-band .eyebrow,.footer-grid h2 { color: #d9b7a9; }
.site-footer { background: #151b22; }

/* Conventional resource-library homepage inspired by established B2B publishers. */
.portal-masthead {
    background: #e9e3d8;
    border-bottom: 1px solid var(--editorial-rule);
}

.portal-masthead>.wrap { padding-top: 58px; padding-bottom: 55px; }
.portal-title { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr); gap: 55px; align-items: end; }
.portal-title .eyebrow { grid-column: 1/-1; margin-bottom: -30px; }
.portal-title h1 { max-width: 760px; margin: 0; font: 500 clamp(43px,5.5vw,65px)/1.02 Georgia,serif; letter-spacing: -.045em; }
.portal-title>p:last-child { margin: 0 0 5px; font-size: 17px; color: #595650; }
.portal-masthead .hero-search { max-width: 850px; margin-top: 35px; }
.library-shortcuts { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 20px; font-size: 13px; }
.library-shortcuts span { color: #77716a; }
.library-shortcuts a { border-bottom: 1px solid #928b81; font-weight: 700; }

.lead-shelf { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(300px,.65fr); gap: 58px; padding-top: 70px; padding-bottom: 82px; }
.featured-resource { display: grid; grid-template-columns: minmax(250px,.72fr) minmax(0,1fr); gap: 42px; }
.featured-resource .cover-large { min-height: 390px; box-shadow: 7px 7px 0 #c9c0b2; }
.featured-resource h2 { margin: 0 0 18px; font: 500 38px/1.08 Georgia,serif; letter-spacing: -.025em; }
.featured-resource>div>p:not(.eyebrow) { color: #5d5953; }
.featured-resource dl { margin: 27px 0; border-top: 1px solid var(--editorial-rule); }
.featured-resource dl>div { display: grid; grid-template-columns: 85px 1fr; gap: 15px; padding: 9px 0; border-bottom: 1px solid #d3ccc0; }
.featured-resource dt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #756f67; }
.featured-resource dd { margin: 0; font-size: 13px; font-weight: 600; }
.action-row { display: flex; align-items: center; gap: 22px; }
.new-resources { border-top: 4px solid var(--editorial-ink); }
.shelf-heading { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--editorial-rule); }
.shelf-heading h2 { margin: 0; font: 500 25px Georgia,serif; }
.shelf-heading a { font-size: 12px; text-decoration: underline; }
.new-resources ol { margin: 0; padding: 0; list-style: none; counter-reset: latest; }
.new-resources li { counter-increment: latest; border-bottom: 1px solid var(--editorial-rule); }
.new-resources li a { position: relative; display: block; padding: 17px 0 17px 35px; }
.new-resources li a:before { content: counter(latest,decimal-leading-zero); position: absolute; left: 0; top: 18px; font: 700 11px monospace; color: var(--editorial-accent); }
.new-resources li span,.new-resources li small { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: #77716a; }
.new-resources li strong { display: block; margin: 4px 0 7px; font: 500 19px/1.2 Georgia,serif; }

.category-directory { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid #aea699; }
.category-directory>a { display: grid; grid-template-columns: 112px minmax(0,1fr) auto; align-items: center; gap: 20px; padding: 18px 18px 18px 0; border-bottom: 1px solid #aea699; }
.category-directory>a:nth-child(odd) { padding-right: 28px; border-right: 1px solid #aea699; }
.category-directory>a:nth-child(even) { padding-left: 28px; }
.category-directory>a>img { display: block; width: 112px; height: 75px; object-fit: cover; filter: saturate(.82); transition: filter .2s, transform .2s; }
.category-directory>a:hover>img { filter: saturate(1); transform: scale(1.025); }
.category-directory strong { font: 500 25px Georgia,serif; }
.category-directory p { margin: 5px 0 0; font-size: 13px; color: #656059; }
.category-directory>a>span { flex: 0 0 auto; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--editorial-accent); }

.format-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; padding-top: 80px; padding-bottom: 85px; border-bottom: 1px solid var(--editorial-rule); }
.format-section h2 { margin: 0; font: 500 42px/1.08 Georgia,serif; }
.format-section>div:first-child>p:last-child { color: #625e58; }
.format-list { display: grid; grid-template-columns: repeat(2,1fr); align-self: start; border-top: 2px solid var(--editorial-ink); }
.format-list a { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 17px 12px 17px 0; border-bottom: 1px solid var(--editorial-rule); }
.format-list a:nth-child(odd) { padding-right: 18px; border-right: 1px solid var(--editorial-rule); }
.format-list a:nth-child(even) { padding-left: 18px; }
.format-list strong { font-size: 14px; }
.format-list span { display: flex; align-items: center; gap: 5px; font-size: 11px; color: #756f68; }
.format-list .icon { width: 15px; }

.how-library { background: #202d3a; color: #fff; }
.how-library>.wrap { padding-top: 72px; padding-bottom: 78px; }
.how-library .section-heading { border-color: #82909d; }
.how-library .section-heading h2 { color: #fff; }
.how-library .eyebrow { color: #c8d0d6; }
.how-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.how-grid article { padding: 25px 24px 5px 0; border-right: 1px solid #566573; }
.how-grid article+article { padding-left: 24px; }
.how-grid article:last-child { border: 0; }
.how-grid span { font: 700 11px monospace; color: #df8a73; }
.how-grid h3 { margin: 22px 0 10px; font: 500 22px/1.2 Georgia,serif; }
.how-grid p { margin: 0; font-size: 13px; color: #c5cdd3; }

.contributor-band { display: grid; grid-template-columns: 1fr 330px; gap: 70px; align-items: center; padding-top: 76px; padding-bottom: 76px; border-bottom: 1px solid var(--editorial-rule); }
.contributor-band h2 { margin: 0; font: 500 42px/1.08 Georgia,serif; }
.contributor-band>div:first-child>p:last-child { max-width: 760px; color: #625e58; }
.contributor-band>div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

.home-faq { padding-top: 78px; padding-bottom: 80px; }
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 38px; }
.faq-list details { border-top: 1px solid var(--editorial-rule); padding: 18px 0; }
.faq-list summary { cursor: pointer; font-weight: 700; }
.faq-list p { color: #625e58; font-size: 14px; }
.filter-subhead { margin-top: 32px!important; }
.clear-filters { margin-top: 17px; color: var(--editorial-accent); font-weight: 800; }
.related-resources { background: #e9e3d8; padding-top: 75px; padding-bottom: 85px; }
.availability { display: inline-block; margin: 3px 0 7px; padding: 4px 8px; border: 1px solid #bdb5a9; font: 800 10px/1.1 Arial,sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.availability.is-available { border-color: #557263; color: #355844; background: #edf3ee; }
.availability.is-coming { color: #6c655c; background: #f3efe8; }
.gate-coming { align-self: start; }

@media(max-width:900px) {
    .site-header nav { background: var(--editorial-paper); }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-feature { max-width: 520px; }
    .library-layout { grid-template-columns: minmax(0, 1fr); }
    .filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 100%; min-width: 0; overflow: visible; gap: 8px; }
    .filters h2 { display: block; grid-column: 1/-1; margin: 8px 0 2px; }
    .filters a { white-space: normal; border: 1px solid #cbc3b7; padding: 9px 10px; align-items: center; }
    .filters .filter-subhead { margin-top: 20px!important; }
    .filters .clear-filters { grid-column: 1/-1; justify-content: center; }
    .library-results { min-width: 0; }
    .resource-hero-grid { grid-template-columns: 1fr; }
    .resource-cover { width: min(620px,100%); }
    .portal-title { grid-template-columns: 1fr; gap: 20px; }
    .portal-title .eyebrow { margin-bottom: 0; }
    .lead-shelf { grid-template-columns: 1fr; }
    .new-resources { max-width: 650px; }
    .format-section { grid-template-columns: 1fr; gap: 38px; }
    .how-grid { grid-template-columns: repeat(2,1fr); }
    .how-grid article:nth-child(2) { border-right: 0; }
    .how-grid article:nth-child(n+3) { border-top: 1px solid #566573; margin-top: 20px; }
    .contributor-band { grid-template-columns: 1fr; gap: 30px; }
}

@media(max-width:580px) {
    .header-inner { height: 76px; }
    .site-header nav { top: 76px; }
    .brand { font-size: 25px; }
    .brand-mark { width: 34px; height: 40px; }
    .brand-logo { width: 190px; }
    .hero-grid { padding-top: 48px; gap: 45px; }
    .hero h1 { font-size: 45px; }
    .hero-feature { min-height: 385px; padding: 22px; }
    .hero-feature h2 { font-size: 31px; }
    .proof-strip .wrap { padding-top: 20px; padding-bottom: 20px; }
    .resource-grid { gap: 35px; }
    .cover { min-height: 235px; }
    .library-hero h1,.resource-hero h1 { font-size: 43px; }
    .resource-facts>div { grid-template-columns: 100px 1fr; }
    .detail-columns { grid-template-columns: 1fr; }
    .portal-masthead>.wrap { padding-top: 43px; padding-bottom: 45px; }
    .portal-title h1 { font-size: 42px; }
    .portal-title>p:last-child { font-size: 16px; }
    .library-shortcuts { gap: 9px 14px; }
    .lead-shelf { padding-top: 52px; padding-bottom: 60px; gap: 52px; }
    .featured-resource { grid-template-columns: 1fr; gap: 32px; }
    .featured-resource .cover-large { min-height: 340px; }
    .featured-resource h2 { font-size: 33px; }
    .category-directory { grid-template-columns: 1fr; }
    .category-directory>a,.category-directory>a:nth-child(odd),.category-directory>a:nth-child(even) { grid-template-columns: 88px minmax(0,1fr); gap: 14px; padding: 16px 0; border-right: 0; }
    .category-directory>a { align-items: flex-start; }
    .category-directory>a>img { width: 88px; height: 59px; }
    .category-directory>a>span { grid-column: 2; }
    .category-directory strong { font-size: 22px; }
    .format-section { padding-top: 60px; padding-bottom: 65px; }
    .format-section h2,.contributor-band h2 { font-size: 35px; }
    .format-list { grid-template-columns: 1fr; }
    .format-list a,.format-list a:nth-child(odd),.format-list a:nth-child(even) { padding: 15px 0; border-right: 0; }
    .how-library>.wrap { padding-top: 55px; padding-bottom: 60px; }
    .how-grid { grid-template-columns: 1fr; }
    .how-grid article,.how-grid article+article,.how-grid article:nth-child(n+3) { padding: 21px 0; margin: 0; border-right: 0; border-top: 1px solid #566573; }
    .contributor-band { padding-top: 60px; padding-bottom: 60px; }
    .faq-list { grid-template-columns: 1fr; }
}

/* Shared Synergy Spark typography, tuned for BizzTech's editorial layout. */
h1,h2,h3,
.brand,.cover strong,.cover-mark,.category-grid strong,
.new-resources li strong,.category-directory strong {
    font-family: var(--font-display) !important;
}

.hero h1,.page-hero h1,.resource-hero h1,.library-hero h1 {
    line-height: 1.06;
    letter-spacing: -.038em;
}

.portal-title h1 { line-height: 1.08; letter-spacing: -.038em; }
.featured-resource h2,.section-heading h2,.newsletter-panel h2,.ownership-band h2 { line-height: 1.15; }
.eyebrow { font-size: 13px; line-height: 1.55; }
.topline { font-size: 13px; }
.site-header nav { font-size: 15px; }
.text-link,.button,.newsletter-form>div button { font-size: 15px; }
.resource-card-body>p { font-size: 15.5px; line-height: 1.72; }
.meta { font-size: 12px!important; line-height: 1.55; }
.availability { font-family: var(--font-body); font-size: 11.5px; line-height: 1.25; }
.card-audience { font-size: 13.5px!important; }
.cover-kicker { font-family: var(--font-body); font-size: 11.5px; line-height: 1.4; }
.filters h2 { font-size: 13px; }
.filters a { font-size: 14.5px; }
.library-hero>div>p:not(.eyebrow) { font-size: 19px; }
.resource-meta span { font-size: 12px; }
.resource-facts dt { font-size: 12px; }
.resource-facts dd { font-size: 15px; }
.back-link { font-size: 14px; }
.detail-columns p { font-size: 15.5px; line-height: 1.7; }
.editorial-note p { font-size: 14.5px; }
.gate>p:not(.eyebrow),.form-panel>p { font-size: 15px; }
.gate form>label:not(.checkbox),.form-panel form>label:not(.checkbox),.field-row label { font-size: 14px; }
.gate input,.form-panel input,.form-panel textarea { font-size: 16px; }
.checkbox { font-size: 14px!important; line-height: 1.55!important; }
.field-error,.form-error { font-size: 13px; }
.gate form>small { font-size: 13px; line-height: 1.5; }
.submission-list li>span,.big-number { font-family: var(--font-body); font-size: 13px; }
.new-resources li span,.new-resources li small { font-size: 11.5px; line-height: 1.5; }
.new-resources li strong { font-size: 20px; line-height: 1.3; }
.category-directory p { font-size: 14.5px; line-height: 1.55; }
.category-directory>a>span { font-size: 12px; line-height: 1.45; }
.format-list strong { font-size: 15px; }
.format-list span { font-size: 12.5px; }
.how-grid span { font-family: var(--font-body); font-size: 12px; }
.how-grid p { font-size: 15px; line-height: 1.65; }
.faq-list p { font-size: 15.5px; line-height: 1.7; }
.footer-grid>div:first-child>p,.footer-grid>div:not(:first-child) { font-size: 14px; }
.footer-grid h2 { font-size: 12px; }
.footer-bottom { font-size: 13px; }

/* Motion system: purposeful reveals and interaction feedback. */
.motion-enter {
    opacity: 0;
    transform: translate3d(0,24px,0);
    transition:
        opacity var(--motion-slow,600ms) var(--motion-ease,cubic-bezier(.22,1,.36,1)),
        transform var(--motion-slow,600ms) var(--motion-ease,cubic-bezier(.22,1,.36,1));
    transition-delay: var(--enter-delay,0ms);
}

.motion-enter.is-entered {
    opacity: 1;
    transform: translate3d(0,0,0);
}

.motion-reveal {
    opacity: 0;
    transform: translate3d(0,var(--reveal-distance,18px),0);
    transition:
        opacity var(--motion-slow,600ms) var(--motion-ease,cubic-bezier(.22,1,.36,1)),
        transform var(--motion-slow,600ms) var(--motion-ease,cubic-bezier(.22,1,.36,1));
    transition-delay: var(--reveal-delay,0ms);
    will-change: opacity,transform;
}

.motion-reveal.is-revealed {
    opacity: 1;
    transform: translate3d(0,0,0);
    will-change: auto;
}

.site-header {
    transition: transform var(--motion-normal,350ms) var(--motion-ease,cubic-bezier(.22,1,.36,1));
}

.site-header.is-scrolled { box-shadow: 0 9px 25px rgba(23,32,43,.09); }
.brand-logo { transition: transform var(--motion-normal,350ms) var(--motion-ease,cubic-bezier(.22,1,.36,1)); }
.site-header nav>a { position: relative; }
.site-header nav>a:hover,.site-header nav>a[aria-current=page] { border-bottom-color: transparent; }
.site-header nav>a:not(.nav-cta):after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;
    height: 2px;
    background: var(--editorial-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--motion-normal,350ms) var(--motion-ease,cubic-bezier(.22,1,.36,1));
}
.site-header nav>a:not(.nav-cta):hover:after,
.site-header nav>a:not(.nav-cta)[aria-current=page]:after {
    transform: scaleX(1);
    transform-origin: left;
}

.button,.text-link,.hero-search button,.library-search button,.newsletter-form button {
    transition:
        transform var(--motion-fast,180ms) var(--motion-ease,cubic-bezier(.22,1,.36,1)),
        background-color var(--motion-fast,180ms) ease,
        color var(--motion-fast,180ms) ease;
}

.button .icon,.text-link .icon,.format-list .icon {
    transition: transform var(--motion-normal,350ms) var(--motion-ease,cubic-bezier(.22,1,.36,1));
}

.resource-cover { transition: transform var(--motion-normal,350ms) var(--motion-ease,cubic-bezier(.22,1,.36,1)); }
.resource-cover img { transition: transform var(--motion-slow,600ms) var(--motion-ease,cubic-bezier(.22,1,.36,1)); }
.category-directory>a,.format-list>a,.new-resources li a,.filters a,.faq-list details,.submission-list li {
    transition:
        transform var(--motion-normal,350ms) var(--motion-ease,cubic-bezier(.22,1,.36,1)),
        background-color var(--motion-fast,180ms) ease;
}

.hero-search,.library-search,.gate input,.form-panel input,.form-panel textarea {
    transition:
        border-color var(--motion-fast,180ms) ease,
        box-shadow var(--motion-fast,180ms) ease,
        transform var(--motion-fast,180ms) var(--motion-ease,cubic-bezier(.22,1,.36,1));
}

/* Preserve the full entrance timing on elements that also have interaction transitions. */
.motion-enter.hero-search,
.motion-enter.library-search,
.motion-enter.resource-cover {
    transition:
        opacity var(--motion-slow,600ms) var(--motion-ease,cubic-bezier(.22,1,.36,1)),
        transform var(--motion-slow,600ms) var(--motion-ease,cubic-bezier(.22,1,.36,1));
    transition-delay: var(--enter-delay,0ms);
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:after {
    content: "+";
    flex: 0 0 auto;
    color: var(--editorial-accent);
    font: 500 25px/1 var(--font-display);
    transition: transform var(--motion-normal,350ms) var(--motion-ease,cubic-bezier(.22,1,.36,1));
}
.faq-list details[open] summary:after { transform: rotate(45deg); }
.faq-list details[open] p { animation: detail-copy-in var(--motion-normal,350ms) var(--motion-ease,cubic-bezier(.22,1,.36,1)) both; }

.menu-button span {
    transform-origin: center;
    transition: transform var(--motion-normal,350ms) var(--motion-ease,cubic-bezier(.22,1,.36,1)),opacity var(--motion-fast,180ms) ease;
}
.menu-button[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@keyframes detail-copy-in {
    from { opacity: 0; transform: translate3d(0,-8px,0); }
    to { opacity: 1; transform: translate3d(0,0,0); }
}

@keyframes navigation-in {
    from { opacity: 0; transform: translate3d(0,-8px,0); }
    to { opacity: 1; transform: translate3d(0,0,0); }
}

@media(hover:hover) {
    .motion-enabled .brand:hover .brand-logo { transform: translate3d(0,-2px,0); }
    .motion-enabled .button:hover,
    .motion-enabled .hero-search button:hover,
    .motion-enabled .library-search button:hover,
    .motion-enabled .newsletter-form button:hover { transform: translate3d(0,-2px,0); }
    .motion-enabled .button:active,
    .motion-enabled .hero-search button:active,
    .motion-enabled .library-search button:active,
    .motion-enabled .newsletter-form button:active { transform: scale(.97); }
    .motion-enabled .button:hover .icon,
    .motion-enabled .text-link:hover .icon,
    .motion-enabled .format-list a:hover .icon { transform: translate3d(4px,0,0); }
    .motion-enabled .resource-cover:hover { transform: translate3d(0,-3px,0); }
    .motion-enabled .resource-cover:hover img { transform: scale(1.025); }
    .motion-enabled .category-directory>a:hover,
    .motion-enabled .format-list>a:hover,
    .motion-enabled .new-resources li a:hover,
    .motion-enabled .filters a:hover,
    .motion-enabled .submission-list li:hover { transform: translate3d(4px,0,0); }
    .motion-enabled .faq-list details:hover { transform: translate3d(0,-2px,0); }
    .motion-enabled .hero-search:focus-within,
    .motion-enabled .library-search:focus-within { transform: translate3d(0,-2px,0); }
}

@media(max-width:900px) {
    .motion-enabled .site-header nav.open { animation: navigation-in var(--motion-normal,350ms) var(--motion-ease,cubic-bezier(.22,1,.36,1)) both; }
}

@media(prefers-reduced-motion:reduce) {
    .motion-enter,.motion-enter.is-entered,
    .motion-reveal,.motion-reveal.is-revealed {
        opacity: 1!important;
        transform: none!important;
        transition: opacity 150ms linear!important;
        transition-delay: 0ms!important;
    }
}
