/* TAM R10 editorial layout. The accepted R9 header and language controls keep their own geometry. */
body.tam-editorial{--tam-ink:#17191c;--tam-muted:#5c6067;--tam-paper:#fff;--tam-soft:#f4f4f2;--tam-line:#dedfdd;--tam-red:#d91e2b;--tam-dark:#17191c;--tam-radius:4px;background:var(--tam-paper);color:var(--tam-ink)}
body.tam-editorial .tam-skip-link{position:fixed;inset-block-start:12px;inset-inline-start:16px;z-index:99999;padding:12px 18px;max-width:calc(100% - 32px);background:#fff;color:#17191c;border:2px solid #d91e2b;font-size:15px;font-weight:600;line-height:1.4;text-decoration:none;transform:translateY(calc(-100% - 20px))}
body.tam-editorial .tam-skip-link:focus{transform:none;outline:2px solid #17191c;outline-offset:3px}
body.tam-editorial .tam-main,body.tam-editorial .tam-main *,body.tam-editorial .tam-main *::before,body.tam-editorial .tam-main *::after{box-sizing:border-box}
body.tam-editorial .tam-main{padding-block-start:112px;min-width:0;font-size:16px;line-height:1.65;text-align:start}
body.tam-editorial .tam-main:focus{outline:none}
body.tam-editorial .tam-main :is(h1,h2,h3,h4,p,ul,ol,figure){margin:0}
body.tam-editorial .tam-main :is(h1,h2,h3,h4){color:inherit;font-family:inherit;font-weight:600;text-transform:none}
body.tam-editorial .tam-main p{font-family:inherit;color:inherit;font-size:inherit;line-height:inherit}
body.tam-editorial .tam-main a{text-decoration:none}
body.tam-editorial .tam-main img{display:block;max-width:100%}
body.tam-editorial .tam-main :is(h1,h2,h3,h4,p,a,li,span){overflow-wrap:anywhere}
body.tam-editorial .tam-main :is(a,button,input,textarea,select):focus-visible{outline:3px solid var(--tam-red);outline-offset:5px}
body.tam-editorial :is(.tam-shell,.tam-container){width:min(1200px,calc(100% - 80px));margin-inline:auto;min-width:0}
body.tam-editorial .tam-section{padding-block:clamp(56px,7.5vw,100px)}
body.tam-editorial .tam-section--soft{background:var(--tam-soft)}
body.tam-editorial .tam-section-title{font-size:clamp(30px,3.15vw,44px);line-height:1.16;letter-spacing:-.035em}
body.tam-editorial .tam-eyebrow{display:flex;align-items:center;gap:12px;font-size:12px;line-height:1.6;letter-spacing:.11em;font-weight:600;text-transform:uppercase}
body.tam-editorial .tam-eyebrow::before{content:"";flex:0 0 25px;width:25px;height:2px;background:var(--tam-red)}
body.tam-editorial .tam-hero{background:var(--tam-dark);color:#fff;padding-block:48px 64px}
body.tam-editorial .tam-hero--home{padding-block:clamp(48px,5.8vw,80px)}
body.tam-editorial .tam-hero--page:not(.tam-hero--visual){padding-bottom:clamp(48px,6vw,76px)}
body.tam-editorial .tam-hero-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:40px;align-items:center}
body.tam-editorial .tam-hero--visual .tam-hero-layout{grid-template-columns:minmax(0,1.06fr) minmax(0,1fr);gap:clamp(30px,4.4vw,64px)}
body.tam-editorial .tam-hero-copy{min-width:0}
body.tam-editorial .tam-hero .tam-eyebrow{margin-bottom:22px;color:#d4d5d7}
body.tam-editorial .tam-hero h1{max-width:24ch;font-size:clamp(38px,4.3vw,62px);line-height:1.08;letter-spacing:-.045em}
body.tam-editorial .tam-hero--home h1{font-size:clamp(42px,4.9vw,70px);max-width:19ch}
body.tam-editorial .tam-hero .tam-lead{max-width:62ch;margin-top:24px;color:#d7d8da;font-size:clamp(17px,1.45vw,19px);line-height:1.65}
body.tam-editorial .tam-hero--visual .tam-lead{max-width:49ch}
body.tam-editorial .tam-hero .tam-actions{margin-top:32px}
body.tam-editorial .tam-hero-media{position:relative;min-width:0;align-self:stretch;min-height:340px;overflow:hidden;background:#303236}
body.tam-editorial .tam-hero-media img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}
body.tam-editorial .tam-hero--home .tam-hero-media{min-height:455px}
body.tam-editorial .tam-media-edge{position:absolute;inset-inline-start:0;bottom:0;height:5px;width:34%;background:var(--tam-red)}
body.tam-editorial .tam-breadcrumb{display:flex;align-items:baseline;flex-wrap:wrap;gap:9px;color:#aeb2b7;font-size:13px;line-height:1.6;margin-bottom:38px}
body.tam-editorial .tam-breadcrumb a{color:#e1e3e5}
body.tam-editorial .tam-breadcrumb a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
body.tam-editorial .tam-breadcrumb [aria-current]{color:#aeb2b7}
body.tam-editorial .tam-actions{display:flex;align-items:stretch;flex-wrap:wrap;gap:12px}
body.tam-editorial .tam-button{display:inline-flex;align-items:center;justify-content:center;gap:16px;padding:14px 21px;min-height:50px;border:1px solid transparent;border-radius:2px;font:inherit;font-size:14px;font-weight:600;line-height:1.4;transition:background-color .16s,border-color .16s}
body.tam-editorial .tam-button--primary{background:var(--tam-red);border-color:var(--tam-red);color:#fff}
body.tam-editorial .tam-button--primary:hover{background:#b71924;border-color:#b71924;color:#fff}
body.tam-editorial .tam-button--secondary{background:transparent;border-color:#73767c;color:#fff}
body.tam-editorial .tam-button--secondary:hover{background:#2b2d31;border-color:#b6b8bb;color:#fff}
body.tam-editorial .tam-arrow{display:block;flex:0 0 20px;width:20px;height:20px}
body.tam-editorial .tam-text-link{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;color:var(--tam-ink);font-size:14px;font-weight:600;line-height:1.5;padding-block:8px;min-height:44px;border-bottom:1px solid var(--tam-ink)}
body.tam-editorial .tam-text-link:hover{color:var(--tam-red);border-bottom-color:var(--tam-red)}
body.tam-editorial .tam-intro-layout,body.tam-editorial .tam-story-layout{display:grid;grid-template-columns:minmax(0,.48fr) minmax(0,1fr);column-gap:clamp(32px,6vw,100px);row-gap:24px}
body.tam-editorial .tam-intro-layout>.tam-eyebrow,body.tam-editorial .tam-story-layout>.tam-eyebrow{align-self:start;padding-top:6px}
body.tam-editorial .tam-company-intro .tam-prose h2{font-size:clamp(30px,3.15vw,44px);line-height:1.16;max-width:27ch;margin-bottom:24px}
body.tam-editorial .tam-company-intro .tam-text-link{margin-top:20px}
body.tam-editorial .tam-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:28px 60px;margin-bottom:38px}
body.tam-editorial .tam-section-heading>.tam-section-title{max-width:18ch;flex:1 1 46%}
body.tam-editorial .tam-section-heading>p{flex:1 1 45%;max-width:55ch;color:var(--tam-muted);font-size:17px}
body.tam-editorial .tam-section-heading>div{max-width:72ch}
body.tam-editorial .tam-section-heading>div>p{color:var(--tam-muted);margin-top:18px;max-width:62ch}
body.tam-editorial .tam-section-heading>.tam-text-link{flex:0 1 auto}
body.tam-editorial .tam-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:0;margin:0;list-style:none}
body.tam-editorial .tam-service-grid>li{min-width:0;margin:0}
body.tam-editorial .tam-service-card{display:flex;flex-direction:column;color:var(--tam-ink);height:100%;background:#fff;border:1px solid var(--tam-line);border-radius:var(--tam-radius);overflow:hidden;transition:border-color .16s}
body.tam-editorial .tam-service-card:hover{color:var(--tam-ink);border-color:#92979b}
body.tam-editorial .tam-service-media{position:relative;background:#e3e4e2;aspect-ratio:16/10;overflow:hidden}
body.tam-editorial .tam-service-media img{width:100%;height:100%;object-fit:cover}
body.tam-editorial .tam-service-number{position:absolute;inset-inline-start:16px;bottom:16px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:rgba(23,25,28,.88);color:#fff;font-size:12px;font-variant-numeric:tabular-nums}
body.tam-editorial .tam-service-content{display:flex;flex-direction:column;flex:1;align-items:flex-start;padding:26px}
body.tam-editorial .tam-service-content :is(h2,h3){font-size:clamp(22px,2vw,27px);letter-spacing:-.025em;line-height:1.22;margin-bottom:14px}
body.tam-editorial .tam-service-content p{color:var(--tam-muted);font-size:15px;line-height:1.65;padding-bottom:26px}
body.tam-editorial .tam-service-link{display:inline-flex;align-items:center;gap:14px;justify-content:space-between;width:100%;margin-top:auto;color:var(--tam-ink);font-size:13px;font-weight:600}
body.tam-editorial .tam-service-card:hover .tam-service-link{color:var(--tam-red)}
body.tam-editorial .tam-service-grid>li:last-child:nth-child(3n + 1):not(:first-child){grid-column:1/-1}
body.tam-editorial .tam-service-grid>li:last-child:nth-child(3n + 1):not(:first-child) .tam-service-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
body.tam-editorial .tam-service-grid>li:last-child:nth-child(3n + 1):not(:first-child) .tam-service-media{min-height:100%}
body.tam-editorial .tam-service-grid>li:last-child:nth-child(3n + 1):not(:first-child) .tam-service-content{padding:clamp(26px,3vw,42px);justify-content:center}
body.tam-editorial .tam-service-grid>li:last-child:nth-child(3n + 1):not(:first-child) .tam-service-link{width:auto;gap:24px;margin-top:0}
body.tam-editorial .tam-process-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;padding:0;margin:0;list-style:none}
body.tam-editorial .tam-process-grid li{border-top:1px solid var(--tam-line);padding-top:26px;min-width:0;margin:0}
body.tam-editorial .tam-step-number{color:var(--tam-red);font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}
body.tam-editorial .tam-process-grid h3{margin-top:22px;margin-bottom:15px;font-size:23px;letter-spacing:-.025em;line-height:1.25}
body.tam-editorial .tam-process-grid p{color:var(--tam-muted);font-size:15px;line-height:1.7}
body.tam-editorial .tam-reference-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding:0;margin:0;list-style:none}
body.tam-editorial .tam-reference-grid>li{min-width:0;margin:0}
body.tam-editorial .tam-reference-card{display:flex;flex-direction:column;align-items:stretch;height:100%;border:1px solid var(--tam-line);border-radius:var(--tam-radius);padding:20px 20px 18px;background:#fff;color:var(--tam-ink);text-align:center;transition:border-color .16s}
body.tam-editorial a.tam-reference-card:hover{border-color:#92979b;color:var(--tam-ink)}
body.tam-editorial .tam-reference-surface{display:flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:0;height:112px;width:100%;overflow:hidden}
body.tam-editorial .tam-reference-surface--dark{background:var(--tam-dark);border-radius:2px}
body.tam-editorial .tam-reference-surface img{display:block;max-height:96px;margin-inline:auto;object-fit:contain;filter:none;transform:none}
body.tam-editorial .tam-reference-name{display:block;margin-top:15px;font-size:13px;line-height:1.5;font-weight:500;unicode-bidi:plaintext}
body.tam-editorial .tam-prose{color:#484d54;font-size:17px;line-height:1.8;min-width:0;max-width:76ch}
body.tam-editorial .tam-prose>*+*{margin-top:20px}
body.tam-editorial .tam-prose :is(h2,h3,h4){color:var(--tam-ink)}
body.tam-editorial .tam-prose h2{margin-top:44px;margin-bottom:18px;font-size:clamp(27px,2.75vw,36px);line-height:1.22;letter-spacing:-.03em}
body.tam-editorial .tam-prose h3{margin-top:30px;margin-bottom:14px;font-size:23px;line-height:1.3;letter-spacing:-.02em}
body.tam-editorial .tam-prose h4{margin-top:26px;font-size:20px;line-height:1.35}
body.tam-editorial .tam-prose>:first-child{margin-top:0}
body.tam-editorial .tam-prose :is(ul,ol){padding-inline-start:23px;margin-block:22px}
body.tam-editorial .tam-prose ul{list-style:disc}
body.tam-editorial .tam-prose li{margin-block:9px;padding-inline-start:4px}
body.tam-editorial .tam-prose li::marker{color:var(--tam-red)}
body.tam-editorial .tam-prose--intro{font-size:18px;line-height:1.75}
body.tam-editorial .tam-reference-intro{margin-bottom:36px;max-width:80ch}
body.tam-editorial .tam-reference-outro{margin-top:44px;max-width:80ch}
body.tam-editorial .tam-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,310px);gap:clamp(40px,6vw,90px);align-items:start}
body.tam-editorial .tam-service-aside{min-width:0}
body.tam-editorial .tam-aside-panel{padding:26px;border:1px solid var(--tam-line);border-radius:var(--tam-radius)}
body.tam-editorial .tam-service-aside h2{font-size:21px;line-height:1.25;letter-spacing:-.02em;margin-bottom:18px}
body.tam-editorial .tam-service-nav{list-style:none;padding:0;margin:0}
body.tam-editorial .tam-service-nav li{margin:0;border-top:1px solid var(--tam-line)}
body.tam-editorial .tam-service-nav a{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:52px;padding-block:14px;color:var(--tam-ink);font-size:14px;line-height:1.5}
body.tam-editorial .tam-service-nav a:hover{color:var(--tam-red)}
body.tam-editorial .tam-aside-brief{margin-top:26px;padding:26px;background:var(--tam-soft);border-radius:var(--tam-radius)}
body.tam-editorial .tam-aside-brief p{font-size:15px;color:var(--tam-muted);line-height:1.7}
body.tam-editorial .tam-aside-brief .tam-text-link{margin-top:20px}
body.tam-editorial .tam-cta{padding-block:58px;background:var(--tam-dark);color:#fff;border-top:4px solid var(--tam-red)}
body.tam-editorial .tam-cta-layout{display:flex;align-items:center;justify-content:space-between;gap:36px 60px}
body.tam-editorial .tam-cta-layout>div:first-child{flex:1 1 54%;max-width:660px}
body.tam-editorial .tam-cta h2{font-size:clamp(30px,3.3vw,44px);line-height:1.17;letter-spacing:-.035em}
body.tam-editorial .tam-cta p{margin-top:18px;font-size:16px;color:#d7d8da;line-height:1.7;max-width:60ch}
body.tam-editorial .tam-cta .tam-actions{flex:0 1 390px;justify-content:flex-end}
body.tam-editorial .tam-contact-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.7fr);align-items:start;gap:clamp(36px,6vw,80px)}
body.tam-editorial .tam-contact-panel{padding:34px;background:var(--tam-soft);border:1px solid var(--tam-line);border-radius:var(--tam-radius);min-width:0}
body.tam-editorial .tam-contact-panel h2{font-size:27px;line-height:1.23;letter-spacing:-.025em;margin-bottom:20px}
body.tam-editorial .tam-contact-panel p{font-size:15px;line-height:1.7;color:var(--tam-muted)}
body.tam-editorial .tam-contact-details{list-style:none;margin:26px 0 0;padding:0}
body.tam-editorial .tam-contact-details li{padding-top:20px;margin-top:20px;border-top:1px solid var(--tam-line)}
body.tam-editorial .tam-contact-details li>span{display:block;font-size:12px;line-height:1.5;color:var(--tam-muted);margin-bottom:7px}
body.tam-editorial .tam-contact-details a{display:inline-block;font-size:18px;line-height:1.5;color:var(--tam-ink);font-weight:500;min-height:36px;padding-block:3px}
body.tam-editorial .tam-contact-details a:hover{color:var(--tam-red)}
body.tam-editorial .tam-contact-details address{font:inherit;font-size:15px;line-height:1.7;margin:0;color:var(--tam-muted)}
body.tam-editorial .tam-map-section{padding-top:0}
body.tam-editorial .tam-map-section iframe{display:block;width:100%;max-width:100%;height:400px;border:0}
body.tam-editorial .tam-main #contactform :is(input,textarea){max-width:100%;background:#fff;border:1px solid #c8ccd0;color:var(--tam-ink);border-radius:2px;font:inherit}
body.tam-editorial .tam-main #contactform label{font-size:14px;font-weight:500;color:var(--tam-ink)}
html[dir="rtl"] body.tam-editorial .tam-main :is(h1,h2,h3,h4,.tam-eyebrow){letter-spacing:normal}
html[dir="rtl"] body.tam-editorial .tam-arrow{transform:scaleX(-1)}
@media(max-width:1000px){
    body.tam-editorial :is(.tam-shell,.tam-container){width:calc(100% - 48px)}
    body.tam-editorial .tam-hero--visual .tam-hero-layout{gap:32px}
    body.tam-editorial .tam-hero--home h1{font-size:clamp(39px,5.8vw,58px)}
    body.tam-editorial .tam-hero--home .tam-hero-media{min-height:410px}
    body.tam-editorial .tam-service-content{padding:22px}
    body.tam-editorial .tam-service-grid{gap:18px}
    body.tam-editorial .tam-reference-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    body.tam-editorial .tam-process-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px}
    body.tam-editorial .tam-detail-layout{grid-template-columns:minmax(0,1fr) minmax(230px,280px);gap:32px}
    body.tam-editorial .tam-cta-layout{align-items:flex-start;flex-direction:column}
    body.tam-editorial .tam-cta .tam-actions{flex-basis:auto;justify-content:flex-start}
    body.tam-editorial .tam-contact-panel{padding:26px}
}
@media(max-width:767px){
    body.tam-editorial .tam-hero{padding-block:34px 42px}
    body.tam-editorial .tam-hero--home{padding-block:42px}
    body.tam-editorial .tam-hero--visual .tam-hero-layout{grid-template-columns:minmax(0,1fr);gap:34px}
    body.tam-editorial .tam-hero h1,body.tam-editorial .tam-hero--home h1{font-size:clamp(37px,6.8vw,54px);max-width:24ch}
    body.tam-editorial .tam-hero .tam-lead{max-width:58ch}
    body.tam-editorial .tam-hero-media,body.tam-editorial .tam-hero--home .tam-hero-media{min-height:0;aspect-ratio:16/10}
    body.tam-editorial .tam-breadcrumb{margin-bottom:28px}
    body.tam-editorial .tam-intro-layout,body.tam-editorial .tam-story-layout{grid-template-columns:minmax(0,1fr)}
    body.tam-editorial .tam-section-heading{align-items:flex-start;flex-direction:column;gap:20px;margin-bottom:30px}
    body.tam-editorial .tam-section-heading>.tam-section-title{max-width:24ch}
    body.tam-editorial .tam-section-heading>p{font-size:16px}
    body.tam-editorial .tam-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    body.tam-editorial .tam-service-grid>li:last-child:nth-child(3n + 1):not(:first-child) .tam-service-card{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}
    body.tam-editorial .tam-service-content :is(h2,h3){font-size:23px}
    body.tam-editorial .tam-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
    body.tam-editorial .tam-detail-layout,body.tam-editorial .tam-contact-layout{grid-template-columns:minmax(0,1fr);gap:42px}
    body.tam-editorial .tam-service-aside{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}
    body.tam-editorial .tam-aside-brief{margin-top:0}
}
@media(max-width:520px){
    body.tam-editorial :is(.tam-shell,.tam-container){width:calc(100% - 40px)}
    body.tam-editorial .tam-section{padding-block:48px}
    body.tam-editorial .tam-hero h1,body.tam-editorial .tam-hero--home h1{font-size:clamp(34px,9.7vw,48px);line-height:1.12}
    body.tam-editorial .tam-hero .tam-eyebrow{margin-bottom:17px}
    body.tam-editorial .tam-eyebrow{font-size:11px}
    body.tam-editorial .tam-hero .tam-lead{font-size:17px;margin-top:20px}
    body.tam-editorial .tam-hero .tam-actions{margin-top:26px}
    body.tam-editorial .tam-actions{gap:10px}
    body.tam-editorial .tam-button{min-height:48px;padding:13px 17px;max-width:100%}
    body.tam-editorial .tam-hero .tam-button,body.tam-editorial .tam-cta .tam-button{width:100%}
    body.tam-editorial .tam-section-title{font-size:30px}
    body.tam-editorial .tam-service-grid{grid-template-columns:minmax(0,1fr);gap:20px}
    body.tam-editorial .tam-service-grid>li:last-child:nth-child(3n + 1):not(:first-child) .tam-service-card{display:flex}
    body.tam-editorial .tam-service-grid>li:last-child:nth-child(3n + 1):not(:first-child) .tam-service-media{min-height:0}
    body.tam-editorial .tam-service-content,body.tam-editorial .tam-service-grid>li:last-child:nth-child(3n + 1):not(:first-child) .tam-service-content{padding:24px}
    body.tam-editorial .tam-service-grid>li:last-child:nth-child(3n + 1):not(:first-child) .tam-service-link{width:100%}
    body.tam-editorial .tam-service-media{aspect-ratio:16/9}
    body.tam-editorial .tam-service-content :is(h2,h3){font-size:25px}
    body.tam-editorial .tam-process-grid{gap:26px 20px}
    body.tam-editorial .tam-process-grid h3{font-size:21px;margin-top:18px}
    body.tam-editorial .tam-process-grid p{font-size:14px}
    body.tam-editorial .tam-reference-grid{gap:10px}
    body.tam-editorial .tam-reference-card{padding:12px 12px 14px}
    body.tam-editorial .tam-reference-surface{height:104px}
    body.tam-editorial .tam-reference-name{font-size:12px;margin-top:10px}
    body.tam-editorial .tam-prose{font-size:16px;line-height:1.75}
    body.tam-editorial .tam-prose h2{font-size:28px}
    body.tam-editorial .tam-prose h3{font-size:22px}
    body.tam-editorial .tam-service-aside{grid-template-columns:minmax(0,1fr)}
    body.tam-editorial .tam-cta{padding-block:42px}
    body.tam-editorial .tam-cta .tam-actions{width:100%}
    body.tam-editorial .tam-contact-panel{padding:24px}
    body.tam-editorial .tam-map-section iframe{height:300px}
}
@media(prefers-reduced-motion:reduce){body.tam-editorial .tam-main *{scroll-behavior:auto!important;transition:none!important}}

/* Reserve the accepted overlay header without changing its controls. */
body.tam-editorial .tam-main [id]{scroll-margin-block-start:128px}
@media(max-width:1180px){body.tam-editorial .tam-main{padding-block-start:76px}body.tam-editorial .tam-main [id]{scroll-margin-block-start:92px}}

/* The approved light logo retains its dark surface above the reserved content space. */
body.tam-editorial #site-header.p05-site-header{background:var(--tam-dark)}
