/* Hania profile: one introduction, one complete gallery, clear collaborators. */
body.tm-profile main{background:#f5f0e6;color:#101d30}
body.tm-profile main>.profile-intro,body.tm-profile main>.tp-section.wrap{width:calc(100% - 96px)!important;max-width:1240px!important;margin-inline:auto!important;padding:48px 0!important}
body.tm-profile .member-profile-hero{display:grid!important;grid-template-columns:320px minmax(0,1fr)!important;gap:56px!important;align-items:center!important;margin-top:28px!important}
body.tm-profile .member-profile-photo{width:100%!important;max-width:320px!important;height:390px!important;margin:0!important;border-radius:8px!important;align-self:center}
body.tm-profile .member-profile-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 24%}
body.tm-profile .member-profile-hero>div{min-width:0}
body.tm-profile .member-profile-hero h1{margin:8px 0 14px;font-size:clamp(48px,5vw,76px);line-height:1.05}
body.tm-profile .member-profile-title{font:500 16px/1.6 'DM Sans',Arial,sans-serif;color:#805c25;margin:0 0 16px}
body.tm-profile .member-profile-hero .lead{font:400 15px/1.8 'DM Sans',Arial,sans-serif;max-width:720px;margin:0}
body.tm-profile .member-profile-tags{margin:18px 0;gap:8px}
body.tm-profile .member-profile-tags span{font:400 12px/1.4 'DM Sans',Arial,sans-serif;padding:7px 12px}
body.tm-profile .member-profile-hero .links{display:flex;flex-wrap:wrap;gap:10px 22px;align-items:center;margin-top:18px}
body.tm-profile .member-profile-hero .links a{font:500 13px/1.6 'DM Sans',Arial,sans-serif;overflow-wrap:anywhere;color:#765519}
body.tm-profile .member-work-link{font:600 13px/1.5 'DM Sans',Arial,sans-serif;display:inline-flex;padding:10px 0;margin-top:14px}
body.tm-profile .tp-nav{margin-top:32px!important;padding-top:22px;border-top:1px solid #c6a15b55;display:flex;flex-wrap:wrap;gap:10px}
body.tm-profile .tp-nav a{padding:9px 16px;font:500 13px/1.5 'DM Sans',Arial,sans-serif;border-color:#c6a15b66}
body.tm-profile #education-projects{padding:48px 0;background:#eae4d8}
body.tm-profile .hp-wrap{width:calc(100% - 96px)!important;max-width:1240px!important;padding:0!important;margin-inline:auto!important}
body.tm-profile #education-projects h2{font-size:clamp(34px,3.8vw,52px);line-height:1.1;margin:12px 0 16px}
body.tm-profile .hp-intro{max-width:760px;font-size:15px;line-height:1.8}
body.tm-profile .hp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body.tm-profile .hp-card{min-width:0;background:#fffaf2;transition:border-color .2s}
body.tm-profile .hp-card:hover{border-color:#a47c38}
body.tm-profile .hp-card>a>img{width:100%;height:auto!important;aspect-ratio:2.1!important;object-fit:cover;object-position:top;border-radius:0;display:block}
body.tm-profile .hp-card h3{font-size:28px;line-height:1.12;min-height:62px;margin:0;overflow-wrap:normal}
body.tm-profile .hp-card h3 span{white-space:nowrap}
body.tm-profile .hp-type{min-height:16px}
body.tm-profile .hp-detail{gap:12px;padding-bottom:22px}
body.tm-profile .hp-detail>p{font:400 13px/1.75 'DM Sans',Arial,sans-serif}
body.tm-profile .hp-detail .hp-credit{font-size:11px}
body.tm-profile .hp-visit{font:600 12px/1.6 'DM Sans',Arial,sans-serif}
body.tm-profile .tp-section h2{font-size:clamp(34px,3.8vw,48px);line-height:1.1;margin:12px 0 26px}
body.tm-profile .tp-section .eyebrow{font-size:12px;margin:0 0 12px}
body.tm-profile .tp-grid{gap:24px;grid-template-columns:repeat(3,minmax(0,1fr))}
body.tm-profile .tp-card{padding:24px;border-radius:8px;border:1px solid #c6a15b44;background:#fffaf2;min-height:0}
body.tm-profile .tp-card h3{font-size:18px;line-height:1.4;margin:0 0 12px}
body.tm-profile .tp-card p,body.tm-profile .tp-copy,body.tm-profile .tp-steps p{font:400 14px/1.85 'DM Sans',Arial,sans-serif;margin-bottom:0}
body.tm-profile .tp-process{padding:44px 0!important;background:#eee8dd}
body.tm-profile .tp-process>.wrap{width:calc(100% - 96px)!important;max-width:1240px!important;padding:0!important;margin-inline:auto!important}
body.tm-profile .tp-steps{gap:28px;margin:0;padding:0}
body.tm-profile .tp-steps h3{font-size:18px;line-height:1.4;margin-bottom:10px}
body.tm-profile .tp-step{font-size:28px}
body.tm-profile #profile-collaboration .tp-copy{max-width:850px;margin-bottom:24px}
body.tm-profile .member-collaborators{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:1000px}
body.tm-profile .member-collaborators .fc-person{display:flex!important;flex-direction:row!important;grid-template-columns:none!important;align-items:stretch!important;background:#101d30;border-radius:8px;margin:0;min-width:0;overflow:hidden}
body.tm-profile .member-collaborators .fc-person-portrait{width:110px!important;min-width:110px!important;height:150px!important;border-radius:0}
body.tm-profile .member-collaborators .fc-person-portrait img{height:100%;width:100%;object-fit:cover;object-position:center 20%}
body.tm-profile .member-collaborators .fc-person-copy{padding:20px;min-width:0;display:flex;flex-direction:column;gap:9px}
body.tm-profile .member-collaborators strong{font:600 16px/1.4 'DM Sans',Arial,sans-serif;color:#fff}
body.tm-profile .member-collaborators .fc-person-copy>span{font:400 13px/1.6 'DM Sans',Arial,sans-serif;color:#c3ced9}
body.tm-profile .member-collaborators small{font-size:12px;color:#d9b575}
body.tm-profile #profile-collaboration>.links{display:flex;flex-wrap:wrap;gap:24px;margin-top:24px;font:500 13px/1.6 'DM Sans',Arial,sans-serif}
body.tm-profile main [id]{scroll-margin-top:100px}
@media(max-width:1000px){body.tm-profile .member-profile-hero{grid-template-columns:260px minmax(0,1fr)!important;gap:32px!important}body.tm-profile .member-profile-photo{height:340px!important}body.tm-profile .hp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body.tm-profile main>.profile-intro,body.tm-profile main>.tp-section.wrap{width:calc(100% - 40px)!important;padding-block:32px!important}body.tm-profile .hp-wrap,body.tm-profile .tp-process>.wrap{width:calc(100% - 40px)!important}body.tm-profile .member-profile-hero{grid-template-columns:1fr!important;gap:26px!important}body.tm-profile .member-profile-photo{max-width:230px!important;height:270px!important}body.tm-profile .member-profile-hero h1{font-size:50px}body.tm-profile .hp-grid,body.tm-profile .tp-grid,body.tm-profile .member-collaborators{grid-template-columns:1fr}body.tm-profile #education-projects{padding-block:36px}body.tm-profile .hp-card h3{min-height:0;font-size:28px}body.tm-profile .hp-card>a>img{aspect-ratio:2.1!important}body.tm-profile .tp-process{padding-block:32px!important}body.tm-profile .tp-steps{display:grid;grid-template-columns:1fr;gap:24px}body.tm-profile .member-collaborators .fc-person-portrait{width:90px!important;min-width:90px!important;height:140px!important}body.tm-profile .member-collaborators .fc-person-copy{padding:16px}}
/* Shared team portfolio, service and media layouts. */
body.tm-profile .member-profile-hero h1{font-size:clamp(42px,4.8vw,68px);line-height:1.06}
body.tm-profile main>.member-section,body.tm-profile main>.member-services{width:calc(100% - 96px)!important;max-width:1240px!important;margin-inline:auto!important;padding:44px 0!important;background:transparent!important;color:#101d30!important}
body.tm-profile .member-portfolio{padding:48px 0!important;background:#eae4d8!important;color:#101d30!important}
body.tm-profile .member-portfolio>.wrap{width:calc(100% - 96px)!important;max-width:1240px!important;padding:0!important;margin-inline:auto!important}
body.tm-profile .member-portfolio h2{color:#101d30;font-size:clamp(34px,3.8vw,52px);line-height:1.1;margin:12px 0 26px}
body.tm-profile .member-portfolio>div>p:not(.eyebrow){max-width:820px;font:400 15px/1.8 'DM Sans',Arial,sans-serif;color:#52606b}
body.tm-profile .member-portfolio .eyebrow{color:#805c25;font-size:12px}
body.tm-profile .project-grid,body.tm-profile .video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:28px}
body.tm-profile .project-card,body.tm-profile .video-card{display:flex;flex-direction:column;min-width:0;padding:0;border:1px solid #c6a15b44;border-radius:8px;overflow:hidden;background:#fffaf2;color:#101d30}
body.tm-profile .project-card>a{display:block}
body.tm-profile .project-card .image-frame{display:block;height:auto!important;aspect-ratio:16/10;border-radius:0;overflow:hidden}
body.tm-profile .project-card .image-frame img{width:100%;height:100%;display:block;object-fit:cover;object-position:top;transform:none}
body.tm-profile .project-card .status{font:500 10px/1.5 'DM Sans',Arial,sans-serif;letter-spacing:0;background:#101d30;color:#eed7a9;padding:6px 10px}
body.tm-profile .project-card .card-head{padding:20px 22px 0;gap:12px;align-items:start}
body.tm-profile .project-card h3,body.tm-profile .video-card h3{font-size:29px;line-height:1.12;color:#101d30;margin:0}
body.tm-profile .project-card>p{padding:0 22px;margin:12px 0;font:400 13px/1.75 'DM Sans',Arial,sans-serif;color:#52606b}
body.tm-profile .project-card>.role{font-size:12px;color:#805c25;margin-top:14px}
body.tm-profile .project-card>.fc-credit,body.tm-profile .video-card>.fc-credit{font:400 11px/1.65 'DM Sans',Arial,sans-serif;color:#596575;border-top:1px solid #c6a15b44;margin:12px 22px 20px;padding:12px 0 0}
body.tm-profile .fc-credit a{color:#765519}
body.tm-profile .video-card>video{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:contain;background:#080e16}
body.tm-profile .video-card .card-head{padding:20px 22px 0}
body.tm-profile .video-card>.role{font:400 12px/1.6 'DM Sans',Arial,sans-serif;padding:12px 22px 0;color:#52606b}
body.tm-profile .video-card>.arrow-link{font:600 12px/1.5 'DM Sans',Arial,sans-serif;margin:12px 22px 8px;color:#765519}
body.tm-profile .featured-video-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:28px 0}
body.tm-profile .featured-video-pair>article{padding:20px;border-radius:8px;border:1px solid #c6a15b44;background:#fffaf2;min-width:0}
body.tm-profile .featured-video-pair h3{font-size:28px;line-height:1.2;margin:0 0 16px;color:#101d30}
body.tm-profile .featured-video-pair video,body.tm-profile .featured-video-pair .youtube-facade{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#080e16;border-radius:4px}
body.tm-profile .featured-video-pair p{font:400 12px/1.6 'DM Sans',Arial,sans-serif;color:#52606b}
body.tm-profile .filters{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}
body.tm-profile .filters button{border:1px solid #bfa77e;border-radius:24px;padding:9px 16px;font:500 12px/1.5 'DM Sans',Arial,sans-serif;background:#fffaf2;color:#101d30}
body.tm-profile .filters button[aria-pressed=true]{background:#101d30;color:#fff}
body.tm-profile .service-grid,body.tm-profile .three-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important}
body.tm-profile .service-card,body.tm-profile .three-grid>article{display:flex;flex-direction:column;gap:12px;min-width:0;min-height:0;padding:26px;border:1px solid #c6a15b44;border-radius:8px;background:#fffaf2;color:#101d30}
body.tm-profile .service-card h3,body.tm-profile .three-grid h3{font-size:28px;line-height:1.15;margin:0;color:#101d30}
body.tm-profile .service-card p,body.tm-profile .three-grid p{font:400 14px/1.75 'DM Sans',Arial,sans-serif;margin:0;color:#52606b}
body.tm-profile .service-card .number{font:500 12px/1.5 'DM Sans',Arial,sans-serif;color:#805c25}
body.tm-profile .service-card .arrow-link{font:600 12px/1.5 'DM Sans',Arial,sans-serif;color:#765519;margin-top:auto;padding-top:8px}
body.tm-profile .member-services>h2{font-size:44px;line-height:1.1;margin:12px 0 26px}
body.tm-profile .brand-list{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}
body.tm-profile .brand-list span{display:inline-flex;align-items:center;justify-content:center;border:1px solid #c6a15b66;border-radius:6px;padding:14px 20px;font:500 14px/1.5 'DM Sans',Arial,sans-serif;background:#fffaf2;color:#324459}
body.tm-profile .member-section h2{font-size:38px;line-height:1.1;color:#101d30;margin:12px 0 24px}
body.tm-profile .member-section .text-block{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
body.tm-profile .member-section .text-block h3{font-size:26px}
body.tm-profile .member-section .text-block p{font:400 14px/1.75 'DM Sans',Arial,sans-serif;color:#52606b}
body.tm-profile .ceo-block{padding:32px;border-radius:8px;background:#101d30;color:#f5f0e6;display:grid;grid-template-columns:1fr 1.5fr;gap:40px}
body.tm-profile .ceo-block h2{color:#f5f0e6}.tm-profile .ceo-block blockquote{font-size:25px;line-height:1.5}
body.tm-profile #profile-collaboration .tp-copy{margin:0 0 24px}
body.tm-profile #profile-collaboration>.links{margin-bottom:24px}
body.tm-profile .member-collaborators{margin:20px 0;max-width:620px;grid-template-columns:1fr}
body.tm-profile .member-departments{margin-top:20px}
body.tm-profile .member-profile-photo img{opacity:1!important;visibility:visible!important}
@media(max-width:1000px){body.tm-profile .project-grid,body.tm-profile .video-grid,body.tm-profile .service-grid,body.tm-profile .three-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){body.tm-profile main>.member-section,body.tm-profile main>.member-services,body.tm-profile .member-portfolio>.wrap{width:calc(100% - 40px)!important}body.tm-profile .member-portfolio{padding-block:36px!important}body.tm-profile .project-grid,body.tm-profile .video-grid,body.tm-profile .service-grid,body.tm-profile .three-grid,body.tm-profile .featured-video-pair{grid-template-columns:1fr!important}body.tm-profile .ceo-block{grid-template-columns:1fr;gap:20px;padding:24px}body.tm-profile .member-section .text-block{grid-template-columns:1fr}body.tm-profile .member-profile-hero h1{font-size:46px}body.tm-profile .brand-list span{font-size:12px;padding:10px 14px}body.tm-profile .video-grid{gap:24px}body.tm-profile .ceo-block blockquote{font-size:21px}}

body.tm-profile .video-card[hidden]{display:none!important}

/* Legacy dark-section cards must not override the shared paper gallery. */
body.tm-profile .member-portfolio .project-card,body.tm-profile .member-portfolio .video-card{background:#fffaf2!important;color:#101d30!important;padding:0!important;border:1px solid #c6a15b44!important;border-radius:8px!important}
body.tm-profile .member-portfolio .project-card h3,body.tm-profile .member-portfolio .video-card h3{color:#101d30!important}
body.tm-profile .member-portfolio .project-card>p,body.tm-profile .member-portfolio .video-card>p{color:#52606b!important}
body.tm-profile .member-portfolio .project-card>.role{color:#805c25!important}
body.tm-profile .member-portfolio .project-card .image-frame{margin:0!important;padding:0!important;border-radius:0!important}
body.tm-profile .member-profile-photo{overflow:hidden;border-radius:8px!important}
