/* True Canadian Mortgages BRAND-ONLY layer. Original 3D layout preserved. */
:root{--brand-primary:#CE2029;--brand-white:#FFFFFF;--orange:#CE2029;--teal:#CE2029;--cream:#FFFFFF;--paper:#FFFFFF}
.header-banner,.home-3d header .header-banner,.inner-page header .header-banner {background:#CE2029!important}
#main-header .logo-wrapper img,.header-logo img{width:225px!important;max-width:100%!important;height:76px!important;object-fit:contain;object-position:left center}
.header .header-logo,.logo-wrapper .header-logo{display:inline-flex;align-items:center}
.header .cta a,.home-3d #main-header .cta a,.depth-button,.btn--orange,.inner-button{background:#CE2029!important;color:#FFFFFF!important;border-color:#CE2029!important;box-shadow:0 4px 0 rgba(129,12,22,.65)}
.header .cta a:hover,.depth-button:hover,.btn--orange:hover,.inner-button:hover{background:#ad1820!important}
.rate-row .rates{white-space:nowrap}
.tcm-footer-logo{display:block;margin-bottom:15px;max-width:210px}
.tcm-footer-logo img{width:100%;height:auto;max-height:100px;object-fit:contain;object-position:left center}
.tcm-footer-contact{overflow-wrap:anywhere}
.tcm-footer-contact a{color:inherit}
.home-3d .hero-3d,.inner-page .inner-hero,.contact-hero{background-color:#FFFFFF}
.home-3d .floating-rate{background:#FFFFFF}
.home-3d .floating-rate strong{font-size:clamp(18px,2vw,28px)}
@media(max-width:890px){#main-header .logo-wrapper img,.header-logo img{width:173px!important;height:64px!important}}
@media(max-width:430px){#main-header .logo-wrapper img,.header-logo img{width:149px!important;height:59px!important}}

/* Art accents: keep original 3D geometry, update only its surface colour. */
.section-page .contact-envelope{background:linear-gradient(135deg,#F7A9AD,#CE2029)!important;box-shadow:14px 22px 0 #9A1720,30px 48px 50px #CE202944!important}
.section-page .contact-envelope:before{background:linear-gradient(90deg,#FBE5E6,#E96C72)!important}
.section-page .contact-envelope:after{background:#CE2029!important}
.section-page .contact-aside-panel--peach{background:#FFF7F7!important;border-color:#F8DADB!important}
.section-page .contact-aside-panel--peach>span{background:#FBE5E6!important;color:#CE2029!important}
.section-page .visual-compass{background:linear-gradient(135deg,#E96C72,#CE2029 65%,#92121A)!important;box-shadow:24px 29px 0 #92121A,30px 52px 60px #CE202944,-10px -10px 30px #ffffff91 inset,10px 14px 25px #76121A66 inset!important;border-color:#FBE5E6!important}
.home-3d .hero-3d__ambient{background:radial-gradient(ellipse at 85% 22%,#FFF0F0 0,transparent 46%),radial-gradient(ellipse at 60% 90%,#FFFFFF 0,transparent 50%)}

/* QA corrections: preserve the existing 3D sections and geometry. */
.tcm-newsletter-status:not([hidden]){display:block;padding:10px 12px;margin:12px 0 0;border:1px solid #ce2029;border-radius:10px;color:#72131a;background:#fff6f6;font-size:13px;line-height:1.5}
.tcm-mortgage-box{height:min(480px,70vw);max-width:520px;display:grid;place-items:center;margin:0 auto;perspective:1000px}
.tcm-mortgage-box__body{width:75%;min-height:75%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:9% 8%;border-radius:22px;background:linear-gradient(135deg,#f54d56 0%,#ce2029 58%,#87121b 100%);box-shadow:22px 27px 0 #88111c,24px 35px 45px #88111c61;color:#fff;transform:rotateY(-12deg) rotateX(7deg) rotate(-5deg);animation:tcmBoxFloat 6s ease-in-out infinite alternate}
.tcm-mortgage-box__brand{font:800 clamp(10px,1vw,15px)/1.3 Arial,sans-serif;letter-spacing:1.3px;color:white}
.tcm-mortgage-box__body strong{font:900 clamp(36px,5vw,66px)/1.05 Gilroy,Arial,sans-serif;color:#fff;letter-spacing:-1.5px;margin:30px 0}
.tcm-mortgage-box__meta{font:700 clamp(10px,1vw,14px)/1.35 Arial,sans-serif;letter-spacing:.5px;color:#fff}
@keyframes tcmBoxFloat{to{transform:rotateY(-8deg) rotateX(3deg) rotate(-2deg) translateY(-10px)}}
.tcm-anniversary-animation{background:radial-gradient(circle,#fff 42%,#fff5f5 100%)}
.tcm-anniversary-animation .tnm-anniversary-fallback img{width:82%;height:auto;object-fit:contain;max-height:70%;filter:drop-shadow(0 20px 18px #ce20292c)}
.tcm-agent-art{width:100%;min-height:280px;display:grid;place-items:center;background:linear-gradient(145deg,#fff,#fff1f1);border-radius:26px}
.tcm-agent-art img{width:85%;height:auto;object-fit:contain;filter:drop-shadow(0 16px 22px #a61a2428)}
.tcm-reviews-art{min-height:290px;background:linear-gradient(145deg,#fff9f9,#f9e3e3);border:2px solid #fae0e2;border-radius:28px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;color:#8c1620;animation:tcmBoxFloat 6s ease-in-out infinite alternate}
.tcm-reviews-art span{text-transform:uppercase;font-weight:800;font-size:12px;letter-spacing:.15em}
.tcm-reviews-art strong{font-size:clamp(20px,2.4vw,36px);line-height:1.2;display:block;margin:20px auto;color:#ce2029}
@media (max-width:600px){.tcm-mortgage-box{height:340px}.tcm-mortgage-box__body{width:77%;min-height:70%;}.tcm-mortgage-box__body strong{font-size:38px}}
@media(prefers-reduced-motion:reduce){.tcm-mortgage-box__body,.tcm-reviews-art{animation:none}}

/* Contact-column links: preserve the original footer layout and brand palette. */
.footer__main .contact-information .tcm-footer-action{display:inline-flex;align-items:flex-start;gap:8px;max-width:100%;color:inherit;text-decoration:none;overflow-wrap:anywhere;line-height:1.45}
.footer__main .contact-information .tcm-footer-action svg{display:block;flex:0 0 17px;width:17px;height:17px;margin-top:2px;opacity:.9}
.footer__main .contact-information .tcm-footer-address-line{display:block}
.footer__main .contact-information .tcm-footer-action:focus-visible{outline:2px solid #fff;outline-offset:3px;border-radius:2px}
.footer__main .contact-information .tcm-footer-action:hover{text-decoration:underline;text-underline-offset:3px}
.footer__main .contact-information .tcm-contact-email .tcm-footer-action,.footer__main .contact-information .tcm-footer-phone .phone-number{color:#ffe3ac}
.footer__main .contact-information .tcm-footer-office{margin-bottom:1.25rem}
.footer__main .contact-information .tcm-footer-office li{margin-bottom:3px}
@media(max-width:480px){.footer__main .contact-information .tcm-footer-action{gap:7px}.footer__main .contact-information .tcm-footer-action svg{flex-basis:16px;width:16px;height:16px}}
