/* Terrazzan & Almeida: component system derived from the approved hero.
   Hero and header are deliberately excluded from global component selectors. */
@font-face{font-family:'TA Hero Space';src:url('../hero-approved/space-grotesk-500.ttf') format('truetype');font-weight:500;font-display:swap}
:root{--ta-ink:#20252c;--ta-muted:#62686b;--ta-paper:#fff;--ta-surface:#f7f6f3;--ta-card:#f3f3f0;--ta-accent:#a19680;--ta-accent-text:#796c4e;--ta-border:#e5e2da;--ta-radius:20px;--font-sans:'TA Hero Inter',Inter,Arial,sans-serif;--font-serif:'TA Hero Space','TA Hero Inter',Arial,sans-serif;--gold:#796c4e;--gold-light:#a19680;--gold-dim:#a1968014;--text:#20252c;--text-muted:#62686b;--off-white:#f7f6f3;--border:#e5e2da;--ta-heading-font:'TA Hero Inter',Arial,sans-serif}
body{background:var(--ta-paper);color:var(--ta-ink);font-family:var(--font-sans);font-size:16px;line-height:1.6}
body #content :where(h1,h2,h3,h4,h5,h6):not(#ta-approved-hero *){font-family:var(--font-sans)!important;letter-spacing:0!important;text-transform:none;text-wrap:initial;color:var(--ta-ink)}
body #content :where(h1):not(#ta-approved-hero *){font-size:clamp(30px,3.2vw,46px)!important;font-weight:400!important;line-height:1.12!important}
body #content :where(h2):not(#ta-approved-hero *){font-size:clamp(25px,2.5vw,36px)!important;font-weight:400!important;line-height:1.15!important}
body #content :where(h3):not(#ta-approved-hero *){font-size:clamp(19px,1.6vw,23px)!important;font-weight:500!important;line-height:1.25!important}
body #content :where(h4):not(#ta-approved-hero *){font-size:17px!important;font-weight:500!important;line-height:1.3!important}
body #content :where(h1,h2) :where(b,strong):not(#ta-approved-hero *){font-family:'TA Hero Space',var(--font-sans)!important;font-weight:500!important}
body #content :where(p,li,label,input,select,textarea):not(#ta-approved-hero *){letter-spacing:0}
body #content :where(.container):not(#ta-approved-hero *){max-width:1280px;padding-left:40px;padding-right:40px}
body #content :where(.section):not(#ta-approved-hero *){padding-top:64px;padding-bottom:64px}
/* Buttons: taupe fill, dark lettering, rounded shape; secondary links underlined. */
body #content :is(.btn,.ta-lp-button,.ta-ct-submit,.ta-eb-submit,.ta-vg-submit,button[type=submit],input[type=submit]):not(#ta-approved-hero *){display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:54px;padding:17px 25px!important;background:var(--ta-accent)!important;color:#101214!important;border:1px solid transparent!important;border-radius:999px!important;font-family:var(--font-sans)!important;font-size:14px!important;font-weight:500!important;line-height:1.4!important;letter-spacing:0!important;text-transform:none!important;text-decoration:none!important;box-shadow:none!important;transition:background .25s,transform .25s!important}
body #content :is(.btn,.ta-lp-button,.ta-ct-submit,.ta-eb-submit,.ta-vg-submit,button[type=submit],input[type=submit]):not(#ta-approved-hero *):hover{background:#b5aa93!important;transform:translateY(-2px)}
body #content :is(.btn-outline,.btn-outline-light,.btn-outline-gold,.ta-lp-link):not(#ta-approved-hero *){display:inline-flex;align-items:center;gap:14px;min-height:44px;padding:8px 0!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--ta-accent-text)!important;border-radius:0!important;color:var(--ta-ink)!important;font-size:14px!important;font-weight:400!important;box-shadow:none!important;text-decoration:none!important}
body #content :is(.btn-outline,.btn-outline-light,.btn-outline-gold,.ta-lp-link):not(#ta-approved-hero *):hover{background:transparent!important;color:var(--ta-accent-text)!important;transform:none}
body :is(a,button,input,select,textarea):focus-visible{outline:2px solid var(--ta-accent-text);outline-offset:4px}
body #content :is(.btn,.ta-lp-button,.ta-lp-link):not(#ta-approved-hero *) svg{width:19px;height:19px;flex-shrink:0}
/* Dark backgrounds belong only to heroes (the approved navigation remains intact). */
body #content :is(.ta-internal-hero,.ta-lp-hero,.ta-archive-hero,.ta-single-hero,.ta-im-hero,.ta-le-hero,.ta-sc-hero){background:#101214!important;color:#f3f2ed!important;padding-top:48px!important;padding-bottom:48px!important;min-height:0!important}
body #content :is(.ta-internal-hero,.ta-lp-hero,.ta-archive-hero,.ta-single-hero,.ta-im-hero,.ta-le-hero,.ta-sc-hero) :is(h1,h2,h3){color:#f3f2ed!important}
body #content :is(.ta-internal-hero,.ta-lp-hero,.ta-archive-hero,.ta-single-hero,.ta-im-hero,.ta-le-hero,.ta-sc-hero) :is(p,.ta-single-meta,.ta-post-meta){color:#b5b8b6!important}
body #content :is(.ta-internal-hero,.ta-lp-hero,.ta-archive-hero,.ta-single-hero,.ta-im-hero,.ta-le-hero,.ta-sc-hero) :is(h1 b,h1 strong,.ta-lp-title-em){color:#bdb19a!important;font-family:'TA Hero Space',var(--font-sans)!important;font-weight:500!important}
body #content :is(.ta-internal-hero,.ta-lp-hero,.ta-archive-hero,.ta-single-hero,.ta-im-hero,.ta-le-hero,.ta-sc-hero) :is(.btn-outline,.btn-outline-light,.btn-outline-gold,.ta-lp-link){color:#e2dfd7!important;border-bottom-color:#a19680!important}
body #content :is(.ta-lp-process,.ta-home-specialty,.ta-sb-stats,.ta-home-cta,.ta-sb-cta,.ta-sc-cta,.ta-le-problem,.ta-le-cta,.ta-single-cta,.ta-single-cta-inline,.ta-sidebar-cta,.ta-ct-whats-card,.ta-home-after-blog-card){background:var(--ta-surface)!important;color:var(--ta-ink)!important;border-color:var(--ta-border)!important}
body #content :is(.ta-lp-process,.ta-home-specialty,.ta-sb-stats,.ta-home-cta,.ta-sb-cta,.ta-sc-cta,.ta-le-problem,.ta-le-cta,.ta-single-cta,.ta-single-cta-inline,.ta-sidebar-cta,.ta-ct-whats-card,.ta-home-after-blog-card) :is(h1,h2,h3,h4,strong,.ta-ct-whats-title){color:var(--ta-ink)!important}
body #content :is(.ta-lp-process,.ta-home-specialty,.ta-sb-stats,.ta-home-cta,.ta-sb-cta,.ta-sc-cta,.ta-le-problem,.ta-le-cta,.ta-single-cta,.ta-single-cta-inline,.ta-sidebar-cta,.ta-ct-whats-card,.ta-home-after-blog-card) :is(p,.ta-sb-stat-label,.ta-ct-whats-sub){color:var(--ta-muted)!important}
body #content :is(.ta-lp-step-icon,.ta-sb-pride-badge){background:#fff!important;color:var(--ta-accent-text)!important;border-color:#d5cebe!important}
body #content .ta-lp-steps:before{background:#d8d1c3}body #content .ta-lp-steps:after{background:var(--ta-accent-text)}
body #content :is(.ta-specialty-card,.ta-le-problem-item){background:#fff!important;border-color:var(--ta-border)!important;border-radius:var(--ta-radius)!important}
body #content .ta-specialty-card h3{color:var(--ta-ink)!important}body #content .ta-specialty-card p{color:var(--ta-muted)!important}
/* Shared card and media geometry. */
body #content :is(.ta-area-card,.ta-lp-card,.ta-post-card,.ta-eb-card,.ta-ct-info-card,.ta-ct-form-card,.ta-vg-form,.ta-socio-card,.ta-le-serv-card,.ta-le-diff-card,.ta-le-faq-item){border:1px solid var(--ta-border);border-radius:var(--ta-radius)!important;box-shadow:none;overflow:hidden}
body #content :is(.ta-area-card,.ta-lp-card,.ta-le-serv-card,.ta-le-diff-card){background:var(--ta-card)!important;padding:26px!important;transition:transform .25s,border-color .25s}
body #content :is(.ta-area-card,.ta-lp-card,.ta-eb-card,.ta-post-card):hover{transform:translateY(-4px);border-color:#a19680;box-shadow:0 10px 28px #20252c08}
body #content :is(.ta-area-icon,.ta-specialty-ico,.ta-ct-info-ico,.ta-le-serv-icon){color:var(--ta-accent-text)!important;background:#a1968014!important}
body #content :is(.ta-lp-photo,.ta-career-photo img,.ta-sb-hero-media img,.ta-sc-photo img,.ta-single-featured-img,.ta-contact-map){border-radius:24px!important;overflow:hidden}
body #content .ta-home-after-blog-card{border:1px solid var(--ta-border);padding:42px 48px}
body #content .ta-home-after-blog .ta-home-after-blog-card h2{font-weight:400!important;letter-spacing:0!important;color:var(--ta-ink)!important;font-size:clamp(25px,2.5vw,36px)!important}
body #content .ta-home-after-blog-card p{color:var(--ta-muted)!important}
body #content .ta-lp-conversion-card{background:#eeebe3!important;border:1px solid var(--ta-border);border-radius:24px}
body #content .ta-sb-stat-num{color:var(--ta-accent-text)!important;font-family:'TA Hero Space',var(--font-sans);letter-spacing:0!important}
/* Fields use one consistent language; checkbox stays unselected. */
body #content :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]),select,textarea){background:#fff!important;color:var(--ta-ink)!important;border:1px solid #d6d2c8!important;border-radius:12px!important;font-family:var(--font-sans)!important;font-size:16px!important;line-height:1.5;padding:13px 15px;min-height:50px;max-width:100%;box-shadow:none}
body #content :is(input,select,textarea):focus{border-color:var(--ta-accent-text)!important;box-shadow:0 0 0 3px #a1968020!important}
body #content label{color:var(--ta-ink);font-size:14px;line-height:1.5}
body #content input[type=checkbox]{accent-color:var(--ta-accent-text)}
body #content ::placeholder{color:#747873;opacity:1}
/* Long-form text retains a comfortable reading width and hierarchy. */
body #content :is(.ta-prose,.ta-legal){font-size:17px;line-height:1.72;color:var(--ta-ink)}
body #content .ta-prose :is(p,ul,ol){margin-bottom:20px}
body #content .ta-prose h2{margin-top:36px;margin-bottom:18px;font-size:clamp(24px,2.15vw,30px)!important}
body #content .ta-prose h3{margin-top:27px;margin-bottom:14px;font-size:clamp(20px,1.7vw,24px)!important}
body #content :is(.ta-prose,.ta-legal) a:not([class]){color:var(--ta-accent-text);text-decoration:underline;text-underline-offset:4px}
/* Footer is light by request; navigation retains its approved dark appearance. */
body .ta-footer{background:var(--ta-surface)!important;color:var(--ta-ink)!important;border-top:1px solid var(--ta-border);font-family:var(--font-sans)!important}
body .ta-footer :is(h4,.ta-footer-title){color:var(--ta-ink)!important;font-size:15px!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important}
body .ta-footer :is(p,li,a,span){color:var(--ta-muted)!important;letter-spacing:0!important}
body .ta-footer .ta-footer-logo img{filter:none!important}
body .ta-footer .ta-footer-social a{background:var(--ta-accent)!important;border-color:var(--ta-accent)!important;color:#101214!important}
body .ta-footer .ta-footer-social a svg{filter:none!important;color:#101214!important}
body .ta-footer-bottom{background:transparent!important;border-color:var(--ta-border)!important}
body .ta-footer a:hover{color:var(--ta-accent-text)!important}
@media(max-width:800px){body #content :where(.container):not(#ta-approved-hero *){padding-left:28px;padding-right:28px}body #content :where(.section):not(#ta-approved-hero *){padding-top:48px;padding-bottom:48px}body #content .ta-home-after-blog-card{padding:30px}}
@media(max-width:600px){body #content :where(.container):not(#ta-approved-hero *){padding-left:22px;padding-right:22px}body #content :is(.ta-internal-hero,.ta-lp-hero,.ta-archive-hero,.ta-single-hero,.ta-im-hero,.ta-le-hero,.ta-sc-hero){padding-top:34px!important;padding-bottom:34px!important}body #content :where(h1):not(#ta-approved-hero *){font-size:30px!important}body #content .ta-lp h1{font-size:clamp(25px,6.2vw,34px)!important}body #content :is(.ta-area-card,.ta-lp-card){padding:23px!important}body #content .ta-home-after-blog-card{padding:28px 24px}body #content :is(.ta-prose,.ta-legal){font-size:16px}body #content :is(.btn,.ta-lp-button):not(#ta-approved-hero *){max-width:100%;white-space:normal!important}}
@media(prefers-reduced-motion:reduce){body #content :is(.btn,.ta-lp-button,.ta-area-card,.ta-lp-card,.ta-eb-card,.ta-post-card):not(#ta-approved-hero *){transition:none!important;transform:none!important}}
body #content :is(.ta-internal-hero,.ta-lp-hero,.ta-archive-hero,.ta-single-hero,.ta-im-hero,.ta-le-hero,.ta-sc-hero) :is(.btn-outline,.btn-outline-light,.btn-outline-gold,.ta-lp-link):not(#ta-approved-hero *){color:#e2dfd7!important;border-bottom-color:#a19680!important}
body #content :is(.ta-internal-hero,.ta-lp-hero,.ta-archive-hero,.ta-single-hero) :is(.ta-single-cat,.ta-archive-cat-chip,.ta-breadcrumb){color:#bdb19a!important;border-color:#a1968050!important}
body .ta-footer .ta-footer-logo img{display:block;width:235px!important;max-width:100%!important;height:auto!important}
body .ta-footer .ta-footer-social a{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border-radius:50%}
body .ta-footer .ta-footer-bottom .container{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}
body .ta-footer .ta-footer-dev{display:flex;align-items:center;gap:12px}
body .ta-footer .ta-footer-dev img{max-width:110px;max-height:28px;width:auto;height:auto}
body #content .ta-sidebar-cta-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:50px;padding:14px 20px;border:0;border-radius:999px;background:#a19680!important;color:#101214!important;font:500 14px/1.4 var(--font-sans)}
body #content :is(.ta-home-specialty,.ta-sb-stats) :is(.ta-specialty-lead,.ta-specialty-tags span){color:var(--ta-muted)!important}
body #content .ta-home-specialty .ta-specialty-tags span{background:#fff!important;border-color:var(--ta-border)!important}
@media(max-width:600px){body .ta-footer .ta-footer-inner{gap:36px}body .ta-footer .ta-footer-bottom .container{align-items:flex-start;flex-direction:column}}
body #content#content .ta-prose h2{font-size:clamp(24px,2.15vw,30px)!important;margin-top:36px!important;margin-bottom:18px!important}
body #content#content .ta-prose h3{font-size:clamp(20px,1.7vw,24px)!important;margin-top:27px!important;margin-bottom:14px!important}
body #content .ta-prose{max-width:760px;margin-left:auto;margin-right:auto}
body #content .ta-single-hero h1{max-width:960px!important;margin-left:auto!important;margin-right:auto!important}
body #content :is(.ta-single-cta-inline,.ta-sidebar-cta,.ta-single-author-block){border-radius:20px!important}
/* Light partner cards keep text separate from photography. */
body #content .ta-partner-card{display:flex;flex-direction:column;align-items:stretch;min-height:0;padding:0;border:1px solid var(--ta-border);border-radius:20px;background:#f7f6f3;transition:transform .25s}
body #content .ta-partner-card:after{display:none}
body #content .ta-partner-card img{position:static;inset:auto;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:center 25%;filter:none;border-radius:0}
body #content .ta-partner-body{padding:26px;color:var(--ta-ink)}
body #content .ta-partner-role{color:var(--ta-accent-text);letter-spacing:0;text-transform:none;font-weight:500}
body #content .ta-partner-tags span{background:#ece8de;color:var(--ta-accent-text);font-weight:500}
body #content .ta-partner-link{color:var(--ta-accent-text);font-weight:400}
body #content .ta-specialty-ico{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;margin-bottom:18px}
body #content#content :is(.btn-outline,.btn-outline-light,.btn-outline-gold,.ta-lp-link):not(#ta-approved-hero *){display:inline-flex;min-height:44px;padding:8px 0!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--ta-accent-text)!important;border-radius:0!important;color:var(--ta-ink)!important;font-weight:400!important;box-shadow:none!important}
body #content#content :is(.ta-internal-hero,.ta-lp-hero,.ta-archive-hero,.ta-single-hero,.ta-im-hero,.ta-le-hero,.ta-sc-hero) :is(.btn-outline,.btn-outline-light,.btn-outline-gold,.ta-lp-link):not(#ta-approved-hero *){color:#e2dfd7!important;border-bottom-color:#a19680!important}
