/* AODSON visual refresh · 2026-11-17 · presentation only */
:root {
  --aodson-vr-ink: #15283a;
  --aodson-vr-muted: #536778;
  --aodson-vr-blue: #245e89;
  --aodson-vr-accent: #ad8552;
  --aodson-vr-line: #dfe6eb;
  --aodson-vr-paper: #f7f8f7;
}

body.wp-theme-Zing-Pro { color: var(--aodson-vr-ink); }
body.wp-theme-Zing-Pro h1,
body.wp-theme-Zing-Pro h2,
body.wp-theme-Zing-Pro h3 { letter-spacing: -.025em; }
body.wp-theme-Zing-Pro a:focus-visible,
body.wp-theme-Zing-Pro button:focus-visible { outline: 3px solid #c39b65; outline-offset: 3px; }

/* Home: give the product photography and editorial hierarchy more room. */
body.home .aodson-enterprise-hero { background-color: #f5f7f8; }
body.home .aodson-enterprise-hero::before {
  background: linear-gradient(90deg, rgba(249,250,250,.99) 0%, rgba(249,250,250,.95) 34%, rgba(249,250,250,.61) 56%, rgba(249,250,250,.04) 82%);
}
body.home .aodson-enterprise-inner { width: min(100% - 64px, 1280px); }
body.home .aodson-enterprise-copy { max-width: 600px; }
body.home .aodson-enterprise-kicker,
body.home .aodson-product-spectrum-kicker { color: var(--aodson-vr-accent); letter-spacing: .13em; }
body.home .aodson-enterprise-kicker::before,
body.home .aodson-product-spectrum-kicker::before { background: var(--aodson-vr-accent); }
body.home .aodson-enterprise-title { color: #122b40; font-weight: 760; letter-spacing: -.045em; line-height: 1.03; }
body.home .aodson-enterprise-title span { color: #285a80; font-weight: 590; }
body.home .aodson-enterprise-lead { color: #465c6d; font-size: 17px; line-height: 1.72; max-width: 555px; }
body.home .aodson-enterprise-scope li { border-color: #d7e1e8; background: rgba(255,255,255,.77); color: #435d70; }
body.home .aodson-enterprise-btn { border-radius: 7px; }
body.home .aodson-enterprise-btn.primary { background: #245e89; border-color: #245e89; box-shadow: 0 12px 26px rgba(24,70,105,.18); }
body.home .aodson-enterprise-btn.primary:hover { background: #173f5d; border-color: #173f5d; }
body.home .aodson-enterprise-trust { background: rgba(247,249,249,.97); }
body.home .aodson-enterprise-trust-item::before { background: var(--aodson-vr-accent); box-shadow: 0 0 0 4px rgba(173,133,82,.12); }

body.home .aodson-product-spectrum { background: var(--aodson-vr-paper); padding-top: 100px; padding-bottom: 96px; }
body.home .aodson-product-spectrum-inner { width: min(100% - 64px, 1280px); }
body.home .aodson-product-spectrum-title { font-weight: 760; letter-spacing: -.04em; }
body.home .aodson-product-spectrum-grid { gap: 14px; border: 0; background: transparent; }
body.home .aodson-product-card { overflow: hidden; padding: 12px 12px 20px; border: 1px solid var(--aodson-vr-line); border-radius: 10px; box-shadow: 0 4px 16px rgba(22,44,60,.035); }
body.home .aodson-product-card:hover { box-shadow: 0 15px 35px rgba(22,44,60,.11); }
body.home .aodson-product-card-media { border-radius: 5px; background: #f9faf9; }
body.home .aodson-product-card h3 { font-size: 16px; font-weight: 730; }
body.home .aodson-product-card small { color: #70808a; letter-spacing: .1em; }
body.home .aodson-product-card-arrow { color: var(--aodson-vr-blue); }

body.home .aodson-manufacturing-intro,
body.home .aodson-precision-casting-section,
body.home .aodson-integrated-machining-section,
body.home .aodson-quality-inspection-section,
body.home .aodson-news-intro { scroll-margin-top: 95px; }
body.home .aodson-manufacturing-intro img,
body.home .aodson-precision-casting-section img,
body.home .aodson-integrated-machining-section img,
body.home .aodson-quality-inspection-section img { border-radius: 10px; }

/* Archive pages: stronger typography, calmer surfaces, and consistent cards. */
body.aodson-products-archive .aodson-products,
body.aodson-blog-archive .aodson-insights { background: var(--aodson-vr-paper); }
body.aodson-products-archive .aodson-products__hero,
body.aodson-blog-archive .aodson-insights__hero { background: linear-gradient(125deg,#eef3f5 0%,#f7f9fa 74%); border-bottom-color: var(--aodson-vr-line); }
body.aodson-products-archive .aodson-products__hero { padding: 65px 0 59px; }
body.aodson-blog-archive .aodson-insights__hero { padding: 65px 0 38px; }
body.aodson-products-archive .aodson-products__hero h1,
body.aodson-blog-archive .aodson-insights__hero h1 { color: #142c40; font-size: clamp(38px,4vw,50px); font-weight: 760; letter-spacing: -.043em; line-height: 1.1; }
body.aodson-products-archive .aodson-products__eyebrow,
body.aodson-blog-archive .aodson-insights__eyebrow,
body.aodson-products-archive .aodson-products__kicker,
body.aodson-blog-archive .aodson-insights__kicker { color: var(--aodson-vr-accent); letter-spacing: .12em; }
body.aodson-products-archive .aodson-products__intro,
body.aodson-blog-archive .aodson-insights__intro { color: #526778; line-height: 1.65; }
body.aodson-products-archive .aodson-family-card,
body.aodson-products-archive .aodson-product-card,
body.aodson-blog-archive .aodson-featured-lead,
body.aodson-blog-archive .aodson-featured-pick,
body.aodson-blog-archive .aodson-article-card { border: 1px solid var(--aodson-vr-line); border-radius: 11px; box-shadow: 0 5px 20px rgba(25,46,60,.04); overflow: hidden; }
body.aodson-products-archive .aodson-family-card:hover,
body.aodson-products-archive .aodson-product-card:hover,
body.aodson-blog-archive .aodson-article-card:hover { box-shadow: 0 16px 34px rgba(25,46,60,.11); }
body.aodson-products-archive .aodson-family-card__image,
body.aodson-products-archive .aodson-product-card__image,
body.aodson-blog-archive .aodson-card__image { background: #f9faf9; }
body.aodson-products-archive .aodson-family-card h3,
body.aodson-products-archive .aodson-product-card h3,
body.aodson-blog-archive .aodson-article-card h3 { letter-spacing: -.02em; line-height: 1.3; }

/* Single product: image and contact choices read as one composed panel. */
body.single-post .page-main { background: #f7f8f9; box-shadow: none; }
body.single-post .page-main > .page-width { max-width: 1200px; }
body.single-post .product-header { display: flex; gap: 28px; align-items: flex-start; padding: 25px; background: #fff; border: 1px solid var(--aodson-vr-line); border-radius: 13px; box-shadow: 0 12px 40px rgba(25,46,60,.045); }
body.single-post .product-gallery-box { min-width: 0; }
body.single-post .featurearea__big__img,
body.single-post .featurearea__single__big__img { border-radius: 8px; overflow: hidden; background: #f9faf9; }
body.single-post .product-text h1 { color: #172d40; font-size: clamp(27px,2.6vw,34px); line-height: 1.18; font-weight: 750; }
body.single-post .product-text p { color: #4c6170; line-height: 1.68; }
body.single-post .product-text .post-category a { border-radius: 4px; }
body.single-post .product-header a[href*="request-a-quote"] { border-radius: 6px; }

/* Single articles: readable line length and typographic rhythm. */
body.single-post .page-sidebar { gap: 26px; }
body.single-post .page-right .article-detail { padding: 30px 36px 36px; background: #fff; border: 1px solid var(--aodson-vr-line); border-radius: 13px; box-shadow: 0 10px 35px rgba(25,46,60,.04); }
body.single-post .article-title.align-center { text-align: left; }
body.single-post .article-title h1 { color: #172d40; font-size: clamp(30px,3vw,40px); line-height: 1.16; font-weight: 750; }
body.single-post .article-content { color: #304251; font-size: 17px; line-height: 1.78; }
body.single-post .article-content > p,
body.single-post .article-content > ul,
body.single-post .article-content > ol,
body.single-post .article-content > h2,
body.single-post .article-content > h3,
body.single-post .article-content > figure,
body.single-post .article-content > .wp-block-image { max-width: 760px; }
body.single-post .article-content p { margin: 0 0 1.18em; }
body.single-post .article-content h2 { margin: 2.15em 0 .7em; padding-bottom: .38em; border-bottom: 1px solid var(--aodson-vr-line); color: #17364e; font-size: 1.55em; line-height: 1.25; }
body.single-post .article-content h3 { margin: 1.65em 0 .55em; color: #26485f; font-size: 1.18em; line-height: 1.35; }
body.single-post .article-content li { margin-bottom: .38em; }
body.single-post .article-content img { height: auto; border-radius: 7px; }
body.single-post .article-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
body.single-post .article-content th { background: #edf3f6; color: #18364c; }
body.single-post .article-content th,
body.single-post .article-content td { padding: 11px 14px; border: 1px solid #dfe7eb; }
body.single-post .page-sidebar .page-left > div,
body.single-post .page-sidebar .page-left > aside { border-radius: 10px; }

/* Standalone pages keep an intentional reading width and a bottom-anchored footer. */
body.page { min-height: 100vh; }
body.page .page-main { min-height: 48vh; }
body.page .aodson-about-hero { background: #f8f9f8; }
body.page .aodson-about-hero h1 { letter-spacing: -.045em; font-weight: 760; }
body.page .aodson-about-hero img { border-radius: 10px; }
body.page .aodson-privacy-policy,
body.page .aodson-cookie-policy { color: #263c4e; }

/* Capability and contact pages use different original layouts, but share a calmer scale. */
body.page-id-2543 .aodson-cnc-content h1 { color: #172d40; font-size: clamp(36px,3.5vw,50px); line-height: 1.1; letter-spacing: -.045em; font-weight: 760; }
body.page-id-2543 .aodson-cnc-content p { color: #475e6d; line-height: 1.72; }
body.page-id-2543 .aodson-cnc-section-wrapper img { border-radius: 10px; }
body.page-id-4087 .qc-hero h1 { max-width: 850px; font-size: clamp(43px,5.2vw,70px); line-height: 1.08; letter-spacing: -.045em; }
body.page-id-3 .aodson-contact-hero h1 { max-width: 760px; font-size: clamp(44px,5.2vw,70px); line-height: 1.08; letter-spacing: -.045em; }
@media (min-width: 1100px) {
  body.page-id-3 .aodson-contact-hero-grid { padding-right: 72px; }
  body.aodson-precision-casting-page .cast-hero-image { margin-right: 58px; }
}

@media (max-width: 820px) {
  body.home .aodson-enterprise-inner,
  body.home .aodson-product-spectrum-inner { width: min(100% - 40px,1280px); }
  body.home .aodson-product-spectrum { padding: 70px 0; }
  body.home .aodson-product-spectrum-grid { gap: 10px; }
  body.single-post .product-header { padding: 16px; gap: 18px; }
  body.single-post .page-right .article-detail { padding: 24px; }
}
@media (max-width: 560px) {
  body.home .aodson-enterprise-hero::before { background: linear-gradient(90deg,rgba(249,250,250,.99),rgba(249,250,250,.91) 70%,rgba(249,250,250,.68)); }
  body.home .aodson-enterprise-inner,
  body.home .aodson-product-spectrum-inner { width: min(100% - 32px,1280px); }
  body.home .aodson-enterprise-title { font-size: clamp(36px,9vw,43px); }
  body.home .aodson-enterprise-lead { font-size: 15px; }
  body.home .aodson-product-spectrum { padding: 54px 0; }
  body.home .aodson-product-card { padding: 8px 8px 15px; }
  body.aodson-products-archive .aodson-products__hero,
  body.aodson-blog-archive .aodson-insights__hero { padding-top: 48px; }
  body.aodson-products-archive .aodson-products__hero h1,
  body.aodson-blog-archive .aodson-insights__hero h1 { font-size: 35px; }
  body.single-post .product-header { display: block; }
  body.single-post .page-right .article-detail { padding: 20px 18px; }
  body.single-post .article-title h1 { font-size: 30px; }
  body.single-post .article-content { font-size: 16px; line-height: 1.72; }
}
@media (prefers-reduced-motion: reduce) {
  body.home .aodson-product-card,
  body.aodson-products-archive .aodson-family-card,
  body.aodson-blog-archive .aodson-article-card { transition: none; }
}
