body .am-standard-page:has(.ace-contact)>.am-section-heading{display:none!important}
body .am-standard-page:has(.ace-contact) .am-page-body{width:100%;max-width:760px!important;margin-inline:auto!important}
.ace-contact,.ace-form{box-sizing:border-box;color:var(--am-text,#242220);font-family:var(--am-body-font,Montserrat),sans-serif;--ace-opacity:72%;--ace-blur:16px;--ace-shine:.18}
.ace-contact{max-width:680px;margin:0 auto 35px;padding:0 2px}
.ace-contact *,.ace-form *{box-sizing:border-box}
.ace-contact-heading{text-align:center;max-width:530px;margin:0 auto}
body .am .ace-avatar{display:block;width:82px!important;height:82px!important;object-fit:contain;border-radius:50%;margin:0 auto 18px}
body .am .ace-identity{font:600 21px/1.3 Montserrat,sans-serif!important;letter-spacing:-.7px;margin:0 0 18px!important}
.ace-dot{color:var(--am-detail,var(--am-accent,#a10015))}
body .am .ace-contact-heading h1{font:400 clamp(34px,5vw,52px)/1.15 var(--am-display-font,Literata),Georgia,serif!important;letter-spacing:-1px;margin:0 0 18px!important}
body .am .ace-contact-heading>p:last-child{font:400 14px/1.9 var(--am-body-font,Montserrat),sans-serif;color:var(--am-muted,#625c57);margin:0}
body .am .ace-socials{display:flex!important;justify-content:center;align-items:center;flex-wrap:wrap;gap:14px;margin:25px 0 35px;position:relative;isolation:isolate}
body .am .ace-socials>a{position:relative!important;inset:auto!important;display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 46px;width:46px!important;height:46px!important;min-height:0!important;padding:11px!important;border:1px solid var(--am-border,#d8d2ca);border-radius:50%;color:var(--am-text,#242220)!important;background:transparent;transform:none!important;text-decoration:none;transition:background .2s,border-color .2s}
.ace-socials svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
body .am .ace-socials>a:hover{border-color:var(--am-accent,#a10015);background:var(--am-surface,#faf8f4);color:var(--am-accent,#a10015)!important}
.ace-socials>a:focus-visible,.ace-form :focus-visible{outline:2px solid var(--am-accent,#a10015)!important;outline-offset:4px}
.ace-note{position:relative;isolation:isolate;scroll-margin-top:110px;clear:both;width:100%}
body .am .ace-form,.ace-form{display:block!important;position:relative!important;float:none!important;width:100%!important;max-width:680px;margin:0 auto;padding:clamp(24px,5vw,44px)!important;border:1px solid var(--am-border,#d8d2ca)!important;border-radius:24px;background:var(--am-surface,#faf8f4);background:linear-gradient(125deg,rgba(255,255,255,var(--ace-shine)),transparent 65%),color-mix(in srgb,var(--am-surface,#faf8f4) var(--ace-opacity),transparent);-webkit-backdrop-filter:blur(var(--ace-blur)) saturate(125%);backdrop-filter:blur(var(--ace-blur)) saturate(125%);box-shadow:inset 0 1px 0 #ffffff25,0 14px 40px #00000006}
body .am .ace-form h2,.ace-form h2{font:400 30px/1.3 var(--am-display-font,Literata),Georgia,serif!important;margin:0 0 8px!important;color:var(--am-text,#242220)!important}
body .am .ace-form .ace-form-intro,.ace-form .ace-form-intro{font:400 13px/1.8 var(--am-body-font,Montserrat),sans-serif!important;color:var(--am-muted,#625c57);margin:0 0 28px}
.ace-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}
body .am .ace-form label,.ace-form label{display:block!important;font:500 12px/1.6 var(--am-body-font,Montserrat),sans-serif!important;color:var(--am-text,#242220)!important;margin:0 0 8px}
body .am .ace-form input:not([type=checkbox]):not([type=hidden]),body .am .ace-form textarea,.ace-form input:not([type=checkbox]):not([type=hidden]),.ace-form textarea{display:block;width:100%!important;max-width:100%!important;min-width:0!important;border:1px solid var(--am-border,#d8d2ca)!important;border-radius:10px!important;background:color-mix(in srgb,var(--am-bg,#f0eee9) 55%,transparent)!important;color:var(--am-text,#242220)!important;caret-color:var(--am-accent,#a10015);font:400 15px/1.7 var(--am-body-font,Montserrat),sans-serif!important;padding:12px 14px!important;margin:0 0 20px!important;box-shadow:none!important}
.ace-form input{min-height:48px}.ace-form textarea{resize:vertical;min-height:150px}
.ace-form input::placeholder,.ace-form textarea::placeholder{color:var(--am-muted,#625c57)!important;opacity:.8}
body .am .ace-form .ace-consent,.ace-form .ace-consent{display:flex!important;align-items:flex-start;gap:10px;font-size:11px!important;font-weight:400!important;line-height:1.8!important;color:var(--am-muted,#625c57)!important;margin:2px 0 24px}
.ace-consent input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;flex:0 0 16px;width:16px!important;height:16px!important;min-height:0;margin:2px 0 0!important;accent-color:var(--am-accent,#a10015)}
.ace-form-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}
body .am .ace-form button.ace-submit,.ace-form button.ace-submit{display:inline-flex!important;align-items:center;justify-content:center;gap:24px;background:var(--am-accent,#a10015)!important;color:var(--am-on-accent,#fff)!important;border:0!important;border-radius:10px!important;padding:14px 22px!important;min-height:48px;cursor:pointer;font:500 14px/1.4 var(--am-body-font,Montserrat),sans-serif!important;box-shadow:none}
.ace-submit:disabled{opacity:.6;cursor:wait!important}.ace-counter{font-size:10px;color:var(--am-muted,#625c57)}
body .am .ace-form .ace-status,.ace-form .ace-status{font:500 13px/1.8 var(--am-body-font,Montserrat),sans-serif!important;color:var(--am-text,#242220);margin:18px 0 0!important;overflow-wrap:anywhere}.ace-status:empty{display:none}.ace-status[data-error=true]{border-inline-start:3px solid var(--am-accent,#a10015);padding-inline-start:12px}
body .am .ace-form .ace-mail-alternative,.ace-form .ace-mail-alternative{font:400 11px/1.8 var(--am-body-font,Montserrat),sans-serif!important;color:var(--am-muted,#625c57);margin:20px 0 0!important;overflow-wrap:anywhere}
.ace-mail-alternative a{color:var(--am-accent,#a10015)!important;text-decoration:underline;text-underline-offset:3px}
.ace-trap{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}
/* Editorial template keeps article layout independent of Contact. */
.ace-magazine{box-sizing:border-box;width:100%;max-width:1280px;margin:0 auto;padding:48px clamp(22px,5vw,72px) 65px}
.ace-magazine .am-featured{margin:0 auto 35px;max-width:none}.ace-magazine .am-post-heading{max-width:none;margin:0 0 38px;border-bottom:1px solid var(--am-border);padding-bottom:26px}
body .am .ace-magazine .am-post-heading h1{font-size:calc(clamp(34px,5vw,64px) * var(--am-reader-scale,1))!important;line-height:1.12!important;letter-spacing:-1px;font-weight:400!important;text-wrap:balance}
body .am .ace-magazine .am-prose{max-width:850px;margin-inline:auto;font-size:calc(17px * var(--am-reader-scale,1))!important;line-height:1.95}
.ace-magazine .am-post-meta{font-family:var(--am-body-font,Montserrat),sans-serif}
.ace-magazine.ace-justify .am-prose p{text-align:justify;hyphens:auto;overflow-wrap:break-word}
body .ace-magazine .am-prose blockquote p,body .ace-magazine .am-prose .wp-block-quote p{text-align:center!important;text-wrap:pretty}
body .ace-magazine .am-prose .wp-block-quote.is-style-am-original p{font-family:var(--am-display-font,Literata),Georgia,serif!important;font-style:italic!important;font-weight:400!important;font-size:calc(clamp(25px,3vw,36px) * var(--am-reader-scale,1))!important}
@media(min-width:1000px){.ace-magazine.ace-columns-2 .am-prose{max-width:1120px;columns:2;column-gap:50px;column-rule:1px solid var(--am-border)}.ace-columns-2 .am-prose figure,.ace-columns-2 .am-prose blockquote,.ace-columns-2 .am-prose .am-reference-composition,.ace-columns-2 .am-prose .am-footnotes{break-inside:avoid}.ace-columns-2 .am-prose>.wp-block-quote,.ace-columns-2 .am-prose>.am-reference-composition{column-span:all}.ace-columns-2 .am-prose h2,.ace-columns-2 .am-prose h3{break-after:avoid}}
@media(max-width:760px){.ace-fields{grid-template-columns:1fr;gap:0}.ace-contact{padding:0}.ace-magazine{padding-top:30px}.ace-magazine.ace-justify .am-prose p{text-align:left;hyphens:none}.ace-form-bottom{align-items:center}.ace-counter{font-size:9px}.ace-socials{gap:12px}}
@media(prefers-reduced-transparency:reduce){.ace-form{background:var(--am-surface,#faf8f4)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}
@media(prefers-reduced-motion:reduce){.ace-socials>a{transition:none!important}}
/* Stop global theme link sizes leaking into the form's small print. */
body .am .ace-form .ace-mail-alternative,body .am .ace-form .ace-mail-alternative a,.ace-form .ace-mail-alternative a{font:400 12px/1.8 var(--am-body-font,Montserrat),sans-serif!important;letter-spacing:normal!important}
body .am .ace-form .ace-status{font-size:13px!important}
body .am .ace-form .ace-consent,body .am .ace-form .ace-consent span{font:400 12px/1.8 var(--am-body-font,Montserrat),sans-serif!important}
body .am .ace-form .ace-counter{font:400 11px/1.5 var(--am-body-font,Montserrat),sans-serif!important}
/* Contact is a self-contained link page; footer scripts still load normally. */
body:has(.ace-contact) .am-footer{display:none!important}
