/* Aomark Digital — one native block design system, creative rebuild 2. */
:root {
    --am-bg: #0b0d14;
    --am-surface: #141722;
    --am-line: #ffffff20;
    --am-muted: #b7b8c7;
    --am-purple: #7c3aed;
    --am-accent: #ff9757;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}
body {
    margin: 0;
    background: var(--am-bg);
    color: #faf9ff;
    font-size: 16px;
}
img {
    max-width: 100%;
    height: auto;
}
figure {
    margin: 0;
}
a {
    text-underline-offset: 0.24em;
    text-decoration-thickness: 1px;
}
a:hover {
    text-decoration-thickness: 2px;
}
button,
input,
textarea,
select {
    font: inherit;
}
strong,
b {
    font-weight: 600;
}
:focus-visible {
    outline: 3px solid var(--am-accent);
    outline-offset: 5px;
}
.wp-site-blocks > *,
.aomark-main > *,
.aomark-main > .wp-block-post-content > * {
    margin-block: 0;
}
.wp-block-group:is([class*="ad-"], [class*="am-"], [class*="aomark-"]) {
    max-width: none;
}
:is([class*="ad-"], [class*="am-"], [class*="aomark-"]) > :first-child {
    margin-block-start: 0;
}
:is([class*="ad-"], [class*="am-"], [class*="aomark-"]) > :last-child {
    margin-block-end: 0;
}
.ad-shell,
.ad-prose {
    width: calc(100% - 2 * var(--wp--custom--gutter));
    margin-inline: auto !important;
}
.wp-block-group.ad-shell {
    max-width: var(--wp--custom--rail--shell);
}
.wp-block-group.ad-prose {
    max-width: var(--wp--custom--rail--prose);
}
.aomark-section {
    padding-block: 100px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--wp--preset--font-family--outfit);
    font-weight: 500;
}
h1 {
    font-size: clamp(40px, 4.5vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-wrap: balance;
    margin: 0 0 28px;
}
h2 {
    font-size: clamp(32px, 3.7vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.035em;
    text-wrap: balance;
    margin: 0 0 26px;
}
h3 {
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin: 0 0 16px;
}
p,
ul,
ol {
    margin: 0 0 1.5em;
}
p {
    line-height: 1.75;
}
.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: 100px;
    padding: 14px 23px;
    background: var(--am-purple);
    color: #fff;
    font: 500 14px/1.4 var(--wp--preset--font-family--poppins);
    text-decoration: none;
    transition:
        background 0.2s,
        transform 0.2s;
}
.wp-block-button__link::after {
    content: "";
    flex: 0 0 17px;
    height: 17px;
    background: currentColor;
    mask: url("../icons/arrow-up-right.svg") center/contain no-repeat;
    transition: transform 0.2s;
}
.wp-block-button__link:hover {
    background: #8c4ff5;
    transform: translateY(-2px);
}
.wp-block-button__link:hover::after {
    transform: translate(2px, -2px);
}
.wp-block-button.is-style-outline .wp-block-button__link {
    border-color: #ffffff4d;
    background: transparent;
    color: inherit;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: #ffffff0a;
    border-color: #a780ea;
}
.wp-block-buttons {
    gap: 12px;
    margin-top: 28px;
}
.am-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.13em;
    color: #bfa0ff;
    line-height: 1.5;
    margin-bottom: 24px;
}
.am-eyebrow::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--am-accent);
    vertical-align: 2px;
}
.aomark-header {
    position: relative;
    z-index: 50;
    padding-block: 24px;
    background: var(--am-bg);
    border-bottom: 1px solid var(--am-line);
    color: #fff;
}
.ad-header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
}
.aomark-header .wp-block-site-logo {
    flex: 0 0 auto;
    margin: 0;
}
.aomark-header .custom-logo {
    display: block;
    width: 185px;
}
/* Home: typography, owned ecosystem artwork, and one real project. */
.am-home-opening {
    padding-block: 60px 0;
    background: radial-gradient(ellipse at 75% 28%, #43218624, transparent 55%);
}
.am-home-proposition {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 70px;
    align-items: end;
}
.am-home-title h1 {
    font-size: clamp(54px, 5.6vw, 82px);
    line-height: 1.05;
    letter-spacing: -0.045em;
    margin: 0;
    text-wrap: initial;
}
.am-outline {
    color: transparent;
    -webkit-text-stroke: 1px #ebe6fa;
}
.am-home-intro {
    padding-bottom: 4px;
}
.am-home-intro > p {
    color: var(--am-muted);
    font-size: 15px;
}
.am-home-intro .wp-block-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 22px;
}
.am-home-intro .wp-block-button__link {
    min-width: 225px;
    justify-content: space-between;
}
.am-home-visuals {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
    gap: 32px;
    margin-top: 48px;
    align-items: stretch;
}
.am-orbit-image {
    overflow: hidden;
    border-radius: 180px;
    border: 1px solid #9b68e04d;
    min-width: 0;
}
.am-orbit-image img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 2.33;
    object-fit: cover;
}
.am-home-visuals .am-work-card {
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    background: #171a27;
}
.am-home-visuals .am-work-image img {
    height: 230px;
    width: 100%;
    object-fit: cover;
}
.am-home-visuals .am-work-caption {
    padding: 16px 24px;
}
.am-home-visuals .am-work-caption h3 {
    font-size: 22px;
    margin: 0;
}
.am-home-visuals .am-work-caption .am-eyebrow {
    font-size: 9px;
    margin-bottom: 6px;
}
.am-capability-strip {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    border-block: 1px solid var(--am-line);
    margin-top: 44px;
    padding: 22px 0;
}
.am-capability-strip p {
    font: 400 20px/1.3 var(--wp--preset--font-family--outfit);
    margin: 0;
    color: #b7b8c7;
}
.am-capability-strip p::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-left: 30px;
    background: #8151d5;
    mask: url("../icons/arrow-up-right.svg") center/contain no-repeat;
}
.am-services-stage > .ad-shell {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    column-gap: 110px;
}
.am-stage-heading h2 {
    max-width: 830px;
}
.am-stage-heading > p:not(.am-eyebrow) {
    max-width: 710px;
    color: var(--am-muted);
}
.am-service-paths {
    counter-reset: service;
}
.am-service-row {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 20px;
    border-top: 1px solid var(--am-line);
    padding-block: 28px;
}
.am-service-row:first-child {
    padding-top: 0;
    border-top: 0;
}
.am-item-number {
    font: 400 18px/1.5 var(--wp--preset--font-family--outfit);
    color: #9c70e8;
    margin: 0;
}
.am-service-description p {
    color: var(--am-muted);
    font-size: 15px;
}
.am-service-description a {
    color: #faf9ff;
}
.am-service-related {
    grid-column: 2;
    padding: 22px 24px;
    background: #151925;
    border-left: 2px solid var(--am-purple);
    border-radius: 0 10px 10px 0;
    font-size: 13px;
    color: var(--am-muted);
}
.am-products-stage {
    background: #11141e;
    border-block: 1px solid var(--am-line);
}
.am-product-panels {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.am-product-panel {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    border: 1px solid var(--am-line);
    border-radius: 24px;
    overflow: hidden;
    align-items: center;
    background: #171b28;
}
.am-product-copy {
    padding: 44px;
}
.am-product-copy h3 {
    font-size: 38px;
}
.am-product-copy > p:not(.am-eyebrow) {
    color: var(--am-muted);
    font-size: 15px;
}
.am-product-visual {
    padding: 34px 0 0 26px;
    align-self: stretch;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at 80% 70%, #6f3ebb44, transparent 70%);
    overflow: hidden;
}
.am-product-visual img {
    display: block;
    width: 100%;
    border-radius: 12px 0 0 0;
    box-shadow: 0 10px 40px #0005;
    transition: transform 0.4s;
}
.am-product-panel:hover .am-product-visual img {
    transform: translateY(-4px);
}
.am-product-1 {
    grid-template-columns: 1.35fr 1fr;
}
.am-product-1 .am-product-copy {
    order: 2;
}
.am-product-1 .am-product-visual {
    order: 1;
    padding: 30px 26px 0 0;
}
.am-product-1 .am-product-visual img {
    border-radius: 0 12px 0 0;
}
.am-work-stage .am-stage-heading {
    max-width: 790px;
    margin-bottom: 48px;
}
.am-work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
.am-work-grid .am-work-card:nth-child(2) {
    margin-top: 80px;
}
.am-work-card {
    min-width: 0;
}
.am-work-image {
    border-radius: 22px;
    overflow: hidden;
    background: #141625;
}
.am-work-image img {
    display: block;
    aspect-ratio: 1.5;
    width: 100%;
    object-fit: cover;
    transition: transform 0.45s;
}
.am-work-card:hover .am-work-image img {
    transform: scale(1.025);
}
.am-work-caption {
    padding: 25px 0;
}
.am-work-caption h3 a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.am-work-caption h3 a::after {
    content: "";
    display: inline-block;
    flex: 0 0 24px;
    height: 24px;
    background: #bc96ff;
    mask: url("../icons/arrow-up-right.svg") center/contain no-repeat;
}
.am-work-caption .am-eyebrow {
    font-size: 10px;
    margin-bottom: 12px;
}
.am-process-stage {
    border-top: 1px solid var(--am-line);
}
.am-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 48px;
}
.am-process-step {
    border-top: 1px solid #8056ad;
    padding-top: 22px;
}
.am-process-step .am-item-number {
    margin-bottom: 25px;
}
.am-process-step p:not(.am-item-number) {
    color: var(--am-muted);
    font-size: 15px;
}
.am-learning-stage {
    background: radial-gradient(ellipse at 0 0, #57318428, transparent 65%), #10111b;
    color: #faf9ff;
}
.am-learning-stage h2 {
    max-width: 720px;
}
.am-learning-stage p {
    max-width: 730px;
}
.am-learning-stage a {
    color: #c7a6ff;
}
.ad-closing {
    background: radial-gradient(ellipse at 85% 100%, #7032c744, transparent 65%), #171124;
    border-top: 1px solid #ffffff1a;
}
.ad-closing h2 {
    font-size: clamp(38px, 5vw, 68px);
    max-width: 870px;
}
.ad-closing p {
    color: #c6bfd5;
    max-width: 690px;
}
/* Inner blocks share the same rails; route compositions are calibrated independently. */
.ad-faq {
    max-width: 900px;
    margin-top: 35px;
}
.ad-faq details {
    border-bottom: 1px solid var(--am-line);
    padding: 22px 0;
}
.ad-faq summary {
    cursor: pointer;
    font: 500 23px/1.4 var(--wp--preset--font-family--outfit);
    padding-right: 30px;
}
.ad-faq details p {
    color: var(--am-muted);
    margin-top: 20px;
}
.ad-faq details[open] summary {
    color: #c39cff;
}
/* Footer uses durable destinations and the same shared rail. */
.aomark-footer {
    background: #080a10;
    color: #f5f4fa;
    padding: 76px 0 28px;
}
.ad-footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.35fr 1.2fr 0.8fr 1fr;
    gap: 35px;
}
.ad-footer-brand .wp-block-site-logo {
    margin-bottom: 28px;
}
.ad-footer-brand p {
    color: var(--am-muted);
    font-size: 13px;
    max-width: 300px;
}
.ad-footer-column h2 {
    font-size: 16px;
    margin-bottom: 23px;
    letter-spacing: 0;
}
.ad-footer-column p {
    font-size: 12px;
    margin-bottom: 12px;
    color: #b6b8c6;
}
.ad-footer-column a,
.ad-footer-brand a {
    text-decoration: none;
}
.ad-footer-column a:hover {
    color: #d0b6ff;
}
.ad-shared-email {
    overflow-wrap: anywhere;
}
.ad-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid var(--am-line);
    margin-top: 60px;
    padding-top: 25px;
    font-size: 10px;
    color: #a0a4b6;
}
.ad-footer-bottom p {
    margin: 0;
}
/* Reading, collection and system primitives. */
.ad-light {
    background: #f8f6fb;
    color: #211b2c;
}
.ad-light a:not(.wp-block-button__link) {
    color: #6634aa;
}
.ad-light .aomark-header a,
.ad-light .aomark-footer a {
    color: inherit;
}
.ad-light .wp-block-button.is-style-outline .wp-block-button__link {
    border-color: #8b78a4;
}
.ad-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 28px;
    margin: 38px 0;
    padding: 0;
    list-style: none;
}
.ad-article-grid > li {
    min-width: 0;
    margin: 0;
}
.ad-article-card {
    border-bottom: 1px solid #d8cfdf;
    padding-bottom: 25px;
}
.ad-article-card .wp-block-post-featured-image {
    margin: 0 0 20px;
    overflow: hidden;
    border-radius: 14px;
    background: #eee9f5;
}
.ad-article-card .wp-block-post-featured-image img {
    display: block;
    object-fit: cover;
    transition: transform 0.35s;
}
.ad-article-card:hover .wp-block-post-featured-image img {
    transform: scale(1.025);
}
.ad-card-content h3 {
    font-size: 24px;
    margin-block: 12px;
}
.ad-card-content h3 a {
    color: #24162f !important;
    text-decoration: none;
}
.ad-card-content .wp-block-post-date {
    font-size: 11px;
    color: #74677b;
}
.ad-card-content .wp-block-post-excerpt {
    font-size: 14px;
    color: #5a5166;
}
.ad-card-content .wp-block-read-more {
    font-size: 13px;
    font-weight: 500;
}
.wp-block-query-pagination {
    padding-top: 25px;
    border-top: 1px solid #d8cfdf;
    gap: 20px;
}
.wp-block-query-pagination-numbers {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.page-numbers {
    padding: 7px 12px;
    border-radius: 8px;
}
.page-numbers.current {
    background: #e9dff9;
}
.ad-search {
    max-width: 740px;
    margin-top: 28px;
}
.ad-search .wp-block-search__label {
    font-size: 13px;
    display: block;
    margin-bottom: 9px;
}
.ad-search .wp-block-search__inside-wrapper {
    gap: 10px;
}
.ad-search input {
    border: 1px solid #bdb0cf;
    border-radius: 10px;
    padding: 14px 18px;
    min-width: 0;
    color: #24162f;
    background: #fff;
}
.ad-search button {
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--am-purple);
    padding: 13px 22px;
    cursor: pointer;
}
.ad-article-opening {
    padding-bottom: 28px !important;
}
.ad-single-title {
    font-size: clamp(34px, 4vw, 54px);
}
.ad-back-link {
    font-size: 13px;
}
.ad-byline {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #6b5c76;
    margin-block: 24px 32px;
}
.ad-article-lead {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
}
.ad-article-body {
    font-size: 17px;
    line-height: 1.85;
    padding-bottom: 60px;
}
.ad-article-body h2 {
    font-size: 31px;
    margin-block: 48px 22px;
    scroll-margin-top: 35px;
}
.ad-article-body h3 {
    font-size: 25px;
    margin-block: 36px 18px;
}
.ad-article-body :is(ul, ol) {
    padding-left: 1.4em;
}
.ad-article-body li {
    margin-bottom: 9px;
}
.ad-article-body figure {
    margin-block: 32px;
}
.ad-article-body img {
    border-radius: 12px;
}
.ad-article-body figcaption {
    color: #685b73;
    font-size: 13px;
}
.wp-block-table {
    overflow-x: auto;
}
.wp-block-table table {
    min-width: 560px;
    border-collapse: collapse;
}
.wp-block-table td,
.wp-block-table th {
    padding: 12px 15px;
    border-color: #b4a9c066;
}
.ad-article-body pre {
    background: #eee9f4;
    padding: 22px;
    border-radius: 10px;
    overflow: auto;
    font-size: 14px;
}
.ad-article-body iframe {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 16/9;
    border: 0;
}
.ad-article-body blockquote {
    border-left: 3px solid #8e62cc;
    padding-left: 25px;
    margin-inline: 0;
}
.ad-system {
    min-height: 65vh;
}
.ad-system h1 {
    max-width: 950px;
}
.search .ad-article-grid {
    display: block;
    max-width: 900px;
}
.search .ad-article-card {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 28px;
    padding-block: 26px;
}
.search .ad-article-card figure {
    margin: 0;
}
.search .ad-card-content h3 {
    margin-top: 4px;
}
.search .ad-article-card:not(:has(figure)) {
    display: block;
}
.ad-reading-progress {
    position: fixed;
    z-index: 70;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--am-purple);
    transform-origin: left;
    transform: scaleX(0);
    pointer-events: none;
}
.ad-breadcrumbs {
    font-size: 12px;
    margin-bottom: 25px;
    color: #aaa4b9;
}
.ad-breadcrumbs a {
    color: inherit;
}
.ad-toc {
    border: 1px solid #cfc4dd;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 30px;
}
.ad-toc a {
    font-size: 14px;
}
@media (max-width: 1180px) {
    .ad-header-inner {
        gap: 22px;
    }
    .am-home-proposition {
        gap: 40px;
    }
    .am-home-title h1 {
        font-size: 64px;
    }
    .am-services-stage > .ad-shell {
        column-gap: 65px;
    }
    .ad-footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}
