/* APS corporate theme — layout + components that theme.json can't express. */
:root{--aps-shadow-subtle:0 4px 20px -2px rgba(21,62,43,.06);--aps-shadow-premium:0 20px 45px -10px rgba(21,62,43,.14);--aps-accent:#D9622B}
html{scroll-behavior:smooth}
body{-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;height:auto}
.wp-block-group.has-global-padding>.alignfull{margin-inline:calc(var(--wp--style--root--padding-left,0px)*-1)}

/* ---------- header ---------- */
header.wp-block-template-part{position:sticky;top:0;z-index:50;background:rgba(251,249,244,.94);backdrop-filter:saturate(1.2) blur(12px);border-bottom:1px solid var(--wp--preset--color--border)}
.admin-bar header.wp-block-template-part{top:32px}
.aps-header{padding-top:.7rem;padding-bottom:.7rem}
.aps-header__row{gap:.75rem 2rem!important;flex-wrap:wrap!important}
.aps-brand{flex:0 0 auto;gap:.75rem}
.aps-brand .wp-block-site-logo img{width:auto!important;height:52px!important;border-radius:10px;border:1px solid var(--wp--preset--color--border);background:#fff;padding:3px}
.aps-brand .wp-block-site-title,.aps-brand .wp-block-site-title a{color:var(--wp--preset--color--forest);text-decoration:none;line-height:1.1;font-size:.95rem!important}
.aps-tagline{margin:0!important;color:var(--aps-accent);font-weight:600;font-size:.72rem!important}
.aps-nav{flex:1 1 auto;min-width:0}
.aps-nav .wp-block-navigation__container{gap:.25rem 1.6rem;flex-wrap:nowrap}
.aps-nav .wp-block-navigation-item__content{white-space:nowrap;font-weight:500;color:var(--wp--preset--color--charcoal);text-decoration:none}
.aps-nav .wp-block-navigation-item__content:hover{color:var(--wp--preset--color--forest-light)}
.aps-header__cta{flex:0 0 auto}.aps-header__cta .wp-block-button__link{white-space:nowrap;padding:.65rem 1.25rem;font-size:.9rem}
@media (max-width:1180px){.aps-header__cta{display:none!important}.aps-nav .wp-block-navigation__container{gap:.25rem 1.25rem}}
@media (max-width:1180px){.aps-brand .wp-block-site-title{font-size:.8rem!important}}
@media (max-width:1100px){.aps-brand .wp-block-site-title,.aps-brand .aps-tagline{display:none}}
@media (max-width:600px){.aps-tagline{display:none}}

/* ---------- type + eyebrow ---------- */
.aps-eyebrow{display:flex;align-items:center;gap:.55rem;font-family:var(--wp--preset--font-family--mono);text-transform:uppercase;letter-spacing:.1em;font-size:.72rem!important;font-weight:700;color:var(--wp--preset--color--forest)!important;margin-bottom:.75rem}
.aps-eyebrow::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--aps-accent);flex:0 0 auto}
.has-forest-dark-background-color .aps-eyebrow,.has-forest-background-color .aps-eyebrow,.wp-block-cover .aps-eyebrow{color:var(--wp--preset--color--buttercup)!important}
.aps-section h2{max-width:26ch;margin-bottom:1rem}
.aps-section h2 em,.aps-hero h1 em{font-style:italic;font-weight:500}
.aps-section>p{max-width:62ch}
.aps-section.is-layout-constrained>:where(h1,h2,h3,p,.wp-block-buttons,.aps-eyebrow){margin-left:0!important;margin-right:0!important}
.aps-section .wp-block-buttons{justify-content:flex-start}
.aps-section>*+*{margin-block-start:1.25rem}
.aps-section .wp-block-columns,.aps-section .wp-block-query{margin-top:2.25rem}

