/* This treatment is attached only to the acid-primer guide. */
.acid-guide { width: 100%; max-width: none; margin: 0; color: #202320; padding-bottom: 0; }
.acid-guide [id] { scroll-margin-top: 115px; }
.acid-guide :is(a, button, summary):focus-visible { outline: 3px solid #60732b; outline-offset: 5px; }
.acid-breadcrumb { display: flex; flex-wrap: wrap; gap: 16px; margin: 10px 0 28px; font-size: 16px; color: #62665e; }
.acid-breadcrumb a { color: inherit; text-decoration: none; }
.acid-hero { display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; background: #fff; border-radius: 20px; min-height: 540px; }
.acid-hero__copy { padding: clamp(28px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.acid-kicker { margin: 0 0 30px; font-size: 16px; color: #62665e; }
.acid-hero h1 { margin: 0 0 30px; font-size: clamp(40px, 4.2vw, 68px); letter-spacing: -.045em; line-height: 1.06; }
.acid-hero__intro { font-size: 21px; line-height: 1.6; margin: 0 0 36px; max-width: 660px; color: #51574d; }
.acid-hero__actions { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.acid-button { display: inline-flex; gap: 24px; align-items: center; padding: 18px 24px; border-radius: 8px; background: #242820; color: #fff; text-decoration: none; font-size: 17px; font-weight: 600; }
.acid-button:hover { background: #414b35; color: #fff; }
.acid-text-link { color: #242820; font-size: 17px; text-underline-offset: 6px; }
.acid-hero__visual { display: flex; align-items: center; justify-content: center; background: #e4e6e3; padding: 32px; }
.acid-visual__product { display: block; width: 100%; height: auto; max-width: 579px; object-fit: contain; border-radius: 0; }
.acid-editorial { padding: 80px 0 0; }
.acid-content { width: 100%; }
.acid-content > * { margin: 0 0 88px; }
.acid-content h2 { font-size: clamp(29px, 3vw, 42px); line-height: 1.18; letter-spacing: -.03em; margin: 0 0 26px; }
.acid-content .onb-news-block--rich-text { max-width: none; margin-inline: 0; font-size: 20px; line-height: 1.75; }
.acid-content .onb-news-block--rich-text p { max-width: 1100px; margin: 0 0 22px; color: #41463e; }
.acid-content .onb-news-block--rich-text h2:not(:first-child) { margin-top: 80px; }
.acid-content .onb-news-block--quote { max-width: none; margin-inline: 0; padding: 30px 36px; border: 0;  background: #eceee6; border-radius: 12px; }
.acid-content .onb-news-quote__text { font-size: 27px; line-height: 1.45; max-width: 1100px; }
.acid-content .onb-news-quote__author { font-size: 17px; }
.acid-content .onb-news-quote__role { font-size: 16px; color: #5a6253; }
.acid-content .onb-news-block--products[data-product-count] .onb-news-products__track { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--onb-space-4); align-items: stretch; overflow: visible; }
.acid-content .onb-news-products__item { min-width: 0; display: flex; }
.acid-content .onb-product-card { display: flex; flex-direction: column; width: 100%; height: 100%; }
.acid-content .onb-product-card__title { font-size: 1.15rem; line-height: normal; letter-spacing: normal; margin: 0; }
.acid-content .onb-news-block--rich-text ol { padding: 0; list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin: 48px 0 40px; }
.acid-content .onb-news-block--rich-text ol li { counter-increment: step; position: relative; padding: 0; background: transparent; border: 0; border-radius: 0; font-size: 20px; line-height: 1.7; }
.acid-content .onb-news-block--rich-text ol li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 24px; color: #687a32; font-size: 46px; line-height: 1; font-weight: 600; letter-spacing: -.04em; }
.acid-faq .onb-news-block--faq { max-width: none; gap: 14px; }
.acid-faq .onb-news-faq__question { font-size: 20px; padding: 24px; }
.acid-faq .onb-news-faq__number { font-size: 16px; }
.acid-faq .onb-news-faq__answer { font-size: 19px; color: #41463e; padding: 0 28px 26px 72px; }
.acid-content .onb-news-block--cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 36px; border-radius: 24px; background: #e8ecdc; }
.acid-content .onb-news-block--cta h2 { margin: 0; font-size: 32px; }
.acid-content .onb-news-block--cta .onb-btn { flex-shrink: 0; font-size: 18px; min-height: 50px; color: #fff; background: #242820; padding: 15px 25px; }
.acid-end { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid #d9ddd1; font-size: 16px; color: #62665e; }
.acid-end a { color: #242820; }
@media (max-width: 900px) {
 .acid-hero { grid-template-columns: 1fr; }
 .acid-hero__visual { padding: 24px; }
 .acid-visual__product { max-width: 420px; }
 .acid-hero__intro { font-size: 19px; }
 .acid-content .onb-news-block--rich-text { font-size: 18px; }
 .acid-content .onb-news-block--rich-text ol { grid-template-columns: 1fr 1fr; }
 .acid-content .onb-news-block--cta { flex-wrap: wrap; }
}
@media (max-width: 600px) {
 .acid-breadcrumb { font-size: 15px; }
 .acid-hero__copy { padding: 28px 22px; }
 .acid-hero h1 { font-size: 38px; }
 .acid-kicker { font-size: 15px; }
 .acid-hero__actions { gap: 22px; }
 .acid-button { font-size: 16px; padding: 16px; gap: 12px; }
 .acid-editorial { padding-top: 36px; }
 .acid-content > * { margin-bottom: 64px; }
 .acid-content .onb-news-block--quote { padding: 24px; }
 .acid-content .onb-news-quote__text { font-size: 23px; }
 .acid-content .onb-news-block--rich-text ol { grid-template-columns: 1fr; gap: 36px; }
 .acid-content .onb-news-block--rich-text ol li { font-size: 18px; padding: 0; }
 .acid-faq .onb-news-faq__question { font-size: 18px; padding: 20px 16px; gap: 10px; }
 .acid-faq .onb-news-faq__answer { font-size: 18px; padding: 0 20px 24px; }
 .acid-content .onb-news-block--cta { padding: 26px; }
 .acid-content .onb-news-block--cta h2 { font-size: 27px; }
 .acid-end { flex-direction: column; font-size: 15px; }
}
@media (max-width: 767px) {
 .acid-content .onb-news-block--products[data-product-count] .onb-news-products__track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--onb-space-3); }
 .acid-content .onb-product-card__title { font-size: .98rem; }
}
/* Interactive product stage, replacing the temporary rectangular photograph. */
.acid-can { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 16px 24px 28px; background: transparent; }
.acid-can__stage { position: relative; width: 100%; height: clamp(330px, 30vw, 470px); }
.acid-can__stage canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; opacity: 0; }
.acid-can__stage canvas:active { cursor: grabbing; }
.acid-can__stage .acid-visual__product { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.acid-can.is-ready canvas { opacity: 1; }
.acid-can.is-ready [data-can-fallback] { display: none; }
.acid-can__controls { width: 100%; text-align: center; }
.acid-can__controls[hidden] { display: none; }
.acid-can__controls p { margin: 0 0 15px; color: #515b48; font-size: 16px; }
.acid-can__controls > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.acid-can__controls button { padding: 11px 14px; border: 1px solid #cbd2c0; border-radius: 7px; background: #ffffffb8; color: #303827; font: inherit; font-size: 15px; cursor: pointer; min-height: 44px; }
.acid-can__controls button:hover { background: #fff; border-color: #8a9878; }
.acid-can__controls button[aria-pressed=true] { background: #303827; color: #fff; }
@media(max-width:600px) { .acid-can { padding: 8px 12px 24px; } .acid-can__stage { height: 320px; } .acid-can__controls button { padding: 10px; } }
.acid-hero > *, .acid-can__stage { min-width: 0; }
.acid-can__stage canvas { max-width: 100%; }

.acid-videos__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.acid-videos__grid .onb-news-block--video-wrap { min-width: 0; margin: 0; }
.acid-videos__grid .onb-news-block--video { border-radius: 12px; }
.acid-videos__grid figcaption { margin-top: 16px; color: #41463e; font-size: 18px; line-height: 1.5; }
@media (max-width: 900px) { .acid-videos__grid { grid-template-columns: 1fr; gap: 32px; } }
/* One continuous scroll story: copy moves past a pinned product scene. */
.acid-story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 48px; row-gap: 0; position: relative; }
.acid-story__rail { min-width: 0; grid-column: 2; grid-row: 1 / span 2; }
.acid-story > .acid-hero { grid-column: 1; grid-row: 1; }
.acid-story > .acid-story__chapters { grid-column: 1; grid-row: 2; }
.acid-story .acid-hero { display: block; min-height: 570px; background: transparent; overflow: visible; }
.acid-story .acid-hero__copy { padding: 60px 0; min-height: 570px; }
.acid-story .acid-hero h1 { font-size: clamp(40px, 4.2vw, 68px); }
.acid-story__rail .acid-can { position: sticky; top: 110px; border-radius: 0; padding: 0; height: min(620px, calc(100svh - 135px)); min-height: 320px; }
.acid-story__rail .acid-can__stage { height: 100%; }
.acid-can__stage canvas, .acid-can__stage canvas:active { cursor: default; pointer-events: none; touch-action: auto; }
.acid-story__chapters > .acid-story__chapter { padding: 44px 0; margin: 0; border: 0; }
.acid-story__chapter > * { margin-block: 0; }
.acid-story__chapter .onb-news-block--rich-text p { max-width: 100%; }
.acid-story__chapter .onb-news-block--quote { padding: 30px; }
.acid-story__chapters { padding-bottom: 0; }
@media (max-width: 900px) {
 .acid-story { column-gap: 24px; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); }
 .acid-story .acid-hero h1 { font-size: 40px; }
 .acid-story__rail .acid-can { min-height: 260px; height: 380px; }
}
@media (max-width: 600px) {
 .acid-story { display: flex; flex-direction: column; gap: 0; }
 .acid-story__rail { position: static; margin: 0 0 24px; }
 .acid-story__rail .acid-can { position: relative; top: 0; height: 320px; min-height: 0; border-radius: 0; }
 .acid-story .acid-hero, .acid-story .acid-hero__copy { min-height: 0; }
 .acid-story .acid-hero__copy { padding: 8px 0 24px; }
 .acid-story .acid-hero h1 { font-size: 38px; }
 .acid-story__chapters > .acid-story__chapter { padding: 48px 0; }
 .acid-story__chapters { padding-bottom: 30px; }
 .acid-story #acid-read { scroll-margin-top: 100px; }
}
@media (prefers-reduced-motion: reduce) {
 .acid-story__rail, .acid-story__rail .acid-can { position: relative; top: 0; }
}

/* Match the existing floating header width; scope shell adjustments to this guide. */
.site-shell:has(.acid-guide) .site-main__inner {
  width: min(calc(100% - 32px), calc(var(--onb-container) + 40px));
}
.site-shell:has(.acid-guide) .site-main { padding-bottom: 0; }
.site-shell:has(.acid-guide) .site-footer { margin: 64px 16px 16px; }
.site-shell:has(.acid-guide) .site-footer__inner {
  width: min(100%, calc(var(--onb-container) + 40px));
  border-radius: 24px;
}
.acid-editorial > .acid-content > :last-child { margin-bottom: 0; }
@media (max-width: 600px) {
 .site-shell:has(.acid-guide) .site-footer { margin-top: 48px; }
}
.site-shell:has(.acid-guide) .site-footer { padding-top: 0; }
@media (max-width: 767px) {
 .site-shell:has(.acid-guide) .site-main__inner { width: calc(100% - 20px); }
 .site-shell:has(.acid-guide) .site-footer { margin-inline: 10px; }
 .site-shell:has(.acid-guide) .site-footer__inner,
 .acid-content .onb-news-block--cta { border-radius: 22px; }
}
