/* AgriServ: brand rules theme.json cannot express. Tokens come from theme.json presets. */

html { scroll-padding-top: 96px; }
:where(body) { -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 2px solid var(--wp--preset--color--forest); outline-offset: 2px; }
.has-forest-background-color :focus-visible { outline-color: var(--wp--preset--color--lime); }

/* Header: a solid bar that stays at the top */
.as-site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .as-site-header { top: var(--wp-admin--admin-bar--height, 0px); }
.as-logo { display: block; line-height: 0; }
.as-logo img { height: 44px; width: auto; display: block; }
.as-nav .wp-block-navigation-item__content { padding: 10px 0; text-decoration: none; }
.as-nav .wp-block-navigation-item__content:hover,
.as-nav .current-menu-item > .wp-block-navigation-item__content { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
/* Phone menu button: the word "Menu" on a plot-shaped fill */
.as-nav .wp-block-navigation__responsive-container-open { align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 6px; font-weight: 600; font-size: 17px; line-height: 1; white-space: nowrap; }
/* Switch to the phone menu below 900px, not core's 600px: six links plus the logo do not fit on tablets */
@media (max-width: 899px) {
	.as-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-flex; }
	.as-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { display: flex; }
	.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { flex-direction: column; }
}
/* On very narrow screens the logo shrinks; the Menu button never does */
.as-bar .alignwide > .as-logo { flex: 0 1 auto; min-width: 0; }
.as-logo img { max-width: 100%; }
.as-bar .as-nav { flex: 0 0 auto; }
.has-paper-background-color .as-nav .wp-block-navigation__responsive-container-open { background: var(--wp--preset--color--paper-deep); color: var(--wp--preset--color--ink); }
.has-forest-background-color .as-nav .wp-block-navigation__responsive-container-open { background: #2C5E39; color: #FFFFFF; }
/* Phone menu: a full-screen forest panel. Logo and Close sit exactly where the logo and Menu button were,
   links run down the page with fine dividers, and the two actions sit at the bottom within thumb reach. */
.as-nav .as-menu-only { display: none; }
.as-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 0; background: var(--wp--preset--color--forest) !important; color: #FFFFFF !important; }
.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close, .as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog { height: 100%; max-width: none; }
.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog::before { content: ""; position: absolute; left: 16px; top: 13px; width: 99px; height: 38px; background: url("../images/agriserv-logo-white.svg") left center / contain no-repeat; }
.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { position: absolute; top: 10px; right: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 6px; background: #2C5E39; color: #FFFFFF; font-weight: 600; font-size: 17px; line-height: 1; }
.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close::before { content: ""; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 1l10 10M11 1L1 11' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 1l10 10M11 1L1 11' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { box-sizing: border-box; min-height: 100%; padding: 88px 16px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; }
.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container { flex: 1 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 0 !important; width: 100%; border-top: 1px solid rgba(255, 255, 255, .14); }
.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item { width: 100%; padding: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content { display: flex !important; align-items: center; justify-content: space-between; width: 100%; box-sizing: border-box; min-height: 60px; padding: 10px 0 !important; color: #FFFFFF !important; font-size: clamp(26px, 7.4vw, 34px); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; text-decoration: none !important; }
.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content::after { content: ""; flex: none; width: 18px; height: 18px; margin-left: 16px; background: var(--wp--preset--color--on-dark-soft); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 9h12M10 4l5 5-5 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 9h12M10 4l5 5-5 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Current page: lime text and a lime plot in place of the arrow */
.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .current-menu-item > .wp-block-navigation-item__content,
.home .as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .as-home-link > .wp-block-navigation-item__content { color: var(--wp--preset--color--lime) !important; }
.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .current-menu-item > .wp-block-navigation-item__content::after,
.home .as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .as-home-link > .wp-block-navigation-item__content::after { width: 14px; height: 14px; border-radius: 4px; background: var(--wp--preset--color--lime); -webkit-mask: none; mask: none; }
.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .as-menu-only { display: flex; }
/* The two actions: lime WhatsApp button, then a plain quote link */
.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .as-menu-wa { margin-top: auto; padding-top: 28px; border-bottom: 0; flex-direction: column; gap: 12px; }
.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .as-menu-wa::before { content: "Monday to Friday, 8am to 5pm"; align-self: center; color: var(--wp--preset--color--on-dark-soft); font-size: 15px; text-align: center; }
.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .as-menu-wa > .wp-block-navigation-item__content { justify-content: center; gap: 10px; min-height: 56px; padding: 0 20px !important; border-radius: 6px; background: var(--wp--preset--color--lime); color: var(--wp--preset--color--forest) !important; font-size: 18px; letter-spacing: 0; }
.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .as-menu-wa > .wp-block-navigation-item__content::after { display: none; }
.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .as-menu-wa > .wp-block-navigation-item__content::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .as-menu-quote { border-bottom: 0; }
.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .as-menu-quote > .wp-block-navigation-item__content { justify-content: center; min-height: 52px; font-size: 17px; letter-spacing: 0; text-decoration: underline !important; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .as-menu-quote > .wp-block-navigation-item__content::after { display: none; }
/* Short phones (iPhone SE and similar): tighter rows so everything fits without scrolling */
@media (max-height: 700px) { .as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 76px; } .as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content { min-height: 52px; padding: 6px 0 !important; font-size: clamp(24px, 6.8vw, 30px); } .as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .as-menu-wa { padding-top: 16px; } }
/* Links rise in one after another when the menu opens */
@media (prefers-reduced-motion: no-preference) {
	.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item { animation: as-menu-in .42s cubic-bezier(.2, .7, .2, 1) backwards; }
	.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item:nth-child(2) { animation-delay: .04s; }
	.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item:nth-child(3) { animation-delay: .08s; }
	.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item:nth-child(4) { animation-delay: .12s; }
	.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item:nth-child(5) { animation-delay: .16s; }
	.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item:nth-child(6) { animation-delay: .2s; }
	.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item:nth-child(7) { animation-delay: .24s; }
	.as-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item:nth-child(n+8) { animation-delay: .3s; }
}
@keyframes as-menu-in { from { opacity: 0; transform: translateY(14px); } }

/* Footer: the mark built large from flat plots */
.as-foot-mark { position: relative; height: 340px; }
.as-foot-mark span { position: absolute; border-radius: 6px; }
.as-foot-mark span:nth-child(1) { left: 0; top: 0; width: 51%; height: 41%; background: var(--wp--preset--color--lime); }
.as-foot-mark span:nth-child(2) { left: 55%; top: 8%; width: 45%; height: 66%; background: var(--wp--preset--color--leaf); }
.as-foot-mark span:nth-child(3) { left: 36%; top: 70%; width: 46%; height: 30%; background: var(--wp--preset--color--lime-soft); }
.as-foot-logo { height: 40px; width: auto; display: block; }
.as-footer a { color: var(--wp--preset--color--on-dark-soft); }
.as-footer a:hover { color: #FFFFFF; }
.as-foot-nav .wp-block-navigation-item__content { text-decoration: none; }
.as-foot-nav .wp-block-navigation-item__content:hover { text-decoration: underline; }

/* Section rhythm used by the page patterns */
.as-sec { padding-top: var(--wp--preset--spacing--70); }
.as-main > .wp-block-post-content > :first-child { margin-top: 0; }

@media (max-width: 820px) {
	html { scroll-padding-top: 80px; }
	.as-bar { padding-top: 10px !important; padding-bottom: 10px !important; }
	.as-logo img { height: 38px; }
	.as-foot-mark { height: 180px; }
}

/* ------------------------------------------------------------------ pages */
.wp-site-blocks > * + * { margin-block-start: 0; }
.as-page > * { margin-block-start: 0; }
.as-page .alignwide { max-width: var(--wp--style--global--wide-size); margin-left: auto; margin-right: auto; }
.as-sec { padding-top: var(--wp--preset--spacing--70); }
.as-sec-half { padding-top: calc(var(--wp--preset--spacing--70) / 2); }
.as-panel-wrap { padding-left: 20px; padding-right: 20px; }
.as-panel { max-width: 1400px; margin: 0 auto; border-radius: 6px; overflow: hidden; }
.as-forest { background: var(--wp--preset--color--forest); color: #FFFFFF; }
.as-forest h2, .as-forest h3 { color: #FFFFFF; }
.as-box { background: var(--wp--preset--color--paper-deep); border-radius: 6px; padding: 32px; }
.as-box > * + * { margin-top: 16px; }

/* type */
.as-h1 { font-size: var(--wp--preset--font-size--title); max-width: 13ch; }
.as-h2 { font-size: var(--wp--preset--font-size--head); }
.as-h3 { font-size: var(--wp--preset--font-size--subhead); line-height: 1; }
.as-h3s { font-size: 26px; line-height: 1.2; letter-spacing: -0.01em; }
.as-h4 { font-size: 22px; line-height: 1.3; letter-spacing: 0; }
.as-narrow { max-width: 12ch; }
.as-lead { font-size: var(--wp--preset--font-size--lead); line-height: 1.4; max-width: 40ch; }
.as-small { font-size: 16px; }
.as-soft { color: var(--wp--preset--color--ink-soft); }
.as-soft-on-dark { color: var(--wp--preset--color--on-dark-soft); max-width: 46ch; }
.as-caption { font-size: 14px; color: var(--wp--preset--color--ink-soft); max-width: 1400px; margin: 12px auto 0; }
.as-credit { font-size: 14px; color: var(--wp--preset--color--ink-soft); padding: 48px clamp(16px, 2.5vw, 32px) 0; max-width: 1320px; margin: 0 auto; }
.as-statement { font-size: var(--wp--preset--font-size--statement); line-height: 1.22; font-weight: 500; letter-spacing: -0.01em; max-width: 30ch; margin: 0; }
.as-statement img.as-inline { display: inline-block; height: 0.85em; width: 1.2em; object-fit: cover; border-radius: 6px; vertical-align: -0.1em; }
/* Desktop: the opening statement runs the full wide column so it does not leave an empty right half */
@media (min-width: 821px) { .as-statement { max-width: none; font-size: clamp(32px, 3.9vw, 58px); line-height: 1.12; letter-spacing: -0.025em; text-wrap: pretty; } }
.as-tlink a, a.as-tlink { font-weight: 600; }

/* split layouts: 12-column grid on wide screens, one column on phones */
.wp-block-columns.as-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 48px; row-gap: 40px; align-items: start; margin-bottom: 0; }
.as-split > .wp-block-column { grid-column: span 6; flex-basis: auto !important; min-width: 0; }
.as-split > .as-col-4 { grid-column: span 4; }
.as-split > .as-col-5 { grid-column: span 5; }
.as-split > .as-col-6 { grid-column: span 6; }
.as-split > .as-col-7 { grid-column: 7 / span 6; }
.as-split > .as-col-8 { grid-column: span 8; }
.as-split > .as-col-4 + .as-col-8 { grid-column: 5 / span 8; }
.as-split > .as-col-5.as-push-1 { grid-column: 8 / span 5; }
.as-split > .as-span-7 { grid-column: 1 / span 7; }
.as-split > .as-span-5 { grid-column: 8 / span 5; }
.wp-block-column > * + * { margin-block-start: 24px; }

/* photos */
.as-frame { margin: 0; }
.as-frame img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 6px; }
.as-r43 img { aspect-ratio: 4 / 3; height: auto; }
.as-r54 img { aspect-ratio: 5 / 4; height: auto; }
.as-fp-low img { object-position: 50% 70%; }
.as-fp-left img { object-position: 30% 50%; }
.as-fp-mid img { object-position: 50% 45%; }

/* buttons */
.wp-block-buttons.as-actions { gap: 16px 28px; align-items: center; }
.wp-block-button .wp-block-button__link { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; box-sizing: border-box; }
.wp-block-button.is-style-ondark .wp-block-button__link { background: var(--wp--preset--color--lime); color: var(--wp--preset--color--forest); }
.wp-block-button.is-style-ondark .wp-block-button__link:hover { background: #FFFFFF; color: var(--wp--preset--color--forest); }
.wp-block-button.is-style-textlink .wp-block-button__link { background: none; padding: 0; min-height: 44px; color: var(--wp--preset--color--leaf-strong); text-decoration: underline; text-underline-offset: 4px; }
.wp-block-button.is-style-textlink .wp-block-button__link:hover { color: var(--wp--preset--color--forest); }
.as-forest .wp-block-button.is-style-textlink .wp-block-button__link { color: #FFFFFF; }
.as-action-rows { flex-direction: column; align-items: stretch !important; gap: 8px; max-width: 460px; }
.as-action-rows .wp-block-button { width: 100%; }
.as-action-rows .wp-block-button__link { width: 100%; justify-content: space-between; }
.as-action-rows .wp-block-button__link::after { content: "→"; font-weight: 600; }
.wp-block-button.is-style-row .wp-block-button__link { background: var(--wp--preset--color--paper-deep); color: var(--wp--preset--color--ink); }
.wp-block-button.is-style-row .wp-block-button__link:hover { background: var(--wp--preset--color--lime-soft); color: var(--wp--preset--color--ink); }

/* plot lists */
ul.as-plots { list-style: none; margin-left: 0; margin-right: 0; margin-bottom: 0; padding: 0; display: grid; gap: 14px; }
ul.as-plots > li { position: relative; padding-left: calc(0.7em + 14px); }
ul.as-plots > li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 0.7em; height: 0.7em; border-radius: 2px; background: var(--wp--preset--color--lime); }
ul.as-plots > li:nth-child(even)::before { background: var(--wp--preset--color--leaf); }
ul.as-plots.as-leaf > li::before { background: var(--wp--preset--color--leaf); }
ul.as-plots > li strong { display: block; font-weight: 600; color: var(--wp--preset--color--ink); }
ul.as-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; font-size: 16px; color: var(--wp--preset--color--ink-soft); }
ul.as-points > li strong { font-size: 20px; line-height: 1.3; margin-bottom: 6px; }
ul.as-points.as-on-dark { grid-template-columns: 1fr; gap: 32px; font-size: 18px; color: var(--wp--preset--color--on-dark-soft); }
ul.as-points.as-on-dark > li strong { color: #FFFFFF; font-size: 22px; }
ul.as-std-list { gap: 18px; }
ul.as-std-list > li { font-size: 16px; color: var(--wp--preset--color--ink-soft); }
ul.as-std-list > li strong { font-size: 18px; }
ul.as-big-list > li { font-size: 22px; }

/* home hero: the audit file */
.as-home-hero { background: var(--wp--preset--color--forest); overflow: hidden; padding-top: 56px; padding-top: clamp(24px, 5svh, 56px); }
.as-hero-h1 { margin: 0; font-size: clamp(44px, 6.4vw, 104px); font-size: clamp(40px, min(6.4vw, 10svh), 104px); line-height: 0.92; font-weight: 600; letter-spacing: -0.04em; max-width: 14ch; color: #FFFFFF; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hl { display: grid; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hl > span { grid-area: 1 / 1; opacity: 0; transform: translateY(100%); animation: as-hl 15s cubic-bezier(.2, .7, .2, 1) infinite both; }
.hl > span:nth-child(2) { animation-delay: 5s; }
.hl > span:nth-child(3) { animation-delay: 10s; }
@keyframes as-hl { 0% { opacity: 0; transform: translateY(100%); } 4.5%, 30% { opacity: 1; transform: translateY(0); } 33.33%, 100% { opacity: 0; transform: translateY(-60%); } }
.as-hero-h1:hover .hl > span { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .hl > span { animation: none; opacity: 0; transform: none; } .hl > span:nth-child(3) { opacity: 1; } }
.as-hero-p { margin-top: 32px; margin-top: clamp(16px, 3svh, 32px); max-width: 58ch; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.35; color: var(--wp--preset--color--on-dark-soft); }
.as-folders { position: relative; --tab: 40px; --tab: clamp(34px, 5svh, 40px); --fo: 56px; --fo: clamp(40px, 6svh, 56px); height: calc(var(--tab) + 4 * var(--fo) + 116px); margin-top: 72px; margin-top: clamp(28px, 5svh, 72px); max-width: none !important; }
.as-folder { position: absolute; left: 7%; right: 7%; bottom: -12px; border-radius: 6px 6px 0 0; }
.as-folder.f1 { top: var(--tab); background: var(--wp--preset--color--leaf); }
.as-folder.f2 { top: calc(var(--tab) + var(--fo)); background: var(--wp--preset--color--lime-soft); }
.as-folder.f3 { top: calc(var(--tab) + 2 * var(--fo)); background: var(--wp--preset--color--lime); }
.as-folder.f4 { top: calc(var(--tab) + 3 * var(--fo)); background: var(--wp--preset--color--paper-deep); }
.as-folder.f5 { top: calc(var(--tab) + 4 * var(--fo)); background: #FFFFFF; }
.as-ftab { position: absolute; top: calc(-1 * var(--tab)); height: var(--tab); padding: 0 20px; display: flex; align-items: center; border-radius: 6px 6px 0 0; background: inherit; color: var(--wp--preset--color--ink); font-weight: 600; font-size: 18px; text-decoration: none; white-space: nowrap; }
.as-ftab:hover { color: var(--wp--preset--color--ink); text-decoration: underline; text-underline-offset: 4px; }
.f1 .as-ftab { left: 4%; color: #FFFFFF; } .f1 .as-ftab:hover { color: #FFFFFF; }
.f2 .as-ftab { left: 24%; } .f3 .as-ftab { left: 40%; } .f4 .as-ftab { left: 70%; } .f5 .as-ftab { left: 8%; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.as-folder { transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
	.as-folder:has(> .as-ftab:hover), .as-folder:has(> .as-ftab:focus-visible) { transform: translateY(-12px); }
}
.as-front { padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
@media (max-height: 700px) { .as-front { padding-top: 14px; } }
.as-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 24px; border: 0; border-radius: 6px; background: var(--wp--preset--color--leaf-strong); color: #FFFFFF !important; font: inherit; font-weight: 600; font-size: 18px; text-decoration: none; cursor: pointer; box-sizing: border-box; }
.as-btn:hover { background: var(--wp--preset--color--forest); }
.as-tlink { font-weight: 600; font-size: 18px; }

/* six ways */
.as-six-pic img { aspect-ratio: 16 / 7; object-position: 50% 62%; }
.as-six { margin-top: 56px; }

/* how we work tiles: equal widths, heights grow left to right */
.wp-block-columns.as-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: end; margin-top: 48px; }
.as-tiles > .wp-block-column { min-width: 0; }
.as-tiles > .wp-block-column > * + * { margin-block-start: 12px; }
.as-tiles > .wp-block-column:nth-child(1) .as-tile-pic img { height: 240px; }
.as-tiles > .wp-block-column:nth-child(2) .as-tile-pic img { height: 300px; }
.as-tiles > .wp-block-column:nth-child(3) .as-tile-pic img { height: 360px; }
.as-tiles > .wp-block-column:nth-child(4) .as-tile-pic img { height: 420px; }
.as-tiles .as-h4 { margin-top: 16px; }
.as-tiles + p { margin-top: 40px; }

/* standards */
.as-std > .wp-block-column > * + * { margin-block-start: 40px; }
.as-std-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.as-std-head > * { margin: 0 !important; }
.wp-block-heading.as-h2 + .as-std { margin-top: 48px; }

/* panels */
.as-about { padding: 56px 56px 0; }
.as-about-pic img { border-radius: 6px 6px 0 0; }
.as-about-text { padding-bottom: 56px; }
.as-why { padding: 56px; }
.as-cta-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; align-items: center; }
.as-cta-cols > .wp-block-column { min-width: 0; }
.as-cta-text { padding: 56px; }
.as-cta-text > * + * { margin-top: 28px; }
.as-cta-pic { align-self: stretch; min-height: 420px; }
.as-cta-pic .as-frame, .as-cta-pic .as-frame img { height: 100%; border-radius: 0; }

/* faq */
.wp-block-details.as-qa { background: var(--wp--preset--color--paper-deep); border-radius: 6px; padding: 0; }
.wp-block-details.as-qa[open] { background: var(--wp--preset--color--lime); }
.as-qa summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; padding: 0 24px; font-size: 20px; font-weight: 500; list-style: none; cursor: pointer; }
.as-qa summary::-webkit-details-marker { display: none; }
.as-qa summary::after { content: "+"; font-size: 28px; font-weight: 500; line-height: 1; flex: none; }
.as-qa[open] summary::after { content: "–"; }
.as-qa > p { margin: 0; padding: 0 24px 24px; max-width: 56ch; }
.as-qa-list > * + * { margin-block-start: 8px; }
.as-qa-list > .as-tlink { margin-top: 24px; }
@media (min-width: 782px) { .as-sticky { position: sticky; top: 112px; } }

/* inner pages */
.as-inner-hero { padding-top: 48px; }
.as-hero { align-items: center; }
.as-bleed-r { margin-right: calc(-1 * clamp(16px, 2.5vw, 32px)); }
.as-bleed-r img { border-radius: 6px 0 0 6px; }
.as-jump { margin: 0; padding: 24px 28px; display: flex; flex-wrap: wrap; gap: 14px 32px; background: var(--wp--preset--color--paper-deep); border-radius: 6px; font-weight: 500; }
.as-jump a { color: var(--wp--preset--color--ink); text-decoration: none; }
.as-jump a:hover { text-decoration: underline; text-underline-offset: 4px; }
.as-band { padding-top: calc(var(--wp--preset--spacing--70) / 2); padding-bottom: calc(var(--wp--preset--spacing--70) / 2); }
.as-band-deep { background: var(--wp--preset--color--paper-deep); }
.as-svc-rev > .as-svc-name { grid-column: 8 / span 5; grid-row: 1; }
.as-svc-rev > .as-col-7 { grid-column: 1 / span 6; grid-row: 1; }
.as-fig-wide { max-width: 1400px; margin: 0 auto; }
.as-fig-wide img { height: 520px; object-position: 50% 55%; }
.wp-block-columns.as-visit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-top: 48px; }
.as-visit > .wp-block-column > * + * { margin-block-start: 8px; }
.wp-block-heading.as-h2 + .as-stage { margin-top: 56px; }
.as-stage { align-items: center; }
.as-stage + .as-stage { margin-top: 72px; }
.as-mark::before { content: ""; display: block; width: 28px; height: 28px; border-radius: 6px; margin-bottom: 16px; background: var(--wp--preset--color--lime); }
.as-mark-leaf::before { background: var(--wp--preset--color--leaf); }
.as-prose { padding-top: 48px; }
.as-prose .as-h4 { margin-top: 48px; }
.as-prose .as-h4 + p { margin-top: 8px; }
.as-prose .as-lead { max-width: 760px; margin-top: 32px; }

/* quote form (placeholder until the form plugin is chosen) */
.as-form { background: var(--wp--preset--color--paper-deep); border-radius: 6px; padding: 32px; display: grid; gap: 18px; }
.as-form-title { margin: 0; font-size: 22px; font-weight: 600; }
.as-fld { display: grid; gap: 6px; font-size: 16px; font-weight: 500; }
.as-fld em { font-style: normal; font-weight: 400; color: var(--wp--preset--color--ink-soft); }
.as-fld input, .as-fld select, .as-fld textarea { min-height: 48px; border: 1px solid #738276; border-radius: 6px; padding: 10px 14px; font: inherit; font-size: 17px; background: var(--wp--preset--color--paper); color: var(--wp--preset--color--ink); box-sizing: border-box; width: 100%; }
.as-consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 16px; }
.as-consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--wp--preset--color--leaf-strong); }
.as-form .as-btn { justify-self: start; }
/* Fluent Forms inside the brand card: same fields, button and spacing as the design */
.as-ff .fluentform { font: inherit; color: var(--wp--preset--color--ink); }
.as-ff .fluentform .ff-el-group { margin-bottom: 18px; }
.as-ff .fluentform .ff-t-container { display: block; }
.as-ff .fluentform .ff-t-cell { padding: 0 !important; width: 100%; }
.as-ff .fluentform .ff-el-input--label { margin-bottom: 6px; }
.as-ff .fluentform .ff-el-input--label label { font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--wp--preset--color--ink); }
.as-ff .fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label::after { color: var(--wp--preset--color--leaf-strong); margin-left: 4px; }
.as-ff .fluentform .ff-el-form-control,
.as-ff .fluentform .choices__inner { min-height: 48px; border: 1px solid #738276; border-radius: 6px; padding: 10px 14px; font: inherit; font-size: 17px; line-height: 1.4; background: var(--wp--preset--color--paper); color: var(--wp--preset--color--ink); box-sizing: border-box; width: 100%; box-shadow: none; }
.as-ff .fluentform textarea.ff-el-form-control { min-height: 120px; }
.as-ff .fluentform .ff-el-form-control:focus { border-color: var(--wp--preset--color--forest); outline: 2px solid var(--wp--preset--color--forest); outline-offset: 0; }
.as-ff .fluentform .ff-el-form-control::placeholder { color: var(--wp--preset--color--ink-soft); opacity: 1; }
.as-ff .fluentform .choices__list--single { padding: 0; }
.as-ff .fluentform .choices__list--dropdown { border-color: #738276; border-radius: 6px; font-size: 17px; }
.as-ff .fluentform .choices__item--choice.is-highlighted { background: var(--wp--preset--color--lime-soft); }
.as-ff .fluentform .ff-el-form-check-label { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 16px; line-height: 1.45; cursor: pointer; }
.as-ff .fluentform .ff-el-form-check-input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--wp--preset--color--leaf-strong); }
/* Terms and Conditions field (privacy consent): checkbox left, text right, aligned to the first line */
.as-ff .fluentform .ff-el-tc label.ff_tc_label { display: grid !important; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.as-ff .fluentform .ff-el-tc .ff_tc_checkbox, .as-ff .fluentform .ff-el-tc .ff_t_c { display: block; padding: 0 !important; vertical-align: top; }
.as-ff .fluentform .ff-el-tc .ff_t_c p { margin: 0; font-size: 16px; line-height: 1.45; }
.as-ff .fluentform .ff-el-tc .ff_t_c a { font-weight: 600; color: inherit; text-underline-offset: 3px; }
.as-ff .fluentform .ff_submit_btn_wrapper { margin: 6px 0 0; }
.as-ff .fluentform .ff-btn-submit { display: inline-flex; align-items: center; min-height: 52px; padding: 12px 24px; border: 0; border-radius: 6px; background: var(--wp--preset--color--leaf-strong) !important; color: #FFFFFF !important; font: inherit; font-weight: 600; font-size: 18px; line-height: 1.2; cursor: pointer; box-shadow: none; opacity: 1; transition: background-color .2s, transform .2s cubic-bezier(.2, .7, .2, 1); }
.as-ff .fluentform .ff-btn-submit:hover { background: var(--wp--preset--color--forest) !important; transform: translateY(-2px); }
.as-ff .fluentform .ff-btn-submit:disabled { opacity: .7; }
.as-ff .fluentform .error, .as-ff .fluentform .text-danger { color: #A4262C; font-size: 15px; margin-top: 6px; }
.as-ff .fluentform .ff-el-is-error .ff-el-form-control { border-color: #A4262C; }
.as-ff .ff-message-success { border: 0; border-left: 6px solid var(--wp--preset--color--leaf); border-radius: 6px; background: var(--wp--preset--color--paper); padding: 20px; font-size: 18px; box-shadow: none; color: var(--wp--preset--color--ink); }

/* phones and small tablets */
@media (max-width: 781px) {
	.wp-block-columns.as-split, .wp-block-columns.as-cta-cols { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
	.as-split > .wp-block-column, .as-svc-rev > .wp-block-column { grid-column: auto !important; grid-row: auto !important; }
	.as-svc > .as-svc-name { order: -1; }
	.as-hero-pic { order: 2; }
	.as-bleed-r { margin-right: -16px; }
	ul.as-points { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.as-six-pic img { aspect-ratio: 4 / 3; }
	.wp-block-columns.as-tiles { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.as-tiles > .wp-block-column .as-tile-pic img { height: auto !important; aspect-ratio: 4 / 3; }
	.as-tiles > .wp-block-column { margin-bottom: 20px; }
	.as-about { padding: 28px 20px 0; }
	.as-about-text { padding-bottom: 32px; }
	.as-why, .as-cta-text { padding: 32px 20px; }
	.as-cta-pic { min-height: 260px; }
	.as-panel-wrap { padding-left: 8px; padding-right: 8px; }
	.wp-block-columns.as-visit { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
	.as-visit > .as-visit-email { grid-column: 1 / -1; }
	.as-fig-wide img { height: 260px; }
	.as-stage + .as-stage { margin-top: 48px; }
	.as-form { padding: 24px 16px; }
	.as-ff .fluentform .ff-btn-submit { width: 100%; justify-content: center; }
	.as-hide-sm { display: none; }
	.as-folders { --front: 148px; height: calc(var(--tab) + 4 * var(--fo) + 148px); }
	.as-front { padding: 20px 16px; }
	.as-ftab { font-size: 15px; padding: 0 12px; }
	.f1 .as-ftab, .f3 .as-ftab, .f5 .as-ftab { left: 4%; }
	.f2 .as-ftab, .f4 .as-ftab { left: auto; right: 4%; }
	.as-qa summary { font-size: 18px; min-height: 64px; padding: 0 18px; }
	.as-qa > p { padding: 0 18px 20px; }
}

/* privacy: a reading column that lines up with the left edge of the other pages */
.as-prose > * { max-width: 760px; margin-left: max(0px, calc((100% - var(--wp--style--global--wide-size)) / 2)) !important; margin-right: auto !important; }
.as-prose .as-h1 { max-width: none; }

/* ------------------------------------------------------------------ projects */
.as-mid { align-self: center; }
.as-meta { font-size: 16px; color: var(--wp--preset--color--ink-soft); margin: 0; }
.as-client { margin-top: 32px !important; }
.as-client + .as-meta { margin-top: 12px; }
.as-project-cols { margin-top: 48px; }
.as-result { padding: 56px; align-items: center; }
.as-result-line { margin: 0; font-size: var(--wp--preset--font-size--head); line-height: 0.98; font-weight: 600; letter-spacing: -0.03em; color: var(--wp--preset--color--lime); }
.as-engagement { margin-top: 48px; background: var(--wp--preset--color--paper-deep); border-radius: 6px; padding: 48px; }
.as-engagement > * + * { margin-top: 24px; }
.as-engagement > .wp-block-heading.as-h4 { margin-top: 40px; }
.as-eng-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; }
.as-eng-head > * { margin: 0 !important; }
.as-eng-head .as-h3 { flex: 1 1 100%; }
.as-status { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.as-status::before { content: ""; width: 0.7em; height: 0.7em; border-radius: 2px; background: var(--wp--preset--color--lime); }
ul.as-badges { list-style: none; margin-left: 0; margin-right: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
ul.as-badges > li { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 18px 8px 14px; border-radius: 6px; background: #FFFFFF; font-weight: 600; font-size: 17px; }
ul.as-badges > li::before { content: ""; width: 14px; height: 14px; border-radius: 3px; background: var(--wp--preset--color--leaf); box-shadow: 6px 6px 0 -2px var(--wp--preset--color--lime); flex: none; margin-right: 6px; }
.as-engagement ul.as-points { color: var(--wp--preset--color--ink-soft); }
@media (max-width: 781px) {
	.as-result { padding: 32px 20px; }
	.as-engagement { padding: 28px 18px; }
	.as-result-line { font-size: var(--wp--preset--font-size--subhead); }
}

/* ------------------------------------------------------------------ motion
   Everything here runs only when motion.js has set .as-motion, which it skips
   for visitors who ask for reduced motion. Only transform, opacity and clip-path animate. */
@view-transition { navigation: auto; }
.as-site-header { view-transition-name: as-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; }

/* buttons respond */
.wp-block-button__link, .as-btn { transition: background-color .2s, color .2s, transform .2s cubic-bezier(.2, .7, .2, 1); }
.wp-block-button__link:hover, .as-btn:hover { transform: translateY(-2px); }
.is-style-textlink .wp-block-button__link:hover, .is-style-row .wp-block-button__link:hover { transform: none; }
.as-action-rows .wp-block-button__link::after { transition: transform .2s; }
.as-action-rows .wp-block-button__link:hover::after { transform: translateX(4px); }

/* scroll reveals */
.as-motion .as-rv { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.as-motion .as-rv.is-in { opacity: 1; transform: none; }
/* photos rise and settle from a slight zoom (no clipping, so lazy loading still sees them) */
.as-motion .as-rv-img { opacity: 0; transform: translateY(36px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.as-motion .as-rv-img img { transform: scale(1.08); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.as-motion .as-rv-img.is-in { opacity: 1; transform: none; }
.as-motion .as-rv-img.is-in img { transform: none; }
.as-motion .as-rv-img { overflow: hidden; border-radius: 6px; }
/* the small inline photos in the statement pop in after the words */
.as-motion .as-statement.as-rv img.as-inline { transform: scale(.3); transition: transform .5s cubic-bezier(.3, 1.4, .5, 1) .45s; }
.as-motion .as-statement.as-rv.is-in img.as-inline { transform: none; }
/* footer mark: the three plots slide into place */
.as-motion .as-foot-mark span { transition: transform 1s cubic-bezier(.2, .7, .2, 1), opacity 1s; opacity: 0; }
.as-motion .as-foot-mark span:nth-child(1) { transform: translate(-40px, -30px); }
.as-motion .as-foot-mark span:nth-child(2) { transform: translate(40px, 0); transition-delay: .12s; }
.as-motion .as-foot-mark span:nth-child(3) { transform: translate(0, 40px); transition-delay: .24s; }
.as-motion .as-foot-mark.is-in span { transform: none; opacity: 1; }
/* The plots and the inner-hero photo slide in from the right; clip so they never widen the page on phones */
.as-footer, .as-inner-hero { overflow-x: clip; }

/* hero: folders file in one by one, then the stack sits back in 3D and stands up as you scroll */
.as-motion .as-folders { transform: perspective(1400px) rotateX(var(--as-tilt, 0deg)); transform-origin: 50% 100%; }
.as-motion .as-folder { animation: as-file-in .8s cubic-bezier(.2, .7, .2, 1) backwards; }
.as-motion .as-folder.f1 { animation-delay: .15s; } .as-motion .as-folder.f2 { animation-delay: .27s; }
.as-motion .as-folder.f3 { animation-delay: .39s; } .as-motion .as-folder.f4 { animation-delay: .51s; }
.as-motion .as-folder.f5 { animation-delay: .63s; }
@keyframes as-file-in { from { opacity: 0; transform: translateY(70px); } to { opacity: 1; transform: none; } }
.as-motion .as-hero-p { animation: as-rise .8s cubic-bezier(.2, .7, .2, 1) .1s backwards; }
.as-motion .as-inner-hero .wp-block-column { animation: as-rise .8s cubic-bezier(.2, .7, .2, 1) backwards; }
.as-motion .as-inner-hero .as-hero-pic { animation-name: as-photo-in; animation-duration: 1s; animation-delay: .15s; }
@keyframes as-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes as-photo-in { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }

/* FAQ tiles open smoothly where the browser supports it */
:root { interpolate-size: allow-keywords; }
.as-qa::details-content { block-size: 0; overflow: hidden; transition: block-size .35s cubic-bezier(.2, .7, .2, 1), content-visibility .35s allow-discrete; }
.as-qa[open]::details-content { block-size: auto; }
.as-qa summary::after { transition: transform .25s; }
.as-qa[open] summary::after { transform: rotate(180deg); }

@media (prefers-reduced-motion: reduce) {
	@view-transition { navigation: none; }
	.wp-block-button__link:hover, .as-btn:hover, .as-ff .fluentform .ff-btn-submit:hover { transform: none; }
	.as-qa::details-content { transition: none; }
}