/* ---------- buttons ---------- */
.wp-block-button__link{padding:.85rem 1.6rem;font-size:.95rem;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}
.wp-block-button__link:hover{transform:translateY(-1px);box-shadow:0 8px 20px -8px rgba(21,62,43,.35)}
.is-style-outline .wp-block-button__link{background:transparent;border:1.5px solid var(--wp--preset--color--forest);color:var(--wp--preset--color--forest)}
.has-forest-dark-background-color .is-style-outline .wp-block-button__link,.has-forest-background-color .is-style-outline .wp-block-button__link,.wp-block-cover .is-style-outline .wp-block-button__link{color:#fff;border-color:rgba(255,255,255,.55)}

/* ---------- hero ---------- */
.aps-hero{padding-block:clamp(5rem,12vw,9rem)!important}
.aps-hero .wp-block-cover__inner-container{width:100%;max-width:var(--wp--style--global--content-size,1180px);margin-inline:auto;padding-inline:var(--wp--style--root--padding-left,1.25rem)}
.aps-hero .wp-block-cover__inner-container>*{max-width:720px}
.aps-hero img.wp-block-cover__image-background{object-position:50% 72%}
.aps-hero h1{margin-block:.5rem 1.25rem;text-shadow:0 2px 24px rgba(0,0,0,.35)}
.aps-hero .wp-block-buttons{margin-top:2rem}
.aps-hero .wp-block-cover__background{background:linear-gradient(95deg,rgba(13,41,29,.93) 0%,rgba(13,41,29,.7) 50%,rgba(13,41,29,.42) 100%)!important;opacity:1!important}
.aps-hero p.has-small-font-size{margin-top:2.5rem;opacity:.8;font-family:var(--wp--preset--font-family--mono);font-size:.72rem!important;letter-spacing:.04em}

/* ---------- cards ---------- */
.aps-card{background:#fff;border:1px solid var(--wp--preset--color--border);border-radius:20px;box-shadow:var(--aps-shadow-subtle);transition:box-shadow .2s ease,transform .2s ease;height:100%}
.aps-card:hover{box-shadow:var(--aps-shadow-premium);transform:translateY(-2px)}
.aps-card .wp-block-post-featured-image{background:#fff;border-radius:12px;border:1px solid var(--wp--preset--color--border);overflow:hidden}
.aps-card .wp-block-post-featured-image img{width:100%;height:100%;object-fit:contain!important;background:#fff;padding:.5rem}
.aps-card .wp-block-post-title{margin:.9rem 0 .4rem;line-height:1.2}.aps-card .wp-block-post-title a{color:var(--wp--preset--color--forest);text-decoration:none}
.aps-card .wp-block-post-excerpt{color:var(--wp--preset--color--muted-text);margin:0 0 .6rem}
.aps-card .wp-block-read-more{display:inline-block;margin-top:.6rem;padding:.55rem 1.1rem;border:1.5px solid var(--wp--preset--color--forest);border-radius:999px;font-weight:700;font-size:.85rem;text-decoration:none;color:var(--wp--preset--color--forest)}
.aps-card .wp-block-read-more:hover{background:var(--wp--preset--color--forest);color:#fff}
.wp-block-post-template.is-layout-grid{gap:1.5rem}
.wp-block-columns{gap:1.5rem}
.wp-block-columns .aps-card{padding:1.5rem}

/* ---------- details, dark sections, footer ---------- */
.wp-block-details{background:#fff;border:1px solid var(--wp--preset--color--border);border-radius:14px;padding:1rem 1.25rem;margin:.6rem 0;box-shadow:var(--aps-shadow-subtle)}
.wp-block-details summary{font-weight:700;color:var(--wp--preset--color--forest);cursor:pointer}
.has-forest-dark-background-color,.has-forest-background-color{color:var(--wp--preset--color--canvas)}
.has-forest-dark-background-color :where(p,li),.has-forest-background-color :where(p,li){color:inherit}
.aps-footer h1,.aps-footer h2,.aps-footer h3,.aps-footer h4,.aps-footer .wp-block-site-title,.aps-footer .wp-block-site-title a{color:var(--wp--preset--color--buttercup)!important;text-decoration:none}
.aps-footer a{color:var(--wp--preset--color--canvas);text-decoration:none}.aps-footer a:hover{color:var(--wp--preset--color--buttercup)}
.aps-footer .aps-copy{margin-top:2.5rem;padding-top:1.25rem;border-top:1px solid rgba(255,255,255,.12);opacity:.7}

/* ---------- plugin components ---------- */
.aps-specs{width:100%;border-collapse:collapse}.aps-specs th,.aps-specs td{padding:.6rem .8rem;border-bottom:1px solid var(--wp--preset--color--border);text-align:left;vertical-align:top}.aps-specs th{width:32%;color:var(--wp--preset--color--forest)}
.aps-buttons{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.25rem 0}.aps-btn-outline{display:inline-block;padding:.7rem 1.4rem;border:1.5px solid var(--wp--preset--color--forest);border-radius:999px;color:var(--wp--preset--color--forest);text-decoration:none;font-weight:700}
.aps-calc{padding:1.5rem}.aps-calc label{display:block;margin:.75rem 0;font-weight:600}.aps-calc select,.aps-calc input{width:100%;max-width:420px;padding:.6rem .8rem;border:1px solid var(--wp--preset--color--border);border-radius:10px;font:inherit}
.wp-block-details{background:#fff;border:1px solid var(--wp--preset--color--border);border-radius:14px;padding:1rem 1.25rem;margin:.6rem 0}.wp-block-details summary{font-weight:700;color:var(--wp--preset--color--forest);cursor:pointer}


.aps-form .ff-el-input--label label{font-weight:600;color:var(--wp--preset--color--forest)}
.aps-form input,.aps-form select,.aps-form textarea{border:1px solid var(--wp--preset--color--border)!important;border-radius:10px!important;padding:.65rem .8rem!important}
.aps-form .ff-btn-submit{background:var(--wp--preset--color--buttercup)!important;color:var(--wp--preset--color--forest-dark)!important;border-radius:999px!important;font-weight:700!important;padding:.8rem 1.6rem!important}
.aps-compare table{width:100%;border-collapse:collapse}.aps-compare th,.aps-compare td{padding:.8rem;border-bottom:1px solid var(--wp--preset--color--border);text-align:left;vertical-align:top}.aps-compare th{background:var(--wp--preset--color--forest);color:#fff}

@media (max-width:700px){.aps-hero .wp-block-cover__background{background:rgba(13,41,29,.8)!important}.aps-hero{padding-block:4rem!important}.aps-section h2{max-width:none}}

/* ======================= PREMIUM POLISH LAYER ======================= */
body{font-size:1.0625rem;line-height:1.7}
h1,h2,h3,h4{letter-spacing:-.015em}
.aps-section>p,.aps-section .wp-block-column>p{color:var(--wp--preset--color--muted-text)}
.has-forest-dark-background-color :where(p,li),.has-forest-background-color :where(p,li),.aps-hero :where(p){color:rgba(255,255,255,.82)}
.has-forest-dark-background-color h2 em,.has-forest-background-color h2 em{color:var(--wp--preset--color--buttercup)}
.aps-section h2{font-weight:600;line-height:1.08;margin-bottom:.5rem}

/* hero */
.aps-hero{background:#0D291D}
.aps-chips{display:flex;flex-wrap:wrap;gap:.55rem!important;margin-top:2.75rem!important}
.aps-chip{margin:0!important;padding:.4rem .9rem;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.08);backdrop-filter:blur(6px);font-size:.78rem!important;font-weight:600;letter-spacing:.02em;color:#fff!important}
.aps-hero .wp-block-buttons .wp-block-button__link{padding:1rem 1.9rem;font-size:1rem}
.aps-hero .aps-hero__scroll{display:none}

/* metrics band */
.aps-metrics{gap:2rem!important;margin-top:3rem!important}
.aps-metric{padding:1.5rem 1rem 0 0;border-top:2px solid rgba(240,213,134,.55)}
.aps-metric .aps-eyebrow{margin-bottom:1rem}
.aps-metric__value{line-height:1;margin:.25rem 0 1rem!important;font-weight:600}
.aps-metric h4{color:#fff!important;font-family:var(--wp--preset--font-family--sans)!important;font-size:1.05rem;font-weight:700;margin-bottom:.5rem}
.aps-metric p{color:rgba(255,255,255,.7)!important;font-size:.92rem}

/* products */
.wp-block-post-template.is-layout-grid>li{display:flex}
.aps-card{display:flex!important;flex-direction:column;width:100%}
.aps-card .wp-block-post-featured-image{background:var(--wp--preset--color--canvas)!important;margin-bottom:0}
.aps-card .wp-block-post-featured-image img{padding:.9rem}
.aps-card .wp-block-read-more{margin-top:auto!important;align-self:flex-start}
.aps-crops{display:inline-block;margin:.25rem 0 .5rem!important;padding:.3rem .6rem;border-radius:8px;background:var(--wp--preset--color--canvas-muted);color:var(--wp--preset--color--forest-light)!important;font-family:var(--wp--preset--font-family--mono);font-size:.68rem!important;text-transform:uppercase;letter-spacing:.05em;line-height:1.4}
.aps-crops:empty{display:none}
.aps-card .wp-block-shortcode{margin:0}

/* pillars */
#science .wp-block-columns{gap:1.75rem}
#science .wp-block-column{background:#fff;border:1px solid var(--wp--preset--color--border);border-radius:24px;padding:1.25rem 1.25rem 1.75rem;box-shadow:var(--aps-shadow-subtle);display:flex;flex-direction:column}
#science .wp-block-image{margin:0 0 1.25rem}
#science .wp-block-image img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:16px!important}
#science .wp-block-column h3{font-size:1.45rem;margin:.25rem 0 .5rem}
#science .wp-block-column .aps-eyebrow{margin:0 0 .5rem}
#science .wp-block-column p{font-size:.95rem}
#science .wp-block-list,.aps-section .wp-block-list{list-style:none;padding:0;margin:1rem 0}
#science .wp-block-list li,.aps-section .wp-block-list li{position:relative;padding:.35rem 0 .35rem 1.7rem;font-size:.93rem;color:var(--wp--preset--color--charcoal)}
#science .wp-block-list li::before,.aps-section .wp-block-list li::before{content:"";position:absolute;left:0;top:.7rem;width:1.05rem;height:1.05rem;border-radius:50%;background:var(--wp--preset--color--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23F0D586' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat}
#science .wp-block-column>p:last-child{margin-top:auto;padding-top:1rem;border-top:1px solid var(--wp--preset--color--border);font-size:.9rem;color:var(--wp--preset--color--forest)}

/* explainer */
#how-it-works .wp-block-columns{gap:1.5rem}
#how-it-works .wp-block-column{padding:1.5rem;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:rgba(255,255,255,.04)}
#how-it-works h4{color:#fff!important;font-family:var(--wp--preset--font-family--sans)!important;font-size:1.05rem}

/* knowledge + calculator */
.aps-card .aps-eyebrow{margin:0 0 .6rem}
.aps-calc-wrap{margin-top:3rem;padding:clamp(1.5rem,3vw,2.5rem);background:#fff;border:1px solid var(--wp--preset--color--border);border-radius:28px;box-shadow:var(--aps-shadow-premium)}
.aps-calc-wrap h3{margin-top:0}
.aps-calc{padding:0!important;box-shadow:none!important;border:0!important}
.aps-calc h3,.aps-calc h4{display:none}
.aps-calc select,.aps-calc input{border-radius:12px;padding:.75rem 1rem;background:var(--wp--preset--color--canvas)}

/* CTA panel */
.aps-cta-panel{position:relative;overflow:hidden;padding:clamp(2.5rem,6vw,5rem)!important;border-radius:32px;background-image:radial-gradient(circle at 88% 18%,rgba(240,213,134,.22),transparent 42%),linear-gradient(135deg,#153E2B,#0D291D)!important}
.aps-cta-panel>*{max-width:640px;position:relative}
.aps-cta-panel h2{color:#fff}

/* footer */
.aps-footer{margin-top:0}
.aps-footer .wp-block-site-title{font-size:1.5rem!important}
.aps-footer h4{font-family:var(--wp--preset--font-family--mono)!important;font-size:.75rem!important;letter-spacing:.12em;text-transform:uppercase}

/* arrow on primary buttons */
.wp-block-button:not(.is-style-outline) .wp-block-button__link::after{content:"→";margin-left:.5rem;display:inline-block;transition:transform .15s}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover::after{transform:translateX(3px)}
.aps-header__cta .wp-block-button__link::after{display:none}

/* product page */
.aps-product{max-width:none}
.aps-product__hero{gap:clamp(1.5rem,4vw,4rem)!important;align-items:center;margin-bottom:clamp(2.5rem,6vw,5rem)}
.aps-product__image,.aps-product__image img{border-radius:28px}
.aps-product__image{background:#fff;border:1px solid var(--wp--preset--color--border);box-shadow:var(--aps-shadow-premium);overflow:hidden}
.aps-product__image img{width:100%;height:100%;object-fit:contain!important;padding:1.5rem}
.aps-product h1{margin:.25rem 0 1rem;line-height:1.08}
.aps-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:1.5rem 0}
.aps-fact{padding:.9rem 1.1rem;background:#fff;border:1px solid var(--wp--preset--color--border);border-radius:16px}
.aps-fact span{display:block;font-family:var(--wp--preset--font-family--mono);font-size:.6875rem;letter-spacing:.1em;text-transform:uppercase;color:var(--wp--preset--color--muted-text);margin-bottom:.25rem}
.aps-fact strong{font-size:.92rem;font-weight:600;color:var(--wp--preset--color--forest);line-height:1.4}
.aps-btn-solid,.aps-btn-outline{display:inline-block;padding:.9rem 1.6rem;border-radius:999px;font-weight:700;font-size:.95rem;text-decoration:none;transition:transform .15s,box-shadow .15s}
.aps-btn-solid{background:var(--wp--preset--color--buttercup);color:var(--wp--preset--color--forest-dark)}
.aps-btn-solid:hover,.aps-btn-outline:hover{transform:translateY(-1px);box-shadow:0 8px 20px -8px rgba(21,62,43,.35)}
.aps-btn-outline:hover{background:var(--wp--preset--color--forest);color:#fff}
.aps-product__body{gap:clamp(1.5rem,4vw,3rem)!important;align-items:flex-start}
.aps-specs-card{padding:1.75rem!important;position:sticky;top:6rem;height:auto!important}
.aps-specs-card h3{margin-top:0}
.aps-specs th{font-family:var(--wp--preset--font-family--sans);font-size:.85rem}
.aps-specs td{font-size:.92rem;color:var(--wp--preset--color--charcoal)}
@media(max-width:781px){.aps-facts{grid-template-columns:1fr}.aps-specs-card{position:static}}

/* inner pages */
.aps-section.has-forest-dark-background-color h1{max-width:20ch;color:#fff}
.aps-section.has-forest-dark-background-color p.has-lead-font-size{max-width:60ch}
.aps-split{gap:clamp(2rem,5vw,5rem)!important;align-items:center}
.aps-photo{margin:0}.aps-photo img{width:100%;aspect-ratio:5/4;object-fit:cover;border-radius:28px;box-shadow:var(--aps-shadow-premium)}
.aps-stat{display:flex!important;align-items:baseline;gap:.75rem;margin:1.25rem 0;padding:1rem 1.25rem;background:#fff;border:1px solid var(--wp--preset--color--border);border-radius:16px;width:fit-content;max-width:100%}
.aps-stat p{margin:0!important}.aps-stat__num{line-height:1;color:var(--wp--preset--color--forest)!important}
.aps-certs .wp-block-column{background:#fff;border:1px solid var(--wp--preset--color--border);border-radius:20px;padding:1.5rem;box-shadow:var(--aps-shadow-subtle)}
.aps-certs h4{margin-top:0;font-family:var(--wp--preset--font-family--sans);font-size:1.05rem}
.aps-steps .wp-block-column{padding:1.5rem;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:rgba(255,255,255,.04)}
.aps-steps h4{color:#fff!important;font-family:var(--wp--preset--font-family--sans)!important;font-size:1.05rem}
.aps-panel{background:#fff;border:1px solid var(--wp--preset--color--border);border-radius:28px;padding:clamp(1.5rem,3.5vw,3rem);box-shadow:var(--aps-shadow-premium)}
.aps-panel h3{margin-top:0}
.aps-contact-cols{gap:1.75rem!important;align-items:stretch}
.aps-contact-cols .wp-block-column{display:flex;flex-direction:column}
.aps-contact-cols .aps-panel{height:100%}
.aps-compare{margin:2rem 0 0}
.aps-compare table{border-radius:20px;overflow:hidden;box-shadow:var(--aps-shadow-subtle);border:1px solid var(--wp--preset--color--border);background:#fff;border-collapse:separate;border-spacing:0}
.aps-compare th{background:var(--wp--preset--color--forest);color:#fff;padding:1rem 1.25rem;font-size:.85rem}
.aps-compare td{padding:1rem 1.25rem;font-size:.95rem;border-bottom:1px solid var(--wp--preset--color--border)}
.aps-compare tr:last-child td{border-bottom:0}
.aps-compare td:nth-child(2){background:rgba(21,62,43,.04)}
.aps-form .ff-el-group{margin-bottom:1.1rem}
.aps-compare{overflow-x:auto}
.aps-compare table{min-width:620px}
@media(max-width:781px){.aps-photo img{aspect-ratio:16/10}.aps-metrics{gap:1.25rem!important}.aps-cta-panel{border-radius:24px}.aps-panel{border-radius:22px}}

/* Product catalogue filters */
.aps-filters{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.5rem 0 2rem}
.aps-filter{display:inline-flex;align-items:center;gap:.4rem;padding:.45rem 1rem;border:1px solid var(--wp--preset--color--forest,#153E2B);border-radius:999px;font-size:.85rem;font-weight:600;text-decoration:none;color:var(--wp--preset--color--forest,#153E2B)}
.aps-filter span{font-size:.72rem;opacity:.65}
.aps-filter:hover,.aps-filter.is-active{background:var(--wp--preset--color--forest,#153E2B);color:#fff}
