/* Native page layouts, using the existing local fonts and AntExe palette. */
.antexe-pages { min-height: 60vh; overflow-wrap: anywhere; font-size: 16px; }
.antexe-pages .eyebrow { font-size: 13px; line-height: 1.6; }
.antexe-pages > *, .antexe-pages article, .antexe-pages section { min-width: 0; }
.antexe-pages .pages-heading { margin-bottom: 44px; }
.antexe-pages .pages-heading h1 { font-size: clamp(38px, 5.2vw, 72px); line-height: 1.08; }
.antexe-pages .pages-lede { margin-top: 24px; color: #b8b0c0; font-size: 18px; line-height: 1.8; }
.antexe-pages .pages-content { font-size: 18px; line-height: 1.8; }
.antexe-pages .pages-content > :first-child { margin-top: 0; }
.antexe-pages .pages-content iframe, .antexe-pages .pages-content video { max-width: 100%; }
.antexe-pages .pages-content pre { max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; }
.antexe-pages .pages-content table { display: block; max-width: 100%; overflow-x: auto; }
.antexe-pages .pages-content img { height: auto; }
/* About's optional native featured image; no image means no reserved column. */
.antexe-pages--portrait { display: flow-root; }
.antexe-pages .pages-portrait { float: right; width: 360px; max-width: 100%; margin: 0 0 28px 40px; }
.antexe-pages .pages-portrait-image { display: block; width: 100%; height: auto; }
.antexe-pages .pages-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 28px; }
.antexe-pages .pages-actions > * { max-width: 100%; }
.antexe-pages .pages-notice { border: 1px solid #44334f; border-left: 3px solid var(--purple); background: linear-gradient(110deg, #1d1524, var(--panel)); padding: clamp(22px, 3vw, 36px); margin-block: 36px; }
.antexe-pages .pages-notice > :first-child { margin-top: 0; }
.antexe-pages .pages-notice h2 { font-size: clamp(25px, 3vw, 34px); }
.antexe-pages .pages-notice > :last-child { margin-bottom: 0; }
.antexe-pages .pages-briefs { margin-top: 44px; }
.antexe-pages .pages-brief { padding-block: 36px; border-top: 1px solid var(--line); }
.antexe-pages .pages-brief time { display: block; color: var(--coral); margin-bottom: 12px; font-size: 14px; line-height: 1.6; letter-spacing: .02em; }
.antexe-pages .pages-brief h2 { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.25; letter-spacing: -.025em; }
.antexe-pages .pages-brief h2 a:hover, .antexe-pages .pages-project-card a:hover { color: var(--orange); }
.antexe-pages .pages-brief p, .antexe-pages .pages-project-card p { margin-top: 14px; color: #bcb2c3; font-size: 17px; line-height: 1.8; }
.antexe-pages .pages-project-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.antexe-pages .pages-project-group { background: var(--panel); border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); }
.antexe-pages .pages-project-group h2 { font-size: 26px; color: var(--lilac); letter-spacing: -.02em; margin-bottom: 16px; }
.antexe-pages .pages-project-group ul { padding: 0; margin: 0; list-style: none; }
.antexe-pages .pages-project-group li + li { border-top: 1px solid var(--line); }
.antexe-pages .pages-project-group a { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 16px; min-height: 48px; font: 500 17px/1.5 var(--heading); }
.antexe-pages .pages-project-group a span { color: var(--orange); flex: none; }
.antexe-pages .pages-project-group a:hover { color: var(--orange); }
.antexe-pages .pages-project-posts { margin-top: 54px; }
.antexe-pages .pages-project-posts > h2, .antexe-pages .pages-project-overview > h2, .antexe-pages .pages-collection > h2 { font-size: clamp(27px, 3.2vw, 40px); line-height: 1.2; letter-spacing: -.03em; margin-bottom: 28px; }
.antexe-pages .pages-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.antexe-pages .pages-project-card { padding-block: 24px; border-top: 1px solid var(--line); }
.antexe-pages .pages-project-card h3 { font-size: 25px; line-height: 1.3; }
.antexe-pages .pages-collection { margin-top: 38px; }
.antexe-pages .pages-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.antexe-pages .pages-product-image { aspect-ratio: 1; background: var(--panel); border: 1px solid var(--line); margin-bottom: 22px; }
.antexe-pages .pages-product-image img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.antexe-pages .pages-product-card h3 { font-size: 23px; line-height: 1.3; }
.antexe-pages .pages-product-card .text-link { min-height: 44px; color: var(--lilac); margin-top: 10px; }
.antexe-pages .pages-pagination ul { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0; list-style: none; }
.antexe-pages .pages-pagination .page-numbers:not(ul) { display: inline-flex; min-height: 44px; align-items: center; }

/* Editorial reading surface. Content remains native WordPress markup. */
.brief-single { overflow-wrap: anywhere; }
.brief-single > *, .brief-single .entry-content > * { min-width: 0; }
.brief-breadcrumb { margin-bottom: 30px; color: #bcb2c3; font-size: 14px; line-height: 1.6; }
.brief-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; padding: 0; margin: 0; list-style: none; }
.brief-breadcrumb li { min-width: 0; }
.brief-breadcrumb li + li::before { content: "/"; margin-inline: 12px; color: var(--purple); }
.brief-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.brief-breadcrumb a:hover { color: var(--orange); }
.brief-single .brief-heading { border-bottom: 1px solid var(--line); padding-bottom: 32px; margin-bottom: 36px; }
.brief-single .brief-heading h1 { font-size: clamp(34px, 4.8vw, 60px); line-height: 1.12; letter-spacing: -.04em; }
.brief-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 20px; color: #bcb2c3; font-size: 14px; line-height: 1.6; }
.brief-single .brief-meta .eyebrow { margin: 0; color: var(--purple); font-size: 13px; line-height: 1.6; }
.brief-meta time { font-size: 14px; }
.brief-subtitle { max-width: none; margin-top: 24px; color: #c7bdce; font-size: 20px; line-height: 1.65; }
.brief-single .entry-content { max-width: 760px; margin-inline: auto; color: #d7d0dd; font-size: 18px; line-height: 1.8; }
.brief-single .entry-content > :first-child { margin-top: 0; }
.brief-single .entry-content h2 { color: var(--text); font-size: clamp(27px, 3vw, 34px); line-height: 1.25; margin-top: 1.8em; }
.brief-single .entry-content h3 { color: var(--text); font-size: clamp(23px, 2.4vw, 26px); line-height: 1.3; margin-top: 1.6em; }
.brief-single .entry-content :is(ul, ol) { padding-left: 1.4em; }
.brief-single .entry-content li + li { margin-top: .45em; }
.brief-single .entry-content blockquote { color: #bcb2c3; padding-left: 22px; }
.brief-single .entry-content :is(img, video, iframe) { max-width: 100%; }
.brief-single .entry-content img, .brief-single .entry-image { height: auto; }
.brief-single .entry-content figure { margin-inline: 0; }
.brief-single .entry-content :is(figcaption, caption) { color: #bcb2c3; font-size: 14px; line-height: 1.6; text-align: left; }
.brief-single .entry-content figcaption { margin-top: 10px; }
.brief-single .entry-content pre { max-width: 100%; overflow-x: auto; white-space: pre; overflow-wrap: normal; font-size: 16px; }
.brief-single .entry-content table { display: block; max-width: 100%; overflow-x: auto; font-size: 16px; line-height: 1.6; text-align: left; }
.brief-single .entry-content :is(th, td) { min-width: 130px; vertical-align: top; }
.brief-single .entry-content th { color: var(--text); background: var(--panel); }
.brief-single .entry-content .post-nav-links { font-size: 16px; }
.brief-single .post-nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
.brief-single .post-tags, .brief-single > .post-navigation, .brief-single > .comments-area { max-width: 760px; margin-inline: auto; }
.brief-single .post-tags { margin-top: 32px; color: #bcb2c3; font-size: 14px; line-height: 1.7; }
.brief-single .post-tags a:hover { color: var(--purple); }
.brief-single .post-navigation { font-size: 16px; line-height: 1.6; }
.brief-single .post-navigation .nav-links > div { flex: 1 1 220px; min-width: 0; }
.brief-single .post-navigation a { display: block; padding-block: 10px; }
.brief-single .post-navigation a:hover { color: var(--orange); }
.brief-single .post-navigation .nav-next { text-align: right; }
@media (max-width: 760px) {
    .antexe-pages .pages-portrait { float: none; margin: 0 0 30px; }
    .antexe-pages .pages-heading { margin-bottom: 30px; }
    .antexe-pages .pages-lede { font-size: 17px; }
    .antexe-pages .pages-brief { padding-block: 28px; }
    .antexe-pages .pages-project-groups, .antexe-pages .pages-project-grid, .antexe-pages .pages-product-grid { grid-template-columns: minmax(0, 1fr); }
    .antexe-pages .pages-actions { gap: 12px 22px; }
    .brief-breadcrumb { margin-bottom: 24px; }
    .brief-single .brief-heading { padding-bottom: 26px; margin-bottom: 28px; }
    .brief-subtitle { font-size: 18px; }
    .brief-single .post-navigation .nav-next { text-align: left; }
}