@media (max-width: 980px) {
    :root {
        --wp--custom--gutter: 28px;
    }
    .aomark-header {
        padding-block: 19px;
    }
    .am-home-proposition {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .am-home-title h1 {
        font-size: clamp(52px, 8vw, 74px);
    }
    .am-home-intro {
        max-width: 660px;
    }
    .am-home-intro .wp-block-buttons {
        flex-direction: row;
    }
    .am-home-intro .wp-block-button__link {
        min-width: 0;
    }
    .am-home-visuals {
        grid-template-columns: 1.8fr 1fr;
        gap: 20px;
    }
    .am-home-visuals .am-work-image img {
        height: 150px;
    }
    .am-home-visuals .am-work-caption h3 {
        font-size: 18px;
    }
    .am-services-stage > .ad-shell {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .am-service-related {
        grid-column: 1;
    }
    .am-service-paths {
        max-width: 800px;
    }
    .am-product-copy {
        padding: 28px;
    }
    .am-product-copy h3 {
        font-size: 30px;
    }
    .am-product-visual {
        padding: 20px 0 0 15px;
    }
    .am-process-grid {
        gap: 25px;
    }
}
@media (max-width: 600px) {
    :root {
        --wp--custom--gutter: 22px;
    }
    .aomark-section {
        padding-block: 62px;
    }
    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 34px;
    }
    h3 {
        font-size: 25px;
    }
    .aomark-header .custom-logo {
        width: 160px;
    }
    .am-home-opening {
        padding-top: 38px;
        padding-bottom: 0;
    }
    .am-home-title h1 {
        font-size: clamp(36px, 10.3vw, 58px);
        line-height: 1.1;
    }
    .am-home-title .am-eyebrow {
        margin-bottom: 18px;
    }
    .am-home-proposition {
        gap: 26px;
    }
    .am-home-intro > p {
        font-size: 14px;
    }
    .am-home-intro .wp-block-buttons {
        gap: 9px;
    }
    .am-home-intro .wp-block-button__link {
        font-size: 12px;
        padding: 12px 16px;
        gap: 8px;
    }
    .am-home-intro .wp-block-button__link::after {
        flex-basis: 14px;
        height: 14px;
    }
    .am-home-visuals {
        margin-top: 30px;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .am-orbit-image {
        border-radius: 100px;
    }
    .am-home-visuals .am-work-card {
        display: grid;
        grid-template-columns: 42% 1fr;
        border-radius: 14px;
        align-items: center;
    }
    .am-home-visuals .am-work-image {
        border-radius: 0;
    }
    .am-home-visuals .am-work-image img {
        height: 112px;
        aspect-ratio: auto;
    }
    .am-home-visuals .am-work-caption {
        padding: 14px;
    }
    .am-home-visuals .am-work-caption h3 {
        font-size: 18px;
    }
    .am-home-visuals .am-work-caption .am-eyebrow {
        font-size: 8px;
        letter-spacing: 0.06em;
    }
    .am-home-visuals .am-work-caption .am-eyebrow::before {
        display: none;
    }
    .am-capability-strip {
        gap: 12px;
        flex-wrap: wrap;
        margin-top: 26px;
        padding-block: 18px;
    }
    .am-capability-strip p {
        width: 45%;
        font-size: 17px;
    }
    .am-capability-strip p::after {
        width: 14px;
        height: 14px;
        margin-left: 12px;
    }
    .am-services-stage > .ad-shell {
        gap: 32px;
    }
    .am-service-row {
        grid-template-columns: 28px 1fr;
        gap: 15px;
        padding-block: 24px;
    }
    .am-service-description h3 {
        font-size: 24px;
    }
    .am-service-description p {
        font-size: 14px;
    }
    .am-service-related {
        padding: 18px;
    }
    .am-product-panels {
        margin-top: 32px;
        gap: 22px;
    }
    .am-product-panel,
    .am-product-1 {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }
    .am-product-copy {
        padding: 28px 24px;
    }
    .am-product-copy h3 {
        font-size: 30px;
    }
    .am-product-copy > p:not(.am-eyebrow) {
        font-size: 14px;
    }
    .am-product-visual,
    .am-product-1 .am-product-visual {
        padding: 0 0 0 20px;
        min-height: 180px;
        order: 2;
    }
    .am-product-1 .am-product-copy {
        order: 1;
    }
    .am-product-visual img,
    .am-product-1 .am-product-visual img {
        border-radius: 10px 0 0 0;
    }
    .am-work-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .am-work-grid .am-work-card:nth-child(2) {
        margin-top: 0;
    }
    .am-work-image img {
        aspect-ratio: 1.5;
    }
    .am-work-caption {
        padding: 20px 0;
    }
    .am-work-caption h3 {
        font-size: 26px;
    }
    .am-work-stage .am-stage-heading {
        margin-bottom: 32px;
    }
    .am-process-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 32px;
    }
    .am-process-step .am-item-number {
        margin-bottom: 12px;
    }
    .ad-article-grid {
        grid-template-columns: 1fr;
    }
    .ad-faq summary {
        font-size: 20px;
    }
    .ad-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 22px;
    }
    .ad-footer-brand {
        grid-column: 1/-1;
    }
    .ad-footer-brand p {
        max-width: 400px;
    }
    .ad-footer-bottom {
        flex-direction: column;
        gap: 16px;
        margin-top: 40px;
        font-size: 11px;
    }
    .ad-footer-bottom a {
        display: inline-block;
        padding-block: 4px;
    }
    .aomark-footer {
        padding-top: 56px;
    }
    .ad-article-grid {
        gap: 28px;
    }
    .ad-article-card .wp-block-post-featured-image img {
        aspect-ratio: 16/8;
        max-height: 210px;
    }
    .ad-card-content h3 {
        font-size: 23px;
    }
    .ad-search input {
        font-size: 13px;
        padding: 13px 12px;
    }
    .ad-search button {
        font-size: 13px;
        padding: 13px 16px;
    }
    .ad-search .wp-block-search__inside-wrapper {
        gap: 7px;
    }
    .ad-byline {
        gap: 8px 18px;
    }
    .ad-article-body h2 {
        font-size: 28px;
    }
    .search .ad-article-card {
        grid-template-columns: 90px 1fr;
        gap: 17px;
    }
    .search .ad-card-content .wp-block-post-excerpt {
        display: none;
    }
    .search .ad-card-content h3 {
        font-size: 20px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
    .am-product-panel:hover .am-product-visual img,
    .am-work-card:hover .am-work-image img,
    .wp-block-button__link:hover {
        transform: none;
    }
}
/* Native flow spacing is neutralized only inside explicit grid/flex owners. */
:is(
        .am-home-proposition,
        .am-home-visuals,
        .am-service-row,
        .am-product-panel,
        .am-work-grid,
        .am-process-grid,
        .ad-header-inner,
        .ad-footer-grid,
        .ad-hero-grid,
        .ad-feature-grid,
        .ad-split
    )
    > * {
    margin-block: 0;
}
.am-services-stage > .ad-shell > * {
    margin-block: 0;
}
.am-services-stage .am-stage-heading figure {
    margin-top: 38px;
    border-radius: 120px;
    overflow: hidden;
}
.am-services-stage .am-stage-heading figure img {
    display: block;
    width: 100%;
    aspect-ratio: 1.7;
    object-fit: cover;
}
@media (max-width: 980px) {
    .am-services-stage .am-stage-heading figure {
        max-width: 430px;
    }
}
/* Calibrated inner-route families. */
.am-inner-opening {
    background:
        radial-gradient(ellipse at 95% 100%, #602dbb40, transparent 60%),
        radial-gradient(ellipse at 0 0, #c15a2e14, transparent 45%), #0d1020;
    text-align: center;
    padding-block: 68px;
    border-bottom: 1px solid var(--am-line);
}
.am-inner-opening .am-inner-intro {
    max-width: 1020px !important;
    margin-inline: auto !important;
}
.am-inner-opening .am-inner-intro > p:not(.am-eyebrow),
.am-product-opening .am-inner-intro > p:not(.am-eyebrow) {
    max-width: 740px;
    margin-inline: auto;
    color: var(--am-muted);
}
.am-inner-opening .wp-block-buttons,
.am-product-opening .wp-block-buttons {
    justify-content: center;
}
.am-product-opening {
    padding-block: 68px 0;
    text-align: center;
    background: radial-gradient(ellipse at 50% 80%, #4f277d40, transparent 65%);
}
.am-product-opening .am-inner-intro {
    max-width: 1000px !important;
    margin-inline: auto !important;
}
.am-product-opening-image {
    max-width: 1040px;
    margin: 48px auto 0 !important;
    border: 1px solid #ffffff22;
    border-radius: 24px 24px 0 0;
    padding: 35px 35px 0;
    background: linear-gradient(140deg, #272337, #131720);
    overflow: hidden;
}
.am-product-opening-image img {
    display: block;
    width: 100%;
    max-height: 570px;
    object-fit: contain;
    object-position: bottom;
}
.am-company-opening {
    padding-block: 80px;
    background: radial-gradient(ellipse at 90% 50%, #592aa729, transparent 70%);
}
.am-company-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 65px;
    align-items: center;
}
.am-company-grid .am-inner-intro p:not(.am-eyebrow) {
    color: var(--am-muted);
}
.am-company-art {
    overflow: hidden;
    border-radius: 210px;
    border: 1px solid #8d5be43f;
}
.am-company-art img {
    width: 100%;
    height: 450px;
    display: block;
    object-fit: cover;
    object-position: 50% 50%;
}
.am-contact-opening {
    padding-block: 80px;
    background: radial-gradient(ellipse at 0 0, #5f2daa26, transparent 65%);
}
.am-contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 100px;
}
.am-contact-grid .am-inner-intro p:not(.am-eyebrow) {
    color: var(--am-muted);
}
.am-contact-card {
    border: 1px solid #9870d644;
    background: radial-gradient(ellipse at 90% 0, #55258a44, transparent 70%), #171824;
    padding: 42px;
    border-radius: 24px;
}
.am-contact-card h2 {
    font-size: 34px;
}
.am-contact-card p {
    font-size: 15px;
    color: var(--am-muted);
}
.am-contact-card a {
    overflow-wrap: anywhere;
}
.am-case-opening {
    padding-block: 70px 0;
}
.am-case-opening .am-inner-intro {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 20px 70px;
    align-items: end;
}
.am-case-opening .am-inner-intro .am-eyebrow {
    grid-column: 1/-1;
}
.am-case-opening .am-inner-intro h1 {
    margin: 0;
}
.am-case-opening .am-inner-intro > p:not(.am-eyebrow) {
    color: var(--am-muted);
    margin: 0;
}
.am-case-cover {
    margin-top: 48px !important;
    border-radius: 24px;
    overflow: hidden;
    background: #161928;
}
.am-case-cover img {
    display: block;
    width: 100%;
    max-height: 720px;
    object-fit: contain;
}
.am-editorial-section {
    border-bottom: 1px solid var(--am-line);
    padding-block: 80px;
}
.am-editorial-section > .ad-shell {
    display: grid;
    grid-template-columns: 0.8fr 1.3fr;
    gap: 100px;
    align-items: start;
}
.am-section-title h2 {
    font-size: clamp(32px, 3vw, 44px);
}
.am-section-content {
    color: var(--am-muted);
}
.am-section-content h3 {
    color: #f5f2ff;
}
.am-section-content a {
    color: #d2b8ff;
}
.am-section-content :is(ul, ol) {
    padding-left: 1.4em;
}
.am-section-content li {
    margin-bottom: 14px;
    padding-left: 7px;
}
.am-section-content li::marker {
    color: #b68bee;
    font-weight: 500;
}
.am-scope-visual {
    margin-top: 30px !important;
    border-radius: 18px;
    overflow: hidden;
}
.am-scope-visual img {
    display: block;
    width: 100%;
    max-height: 460px;
    object-fit: contain;
    background: #141827;
}
.am-capability-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
    margin-top: 34px;
}
.am-capability-item {
    border-top: 1px solid #815bb550;
    padding-top: 22px;
}
.am-capability-item .am-item-number {
    margin-bottom: 18px;
}
.am-capability-item h3 {
    font-size: 25px;
}
.am-capability-item p:not(.am-item-number) {
    font-size: 14px;
}
.am-questions .ad-faq {
    margin: 0;
}
.am-questions .ad-faq details:first-child {
    padding-top: 0;
}
.am-questions .am-section-title p {
    color: var(--am-muted);
    font-size: 14px;
}
.am-offer-stage {
    padding-block: 75px;
    border-bottom: 1px solid var(--am-line);
}
.am-offer-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.2fr;
    gap: 65px;
    align-items: center;
}
.am-offer-copy > p:not(.am-eyebrow) {
    color: var(--am-muted);
}
.am-offer-copy li {
    color: var(--am-muted);
    margin-bottom: 12px;
}
.am-offer-image {
    border-radius: 24px;
    overflow: hidden;
    background: #171a29;
}
.am-offer-image img {
    width: 100%;
    display: block;
    aspect-ratio: 1.3;
    object-fit: contain;
}
.am-offer-0 {
    background: #11141e;
}
.am-offer-0 .am-offer-grid {
    grid-template-columns: 1.2fr 0.9fr;
}
.am-offer-0 .am-offer-copy {
    order: 2;
}
.am-offer-0 .am-offer-image {
    order: 1;
}
.am-opening-collection,
.am-opening-insights {
    text-align: left;
    background: #f0ebf7;
    color: #211b2c;
}
.am-opening-collection .am-inner-intro,
.am-opening-insights .am-inner-intro {
    max-width: none !important;
}
.am-opening-collection .am-inner-intro > p:not(.am-eyebrow),
.am-opening-insights .am-inner-intro > p:not(.am-eyebrow) {
    margin-left: 0;
    color: #62596e;
}
.am-opening-collection h1 {
    font-size: 64px;
}
.ad-light .am-eyebrow,
.am-learning-stage .am-eyebrow {
    color: #694196;
}
.ad-light .am-editorial-section {
    border-color: #d8cede;
}
.ad-light .am-section-content {
    color: #5c5368;
}
.ad-light .am-section-content h3 {
    color: #241d30;
}
.ad-light .am-section-content a {
    color: #6634aa;
}
.am-family-insights .am-section-content > p {
    padding: 20px 0;
    border-bottom: 1px solid #d4cadd;
    margin: 0;
}
.am-family-insights .am-section-content > p:first-child {
    padding-top: 0;
}
.am-family-insights .am-section-content > p > a:first-child {
    font-weight: 500;
}
.am-pricing-section .wp-block-table {
    margin: 30px 0;
    border: 1px solid #9368cd50;
    border-radius: 14px;
    overflow: hidden;
    background: #171925;
}
.am-pricing-section .wp-block-table table {
    min-width: 0;
    width: 100%;
}
.am-pricing-section .wp-block-table th {
    font-size: 12px;
    color: #d7c5f1;
    text-align: left;
    background: #231a35;
    font-weight: 500;
}
.am-pricing-section .wp-block-table td {
    font-size: 15px;
    color: #f6f1ff;
    padding-block: 23px;
    border: 0;
    border-top: 1px solid #9368cd33;
}
.am-pricing-section .wp-block-table td:first-child {
    font-family: var(--wp--preset--font-family--outfit);
    font-size: 24px;
}
.am-pricing-section .wp-block-table tbody tr:nth-child(2) {
    background: #7c3aed16;
}
.am-pricing-section .am-capability-grid {
    grid-template-columns: 1fr;
}
:is(
        .am-company-grid,
        .am-contact-grid,
        .am-case-opening .am-inner-intro,
        .am-editorial-section > .ad-shell,
        .am-capability-grid,
        .am-offer-grid
    )
    > * {
    margin-block: 0;
}
@media (max-width: 980px) {
    .am-company-grid,
    .am-contact-grid {
        gap: 35px;
    }
    .am-company-art img {
        height: 350px;
    }
    .am-contact-card {
        padding: 30px;
    }
    .am-editorial-section > .ad-shell {
        gap: 45px;
        grid-template-columns: 0.75fr 1.25fr;
    }
    .am-capability-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .am-case-opening .am-inner-intro {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .am-offer-grid,
    .am-offer-0 .am-offer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}
@media (max-width: 700px) {
    .am-inner-opening,
    .am-company-opening,
    .am-contact-opening {
        padding-block: 50px;
    }
    .am-inner-opening h1,
    .am-company-opening h1,
    .am-contact-opening h1,
    .am-product-opening h1 {
        font-size: 40px;
    }
    .am-inner-intro > p:not(.am-eyebrow) {
        font-size: 15px;
    }
    .am-product-opening {
        padding-top: 50px;
    }
    .am-product-opening-image {
        padding: 15px 15px 0;
        margin-top: 32px !important;
        border-radius: 16px 16px 0 0;
    }
    .am-company-grid,
    .am-contact-grid {
        grid-template-columns: 1fr;
    }
    .am-company-art img {
        height: 240px;
        object-fit: cover;
    }
    .am-company-art {
        border-radius: 140px;
    }
    .am-contact-card {
        padding: 28px;
    }
    .am-contact-card h2 {
        font-size: 30px;
    }
    .am-case-opening {
        padding-top: 50px;
    }
    .am-case-cover {
        margin-top: 32px !important;
        border-radius: 15px;
    }
    .am-case-cover img {
        aspect-ratio: 1.3;
        object-fit: contain;
    }
    .am-editorial-section {
        padding-block: 55px;
    }
    .am-editorial-section > .ad-shell {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .am-section-title h2 {
        font-size: 32px;
        margin: 0;
    }
    .am-section-content {
        font-size: 15px;
    }
    .am-scope-visual {
        margin-top: 24px !important;
    }
    .am-offer-grid,
    .am-offer-0 .am-offer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .am-offer-0 .am-offer-copy {
        order: 1;
    }
    .am-offer-0 .am-offer-image {
        order: 2;
    }
    .am-offer-stage {
        padding-block: 55px;
    }
    .am-offer-image img {
        aspect-ratio: 1.5;
    }
    .am-pricing-section .wp-block-table td {
        font-size: 12px;
        padding: 18px 9px;
    }
    .am-pricing-section .wp-block-table td:first-child {
        font-size: 20px;
    }
    .am-pricing-section .wp-block-table th {
        padding: 13px 9px;
        font-size: 10px;
    }
}

.am-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 35px;
}
.am-plan-card {
    padding: 32px;
    border: 1px solid #ffffff24;
    border-radius: 20px;
    background: #151923;
}
.am-plan-card.am-plan-featured {
    border-color: #9657ff;
    background: linear-gradient(140deg, #321c53, #181823);
}
.am-plan-card h3 {
    font-size: 30px;
    margin-bottom: 28px;
}
.am-plan-price {
    font: 500 clamp(30px, 3vw, 44px)/1.2 var(--wp--preset--font-family--outfit);
    margin-bottom: 32px;
    letter-spacing: -0.035em;
}
.am-plan-label {
    font-size: 12px;
    color: #b6aec8;
    margin-bottom: 6px;
}
.am-plan-credits {
    font: 500 24px/1.3 var(--wp--preset--font-family--outfit);
}
.am-plan-details {
    max-width: 940px !important;
    margin-top: 35px;
    color: var(--am-muted);
}
.am-plan-details h3 {
    margin-top: 35px;
    color: #f8f5ff;
}
.am-pricing-plans {
    border-bottom: 1px solid var(--am-line);
}
.am-plan-grid > *,
.ad-byline > * {
    margin-block: 0;
}
.ad-article-card:not(:has(.wp-block-post-featured-image))::before {
    content: "Aomark Insights";
    display: grid;
    place-items: center;
    aspect-ratio: 16/10;
    margin-bottom: 20px;
    border-radius: 14px;
    background: radial-gradient(ellipse at 100% 0, #c9ace8, transparent 70%), #e7dff1;
    color: #69458e;
    font: 500 32px/1.2 var(--wp--preset--font-family--outfit);
    letter-spacing: -0.025em;
}
.search .ad-article-card:not(:has(.wp-block-post-featured-image))::before {
    display: none;
}
@media (max-width: 700px) {
    .am-plan-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 28px;
    }
    .am-plan-card {
        padding: 25px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 20px;
        align-items: center;
    }
    .am-plan-card .am-eyebrow {
        grid-column: 1/-1;
        margin: 0;
    }
    .am-plan-card h3 {
        font-size: 27px;
        margin: 0;
    }
    .am-plan-card .am-plan-price {
        font-size: 29px;
        margin: 0;
        text-align: right;
    }
    .am-plan-card .am-plan-label {
        margin: 0;
        font-size: 11px;
    }
    .am-plan-card .am-plan-credits {
        font-size: 20px;
        text-align: right;
        margin: 0;
    }
    .ad-article-card:not(:has(.wp-block-post-featured-image))::before {
        aspect-ratio: 16/8;
        max-height: 210px;
    }
}
.ad-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-bottom: 23px;
    font-size: 11px;
}
.am-inner-opening .ad-breadcrumbs,
.am-product-opening .ad-breadcrumbs {
    justify-content: center;
}
.am-opening-collection .ad-breadcrumbs,
.am-opening-insights .ad-breadcrumbs {
    justify-content: flex-start;
    color: #756682;
}
.am-case-opening .ad-breadcrumbs {
    grid-column: 1/-1;
    margin: 0;
}
.ad-faq summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-right: 0;
}
.ad-faq summary::-webkit-details-marker {
    display: none;
}
.ad-faq summary::after {
    content: "";
    width: 20px;
    flex: 0 0 20px;
    height: 20px;
    background: #ac88df;
    mask: url("../icons/chevron-down.svg") center/contain no-repeat;
    transition: transform 0.2s;
}
.ad-faq details[open] summary::after {
    transform: rotate(180deg);
}
@media (max-width: 700px) {
    .am-plan-card .am-plan-price {
        font-size: clamp(22px, 7vw, 29px);
    }
}

/* Closed native dropdowns must not reserve off-screen scroll geometry. */
