/* Client 2026 revision: illustrated areas, distinct age destinations, direct orientation. */
body.tma-next .tma-client-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body.tma-next .tma-client-card{display:flex;flex-direction:column;background:#fff;border:1px solid #c9cdce;border-radius:12px;overflow:hidden;color:var(--tma-ink);text-decoration:none;min-width:0}
body.tma-next .tma-client-card>img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
body.tma-next .tma-client-card__copy{padding:24px}
body.tma-next .tma-client-card h3{font-size:clamp(2rem,2vw,2.6rem);margin:0 0 12px;line-height:1.25}
body.tma-next .tma-client-card p{font-size:1.6rem;line-height:1.6;margin:0;color:var(--tma-ink-muted)}
body.tma-next .tma-client-card:hover{border-color:var(--tma-cyan-ink)}
body.tma-next .tma-client-grid--areas{grid-template-columns:repeat(4,minmax(0,1fr))}
body.tma-next .tma-client-grid--areas .tma-client-card{position:relative;min-height:290px;background:#242832;color:#fff;justify-content:flex-end;border:0}
body.tma-next .tma-client-grid--areas .tma-client-card>img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto}
body.tma-next .tma-client-grid--areas .tma-client-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,14,19,.12),rgba(10,14,19,.86) 85%)}
body.tma-next .tma-client-grid--areas .tma-client-card__copy{position:relative;z-index:1;padding:24px}
body.tma-next .tma-client-grid--areas .tma-client-card p{color:#f1f4f4}
body.tma-next .tma-client-orientation{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
body.tma-next .tma-client-orientation figure{margin:28px 0 0;aspect-ratio:16/10;overflow:hidden;border-radius:12px}
body.tma-next .tma-client-orientation figure img{width:100%;height:100%;object-fit:cover}
body.tma-next .tma-client-orientation h2{max-width:14ch}
body.tma-next .tma-client-orientation .tma-actions{margin-top:28px}
body.tma-next .tma-client-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
body.tma-next .tma-client-gallery figure{margin:0;position:relative;aspect-ratio:16/10;overflow:hidden;border-radius:10px;background:#242832}
body.tma-next .tma-client-gallery img{width:100%;height:100%;object-fit:cover}
body.tma-next .tma-client-ecosystem{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
body.tma-next .tma-client-ecosystem>a{background:#fff;border:1px solid #d5d9d9;border-radius:10px;overflow:hidden;color:var(--tma-ink);text-align:center;text-decoration:none}
body.tma-next .tma-client-logo{display:flex;align-items:center;justify-content:center;height:170px;padding:24px}
body.tma-next .tma-client-logo.is-dark{background:#242832}
body.tma-next .tma-client-logo img{max-width:100%;max-height:100%;object-fit:contain}
body.tma-next .tma-client-ecosystem strong{display:block;padding:18px;font-size:1.7rem}
body.tma-next .tma-client-nav-cta{display:flex;align-items:center;gap:10px}
body.tma-next .tma-client-nav-cta .tma-button{font-size:1.4rem;padding:12px 14px;white-space:normal;min-height:44px;text-align:center}
body.tma-next .tma-nav__group--corsi .tma-architecture-menu__body{grid-template-columns:1.1fr .9fr 1.1fr .9fr}
body.tma-next .tma-nav__group--corsi .tma-architecture-menu__body section:first-child .tma-architecture-menu__links{grid-template-columns:1fr}
body.tma-next .tma-nav__group--corsi .tma-mega--architecture{width:min(1180px,100%)}
body.tma-next .tma-comparison-card{padding:24px}
body.tma-next .tma-comparison-card header{min-height:0!important;margin-bottom:16px}
body.tma-next .tma-comparison-card>p{min-height:0;margin-bottom:16px}
body.tma-next .tma-comparison-card dd{min-height:0}
body.tma-next .tma-comparison-card dt{margin-top:14px;padding-top:14px}
body.tma-next .tma-client-summary{padding:20px;background:rgba(87,191,218,.1);border-radius:10px;margin:20px 0}
body.tma-next .tma-client-summary dl{display:grid;grid-template-columns:auto 1fr;gap:10px 20px;margin:0}
body.tma-next .tma-client-summary dt{font-weight:700}
body.tma-next .tma-client-summary dd{margin:0}
body.tma-next .tma-finder__result{margin-bottom:24px}
body.tma-next .tma-contact-panel{margin-top:24px}
body.tma-next .tma-client-family-links{display:flex;gap:12px;flex-wrap:wrap;margin:20px auto}
body.tma-next .tma-client-family-links a{padding:10px 16px;border:1px solid #bec8ca;border-radius:8px;font-weight:700;min-height:44px}
@media(min-width:1081px){body.tma-next .tma-header__main{gap:20px}body.tma-next .tma-nav{gap:14px}body.tma-next .tma-nav__link,body.tma-next .tma-nav__trigger>a{font-size:1.5rem}body.tma-next .tma-brand{max-width:205px}body.tma-next .tma-mmi-badge{max-width:74px}}
@media(max-width:1200px) and (min-width:1081px){body.tma-next .tma-header__main{gap:12px}body.tma-next .tma-nav{gap:10px}body.tma-next .tma-brand{max-width:165px}body.tma-next .tma-mmi-badge{max-width:58px}body.tma-next .tma-client-nav-cta .tma-button{font-size:1.3rem;padding:10px}}
@media(max-width:1080px){body.tma-next .tma-nav__group--corsi .tma-architecture-menu__body{grid-template-columns:1fr}body.tma-next .tma-client-nav-cta{flex-direction:column;align-items:stretch;padding:16px}body.tma-next .tma-client-grid--areas{grid-template-columns:repeat(2,minmax(0,1fr))}body.tma-next .tma-client-ecosystem{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){body.tma-next .tma-client-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}body.tma-next .tma-client-grid--areas .tma-client-card{min-height:240px}body.tma-next .tma-client-card__copy,body.tma-next .tma-client-grid--areas .tma-client-card__copy{padding:18px}body.tma-next .tma-client-card h3{font-size:2rem}body.tma-next .tma-client-orientation{grid-template-columns:1fr;gap:24px}body.tma-next .tma-client-orientation h2{max-width:none}body.tma-next .tma-client-gallery{gap:12px}body.tma-next .tma-client-logo{height:140px;padding:18px}body.tma-next .tma-client-summary dl{grid-template-columns:1fr;gap:6px}body.tma-next .tma-client-summary dd{margin-bottom:12px}}
@media(max-width:480px){body.tma-next .tma-client-grid:not(.tma-client-grid--areas){grid-template-columns:1fr}body.tma-next .tma-client-grid--areas .tma-client-card h3{font-size:1.8rem}body.tma-next .tma-client-grid--areas .tma-client-card p{font-size:1.4rem}body.tma-next .tma-client-ecosystem{gap:12px}body.tma-next .tma-client-ecosystem strong{font-size:1.4rem;padding:12px}}

@media(min-width:1081px){body.tma-next .tma-nav__group--corsi .tma-architecture-menu__links>a{min-height:40px;padding:.6rem .8rem!important}body.tma-next .tma-nav__group--corsi .tma-architecture-menu__links>a span{font-size:1.5rem}}

@media(min-width:1081px){body.tma-next .tma-client-grid--creative{grid-template-columns:repeat(4,minmax(0,1fr))}}
body.tma-next .tma-client-card__copy>p{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}

body.tma-next .tma-program-table{border:1px solid #c9cdce;border-radius:12px;overflow:hidden;background:#fff}
body.tma-next .tma-program-table table{width:100%;border-collapse:collapse;table-layout:fixed;margin:0;font-size:1.6rem;line-height:1.6;color:var(--tma-ink)}
body.tma-next .tma-program-table th,body.tma-next .tma-program-table td{padding:18px;border-bottom:1px solid #d8dbda;border-right:1px solid #d8dbda;text-align:left;vertical-align:top}
body.tma-next .tma-program-table th:first-child{width:19%}
body.tma-next .tma-program-table thead{background:#e3ecee}
body.tma-next .tma-program-table thead th{font-size:1.9rem;line-height:1.35}
body.tma-next .tma-program-table th small{display:block;font-size:1.4rem;font-weight:500;margin-top:10px}
body.tma-next .tma-program-table tbody th{font-weight:700;font-size:1.5rem;background:#f5f6f3}
body.tma-next .tma-program-table tr:last-child>*{border-bottom:0}
body.tma-next .tma-program-table tr>*:last-child{border-right:0}
@media(min-width:761px){body.tma-next .tma-comparison--mobile{display:none}}
@media(max-width:760px){body.tma-next .tma-program-table{display:none}}

body.tma-next .tma-wizard__step{scroll-margin-top:160px}
@media(max-width:1080px){body.tma-next .tma-wizard__step{scroll-margin-top:110px}}
@media(max-width:760px){body.tma-next .tma-wizard-preview{display:none}body.tma-next .tma-wizard__stage{grid-template-columns:1fr}}
@media(max-width:1080px){body.tma-next .tma-architecture-menu__header>div{display:block}body.tma-next .tma-architecture-menu__header .tma-mega__label{display:none}body.tma-next .tma-architecture-menu__header strong{font-size:1.7rem}}

/* Keep the orientation flow focused; contact links remain available in site navigation. */
body.tma-next:has([data-path-wizard]) .tma-whatsapp-float{display:none}

body.tma-next .tma-subject :is([id^="programmi-"],#programmi){scroll-margin-top:160px}
@media(max-width:1080px){body.tma-next .tma-subject :is([id^="programmi-"],#programmi){scroll-margin-top:110px}}

/* Allow both header rows to use the full viewport with the existing side gutters. */
body.tma-next .tma-header > .tma-container{width:calc(100% - (var(--tma-gutter) * 2));max-width:none}

/* Brochure narratives: readable text paired with photographs from the supplied PDFs. */
body.tma-next .tma-brochure-section{display:grid;grid-template-columns:32px minmax(0,1fr);gap:24px;padding:36px 0;border-top:1px solid var(--tma-line)}
body.tma-next .tma-brochure-section--image{grid-template-columns:32px minmax(0,1fr) minmax(0,.85fr);align-items:center;gap:28px}
body.tma-next .tma-brochure-section__number{align-self:start;color:var(--tma-cyan);font-size:1.4rem;font-weight:700;letter-spacing:.08em}
body.tma-next .tma-brochure-section h2{font-size:clamp(2.6rem,3vw,3.6rem);line-height:1.15;margin:0 0 18px}
body.tma-next .tma-brochure-section p{max-width:78ch;font-size:1.7rem;line-height:1.75;color:var(--tma-muted)}
body.tma-next .tma-brochure-section__photo{margin:0;overflow:hidden;border-radius:16px}
body.tma-next .tma-brochure-section__photo img{width:100%;aspect-ratio:3/2;object-fit:cover}
@media(max-width:760px){body.tma-next .tma-brochure-section,body.tma-next .tma-brochure-section--image{grid-template-columns:24px minmax(0,1fr);gap:14px;padding:28px 0}body.tma-next .tma-brochure-section__photo{grid-column:2}body.tma-next .tma-brochure-section p{font-size:1.6rem}}

@media(min-width:1081px){body.tma-next .tma-editorial:has(.tma-brochure-sections) .tma-facts .tma-container:has(>span:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}}
