/* Local site-wide ink trial: one white face and one brand-red light range. */
@layer ao3-site-ink {
:root{--ao3-ink-white:linear-gradient(175deg,#F5F3ED 0%,#ECE9E1 52%,#DEDBD2 100%);--ao3-ink-red:linear-gradient(175deg,#D72C20 0%,#C21B12 42%,#8E0F09 100%)}
body{--red:#C21B12!important;--red-bright:#C21B12!important;--ao3-red:#C21B12!important}
.ao3-ink-white{background-image:var(--ao3-ink-white)!important;background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;color:#ECE9E1!important}
.ao3-ink-red{background-image:var(--ao3-ink-red)!important;background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;color:#C21B12!important}
.ao3-ink-piece{font:inherit;letter-spacing:inherit;line-height:inherit;text-transform:inherit;text-shadow:0 1px 2px #00000026}
.ao3-red-surface{background-color:#C21B12!important;background-image:var(--ao3-ink-red)!important}
.ao3-red-fill{fill:#C21B12!important}.ao3-red-stroke{stroke:#C21B12!important}
.ao3-red-border-top{border-top-color:#A52A22!important}.ao3-red-border-right{border-right-color:#A52A22!important}.ao3-red-border-bottom{border-bottom-color:#A52A22!important}.ao3-red-border-left{border-left-color:#A52A22!important}
.ao3-red-before::before{color:#C21B12!important;background-image:var(--ao3-ink-red)!important;background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important}
.ao3-red-after-face::after{background-image:var(--ao3-ink-red)!important}
.ao3-red-before-surface::before,.ao3-red-after-surface::after{background-color:#C21B12!important;background-image:var(--ao3-ink-red)!important}
}

@layer ao3-site-ink {.ao3-red-stop-top{stop-color:#D72C20!important}.ao3-red-stop-mid{stop-color:#C21B12!important}.ao3-red-stop-bottom{stop-color:#8E0F09!important}}

@layer ao3-site-ink {.ao3-ink-piece{font:inherit!important;letter-spacing:inherit!important;line-height:inherit!important;text-transform:inherit!important;display:inline!important;position:static!important;inset:auto!important;margin:0!important;padding:0!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;translate:none!important;scale:none!important;rotate:none!important;animation:none!important;flex:none!important;float:none!important;vertical-align:baseline!important}}

/* Contact logo uses the same illuminated face as US, rather than a flat fill. */
@layer ao3-site-ink {body.standalone-contact .contact-page-header>a:first-child svg .logo-idle-part :is(polygon,circle,rect,path){fill:url(#ao3-contact-logo-face)!important}}

/* Match the approved dark red, extruded logo on both light surfaces. */
@layer ao3-site-ink {
body.standalone-contact .contact-page-header>a:first-child svg,body.standalone-contact .contact-page-header>a:first-child:is(:hover,:focus-visible) svg,body.ao3-original-palette .nav.ao3-logo-on-stone .logo{color:#9F211C!important;filter:drop-shadow(1px 1px 0 #8a0800) drop-shadow(2px 2px 0 #8a0800) drop-shadow(0 5px 3px #28000073)!important}
body.standalone-contact .contact-page-header>a:first-child svg .logo-idle-part :is(polygon,circle,rect,path),body.ao3-original-palette .nav.ao3-logo-on-stone .logo :is(polygon,circle,rect,path,use){fill:#9F211C!important}
}

/* Closing titles mirror the Studio pillars' line reveal and small horizontal lift. */
@layer ao3-site-ink {
body.ao3-original-palette #contact .project-cta strong,body.ao3-original-palette #careers .careers-head h2{position:relative!important;display:inline-block!important;translate:0 0!important;transition:translate .3s ease-out!important}
body.ao3-original-palette #contact .project-cta strong::after,body.ao3-original-palette #careers .careers-head h2::after{content:''!important;position:absolute!important;left:0!important;right:0!important;bottom:-9px!important;top:auto!important;height:2px!important;background:#C21B12!important;background-image:var(--ao3-ink-red)!important;transform:scaleX(0)!important;transform-origin:left!important;transition:transform .45s cubic-bezier(.16,1,.3,1)!important;pointer-events:none!important}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
body.ao3-original-palette #contact .project-cta:is(:hover,:focus-visible) strong,body.ao3-original-palette #careers .careers-head h2:hover{translate:4px 0!important}
body.ao3-original-palette #contact .project-cta:is(:hover,:focus-visible) strong::after,body.ao3-original-palette #careers .careers-head h2:hover::after{transform:scaleX(1)!important}
}
@media(prefers-reduced-motion:reduce){body.ao3-original-palette #contact .project-cta strong,body.ao3-original-palette #careers .careers-head h2{translate:none!important;transition:none!important}body.ao3-original-palette #contact .project-cta strong::after,body.ao3-original-palette #careers .careers-head h2::after{transition:none!important}}
}

@layer ao3-site-ink {
body.ao3-original-palette #contact .project-cta strong::after,body.ao3-original-palette #careers .careers-head h2::after{display:block!important}
body.ao3-original-palette #ao3-contact-study .studio .pillar h3{background-image:linear-gradient(175deg,#D7D5CF 0%,#CBC8C1 52%,#BFBCB5 100%)!important;background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;color:#CBC8C1!important;text-shadow:0 1px 2px #00000014!important}
}

/* Studio-like line reveal across Careers rows and Contact choices. */
@layer ao3-site-ink {
body.ao3-original-palette #careers .job,body.standalone-contact #ao3-contact-study :is(.project-cta,.book-call),body.standalone-contact .office-cities>div{position:relative!important}
body.ao3-original-palette #careers .job::after,body.standalone-contact #ao3-contact-study :is(.project-cta,.book-call)::before,body.standalone-contact .office-cities>div::after{content:''!important;display:block!important;position:absolute!important;inset:auto 0 -1px!important;width:auto!important;height:2px!important;background:#C21B12!important;background-image:var(--ao3-ink-red)!important;transform:scaleX(0)!important;transform-origin:left!important;transition:transform .45s cubic-bezier(.16,1,.3,1)!important;opacity:1!important;z-index:2!important;pointer-events:none!important}
body.ao3-original-palette #careers .job:is(:hover,:focus-visible)::after,body.standalone-contact #ao3-contact-study :is(.project-cta,.book-call):is(:hover,:focus-visible)::before,body.standalone-contact .office-cities>div:is(:hover,:focus-within)::after{transform:scaleX(1)!important}
body.ao3-original-palette #careers .job>span:first-child,body.standalone-contact #ao3-contact-study :is(.project-cta,.book-call) strong,body.standalone-contact .office-cities h2{translate:0 0!important;transition:translate .3s ease-out!important}
@media(hover:hover) and (prefers-reduced-motion:no-preference){body.ao3-original-palette #careers .job:is(:hover,:focus-visible)>span:first-child,body.standalone-contact #ao3-contact-study :is(.project-cta,.book-call):is(:hover,:focus-visible) strong,body.standalone-contact .office-cities>div:is(:hover,:focus-within) h2{translate:4px 0!important}}
body.ao3-original-palette #ao3-contact-study .studio .pillar h3{background-image:linear-gradient(175deg,#E0DED8 0%,#D1CEC6 52%,#B5B1A7 100%)!important;text-shadow:0 1px 0 #949188,0 2px 1px #55534E,0 5px 5px #00000055!important}
@media(prefers-reduced-motion:reduce){body.ao3-original-palette #careers .job::after,body.standalone-contact #ao3-contact-study :is(.project-cta,.book-call)::before,body.standalone-contact .office-cities>div::after,body.ao3-original-palette #careers .job>span:first-child,body.standalone-contact #ao3-contact-study :is(.project-cta,.book-call) strong,body.standalone-contact .office-cities h2{transition:none!important;translate:none!important}}
}

/* Compact Archive statistics on phones: two balanced rows instead of four tall ones. */
@layer ao3-site-ink {@media(max-width:700px){
body.ao3-original-palette #archive .arc-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;margin-top:22px!important;border-top:1px solid #FFFFFF24!important}
body.ao3-original-palette #archive .arc-link{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:7px!important;min-width:0!important;min-height:96px!important;padding:16px 12px!important;box-sizing:border-box!important;border-bottom:1px solid #FFFFFF24!important;transition:color .25s!important}
body.ao3-original-palette #archive .arc-link:nth-child(odd){padding-left:0!important;border-right:1px solid #FFFFFF24!important}
body.ao3-original-palette #archive .arc-link:nth-child(even){padding-left:20px!important;padding-right:0!important}
body.ao3-original-palette #archive .arc-link>b{font-size:30px!important;line-height:1!important;white-space:nowrap!important}
body.ao3-original-palette #archive .arc-link>span{font-size:13px!important;line-height:1.4!important;color:#C1BFB8!important}
body.ao3-original-palette #archive .arc-link:focus-visible{outline:2px solid #C21B12!important;outline-offset:-3px!important}
}}

@layer ao3-site-ink{body.standalone-contact #ao3-contact-study .contact-title .line{border-top:0!important;border-bottom:0!important;box-shadow:none!important}body.standalone-contact #ao3-contact-study .contact-title .line::after{display:none!important}}
